* { box-sizing:border-box; }
:root { font:15px/1.45 Inter,system-ui,sans-serif; color:#171b1f; background:#eceef1; }
body { margin:0; } [hidden] { display:none !important; }
.workspace { display:grid; grid-template-columns:clamp(238px,23vw,325px) minmax(0,1fr); gap:8px; height:100dvh; padding:6px; }
button, input { font:inherit; color:inherit; } button,.notes a { cursor:pointer; } button { border:0; background:none; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:2px solid #087b58; outline-offset:2px; }
.notes,#document { min-width:0; min-height:0; border-radius:12px; }
.notes { display:flex; flex-direction:column; background:#f5f6f8; }
.notes header,.list-heading,.notes footer,.note-chrome { display:flex; align-items:center; }
.notes header { padding:12px 13px 8px; gap:4px; }
.notes h1 { margin:0 auto 0 0; font-size:21px; letter-spacing:-.5px; }
.notes button,.note-chrome > button { display:inline-flex; align-items:center; justify-content:center; border-radius:7px; min-width:30px; min-height:30px; }
.notes button:hover,.note-chrome > button:hover { background:#e4e7eb; }
.notes #import-note { height:34px; padding:0 7px; gap:5px; font-size:13px; font-weight:600; color:#087b58; }
#import-error { margin:0 13px 8px; color:#983729; font-size:13px; }
.notes .new { background:#087b58; color:white; width:34px; height:34px; } .notes .new:hover { background:#076547; }
i[data-icon] { display:inline-flex; align-items:center; } i svg { width:18px; height:18px; stroke-width:1.75; }
.search { display:flex; align-items:center; gap:8px; margin:0 13px; padding:8px 10px; border-radius:9px; background:#e7e8eb; color:#616872; }
.search input { border:0; background:transparent; width:100%; min-width:0; outline:none; }
.search:focus-within { outline:2px solid #087b58; }
.list-heading { justify-content:space-between; padding:7px 13px 3px; font-size:12px; color:#5f6873; }
.list-heading button[aria-pressed=true] { background:#dcefe8; color:#087b58; }
#drafts { overflow:auto; padding:3px 7px 8px; flex:1; align-content:start; }
#drafts button { width:100%; display:grid; justify-content:stretch; text-align:left; gap:3px; padding:10px 12px; border:1px solid transparent; color:#171b1f; min-width:0; }
#drafts button[aria-current=true] { background:#fff; border-color:#dce0e5; box-shadow:0 1px 3px #17232c0e; }
#drafts strong,#drafts small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#drafts strong { font-size:14px; } #drafts small { color:#606b77; font-size:12px; }
#drafts.grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; } #drafts.grid button { min-height:76px; }
.notes footer { padding:11px 13px; border-top:1px solid #dfe3e7; justify-content:space-between; gap:6px; color:#626a73; font-size:11px; }
.notes #download-copy { gap:5px; padding:2px 4px; color:#087b58; font-size:12px; font-weight:600; }
#download-copy svg { width:15px; height:15px; }
.brand { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:650; color:#26232e; }
#document { --oh-editor-height:100%; background:white; border:1px solid #d9dee5; box-shadow:0 1px 4px #15232e12; }
#document .oh-editor { min-height:0; border-radius:inherit; --n-accent:#087b58; --n-soft:#dcf4ea; --n-hover:#f0f2f4; --n-ink:#171b1f; --n-muted:#606a76; --n-line:#dce0e5; }
.note-chrome { position:relative; z-index:16; min-height:43px; padding:4px 7px; gap:4px; border-bottom:1px solid #dce1e5; }
.note-chrome .fn-formatbar { flex:1; min-width:0; }
.note-chrome .location,.save { color:#5f6873; font-size:12px; white-space:nowrap; }
.save { max-width:19ch; overflow:hidden; text-overflow:ellipsis; }
#document .oh-page { max-width:870px; padding:clamp(22px,3.4vw,48px); }
.note-meta { color:#65707b; font-size:12px; margin-bottom:12px; }
.note-title { font:680 clamp(25px,2.6vw,34px)/1.2 var(--n-heading-font); letter-spacing:-1px; width:100%; border:0; padding:0; margin:0 0 14px; resize:none; background:transparent; outline:none; overflow:hidden; }
#document .oh-page .tiptap > :first-child { margin-top:0; }
#note-menu { position:fixed; inset:48px 12px auto auto; margin:0; padding:5px; border:1px solid #dce0e5; border-radius:10px; background:white; color:#171b1f; min-width:185px; box-shadow:0 9px 27px #20303d24; }
#note-menu button,#note-menu a { display:flex; align-items:center; gap:9px; width:100%; min-height:32px; padding:5px 10px; font:inherit; font-size:13px; border-radius:6px; color:inherit; text-decoration:none; }
#note-menu :is(button,a):hover { background:#eff5f2; } #note-menu hr { border:0; border-top:1px solid #dce0e5; }
#document .back,#document .mobile-download { display:none; }
body.focus-mode .workspace { grid-template-columns:minmax(0,1fr); } body.focus-mode .notes { display:none; }
@media(max-width:700px) {
  .workspace { display:block; padding:0; } .notes,#document { height:100%; border-radius:0; } .notes { display:none; }
  body.show-list .notes { display:flex; } body.show-list #document { display:none; }
  #document .mobile-download { display:inline-flex; min-width:34px; min-height:36px; }
  #document .back { display:inline-flex; gap:2px; padding-inline:2px; color:#087b58; }
  #document .focus,#document .location { display:none; } .note-chrome { padding:3px 4px; gap:1px; }
  .note-chrome .save { max-width:6ch; font-size:11px; } #document .oh-page { padding:22px 18px; }
}

