:root {
      --bg: #0f1419;
      --surface: #1a2332;
      --surface-2: #243044;
      --border: #2d3a4f;
      --text: #e8edf4;
      --muted: #8b9cb3;
      --accent: #4f8cff;
      --green: #3ecf8e;
      --yellow: #f5c542;
      --red: #f07178;
      --purple: #b794f6;
      --score-empty: #1e2a3a;
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.5;
      padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
    }

    header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 1.25rem;
      margin-bottom: 2rem;
      padding-bottom: 1.25rem;
      border-bottom: 1px solid var(--border);
    }

    .header-brand {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      line-height: 0;
    }

    .header-brand img {
      height: 52px;
      width: auto;
      max-width: min(240px, 50vw);
    }

    .header-copy {
      flex: 1 1 240px;
      min-width: 0;
    }

    h1 {
      margin: 0;
      font-size: 1.5rem;
      font-weight: 600;
      letter-spacing: -0.02em;
    }

    .meta {
      color: var(--muted);
      font-size: 0.875rem;
    }

    h2 {
      margin: 2rem 0 0.75rem;
      font-size: 1rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--muted);
    }

    h3 {
      margin: 0 0 0.5rem;
      font-size: 0.75rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--muted);
    }

    .exec-summary { margin-bottom: 0; }

    .exec-blurb {
      margin: 0 0 1rem;
      font-size: 0.9rem;
      color: var(--text);
      line-height: 1.55;
    }

    .exec-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.75rem;
    }

    @media (max-width: 1100px) {
      .exec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 600px) {
      .exec-grid { grid-template-columns: 1fr; }
    }

    .exec-tile {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.85rem;
      min-height: 200px;
      display: flex;
      flex-direction: column;
    }

    .exec-tile-slim {
      min-height: 0;
      justify-content: flex-start;
    }

    .proposal-snapshot {
      margin-top: 0.15rem;
    }

    .proposal-snapshot-primary {
      margin: 0;
      line-height: 1;
    }

    .proposal-snapshot-count {
      font-size: 2rem;
      font-weight: 600;
      letter-spacing: -0.03em;
    }

    .proposal-snapshot-label {
      margin: 0.35rem 0 0.65rem;
      font-size: 0.8rem;
      color: var(--muted);
    }

    .proposal-snapshot-facts {
      margin: 0;
      padding: 0;
      list-style: none;
      font-size: 0.85rem;
      line-height: 1.6;
      color: var(--text);
    }

    .proposal-snapshot-facts li {
      margin: 0;
    }

    .proposal-snapshot-facts strong {
      font-weight: 600;
    }

    .proposal-snapshot-facts .pass strong { color: var(--green); }
    .proposal-snapshot-facts .warn strong { color: var(--yellow); }

    .proposal-price-block {
      margin-top: 0.85rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--border);
    }

    .proposal-price-heading {
      margin: 0 0 0.25rem;
      font-size: 0.65rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--muted);
    }

    .proposal-price-stats {
      margin: 0 0 0.5rem;
      font-size: 0.75rem;
      line-height: 1.45;
      color: var(--muted);
    }

    .proposal-price-stats strong {
      color: var(--text);
      font-weight: 600;
    }

    .proposal-price-empty {
      margin: 0;
      font-size: 0.75rem;
      color: var(--muted);
      font-style: italic;
    }

    .proposal-price-target {
      display: block;
      margin-top: 0.35rem;
      font-size: 0.65rem;
      color: var(--muted);
    }

    .price-continuum-wrap {
      margin-bottom: 0.15rem;
    }

    .price-continuum {
      display: block;
      width: 100%;
      height: 24px;
    }

    .continuum-axis {
      stroke: var(--border);
      stroke-width: 1.5;
    }

    .continuum-band {
      fill: rgba(62, 207, 142, 0.12);
    }

    .continuum-target {
      stroke: var(--green);
      stroke-width: 1;
      stroke-dasharray: 2 2;
      opacity: 0.85;
    }

    .continuum-dot {
      fill: var(--accent);
      stroke: var(--surface-2);
      stroke-width: 1;
    }

    .continuum-dot.shortlist {
      fill: var(--green);
    }

    .continuum-dot.estimate {
      fill: var(--surface-2);
      stroke: var(--accent);
      stroke-width: 1.4;
      stroke-dasharray: 2 1.4;
    }

    .continuum-break {
      stroke: var(--muted);
      stroke-width: 1.2;
      fill: none;
      opacity: 0.85;
    }

    .continuum-labels {
      display: flex;
      justify-content: space-between;
      font-size: 0.6rem;
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }

    .price-continuum-wrap.continuum-zoom {
      margin-top: 0.55rem;
      padding-top: 0.5rem;
      border-top: 1px dashed var(--border);
    }

    .continuum-zoom-label {
      margin: 0 0 0.1rem;
      font-size: 0.6rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .proposal-snapshot-score {
      margin: 0;
      font-size: 0.85rem;
      line-height: 1.45;
    }

    .proposal-snapshot-score.pass strong { color: var(--green); }
    .proposal-snapshot-score.warn strong { color: var(--yellow); }

    .proposal-snapshot-muted {
      color: var(--muted);
      font-size: 0.75rem;
    }

    .exec-tile svg { width: 100%; height: auto; flex: 1; }

    .exec-stat {
      font-size: 1.75rem;
      font-weight: 600;
      line-height: 1.1;
      letter-spacing: -0.02em;
    }

    .exec-stat-label {
      font-size: 0.7rem;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-top: 0.25rem;
    }

    .exec-kpi-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }

    .exec-kpi {
      background: var(--surface);
      border-radius: 6px;
      padding: 0.5rem 0.6rem;
    }

    .mini-bars { margin-top: auto; }

    .mini-bar-row {
      display: grid;
      grid-template-columns: 72px 1fr 28px;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.65rem;
      color: var(--muted);
      margin: 0.25rem 0;
    }

    .mini-bar-track {
      height: 6px;
      background: var(--surface);
      border-radius: 3px;
      overflow: hidden;
    }

    .mini-bar-fill {
      height: 100%;
      border-radius: 3px;
      background: var(--accent);
    }

    .chart-legend {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem 0.6rem;
      margin-top: 0.5rem;
      font-size: 0.65rem;
      color: var(--muted);
    }

    .chart-legend span { display: inline-flex; align-items: center; gap: 0.25rem; }

    .chart-legend i {
      display: inline-block;
      width: 8px;
      height: 8px;
      border-radius: 2px;
    }

    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 1.25rem;
      margin-bottom: 1rem;
      overflow-x: auto;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    th, td {
      padding: 0.6rem 0.75rem;
      text-align: left;
      border-bottom: 1px solid var(--border);
      white-space: nowrap;
    }

    th {
      color: var(--muted);
      font-weight: 500;
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    tr:last-child td { border-bottom: none; }

    .num { text-align: right; font-variant-numeric: tabular-nums; }

    #submissions-card {
      overflow: visible;
    }

    .submissions-scroll {
      overflow-x: auto;
    }

    #submissions-table th:first-child,
    #submissions-table td:first-child {
      position: sticky;
      left: 0;
      z-index: 2;
      background: var(--surface);
      box-shadow: 1px 0 0 var(--border);
    }

    .badge {
      display: inline-block;
      padding: 0.15rem 0.5rem;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 500;
      background: var(--surface-2);
      color: var(--muted);
    }

    .badge.yes { background: rgba(62, 207, 142, 0.15); color: var(--green); }
    .badge.no { background: rgba(240, 113, 120, 0.15); color: var(--red); }
    .badge.status { background: rgba(79, 140, 255, 0.15); color: var(--accent); }
    .badge.eng-slowing { background: rgba(245, 197, 66, 0.15); color: var(--yellow); }
    .badge.eng-stalled { background: rgba(240, 113, 120, 0.18); color: var(--red); }

    .badge.iv-completed { background: rgba(62, 207, 142, 0.15); color: var(--green); }
    .badge.iv-scheduled { background: rgba(79, 140, 255, 0.15); color: var(--accent); }
    .badge.iv-invited { background: rgba(245, 197, 66, 0.15); color: var(--yellow); }
    .badge.iv-selected { background: rgba(183, 148, 246, 0.18); color: #b794f6; }
    .badge.iv-bench { background: var(--surface-2); color: var(--muted); }
    .badge.iv-declined { background: rgba(240, 113, 120, 0.15); color: var(--red); }
    .badge.iv-none { background: transparent; color: var(--muted); font-weight: 400; }

    /* Interview tracker — full width, between exec summary and nudge list */
    .iv-summary {
      display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.25rem;
      padding-bottom: 0.85rem; margin-bottom: 0.85rem;
      border-bottom: 1px solid var(--border);
    }
    .iv-chip { font-size: 0.9rem; color: var(--muted); }
    .iv-chip strong { font-size: 1.3rem; margin-right: 0.2rem; }
    .iv-chip.iv-completed strong { color: var(--green); }
    .iv-chip.iv-scheduled strong { color: var(--accent); }
    .iv-chip.iv-invited strong { color: var(--yellow); }
    .iv-chip.iv-selected strong { color: #b794f6; }
    .iv-chip.iv-declined strong { color: var(--red); }
    .iv-note-foot { margin-left: auto; }

    .iv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
    .iv-item {
      display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
      padding-bottom: 0.6rem; border-bottom: 1px solid var(--border);
    }
    .iv-item:last-child { padding-bottom: 0; border-bottom: 0; }
    .iv-name { font-weight: 600; }
    .iv-date {
      font-size: 0.8rem; color: var(--text);
      background: var(--surface-2); padding: 0.1rem 0.5rem; border-radius: 6px;
    }
    .iv-date-tbd { color: var(--muted); font-style: italic; }
    .iv-score { margin-left: 0.1rem; }
    .iv-note { flex-basis: 100%; font-size: 0.82rem; margin: 0.1rem 0 0; }

    /* Interviews page — selection funnel */
    .funnel {
      display: flex; align-items: stretch; flex-wrap: wrap; gap: 0.4rem;
    }
    .funnel-stage {
      flex: 1 1 0; min-width: 92px;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 0.15rem; padding: 0.75rem 0.5rem;
      background: var(--surface-2); border-radius: 10px;
      border: 1px solid var(--border);
    }
    .funnel-count { font-size: 1.7rem; font-weight: 700; line-height: 1; }
    .funnel-label { font-size: 0.8rem; color: var(--muted); }
    .funnel-selected .funnel-count { color: #b794f6; }
    .funnel-invited .funnel-count { color: var(--yellow); }
    .funnel-scheduled .funnel-count { color: var(--accent); }
    .funnel-completed .funnel-count { color: var(--green); }
    .funnel-arrow { align-self: center; color: var(--muted); font-size: 1rem; }
    .funnel-foot { margin: 0.85rem 0 0; }

    /* Interviews page — funnel as 4 columns with candidate names */
    .funnel-cols .funnel-stage {
      flex: 1 1 0; min-width: 140px;
      align-items: stretch; justify-content: flex-start;
      gap: 0.55rem; padding: 0.7rem 0.6rem;
    }
    .funnel-head { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }
    .funnel-names { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
    .funnel-names li {
      display: flex; flex-direction: column; gap: 0.1rem;
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 7px; padding: 0.35rem 0.5rem; font-size: 0.85rem;
    }
    .funnel-names a { font-weight: 600; }
    .funnel-name-meta { display: flex; gap: 0.5rem; color: var(--muted); font-size: 0.72rem; }
    .funnel-empty { text-align: center; color: var(--muted); margin: 0.2rem 0 0; }

    /* Interviews page — verdict sub-boxes inside the Completed column */
    .verdict-grid {
      display: flex; flex-direction: column; gap: 0.45rem; width: 100%;
    }
    .verdict-box {
      border-radius: 8px; padding: 0.45rem 0.55rem;
      border: 1px solid var(--border); background: var(--surface);
    }
    .verdict-label {
      font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
      text-transform: uppercase; margin-bottom: 0.3rem;
    }
    .verdict-finalist  { border-color: #16a34a33; background: #f0fdf4; }
    .verdict-finalist  .verdict-label { color: #15803d; }
    .verdict-fence     { border-color: #d97706aa; background: #fffbeb; }
    .verdict-fence     .verdict-label { color: #b45309; }
    .verdict-rejected  { border-color: #dc262633; background: #fef2f2; }
    .verdict-rejected  .verdict-label { color: #b91c1c; }
    .verdict-unclassed { border-color: var(--border); }
    .verdict-unclassed .verdict-label { color: var(--muted); }
    @media (prefers-color-scheme: dark) {
      .verdict-finalist  { border-color: #16a34a55; background: #052e16; }
      .verdict-finalist  .verdict-label { color: #4ade80; }
      .verdict-fence     { border-color: #d9770688; background: #1c1400; }
      .verdict-fence     .verdict-label { color: #fbbf24; }
      .verdict-rejected  { border-color: #dc262655; background: #1c0505; }
      .verdict-rejected  .verdict-label { color: #f87171; }
    }

    /* Interviews page — per-milestone hours columns on the selection board */
    .iv-ms { font-variant-numeric: tabular-nums; white-space: nowrap; }
    .iv-ms-total { font-weight: 700; border-left: 2px solid var(--border); }

    /* Interviews page — process steps */
    .proc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
    .proc-step { display: flex; gap: 0.7rem; align-items: flex-start; }
    .proc-step p { margin: 0.1rem 0 0; }
    .proc-num {
      flex: 0 0 auto;
      width: 1.6rem; height: 1.6rem; border-radius: 50%;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--surface-2); border: 1px solid var(--border);
      font-size: 0.85rem; font-weight: 700; color: var(--accent);
    }
    .proc-foot { margin: 1rem 0 0; }
    @media (max-width: 620px) { .funnel-arrow { display: none; } }

    /* Collapsible section header toggle */
    .section-toggle {
      display: inline-flex; align-items: center; gap: 0.45rem;
      background: none; border: 0; padding: 0; margin: 0; cursor: pointer;
      font: inherit; color: inherit;
    }
    .section-toggle:hover { color: var(--accent); }
    .section-toggle-caret {
      font-size: 0.8em; line-height: 1; color: var(--muted);
      transition: transform 0.15s ease;
    }
    .section-toggle:hover .section-toggle-caret { color: var(--accent); }
    .collapsed .section-toggle-caret { transform: rotate(-90deg); }

    /* Nudge list — full width */
    .nudge-summary {
      display: flex; align-items: baseline; flex-wrap: wrap; gap: 1.25rem;
      padding-bottom: 0.85rem; margin-bottom: 0.85rem;
      border-bottom: 1px solid var(--border);
    }
    .nudge-summary > span { font-size: 0.9rem; color: var(--muted); }
    .nudge-summary strong { font-size: 1.3rem; margin-right: 0.15rem; }
    .nudge-summary .eng-nudge strong { color: var(--accent); }
    .nudge-summary .eng-slowing strong { color: var(--yellow); }
    .nudge-summary .eng-stalled strong { color: var(--red); }
    .nudge-summary-note { margin-left: auto; }

    .nudge-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
    .nudge-item { padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
    .nudge-item:last-child { padding-bottom: 0; border-bottom: 0; }
    .nudge-head { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
    .nudge-dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; flex: none; background: var(--accent); }
    .nudge-dot.slowing { background: var(--yellow); }
    .nudge-dot.stalled { background: var(--red); }
    .nudge-name { font-weight: 600; }
    .nudge-channel { background: rgba(79, 140, 255, 0.12); color: var(--accent); text-transform: capitalize; }
    .nudge-meta { color: var(--muted); font-size: 0.82rem; }
    .nudge-footnote { margin: 0.75rem 0 0; }

    .nudge-msg { display: flex; align-items: flex-start; gap: 0.75rem; }
    .nudge-msg-text {
      flex: 1; margin: 0; padding: 0.6rem 0.8rem;
      background: var(--surface-2); border-radius: 8px;
      color: var(--text); font-size: 0.88rem; line-height: 1.45;
    }
    .nudge-copy {
      flex: none; align-self: flex-start;
      padding: 0.4rem 0.75rem; border-radius: 6px;
      border: 1px solid var(--border); background: var(--surface);
      color: var(--text); font-size: 0.8rem; cursor: pointer;
    }
    .nudge-copy:hover { border-color: var(--accent); color: var(--accent); }
    .nudge-copy.copied { color: var(--green); border-color: var(--green); }

    .legend {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin: 0.75rem 0 0;
      font-size: 0.75rem;
      color: var(--muted);
    }

    .legend-item { display: flex; align-items: center; gap: 0.4rem; }

    .swatch {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      border: 1px solid var(--border);
    }

    .heatmap-wrap { margin-top: 0.5rem; }

    .heatmap {
      display: grid;
      gap: 3px;
      font-size: 0.75rem;
    }

    .heatmap-label {
      display: flex;
      align-items: center;
      color: var(--muted);
      padding-right: 0.5rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .heatmap-cell {
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 36px;
      border-radius: 4px;
      font-variant-numeric: tabular-nums;
      font-weight: 500;
      border: 1px solid transparent;
    }

    .heatmap-header {
      color: var(--muted);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      text-align: center;
      padding: 0.25rem;
    }

    .heatmap-header-name {
      color: var(--text);
      text-decoration: none;
      border-bottom: 1px dotted var(--muted);
      transition: color 0.12s ease, border-color 0.12s ease;
    }

    .heatmap-header-name:hover {
      color: var(--accent, #4f8cff);
      border-bottom-color: currentColor;
    }

    .heatmap-header-price {
      display: block;
      margin-top: 0.15rem;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: none;
      letter-spacing: 0;
      color: var(--text);
      font-variant-numeric: tabular-nums;
    }

    .bar-row {
      display: grid;
      grid-template-columns: 120px 1fr 80px;
      align-items: center;
      gap: 0.75rem;
      margin: 0.5rem 0;
      font-size: 0.875rem;
    }

    .bar-track {
      height: 22px;
      background: var(--surface-2);
      border-radius: 4px;
      overflow: hidden;
    }

    .bar-fill {
      height: 100%;
      border-radius: 4px;
      background: linear-gradient(90deg, var(--accent), #7eb0ff);
      min-width: 2px;
      transition: width 0.3s ease;
    }

    .bar-fill.warn { background: linear-gradient(90deg, var(--yellow), #ffd76a); }
    .bar-fill.alert { background: linear-gradient(90deg, var(--red), #ff9aa0); }

    .alert-text { color: var(--red); font-weight: 700; }

    tr.price-section-row td {
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--muted);
      background: var(--surface-2);
    }

    .section-scale {
      font-weight: 400;
      text-transform: none;
      letter-spacing: 0;
      opacity: 0.75;
    }

    .value-rank {
      color: var(--muted);
      font-variant-numeric: tabular-nums;
      width: 1.5rem;
    }

    .score-pill {
      display: inline-block;
      min-width: 2.1rem;
      padding: 0.1rem 0.4rem;
      border-radius: 999px;
      background: var(--surface-2);
      border: 1px solid var(--border);
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      text-align: center;
    }

    .price-cell {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      white-space: nowrap;
    }

    .price-cell .bar-track {
      flex: 0 0 64px;
      width: 64px;
      height: 10px;
    }

    .price-cell .num {
      text-align: left;
    }

    .gates {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-top: 0.25rem;
    }

    .gate {
      width: 28px;
      height: 28px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      font-weight: 600;
      border: 1px solid var(--border);
    }

    .gate.pass { background: rgba(62, 207, 142, 0.2); color: var(--green); }
    .gate.fail { background: rgba(240, 113, 120, 0.12); color: var(--red); opacity: 0.7; }

    .empty {
      color: var(--muted);
      font-style: italic;
      padding: 2rem;
      text-align: center;
    }

    .grid-2 {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 1rem;
    }

    .heatmap-footnote {
      margin-top: 0.85rem;
      padding-top: 0.75rem;
      border-top: 1px solid var(--border);
      font-size: 0.8rem;
      color: var(--muted);
    }

    .heatmap-footnote-lead {
      margin: 0 0 0.4rem;
    }

    .heatmap-footnote ul {
      margin: 0;
      padding-left: 1.1rem;
    }

    .heatmap-footnote li {
      margin: 0.15rem 0;
    }

    .heatmap-footnote strong {
      color: var(--text);
    }

    /* Price heatmap: narrow left (bars) + wide right (detail table) to avoid horizontal scroll. */
    .price-heatmap-grid {
      grid-template-columns: minmax(200px, 1fr) minmax(0, 2.6fr);
    }

    @media (max-width: 760px) {
      .price-heatmap-grid {
        grid-template-columns: 1fr;
      }
    }

    footer {
      margin-top: 2rem;
      padding-top: 1rem;
      border-top: 1px solid var(--border);
      font-size: 0.75rem;
      color: var(--muted);
    }

    a { color: var(--accent); text-decoration: none; }
    a:hover { text-decoration: underline; }

    .filters {
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      gap: 0.75rem 1rem;
      padding: 0.85rem 1.25rem;
    }

    .filter-group {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .filter-group label {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: var(--muted);
    }

    .filter-group select,
    .filter-group input {
      background: var(--surface-2);
      border: 1px solid var(--border);
      border-radius: 6px;
      color: var(--text);
      font-size: 0.8rem;
      padding: 0.4rem 0.55rem;
      min-width: 120px;
    }

    .filter-group input[type="search"] { min-width: 160px; }

    .filter-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-left: auto;
    }

    /* Multi-select pill toggles (interview filter) */
    .iv-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
    }
    .iv-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.3rem 0.65rem;
      border-radius: 5px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--muted);
      font-size: 0.75rem;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
      transition: background 0.12s, color 0.12s, border-color 0.12s;
    }
    .iv-pill::before { content: ""; display: block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.3; transition: opacity 0.12s; }
    .iv-pill:hover { border-color: var(--accent); color: var(--text); }
    .iv-pill.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
      font-weight: 600;
    }
    .iv-pill.active::before { opacity: 1; background: #fff; }

    .toggle-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.45rem 0.75rem;
      border-radius: 6px;
      border: 1px solid var(--border);
      background: var(--surface-2);
      color: var(--text);
      font-size: 0.8rem;
      font-weight: 500;
      cursor: pointer;
      user-select: none;
      white-space: nowrap;
    }

    .toggle-cta:hover { border-color: var(--accent); }

    .toggle-cta.active {
      background: rgba(79, 140, 255, 0.18);
      border-color: var(--accent);
      color: #cfe0ff;
    }

    .toggle-cta input { display: none; }

    button.ghost {
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 6px;
      color: var(--muted);
      font-size: 0.75rem;
      padding: 0.4rem 0.65rem;
      cursor: pointer;
    }

    button.ghost:hover { color: var(--text); border-color: var(--accent); }

    .filter-count { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }

    th.sortable {
      cursor: pointer;
      user-select: none;
    }

    th.sortable:hover { color: var(--text); }

    th.sortable.active { color: var(--text); }

    th.sortable .sort-indicator {
      display: inline-block;
      margin-left: 0.2rem;
      font-size: 0.65rem;
      opacity: 0.35;
    }

    th.sortable.active .sort-indicator {
      opacity: 1;
      color: var(--accent);
    }

.breadcrumb { margin: 0.25rem 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

.kv-grid {
  display: grid;
  /* Tighter min so short single-value fields (Country, Region, Phone,
     Channel, Status…) pack 4–6 to a row at typical viewport widths
     instead of 2–3. Long-text fields opt out via .kv-wide. */
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem 1.25rem;
  font-size: 0.875rem;
  align-items: start;
}

.kv-grid > div {
  min-width: 0;
}

.kv-grid dt {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.kv-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}

/* Wide rows: span the full grid + give long-text values comfortable
   reading width with a faint left rail so they read as a distinct
   paragraph block, not a sea of small cells. */
.kv-grid .kv-wide {
  grid-column: 1 / -1;
  border-left: 2px solid var(--border);
  padding-left: 0.8rem;
}

.kv-grid .kv-wide dd {
  max-width: 90ch;
}

.kv-grid dd a {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.prose { font-size: 0.875rem; line-height: 1.6; color: var(--text); }
.prose p { margin: 0 0 0.75rem; }
.prose ul { margin: 0 0 0.75rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.prose em { color: var(--muted); }

td.wrap, th.wrap {
  white-space: normal;
  max-width: 36rem;
  min-width: 12rem;
}

.artifact-list { list-style: none; padding: 0; margin: 0; }
.artifact-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.artifact-list li:last-child { border-bottom: none; }
.artifact-note { color: var(--muted); font-size: 0.75rem; }

.file-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.file-links a {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
}
.file-links a:hover { border-color: var(--accent); text-decoration: none; }

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.metric-row span { color: var(--muted); }

.header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-left: auto;
  font-size: 0.875rem;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--accent);
  background: rgba(79, 140, 255, 0.1);
}

.labor-stat-tile { min-height: 100px; }

.labor-stack-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr 72px;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

.labor-stack-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.labor-stack-track {
  display: flex;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface-2);
  min-width: 48px;
}

.labor-stack-seg { height: 100%; min-width: 2px; }

.labor-stack-total { text-align: right; font-variant-numeric: tabular-nums; }

.labor-rate-row {
  display: grid;
  grid-template-columns: minmax(120px, 160px) 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
}

.labor-rate-label { padding-top: 0.15rem; }

.labor-rate-bars { min-width: 0; }

.pipeline-state-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.exec-tile-pipeline {
  align-self: start;
  min-height: 0;
  justify-content: flex-start;
}

.exec-tile-pipeline h3 {
  margin: 0 0 0.35rem;
  flex: 0 0 auto;
}

.exec-tile-pipeline .pipeline-state-table {
  margin-top: 0;
  flex: 0 0 auto;
}

.pipeline-state-table td {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  vertical-align: baseline;
}

.pipeline-state-table tr:last-child td {
  border-bottom: none;
}

.pipeline-state-table td:first-child {
  width: 100%;
  padding-right: 1.5rem;
}

.pipeline-state-table .pipeline-state-count {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pipeline-state-table .pipeline-state-pct {
  width: 1px;
  padding-left: 1rem;
  text-align: right;
  font-weight: 400;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-left: 1px solid var(--border);
}

.pipeline-substate-label {
  margin: 0.75rem 0 0;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pipeline-state-table-exited {
  margin-top: 0.15rem;
  opacity: 0.85;
}

.pipeline-state-table-exited td {
  border-bottom: none;
}

.chart-footnote {
  margin: 0.5rem 0 0;
  line-height: 1.45;
  font-size: 0.62rem;
}

pre.reply-draft {
  background: #f6f8fa;
  border: 1px solid #e0e4e8;
  border-left: 3px solid #6b8eae;
  border-radius: 6px;
  padding: 0.85rem 1rem;
  margin: 0.4rem 0 1.1rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #1f2733;
}

pre.reply-draft code {
  background: none;
  padding: 0;
  color: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Fit timeline (vendor page) */
.fit-timeline-card {
  padding-bottom: 0.75rem;
}

.fit-timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.fit-timeline-head .meta {
  font-size: 0.72rem;
}

.fit-dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  vertical-align: middle;
}

.fit-timeline {
  width: 100%;
  min-height: 172px;
}

.fit-timeline svg {
  display: block;
  max-width: 100%;
}

.fit-timeline .ft-label {
  font-size: 0.82rem;
  font-weight: 600;
  fill: var(--text);
}

.fit-timeline .ft-date {
  font-size: 0.72rem;
  fill: var(--muted);
  opacity: 0.95;
}

.fit-timeline .ft-value {
  font-size: 0.95rem;
  font-weight: 800;
}

.fit-timeline .ft-gate {
  stroke: var(--muted);
  stroke-width: 1;
  stroke-dasharray: 5 5;
  opacity: 0.55;
}

.fit-timeline .ft-gate-label {
  font-size: 0.66rem;
  fill: var(--muted);
  opacity: 0.9;
}

/* Interview prep block — picker chips + per-vendor rubric/callout cards */
.badge.nda-signed { background: rgba(62, 207, 142, 0.15); color: var(--green); }
.badge.nda-open { background: rgba(245, 197, 66, 0.15); color: var(--yellow); }
.badge.nda-unknown { background: var(--surface-2); color: var(--muted); }

.prep-controls {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.prep-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.prep-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 0.85rem;
  user-select: none;
  transition: background 0.15s, border-color 0.15s;
}

.prep-chip:has(.prep-chip-input:checked) {
  background: rgba(79, 140, 255, 0.12);
  border-color: var(--accent);
}

.prep-chip-input {
  appearance: none;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  border: 1px solid var(--border);
  cursor: pointer;
  margin: 0;
}

.prep-chip-input:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.prep-chip-label { font-weight: 500; color: var(--text); }
.prep-chip-meta { font-size: 0.7rem; }

.prep-chip-actions {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.prep-chip-action {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}

.prep-chip-action:hover { color: var(--text); border-color: var(--accent); }

.prep-cards {
  display: grid;
  gap: 1.25rem;
}

.prep-vendor-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.1rem;
}

.prep-vendor-head h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prep-vendor-head h3 a {
  color: var(--text);
  text-decoration: none;
}

.prep-vendor-head h3 a:hover { color: var(--accent); }
.prep-vendor-head .meta { margin: 0 0 0.85rem; font-size: 0.82rem; }

.prep-vendor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

@media (max-width: 800px) {
  .prep-vendor-grid { grid-template-columns: 1fr; }
}

.prep-vendor-grid h4 {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.prep-rubric-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.prep-rubric-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.7rem 0.6rem;
}

.prep-rubric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.prep-rubric-title { font-weight: 600; font-size: 0.88rem; }

.prep-rubric-weight {
  font-size: 0.7rem;
  color: var(--muted);
  background: var(--surface-2);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}

.prep-rubric-probe {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.prep-callouts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.prep-callouts li {
  padding: 0.5rem 0.7rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  font-size: 0.85rem;
  line-height: 1.45;
}

/* Interview prep — scoring table layout (replaces the older chip/card layout
   above; the older .prep-chip / .prep-vendor-card / .prep-rubric-* classes are
   no longer rendered but kept for now in case we want to revert). */
.prep-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.prep-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.88rem;
}

.prep-table th,
.prep-table td {
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.prep-table thead th,
.prep-table tfoot th,
.prep-table tfoot td {
  background: var(--surface-2);
}

.prep-table th.prep-corner,
.prep-table th.prep-cat,
.prep-table th.prep-total-label {
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--surface-2);
  box-shadow: 1px 0 0 var(--border);
  min-width: 280px;
  max-width: 360px;
}

.prep-corner-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.prep-corner-sub {
  margin-top: 0.2rem;
  font-size: 0.75rem;
}

.prep-vh {
  min-width: 180px;
  vertical-align: top;
}

.prep-vh-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}

.prep-vh-name a {
  color: var(--text);
  text-decoration: none;
}

.prep-vh-name a:hover { color: var(--accent); }

.prep-vh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.35rem;
}

.prep-vh-meta .badge { font-size: 0.7rem; padding: 0.1rem 0.45rem; }

.prep-vh-foot {
  margin-top: 0.35rem;
  font-size: 0.75rem;
}

.prep-vh-running {
  margin-top: 0.5rem;
  padding-top: 0.35rem;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.prep-vh-running-label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prep-vh-running-val { font-variant-numeric: tabular-nums; }
.prep-vh-running-suffix { color: var(--muted); font-weight: 400; font-size: 0.72rem; }

.prep-vh-running-empty .prep-vh-running-val {
  color: var(--muted);
  font-weight: 400;
}

.prep-export-feedback {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
}

.prep-export-feedback.prep-export-ok { color: var(--green); }
.prep-export-feedback.prep-export-err { color: var(--red); }

.prep-cat-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.2rem;
}

.prep-cat-title {
  font-weight: 600;
  font-size: 0.92rem;
}

.prep-cat-weight {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
}

.prep-cat-probe {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.prep-cell {
  text-align: center;
  min-width: 80px;
}

.prep-score {
  width: 100%;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.4rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.prep-score:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(79, 140, 255, 0.25);
}

/* Cell color hints — green for strong, yellow for middling, red for weak,
   muted for N/A. Backgrounds, not text — so the dropdown stays readable. */
.prep-cell-5 { background: rgba(62, 207, 142, 0.18); }
.prep-cell-4 { background: rgba(62, 207, 142, 0.10); }
.prep-cell-3 { background: rgba(245, 197, 66, 0.12); }
.prep-cell-2 { background: rgba(240, 113, 120, 0.10); }
.prep-cell-1 { background: rgba(240, 113, 120, 0.18); }
.prep-cell-na { background: var(--surface-2); opacity: 0.7; }

.prep-totals-row th,
.prep-totals-row td {
  border-top: 2px solid var(--border);
  border-bottom: none;
}

.prep-total-label {
  font-weight: 600;
}

.prep-total-note {
  display: block;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.prep-total {
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.prep-total-val {
  display: inline-block;
  min-width: 2.5rem;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
}

.prep-total-strong { background: rgba(62, 207, 142, 0.18); color: var(--green); }
.prep-total-mid    { background: rgba(245, 197, 66, 0.15); color: var(--yellow); }
.prep-total-weak   { background: rgba(240, 113, 120, 0.18); color: var(--red); }

.prep-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.9rem 0 0.5rem;
}

.prep-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.prep-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.prep-btn-danger:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Vendor-specific callouts — shown beneath the table when toggled on. */
.prep-callouts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.prep-callouts-grid[hidden] { display: none; }

.prep-callout-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
}

.prep-callout-block h4 {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prep-callout-block h4 a {
  color: var(--text);
  text-decoration: none;
}

.prep-callout-block h4 a:hover { color: var(--accent); }

/* Interview prep — static cell variants. The .prep-cell-{1..5} background
   hints already exist above; these add the read-only score-value styling
   and the empty/unscored state. */
.prep-cell-val {
  display: inline-block;
  min-width: 1.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--surface);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
}

.prep-cell-empty {
  background: transparent;
}

.prep-cell-empty .prep-cell-val {
  background: transparent;
  color: var(--muted);
  font-weight: 400;
}

.prep-cell-na .prep-cell-val {
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.prep-callouts-heading {
  margin: 1.25rem 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
}

.prep-callouts-grid-static {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Interview prep — stacked layout (question row above, score row below).
   Replaces the prior sticky-first-column design that was bleeding into the
   vendor columns. The first column is gone; each rubric category is now a
   full-width question row followed by a row of score cells. */
.prep-intro {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
}

.prep-table-stacked thead th {
  text-align: left;
}

/* The question row spans all vendor columns and carries the probe text +
   category title + weight chip. Visually distinct so the eye can group each
   category with its scores. */
.prep-question-row td.prep-question-cell {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 0.7rem 0.85rem;
}

.prep-question-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.2rem;
}

.prep-question-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.prep-question-weight {
  font-size: 0.72rem;
  color: var(--muted);
  background: var(--surface);
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.prep-question-probe {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Score row sits directly below its question row — tight padding, centered,
   pulls the eye toward the values without a heavy divider. */
.prep-score-row td.prep-cell {
  padding: 0.55rem 0.7rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

/* Totals: same question-row treatment for the label, slightly heavier styling
   for the score cells to mark it as the summary line. */
.prep-totals-label-row td.prep-question-cell {
  background: var(--surface);
  border-top: 2px solid var(--border);
}

.prep-totals-row td.prep-total {
  background: var(--surface);
  border-bottom: none;
  padding: 0.65rem 0.7rem;
  text-align: center;
}
