/* GENERATED by tools/build-css.js. Do not edit by hand.
   Sources: tools/source/style/tokens.json SHA-256 23134410a8f4244c27f7eb74725c9626e95697facb3451f1d9dc7eef9c8ddc43
            tools/source/style/bundle.css SHA-256 b7f8761e71cc663c641018b6c3c4df5991f6318595984bee897589cdf451d085
            tools/source/style/app-layer.css SHA-256 0c442d787250d48f4a33ee0da8b08ac3d3233eb69a4012c5b47607a32d246e6c
   Tokens and components: DGM Style Guide (review build 4.5). */

/* Tokens */
:root {
  --navy: #0F2A47;
  --navy-2: #163A61;
  --hero-mid: #14375C;
  --blue: #1D5BA6;
  --blue-lt: #3E7FD0;
  --teal: #0E8E9B;
  --teal-lt: #14B0BF;
  --purple: #6A5AB0;
  --bg: #F3F5F8;
  --card: #FFFFFF;
  --panel: #F7F9FC;
  --hover-tint: #F4F8FD;
  --quiet-hover: #F0F5FB;
  --track: #E7ECF2;
  --line: #DDE3EA;
  --ink: #16222E;
  --ink-2: #4A5A6B;
  --ink-3: #7A8899;
  --nav-text: #C6D6E6;
  --nav-dim: #9EB6CE;
  --nav-bright: #CFE0F1;
  --blue-tint: #E9F1FB;
  --blue-tint-line: #C6DCF4;
  --blue-ink: #134A87;
  --teal-tint: #E6F6F7;
  --teal-tint-line: #BDE6EA;
  --teal-ink: #0A6C77;
  --neutral-tint: #F2F6FA;
  --ok: #1B7A4B;
  --ok-bg: #EAF5EF;
  --ok-line: #BCDFCB;
  --warn: #B4541A;
  --warn-bg: #FDF2E7;
  --warn-line: #F0D3B0;
  --bad: #A32B2B;
  --bad-bg: #FBECEC;
  --bad-line: #EEC4C4;
  --bad-ink: #7A2222;
  --notice-bg: #FFF4E0;
  --notice-line: #F0DCB4;
  --notice-ink: #6B4A11;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --space-2xs: 4px;
  --space-xs: 6px;
  --space-sm: 10px;
  --space-md: 16px;
  --space-lg: 20px;
  --space-lg-tight: 15px;
  --space-xl: 34px;
  --space-2xl: 46px;
  --gutter: 22px;
  --bar-height: 60px;
  --page-max: 1180px;
  --page-narrow: 880px;
  --rail: 250px;
  --radius-card: 10px;
  --radius-button: 8px;
  --radius-input: 7px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(15,42,71,.06), 0 4px 14px rgba(15,42,71,.06);
}
.dgm-t-display { font-size: 2.45rem; line-height: 1.22; font-weight: 650; letter-spacing: -0.022em; }
.dgm-t-page-title { font-size: 1.55rem; line-height: 1.22; font-weight: 650; letter-spacing: -0.01em; }
.dgm-t-section-title { font-size: 1.12rem; line-height: 1.22; font-weight: 650; letter-spacing: -0.01em; }
.dgm-t-sub-title { font-size: 0.98rem; line-height: 1.22; font-weight: 650; }
.dgm-t-body { font-size: 15.5px; line-height: 1.55; font-weight: 400; }
.dgm-t-lede { font-size: 1.14rem; line-height: 1.55; font-weight: 400; }
.dgm-t-label { font-size: 0.88rem; line-height: 1.4; font-weight: 550; }
.dgm-t-table { font-size: 0.9rem; line-height: 1.45; font-weight: 400; }
.dgm-t-small { font-size: 0.82rem; line-height: 1.45; font-weight: 400; }
.dgm-t-badge-text { font-size: 0.74rem; line-height: 1.3; font-weight: 500; }
.dgm-t-kicker { font-size: 0.9rem; line-height: 1.3; font-weight: 600; }
.dgm-t-score { font-size: 3rem; line-height: 1; font-weight: 680; letter-spacing: -0.03em; }
.dgm-t-metric { font-size: 1.55rem; line-height: 1.1; font-weight: 650; }

/* Components (DGM Style Guide bundle.css, unchanged) */
/* DGM Assessment components. Plain CSS over tokens.css; no script, no framework.
   Class prefix dgm-. Every color comes from a token. */
.dgm, .dgm * { box-sizing: border-box; }
.dgm { font-family: var(--font-sans); font-size: 15.5px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
.dgm h1, .dgm h2, .dgm h3, .dgm h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
.dgm h1 { font-size: 1.55rem; }
.dgm h2 { font-size: 1.12rem; }
.dgm h3 { font-size: .98rem; }
.dgm p { margin: 0 0 .9em; max-width: 80ch; }
.dgm a { color: var(--blue); text-underline-offset: 2px; }
.dgm :focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 1px; }
.dgm .num, .dgm-num { font-variant-numeric: tabular-nums; }
.dgm-muted { color: var(--ink-2); }
.dgm-small { font-size: .82rem; color: var(--ink-2); }
.dgm-kicker { color: var(--teal-ink); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.dgm-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.dgm-stack { display: grid; gap: 16px; }

/* Buttons */
.dgm-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--blue); color: #FFFFFF; border: 1px solid transparent; font: inherit; font-size: .94rem; font-weight: 550; padding: 10px 18px; border-radius: var(--radius-button); cursor: pointer; text-decoration: none; }
.dgm-btn:hover { background: var(--navy-2); }
.dgm-btn.quiet { background: var(--card); color: var(--blue); border-color: var(--line); }
.dgm-btn.quiet:hover { background: var(--quiet-hover); }
.dgm-btn.ghost { background: transparent; color: #FFFFFF; border-color: var(--nav-dim); }
.dgm-btn.ghost:hover { background: var(--navy-2); }
.dgm-btn.danger { background: var(--card); color: var(--bad); border-color: var(--bad-line); }
.dgm-btn.danger:hover { background: var(--bad-bg); }
.dgm-btn.sm { padding: 6px 12px; font-size: .86rem; }
.dgm-btn:disabled, .dgm-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Badges */
.dgm-badge { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; font-weight: 500; line-height: 1.3; padding: 2px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--neutral-tint); color: var(--ink-2); white-space: nowrap; }
.dgm-badge.info { background: var(--blue-tint); border-color: var(--blue-tint-line); color: var(--blue-ink); }
.dgm-badge.teal { background: var(--teal-tint); border-color: var(--teal-tint-line); color: var(--teal-ink); }
.dgm-badge.ok { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.dgm-badge.warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.dgm-badge.bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.dgm-badge.notice { background: var(--notice-bg); border-color: var(--notice-line); color: var(--notice-ink); }
.dgm-badge.dashed { border-style: dashed; border-color: var(--warn); }
.dgm-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dgm-dot.d1 { background: var(--blue); } .dgm-dot.d2 { background: var(--teal); } .dgm-dot.d3 { background: var(--purple); } .dgm-dot.d4 { background: var(--warn); }

/* Notes and disclosure */
.dgm-note { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-button); padding: 14px 16px; font-size: .9rem; color: var(--ink-2); }
.dgm-note strong { color: var(--ink); }
.dgm-note.warn { background: var(--warn-bg); border-left-color: var(--warn); color: var(--notice-ink); }
.dgm-note.warn strong { color: var(--notice-ink); }
.dgm-note.stop { background: var(--bad-bg); border-left-color: var(--bad); color: var(--bad-ink); }
.dgm-note.stop strong { color: var(--bad-ink); }
.dgm-note p:last-child { margin-bottom: 0; }
.dgm-how { font-size: .88rem; color: var(--ink-2); }
.dgm-how summary { cursor: pointer; color: var(--blue); font-weight: 550; }
.dgm-how[open] summary { margin-bottom: 6px; }

