:root{color:#252820;font-synthesis:none;text-rendering:optimizelegibility;--bg:#f6f3ec;--surface:#fffdf8;--surface-muted:#f1eee5;--text:#252820;--muted:#6e7167;--line:#ddd9ce;--primary:#365f48;--primary-strong:#244a35;--primary-soft:#e4eee6;--ai:#62547c;--ai-soft:#f0ebf7;--danger:#a33c31;--danger-soft:#fae9e5;--warning:#805e17;--warning-soft:#fbf1d3;--success:#2f6846;--shadow:0 12px 36px #36302314;--radius-lg:22px;--radius-md:14px;--radius-sm:9px;--space-1:.5rem;--space-2:.75rem;--space-3:1rem;--space-4:1.5rem;--space-5:2rem;background:#f6f3ec;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}*{box-sizing:border-box}html{background:var(--bg);min-width:320px}body{background:radial-gradient(circle at 10% 0%, #e5eee28c, 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-offset:2px;outline:3px solid #365f4852}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:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.58}.button--primary{color:#fff;background:var(--primary)}.button--primary:hover:not(:disabled){background:var(--primary-strong)}.button--quiet{color:var(--text);border-color:var(--line);background:var(--surface)}.button--danger{color:#fff;background:var(--danger)}.button--danger-quiet{color:var(--danger);background:var(--danger-soft);border-color:#e8bfb9}.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);isolation:isolate;pointer-events:auto;background:#fffdf8;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{color:#fff;background:var(--primary);border-radius:13px;flex:0 0 42px;place-items:center;width:42px;height:42px;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:#8a8d84;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;color:#192017;max-width:min(54rem,100vw - 2rem);max-height:min(42rem,100vh - 2rem);box-shadow:var(--shadow);pointer-events:none;background:#f6fff1;border:1px solid #6d756b;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;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f6f3eceb;border-bottom:1px solid #ddd9ced9;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);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffdf8f5;grid-template-columns:repeat(7,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0;box-shadow:0 -8px 22px #322d2312}.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(5,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{cursor:default;pointer-events:auto;background:#1e221c52;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);pointer-events:auto;background:#fffdf8;gap:.8rem;padding:1rem;display:grid;position:absolute;left:.75rem;box-shadow:0 22px 60px #1c1f1938}.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}.app-main{min-width:0}.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-radius:var(--radius-md);min-width:0;min-height:74px;color:inherit;background:#fbfdf9;border:1px solid #d6ded2;align-content:center;gap:.2rem;padding:.7rem .8rem;text-decoration:none;display:grid}.memory-entry__links a:hover{background:var(--primary-soft);border-color:#b7cab9}.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{color:var(--primary-strong);background:var(--primary-soft);border-color:#8bab94}.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:#fdfcf8}.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:#fff;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{background:#fffaf0;border-color:#e7d59c}@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:#cbd9cd;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:#fff;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);font:inherit;background:#fff;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);font:inherit;background:#fff;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{color:var(--primary-strong);background:var(--primary-soft);border-color:#8bab94}.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 #31392d0d}.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:#fdfcf8}.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:#fdfcf8}.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:#fff;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{background:#fffaf0;border-color:#e7d59c}.archive-revision--current{background:#f8fcf8;border-color:#a8c2ae}.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:#e4eee647}.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:#fff}.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 #ddd9ce99;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{background:#f8fcf8;border-color:#a8c2ae}@media (width>=700px){.archive-domain-nav{grid-template-columns:repeat(3,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:#999b92}.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:#fffdf8;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:#fff;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:#fff;overflow:hidden}.record-card__link{color:inherit;padding:1rem;text-decoration:none;display:block}.record-card__link:hover{background:#fdfcf8}.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:#474a43;-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:#54574f;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);background:var(--danger-soft);border-color:#e7bbb5}.spinner{border:2px solid #cbd0c7;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:#355766;background:#edf6f8;border-color:#c9dce3}.notice--success{color:var(--success);background:var(--primary-soft);border-color:#c9dfcf}.notice--warning{color:var(--warning);background:var(--warning-soft);border-color:#e7d59c}.notice--error{color:var(--danger);background:var(--danger-soft);border-color:#e8bdb7}.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:#fffdf8f5;border-radius:26px;gap:1.5rem;width:min(100%,430px);padding:clamp(1.3rem,5vw,2.2rem);display:grid;box-shadow:0 24px 70px #342f2521}.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:#d9d0e6;border-top:5px solid var(--ai);background:#fdfbff}.derived-block{border-top:1px solid #e6dfed;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:#fff;border-radius:12px;grid-template-columns:58px minmax(0,1fr);gap:.8rem;padding:.8rem;display:grid}.attachment-item--deleted{opacity:.82;background:#faf8f4}.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:#888b82;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{color:#26613c;background:#e8f5eb}.badge--attachment-pending,.badge--attachment-running{color:#755b17;background:#fff2c9}.badge--attachment-failed,.badge--attachment-stale{color:var(--danger);background:#fceae7}.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:#e2d1ad}.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-offset:.3rem;outline:3px solid #496f4f38}.attachment-derived__heading,.attachment-text-page__meta,.brain-source__actions{flex-wrap:wrap;align-items:center;gap:.4rem .75rem;display:flex}.attachment-text-page{background:#fcfaf5;border:1px solid #e8e2d7;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:#fdfcf8}.search-result h2{overflow-wrap:anywhere;font-size:1.04rem}.search-result p{overflow-wrap:anywhere;color:#454840;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{color:#315b44;background:#e5f1e8}.source-badge--attachment_ocr{color:#875722;background:#fff0d8}.source-badge--review_current{color:#66508f;background:#eee9f8}.search-result__attachment{font-size:.78rem;color:#6f5b3f!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-radius:var(--radius-md);background:#f6faf3;border:1px solid #c6d8c8;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 #d7ddd0bf;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:#484b43;margin:0;line-height:1.6}.brain-conversation{gap:1rem;display:grid}.brain-turn{gap:.7rem;display:grid}.brain-question{border-radius:var(--radius-md);background:var(--primary-soft);border:1px solid #cad9cc;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 #d9d0e6;border-left:5px solid var(--ai);border-radius:var(--radius-lg);min-width:0;box-shadow:var(--shadow);background:#fdfbff;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 #e4ddeb;margin-top:1.2rem;padding-top:1rem}.brain-source-list{gap:.65rem;display:grid}.brain-source{border:1px solid var(--line);background:#fff;border-radius:12px;gap:.55rem;min-width:0;padding:.85rem;text-decoration:none;display:grid}.brain-source:hover{background:#fffdff;border-color:#bdb3ca}.brain-source--ocr{background:#fffdf7;border-color:#ead3aa}.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:#6f5b3f;overflow-wrap:anywhere;font-size:.76rem}.brain-source__reference{color:#fff;background:var(--ai);border-radius:8px;flex:none;place-items:center;min-width:2.1rem;height:2.1rem;font-size:.78rem;font-weight:800;display:inline-grid}.brain-source p{color:#4b4d47;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:#875722;font-weight:700}.brain-composer{bottom:calc(4.5rem + env(safe-area-inset-bottom));z-index:6;border-radius:var(--radius-lg);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffdf8f7;border:1px solid #c9d6cb;gap:.7rem;padding:.9rem;display:grid;position:sticky;box-shadow:0 14px 38px #2e372b24}.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);border-radius:18px;padding:0;box-shadow:0 24px 80px #191b163d}.confirm-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1a1d1873}.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,#ddd);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%}
