:root{color-scheme:light;--ink:#172b3d;--muted:#61717d;--navy:#153e53;--line:#dbe2e6;--paper:#f4f6f7;--white:#fff;--green:#1b694d;--amber:#825b16}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}a{color:var(--navy);text-decoration-thickness:1px;text-underline-offset:3px}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{scroll-margin-top:24px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d99b32;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,38px);line-height:1.2;letter-spacing:-.025em;margin-bottom:14px}h2{font-size:22px;line-height:1.3;letter-spacing:-.015em}h3{font-size:16px}p{margin-bottom:16px}small,.small{font-size:13px}.muted{color:var(--muted)}.preserve{white-space:pre-line;overflow-wrap:anywhere}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.12em;font-weight:700;color:var(--muted);margin-bottom:10px}
.skip{position:absolute;top:-70px;left:20px;background:white;padding:12px;z-index:10}.skip:focus{top:8px}.topbar{height:76px;display:flex;align-items:center;gap:40px;padding:0 4%;background:var(--white);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;text-decoration:none;letter-spacing:.02em;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:36px;height:36px;background:var(--navy);color:white;font-size:24px;border-radius:5px}.brand-sub{font-size:16px;font-weight:400;color:var(--muted);letter-spacing:0}.topbar nav{display:flex;gap:24px;font-size:14px}.topbar nav a{text-decoration:none}.account{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px}.account form{margin:0}.text-button{border:0;background:none;color:var(--muted);padding:10px 0;cursor:pointer;min-height:44px}
.container{max-width:1200px;margin:0 auto;padding:48px 32px 80px}.case-container{max-width:1700px;margin:auto;padding:30px 3% 60px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.page-heading p:last-child{margin-bottom:0}.actions{display:flex;gap:10px;flex-shrink:0}.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:1px solid var(--navy);border-radius:6px;background:var(--navy);padding:10px 18px;color:white;font-weight:650;font-size:14px;line-height:1.4;text-decoration:none;cursor:pointer}.button:hover{background:#0b2e40}.button.secondary{color:var(--navy);background:white}.button.secondary:hover{background:#eaf0f3}.button:disabled{background:#dce2e6;color:#71818d;border-color:#dce2e6;cursor:not-allowed}.back{display:inline-block;font-size:13px;text-decoration:none;margin-bottom:20px}.case-heading h1{font-size:29px;max-width:800px}.review-summary{display:flex;flex-wrap:wrap;gap:12px 28px;font-size:13px;padding:0 0 22px;border-bottom:1px solid var(--line);margin-bottom:26px}.review-summary strong{font-size:19px;margin-right:5px}.warning{color:var(--amber)}
.case-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.case-card{display:block;background:white;padding:30px;border:1px solid var(--line);border-radius:10px;text-decoration:none;max-width:580px}.case-card:hover{border-color:#7f9aa9}.case-card h2{margin:15px 0}.case-card p{font-size:13px;color:var(--muted)}.link-label{font-size:14px;font-weight:650}.empty{padding:48px 0;max-width:600px}.narrow{max-width:680px;margin:0 auto}.login-panel{max-width:430px;margin:35px auto;background:white;border:1px solid var(--line);border-radius:12px;padding:36px}.login-panel h1{font-size:32px}
.workspace{display:grid;grid-template-columns:205px minmax(0,1fr) minmax(340px,1fr);gap:28px;align-items:start}.source-nav h2{font-size:14px;margin-bottom:14px}.source-nav nav{display:flex;flex-direction:column;gap:4px}.source-nav nav a{display:flex;align-items:flex-start;gap:10px;padding:12px 9px;text-decoration:none;font-size:13px;border-radius:6px;overflow-wrap:anywhere}.source-nav nav a[aria-current]{background:#e1eaf0;font-weight:650}.source-nav nav a:hover{background:#e9eef1}.source-number{flex:0 0 23px;font-size:12px;border:1px solid #c6d2da;text-align:center;border-radius:4px}.source-nav small{display:block;font-weight:400;color:var(--amber);font-size:11px;margin-top:4px}
.evidence-panel{padding:24px;background:white;border:1px solid var(--line);border-radius:8px;min-width:0}.source-meta{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px;color:var(--muted)}.source-meta p{margin-bottom:6px}.source-meta strong{display:block;color:var(--ink)}.source-link{display:inline-block;margin:12px 0;font-size:14px}.reference-summary{margin:18px 0}.reference-summary p{font-size:14px;margin-top:14px}.captures{margin-top:28px}.captures figure{margin:22px 0}.captures img{display:block;width:100%;height:auto;border:1px solid var(--line)}figcaption{font-size:11px;color:var(--muted);margin-top:8px}.decisions{min-width:0}.decisions>h2{font-size:18px}.claim{background:white;border:1px solid var(--line);border-radius:8px;padding:24px;margin:20px 0}.claim-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.state{font-size:12px;font-weight:650;border-radius:4px;background:#edf0f2;padding:4px 8px}.state.VERIFIED{color:var(--green);background:#e3f1e9}.state.NEEDS_HUMAN{color:var(--amber);background:#faf0dc}.state.REJECTED{color:#7f3737;background:#f7e9e9}
.stack p{margin-bottom:16px}.stack label{font-size:13px;font-weight:650;display:block;margin-bottom:6px}.stack textarea,.stack input:not([type=checkbox]):not([type=hidden]),.stack select{display:block;width:100%;padding:10px 12px;border:1px solid #b9c6cf;border-radius:5px;background:white;min-height:44px;color:var(--ink)}.stack textarea{resize:vertical;font-size:14px;line-height:1.55}.stack input[type=checkbox]{width:18px;height:18px;margin-right:8px;vertical-align:middle}.stack label:has(input[type=checkbox]){font-weight:400}.helptext{display:block;color:var(--muted);font-size:12px;margin-top:5px}.errorlist{color:#8a2727;font-size:13px;padding-left:18px}.notice{background:#edf3f6;border-left:3px solid #7693a4;padding:13px 16px;font-size:14px;border-radius:3px}.notice.warning{background:#fff8e9;border-color:#c5963d}
details summary{font-size:14px;cursor:pointer;min-height:44px;padding:12px 0;font-weight:600}details[open]>summary{margin-bottom:12px}.case-notes{max-width:1000px;margin:40px 0 0 auto}.case-notes>details{border-top:1px solid var(--line)}.identity{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;font-size:14px}.identity dt{font-weight:650}.identity dd{margin:0}.add-claim{margin-top:20px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;background:white;margin:22px 0 36px}th,td{text-align:left;vertical-align:top;border:1px solid var(--line);padding:12px}th{background:#eaf0f3}td:first-child{min-width:260px}.activity{font-size:13px;color:var(--muted)}footer{text-align:center;font-size:11px;color:var(--muted);padding:20px}
@media(max-width:1100px){.workspace{grid-template-columns:170px minmax(0,1fr)}.decisions{grid-column:2}.source-nav{grid-row:1/3}.page-heading{align-items:flex-start;flex-wrap:wrap}}@media(max-width:650px){.topbar{height:auto;min-height:70px;gap:16px;padding:12px 18px;flex-wrap:wrap}.topbar nav{order:3;width:100%;gap:20px}.account span{display:none}.account{gap:8px}.container{padding:28px 18px 50px}.case-container{padding:24px 18px}.workspace{display:flex;flex-direction:column;gap:20px}.source-nav,.evidence-panel,.decisions{width:100%}.source-nav nav{flex-direction:row;overflow-x:auto;padding-bottom:8px}.source-nav nav a{min-width:160px;max-width:200px}.case-heading h1{font-size:25px}.actions{width:100%;flex-wrap:wrap}.actions .button{flex:1}.review-summary{gap:10px 16px}.claim,.evidence-panel{padding:20px}.identity{grid-template-columns:1fr;gap:5px}.identity dd{margin-bottom:16px}.login-panel{padding:26px;margin:10px auto}.case-notes{margin-top:25px}.brand-sub{display:none}}
@media print{.topbar nav,.account,.back,footer{display:none}.container{padding:0}.topbar{padding:0;border:0}body{background:white}table{font-size:10px}}

.narrow{max-width:720px}.source-lines{width:100%;border-collapse:collapse}.source-lines th{vertical-align:top;width:5em;padding:8px;text-align:right}.source-lines td{padding:8px;white-space:pre-wrap;overflow-wrap:anywhere}.source-lines tr:target{background:#fff1c0}.source-lines tr:nth-child(even){background:#f2f5f8}

.small{overflow-wrap:anywhere}

.coverage{margin:24px 0}.coverage table{width:100%;border-collapse:collapse}.coverage th,.coverage td{padding:12px;text-align:left;vertical-align:top;border-bottom:1px solid #d9e2e8;overflow-wrap:anywhere}.coverage th:first-child{min-width:150px}.notice{overflow-wrap:anywhere}

/* Family tokens measured from ESCU Data Assistant and Sentinel. */
:root{--bg:#f7f9fc;--surface:#fff;--surface-soft:#f0f4f8;--line:#d9e1ea;--text:#0c1f3d;--muted:#65758a;--brand:#071f45;--brand-strong:#031633;--accent:#1e6fb7;--amber:#9b6a13;--green:#267554;--paper:var(--bg);--ink:var(--text);--navy:var(--brand);--white:var(--surface)}
:root[data-theme=dark]{color-scheme:dark;--bg:#080808;--surface:#101010;--surface-soft:#181818;--line:#2b2b2b;--text:#f4f4f4;--muted:#ababab;--brand:#fff;--brand-strong:#fff;--accent:#dedede;--amber:#f1c75b;--green:#83d7ae}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.topbar{min-height:72px;height:auto;padding:14px 28px;gap:24px}.brand{font-size:15px;letter-spacing:0;gap:10px}.brandLogo{width:38px;height:38px;border:1px solid var(--line);border-radius:8px;background:#fff;object-fit:contain}.brand strong,.brand small{display:block}.brand small{font-weight:400;font-size:11px;color:var(--muted)}.themeSwitch{display:flex;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface-soft);margin-left:auto}.themeSwitch button{min-height:28px;min-width:50px;border:0;border-radius:6px;background:transparent;color:var(--muted);font-size:12px;cursor:pointer}.themeSwitch [aria-pressed=true]{background:var(--white);color:var(--ink)}
.button{border-radius:8px}.button:hover{filter:brightness(.93);background:var(--navy)}.button.secondary,.case-card,.login-panel,.claim,.evidence-panel{background:var(--white)}.button.secondary:hover{background:var(--surface-soft)}:root[data-theme=dark] .button{color:#080808}:root[data-theme=dark] .button.secondary{color:var(--ink)}:root[data-theme=dark] .notice{background:var(--surface-soft)}:root[data-theme=dark] .notice.warning{background:#2b230f}:root[data-theme=dark] .stack textarea,:root[data-theme=dark] .stack input,:root[data-theme=dark] .stack select{background:var(--white);color:var(--ink)}
table{background:var(--white)}th{background:var(--surface-soft)}.table-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain}.table-scroll:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.review-table{min-width:900px}.review-table th{white-space:nowrap}.review-table td{min-width:160px}.review-table td:last-child{min-width:380px}
.profile-workspace{max-width:1180px;padding:28px 30px 80px;margin:auto}.document-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:24px}.document-toolbar .eyebrow{margin:8px 0 0}.document-toolbar nav{display:flex;gap:18px;font-size:13px}.document-layout{display:flex;justify-content:center}.profile-sheet{width:816px;max-width:100%;padding:56px 72px;background:#fff;color:#111;border:1px solid #d9e1ea;box-shadow:0 8px 35px rgba(12,31,61,.07);font-family:"Times New Roman",Times,serif;font-size:12pt;line-height:1.2}.profile-sheet h1,.profile-sheet h2,.profile-sheet h3{font-family:inherit;font-size:12pt;line-height:1.25;letter-spacing:0;color:#111}.profile-sheet h2{margin:0 0 12px;font-weight:bold}.profile-sheet p{margin:0 0 12px}.profile-sheet .document-title{text-align:center;font-weight:bold;margin:0 0 20px}.draft-stamp{text-align:center;font:10px/1.4 Inter,system-ui,sans-serif;letter-spacing:.08em;color:#65758a;margin-bottom:12px!important}.profile-sheet table{font:inherit;line-height:inherit;color:#111;background:#fff;margin:0}.profile-sheet th,.profile-sheet td{border:1px solid #222;background:#fff;padding:6px;vertical-align:top}.profile-core{min-width:624px}.profile-core td{min-width:0}.profile-core h2{margin-bottom:14px}.profile-core .profile-passage{text-align:justify}.profile-sheet .identity-heading{margin:28px 0 18px;font-weight:normal;text-decoration:underline}.profile-identity{min-width:624px}.profile-identity th{width:40%;min-width:220px;text-align:left;white-space:nowrap}.profile-identity td{min-width:320px}.profile-identity .passage-text{white-space:nowrap}.profile-sheet .document-table{margin-bottom:26px;padding-bottom:4px}.profile-sheet .unprepared{color:#586575;font-style:italic}.profile-sheet .document-note{font:12px/1.5 Inter,system-ui,sans-serif;color:#586575}.profile-passage{position:relative}.exhibit-links{font-size:10pt;white-space:nowrap}.profile-sheet a{color:#071f45}.passage-tag{display:inline-block;border:1px solid #c4a168;background:#fff6df;color:#7c5816;font:10px/1.3 Inter,system-ui,sans-serif;padding:2px 5px;border-radius:3px;margin:4px 0}.review-report,.profile-evidence{margin:42px 0 0;padding:28px;background:var(--white);border:1px solid var(--line);border-radius:8px;scroll-margin-top:24px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.section-heading h2{margin-bottom:12px}.exhibit-card{padding:20px 0;border-top:1px solid var(--line);scroll-margin-top:24px}.exhibit-card h3{font-size:15px;white-space:normal}.exhibit-card .actions{align-items:center;flex-wrap:wrap;gap:16px}.preparing{margin:auto}
@media(max-width:700px){.topbar{padding:12px 18px;gap:12px}.themeSwitch{margin-left:auto}.account{margin-left:0}.profile-workspace{padding:24px 14px 50px}.document-toolbar .actions{width:100%}.document-toolbar nav{gap:20px}.profile-sheet{padding:26px 18px}.review-report,.profile-evidence{padding:20px 16px}.document-toolbar .actions .button{flex:1}.brand small{display:none}}

.coverage table{min-width:900px}.coverage td:first-child,.coverage th:first-child{min-width:240px;white-space:nowrap}.source-lines{min-width:960px}.source-lines td{white-space:pre;overflow-wrap:normal}:root[data-theme=dark] .state.VERIFIED{background:#132a20}:root[data-theme=dark] .state.NEEDS_HUMAN{background:#2b230f}:root[data-theme=dark] .state.CANDIDATE{background:#242424;color:var(--ink)}

/* Passage requests stay outside the printable profile. */
.selection-ask{position:fixed;bottom:24px;right:24px;z-index:20;box-shadow:0 8px 24px #0f172a26}
[hidden]{display:none!important}
dialog{width:min(620px,calc(100vw - 32px));max-height:88vh;overflow:auto;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:24px}
dialog::backdrop{background:#0f172a88}
dialog label{display:block;font-weight:600;margin-top:14px}
dialog select,dialog textarea{width:100%;max-width:100%;margin:6px 0}
.followup-card{border:1px solid var(--line);border-radius:10px;padding:18px;margin:14px 0;overflow-wrap:anywhere}
.followup-card blockquote{border-left:3px solid var(--line);padding-left:14px;margin:10px 0;color:var(--muted)}
.ai-answer{white-space:pre-wrap}
.passage-text::selection{background:#bfe4f2;color:#111}

.profile-core{min-width:100%;width:100%}
dialog select,dialog textarea{background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:8px}

@media(max-width:700px){.themeSwitch button{min-height:38px;min-width:44px}.document-toolbar nav a{display:inline-flex;align-items:center;min-height:44px}.themeSwitch{padding:3px}}

.technical-hashes{overflow-wrap:anywhere}.source-jump{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 0}.source-jump input{width:110px;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--white);color:var(--ink)}

@media(max-width:700px){.document-toolbar .actions .button{flex:1 1 150px}.themeSwitch button{min-height:44px}}

.source-lines tr:nth-child(even){background:var(--surface-soft)}.source-lines tr:target td{background:#fff1c0;color:#111}.source-nav nav a[aria-current],.source-nav nav a:hover{background:var(--surface-soft)}

/* Keep the same case workspace while the analyst moves between profile and decisions. */
.header-tools{margin-left:auto;display:flex;align-items:center;gap:24px}.header-tools .themeSwitch,.header-tools .account{margin-left:0}
.workspace-title{font-size:20px;margin:8px 0 0;max-width:700px}.document-toolbar{align-items:flex-start}.document-toolbar nav{flex-wrap:wrap}.document-toolbar nav a{min-height:44px;display:inline-flex;align-items:center}.document-toolbar nav [aria-current]{font-weight:700;text-decoration-thickness:3px}
.profile-identity{min-width:0;table-layout:fixed;width:100%}.profile-identity th{min-width:0;width:40%;white-space:normal}.profile-identity td{min-width:0;width:60%;overflow-wrap:anywhere}.profile-identity .passage-text{white-space:normal;overflow-wrap:anywhere}
.preview-summary{font-size:14px;color:var(--muted)}.preview-capture{margin:22px 0}.preview-capture img{display:block;width:100%;height:auto;border:1px solid var(--line)}.exhibit-card p{overflow-wrap:anywhere}.evidence-quote{margin:16px 0;padding:12px 16px;border-left:3px solid var(--line);background:var(--surface-soft);white-space:pre-line;overflow-wrap:anywhere}
.statement-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:28px;align-items:start}.statement-text{font-size:16px}.review-intro{margin-bottom:24px}.review-intro .review-summary{margin-bottom:14px;padding-bottom:14px}.source-picker{display:flex;align-items:center;gap:14px;margin:24px 0}.source-picker select{min-width:0;max-width:100%;flex:1;padding:12px;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:8px}.source-picker label{font-weight:650}.review-decision-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.checkbox-field{display:flex;align-items:flex-start;gap:10px;margin:16px 0}.checkbox-field label{font-weight:400}.checkbox-field input{flex:0 0 18px}.claim-review>summary{color:var(--navy)}.research-form{margin:24px 0}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.8}
@media(max-width:700px){.header-tools{gap:10px}.statement-workspace{grid-template-columns:1fr}.source-picker{flex-wrap:wrap}.source-picker label{width:100%}.source-picker select{width:60%}.review-decision-fields{grid-template-columns:1fr}.workspace-title{font-size:18px}.header-tools .account{margin-left:0}}

.allowance-panel{padding:22px 24px;margin:24px 0;background:var(--white);border:1px solid var(--line);border-radius:10px}.allowance-panel h2{font-size:18px}.allowance-panel p{margin-bottom:10px}.allowance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.allowance-grid>div{padding:16px;background:var(--surface-soft);border-radius:8px}.allowance-grid h3{margin-bottom:8px}@media(max-width:650px){.allowance-grid{grid-template-columns:1fr}.allowance-panel{padding:18px}}