/* Top bar */
.dgm-top { background: var(--navy); color: var(--nav-text); }
.dgm-top-row { display: flex; align-items: center; gap: 18px; min-height: 60px; padding: 0 22px; }
.dgm-brand { color: #FFFFFF; font-weight: 650; font-size: 1.02rem; letter-spacing: -.01em; line-height: 1.2; max-width: 15em; }
.dgm-brand small { display: block; font-weight: 400; font-size: .7rem; color: var(--nav-dim); letter-spacing: .01em; }
.dgm-steps { display: flex; gap: 2px; margin-left: auto; list-style: none; padding: 0; margin-top: 0; margin-bottom: 0; flex-wrap: wrap; }
.dgm .dgm-step, .dgm-step { display: flex; align-items: baseline; gap: 6px; background: none; border: 0; color: var(--nav-text); font: inherit; font-size: .9rem; padding: 8px 10px; border-radius: var(--radius-input); cursor: pointer; text-decoration: none; white-space: nowrap; }
.dgm .dgm-step:hover, .dgm-step:hover { background: var(--navy-2); color: #FFFFFF; }
.dgm-step .n { font-variant-numeric: tabular-nums; color: var(--nav-dim); font-size: .8rem; }
.dgm-step .c { font-size: .78rem; color: var(--nav-dim); }
.dgm-step .flag { background: var(--warn-bg); color: var(--warn); border-radius: var(--radius-pill); font-size: .72rem; padding: 0 7px; font-weight: 600; }
.dgm .dgm-step[aria-current="step"], .dgm-step[aria-current="step"] { background: var(--blue); color: #FFFFFF; }
.dgm-step[aria-current="step"] .n, .dgm-step[aria-current="step"] .c { color: #FFFFFF; }
.dgm-tools { background: transparent; color: #FFFFFF; border: 1px solid var(--nav-dim); font: inherit; font-size: .88rem; padding: 7px 12px; border-radius: var(--radius-input); cursor: pointer; }
.dgm-tools:hover { background: var(--navy-2); }
.dgm-menu { display: none; margin-left: auto; }
@media (max-width: 1180px) { .dgm-step .c { display: none; } }
@media (max-width: 900px) { .dgm-context .org, .dgm-context .sep { display: none; } .dgm-top nav { display: none; } .dgm-menu { display: inline-block; } .dgm-tools { margin-left: 0; } .dgm-brand { font-size: .92rem; } .dgm-top-row { padding: 0 16px; gap: 10px; } }

/* Context strip */
.dgm-context { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; background: var(--notice-bg); border-bottom: 1px solid var(--notice-line); color: var(--notice-ink); font-size: .82rem; padding: 7px 22px; }
.dgm-context b { font-weight: 600; }
.dgm-context .sep { color: var(--notice-line); }
.dgm-context .saved { margin-left: auto; color: var(--ink-2); }

/* Tabs */
.dgm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.dgm-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: .9rem; color: var(--ink-2); padding: 9px 13px; cursor: pointer; white-space: nowrap; display: inline-flex; gap: 6px; align-items: center; }
.dgm-tabs button:hover { color: var(--ink); }
.dgm-tabs button[aria-selected="true"] { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }

/* Cards and layout */
.dgm-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card); }
.dgm-card.tight { padding: 15px; }
.dgm-card > :last-child { margin-bottom: 0; }
.dgm-card.d1 { border-top: 3px solid var(--blue); } .dgm-card.d2 { border-top: 3px solid var(--teal); } .dgm-card.d3 { border-top: 3px solid var(--purple); } .dgm-card.d4 { border-top: 3px solid var(--warn); }
.dgm-split { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
@media (max-width: 880px) { .dgm-split { grid-template-columns: minmax(0, 1fr); } }

/* Fields */
.dgm-field { display: grid; gap: 4px; margin-bottom: 12px; }
.dgm-field > span { font-size: .88rem; color: var(--ink-2); font-weight: 550; }
.dgm-field .req { font-weight: 400; color: var(--ink-2); }
.dgm-field .hint { font-size: .82rem; color: var(--ink-2); }
.dgm-field .err { font-size: .82rem; color: var(--bad); font-weight: 600; }
.dgm input[type=text], .dgm input[type=date], .dgm select, .dgm textarea { width: 100%; font: inherit; font-size: .92rem; color: var(--ink); padding: 8px 10px; border: 1px solid var(--ink-3); border-radius: var(--radius-input); background: var(--card); }
.dgm textarea { min-height: 70px; resize: vertical; }
.dgm [aria-invalid="true"] { border-color: var(--bad); }
.dgm input:focus, .dgm select:focus, .dgm textarea:focus { outline: 2px solid var(--blue-lt); outline-offset: 1px; }
.dgm-check { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; }
.dgm-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--blue); }

/* Side list */
.dgm-side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.dgm-side button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: .9rem; padding: 11px 13px; cursor: pointer; color: var(--ink); }
.dgm-side button:last-child { border-bottom: 0; }
.dgm-side button:hover { background: var(--hover-tint); }
.dgm-side button[aria-current="true"] { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.dgm-side .sub { grid-column: 1 / -1; font-size: .8rem; color: var(--ink-2); }

/* Rating scale */
.dgm-scale { display: flex; gap: 6px; flex-wrap: wrap; }
.dgm-scale button { flex: 1 1 104px; background: var(--card); border: 1px solid var(--ink-3); border-radius: var(--radius-button); padding: 8px 6px; font: inherit; font-size: .8rem; color: var(--ink-2); cursor: pointer; text-align: center; line-height: 1.25; }
.dgm-scale button b { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 650; }
.dgm-scale button:hover { border-color: var(--blue); background: var(--hover-tint); }
.dgm-scale button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.dgm-scale button[aria-pressed="true"] b { color: #FFFFFF; }
.dgm-scale.status button { flex: 0 1 auto; padding: 6px 12px; }

/* Segmented control (coverage) */
.dgm-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--ink-3); border-radius: var(--radius-button); overflow: hidden; background: var(--card); }
.dgm-seg button { background: none; border: 0; border-right: 1px solid var(--line); font: inherit; font-size: .82rem; color: var(--ink-2); padding: 6px 11px; cursor: pointer; }
.dgm-seg button:last-child { border-right: 0; }
.dgm-seg button:hover { background: var(--hover-tint); }
.dgm-seg button[aria-pressed="true"] { background: var(--blue); color: #FFFFFF; }
.dgm-seg button[aria-pressed="true"].fu { background: var(--warn); }

/* Question card */
.dgm-q { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card); }
.dgm-q-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .82rem; color: var(--ink-2); margin-bottom: 8px; }
.dgm-q-prompt { font-size: 1.12rem; font-weight: 650; line-height: 1.35; margin: 0 0 6px; color: var(--ink); }
.dgm-topic { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.dgm-topic h4 { margin: 0; font-size: .92rem; font-weight: 600; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.dgm-topic p { grid-column: 1 / 2; margin: 0; font-size: .88rem; color: var(--ink-2); }
.dgm-topic .dgm-seg { grid-row: 1 / span 2; grid-column: 2; }
@media (max-width: 700px) { .dgm-topic { grid-template-columns: minmax(0, 1fr); } .dgm-topic .dgm-seg { grid-row: auto; grid-column: auto; } }
.dgm-probe { font-size: .86rem; color: var(--ink-2); padding: 8px 10px; background: var(--panel); border-radius: var(--radius-input); margin-top: 6px; }

/* Meters */
.dgm-bar { height: 9px; background: var(--track); border-radius: var(--radius-pill); overflow: hidden; }
.dgm-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.dgm-meter { position: relative; height: 12px; background: var(--track); border-radius: var(--radius-pill); }
.dgm-meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue); border-radius: var(--radius-pill); }
.dgm-meter.under i { background: var(--warn); }
.dgm-meter .floor { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.dgm-meter-legend { display: flex; justify-content: space-between; font-size: .8rem; color: var(--ink-2); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Band scale */
.dgm-bands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin: 10px 0 4px; }
.dgm-bands span { height: 10px; border-radius: 3px; background: var(--track); }
.dgm-bands span.on { outline: 2px solid var(--ink); outline-offset: 1px; }
.dgm-bands span.b1 { background: var(--blue-tint); } .dgm-bands span.b2 { background: var(--blue-tint-line); } .dgm-bands span.b3 { background: var(--blue-lt); } .dgm-bands span.b4 { background: var(--blue); } .dgm-bands span.b5 { background: var(--blue-ink); }
.dgm-bands-labels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; font-size: .74rem; color: var(--ink-2); line-height: 1.2; }
.dgm-score { font-size: 3rem; font-weight: 680; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }

