:root {
  --bg: #0a0c0b;
  --surface: #111412;
  --surface-raised: #171a18;
  --surface-soft: #1d211e;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7f4;
  --text-soft: #a8b0a9;
  --text-muted: #707971;
  --accent: #c7ff4a;
  --accent-soft: rgba(199, 255, 74, 0.12);
  --accent-blue: #7bc7ff;
  --warning: #ffd166;
  --danger: #ff786f;
  --success: #9ee66c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 56px 56px;
  color: var(--text);
}

button,
select,
a {
  font: inherit;
}

a {
  color: inherit;
}

button,
select {
  color: var(--text);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #10130c;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.08;
  pointer-events: none;
}

.ambient-one {
  top: -240px;
  left: 12%;
  background: var(--accent);
}

.ambient-two {
  top: 380px;
  right: -280px;
  background: var(--accent-blue);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 48px));
  min-height: 80px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(3, 5px);
  align-items: end;
  gap: 3px;
  width: 22px;
  height: 24px;
}

.brand-mark span {
  display: block;
  border-radius: 2px;
  background: var(--accent);
}

.brand-mark span:nth-child(1) {
  height: 13px;
}

.brand-mark span:nth-child(2) {
  height: 20px;
}

.brand-mark span:nth-child(3) {
  height: 16px;
}

.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.brand-copy strong {
  font-size: 1.18rem;
  letter-spacing: -0.05em;
}

