.install-hint{display:flex;align-items:flex-start;gap:var(--space-3);margin:var(--space-3) var(--space-4) 0;padding:var(--space-3) var(--space-4);border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:var(--text-sm);line-height:var(--leading-body)}.install-hint__text{flex:1}.install-hint__close{flex:none;min-height:44px;padding:0 var(--space-2);border:0;background:none;font:inherit;font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--green);cursor:pointer}.authed .screen{padding-bottom:calc(env(safe-area-inset-bottom,0px) + var(--composer-space))}.authed{--composer-space: 7.5rem}.composer{position:fixed;inset:auto 0 0;z-index:var(--z-sticky);padding:var(--space-6) calc(env(safe-area-inset-right,0px) + var(--gutter)) calc(env(safe-area-inset-bottom,0px) + var(--space-4)) calc(env(safe-area-inset-left,0px) + var(--gutter));background:linear-gradient(to bottom,var(--bg-clear),var(--bg) 1.5rem);pointer-events:none}.composer__inner{width:100%;max-width:var(--content-max);margin:0 auto;pointer-events:auto}.composer__bar{display:flex;align-items:flex-end;gap:var(--space-1);padding:var(--space-2);border-radius:var(--radius-lg);background:var(--green);color:var(--on-dark);box-shadow:var(--shadow-float)}.composer__icon{position:relative;flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--touch);height:var(--touch);border-radius:var(--radius-md);color:var(--on-dark-muted);cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.composer__icon:hover{background:var(--on-dark-wash);color:var(--on-dark)}}.composer__icon:active{background:var(--on-dark-wash);color:var(--on-dark)}.composer__icon:focus-within{outline:2px solid var(--lime);outline-offset:-2px}.composer__input{flex:1;min-width:0;min-height:var(--touch);max-height:9rem;padding:.65rem var(--space-2);border:0;background:transparent;color:var(--on-dark);font-size:var(--text-base);line-height:1.4;resize:none}.composer__input::placeholder{color:var(--on-dark-muted);opacity:1}.composer__input:focus-visible{outline:none}.composer__bar:has(.composer__input:focus-visible){box-shadow:var(--shadow-float),0 0 0 2px var(--lime)}.composer__send{flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--touch);height:var(--touch);border:0;border-radius:var(--radius-md);background:var(--lime);color:var(--ink);cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),opacity var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.composer__send:hover:not(:disabled){background:var(--lime-hover)}}.composer__send:active:not(:disabled){transform:scale(var(--press-scale))}.composer__send:disabled{opacity:.35;cursor:not-allowed}.composer__send:focus-visible{outline:2px solid var(--on-dark);outline-offset:2px}.composer__notice{animation:notice-in var(--dur) var(--ease-out) backwards;margin:0 0 var(--space-2);padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);background:var(--ink);color:var(--on-dark);font-size:var(--text-sm);font-weight:500}.composer__notice--error{background:var(--danger)}@keyframes notice-in{0%{opacity:0;transform:translateY(6px)}}@media(prefers-reduced-motion:reduce){.composer__notice{animation:none}}.composer__files{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:0 0 var(--space-2);padding:0;list-style:none}.composer__file{display:inline-flex;align-items:center;max-width:100%;border-radius:var(--radius-sm);background:var(--surface);font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono)}.composer__file-name{overflow:hidden;padding:0 var(--space-1) 0 var(--space-3);text-overflow:ellipsis;white-space:nowrap}.composer__file-x{flex:none;display:inline-flex;align-items:center;justify-content:center;width:var(--touch);height:var(--touch-compact);border:0;border-radius:var(--radius-sm);background:transparent;color:var(--muted);cursor:pointer}@media(hover:hover)and (pointer:fine){.composer__file-x:hover{color:var(--ink)}}button.composer__icon{padding:0;border:0;background:transparent;font:inherit}button.composer__icon:disabled{opacity:.4;cursor:not-allowed}button.composer__icon:focus-visible{outline:2px solid var(--lime);outline-offset:-2px}.composer__rec{flex:1;min-width:0;display:flex;align-items:center;gap:var(--space-3);min-height:var(--touch);padding:0 var(--space-2);font-size:var(--text-base);animation:rec-in var(--dur) var(--ease-out) backwards}.composer__rec-time{font-family:var(--font-mono);font-variant-numeric:tabular-nums;letter-spacing:var(--tracking-mono)}.composer__rec-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 2px var(--on-dark);animation:rec-pulse 1.6s ease-in-out infinite}.composer__rec-spinner{flex:none;width:16px;height:16px;border:2px solid var(--on-dark-wash);border-top-color:var(--on-dark);border-radius:50%;animation:rec-spin .8s linear infinite}button.composer__icon--stop{background:var(--lime);color:var(--ink)}@media(hover:hover)and (pointer:fine){button.composer__icon--stop:hover{background:var(--lime-hover);color:var(--ink)}}button.composer__icon--stop:active{background:var(--lime-hover);color:var(--ink);transform:scale(var(--press-scale))}@keyframes rec-in{0%{opacity:0;transform:translateY(4px)}}@keyframes rec-pulse{50%{opacity:.45}}@keyframes rec-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.composer__rec,.composer__rec-dot{animation:none}.composer__rec-spinner{animation-duration:2.4s}}.composer__notice--retry{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding-block:var(--space-1)}.composer__retry{flex:none;min-height:var(--touch);padding:0 var(--space-3);border:0;border-radius:var(--radius-sm);background:var(--on-dark);color:var(--danger);font:inherit;font-weight:600;cursor:pointer;touch-action:manipulation}.composer__retry:active{transform:scale(var(--press-scale))}.composer__retry:focus-visible{outline:2px solid var(--on-dark);outline-offset:2px}@media(max-width:400px){.composer__bar{gap:0}.composer__icon{width:40px}.composer__input{padding-inline:var(--space-1)}.composer__input::placeholder{font-size:var(--text-sm)}}.home__head{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-3);padding-top:var(--space-2)}.wordmark{font-family:var(--font-display);font-weight:800;font-size:var(--text-display);letter-spacing:var(--tracking-display);line-height:1}.wordmark span{color:var(--green)}.search{margin-top:var(--space-5);border-radius:var(--radius-md);background:var(--surface);transition:background-color var(--dur-fast) var(--ease-out),box-shadow var(--dur-fast) var(--ease-out)}.search:focus-within{background:var(--bg);box-shadow:inset 0 0 0 1.5px var(--green)}.search__input{width:100%;min-height:var(--control-h);padding:0 var(--space-4);border:0;border-radius:var(--radius-md);background:transparent;font-size:var(--text-base)}.search__input::placeholder{color:var(--muted);opacity:1}.search__input:focus-visible{outline:none}.search__tags{display:flex;flex-wrap:wrap;gap:var(--space-2);padding:0 var(--space-4) var(--space-3)}.block{margin-top:var(--space-6)}.section-title{margin-bottom:var(--space-3);font-family:var(--font-display);font-size:var(--text-lg);font-weight:600;letter-spacing:-.01em}.section-count{margin-left:var(--space-1);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:400;color:var(--muted);vertical-align:.15em}.quiet{margin-top:var(--space-4);color:var(--muted);font-size:var(--text-sm)}.quiet.empty{padding:var(--space-6) 0;max-width:36ch}.inline-hint{flex-basis:100%;color:var(--muted);font-size:var(--text-sm)}.banner--ai_failed .inline-hint{color:var(--on-dark-muted)}.inline-error{flex-basis:100%;color:var(--danger);font-size:var(--text-sm);font-weight:500}.status{display:inline-flex;align-items:center;gap:var(--space-2)}.status:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:inset 0 0 0 1px var(--lime-edge)}.status--ai_failed:before,.status--failed:before{background:var(--danger);box-shadow:none}.status--failed{color:var(--danger)}.topbar{display:flex;align-items:center;justify-content:space-between;margin-left:calc(-1 * var(--space-3))}.back{display:inline-flex;align-items:center;gap:var(--space-1);min-height:var(--touch);padding:0 var(--space-3);border-radius:var(--radius-md);color:var(--ink);font-weight:500;text-decoration:none;max-width:70vw}.back span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(hover:hover)and (pointer:fine){.back:hover{background:var(--surface)}}.screen-title{margin-top:var(--space-2);font-size:var(--text-2xl);font-weight:700;letter-spacing:-.03em;overflow-wrap:anywhere}.screen-title--folder{display:flex;align-items:center;gap:var(--space-3)}.screen-title--folder .sq{width:16px;height:16px;border-radius:5px}.lead{margin-top:var(--space-2);color:var(--muted);max-width:40ch}.back:active{background:var(--surface-strong)}.crumbs ol{display:flex;flex-wrap:wrap;gap:var(--space-1) var(--space-2);margin:var(--space-2) 0 0;padding:0;list-style:none;font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);text-transform:uppercase;color:var(--muted)}.crumbs li+li:before{content:"/";margin-right:var(--space-2)}.crumbs a{color:var(--muted)}@media(hover:hover)and (pointer:fine){.crumbs a:hover{color:var(--green)}}.toolbar{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4)}.toolbar--note{margin-top:var(--space-8);padding-top:var(--space-4);border-top:1px solid var(--line)}.sheet-form{display:flex;flex-direction:column;gap:var(--space-4)}.sheet .btn--primary.btn--danger{background:var(--danger);color:var(--on-dark)}.banner{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);margin-top:var(--space-3);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);font-size:var(--text-sm);font-weight:500}.banner__dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:inset 0 0 0 1px var(--lime-edge)}.banner--pending_ai .banner__dot{animation:badge-pulse 1.2s var(--ease-out) infinite alternate}.banner--ai_failed{background:var(--ink);color:var(--on-dark)}.banner--ai_failed .banner__dot{background:var(--danger);box-shadow:0 0 0 2px #f1f5ee33}.banner__text{flex:1;min-width:12ch}.banner--ai_failed .banner__btn{color:var(--lime);box-shadow:inset 0 0 0 1px #f1f5ee47}@media(hover:hover)and (pointer:fine){.banner--ai_failed .banner__btn:hover:not(:disabled){background:#f1f5ee14}}.banner--ai_failed .banner__btn:disabled{color:var(--on-dark-muted)}.banner--ai_failed .inline-error{color:var(--lime)}@media(prefers-reduced-motion:reduce){.banner--pending_ai .banner__dot{animation:none}}.note-view{margin-top:var(--space-4)}.note-view__path{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.note-view__path a{color:var(--muted);text-decoration:none}@media(hover:hover)and (pointer:fine){.note-view__path a:hover{color:var(--green);text-decoration:underline}}.note-view__title{margin-top:var(--space-2);font-size:var(--text-2xl);font-weight:700;letter-spacing:-.03em;overflow-wrap:anywhere}.note-view__tags{display:flex;flex-wrap:wrap;gap:var(--space-2);margin:var(--space-3) 0 0;padding:0;list-style:none}.note-view__summary{display:flex;gap:var(--space-3);margin-top:var(--space-5);padding:var(--space-4);border-radius:var(--radius-lg);background:var(--ink);color:var(--on-dark);font-size:var(--text-sm);line-height:1.5}.note-view__summary .note__dot{flex:none;width:7px;height:7px;margin-top:.5em;border-radius:50%;background:var(--lime)}.note-view__source{margin-top:var(--space-4);font-size:var(--text-sm);color:var(--muted);overflow-wrap:anywhere}.note-view__meta{margin-top:var(--space-6);font-family:var(--font-mono);font-size:.6875rem;letter-spacing:var(--tracking-mono);color:var(--muted)}.prose{margin-top:var(--space-5);max-width:68ch;overflow-wrap:anywhere}.prose>*+*{margin-top:var(--space-3)}.prose h1,.prose h2,.prose h3,.prose h4{margin-top:var(--space-6);font-size:var(--text-lg);font-weight:600}.prose p{text-wrap:pretty}.prose ul,.prose ol{margin-bottom:0;padding-left:var(--space-5)}.prose li+li{margin-top:var(--space-1)}.prose li:has(>input[type=checkbox]){list-style:none;margin-left:calc(-1 * var(--space-5))}.prose blockquote{margin-left:0;margin-right:0;padding:var(--space-2) var(--space-4);border-radius:var(--radius-md);background:var(--surface);color:var(--ink)}.prose code{padding:0 var(--space-1);border-radius:4px;background:var(--surface);font-family:var(--font-mono);font-size:.875em}.prose pre{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);overflow-x:auto}.prose pre code{padding:0;background:none}.prose a:not([href]){color:var(--muted);text-decoration:line-through}.prose hr{border:0;border-top:1px solid var(--line)}.prose table{width:100%;border-collapse:collapse;font-size:var(--text-sm);display:block;overflow-x:auto}.prose th,.prose td{padding:var(--space-2);border-bottom:1px solid var(--line);text-align:left}.edit{display:flex;flex-direction:column;gap:var(--space-5);margin-top:var(--space-4)}.edit__body{min-height:12rem;padding:var(--space-3) var(--space-4);line-height:var(--leading-body);resize:vertical}.edit__actions{display:flex;gap:var(--space-2)}.versions{margin:0;padding:0;list-style:none}.version{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-1);padding:var(--space-4) 0;border-bottom:1px solid var(--line)}.version__meta{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.version__title{font-weight:600}.version__body{color:var(--muted);font-size:var(--text-sm);white-space:pre-line;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.version .chip-btn{margin-top:var(--space-2)}.rejected-notice{margin:var(--space-3) var(--space-4) 0}.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--control-h);min-width:var(--touch);padding:0 var(--space-5);border:0;border-radius:var(--radius-md);font-family:var(--font-body);font-size:var(--text-base);font-weight:600;line-height:1;cursor:pointer;-webkit-user-select:none;user-select:none;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),box-shadow var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}.btn:active:not(:disabled){transform:scale(var(--press-scale))}.btn:disabled{cursor:not-allowed}.btn--block{display:flex;width:100%}.btn--primary{background:var(--green);color:var(--lime)}@media(hover:hover)and (pointer:fine){.btn--primary:hover:not(:disabled){background:var(--green-hover)}}.btn--primary:active:not(:disabled){background:var(--green-active)}.btn--primary:disabled:not([aria-busy]){background:var(--surface-strong);color:var(--muted)}.btn--secondary{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}@media(hover:hover)and (pointer:fine){.btn--secondary:hover:not(:disabled){background:var(--surface)}}.btn--secondary:active:not(:disabled){background:var(--surface-strong)}.btn--secondary:disabled:not([aria-busy]){color:var(--muted);box-shadow:inset 0 0 0 1.5px var(--line)}.btn--ghost{background:transparent;color:var(--green);padding:0 var(--space-3)}@media(hover:hover)and (pointer:fine){.btn--ghost:hover:not(:disabled){background:var(--surface)}}.btn--ghost:active:not(:disabled){background:var(--surface-strong)}.btn--ghost:disabled:not([aria-busy]){color:var(--muted)}.btn__spinner{width:1em;height:1em;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:btn-spin .7s linear infinite}@keyframes btn-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.btn__spinner{animation:none;border-right-color:currentColor;opacity:.6}}.field{display:flex;flex-direction:column;gap:var(--space-2)}.field__label{font-size:var(--text-sm);font-weight:600;color:var(--ink)}.field__input{width:100%;min-height:var(--control-h);padding:0 var(--space-4);border:1.5px solid transparent;border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font-size:var(--text-base);transition:background-color var(--dur-fast) var(--ease-out),border-color var(--dur-fast) var(--ease-out)}.field__input::placeholder{color:var(--muted);opacity:1}@media(hover:hover)and (pointer:fine){.field__input:hover{background:var(--surface-strong)}}.field__input:focus-visible{outline:2px solid var(--focus);outline-offset:2px;background:var(--bg);border-color:var(--green)}.field__input:disabled{color:var(--muted);cursor:not-allowed}.field--invalid .field__input{border-color:var(--danger)}.field__hint{font-size:var(--text-sm);color:var(--muted)}.field__error{font-size:var(--text-sm);font-weight:500;color:var(--danger)}.screen{min-height:100vh;min-height:100dvh;display:flex;justify-content:center;padding:calc(env(safe-area-inset-top,0px) + var(--space-6)) calc(env(safe-area-inset-right,0px) + var(--gutter)) calc(env(safe-area-inset-bottom,0px) + var(--space-6)) calc(env(safe-area-inset-left,0px) + var(--gutter))}.screen__inner{width:100%;max-width:var(--content-max);display:flex;flex-direction:column}.screen--auth .screen__inner{max-width:24rem}@media(min-height:700px)and (min-width:600px){.screen--auth{align-items:center;padding-bottom:12vh}}.screen--loading,.screen--loading .screen__inner{align-items:center}.app-loading{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.sheet{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:var(--content-max);max-height:100dvh;padding:0;border:0;background:transparent;color:var(--ink);overflow:visible}.sheet::backdrop{background:#0e1a1466}.sheet__panel{display:flex;flex-direction:column;max-height:calc(100dvh - env(safe-area-inset-top,0px) - var(--space-8));border-radius:var(--radius-xl) var(--radius-xl) 0 0;background:var(--bg);box-shadow:0 -8px 32px #0e1a141f;padding-bottom:calc(env(safe-area-inset-bottom,0px) + var(--space-4))}.sheet__grip{width:36px;height:4px;margin:var(--space-2) auto 0;border-radius:2px;background:var(--line)}.sheet__head{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:var(--space-2) var(--space-2) var(--space-2) var(--gutter)}.sheet__title{font-size:var(--text-xl);font-weight:600}.sheet__close{display:inline-grid;place-items:center;width:var(--touch);height:var(--touch);border:0;border-radius:var(--radius-md);background:transparent;color:var(--muted);cursor:pointer}@media(hover:hover)and (pointer:fine){.sheet__close:hover{background:var(--surface);color:var(--ink)}}.sheet__close:active{background:var(--surface-strong)}.sheet__body{overflow-y:auto;overscroll-behavior:contain;padding:0 var(--gutter) var(--space-4)}.sheet__top{user-select:none;-webkit-user-select:none;touch-action:none}.sheet[open] .sheet__panel{animation:sheet-up var(--dur-sheet) var(--ease-drawer)}.sheet[open]::backdrop{animation:sheet-fade var(--dur-sheet) var(--ease-out)}.sheet__panel{transition:transform var(--dur-sheet) var(--ease-drawer)}@supports (transition-behavior: allow-discrete) and (overlay: auto){.sheet{transition:display var(--dur-exit) allow-discrete,overlay var(--dur-exit) allow-discrete}.sheet::backdrop{opacity:0;transition:opacity var(--dur-exit) var(--ease-out),display var(--dur-exit) allow-discrete,overlay var(--dur-exit) allow-discrete}.sheet[open]::backdrop{opacity:1}.sheet:not([open]) .sheet__panel{transform:translateY(100%);transition-duration:var(--dur-exit);transition-timing-function:var(--ease-out)}}@keyframes sheet-up{0%{transform:translateY(100%)}}@keyframes sheet-fade{0%{opacity:0}}@media(prefers-reduced-motion:reduce){.sheet[open] .sheet__panel,.sheet[open]::backdrop{animation:none}.sheet:not([open]) .sheet__panel{transform:none}}.tag{display:inline-flex;align-items:center;padding:1px var(--space-2);border-radius:var(--radius-sm);background:var(--lime);color:var(--ink);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:500;line-height:1.5;white-space:nowrap}.tag--button{position:relative;border:0;cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}.tag--button:before{content:"";position:absolute;inset:50% auto auto 50%;width:max(100%,var(--touch));height:var(--touch);transform:translate(-50%,-50%)}@media(hover:hover)and (pointer:fine){.tag--button:hover{background:var(--lime-hover)}}.tag--button:active{transform:scale(var(--press-scale))}.tag--button[aria-pressed=true]{background:var(--ink);color:var(--lime)}.badge{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-1);font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.badge__dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--lime);box-shadow:inset 0 0 0 1px var(--lime-edge)}.badge--offline .badge__dot{background:var(--green);box-shadow:none}.badge--pending .badge__dot{background:transparent;box-shadow:inset 0 0 0 1.5px var(--green)}.badge--error .badge__dot{background:var(--danger);box-shadow:none}.badge--busy .badge__dot{animation:badge-pulse 1.2s var(--ease-out) infinite alternate}@keyframes badge-pulse{to{opacity:.35}}@media(prefers-reduced-motion:reduce){.badge--busy .badge__dot{animation:none}}.rows{list-style:none;margin:0;padding:0}.row{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);min-height:52px;padding:var(--space-2) var(--space-1);border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;transition:background-color var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.row:hover{background:var(--surface)}}.row:active{background:var(--surface-strong)}.row__lead{display:flex;align-items:center;gap:var(--space-3);min-width:0}.row__name{font-size:var(--text-base);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row__num{flex:none;font-family:var(--font-mono);font-size:var(--text-xs);color:var(--muted);font-variant-numeric:tabular-nums}.row__num--hot{min-width:1.5rem;padding:1px var(--space-2);border-radius:var(--radius-sm);background:var(--lime);color:var(--ink);text-align:center}.sq{flex:none;width:12px;height:12px;border-radius:4px}.sq--green{background:var(--green)}.sq--lime{background:var(--lime);box-shadow:inset 0 0 0 1px var(--lime-edge)}.sq--ink{background:var(--ink)}.sq--neutral{background:#c9cfc6}.sq--inbox{background:transparent;box-shadow:inset 0 0 0 1.5px var(--muted)}.note-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.note-list--cards{gap:var(--space-3)}.note{position:relative}.note__link{display:flex;flex-direction:column;gap:var(--space-1);color:inherit;text-decoration:none;transition:opacity var(--dur-fast) var(--ease-out)}.note__link:active{opacity:.6}.note__title{display:flex;align-items:center;gap:var(--space-2);font-weight:600;line-height:1.3}.note__summary{font-size:var(--text-sm);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.note__meta{margin-top:var(--space-1);font-family:var(--font-mono);font-size:.6875rem;letter-spacing:var(--tracking-mono)}.note__status{margin-top:var(--space-2);font-size:var(--text-sm)}.note__actions{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2)}.note--card{border-radius:var(--radius-lg);background:var(--ink);color:var(--on-dark);padding:var(--space-4)}.note--card .note__link{border-radius:var(--radius-md)}.note--card .note__dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--lime)}.note--card .note__summary{color:var(--on-dark-muted)}.note--card .note__meta{color:#9aa79f}.note--card :focus-visible{outline-color:var(--lime)}.note--card .chip-btn{color:var(--on-dark);box-shadow:inset 0 0 0 1px #f1f5ee47}@media(hover:hover)and (pointer:fine){.note--card .chip-btn:hover:not(:disabled){background:#f1f5ee14;color:var(--lime)}}.note--row{border-bottom:1px solid var(--line);padding:var(--space-3) var(--space-1)}.note--row .note__link{min-height:var(--touch);justify-content:center}.note--row .note__summary,.note--row .note__meta,.note--row .note__status{color:var(--muted)}.chip-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--touch);padding:0 var(--space-4);border:0;border-radius:999px;background:transparent;color:var(--green);box-shadow:inset 0 0 0 1px var(--line);font-size:var(--text-sm);font-weight:600;cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.chip-btn:hover:not(:disabled){background:var(--surface)}}.chip-btn:active:not(:disabled){transform:scale(var(--press-scale))}.chip-btn:disabled{color:var(--muted);cursor:not-allowed;opacity:.7}.chip-btn--danger{color:var(--danger)}.picker{list-style:none;margin:0;padding:0}.picker__option{display:flex;align-items:center;gap:var(--space-3);width:100%;min-height:var(--control-h);padding:0 var(--space-3);border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.picker__option:hover:not(:disabled){background:var(--surface)}}.picker__option:active:not(:disabled){background:var(--surface-strong)}.picker__option:disabled{cursor:default}.picker__label{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.picker__here{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.picker__new{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-5)}.account{display:inline-grid;place-items:center;width:var(--touch);height:var(--touch);border:0;border-radius:50%;background:transparent;cursor:pointer}.account span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface);font-family:var(--font-mono);font-size:var(--text-sm);font-weight:500;transition:background-color var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.account:hover span{background:var(--surface-strong)}}.account:active span{background:var(--surface-strong)}.account__mail{font-family:var(--font-mono);font-size:var(--text-sm);color:var(--muted);overflow-wrap:anywhere}.warn{margin-top:var(--space-4);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font-size:var(--text-sm)}.form-error{margin-top:var(--space-3);color:var(--danger);font-size:var(--text-sm);font-weight:500}.sheet-actions{display:flex;flex-direction:column;gap:var(--space-2);margin-top:var(--space-6)}.account__links{margin-top:var(--space-3)}.account__links .row:first-child{border-top:1px solid var(--line)}.settings__stack{display:flex;flex-direction:column;gap:var(--space-3)}.settings__stack--tight{gap:var(--space-1);min-width:0}.settings__form{display:flex;flex-direction:column;gap:var(--space-4);margin-top:var(--space-4)}.settings__line{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4)}.settings__label{font-weight:600}.settings__hint{margin-top:var(--space-1);color:var(--muted);font-size:var(--text-sm);max-width:44ch}.settings__ok{color:var(--green);font-size:var(--text-sm);font-weight:500}.settings__actions{display:flex;flex-wrap:wrap;gap:var(--space-2)}.settings__meta{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted);overflow-wrap:anywhere}.settings__meta strong{color:var(--ink);font-weight:500}.settings__token{display:block;padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);font-family:var(--font-mono);font-size:var(--text-sm);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.settings__secret{display:flex;flex-direction:column;gap:var(--space-2);padding:var(--space-4);border:1.5px solid var(--green);border-radius:var(--radius-lg)}.settings__facts{margin:0}.settings__facts>div{display:flex;justify-content:space-between;gap:var(--space-4);min-height:48px;align-items:center;border-bottom:1px solid var(--line)}.settings__facts dt{color:var(--muted)}.settings__facts dd{margin:0;font-family:var(--font-mono);font-size:var(--text-sm)}.row--model,.row--user{flex-wrap:wrap;row-gap:var(--space-2)}@media(hover:hover)and (pointer:fine){.row--model:hover,.row--user:hover{background:transparent}}.models{max-height:50dvh;overflow-y:auto;margin-top:var(--space-3)}.switch{position:relative;flex:none;width:52px;height:var(--touch);padding:0;border:0;border-radius:999px;background:transparent;cursor:pointer;touch-action:manipulation}.switch:before{content:"";position:absolute;inset:8px 0;border-radius:999px;background:var(--surface-strong);box-shadow:inset 0 0 0 1px var(--line);transition:background-color var(--dur-fast) var(--ease-out)}.switch[aria-checked=true]:before{background:var(--green)}.switch__knob{position:absolute;top:11px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--bg);box-shadow:0 1px 2px #0e1a1440;transition:transform var(--dur) var(--ease-out)}.switch[aria-checked=true] .switch__knob{transform:translate(24px);background:var(--lime)}.switch:disabled{cursor:not-allowed;opacity:.5}.switch:focus-visible{outline:2px solid var(--focus);outline-offset:2px}@media(prefers-reduced-motion:reduce){.switch__knob{transition:none}}.guide{margin-top:var(--space-4);border-top:1px solid var(--line)}.guide>summary{display:flex;align-items:center;min-height:var(--touch);font-weight:600;cursor:pointer}.guide[open]>summary{margin-bottom:var(--space-2)}.guide__steps{display:flex;flex-direction:column;gap:var(--space-3);padding-left:var(--space-5);max-width:44ch}.guide code,.settings__hint code{font-family:var(--font-mono);font-size:.9em;overflow-wrap:anywhere}.chat__log{display:flex;flex-direction:column;gap:var(--space-4);margin-top:var(--space-5)}.chat__offline{margin-top:var(--space-4);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);font-size:var(--text-sm);max-width:44ch}.chat__offline a{color:var(--green);font-weight:600}.chat__me{align-self:flex-end;max-width:85%;margin:0;padding:var(--space-3) var(--space-4);border-radius:var(--radius-lg) var(--radius-lg) var(--space-1) var(--radius-lg);background:var(--surface);overflow-wrap:anywhere;white-space:pre-wrap}.chat__bot{align-self:flex-start;max-width:100%}.chat__bot--web{width:100%;padding:var(--space-4);border:1px solid var(--line);border-radius:var(--radius-lg)}.chat__text{margin:0;max-width:62ch;overflow-wrap:anywhere;white-space:pre-wrap;text-wrap:pretty}.chat__label{margin:0 0 var(--space-2);font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.chat__sources{display:flex;flex-direction:column;gap:var(--space-1);margin:var(--space-3) 0 0;padding:0;list-style:none;font-size:var(--text-sm)}.chat__sources li{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--space-3);min-height:var(--touch);align-content:center;border-top:1px solid var(--line);overflow-wrap:anywhere}.chat__sources a{color:var(--green);font-weight:600}.chat__host{min-width:0;font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.chat__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-3);margin-top:var(--space-3)}.chat__open{display:inline-flex;align-items:center;min-height:var(--touch);color:var(--green);font-weight:600}.chat__error{align-self:flex-start;margin:0;color:var(--danger);font-weight:500}.chat__me.is-new,.chat__bot.is-new,.chat__error.is-new{animation:msg-in var(--dur) var(--ease-out) backwards}@keyframes msg-in{0%{opacity:0;transform:translateY(6px)}}@media(prefers-reduced-motion:reduce){.chat__me.is-new,.chat__bot.is-new,.chat__error.is-new{animation:none}}.typing{display:inline-flex;gap:5px;padding:var(--space-3) 0}.typing span{width:7px;height:7px;border-radius:50%;background:var(--green);opacity:.25;animation:typing-dot 1s var(--ease-out) infinite}.typing span:nth-child(2){animation-delay:.15s}.typing span:nth-child(3){animation-delay:.3s}@keyframes typing-dot{50%{opacity:1}}@media(prefers-reduced-motion:reduce){.typing span{animation:none;opacity:.6}}.chat__tools{display:flex;align-items:center;margin-right:calc(-1 * var(--space-3))}.chat__tool{display:inline-grid;place-items:center;width:var(--touch);height:var(--touch);border:0;border-radius:var(--radius-md);background:transparent;color:var(--ink);cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.chat__tool:hover:not(:disabled){background:var(--surface)}}.chat__tool:active:not(:disabled){transform:scale(var(--press-scale))}.chat__tool:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}.chat__title{margin:var(--space-1) 0 0;color:var(--muted);font-size:var(--text-sm);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatmenu{display:flex;flex-direction:column;gap:var(--space-4);padding-top:var(--space-2)}.chatmenu .quiet,.chatmenu .inline-error{margin:0}.chatmenu__heading{margin:0 0 var(--space-1);font-family:var(--font-mono);font-size:var(--text-xs);font-weight:500;letter-spacing:var(--tracking-mono);text-transform:uppercase;color:var(--muted)}.chatmenu__list{margin:0;padding:0;list-style:none}.chatmenu__item{border-top:1px solid var(--line)}.chatmenu__line{display:flex;align-items:center}.chatmenu__open{flex:1;min-width:0;min-height:var(--touch);padding:0 var(--space-1);border:0;border-radius:var(--radius-md);background:transparent;color:var(--ink);font:inherit;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out)}.chatmenu__open[aria-current=true]{color:var(--green);font-weight:600}.chatmenu__more{display:inline-grid;place-items:center;flex:none;width:var(--touch);height:var(--touch);border:0;border-radius:var(--radius-md);background:transparent;color:var(--muted);cursor:pointer;touch-action:manipulation;transition:background-color var(--dur-fast) var(--ease-out),color var(--dur-fast) var(--ease-out)}.chatmenu__more[aria-expanded=true]{background:var(--surface);color:var(--ink)}@media(hover:hover)and (pointer:fine){.chatmenu__open:hover:not(:disabled),.chatmenu__more:hover:not(:disabled){background:var(--surface)}}.chatmenu__open:active:not(:disabled),.chatmenu__more:active:not(:disabled){background:var(--surface-strong)}.chatmenu__open:disabled,.chatmenu__more:disabled{color:var(--muted);opacity:.6;cursor:not-allowed}.chatmenu__panel{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-2);padding:0 var(--space-1) var(--space-3);animation:chatmenu-in var(--dur-fast) var(--ease-out) backwards}.chatmenu__panel--confirm{flex-direction:column;align-items:stretch;gap:var(--space-3)}.chatmenu__ask{margin:0;font-size:var(--text-sm);text-wrap:pretty}.chatmenu__buttons{display:flex;gap:var(--space-2)}.chatmenu__edit{display:flex;align-items:center;gap:var(--space-2);padding:var(--space-1) 0;animation:chatmenu-in var(--dur-fast) var(--ease-out) backwards}.chatmenu__input{flex:1;min-width:0;min-height:var(--touch);padding:0 var(--space-3);border:0;border-radius:var(--radius-md);background:var(--surface);color:var(--ink);font:inherit}.chatmenu__input:focus-visible{outline:2px solid var(--focus);outline-offset:1px}.chatmenu__item .inline-error{padding:0 var(--space-1) var(--space-3)}@keyframes chatmenu-in{0%{opacity:0;transform:translateY(-4px)}}@media(prefers-reduced-motion:reduce){.chatmenu__panel,.chatmenu__edit{animation:none}}.auth__brand{padding-top:var(--space-4)}.auth__wordmark{font-family:var(--font-display);font-weight:800;font-size:var(--text-display);letter-spacing:var(--tracking-display);line-height:1}.auth__wordmark span{color:var(--green)}.auth__meta{display:flex;align-items:center;gap:var(--space-2);margin-top:var(--space-2);font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);text-transform:uppercase;color:var(--muted)}.auth__dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--green)}.auth__dot--lime{background:var(--lime);box-shadow:inset 0 0 0 1px var(--lime-edge)}.auth__body{margin-top:var(--space-12)}.auth__title{font-size:var(--text-2xl);font-weight:600}.auth__lead{margin-top:var(--space-2);color:var(--muted);max-width:36ch}.auth__notice{display:flex;align-items:baseline;gap:var(--space-3);margin-top:var(--space-6);padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--ink);color:var(--on-dark);font-size:var(--text-sm)}.auth__notice .auth__dot{transform:translateY(-1px)}.auth__form{display:flex;flex-direction:column;gap:var(--space-5);margin-top:var(--space-8)}.auth__error-slot:empty{display:none}.auth__error{padding:var(--space-3) var(--space-4);border-radius:var(--radius-md);background:var(--surface);color:var(--danger);font-size:var(--text-sm);font-weight:500}.auth__footer{margin-top:auto;padding-top:var(--space-10);font-size:var(--text-sm);color:var(--muted)}@media(min-height:700px)and (min-width:600px){.auth__footer{margin-top:var(--space-10);padding-top:0}}.auth__discard{display:flex;flex-direction:column;gap:var(--space-3);margin-top:var(--space-4)}.atts{margin-top:var(--space-8)}.atts__list{display:flex;flex-direction:column;gap:var(--space-2);margin:0;padding:0;list-style:none}.att__btn{display:flex;align-items:center;gap:var(--space-3);width:100%;min-height:64px;padding:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);background:transparent;text-align:left;cursor:pointer;transition:background-color var(--dur-fast) var(--ease-out),transform var(--dur-fast) var(--ease-out)}@media(hover:hover)and (pointer:fine){.att__btn:hover:not(:disabled){background:var(--surface)}}.att__btn:active:not(:disabled){transform:scale(.99)}.att__btn:disabled{cursor:default}.att__preview{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:var(--radius-sm);background:var(--surface);overflow:hidden}.att__img{width:100%;height:100%;object-fit:cover}.att__kind{font-family:var(--font-mono);font-size:.625rem;font-weight:500;letter-spacing:var(--tracking-mono);color:var(--green)}.att__text{display:flex;flex-direction:column;min-width:0}.att__name{font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.att__meta,.att__missing{font-family:var(--font-mono);font-size:var(--text-xs);letter-spacing:var(--tracking-mono);color:var(--muted)}.att__full{display:block;width:100%;max-height:75dvh;object-fit:contain;border-radius:var(--radius-md);background:var(--surface)}.lock{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-4);padding:var(--space-6);background:var(--bg);color:var(--ink);text-align:center}.lock__wordmark{font-family:var(--font-display);font-weight:800;font-size:var(--text-display);letter-spacing:var(--tracking-display);line-height:1}.lock__wordmark span{color:var(--green)}.lock__text{color:var(--muted);margin-bottom:var(--space-2)}.lock__error{font-size:var(--text-sm);color:var(--danger)}.lock__escape{margin-top:var(--space-6)}@font-face{font-family:Bricolage Grotesque;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/bricolage-grotesque-latin-600-normal-nxTgbNFE.woff2) format("woff2"),url(/assets/bricolage-grotesque-latin-600-normal-Bw0J83-2.woff) format("woff")}@font-face{font-family:Bricolage Grotesque;font-style:normal;font-display:swap;font-weight:800;src:url(/assets/bricolage-grotesque-latin-800-normal-J50vIsBe.woff2) format("woff2"),url(/assets/bricolage-grotesque-latin-800-normal-Br4b-5gk.woff) format("woff")}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/schibsted-grotesk-latin-400-normal-DPhJBilQ.woff2) format("woff2"),url(/assets/schibsted-grotesk-latin-400-normal-BkiRe4WW.woff) format("woff")}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/schibsted-grotesk-latin-500-normal-rf9C4Thp.woff2) format("woff2"),url(/assets/schibsted-grotesk-latin-500-normal-Ba39e-CX.woff) format("woff")}@font-face{font-family:Schibsted Grotesk;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/schibsted-grotesk-latin-600-normal-Czv9Obfv.woff2) format("woff2"),url(/assets/schibsted-grotesk-latin-600-normal-BieE9YjJ.woff) format("woff")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2) format("woff2"),url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff) format("woff")}@font-face{font-family:IBM Plex Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2) format("woff2"),url(/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff) format("woff")}:root{--bg: #fafaf7;--ink: #0e1a14;--green: #0f4d36;--lime: #d7ff3a;--line: #e3e6df;--muted: #56625b;--surface: #eceee8;--surface-strong: #e3e6df;--on-dark: #f1f5ee;--on-dark-muted: #b9c4bc;--green-hover: #0b3d2a;--green-active: #082e20;--danger: #a4271c;--lime-hover: #cbf21f;--lime-edge: #b8d82a;--focus: var(--green);--bg-clear: rgb(250 250 247 / 0);--on-dark-wash: rgb(241 245 238 / .1);--shadow-float: 0 6px 24px rgb(14 26 20 / .18);--font-display: "Bricolage Grotesque", "Schibsted Grotesk", system-ui, sans-serif;--font-body: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;--text-xs: .75rem;--text-sm: .875rem;--text-base: 1rem;--text-lg: 1.125rem;--text-xl: 1.375rem;--text-2xl: 1.75rem;--text-display: 2.75rem;--leading-tight: 1.1;--leading-body: 1.5;--tracking-display: -.04em;--tracking-mono: .04em;--space-1: .25rem;--space-2: .5rem;--space-3: .75rem;--space-4: 1rem;--space-5: 1.25rem;--space-6: 1.5rem;--space-8: 2rem;--space-10: 2.5rem;--space-12: 3rem;--gutter: 1.25rem;--radius-sm: 6px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 24px;--touch: 44px;--control-h: 48px;--touch-compact: 36px;--content-max: 30rem;--ease-out: cubic-bezier(.22, 1, .36, 1);--ease-drawer: cubic-bezier(.32, .72, 0, 1);--dur-fast: .15s;--dur: .22s;--dur-route: .18s;--dur-sheet: .28s;--dur-exit: .2s;--press-scale: .97;--z-sticky: 10;--z-overlay: 20;--z-toast: 30;color-scheme:light}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:var(--text-base);line-height:var(--leading-body);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}h1,h2,h3{font-family:var(--font-display);line-height:var(--leading-tight);letter-spacing:-.02em;text-wrap:balance;margin:0}p{margin:0;text-wrap:pretty}button,input,textarea,select{font:inherit;color:inherit}a{color:var(--green);text-underline-offset:.2em}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}::selection{background:var(--lime);color:var(--ink)}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.route{animation:route-in var(--dur-route) var(--ease-out) backwards}.route--still{animation:none}@keyframes route-in{0%{opacity:0;transform:translateY(6px)}}@media(prefers-reduced-motion:reduce){.route{animation:none}*,*:before,*:after{animation-duration:1ms!important;transition-duration:1ms!important}}