/* Level grid (16 subdomains) */
.dgm-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .dgm-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dgm-levels section { border-top: 3px solid var(--line); padding-top: 8px; }
.dgm-levels section.d1 { border-top-color: var(--blue); } .dgm-levels section.d2 { border-top-color: var(--teal); } .dgm-levels section.d3 { border-top-color: var(--purple); } .dgm-levels section.d4 { border-top-color: var(--warn); }
.dgm-levels h4 { font-size: .82rem; margin: 0 0 6px; color: var(--ink-2); font-weight: 600; }
.dgm-lv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 5px 0; font-size: .84rem; border-bottom: 1px solid var(--line); }
.dgm-lv:last-child { border-bottom: 0; }
.dgm-lv select { width: 100%; font-size: .82rem; padding: 4px 6px; }
.dgm-lv.contested select { border: 1px dashed var(--warn); background: var(--warn-bg); }

/* Tables */
.dgm-table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
.dgm-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.dgm-table th, .dgm-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dgm-table th { color: var(--ink-2); font-weight: 600; font-size: .82rem; background: var(--panel); }
.dgm-table tr:last-child td { border-bottom: 0; }
.dgm-table tbody tr:hover { background: var(--hover-tint); }
.dgm-table td.num, .dgm-table th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Checklist */
.dgm-checklist { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.dgm-checklist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.dgm-checklist li:last-child { border-bottom: 0; }
.dgm-checklist .what { font-weight: 600; }
.dgm-checklist .why { grid-column: 2 / 3; font-size: .84rem; color: var(--ink-2); }

/* Report and print */
.dgm-report { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 34px; box-shadow: var(--shadow-card); }
.dgm-report h2 { color: var(--navy); border-bottom: 1px solid var(--line); padding-bottom: 8px; margin-top: 26px; }
.dgm-report h2:first-of-type { margin-top: 0; }
.dgm-rcover { border-bottom: 3px solid var(--navy); padding-bottom: 18px; margin-bottom: 24px; }
.dgm-rcover .org { font-size: 1.55rem; font-weight: 650; color: var(--navy); line-height: 1.2; }
.dgm-confidential { font-size: .78rem; color: var(--ink-2); border-top: 1px solid var(--ink-3); padding-top: 6px; margin-top: 18px; }
.dgm-writein { border-bottom: 1px solid var(--ink-3); height: 26px; }
@media print {
  .dgm { background: #FFFFFF; font-size: 10.5pt; }
  .dgm-top, .dgm-context, .dgm-noprint { display: none !important; }
  .dgm-report { border: 0; box-shadow: none; padding: 0; }
  .dgm-card, .dgm-q { box-shadow: none; }
  .dgm-report h2, .dgm-table th { break-after: avoid; }
  .dgm-table tr, .dgm-card { break-inside: avoid; }
  .dgm-table th, .dgm-table td { border-bottom-color: var(--ink-3); }
}
@media (prefers-reduced-motion: reduce) { .dgm * { transition: none !important; animation: none !important; } }

/* Tool layer */
/* Tool layer for review build 4.5: page layout, the shell, the 4.4.1 class
   names restyled on the style guide tokens, and print. Every color is a
   token. One sans-serif family; no serif headings. */

/* Base */
* { box-sizing: border-box; }
html { font-size: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans); font-size: 15.5px; line-height: 1.55; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #FFFFFF; padding: 10px 16px; font-weight: 600; z-index: 300; }
.skip:focus { left: 8px; top: 8px; }
a { color: var(--blue); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--blue-lt); outline-offset: 1px; }
main:focus { outline: none; }
h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 650; letter-spacing: -0.01em; color: var(--ink); line-height: 1.22; }
h1 { font-size: 1.55rem; margin: 0 0 .5rem; }
h2 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; }
h3 { font-size: .98rem; margin: 1rem 0 .4rem; }
h4 { font-size: .92rem; margin: .8rem 0 .3rem; }
p { margin: .4rem 0 .8rem; max-width: 80ch; }
.lead { color: var(--ink-2); font-size: 1rem; }
.muted, .hint { color: var(--ink-2); }
.hint { font-size: .82rem; margin: .2rem 0 .4rem; }
.req { color: var(--ink-2); font-weight: 400; font-size: .82rem; }
.error { color: var(--bad); font-weight: 600; }
kbd { font-family: var(--font-sans); font-size: .76rem; border: 1px solid var(--ink-3); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--card); color: var(--ink); }
.num, td.num { font-variant-numeric: tabular-nums; }

/* Shell: sticky top bar and context strip */
.chrome { position: sticky; top: 0; z-index: 100; }
:root { --chrome-h: 92px; }
html { scroll-padding-top: calc(var(--chrome-h) + 8px); }
.dgm-top { position: relative; }
.dgm-top-row { min-height: var(--bar-height); max-width: none; }
.dgm-brand { margin: 0; padding: 6px 0; flex: 0 1 auto; }
.dgm-brand .pcg-logo { display: block; height: 18px; width: auto; margin-top: 2px; }
#nav[hidden], #menu-btn[hidden], #tools-wrap[hidden] { display: none; }
.dgm-step .flag { margin-left: 2px; }
.tools-wrap { position: relative; }
.tools-menu { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); min-width: 210px; z-index: 150; }
.tools-menu a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; border-radius: var(--radius-input); font-size: .92rem; }
.tools-menu a:hover { background: var(--hover-tint); }
.tools-menu a[aria-current="page"] { background: var(--blue-tint); color: var(--blue-ink); font-weight: 600; }
.phone-menu { background: var(--navy-2); padding: 8px 16px 12px; }
.phone-menu[hidden] { display: none; }
.phone-menu ul { list-style: none; margin: 0; padding: 0; }
.phone-menu a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 6px; color: #FFFFFF; text-decoration: none; border-bottom: 1px solid var(--navy); }
.phone-menu a .c { color: var(--nav-text); font-size: .82rem; }
.phone-menu a[aria-current="step"] { font-weight: 650; }
@media (min-width: 901px) { .phone-menu { display: none !important; } }
.dgm-context { min-height: 32px; }
.dgm-context .details-toggle { display: none; }
@media (max-width: 900px) { .dgm-context { padding: 7px 16px; } .dgm-context .details-toggle { display: inline; } .dgm-context .details-toggle details { display: inline; } }
.dgm-context .save-bad { color: var(--bad); font-weight: 600; }
@media (max-height: 520px) { .chrome { position: static; } html { scroll-padding-top: 0; } }

