:root{--canvas:#f5f2e9;--surface:#fffdf8;--surface-soft:#eeeadf;--ink:#17231f;--muted:#65716d;--line:#dcd7ca;--green:#175b50;--green-dark:#0e443b;--green-soft:#e5f0ec;--orange:#d9823f;--today:#b94134;--today-soft:#fcebe7;--week:#315e8b;--week-soft:#e9f1f8;--later:#8a681d;--later-soft:#f7efd8;--someday:#695181;--someday-soft:#f0eaf5;--danger:#9f2f2f;--shadow:0 12px 34px #24322c14;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html{background:var(--canvas);scroll-behavior:smooth}body{background:radial-gradient(circle at 85% -20%, #d9823f21, transparent 35rem), var(--canvas);color:var(--ink);min-height:100vh;margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:16px;line-height:1.5}button,input,select{font:inherit}button,select{cursor:pointer}button:disabled,select:disabled{cursor:not-allowed;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #d9823f}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.025em;line-height:1.16}h1{margin-bottom:0;font-size:clamp(2rem,4vw,3.25rem)}h2{font-size:1.35rem}a{color:var(--green-dark)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--ink);color:#fff;border-radius:.6rem;padding:.75rem 1rem;position:fixed;top:-5rem;left:1rem}.skip-link:focus{top:1rem}.app-shell{min-height:100vh}.topbar{z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf8e6;border-bottom:1px solid #dcd7cad9;justify-content:space-between;align-items:center;height:76px;padding:0 2rem;display:flex;position:sticky;top:0}.brand{color:var(--ink);text-align:left;background:0 0;border:0;border-radius:.75rem;align-items:center;gap:.8rem;padding:.35rem;display:flex}.brand-mark{color:#fffdf8;background:var(--green);border-radius:13px;place-items:center;width:42px;height:42px;font-size:1.4rem;font-weight:800;display:grid;box-shadow:inset 0 -3px #00000021}.brand strong,.brand small{display:block}.brand strong{font-size:1.03rem}.brand small{color:var(--muted);margin-top:.05rem;font-size:.75rem}.top-actions{align-items:center;gap:.65rem;display:flex}.undo-button,.quiet-button,.primary-button,.edit-button{border-radius:.7rem;min-height:42px;padding:.58rem .95rem;font-weight:700}.undo-button,.quiet-button,.edit-button{border:1px solid var(--line);color:var(--ink);background:var(--surface)}.undo-button:hover:not(:disabled),.quiet-button:hover:not(:disabled),.edit-button:hover:not(:disabled){border-color:var(--green);background:var(--green-soft)}.primary-button{border:1px solid var(--green);color:#fff;background:var(--green);box-shadow:0 4px 12px #175b502e}.primary-button:hover:not(:disabled){background:var(--green-dark)}.workspace{grid-template-columns:230px minmax(0,880px);gap:clamp(1.5rem,4vw,4rem);max-width:1240px;margin:0 auto;padding:2rem;display:grid}.sidebar{flex-direction:column;justify-content:space-between;align-self:start;height:calc(100vh - 140px);display:flex;position:sticky;top:108px}.sidebar nav{gap:.3rem;display:grid}.nav-item{width:100%;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:.8rem;justify-content:space-between;align-items:center;min-height:48px;padding:.65rem .8rem;font-weight:700;display:flex}.nav-item:hover{color:var(--ink);background:#fffdf8b3}.nav-item.active{background:var(--green);color:#fff}.count-badge{background:var(--surface);min-width:28px;height:24px;color:var(--green-dark);border-radius:999px;place-items:center;padding:0 .4rem;font-size:.76rem;display:grid}.safety-note{border-top:1px solid var(--line);color:var(--muted);gap:.65rem;padding:1rem .5rem 0;font-size:.78rem;display:flex}.safety-note span{color:var(--green);font-size:1.1rem}.safety-note p{margin:0}.safety-note strong{color:var(--ink);display:block}.main-content{min-width:0;padding-bottom:5rem}.capture-bar{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:1rem;gap:.5rem;margin-bottom:1rem;padding:.45rem;display:flex;position:relative}.capture-bar:focus-within{border-color:var(--green);box-shadow:0 0 0 4px #175b501a}.capture-bar input{min-width:0;min-height:46px;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0 .75rem}.capture-bar input::placeholder{color:#89918e}.capture-bar button{background:var(--green);color:#fff;border:0;border-radius:.7rem;min-width:72px;font-weight:800}.announcer{min-height:0}.alert{border:1px solid;border-radius:.8rem;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.7rem .9rem;font-size:.9rem;display:flex}.alert button{color:inherit;background:0 0;border:0;text-decoration:underline}.success-alert{background:var(--green-soft);color:var(--green-dark);border-color:#aed0c5}.error-alert{color:var(--danger);background:#fbeaea;border-color:#e7b4b4}.view-section{animation:.18s ease-out appear}@keyframes appear{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}.view-heading{justify-content:space-between;align-items:flex-end;gap:1.5rem;padding:1.8rem 0 1.4rem;display:flex}.eyebrow{color:var(--green);letter-spacing:.12em;text-transform:uppercase;margin-bottom:.35rem;font-size:.73rem;font-weight:900}.heading-stat{text-align:right}.heading-stat strong{font-size:1.7rem;line-height:1;display:block}.heading-stat span{color:var(--muted);font-size:.78rem}.empty-state{text-align:center;color:var(--muted);background:#fffdf8bd;border:1px dashed #c9c4b8;border-radius:1.2rem;padding:3rem 1.5rem}.empty-state h2{color:var(--ink);margin-bottom:.5rem}.empty-state p{max-width:33rem;margin:0 auto 1.3rem}.empty-icon{color:#a4aaa6;margin-bottom:.9rem;font-size:3rem;line-height:1;display:block}.focus-empty{padding:3.6rem 1.5rem}.quiet-empty{color:var(--muted);padding:1rem 0}.section-divider{align-items:center;gap:.7rem;margin:2.2rem 0 .9rem;display:flex}.section-divider h2{margin:0;font-size:1.12rem}.section-divider span{background:var(--surface-soft);color:var(--muted);border-radius:999px;padding:.15rem .55rem;font-size:.75rem;font-weight:800}.task-stack{gap:.65rem;display:grid}.task-card{background:var(--surface);border:1px solid var(--line);border-radius:1rem;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:.85rem;padding:1rem;display:grid;position:relative;box-shadow:0 3px 10px #24322c09}.task-card:hover{border-color:#c7c0b1}.task-card.compact{padding:.8rem 1rem}.task-card.completed{background:#f1efe8}.task-card.completed h3{color:var(--muted);text-decoration:line-through}.complete-button{color:#fff;background:0 0;border:2px solid #a9b1ad;border-radius:50%;place-items:center;width:29px;height:29px;margin-top:.05rem;font-weight:900;line-height:1;display:grid}.complete-button:hover:not(:disabled){border-color:var(--green);background:var(--green-soft)}.completed .complete-button{border-color:var(--green);background:var(--green)}.task-body{min-width:0}.task-title-row{flex-wrap:wrap;align-items:flex-start;gap:.6rem;display:flex}.task-title-row h3{overflow-wrap:anywhere;flex:16rem;margin:.15rem 0 0;font-size:1.02rem}.priority-tag{white-space:nowrap;border-radius:999px;flex:none;padding:.23rem .55rem;font-size:.67rem;font-weight:900}.priority-today{color:var(--today);background:var(--today-soft)}.priority-week{color:var(--week);background:var(--week-soft)}.priority-later{color:var(--later);background:var(--later-soft)}.priority-someday{color:var(--someday);background:var(--someday-soft)}.priority-none{color:#56615d;background:#e8eae7}.task-meta{color:var(--muted);flex-wrap:wrap;gap:.35rem .8rem;margin-top:.45rem;font-size:.72rem;display:flex}.task-meta span:not(:last-child):after{content:"·";color:#aaa;margin-left:.8rem}.task-flags{flex-wrap:wrap;gap:.35rem;margin-top:.55rem;display:flex}.task-flags span{color:#715516;background:#fff8e8;border:1px solid #e3c78e;border-radius:.35rem;padding:.15rem .38rem;font-size:.65rem;font-weight:800}.card-actions{align-items:center;gap:.4rem;display:flex}.card-actions select{border:1px solid var(--line);max-width:120px;min-height:36px;color:var(--ink);background:var(--surface);border-radius:.55rem;padding:.25rem .4rem;font-size:.76rem}.edit-button{min-height:36px;padding:.3rem .55rem;font-size:.75rem}.private-inline{color:var(--green);text-align:left;background:0 0;border:0;padding:.1rem 0;font-weight:800}.context-panel{border:1px solid #d9cfb6;border-left:4px solid var(--orange);background:#fbf7ed;border-radius:.85rem;align-self:start;min-width:0;padding:.9rem}.context-panel-heading{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.context-panel-heading span{color:#80622b;letter-spacing:.08em;text-transform:uppercase;font-size:.62rem;font-weight:900;display:block}.context-panel-heading h3{margin:.15rem 0 0;font-size:.95rem}.context-panel-heading>strong{color:#695630;text-transform:uppercase;background:#eee6d2;border-radius:999px;flex:none;padding:.2rem .45rem;font-size:.58rem}.context-lines{gap:.3rem;margin:.75rem 0 0;padding:0;list-style:none;display:grid}.context-line{color:#5c5a51;grid-template-columns:2.2rem minmax(0,1fr);align-items:start;gap:.5rem;font-size:.74rem;line-height:1.42;display:grid}.context-line>span:last-child{white-space:pre-wrap;overflow-wrap:anywhere}.context-line-number{color:#938a76;text-align:right;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.66rem;line-height:1.55}.context-line-current{color:var(--ink);background:#fffdf8;border:1px solid #e0c789;border-radius:.55rem;padding:.45rem .5rem .45rem 0;font-weight:750}.context-line-current .context-line-number{color:#8a5b16;font-weight:900}.context-line-private{color:var(--muted);font-style:italic}.context-note{color:var(--muted);margin:.7rem 0 0;font-size:.63rem;line-height:1.4}.task-context{grid-column:2/-1;padding:.75rem .8rem}.task-editor{border-top:1px solid var(--line);grid-column:2/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin-top:.2rem;padding-top:1rem;display:grid}.task-editor label{gap:.25rem;display:grid}.task-editor label span{color:var(--muted);font-size:.72rem;font-weight:800}.task-editor input,.search-box input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);background:#fff;border-radius:.6rem;padding:.55rem .7rem}.wide-field{grid-column:1/-1}.editor-note{color:var(--muted);font-size:.72rem}.editor-note pre,.original-details pre{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);background:#f2f0e9;border-radius:.55rem;padding:.7rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.editor-actions{justify-content:flex-end;gap:.6rem;display:flex}.triage-heading{padding-bottom:.65rem}.remaining-pill{color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:999px;padding:.45rem .75rem;font-size:.78rem}.remaining-pill strong{color:var(--ink)}.triage-reassurance{color:var(--muted);margin-bottom:1.3rem}.triage-card{background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:1.4rem;padding:clamp(1.2rem,4vw,2.2rem)}.triage-content-grid.has-context{grid-template-columns:minmax(0,1.35fr) minmax(16rem,.8fr);align-items:start;gap:clamp(1rem,3vw,1.7rem);display:grid}.triage-task-main{min-width:0}.task-provenance{color:var(--muted);flex-wrap:wrap;justify-content:space-between;gap:.6rem;font-size:.72rem;font-weight:700;display:flex}.triage-task-main>h2{overflow-wrap:anywhere;margin:1.15rem 0 .7rem;font-size:clamp(1.45rem,4vw,2.25rem)}.date-note{border-left:3px solid var(--orange);background:#fff8ed;margin:1rem 0 0;padding:.5rem .75rem;font-size:.85rem}.date-note span{color:var(--muted)}.original-details{color:var(--muted);margin-top:.9rem;font-size:.8rem}.original-details summary{cursor:pointer;width:fit-content;font-weight:700}.priority-grid{grid-template-columns:repeat(4,1fr);gap:.6rem;margin-top:2rem;display:grid}.priority-choice{border:2px solid #0000;border-radius:.85rem;justify-content:space-between;align-items:center;gap:.5rem;min-height:68px;padding:.65rem .75rem;font-weight:900;display:flex}.priority-choice.priority-today{border-color:#efbcb5}.priority-choice.priority-week{border-color:#b8cee2}.priority-choice.priority-later{border-color:#e4d19e}.priority-choice.priority-someday{border-color:#d2c0de}.priority-choice:hover:not(:disabled){filter:saturate(1.1);transform:translateY(-2px)}kbd{opacity:.72;border:1px solid;border-radius:.35rem;padding:.05rem .35rem;font-family:inherit;font-size:.68rem}.reference-choice{width:100%;min-height:46px;color:var(--muted);background:0 0;border:1px dashed #bcb6a9;border-radius:.75rem;margin-top:.7rem;font-weight:700}.reference-choice kbd{margin-left:.4rem}.keyboard-hint{color:var(--muted);text-align:center;margin-top:.8rem;font-size:.73rem}.private-cover{text-align:center;color:var(--muted);padding:2.5rem 1rem 1.3rem}.private-cover>span{color:var(--green);font-size:2.5rem}.private-cover h2{color:var(--ink);margin:.5rem 0}.triage-complete{text-align:center;padding:5rem 1rem}.triage-complete>p:not(.eyebrow){color:var(--muted)}.completion-ring{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:84px;height:84px;margin:0 auto 1.4rem;font-size:2.4rem;display:grid;box-shadow:0 10px 30px #175b5038}.list-tools{grid-template-columns:minmax(220px,1fr) auto;align-items:center;gap:.8rem;margin-bottom:1.3rem;display:grid}.search-box{display:block}.filter-tabs{background:var(--surface-soft);border-radius:.7rem;flex-wrap:wrap;gap:.3rem;padding:.25rem;display:flex}.filter-tabs button{color:var(--muted);background:0 0;border:0;border-radius:.5rem;min-height:34px;padding:.3rem .65rem;font-size:.75rem;font-weight:800}.filter-tabs button.active{background:var(--surface);color:var(--ink);box-shadow:0 2px 5px #0000000f}.group-label{padding:1.4rem 0 .45rem}.group-label h2{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.78rem}.load-more{border:1px solid var(--line);background:var(--surface);width:100%;min-height:48px;color:var(--green);border-radius:.8rem;margin-top:.7rem;font-weight:800}.safety-grid{grid-template-columns:repeat(3,1fr);gap:.7rem;display:grid}.safety-grid>div{background:var(--surface);border:1px solid var(--line);border-radius:1rem;padding:1.2rem}.safety-grid strong{font-size:1.8rem;display:block}.safety-grid span{color:var(--muted);font-size:.76rem}.backup-actions{flex-wrap:wrap;align-items:flex-start;gap:.7rem;margin:1rem 0 2.3rem;display:flex}.export-menu{position:relative}.export-menu summary{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:.7rem;min-height:42px;padding:.58rem .95rem;font-weight:700;list-style:none}.export-menu[open]{background:var(--surface);border:1px solid var(--line);min-width:230px;box-shadow:var(--shadow);border-radius:.8rem;gap:.35rem;padding:.45rem;display:grid}.export-menu[open] summary{border:0;min-height:auto;padding:.3rem .5rem}.export-menu a{border-radius:.5rem;padding:.55rem;font-size:.8rem;font-weight:700;text-decoration:none}.export-menu a:hover{background:var(--green-soft)}.history-list>h2{margin-bottom:.8rem;font-size:1rem}.history-row{border-bottom:1px solid var(--line);grid-template-columns:12px minmax(0,1fr) auto auto;align-items:center;gap:.75rem;padding:.8rem 0;display:grid;position:relative}.history-dot{background:var(--green);border-radius:50%;width:8px;height:8px}.history-row strong{font-size:.84rem}.history-row p{color:var(--muted);overflow-wrap:anywhere;margin:.12rem 0 0;font-size:.76rem}.history-row time{color:var(--muted);white-space:nowrap;font-size:.72rem}.undone-tag{background:var(--surface-soft);color:var(--muted);border-radius:999px;padding:.2rem .4rem;font-size:.64rem;font-weight:800}.vault-banner{background:var(--green-soft);border:1px solid #b7d3ca;border-radius:1rem;align-items:flex-start;gap:.9rem;margin-bottom:1rem;padding:1rem;display:flex}.vault-banner span{color:var(--green);font-size:1.35rem}.vault-banner p{color:#365c53;margin:0;font-size:.85rem}.vault-banner strong{color:var(--green-dark)}.source-list{gap:.8rem;display:grid}.source-card{background:var(--surface);border:1px solid var(--line);border-radius:1rem;padding:1.1rem}.source-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.source-heading h2{margin-bottom:.25rem;font-size:1rem}.source-heading p{color:var(--muted);margin:0;font-size:.75rem}.source-heading>span{color:var(--green);background:var(--green-soft);border-radius:999px;padding:.2rem .5rem;font-size:.65rem;font-weight:900}.source-card dl{gap:.5rem;margin:1rem 0;display:grid}.source-card dl>div{grid-template-columns:120px minmax(0,1fr);gap:.8rem;display:grid}.source-card dt{color:var(--muted);font-size:.7rem;font-weight:800}.source-card dd{overflow-wrap:anywhere;margin:0;font-size:.72rem}.source-card code{font-size:.65rem}.source-raw{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:#f2f0e9;border-radius:.7rem;max-height:430px;padding:1rem;font-size:.7rem;line-height:1.55;overflow:auto}.loading-shell{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:2rem;display:grid}.loading-shell p{color:var(--muted)}.loading-mark{background:var(--green);color:#fff;border-radius:20px;place-items:center;width:64px;height:64px;margin-bottom:1rem;font-size:1.8rem;font-weight:900;animation:1.2s ease-in-out infinite alternate breathe;display:grid}.error-mark{background:var(--danger);animation:none}.access-shell{place-items:center;min-height:100vh;padding:1.25rem;display:grid}.access-card{border:1px solid var(--line);background:var(--surface);width:min(100%,34rem);box-shadow:var(--shadow);text-align:center;border-radius:1.4rem;padding:clamp(1.5rem,6vw,3rem)}.access-card h1{margin-bottom:.8rem}.access-card>p:not(.eyebrow){color:var(--muted);max-width:28rem;margin:0 auto 1.35rem}.access-mark{background:var(--green);color:#fff;border-radius:18px;place-items:center;width:58px;height:58px;margin:0 auto 1.1rem;font-size:1.6rem;font-weight:900;display:grid}.access-mark-muted{background:var(--surface-soft);color:var(--green)}.access-button{justify-content:center;align-items:center;text-decoration:none;display:inline-flex}@keyframes breathe{to{opacity:.8;transform:scale(1.06)}}.mobile-nav{display:none}@media (width<=860px){.topbar{height:68px;padding:0 1rem}.brand small{display:none}.workspace{padding:1.2rem 1rem 6.5rem;display:block}.sidebar{display:none}.main-content{padding-bottom:0}.mobile-nav{z-index:40;min-height:68px;padding:.35rem max(.35rem, env(safe-area-inset-right)) calc(.35rem + env(safe-area-inset-bottom)) max(.35rem, env(safe-area-inset-left));border-top:1px solid var(--line);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffdf8f5;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.mobile-nav button{color:var(--muted);background:0 0;border:0;border-radius:.5rem;min-width:0;font-size:.66rem;font-weight:800;position:relative}.mobile-nav button.active{color:var(--green);background:var(--green-soft)}.mobile-nav b{background:var(--today);color:#fff;border-radius:999px;min-width:18px;padding:.08rem .25rem;font-size:.57rem;position:absolute;top:1px;right:9%}.triage-content-grid.has-context{grid-template-columns:1fr}.priority-grid{grid-template-columns:repeat(2,1fr)}.list-tools{grid-template-columns:1fr}}@media (width<=580px){body{font-size:15px}.top-actions .quiet-button{display:none}.undo-button{min-height:38px;padding:.45rem .65rem;font-size:.78rem}.brand{gap:.55rem}.brand-mark{border-radius:11px;width:38px;height:38px}.brand strong{font-size:.9rem}.workspace{padding-top:.8rem}.capture-bar{z-index:20;position:sticky;top:76px}.view-heading{padding-top:1.25rem}.heading-stat{display:none}.task-card{grid-template-columns:30px minmax(0,1fr);padding:.85rem}.card-actions{grid-column:2;justify-content:flex-start}.task-context{grid-column:1/-1}.task-title-row{display:block}.priority-tag{margin-top:.45rem;display:inline-block}.task-meta span:after{display:none}.task-editor{grid-column:1/-1;grid-template-columns:1fr}.task-editor>*{grid-column:1}.triage-card{border-radius:1rem}.priority-choice{min-height:58px}.safety-grid{grid-template-columns:1fr}.history-row{grid-template-columns:10px minmax(0,1fr)}.history-row time,.undone-tag{grid-column:2}.source-card dl>div{grid-template-columns:1fr;gap:.1rem}.source-heading{display:block}.source-heading>span{margin-top:.7rem;display:inline-block}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}@media print{.topbar,.sidebar,.mobile-nav,.capture-bar,.top-actions,.card-actions,.complete-button{display:none!important}body{background:#fff}.workspace{max-width:none;padding:0;display:block}.task-card{break-inside:avoid;box-shadow:none}}
