.notes-intro{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:14px 0 22px}.notes-intro h2{font-size:30px;margin:8px 0}.notes-intro p{font-size:13px;color:var(--muted);margin:0;line-height:1.75}.notes-intro .button{white-space:nowrap}.notes-privacy{padding:17px 21px;border:1px solid #d2ded7;border-radius:10px;background:var(--soft);margin-bottom:24px;font-size:12px;line-height:1.75}.notes-privacy strong{color:var(--accent)}.notes-privacy p{margin:4px 0 0;color:var(--muted);max-width:1040px}.notes-layout{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,1.5fr);gap:22px;align-items:start;min-width:0}.notes-sidebar,.notes-editor{min-width:0;padding:24px}.notes-sidebar-head,.notes-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.notes-sidebar-head{align-items:center;margin-bottom:20px;flex-wrap:wrap}.notes-sidebar-head h3{margin:0}.notes-sidebar .small-tag{font-size:10px}.notes-search input{font-size:13px}.notes-filters{display:flex;gap:5px;margin:16px 0;flex-wrap:wrap}.notes-filters button{background:white;border:1px solid var(--line);border-radius:6px;color:var(--muted);font-size:11px;padding:9px 10px}.notes-filters button[aria-pressed=true]{color:white;background:var(--accent);border-color:var(--accent)}.notes-list-status{font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 12px}.notes-list-item{display:block;width:100%;text-align:left;min-width:0;background:white;border:1px solid transparent;border-top-color:var(--line);border-radius:6px;padding:15px 12px;color:var(--ink);margin:3px 0;overflow-wrap:anywhere}.notes-list-item:hover{background:#f6f9f6}.notes-list-item[aria-pressed=true]{background:var(--soft);border-color:#9cb8aa}.notes-list-item-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.notes-list-item-top strong{font-size:13px;line-height:1.6}.notes-list-item-top>span{color:var(--muted);font-size:10px;padding-top:3px;white-space:nowrap}.notes-list-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.7;color:var(--muted);margin:6px 0}.notes-list-item time{font-size:10px;color:#768782}.notes-editor-heading{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:22px}.notes-editor-heading h3{margin:0 0 7px;font-size:17px}.notes-editor-heading p{font-size:10px;line-height:1.7;color:var(--muted);margin:0}.notes-save-status{font-size:10px;line-height:1.7;color:var(--muted);text-align:right;max-width:160px;flex-shrink:0}.notes-save-status[data-state=saved]{color:var(--accent)}.notes-save-status[data-state=error]{color:var(--danger)}.notes-save-status[data-state=pending]{color:#8b6c2f}.notes-editor .field{font-size:12px}.notes-title-field{margin-bottom:22px}.notes-title-field input{font-size:17px!important;padding:12px 13px;height:48px}.notes-body-field textarea{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;border:1px solid #ccd6d3;border-radius:7px;font-family:inherit;resize:vertical;background:#fff;color:var(--ink);font-size:14px;line-height:1.9;min-height:330px;padding:14px;tab-size:4;overflow-wrap:anywhere}.notes-editor input[readonly],.notes-editor textarea[readonly]{background:#f5f7f4;color:var(--muted)}.notes-editor-foot{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0 22px}.notes-editor-foot p{margin:0;max-width:500px}.notes-editor-foot>span{white-space:nowrap}.notes-editor-actions,.notes-inline-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.notes-editor-actions .text-button{font-size:11px}.notes-editor-actions #notes-archive{margin-left:auto;color:var(--muted)}.notes-editor-error{margin-top:12px}.notes-conflict,.notes-storage-error{background:#fcf7e9;border:1px solid #dcca9e;border-radius:8px;padding:16px;margin:0 0 20px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.notes-conflict p,.notes-storage-error p{margin:5px 0 12px}.notes-backup{margin-top:24px;padding:23px;display:flex;gap:18px 28px;align-items:center;justify-content:space-between;flex-wrap:wrap}.notes-backup>div:first-child{flex:1 1 420px}.notes-backup h3{font-size:15px;margin:0 0 8px}.notes-backup p{font-size:11px;line-height:1.8;margin:0;color:var(--muted);max-width:700px}.notes-backup-actions{display:flex;gap:10px;flex-wrap:wrap}.notes-backup #notes-file-status{flex-basis:100%;max-width:none}.notes-import-preview{flex-basis:100%;background:var(--soft);padding:16px;border-radius:8px}.notes-import-preview p{margin-bottom:12px}.notes-import-preview .text-button{margin-left:15px}#notes-list{max-height:650px;overflow:auto}.notes-editor button:disabled,.notes-backup button:disabled{opacity:.55;cursor:not-allowed}.notes-list-item:focus-visible,.notes-filters button:focus-visible{outline:3px solid #b69b4f;outline-offset:2px}
@media(max-width:800px){.notes-layout{grid-template-columns:1fr}.notes-sidebar{padding:20px}#notes-list{max-height:270px}.notes-editor{padding:21px}.notes-editor-heading{scroll-margin-top:95px}.notes-editor-heading{gap:10px}.notes-save-status{max-width:120px}.notes-title-field input,.notes-body-field textarea,.notes-search input{font-size:16px!important}.notes-editor-foot{gap:12px}.notes-backup{padding:21px}.notes-backup-actions{width:100%}.notes-backup-actions .button{flex:1 1 140px}}
@media(max-width:500px){.notes-intro{align-items:flex-start;gap:15px}.notes-intro h2{font-size:25px}.notes-intro p{font-size:12px}.notes-intro .button{font-size:11px;padding:11px 12px}.notes-privacy{padding:15px 17px}.notes-sidebar-head{gap:10px}.notes-editor-heading{flex-direction:column;gap:8px}.notes-save-status{max-width:none;text-align:left}.notes-editor-foot{display:block}.notes-editor-foot>span{display:block;margin-top:8px}.notes-editor-actions #notes-archive{margin-left:0}.notes-editor-actions .button{flex:1 1 130px}.notes-body-field textarea{min-height:290px}}
@media print{.notes-sidebar,.notes-privacy,.notes-backup,.notes-editor-actions,.notes-intro>.button,.notes-storage-error,.notes-conflict,.notes-save-status{display:none!important}.notes-layout{display:block}.notes-editor{padding:0;border:0}.notes-editor textarea{height:auto;min-height:0;resize:none}.notes-editor input,.notes-editor textarea{border:0}.notes-editor-foot{display:none}}