/* Page */
main { display: block; max-width: var(--page-max); margin: 0 auto; padding: 18px var(--gutter) 60px; }
main.narrow-page { max-width: var(--page-narrow); }
@media (max-width: 600px) { main { padding-left: 16px; padding-right: 16px; } }
.page-head { margin-bottom: 16px; }
.page-head .status-line { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--ink-2); font-size: .9rem; }
.dgm-next { margin-top: 28px; }
.alerts { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 10px; }
.card-head h2 { margin: 0; }
.dgm-stack > .dgm-card { margin: 0; }
.dgm-card + .dgm-card { margin-top: var(--space-md); }
.dgm-card h2:first-child, .dgm-card h3:first-child { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 760px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.form-grid .wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.counts-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 4px 0 14px; }
.counts-row .metric { font-size: 1.55rem; font-weight: 650; line-height: 1.1; font-variant-numeric: tabular-nums; color: var(--ink); display: block; }
.counts-row .what { font-size: .82rem; color: var(--ink-2); }
.dgm-side { align-self: start; }
.dgm-side .rail-meter { grid-column: 1 / -1; }
.dgm-meter.mini { height: 8px; }
.dgm-meter.mini .floor { top: -3px; bottom: -3px; }
.dgm-meter .tick { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.dgm-lv .row-head { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.dgm-lv .access { font-size: .78rem; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.dgm-lv .access input { width: 14px; height: 14px; accent-color: var(--blue); }
.dgm-table .remove { white-space: nowrap; }
.dgm-table td .chips { max-width: 36rem; }
.table-scroll { overflow-x: auto; }
.coverage-grid { font-size: .78rem; }
.coverage-grid th, .coverage-grid td { padding: 4px 6px; white-space: nowrap; }
.coverage-grid td.cell-planned { color: var(--blue-ink); }
.coverage-grid td.cell-walk { color: var(--teal-ink); }
.coverage-grid td.cell-answered { color: var(--ok); }
.coverage-grid td.cell-eligible { color: var(--ink-2); }
.walk-prompt { font-size: .88rem; color: var(--ink); margin: 0; }
.dgm-topic.covered { opacity: .75; }
.probe-row { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.probe-row select { width: auto; min-width: 12rem; }

/* Interview: three panes at 1180 pixels and wider */
.session-header { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 12px 16px; margin-bottom: 16px; }
.session-header .who { font-weight: 650; }
.session-header .metric { font-size: 1.55rem; font-weight: 650; font-variant-numeric: tabular-nums; margin-left: auto; }
.session-header select { width: auto; }
.interview-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr) 280px; gap: 20px; align-items: start; }
.interview-rail { position: sticky; top: calc(var(--chrome-h) + 10px); max-height: calc(100vh - var(--chrome-h) - 20px); overflow-y: auto; }
.session-panel { position: sticky; top: calc(var(--chrome-h) + 10px); }
.session-panel .finish { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.rail-drawer > summary { display: none; }
@media (max-width: 1179px) {
  .interview-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .rail-drawer { grid-column: 1 / -1; }
  .rail-drawer > summary { display: list-item; cursor: pointer; color: var(--blue); font-weight: 550; margin-bottom: 8px; }
  .interview-rail { position: static; max-height: none; }
}
@media (max-width: 879px) { .interview-grid { grid-template-columns: minmax(0, 1fr); } .session-panel { position: static; } }
.q-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; border-top: 1px solid var(--line); padding-top: 12px; }
.answer-block { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.recorded { background: var(--panel); border-radius: var(--radius-input); padding: 8px 12px; margin: 10px 0; font-size: .9rem; }
.recorded p { margin: 2px 0; }
.evidence-list { list-style: none; margin: 6px 0; padding: 0; }
.evidence-list li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }

/* 4.4.1 class names, restyled on the tokens */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--space-lg); margin: 12px 0; box-shadow: var(--shadow-card); }
.panel > h2:first-child, .panel > h3:first-child { margin-top: 0; }
.notice { background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: var(--radius-button); padding: 8px 12px; color: var(--notice-ink); max-width: none; font-size: .9rem; }
.empty { background: var(--card); border: 1px dashed var(--ink-3); border-radius: var(--radius-card); padding: 16px 18px; margin: 12px 0; }
.next { margin-top: 1.5rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0; }
.sticky-actions { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0; border-top: 1px solid var(--line); }
.saved-note { color: var(--ok); font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: .94rem; font-weight: 550; padding: 9px 16px; border-radius: var(--radius-button); border: 1px solid var(--line); background: var(--card); color: var(--blue); cursor: pointer; text-decoration: none; line-height: 1.3; }
.btn:hover { background: var(--quiet-hover); }
.btn-primary { background: var(--blue); border-color: transparent; color: #FFFFFF; }
.btn-primary:hover { background: var(--navy-2); }
.btn-quiet { background: var(--card); color: var(--blue); }
.btn-small { padding: 6px 12px; font-size: .86rem; }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary:disabled:hover { background: var(--blue); }
.field { margin: 0 0 12px; }
.field label, .field .label { display: block; font-size: .88rem; font-weight: 550; color: var(--ink-2); margin-bottom: 4px; }
input[type=text], input[type=date], input[type=number], input[type=password], select, textarea { font: inherit; font-size: .92rem; color: var(--ink); background: var(--card); border: 1px solid var(--ink-3); border-radius: var(--radius-input); padding: 8px 10px; max-width: 100%; }
input[type=text], input[type=date], input[type=password], textarea { width: 100%; }
textarea { resize: vertical; min-height: 64px; }
input:disabled, textarea:disabled, select:disabled { background: var(--panel); color: var(--ink-2); }
input[type=checkbox], input[type=radio] { width: 16px; height: 16px; accent-color: var(--blue); vertical-align: -3px; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; }
.inline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 10px 14px; margin: 12px 0; background: var(--card); min-width: 0; }
legend { font-weight: 650; padding: 0 6px; font-size: .98rem; }
.counter { margin-top: 2px; }
.badge { display: inline-flex; align-items: center; font-size: .74rem; font-weight: 500; line-height: 1.3; padding: 2px 9px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--neutral-tint); color: var(--ink-2); white-space: nowrap; }
.badge-good { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }
.badge-warn { background: var(--warn-bg); border-color: var(--warn-line); color: var(--warn); }
.badge-bad { background: var(--bad-bg); border-color: var(--bad-line); color: var(--bad); }
.badge-info { background: var(--blue-tint); border-color: var(--blue-tint-line); color: var(--blue-ink); }
.badge-muted { background: var(--neutral-tint); color: var(--ink-2); }
.alert { border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-button); padding: 12px 16px; margin: 12px 0; background: var(--panel); }
.alert-bad { background: var(--bad-bg); border-color: var(--bad-line); border-left-color: var(--bad); color: var(--bad-ink); }
.alert-warn { background: var(--warn-bg); border-color: var(--warn-line); border-left-color: var(--warn); color: var(--notice-ink); }
.alert-good { background: var(--ok-bg); border-color: var(--ok-line); border-left-color: var(--ok); color: var(--ink); }
.alert h1 { font-size: 1.12rem; }
.table-wrap { overflow-x: auto; }
table.data { border-collapse: collapse; width: 100%; background: var(--card); font-size: .9rem; margin: 8px 0 14px; border: 1px solid var(--line); }
table.data caption { text-align: left; font-weight: 650; padding: 6px 0; font-size: .98rem; }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
table.data thead th { background: var(--panel); color: var(--ink-2); font-size: .82rem; font-weight: 600; }
table.data tbody th { font-weight: 600; }
table.data tbody tr:hover { background: var(--hover-tint); }
tr.inactive td, tr.inactive th { color: var(--ink-2); }
ul.mini { margin: 0; padding-left: 16px; }
.row-actions { white-space: nowrap; }
.row-actions .btn { margin: 2px 4px 2px 0; }
.na-table textarea { min-width: 14rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0 16px; align-items: flex-end; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 12px 14px 0; }
.filters .field { min-width: 12rem; }
.filters .count { font-weight: 600; margin: 0 0 12px; }
table.questions { font-size: .82rem; }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; margin: 6px 0 10px; }
dl.facts dt { color: var(--ink-2); }
dl.facts dd { margin: 0; }
.inline-facts { grid-template-columns: repeat(4, max-content minmax(0, 1fr)); }
@media (max-width: 900px) { .inline-facts { grid-template-columns: max-content minmax(0, 1fr); } }
.score { font-size: 1.55rem; font-weight: 650; font-variant-numeric: tabular-nums; }
ul.counts { columns: 2; padding-left: 18px; margin: 4px 0; }
.domain-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); }
@media (max-width: 760px) { .domain-grid { grid-template-columns: minmax(0, 1fr); } }
.tabs ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { display: block; padding: 9px 13px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; font-size: .9rem; }
.tabs a.current { color: var(--blue); border-bottom-color: var(--blue); font-weight: 600; }
.view-title { margin-top: .6rem; }
.fold { border: 1px solid var(--line); border-radius: var(--radius-button); padding: 8px 12px; margin: 10px 0; background: var(--card); }
.fold summary { cursor: pointer; font-weight: 550; color: var(--blue); }
.fold dl.caps dt { font-weight: 650; margin-top: 6px; }
.fold dl.caps dd { margin: 2px 0 6px 0; }
.hold { background: var(--warn-bg); padding: 6px 10px; border-left: 3px solid var(--warn); }
.probes { margin: 0; padding-left: 20px; }
.probes li { margin: 3px 0; }
.cap-ref { font-size: .76rem; color: var(--ink-2); white-space: nowrap; }
.review-card:focus { outline: 2px solid var(--blue-lt); }
.badges .badge { margin-bottom: 3px; }
.decision { background: var(--blue-tint); color: var(--ink); padding: 6px 10px; border-radius: var(--radius-input); }
.decision.removed { background: var(--bad-bg); color: var(--bad-ink); }
.report-preview { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 34px; box-shadow: var(--shadow-card); }
@media (max-width: 600px) { .report-preview { padding: 12px 14px; } }
.bars-fig { margin: 8px 0 14px; max-width: var(--page-narrow); }
svg.bars { font-family: var(--font-sans); }
.band-bg { fill: var(--card); stroke: var(--ink-3); stroke-width: 1; }
.band-bg-2, .band-bg-4 { fill: var(--panel); }
.band-num { font-size: 11px; font-weight: 600; fill: var(--ink-2); }
.band-lbl { font-size: 11px; fill: var(--ink-2); }
.bar-name { font-size: 11px; fill: var(--ink); font-weight: 600; }
.bar { fill: var(--blue); }
.bar-val { font-size: 11px; fill: var(--ink); font-weight: 600; }
.bar-none { font-size: 11px; fill: var(--ink-2); }
.bar-dot.domain-d1 { fill: var(--blue); } .bar-dot.domain-d2 { fill: var(--teal); } .bar-dot.domain-d3 { fill: var(--purple); } .bar-dot.domain-d4 { fill: var(--warn); }
.highlow { background: var(--panel); padding: 4px 12px; border-radius: var(--radius-input); }
dl.terms dt { font-weight: 650; }
dl.terms dd { margin: 0 0 6px; }
dialog.dialog { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px 22px; max-width: 40rem; width: calc(100% - 32px); color: var(--ink); box-shadow: var(--shadow-card); }
dialog.dialog::backdrop { background: rgba(15, 42, 71, .45); }
dialog.dialog h2 { margin-top: 0; }
.compare { border-top: 1px solid var(--line); }
.fw-desc { margin: 4px 0 10px; max-width: 80ch; }
.fw-label { margin: 0; font-size: .78rem; font-weight: 650; color: var(--ink-2); }
.fw-text { margin: 1px 0 0; hyphens: none; -webkit-hyphens: none; }
.fw-name { margin: 0; font-weight: 600; }
.fw-notes { margin: 6px 0 12px; }
.fw-note { border-left: 3px solid var(--ink-3); padding: 2px 0 2px 12px; margin: 6px 0; max-width: 90ch; hyphens: none; -webkit-hyphens: none; }
.fw-domain { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 4px 14px 8px; margin: 10px 0; }
.fw-sub { margin: 8px 0 0 18px; padding-left: 12px; border-left: 2px solid var(--line); }
.fw-sub h4 { margin: .5rem 0 .1rem; }
dl.fw-source dd { overflow-wrap: anywhere; }
.rests-note { margin-top: -6px; }
.session p { margin: 2px 0 6px; font-size: .86rem; }
.demo-pick { align-items: flex-end; }
.demo-pick .field { margin: 0; min-width: min(18rem, 100%); }
.finding { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; }
.tool-finding { background: var(--panel); border-left: 3px solid var(--ink-3); padding: 6px 10px; max-width: none; }
.checks { margin: 4px 0 8px; padding-left: 18px; }
table.plan td { vertical-align: middle; }
table.plan input[type=text] { min-width: 10rem; }
.num-input { width: 5rem; }
tr.priority th, tr.priority td { background: var(--blue-tint); }
.prompt-text { font-family: Consolas, "Courier New", monospace; font-size: .8rem; max-width: none; background: var(--panel); }
table.roadmap { font-size: .86rem; }
.pcg-confidential-box { font-weight: 600; color: var(--notice-ink); background: var(--notice-bg); border: 1px solid var(--notice-line); border-radius: var(--radius-button); padding: 6px 10px; }
.readiness-banner { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 12px 16px; background: var(--card); }

