:root {
  color-scheme: light;
  --bg: hsl(80 13% 95%);
  --sidebar: hsl(0 0% 100%);
  --surface: hsl(0 0% 100%);
  --surface-2: hsl(96 14% 93%);
  --surface-3: hsl(80 27% 98%);
  --line: hsl(86 9% 85%);
  --line-soft: hsl(86 9% 85% / .68);
  --text: hsl(150 9% 10%);
  --muted: hsl(146 7% 35%);
  --muted-2: hsl(150 10% 24%);
  --green: hsl(161 65% 25%);
  --green-ink: #fff;
  --green-soft: hsl(140 24% 93%);
  --blue: hsl(213 64% 42%);
  --blue-soft: hsl(213 64% 95%);
  --amber: hsl(41 70% 32%);
  --amber-soft: hsl(41 70% 94%);
  --red: hsl(4 59% 45%);
  --red-soft: hsl(4 59% 95%);
  --radius: 6px;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); font-size: 16px; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }

.app-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  width: 244px;
  flex-direction: column;
  padding: 25px 17px 18px;
  border-right: 1px solid var(--line-soft);
  background: rgba(12, 15, 19, .96);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  color: var(--text);
  font-size: 1.14rem;
  font-weight: 740;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand > span:last-child span { color: var(--green); }

.brand-mark {
  display: grid;
  width: 29px;
  height: 29px;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 5px;
  border: 1px solid rgba(184,243,74,.35);
  background: var(--green-soft);
}

.brand-mark span { display: block; background: var(--green); }
.brand-mark span:nth-child(1) { height: 7px; opacity: .55; }
.brand-mark span:nth-child(2) { height: 13px; opacity: .78; }
.brand-mark span:nth-child(3) { height: 19px; }

.main-nav { display: grid; gap: 5px; }

.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 11px;
  min-height: 43px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  text-align: left;
}

.nav-item svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.nav-item:hover { color: var(--text); background: rgba(255,255,255,.035); }
.nav-item.active { border-color: #303942; background: #171c22; color: var(--text); }
.nav-item.active svg { color: var(--green); }

.nav-count {
  margin-left: auto;
  min-width: 24px;
  padding: 1px 6px;
  border-radius: 99px;
  background: #242b32;
  color: #c7cfcb;
  font-family: var(--mono);
  font-size: .72rem;
  text-align: center;
}

.sidebar-spacer { flex: 1; }

.connection-card {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #101419;
}

.connection-line { display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.connection-card p { margin: 7px 0 0 15px; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.access-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface-3); }
.access-card div { display: grid; min-width: 0; }
.access-card span { overflow: hidden; color: var(--muted); font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }
.access-card strong { color: var(--text); font-family: var(--mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; }
.access-card .table-action { flex: 0 0 auto; }
.read-only [data-run-action="cancel"],
.read-only [data-run-action="retry"],
.read-only [data-linked-action="cancel"] { display: none; }

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.status-dot.online { background: var(--green); box-shadow: 0 0 9px rgba(184,243,74,.55); }
.status-dot.offline { background: var(--red); }
.status-dot.checking { animation: pulse 1.2s ease-in-out infinite; }

@keyframes pulse { 50% { opacity: .3; } }

.sidebar-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 13px;
  padding: 0 3px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
}

.workspace { min-height: 100vh; margin-left: 244px; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 10, 13, .88);
  backdrop-filter: blur(18px);
}

