:root{--canvas:#f5f2ea;--sidebar:#eae4d8;--sidebar-hi:#ffffffc7;--surface:#fff;--surface-2:#fbf8f2;--surface-3:#f2eee4;--border:#e3ded1;--border-2:#d2cbb9;--ink:#181c19;--ink-2:#4a544c;--ink-3:#5a635a;--ink-4:#687068;--primary:#2c5346;--primary-solid:#2a5143;--primary-solid-2:#224336;--primary-soft:#e6ece7;--on-primary:#fff;--accent:#9c7328;--accent-ink:#7e5a15;--accent-soft:#f4ead6;--ok:#2f7050;--ok-soft:#e8f3ed;--warn:#a8791f;--warn-soft:#f8f0db;--danger:#b04a3c;--danger-soft:#faecea;--ring:#2c534629;--select:#2c534621;--serif:"Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;--sans:-apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;--mono:"SF Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--r:14px;--sh-1:0 1px 2px #1c211d0d;--sh-2:0 1px 2px #1c211d0a, 0 4px 10px -6px #1c211d1a, 0 18px 34px -26px #1c211d52;--sh-3:0 2px 5px #1c211d0f, 0 10px 22px -12px #1c211d24, 0 26px 48px -28px #1c211d57;--sh-pop:0 8px 20px -8px #141a1629, 0 32px 60px -28px #141a1657;--sh-card:0 1px 1.5px #1c211d09}[data-theme=dark]{--canvas:#171512;--sidebar:#100f0d;--sidebar-hi:#ffffff0d;--surface:#1e1c18;--surface-2:#242119;--surface-3:#2a2620;--border:#2e2a23;--border-2:#3d3830;--ink:#ede8df;--ink-2:#b8b1a6;--ink-3:#9e968a;--ink-4:#908980;--primary:#7bc0a0;--primary-solid:#2f6b55;--primary-solid-2:#265845;--primary-soft:#1d2a24;--on-primary:#f3fbf7;--accent:#d9ae5f;--accent-ink:#e0b667;--accent-soft:#2a2315;--ok:#5fbc8d;--ok-soft:#172a20;--warn:#d3a85c;--warn-soft:#2a2314;--danger:#d9806f;--danger-soft:#2d1c19;--ring:#7bc0a033;--select:#7bc0a02e;--sh-1:0 1px 2px #0000004d;--sh-2:0 1px 2px #0000003d, 0 5px 14px -8px #00000080;--sh-3:0 2px 6px #0000004d, 0 12px 26px -14px #0000008c;--sh-pop:0 10px 24px -10px #0009, 0 36px 64px -30px #000000b3;--sh-card:0 1px 1.5px #00000047}.lb-base{font-family:var(--sans);color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;transition:background .25s,color .25s}:root{--bg:var(--canvas);--surface-muted:var(--surface-2);--text:var(--ink);--muted:var(--ink-3);--line:var(--border);--primary-strong:var(--primary);--ai:var(--ink-2);--ai-soft:var(--surface-3);--warning:var(--accent-ink);--warning-soft:var(--warn-soft);--success:var(--ok);--shadow:var(--sh-card);--radius-lg:var(--r);--radius-md:var(--r);--radius-sm:9px;--space-1:.5rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;font-family:var(--sans);font-synthesis:none;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{background:radial-gradient(circle at 10% 0%, var(--border), transparent 32rem), var(--bg);min-width:320px;min-height:100vh;margin:0;overflow-x:hidden}button,input,textarea,select{font:inherit}button,a,label[for]{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--ring);outline-offset:2px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.25}h1{letter-spacing:-.025em;margin-bottom:.6rem;font-size:clamp(1.8rem,4vw,2.55rem)}h2{margin-bottom:.55rem;font-size:clamp(1.22rem,3vw,1.55rem)}h3{margin-bottom:.4rem;font-size:1.04rem}.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}.muted{color:var(--muted)}.eyebrow{color:var(--primary);letter-spacing:.12em;text-transform:uppercase;margin-bottom:.4rem;font-size:.76rem;font-weight:750}.button{cursor:pointer;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:.45rem;min-height:44px;padding:.68rem 1rem;font-weight:700;line-height:1.2;text-decoration:none;transition:background .12s,border-color .12s,transform .12s;display:inline-flex}.button:disabled{cursor:not-allowed;opacity:.58}.button--primary{color:var(--on-primary);background:var(--primary)}.button--quiet{color:var(--text);border-color:var(--line);background:var(--surface)}.button--danger{color:var(--on-primary);background:var(--danger)}.button--danger-quiet{color:var(--danger);border-color:var(--border-2);background:var(--danger-soft)}.button--wide{width:100%}.button-row{flex-wrap:wrap;gap:.75rem;display:flex}.button-row--end{justify-content:flex-end}.text-button,.text-link{min-height:40px;color:var(--primary);cursor:pointer;text-underline-offset:.18em;background:0 0;border:0;padding:.35rem .15rem;font-weight:700;-webkit-text-decoration:underline #0000;text-decoration:underline #0000}.text-button:hover,.text-link:hover{text-decoration-color:currentColor}.text-button--danger{color:var(--danger)}.app-shell{isolation:isolate;min-height:100vh;position:relative}doubao-ai-csui,cici-ai-csui{visibility:hidden!important;pointer-events:none!important;display:none!important}[aria-label=flow-ai-assistant]{pointer-events:none!important}.side-nav{z-index:10;border-right:1px solid var(--line);background:var(--surface);isolation:isolate;pointer-events:auto;flex-direction:column;width:248px;padding:2rem 1.25rem;display:none;position:fixed;inset:0 auto 0 0}.side-nav>*{z-index:1;position:relative}.brand{align-items:center;gap:.8rem;display:flex}.brand__mark{width:42px;height:42px;color:var(--on-primary);background:var(--primary);border-radius:13px;flex:0 0 42px;place-items:center;font-family:Georgia,serif;font-size:1.45rem;font-weight:700;display:inline-grid}.brand div{gap:.12rem;display:grid}.brand strong{font-size:1.08rem}.brand span:last-child:not(.brand__mark){color:var(--muted);font-size:.76rem}.side-nav__links{pointer-events:auto;flex-direction:column;gap:1rem;width:100%;min-width:0;margin-top:2rem;display:flex}.side-nav__section,.side-nav__section-links{min-width:0;display:grid}.side-nav__section{gap:.35rem}.side-nav__section-links{gap:.25rem}.side-nav__section-label{color:var(--ink-3);letter-spacing:.1em;padding:0 .85rem;font-size:.68rem;font-weight:800}.nav-link{z-index:1;box-sizing:border-box;width:100%;min-width:0;min-height:46px;color:var(--muted);pointer-events:auto;border-radius:11px;flex:none;align-items:center;padding:.7rem .85rem;font-weight:680;text-decoration:none;display:flex;position:relative}.nav-link:hover,.nav-link--active{color:var(--primary-strong);background:var(--primary-soft)}.nav-hit-debug{z-index:30;border:1px solid var(--ink-3);max-width:min(54rem,100vw - 2rem);max-height:min(42rem,100vh - 2rem);color:var(--ink);background:var(--surface);box-shadow:var(--shadow);pointer-events:none;border-radius:8px;gap:.35rem;padding:.7rem;display:grid;position:fixed;bottom:1rem;right:1rem;overflow:auto}.nav-hit-debug pre{white-space:pre-wrap;margin:0;font:11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace}.account-block{border-top:1px solid var(--line);gap:.25rem;margin-top:auto;padding:1rem .7rem 0;display:grid}.account-block__name{text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.mobile-header{z-index:8;border-bottom:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);justify-content:space-between;align-items:center;min-height:64px;padding:.65rem 1rem;display:flex;position:sticky;top:0}.brand--compact .brand__mark{border-radius:11px;flex-basis:36px;width:36px;height:36px;font-size:1.2rem}.bottom-nav{z-index:12;padding:.35rem .35rem calc(.35rem + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface);box-shadow:0 -8px 22px var(--ring);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);grid-template-columns:repeat(7,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}.bottom-nav--eight{grid-template-columns:repeat(8,minmax(0,1fr))}.bottom-nav--nine{grid-template-columns:repeat(9,minmax(0,1fr))}.bottom-nav--nine .nav-link{font-size:.71rem}.bottom-nav--primary{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav .nav-link{text-align:center;justify-content:center;min-height:48px;padding:.5rem .15rem;font-size:.77rem}.nav-link--button{font:inherit;cursor:pointer;border:0}.mobile-more-layer{z-index:11;pointer-events:none;position:fixed;inset:0}.mobile-more-backdrop{background:var(--ring);cursor:default;pointer-events:auto;border:0;width:100%;position:absolute;inset:0}.mobile-more-menu{right:.75rem;bottom:calc(4.75rem + env(safe-area-inset-bottom));z-index:1;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 22px 60px var(--ring);pointer-events:auto;gap:.8rem;padding:1rem;display:grid;position:absolute;left:.75rem}.mobile-more-menu__heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.mobile-more-menu__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.4rem;display:grid}.mobile-more-menu__links .nav-link{background:var(--surface-muted);min-height:48px}.page-container{width:min(1180px,100%);min-height:calc(100vh - 64px);padding:1.1rem 1rem calc(6rem + env(safe-area-inset-bottom));margin:0 auto}.page-section,.detail-page{gap:1rem;display:grid}.page-heading{max-width:780px;padding:.4rem 0 .7rem}.page-heading p:last-child{margin-bottom:0}.section-heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.section-heading>:first-child{min-width:0}.section-heading h1,.section-heading h2,.section-heading p{margin-bottom:0}.section-heading h1,.section-heading h2{overflow-wrap:anywhere}.section-heading--compact{align-items:center}.panel,.capture-card,.original-panel,.ai-panel{border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);min-width:0;box-shadow:var(--shadow);padding:1.05rem}.panel--compact{justify-content:space-between;align-items:center;display:flex}.error-boundary{max-width:680px;margin:2rem auto}.error-boundary h1,.error-boundary p{margin-top:0}.home-layout,.home-workflow-column,.memory-entry{gap:var(--space-3);display:grid}.memory-entry{gap:.75rem}.memory-entry__heading{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.memory-entry__heading h2,.memory-entry__heading p{margin-bottom:0}.memory-entry__status{max-width:15rem;color:var(--muted);text-align:right;font-size:.76rem;line-height:1.45}.memory-entry__links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;display:grid}.memory-entry__links a{border:1px solid var(--surface-3);border-radius:var(--radius-md);min-width:0;min-height:74px;color:inherit;background:var(--surface);align-content:center;gap:.2rem;padding:.7rem .8rem;text-decoration:none;display:grid}.memory-entry__links a:hover{border-color:var(--border-2);background:var(--primary-soft)}.memory-entry__links span{color:var(--muted);font-size:.76rem;line-height:1.4}.record-list--home .record-card__link{padding:.55rem .75rem}.record-list--home .record-card h3{margin-bottom:.2rem}.record-list--home .record-card__preview{-webkit-line-clamp:1;margin-bottom:.25rem;line-height:1.45}.record-list--home .record-card__meta{font-size:.73rem}.brain-entry,.review-entry{justify-content:space-between;align-items:center;gap:1rem;display:flex}.home-review-links{gap:.35rem;margin-top:.55rem;display:grid}.home-review-links a{overflow-wrap:anywhere}.review-page,.review-detail{min-width:0}.review-overview,.review-generate,.review-schedule{gap:.75rem;display:grid}.review-overview h2,.review-overview p,.review-card h2,.review-card p{margin-bottom:0}.review-runtime-heading,.review-run-history__heading{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.review-runtime-details,.review-run-history,.review-run-technical{min-width:0}.review-runtime-details>summary,.review-run-history>summary,.review-run-technical>summary{cursor:pointer}.review-runtime-details__body,.review-run-technical__body{gap:.35rem;min-width:0;padding-top:.65rem;display:grid}.review-run-history__list{gap:.65rem;padding-top:.75rem;display:grid}.review-run-history__item{border:1px solid var(--line);background:var(--surface-muted);border-radius:12px;gap:.45rem;min-width:0;padding:.75rem;display:grid}.review-run-history__summary{color:var(--muted);margin:0}.review-run-technical code{overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%;display:block}.review-schedule,.review-card__meta{color:var(--muted);font-size:.82rem}.review-generate{align-items:end}.review-filter{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;display:grid}.review-filter__item,.review-revision-tab{border:1px solid var(--line);min-width:0;color:var(--text);background:var(--surface);cursor:pointer;border-radius:12px;padding:.72rem .8rem}.review-filter__item--active,.review-revision-tab--active{border-color:var(--ink-3);color:var(--primary-strong);background:var(--primary-soft)}.review-list,.review-sections,.review-item-list,.review-source-list,.review-revision-tabs{gap:.8rem;display:grid}.review-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-width:0;box-shadow:var(--shadow)}.review-card>a{color:inherit;gap:.72rem;padding:1rem;text-decoration:none;display:grid}.review-card>a:hover{background:var(--surface)}.review-card__topline,.review-source__heading{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.review-card__meta,.review-item__meta,.review-item__refs,.review-source__heading{flex-wrap:wrap;gap:.4rem .8rem;display:flex}.review-revision-tabs{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.review-revision-tab{text-align:left;gap:.25rem;display:grid}.review-revision-tab span{overflow-wrap:anywhere;color:var(--muted);font-size:.77rem}.review-section:first-child{border-top:5px solid var(--ai)}.review-item,.review-source{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:.55rem;min-width:0;padding:.85rem;display:grid}.review-item p,.review-source p{overflow-wrap:anywhere;white-space:pre-wrap;margin-bottom:0;line-height:1.7}.review-item__refs span{color:var(--primary-strong);font-size:.8rem;font-weight:750}.review-source--invalid{border-color:var(--border-2);background:var(--surface)}@media (width>=700px){.review-generate{grid-template-columns:minmax(240px,1fr) minmax(130px,.35fr) minmax(180px,.4fr) auto}.review-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.capture-card{border-color:var(--border-2);align-self:start}.capture-form,.form-stack{gap:.9rem;display:grid}.capture-form{margin-top:1rem}.field{min-width:0;color:var(--text);gap:.42rem;font-size:.9rem;font-weight:700;display:grid}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-width:0;color:var(--text);background:var(--surface);padding:.78rem .88rem;font-size:1rem;line-height:1.55}.field select{min-height:46px}.archive-page,.archive-detail{min-width:0}.archive-page__heading{align-items:center}.archive-search{align-items:end;gap:var(--space-2);padding:var(--space-3);grid-template-columns:minmax(0,1fr) auto;display:grid}.archive-search__field{min-width:0;color:var(--text);gap:.42rem;font-size:.9rem;font-weight:700;display:grid}.archive-search__field input{border:1px solid var(--line);border-radius:var(--radius-sm);width:100%;min-width:0;min-height:46px;color:var(--text);background:var(--surface);font:inherit;padding:.72rem .86rem;font-size:1rem}.archive-search__actions{gap:var(--space-1);display:flex}.archive-search__counts{color:var(--muted);grid-column:1/-1;margin:0;font-size:.86rem}.archive-run-panel{gap:var(--space-3);display:grid}.archive-run-panel--compact{padding-block:var(--space-2);box-shadow:none}.archive-run-panel h2,.archive-run-panel p{margin-bottom:0}.archive-run-current,.archive-run-current>div,.archive-run-history__item,.archive-run-history__list{gap:var(--space-1);display:grid}.archive-run-current>div{grid-template-columns:auto minmax(0,1fr);align-items:baseline}.archive-run-current>div .muted{grid-column:1/-1}.archive-run-current{grid-template-columns:minmax(0,1fr) auto;align-items:center}.archive-run-history,.archive-disclosure{min-width:0}.archive-run-history>summary,.archive-disclosure>summary{cursor:pointer;min-height:44px;color:var(--primary-strong);font-weight:750;line-height:44px}.archive-run-history__list,.archive-disclosure__body{padding-top:var(--space-2);border-top:1px solid var(--line)}.archive-run-history__item{padding:var(--space-2) 0;border-bottom:1px solid var(--line)}.archive-run-history__item:last-child{border-bottom:0}.archive-run-history__item>div{align-items:center;gap:var(--space-1);flex-wrap:wrap;display:flex}.archive-run-history__error{color:var(--muted);overflow-wrap:anywhere;margin:0;font-size:.82rem}.archive-run-history__error--current{color:var(--danger)}.archive-run-counts,.archive-entry-card__meta{color:var(--muted);flex-wrap:wrap;gap:.45rem 1rem;font-size:.82rem;display:flex}.archive-domain-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.archive-domain-select{gap:.4rem;font-weight:700;display:grid}.archive-domain-select select,.archive-sort select{border:1px solid var(--line);border-radius:var(--radius-sm);min-height:44px;color:var(--text);background:var(--surface);font:inherit;padding:.62rem .75rem}.archive-domain{border:1px solid var(--line);min-width:0;min-height:56px;color:var(--text);background:var(--surface);cursor:pointer;text-align:left;border-radius:12px;justify-content:space-between;align-items:center;gap:.5rem;padding:.7rem .8rem;display:flex}.archive-domain strong{overflow-wrap:anywhere}.archive-domain span{color:var(--muted)}.archive-domain--active{border-color:var(--ink-3);color:var(--primary-strong);background:var(--primary-soft)}.archive-entry-list,.archive-source-list,.archive-revision-list{gap:.8rem;display:grid}.archive-browser{gap:var(--space-3);min-width:0;display:grid}.archive-browser__heading{justify-content:space-between;align-items:end;gap:var(--space-3);min-width:0;display:flex}.archive-browser__heading h2,.archive-browser__heading p{margin-bottom:0}.archive-sort{color:var(--muted);flex:0 0 10rem;gap:.35rem;font-size:.82rem;font-weight:700;display:grid}.archive-entry-row{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-width:0;box-shadow:0 4px 18px var(--ring)}.archive-entry-row>a{min-width:0;color:inherit;gap:.5rem;padding:.86rem 1rem;text-decoration:none;display:grid}.archive-entry-row>a:hover,.archive-entry-row>a:focus-visible{background:var(--surface)}.archive-entry-row__heading{justify-content:space-between;align-items:flex-start;gap:var(--space-2);min-width:0;display:flex}.archive-entry-row__heading>div{min-width:0}.archive-entry-row__heading h3,.archive-entry-row__preview{overflow-wrap:anywhere;margin:0}.archive-entry-row__heading h3{font-size:1.05rem}.archive-entry-row__date{color:var(--muted);flex:none;font-size:.78rem}.archive-entry-row__preview{color:var(--text-soft);-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.55;display:-webkit-box;overflow:hidden}.archive-entry-row__meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:.35rem .8rem;font-size:.78rem;display:flex}.archive-pagination,.review-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:.55rem;display:flex}.archive-pagination>span,.review-pagination>span{color:var(--muted);padding:0 .35rem;font-size:.86rem;font-weight:700}.archive-empty-actions{flex-wrap:wrap;justify-content:center;gap:.35rem .8rem;display:flex}.archive-entry-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);min-width:0;box-shadow:var(--shadow)}.archive-entry-card>a{color:inherit;gap:.75rem;padding:1rem;text-decoration:none;display:grid}.archive-entry-card>a:hover{background:var(--surface)}.archive-entry-card h2,.archive-entry-card p{overflow-wrap:anywhere;margin-bottom:0}.archive-entry-card p{line-height:1.7}.archive-entry-card__topline,.archive-current__heading,.archive-revision__heading{justify-content:space-between;align-items:flex-start;gap:.7rem;display:flex}.archive-current{border-top:5px solid var(--ai)}.archive-detail__header{align-items:center}.archive-detail__actions{justify-content:flex-end}.archive-detail .archive-current,.archive-detail .archive-edit,.archive-detail .archive-disclosure{width:100%}.archive-detail .archive-current__content{max-width:78ch}.archive-edit h2,.archive-edit p{margin-bottom:0}.archive-current__heading>div{flex-wrap:wrap;gap:.4rem;display:flex}.archive-current__content,.archive-revision__content{overflow-wrap:anywhere;white-space:pre-wrap;margin:1rem 0;line-height:1.8}.archive-source,.archive-revision{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:.55rem;min-width:0;padding:.9rem;display:grid}.archive-source>div:first-child{flex-wrap:wrap;align-items:center;gap:.55rem;display:flex}.archive-source p,.archive-revision p{overflow-wrap:anywhere;margin-bottom:0}.archive-source--invalid,.archive-revision--current{border-color:var(--border-2);background:var(--surface)}.archive-revision__heading{flex-wrap:wrap;justify-content:flex-start}.archive-edit textarea{min-height:14rem}.legacy-basic-profile,.legacy-basic-profile__groups,.legacy-basic-profile__group,.legacy-basic-profile__items,.legacy-presentation,.legacy-presentation__section{min-width:0;display:grid}.legacy-basic-profile{border-top:5px solid var(--primary);gap:1.1rem}.legacy-basic-profile--collapsible{padding:0}.legacy-basic-profile__summary{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:68px;padding:var(--space-3);cursor:pointer;list-style-position:inside;display:flex}.legacy-basic-profile__summary>span:first-child{gap:.2rem;display:inline-grid}.legacy-basic-profile__summary strong{color:var(--text);font-size:1.08rem}.legacy-basic-profile__summary small,.legacy-basic-profile__count{color:var(--muted);font-size:.82rem}.legacy-basic-profile__count{background:var(--primary-soft);border-radius:999px;flex:none;padding:.3rem .55rem;font-weight:750}.legacy-basic-profile--collapsible>.legacy-basic-profile__groups{padding:0 var(--space-3) var(--space-3);border-top:1px solid var(--line)}.legacy-basic-profile__heading,.archive-layer-heading{justify-content:space-between;align-items:flex-start;gap:1rem;min-width:0;display:flex}.legacy-basic-profile__heading h2,.legacy-basic-profile__heading p,.archive-layer-heading h2,.archive-layer-heading p{margin-bottom:0}.legacy-basic-profile__groups{gap:1rem}.legacy-basic-profile__group{gap:.65rem}.legacy-basic-profile__group>h3{color:var(--primary-strong);margin:0;font-size:1rem}.legacy-basic-profile__items{gap:0}.legacy-basic-profile__item{border-bottom:1px solid var(--line);min-width:0;color:inherit;padding:.72rem 0;text-decoration:none;display:block}.legacy-basic-profile__item:hover{color:var(--primary-strong);background:var(--border)}.legacy-basic-profile__item--education_list,.legacy-basic-profile__item--overseas_experience,.legacy-basic-profile__item--confirmed_values{padding:var(--space-3);margin-top:var(--space-2);border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface)}.archive-layer-heading{margin-top:.5rem}.legacy-presentation{gap:.75rem;margin:1rem 0}.legacy-presentation--compact{margin:0}.legacy-presentation__section{gap:.45rem}.legacy-presentation__section h3{margin:0;font-size:1rem}.legacy-presentation__section dl{gap:.45rem;min-width:0;margin:0;display:grid}.legacy-presentation__section dl>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(5.5rem,.36fr) minmax(0,1fr);gap:.65rem;padding-bottom:.4rem;display:grid}.legacy-presentation--text .legacy-presentation__section dl>div{padding-inline:var(--space-1);grid-template-columns:minmax(7rem,.34fr) minmax(0,1fr)}.legacy-presentation__section dt{color:var(--muted);font-size:.82rem;font-weight:700}.legacy-presentation__section dd{overflow-wrap:anywhere;white-space:pre-wrap;min-width:0;margin:0}.archive-source--legacy{border-color:var(--border-2);background:var(--surface)}@media (width>=700px){.archive-domain-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.legacy-basic-profile__groups{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}:is(.legacy-basic-profile__group:has(.legacy-basic-profile__item--education_list),.legacy-basic-profile__group:has(.legacy-basic-profile__item--overseas_experience)){grid-column:1/-1}}@media (width>=1100px){.archive-domain-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.archive-domain-select{display:none}}@media (width<=1099px){.archive-domain-nav{display:none}}@media (width<=699px){.archive-search{grid-template-columns:minmax(0,1fr)}.archive-search__actions{justify-content:flex-end}.archive-search__counts{grid-column:auto}.archive-browser__heading,.archive-entry-row__heading{flex-direction:column;align-items:flex-start}.archive-sort{flex-basis:auto;width:100%}.archive-entry-row__date{order:-1}.archive-pagination .button{min-height:42px;padding-inline:.65rem}}.field textarea{resize:vertical;min-height:9.5rem}.field input::placeholder,.field textarea::placeholder{color:var(--ink-3)}.field--quiet input,.field--quiet textarea{background:var(--surface-muted);border-color:#0000}.field--grow{flex:1}.capture-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.voice-recorder{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:.65rem;min-width:0;padding:.8rem;display:grid}.voice-recorder__topline,.voice-recorder__actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem .8rem;min-width:0;display:flex}.voice-recorder__topline>div{gap:.15rem;min-width:0;display:grid}.voice-recorder__clock{color:var(--ai);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1rem;font-weight:800}.voice-recorder audio,.attachment-audio audio{width:min(100%,34rem);max-width:100%}.upload-list,.tag-list{margin:0;padding:0;list-style:none}.upload-list{gap:.45rem;display:grid}.upload-list li{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:.8rem;padding:.68rem .75rem;display:flex}.upload-list li div{min-width:0;display:grid}.upload-list li strong{text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.upload-list li span{color:var(--muted);font-size:.78rem}.upload-status--error{color:var(--danger)!important}.upload-status--done{color:var(--success)!important}.record-list,.search-results,.attachment-list,.trash-list{gap:.7rem;display:grid}.record-list{margin-top:1rem}.record-card{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);overflow:hidden}.record-card__link{color:inherit;padding:1rem;text-decoration:none;display:block}.record-card__link:hover{background:var(--surface)}.record-card__topline,.search-result__topline{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.record-card h3{overflow-wrap:anywhere}.record-card__preview{color:var(--ink-2);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin-bottom:.8rem;line-height:1.6;display:-webkit-box;overflow:hidden}.record-card__meta{color:var(--muted);flex-wrap:wrap;gap:.35rem .9rem;font-size:.78rem;display:flex}.badge,.source-badge{color:var(--ink-2);background:var(--surface-muted);white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:.28rem .52rem;font-size:.72rem;font-weight:750;display:inline-flex}.badge--original,.badge--success{color:var(--success);background:var(--primary-soft)}.badge--ai{color:var(--ai);background:var(--ai-soft)}.badge--danger{color:var(--danger);background:var(--danger-soft)}.badge--warning{color:var(--warning);background:var(--warning-soft)}.state-card{border:1px dashed var(--line);border-radius:var(--radius-md);min-height:96px;color:var(--muted);text-align:center;justify-content:center;align-items:center;gap:.7rem;padding:1.2rem;display:flex}.state-card--empty{display:grid}.state-card--error{color:var(--danger);border-color:var(--border-2);background:var(--danger-soft)}.spinner{border:2px solid var(--border-2);border-top-color:var(--primary);border-radius:50%;width:18px;height:18px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.notice{border:1px solid #0000;border-radius:10px;padding:.78rem .9rem;line-height:1.5}.notice--info{color:var(--ink-2);border-color:var(--surface-3);background:var(--surface)}.notice--success{color:var(--success);border-color:var(--border-2);background:var(--primary-soft)}.notice--warning{color:var(--warning);border-color:var(--border-2);background:var(--warning-soft)}.notice--error{color:var(--danger);border-color:var(--border-2);background:var(--danger-soft)}.login-page,.boot-page,.not-found-page{place-items:center;min-height:100vh;padding:1rem;display:grid}.login-card{border:1px solid var(--line);background:var(--surface);width:min(100%,430px);box-shadow:0 24px 70px var(--ring);border-radius:26px;gap:1.5rem;padding:clamp(1.3rem,5vw,2.2rem);display:grid}.brand--login{margin-bottom:.4rem}.not-found-page{text-align:center;align-content:center;justify-items:center}.breadcrumb{min-height:40px}.breadcrumb a{color:var(--primary);font-weight:700;text-decoration:none}.original-panel{border-top:5px solid var(--primary)}.original-content{overflow-wrap:anywhere;white-space:pre-wrap;max-width:78ch;margin:1.4rem 0;font-size:1.02rem;line-height:1.85}.record-times,.provenance{flex-wrap:wrap;gap:.55rem 1.4rem;margin:1rem 0;padding:0;display:flex}.record-times div,.provenance div{gap:.35rem;display:flex}.record-times dt,.provenance dt{color:var(--muted)}.record-times dd,.provenance dd{margin:0}.record-times{font-size:.8rem}.ai-panel{border-color:var(--surface-3);border-top:5px solid var(--ai);background:var(--surface)}.derived-block{border-top:1px solid var(--surface-3);padding:1rem 0}.derived-block:first-of-type{margin-top:1rem}.derived-content{overflow-wrap:anywhere;white-space:pre-wrap;max-width:78ch;line-height:1.75}.provenance{color:var(--muted);margin-bottom:0;font-size:.76rem}.provenance div{overflow-wrap:anywhere;min-width:0}.tag-list{flex-wrap:wrap;gap:.45rem;display:flex}.tag-list li{min-width:0;max-width:100%;color:var(--ai);background:var(--ai-soft);overflow-wrap:anywhere;border-radius:999px;padding:.35rem .65rem;font-size:.84rem;font-weight:700}.attachment-panel{box-shadow:none}.attachment-list{margin-top:1rem}.attachment-item{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:58px minmax(0,1fr);gap:.8rem;padding:.8rem;display:grid}.attachment-item--deleted{background:var(--surface);opacity:1}.attachment-preview,.file-placeholder{object-fit:cover;border-radius:9px;width:58px;height:58px}.file-placeholder{color:var(--muted);background:var(--surface-muted);place-items:center;font-size:.72rem;font-weight:750;display:grid}.attachment-item__body{align-content:start;gap:.2rem;min-width:0;display:grid}.attachment-item__body strong,.attachment-item__body span{overflow-wrap:anywhere}.hash-short{color:var(--ink-3);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem}.attachment-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:.65rem 1rem;display:flex}.attachment-processing-summary{flex-wrap:wrap;align-items:center;gap:.35rem .6rem;margin-top:.25rem;display:flex}.attachment-processing-error{color:var(--danger);font-size:.76rem}.badge--attachment-ready,.badge--attachment-partial,.badge--attachment-pending,.badge--attachment-running{color:var(--ink-2);background:var(--surface-3)}.badge--attachment-failed,.badge--attachment-stale{color:var(--danger);background:var(--surface)}.badge--attachment-unsupported,.badge--attachment-not_started,.badge--attachment-disabled{color:var(--muted);background:var(--surface-muted)}.attachment-audio{border-top:1px solid var(--line);grid-column:1/-1;gap:.45rem;min-width:0;padding:.75rem;display:grid}.attachment-audio p{overflow-wrap:anywhere;margin:0}.attachment-derived--asr{border-top-color:var(--border-2)}.attachment-audio-segment .text-button{padding:0}.attachment-derived{border-top:1px solid var(--line);grid-column:1/-1;gap:.65rem;min-width:0;padding-top:.75rem;scroll-margin-top:5rem;display:grid}.attachment-derived:target{outline:3px solid var(--ring);outline-offset:.3rem}.attachment-derived__heading,.attachment-text-page__meta,.brain-source__actions{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;display:flex}.attachment-text-page{border:1px solid var(--surface-3);background:var(--surface);border-radius:10px;min-width:0;padding:.75rem}.attachment-text-page__meta{color:var(--muted);font-size:.72rem}.attachment-text-page p{overflow-wrap:anywhere;white-space:pre-wrap;max-height:16rem;margin:.55rem 0 0;line-height:1.65;overflow:auto}.search-form{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);align-items:end;gap:.65rem;padding:.8rem;display:flex}.result-count{color:var(--muted);margin:.4rem 0 0;font-size:.86rem}.search-result{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);overflow:hidden}.search-result a{padding:1rem;text-decoration:none;display:block}.search-result a:hover{background:var(--surface)}.search-result h2{overflow-wrap:anywhere;font-size:1.04rem}.search-result p{overflow-wrap:anywhere;color:var(--ink-2);margin-bottom:.65rem;line-height:1.65}.source-badge--record_title,.source-badge--record_content{color:var(--primary);background:var(--primary-soft)}.source-badge--ai_summary,.source-badge--ai_tags{color:var(--ai);background:var(--ai-soft)}.source-badge--attachment_text,.source-badge--attachment_ocr{color:var(--ink-2);background:var(--surface-3)}.source-badge--review_current{color:var(--ink-2);background:var(--surface)}.search-result__attachment{font-size:.78rem;color:var(--ink-2)!important}.pagination,.load-more{justify-content:center;align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.load-more{flex-direction:column}.trash-grid,.status-grid{gap:1rem;display:grid}.trash-item{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:.8rem;padding:.8rem 0;display:flex}.trash-item:last-child{border-bottom:0}.trash-item>div{gap:.2rem;min-width:0;display:grid}.trash-item__title{overflow-wrap:anywhere;font-weight:750}.warning-text{color:var(--warning);font-size:.76rem}.status-grid .panel h2{margin-bottom:.7rem}.status-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:.8rem;padding:.75rem 0;display:flex}.status-row>div{gap:.16rem;min-width:0;display:grid}.import-panel,.import-preview,.import-batches,.import-batch{gap:.85rem;display:grid}.source-note{color:var(--muted);margin:0;font-size:.78rem}.file-picker{gap:.45rem;font-weight:700;display:grid}.file-picker input{border:1px dashed var(--line-strong);background:var(--surface-soft);border-radius:12px;width:100%;min-width:0;padding:.75rem}.import-preview{border:1px solid var(--border-2);border-radius:var(--radius-md);background:var(--surface);margin-top:.4rem;padding:1rem}.import-preview h3,.import-preview h4,.import-preview p{margin:0}.definition-list{gap:.35rem;margin:0;display:grid}.definition-list>div{border-bottom:1px solid var(--border);justify-content:space-between;gap:.8rem;min-width:0;padding:.45rem 0;display:flex}.definition-list dt{overflow-wrap:anywhere;min-width:0;color:var(--muted)}.definition-list dd{margin:0;font-weight:800}.checkbox-row{align-items:flex-start;gap:.65rem;line-height:1.5;display:flex}.checkbox-row input{width:1.1rem;height:1.1rem;margin-top:.15rem}.import-batch{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr);padding:.85rem 0}.import-batch>div:first-child{gap:.2rem;min-width:0;display:grid}.progress-copy{overflow-wrap:anywhere;color:var(--muted);font-size:.85rem}.brain-entry{justify-content:space-between;align-items:center;gap:1rem;display:flex}.brain-entry p:last-child{margin-bottom:0}.brain-entry .button{white-space:nowrap}.brain-boundaries{gap:.65rem;display:grid}.brain-empty{gap:.5rem;display:grid}.brain-empty p{color:var(--ink-2);margin:0;line-height:1.6}.brain-conversation{gap:1rem;display:grid}.brain-turn{gap:.7rem;display:grid}.brain-question{border:1px solid var(--border-2);border-radius:var(--radius-md);background:var(--primary-soft);max-width:min(92%,760px);padding:.85rem 1rem}.brain-question span{color:var(--primary);margin-bottom:.25rem;font-size:.72rem;font-weight:750;display:block}.brain-question p{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;line-height:1.6}.brain-answer{border:1px solid var(--surface-3);border-left:5px solid var(--ai);border-radius:var(--radius-lg);background:var(--surface);min-width:0;box-shadow:var(--shadow);padding:1rem}.brain-answer__heading,.brain-answer__heading>div{flex-wrap:wrap;align-items:center;gap:.45rem .7rem;display:flex}.brain-answer__heading{justify-content:space-between;margin-bottom:.9rem;font-size:.78rem}.brain-answer__text{overflow-wrap:anywhere;white-space:pre-wrap;max-width:80ch;margin:0;line-height:1.85}.brain-citation{color:var(--ai);background:var(--ai-soft);border-radius:5px;padding:.05rem .28rem;font-weight:800;text-decoration:none;display:inline-flex}.brain-citation:hover{text-decoration:underline}.brain-sources{border-top:1px solid var(--surface-3);margin-top:1.2rem;padding-top:1rem}.brain-source-list{gap:.65rem;display:grid}.brain-source{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:.55rem;min-width:0;padding:.85rem;text-decoration:none;display:grid}.brain-source:hover,.brain-source--ocr{border-color:var(--border-2);background:var(--surface)}.brain-source__heading{align-items:flex-start;gap:.65rem;min-width:0;display:flex}.brain-source__heading strong,.brain-source p{overflow-wrap:anywhere}.brain-source__heading>div{gap:.2rem;min-width:0;display:grid}.brain-source__file{color:var(--ink-2);overflow-wrap:anywhere;font-size:.76rem}.brain-source__reference{min-width:2.1rem;height:2.1rem;color:var(--on-primary);background:var(--ai);border-radius:8px;flex:none;place-items:center;font-size:.78rem;font-weight:800;display:inline-grid}.brain-source p{color:var(--ink-2);white-space:pre-wrap;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin:0;line-height:1.6;display:-webkit-box;overflow:hidden}.brain-source__meta{color:var(--muted);flex-wrap:wrap;gap:.25rem .8rem;font-size:.72rem;display:flex}.ocr-warning{color:var(--ink-2);font-weight:700}.brain-composer{bottom:calc(4.5rem + env(safe-area-inset-bottom));z-index:6;border:1px solid var(--border-2);border-radius:var(--radius-lg);background:var(--surface);box-shadow:0 14px 38px var(--ring);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);gap:.7rem;padding:.9rem;display:grid;position:sticky}.brain-composer textarea{min-height:6.5rem}.brain-composer__actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.65rem;font-size:.76rem;display:flex}.confirm-dialog{border:1px solid var(--line);width:min(100% - 2rem,440px);color:var(--text);background:var(--surface);box-shadow:0 24px 80px var(--ring);border-radius:18px;padding:0}.confirm-dialog::backdrop{background:var(--ring);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.confirm-dialog__body{padding:1.35rem}.confirm-dialog__body p{color:var(--muted);line-height:1.55}@media (width>=720px){.page-container{padding:1.7rem 1.6rem calc(6rem + env(safe-area-inset-bottom))}.panel,.capture-card,.original-panel,.ai-panel{padding:1.4rem}.trash-grid,.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.trash-grid>.panel:nth-child(3){grid-column:1/-1}.brain-boundaries,.brain-source-list{grid-template-columns:repeat(2,minmax(0,1fr))}.attachment-item{grid-template-columns:72px minmax(0,1fr) auto;align-items:center}.attachment-preview,.file-placeholder{width:72px;height:72px}.attachment-actions{grid-column:auto;justify-content:flex-end}}@media (width>=980px){.app-shell{grid-template-columns:248px minmax(0,1fr);align-items:start;display:grid}.side-nav{z-index:2;grid-area:1/1;width:248px;height:100vh;display:flex;position:sticky;top:0;overflow-y:auto}.mobile-header,.bottom-nav,.mobile-more-layer{display:none}.app-main{z-index:0;grid-area:1/2;min-width:0;margin-left:0;position:relative}.page-container{min-height:100vh;padding:2.2rem 2rem}.home-layout{grid-template-columns:minmax(390px,1.08fr) minmax(410px,.92fr);align-items:start}.brain-composer{bottom:1.2rem}.capture-card{position:sticky;top:2.2rem}.home-layout>.capture-card{align-self:start;position:static}.home-workflow-column{gap:.8rem}.home-workflow-column>.panel{padding:1rem 1.1rem}.home-workflow-column .recent-panel h1{font-size:1.65rem}.detail-page{grid-template-columns:minmax(0,1fr) minmax(320px,.46fr);align-items:start}.detail-page.archive-detail{grid-template-columns:minmax(0,1fr);width:min(100%,1120px);margin-inline:auto}.detail-page.archive-detail>*{grid-column:1!important}.detail-page>.breadcrumb,.detail-page>.notice,.detail-page>.original-panel{grid-column:1/-1}.detail-page>.attachment-panel{grid-column:1}.detail-page>.ai-panel{grid-column:2;position:sticky;top:2.2rem}.record-list--timeline,.search-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.history-fields>div{border-bottom:1px solid var(--border,var(--surface-3));padding:.7rem 0}.history-fields dt{margin-bottom:.35rem;font-weight:600}.history-fields dd{overflow-wrap:anywhere;margin-left:1rem}.history-page select{max-width:100%}.capture-extras{gap:1.25rem;display:flex}.capture-form textarea{resize:vertical;min-height:9rem;font-size:1rem}.capture-card{padding:1.25rem}.reading-page>h1,.reading-article h1{margin:0 0 1.25rem}.reading-tabs{flex-wrap:wrap;gap:.5rem;margin-bottom:1.5rem;display:flex}.reading-tabs button{border:1px solid var(--border);min-height:44px;color:inherit;font:inherit;background:0 0;border-radius:999px;padding:.6rem .9rem}.reading-tabs button[aria-pressed=true]{background:var(--surface-3);border-color:var(--ink-3);color:var(--ink)}.reading-list{gap:.75rem;display:grid}.reading-card{background:var(--surface);border:1px solid var(--surface-3);border-radius:16px}.reading-card>a{color:inherit;padding:1rem 1.15rem;text-decoration:none;display:block}.reading-card h2{margin:0 0 .35rem;font-size:1.1rem;line-height:1.5}.reading-preview{color:var(--ink-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:.3rem 0 0;line-height:1.7;display:-webkit-box;overflow:hidden}.reading-topic>h2{color:var(--ink-2);margin:0 0 .75rem;font-size:1rem}.reading-article{max-width:48rem;margin:auto}.reading-article>h1{margin-top:1rem}.reading-body{overflow-wrap:anywhere;font-size:1.05rem;line-height:1.9}.reading-body section{margin:1.25rem 0}.reading-body h2{color:var(--ink-2);margin:0 0 .25rem;font-size:1rem}.reading-body p{white-space:pre-wrap;margin:.2rem 0}.source-details{border-top:1px solid var(--surface-3);color:var(--ink-2);margin-top:2rem;padding:1rem 0}.source-details summary{cursor:pointer;min-height:44px}.quiet-empty{color:var(--ink-3);padding:1.5rem 0}.icp-footer a{color:inherit}@media (width<=800px){.bottom-nav--primary{grid-template-columns:repeat(3,minmax(0,1fr))}.bottom-nav .nav-link{min-width:0;padding:.8rem .1rem;font-size:.88rem}.mobile-header{gap:.8rem;padding:.8rem 1rem}.mobile-header .brand{margin-right:auto}.page-container{padding:1rem}.home-layout{gap:1rem}.capture-card{padding:1rem}.capture-card .section-heading{margin-bottom:.75rem}.capture-card h2{font-size:1.2rem}.reading-tabs{gap:.4rem}.reading-tabs button{padding:.55rem .7rem}.icp-footer{padding-bottom:6rem}}.reading-prose{white-space:pre-wrap}.source-hash{overflow-wrap:anywhere}.app-shell{min-height:100dvh;display:block}.side-nav{height:100dvh;position:fixed;inset:0 auto 0 0}.page-section.home-page{gap:0}.page-heading{padding:0}.button:disabled{opacity:1;color:var(--ink-3);background:var(--surface-3);border-color:var(--border-2)}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:var(--canvas)}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:var(--canvas);color:var(--ink);font:14px/1.65 var(--sans);-webkit-font-smoothing:antialiased}::selection{background:var(--select)}h1{font:600 32px/1.22 var(--serif);letter-spacing:.01em;margin:0 0 10px}h2,h3{font-family:var(--sans);font-weight:600}h2{font-size:17px}h3{font-size:14px}p{color:var(--ink-2)}.muted,.tiny{color:var(--ink-3)}button,input,select,textarea{font-family:var(--sans)}:is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--primary);outline-offset:3px}:where(input,textarea)::placeholder{color:var(--ink-3);opacity:1}:where(button,input,select,textarea):disabled{opacity:1;color:var(--ink-3);background:var(--surface-3);cursor:not-allowed}.ui-icon{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.side-nav{background:var(--sidebar);border-color:var(--border-2);width:236px;padding:16px 12px 12px}.side-nav .brand{border-bottom:1px solid var(--border);margin-bottom:10px;padding:4px 8px 16px}.brand__mark{width:34px;height:34px;font:600 17px var(--serif);background:var(--primary-solid);color:var(--on-primary);box-shadow:var(--sh-1);border-radius:10px;flex-basis:34px}.brand strong{font:600 16px/1.15 var(--serif)}.brand span:last-child:not(.brand__mark){color:var(--ink-3);letter-spacing:.1em;font-size:10px}.new-record{border:1px solid var(--border-2);background:var(--surface);color:var(--ink-2);box-shadow:var(--sh-1);border-radius:9px;align-items:center;gap:8px;padding:8px 11px;font-size:12.5px;text-decoration:none;display:flex}.side-nav__links{gap:1px;margin:4px 0 0;overflow:auto}.side-nav__section-label{letter-spacing:.2em;color:var(--ink-3);padding:16px 10px 6px;font-size:10px;font-weight:500}.nav-link{min-height:36px;color:var(--ink-2);border-radius:9px;gap:10px;padding:7px 10px 7px 12px;font-size:13.5px;font-weight:400}.nav-link:hover{background:var(--sidebar-hi);color:var(--ink)}.nav-link--active{background:var(--surface);color:var(--primary);box-shadow:var(--sh-1);font-weight:600}.side-nav .nav-link--active:before{content:"";background:var(--primary);border-radius:0 3px 3px 0;width:3px;height:14px;position:absolute;top:calc(50% - 7px);left:0}.account-block{border-color:var(--border-2);padding:10px 4px 0;font-size:12.5px}.account-row{color:var(--ink-2);justify-content:space-between;align-items:center;gap:16px;padding:8px 4px;display:flex}.theme-button{border:1px solid var(--border);background:var(--surface);color:var(--ink-2);cursor:pointer;border-radius:8px;min-height:34px;padding:6px 9px}.logout{text-align:left;color:var(--ink-3);font-weight:400}.app-main{min-width:0}.page-container{width:100%;min-width:0;max-width:964px;margin:0;padding:34px 42px 40px}.page-section{gap:22px;min-width:0}.page-heading{margin-bottom:22px}.page-heading .muted{margin:8px 0 0;font-size:13px}.panel,.capture-card,.reading-card,.record-card{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-card)}.panel,.capture-card{padding:20px}.capture-card:focus-within,.reading-card:hover,.reading-card:focus-within,.record-card:hover,.record-card:focus-within{box-shadow:var(--sh-3);border-color:var(--border-2)}.home-layout{grid-template-columns:minmax(0,1fr);gap:18px;max-width:880px;display:grid}.home-workflow-column{display:block}.capture-card h2{font:600 17.5px/1.4 var(--serif)}.capture-card h2:before{content:"";background:var(--accent);border-radius:50%;width:6px;height:6px;margin:0 9px 3px 0;display:inline-block}.capture-form{gap:12px}.capture-fields{border:0;min-width:0;margin:0;padding:0;display:contents}.record-times dd{font-family:var(--mono);font-variant-numeric:tabular-nums}.capture-form textarea{background:var(--surface-2);border:1px solid var(--border);min-height:158px;font:400 14px/1.8 var(--sans);color:var(--ink);border-radius:11px;padding:14px 15px}.capture-form textarea:focus{background:var(--surface);border-color:var(--primary);box-shadow:0 0 0 3px var(--ring)}.capture-extras{border-bottom:1px solid var(--border);gap:4px;padding-bottom:10px}.capture-extras .text-button{min-height:32px;color:var(--ink-3);padding:4px 9px;font-size:12.5px;font-weight:400}.capture-actions{gap:12px}.button{border:1px solid var(--border-2);background:var(--surface);min-height:34px;color:var(--ink-2);border-radius:9px;padding:7px 14px;font-size:13px;font-weight:500}.button--primary{background:var(--primary-solid);border-color:var(--primary-solid);color:var(--on-primary);font-weight:600}.button--primary:hover:not(:disabled){background:var(--primary-solid-2)}.button--danger{background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}.button--danger-quiet{background:var(--danger-soft);color:var(--danger);border-color:var(--border-2)}.button:hover:not(:disabled){transform:none}kbd{font:10px var(--mono);color:inherit;border:1px solid;border-radius:4px;padding:2px 4px}.text-link,.text-button{min-height:34px;font-size:12.5px;font-weight:500}.recent-panel .section-heading h2{font:600 13.5px var(--sans)}.record-list--home{grid-template-columns:1fr;gap:0;display:grid}.record-list--home .record-card{box-shadow:none;border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;padding:12px 0}.record-list--home .record-card:first-child{border-top:0}.record-card h3{font-size:13.5px;line-height:1.6}.record-card__meta,time,.reading-date,.pagination span,.badge{font-family:var(--mono);font-variant-numeric:tabular-nums}.reading-tabs{border:1px solid var(--border);background:var(--surface-3);border-radius:11px;gap:2px;width:fit-content;max-width:100%;margin:0 0 24px;padding:4px;display:flex}.reading-tabs button{min-height:32px;color:var(--ink-2);background:0 0;border:0;border-radius:8px;padding:6px 12px;font-size:12.5px}.reading-tabs button[aria-pressed=true]{background:var(--surface);color:var(--primary);box-shadow:var(--sh-1)}.reading-list{gap:10px}.reading-card>a{padding:16px 18px}.reading-card h2{font:600 13.5px/1.65 var(--sans);margin:0 0 6px}.reading-topic .reading-card h2:before{content:"";background:var(--accent);border-radius:2px;width:3px;height:12px;margin-right:10px;display:inline-block}.reading-preview{font:400 12.5px/1.78 var(--sans);color:var(--ink-2);-webkit-line-clamp:3}.reading-date{color:var(--ink-3);margin:4px 0 8px;font-size:11px}.reading-topic{counter-increment:topic;margin-bottom:26px}.reading-page{counter-reset:topic}.reading-topic>h2{color:var(--ink-2);font:600 11.5px var(--sans);letter-spacing:.1em;align-items:center;gap:9px;margin:0 2px 12px;display:flex}.reading-topic>h2:before{content:counter(topic,decimal-leading-zero);font:500 10.5px var(--mono);color:var(--accent-ink)}.reading-topic>h2:after{content:"";background:var(--border);flex:1;height:1px}.reading-article{background:var(--surface);border:1px solid var(--border);border-radius:var(--r);max-width:880px;box-shadow:var(--sh-card);margin:0;padding:28px 32px}.reading-body{font:14px/1.9 var(--sans);color:var(--ink-2)}.reading-body h2{font:600 14px/1.65 var(--sans);color:var(--primary)}.source-details{color:var(--ink-3);border-color:var(--border);font-size:12px}.quiet-empty{color:var(--ink-3);padding:24px 0;font-size:13px}.search-form{border:1px solid var(--border);border-radius:var(--r);background:var(--surface);box-shadow:var(--sh-card);gap:10px;padding:14px}input,select,textarea{max-width:100%;color:var(--ink);background:var(--surface-2);border-color:var(--border)}.search-form input{border-radius:9px;min-height:38px;font-size:14px}.trash-grid{gap:14px}.trash-grid h2{font-size:13.5px}.empty-state{border:1px dashed var(--border);background:var(--surface-2);color:var(--ink-3);padding:24px 16px}.notice,.error-state{color:var(--ink-2);background:var(--surface-2);border:1px solid var(--border)}.notice--error,.error-state{color:var(--danger);background:var(--danger-soft)}.notice--warning{color:var(--accent-ink);background:var(--warn-soft)}.notice--success{color:var(--ok);background:var(--ok-soft)}.detail-page{grid-template-columns:minmax(0,1fr);max-width:100%;display:grid}.detail-page>*{min-width:0}.original-content,.reading-prose,pre{overflow-wrap:anywhere;white-space:pre-wrap}.upload-list li,.attachment-item,.trash-item{overflow-wrap:anywhere;min-width:0}.confirm-dialog,.more-dialog{background:var(--surface);color:var(--ink);border:1px solid var(--border-2);box-shadow:var(--sh-pop);border-radius:16px;max-width:calc(100vw - 32px)}.more-dialog{width:360px;padding:20px}.more-dialog .nav-link{min-height:44px}.more-dialog::backdrop,.confirm-dialog::backdrop{background:var(--primary-solid-2);opacity:.4}.icp-footer{text-align:left;color:var(--ink-3);padding:16px 42px 24px;font-size:11px}.skip-link{z-index:100;background:var(--surface);color:var(--primary);padding:10px;position:fixed;top:-100px;left:12px}.skip-link:focus{top:12px}.status-overview{background:var(--ok-soft);border:1px solid var(--border);border-radius:var(--r);color:var(--ok);align-items:center;gap:12px;margin-bottom:20px;padding:18px;display:flex}.status-overview h2,.status-overview p{color:inherit;margin:0}.status-overview .ui-icon{width:24px;height:24px}.settings-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:16px 0;display:flex}.settings-row:last-child{border:0}.settings-row h2{margin-bottom:4px;font-size:13.5px}.settings-row p{margin:0;font-size:12.5px}.build-version{font:12px var(--mono);overflow-wrap:anywhere;color:var(--ink-3)}@media (width>=801px){.side-nav{display:flex}.mobile-header,.bottom-nav{display:none}.app-main{margin-left:236px}.page-container{padding:34px 42px 40px}}@media (width<=1040px) and (width>=801px){.side-nav{width:204px}.app-main{margin-left:204px}.page-container{padding:28px 24px}.trash-grid{grid-template-columns:1fr}}@media (width<=800px){.side-nav{display:none}.app-main{margin-left:0}.mobile-header{background:var(--sidebar);border-color:var(--border-2);min-height:60px;padding:10px 16px;display:flex}.brand--compact .brand__mark{flex-basis:30px;width:30px;height:30px}.bottom-nav{background:var(--surface);box-shadow:none;padding:6px 6px calc(6px + env(safe-area-inset-bottom));border-color:var(--border);display:grid}.bottom-nav .nav-link{flex-direction:column;gap:3px;min-height:46px;padding:4px 2px;font-size:11px;display:flex}.bottom-nav .nav-link--active{background:var(--primary-soft);box-shadow:none}.page-container{padding:22px 16px 24px}.page-heading{margin-bottom:18px}h1{font-size:28px}.home-layout{gap:14px}.capture-card,.panel{padding:16px}.capture-card h2{font-size:17.5px}.capture-form textarea{min-height:150px;font-size:16px}.button{min-height:44px}input,select,textarea{font-size:16px}.capture-actions kbd{display:none}.reading-tabs{flex-wrap:wrap;width:100%}.reading-tabs button{white-space:nowrap;flex:1;min-height:40px;padding:6px;font-size:12px}.reading-article{padding:20px 18px}.reading-body{font-size:15px}.reading-card h2{font-size:14px}.reading-preview{font-size:13px}.search-form{padding:10px}.search-form input{font-size:16px}.icp-footer{padding:16px 16px 100px}.settings-row{flex-wrap:wrap}.trash-grid{grid-template-columns:1fr}.more-dialog{max-height:80dvh;overflow:auto}}label[for]:has(+input[type=file]:focus-visible){outline:2px solid var(--primary);outline-offset:3px}.secondary-links{flex-wrap:wrap;align-items:center;gap:12px 24px;display:flex}.secondary-links a{color:var(--primary);align-items:center;min-height:34px;font-size:13px;display:inline-flex}.settings-page{gap:0}.settings-page .settings-row.panel{border:1px solid var(--border);padding:20px}.settings-page h3{margin:0 0 4px}.settings-page .reading-topic{margin-bottom:22px}.reading-page>h1{margin-bottom:0}.reading-tabs{margin-bottom:4px}.search-scopes{margin:0}.reading-topic{margin-bottom:4px}.attachment-item{grid-template-columns:minmax(0,1fr)}.upload-list li.selected-attachment{grid-template-columns:minmax(0,1fr);align-items:start;display:grid}.upload-list li.selected-attachment strong{white-space:normal}.attachment-image-preview,.attachment-text-preview{width:100%;min-width:0}.preview-image-button{border:1px solid var(--line);background:var(--surface);width:100%;color:var(--ink);cursor:zoom-in;border-radius:10px;gap:.4rem;padding:.5rem;display:grid}.preview-image-button img{object-fit:contain;border-radius:6px;width:100%;height:auto;max-height:360px;display:block}.attachment-native-media{border-radius:8px;width:100%;max-height:400px;display:block}.attachment-text-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-muted);border-radius:8px;max-height:260px;padding:.8rem;font-size:.88rem;overflow:auto}.attachment-viewer{width:min(1100px,96vw);max-width:96vw;max-height:94dvh;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:1rem}.attachment-viewer::backdrop{background:#000000bf}.attachment-viewer header{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.attachment-viewer h2{overflow-wrap:anywhere;min-width:0;font-size:1rem}.attachment-viewer header button{flex-shrink:0}.attachment-viewer>img{object-fit:contain;width:100%;max-height:calc(90dvh - 100px);display:block}.preview-fallback{margin:.3rem 0}.core-day{margin:1.6rem 0 .7rem;font-size:1rem}.core-record{overflow-wrap:anywhere;min-width:0}.core-filters{flex-wrap:wrap;align-items:center;gap:.75rem;margin:1rem 0;display:flex}.core-filters input{min-width:0;max-width:100%}
