.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Results scope */
.results-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}
.results-header h1 { margin: 3px 0 0; font-size: clamp(28px, 3vw, 42px); letter-spacing: -.045em; }
.results-header p { max-width: 680px; margin: 6px 0 0; color: var(--text-muted); font-size: 13px; }
.results-kicker, .stage-eyebrow {
  color: #a78bfa;
  font: 600 10px/1.2 var(--mono);
  letter-spacing: .13em;
  text-transform: uppercase;
}
.track-switcher, .dataset-switcher {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #09090b;
}
.track-tab, .dataset-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
}
.track-tab:hover, .dataset-tab:hover { color: var(--text); }
.track-tab[aria-current="true"], .dataset-tab[aria-current="true"] { border-color: var(--border); background: var(--surface-2); color: var(--text); }
.track-tab small, .dataset-tab small {
  min-width: 20px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--text-muted);
  font: 10px var(--mono);
  text-align: center;
}
.scope-bar {
  display: grid;
  grid-template-columns: minmax(190px, .7fr) minmax(300px, 1.25fr) minmax(360px, 1.4fr);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
}
.scope-primary, .scope-season, .scope-facts { min-height: 76px; padding: 12px 14px; border-right: 1px solid var(--border); }
.scope-bar > :last-child { border-right: 0; }
.scope-label, .scope-season > label {
  display: block;
  margin: 0 0 4px;
  color: var(--text-muted);
  font: 600 9px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scope-primary strong { display: block; font-size: 13px; }
.scope-primary small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 10px; }
.scope-season form { margin: 0; }
.scope-season select { min-height: 36px; padding: 6px 9px; font-size: 11px; }
.scope-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 16px; }
.scope-facts span { min-width: 0; overflow: hidden; color: var(--text-secondary); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.scope-facts b { display: block; color: var(--text-muted); font: 600 8px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

/* Dashboard frame */
.snapshot-note { margin: 0 0 16px; padding: 12px 14px; border-left: 2px solid #72dcc8; background: var(--surface); color: var(--text-muted); font-size: 11px; }
.snapshot-note p { margin: 0 0 6px; line-height: 1.6; }
.snapshot-note strong { color: var(--text-secondary); }
.snapshot-details summary, .row-provenance summary { cursor: pointer; color: var(--text-secondary); }
.snapshot-details[open] summary { margin-bottom: 10px; }
.dataset-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 20px 0 12px; }
.dataset-summary h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.025em; }
.dataset-summary p { margin: 0; color: var(--text-muted); font-size: 12px; }
.dataset-summary strong { color: var(--text); font-family: var(--mono); }
.excluded-evaluations { margin-top: 28px; padding: 18px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.excluded-evaluations h2 { margin: 6px 0; font-size: 18px; }
.excluded-evaluations h2 small { margin-left: 5px; color: var(--text-muted); font: 12px var(--mono); }
.excluded-evaluations p { color: var(--text-muted); font-size: 12px; }
.excluded-evaluations ul { margin: 15px 0 0; padding: 0; list-style: none; }
.excluded-evaluations li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid var(--border); font-size: 12px; }
.excluded-evaluations li small { display: block; margin-top: 4px; color: var(--text-muted); font: 10px var(--mono); }
.excluded-evaluations li > span { color: var(--text-muted); }
.row-provenance { max-width: 340px; margin-top: 5px; font-size: 10px; white-space: normal; }
.row-provenance p { overflow-wrap: anywhere; }
.cost-basis { display: block; color: var(--text-muted); font-size: 9px; }
.mobile-cost { display: none; }
.scope-primary small { overflow-wrap: anywhere; }

.results-dashboard {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #08080a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}
.dashboard-topbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(124, 58, 237, .07), transparent 32%);
}
.view-tabs, .metric-switch, .mini-segments { display: inline-flex; align-items: stretch; gap: 3px; }
.view-tab {
  min-height: 38px;
  padding: 8px 13px;
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
}
.view-tab:hover { border-color: var(--border); background: var(--surface); color: var(--text); }
.view-tab.active { border-color: var(--border-strong); background: var(--surface-2); color: var(--text); }
.view-tab svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.3; }
.result-count { display: flex; align-items: baseline; gap: 7px; color: var(--text-muted); font: 10px var(--mono); }
.result-count strong { color: var(--text); font-size: 18px; font-weight: 500; }
.dashboard-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 690px; }
.filter-rail { border-right: 1px solid var(--border); background: #0a0a0c; }
.filter-rail-head {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}
.filter-rail-head span { display: block; color: var(--text-muted); font: 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.filter-rail-head strong { display: block; margin-top: 2px; font-size: 16px; }
.text-button {
  min-height: auto;
  padding: 3px 0;
  border: 0;
  background: none;
  color: #a78bfa;
  font: 10px var(--mono);
}
.text-button:hover { border: 0; background: none; color: #c4b5fd; }
.filter-group { min-width: 0; margin: 0; padding: 15px 14px; border: 0; border-bottom: 1px solid var(--border); }
.filter-group legend { width: 100%; padding: 0; color: var(--text-secondary); font: 600 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.access-filter { padding-top: 14px; }
.mini-segments { width: 100%; margin-top: 10px; padding: 2px; border: 1px solid var(--border); border-radius: 5px; background: #070708; }
.mini-segments button {
  flex: 1;
  min-width: 0;
  min-height: 27px;
  padding: 4px 2px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
}
.mini-segments button:hover { border: 0; background: var(--surface); color: var(--text-secondary); }
.mini-segments button.active { background: var(--surface-3); color: var(--text); }
.check-list { max-height: 215px; display: grid; gap: 5px; margin-top: 9px; overflow-y: auto; }
.check-list.compact { max-height: 168px; }
.filter-check {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 5px;
  border-radius: 4px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 450;
  cursor: pointer;
}
.filter-check:hover { background: var(--surface-2); color: var(--text); }
.filter-check input { flex: none; width: 13px; height: 13px; margin: 0; }
.filter-check i, .legend-swatch { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--model-color, #a78bfa); }
.filter-check span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-static="true"] .filter-check span { white-space: normal; overflow-wrap: anywhere; }
.filter-check small { margin-left: auto; color: var(--text-muted); font: 9px var(--mono); }
.effort-mode { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.effort-mode strong { display: block; color: var(--text-secondary); font-size: 11px; }
.effort-mode small { display: block; max-width: 145px; margin-top: 3px; color: var(--text-muted); font-size: 9px; line-height: 1.4; }
.switch { flex: none; margin: 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 34px; height: 19px; display: block; padding: 2px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-3); transition: 150ms ease; }
.switch span::after { content: ""; width: 13px; height: 13px; display: block; border-radius: 50%; background: var(--text-muted); transition: 150ms ease; }
.switch input:checked + span { border-color: #7c3aed; background: rgba(124, 58, 237, .35); }
.switch input:checked + span::after { transform: translateX(15px); background: #c4b5fd; }
.dashboard-stage { min-width: 0; background: var(--bg); }
.dashboard-view { min-height: 100%; }
.dashboard-view:not(.active) { display: none; }
.stage-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.stage-header h2 { margin: 3px 0 0; font-size: 20px; letter-spacing: -.025em; }
.stage-header p { max-width: 570px; margin: 3px 0 0; color: var(--text-muted); font-size: 11px; }
.metric-switch { flex: none; padding: 3px; border: 1px solid var(--border); border-radius: 6px; background: #09090b; }
.metric-switch button {
  min-width: 118px;
  min-height: 48px;
  display: block;
  padding: 6px 10px;
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
  text-align: left;
}
.metric-switch button:hover { border-color: transparent; background: var(--surface); color: var(--text-secondary); }
.metric-switch button.active { border-color: var(--border); background: var(--surface-2); color: var(--text); }
.metric-switch span, .metric-switch small { display: block; }
.metric-switch span { font-size: 11px; }
.metric-switch small { margin-top: 1px; color: var(--text-muted); font: 8px var(--mono); font-weight: 400; }

/* Leaderboard */
.results-table-wrap { margin: 0; }
.results-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.results-table thead { background: #09090b; }
.results-table th {
  height: 42px;
  padding: 9px 11px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font: 600 9px var(--mono);
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
}
.results-table td { height: 60px; padding: 9px 11px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 11px; }
.results-table tbody tr { --model-color: #a78bfa; animation: row-in 240ms ease both; }
/* Published measurements must remain visible when a browser pauses animations. */
[data-results-dashboard][data-static="true"] .results-table tbody tr { animation: none; }
[data-results-dashboard][data-static="true"] .results-volume .volume-point { animation: none; }
.results-table tbody tr:hover { background: rgba(255, 255, 255, .022); }
.results-table .select-col { width: 38px; padding-right: 2px; text-align: center; }
[data-results-dashboard][data-static="true"] .results-table .select-col { display: none; }
.results-table .rank-col { width: 52px; }
.results-table th:nth-child(3) { width: 25%; }
.results-table th:nth-child(4) { width: 12%; }
.results-table th:nth-child(5) { width: 13%; }
.results-table th:nth-child(6) { width: 13%; }
.results-table th:nth-child(7) { width: 11%; }
.results-table th:nth-child(8) { width: 18%; }
[data-static="true"] .results-table th:nth-child(3) { width: auto; }
.results-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.ranking-position { color: var(--text-muted) !important; font: 12px var(--mono); }
.model-cell { display: flex; align-items: center; gap: 10px; }
.model-cell > span { min-width: 0; }
[data-static="true"] .model-cell { display: table-cell; }
[data-static="true"] .model-cell > span { display: inline-block; vertical-align: middle; width: calc(100% - 22px); }
[data-static="true"] .model-swatch { display: inline-block; vertical-align: middle; margin-right: 10px; }
.model-swatch { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--model-color); box-shadow: 0 0 12px color-mix(in srgb, var(--model-color) 45%, transparent); }
.model-cell a { display: block; overflow: hidden; color: var(--text); font-size: 12px; font-weight: 650; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.model-cell a:hover { text-decoration: underline; }
[data-static="true"] .model-cell a { white-space: normal; line-height: 1.4; }
.model-cell small { display: block; overflow: hidden; margin-top: 1px; color: var(--text-muted); font: 8px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
[data-static="true"] .model-cell .model-metadata { display: block; overflow: visible; white-space: normal; font-size: 9px; line-height: 1.5; }
[data-static="true"] .model-cell .model-metadata a { display: inline; color: inherit; font: inherit; }
.effort-chip { display: inline-flex; padding: 2px 7px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text-secondary); font: 9px var(--mono); text-transform: lowercase; }
.performance-cell, .time-cell, .cost-cell { color: var(--text) !important; font: 600 11px var(--mono); }
.cost-cell .missing-value { color: var(--text-muted); font-weight: 400; }
.status-cell { display: flex; gap: 4px; flex-wrap: wrap; }
.status-cell .chip { min-height: 20px; padding: 1px 6px; font-size: 8px; }
.compare-check { width: 14px; height: 14px; margin: 0; cursor: pointer; }
.compare-dock { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; padding: 10px 14px; background: #0a0a0c; }
.compare-dock > span { color: var(--text-secondary); font-size: 11px; }
.compare-dock > span > b { min-width: 20px; display: inline-block; color: var(--text); font: 14px var(--mono); }
.compare-dock small { margin-left: 9px; color: var(--text-muted); }
.compare-dock button { min-width: 112px; margin: 0; }
.no-results { min-height: 260px; display: grid; place-content: center; text-align: center; }
.no-results strong { font-size: 14px; }
.no-results span { margin-top: 4px; color: var(--text-muted); font-size: 11px; }

/* Curves */
.chart-header { min-height: 116px; }
.metric-rail {
  gap: 0;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: #171b24;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}
.metric-rail button {
  min-width: 0;
  min-height: 40px;
  padding: 7px 15px;
  border: 0;
  border-radius: 7px;
  color: #8e94a3;
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  white-space: nowrap;
}
.metric-rail button:hover { border: 0; background: rgba(8, 11, 16, .38); color: #c3c7d0; }
.metric-rail button.active {
  border: 0;
  background: #0c1119;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .02);
  color: #f2f3f6;
}
/* Keep the selected metric clear even when a static-preview tab pauses transitions. */
[data-results-dashboard][data-static="true"] .metric-rail button { transition: none; }
.curve-summary {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font: 9px var(--mono);
}
.curve-summary span { display: inline-flex; align-items: center; gap: 7px; }
.curve-summary [hidden] { display: none; }
.curve-summary .curve-keys { gap: 18px; }
.frontier-key { width: 24px; height: 0; border-top: 2px dotted #b5bdcf; opacity: .8; }
.baseline-key { width: 24px; height: 0; border-top: 1px dashed #79c7d5; opacity: .9; }
.curve-summary [data-baseline-label] { color: inherit; font: inherit; font-weight: 400; }
.chart-frame { position: relative; min-height: 520px; overflow-x: auto; background: radial-gradient(circle at 50% 48%, rgba(124, 58, 237, .035), transparent 44%); }
.results-chart { min-width: 760px; display: block; width: 100%; height: auto; font-family: var(--mono); }
.results-chart .reference-zone { fill: #62b8ca; fill-opacity: .085; }
.results-chart .reference-baseline { stroke: #79c7d5; stroke-width: 1.15; stroke-dasharray: 4 6; opacity: .78; }
.results-chart .reference-zone-label,
.results-chart .reference-baseline-label {
  fill: #9cd8e1;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .08em;
  paint-order: stroke;
  stroke: #08090c;
  stroke-linejoin: round;
  stroke-width: 4px;
}
.results-chart .reference-zone-label { font-size: 9.5px; letter-spacing: .12em; }
.results-chart .chart-grid { stroke: #242731; stroke-width: 1; opacity: .75; }
.results-chart .chart-axis { stroke: #7c818f; stroke-width: 1; }
.results-chart .chart-tick { fill: #9ca3b5; font-size: 10px; }
.results-chart .chart-label { fill: #e8eaf0; font-size: 11px; }
.results-chart .family-path { fill: none; stroke-width: 2; opacity: .68; }
.results-chart .pareto-path { fill: none; stroke: #b5bdcf; stroke-width: 2.1; stroke-dasharray: 2 7; stroke-linecap: round; opacity: .7; }
.results-chart .pareto-ring { fill: none; stroke: #b5bdcf; stroke-width: 1.25; opacity: .75; }
.results-chart .result-point { stroke: #050608; stroke-width: 1.5; cursor: pointer; transition: r 120ms ease, opacity 120ms ease; }
.results-chart .result-point:hover { r: 7; }
.results-chart .point-label { font-size: 9px; font-weight: 600; pointer-events: none; }
.results-chart .empty-chart { fill: var(--text-muted); font-size: 12px; }
.chart-tooltip {
  position: absolute;
  z-index: 3;
  min-width: 180px;
  padding: 9px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  background: rgba(10, 10, 12, .96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4);
  color: var(--text-secondary);
  font: 9px/1.55 var(--mono);
  pointer-events: none;
}
.chart-tooltip strong { display: block; color: var(--text); font-size: 11px; }
.chart-tooltip b { color: #c4b5fd; font-weight: 600; }
.model-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 20px 18px; border-top: 1px solid var(--border); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; color: var(--text-secondary); font: 9px var(--mono); }

/* Three-objective Pareto volume */
.volume-header { min-height: 122px; }
.camera-switch {
  flex: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(128px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #09090b;
}
.camera-switch button {
  min-height: 32px;
  padding: 5px 9px;
  border-color: transparent;
  background: transparent;
  color: var(--text-muted);
  font: 9px var(--mono);
}
.camera-switch button:hover { border-color: transparent; background: var(--surface); color: var(--text-secondary); }
.camera-switch button.active { border-color: var(--border); background: var(--surface-2); color: var(--text); }
.surface-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 20px; border-bottom: 1px solid var(--border); background: #0b0d0e; }
.surface-controls-label { color: var(--text-secondary); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.surface-switch { display: flex; flex-wrap: wrap; gap: 4px; }
.surface-switch button { min-height: 34px; padding: 7px 10px; background: transparent; border: 1px solid transparent; color: var(--text-muted); font: 10px var(--mono); }
.surface-switch button:hover { color: var(--text); background: var(--surface); }
.surface-switch button.active { color: #a4eadd; background: #11221f; border-color: #365a51; }
.surface-switch button small { margin-left: 6px; font: 8px var(--mono); text-transform: uppercase; opacity: .8; }
.surface-comparison-hint { margin-left: auto; color: var(--text-muted); font: 9px var(--mono); }
.surface-switch button:focus-visible { outline: 2px solid #72dcc8; outline-offset: 2px; }
.volume-summary {
  min-height: 46px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font: 9px var(--mono);
}
.volume-summary > span { display: inline-flex; align-items: center; gap: 6px; }
.volume-summary > span:not(.volume-note) { flex: none; white-space: nowrap; }
.volume-summary b { color: var(--text); font-size: 11px; font-weight: 600; }
.volume-frontier-key {
  width: 10px;
  height: 10px;
  border: 1px solid #d8dce7;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(216, 220, 231, .48);
}
.surface-key {
  width: 24px;
  height: 9px;
  border: 1px solid rgba(114, 220, 200, .55);
  background: linear-gradient(120deg, rgba(155, 130, 243, .42), rgba(114, 220, 200, .52));
  transform: skewX(-24deg);
}
.volume-note { min-width: 0; min-height: 48px; flex-basis: 100%; font-size: 10px; line-height: 1.6; }
.volume-frame {
  position: relative;
  min-height: 560px;
  overflow-x: auto;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(114, 220, 200, .045), transparent 35%),
    radial-gradient(ellipse at 62% 40%, rgba(124, 58, 237, .055), transparent 48%),
    #070709;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.volume-frame.dragging { cursor: grabbing; }
.results-volume { min-width: 760px; display: block; width: 100%; height: auto; font-family: var(--mono); }
.results-volume .volume-floor {
  fill: rgba(255, 255, 255, .012);
  stroke: #4b5060;
  stroke-width: 1;
}
.results-volume .volume-grid { stroke: #292d37; stroke-width: 1; opacity: .64; }
.results-volume .volume-axis { stroke: #a8aeba; stroke-width: 1.35; }
.results-volume .volume-axis-performance { stroke: #d8dce7; }
.results-volume .volume-cube-edge { stroke: #343946; stroke-width: 1; stroke-dasharray: 3 8; opacity: .62; }
.results-volume .volume-tick { fill: #858b98; font-size: 9px; pointer-events: none; }
.results-volume .volume-axis-label { fill: #c4c9d4; font-size: 9px; font-weight: 600; letter-spacing: .08em; pointer-events: none; }
.results-volume .volume-performance-label { fill: #f0f2f6; }
.results-volume .pareto-surface-patch { fill-opacity: .34; stroke-opacity: .34; stroke-width: .8; }
.results-volume .pareto-surface-edge { fill: none; stroke: #c0c8d9; stroke-width: 1.35; stroke-opacity: .82; }
.results-volume .pareto-mesh-edge { stroke: #97d6d0; stroke-width: 1; stroke-opacity: .75; }
.results-volume .pareto-surface-patch.dominance-preserving { fill-opacity: .28; stroke-opacity: .18; }
.results-volume .volume-family-path { fill: none; stroke-width: 1.5; stroke-opacity: .46; }
.results-volume .volume-drop { stroke: #6f7582; stroke-width: 1; stroke-dasharray: 2 6; opacity: .25; }
.results-volume .volume-drop.frontier { stroke: #cdd2dc; opacity: .58; }
.results-volume .volume-footprint { opacity: .2; }
.results-volume .volume-frontier-ring {
  fill: none;
  stroke-width: 1.4;
  opacity: .78;
  filter: url(#volume-frontier-glow);
}
.results-volume .volume-point {
  stroke: #050608;
  stroke-width: 1.5;
  transition: r 120ms ease, opacity 120ms ease;
  animation: volume-point-in 300ms ease both;
}
.results-volume .volume-point.dominated { opacity: .42; }
.results-volume .volume-point:hover, .results-volume .volume-point:focus { r: 8; opacity: 1; outline: none; }
.results-volume .volume-label-leader { stroke: #9096a2; stroke-width: .8; opacity: .52; }
.results-volume .volume-point-label { font-size: 9px; font-weight: 650; paint-order: stroke; stroke: #070709; stroke-width: 3px; pointer-events: none; }
.results-volume .volume-empty { fill: var(--text-muted); font-size: 12px; }
.volume-tooltip b { color: #c4b5fd; }

@keyframes volume-point-in {
  from { opacity: 0; transform: translateY(4px); }
}
.empty-state { display: grid; place-items: center; min-height: 360px; padding: 36px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); text-align: center; }
.empty-state h2 { margin: 0; }
.empty-state p { margin: -18px 0 0; }

@keyframes row-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .results-table tbody tr, .results-volume .volume-point { animation: none; }
}

@media (max-width: 1180px) {
  .scope-bar { grid-template-columns: 190px 1fr; }
  .scope-facts { grid-column: 1 / -1; border-top: 1px solid var(--border); border-right: 0; }
  .dashboard-layout { grid-template-columns: 205px minmax(0, 1fr); }
  .stage-header { align-items: flex-start; flex-direction: column; }
  .metric-switch { width: 100%; }
  .metric-switch button { flex: 1; min-width: 0; }
  .camera-switch { width: 100%; }
  .results-table th:nth-child(8), .results-table td:nth-child(8) { display: none; }
}

@media (max-width: 850px) {
  .results-header { align-items: flex-start; flex-direction: column; }
  .scope-bar { display: block; }
  .scope-primary, .scope-season, .scope-facts { min-height: 0; border-right: 0; border-bottom: 1px solid var(--border); }
  .scope-bar > :last-child { border-bottom: 0; }
  .dashboard-layout { display: block; }
  .filter-rail { border-right: 0; border-bottom: 1px solid var(--border); }
  .filter-rail-head { min-height: 54px; }
  .filter-group { display: inline-block; width: 50%; vertical-align: top; border-right: 1px solid var(--border); }
  .filter-group:nth-child(odd) { border-right: 0; }
  .effort-mode { display: flex; width: 100%; border-right: 0; }
  .check-list { max-height: 150px; }
  .results-table-wrap { overflow-x: auto; }
  .results-table { min-width: 760px; }
}

@media (max-width: 560px) {
  .dashboard-topbar { align-items: stretch; flex-direction: column; gap: 7px; }
  .view-tabs { width: 100%; }
  .view-tab { flex: 1; }
  .result-count { justify-content: flex-end; }
  .filter-group { width: 100%; border-right: 0; }
  .stage-header { padding: 16px; }
  .metric-switch { display: grid; grid-template-columns: 1fr; }
  .metric-rail { display: flex; overflow-x: auto; }
  .metric-rail button { flex: 0 0 auto; }
  .curve-summary { align-items: flex-start; flex-direction: column; }
  .camera-switch { grid-template-columns: 1fr; }
  .volume-summary { align-items: flex-start; flex-wrap: wrap; }
  .volume-note { min-height: 80px; flex-basis: 100%; margin-left: 0; text-align: left; }
  .volume-frame { cursor: default; touch-action: pan-x; }
  .results-table-wrap { overflow-x: visible; }
  .results-table { min-width: 0; table-layout: fixed; }
  .results-table th:nth-child(3) { width: auto; }
  .results-table th:nth-child(4), .results-table td:nth-child(4),
  .results-table th:nth-child(7), .results-table td:nth-child(7) { display: none; }
  .results-table th:nth-child(5) { width: 76px; }
  .results-table th:nth-child(6) { width: 68px; }
  .results-table .select-col { width: 30px; padding-left: 5px; padding-right: 0; }
  .results-table .rank-col { width: 36px; padding-left: 5px; padding-right: 2px; }
  .results-table th, .results-table td { padding: 8px 5px; }
  .model-cell { gap: 6px; }
  .model-cell a { font-size: 10px; }
  .model-cell small { display: none; }
  [data-static="true"] .model-cell .mobile-cost { display: block; margin-top: 6px; font: 10px/1.5 var(--mono); }
  [data-static="true"] .mobile-cost .cost-basis { display: block; white-space: normal; overflow: visible; font: 9px/1.5 var(--mono); }
  [data-static="true"] .mobile-cost .cost-basis a { color: inherit; font: inherit; }
  .performance-cell, .time-cell { font-size: 9px; }
  .compare-dock small { display: none; }
}