.topbar h1 { margin: 1px 0 0; font-size: 1.35rem; letter-spacing: -.035em; }
.eyebrow { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .68rem; letter-spacing: .11em; }
.top-actions { display: flex; gap: 9px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.btn.secondary { background: #14181d; color: #d5dcd8; }
.btn.secondary:hover { border-color: #46515c; background: #191f25; }
.btn.primary { border-color: var(--green); background: var(--green); color: var(--green-ink); }
.btn.primary:hover { background: #c6ff58; }
.btn.small { min-height: 34px; padding: 0 11px; font-size: .75rem; }

.view { display: none; padding: 22px 30px 48px; }
.view.active { display: block; }

#experiment-form { display: grid; gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 21, 26, .94); }
.section-panel { padding: 19px; }

.section-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-bottom: 16px;
}

.section-number {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #39424c;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .68rem;
}

.section-heading h2 { margin: -2px 0 2px; font-size: 1rem; letter-spacing: -.015em; }
.section-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.section-actions { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.section-state { padding: 4px 7px; border: 1px solid #3a434b; color: var(--muted); font-family: var(--mono); font-size: .63rem; letter-spacing: .07em; }
.section-state.complete { border-color: rgba(184,243,74,.35); background: var(--green-soft); color: var(--green); }

.previous-run-loader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin: -2px 0 14px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  background: var(--surface-3);
}
.previous-run-actions { display: flex; align-items: center; gap: 8px; }
.previous-run-loader .btn { align-self: center; white-space: nowrap; }

.form-grid { display: grid; gap: 11px; }
.form-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid.compact { gap: 9px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

.field { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.field > span { color: #aab3af; font-size: .75rem; font-weight: 650; }
.field > span small { margin-left: 4px; color: var(--muted-2); font-size: .62rem; font-weight: 500; }
.field > small { color: var(--muted-2); font-size: .66rem; }

input, select, textarea {
  width: 100%;
  min-height: 39px;
  border: 1px solid #313a43;
  border-radius: 3px;
  outline: none;
  background: #0c1014;
  color: var(--text);
  font-size: .82rem;
}

input, select { padding: 0 11px; }
textarea { padding: 9px 11px; resize: vertical; font-family: var(--mono); font-size: .75rem; line-height: 1.45; }
input::placeholder, textarea::placeholder { color: #56605c; }
input:focus, select:focus, textarea:focus { border-color: rgba(184,243,74,.65); box-shadow: 0 0 0 3px rgba(184,243,74,.07); }
input:invalid:not(:placeholder-shown) { border-color: rgba(255,107,100,.55); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #75807b 50%), linear-gradient(135deg, #75807b 50%, transparent 50%); background-position: calc(100% - 15px) 16px, calc(100% - 10px) 16px; background-repeat: no-repeat; background-size: 5px 5px; padding-right: 28px; }

.inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }

.segmented { display: inline-flex; margin-bottom: 14px; padding: 3px; border: 1px solid var(--line); background: #0d1115; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 7px 13px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.segmented input:checked + span { background: #252c33; color: var(--text); box-shadow: inset 0 0 0 1px #333d46; }
.deployment-fields { padding: 13px; border: 1px solid var(--line-soft); background: #0d1115; }
.hidden { display: none !important; }

.advanced { margin-top: 12px; border-top: 1px solid var(--line-soft); }
.advanced summary { padding: 11px 2px 0; color: var(--muted); cursor: pointer; font-size: .73rem; font-weight: 650; }
.advanced[open] summary { color: var(--text); }
.advanced-body { padding-top: 13px; }
.compact-advanced { margin-top: 11px; }
.compact-note { margin: 0 0 12px; color: var(--muted); font-size: .7rem; }
.compact-note.critical { padding-left: 9px; border-left: 2px solid var(--red); color: var(--muted-2); }
.compact-note code { font-family: var(--mono); }

.check-row { display: flex; min-height: 39px; flex-wrap: wrap; align-items: center; gap: 9px 16px; }
.check-row label { display: flex; align-items: center; gap: 7px; color: #c2cac6; font-size: .76rem; }
.check-row input { width: 15px; min-height: 15px; accent-color: var(--green); }

.notice {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid;
  border-radius: 3px;
  font-size: .75rem;
}
.notice strong { white-space: nowrap; }
.notice span { color: #b9c0bd; }
.notice.amber { border-color: rgba(255,200,87,.3); background: var(--amber-soft); }
.notice.amber strong { color: var(--amber); }
.notice.green { border-color: rgba(184,243,74,.27); background: var(--green-soft); }
.notice.green strong { color: var(--green); }
.notice.red { border-color: rgba(255,107,100,.25); background: var(--red-soft); }
.notice.red strong { color: var(--red); }

.arm-grid { display: grid; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 11px; }
.arm-card { position: relative; display: grid; min-width: 0; max-width: 100%; gap: 12px; overflow: hidden; padding: 15px; border: 1px solid var(--line); background: #0d1115; }
.arm-card > * { min-width: 0; max-width: 100%; }
.arm-card::after { position: absolute; inset: 0 0 auto; height: 2px; background: var(--muted-2); content: ""; }
.arm-card.candidate::after { background: var(--green); }
.arm-card.candidate:nth-child(even)::after { background: var(--blue); }
.arm-card.disabled { opacity: .45; }

.arm-head { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.arm-head > div { min-width: 0; }
.arm-head h3 { overflow: hidden; margin: 0; font-size: .96rem; text-overflow: ellipsis; white-space: nowrap; }
.arm-head-actions { display: flex; min-width: 0; align-items: center; gap: 6px; }
.arm-remove { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #35404a; background: transparent; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; }
.arm-remove:hover { border-color: var(--red); color: var(--red); }
.arm-remove:disabled { opacity: .35; cursor: not-allowed; }
.arm-tag { display: block; margin-bottom: 1px; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .08em; }
.method-badge { padding: 3px 6px; border: 1px solid #35404a; color: #9ca7a2; font-family: var(--mono); font-size: .59rem; }
.candidate .method-badge { border-color: rgba(184,243,74,.3); color: var(--green); }
.candidate:nth-child(even) .method-badge { border-color: rgba(102,166,255,.35); color: var(--blue); }
.arm-foot { display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .72rem; }
.arm-foot strong { color: #d9dfdc; }
.arm-advanced { border-top: 1px solid var(--line-soft); }
.arm-advanced summary { padding-top: 10px; color: var(--muted); cursor: pointer; font-size: .69rem; font-weight: 650; }
.arm-advanced[open] { display: grid; gap: 11px; }
.arm-advanced[open] summary { color: var(--text); }
.serve-config-picker, .serve-config-picker input { min-width: 0; max-width: 100%; }
.serve-config-picker > small { overflow-wrap: anywhere; }
.serve-config-snapshot { display: flex; min-width: 0; max-width: 100%; align-items: center; gap: 8px; margin-top: -3px; overflow: hidden; padding: 8px 10px; border: 1px solid rgba(184,243,74,.28); background: var(--green-soft); font-size: .66rem; }
.serve-config-snapshot strong { flex: none; color: var(--green); }
.serve-config-snapshot span { min-width: 0; overflow: hidden; color: var(--muted); font-family: var(--mono); text-overflow: ellipsis; white-space: nowrap; }

.toggle input { position: absolute; opacity: 0; }
.toggle span { position: relative; display: block; width: 30px; height: 17px; border: 1px solid #414b54; border-radius: 20px; background: #1d2329; cursor: pointer; }
.toggle span::after { position: absolute; top: 3px; left: 3px; width: 9px; height: 9px; border-radius: 50%; background: #747f7a; content: ""; transition: transform .15s ease; }
.toggle input:checked + span { border-color: rgba(184,243,74,.5); background: rgba(184,243,74,.12); }
.toggle input:checked + span::after { background: var(--green); transform: translateX(13px); }

.workload-panel { padding-bottom: 18px; }
.request-behavior-pill { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 8px; border: 1px solid var(--line); background: var(--surface-3); color: var(--text); font-family: var(--mono); font-size: .68rem; white-space: nowrap; }
.request-behavior-pill.think { border-color: rgba(57, 118, 91, .45); background: rgba(57, 118, 91, .1); color: var(--green); }
.request-behavior-pill.no-think { border-color: rgba(54, 92, 156, .4); background: rgba(54, 92, 156, .08); color: var(--blue); }
.tab-list { display: flex; gap: 0; border-bottom: 1px solid var(--line); }
.tab { position: relative; min-height: 42px; padding: 0 16px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .78rem; font-weight: 700; }
.tab::after { position: absolute; inset: auto 0 -1px; height: 2px; background: transparent; content: ""; }
.tab.active { color: var(--text); }
.tab.active::after { background: var(--green); }
.tab span { margin-left: 5px; color: var(--green); font-family: var(--mono); }
.tab-panel { padding-top: 15px; }

.runtime-discovery { min-height: 54px; padding: 10px 12px; border: 1px solid var(--line-soft); background: var(--surface-3); }
.runtime-discovery strong, .runtime-discovery small { display: block; }
.runtime-discovery strong { font-size: .77rem; }
.runtime-discovery small { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.45; }
.runtime-discovery.resolved { border-color: color-mix(in srgb, var(--green) 42%, var(--line)); background: var(--green-soft); }
.runtime-discovery.warning { border-color: color-mix(in srgb, var(--amber) 42%, var(--line)); }
.image-inspection { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; gap: 10px; }
.image-inspection-copy { min-width: 0; }
.plane-options { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.plane-options > span { margin-right: 3px; color: var(--muted); font-size: .7rem; font-weight: 700; }
.plane-option { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 700; }
.plane-option input { width: 13px; height: 13px; margin: 0; accent-color: var(--green); }
.plane-option.selected { border-color: rgba(184,243,74,.46); background: var(--green-soft); color: var(--text); }

.preflight-row { display: flex; align-items: center; gap: 18px; margin-top: 17px; padding: 12px; border: 1px dashed #343e47; color: var(--muted); font-size: .71rem; }
.preflight-row .preflight-label { color: var(--text); font-weight: 700; }
.preflight-row strong { color: #d6ddda; font-family: var(--mono); }
.preflight-row button { margin-left: auto; }

.workload-execution { margin-top: 16px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.linked-inputs { padding-top: 12px; border-top: 1px solid var(--line-soft); }
.linked-source-picker { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; }
.linked-source-picker > span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.linked-source-picker .segmented { margin: 0; }
.linked-shared-inputs { margin-bottom: 14px; }
.field-help code { font-family: var(--mono); font-size: .92em; }
.hosted-source-grid { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.hosted-source-head, .hosted-source-row { display: grid; grid-template-columns: 125px repeat(4, minmax(170px, 1fr)); gap: 10px; align-items: center; }
.hosted-source-head { padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-family: var(--mono); font-size: .56rem; letter-spacing: .045em; text-transform: uppercase; }
.hosted-source-row { position: relative; padding: 13px 12px; border-bottom: 1px solid var(--line-soft); }
.hosted-source-row:last-child { border-bottom: 0; }
.hosted-source-row::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--green); content: ""; }
.hosted-source-row.eagle-source::before { background: var(--blue); }
.hosted-source-row .field > span { display: none; }
.hosted-arm-label { display: grid; gap: 2px; padding-left: 3px; }
.hosted-arm-label strong { font-size: .78rem; }
.hosted-arm-label span { color: var(--muted); font-size: .61rem; }
.field-help { margin: 9px 1px 0; color: var(--muted); font-size: .67rem; }
.benchmark-picker-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 2px 0 16px; }
.benchmark-picker-head h3 { margin: 0 0 4px; font-size: .92rem; }
.benchmark-picker-head p { max-width: 780px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.benchmark-catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 9px; margin-top: 14px; }
.benchmark-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; min-height: 112px; padding: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.benchmark-option:hover { border-color: var(--green); }
.benchmark-option.selected { border-color: var(--green); background: var(--green-soft); }
.benchmark-option input { margin-top: 2px; accent-color: var(--green-dark); }
.benchmark-option-copy { min-width: 0; }
.benchmark-option-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.benchmark-option-name strong { overflow: hidden; font-family: var(--mono); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.benchmark-option-name small { flex: none; color: var(--muted); font-family: var(--mono); font-size: .56rem; }
.benchmark-option p { display: -webkit-box; overflow: hidden; margin: 7px 0 8px; color: var(--muted-2); font-size: .65rem; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.benchmark-domains { display: flex; flex-wrap: wrap; gap: 4px; }
.benchmark-domains span { padding: 2px 5px; border: 1px solid var(--line); color: var(--muted); font-size: .54rem; letter-spacing: .03em; text-transform: uppercase; }
.benchmark-empty { grid-column: 1 / -1; margin: 0; padding: 22px; border: 1px dashed var(--line); color: var(--muted); font-size: .72rem; text-align: center; }
.benchmark-results-table td:nth-child(4) { min-width: 110px; }
.benchmark-results-table td:nth-child(5) { min-width: 320px; }
.benchmark-metrics { display: flex; flex-wrap: wrap; gap: 5px 12px; }
.benchmark-metrics span { color: var(--muted); font-size: .64rem; }
.benchmark-metrics strong { margin-left: 4px; color: var(--text); font-family: var(--mono); }
.check-option { display: flex; min-height: 45px; align-items: center; gap: 10px; color: var(--text); }
.check-option > input { width: 16px; min-height: 16px; accent-color: var(--green); }
.check-option > span { display: grid; gap: 2px; }
.check-option strong { font-size: .73rem; }
.check-option small { color: var(--muted); font-size: .64rem; }
.formula-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; padding: 9px 10px; border: 1px dashed #39444c; background: #090d10; }
.formula-line code { color: #c9d5cf; font-family: var(--mono); font-size: .68rem; }
.formula-line span { color: var(--muted); font-size: .65rem; white-space: nowrap; }

.review-bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 21px;
  min-height: 120px;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(184,243,74,.32);
  background: linear-gradient(98deg, rgba(184,243,74,.09), rgba(17,21,26,.98) 40%);
}

.review-bar h2 { margin: 2px 0; font-size: 1.2rem; }
.review-bar p:last-child { margin: 0; color: var(--muted); font-size: .75rem; }
.matrix-graphic { display: grid; width: 50px; grid-template-columns: repeat(3, 12px); gap: 4px; }
.matrix-graphic span { height: 12px; border: 1px solid rgba(184,243,74,.55); background: rgba(184,243,74,.12); }
.matrix-graphic span:nth-child(2), .matrix-graphic span:nth-child(5) { background: var(--green); }
.review-stats { display: flex; gap: 25px; }
.review-stats div { display: grid; gap: 2px; min-width: 54px; }
.review-stats span { color: var(--muted); font-family: var(--mono); font-size: .57rem; letter-spacing: .08em; }
.review-stats strong { font-family: var(--mono); font-size: 1.02rem; }
.review-actions { display: flex; gap: 8px; }

.view-toolbar, .results-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.linked-runs-panel { margin-bottom: 12px; }
.filter-group { display: inline-flex; gap: 4px; }
.filter { min-height: 34px; padding: 0 11px; border: 1px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 700; }
.filter.active { border-color: var(--line); background: var(--surface-2); color: var(--text); }

.table-panel { overflow: hidden; }
.table-scroll { width: 100%; overflow: auto; scrollbar-color: #38434c transparent; }
.very-wide table { min-width: 5400px; }
table { width: 100%; border-collapse: collapse; font-size: .75rem; white-space: nowrap; }
th { height: 40px; padding: 0 13px; border-bottom: 1px solid var(--line); background: #0e1216; color: #84908b; font-family: var(--mono); font-size: .62rem; font-weight: 600; letter-spacing: .045em; text-align: left; text-transform: uppercase; }
td { height: 48px; padding: 0 13px; border-bottom: 1px solid var(--line-soft); color: #c9d0cd; font-variant-numeric: tabular-nums; }
tbody tr:hover td { background: rgba(255,255,255,.018); }
tbody tr:last-child td { border-bottom: 0; }
.empty-row td { height: 160px; color: var(--muted); text-align: center; }
.run-id { color: var(--blue); font-family: var(--mono); }
.status-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 7px; border: 1px solid #3a444d; color: #a8b2ae; font-family: var(--mono); font-size: .62rem; text-transform: uppercase; }
.status-chip.completed { border-color: rgba(184,243,74,.3); color: var(--green); }
.status-chip.running { border-color: rgba(102,166,255,.35); color: var(--blue); }
.status-chip.partial { border-color: rgba(245,181,65,.4); color: var(--amber); }
.status-chip.interrupted { border-color: rgba(245,181,65,.4); color: var(--amber); }
.status-chip.failed { border-color: rgba(255,107,100,.35); color: var(--red); }
.table-action { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-size: .72rem; }

.results-tabs { border: 0; }
.history-selector { display: grid; width: min(520px, 48vw); gap: 5px; }
.history-selector span { color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.run-compare-controls { display: grid; gap: 14px; margin-bottom: 12px; padding: 16px 18px; }
.run-compare-picker { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.comparison-slot { display: grid; min-width: 0; gap: 9px; padding: 13px; border: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface) 92%, var(--green-soft)); }
.comparison-slot-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.comparison-slot-label { color: var(--green); font-family: var(--mono); font-size: .6rem; font-weight: 700; letter-spacing: .08em; }
.comparison-slot-remove { padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: .6rem; font-weight: 700; }
.comparison-slot-remove:hover, .comparison-slot-remove:focus-visible { color: var(--red); }
.comparison-slot .field { gap: 4px; }
.comparison-slot .field span { font-size: .56rem; }
.comparison-slot select { min-width: 0; }
.run-compare-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.run-compare-action-buttons { display: flex; align-items: center; gap: 8px; }
.run-compare-tabs { flex: 0 0 auto; border: 0; }
.run-compare-empty { display: grid; min-height: 180px; place-content: center; text-align: center; }
.run-compare-empty h2 { margin: 5px 0 3px; font-size: 1.12rem; }
.run-compare-empty p:last-child { margin: 0; color: var(--muted); font-size: .78rem; }
.run-compare-summaries { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-bottom: 12px; }
.run-compare-summaries > article { padding: 17px 18px; }
.run-compare-summary-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.run-compare-summary-head h2 { margin: 2px 0; font-size: 1rem; }
.run-compare-summary-head > div:last-child { display: flex; align-items: center; gap: 9px; }
.run-compare-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 15px 0 0; padding-top: 13px; border-top: 1px solid var(--line-soft); }
.run-compare-facts div { min-width: 0; }
.run-compare-facts dt { color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.run-compare-facts dd { overflow: hidden; margin: 3px 0 0; font-family: var(--mono); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.run-compare-head { align-items: end; }
.run-comparison-table { width: 100%; min-width: 760px; table-layout: fixed; }
.comparison-table.run-comparison-table thead th:first-child { width: 31%; }
.run-comparison-table thead th:not(:first-child) { text-align: right; }
.run-comparison-table thead th + th,
.run-comparison-table tbody td + td { border-left: 1px solid var(--line-soft); }
.run-comparison-table .comparison-value { min-width: 0; overflow-wrap: anywhere; }
.comparison-heading { display: grid; gap: 3px; }
.comparison-heading small { overflow: hidden; color: var(--muted); font-size: .55rem; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.linked-run-overview {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 14px;
  padding: 18px 20px;
  border-color: hsl(161 65% 25% / .3);
  background: linear-gradient(105deg, var(--green-soft), var(--surface) 46%);
}
.linked-run-overview h2 { margin: 2px 0; font-size: 1.05rem; }
.linked-run-overview p:last-child { margin: 0; color: var(--muted); font-size: .71rem; }
.linked-run-facts { display: flex; gap: 24px; }
.linked-run-facts div { display: grid; min-width: 78px; gap: 2px; }
.linked-run-facts span { color: var(--muted); font-family: var(--mono); font-size: .57rem; letter-spacing: .07em; }
.linked-run-facts strong { font-family: var(--mono); font-size: .76rem; text-transform: capitalize; }
.linked-run-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.legend { display: flex; gap: 14px; color: var(--muted); font-size: .68rem; }
.legend span { display: flex; align-items: center; gap: 5px; }
.legend i { display: block; width: 6px; height: 6px; border-radius: 50%; }
.legend .valid { background: var(--green); }
.legend .pending { background: var(--amber); }
.legend .invalid { background: var(--red); }
.result-panel { display: none; }
.result-panel.active { display: block; }
.result-notices { display: grid; gap: 7px; margin-bottom: 12px; }
.result-notice { display: grid; grid-template-columns: auto 1fr; gap: 9px; padding: 10px 13px; border: 1px solid color-mix(in srgb, var(--amber) 35%, var(--line)); background: var(--amber-soft); color: var(--muted-2); font-size: .72rem; line-height: 1.45; }
.result-notice strong { color: var(--amber); white-space: nowrap; }
.result-notice.error { border-color: color-mix(in srgb, var(--red) 38%, var(--line)); background: color-mix(in srgb, var(--red) 8%, var(--surface)); }
.result-notice.error strong { color: var(--red); }
.result-notice-copy { min-width: 0; }
.result-notice-copy > span { display: block; }
.result-notice-copy details { margin-top: 4px; }
.result-notice-copy summary { width: max-content; color: var(--muted); cursor: pointer; font-size: .64rem; font-weight: 650; }
.result-notice-copy details p { margin: 7px 0 0; padding-top: 7px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); overflow-wrap: anywhere; color: var(--muted-2); font-family: var(--mono); font-size: .61rem; line-height: 1.5; }

.result-summary-panel { margin-bottom: 12px; overflow: hidden; }
.result-summary-head { padding: 17px 20px 13px; border-bottom: 1px solid var(--line); }
.result-summary-head h2 { margin: 2px 0; font-size: 1rem; }
.result-summary-table { min-width: 920px; }
.result-summary-table th { white-space: normal; }
.result-summary-table td { height: auto; min-height: 48px; padding-top: 10px; padding-bottom: 10px; vertical-align: top; }
.result-summary-table td:first-child { min-width: 145px; }
.result-summary-table td:nth-child(3), .result-summary-table td:nth-child(4), .result-summary-table td:nth-child(6) { min-width: 155px; }
.result-summary-table td:last-child { min-width: 125px; }
.result-metric-stack { display: grid; gap: 7px; }
.result-metric-stack > div { display: grid; gap: 2px; }
.result-metric-stack > div + div { padding-top: 6px; border-top: 1px solid var(--line-soft); }
.result-metric-stack > div > span { color: var(--muted); font-size: .57rem; line-height: 1.25; }
.result-number { color: var(--text); font-family: var(--mono); font-weight: 650; white-space: nowrap; }
.result-unavailable { color: var(--muted); font-size: .68rem; white-space: nowrap; }

.metric-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.metric-cards article { display: grid; min-height: 84px; align-content: center; padding: 13px 15px; border: 1px solid var(--line); background: var(--surface); }
.metric-cards span { color: var(--muted); font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; }
.metric-cards strong { margin-top: 3px; font-family: var(--mono); font-size: 1.5rem; }
.metric-cards small { color: var(--muted-2); font-size: .69rem; }
.metric-cards article.comparison-valid { border-color: color-mix(in srgb, var(--green) 42%, var(--line)); background: var(--green-soft); }
.metric-cards article.comparison-valid strong { color: var(--green); }
.metric-cards article.comparison-invalid { border-color: color-mix(in srgb, var(--red) 42%, var(--line)); background: color-mix(in srgb, var(--red) 8%, var(--surface)); }
.metric-cards article.comparison-invalid strong { color: var(--red); }
.metric-cards article.comparison-pending strong { color: var(--amber); }
.comparison-panel { margin-bottom: 12px; overflow: hidden; }
.comparison-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.comparison-head h2 { margin: 2px 0; font-size: 1rem; }
.comparison-head p:last-child { margin: 0; color: var(--muted); font-size: .71rem; }
.comparison-selector { display: grid; flex: 0 0 240px; gap: 5px; }
.comparison-selector span { color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; }
.comparison-table { min-width: 700px; }
.comparison-table thead th:first-child { width: 34%; }
.comparison-table tbody th { position: relative; height: 42px; padding: 7px 20px; border-bottom: 1px solid var(--line-soft); background: var(--surface); color: var(--muted-2); font-family: var(--sans); font-size: .73rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.comparison-table tbody th:hover, .comparison-table tbody th:focus-within { z-index: 40; }
.metric-label-row { display: inline-flex; max-width: 100%; align-items: center; gap: 7px; }
.metric-label { color: var(--text); }
.metric-info { position: relative; display: inline-grid; flex: 0 0 auto; width: 17px; height: 17px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); cursor: help; font-family: var(--sans); font-size: .61rem; font-weight: 750; line-height: 1; }
.metric-info::after { position: absolute; z-index: 30; top: 50%; right: calc(100% + 8px); box-sizing: border-box; width: min(180px, 22vw); padding: 8px 10px; border: 1px solid var(--line); background: var(--text); box-shadow: 0 8px 24px hsl(150 9% 10% / .18); color: var(--surface); content: attr(data-tooltip); font-family: var(--sans); font-size: .65rem; font-weight: 500; line-height: 1.4; opacity: 0; overflow-wrap: anywhere; pointer-events: none; text-align: left; text-transform: none; transform: translate(3px, -50%); transition: opacity .12s ease, transform .12s ease; white-space: normal; }
.metric-info:hover::after, .metric-info:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.metric-info:focus-visible { border-color: var(--green); outline: 2px solid var(--green-soft); }
.comparison-table tbody tr:hover th { background: var(--surface-3); }
.comparison-table tbody tr.metric-section-start > * { border-top: 2px solid var(--line); }
.comparison-value { min-width: 150px; font-family: var(--mono); font-weight: 650; }
.comparison-value.winner { background: var(--green-soft); color: var(--green); }
.comparison-delta { min-width: 210px; font-family: var(--mono); }
.comparison-delta span { display: inline-block; margin-left: 8px; padding: 2px 5px; background: var(--green-soft); color: var(--green); font-family: var(--sans); font-size: .58rem; font-weight: 700; text-transform: uppercase; }
.distribution-panel { margin-bottom: 12px; overflow: hidden; }
.distribution-head { padding: 18px 20px 13px; border-bottom: 1px solid var(--line); }
.distribution-head h2 { margin: 2px 0; font-size: 1rem; }
.distribution-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.distribution-card { min-width: 0; padding: 15px 17px 13px; border-right: 1px solid var(--line-soft); }
.distribution-card:last-child { border-right: 0; }
.distribution-card h3 { margin: 0; font-size: .8rem; }
.distribution-card > div:first-child > p { min-height: 30px; margin: 3px 0 8px; color: var(--muted); font-size: .66rem; line-height: 1.35; }
.distribution-chart { min-height: 205px; }
.distribution-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.distribution-axis, .distribution-gridline { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.distribution-gridline { stroke-dasharray: 2 4; }
.distribution-bar { fill: color-mix(in srgb, var(--series-color, var(--blue)) 62%, transparent); }
.distribution-mean { stroke: var(--series-color, var(--blue)); }
.distribution-mean { stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.distribution-chart text { fill: var(--muted); font-family: var(--mono); font-size: 9px; }
.distribution-chart .axis-title { fill: var(--muted-2); font-size: 8px; letter-spacing: .04em; text-transform: uppercase; }
.distribution-chart .bar-value { fill: var(--text); font-size: 8px; text-anchor: middle; }
.distribution-legend { display: grid; min-height: 31px; gap: 7px; margin-top: 8px; color: var(--muted-2); font-size: .61rem; }
.distribution-legend span { min-width: 0; }
.distribution-legend i { width: 8px; height: 8px; flex: 0 0 auto; }
.distribution-legend i { background: var(--series-color, var(--blue)); }
.distribution-series-summary { display: grid; grid-template-columns: 8px minmax(0, 1fr); align-items: center; gap: 1px 6px; }
.distribution-series-summary strong { color: var(--text); font-family: var(--sans); font-size: .64rem; }
.distribution-series-summary small { grid-column: 2; color: var(--muted); font-family: var(--sans); font-size: .59rem; line-height: 1.35; }
.distribution-note { margin: 5px 0 0; color: var(--muted); font-size: .59rem; line-height: 1.4; }
.distribution-empty { display: grid; min-height: 184px; padding: 14px; place-content: center; border: 1px dashed var(--line); color: var(--muted); font-size: .68rem; line-height: 1.45; text-align: center; }
.live-stream-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding: 16px 18px;
}
.live-stream-toolbar h2 { margin: 2px 0 3px; font-size: 1.05rem; }
.live-stream-toolbar p:last-child { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .64rem; }
.live-stream-toolbar-actions { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; gap: 9px; }
.live-stream-run-picker { min-width: 220px; }
.live-stream-create { margin-bottom: 12px; overflow: hidden; }
.live-stream-create-body { display: grid; gap: 16px; padding: 16px 18px 18px; }
.live-stream-arm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.live-stream-arm-config { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); background: var(--surface-3); }
.live-stream-arm-config legend { padding: 0 6px; color: var(--muted-2); font-family: var(--mono); font-size: .65rem; letter-spacing: .06em; text-transform: uppercase; }
.live-stream-arm-options { min-height: 92px; font-family: var(--mono); font-size: .64rem; }
.live-stream-create-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.live-stream-create-actions > span { margin-right: auto; color: var(--muted); font-size: .64rem; }
.live-stream-zdr { margin-bottom: 12px; }
.live-stream-empty { padding: 42px 24px; text-align: center; }
.live-stream-empty h2 { margin: 5px 0 7px; font-size: 1.05rem; }
.live-stream-empty p:last-child { margin: 0; color: var(--muted); font-size: .74rem; }
.live-stream-layout { display: grid; gap: 12px; }
.live-stream-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; }
.live-stream-metric-grid article { min-width: 0; padding: 13px 14px; border: 1px solid var(--line); background: var(--surface); }
.live-stream-metric-grid span, .live-stream-metric-grid small { display: block; color: var(--muted); }
.live-stream-metric-grid span { font-family: var(--mono); font-size: .57rem; letter-spacing: .055em; }
.live-stream-metric-grid strong { display: block; margin: 5px 0 2px; font-family: var(--mono); font-size: 1.28rem; }
.live-stream-metric-grid small { font-size: .59rem; line-height: 1.35; }
.live-stream-comparison-panel { overflow: hidden; }
.live-stream-comparison { display: grid; grid-template-columns: minmax(0, 1fr) 260px; }
.live-stream-arm-table { min-width: 720px; }
.live-stream-delta { display: grid; min-height: 178px; align-content: center; padding: 20px; border-left: 1px solid var(--line); background: var(--surface-3); }
.live-stream-delta > span { color: var(--muted); font-family: var(--mono); font-size: .6rem; text-transform: uppercase; }
.live-stream-delta > strong { margin: 8px 0 2px; font-family: var(--mono); font-size: 2rem; }
.live-stream-delta h3 { margin: 0; font-size: .88rem; }
.live-stream-delta p { margin: 7px 0 0; color: var(--muted); font-size: .62rem; line-height: 1.4; }
.live-stream-delta.positive > strong { color: var(--green); }
.live-stream-delta.negative > strong { color: var(--red); }
.live-stream-breakdown-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.live-stream-breakdown-grid > .panel { min-width: 0; overflow: hidden; }
.live-stream-breakdown-table { min-width: 560px; }
.live-stream-breakdown-table td.positive { color: var(--green); }
.live-stream-breakdown-table td.negative { color: var(--red); }
.live-stream-breakdown-table .empty-row td { height: 100px; }
.production-acceptance-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 170px 190px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 12px;
  padding: 14px;
}
.production-acceptance-empty { padding: 42px 24px; text-align: center; }
.production-acceptance-empty h2 { margin: 5px 0 7px; font-size: 1.05rem; }
.production-acceptance-empty p:last-child { margin: 0; color: var(--muted); font-size: .74rem; }
.production-acceptance-layout, .production-model-detail { display: grid; gap: 12px; }
.production-fleet-panel, .production-deployments-panel, .production-breakdown-panel, .production-chart-panel { overflow: hidden; }
.production-panel-head {
  display: flex;
  min-width: 0;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 13px;
  border-bottom: 1px solid var(--line);
}
.production-panel-head h2 { margin: 2px 0 0; font-size: 1rem; }
.production-panel-head h2 + p { max-width: 680px; margin: 5px 0 0; color: var(--muted); font-size: .65rem; }
.production-panel-head > span { color: var(--muted); font-family: var(--mono); font-size: .61rem; }
.production-fleet-table { min-width: 900px; }
.production-fleet-table tbody tr { cursor: pointer; }
.production-fleet-table tbody tr:hover, .production-fleet-table tbody tr.selected { background: var(--surface-3); }
.production-fleet-table tbody tr.selected td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.production-fleet-table td { height: auto; padding-top: 11px; padding-bottom: 11px; }
.production-fleet-table td strong, .production-fleet-table td small { display: block; }
.production-fleet-table td small { margin-top: 2px; color: var(--muted); font-size: .59rem; }
.production-fleet-table td.positive { color: var(--green); }
.production-fleet-table td.negative { color: var(--red); }
.production-al-value { color: var(--text); font-family: var(--mono); font-size: .86rem; font-weight: 750; }
.production-quality-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .035em;
  white-space: nowrap;
  text-transform: uppercase;
}
.production-quality-badge.exact { border-color: color-mix(in srgb, var(--green) 38%, var(--line)); background: var(--green-soft); color: var(--green); }
.production-quality-badge.estimated { border-color: color-mix(in srgb, var(--amber) 38%, var(--line)); background: var(--amber-soft); color: var(--amber); }
.production-model-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
}
.production-model-head h2 { margin: 2px 0 1px; font-size: 1.1rem; }
.production-model-head p:last-child { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .63rem; }
.production-metric-cards { display: grid; gap: 12px; }
.production-metric-group { min-width: 0; padding: 14px; border: 1px solid var(--line); background: var(--surface); }
.production-metric-group h3 { margin: 0 0 10px; color: var(--muted); font-family: var(--mono); font-size: .61rem; letter-spacing: .07em; text-transform: uppercase; }
.production-metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 8px; }
.production-metric-cards article { min-width: 0; padding: 12px 13px; border: 1px solid var(--line-soft); background: var(--surface-3); }
.production-metric-cards span, .production-metric-cards small { display: block; color: var(--muted); }
.production-metric-cards span { font-family: var(--mono); font-size: .58rem; letter-spacing: .055em; text-transform: uppercase; }
.production-metric-cards strong { display: block; margin: 5px 0 2px; font-family: var(--mono); font-size: 1.25rem; }
.production-metric-cards small { font-size: .62rem; }
.production-chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.production-chart { min-height: 230px; padding: 13px 14px 10px; }
.production-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.production-chart text { fill: var(--muted); font-family: var(--mono); font-size: 9px; }
.production-chart .bar-value { fill: var(--text); text-anchor: middle; }
.production-trend-line { fill: none; stroke: var(--green); stroke-width: 2; vector-effect: non-scaling-stroke; }
.production-trend-point { fill: var(--surface); stroke: var(--green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.production-position-bar { fill: color-mix(in srgb, var(--blue) 68%, transparent); }
.production-breakdown-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; padding: 13px 14px 15px; }
.production-breakdown-card { min-width: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface-3); }
.production-breakdown-card > span, .production-breakdown-card > small { display: block; color: var(--muted); font-size: .62rem; }
.production-breakdown-card > strong { display: block; margin: 5px 0 1px; font-family: var(--mono); font-size: 1rem; }
.production-breakdown-card dl { display: grid; gap: 5px; margin: 11px 0 8px; }
.production-breakdown-card dl div { display: flex; justify-content: space-between; gap: 8px; padding-top: 5px; border-top: 1px solid var(--line-soft); }
.production-breakdown-card dt { color: var(--muted); font-size: .58rem; }
.production-breakdown-card dd { margin: 0; font-family: var(--mono); font-size: .61rem; }
.production-coverage-details { margin-top: 0; }
.production-source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px; padding: 12px 12px 0; }
.production-source-grid article { min-width: 0; padding: 10px 11px; border: 1px solid var(--line); background: var(--surface-3); }
.production-source-grid strong { display: block; margin-bottom: 4px; font-size: .65rem; text-transform: capitalize; }
.production-source-grid code { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: .57rem; line-height: 1.45; }
.production-availability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 9px; padding: 12px; }
.production-availability-grid article { padding: 10px 11px; border: 1px solid var(--line); background: var(--surface-3); }
.production-availability-grid article.available { border-color: color-mix(in srgb, var(--green) 28%, var(--line)); }
.production-availability-grid article div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.production-availability-grid strong { font-size: .68rem; text-transform: capitalize; }
.production-availability-grid span { color: var(--muted); font-family: var(--mono); font-size: .55rem; text-transform: uppercase; }
.production-availability-grid article.available span { color: var(--green); }
.production-availability-grid p { margin: 6px 0 0; color: var(--muted); font-size: .61rem; line-height: 1.4; }
.breakdown-panel { margin-top: 12px; }
.paired-request-panel { margin-top: 12px; }
.paired-request-content { padding: 14px 16px 16px; }
.paired-request-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.paired-request-stat { min-width: 0; padding: 12px; border: 1px solid var(--line); background: var(--surface-3); }
.paired-request-stat span { display: block; color: var(--muted); font-size: .61rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.paired-request-stat strong { display: block; margin-top: 5px; color: var(--text); font-family: var(--mono); font-size: .9rem; }
.paired-request-stat small { display: block; margin-top: 4px; color: var(--muted); font-size: .6rem; line-height: 1.4; }
.paired-request-stat.positive { border-color: color-mix(in srgb, var(--green) 38%, var(--line)); background: var(--green-soft); }
.paired-request-stat.positive strong { color: var(--green); }
.paired-request-stat.negative { border-color: color-mix(in srgb, var(--red) 32%, var(--line)); background: color-mix(in srgb, var(--red) 7%, var(--surface)); }
.paired-request-stat.negative strong { color: var(--red); }
.paired-request-note { margin: 10px 0 0; color: var(--muted); font-size: .64rem; line-height: 1.45; }
.paired-request-empty { margin: 0; padding: 12px; border: 1px dashed var(--line); color: var(--muted); font-size: .68rem; line-height: 1.5; }
.breakdown-note { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-3); color: var(--muted); font-size: .68rem; line-height: 1.45; }
.breakdown-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; padding: 12px 14px 14px; }
.breakdown-empty { grid-column: 1 / -1; margin: 0; padding: 18px; border: 1px dashed var(--line); color: var(--muted); font-size: .68rem; text-align: center; }
.breakdown-card { min-width: 0; border: 1px solid var(--line); background: var(--surface); }
.breakdown-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); background: var(--surface-3); }
.breakdown-card-head h3 { margin: 0; color: var(--text); font-size: .78rem; }
.breakdown-card-head span { color: var(--muted); font-family: var(--mono); font-size: .58rem; }
.breakdown-arm { padding: 10px 12px; }
.breakdown-arm + .breakdown-arm { border-top: 1px solid var(--line-soft); }
.breakdown-arm.winner { background: var(--green-soft); }
.breakdown-arm-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.breakdown-arm-label strong { overflow: hidden; color: var(--muted-2); font-size: .66rem; text-overflow: ellipsis; white-space: nowrap; }
.breakdown-arm-label span { color: var(--muted); font-family: var(--mono); font-size: .59rem; white-space: nowrap; }
.breakdown-arm-label em { margin-right: 7px; color: var(--green); font-family: var(--sans); font-size: .52rem; font-style: normal; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.breakdown-arm .result-metric-stack { gap: 4px; }
.breakdown-arm .result-metric-stack > div { grid-template-columns: minmax(90px, 1fr) auto; }
.breakdown-shares { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.breakdown-chip { padding: 3px 5px; border: 1px solid var(--line); color: var(--muted); font-size: .56rem; white-space: nowrap; }
.breakdown-delta { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--line-soft); background: color-mix(in srgb, var(--surface-3) 75%, transparent); }
.breakdown-delta span { color: var(--muted); font-size: .59rem; }
.breakdown-delta strong { font-family: var(--mono); font-size: .65rem; }
.breakdown-delta.positive strong { color: var(--green); }
.breakdown-delta.negative strong { color: var(--red); }
@media (max-width: 980px) {
  .paired-request-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .production-chart-grid { grid-template-columns: 1fr; }
}
.raw-results-details { margin-top: 12px; }
.raw-results-details > summary { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border: 1px solid var(--line); background: var(--surface); color: var(--muted-2); cursor: pointer; font-size: .74rem; font-weight: 700; }
.raw-results-details > summary span { color: var(--muted); font-family: var(--mono); font-size: .62rem; font-weight: 500; }
.raw-results-details[open] > summary { border-bottom: 0; color: var(--text); }
.raw-results-details > .panel { border-top-left-radius: 0; border-top-right-radius: 0; }
.table-label { display: flex; align-items: center; justify-content: space-between; padding: 16px 17px; border-bottom: 1px solid var(--line); }
.table-label h2 { margin: 0; font-size: .9rem; }
.table-label p { margin: 3px 0 0; color: var(--muted); font-size: .71rem; }
.schema-pill { padding: 4px 7px; border: 1px solid rgba(102,166,255,.3); color: var(--blue); font-family: var(--mono); font-size: .58rem; letter-spacing: .06em; }
.schema-pill.green { border-color: rgba(184,243,74,.3); color: var(--green); }
.schema-pill.red { border-color: rgba(255,107,100,.3); color: var(--red); }
.harness-results-note { padding: 10px 17px; border-bottom: 1px solid var(--line); background: var(--surface-3); color: var(--muted-2); font-size: .7rem; }
.harness-results-note strong { color: var(--text); }
.harness-table-scroll { overflow-x: auto; }
.harness-results-table { min-width: 760px; table-layout: fixed; white-space: normal; }
.harness-results-table th:nth-child(1) { width: 21%; }
.harness-results-table th:nth-child(2) { width: 11%; }
.harness-results-table th:nth-child(3) { width: 48%; }
.harness-results-table th:nth-child(4) { width: 10%; }
.harness-results-table th:nth-child(5) { width: 10%; }
.harness-results-table td { height: auto; min-height: 58px; padding-top: 10px; padding-bottom: 10px; vertical-align: top; }
.harness-arm-cell strong, .harness-arm-cell small, .harness-arm-cell .run-id { display: block; }
.harness-arm-cell small { margin: 3px 0; color: var(--muted-2); font-size: .67rem; }
.harness-arm-cell .run-id { overflow: hidden; color: var(--muted); font-size: .6rem; text-overflow: ellipsis; }
.harness-metrics { display: flex; flex-wrap: wrap; gap: 6px; }
.harness-metric { display: inline-flex; min-width: 94px; align-items: baseline; justify-content: space-between; gap: 8px; padding: 5px 7px; border: 1px solid var(--line); background: var(--surface-3); font-family: var(--mono); }
.harness-metric span { overflow-wrap: anywhere; color: var(--muted); font-size: .58rem; }
.harness-metric strong { color: var(--text); font-size: .68rem; font-weight: 600; }
.harness-metric-empty { color: var(--muted); font-size: .68rem; }
.methodology-banner { display: flex; gap: 10px; margin-bottom: 12px; padding: 11px 14px; border: 1px solid rgba(255,200,87,.3); background: var(--amber-soft); font-size: .75rem; }
.methodology-banner strong { color: var(--amber); }
.methodology-banner span { color: #c6c0af; }

dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 0;
  border: 1px solid #39434c;
  border-radius: var(--radius);
  background: #11161b;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0,0,0,.65);
}
dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; padding: 21px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 2px 0 0; font-size: 1.15rem; }
.icon-button { width: 34px; height: 34px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: 1.25rem; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 21px; border-top: 1px solid var(--line); }
#review-content, #submit-content, #info-content, #linked-dialog-content { padding: 20px 21px; }
.info-copy { margin: 0; color: var(--text); font-size: .82rem; line-height: 1.6; }
.logs-dialog { width: min(1120px, calc(100vw - 32px)); overflow: hidden; }
.logs-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface-3); }
.log-arm-tabs { display: flex; gap: 6px; }
.log-arm-tab { min-height: 34px; padding: 0 13px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 700; text-transform: uppercase; }
.log-arm-tab.active { border-color: hsl(161 65% 25% / .45); background: var(--green-soft); color: var(--green); }
.logs-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.log-stream-state, .log-source { color: var(--muted); font-family: var(--mono); font-size: .62rem; letter-spacing: .035em; }
.engine-log-output { height: min(62vh, 680px); margin: 0; overflow: auto; padding: 18px 20px; border: 0; outline: none; background: #09100d; color: #bfe6ce; font-family: var(--mono); font-size: .7rem; line-height: 1.52; white-space: pre-wrap; word-break: break-word; tab-size: 2; }
.engine-log-output:focus { box-shadow: inset 0 0 0 2px hsl(161 65% 45% / .3); }
.logs-dialog .dialog-actions { align-items: center; justify-content: space-between; }
.json-view { max-height: 420px; overflow: auto; margin: 0; padding: 13px; border: 1px solid var(--line); background: #090c0f; color: #bdc7c2; font-family: var(--mono); font-size: .7rem; line-height: 1.55; white-space: pre-wrap; }
.review-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.review-list li { display: flex; align-items: start; gap: 9px; padding: 10px; border: 1px solid var(--line-soft); background: #0d1115; font-size: .75rem; }
.review-list i { display: grid; flex: 0 0 auto; width: 18px; height: 18px; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-family: var(--mono); font-size: .62rem; font-style: normal; }
.review-list li.warning i { background: var(--amber-soft); color: var(--amber); }
.review-list li.error i { background: var(--red-soft); color: var(--red); }
.dialog-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.dialog-summary div { padding: 12px; border: 1px solid var(--line); }
.dialog-summary span { display: block; color: var(--muted); font-size: .65rem; }
.dialog-summary strong { font-family: var(--mono); font-size: 1.1rem; }

.toast-region { position: fixed; z-index: 50; right: 20px; bottom: 20px; display: grid; gap: 8px; width: min(380px, calc(100vw - 40px)); }
.toast { padding: 12px 14px; border: 1px solid #3b4650; border-left: 3px solid var(--green); background: #151a20; box-shadow: 0 14px 40px rgba(0,0,0,.4); font-size: .78rem; animation: toast-in .2s ease-out; }
.toast.error { border-left-color: var(--red); }
.toast.warn { border-left-color: var(--amber); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

/* Keep the local console aligned with the hosted TurboEval application theme. */
.sidebar { background: hsl(0 0% 100% / .96); }
.brand-mark { border-color: hsl(161 65% 25% / .3); }
.nav-item:hover { background: var(--surface-2); }
.nav-item.active { border-color: var(--line); background: var(--green-soft); }
.nav-count { background: var(--surface-2); color: var(--muted-2); }
.connection-card { background: var(--surface-3); }
.status-dot.online { box-shadow: 0 0 0 3px hsl(161 65% 25% / .12); }
.topbar { background: hsl(0 0% 100% / .92); }
.btn.secondary { background: var(--surface); color: var(--text); }
.btn.secondary:hover { border-color: hsl(113 7% 76%); background: var(--surface-2); }
.btn.primary:hover { background: hsl(161 65% 21%); }
.panel { background: var(--surface); }
.section-number, .section-state { border-color: var(--line); }
.section-state.complete, .schema-pill.green, .status-chip.completed { border-color: hsl(161 65% 25% / .3); }
.field > span { color: var(--muted-2); }
input, select, textarea { border-color: var(--line); background-color: var(--surface-3); }
input::placeholder, textarea::placeholder { color: hsl(146 7% 35% / .65); }
input:focus, select:focus, textarea:focus { border-color: hsl(161 65% 25% / .62); box-shadow: 0 0 0 3px hsl(161 65% 25% / .08); }
.segmented, .deployment-fields, .arm-card { background: var(--surface-3); }
.segmented input:checked + span { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px hsl(113 7% 76%); }
.check-row label, .notice span { color: var(--muted-2); }
.notice.green, .dflash .method-badge, .toggle input:checked + span { border-color: hsl(161 65% 25% / .3); }
.notice.amber, .methodology-banner { border-color: hsl(41 70% 32% / .3); }
.notice.red, .schema-pill.red, .status-chip.failed { border-color: hsl(4 59% 45% / .3); }
.arm-foot strong { color: var(--text); }
.method-badge, .toggle span { border-color: var(--line); color: var(--muted); }
.toggle span { background: var(--surface-2); }
.toggle span::after { background: hsl(146 7% 45%); }
.eagle .method-badge, .schema-pill, .status-chip.running { border-color: hsl(213 64% 42% / .3); }
.preflight-row, .formula-line { border-color: var(--line); }
.preflight-row strong, .formula-line code { color: var(--text); }
.formula-line { background: var(--surface-3); }
.review-bar { border-color: hsl(161 65% 25% / .28); background: linear-gradient(98deg, var(--green-soft), var(--surface) 40%); }
.matrix-graphic span { border-color: hsl(161 65% 25% / .45); background: hsl(161 65% 25% / .08); }
.table-scroll { scrollbar-color: hsl(113 7% 76%) transparent; }
th { background: var(--surface-2); color: var(--muted); }
td { color: var(--text); }
tbody tr:hover td { background: var(--surface-3); }
.status-chip { border-color: var(--line); color: var(--muted-2); }
.methodology-banner span { color: var(--muted-2); }
dialog { border-color: var(--line); background: var(--surface); box-shadow: 0 24px 80px hsl(150 9% 10% / .22); }
dialog::backdrop { background: hsl(150 9% 10% / .42); }
.json-view { background: var(--surface-2); color: var(--text); }
.review-list li { background: var(--surface-3); }
.toast { border-color: var(--line); background: var(--surface); box-shadow: 0 14px 40px hsl(150 9% 10% / .18); }
.source-run-link { display: inline-flex; align-items: center; gap: 5px; color: var(--blue); text-decoration: none; }
.artifact-local { display: block; margin-top: 2px; color: var(--muted); font-size: .6rem; }

.login-page { display: grid; min-height: 100vh; margin: 0; padding: 24px; place-items: center; background: var(--bg); }
.login-card { width: min(420px, 100%); padding: 34px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 60px hsl(150 12% 12% / .12); }
.login-card h1 { margin: 5px 0 8px; font-size: 1.65rem; }
.login-card > p:not(.eyebrow, .login-error) { margin: 0 0 24px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.login-card form { display: grid; gap: 15px; }
.login-card .btn { width: 100%; }
.login-card small { display: block; margin-top: 20px; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.login-error { margin: 0 0 18px; padding: 10px 12px; border: 1px solid var(--red); color: var(--red); font-size: .75rem; }

@media (max-width: 1180px) {
  .form-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arm-grid { grid-template-columns: 1fr; }
  .review-bar { grid-template-columns: auto 1fr auto; }
  .review-stats { display: none; }
  .pipeline { grid-template-columns: 1fr; }
  .pipeline > i { transform: rotate(90deg); justify-self: center; }
  .hosted-source-head { display: none; }
  .hosted-source-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hosted-arm-label { grid-column: 1 / -1; }
  .hosted-source-row .field > span { display: block; }
  .linked-run-overview { grid-template-columns: 1fr auto; }
  .linked-run-facts { grid-row: 2; }
  .linked-run-actions { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; }
  .run-compare-picker { width: 100%; min-width: 0; }
  .run-compare-tabs { align-self: flex-start; }
  .run-compare-head { align-items: stretch; flex-direction: column; }
  .distribution-grid { grid-template-columns: 1fr; }
  .live-stream-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live-stream-breakdown-grid { grid-template-columns: 1fr; }
  .live-stream-arm-grid { grid-template-columns: 1fr; }
  .distribution-card { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .distribution-card:last-child { border-bottom: 0; }
}

@media (max-width: 820px) {
  .sidebar { position: static; width: auto; min-height: auto; flex-direction: row; align-items: center; padding: 12px 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 0 12px 0 0; }
  .main-nav { display: flex; overflow-x: auto; }
  .nav-item { width: auto; }
  .nav-item svg, .nav-count, .connection-card, .sidebar-foot, .sidebar-spacer { display: none; }
  .workspace { margin-left: 0; }
  .topbar { top: 66px; padding: 0 18px; }
  .view { padding: 20px 18px 40px; }
  .plane-options { align-items: stretch; flex-direction: column; }
  .review-bar { grid-template-columns: 1fr; }
  .matrix-graphic { display: none; }
  .review-actions { width: 100%; }
  .review-actions .btn { flex: 1; }
  .image-inspection { grid-template-columns: 1fr auto auto; }
  .image-inspection-copy { grid-column: 1 / -1; }
  .run-compare-picker { grid-template-columns: 1fr; }
  .run-compare-summaries { grid-template-columns: 1fr; }
  .run-compare-actions { align-items: stretch; flex-direction: column; }
  .live-stream-toolbar { align-items: stretch; flex-direction: column; }
  .live-stream-toolbar-actions { justify-content: flex-start; }
  .live-stream-run-picker { width: 100%; }
  .live-stream-comparison { grid-template-columns: 1fr; }
  .live-stream-delta { border-top: 1px solid var(--line); border-left: 0; }
  .production-acceptance-toolbar { grid-template-columns: 1fr 1fr; }
  .production-acceptance-search { grid-column: 1 / -1; }
  .production-acceptance-toolbar .btn { align-self: stretch; }
}

@media (max-width: 560px) {
  .brand > span:last-child { display: none; }
  .nav-item { padding: 0 8px; font-size: .72rem; }
  .topbar { height: 76px; }
  .top-actions .secondary { display: none; }
  .form-grid.cols-4, .form-grid.cols-2, .metric-cards { grid-template-columns: 1fr; }
  .live-stream-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-stream-create-actions { align-items: stretch; flex-direction: column; }
  .live-stream-create-actions > span { margin-right: 0; }
  .span-2, .span-3, .span-4 { grid-column: auto; }
  .section-panel { padding: 17px; }
  .section-heading { grid-template-columns: 30px minmax(0,1fr); }
  .section-actions { grid-column: 2; justify-self: start; }
  .section-state { display: none; }
  .arm-head { grid-template-columns: auto minmax(0, 1fr); }
  .arm-head-actions { grid-column: 2; justify-self: start; }
  .arm-head h3 { white-space: normal; }
  .serve-config-snapshot { align-items: flex-start; flex-direction: column; gap: 2px; }
  .serve-config-snapshot span { width: 100%; }
  .previous-run-loader { grid-template-columns: 1fr; }
  .previous-run-actions { width: 100%; }
  .previous-run-actions .btn { flex: 1; }
  .preflight-row { flex-wrap: wrap; }
  .preflight-row button { width: 100%; margin-left: 0; }
  .results-head { align-items: start; gap: 12px; flex-direction: column; }
  .results-tabs { width: 100%; overflow: auto; }
  .linked-source-picker { align-items: stretch; flex-direction: column; }
  .linked-source-picker .segmented { width: 100%; }
  .linked-source-picker .segmented label { flex: 1; text-align: center; }
  .hosted-source-row { grid-template-columns: 1fr; }
  .hosted-arm-label { grid-column: auto; }
  .linked-run-overview { grid-template-columns: 1fr; }
  .linked-run-facts { flex-wrap: wrap; grid-row: auto; gap: 12px 20px; }
  .linked-run-actions { grid-column: auto; grid-row: auto; align-items: stretch; }
  .logs-toolbar { align-items: stretch; flex-direction: column; }
  .logs-toolbar-actions { flex-wrap: wrap; }
  .comparison-head { align-items: stretch; flex-direction: column; }
  .comparison-selector { flex-basis: auto; }
  .run-compare-picker { grid-template-columns: 1fr; }
  .run-compare-tabs { width: 100%; overflow: auto; }
  .run-compare-facts { grid-template-columns: 1fr; }
  .image-inspection { grid-template-columns: 1fr; }
  .harness-results-table { min-width: 620px; }
  .harness-results-table th:nth-child(1) { width: 24%; }
  .harness-results-table th:nth-child(2) { width: 15%; }
  .harness-results-table th:nth-child(3) { width: 41%; }
  .harness-results-table th:nth-child(4), .harness-results-table th:nth-child(5) { width: 10%; }
  .production-acceptance-toolbar { grid-template-columns: 1fr; }
  .production-metric-grid, .production-source-grid { grid-template-columns: 1fr; }
  .production-model-head, .production-panel-head { align-items: stretch; flex-direction: column; }
}

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