:root {
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --ink: #17252f;
  --navy: #17384d;
  --muted: #637480;
  --line: #dce4e8;
  --line-strong: #c7d4da;
  --teal: #0b706c;
  --teal-dark: #075753;
  --teal-soft: #e9f5f3;
  --sky-soft: #edf5f8;
  --amber: #9a6818;
  --amber-soft: #fff7e7;
  --red: #984733;
  --red-soft: #fff2ee;
  --shadow: 0 8px 28px rgba(23, 56, 77, .055);
  --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--canvas);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-size: 16px; line-height: 1.6; }
body.dialog-open { overflow: hidden; }
.hidden, [hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: 3px; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid #158ca1 !important; outline-offset: 3px; box-shadow: none !important; }
main:focus { outline: none; }
.skip-link { position: absolute; z-index: 50; left: 16px; top: -90px; padding: 9px 16px; border: 2px solid var(--teal); border-radius: 8px; background: white; }
.skip-link:focus { top: 12px; }
.btn { min-height: 42px; padding: 8px 16px; border-radius: 9px; font-size: 14px; font-weight: 760; white-space: nowrap; }
.btn-primary { --bs-btn-bg: var(--teal); --bs-btn-border-color: var(--teal); --bs-btn-hover-bg: var(--teal-dark); --bs-btn-hover-border-color: var(--teal-dark); --bs-btn-disabled-bg: #71918f; --bs-btn-disabled-border-color: #71918f; }
.btn-outline-secondary { --bs-btn-color: #425b68; --bs-btn-border-color: #bdccd3; --bs-btn-hover-bg: #eef3f5; --bs-btn-hover-color: var(--ink); }
.surface { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(199, 212, 218, .9); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.header-inner { max-width: 1240px; margin: auto; padding: 15px 28px 10px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--navy); font-weight: 800; }
.brand-lockup--gate { margin-bottom: 25px; font-size: 18px; }
.brand-mark { width: 40px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px 10px 10px 3px; background: linear-gradient(145deg, #0c7a75, #164a5c); color: white; font-size: 23px; font-weight: 850; box-shadow: 0 5px 14px rgba(11,112,108,.2); }
.brand-lockup strong { display: block; font-size: 19px; line-height: 1.2; }
.brand-lockup p { margin: 3px 0 0; color: var(--muted); font-size: 11px; font-weight: 600; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-status { margin: 0; color: var(--muted); font-size: 12px; }
.product-nav { max-width: 1240px; margin: auto; padding: 0 28px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.product-nav a { min-height: 38px; padding: 8px 13px; display: inline-flex; align-items: center; flex: 0 0 auto; border: 1px solid transparent; border-radius: 9px 9px 0 0; color: var(--muted); font-size: 13px; font-weight: 780; text-decoration: none; }
.product-nav a:hover { color: var(--teal-dark); background: var(--teal-soft); }
.product-nav a[aria-current="page"] { border-color: var(--line); border-bottom-color: white; background: white; color: var(--teal-dark); }
.section-nav { max-width: 1240px; margin: auto; padding: 0 28px; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.section-nav a { padding: 9px 0 10px; flex: 0 0 auto; border-bottom: 3px solid transparent; color: var(--muted); font-size: 13px; font-weight: 760; text-decoration: none; }
.section-nav a:hover { color: var(--teal); border-bottom-color: var(--teal); }
main { max-width: 1240px; min-width: 0; margin: auto; padding: 34px 28px 56px; }
.site-footer { max-width: 1184px; margin: auto; padding: 18px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.notice { max-width: 1184px; margin: 16px auto 0; padding: 11px 15px; border: 1px solid #b6d8d3; border-radius: 10px; background: var(--teal-soft); color: #245f5c; font-size: 13px; }
.notice--error { border-color: #e5c3b9; background: var(--red-soft); color: var(--red); }
.eyebrow { margin: 0 0 6px; color: var(--teal); font-size: 11px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); overflow-wrap: anywhere; }
h1 { margin: 0 0 10px; font-size: clamp(28px, 3.5vw, 43px); line-height: 1.22; font-weight: 820; letter-spacing: -.035em; }
h2 { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -.015em; }
h3 { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 780; }
p { margin: 0 0 13px; }
.lead-copy { max-width: 760px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.anchor-section { scroll-margin-top: 130px; }
.page-intro { margin: 0 0 25px; padding: 5px 3px 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.data-scope-badge { min-width: 180px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #f9fbfc; }
.data-scope-badge span, .data-scope-badge strong, .data-scope-badge small { display: block; }
.data-scope-badge span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.data-scope-badge strong { margin: 3px 0; color: var(--navy); font-size: 16px; }
.data-scope-badge small { color: var(--muted); font-size: 10px; }
.section-block { margin-bottom: 24px; padding: 25px; }
.section-heading { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-heading--outside { padding: 0 3px; }
.section-heading h2 { margin: 0; }
.quiet-badge, .success-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 760; }
.quiet-badge { background: var(--sky-soft); color: #3b6475; }
.success-badge { background: var(--teal-soft); color: var(--teal-dark); }
.snapshot { margin: 0; color: var(--muted); font-size: 11px; white-space: nowrap; }
.import-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); gap: 22px; }
.epa-scope { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.epa-scope-heading { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1fr); align-items: end; gap: 20px; }
.epa-scope-heading h3 { margin: 0; }
.epa-scope-heading > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.epa-scope-list { margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; list-style: none; }
.epa-scope-item { min-height: 112px; padding: 13px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbfc; }
.epa-scope-item span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.epa-scope-item strong { color: var(--navy); font-size: 11px; line-height: 1.5; }
.epa-scope-item small { margin-top: auto; color: var(--muted); font-size: 9px; line-height: 1.45; }
.epa-scope-item.is-ready { border-color: #9fc9c5; background: var(--teal-soft); }
.epa-scope-item.is-ready span, .epa-scope-item.is-ready small { color: var(--teal-dark); }
.file-drop { min-height: 100px; padding: 18px; display: flex; align-items: center; gap: 15px; border: 1px dashed #9fb9c2; border-radius: 12px; background: #f8fbfc; cursor: pointer; }
.file-drop:hover { border-color: var(--teal); background: #f2f9f8; }
.file-drop:focus-within { border-color: var(--teal); outline: 3px solid #158ca1; outline-offset: 3px; background: #f2f9f8; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-drop strong, .file-drop small { display: block; }
.file-drop strong { color: var(--navy); font-size: 14px; }
.file-drop small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.file-icon { width: 45px; height: 45px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: var(--teal-soft); color: var(--teal-dark); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.file-actions { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.selected-file { min-width: 0; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.privacy-card { padding: 17px 19px; border-left: 3px solid #75aaa4; border-radius: 8px; background: var(--teal-soft); }
.privacy-card strong { color: var(--navy); font-size: 13px; }
.privacy-card ul { margin: 8px 0 0; padding-left: 18px; color: #3f5c5a; font-size: 12px; }
.privacy-card li { margin: 5px 0; }
.import-audit { margin-top: 20px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.import-audit > dl { margin: 13px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.import-audit > dl > div { min-width: 0; padding: 9px 10px; border-radius: 8px; background: white; }
.import-audit .audit-wide { grid-column: 1 / -1; }
.import-audit dt { color: var(--muted); font-size: 10px; font-weight: 720; }
.import-audit dd { margin: 2px 0 0; color: var(--ink); font-size: 11px; overflow-wrap: anywhere; }
.rating-state-summary { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.rating-state-summary h4 { margin: 0 0 4px; color: var(--navy); font-size: 13px; }
.rating-state-grid { margin: 10px 0; display: grid; gap: 6px; }
.rating-state-grid > div { min-width: 0; padding: 8px 10px; border-radius: 7px; background: white; }
.rating-state-grid dt { color: var(--navy); font-size: 10px; }
.rating-state-grid dd, .date-state-summary { margin: 2px 0 0; color: #405965; font-size: 11px; overflow-wrap: anywhere; }
.preview-overlay { position: fixed; z-index: 40; inset: 0; padding: 24px; display: grid; place-items: center; background: rgba(16, 35, 47, .58); }
.preview-overlay .preflight { width: min(1180px, 100%); max-height: calc(100dvh - 48px); margin: 0; overflow-y: auto; box-shadow: 0 24px 70px rgba(16, 35, 47, .24); }
.preflight { margin-top: 20px; padding: 19px; border: 1px solid #b9d8d4; border-radius: 12px; background: #f8fcfb; }
.preflight-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.preflight-facts { margin: 14px 0 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 9px; background: white; }
.preflight-facts span { padding: 10px 12px; border-right: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.preflight-facts span:last-child { border-right: 0; }
.preflight-facts strong { color: var(--navy); }
.quality-detail-grid { margin: 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quality-detail-grid > section { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.quality-detail-grid h4 { margin: 0 0 9px; color: var(--navy); font-size: 13px; }
.quality-reasons, .quality-records { margin: 0; padding-left: 20px; color: #405965; font-size: 12px; }
.quality-records { margin-top: 9px; }
.quality-reasons li, .quality-records li { margin: 5px 0; overflow-wrap: anywhere; }
.quality-blocker { margin: 8px 0 0; color: var(--red); font-size: 12px; font-weight: 700; }
.row-selection { margin: 16px 0; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.row-selection-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.row-selection-head h4 { margin: 0 0 4px; color: var(--navy); font-size: 14px; }
.row-selection-head p { margin: 0; color: var(--muted); font-size: 12px; }
.row-selection-head strong { flex: 0 0 auto; color: var(--teal-dark); font-size: 13px; }
.row-selection-actions { margin: 12px 0 9px; display: flex; flex-wrap: wrap; gap: 8px; }
.row-selection-table-wrap { max-height: 360px; overflow: auto; border: 1px solid var(--line); border-radius: 7px; }
.row-selection-table { min-width: 980px; margin: 0; font-size: 11px; }
.row-selection-table thead { position: sticky; top: 0; z-index: 1; background: #edf6f5; }
.row-selection-table th, .row-selection-table td { padding: 8px 9px; vertical-align: middle; border-color: var(--line); }
.row-selection-table input { width: 17px; height: 17px; accent-color: var(--teal); }
.row-quarantined { background: #fff7f4; color: #6f4b43; }
.row-status { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-weight: 800; white-space: nowrap; }
.row-status--accepted { background: #dff3ee; color: #075e58; }
.row-status--quarantined { background: #f8dfd8; color: #8b3025; }
.quality-contract-errors { margin: 12px 0; padding: 10px 12px; border: 1px solid #d6a99e; border-radius: 8px; background: var(--red-soft); color: #742f21; font-size: 12px; }
.quality-contract-errors strong { display: block; }
.quality-contract-errors p { margin: 3px 0 0; }
.section-note, .chart-note { color: #52656f; font-size: 12px; line-height: 1.7; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.metric-grid { display: grid; grid-template-columns: .75fr .75fr 1.1fr 1fr 1.4fr; gap: 10px; }
.metric-card { min-width: 0; padding: 16px 17px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 4px 16px rgba(23,56,77,.035); }
.metric-card span, .metric-card small { display: block; }
.metric-card span { color: var(--muted); font-size: 11px; font-weight: 720; }
.metric-card strong { display: block; margin: 7px 0 5px; color: var(--navy); font-size: clamp(18px, 2vw, 27px); line-height: 1.25; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-card small { color: #7a8991; font-size: 10px; line-height: 1.45; }
.metric-card:last-child strong { font-size: clamp(17px, 1.55vw, 22px); }
.quality-strip { margin: 10px 0 18px; padding: 10px 13px; display: flex; flex-wrap: wrap; gap: 8px 22px; border: 1px solid #e7ddc8; border-radius: 9px; background: var(--amber-soft); color: #725426; font-size: 11px; }
.quality-strip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.warning-dot::before { content: ""; width: 7px; height: 7px; margin-right: 7px; display: inline-block; border-radius: 50%; background: #c98a24; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 18px; }
.chart-card { padding: 21px; }
.card-heading { margin-bottom: 15px; display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.card-heading p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.card-heading > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.ordinal-chart { display: grid; gap: 11px; }
.chart-row { display: grid; grid-template-columns: minmax(145px, 1.4fr) minmax(90px, 2fr) 42px; align-items: center; gap: 12px; }
.chart-label { min-width: 0; display: grid; }
.chart-label strong { color: var(--navy); font-size: 11px; }
.chart-label span { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.chart-row progress { width: 100%; height: 10px; overflow: hidden; border: 0; border-radius: 999px; background: #e7eef0; color: var(--teal); }
.chart-row progress::-webkit-progress-bar { border-radius: 999px; background: #e7eef0; }
.chart-row progress::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #4f9a94, #0b706c); }
.chart-row progress::-moz-progress-bar { border-radius: 999px; background: #0b706c; }
.chart-row b { color: var(--teal-dark); font-size: 10px; text-align: right; }
.chart-note { margin: 14px 0 0; }
.mini-list { display: grid; gap: 2px; }
.mini-list > div { padding: 7px 0; display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid #eaf0f2; font-size: 11px; }
.mini-list > div:last-child { border-bottom: 0; }
.mini-list span { overflow-wrap: anywhere; }
.mini-list b { flex: 0 0 auto; color: var(--teal); }
.month-strip { margin-top: 15px; padding-top: 13px; display: flex; align-items: flex-end; gap: 6px; border-top: 1px solid var(--line); overflow-x: auto; }
.month-strip span { min-width: 54px; padding: 7px 5px; display: grid; place-items: center; border-radius: 7px; background: var(--sky-soft); }
.month-strip small { color: var(--muted); font-size: 10px; }
.month-strip b { color: var(--navy); font-size: 14px; }
.interpretation-note { margin: 15px 0 25px; overflow: hidden; box-shadow: none; }
.interpretation-note summary { padding: 13px 17px; cursor: pointer; color: var(--teal-dark); font-size: 12px; font-weight: 760; }
.interpretation-note > div { padding: 0 17px 13px; color: #52656f; font-size: 12px; }
.interpretation-note p { margin: 5px 0; }
.learner-roster { margin-bottom: 24px; }
.learner-summary-list { display: grid; gap: 9px; }
.learner-summary { min-width: 0; padding: 13px 14px; display: grid; grid-template-columns: minmax(180px, .75fr) minmax(0, 2fr) auto; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcfd; }
.learner-summary--active { border-color: #8ebdb8; background: #f5faf9; }
.learner-summary__identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
.learner-summary__identity .avatar { width: 34px; height: 34px; font-size: 12px; }
.learner-summary__identity p { margin: 2px 0 0; color: var(--muted); font-size: 10px; }
.learner-reference { display: block; color: #315c68; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; font-weight: 720; overflow-wrap: anywhere; }
.learner-summary dl { min-width: 0; margin: 0; display: grid; grid-template-columns: 1fr 1.35fr .8fr; gap: 12px; }
.learner-summary dt { color: var(--muted); font-size: 9px; font-weight: 720; }
.learner-summary dd { margin: 1px 0 0; color: var(--ink); font-size: 10px; overflow-wrap: anywhere; }
.learner-summary .btn { min-height: 36px; padding: 6px 11px; font-size: 11px; }
.learner-picker { min-width: 270px; color: var(--muted); font-size: 10px; font-weight: 700; }
.learner-picker select { margin-top: 4px; min-height: 42px; border-color: var(--line-strong); color: var(--ink); font-size: 13px; }
.learner-heading { margin: 0 -25px 20px; padding: 16px 25px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafcfc; }
.learner-heading > div { display: flex; align-items: center; gap: 12px; }
.learner-heading h3 { font-size: 18px; }
.learner-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.learner-heading > span { color: var(--muted); font-size: 10px; white-space: nowrap; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-weight: 800; }
.learner-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 16px; }
.learner-grid--lower { margin-top: 16px; }
.subpanel { min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfd; }
.subpanel > h3 { margin-bottom: 14px; }
.coverage-card > strong { display: inline-flex; margin: 4px 0 7px; padding: 4px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 11px; }
.coverage-card > p { color: #52656f; font-size: 12px; }
.coverage-card dl { margin: 11px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.coverage-card dl > div { padding: 8px; border-radius: 7px; background: white; }
.coverage-card dt { color: var(--muted); font-size: 8px; }
.coverage-card dd { margin: 2px 0 0; color: var(--navy); font-size: 11px; font-weight: 750; }
.evidence-block { margin-top: 17px; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.evidence-table { width: 100%; min-width: 920px; border-collapse: collapse; font-size: 12px; }
.evidence-table caption { padding: 9px 12px; caption-side: top; background: white; color: #405965; font-size: 12px; line-height: 1.55; text-align: left; }
.evidence-table th, .evidence-table td { padding: 11px 12px; border-bottom: 1px solid #e7edef; text-align: left; vertical-align: top; }
.evidence-table thead th { position: sticky; top: 0; background: #eef4f6; color: #4a6471; font-size: 9px; letter-spacing: .02em; }
.evidence-table tbody tr:last-child > * { border-bottom: 0; }
.evidence-table tbody tr:focus { outline-offset: -3px; }
.evidence-table tbody tr > * { transition: background-color .25s ease; }
.evidence-table tbody tr.evidence-row--highlight > * { background: #fff1b8; }
.evidence-table tbody th { color: var(--teal-dark); white-space: nowrap; }
.evidence-table td:nth-child(2) { white-space: nowrap; }
.evidence-table td:nth-child(3) { min-width: 150px; }
.evidence-table td:nth-child(4) { min-width: 210px; }
.evidence-table td:nth-child(5) { min-width: 310px; }
.evidence-table small { margin-top: 5px; display: block; color: var(--muted); }
.evidence-date { min-width: 150px; }
.evidence-date--blank { color: #4b606a; }
.evidence-date--invalid, .evidence-date--invalid-contract { color: var(--red); font-weight: 720; }
.evidence-date--contract-missing small { max-width: 180px; color: #493b63; white-space: normal; }
.level-chip { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark); font-weight: 760; }
.component-chip { margin: 0 4px 4px 0; padding: 2px 5px; display: inline-block; border-radius: 5px; background: #f0f4f5; color: #50646f; font-size: 10px; }
.component-chip--blank { background: #eef3f5; color: #263f4b; }
.component-chip--unassessed { background: #fff7e7; color: #624f30; }
.component-chip--invalid { background: #fff2ee; color: #742f21; }
.component-chip--contract-missing, .component-chip--invalid-contract { background: #f2eef8; color: #493b63; }
.component-list { display: grid; gap: 0; }
.component-row { padding: 9px 0; display: grid; grid-template-columns: minmax(170px, 1fr) minmax(0, 1.2fr); gap: 12px; border-bottom: 1px solid #e8eef0; font-size: 11px; }
.component-row:last-child { border-bottom: 0; }
.component-row b { color: var(--teal-dark); font-weight: 720; text-align: right; }
.definition-card { border-color: #ead9b7; background: var(--amber-soft); }
.definition-card p { color: #624f30; font-size: 12px; }
.raw-distribution { display: flex; flex-wrap: wrap; gap: 6px; }
.raw-distribution span { padding: 5px 7px; border: 1px solid #e9d9bc; border-radius: 7px; background: white; color: #705d3c; font-size: 10px; }
.draft-intro { margin: 0 -25px 20px; padding: 15px 25px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f7fafb; }
.draft-intro strong { color: var(--navy); font-size: 13px; }
.draft-intro p { margin: 2px 0 0; color: #52656f; font-size: 12px; }
.draft-intro > span { color: #79500f; font-size: 12px; font-weight: 750; white-space: nowrap; }
.initial-impression { padding: 18px; display: grid; grid-template-columns: minmax(230px, .75fr) minmax(0, 1.4fr) auto; align-items: end; gap: 15px; border: 1px solid #c8dce1; border-radius: 12px; background: var(--sky-soft); }
.initial-impression h3 { margin-bottom: 4px; }
.initial-impression p { margin: 0; color: #405d69; font-size: 12px; line-height: 1.65; }
.initial-impression label { display: block; color: var(--navy); font-size: 12px; font-weight: 760; }
.initial-impression textarea { width: 100%; min-height: 86px; margin-top: 5px; padding: 9px 11px; display: block; border: 1px solid #9fb6c0; border-radius: 8px; background: white; color: var(--ink); font-size: 14px; resize: vertical; }
.initial-impression-record { margin-bottom: 14px; padding: 12px 15px; border-left: 4px solid #518aa0; border-radius: 8px; background: var(--sky-soft); }
.initial-impression-record span { color: #405d69; font-size: 10px; font-weight: 760; }
.initial-impression-record p { margin: 3px 0 0; font-size: 12px; }
.claim-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.claim-card { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(23,56,77,.035); }
.claim-card[aria-busy="true"] { border-color: #7d9eaa; }
.claim-card--accepted { border-left: 4px solid var(--teal); }
.claim-card--edited { border-left: 4px solid #377b9b; }
.claim-card--rejected { border-left: 4px solid #a85742; }
.claim-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.claim-index { margin: 0 0 2px; color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 8px; }
.review-state { padding: 3px 7px; flex: 0 0 auto; border-radius: 999px; background: #edf2f4; color: #566b76; font-size: 9px; font-weight: 760; }
.claim-card--accepted .review-state { background: var(--teal-soft); color: var(--teal-dark); }
.claim-card--edited .review-state { background: var(--sky-soft); color: #2e657d; }
.claim-card--rejected .review-state { background: var(--red-soft); color: var(--red); }
.claim-text { min-height: 48px; margin: 12px 0; font-size: 12px; line-height: 1.65; }
.claim-card blockquote { margin: 10px 0; padding: 8px 10px; border-left: 3px solid #6c9eb4; background: var(--sky-soft); font-size: 10px; }
.claim-card blockquote p { margin: 2px 0 0; }
.evidence-links { min-height: 44px; padding: 8px 9px; display: grid; gap: 5px; border-radius: 7px; background: #f6f8f9; color: var(--muted); font-size: 10px; }
.evidence-links code { padding: 1px 4px; border-radius: 4px; background: #e8eff1; color: var(--teal-dark); font-size: 9px; }
.evidence-reference { min-width: 44px; min-height: 30px; margin: 2px 0 2px 3px; padding: 2px 4px; border: 1px solid #bdd0d6; border-radius: 6px; background: white; color: var(--teal-dark); vertical-align: middle; }
.evidence-reference:hover { border-color: var(--teal); background: var(--teal-soft); }
.evidence-reference code { background: transparent; }
.no-evidence { color: #667982; }
.caveat { margin: 9px 0; padding: 7px 9px; border-radius: 6px; background: #f6f8f9; color: #405965; font-size: 12px; line-height: 1.55; }
.review-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.review-button { min-height: 35px; padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 7px; background: white; color: #405965; font-size: 10px; font-weight: 760; }
.review-button:hover { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.edit-box { margin-top: 10px; }
.edit-box label { margin-bottom: 4px; display: block; color: var(--navy); font-size: 10px; font-weight: 750; }
.edit-box textarea { width: 100%; padding: 9px; border: 1px solid var(--line-strong); border-radius: 8px; color: var(--ink); font-size: 11px; resize: vertical; }
.edit-box .button-row { margin-top: 7px; }
.empty-workspace { min-height: 220px; padding: 35px; display: flex; align-items: center; gap: 23px; color: var(--muted); }
.empty-workspace h2 { margin-bottom: 6px; }
.empty-workspace p { margin: 0; font-size: 13px; }
.empty-mark { width: 70px; height: 70px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; background: var(--sky-soft); color: #6c8794; font-size: 20px; font-weight: 800; }
.loading-state { padding: 30px; color: var(--muted); }
.empty-inline { color: var(--muted); font-size: 11px; }
.gate { min-height: 100vh; padding: 24px; display: grid; place-items: center; background: radial-gradient(circle at 20% 15%, #e6f3f2 0, transparent 32%), var(--canvas); }
.gate-card { width: min(460px, 100%); padding: 34px; }
.gate-card .lead-copy { margin-bottom: 24px; }
.gate-card .btn { width: 100%; margin-top: 18px; }
.form-control { min-height: 45px; border-color: var(--line-strong); }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(11,112,108,.12); }
.form-error { margin: 11px 0 0; color: var(--red); font-size: 12px; }
@media (max-width: 1020px) {
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-card:nth-child(4), .metric-card:nth-child(5) { grid-column: span 1; }
  .overview-grid, .learner-grid { grid-template-columns: minmax(0, 1fr); }
  .learner-summary { grid-template-columns: minmax(170px, .7fr) minmax(0, 1.6fr); }
  .learner-summary .btn { grid-column: 1 / -1; justify-self: start; }
  .initial-impression { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .initial-impression .btn { justify-self: start; }
  .claim-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .site-header { position: static; }
  .header-inner { padding: 14px 17px 9px; display: grid; gap: 10px; }
  .header-actions { justify-content: space-between; }
  .product-nav { padding: 0 17px; }
  .section-nav { padding: 0 17px; gap: 21px; }
  main { padding: 24px 15px 38px; }
  .site-footer, .notice { margin-left: 15px; margin-right: 15px; }
  .page-intro { display: block; }
  .data-scope-badge { width: fit-content; margin-top: 16px; }
  .section-block { padding: 18px; }
  .section-heading { display: block; }
  .section-heading > :last-child { margin-top: 9px; }
  .import-grid { grid-template-columns: minmax(0, 1fr); }
  .epa-scope-heading { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .epa-scope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .import-audit > dl { grid-template-columns: minmax(0, 1fr); }
  .import-audit .audit-wide { grid-column: auto; }
  .file-actions { align-items: stretch; flex-direction: column; }
  .selected-file { white-space: normal; overflow-wrap: anywhere; }
  .preflight-head { align-items: flex-start; flex-direction: column; }
  .row-selection-head { flex-direction: column; }
  .preflight-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preflight-facts span:nth-child(2) { border-right: 0; }
  .preflight-facts span:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .metric-card { padding: 12px; }
  .metric-card:nth-child(5) { grid-column: 1 / -1; }
  .metric-card strong { font-size: 20px; }
  .quality-strip { display: grid; gap: 6px; }
  .chart-card { padding: 16px; }
  .chart-row { grid-template-columns: minmax(100px, 1.2fr) minmax(60px, 1fr) 38px; gap: 7px; }
  .chart-label span { max-width: 120px; }
  .learner-summary { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .learner-summary dl { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .learner-summary .btn { grid-column: auto; width: 100%; }
  .learner-picker { min-width: 0; width: 100%; }
  .learner-heading { margin: 0 -18px 17px; padding: 14px 18px; align-items: flex-start; flex-direction: column; }
  .learner-heading > span { padding-left: 54px; }
  .coverage-card dl { grid-template-columns: minmax(0, 1fr); }
  .component-row { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .component-row b { text-align: left; }
  .draft-intro { margin: 0 -18px 17px; padding: 14px 18px; align-items: flex-start; flex-direction: column; }
  .draft-intro > span { white-space: normal; }
  .review-button { min-height: 44px; }
  .button-row .btn { width: 100%; }
  .empty-workspace { padding: 25px 20px; align-items: flex-start; }
  .empty-mark { width: 50px; height: 50px; border-radius: 12px; font-size: 15px; }
  .gate-card { padding: 27px 22px; }
}
@media (max-width: 400px) {
  .epa-scope-list { grid-template-columns: minmax(0, 1fr); }
  .metric-grid { grid-template-columns: minmax(0, 1fr); }
  .metric-card:nth-child(5) { grid-column: auto; }
  .chart-row { grid-template-columns: minmax(0, 1fr) 36px; }
  .chart-row progress { grid-column: 1 / -1; grid-row: 2; }
  .chart-row b { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .notice, .site-footer, .skip-link, #import, .review-actions, .edit-box { display: none !important; }
  body { background: white; }
  main { max-width: none; padding: 0; }
  .surface { box-shadow: none; break-inside: avoid; }
  .table-scroll { overflow: visible; }
}
