﻿:root{--navy:#102a43;--blue:#176b87;--teal:#168c82;--ink:#17324d;--muted:#60758a;--line:#d8e2e8;--paper:#fff;--bg:#f3f7f8;--danger:#b42318}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
button,input,select{font:inherit}
button{cursor:pointer}
h1,h2,h3,p{margin-top:0}
h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5vw,52px);line-height:1.02;letter-spacing:-.035em;color:var(--navy);margin-bottom:14px}
h2{font-size:23px;margin-bottom:0;color:var(--navy)}
h3{font-size:16px;color:var(--navy);margin:28px 0 10px}
.auth-shell{min-height:100vh;display:grid;place-items:center;padding:32px 18px 84px;background:radial-gradient(circle at 12% 15%,rgba(35,161,155,.17),transparent 32%),linear-gradient(135deg,#0f2942,#163d58 56%,#176b72)}
.auth-card{width:min(100%,470px);padding:38px;border:1px solid rgba(255,255,255,.55);border-radius:24px;background:rgba(255,255,255,.97);box-shadow:0 28px 70px rgba(4,23,39,.27)}
.intro-card{width:min(1120px,100%);display:grid;grid-template-columns:minmax(0,1.18fr) minmax(390px,.82fr);overflow:hidden;border:1px solid rgba(255,255,255,.5);border-radius:26px;background:#fff;box-shadow:0 28px 75px rgba(4,23,39,.32)}
.intro-visual{position:relative;min-height:610px;background:#07181c}
.intro-visual img{display:block;width:100%;height:100%;padding:12px;object-fit:contain;object-position:center}
.intro-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(4,17,26,.88),transparent 54%);pointer-events:none}
.visual-caption{position:absolute;z-index:1;left:34px;right:34px;bottom:30px;color:#fff}
.visual-caption span{display:block;margin-bottom:8px;color:#75e5dd;font-size:11px;font-weight:850;letter-spacing:.14em;text-transform:uppercase}
.visual-caption strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:28px;letter-spacing:-.02em}
.lab-card{width:100%;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;justify-content:center}
.brand-mark,.mini-mark{display:inline-grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));font-weight:800}
.brand-mark{width:52px;height:52px;border-radius:50%;margin-bottom:22px}
.mini-mark{width:34px;height:34px;border-radius:10px;margin-right:10px;font-size:13px}
.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--teal);font-weight:800}
.lede,.section-copy{color:var(--muted);line-height:1.55}
.auth-form{display:grid;gap:18px;margin-top:25px}
.form-divider{display:flex;align-items:center;gap:10px;color:#7a8b99;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.form-divider:before,.form-divider:after{content:"";height:1px;flex:1;background:var(--line)}
label{display:grid;gap:8px;color:var(--navy);font-size:13px;font-weight:750}
input,select{width:100%;padding:13px 14px;border:1px solid #bdccd5;border-radius:10px;background:#fff;color:var(--navy);outline:none}
input:focus,select:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(22,140,130,.14)}
.auth-form button,.secondary{border:0;border-radius:10px;font-weight:800}
.auth-form button{padding:14px 18px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));box-shadow:0 8px 22px rgba(23,107,135,.2)}
.error{margin:18px 0 -4px;padding:11px 13px;border-radius:9px;background:#fff1f0;color:var(--danger);font-size:13px}
.demo-note{margin:22px 0 8px;padding:11px 13px;border-radius:9px;background:#edf8f6;color:#255d5a;font-size:13px}
.fine-print{color:#7a8b99;font-size:11px;line-height:1.5;margin-bottom:0}
.duplicate-warning{display:grid;gap:4px;padding:12px 14px;border:1px solid #d9a441;border-radius:10px;background:#fff7df;color:#72510a;font-size:13px;line-height:1.4}
.confirmation-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.confirmation-actions.single-action{grid-template-columns:1fr}
.confirmation-actions .summary-action{grid-column:1/-1}
.auth-form .confirmation-actions .secondary{background:#e8f5f4;color:#176e68;box-shadow:none}
.step-indicator{display:flex;align-items:center;margin-bottom:30px}
.step-indicator span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#e6eef2;color:#63778a;font-size:12px;font-weight:800}
.step-indicator span.done,.step-indicator span.current{background:var(--teal);color:#fff}
.step-indicator i{flex:1;height:2px;background:#d8e4e8}
.topbar{min-height:66px;padding:0 clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid var(--line)}
.topbar>div,.session{display:flex;align-items:center}
.session{gap:16px;flex-wrap:wrap;justify-content:flex-end;color:var(--muted);font-size:13px}
.session span+span{border-left:1px solid var(--line);padding-left:16px}
.text-button{border:0;background:transparent;color:var(--blue);font-weight:750;padding:6px;text-decoration:none}
.domain-content{width:min(1440px,100%);margin:0 auto;padding:38px clamp(16px,4vw,54px) 64px}
.hero-panel{display:flex;justify-content:space-between;align-items:end;gap:32px;padding:34px;border-radius:20px;color:#e8f6f6;background:linear-gradient(120deg,#102f49,#185a6f 65%,#168c82);box-shadow:0 18px 45px rgba(16,42,67,.13)}
.hero-panel h1{color:#fff;margin-bottom:12px}
.hero-panel p:not(.eyebrow){max-width:760px;margin-bottom:0;line-height:1.55;color:#d7e9ec}
.hero-panel .eyebrow{color:#78ded3}
.hero-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.age-select{width:235px;flex:0 0 auto;color:#fff}
.age-select select{color:var(--navy)}
.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;margin-top:22px}
.entry-card,.results-card,.reference-section,.score-card{border:1px solid var(--line);border-radius:16px;background:var(--paper);box-shadow:0 7px 24px rgba(16,42,67,.05)}
.entry-card,.results-card,.reference-section{padding:25px}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:8px}
.section-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.section-heading span{display:block;color:var(--teal);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:850;margin-bottom:5px}
.secondary{padding:9px 12px;background:#e8f5f4;color:#176e68;font-size:12px}
.action-link{display:inline-flex;align-items:center;border-radius:10px;font-weight:800;text-decoration:none}
.section-actions button:not(.secondary){padding:9px 13px;color:#fff;background:linear-gradient(135deg,var(--blue),var(--teal));font-size:12px}
.save-status{margin:4px 0 10px;color:#60758a;font-size:12px;font-weight:700}
.save-status.success{color:#14744c}
.save-status.error{margin:4px 0 10px;padding:0;background:transparent;color:var(--danger)}
.sample-delete-card{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-top:22px;padding:20px 24px;border:1px solid #e2b7b3;border-radius:14px;background:#fff8f7;box-shadow:0 7px 24px rgba(16,42,67,.04)}
.sample-delete-card h2{font-size:18px}
.sample-delete-card p{margin:4px 0 0;color:#765e5c;font-size:12px}
.sample-delete-card form{display:flex;align-items:end;gap:10px;min-width:min(100%,520px)}
.sample-delete-card label{flex:1}
.danger-button{padding:13px 15px;border:0;border-radius:10px;background:#b42318;color:#fff;font-weight:800;white-space:nowrap}
.danger-button:disabled{cursor:not-allowed;opacity:.5}
button:disabled{cursor:not-allowed;opacity:.5}
.sample-delete-notice,.specimen-notice{padding:11px 13px;border-radius:9px;font-size:13px;font-weight:700}
.sample-delete-notice{margin:14px 0 0}
.sample-delete-notice.success,.specimen-notice{background:#e8f7ef;color:#11643f}
.score-card{display:flex;flex-direction:column;padding:26px;color:#fff;background:linear-gradient(145deg,#173f5c,#176b72)}
.score-label{text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:#bde8e2;font-weight:800}
.score-card>strong{font-family:Georgia,serif;font-size:84px;line-height:1;margin:16px 0 8px}
.score-card>p{color:#d8ecec;font-size:13px;line-height:1.5}
.tier-key{margin-top:auto;display:grid;grid-template-columns:1fr 1fr;gap:9px;font-size:11px;color:#d9e7e9}
.tier-key span{display:flex;align-items:center;gap:6px}
.tier-key i{width:8px;height:8px;border-radius:50%}
.d4-gate-help{margin:10px 0 0;color:#6f3e35;font-size:12px;line-height:1.45}
.d4-final-score{display:block;margin-top:18px;color:var(--navy);font-size:13px;font-weight:800}
.d4-final-score select{width:100%;box-sizing:border-box;margin-top:6px;padding:11px;border:1px solid #bdccd5;border-radius:10px;background:#fff;color:var(--navy);font:inherit}
.d4-conditional-panel{margin-top:14px}
.d4-conditional-panel[hidden],.d4-other-description[hidden]{display:none!important}
.d4-comments{display:block;margin-top:14px;color:var(--navy);font-size:13px;font-weight:800}
.d4-comments textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #bdccd5;border-radius:10px;background:#fff;color:var(--navy);font:inherit;resize:vertical}
.t0{background:#4ad39b}
.t1{background:#f5cf58}
.t2{background:#f29a4a}
.t3{background:#f06a6a}
.results-card,.reference-section{margin-top:22px}
.table-scroll{overflow-x:auto}
table{width:100%;border-collapse:collapse;font-size:13px}
th,td{padding:12px 13px;border-bottom:1px solid #e4ebef;text-align:left;vertical-align:middle}
thead th{background:#f0f6f7;color:#486176;font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}
tbody th{color:var(--navy);font-weight:800;white-space:nowrap}
  tbody tr:last-child th,tbody tr:last-child td{border-bottom:0}
  .compact-table th,.compact-table td{padding:7px 10px;line-height:1.25}
  .input-table input{width:92px;min-width:92px;padding:10px}
  .input-table th:nth-child(2),.input-table td:nth-child(2){padding-right:4px}
  .input-table th:nth-child(3),.input-table td:nth-child(3){min-width:382px;padding-left:4px}
  .input-table th:nth-child(4),.input-table td:nth-child(4){min-width:190px}
  .input-table input[readonly]{background:#edf2f4;color:#344f62;font-weight:800;cursor:not-allowed}
  .input-table input:disabled{background:#edf2f4;color:#718496;cursor:not-allowed}
.autopsy-sample-cell{transition:background .15s ease}
.autopsy-sample-cell.not-applicable-for-score{background:#edf1f3}
.autopsy-sample-cell.not-applicable-for-score input{background:#e2e7ea;color:#60717e}
.autopsy-sample-cell.autopsy-tier-0{background:#e5f8ef}
.autopsy-sample-cell.autopsy-tier-1{background:#fff7d7}
.autopsy-sample-cell.autopsy-tier-2{background:#fff0df}
.autopsy-sample-cell.autopsy-tier-3{background:#ffebea}
.autopsy-sample-grid{display:grid;grid-template-columns:repeat(3,minmax(78px,1fr));gap:6px;align-items:start}
.autopsy-sample-cell .autopsy-sample-grid{grid-template-columns:repeat(3,minmax(110px,1fr))}
.autopsy-sample-entry{min-width:0;padding:6px;border:1px solid #dbe4e9;border-radius:7px;background:#fff}
.autopsy-sample-entry.is-not-required{border-color:#c6d0d5;background:#edf1f3}
.input-table .autopsy-sample-entry.is-not-required input{background:#e2e7ea;color:#60717e}
.autopsy-sample-entry>label{display:block;margin-bottom:5px;color:#486176;font-size:10px;font-weight:800;text-transform:uppercase}
.autopsy-sample-value{display:flex;align-items:center;gap:5px}
.input-table .autopsy-sample-entry input{width:68px;min-width:68px;padding:8px 6px;font-weight:850;font-variant-numeric:tabular-nums}
.input-table .autopsy-sample-entry input[type="number"]{-moz-appearance:textfield;appearance:textfield}
.input-table .autopsy-sample-entry input[type="number"]::-webkit-inner-spin-button,
.input-table .autopsy-sample-entry input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.input-table .autopsy-sample-cell .autopsy-sample-entry input{width:68px;min-width:68px}
.input-table .autopsy-sample-entry input.reference-range-ok{border-color:#62ae82;background:#e8f7ef;color:#11643f}
.input-table .autopsy-sample-entry input.reference-range-bad{border-color:#d98a84;background:#fff0ef;color:#a62b22}
.input-table .autopsy-sample-entry input.tier-value-0{border-color:#62ae82;background:#dff2e5;color:#111827}
.input-table .autopsy-sample-entry input.tier-value-1{border-color:#d4ae32;background:#fff1a6;color:#111827}
.input-table .autopsy-sample-entry input.tier-value-2{border-color:#e0a15f;background:#ffd7aa;color:#111827}
.input-table .autopsy-sample-entry input.tier-value-3{border-color:#d97a73;background:#f7c7c3;color:#111827}
.adjudication-box{display:block;width:max-content;max-width:100%;margin-top:6px;padding:2px 7px;border:1px solid #9caab3;border-radius:3px;background:#fff;color:#52636e;font-size:11px;font-weight:700;line-height:1.25;text-transform:none}
.adjudication-box.is-green{border-color:#21885b;background:#dff5e8;color:#11643f}
.adjudication-box.is-red{border-color:#b42318;background:#fecdca;color:#8a1c13}
.adjudication-box.is-muted{border-color:#b8c2c8;background:#edf1f3;color:#60717e}
.fixed-age-field{display:flex;min-width:220px;flex-direction:column;gap:6px;color:#d7e9ec;font-size:12px}
.fixed-age-field strong{display:block;padding:10px 12px;border:1px solid rgba(255,255,255,.35);border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font-size:14px}
.fixed-age-field small{color:#d7e9ec}
.score-applicability-note{display:block;margin-top:6px;color:#60717e;font-size:10px;font-weight:750;line-height:1.3}
.score-applicability-note[hidden]{display:none}
.measurement-entry{display:flex;align-items:center;gap:7px;white-space:nowrap}
.measurement-entry>span{color:#5f7386;font-size:11px;font-weight:750}
.result-status-entry{display:grid;gap:6px;min-width:175px}
.result-status-entry select,.result-status-entry input{padding:8px 9px;font-size:11px}
.result-status-entry .status-valid{border-color:#64b58f;background:#e8f7ef;color:#11643f;font-weight:800}
.result-status-entry .status-invalid{border-color:#d98a84;background:#fff0ef;color:#a62b22;font-weight:800}
.result-status-entry option[value="VALID"]{color:#11643f}
.result-status-entry option:not([value="VALID"]){color:#a62b22}
.selected-age-row th,.selected-age-row td{background:#fff3bf;box-shadow:inset 0 1px #e5bd45,inset 0 -1px #e5bd45}
.selected-age-row th:first-child{box-shadow:inset 4px 0 #d79b16,inset 0 1px #e5bd45,inset 0 -1px #e5bd45}
.chart-case-key{display:inline-block;margin-left:12px;color:#60758a;font-size:11px;font-weight:750;letter-spacing:0;text-transform:none}
.chart-case-star{font-size:20px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
.chart-case-value{font-size:10px;font-weight:900;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
  .adult-input{display:grid;grid-template-columns:auto auto;align-items:center;justify-content:start;gap:6px 8px;min-width:230px}
.adult-input small{grid-column:1/-1;color:#718496;font-size:10px;font-weight:650}
.autopsy-test-header{white-space:normal}
.autopsy-test-title{display:block;margin-bottom:8px}
.active-sample-selector{display:grid;grid-template-columns:repeat(3,minmax(118px,1fr));gap:6px;align-items:start}
.active-sample-choice{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;padding:6px;border:1px solid #c8d8de;border-radius:7px;background:#fff;color:#486176;font-size:10px;font-weight:850;letter-spacing:0;text-transform:none;cursor:pointer}
.input-table .active-sample-choice input{width:18px;min-width:18px;height:18px;margin:0;padding:0;accent-color:var(--teal);cursor:pointer}
.active-sample-choice span{display:block;white-space:normal}
.autopsy-test-header>small{display:block;margin-top:7px;color:#60758a;font-size:10px;font-weight:700;letter-spacing:0;text-transform:none}
.formula{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#52697c;font-size:12px}
.pill{display:inline-block;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.tier-0{background:#e5f8ef;color:#14744c}
.tier-1{background:#fff7d7;color:#806300}
.tier-2{background:#fff0df;color:#995000}
.tier-3{background:#ffebea;color:#a62b22}
.neutral{background:#eef2f4;color:#627483}
  .method-note{margin:16px 0 0;padding:11px 13px;border-left:3px solid var(--teal);background:#f4f9f9;color:#5a7182;font-size:12px;line-height:1.5}
  .score-inclusion-note{margin-top:5px}
.aggregation-rules{margin-top:18px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#fbfdfd;color:#52697c;font-size:12px;line-height:1.55}
.aggregation-rules h3{margin:0 0 8px;font-size:15px}
.aggregation-rules p{margin-bottom:9px}
.aggregation-rules ul{margin:8px 0 10px;padding-left:22px}
.aggregation-rules li+li{margin-top:5px}
.d2-metadata-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;margin:18px 0}
.d2-metadata-grid input,.d2-metadata-grid select{padding:10px}
.d2-input-table{min-width:650px;table-layout:fixed}
.d2-input-table th,.d2-input-table td{padding-left:8px;padding-right:8px}
.d2-input-table th:nth-child(1),.d2-input-table td:nth-child(1){width:8%}
.d2-input-table th:nth-child(2),.d2-input-table td:nth-child(2),.d2-input-table th:nth-child(3),.d2-input-table td:nth-child(3){width:15%;min-width:0;padding-left:6px;padding-right:6px}
.d2-input-table th:nth-child(4),.d2-input-table td:nth-child(4){width:62%;min-width:0}
.d2-input-table thead th{white-space:normal;line-height:1.25}
.d2-input-table thead th>span{display:block;margin-top:3px;color:#6b8090;font-size:9px;font-weight:750;letter-spacing:0;text-transform:none}
.d2-input-table td:nth-child(2)>input:not([type="hidden"]),.d2-input-table td:nth-child(3)>input:not([type="hidden"]){width:100%;min-width:0;max-width:96px}
.d2-qualification-cell{vertical-align:top}
.d2-qualification-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 8px}
.d2-qualification-grid label{min-width:0}
.d2-qualification-grid label>span{display:block;margin-bottom:3px;color:#60758a;font-size:9px;font-weight:850;line-height:1.2;text-transform:uppercase}
.d2-qualification-grid select,.d2-qualification-grid input{width:100%;min-width:0;padding:7px 8px;font-size:10px}
.d2-source-note{grid-column:1/-1}
.d2-input-table input.d2-tier-value-0,.reference-section td.d2-tier-value-0{border-color:#62ae82;background:#dff2e5;color:#11643f;font-weight:850}
.d2-input-table input.d2-tier-value-1,.reference-section td.d2-tier-value-1{border-color:#d4ae32;background:#fff1a6;color:#6f5700;font-weight:850}
.d2-input-table input.d2-tier-value-2,.reference-section td.d2-tier-value-2{border-color:#e0a15f;background:#ffd7aa;color:#8b4500;font-weight:850}
.d2-input-table input.d2-tier-value-3,.reference-section td.d2-tier-value-3{border-color:#d97a73;background:#f7c7c3;color:#8a1c13;font-weight:850}
.reference-section td[class*="d2-tier-value-"]{box-shadow:inset 0 0 0 1px currentColor}
.d4-record-badge{min-width:150px;padding:13px 16px;border:1px solid rgba(255,255,255,.3);border-radius:12px;background:rgba(255,255,255,.1)}
.d4-record-badge span{display:block;color:#bde8e2;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.d4-record-badge strong{display:block;margin-top:4px;color:#fff;font-family:Georgia,serif;font-size:25px}
.d4-metadata-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}
.d4-metadata-grid input{padding:10px}
.d4-options{display:grid;gap:10px;margin-top:16px}
.check-option{display:flex;align-items:flex-start;gap:9px;padding:11px 13px;border:1px solid #cfe1e2;border-radius:10px;background:#f2f9f8;font-size:12px;line-height:1.4}
.check-option input{width:16px;min-width:16px;height:16px;margin:1px 0 0}
.danger-option{border-color:#ead1cf;background:#fff8f7;color:#7e332d}
.d4-gate-question{margin:0;padding:12px 14px;border:1px solid #cfe1e2;border-radius:10px;background:#f2f9f8}
.d4-gate-question legend{padding:0 5px;color:var(--navy);font-size:12px;font-weight:800;line-height:1.4}
.d4-gate-question.danger-option legend{color:#7e332d}
.d4-gate-options{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:4px}
.d4-gate-options label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700}
.d4-gate-options input{width:16px;height:16px;margin:0}
.d4-legend{display:flex;gap:9px;flex-wrap:wrap;margin:14px 0}
.d4-legend span{padding:6px 9px;border:1px solid currentColor;border-radius:999px;font-size:10px;font-weight:800}
.d4-matrix{min-width:1050px}
.d4-matrix th,.d4-matrix td{padding:8px}
.d4-matrix tbody th{min-width:220px}
.d4-matrix tbody th small{display:block;margin-top:3px;color:#718496;font-size:9px;letter-spacing:.08em}
.d4-matrix select{min-width:155px;padding:8px;font-size:11px}
.d4-matrix .region-scope{min-width:145px}
.matrix-cell{transition:box-shadow .12s ease,background .12s ease}
.matrix-cell small{display:block;max-width:155px;margin-top:4px;color:#718496;font-size:9px;line-height:1.25}
.matrix-cell.matrix-normal,.pill.matrix-normal{background:#e8f7ef;color:#11643f}
.matrix-cell.matrix-abnormal,.pill.matrix-abnormal{background:#ffebea;color:#a62b22}
.matrix-cell.matrix-unresolved,.pill.matrix-unresolved{background:#fff4db;color:#7c5b0a}
.matrix-cell.matrix-research,.pill.matrix-research{background:#eef2f4;color:#627483}
.matrix-cell.matrix-np{background:#68747c;border-color:#68747c}
.protocol-use-label{display:inline-block;font-weight:850;letter-spacing:.04em}
.region-required{text-align:center;color:#174f59;background:#f2f8f8}
.d4-protocol-note{padding:13px 15px;border:1px solid #b9d5d4;border-radius:10px;background:#f2f8f8;color:#244c54}
.d4-protocol-note strong,.d4-protocol-note span{display:block}
.d4-protocol-note span{margin-top:4px;font-size:11px;line-height:1.45}
.matrix-cell.selected-endpoint{box-shadow:inset 0 0 0 3px #168c82}
.endpoint-detail{margin-top:18px;padding:17px;border:1px solid #b9d5d4;border-radius:12px;background:#f7fbfb}
.endpoint-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:13px}
.endpoint-detail-heading>div span{display:block;margin-bottom:3px;color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.endpoint-detail-heading strong{color:var(--navy)}
.detail-endpoint-selector{min-width:min(520px,80%)}
.detail-endpoint-selector span{display:block;margin-bottom:3px;color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.detail-endpoint-selector select{width:100%;padding:9px;color:var(--navy);font-weight:750}
.endpoint-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.endpoint-detail-grid select,.endpoint-detail-grid input{padding:9px;font-size:11px}
.endpoint-detail-grid .detail-comment{grid-column:1/-1}
.d4-rule-table th:first-child{width:70px;font-size:14px}
.d4-metadata-grid select{padding:10px}
.d4-metadata-grid .span-two{grid-column:1/-1}
.d4-qualification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.d4-legacy-warning{margin:14px 0;color:#7c5b0a;background:#fff4db;border-color:#ead49a}
.d4-finding-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.d4-finding-panel{padding:18px;border:1px solid var(--line);border-radius:12px;background:#f8fbfb}
.d4-comparator-panel{grid-column:1/-1}
.d4-comparator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:15px}
.d4-comparator-grid select,.d4-comparator-panel textarea{width:100%;box-sizing:border-box;padding:10px;border:1px solid #bdccd5;border-radius:10px;background:#fff;color:var(--navy);font:inherit}
.d4-finding-panel h3{margin:0 0 13px;color:var(--navy);font-size:17px}
.d4-finding-select{margin-top:5px}
.d4-feature-list{display:grid;gap:9px;margin:15px 0 0;padding:14px;border:1px solid #cfe1e2;border-radius:10px;background:#fff}
.d4-feature-list legend{padding:0 5px;color:var(--navy);font-size:12px;font-weight:800}
.d4-feature-list label{display:flex;align-items:flex-start;gap:8px;color:#344f5e;font-size:12px;font-weight:700;line-height:1.4}
.d4-feature-list input{width:16px;min-width:16px;height:16px;margin:1px 0 0}
.d4-other-description{display:block;margin-top:12px;color:var(--navy);font-size:12px;font-weight:800}
.d4-other-description input{width:100%;box-sizing:border-box;margin-top:6px;padding:10px;border:1px solid #bdccd5;border-radius:10px;background:#fff;color:var(--navy);font:inherit}
.d3-metadata-grid,.d5-test-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.d3-metadata-grid input,.d5-test-grid input,.d5-test-grid select{padding:10px}
.d5-test-grid .wide-field{grid-column:span 2}
.d3-anchor-table{min-width:1280px}
.d3-anchor-table th,.d3-anchor-table td{padding:8px}
.d3-anchor-table tbody th{min-width:180px}
.d3-anchor-table tbody th small{display:block;max-width:180px;margin-top:4px;color:#718496;font-size:9px;white-space:normal}
.d3-anchor-table input,.d3-anchor-table select{min-width:135px;padding:8px;font-size:11px}
.d3-anchor-table td:nth-child(2) input{min-width:250px}
.d3-anchor-table .result-status-entry{min-width:210px}
.d3-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:16px}
.d3-result-grid>div{padding:16px;border:1px solid var(--line);border-radius:11px;background:#f7fafb}
.d3-result-grid span{display:block;color:#60758a;font-size:10px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.d3-result-grid strong{display:block;margin-top:7px;color:var(--navy);font-size:22px}
.d5-options{display:grid;gap:9px;margin-top:13px}
.d5-comment{margin-top:13px}
.d5-context-summary{width:min(100%,420px);margin:15px 0}
.d5-context-table{min-width:900px}
.d5-context-table th{width:36%;white-space:normal}
.d5-context-table select{min-width:180px;padding:8px;font-size:11px}
.d5-context-table input{min-width:360px;padding:8px;font-size:11px}
.cmsp-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.cmsp-result{display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 14px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:#f7fafb}
.cmsp-result.primary{border-color:#7bbeb7;background:#edf8f6}
.cmsp-result span{color:var(--teal);font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.cmsp-result strong{grid-row:1/3;grid-column:2;font-family:Georgia,serif;font-size:40px;color:var(--navy)}
.cmsp-result small{color:var(--muted);line-height:1.4}
.research-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.research-badges span{padding:5px 8px;border:1px solid #b8c8d1;border-radius:999px;background:#eef2f4;color:#536a7a;font-size:10px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.aluminum-research-card{border-color:#b8c8d1;background:#fbfcfc}
.aluminum-research-card input[readonly]{background:#edf2f4;color:#536a7a;font-weight:750}
.specimen-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.case-date-summary{display:flex;flex-wrap:wrap;gap:10px 24px;margin:12px 0;color:var(--muted);font-size:13px}
.case-date-line-break{flex-basis:100%;height:0}
.case-date-summary strong{color:var(--navy)}
.mvi-summary-hero{align-items:stretch}
.mvi-summary-hero .case-date-summary{color:#d7e9ec}
.mvi-summary-hero .case-date-summary strong{color:#fff}
.mvi-total-card{min-width:260px;padding:22px}
.mvi-total-card>strong{font-size:72px}
.summary-alert{margin:18px 0;padding:14px 16px;border:1px solid;border-radius:11px;line-height:1.45}
.summary-alert.incomplete{border-color:#e4c975;background:#fff8d9;color:#695414}
.summary-alert.complete{border-color:#87c9a5;background:#e8f7ef;color:#11643f}
.summary-alert.exclusionary{border-color:#d9aaa5;background:#fff0ee;color:#8c2720}
.mvi-summary-table td small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.summary-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}
.summary-status.scored{background:#e8f7ef;color:#11643f}
.summary-status.not-entered{background:#edf2f4;color:#536a7a}
.summary-status.not-scorable{background:#fff4cc;color:#735c12}
.summary-status.exclusionary{background:#fde7e4;color:#9f2f26}
.summary-domain-score{color:var(--navy);font-family:Georgia,serif;font-size:28px;font-weight:800;text-align:center}
.compact-action{display:inline-flex;padding:8px 10px;font-size:11px;white-space:nowrap}
.compact-action.action-review{border:1px solid #87c9a5;background:#e8f7ef;color:#11643f}
.compact-action.action-enter{border:1px solid #dfa8a2;background:#fde7e4;color:#8c2720}
.compact-action.action-resolve{border:1px solid #e4c975;background:#fff4cc;color:#735c12}
.mvi-archetype-card{border-left:5px solid var(--teal)}
.mvi-archetype-card.not-assigned{border-left-color:#d1a72f}
.mvi-archetype-card.unresolved{border-left-color:#c9654f}
.mvi-archetype-card.low-mvi{border-left-color:#4ba173}
.archetype-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.archetype-heading h2{margin:3px 0 0;color:var(--navy);font-family:Georgia,serif;font-size:25px}
.archetype-kicker{color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.archetype-reference{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:9px 12px;border-radius:999px;background:#e6f4f2;color:#12675f;font-size:13px;white-space:nowrap}
.archetype-pattern{margin:16px 0 5px;color:#345568;font-size:13px}
.archetype-interpretation{margin:18px 0 0;padding:19px 21px;border:1px solid #ddb45a;border-left:7px solid #c78316;border-radius:12px;background:linear-gradient(135deg,#fff2cc 0%,#fffaf0 100%);box-shadow:0 7px 18px rgba(98,66,16,.14);color:#15344a}
.archetype-interpretation-label{display:block;margin-bottom:9px;color:#80500e;font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.archetype-interpretation p{margin:0;font-family:Arial,Helvetica,sans-serif;font-size:17px;font-weight:600;line-height:1.62}
.archetype-modifiers{margin:12px 0 0;padding:12px 15px;border:1px solid #b8cfcb;border-radius:9px;background:#edf7f5;color:#214f4a;font-family:Arial,Helvetica,sans-serif;font-size:17px;font-weight:600;line-height:1.62}
.archetype-modifiers ul{margin:6px 0 0;padding-left:20px}
.archetype-lookup-current{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0 14px;padding:11px 13px;border:1px solid #d8ba73;border-radius:9px;background:#fff8e7;color:#5f430f;font-size:13px}
.archetype-lookup-current span{width:100%;color:#60758a;font-size:11px}
.archetype-lookup-current.pending{border-color:var(--line);background:#f6f8f9;color:var(--muted)}
.case-pattern-profile{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}
.case-pattern-domain{display:grid;gap:3px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#f6f8f9}
.case-pattern-domain strong{font-size:15px;color:var(--navy)}
.case-pattern-domain span{font-size:10px;line-height:1.25;color:#52697b}
.case-pattern-domain small{font-size:9px;font-weight:800;color:#718496}
.case-pattern-domain.active{border-color:#d5a33e;background:#fff2cc}
.case-pattern-domain.active small{color:#80500e}
.case-pattern-domain.inactive{border-color:#b9d6c6;background:#edf8f2}
.case-pattern-domain.inactive small{color:#25704f}
.case-pattern-domain.pending{border-color:#d8c58f;background:#fff9e9}
.case-pattern-domain.exclusionary{border-color:#d98a84;background:#fff0ef}
.archetype-lookup-table{min-width:720px}
.archetype-lookup-table th:first-child{width:46px;padding-left:7px;padding-right:7px}
.archetype-lookup-table td{line-height:1.4}
.archetype-catalog-description{margin:5px 0 0;color:#52697b;font-size:11px;line-height:1.5}
.archetype-lookup-table .current-archetype-row th,.archetype-lookup-table .current-archetype-row td{background:#fff2cc;box-shadow:inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
.archetype-lookup-table .current-archetype-row th:first-child{box-shadow:inset 4px 0 #c78316,inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
.archetype-referral-heading{margin:25px 0 5px}
.archetype-referral-table{min-width:880px}
.archetype-referral-table th:first-child{width:210px}
.archetype-referral-table td:nth-child(2){width:100px;font-weight:850}
.archetype-referral-table td{line-height:1.4}
.archetype-referral-table .current-archetype-row th,.archetype-referral-table .current-archetype-row td{background:#fff2cc;box-shadow:inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
.archetype-referral-table .current-archetype-row th:first-child{box-shadow:inset 4px 0 #c78316,inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
.archetype-bitmask-table{min-width:820px}
.archetype-bitmask-table th:first-child{width:70px;text-align:center}
.archetype-bitmask-table th:nth-child(2),.archetype-bitmask-table td:nth-child(2){width:145px;text-align:center}
.archetype-bitmask-table td:nth-child(3){width:210px;font-weight:850}
.archetype-bitmask-table td{line-height:1.4}
.domain-bit-code{display:inline-block;padding:3px 7px;border:1px solid #c8d5dc;border-radius:5px;background:#f5f8fa;color:var(--navy);font-family:Consolas,"Courier New",monospace;font-size:13px;font-weight:800;letter-spacing:.18em}
.archetype-bitmask-table .current-archetype-row th,.archetype-bitmask-table .current-archetype-row td{background:#fff2cc;box-shadow:inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
.archetype-bitmask-table .current-archetype-row th:first-child{box-shadow:inset 4px 0 #c78316,inset 0 1px #d6a84f,inset 0 -1px #d6a84f}
@media(max-width:850px){.case-pattern-profile{grid-template-columns:1fr 1fr}.case-pattern-domain:last-child{grid-column:1/-1}}
.vaccine-inventory-card{border-color:#b8c8d1}
.vaccine-table{min-width:1120px}
.vaccine-table th:first-child{width:42px}
.vaccine-table td:nth-child(2){min-width:130px;width:130px}
.vaccine-table td:nth-child(3){min-width:210px}
.vaccine-table td:nth-child(4){min-width:360px}
.vaccine-table td:nth-child(5){min-width:90px;text-align:center}
.vaccine-table td:nth-child(6){min-width:145px}
.vaccine-table td input,.vaccine-table td select{width:100%;min-width:0}
.vaccine-table td:nth-child(4) input{margin-top:7px}
.fixed-cell-value{display:block;padding:9px 10px;color:#384b55}
.not-applicable-cell{background:#eef1f2;color:#6a7479;text-align:center;font-style:italic}
.button{text-decoration:none;display:inline-block}
.catalog-version{font-size:18px!important;overflow-wrap:anywhere}
#development-tables{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.development-table{min-width:0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fbfdfd}
.development-table h3,.ontogeny-chart h3{margin:0 0 8px;font-size:14px}
.development-table table{font-size:11px}
.development-table .compact-table th,.development-table .compact-table td{padding:5px 7px;line-height:1.15}
.development-table thead th{font-size:9px;white-space:normal}
.ontogeny-chart{margin-bottom:20px}
.ontogeny-chart svg{display:block;width:100%;min-width:820px;height:auto;background:#fbfdfd;border:1px solid var(--line);border-radius:10px}
.chart-grid{stroke:#dce6ea;stroke-width:1}
.chart-axis{stroke:#718496;stroke-width:1.5}
.chart-axis-label,.chart-legend,.chart-axis-title{fill:#52697c;font-family:Inter,Arial,sans-serif;font-size:11px}
.chart-legend,.chart-axis-title{font-weight:750}
.portal-brand{display:flex;align-items:center;gap:.7rem}
.portal-brand img{width:88px;height:42px;object-fit:contain;border-radius:7px;background:#fff}
.ae-hero{align-items:center}
.ae-provenance{border-color:#b9cfc6}
.ae-marker-legend{display:flex;flex-wrap:wrap;gap:.65rem 1.25rem;margin:.65rem 0 1rem;padding:.72rem .9rem;border:1px solid #cbd8d2;border-radius:10px;background:#fff;font-size:.8rem;color:#33473f}
.ae-marker-legend>span{display:inline-flex;align-items:flex-start;gap:.38rem}
.ae-marker{display:inline-block;font-weight:900;line-height:1;color:#b3261e}
.ae-trigger-marker{color:#08783e}
.ae-role-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,360px);gap:1rem 1.5rem;align-items:end;border-color:#b8cfc3}
.ae-role-panel.ae-role-pending{border-color:#d5aa28;background:#fff0a8}
.ae-role-panel.ae-role-pending .ae-role-select select{border-color:#b98d16;background:#fffdf5}
.ae-role-panel h2{margin:.15rem 0 .35rem}
.ae-role-select{display:flex;flex-direction:column;gap:.38rem;font-size:.82rem;font-weight:800;color:#29463a}
.ae-role-select select{width:100%;box-sizing:border-box;border:1px solid #9eb8aa;border-radius:10px;padding:.72rem .78rem;background:#fff;color:#1e332b;font:inherit;font-weight:600}
.ae-role-panel #ae-role-guidance{grid-column:1/-1;margin:0}
.ae-section-nav{position:sticky;top:0;z-index:5;display:flex;gap:.25rem;overflow-x:auto;padding:.75rem 0;background:rgba(245,248,246,.96);backdrop-filter:blur(8px)}
.ae-section-nav a{white-space:nowrap;text-decoration:none;border:1px solid #cbd8d2;border-radius:999px;padding:.42rem .7rem;background:#fff;color:#244c3c;font-size:.78rem;font-weight:750}
.ae-section-nav a:hover,.ae-section-nav a:focus-visible{border-color:#3d7960;background:#edf6f1}
.ae-section-nav a.ae-nav-applicable{border-color:#7aa68f}
.ae-section-nav a.ae-nav-needs-entry{border-color:#d2a93b;background:#fff0a8;color:#4d3a00}
.ae-section{scroll-margin-top:68px}
.ae-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ae-fieldset{min-width:0;margin:0;border:1px solid #d5dfda;border-radius:12px;padding:.8rem;background:#fbfcfb}
.ae-fieldset legend{padding:0 .35rem;font-size:.82rem;font-weight:800;color:#234436}
.ae-choice-grid{display:flex;flex-wrap:wrap;gap:.5rem .8rem}
.ae-choice{display:inline-flex;align-items:flex-start;gap:.4rem;font-size:.83rem;color:#33473f}
.ae-choice input{margin-top:.16rem}
.ae-inline-three .ae-choice-grid{display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:1.5rem}
.ae-inline-three .ae-choice{align-items:center;gap:.5rem;white-space:nowrap}
.ae-inline-three .ae-choice input{width:16px;height:16px;flex:0 0 16px;margin:0}
.ae-right-check-list .ae-choice-grid{display:grid;grid-template-columns:1fr;gap:.22rem}
.ae-right-check-list .ae-choice{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;width:100%;gap:.75rem;padding:.28rem .18rem;box-sizing:border-box}
.ae-right-check-list .ae-choice span{grid-column:1;grid-row:1;line-height:1.3}
.ae-right-check-list .ae-choice input{grid-column:2;grid-row:1;justify-self:end;margin:0}
.ae-left-check-list .ae-choice-grid{display:grid;grid-template-columns:1fr;gap:.22rem}
.ae-left-check-list .ae-choice{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:center;width:100%;gap:.4rem;padding:.28rem .18rem;box-sizing:border-box}
.ae-left-check-list .ae-choice input{grid-column:1;grid-row:1;justify-self:start;margin:0}
.ae-left-check-list .ae-choice span{grid-column:2;grid-row:1;line-height:1.3}
.ae-left-check-list.ae-two-column .ae-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column;column-gap:1rem}
.ae-left-check-list.ae-two-column.ae-rows-3 .ae-choice-grid{grid-template-rows:repeat(3,auto)}
.ae-left-check-list.ae-two-column.ae-rows-4 .ae-choice-grid{grid-template-rows:repeat(4,auto)}
.ae-left-check-list.ae-two-column.ae-rows-5 .ae-choice-grid{grid-template-rows:repeat(5,auto)}
.ae-input{display:flex;flex-direction:column;gap:.38rem;font-size:.82rem;font-weight:800;color:#29463a}
.ae-input input,.ae-input textarea,.ae-input select{width:100%;box-sizing:border-box;border:1px solid #cbd8d2;border-radius:10px;padding:.7rem .75rem;background:#fff;color:#1e332b;font:inherit;font-weight:500}
.ae-input.ae-inline-input{display:grid;grid-template-columns:minmax(150px,max-content) minmax(150px,1fr);align-items:center;gap:.55rem .8rem}
.ae-inline-input>span:first-child{line-height:1.25}
.ae-weight-controls{display:flex;align-items:center;gap:.55rem .85rem;min-width:0}
.ae-weight-controls>.ae-weight-value{min-width:110px;flex:1 1 150px;width:auto}
.ae-unit-choice{display:inline-flex;align-items:center;gap:.32rem;white-space:nowrap;color:#33473f;font-size:.8rem;font-weight:700}
.ae-unit-choice input{width:auto;margin:0}
.ae-input textarea{resize:vertical}
.ae-input.ae-state-required,.ae-fieldset.ae-state-required{border-color:#d5aa28;background:#fff0a8}
.ae-input.ae-state-editable{padding:.5rem;border:1px solid #d5dfda;border-radius:12px;background:#fff}
.ae-fieldset.ae-state-editable{background:#fff}
.ae-input.ae-state-readonly,.ae-fieldset.ae-state-readonly{border-color:#d8dedb;background:#eef1ef;color:#66736d}
.ae-input.ae-state-readonly{padding:.5rem;border-style:solid;border-width:1px;border-radius:12px}
.ae-state-readonly input:disabled,.ae-state-readonly textarea:disabled,.ae-state-readonly select:disabled{background:#e7ebe9;color:#6b7771;opacity:1;cursor:not-allowed}
.ae-state-required input,.ae-state-required textarea,.ae-state-required select{border-color:#b98d16;background:#fffdf5}
.ae-section-needs-entry{border-color:#e0c15f}
.ae-wide{grid-column:1/-1}
.ae-subheading{margin-top:.25rem}
.ae-subheading h3{margin:0}
.ae-test-plan{border-color:#a9cdb8}
.ae-trigger-table{min-width:820px}
.ae-trigger-table th:nth-child(1){width:24%}
.ae-trigger-table th:nth-child(2){width:44%}
.ae-trigger-table th:nth-child(3){width:32%}
.ae-trigger-table td{vertical-align:top;line-height:1.45}
.ae-bottom-actions{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;padding:1rem 0 2rem}
@media(max-width:850px){.intro-card{grid-template-columns:1fr;max-width:610px}
.intro-visual{min-height:300px;max-height:360px}
.workspace-grid{grid-template-columns:1fr}
.hero-panel{align-items:stretch;flex-direction:column}
.hero-controls{align-items:stretch}
.age-select{width:100%}
.score-card{min-height:260px}
.sample-delete-card,.sample-delete-card form{align-items:stretch;flex-direction:column}
.sample-delete-card form{min-width:0;width:100%}
.topbar{align-items:flex-start;padding-top:14px;padding-bottom:14px}
.session{flex-wrap:wrap;justify-content:flex-end}
#development-tables{grid-template-columns:1fr}
.d2-metadata-grid{grid-template-columns:1fr}
.d4-metadata-grid,.endpoint-detail-grid,.d4-qualification-grid,.d4-finding-panels,.d3-metadata-grid,.d5-test-grid{grid-template-columns:1fr 1fr}
.d4-comparator-grid{grid-template-columns:1fr 1fr}
.topbar strong{display:none}
.ae-input.ae-inline-input{grid-template-columns:1fr}
.ae-weight-controls{flex-wrap:wrap}
.ae-form-grid{grid-template-columns:1fr}
.ae-role-panel{grid-template-columns:1fr}
.ae-wide{grid-column:auto}
}
.site-copyright{display:flex;align-items:center;justify-content:center;gap:.55rem 1rem;flex-wrap:wrap;padding:1rem 1.25rem 1.35rem;text-align:center;color:#60736b;font-size:.78rem;line-height:1.4}
.site-footer-research-link{display:inline-flex;align-items:center;justify-content:center;padding:.38rem .68rem;border:1px solid #9db8b4;border-radius:999px;background:#edf8f6;color:#176e68;font-weight:800;text-decoration:none;white-space:nowrap}
.site-footer-research-link:hover,.site-footer-research-link:focus-visible{border-color:#168c82;background:#dff3ef}
.auth-shell+.site-copyright{position:fixed;z-index:20;right:0;bottom:0;left:0;min-height:52px;padding:.45rem 1.25rem;border-top:1px solid rgba(255,255,255,.12);background:#163d58;color:rgba(255,255,255,.86)}
.auth-shell+.site-copyright .site-footer-research-link{border-color:rgba(255,255,255,.52);background:rgba(255,255,255,.1);color:#fff}
.research-topbar .text-button{white-space:nowrap}
.research-public-page{max-width:1180px}
.research-mission-hero{align-items:center}
.research-mission-hero h1{color:#fff}
.research-mission-card p:last-child,.research-publication-card>p{line-height:1.65}
.research-publication-card{border-left:5px solid var(--teal)}
.research-publication-badge{display:inline-flex;align-items:center;padding:.48rem .72rem;border-radius:999px;background:#e6f4f2;color:#12675f;font-size:.76rem;font-weight:850;white-space:nowrap}
.research-citation{margin:1.1rem 0;color:#17324d;font-size:1rem}
.research-publication-links{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-top:1.25rem}
.research-primary-link{padding:9px 13px;background:linear-gradient(135deg,var(--blue),var(--teal));color:#fff}
.contact-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.1rem}
.contact-detail{padding:1.25rem;border:1px solid var(--line);border-radius:12px;background:#f7fafb}
.contact-detail h3{margin:0 0 .75rem;color:var(--teal);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase}
.contact-detail address,.contact-detail p{margin:0;color:#29485b;font-size:1rem;font-style:normal;line-height:1.7}
.contact-email-link{margin-top:.85rem;overflow-wrap:anywhere}
@media(max-width:560px){.auth-card{padding:28px 22px}
.ae-left-check-list.ae-two-column.ae-rows-3 .ae-choice-grid,.ae-left-check-list.ae-two-column.ae-rows-4 .ae-choice-grid,.ae-left-check-list.ae-two-column.ae-rows-5 .ae-choice-grid{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
.intro-visual{min-height:230px}
.visual-caption{left:22px;right:22px;bottom:18px}
.visual-caption strong{font-size:22px}
.domain-content{padding-top:18px}
.hero-panel,.entry-card,.results-card,.reference-section{padding:19px}
.section-heading{align-items:flex-start;flex-direction:column}
.session span{display:none}
th,td{padding:10px}
.topbar{min-height:58px}
.cmsp-summary-grid{grid-template-columns:1fr}
.d4-metadata-grid,.endpoint-detail-grid,.d4-qualification-grid,.d4-finding-panels,.d4-comparator-grid,.d3-metadata-grid,.d3-result-grid,.d5-test-grid{grid-template-columns:1fr}
.contact-detail-grid{grid-template-columns:1fr}
}
@media print{.topbar,.auth-shell button,.secondary{display:none}
.domain-content{padding:0}
.hero-panel{box-shadow:none}
.entry-card,.results-card,.reference-section,.score-card{box-shadow:none;break-inside:avoid}
}



