@charset "UTF-8";
:root{--canvas:#f5f5ef;--paper:#fff;--ink:#202d29;--muted:#727d75;--line:#e2e5dc;--forest:#183d35;--lime:#d8eb96;--soft:#edf2e7;--amber:#8e672d;--amber-bg:#fbf3e4;--teal:#30695b;--blue:#ecf2f7;--radius:16px;--shadow:0 16px 50px #17352b09;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--canvas);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #83b6a3;outline-offset:4px}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;left:16px;top:-60px;padding:12px 20px;background:var(--forest);color:white;z-index:100}.skip-link:focus{top:16px}.app-shell{display:flex;min-height:100vh}.sidebar{width:234px;flex-shrink:0;background:#fcfcf8;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:32px 19px 0;z-index:20}.brand{display:flex;align-items:center;gap:10px;padding:0 7px;margin-bottom:34px;font-size:25px;letter-spacing:-1.2px;font-weight:700}.brand-light{font-weight:400;margin-left:3px}.brand sup{font-size:8px;align-self:flex-start;margin-left:3px;vertical-align:super}.brand-symbol{width:29px;height:29px;background:var(--forest);border-radius:8px;position:relative}.brand-symbol:before,.brand-symbol:after{content:"";position:absolute;background:var(--lime);inset:7px 13px}.brand-symbol:after{inset:13px 7px}.brand-symbol span{border:1px solid var(--lime);position:absolute;inset:7px}.workspace-picker{display:flex;align-items:center;gap:10px;padding:12px 8px;border:1px solid var(--line);border-radius:10px;margin-bottom:30px;background:white}.workspace-avatar{font-family:Georgia,serif;background:#e9eddf;border:1px solid #dde4d0;border-radius:7px;width:30px;height:32px;display:grid;place-items:center;font-size:18px}.workspace-picker strong{font-size:11px;display:block;font-weight:600}.workspace-picker small{font-size:10px;color:var(--muted);display:block;margin-top:1px}.picker-dots{margin-left:auto;color:var(--muted)}.nav-label{font-size:9px;font-weight:600;letter-spacing:1.4px;color:#8d958b;margin:0 13px 12px}.main-nav{display:grid;gap:7px}.main-nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;color:#667067;font-size:12px;border-radius:8px;transition:background .2s,color .2s}.main-nav a:hover{background:var(--soft)}.main-nav a.active{background:var(--forest);color:#fff}.main-nav svg{width:17px;height:17px}.nav-count{margin-left:auto;font-size:10px;padding:0 5px;border-radius:4px;background:#e9ecdf;color:#61705b}.active .nav-count{background:#34534a;color:var(--lime)}.queue-count{background:var(--amber-bg);color:var(--amber)}.sidebar-bottom{margin-top:auto;padding-top:35px}.side-note{background:#eef1e5;border:1px solid #e6eadb;padding:17px 14px;border-radius:12px}.side-note-icon{width:31px;height:31px;background:#dfe8ce;border-radius:50%;display:grid;place-items:center;color:var(--forest)}.side-note-icon svg{width:16px;height:16px}.side-note h3{font-family:Georgia,serif;font-weight:400;font-size:17px;margin:13px 0 7px;letter-spacing:-.3px}.side-note p{font-size:11px;line-height:1.7;color:var(--muted);margin:0}.side-note a{font-size:10px;font-weight:600;display:flex;align-items:center;margin-top:17px;gap:9px}.side-note a svg{width:14px;height:14px}.help-link{display:flex;align-items:center;gap:10px;padding:23px 8px;font-size:11px;color:var(--muted)}.help-link svg{width:16px;height:16px}.help-link svg:last-child{margin-left:auto;width:14px}.profile{border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;padding:18px 5px}.profile-avatar,.top-avatar{background:#edeee4;color:#626853;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;font-size:10px;font-weight:600}.profile strong{font-size:11px;font-weight:500;display:block}.profile small{font-size:10px;color:var(--muted);display:block}.profile-indicator{width:6px;height:6px;border-radius:50%;background:#91aa72;margin-left:auto}.main-shell{margin-left:234px;width:calc(100% - 234px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:75px;min-height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fafaf6}.breadcrumb{display:flex;align-items:center;gap:13px;font-size:11px;color:var(--muted)}.breadcrumb strong{color:var(--ink);font-weight:500}.slash{color:#b6bbae}.topbar-right{display:flex;align-items:center;gap:18px}.preview-badge{font-size:10px;display:flex;align-items:center;gap:7px;color:#657253}.preview-badge>span{width:5px;height:5px;border-radius:50%;background:#9caf75}.top-avatar{width:30px;height:30px;border:2px solid white}.icon-button{border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;border-radius:7px;min-width:34px;min-height:34px;padding:6px}.icon-button:hover{background:#e9ede2;color:var(--forest)}.icon-button svg{width:18px;height:18px}.mobile-menu{display:none}main{padding:39px 42px 28px;flex:1;max-width:1600px;width:100%;margin:0 auto}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:600;display:block;color:#7a8672}.heading-row{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;margin-bottom:27px}.heading-row h1{font-family:Georgia,"Times New Roman",serif;font-size:45px;line-height:1.12;font-weight:400;letter-spacing:-1.6px;margin:12px 0 13px}.heading-row h1 em{font-style:italic;color:#648268}.heading-row p{font-size:12px;color:var(--muted);max-width:450px;line-height:1.8;margin:0}.heading-actions{display:flex;align-items:center;gap:10px;padding-top:2px}.button{border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:41px;padding:10px 16px;font-size:11px;font-weight:500;white-space:nowrap;transition:transform .18s,background .18s}.button:hover:not(:disabled){transform:translateY(-1px)}.button svg{width:16px;height:16px}.button.primary{background:var(--forest);color:#fff;border-color:var(--forest)}.button.primary:hover{background:#255547}.button.secondary{background:#fff;border-color:var(--line);color:#4d5b50}.button.secondary:hover{background:#f7f9f1}.button.lime{background:var(--lime);color:var(--forest);border-color:#cfe18e}.button.subtle{background:transparent;color:var(--forest);padding-left:0;padding-right:0}.only-tag{font-size:9px;letter-spacing:.9px;color:#6a785d;border:1px solid #dde5d2;border-radius:5px;padding:6px 8px;align-self:flex-start}.home-grid{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(275px,1fr);gap:23px}.upload-panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow);position:relative;overflow:hidden}.panel-heading{display:flex;align-items:center;gap:10px}.panel-heading h2{font-size:13px;font-weight:600;margin:0}.panel-heading svg{color:#708368;width:17px;height:17px}.panel-heading .small-badge{margin-left:auto}.small-badge{font-size:9px;color:#819075;border:1px solid var(--line);border-radius:4px;padding:3px 7px;font-weight:400}.drop-zone{border:1.5px dashed #d4ddca;border-radius:12px;min-height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;margin:21px 0 18px;background:radial-gradient(ellipse at center,#fff 20%,#f8faf4 100%);cursor:pointer;transition:border-color .2s,background .2s;position:relative;text-align:center;padding:25px}.drop-zone:hover,.drop-zone.dragover{background:#f1f6e9;border-color:#6f936b}.drop-zone input{position:absolute;width:1px;height:1px;opacity:0}.drop-zone:focus-within{outline:3px solid #83b6a3;outline-offset:3px}.upload-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:white;border:1px solid #e4e9dc;box-shadow:0 4px 14px #243c1c06;color:#6d8761;margin-bottom:5px}.upload-icon svg{width:23px;height:23px}.drop-zone strong{font-size:13px;font-weight:500}.drop-zone>span:last-child{font-size:10px;color:var(--muted)}.upload-footnote{display:flex;align-items:flex-start;gap:7px;font-size:9px;color:#8b9485;line-height:1.6}.upload-footnote svg{width:13px;height:13px;margin-top:1px}.sample-invite{display:flex;align-items:center;gap:12px;padding-top:19px;border-top:1px solid var(--line);margin-top:20px}.sample-icon{display:grid;place-items:center;width:36px;height:41px;border-radius:7px;background:#f1f1e8;color:#88917a}.sample-icon svg{width:18px;height:18px}.sample-invite strong{font-size:11px;display:block;font-weight:500}.sample-invite p{font-size:9px;color:var(--muted);margin:3px 0 0}.sample-invite button{margin-left:auto;font-size:10px;min-height:35px;padding:8px 10px}.story-panel{background:#eaf0df;border:1px solid #e1e8d4;border-radius:var(--radius);padding:26px;position:relative;overflow:hidden}.story-panel:before{content:"";position:absolute;width:270px;height:270px;border:1px solid #d6e0c6;border-radius:50%;right:-158px;top:-80px;pointer-events:none}.story-panel .eyebrow{font-size:8px}.story-panel h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.17;letter-spacing:-.7px;max-width:245px;margin:14px 0 24px}.workflow-list{list-style:none;padding:0;margin:0;display:grid;gap:20px}.workflow-list li{display:flex;gap:13px;position:relative}.workflow-number{font-size:10px;color:#7a8a66;width:25px;height:25px;border:1px solid #cedbc1;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.workflow-list strong{font-size:11px;font-weight:500;display:block;margin-top:2px}.workflow-list p{font-size:10px;color:#78836b;margin:5px 0 0;line-height:1.7;max-width:235px}.story-bottom{border-top:1px solid #d8e1cb;display:flex;align-items:center;gap:8px;margin-top:24px;padding-top:16px;color:#6f805f;font-size:9px}.story-bottom svg{width:14px;height:14px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:29px;margin-bottom:14px}.section-heading h2{font-size:13px;font-weight:600;margin:0}.section-heading a{font-size:10px;color:#7f8c74;display:flex;gap:7px;align-items:center}.section-heading svg{width:13px;height:13px}.document-list{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.list-header,.document-row{display:grid;grid-template-columns:minmax(0,1.55fr) .8fr .8fr 30px;gap:14px;align-items:center;padding:13px 21px}.list-header{font-size:8px;letter-spacing:1px;color:#929b8c;border-bottom:1px solid var(--line);background:#fdfdfa}.document-row+.document-row{border-top:1px solid #edf0e6}.document-row{cursor:pointer;width:100%;text-align:left;border:0;background:white;color:inherit;min-height:78px}.document-row:hover{background:#fafbf6}.doc-row-main{display:flex;gap:13px;align-items:center;min-width:0}.doc-file-icon{width:31px;height:37px;border-radius:5px;background:#edf1e5;color:#8a977c;display:grid;place-items:center;flex-shrink:0}.doc-file-icon.amber{background:#faf0de;color:#b59968}.doc-file-icon svg{width:16px;height:16px}.doc-row-main strong{display:block;font-size:11px;font-weight:500;overflow-wrap:anywhere}.doc-row-main small{font-size:9px;color:var(--muted);display:block;margin-top:4px}.doc-row-date{font-size:10px;color:#8e9788}.status{display:inline-flex;align-items:center;gap:5px;font-size:9px;border-radius:4px;padding:5px 7px;font-weight:400;width:max-content;max-width:100%}.status.green{background:#eff5e7;color:#62804d}.status.amber{background:var(--amber-bg);color:#9b7c44}.status.gray{background:#f1f2ed;color:#79816e}.status svg{width:11px;height:11px}.row-arrow{width:14px;height:14px;color:#99a48d}.app-footer{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#9aA18f;padding:15px 42px 24px;max-width:1600px;width:100%;margin:auto auto 0}.view-entrance{animation:enter .35s ease both}@keyframes enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.review-heading h1{font-size:34px;letter-spacing:-1px;margin:9px 0}.review-heading{margin-bottom:20px}.back-link{display:inline-flex;align-items:center;gap:6px;font-size:10px;color:#87917c;margin-bottom:18px}.back-link svg{width:12px;transform:rotate(180deg)}.review-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:10px;color:var(--muted)}.review-meta>span+span:before{content:"·";margin-right:12px;color:#c0c7b8}.review-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(330px,1fr);gap:23px;align-items:start}.source-panel{background:#eeefe8;border:1px solid var(--line);border-radius:13px;overflow:hidden}.source-toolbar{padding:16px 19px;display:flex;align-items:center;gap:9px;background:#fafbf6;border-bottom:1px solid var(--line)}.source-toolbar>svg{width:15px;color:#88957d}.source-toolbar h2{font-size:11px;margin:0;font-weight:500}.source-toolbar .page-number{margin-left:auto;font-size:9px;color:#8d9683}.source-paper-wrap{padding:22px;max-height:640px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#ccd4c1 transparent}.source-paper{background:#fff;padding:30px 27px;box-shadow:0 2px 10px #1f38130a;min-height:568px;font-size:11px;line-height:1.9;color:#66705f;border:1px solid #e8ebdf}.paper-eyebrow{font-size:7px;letter-spacing:1.5px;color:#9aA18f;display:block}.source-paper h3{font-family:Georgia,serif;font-size:23px;font-weight:400;letter-spacing:-.6px;color:#34402e;margin:6px 0 2px}.paper-subtitle{font-size:9px;color:#929a86;margin:0 0 19px}.paper-metadata{display:grid;grid-template-columns:1fr 1fr;font-size:8px;gap:8px;padding:14px 0;border-block:1px solid #ebeee4;margin-bottom:19px}.paper-metadata b{font-weight:500;color:#52614a;display:block}.source-paper h4{text-transform:uppercase;font-size:8px;letter-spacing:1.3px;font-weight:600;color:#6e7e60;margin:18px 0 7px}.source-paper p{margin:0 0 12px}.evidence-mark{font:inherit;border:0;background:#edf4df;color:#40592f;text-align:left;border-bottom:1px solid #cfdfad;cursor:pointer;border-radius:2px;padding:1px 3px;display:inline;line-height:1.85}.evidence-mark:hover,.evidence-mark.selected{background:#d8eaa9;box-shadow:0 0 0 3px #d8eaa980}.paper-footer{font-size:7px;letter-spacing:1px;color:#a0a88f;border-top:1px solid #ecefe2;margin-top:22px;padding-top:12px;display:flex;justify-content:space-between}.source-bottom{font-size:9px;color:#8b9780;padding:13px 19px;border-top:1px solid #dfe5d6;display:flex;align-items:center;gap:7px}.source-bottom span{width:6px;height:6px;border-radius:50%;background:#a4bc80}.review-column{min-width:0}.results-topline{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.results-topline h2{font-size:12px;margin:0;font-weight:600}.result-tabs{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.result-tabs button{font-size:10px;color:#8c9583;border:0;border-bottom:2px solid transparent;background:none;padding:11px 0}.result-tabs button[aria-selected=true]{border-color:var(--forest);color:var(--forest);font-weight:500}.tab-count{font-size:8px;background:#e5ebda;padding:2px 5px;border-radius:4px;margin-left:5px}.code-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.code-card-main{padding:20px}.code-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.code-category{font-size:8px;letter-spacing:1.2px;color:#8a987e}.code-number{font-size:39px;font-weight:400;letter-spacing:-1.5px;line-height:1.2;display:block;color:var(--forest);font-variant-numeric:tabular-nums}.code-card h3{font-size:13px;font-weight:500;margin:7px 0 6px}.code-short-note{font-size:8px;color:#8c9781;display:block}.code-rationale{font-size:11px;color:#839078;line-height:1.85;margin:17px 0 0}.evidence-section{border-top:1px solid #e9ede1;padding:17px 20px;background:#fdfefa}.evidence-label{font-size:8px;text-transform:uppercase;letter-spacing:1px;color:#89977a;display:flex;gap:7px;align-items:center;margin-bottom:12px}.evidence-label svg{width:12px;height:12px}.evidence-chip{display:flex;gap:8px;align-items:flex-start;text-align:left;font-size:10px;color:#677957;background:#f0f5e7;border:1px solid #e1e9d3;padding:9px 10px;border-radius:6px;width:100%;margin-top:7px;line-height:1.7}.evidence-chip:hover,.evidence-chip.selected{background:#e3efca;border-color:#bdcf9a}.evidence-chip svg{width:12px;height:12px;margin-top:3px}.reference-note{margin:15px 0;background:#f3f1e9;border:1px solid #e6e1d2;border-radius:7px;font-size:9px;color:#9a875b;line-height:1.7;padding:11px 12px;display:flex;gap:8px}.reference-note svg{width:13px;height:13px;margin-top:2px}.code-card-actions{display:flex;gap:8px;padding:14px 20px;border-top:1px solid #e9ede1}.code-card-actions .primary{flex:1}.code-card-actions .button{font-size:10px;min-height:36px;padding:8px 10px}.review-insight{display:flex;gap:11px;padding:17px 1px;color:#87947b}.review-insight svg{width:17px;height:17px;margin-top:2px}.review-insight strong{font-size:10px;display:block;font-weight:500;color:#687a5b}.review-insight p{font-size:9px;line-height:1.8;margin:4px 0 0}.sample-strip{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #dce4d1;background:#f0f4e8;padding:12px 16px;border-radius:8px;margin-top:23px;font-size:9px;color:#82916f}.sample-strip a{display:flex;align-items:center;gap:5px;font-size:9px;color:#5b7350}.sample-strip svg{width:12px;height:12px}.check-list-card,.timeline-card,.clarification-card{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.check-item{display:flex;gap:10px;padding:15px 0;border-bottom:1px solid #edf0e5}.check-item:first-child{padding-top:0}.check-item:last-child{border-bottom:0;padding-bottom:0}.check-item>svg{width:17px;height:17px;color:#749552;margin-top:2px}.check-item.pending>svg{color:#b69555}.check-item strong{display:block;font-size:11px;font-weight:500}.check-item p{font-size:10px;color:#87967b;margin:5px 0 0;line-height:1.8}.checks-disclaimer{font-size:9px;color:#9bA48e;line-height:1.8;margin:15px 2px}.timeline-entry{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #edf0e5}.timeline-entry:last-child{border:0}.timeline-dot{width:7px;height:7px;background:#b7c79d;border-radius:50%;margin-top:5px;flex-shrink:0}.timeline-entry strong{display:block;font-size:10px;font-weight:500}.timeline-entry p{font-size:9px;color:#929d87;margin:4px 0 0;line-height:1.7}.clarification-icon{width:42px;height:42px;border-radius:12px;background:var(--amber-bg);display:grid;place-items:center;color:#ac8e53}.clarification-card h3{font-family:Georgia,serif;font-size:25px;font-weight:400;line-height:1.25;letter-spacing:-.6px;margin:17px 0 12px}.clarification-card p{font-size:11px;line-height:1.9;color:#879078}.clarification-question{font-size:11px;line-height:1.85;padding:15px;background:#faf7ee;border:1px solid #ece5d4;border-radius:8px;margin:18px 0}.clarification-card .button{width:100%}.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;background:white;padding:9px 11px;min-width:220px}.search-field svg{width:14px;height:14px;color:#9ba78c}.search-field input{border:0;outline:none;width:100%;font-size:11px;color:#67775b;background:none;min-width:0}.search-field:focus-within{outline:2px solid #83b6a3;outline-offset:2px}.empty-state{padding:40px 20px;text-align:center;color:var(--muted);font-size:12px}.section-description{font-size:11px;color:#8a9680;line-height:1.9;margin-bottom:20px}.flow-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px}.flow-card{background:white;border:1px solid var(--line);border-radius:14px;padding:25px}.flow-card .step{color:#8b9c74;font-family:Georgia,serif;font-size:33px}.flow-card h2{font-family:Georgia,serif;font-size:25px;line-height:1.2;font-weight:400;margin:17px 0 12px;letter-spacing:-.7px}.flow-card p{font-size:11px;line-height:1.9;color:#8a967f}.flow-card svg{width:24px;color:#6d875a}.how-note{border-left:2px solid #b7ca95;padding:3px 0 3px 16px;margin:26px 0;font-size:11px;line-height:1.9;color:#87977a}.how-note strong{font-weight:500;color:#5c7050}.dialog{border:1px solid var(--line);border-radius:18px;padding:28px;max-width:500px;width:calc(100% - 32px);box-shadow:0 25px 100px #0d281c2e;color:var(--ink)}.upload-dialog{max-width:560px}.dialog::backdrop{background:#1833264d;backdrop-filter:blur(5px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog h2{font-family:Georgia,serif;letter-spacing:-.7px;font-weight:400;font-size:30px;line-height:1.2;margin:10px 0}.dialog-copy{font-size:12px;color:var(--muted);line-height:1.9;margin:8px 0 20px}.preview-notice{display:flex;align-items:flex-start;gap:8px;font-size:10px;color:#859171;background:#f3f6ec;padding:12px;border-radius:7px;line-height:1.8}.preview-notice svg{width:14px;height:14px;margin-top:2px}.compact{min-height:160px;margin:18px 0}.compact .upload-icon{width:38px;height:38px;border-radius:10px}.compact .upload-icon svg{width:18px;height:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:18px}.form-grid label,.field-label{font-size:10px;color:#6b7b5d;display:block}.form-grid select,.form-grid input,.field-label textarea{display:block;width:100%;margin-top:7px;border:1px solid #dfe5d5;background:#fff;border-radius:6px;padding:10px 11px;color:#647257;font-size:11px;min-height:39px}.field-help{font-size:9px;color:#929f84;margin:11px 0 0;line-height:1.8}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.selected-file{display:flex;align-items:center;gap:9px;padding:10px 12px;background:#f1f5e8;border:1px solid #e1e9d4;border-radius:8px;font-size:10px;overflow-wrap:anywhere}.selected-file>svg{width:15px;height:15px}.selected-file>span{flex:1;min-width:0}.review-summary{background:#f7f9f2;padding:15px;border:1px solid #e9eddf;border-radius:8px;display:flex;gap:16px;align-items:center;margin-bottom:20px}.code-small{font-size:26px;letter-spacing:-1px;color:var(--forest)}.review-summary strong{font-size:11px;font-weight:500;display:block}.review-summary small{display:block;font-size:8px;color:#8b987d;margin-top:5px}.check-label{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.8;color:#6e7f5e;margin:20px 0}.check-label input{accent-color:var(--forest);margin-top:4px;width:15px;height:15px;flex-shrink:0}.field-label span{font-size:9px;color:#a2ac94}.field-label textarea{resize:vertical;margin-bottom:17px;line-height:1.7}.export-option{display:flex;align-items:center;gap:14px;width:100%;padding:17px 0;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;color:inherit}.export-option:hover{background:#fbfcf8}.export-format{display:grid;place-items:center;width:38px;height:43px;background:#eff3e5;border:1px solid #e3e9d7;border-radius:6px;font-size:8px;color:#7c916a}.export-option strong{display:block;font-size:12px;font-weight:500}.export-option small{font-size:10px;color:#8f9c81;display:block;margin-top:4px}.export-option>svg{margin-left:auto;color:#8c9a80;width:16px;height:16px}.export-status{font-size:10px;line-height:1.8;background:#faf5e8;border:1px solid #e9dfc6;border-radius:7px;padding:11px 12px;color:#a08959;margin-bottom:10px}.export-status.reviewed{background:#eef4e6;border-color:#dae7c7;color:#728b55}.about-list{list-style:none;padding:0;margin:20px 0;display:grid;gap:15px;font-size:11px;color:#738265}.about-list li{display:flex;gap:10px;align-items:center}.about-list svg{width:14px;height:14px;color:#7d9a60}.about-footnote{font-size:10px;line-height:1.9;color:#96a087}.toast{position:fixed;bottom:25px;left:calc(50% + 117px);transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--forest);color:white;padding:13px 19px;border-radius:9px;font-size:11px;z-index:100;box-shadow:0 8px 30px #193c3926;transition:opacity .2s,transform .2s;max-width:calc(100% - 40px);width:max-content}.toast.visible{opacity:1;transform:translate(-50%,0)}[hidden]{display:none!important}
@media(min-width:1600px){main{padding-top:48px}.home-grid{grid-template-columns:1.8fr 1fr}.drop-zone{min-height:240px}.story-panel{padding:30px}.story-panel h2{font-size:32px}.workflow-list{gap:25px}.heading-row h1{font-size:53px}.upload-panel{padding:30px}}
@media(max-width:1199px){.sidebar{width:209px;padding-inline:14px}.main-shell{margin-left:209px;width:calc(100% - 209px)}.topbar{padding-inline:28px}main{padding:30px 28px 24px}.app-footer{padding-inline:28px}.home-grid{gap:17px;grid-template-columns:minmax(0,1.45fr) minmax(245px,1fr)}.upload-panel,.story-panel{padding:21px}.heading-row h1{font-size:40px}.story-panel h2{font-size:26px}.review-layout{gap:17px;grid-template-columns:minmax(0,1.05fr) minmax(290px,1fr)}.source-paper-wrap{padding:16px}.source-paper{padding:24px 21px}.code-card-main{padding:18px}.evidence-section{padding:16px 18px}.toast{left:calc(50% + 104px)}.list-header,.document-row{grid-template-columns:minmax(0,1.4fr) .9fr .65fr 18px}}
@media(max-width:1000px){.home-grid{grid-template-columns:1fr}.story-panel{display:grid;grid-template-columns:1fr 1.4fr;gap:0 25px}.story-panel h2{margin-bottom:5px}.workflow-list{grid-column:2;grid-row:1 / span 3;gap:18px}.story-panel>.eyebrow{grid-column:1}.story-bottom{margin-top:15px;grid-column:1;padding-top:14px}.review-layout{grid-template-columns:1fr}.source-paper-wrap{max-height:430px}.review-heading h1{font-size:31px}.flow-overview{grid-template-columns:1fr}.flow-card{padding:23px;display:grid;grid-template-columns:50px 1fr;gap:0 18px}.flow-card .step{grid-row:1/span 2}.flow-card h2{font-size:23px;margin-top:5px;margin-bottom:5px}.flow-card p{margin:4px 0}.code-card-main{padding:22px}.source-paper{padding:30px}.review-column{margin-top:4px}.heading-actions{padding-top:0}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .22s;box-shadow:12px 0 40px #1e38241a;width:234px}.sidebar.open{transform:translateX(0)}.sidebar-backdrop{position:fixed;inset:0;background:#19372755;z-index:19;backdrop-filter:blur(2px)}.main-shell{margin-left:0;width:100%}.mobile-menu{display:inline-flex}.topbar{padding-inline:18px;height:65px;min-height:65px}.breadcrumb{gap:9px;font-size:10px}.breadcrumb>span:first-of-type{display:none}.slash{display:none}.topbar-right{gap:10px}.top-help{display:none}.preview-badge{font-size:9px}.top-avatar{width:27px;height:27px;font-size:9px}main{padding:26px 19px 18px}.heading-row{margin-bottom:23px}.heading-row h1{font-size:39px;letter-spacing:-1.3px;margin-top:10px}.heading-row p{font-size:11px;line-height:1.9;max-width:340px}.eyebrow{font-size:8px;letter-spacing:1.3px}.heading-actions .button{font-size:10px;min-height:37px;padding:9px 11px}.heading-actions .button span{display:none}.heading-actions .only-tag{display:none}.upload-panel{padding:20px}.drop-zone{min-height:200px}.story-panel{padding:22px;grid-template-columns:1fr 1.5fr;gap:0 18px}.story-panel h2{font-size:26px}.story-panel .eyebrow{font-size:7px}.workflow-list p{font-size:9px}.workflow-list strong{font-size:10px}.workflow-list{gap:18px}.workflow-list li{gap:10px}.workflow-number{width:22px;height:22px;font-size:9px}.story-bottom{font-size:8px;line-height:1.7}.list-header,.document-row{grid-template-columns:minmax(0,1fr) .8fr 15px;gap:10px;padding-inline:16px}.doc-row-date,.list-header .date-header{display:none}.document-row{min-height:82px}.doc-row-main strong{font-size:10px}.doc-row-main small{font-size:8px}.status{font-size:8px;padding:5px 6px}.doc-row-main{gap:10px}.app-footer{padding:17px 20px 23px;font-size:8px;flex-wrap:wrap;gap:6px}.toast{left:50%;bottom:20px;font-size:10px}.review-heading{flex-wrap:wrap;gap:15px}.review-heading h1{font-size:32px}.review-heading .heading-actions{width:100%}.review-heading .heading-actions .button span{display:inline}.review-heading .heading-actions .button{min-height:39px}.review-meta{font-size:9px;gap:8px}.review-meta>span+span:before{margin-right:8px}.back-link{margin-bottom:15px}.source-paper-wrap{padding:16px;max-height:415px}.source-paper{padding:25px 23px}.review-layout{gap:20px}.sample-strip{align-items:flex-start;font-size:8px}.sample-strip a{white-space:nowrap;font-size:8px}.section-heading{margin-top:25px}.section-heading h2{font-size:12px}.search-field{min-width:0;width:100%;margin-top:5px}.documents-heading{flex-wrap:wrap}.documents-heading .heading-actions{width:100%}.flow-overview{margin-top:23px}.dialog{padding:23px;max-height:calc(100dvh - 30px);overflow-y:auto}.dialog h2{font-size:27px}.dialog-copy{font-size:11px}.dialog .button{font-size:10px;padding-inline:12px}.dialog-actions{margin-top:20px}.form-grid{gap:12px}.review-summary{gap:13px;padding:12px}.preview-notice{font-size:9px}.export-option small{font-size:9px}.preview-notice svg{width:13px}.main-nav a{min-height:44px}.icon-button{min-width:40px;min-height:40px}.profile-avatar{width:35px;height:35px}.result-tabs button{min-height:44px}.evidence-chip{min-height:42px}}
@media(max-width:440px){.heading-row h1{font-size:35px}.heading-row .heading-actions{margin-left:auto}.home-heading{gap:8px}.home-heading .button{width:36px;height:36px;padding:8px;min-height:36px}.home-heading .button>svg{width:17px;height:17px}.home-heading .button>.desktop-label{display:none}.home-heading{position:relative;padding-right:0}.home-heading>div:first-child{max-width:calc(100% - 33px)}.home-heading p{max-width:300px}.home-heading .heading-actions{position:absolute;right:0;top:0}.story-panel{display:block}.story-panel h2{font-size:28px;max-width:260px;margin-bottom:22px}.workflow-list{gap:20px}.workflow-list strong{font-size:11px}.workflow-list p{font-size:10px;max-width:none}.workflow-number{width:26px;height:26px;font-size:10px}.story-bottom{font-size:9px;margin-top:21px}.sample-invite{gap:9px}.sample-invite button{font-size:9px;padding-inline:7px}.sample-invite strong{font-size:10px}.sample-invite p{font-size:8px}.sample-invite .sample-icon{width:30px;height:35px}.sample-invite .button svg{width:13px}.sample-invite .sample-text{min-width:0}.panel-heading h2{font-size:12px}.small-badge{font-size:8px;padding:3px 5px}.drop-zone strong{font-size:12px}.list-header,.document-row{grid-template-columns:minmax(0,1fr) 105px 10px;gap:7px}.status{font-size:7px;padding:5px}.doc-row-main{gap:8px}.doc-file-icon{width:25px;height:31px}.section-heading a{font-size:9px}.source-paper{font-size:10px;padding:22px 19px}.source-paper h3{font-size:22px}.source-toolbar{padding:14px 15px}.source-paper-wrap{padding:13px}.review-meta{max-width:100%}.review-meta>span{white-space:nowrap}.review-heading h1{font-size:30px}.code-card-main{padding:20px}.evidence-section{padding:17px 20px}.code-card-actions{padding:14px 15px}.code-card-actions .button{font-size:9px}.review-summary small{font-size:7px}.form-grid{grid-template-columns:1fr}.dialog-actions{flex-wrap:wrap}.dialog-actions .primary{flex:1}.sample-strip{flex-wrap:wrap}.flow-card{grid-template-columns:35px 1fr;gap:0 12px}.flow-card .step{font-size:28px}.flow-card h2{font-size:22px}.flow-card p{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Readability and full-width upload treatment. */
.drop-zone{width:100%}.workflow-list p,.sample-invite p,.doc-row-main small{color:#6e7b65}.code-rationale{color:#68785f}.evidence-chip{font-size:11px}.reference-note{font-size:10px;color:#806b3d}.checks-disclaimer{color:#78846d}.source-toolbar h2,.results-topline h2{font-size:12px}.preview-badge{color:#62734e}.main-nav a{font-size:13px}.button{font-size:12px}.heading-row p{font-size:13px}.workflow-list strong{font-size:12px}.workflow-list p{font-size:11px}.sample-invite strong{font-size:12px}.doc-row-main strong{font-size:12px}.doc-row-main small{font-size:10px}.status{font-size:10px}.source-paper{font-size:12px}.code-card h3{font-size:14px}.code-rationale{font-size:12px}.review-insight p{font-size:10px}.code-card-actions .button{font-size:11px}
@media(max-width:440px){.heading-row p{font-size:12px}.main-nav a{font-size:13px}.doc-row-main strong{font-size:11px}.doc-row-main small{font-size:9px}.status{font-size:8px}.sample-invite strong{font-size:11px}.sample-invite p{font-size:9px}.source-paper{font-size:11px}.evidence-chip{font-size:10px}.code-card-actions .button{font-size:10px}}

/* Live product additions. Everything above is the approved design, byte for byte; the rules below only style elements the design did not have, with its tokens. */
.profile-text{min-width:0}
.profile-text strong{overflow-wrap:anywhere}
.profile-role:not(:empty)::after{content:" \00b7  "}
.meta-link{border:0;background:none;padding:0;font:inherit;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.meta-link:hover{color:var(--forest)}
.form-error{font-size:10px;line-height:1.8;background:var(--amber-bg);border:1px solid #e9dfc6;border-radius:7px;padding:11px 12px;color:var(--amber);margin:16px 0 0;overflow-wrap:anywhere}
.paste-toggle{min-height:30px;padding-block:2px;text-decoration:underline;text-underline-offset:3px}
.paste-field{margin-top:18px}
.paste-field textarea{min-height:150px;margin-bottom:6px}
.form-grid select:disabled{background:#f7f9f2;color:#647257;opacity:1;cursor:not-allowed}
.source-paper+.source-paper{margin-top:16px}
.source-paper .source-text{white-space:pre-wrap;overflow-wrap:anywhere}
.source-paper h3,.review-heading h1,.review-summary strong,.code-rationale,.clarification-question,.reference-note span,.evidence-chip span,.check-item p,.timeline-entry p,.timeline-entry strong,.export-status{overflow-wrap:anywhere}
.source-paper-wrap>.reference-note:first-child{margin-top:0}
.source-bottom a{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#5b7350;font-weight:500;white-space:nowrap}
.source-bottom a svg{width:12px;height:12px}
.card-stack{display:grid;gap:16px}
.card-empty{font-size:10px;color:var(--muted);line-height:1.8;margin:2px 0 0}
.code-card:focus{outline:none}
.code-card:focus-visible{outline:3px solid #83b6a3;outline-offset:4px}
.code-card-main .clarification-question{margin:16px 0 0}
.clarification-question .button{margin-top:12px}
.clarification-reason{display:block;font-size:10px;color:#9a875b;margin-top:6px}
.code-card .review-insight{padding:14px 20px;border-top:1px solid #e9ede1;background:#fdfefa}
.evidence-chip.unlocated{cursor:default;background:var(--amber-bg);border-color:#ece5d4;color:#806b3d}
.check-item.muted>svg{color:#a0a88f}
.check-item.running>svg{animation:studio-pulse 1.6s ease-in-out infinite}
@keyframes studio-pulse{50%{opacity:.35}}
.check-source{display:block;font-size:9px;color:#9aa18f;margin-top:4px;line-height:1.7;overflow-wrap:anywhere}
.check-item .button{margin-top:10px;min-height:34px;padding:7px 10px;font-size:11px}
.check-list-card .evidence-label,.timeline-card .evidence-label{margin-bottom:4px}
.progress-card .panel-heading{margin-bottom:6px}
.progress-actions{display:flex;align-items:center;gap:12px;margin-top:16px;padding-top:16px;border-top:1px solid #edf0e5}
.progress-actions p{font-size:10px;color:var(--muted);margin:0;line-height:1.7}
.clarification-card form{margin-top:4px}
.clarification-card .field-label textarea{margin-bottom:12px}
.export-group{margin-top:16px}
.export-group .evidence-label{margin-bottom:0}
.export-option:disabled{cursor:not-allowed}
.timeline-entry s{color:#929d87}
.login-body{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.login-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px 30px;box-shadow:0 25px 100px #0d281c14}
.login-card .brand{margin-bottom:30px;padding:0}
.login-card h1{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.15;font-weight:400;letter-spacing:-1px;margin:12px 0 6px}
.login-card .dialog-copy{margin:0 0 6px}
.login-card .form-error{margin:12px 0 0}
.login-form{display:grid;gap:14px;margin-top:20px}
.login-form .field-label input{display:block;width:100%;margin-top:7px;border:1px solid #dfe5d5;background:#fff;border-radius:6px;padding:10px 11px;color:#3f4b40;font-size:12px;min-height:41px}
.login-form .button{width:100%;margin-top:4px}
.login-footnote{display:flex;justify-content:center;margin:24px 0 0}

@media(max-width:760px){.profile .meta-link{padding-block:8px}
.source-bottom{flex-wrap:wrap}
.progress-actions{flex-wrap:wrap}
}

@media(max-width:440px){.how-heading{flex-wrap:wrap}
.login-card{padding:26px 20px}
.login-card h1{font-size:30px}
}