/* Footer */
.pcg-footer { background: var(--navy); color: var(--nav-dim); margin-top: 32px; }
.pcg-footer-row { max-width: var(--page-max); margin: 0 auto; padding: 12px var(--gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: .8rem; }
.pcg-footer p { margin: 0; max-width: none; }
.pcg-logo { display: block; height: 30px; width: auto; }

/* Gate (index.html) and Start screen: the only places with the gradient */
body.splash .topbar { background: var(--navy); }
.topbar-row { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; min-height: var(--bar-height); }
.brand-block { display: flex; flex-direction: column; justify-content: center; padding: 6px 0; }
.brand { margin: 0; font-size: 1.02rem; font-weight: 650; color: #FFFFFF; line-height: 1.2; }
.pcg-mark { margin: 0; font-size: .7rem; color: var(--nav-dim); }
.pcg-mark.has-logo { padding: 0 0 2px; }
.brand-block .pcg-logo { height: 18px; }
body.splash:has(#lock:not([hidden])) { background: linear-gradient(160deg, var(--navy), var(--hero-mid) 55%, var(--blue)); }
body.splash:has(#lock:not([hidden])) .lock-notice, body.splash:has(#lock:not([hidden])) .lock-version { color: var(--nav-bright); }
.splash-main { max-width: var(--page-narrow); margin: 0 auto; padding: 24px var(--gutter) 40px; }
.lock-panel { max-width: 30rem; margin: 40px auto; background: var(--card); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card); }
.lock-panel h1 { font-size: 2.45rem; letter-spacing: -0.022em; }
.lock-foot { max-width: 30rem; margin: -24px auto 24px; text-align: center; }
.lock-foot p { margin: 4px auto; max-width: none; }
.lock-notice { font-weight: 600; color: var(--ink-2); }
.lock-version { font-size: .8rem; color: var(--ink-2); }
.lock-panel[hidden] + .lock-foot { margin-top: 0; }
.splash-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.splash-bar .hint { flex-basis: 100%; margin: 0; }
.guide-lead { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 4px 18px 12px; margin-bottom: 14px; }
.guide-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 0 18px; margin: 10px 0; }
.guide-sec > summary { cursor: pointer; font-weight: 650; font-size: 1rem; padding: 12px 0; }
.guide-sec[open] > summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.guide-sec h3 { margin: 16px 0 4px; }
html.gated body { display: none; }
.start-hero { background: linear-gradient(160deg, var(--navy), var(--hero-mid) 55%, var(--blue)); border-radius: var(--radius-card); padding: 34px var(--gutter); margin: -18px calc(-1 * var(--gutter)) 0; color: var(--nav-bright); }
@media (min-width: 1225px) { .start-hero { margin-left: 0; margin-right: 0; } }
/* Build 4.6: below 600 pixels main's side padding is 16px, so the hero
   reaches out by 16px, not the full gutter (it overhung by 6px at 390). */
@media (max-width: 600px) { .start-hero { margin-left: -16px; margin-right: -16px; } }
.start-hero h1 { color: #FFFFFF; font-size: 2.45rem; line-height: 1.22; letter-spacing: -0.022em; margin: 0 0 8px; }
.start-hero .lede { color: var(--nav-bright); font-size: 1.14rem; max-width: 60ch; }
.start-hero .statement { border-left: 3px solid var(--teal-lt); padding-left: 12px; color: var(--nav-bright); font-size: .9rem; }
.start-hero .dgm-card { margin-top: 18px; color: var(--ink); }
.start-version { text-align: center; font-size: .82rem; color: var(--nav-bright); margin: 14px 0 0; max-width: none; }

/* Print: letter, ink-light, navy headings, no fills, rules that print */
.print-root { display: none; }
@page { size: letter portrait; margin: 0.75in; @bottom-right { content: "Page " counter(page) " of " counter(pages); font-family: "Segoe UI", Arial, sans-serif; font-size: 8.5pt; color: #4A5A6B; } }
@media print {
  body { background: #FFFFFF; font-size: 10.5pt; line-height: 1.45; }
  body > *:not(.print-root) { display: none !important; }
  .print-root { display: block !important; }
  .print-frame { width: 100%; border-collapse: collapse; }
  .print-frame > thead { display: table-header-group; }
  .print-frame > thead td { padding-bottom: 8px; }
  .print-head { border-bottom: 1px solid var(--ink-3); padding-bottom: 4px; font-size: 8.5pt; }
  .print-head p { margin: 0; max-width: none; }
  .print-pilot { color: var(--notice-ink); font-weight: 650; }
  .print-synthetic { font-weight: 650; }
  h1, h2, h3, h4 { color: var(--navy); break-after: avoid; }
  h1 { font-size: 18pt; margin-top: 4px; }
  h2 { font-size: 13pt; }
  h3 { font-size: 11pt; }
  table.data, .dgm-table { font-size: 8.5pt; border-color: var(--ink-3); }
  table.data thead { display: table-header-group; }
  table.data tr, .dgm-table tr { break-inside: avoid; }
  table.data th, table.data td { padding: 3px 4px; border-color: var(--ink-3); }
  table.data thead th { background: none; color: var(--ink); }
  .panel, .dgm-card, .report-preview { border: 1px solid var(--ink-3); box-shadow: none; background: none; break-inside: avoid; }
  .badge, .dgm-badge { background: none !important; }
  .notice, .pcg-confidential-box { background: none; border-color: var(--ink-3); }
  .page-break { break-before: page; }
  .domain-grid { display: block; }
  a { color: var(--ink); text-decoration: none; }
  .r2-domain { break-before: page; }
  .fw-domain { border-color: var(--ink-3); break-inside: avoid; }
  .fw-desc, .fw-note, .keep { break-inside: avoid; }
  .r2-appendix { break-before: page; }
  .print-brand { font-size: 9pt; margin-bottom: 2px !important; }
  .print-confidential { font-weight: 650; }
  .splash .topbar, .splash-bar, .guide-actions { display: none; }
  .guide-sec { border: 0; padding: 0; break-inside: auto; }
  .chrome { position: static; }
}
.preparation-document { max-width: 54rem; margin: 1rem auto; padding: 2rem; background: var(--card); color: var(--ink); }
.prep-brand { font-weight: 650; color: var(--navy); }
@media print {
  .preparation-document { max-width: none; margin: 0; padding: 0; font-size: 10.5pt; line-height: 1.35; }
  .preparation-document h1, .preparation-document h2, .preparation-document h3, .preparation-document h4 { break-after: avoid; }
  .prep-domain:not(:first-child), .prep-appendix { break-before: page; }
  .preparation-document li { break-inside: avoid; }
  /* Build 4.6: the closing note of a response guide stays with the last
     level above it, so it never prints on a page of its own. */
  .response-guide > .response-choice:last-of-type, .response-guide > p:last-child { break-inside: avoid; }
  .response-guide > p:last-child { break-before: avoid; }
}

/* Build 4.6 screens: Concise and Detailed (FR-90), the readiness banner
   (FR-91), the packet lens line (FR-84). */
.view-row { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; }
.view-label { font-size: .86rem; color: var(--ink-2); }
.questions.concise th .cap-line { display: block; font-size: .78rem; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.readiness-banner ul { margin: 6px 0 4px 18px; padding: 0; }
.readiness-banner li { margin: 2px 0; }
.packet-lens { font-size: .92rem; font-style: italic; margin: 2px 0 4px; }

/* Narrow screens: grid children may shrink, and wide tables scroll inside
   themselves so the page never scrolls sideways (AC-31). */
.dgm-stack > *, .dgm-split > *, .grid-2 > *, .interview-grid > *, .domain-grid > *, .form-grid > * { min-width: 0; }
@media screen and (max-width: 760px) {
  table.data { display: block; overflow-x: auto; }
  dl.facts { grid-template-columns: minmax(0, 1fr); }
  dl.facts dt { margin-top: 4px; }
}

/* The hidden attribute always wins over a component's display rule. */
[hidden] { display: none !important; }
.dgm main:focus, .dgm main:focus-visible { outline: none; }
/* Six steps with counts do not fit beside the product name below 1440
   pixels, so only the current step keeps its count there; attention pills
   stay (DGM Style Guide, TopBar, applied from a wider breakpoint). */
.dgm-steps { flex-wrap: nowrap; }
@media (max-width: 1439px) { .dgm-step .c { display: none; } .dgm-step[aria-current="step"] .c { display: inline; } }
@media (max-width: 1180px) { .dgm-step[aria-current="step"] .c { display: none; } }
/* A link styled as a button keeps the button's text color. */
.dgm a.dgm-btn { color: #FFFFFF; text-decoration: none; }
.dgm a.dgm-btn.quiet, .dgm a.dgm-btn.danger { color: var(--blue); }
.dgm a.dgm-btn.danger { color: var(--bad); }
.dgm a.btn { text-decoration: none; }
.dgm a.btn-primary { color: #FFFFFF; }
/* In the three-pane interview the center is narrow: each topic's coverage
   control sits under its prompt, and the five levels share one row. */
.interview-grid .dgm-topic { grid-template-columns: minmax(0, 1fr); }
.interview-grid .dgm-topic .dgm-seg { grid-row: auto; grid-column: auto; justify-self: start; }
.interview-grid .dgm-topic p { grid-column: auto; }
.interview-grid .dgm-scale button { flex: 1 1 72px; }
.domain-grid > .dgm-card, .grid-2 > .dgm-card { margin-top: 0; }

/* Review build 4.5 printed documents: the footer repeats on every page
   with the confidentiality line; the packet and guide are ink-light. */
.print-foot { display: none; }
.packet { max-width: 46rem; margin: 1rem auto; padding: 2rem; background: var(--card); color: var(--ink); }
.packet-lead { font-weight: 600; margin-bottom: 4px; }
.packet-topics { margin: 4px 0 6px 1.2rem; padding: 0; }
.packet-also { margin: 4px 0; }
.packet-check { list-style: none; margin: 0; padding: 0; }
.packet-check li { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0; }
.packet-check .box { flex: 0 0 auto; width: 11px; height: 11px; border: 1px solid var(--ink-2); margin-top: 4px; }
.packet-q { margin: 10px 0 14px; }
.packet-version { font-size: .84rem; color: var(--ink-2); margin-top: 18px; }
.r2-finding { margin-top: 12px; }
.citation { font-size: .9rem; color: var(--ink-2); }
.plan-grid td, .plan-grid th { text-align: center; }
.plan-grid tbody th { text-align: left; }
/* Build 4.6 (FR-89, decision D-8): the reason line under a button row, as in
   docs/reference/DGM_Option3_Disabled_Reasons_Demo_v1.0.html. */
.dgm-reason { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--warn); background: var(--warn-bg); font-size: .86rem; color: var(--ink); max-width: none; min-width: 0; }
.dgm-reason ul { margin: 0; padding-left: 1.1rem; min-width: 0; }
.dgm-reason li { overflow-wrap: anywhere; }
.dgm-reason a { color: var(--blue); }
.dgm-reason .lead { font-weight: 650; white-space: nowrap; }
@media (max-width: 760px) { .dgm-reason { flex-direction: column; gap: 2px; } }

/* Build 4.7 (FR-106, FR-109): the generated reports on screen, the score
   tiles, and the customer view with its own top bar. */
.report-screen { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--space-xl); box-shadow: var(--shadow-card); min-width: 0; }
@media (max-width: 600px) { .report-screen { padding: var(--space-md); } }
.score-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin: 12px 0 16px; }
@media (max-width: 879px) { .score-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .score-tiles { grid-template-columns: minmax(0, 1fr); } }
.score-tile { background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--ink-3); border-radius: var(--radius-card); padding: var(--space-lg-tight); min-width: 0; }
.score-tile.domain-d1 { border-top-color: var(--blue); } .score-tile.domain-d2 { border-top-color: var(--teal); } .score-tile.domain-d3 { border-top-color: var(--purple); } .score-tile.domain-d4 { border-top-color: var(--warn); }
.score-tile p { margin: 0; max-width: none; }
.score-tile .tile-domain { font-size: .88rem; font-weight: 550; line-height: 1.4; color: var(--ink-2); }
.score-tile .tile-score { margin-top: 6px; }
.score-tile .tile-band { font-size: .82rem; color: var(--ink-2); margin-top: 4px; }
.score-tile .tile-state { margin-top: 10px; }
.score-tile .dgm-bands { margin: 10px 0 2px; }
.report47 .highlow { margin: 4px 0 8px; padding-left: 1.1rem; }
.report47 .confidence { font-size: .9rem; color: var(--ink-2); }
.report47-domain { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; }
body.customer-mode #chrome, body.customer-mode .pcg-footer { display: none !important; }
/* Build 4.7.2 (change request v3.5, DGM Style Guide, "Customer view and
   generated reports"): the header in three rows, none sticky, across the
   window; the page at page-max with the gutter. */
main.customer-host { max-width: none; padding: 0 0 60px; }
.customer-view { display: block; min-width: 0; }
/* Build 4.8 (FR-116): the header box gives way to its rows, so the tab row
   can stay at the top of the window while the page scrolls under it. */
.customer-top { display: contents; color: var(--nav-text); }
.customer-top > .customer-bar { background: var(--navy); color: var(--nav-text); }
.customer-top > * { min-width: 0; }
.customer-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; min-height: var(--bar-height); padding: 6px var(--gutter); }
@media (max-width: 760px) { .customer-bar { grid-template-columns: minmax(0, 1fr) auto; } .customer-bar .customer-org { grid-column: 1 / -1; grid-row: 2; } }
p.customer-brand { margin: 0; flex: 0 1 auto; }
p.customer-org { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #FFFFFF; font-weight: 600; min-width: 0; max-width: none; }
.customer-bar .dgm-btn { justify-self: end; white-space: nowrap; }
p.customer-banner { margin: 0; max-width: none; padding: 7px var(--gutter); background: var(--notice-bg); border-bottom: 1px solid var(--notice-line); color: var(--notice-ink); font-size: .82rem; line-height: 1.45; }
.customer-tabs-row { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 0 var(--gutter); min-width: 0; background: var(--navy); color: var(--nav-text); }
.customer-tabs { position: relative; flex: 1 1 auto; min-width: 0; margin: 0; border-bottom: 0; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; }
/* Below 1180 pixels the report's Contents sits at the end of the tab row and opens over the page. */
.customer-tabs-row .report-contents-disclosure { position: relative; flex: none; margin: 0; }
.customer-tabs-row .report-contents-disclosure > summary { color: var(--nav-text); font-size: .9rem; font-weight: 550; padding: 9px 6px; white-space: nowrap; }
.customer-tabs-row .report-contents-disclosure > summary:hover { color: #FFFFFF; }
.customer-tabs-row .report-contents-disclosure[open] > .report-contents-list { position: absolute; right: 0; top: 100%; z-index: 41; width: min(320px, calc(100vw - 32px)); max-height: 70vh; overflow-y: auto; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.customer-tabs-row .report-contents-disclosure .report-contents-list li { margin: 0; }
.customer-tabs-row .report-contents-disclosure .report-contents-list a { display: block; padding: 9px 13px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.customer-tabs-row .report-contents-disclosure .report-contents-list li:last-child a { border-bottom: 0; }
.customer-tabs-row .report-contents-disclosure .report-contents-list a:hover { background: var(--hover-tint); }
.customer-report .report-screen h2 { scroll-margin-top: 64px; }
.customer-tabs button { flex: none; color: var(--nav-text); }
.customer-tabs button:hover { color: #FFFFFF; }
.customer-tabs button[aria-selected="true"] { color: #FFFFFF; border-bottom-color: #FFFFFF; font-weight: 600; }
@media (max-width: 600px) {
  .customer-bar, .customer-banner, .customer-tabs-row { padding-left: 16px; padding-right: 16px; }
  .customer-label { white-space: normal; }
}
.customer-body { max-width: var(--page-max); margin: 0 auto; padding: 22px var(--gutter) 0; min-width: 0; }
@media (max-width: 600px) { .customer-body { padding: 16px 16px 0; } }
.customer-page { min-width: 0; }
.customer-note { margin: 12px 0 18px; }
.customer-note p { max-width: 80ch; margin: 0; }
.customer-figures .fig46 { max-width: var(--page-narrow); }
/* Home: one card per report (C9). */
.report-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: 10px 0 22px; }
@media (max-width: 879px) { .report-cards { grid-template-columns: minmax(0, 1fr); } }
.report-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); padding: var(--space-lg); color: var(--ink); text-decoration: none; min-width: 0; }
.report-card:hover { background: var(--hover-tint); }
.report-card-name { font-size: .98rem; font-weight: 650; line-height: 1.22; color: var(--ink); }
.report-card-date { font-size: .82rem; color: var(--ink-2); }
/* Report pages: contents beside the sheet at 1180 pixels and wider, a
   disclosure above it below that (C13). */
.customer-report { display: block; min-width: 0; }
.report-contents { display: none; }
.report-contents-disclosure { margin: 0 0 16px; }
.report-contents-list { list-style: none; margin: 6px 0 0; padding: 0; }
.report-contents-disclosure .report-contents-list li { margin: 4px 0; }
@media (min-width: 1180px) {
  .customer-report { display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
  .report-contents { display: block; position: sticky; top: 60px; max-height: calc(100vh - 76px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-card); }
  .report-contents-disclosure { display: none; }
}
p.report-contents-title { margin: 0; padding: 11px 13px; font-size: .82rem; font-weight: 600; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.report-contents .report-contents-list { margin: 0; }
.report-contents .report-contents-list a { display: block; padding: 9px 13px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .9rem; line-height: 1.35; }
.report-contents .report-contents-list li:last-child a { border-bottom: 0; }
.report-contents .report-contents-list a:hover { background: var(--hover-tint); }
.report-contents .report-contents-list a[aria-current="true"] { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.report-screen h2[tabindex="-1"]:focus { outline: none; }
/* Documents we asked for (C19). */
.doc-domain { display: flex; align-items: center; gap: 8px; font-size: .98rem; }
table.documents .c-name { font-weight: 600; }
p.customer-notice { margin-top: 28px; }

@media print {
  .print-frame > tfoot { display: table-footer-group; }
  .print-frame > tfoot td { padding-top: 8px; }
  .print-foot { display: block; border-top: 1px solid var(--ink-3); padding-top: 4px; font-size: 8pt; color: var(--ink-2); }
  .print-foot p { margin: 0; max-width: none; }
  .packet { max-width: none; margin: 0; padding: 0; }
  /* Build 4.6: no trailing space after the last line of a print, which made
     an empty last page when the content just filled the page before. */
  html, body { margin: 0; padding: 0; }
  .print-root, .print-frame { margin-bottom: 0; padding-bottom: 0; }
  .print-frame > tbody td > :last-child, .print-frame > tbody td > :last-child > :last-child { margin-bottom: 0; padding-bottom: 0; }
  .packet-q, .plan-person { break-inside: avoid; }
  .packet-sub { margin-top: 14px; }
  .plan-person { break-before: auto; }
  .r2-ai { break-before: page; }
  /* Build 4.7: the generated executive report runs on; its AI section starts no new page. */
  .report47 .r2-ai { break-before: auto; }
  .report47 .print-small { font-size: 8pt; line-height: 1.3; margin: 3pt 0; }
  .report47 .score-tiles { gap: 6pt; margin: 6pt 0; }
  .report47-domain { margin-top: 6pt; padding-top: 4pt; }
  /* Build 4.7.2 (decision D-32): the generated reports print at 9pt. Build
     4.7.1 set 10pt but its figures ran wider than the paper, so Edge printed
     every page at about 88 percent; with the figures now fitted to the
     column, 9pt keeps the executive report within 6 pages (AC-59). */
  .report47 { font-size: 9pt; line-height: 1.3; }
  .report47 h1 { font-size: 15pt; }
  .report47 h2 { font-size: 12pt; }
  .report47 h3 { font-size: 10pt; }
}

/* Build 4.7.2 (change request v3.5): report tables, notices, readiness, the
   reference disclosure, and figures, on screen and in print. */
/* DataTable columns (C11): short values never wrap; on screen names are at
   least 22ch and sentences at least 28ch, and a table wider than its sheet
   scrolls inside its own wrapper. */
table.data .c-num { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
table.data .c-short { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media screen {
  .report-screen table.data .c-name { min-width: 22ch; }
  .report-screen table.data .c-text { min-width: 28ch; }
  .report-screen table.roadmap { min-width: 960px; }
  .report-screen table.data tbody tr:hover { background: none; }
  .report-screen table.data th, .report-screen table.data td { padding-left: 7px; padding-right: 7px; }
  .table-scroll > table.data { display: table; }
}
.report-screen .table-scroll { margin: 8px 0 14px; }
.report-screen .table-scroll > table.data { margin: 0; }
/* One notices block under the cover lines (C14). */
.report-notices { margin: 10px 0 14px; }
.report-notices p { margin: 2px 0; font-size: .82rem; color: var(--ink-2); line-height: 1.45; }
.report-notices .report-notice-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
/* The 4.4.1 .notice box style must not reach a notice-tone badge here: a
   badge stays a badge (DGM Style Guide, Badge). */
.customer-view .dgm-badge.notice, .report-notices .dgm-badge.notice, .narrative-panel .dgm-badge.notice { font-size: .74rem; font-weight: 500; line-height: 1.3; padding: 2px 9px; border-radius: var(--radius-pill); max-width: none; }
.report-screen .version-line { font-size: .82rem; color: var(--ink-2); }
/* Readiness as checklist rows (C15). */
.readiness-checklist { margin: 8px 0 14px; }
.readiness-checklist .readiness-lead { margin: 0 0 6px; }
.readiness-checklist .dgm-checklist li { grid-template-columns: minmax(9rem, auto) minmax(0, 1fr); }
.readiness-checklist .dgm-checklist .dgm-badge { justify-self: start; }
.readiness-checklist .readiness-closing { font-size: .82rem; color: var(--ink-2); margin: 6px 0 0; }
/* "How to read this report", closed on screen (C16). */
.report-ref > summary { cursor: pointer; list-style: none; }
.report-ref > summary::-webkit-details-marker { display: none; }
.report-ref > summary h2 { display: inline; }
.report-ref > summary::before { content: ""; display: inline-block; width: 0; height: 0; margin-right: 8px; border-left: 6px solid var(--blue); border-top: 5px solid transparent; border-bottom: 5px solid transparent; vertical-align: middle; }
.report-ref[open] > summary::before { transform: rotate(90deg); }
.report-ref-section { margin: 1.4rem 0 .5rem; }
/* Figures (F1, F2): at the column's width up to page-narrow, never narrower
   than drawn; a narrower column scrolls the figure inside its wrapper. */
.fig46 { margin: 10px 0 16px; max-width: var(--page-narrow); }
.fig-scroll { overflow-x: auto; }
.fig46 svg, svg.bars { display: block; width: 100%; height: auto; min-width: 680px; }
@media print {
  /* The customer view never prints; its contents list least of all. */
  .customer-top, .report-contents, .report-contents-disclosure, .report-cards { display: none !important; }
  .fig46 svg, svg.bars { min-width: 0; width: 100%; }
  .fig-scroll, .table-scroll { overflow: visible; }
  .fig46, .bars-fig { break-inside: avoid; }
  .report-ref > summary::before { display: none; }
  .report-ref > summary h2 { display: block; }
  .report-notices p { font-size: 8.5pt; line-height: 1.3; margin: 1pt 0; color: var(--ink-2); }
  .report-notices .report-notice-badges { margin-bottom: 3pt; }
  .report-notices .print-pilot { color: var(--notice-ink); }
  /* In print the rows run in two columns, one line each, to keep the
     executive report within its 6 pages (AC-59). */
  .readiness-checklist .dgm-checklist { border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1pt 14pt; }
  .readiness-checklist .dgm-checklist li { display: block; padding: 1pt 0; border-bottom: 0; font-size: 8.5pt; line-height: 1.3; break-inside: avoid; }
  .readiness-checklist .dgm-checklist li .dgm-badge { margin-right: 5pt; padding: 0 5pt; font-size: 7.5pt; }
  .readiness-checklist .dgm-checklist .what { font-weight: 600; }
  .readiness-checklist .dgm-checklist .why { display: block; font-size: 8pt; color: var(--ink-2); }
  .readiness-checklist .readiness-lead, .readiness-checklist .readiness-closing { margin: 1pt 0; font-size: 8.5pt; }
  .score-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6pt; margin: 6pt 0; }
  .score-tile { border-color: var(--ink-3); background: none; padding: 3pt 6pt; }
  .score-tile .tile-score { font-size: 16pt; margin-top: 1pt; }
  .score-tile .dgm-bands { margin: 4pt 0 0; gap: 2pt; }
  .score-tile .dgm-bands span { height: 6pt; background: none !important; border: 1px solid var(--ink-3); }
  .score-tile .dgm-bands span.on { background: var(--navy) !important; border-color: var(--navy); outline: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Build 4.8 (change request v3.6). Consultant report previews keep their
   Contents in view below the top bar (FR-116). */
.preview-contents { position: sticky; top: calc(var(--chrome-h) + 8px); z-index: 5; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-button); padding: 6px 12px; margin: 0 0 14px; box-shadow: var(--shadow-card); }
.preview-contents .report-contents-list { max-height: 60vh; overflow-y: auto; }
.preview-contents .report-contents-list li { margin: 4px 0; }
.report-preview h2, .report-screen h2 { scroll-margin-top: calc(var(--chrome-h) + 56px); }
.customer-report .report-screen h2 { scroll-margin-top: 64px; }
/* The executive report for leadership (DGM Style Guide, Executive report). */
.report48 .narrative p { max-width: 80ch; }
.report48-domain { border-top: 3px solid var(--ink-3); padding-top: 10px; margin-top: 22px; }
.report48-domain.domain-d1 { border-top-color: var(--blue); } .report48-domain.domain-d2 { border-top-color: var(--teal); } .report48-domain.domain-d3 { border-top-color: var(--purple); } .report48-domain.domain-d4 { border-top-color: var(--warn); }
.report48-domain > h2 { margin-top: 0; }
.report48 .score-line, .report48 .readiness-line { font-size: .82rem; color: var(--ink-2); }
.report48-appendix { margin-top: 32px; border-top: 3px solid var(--navy); padding-top: 12px; }
/* The narrative panel on Report prompts (DGM Style Guide, Screen patterns). */
.narrative-panel textarea { width: 100%; font: inherit; }
.narrative-panel .narrative-badges { flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.narrative-slot { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 14px; }
.narrative-slot h5 { font-size: .98rem; margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.narrative-slot .dgm-note { margin: 6px 0 8px; }
#numbers-narrative { margin: 10px 0; }
#numbers-narrative li { grid-template-columns: auto minmax(0, 1fr); }
@media print {
  .preview-contents { display: none !important; }
  .report48-appendix { break-before: page; border-top: 0; margin-top: 0; padding-top: 0; }
  .report48-domain { break-inside: avoid; border-top-width: 3px; margin-top: 10pt; padding-top: 4pt; }
  .report48 .score-line, .report48 .readiness-line { font-size: 8pt; }
  .report48 .narrative p { margin: 0 0 4pt; }
}

/* Build 4.8.1 (change request v3.7, FR-118 to FR-120): the check before the
   narrative prompt leaves the tool. Open items carry the warning edge; an
   acknowledged item carries the teal edge. */
.mask-org { margin: 8px 0 4px; }
.mask-org .hint { margin: 2px 0 0 26px; }
.outbound-check { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); padding: 12px 14px; margin: 10px 0; }
.outbound-hits { list-style: none; margin: 0 0 12px; padding: 0; }
.outbound-hit { border-left: 3px solid var(--warn); padding: 6px 10px; margin: 6px 0; background: var(--warn-bg); }
.outbound-hit.done { border-left-color: var(--teal); background: transparent; }
.outbound-hit p { margin: 0 0 4px; max-width: 80ch; }
.outbound-fields { margin: 0 0 10px; }
.outbound-fields dt { font-weight: 600; margin-top: 8px; }
.outbound-fields dd { margin: 2px 0 0; white-space: pre-wrap; max-width: 80ch; color: var(--ink-2); }
