@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 own colours and type. */
.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,.review-summary small,.clarification-question,.reference-note span,.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-empty{font-size:10px;color:var(--muted);line-height:1.8;margin:2px 0 0}
.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}
.export-group{margin-top:16px}
.export-group .evidence-label{margin-bottom:0}
.export-option:disabled{cursor:not-allowed}
.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}
}

/* Customer review page (2026-11-03): the codes-first list, "Why this code?", the details panel, one progress panel,
   the checks, the upload acknowledgement and the update notice. Results come first in the page; on wide screens the
   document stays at the left, as the approved design places it. */
.update-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 42px;background:var(--amber-bg);border-bottom:1px solid #e9dfc6;color:var(--amber);font-size:12px;line-height:1.6}
.update-notice span{overflow-wrap:anywhere}
.upload-status{font-size:11px;line-height:1.7;color:var(--teal);margin:14px 0 0}
.list-search{margin-bottom:18px}
.review-meta .status{vertical-align:middle}
.review-column>*+*{margin-top:16px}
.review-layout>.review-column{min-width:0}

.progress-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:var(--shadow)}
.progress-head{display:flex;gap:12px;align-items:flex-start}
.progress-icon{width:34px;height:34px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--forest);flex-shrink:0}
.progress-icon svg{width:17px;height:17px}
.progress-panel[data-phase="action_needed"] .progress-icon,.progress-panel[data-phase="failed"] .progress-icon,.progress-panel[data-phase="being_confirmed"] .progress-icon,.progress-panel[data-phase="stopped"] .progress-icon{background:var(--amber-bg);color:var(--amber)}
.progress-status{min-width:0}
.progress-status h2{font-size:14px;font-weight:600;margin:5px 0 0;line-height:1.4}
.progress-message{font-size:12px;line-height:1.7;color:#5f6f55;margin:4px 0 0;overflow-wrap:anywhere}
.progress-message.slow{color:var(--amber)}
.progress-steps{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.progress-step{display:flex;gap:11px;align-items:center;min-height:30px}
.step-mark{width:24px;height:24px;border-radius:50%;border:1.5px solid #cfd8c4;display:grid;place-items:center;flex-shrink:0;background:#fff;color:#fff}
.step-mark svg{width:13px;height:13px}
.progress-step[data-state="done"] .step-mark{background:var(--forest);border-color:var(--forest)}
.progress-step[data-state="active"] .step-mark{border-color:var(--teal);color:var(--teal)}
.progress-step[data-state="failed"] .step-mark,.progress-step[data-state="stopped"] .step-mark{border-color:var(--amber);background:var(--amber-bg);color:var(--amber)}
.step-text{min-width:0}
.step-text strong{display:block;font-size:12px;font-weight:500;line-height:1.4}
.step-text small{display:block;font-size:11px;color:var(--muted);line-height:1.5}
.progress-step[data-state="waiting"] .step-text strong,.progress-step[data-state="not_started"] .step-text strong,.progress-step[data-state="skipped"] .step-text strong{color:var(--muted);font-weight:400}
.progress-panel[data-phase="processing"] .progress-step.is-animated .step-mark,.progress-panel[data-phase="queued"] .progress-step.is-animated .step-mark,.progress-panel[data-phase="processing"] .progress-icon.is-animated svg,.progress-panel[data-phase="queued"] .progress-icon.is-animated svg,.progress-panel[data-phase="uploading"] .progress-icon.is-animated svg{animation:studio-step 1.6s ease-in-out infinite}
@keyframes studio-step{50%{opacity:.35}}
.progress-time{font-size:11px;color:var(--muted);margin:14px 0 0;font-variant-numeric:tabular-nums}
.progress-time span{color:var(--ink);font-weight:500}
.progress-reconnecting{font-size:11px;color:var(--amber);margin:8px 0 0}
.progress-error{display:flex;gap:9px;margin-top:14px;background:var(--amber-bg);border:1px solid #e9dfc6;border-radius:8px;padding:12px;color:var(--amber);font-size:12px;line-height:1.7}
.progress-error>svg{width:15px;height:15px;margin-top:3px}
.progress-error>div{min-width:0}
.progress-error p{margin:0;overflow-wrap:anywhere}
.progress-error .button{margin-top:10px}
.leave-note{font-size:11px;color:#55704a;background:var(--soft);border-radius:7px;padding:9px 11px;margin:14px 0 0;line-height:1.6}
.progress-done{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;box-shadow:none}
.progress-done>svg{width:16px;height:16px;color:var(--teal);margin-top:2px}
.progress-done>div{min-width:0}
.progress-done[data-phase="partial"]>svg{color:var(--amber)}
.progress-summary{font-size:12px;margin:0;color:#5f6f55;line-height:1.6}
.progress-summary strong{color:var(--ink);font-weight:600}
.progress-summary span{font-variant-numeric:tabular-nums}

.upload-ack{display:flex;gap:10px;align-items:flex-start;background:#eef4e6;border:1px solid #dae7c7;border-radius:9px;padding:11px 13px;margin:14px 0 0;color:#4f6b3f}
.upload-ack>svg{width:16px;height:16px;margin-top:2px}
.upload-ack strong{display:block;font-size:12px;font-weight:600}
.upload-ack p{font-size:11px;margin:2px 0 0;line-height:1.6}
.ack-column{max-width:640px}
.ack-column>.upload-ack{margin-top:0}

.checks-panel{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.check-step{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:6px 11px;min-height:44px}
.check-step>svg{width:15px;height:15px;color:var(--teal)}
.check-step strong{display:block;font-size:11px;font-weight:500}
.check-step small{display:block;font-size:10px;color:var(--muted)}
.check-step[data-state="unavailable"]>svg,.check-step[data-state="not_run"]>svg{color:var(--amber)}
.check-step[data-state="waiting"]>svg,.check-step[data-state="running"]>svg{color:var(--muted)}

.details-panel{background:#fff;border:1px solid #ece5d4;border-radius:12px;padding:18px 20px;box-shadow:var(--shadow)}
.details-head{display:flex;gap:12px;align-items:flex-start}
.details-head>svg{width:34px;height:34px;padding:8px;border-radius:10px;background:var(--amber-bg);color:var(--amber)}
.details-head>div{min-width:0}
.details-head h2{font-size:14px;font-weight:600;margin:5px 0 0}
.details-head p{font-size:12px;color:#5f6f55;margin:4px 0 0;line-height:1.7}
.detail-row{border:0;border-top:1px solid #edf0e5;margin:14px 0 0;padding:14px 0 0;min-width:0;min-inline-size:0}
.detail-family{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#9a875b}
.detail-lead{display:block;margin:0;padding:0;width:100%;min-width:0}
.detail-prompt{display:block;font-size:13px;line-height:1.6;color:var(--ink);margin:4px 0 0;padding:0;font-weight:500;overflow-wrap:anywhere}
.detail-affects{font-size:11px;color:var(--muted);margin:3px 0 0}
.detail-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:flex-end}
.detail-choice{white-space:normal;text-align:left;min-height:44px}
.button.detail-choice[aria-pressed="true"],.button.detail-choice[aria-pressed="true"]:hover{background:var(--forest);border-color:var(--forest);color:#fff}
.detail-radio{display:flex;align-items:center;gap:8px;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:12px;cursor:pointer;min-width:0}
.detail-radio input{accent-color:var(--forest);width:16px;height:16px;margin:0;flex-shrink:0}
.detail-radio:has(input:checked){border-color:var(--forest);background:var(--soft)}
.detail-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.detail-document-date,.detail-entered-date{border:1px solid var(--line);border-radius:8px;padding:10px 12px;min-width:0;background:#fcfcf8}
.detail-entered-date{border-style:dashed}
.detail-date-label{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
.detail-dates strong{display:block;font-size:14px;font-weight:600;margin-top:2px}
.detail-quote{display:block;font-size:11px;color:#5f6f55;margin-top:4px;overflow-wrap:anywhere}
.detail-date-input{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#6b7b5d}
.detail-date-input input{min-height:44px;border:1px solid #dfe5d5;border-radius:6px;padding:8px 10px;font-size:12px;color:var(--ink);background:#fff;max-width:100%}
.detail-addendum{white-space:normal;text-align:left;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.detail-saved{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:12px;color:#4f6b3f;background:#eef4e6;border-radius:7px;padding:8px 11px;margin:10px 0 0;line-height:1.6}
.detail-saved>svg{width:14px;height:14px}
.detail-saved>span{min-width:0;overflow-wrap:anywhere}
.detail-saved .meta-link{min-height:32px}
.detail-wait{font-size:11px;color:var(--muted);margin:8px 0 0}
.details-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #edf0e5}
.details-actions p{font-size:11px;color:var(--muted);margin:0;line-height:1.6;flex:1 1 180px}

.results-topline{justify-content:flex-start;gap:8px}
.results-empty{background:#fff;border:1px dashed #d4ddca;border-radius:12px;padding:22px 18px;text-align:center;font-size:12px;color:var(--muted);margin:0;line-height:1.7}
.result-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.result-row{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;box-shadow:var(--shadow);min-width:0}
.result-row:focus{outline:none}
.result-row:focus-visible{outline:3px solid #83b6a3;outline-offset:3px}
.result-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.result-number{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.result-number::after{content:"."}
.result-code{font-size:26px;letter-spacing:-.8px;color:var(--forest);font-variant-numeric:tabular-nums;line-height:1.15}
.result-units,.result-modifiers{font-size:11px;color:var(--muted)}
.result-modifiers{color:var(--teal);font-weight:500}
.result-units:empty,.result-modifiers:empty,.result-sub:empty{display:none}
.result-head .status{margin-left:auto;align-self:center;font-size:11px;padding:4px 8px}
.result-sub{font-size:11px;line-height:1.6;color:#806b3d;margin:6px 0 0;overflow-wrap:anywhere}
.result-row[data-status="approved"] .result-sub{color:#55704a}
.result-row[data-status="excluded"] .result-sub{color:var(--muted)}
.result-summary{font-size:13px;line-height:1.65;color:#3f4b40;margin:6px 0 0;overflow-wrap:anywhere}
.result-row[data-status="excluded"] .result-code{color:#79816e}
.result-decision{display:flex;gap:9px;margin-top:10px;font-size:11px;line-height:1.6;color:#687a5b;background:#fafbf6;border-radius:8px;padding:9px 11px}
.result-decision>svg{width:15px;height:15px;margin-top:2px}
.result-decision>div{min-width:0}
.result-decision strong{display:block;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.result-decision p{margin:2px 0 0;overflow-wrap:anywhere}
.result-foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 12px;margin-top:8px;border-top:1px solid #edf0e5;padding-top:4px}
.why-code{flex:1 1 auto;min-width:0}
.why-code[open]{flex-basis:100%}
.why-code>summary{cursor:pointer;display:inline-flex;align-items:center;min-height:44px;font-size:12px;font-weight:500;color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.why-code>summary:focus-visible,.other-codes>summary:focus-visible,.activity-log>summary:focus-visible{outline:3px solid #83b6a3;outline-offset:2px}
.why-body{padding:0 0 4px}
.why-label{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:2px 0 6px}
.why-quotes{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.why-quote{display:block;width:100%;text-align:left;font:inherit;font-size:12px;line-height:1.65;color:#40592f;background:#f0f5e7;border:1px solid #e1e9d3;border-radius:7px;padding:9px 11px;min-height:44px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.why-quote::before{content:"\201C"}
.why-quote::after{content:"\201D  \00b7  page " attr(data-page);color:#7a8672}
.why-quote:hover,.why-quote.selected{background:#e3efca;border-color:#bdcf9a}
.why-quote.unlocated{cursor:default;background:var(--amber-bg);border-color:#ece5d4;color:#806b3d}
.why-quote.unlocated::after{content:"\201D"}
.why-unlocated{display:block;font-size:10px;color:var(--amber);margin-top:3px}
.why-qualifications{margin:10px 0 0;padding-left:18px;font-size:12px;line-height:1.65;color:#5f6f55}
.why-qualification+.why-qualification{margin-top:4px}
.why-modifier{margin-top:10px;background:var(--blue);border-radius:8px;padding:10px 12px;font-size:12px;line-height:1.65;color:#3f4b40}
.why-modifier strong{font-weight:600}
.why-modifier p{margin:4px 0 0;overflow-wrap:anywhere}
.why-sources{font-size:11px;color:var(--muted)}
.result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.result-actions .button{min-height:44px}
.review-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;background:#fafbf6;border:1px solid var(--line);border-radius:12px;padding:14px 16px}
.review-bar>div{min-width:0;flex:1 1 220px}
.review-tally{font-size:13px;font-weight:600;margin:0}
.review-readiness{font-size:11px;color:var(--muted);margin:3px 0 0;line-height:1.6}
.result-notes{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px}
.result-notes h3{font-size:12px;font-weight:600;margin:0 0 8px}
.result-notes ul{margin:0;padding-left:18px;font-size:12px;line-height:1.65;color:#5f6f55}
.result-notes li{overflow-wrap:anywhere}
.result-notes li+li{margin-top:4px}
.result-notes ul+h3{margin-top:14px}
.not-coded ul{list-style:none;padding:0}
.not-coded li strong{display:block;font-weight:500;color:var(--ink)}
.not-coded li span{display:block}
.other-codes,.activity-log{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 18px}
.other-codes>summary,.activity-log>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:12px;font-weight:500;color:var(--ink)}
.other-codes ul,.activity-log ol{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:8px;font-size:12px;line-height:1.6;color:#5f6f55}
.other-codes li{display:flex;gap:12px;align-items:baseline}
.other-codes li span:last-child{min-width:0;overflow-wrap:anywhere}
.other-code{font-variant-numeric:tabular-nums;font-weight:600;color:var(--ink);min-width:52px}
.activity-log li strong{display:block;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.activity-log li small{display:block;font-size:11px;color:var(--muted)}

.review-modifier select{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:44px}
.review-modifier .field-help{display:block;margin:8px 0 16px}
.export-blockers{margin-top:10px;font-size:11px;color:var(--amber);background:var(--amber-bg);border-radius:7px;padding:10px 12px;line-height:1.6}
.export-blockers p{margin:0;font-weight:500}
.export-blockers ul{margin:4px 0 0;padding-left:18px}
.report-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px;font-size:12px}
.report-item{min-width:0}
.report-item a{color:var(--teal);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.report-item span{overflow-wrap:anywhere}
.report-item small{display:block;font-size:10px;color:var(--muted);margin-top:2px;line-height:1.6}
.report-item.stale>span{color:var(--muted);text-decoration:line-through}

@media(min-width:1001px){.review-layout>.source-panel{order:-1;position:sticky;top:16px}
}

@media(max-width:760px){.update-notice{padding:10px 18px;flex-wrap:wrap}
.button,.icon-button,.heading-actions .button,.review-heading .heading-actions .button,.sample-invite button,.dialog .button{min-height:44px}
.icon-button{min-width:44px}
.back-link,.source-bottom a,.paste-toggle{min-height:44px}
.search-field{min-height:44px;padding-block:0}
.search-field input{min-height:42px}
.section-heading a{min-height:44px}
.form-grid select,.form-grid input{min-height:44px}
.review-heading .heading-actions .button{flex:1 1 auto}
.progress-panel,.details-panel{padding:16px}
.result-row{padding:14px}
.result-code{font-size:24px}
.detail-dates{grid-template-columns:1fr}
.review-bar .button{flex:1 1 100%}
.detail-saved .meta-link{min-height:44px;display:inline-flex;align-items:center}
}

@media(max-width:440px){.review-meta>span{white-space:normal}
.home-heading .button{width:44px;height:44px;min-height:44px}
.details-actions .button,.result-actions .button{flex:1 1 auto}
.result-head .status{margin-left:0}
}
/* completion repair (2026-11-06, U10/U11): a question's statement and passages; earlier answers, kept and not applied */
.detail-question{margin:8px 0 0}
.detail-statement{font-size:12px;color:#3d4a36;margin:0}
.detail-passages-label{font-size:11px;color:var(--muted);margin:6px 0 2px}
.detail-passages{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.detail-passages .detail-quote{margin-top:0}
.detail-page{display:inline-block;font-size:10px;color:var(--muted);margin-left:6px}
.earlier-answers{margin-top:14px;border-top:1px solid #ece5d4;padding-top:10px}
.earlier-answers h3{font-size:12px;margin:0 0 6px}
.earlier-answers ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.earlier-answer{display:grid;gap:2px;font-size:12px;overflow-wrap:anywhere}
.earlier-why{color:var(--muted);font-size:11px}
/* FINAL-V2 amendment 1 (step 5d): the codes are updated after a save - what was saved, the earlier codes (read-only,
   greyed), what changed, earlier decisions and earlier downloads */
.update-saved{margin:10px 0 0;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:12px;line-height:1.6}
.update-changes{list-style:none;margin:0;padding:0;display:grid;gap:2px;overflow-wrap:anywhere}
.update-saved-by{margin:4px 0 0;color:var(--muted);font-size:11px}
.earlier-codes{background:#fbfbf7;border:1px dashed var(--line);border-radius:12px;padding:14px 18px;display:grid;gap:12px}
.earlier-head h2{font-size:14px;font-weight:600;margin:0}
.earlier-made{margin:4px 0 0;font-size:12px;color:var(--muted);line-height:1.6}
/* the earlier codes' own list and rows (never .result-list/.result-row: the walk reads those as the current codes) */
.earlier-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.earlier-row{background:#f6f6f1;border:1px solid var(--line);border-radius:12px;padding:16px 18px;min-width:0;opacity:.72}
.earlier-row .result-code{color:#5f6f55}
.earlier-row[data-status="excluded"] .result-sub{color:var(--muted)}
.earlier-codes .result-notes,.earlier-codes .other-codes{background:transparent}
.detail-saved-value{margin:6px 0 0;font-size:12px;color:#3d4a36}
.what-changed{background:#fff;border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:12px;padding:14px 18px}
.what-changed h2{font-size:14px;font-weight:600;margin:0}
.what-changed-compared{margin:4px 0 8px;font-size:11px;color:var(--muted)}
.what-changed-list,.what-changed-decisions{margin:0;padding-left:18px;font-size:12px;line-height:1.65;color:#3d4a36}
.what-changed-list li,.what-changed-decisions li{overflow-wrap:anywhere}
.what-changed-decisions{margin-top:8px}
.what-changed-answers{margin:8px 0 0;font-size:12px;color:var(--amber);background:var(--amber-bg);border-radius:8px;padding:8px 10px}
.earlier-decisions{background:#fff;border:1px solid var(--line);border-radius:12px;padding:0 18px}
.earlier-decisions>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-size:12px;font-weight:500;color:var(--ink)}
.earlier-decisions>summary:focus-visible{outline:3px solid #83b6a3;outline-offset:2px}
.earlier-decisions ol{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:10px;font-size:12px;line-height:1.6;color:#5f6f55}
.earlier-decisions li strong{display:block;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.earlier-decisions li small{display:block;font-size:11px;color:var(--muted)}
.earlier-decisions li p{margin:2px 0 0}
.report-item.earlier small{color:var(--amber)}
.update-export-note p{font-weight:400}
@media(max-width:760px){.earlier-codes,.what-changed{padding:14px}
.earlier-row{padding:14px}
.earlier-decisions>summary{min-height:44px}
}

/* Coding review page (2026-11-20): the original document in an in-page viewer with its quoted passages, the progress
   steps, questions for you, the codes with the second check, and documentation notes. Elements the approved design did
   not have, in its own colours and type; the rules above stay as they are. */
.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.status.amber-outline{background:#fff;border:1px solid #e3cf9f;color:#9b7c44}

.review-layout>.viewer-column{min-width:0;display:grid;gap:16px;align-content:start}
.viewer-panel{background:#eeefe8;border:1px solid var(--line);border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.viewer-toolbar{padding:14px 18px;display:flex;align-items:center;gap:9px;background:#fafbf6;border-bottom:1px solid var(--line);min-width:0}
.viewer-toolbar>svg{width:15px;height:15px;color:#88957d}
.viewer-toolbar h2{font-size:12px;margin:0;font-weight:500;white-space:nowrap}
.viewer-name{margin-left:auto;font-size:11px;color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.viewer-frame{display:block;width:100%;height:min(72vh,820px);min-height:380px;border:0;background:#fff}
.viewer-empty{display:flex;gap:9px;align-items:flex-start;margin:18px;padding:14px 16px;background:#fff;border:1px dashed #d4ddca;border-radius:10px;font-size:12px;line-height:1.7;color:#5f6f55}
.viewer-empty>svg{width:15px;height:15px;margin-top:3px;color:var(--amber)}
.viewer-bottom{font-size:11px;color:#6e7b65;padding:10px 18px;border-top:1px solid #dfe5d6;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;background:#fafbf6}
.viewer-download{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:var(--teal);font-weight:500;text-decoration:underline;text-underline-offset:3px;white-space:nowrap;min-height:32px}
.viewer-download svg{width:13px;height:13px}

.quotes-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;min-width:0}
.quotes-head{display:flex;align-items:center;gap:8px}
.quotes-head h2{font-size:12px;font-weight:600;margin:0}
.quotes-lead,.quotes-empty{font-size:11px;color:var(--muted);line-height:1.6;margin:4px 0 10px}
.quotes-empty{margin-bottom:0}
.quote-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.quote,.code-quote{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;width:100%;text-align:left;font:inherit;font-size:12px;line-height:1.6;color:#40592f;background:#f0f5e7;border:1px solid #e1e9d3;border-radius:7px;padding:8px 11px;min-height:44px;cursor:pointer;overflow-wrap:anywhere}
.quote:hover,.quote.selected,.code-quote:hover,.code-quote.selected{background:#e3efca;border-color:#bdcf9a}
.quote-code{font-weight:600;color:var(--forest);font-variant-numeric:tabular-nums}
.quote-text{flex:1 1 200px;min-width:0}
.quote-page{font-size:11px;color:#6e7b65;white-space:nowrap}
.quote-page:empty{display:none}

.progress-compact{padding:12px 16px;box-shadow:none}
.progress-compact .progress-head{align-items:center}
.progress-compact .progress-head>svg{width:16px;height:16px;color:var(--teal)}
.progress-compact .progress-steps{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px}
.progress-compact .progress-step{min-height:0;gap:6px}
.progress-compact .step-mark{width:18px;height:18px}
.progress-compact .step-mark svg{width:11px;height:11px}
.progress-compact .step-text small{display:none}
.progress-step[data-state="unknown"] .step-text strong{color:var(--muted);font-weight:400}
.progress-panel[data-phase="reading"] .progress-step.is-animated .step-mark,.progress-panel[data-phase="checking"] .progress-step.is-animated .step-mark,.progress-panel[data-phase="reading"] .progress-icon.is-animated svg,.progress-panel[data-phase="checking"] .progress-icon.is-animated svg{animation:studio-step 1.6s ease-in-out infinite}

.questions-panel{background:#fff;border:1px solid #ece5d4;border-radius:12px;padding:18px 20px;box-shadow:var(--shadow);min-width:0}
.questions-head{display:flex;gap:12px;align-items:flex-start}
.questions-head>svg{width:34px;height:34px;padding:8px;border-radius:10px;background:var(--amber-bg);color:var(--amber)}
.questions-head>div{min-width:0}
.questions-head h2{font-size:14px;font-weight:600;margin:5px 0 0}
.questions-head p{font-size:12px;color:#5f6f55;margin:4px 0 0;line-height:1.7}
.question-list{list-style:none;margin:0;padding:0}
.question-row{border-top:1px solid #edf0e5;margin-top:14px;padding-top:14px;min-width:0}
.question-label{display:block;margin:0}
.question-number{display:block;font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#9a875b}
.question-text{display:block;font-size:13px;line-height:1.6;color:var(--ink);font-weight:500;margin-top:3px;white-space:pre-line;overflow-wrap:anywhere}
.question-codes{font-size:11px;color:var(--muted);margin:3px 0 0}
.question-answer{display:block;width:100%;margin-top:10px;border:1px solid #dfe5d5;background:#fff;border-radius:6px;padding:10px 11px;color:var(--ink);font-size:12px;line-height:1.7;min-height:80px;resize:vertical}
.questions-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #edf0e5}
.questions-actions p{font-size:11px;color:var(--muted);margin:0;line-height:1.6;flex:1 1 220px}

.answers-panel,.notes-panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 18px;min-width:0}
.answers-panel h2,.notes-panel h2{font-size:12px;font-weight:600;margin:0}
.answers-panel>p,.notes-panel>p{font-size:11px;color:var(--muted);margin:3px 0 0;line-height:1.6}
.answer-list{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:10px}
.answer-item{border-left:2px solid #d4ddca;padding-left:10px;min-width:0}
.answer-question{font-size:12px;color:#5f6f55;margin:0;overflow-wrap:anywhere}
.answer-text{font-size:13px;color:var(--ink);margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.answer-item small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.notes-list{margin:8px 0 0;padding-left:18px;font-size:12px;line-height:1.65;color:#3d4a36}
.notes-list li{overflow-wrap:anywhere;white-space:pre-line}
.notes-list li+li{margin-top:4px}

.codes-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.code-row{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px;box-shadow:var(--shadow);min-width:0}
.code-row:focus{outline:none}
.code-row:focus-visible{outline:3px solid #83b6a3;outline-offset:3px}
.code-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.code-row .code-number{display:inline;font-size:26px;letter-spacing:-.8px;line-height:1.15}
.code-units,.code-modifiers{font-size:11px;color:var(--muted)}
.code-modifiers{color:var(--teal);font-weight:500}
.code-units:empty{display:none}
.code-head .status{margin-left:auto;align-self:center;font-size:11px;padding:4px 8px}
.code-row[data-decision="reject"] .code-number,.code-row[data-status="not_supported"] .code-number{color:#79816e}
.code-reason{font-size:13px;line-height:1.65;color:#3f4b40;margin:8px 0 0;white-space:pre-line;overflow-wrap:anywhere}
.code-check,.code-question{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.code-check{color:#4f6b3f;background:#eef4e6;border-radius:8px;padding:8px 10px}
.code-check>svg,.code-question>svg{width:14px;height:14px;margin-top:3px}
.code-check>span,.code-question>span{min-width:0;white-space:pre-line}
.code-check strong{font-weight:600}
.code-check[data-check="disagrees"]{background:var(--amber-bg);color:#806b3d}
.code-check[data-check="none"]{background:#f6f6f1;color:#5f6f55}
.code-question{color:#806b3d}
.code-quotes{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.code-quotes-empty{font-size:11px;color:var(--muted)}
.code-decision{display:flex;gap:9px;margin-top:10px;font-size:11px;line-height:1.6;color:#687a5b;background:#fafbf6;border-radius:8px;padding:9px 11px}
.code-decision>svg{width:15px;height:15px;margin-top:2px}
.code-decision>div{min-width:0}
.code-decision strong{display:block;font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.code-decision p{margin:2px 0 0;overflow-wrap:anywhere}
.code-hint{font-size:11px;color:var(--muted);margin:8px 0 0}
.code-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin-top:10px;padding-top:10px;border-top:1px solid #edf0e5}
.code-actions .button{min-height:44px}

@media(min-width:1001px){.review-layout>.viewer-column{order:-1;position:sticky;top:16px;height:calc(100vh - 32px);min-height:560px;display:flex;flex-direction:column}
.viewer-column>.viewer-panel{flex:1 1 auto;min-height:0}
.viewer-column .viewer-frame{flex:1 1 auto;height:auto;min-height:0}
.viewer-column>#quotesBox{flex:0 1 auto;max-height:36%;overflow-y:auto;min-height:0}
}

@media(max-width:760px){.form-grid.three{grid-template-columns:1fr 1fr}
.questions-panel{padding:16px}
.code-row{padding:14px}
.code-row .code-number{font-size:24px}
.viewer-frame{height:60vh;min-height:340px}
.viewer-download{min-height:44px}
.code-actions .button,.questions-actions .button{flex:1 1 auto}
}

@media(max-width:440px){.form-grid.three{grid-template-columns:1fr}
.code-head .status{margin-left:0}
.viewer-name{display:none}
}

/* The note under the viewer when it shows the PDF a Word document was converted to, and a document with no view (only
   the "Download original" link) drawn as a compact card. */
.viewer-note{display:flex;gap:7px;align-items:flex-start;margin:0;padding:9px 18px 0;font-size:11px;line-height:1.6;color:#5f6f55;background:#fafbf6;border-top:1px solid #dfe5d6;overflow-wrap:anywhere}
.viewer-note>svg{width:13px;height:13px;margin-top:2px;flex-shrink:0;color:#88957d}
.viewer-note+.viewer-bottom,.viewer-panel.no-view .viewer-bottom{border-top:0}
@media(min-width:1001px){.viewer-column>.viewer-panel.no-view{flex:0 0 auto}
.viewer-column>.viewer-panel.no-view+#quotesBox{max-height:none}
}

/* The review dialog states the line being decided - its units and its modifiers - under its status, so two lines of one
   code read apart (the fix pass's line identity). */
.review-summary .review-line{font-size:11px;font-weight:500;color:var(--teal);margin-top:3px}

/* The PDF viewer (2026-11-20, DECISIONS D368): the original's pages drawn in the page, each with its text in a transparent
   text layer (positioned as the PDF library positions it: the scale and font sizes come from the inline properties the
   page and the library set). The chosen quote's words are marked in the page's lime beneath the drawing, which is
   multiplied over them like a highlighter, so the glyphs keep their own colour; the drawing lets the pointer through to
   the text, which stays selectable. The note under the viewer says what was marked. Elements the approved design did not
   have, in its own colours: the status line and the page label in its teal, 5.5:1 on the viewer's ground and 6.1:1 on its
   toolbar (its muted grey read 3.7:1 and 4.1:1 there, under the 4.5:1 that text this small needs). */
.viewer-frame.pdf-viewer{position:relative;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;background:#eeefe8;padding:12px}
.pdf-viewer:focus-visible{outline:3px solid #83b6a3;outline-offset:-3px}
.pdf-viewer[data-mode="frame"]{padding:0;overflow:hidden}
.pdf-status{margin:12px 4px;font-size:12px;color:var(--teal)}
.pdf-pages{display:grid;gap:12px;justify-items:center;min-width:0}
.pdf-page{position:relative;background:#fff;box-shadow:0 1px 3px #17352b26;overflow:hidden;isolation:isolate}
.pdf-page>canvas{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;mix-blend-mode:multiply;pointer-events:none}
.pdf-text{position:absolute;inset:0;z-index:0;overflow:clip;line-height:1;text-align:initial;letter-spacing:normal;word-spacing:normal;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:CanvasText}
.pdf-text span,.pdf-text br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}
.pdf-text>span{font-size:calc(var(--total-scale-factor) * var(--min-font-size) * var(--font-height));transform:rotate(var(--rotate,0deg)) scaleX(var(--scale-x,1)) scale(calc(1 / var(--min-font-size)))}
.pdf-text[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}
.pdf-text[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}
.pdf-text[data-main-rotation="270"]{transform:rotate(270deg) translateX(-100%)}
.pdf-text ::selection{background:color-mix(in srgb,var(--teal) 30%,transparent);color:transparent}
.pdf-text .pdf-mark{position:static;background:var(--lime);box-shadow:inset 0 -2px 0 var(--teal);border-radius:2px}
.viewer-fallback{display:block;width:100%;height:100%;border:0;background:#fff}
.viewer-page{font-size:11px;color:var(--teal);white-space:nowrap;font-variant-numeric:tabular-nums}
.viewer-page:empty{display:none}
.viewer-mark{margin:0;padding:9px 18px;font-size:11px;line-height:1.6;color:#40592f;background:#f0f5e7;border-top:1px solid #dfe5d6;overflow-wrap:anywhere}
.viewer-mark:empty{padding:0;border:0}
.viewer-mark.is-missing{color:#806b3d;background:var(--amber-bg)}
.viewer-mark:not(:empty)+.viewer-note{border-top:0}
@media(max-width:760px){.viewer-frame.pdf-viewer{padding:8px}
}

/* The PDF viewer, round 3 (DECISIONS D368). In the desktop column the drawn pages never set the viewer's share of the
   column: it starts from nothing and takes what the quoted passages leave them (their approved share, at most 36%), as
   the frame it replaced did, however long the document. In forced colours the drawn page keeps its own white ground, so
   its drawing stays legible and the mark visible; the note and the page label around it keep the forced colours. The
   marks are <mark> elements, in the same look. The zoom, 75% to 300% of the page fitted to the viewer's width: a page
   wider than the viewer scrolls across inside it; the buttons sit in the toolbar, which wraps where it is narrow, in the
   page's teal with a focus ring in it. */
@media(min-width:1001px){.viewer-column .viewer-frame.pdf-viewer{height:0}
}
.pdf-page{forced-color-adjust:none}
.pdf-text mark.pdf-mark{color:transparent}
.pdf-pages{width:max-content;min-width:100%}
.viewer-toolbar{flex-wrap:wrap;row-gap:8px}
.viewer-name{flex:1 1 0;text-align:right}
.viewer-zoom{display:inline-flex;align-items:center;gap:4px}
.viewer-zoom[hidden]{display:none}
.zoom-button{min-width:32px;min-height:32px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--teal);font:inherit;font-size:12px;font-weight:500;line-height:1;cursor:pointer}
.zoom-button:hover{background:#f0f5e7}
.zoom-button:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.zoom-button[aria-disabled="true"]{color:var(--muted);background:#fafbf6;cursor:default}
.zoom-level{min-width:4.5ch;text-align:center;font-size:11px;color:var(--teal);font-variant-numeric:tabular-nums}
@media(max-width:760px){.zoom-button{min-width:44px;min-height:44px}
}

/* The PDF viewer, round 5 (DECISIONS D368). In forced colours a zoom step that can go no further shows as unavailable, in
   GrayText as a native disabled button is. The file name keeps room: it comes last in the toolbar, at least 12 characters
   wide (all of it where it is shorter) and as wide as it is where there is room, so where the toolbar cannot hold it
   beside the page and the zoom it takes a row of its own, at the right as before; its full text is its title. */
@media (forced-colors: active){.zoom-button[aria-disabled="true"]{color:GrayText;border-color:GrayText}
}
.viewer-name{order:1;flex:1 0 12ch;max-width:max-content}
/* The physician PDF (2026-11-21): in the export dialog each group holds its PDF, the report for the doctor and the only
   one made, as a full-width primary button with a line on what it holds. While a file is made every option waits; the
   one chosen stays legible and says so, and the PDF button's icon pulses (still where motion is reduced). */
.export-pdf{width:100%;margin-top:10px}
.dialog .export-pdf{font-size:12px}
.export-pdf[aria-busy="true"]{opacity:1;cursor:progress}
.export-pdf[aria-busy="true"]>svg{animation:studio-step 1.2s ease-in-out infinite}
.export-pdf-note{font-size:11px;line-height:1.6;color:var(--muted);margin:8px 0 0;overflow-wrap:anywhere}
.export-group .export-blockers{margin-top:8px}
.export-group+.export-group{margin-top:22px}
@media (prefers-reduced-motion: reduce){.export-pdf[aria-busy="true"]>svg{animation:none}
}
