/* Compact blue/purple comparison table with section bands and striped rows. */
.quantitative-results {
  --table-accent: #5553a4;
  --table-ink: #343d60;
  --table-border: #d4d9ed;
  --table-band: linear-gradient(105deg, #e5edfc, #eee6fa);
  --table-ours: linear-gradient(105deg, #dce8fc, #e6d9f6);
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
}
.results-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 22px; }
.results-controls { display: grid; gap: 10px; justify-items: end; }
.control-row { display: flex; align-items: center; gap: 12px; }
.control-row > span { font-size: 14px; font-weight: 600; color: var(--muted); }
.segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #dddfee; border-radius: 9px; background: #f0f1f8; max-width: 100%; flex-wrap: wrap; }
.segmented button { border: 0; border-radius: 6px; background: transparent; color: #667086; font-size: 14px; font-weight: 600; line-height: 1.5; padding: 8px 14px; cursor: pointer; transition: background .15s, color .15s; }
.segmented button:hover { background: #e6e7f4; color: var(--table-accent); }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--table-accent); box-shadow: 0 1px 5px #23365514; }
.results-subline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
#results-context { font-size: 15px; font-weight: 600; color: #59627d; }
.condition-controls button { font-size: 14px; padding: 7px 12px; }
.results-table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--table-border); border-radius: 15px; background: #fbfbfe; scrollbar-width: thin; scrollbar-color: #b6b5d8 #f4f3fa; }
.quantitative-table { border-collapse: separate; border-spacing: 0; table-layout: fixed; width: 100%; min-width: 720px; color: var(--table-ink); font-size: 17px; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums lining-nums; }
.quantitative-table th, .quantitative-table td { padding: 14px 17px; white-space: nowrap; vertical-align: middle; border-bottom: 1px solid #dfe3f0; }
.quantitative-table tr > :first-child { text-align: left; }
.quantitative-table thead { background: var(--table-band); }
.quantitative-table thead th { color: #414a78; font-size: 16px; font-weight: 650; text-align: center; padding-block: 17px; border-bottom: 2px solid #b5b7dc; }
.quantitative-table thead th:first-child { width: 28%; text-align: left; text-transform: uppercase; }
.quantitative-table .group-heading { background: var(--table-band); }
.quantitative-table .group-heading th { padding: 9px 20px; border-bottom: 1px solid #cbd1e7; color: #515584; font-size: 15px; font-weight: 700; line-height: 1.5; letter-spacing: .065em; text-transform: uppercase; }
.quantitative-table .results-group + .results-group .group-heading th { border-top: 1px solid #cbd1e7; }
.quantitative-table .data-row { --row-bg: #fbfbfe; background: var(--row-bg); }
.quantitative-table .data-row.stripe { --row-bg: #f0f3fb; }
.quantitative-table .data-row:hover { --row-bg: #eaeefa; }
.quantitative-table .data-row th { color: var(--table-ink); font-weight: 500; padding-left: 20px; }
.quantitative-table .data-row td { font-family: "Consolas", "SFMono-Regular", "Liberation Mono", monospace; font-size: 18px; letter-spacing: .015em; }
.quantitative-table .data-row:last-child > * { border-bottom: 0; }
.quantitative-table .ours, .quantitative-table .ours:hover { background: var(--table-ours); }
.quantitative-table .ours > *, .quantitative-table .ours th { color: #393973; font-weight: 750; }
.quantitative-table .ours > th { box-shadow: inset 4px 0 #7670c4; }
.quantitative-table strong { font-weight: 750; color: inherit; }
.metric-unit { font-size: 13px; font-weight: 400; }
.results-scroll-hint { display: none; font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 1000px) {
  .results-topline { gap: 18px; }
  .results-subline { align-items: flex-start; flex-direction: column; gap: 10px; }
}
@media (max-width: 780px) {
  .results-scroll-hint { display: block; }
}
@media (max-width: 700px) {
  .results-topline { flex-direction: column; gap: 17px; margin-bottom: 17px; }
  .results-controls { width: 100%; justify-items: start; gap: 10px; }
  .control-row { width: 100%; gap: 8px; }
  .control-row > span { min-width: 55px; }
  .segmented button { padding: 8px 11px; font-size: 14px; }
  .condition-controls { width: 100%; flex-wrap: nowrap; }
  .condition-controls button { flex: 1; padding: 7px 6px; font-size: 14px; }
  .quantitative-table { font-size: 16px; min-width: 700px; }
  .quantitative-table th, .quantitative-table td { padding: 13px 12px; }
  .quantitative-table thead th { font-size: 15px; }
  .quantitative-table thead th:first-child { width: 175px; }
  .quantitative-table .data-row td { font-size: 17px; }
  .quantitative-table th[scope="row"], .quantitative-table thead th:first-child { position: sticky; left: 0; z-index: 1; border-right: 1px solid #dce0ef; }
  .quantitative-table th[scope="row"] { background: var(--row-bg); }
  .quantitative-table thead th:first-child { background: #e6edfc; }
  .quantitative-table .ours th { background: #dce8fc; }
  .quantitative-table .group-label { position: sticky; left: 20px; }
}
