:root{--note-green:#285c44;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:#1e332d;background:#f1f4ef;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}main{place-items:center;min-height:100svh;padding:24px;display:grid}.card{background:#fff;border:1px solid #dce5de;border-radius:18px;width:100%;max-width:480px;padding:clamp(24px,5vw,48px);box-shadow:0 12px 45px #18392a08}h1{margin:16px 0;font-size:1.8rem;line-height:1.2}p{line-height:1.6}.eyebrow{color:#496d57;letter-spacing:.16em;font-size:.75rem;font-weight:700}.identity{overflow-wrap:anywhere;font-weight:600}form{margin-top:28px;display:grid}label{margin:12px 0 8px;font-weight:600}input{border:1px solid #8b9f91;border-radius:8px;width:100%;min-height:48px;padding:12px;font-size:16px}button{background:var(--note-green);color:#fff;min-height:48px;font:inherit;cursor:pointer;border:0;border-radius:8px;padding:14px 20px;font-weight:600}button:disabled{opacity:.65;cursor:wait}:focus-visible{outline-offset:3px;outline:3px solid #5386bd}.error{color:#a02d2d;font-size:.95rem}.error:empty{margin:10px 0}
.rich-editor-shell{flex:1;min-width:0}.rich-content{min-width:0}.rich-document{overflow-wrap:anywhere;outline:none;min-height:150px;padding:6px 0 40px;font-family:Helvetica,Arial,sans-serif;font-size:16px;line-height:1.4}.rich-document p{line-height:inherit;margin:.3em 0}.rich-document h1,.rich-document h2,.rich-document h3{margin:.6em 0 .3em;line-height:1.25}.rich-document h1{font-size:1.8em}.rich-document h2{font-size:1.5em}.rich-document h3{font-size:1.2em}.rich-document blockquote{color:#526858;border-left:3px solid #a4bba6;margin:.5em 0;padding-left:1em}.rich-document a{color:#276847;text-decoration:underline}.rich-document mark{background:#fff2a8}.rich-document ul,.rich-document ol{padding-left:1.5em}.rich-document ul[data-type=taskList]{padding:0;list-style:none}.rich-document li[data-type=taskItem]{align-items:flex-start;gap:8px;display:flex}.rich-document li[data-type=taskItem]>label{flex-shrink:0;padding-top:7px}.rich-document li[data-type=taskItem] input{width:18px;height:18px}.rich-document li[data-type=taskItem]>div{flex:1;min-width:0}.rich-document img{max-width:100%;height:auto;display:block}.rich-document .ProseMirror-selectednode{outline:2px solid #388354}.rich-document .tableWrapper{max-width:100%;margin-block:10px;overflow-x:auto}.rich-document table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:320px}.rich-document td,.rich-document th{vertical-align:top;border:1px solid #b9c8bd;min-width:70px;padding:6px;position:relative}.rich-document th{background:#eef4ed}.rich-document .selectedCell:after{content:"";pointer-events:none;background:#59926633;position:absolute;inset:0}.rich-document [data-resize-handle]{background:#327346;border:2px solid #fff;border-radius:3px;width:16px;height:16px}.rich-document [style*="font-family: Helvetica"]{font-family:Helvetica,Arial,sans-serif!important}.rich-document [style*="font-family: Arial"]{font-family:Arial,Helvetica,sans-serif!important}.rich-document [style*="font-family: Verdana"]{font-family:Verdana,Arial,sans-serif!important}.rich-document [style*="font-family: Calibri"]{font-family:Calibri,Arial,sans-serif!important}.rich-document [style*="font-family: Georgia"]{font-family:Georgia,Times New Roman,serif!important}.rich-document [style*=Courier\ New]{font-family:Courier New,Courier,monospace!important}.rich-prompt{border:1px solid #dce5df;padding:10px}.rich-prompt button{margin:5px}.history-dialog{color:#243b32;border:1px solid #dce5df;border-radius:8px;width:min(1000px,95vw);max-height:90dvh;margin:auto;padding:20px;overflow:auto}.history-dialog::backdrop{background:#18302666}.history-dialog header{justify-content:space-between;align-items:center;display:flex}.history-dialog h2{margin:0}.history-columns{grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:20px;display:grid}.history-columns ul{padding:0;list-style:none}.history-columns li{margin-bottom:6px}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.history-columns{display:block}.history-dialog{padding:12px}}.editor-fields{min-height:0;overflow-y:auto}.workspace .rich-document h1{margin:.6em 0 .3em;font-size:1.8em}.workspace .rich-document h2{margin:.6em 0 .3em;font-size:1.5em}.workspace .rich-document h3{margin:.6em 0 .3em;font-size:1.2em}.asset-image-view{width:fit-content;max-width:100%;margin-block:8px;position:relative}.asset-image-view [data-resize-handle]{touch-action:none;opacity:0;pointer-events:none;cursor:nwse-resize;width:18px;height:18px;position:absolute;bottom:0}.asset-image-view [data-resize-handle=bottom-left]{cursor:nesw-resize;left:0}.asset-image-view [data-resize-handle=bottom-right]{right:0}.asset-image-view.ProseMirror-selectednode [data-resize-handle],.asset-image-view [data-resize-handle]:focus{opacity:1;pointer-events:auto}@media (pointer:coarse){.asset-image-view [data-resize-handle]{width:28px;height:28px}}.rich-document li[data-type=taskItem]>label{margin:0;justify-content:center;align-items:center;width:26px;min-height:1.4em;margin-top:0;padding:0;display:flex}.rich-document li[data-type=taskItem] input[type=checkbox]{flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0}.rich-editor-shell{position:relative;container-type:inline-size}.workspace .rich-toolbar{z-index:2;background:#fff;border-block:1px solid #e3e9df;flex-wrap:wrap;align-items:center;gap:4px;padding:4px 0;display:flex;position:sticky;top:0}.rich-primary,.rich-secondary{flex-wrap:wrap;align-items:center;gap:2px;display:flex}.workspace .rich-toolbar button,.workspace .rich-toolbar select,.workspace .rich-context-slot button{color:#344e40;background:#fff;border:1px solid #0000;border-radius:4px;justify-content:center;align-items:center;gap:2px;min-height:32px;padding:4px;font-size:13px;display:inline-flex}.workspace .rich-toolbar button{min-width:28px}.workspace .rich-toolbar select{border-color:#dce5df;max-width:106px}.workspace .rich-toolbar select.block-style{width:62px}.workspace .rich-toolbar [aria-pressed=true]{background:#dce9de}.text-color-icon{border-bottom:3px solid;line-height:17px}.rich-context-slot{align-items:center;gap:4px;min-height:32px;display:flex;overflow-x:auto}.rich-selection-tools{white-space:nowrap;gap:4px;display:flex}.editor-popover{z-index:30;color:#243b32;background:#fff;border:1px solid #dce5df;border-radius:6px;width:max-content;min-width:160px;padding:6px;overflow:auto;box-shadow:0 4px 18px #0002}.editor-popover button,.editor-popover a{color:#344e40;text-align:left;background:#fff;border-radius:4px;width:100%;min-height:34px;padding:7px 10px;font-size:13px;display:block}.editor-popover button:hover:not(:disabled){background:#eef4ed}.editor-popover form{width:min(300px,80vw);margin:0}.editor-popover label{margin:4px;font-size:13px}.editor-popover input,.editor-popover textarea{width:100%;min-height:36px;margin-top:5px;padding:7px;font-size:16px}.editor-popover textarea{min-height:100px}.color-palette{grid-template-columns:repeat(8,minmax(0,1fr));gap:0;width:min(320px,100vw - 32px);display:grid}.color-palette button,.color-palette .custom-color{justify-content:center;align-items:center;width:100%;height:38px;min-height:38px;margin:0;padding:4px;display:flex}.color-swatch,.color-wheel{border-radius:50%;width:24px;height:24px;display:block;box-shadow:inset 0 0 0 1px #0002}.color-palette [aria-pressed=true]{outline-offset:-3px;outline:2px solid #5386bd}.custom-color{cursor:pointer;position:relative}.color-wheel{background:conic-gradient(red,#fc0,#00b84c,#09f,#7030cc,red)}.editor-popover .custom-color input{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;margin:0;padding:0;position:absolute;inset:0}.custom-color:focus-within{outline-offset:-3px;outline:3px solid #5386bd}.rich-editor-error{z-index:4;background:#fff7e8;max-width:80%;padding:6px;font-size:12px;position:absolute;top:0;right:0}.save-status{white-space:nowrap;text-overflow:ellipsis;min-width:0;height:20px;line-height:20px;display:block;overflow:hidden}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.workspace .rich-toolbar button,.workspace .rich-toolbar select,.workspace .rich-context-slot button,.editor-popover button,.editor-popover a{min-height:44px}.workspace .rich-toolbar button{min-width:38px}.workspace .rich-toolbar select{font-size:16px}.rich-context-slot{min-height:44px}}@container (max-width:600px){.rich-secondary{width:100%}}.desktop-format{display:contents}.mobile-format{display:none}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.desktop-format{display:none}.mobile-format{display:contents}.workspace .rich-toolbar select.block-style{width:48px}.workspace .rich-toolbar select[aria-label=Police]{width:94px}.workspace .rich-toolbar select[aria-label="Taille du texte"]{width:68px}}.workspace .rich-toolbar select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23496257' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 3px center;background-repeat:no-repeat;padding-right:18px}.rich-document ul,.rich-document ol{margin-block:.3em}.rich-document li{margin-block:.1em}.rich-document li p{margin-block:0}.rich-document li ul,.rich-document li ol{margin-block:.1em 0}.rich-document blockquote>:first-child{margin-top:0}.rich-document blockquote>:last-child{margin-bottom:0}.editor-popover button:has(>svg){align-items:center;gap:8px;display:flex}.editor-popover svg,.rich-toolbar svg,.rich-context-slot svg{flex-shrink:0}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.color-palette button,.color-palette .custom-color{height:44px;min-height:44px}}.text-color-icon{background:conic-gradient(red,#fc0,#00b84c,#09f,#7030cc,red);border:0;border-radius:50%;flex-shrink:0;place-items:center;width:22px;height:22px;display:grid}.text-color-icon>span{border:2px solid #fff;border-radius:50%;width:14px;height:14px;display:block}.secondary-tools{width:min(270px,100vw - 32px)}.secondary-undo{display:flex}.secondary-selectors{grid-template-columns:1fr 1.5fr 1fr;gap:4px;margin-block:4px;display:grid}.secondary-selectors select{color:#344e40;background:#fff;border:1px solid #dce5df;border-radius:4px;width:100%;min-width:0;min-height:44px;font-size:16px}.secondary-tools .rich-selection-tools{flex-wrap:wrap;display:flex}.secondary-tools .rich-selection-tools button{flex:1;width:auto}.workspace .rich-toolbar{isolation:isolate;z-index:3;background:#fff}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.workspace .rich-toolbar{flex-wrap:nowrap;width:100%;height:46px;padding:0;display:block}.mobile-primary{grid-template-columns:repeat(9,minmax(0,1fr));align-items:center;width:100%;display:grid}.workspace .mobile-primary button{width:100%;min-width:0;height:44px;padding:2px}.mobile-primary button[aria-label="Couleur du texte"]>svg{display:none}}.attachment-block{background:#f7f9f6;border:1px solid #dce5df;border-radius:6px;align-items:center;gap:8px;max-width:100%;margin-block:6px;padding:6px 8px;display:flex}.attachment-block.selected{outline:2px solid #285c44}.attachment-kind{color:#496257;flex-shrink:0;font-size:11px}.attachment-description{flex:1;min-width:0}.attachment-description>a,.attachment-description>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.attachment-description small{color:#60766a;font-size:11px;display:block}.workspace .attachment-block>button{flex-shrink:0;min-width:44px;min-height:44px;padding:4px}.note-search-bar{z-index:4;background:#fff;align-items:center;gap:4px;max-width:100%;padding-block:4px;display:flex;position:sticky;top:0}.note-search-bar input{flex:1;width:80px;min-width:0;font-size:16px}.note-search-bar span{white-space:nowrap;font-size:11px}.workspace .note-search-bar button{min-width:36px;min-height:44px;padding:4px}.note-match{background:#fff0a6}.note-match.active{background:#ffc85b;outline:1px solid #8a682a}.asset-image-view[data-loading]{background:#f4f6f3;border-radius:4px;min-width:160px;min-height:64px}.asset-image-view[data-loading]>img{visibility:hidden}.image-placeholder{color:#627068;padding:16px 10px;font:13px Helvetica,Arial,sans-serif;display:block}.image-placeholder[hidden]{display:none}@media (min-width:851px) and (hover:hover),(min-width:851px) and (min-height:501px){.rich-primary,.rich-secondary{flex-wrap:nowrap}.mobile-primary,.secondary-lists{display:none}.primary-lists{display:contents}@container (max-width:680px){.primary-lists{display:none}.secondary-lists{gap:2px;display:flex}.rich-secondary{width:100%}}@container (max-width:480px){.rich-primary,.rich-secondary{display:none}.mobile-primary{grid-template-columns:repeat(9,minmax(0,1fr));width:100%;display:grid}.workspace .mobile-primary button{width:100%;min-width:0;height:44px;padding:2px}.mobile-primary button[aria-label="Couleur du texte"]>svg{display:none}.workspace .rich-toolbar{flex-wrap:nowrap}}}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.rich-primary,.rich-secondary{display:none}}.rich-editor-controls{z-index:4;background:#fff;position:sticky;top:0}.workspace .rich-editor-controls .rich-toolbar,.rich-editor-controls .note-search-bar{position:static}@media (min-width:851px) and (hover:hover),(min-width:851px) and (min-height:501px){@container (max-width:680px){.rich-secondary>button[aria-label="Annuler la saisie"],.rich-secondary>button[aria-label="Rétablir la saisie"]{order:-1}}}.note-search-bar{flex-wrap:wrap;padding-block:2px}.note-search-bar input{flex:70px;height:32px;min-height:32px;margin:0;padding:4px 6px}.workspace .note-search-bar button,.note-search-bar button{min-width:32px;height:32px;min-height:32px;padding:4px}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.note-search-bar input{height:44px;min-height:44px}.workspace .note-search-bar button,.note-search-bar button{min-width:44px;height:44px;min-height:44px}}.note-search-bar input:focus,.note-search-bar input:focus-visible{outline-offset:0;border-color:#496257;outline:none;box-shadow:inset 0 0 0 1px #496257}.workspace .note-search-bar button,.note-search-bar button{color:#344e40;box-shadow:none;background:0 0;border:0;justify-content:center;align-items:center;display:inline-flex}.note-search-bar button:focus-visible{outline-offset:-3px;outline:2px solid #496257}.note-search-bar>span{flex-shrink:0}.keyboard-dismiss{z-index:5;pointer-events:auto;color:#344e40;background:#ffffffbf;border:1px solid #dce5df;border-radius:50%;place-items:center;width:44px;height:44px;min-height:44px;padding:0;display:grid;position:fixed;top:57%;right:0;transform:translateY(-50%)}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.show-editor .rich-document{padding-right:48px}}
main:has(.workspace){min-height:0;padding:0;display:block}.workspace{color:#243b32;background:#fff;flex-direction:column;width:100%;height:100dvh;font-size:14px;display:flex;overflow:hidden}.workspace button,.workspace select{border-radius:6px;min-height:34px;padding:8px 12px;font-size:13px}.workspace button:disabled{cursor:default}.workspace .secondary{color:#496257;background:0 0;border:1px solid #dce5df}.workspace .danger{color:#9f3030}.workspace h1{margin:0;font-size:21px}.workspace h2{font-size:18px}.workspace-panels{flex:1;min-height:0}.workspace [data-panel]{min-width:0}.navigation-panel,.notes-panel,.note-editor{flex-direction:column;height:100%;min-height:0;display:flex}.navigation-panel{--navigation-row-height:40px;--child-icon-start:40px;--favorite-handle-width:18px;background:#f0f4f0;padding:24px 14px 16px;overflow-y:auto}.workspace-brand{letter-spacing:-1px;padding:0 10px 28px;font-size:24px;font-weight:750}.workspace-brand span{color:#698171;font-weight:400}.new-note{margin-bottom:24px}.navigation-panel nav{grid-template-rows:max-content minmax(var(--navigation-row-height), max-content) minmax(var(--navigation-row-height), max-content) max-content max-content;align-content:start;gap:5px;display:grid}.navigation-panel nav .navigation-entry{color:#405a4b;text-align:left;background:0 0;align-items:center;gap:10px;min-height:40px;display:flex}.navigation-panel nav .nav-icon{flex-shrink:0;width:18px;height:18px}.navigation-panel nav .nav-label{font-size:14px}.navigation-panel nav .navigation-entry[aria-current]{color:#16492f;background:#dce9de}.navigation-panel nav .navigation-entry:disabled{opacity:.55}.navigation-panel small{margin-left:auto;font-size:10px;font-weight:400}.account-block{overflow-wrap:anywhere;gap:5px;margin-top:auto;padding-top:24px;font-size:12px;display:grid}.account-block>span{color:#60766a}.account-block .error:empty{margin:0}.account-block button{margin-top:10px}.panel-separator{background:#e5ebe5;width:5px;transition:background .15s}.panel-separator:hover,.panel-separator:focus-visible,.panel-separator[data-separator=active]{background:#5c8c6f}.list-heading{justify-content:space-between;align-items:baseline;gap:8px;padding:25px 18px 16px;display:flex}.list-heading>span{color:#708277;white-space:nowrap;font-size:11px}.sort-controls{border-bottom:1px solid #e4eae5;gap:6px;padding:0 12px 12px;display:flex}.sort-controls select{color:#496257;background:#f7f9f6;border:1px solid #e1e7e0;flex:1;min-width:0}.note-list{flex:1;min-height:0;overflow:auto}.workspace .note-row{text-align:left;color:#344e40;background:#fff;border-top:0;border-bottom:1px solid #edf0eb;border-left:3px solid #0000;border-right:0;border-radius:0;flex-direction:column;align-items:stretch;gap:5px;width:100%;padding:13px 16px;font-weight:400;display:flex}.workspace .note-row:hover{background:#f6f8f3}.workspace .note-row.selected{background:#e7f0e5;border-left-color:#327346}.note-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.note-preview{-webkit-line-clamp:2;line-clamp:2;overflow-wrap:anywhere;color:#64796c;-webkit-box-orient:vertical;min-height:2.9em;font-size:13px;line-height:1.45;display:-webkit-box;overflow:hidden}.note-metadata{color:#6c8272;white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.pagination{border-top:1px solid #e4eae5;justify-content:space-between;gap:6px;padding:10px;display:flex}.pagination button{font-size:11px}.editor-toolbar{border-bottom:1px solid #edf0eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:16px 22px;display:flex}.save-status{color:#678070;font-size:12px}.save-status.unsaved{color:#8a682a}.toolbar-actions{flex-wrap:wrap;gap:7px;display:flex}.editor-fields{flex-direction:column;flex:1;min-height:0;padding:0 20px;display:flex}.workspace input.note-title{color:#243b32;background:0 0;border:0;border-radius:4px;flex-shrink:0;min-height:0;padding:4px 2px;font-size:26px;font-weight:650;line-height:1.3}.workspace textarea{resize:none;width:100%;min-height:100px;font:inherit;color:#3c5145;background:0 0;border:0;flex:1;padding:10px 0;font-size:16px;line-height:1.75}.workspace textarea:focus-visible,.workspace .note-title:focus-visible{outline-offset:6px;outline-width:1px}.editor-dates{color:#7c8d80;border-top:1px solid #f0f2ed;flex-wrap:wrap;gap:4px 16px;padding:12px 28px;font-size:10px;display:flex}.editor-empty{color:#85988a;text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:24px;display:flex}.editor-empty>span{color:#c1d0c2;font-size:48px}.editor-empty p{margin:0}.empty-state{text-align:center;color:#7a8e7e;padding:25px 20px}.notice{background:#fff7e8;border-radius:6px;margin:10px 20px;padding:10px;font-size:12px}.notice button,.notice a{margin-left:8px}.draft-status{color:#748474;margin:7px 28px 0;font-size:10px}.conflict-panel{background:#fffbed;border:1px solid #dfc080;max-height:40%;margin:10px 20px;padding:15px;overflow:auto}.conflict-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:140px;overflow:auto}.conflict-panel button{margin:5px}.workspace-alert,.recovery-banner{color:#755721;background:#fff3d6;flex-shrink:0;max-height:25vh;padding:10px 20px;font-size:12px;overflow:auto}.workspace-alert button{margin-left:15px}.recovery-banner summary{cursor:pointer}.recovery-banner>div{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.recovery-banner>div>span{overflow-wrap:anywhere;flex:1}.undo-toast{z-index:5;color:#fff;background:#263e30;border-radius:10px;align-items:center;gap:15px;max-width:95vw;padding:10px 18px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0002}.undo-toast button{color:#23422d;background:#e7f0e5}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-header,.mobile-only{display:none}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.mobile-header{border-bottom:1px solid #e3e9df;justify-content:space-between;align-items:center;padding:8px 12px;display:flex}.mobile-only{display:inline-block}.workspace button{min-height:44px}.workspace-panels.mobile>[data-panel]{display:none!important}.workspace-panels.mobile.show-navigation>#navigation,.workspace-panels.mobile.show-list>#list,.workspace-panels.mobile.show-editor>#editor{flex:100%!important;width:100%!important;display:flex!important}.workspace-panels.mobile .panel-separator{display:none}.editor-fields{padding:0 10px}.editor-toolbar{padding:8px 12px}.workspace input.note-title{font-size:24px}.editor-dates{padding:8px 18px max(8px, env(safe-area-inset-bottom))}.navigation-panel{padding-bottom:max(15px, env(safe-area-inset-bottom))}}.tag-navigation input,.tag-edit input,.tag-picker input{min-height:36px;padding:7px;font-size:16px}.tag-navigation-row{padding-left:var(--child-icon-start);align-items:center;gap:2px;display:flex}.workspace .tag-filter-option{color:#496257;text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:6px;min-width:0;padding:6px 0;display:flex}.tag-filter-option>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace .tag-filter-option[aria-pressed=true]{background:#dce9de}.tag-filter-option small{margin-left:auto}.tag-navigation .tag-count-help{margin:6px 0}.tag-count-help,.filter-notice{color:#64796c;font-size:11px}.filter-notice{margin:5px 12px}.tag-edit{background:#fff;border:1px solid #dce5df;padding:8px}.tag-edit p{font-size:12px}.active-tag-filters,.tag-chips{flex-wrap:wrap;align-items:center;gap:4px;display:flex}.active-tag-filters{border-bottom:1px solid #e3e9df;padding:6px 12px}.workspace .tag-chip{color:#285139;background:#dcebdc;border-radius:4px;align-items:center;gap:3px;max-width:100%;min-height:0;padding:2px 5px;font-size:11px;font-weight:500;line-height:16px;display:inline-flex}.tag-chip>button{min-height:24px;color:inherit;background:0 0;padding:0 3px}.note-tags{flex-shrink:0;padding-block:4px}.note-tags .tag-chip{overflow-wrap:anywhere}.workspace .add-tag{padding:6px;display:inline-flex}.tag-picker{background:#f7faf7;border:1px solid #dce5df;border-radius:6px;max-height:260px;margin-top:6px;padding:10px;overflow-y:auto}.tag-picker label{margin:0 0 6px;font-size:12px;display:block}.tag-picker ul{margin:4px 0;padding:0;list-style:none}.tag-picker [aria-selected=true]{background:#dce9de}.tag-picker li button{text-align:left;width:100%}.favorite-control{align-items:center;display:flex}.workspace .favorite-toggle{justify-content:center;align-items:center;padding:6px;display:inline-flex}.favorite-toggle svg{flex-shrink:0;display:block}.is-favorite svg,.list-favorite svg{fill:#d5e6cd;color:#42774b}.note-row-title{align-items:center;gap:5px;display:flex}.note-row-title>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.list-favorite{flex-shrink:0;display:inline-flex}.list-favorite svg{width:13px;height:13px}.note-metadata{align-items:center;gap:6px;min-height:20px;display:flex;position:relative}.note-date{flex-shrink:0}.metadata-tags{gap:4px;min-width:0;display:inline-flex;overflow:hidden}.metadata-tags .tag-chip,.tag-measure .tag-chip{text-overflow:ellipsis;white-space:nowrap;flex-shrink:0;max-width:110px;font-size:10px;line-height:14px;display:inline-block;overflow:hidden}.tag-measure{visibility:hidden;pointer-events:none;gap:4px;width:max-content;display:flex;position:absolute}.navigation-panel nav{min-height:calc(5 * var(--navigation-row-height) + 92px);flex:1 0 0}.navigation-panel>.workspace-brand,.navigation-panel>.new-note,.account-block,.navigation-entry,.navigation-heading{flex-shrink:0}.navigation-section{flex-direction:column;flex-shrink:0;min-height:0;display:flex}.navigation-section.is-open{min-height:0}.navigation-heading{align-items:center;gap:2px;display:flex}.navigation-heading .navigation-entry{flex:1;min-width:0;padding-top:0;padding-bottom:0}.section-chevron{justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-left:auto;display:inline-flex}.workspace .navigation-add{color:#285c44;background:#dce9de;border-radius:50%;flex-shrink:0;width:24px;height:24px;min-height:24px;padding:0;font-size:18px}.workspace .navigation-chevron{color:#405a4b;background:0 0;justify-content:center;align-items:center;min-width:32px;min-height:32px;padding:5px;display:inline-flex}.navigation-children{overscroll-behavior:contain;flex:auto;min-height:0;padding-left:0;overflow-y:auto}.navigation-children[hidden]{display:none}.favorite-row{padding-left:calc(var(--child-icon-start) - var(--favorite-handle-width) - 4px);align-items:center;gap:2px;min-height:36px;display:flex}.workspace .favorite-link{text-align:left;color:#405a4b;background:0 0;flex:1;align-items:center;gap:6px;min-width:0;padding:6px 2px;display:flex}.favorite-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.favorite-link svg{flex-shrink:0}.workspace .favorite-handle{touch-action:none;cursor:grab;width:var(--favorite-handle-width);color:#708277;background:0 0;flex-shrink:0;padding:4px 0}.favorite-row.is-dragging{background:#dce9de}.sidebar-error{font-size:12px}.sidebar-dialog{color:#243b32;background:#fff;border-radius:8px;width:min(420px,100%);max-height:85dvh;padding:20px;overflow-y:auto;box-shadow:0 8px 40px #0003}.sidebar-dialog label{display:block}.sidebar-dialog input{margin-bottom:12px}.sidebar-dialog button{margin:4px}.sidebar-dialog{border:1px solid #dce5df;margin:auto}.sidebar-dialog::backdrop{background:#18302655}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.navigation-panel{--navigation-row-height:44px;--favorite-handle-width:28px}.navigation-panel nav .navigation-entry{min-height:44px}.workspace .navigation-chevron,.section-chevron{min-width:44px;min-height:44px}}.navigation-chevron-icon{flex-shrink:0}.workspace .sidebar-menu-trigger{color:#405a4b;background:0 0;flex-shrink:0;width:28px;padding:4px}.sidebar-menu-popover{z-index:20;color:#243b32;background:#fff;border:1px solid #dce5df;border-radius:6px;width:max-content;padding:4px;overflow:auto;box-shadow:0 3px 12px #0002}.sidebar-menu-popover button{text-align:left;color:#405a4b;background:0 0;border:0;border-radius:4px;width:100%;min-height:34px;padding:8px 12px;font-size:13px;display:block}.sidebar-menu-popover button:hover:not(:disabled){background:#f0f4f0}.sidebar-menu-popover .danger{color:#9f3030}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.workspace .sidebar-menu-trigger{width:36px;min-height:44px}.sidebar-menu-popover button{min-height:44px}}.navigation-heading>.navigation-chevron{margin-right:38px}.workspace-brand img{width:auto;max-width:100%;height:34px;display:block}.login-logo{width:240px;max-width:100%;height:auto;margin:0 auto 12px;display:block}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.navigation-heading>.navigation-chevron{margin-right:38px}}.workspace .editor-toolbar{flex-wrap:nowrap;gap:6px;padding:4px 12px;display:flex}.note-primary-actions,.note-secondary-actions{flex-shrink:0;align-items:center;gap:6px;display:flex}.note-secondary-actions{flex-shrink:1;min-width:0;margin-left:auto}.note-history{flex-shrink:0}.workspace .editor-toolbar .save-status{font-size:11px}.status-control{align-items:center;gap:3px;width:196px;min-width:0;display:flex}.status-control .save-status{text-align:right;flex:1}.workspace .status-details{flex-shrink:0;padding:2px 6px}.workspace .note-trash,.workspace .note-back{justify-content:center;align-items:center;gap:3px;padding:6px;display:inline-flex}.workspace .note-back{display:none}.note-status-metadata{color:#748474;flex:0 0 24px;align-items:center;height:24px;padding-inline:20px;font-size:10px;display:flex}.note-status-metadata>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.workspace .note-title:focus-visible{outline:2px solid var(--note-green);outline-offset:0}.editor-fields{overscroll-behavior-y:contain;scroll-padding-top:92px}.editor-dates{gap:4px 6px;padding-block:6px}.editor-dates>span{white-space:nowrap}.editor-dates>span+span:before{content:"·";margin-right:6px}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){body:has(.workspace){overflow:hidden}.workspace{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}.workspace .mobile-header{flex-shrink:0;padding:2px 8px}.workspace .editor-toolbar{gap:3px;padding:2px 6px}.note-primary-actions,.note-secondary-actions{gap:3px}.workspace .note-back{width:40px}.workspace .favorite-toggle,.workspace .note-trash{width:34px}.status-control{width:90px}.workspace .status-details{width:22px;padding-inline:0}.workspace .note-history{width:66px;font-size:11px}.workspace .editor-toolbar .note-back{display:inline-flex}.workspace .editor-toolbar button{padding-inline:5px}.workspace .editor-toolbar:has(.toolbar-actions){flex-wrap:wrap}.workspace .editor-toolbar .toolbar-actions{gap:2px}.workspace .editor-toolbar .toolbar-actions button{font-size:10px}.note-status-metadata{display:none}.editor-fields{scroll-padding-top:48px}.editor-dates{padding:4px 10px}}.resource-indicators{flex-shrink:0;align-items:center;gap:4px;display:inline-flex}.resource-indicators>span{align-items:center;display:inline-flex}.note-metadata{flex-wrap:wrap;gap:2px 6px;max-height:44px}.metadata-tags{flex:1}.metadata-tags:not(:empty){min-width:24px}.workspace .landscape-note-action{display:none}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){@media (orientation:landscape){.workspace .mobile-header>span{display:none}.workspace:has(.show-editor .note-editor)>.mobile-header{display:none}.workspace .landscape-note-action{white-space:nowrap;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:inline-flex}.workspace .editor-toolbar{flex-wrap:nowrap;flex-shrink:0}.workspace .editor-toolbar .toolbar-actions{flex-wrap:nowrap}}}.note-classification-line{align-items:flex-start;gap:6px;min-width:0;display:flex}.note-classification-line>.note-tags{flex:1;min-width:0}.note-attachments{flex-shrink:0;align-items:center;gap:2px;margin-left:auto;display:flex}.note-attachments>a,.note-attachments>button{justify-content:center;align-items:center;min-width:32px;min-height:36px;padding:2px;display:inline-flex}.attachment-shortcut-list{flex-direction:column;max-width:min(320px,80vw);max-height:50vh;display:flex;overflow:auto}.attachment-shortcut-list a{overflow-wrap:anywhere;padding:10px}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.note-attachments>a,.note-attachments>button{min-height:44px}}.resource-indicators{color:#344e40}.status-control{flex:none;width:auto}.workspace .status-details,.workspace .note-history,.workspace .note-search{justify-content:center;align-items:center;width:34px;min-width:34px;padding:4px;display:inline-flex;position:relative}.save-marker{font-size:12px;font-weight:700;line-height:12px;position:absolute;bottom:0;right:1px}.status-details[data-state=error],.status-details[data-state=conflict]{color:#9f3030}.status-details[data-state=pending],.status-details[data-state=saving],.status-details[data-state=offline]{color:#8a682a}@media (max-width:850px),(hover:none) and (pointer:coarse) and (max-height:500px){.workspace .editor-toolbar .note-back,.workspace .editor-toolbar .favorite-toggle,.workspace .editor-toolbar .note-trash,.workspace .editor-toolbar .note-search,.workspace .editor-toolbar .status-details,.workspace .editor-toolbar .note-history{flex-shrink:0;width:44px;min-width:44px;height:44px;min-height:44px}:is(html:has(.workspace .show-editor),body:has(.workspace .show-editor)){background:#fff;overflow:visible}.workspace:has(.show-editor){height:auto;min-height:100svh;overflow:visible}.workspace .workspace-panels.show-editor{flex:none;height:auto;display:block;overflow:visible!important}.workspace .workspace-panels.show-editor>#editor{height:auto;overflow:visible!important}.workspace .workspace-panels.show-editor>#editor>div{max-height:none!important;overflow:visible!important}.show-editor .note-editor,.show-editor .editor-fields{flex:none;height:auto;overflow:visible}.show-editor .editor-fields{overscroll-behavior:auto;scroll-padding-top:0}.show-editor .rich-editor-controls{display:contents}.show-editor .rich-editor-controls .rich-toolbar{position:static}.show-editor .rich-editor-controls .note-search-bar{position:sticky;top:0}}
