/* Shared readable text, focus and responsive defaults. Financial semantics live elsewhere. */
:root{--text-secondary:#425b76;--text-warning:#865100;--muted:#425b76;--amber:#865100;--warn:#865100;--review:#865100;--focus:#0757a8}
:focus-visible,:is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--focus);outline-offset:3px;box-shadow:0 0 0 2px #fff}
button:disabled,input:disabled,select:disabled{opacity:1!important;color:#475569!important;background:#e2e8f0!important;cursor:not-allowed}
.foot,.file-note,.metric-note,.metric .label,.screen-step,.chart-counts span{font-size:12px;line-height:1.5}
@media(max-width:960px){.nav{height:auto;min-height:68px;flex-wrap:wrap;gap:14px;padding-top:14px;padding-bottom:14px}.nav-links{display:flex;order:3;width:100%;margin:0;gap:18px;flex-wrap:wrap}.nav-links a{padding:8px 0}.nav-cta{margin-left:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{body{background:#fff!important;color:#172b46!important}.nav-wrap,.workflow-rail,.hero-actions,.confirmation,.step-actions,.scan-actions,.pilot-payment,.dialog-close{display:none!important}.shell,.main,.wrap{max-width:none;padding:0}.card,.results-shell{box-shadow:none;break-inside:avoid}.scroll{overflow:visible}.scroll table{min-width:0;font-size:10pt}dialog[open]{position:static;max-height:none;width:100%;border:0}a{color:#12395f;text-decoration:underline}}
.status{font-size:12px}
nav[aria-label="Finding pages"],nav[aria-label$=" pages"]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
.evidence-text-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0}
@media print{
 @page{margin:12mm}
 .scanner-shell{max-width:none;padding:0}.scanner-workspace{display:block}.results-shell{overflow:visible!important;break-inside:auto;box-shadow:none}
 .guided-heading,.guided-nav,.scan-checks,.scanner-heading,.scanner-topbar,.memory-note,.pilot-cta,.pilot-payment,.processing-status,#clearData,#processingStatus,#cancelScan{display:none!important}
 .scroll{display:block!important;overflow:visible!important;max-height:none!important;height:auto!important;max-width:100%!important}
 .scroll table{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:8pt!important}
 .scroll th,.scroll td{padding:5px!important;overflow-wrap:anywhere!important;white-space:normal!important;height:auto!important;max-height:none!important}
 .scroll tr,.metric,.result-callout{break-inside:avoid}.scroll thead{display:table-header-group}
 .results-shell button,.results-shell input,.results-shell select{display:none!important}.result-tabs{display:none!important}
 #findingTable::before{content:"Printed evidence reflects the current filter and page. Full source rows remain available in on-screen evidence.";display:block;margin:8pt 0;font-size:9pt;color:#172b46}
}
@media print{.results-shell button.chart-category{display:grid!important;box-shadow:none;break-inside:avoid}.chart-note{display:none}}
.identity-search{display:block;overflow-wrap:anywhere}.identity-search input{display:block;width:100%;padding:10px;border:1px solid #94a3b8;border-radius:8px;background:#fff;color:#172b46;margin-top:6px}nav[aria-label="Resolved identity pages"]{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}

.upload-limits{grid-column:1 / -1;margin:0;}

.guided-nav #cancelScan{margin-left:auto;}