.brand-copy span {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.text-link,
.release-link,
footer a {
  color: var(--text-soft);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.text-link:hover,
.release-link:hover,
footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-preview {
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(255, 209, 102, 0.08);
  color: var(--warning);
}

.page-shell {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 38px 0 84px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 40px;
  min-height: 0;
  padding: 0 0 30px;
}

.eyebrow,
.section-kicker {
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}

.live-dot,
.data-health-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(199, 255, 74, 0.08);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 590;
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.hero p {
  max-width: 720px;
  margin: 13px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

.hero-aside {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.sync-label {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-aside time {
  display: block;
  font-size: 1rem;
  font-weight: 650;
}

.data-health {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: 0.75rem;
}

.data-health-dot {
  width: 6px;
  height: 6px;
  box-shadow: none;
}

.control-bar {
  position: sticky;
  z-index: 20;
  top: 12px;
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 0 36px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(13, 16, 14, 0.86);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.control-bar label {
  display: grid;
  gap: 6px;
}

.control-bar label > span {
  padding-left: 3px;
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

select {
  min-width: 150px;
  height: 39px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 0.78rem;
}

select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.control-context {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 0 12px 10px 0;
  color: var(--text-soft);
  font-size: 0.73rem;
}

.divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.latest-release {
  margin-bottom: 20px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(199, 255, 74, 0.055), transparent 42%),
    var(--surface);
}

.release-heading,
.panel-heading,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.release-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.release-title-row h2,
.panel-heading h2,
.section-heading h2 {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 580;
  letter-spacing: -0.035em;
}

.status-pill,
.table-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill::before,
.table-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.status-pass {
  border-color: rgba(158, 230, 108, 0.26);
  background: rgba(158, 230, 108, 0.08);
  color: var(--success);
}

.status-fail {
  border-color: rgba(255, 120, 111, 0.28);
  background: rgba(255, 120, 111, 0.08);
  color: var(--danger);
}

.status-incomplete {
  border-color: rgba(255, 209, 102, 0.28);
  background: rgba(255, 209, 102, 0.08);
  color: var(--warning);
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.failure-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 120, 111, 0.24);
  border-radius: 11px;
  background: rgba(255, 120, 111, 0.055);
}

.failure-callout[hidden] {
  display: none;
}

.failure-callout div {
  display: grid;
  gap: 4px;
}

.failure-callout strong {
  color: var(--danger);
  font-size: 0.78rem;
}

.failure-callout span {
  color: var(--text-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.failure-callout a {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 0.73rem;
  font-weight: 620;
  text-decoration: none;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
}

.meta-chip strong {
  color: var(--text-muted);
  font-family: inherit;
  font-weight: 500;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.kpi-card {
  position: relative;
  min-height: 160px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.kpi-primary {
  border-color: rgba(199, 255, 74, 0.19);
  background:
    radial-gradient(circle at 88% 14%, rgba(199, 255, 74, 0.13), transparent 36%),
    var(--surface);
}

.kpi-label {
  color: var(--text-muted);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.kpi-value {
  margin-top: 22px;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 540;
  letter-spacing: -0.06em;
  line-height: 1;
}

.kpi-delta {
  min-height: 18px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.71rem;
  line-height: 1.4;
}

.delta-good {
  color: var(--success);
}

.delta-bad {
  color: var(--danger);
}

.delta-neutral {
  color: var(--text-muted);
}

.kpi-orbit {
  position: absolute;
  right: -30px;
  bottom: -48px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(199, 255, 74, 0.18);
  border-radius: 50%;
}

.kpi-orbit::before,
.kpi-orbit::after {
  position: absolute;
  border: 1px solid rgba(199, 255, 74, 0.1);
  border-radius: 50%;
  content: "";
}

.kpi-orbit::before {
  inset: 18px;
}

.kpi-orbit::after {
  inset: 36px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.trend-panel {
  padding: 28px 30px 20px;
}

.trend-panel-primary {
  margin-bottom: 20px;
  border-color: rgba(199, 255, 74, 0.16);
  background:
    radial-gradient(circle at 100% 0, rgba(123, 199, 255, 0.055), transparent 32%),
    var(--surface);
}

.trend-description {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.5;
}

.trend-controls {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.chart-filter {
  display: flex;
  align-items: center;
  gap: 9px;
}

.chart-filter > span {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chart-filter select {
  min-width: 190px;
}

.metric-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}

.metric-tab {
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.metric-tab:hover {
  color: var(--text);
}

.metric-tab.active {
  background: var(--surface-soft);
  color: var(--text);
}

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  min-height: 24px;
  margin-top: 24px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.69rem;
}

.legend-swatch {
  width: 16px;
  height: 3px;
  border-radius: 999px;
}

.chart-container {
  min-height: 340px;
  margin-top: 8px;
}

.chart-container svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.chart-axis-label,
.chart-x-label {
  fill: var(--text-muted);
  font-size: 11px;
}

.chart-path {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.chart-hit-path {
  fill: none;
  stroke: transparent;
  stroke-width: 18;
  pointer-events: stroke;
}

.chart-point {
  stroke: var(--surface);
  stroke-width: 2;
  cursor: pointer;
  transition: r 120ms ease;
}

.chart-point:hover {
  r: 6;
}

.chart-point:focus-visible {
  outline: none;
  stroke: var(--text);
  stroke-width: 4;
}

.chart-point-fail {
  stroke: var(--danger);
  stroke-width: 4;
}

.chart-point-incomplete {
  stroke: var(--warning);
  stroke-width: 4;
}

.chart-tooltip {
  pointer-events: none;
}

.chart-tooltip-guide {
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.chart-tooltip-point {
  stroke: var(--text);
  stroke-width: 2;
}

.chart-tooltip-box {
  fill: #1a1e1b;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.42));
}

.chart-tooltip-heading {
  fill: var(--text-soft);
  font-size: 10px;
}

.chart-tooltip-value {
  fill: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.chart-tooltip-status {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.chart-tooltip-status-pass {
  fill: var(--success);
}

.chart-tooltip-status-fail {
  fill: var(--danger);
}

.chart-tooltip-status-incomplete {
  fill: var(--warning);
}

.chart-target {
  stroke: rgba(199, 255, 74, 0.25);
  stroke-width: 1;
  stroke-dasharray: 5 6;
}

.chart-target-label {
  fill: rgba(199, 255, 74, 0.65);
  font-size: 10px;
}

.chart-empty {
  display: grid;
  place-items: center;
  min-height: 320px;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.scenario-section {
  padding: 66px 0 20px;
}

.section-heading {
  align-items: end;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: right;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.scenario-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.018), transparent 48%),
    var(--surface);
}

.scenario-card-fail {
  border-color: rgba(255, 120, 111, 0.25);
  background:
    linear-gradient(145deg, rgba(255, 120, 111, 0.05), transparent 48%),
    var(--surface);
}

.scenario-card-incomplete {
  border-color: rgba(255, 209, 102, 0.25);
}

.scenario-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scenario-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.scenario-index {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
}

.scenario-name h3 {
  overflow: hidden;
  margin: 0;
  font-size: 0.91rem;
  font-weight: 590;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scenario-score {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 1.8rem;
  font-weight: 540;
  letter-spacing: -0.055em;
}

.scenario-score span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 500;
}

.scenario-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 26px;
}

.scenario-stat {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.scenario-stat span {
  display: block;
  color: var(--text-muted);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scenario-stat strong {
  display: block;
  margin-top: 7px;
  font-size: 0.86rem;
  font-weight: 560;
}

.scenario-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.scenario-foot a {
  color: var(--text);
  font-weight: 620;
  text-decoration: none;
}

.history-panel {
  margin-top: 46px;
  padding: 28px 30px 10px;
}

.coverage-note {
  color: var(--text-muted);
  font-size: 0.71rem;
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}

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

th {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  text-align: left;
  text-transform: uppercase;
}

td {
  padding: 17px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text-soft);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background 120ms ease;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.release-cell {
  display: grid;
  gap: 4px;
}

.release-cell a {
  color: var(--text);
  font-weight: 590;
  text-decoration: none;
}

.release-cell span {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.commit-link {
  color: var(--text-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  text-decoration: none;
}

.empty-state {
  min-height: 420px;
  padding: 80px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  text-align: center;
}

.empty-icon {
  color: var(--accent);
  font-size: 3rem;
}

.empty-state h2 {
  margin: 18px 0 8px;
  font-size: 1.4rem;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: 0.72rem;
}

@media (max-width: 1120px) {
  .kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kpi-primary {
    grid-column: span 2;
  }
}

@media (max-width: 840px) {
  .topbar,
  .page-shell,
  footer {
    width: min(100% - 30px, 1320px);
  }

  .topbar {
    min-height: 70px;
  }

  .brand-copy span,
  .topbar .text-link {
    display: none;
  }

  .page-shell {
    padding-top: 42px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 42px;
  }

  .hero-aside {
    max-width: 440px;
  }

  .control-bar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  select {
    width: 100%;
    min-width: 0;
  }

  .control-context {
    grid-column: 1 / -1;
    margin-left: 0;
    padding: 4px 4px 2px;
  }

  .release-heading,
  .panel-heading,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kpi-primary {
    grid-column: 1 / -1;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
  }

  .section-heading p {
    text-align: left;
  }

  .trend-controls {
    width: 100%;
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .topbar-actions {
    gap: 8px;
  }

  .badge-preview {
    display: none;
  }

  .button {
    padding: 0 10px;
  }

  .hero h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .control-bar {
    grid-template-columns: 1fr;
  }

  .control-context {
    grid-column: 1;
  }

  .failure-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-release,
  .trend-panel,
  .history-panel {
    padding: 22px 18px;
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .kpi-primary {
    grid-column: auto;
  }

  .panel-heading {
    gap: 18px;
  }

  .metric-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .chart-filter {
    align-items: stretch;
    width: 100%;
    flex-direction: column;
  }

  .chart-filter select {
    width: 100%;
  }

  .metric-tab {
    flex: 1 0 auto;
  }

  .chart-container {
    min-height: 220px;
  }

  .scenario-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
