.notes-shell{--bg: #141414;--text: #e8e8e8;--muted: #8a8a8a;--surface: #1c1c1e;--border: rgba(255, 255, 255, .1);--hover: rgba(255, 255, 255, .06);min-height:100%;min-height:100dvh;background:var(--bg);color:var(--text)}html[data-theme=light] .notes-shell{--bg: #ffffff;--text: #0d0d0d;--muted: #6b6b6b;--surface: #f5f5f5;--border: rgba(0, 0, 0, .1);--hover: rgba(0, 0, 0, .04)}.notes-lock{min-height:100dvh;display:grid;place-items:center;padding:24px}.notes-lock-card{width:min(320px,100%);display:flex;flex-direction:column;gap:12px}.notes-lock-kicker{margin:0;color:var(--muted);font-size:12px;letter-spacing:.04em;text-transform:lowercase}.notes-lock-card h1{margin:0;font-size:22px;font-weight:560}.notes-lock-input,.notes-lock-btn,.notes-ghost,.notes-list-item,.notes-list-del,.notes-preview{font:inherit;color:inherit}.notes-lock-input{width:100%;box-sizing:border-box;border:1px solid var(--border);background:transparent;border-radius:10px;padding:10px 12px;outline:none}.notes-lock-input:focus{border-color:var(--text)}.notes-lock-btn{border:0;border-radius:10px;padding:10px 12px;background:var(--text);color:var(--bg);cursor:pointer}.notes-lock-btn:disabled{opacity:.45;cursor:default}.notes-lock-err,.notes-error{margin:0;color:#f07178;font-size:13px}.notes-error{position:fixed;left:50%;bottom:20px;transform:translate(-50%);background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:8px 14px}.notes-scrim{position:fixed;inset:0;border:0;background:#00000059;z-index:20;cursor:default}html[data-theme=light] .notes-scrim{background:#0000002e}.notes-list{position:fixed;z-index:30;top:0;left:0;bottom:0;width:min(320px,88vw);background:var(--surface);border-right:1px solid var(--border);transform:translate(-105%);transition:transform .16s ease;display:flex;flex-direction:column;padding:18px 12px 24px;box-sizing:border-box}.notes-list.open{transform:translate(0)}.notes-list-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px 14px;color:var(--muted);font-size:13px}.notes-ghost{border:0;background:transparent;color:var(--text);cursor:pointer;padding:4px 6px;border-radius:6px}.notes-ghost:hover{background:var(--hover)}.notes-list ul{list-style:none;margin:0;padding:0;overflow:auto;display:flex;flex-direction:column;gap:2px}.notes-list li{display:grid;grid-template-columns:1fr auto;align-items:stretch;border-radius:8px}.notes-list-item{text-align:left;border:0;background:transparent;padding:10px;border-radius:8px;cursor:pointer;min-width:0}.notes-list-item:hover,.notes-list-item.active{background:var(--hover)}.notes-list-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-list-del{border:0;background:transparent;color:var(--muted);width:34px;cursor:pointer;border-radius:8px;opacity:0}.notes-list li:hover .notes-list-del,.notes-list-del:focus-visible{opacity:1}.notes-list-del:hover{color:var(--text);background:var(--hover)}.notes-main{min-height:100dvh;display:flex;justify-content:center;padding:12vh 24px 18vh;box-sizing:border-box}.notes-measure{width:100%;max-width:65ch}.notes-preview{min-height:40vh;cursor:text;line-height:1.65;font-size:17px;outline:none;word-break:break-word}.notes-preview.editing{cursor:text}.notes-preview.empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none;float:left;height:0}.notes-preview.md>:first-child{margin-top:0}.notes-preview.md>:last-child{margin-bottom:0}.notes-preview.md h1,.notes-preview.md h2,.notes-preview.md h3,.notes-preview.md h4{line-height:1.25;font-weight:600;margin:1.4em 0 .5em}.notes-preview.md h1{font-size:1.7em}.notes-preview.md h2{font-size:1.35em}.notes-preview.md h3{font-size:1.15em}.notes-preview.md p,.notes-preview.md ul,.notes-preview.md ol,.notes-preview.md blockquote,.notes-preview.md pre,.notes-preview.md table{margin:0 0 1em}.notes-preview.md a{color:inherit;text-decoration:underline;text-underline-offset:2px}.notes-preview.md code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;background:var(--hover);border-radius:4px;padding:.1em .35em}.notes-preview.md pre{background:var(--hover);border-radius:10px;padding:12px 14px;overflow:auto}.notes-preview.md pre code{background:transparent;padding:0}.notes-preview.md blockquote{border-left:3px solid var(--border);padding-left:12px;color:var(--muted)}.notes-preview.md table{border-collapse:collapse;width:max-content;min-width:100%;table-layout:auto;font-size:.95em}.notes-preview.md th,.notes-preview.md td{border:1px solid var(--border);padding:6px 8px;text-align:left;word-break:normal;overflow-wrap:break-word;-webkit-hyphens:none;hyphens:none;max-width:28rem;vertical-align:top}.notes-preview.md th{white-space:nowrap;max-width:none}.notes-preview.md hr{border:0;border-top:1px solid var(--border);margin:1.5em 0}.notes-empty{color:var(--muted)}.notes-preview.md img{max-width:100%;height:auto;border-radius:8px;display:block;margin:.75em 0}.notes-dict-cursor{display:inline-block;width:0;height:1.15em;vertical-align:text-bottom;position:relative;user-select:none;-webkit-user-select:none;pointer-events:auto;cursor:grab;touch-action:none}.notes-dict-cursor-bar{position:absolute;left:-1px;top:0;width:2px;height:100%;border-radius:1px;background:#e85858;box-shadow:0 0 #e8585859;animation:notes-dict-caret 1.2s ease-in-out infinite;pointer-events:none}.notes-dict-cursor:after{content:"";position:absolute;left:-8px;top:-4px;width:16px;height:calc(100% + 8px)}.notes-preview.md.dict-dragging,.notes-preview.md.dict-dragging *{cursor:grabbing!important;-webkit-user-select:none!important;user-select:none!important}.notes-preview.md.dict-dragging .notes-dict-cursor-bar{animation:none;background:#ff6b6b}@keyframes notes-dict-caret{0%,to{opacity:1}50%{opacity:.35}}.notes-preview.md.drop-target{outline:1px dashed color-mix(in srgb,var(--text) 35%,transparent);outline-offset:8px;border-radius:8px}.notes-status{margin:12px auto 0;max-width:65ch;color:var(--muted);font-size:13px}.notes-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.notes-toolbar{position:fixed;z-index:40;left:50%;bottom:22px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:8px;width:min(520px,calc(100vw - 24px));pointer-events:none}.notes-toolbar-partial{pointer-events:none;margin:0;max-width:100%;padding:8px 12px;border-radius:12px;background:color-mix(in srgb,var(--surface) 92%,transparent);border:1px solid var(--border);color:var(--muted);font-size:14px;line-height:1.45;text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.notes-toolbar-pills{pointer-events:auto;display:inline-flex;align-items:stretch;gap:0;border:1px solid var(--border);background:var(--surface);border-radius:999px;overflow:hidden;box-shadow:0 8px 28px #00000047}html[data-theme=light] .notes-toolbar-pills{box-shadow:0 8px 24px #0000001a}.notes-pill{font:inherit;font-size:13px;color:var(--text);background:transparent;border:0;border-right:1px solid var(--border);padding:8px 12px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;white-space:nowrap}.notes-pill:last-child{border-right:0}.notes-pill:hover:not(:disabled){background:var(--hover)}.notes-pill:disabled{opacity:.55;cursor:default}.notes-pill.on{background:color-mix(in srgb,var(--text) 10%,transparent)}.notes-pill.busy .notes-pill-dot,.notes-pill-mic.busy .notes-pill-dot{background:var(--text);animation:notes-live-blink .9s ease-in-out infinite}.notes-pill-dot{width:7px;height:7px;border-radius:50%;background:var(--muted);flex-shrink:0}.notes-pill.on .notes-pill-dot{background:#6bcb77}.notes-pill-mic.listening{color:var(--text)}.notes-pill-mic.listening .notes-pill-dot{background:#e85858;box-shadow:0 0 #e858588c;animation:notes-live-pulse 1.4s ease-out infinite}.notes-preview.md ul.contains-task-list,.notes-preview.md ul{padding-left:1.35em}.notes-preview.md ol{padding-left:1.45em}.notes-preview.md li+li{margin-top:.25em}.notes-preview.md li.task-list-item{list-style:none;margin-left:-1.35em;padding-left:0}.notes-preview.md li.task-list-item input{margin-right:.45em}.notes-preview.md del,.notes-preview.md s{color:var(--muted)}.notes-preview.md strong{font-weight:650}.notes-ai{position:fixed;inset:0;z-index:40;display:grid;place-items:end center;padding:24px 16px 28px;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.28),transparent 42%)}html[data-theme=light] .notes-ai{background:linear-gradient(to top,rgba(0,0,0,.12),transparent 42%)}.notes-ai-card{pointer-events:auto;width:min(520px,100%);background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px 14px 12px;box-shadow:0 18px 48px #00000059;display:flex;flex-direction:column;gap:10px}.notes-ai-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.notes-ai-kicker{margin:0;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.notes-ai-scope{margin:2px 0 0;font-size:13px;color:var(--text)}.notes-ai-prompt,.notes-ai-draft{width:100%;box-sizing:border-box;font:inherit;color:inherit;border:1px solid var(--border);background:transparent;border-radius:10px;padding:10px 12px;resize:vertical;outline:none;line-height:1.45}.notes-ai-prompt:focus{border-color:var(--text)}.notes-ai-draft{max-height:36vh;color:var(--muted);background:var(--hover)}.notes-ai-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notes-ai-primary{font:inherit;border:0;border-radius:10px;padding:8px 12px;background:var(--text);color:var(--bg);cursor:pointer}.notes-ai-primary:disabled{opacity:.45;cursor:default}.notes-ai-model{margin-left:auto;font-size:11px;color:var(--muted);max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notes-ai-err{margin:0;color:#f07178;font-size:13px}.notes-think{position:fixed;z-index:35;top:12px;right:12px;bottom:86px;width:min(320px,calc(100vw - 28px));height:auto;max-height:none;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:16px;border:1px solid var(--border);background:color-mix(in srgb,var(--surface) 94%,transparent);box-shadow:0 14px 40px #00000047;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);overflow:hidden;pointer-events:auto}html[data-theme=light] .notes-think{box-shadow:0 12px 32px #0000001f}.notes-think.busy{border-color:color-mix(in srgb,var(--text) 28%,var(--border))}.notes-think-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.notes-think-kicker{margin:0;font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}.notes-think-sub{margin:3px 0 0;font-size:12px;line-height:1.35;color:var(--muted)}.notes-think-list,.notes-think-empty{flex:1;min-height:0}.notes-think-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;overflow:auto}.notes-think-card{border:1px solid var(--border);border-radius:12px;padding:8px 10px 10px;background:var(--hover)}.notes-think-card-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.notes-think-dot{width:6px;height:6px;border-radius:50%;background:#6bcb77}.notes-think.busy .notes-think-dot{animation:notes-live-blink .9s ease-in-out infinite}.notes-think-dismiss{font:inherit;border:0;background:transparent;color:var(--muted);cursor:pointer;padding:0 2px;line-height:1}.notes-think-dismiss:hover{color:var(--text)}.notes-think-body{font-size:13px;line-height:1.45;color:var(--text)}.notes-think-body.md p{margin:0 0 .45em}.notes-think-body.md p:last-child{margin-bottom:0}.notes-think-body.md ul,.notes-think-body.md ol{margin:.2em 0 0;padding-left:1.2em}.notes-think-body.md strong{font-weight:700;color:var(--text)}.notes-think-body.md em{color:var(--text)}.notes-think-body.md code{font-size:.92em;padding:.05em .28em;border-radius:4px;background:color-mix(in srgb,var(--text) 10%,transparent)}.notes-think-empty{margin:0;font-size:13px;line-height:1.45;color:var(--muted)}.notes-think-err{margin:0;color:#f07178;font-size:12px}.notes-think-model{margin:0;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:820px){.notes-think{inset:12px 12px 86px;width:auto;max-height:none}}@keyframes notes-live-pulse{0%{box-shadow:0 0 #e8585873}70%{box-shadow:0 0 0 10px #e8585800}to{box-shadow:0 0 #e8585800}}@keyframes notes-live-blink{0%,to{opacity:.35}50%{opacity:1}}
