.note-meta{margin:8px 0 12px;gap:12px}.note-meta label{font-size:12px;color:#9cabbe;margin:0}.note-meta input,.note-meta select{padding:7px;background:#152235;color:#e8edf5;border:1px solid #34445b;border-radius:6px;max-width:200px}.note-meta input[type=checkbox]{width:auto}.sidebar>select{width:100%;padding:8px;margin:4px 0;background:#162334;color:#e4eaf3;border:1px solid #36455b;border-radius:7px}#importLocalBtn{width:100%;margin:6px 0 10px}.note-card[data-color=yellow]{border-left:5px solid #e4be49}.note-card[data-color=pink]{border-left:5px solid #de8ca5}.note-card[data-color=blue]{border-left:5px solid #6da9ed}.note-card[data-color=green]{border-left:5px solid #66bda0}.sidebar .side-head{margin-bottom:15px}@media(max-width:720px){.topbar{flex-direction:column}.sidebar{max-height:45vh;overflow:auto}.editor{min-height:50vh}.note-meta{align-items:flex-end}textarea{min-height:240px}}

.note-folder-tools{display:flex;gap:6px;margin:8px 0}.note-folder-tools select{flex:1;min-width:0;border:1px solid #46596e;border-radius:10px;background:#152235;color:#e8edf5;padding:7px}
.note-list-row{display:flex;align-items:stretch;gap:4px}.note-list-row .note-card{flex:1;min-width:0;border-radius:12px}.note-row-menu{flex:none;width:32px;padding:4px!important;font-size:22px}.note-card small{display:block;margin-top:7px;color:#b6d9d4}
#noteFavoriteFilter,#noteSettingsBtn{font-size:23px;padding:6px 10px}.editor{display:flex;flex-direction:column;overflow:hidden;padding:0;background:white;color:#24413d}
#editorPanel{display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}.note-editor-head{display:flex;align-items:center;gap:6px;flex:none;padding:9px;background:#ddefea;border-bottom:1px solid #bfd6d0;color:#24544b}
.note-editor-head button{border-radius:10px}.note-editor-head .ghost{color:#27554d;border-color:#acc8bf}.note-title-toggle{display:flex;flex:1;min-width:0;justify-content:space-between;gap:5px;background:transparent;color:#22463f;text-align:left;font-size:18px;font-weight:700}.note-title-toggle span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#noteTitleDetails{flex:none;padding:6px 12px;background:#f4faf7;border-bottom:1px solid #d1e1db;color:#3e6c61}#noteTitleDetails:not([open]){display:none}#noteTitleDetails summary{font-size:12px;cursor:pointer}#noteTitleDetails input{background:white;color:#24413d;font-size:16px;border-color:#bdcfc9;margin:6px 0 0}
.note-meta-row{display:flex;gap:6px;align-items:center;flex:none;padding:5px 9px;background:#f8fbfa}.note-meta-row button.ghost{color:#3e675f;border-color:#ccdad5;background:white}.note-meta-row .selected{color:#906415!important;background:#fff3cd!important}.note-meta-row .file-button{padding:7px 9px;background:#e4eee9;color:#385b52;font-size:12px}.note-meta-row #noteFolderPicker{margin-right:auto;font-size:12px;max-width:45%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.note-extra{position:relative;flex:none}.note-extra summary{list-style:none;padding:5px 10px;cursor:pointer;border-radius:9px;border:1px solid #ccdad5;font-size:20px}.note-extra[open]{background:#f1f7f4}.note-extra[open] label,.note-extra[open] button{display:block;position:relative;padding:7px;margin:4px}.note-extra select{border:1px solid #b8cac2;border-radius:8px;padding:5px;background:white;color:#33584d}
#contentInput{flex:1;min-height:120px!important;resize:none;border:0;border-radius:0;margin:0;outline:none;background:white;color:#223b36;font-size:17px;line-height:1.7;padding:16px}
#editorPanel>.status{flex:none;margin:0;padding:5px 12px;color:#336d61!important;min-height:0}#editorPanel>h3{margin:8px 12px 3px;font-size:13px}#editorPanel>h3:has(+#attachmentList:empty){display:none}#attachmentList{max-height:130px;overflow:auto;flex:none;padding:0 12px 8px}#attachmentList:empty{display:none}.editor .attachment{border-color:#b8cac2;color:#315c51}.editor .attachment button{color:#315c51}
dialog{border:1px solid #41566b;border-radius:16px;padding:16px;max-width:min(440px,94vw);max-height:85dvh;overflow:auto;background:#142132;color:#e8edf5}dialog::backdrop{background:#07132080}.note-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:8px;position:sticky;top:-16px;background:#142132;padding:8px 0;border-bottom:1px solid #41566b;margin-bottom:10px}.note-dialog-head h2{margin:0;font-size:18px}.note-settings-actions,#noteFolderChoices,#noteActionsChoices{display:grid;gap:8px}#noteFolderForm{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}#noteFolderName{flex:1;min-width:130px;max-width:100%;padding:8px;border-radius:9px;border:1px solid #41566b;background:#0b1320;color:#e8edf5}
@media(max-width:720px){.note-writing>.shell>.topbar{display:none}.note-writing .workspace{height:100dvh}.note-writing .sidebar,.note-writing .viewer{display:none}.note-writing .editor{height:100dvh;min-height:0;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.note-writing #editorPanel{height:100%}.topbar{flex-direction:row;align-items:center}.topbar p{display:none}.top-actions{gap:6px}.top-actions .usage{display:none}.note-meta-row .file-button{font-size:11px}.note-editor-head{padding:6px}}
