:root {
  color-scheme: light;
  /* Theme: clean "control center" light UI with green accents and slate ink. */
  --bg: #f6f8f7;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #ffffff;
  --green: #167a46;
  --green-soft: #e8f7ee;
  --red: #b42318;
  --red-soft: #ffefef;
  --yellow: #f2c94c;
  --teal: #0f766e;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.06);
  --dot: rgba(22, 122, 70, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  /* Subtle gradient + dot grid to match the reference dashboard vibe. */
  background:
    radial-gradient(900px 560px at 90% 5%, rgba(22, 122, 70, 0.08) 0%, rgba(22, 122, 70, 0) 60%),
    radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 18px 18px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.toast-layer {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: min(360px, calc(100vw - 36px));
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

.toast-layer.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.toast-card strong {
  font-size: 15px;
}

.toast-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.toast-layer[data-tone="success"] .toast-card {
  border-color: #cce7d6;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 249, 243, 0.98) 100%);
}

.toast-layer[data-tone="info"] .toast-card {
  border-color: #d7e1f4;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 246, 255, 0.98) 100%);
}

.toast-layer[data-tone="warn"] .toast-card {
  border-color: #f0d7a6;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 235, 0.98) 100%);
}

.toast-layer[data-tone="error"] .toast-card {
  border-color: #efc3c3;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 243, 243, 0.98) 100%);
}

button,
a {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 32px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

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

.auth-summary {
  max-width: 320px;
  text-align: right;
}

.auth-summary p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.auth-badge {
  display: inline-flex;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 920px;
  margin-top: 6px;
  font-size: 32px;
  line-height: 1.15;
}

h2 {
  font-size: 22px;
  line-height: 1.25;
}

.eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

main {
  display: grid;
  gap: 18px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.run-pill {
  min-width: 104px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.run-pill.failed,
.run-pill.stopped {
  background: var(--red-soft);
  color: var(--red);
}

.run-pill.running {
  background: #fff8d8;
  color: #7a5a00;
}

.run-pill.queued {
  background: #eef4ff;
  color: #2457a2;
}

.run-pill.timed_out {
  background: #fff1d6;
  color: #9a5b00;
}

.band,
.status-band {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-panel {
  display: grid;
}

.auth-card {
  width: 100%;
  max-width: 1180px;
}

.auth-hero {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(480px 180px at 100% 0%, rgba(22, 122, 70, 0.12) 0%, rgba(22, 122, 70, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 252, 250, 0.98) 100%);
}

.auth-hero-copy {
  display: grid;
  gap: 10px;
  max-width: 680px;
}

.auth-lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.auth-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.auth-choice {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 184px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.auth-choice:hover,
.auth-choice:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(22, 122, 70, 0.34);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  outline: none;
}

.auth-choice-primary {
  border-color: #cfe3d7;
  background:
    radial-gradient(320px 140px at 100% 0%, rgba(22, 122, 70, 0.12) 0%, rgba(22, 122, 70, 0) 75%),
    linear-gradient(180deg, #f8fcf9 0%, #edf7f0 100%);
  color: var(--ink);
}

.auth-choice-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(22, 122, 70, 0.14);
  background: rgba(22, 122, 70, 0.08);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-choice-primary .auth-choice-kicker {
  border-color: rgba(22, 122, 70, 0.18);
  background: rgba(22, 122, 70, 0.09);
  color: var(--green);
}

.auth-choice strong {
  font-size: 30px;
  line-height: 1.05;
}

.auth-choice span:last-child {
  max-width: 26ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  opacity: 1;
}

.auth-copy {
  color: var(--muted);
  line-height: 1.5;
}

.auth-private {
  align-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  width: fit-content;
}

.auth-private[open] {
  box-shadow: none;
}

.auth-private-body {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  max-width: 440px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}

.auth-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  padding: 0 2px;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
}

.auth-toggle::-webkit-details-marker {
  display: none;
}

.auth-toggle::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: var(--paper);
}

.auth-private[open] .auth-toggle::after {
  content: '-';
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
}

.auth-form span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-form input {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}

.auth-signin {
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

.auth-note {
  max-width: 720px;
  font-size: 15px;
}

#loginMessage {
  margin-top: 0;
}

.section-heading,
.panel-title,
.status-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-title.compact {
  margin-bottom: 14px;
}

.runner-workspace {
  display: grid;
  gap: 18px;
}

.runner-panel,
.runner-log-panel {
  min-width: 0;
}

.runner-intro {
  max-width: 40rem;
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.suite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.suite-button {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 96px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.suite-button:hover,
.suite-button:focus-visible {
  border-color: var(--green);
  outline: 3px solid rgba(22, 122, 70, 0.16);
}

.suite-button-primary {
  border-color: #c9dfd1;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(22, 122, 70, 0.1) 0%, rgba(22, 122, 70, 0) 80%),
    linear-gradient(180deg, #ffffff 0%, #f5fbf7 100%);
}

.suite-button-secondary {
  border-color: #d8dfeb;
  background:
    radial-gradient(220px 120px at 100% 0%, rgba(36, 87, 162, 0.08) 0%, rgba(36, 87, 162, 0) 80%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

.suite-button-compact {
  min-height: 88px;
}

.suite-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid rgba(22, 122, 70, 0.14);
  border-radius: 999px;
  background: rgba(22, 122, 70, 0.07);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.suite-button-secondary .suite-kicker {
  border-color: rgba(36, 87, 162, 0.16);
  background: rgba(36, 87, 162, 0.08);
  color: #2457a2;
}

.suite-button strong {
  display: block;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.08;
}

.suite-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 34ch;
}

.suite-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.danger {
  padding: 10px 14px;
  border: 1px solid var(--red);
  border-radius: 6px;
  background: var(--red);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.inline-action {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hidden {
  display: none;
}

.report-visuals.hidden,
.report-box.hidden,
.auth-panel.hidden,
.inline-action.hidden {
  display: none;
}

body.auth-locked main > :not(.auth-panel) {
  display: none;
}

body.auth-locked .topbar {
  border-bottom-color: transparent;
  box-shadow: none;
}

body.auth-locked .topbar h1 {
  max-width: 780px;
}

.guided-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(22, 122, 70, 0.1) 0%, rgba(22, 122, 70, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(246, 250, 247, 0.99) 100%);
}

.guided-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.guided-panel-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.guided-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 18px;
}

.guided-hero-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.guided-hero-card-primary {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf8 100%);
}

.guided-hero-card h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.guided-card-copy {
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.guided-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.guided-run-note {
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.guided-run-note.info {
  color: #30507d;
}

.guided-run-note.warn {
  color: #8a5600;
}

.guided-run-note.error {
  color: var(--red);
}

.guided-primary-action {
  min-height: 46px;
  padding: 11px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.guided-primary-action:disabled,
.inline-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.guided-viewer-note {
  margin-top: 4px;
}

.run-status-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid #d9e3dc;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 252, 249, 0.97) 100%);
  box-shadow: var(--shadow-soft);
}

.run-status-strip.running {
  border-color: #ebd28e;
  background: linear-gradient(180deg, rgba(255, 252, 240, 0.98) 0%, rgba(255, 247, 223, 0.98) 100%);
}

.run-status-strip.queued {
  border-color: #d1dcf2;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(239, 245, 255, 0.98) 100%);
}

.run-status-strip.finalizing {
  border-color: #cfe0d3;
  background: linear-gradient(180deg, rgba(247, 252, 248, 0.98) 0%, rgba(239, 248, 242, 0.98) 100%);
}

.run-status-main {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.run-status-indicator {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #b8c3ba;
}

.run-status-strip.running .run-status-indicator {
  background: #c68b00;
  box-shadow: 0 0 0 6px rgba(198, 139, 0, 0.15);
}

.run-status-strip.queued .run-status-indicator {
  background: #3568b1;
  box-shadow: 0 0 0 6px rgba(53, 104, 177, 0.12);
}

.run-status-strip.finalizing .run-status-indicator {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(31, 129, 76, 0.12);
}

.run-status-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.run-status-copy strong {
  font-size: 15px;
  line-height: 1.35;
}

.run-status-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.run-status-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.run-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.run-status-chip.running {
  border-color: #ebd28e;
  color: #8a5600;
}

.run-status-chip.queued {
  border-color: #c9d7f1;
  color: #2c5f9e;
}

.run-status-chip.finalizing {
  border-color: #cde0d2;
  color: var(--green);
}

.run-status-chip.active {
  border-color: #cde0d2;
  color: var(--green);
}

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

.guided-metrics .metric {
  min-height: 0;
  padding: 14px;
  border-radius: 14px;
}

.guided-metrics .metric strong {
  font-size: 24px;
}

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

.guided-next-card {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.guided-next-card strong {
  font-size: 15px;
  line-height: 1.35;
}

.guided-next-card span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mode-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #cfe0d3;
  border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.metric {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.metric strong {
  display: block;
  margin-top: 12px;
  color: var(--green);
  font-size: 34px;
  line-height: 1;
}

.metric.warning strong {
  color: var(--red);
}

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

.context-grid {
  margin-top: 16px;
}

.summary-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.summary-card-primary {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #f8fbf7 0%, #edf7f0 100%);
}

.summary-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.summary-card-copy {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.summary-card-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-band p:last-child {
  margin-top: 8px;
  color: var(--muted);
}

.ai-band {
  align-items: center;
}

.report-health-band {
  align-items: center;
}

.report-context-band {
  align-items: center;
}

.ai-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.report-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-context-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ai-stats span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf9;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.report-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: white;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.report-link.disabled {
  pointer-events: none;
  border-color: var(--line);
  background: #dfe5de;
  color: var(--muted);
}

.execution-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
}

.failure-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: 18px;
}

.history-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.35fr) minmax(0, 0.65fr);
  gap: 18px;
}

@media (min-width: 981px) {
  .runner-workspace {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    align-items: start;
  }

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

  .runner-panel .panel-title {
    margin-bottom: 12px;
  }

  .runner-intro {
    max-width: 34rem;
    font-size: 14px;
  }

  .suite-button {
    gap: 7px;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .suite-button strong {
    font-size: 19px;
  }

  .suite-copy {
    font-size: 13px;
    line-height: 1.4;
  }

  .suite-button-primary,
  .suite-button-secondary {
    min-height: 104px;
  }

  .suite-button-compact {
    min-height: 76px;
  }

  .runner-log-panel .log-box {
    min-height: 360px;
  }
}

@media (min-width: 1400px) {
  .suite-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .suite-button {
    padding: 13px 15px;
  }

  .suite-button strong {
    font-size: 18px;
  }

  .suite-button-primary,
  .suite-button-secondary {
    min-height: 102px;
  }

  .suite-button-compact {
    min-height: 78px;
  }
}

.panel {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.collapsible-panel[open] .collapsible-summary {
  margin-bottom: 16px;
}

.collapsible-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.panel-title {
  margin-bottom: 14px;
}

.reports-panel {
  display: grid;
}

#stageText {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fbfcf9;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.log-box,
.report-box {
  width: 100%;
  min-height: 360px;
  max-height: 620px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #111713;
  color: #eaf2ea;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.runner-log-panel .log-box {
  min-height: 280px;
  max-height: 460px;
}

.report-box {
  background: #fbfcf9;
  color: var(--ink);
  min-height: 280px;
  max-height: 520px;
}

.report-visuals {
  display: grid;
  gap: 14px;
  margin-bottom: 10px;
}

.report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(220px, 0.74fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fbfdfb 0%, #f1f7f3 100%);
}

.report-score-wrap {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  align-items: start;
  gap: 16px;
}

.score-card {
  --score: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid #cfe0d3;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 249, 244, 0.98) 100%);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.score-card::after {
  content: "";
  position: absolute;
  inset: auto -22px -26px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 122, 70, 0.12) 0%, rgba(22, 122, 70, 0) 72%);
  pointer-events: none;
}

.score-card-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.score-card strong {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.report-hero-copy {
  display: grid;
  gap: 10px;
  align-content: start;
}

.report-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: start;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.report-badge.good {
  border-color: #b8dec8;
  background: var(--green-soft);
  color: var(--green);
}

.report-badge.warn {
  border-color: #f0cf92;
  background: #fff7e7;
  color: #9a5b00;
}

.report-summary {
  max-width: 36ch;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.report-subtext {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

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

.report-kpi {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.report-kpi span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.report-kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

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

.report-block {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf9;
}

.report-block-head {
  margin-bottom: 14px;
}

.report-block-head h3 {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.35;
}

.report-tab-note {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.report-more {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.report-more summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}

.report-more summary::-webkit-details-marker {
  display: none;
}

.report-more[open] summary {
  border-bottom: 1px solid var(--line);
}

.report-grid-secondary {
  padding: 14px;
}

.stacked-bar {
  display: flex;
  width: 100%;
  min-height: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eae4;
}

.stacked-segment {
  min-width: 0;
}

.stacked-segment.passed,
.legend-swatch.passed {
  background: var(--green);
}

.stacked-segment.failed,
.legend-swatch.failed {
  background: var(--red);
}

.stacked-segment.flaky,
.legend-swatch.flaky {
  background: #c78500;
}

.stacked-segment.skipped,
.legend-swatch.skipped {
  background: #8a96a6;
}

.stacked-segment.empty {
  background: #dfe6dd;
}

.stacked-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}

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

.suite-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.suite-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.suite-row-head strong {
  font-size: 14px;
}

.suite-row-head span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.suite-bar {
  width: 100%;
  min-height: 12px;
  border-radius: 999px;
  background: #e7ece6;
  overflow: hidden;
}

.suite-bar-fill {
  min-height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green) 0%, var(--teal) 100%);
}

.trend-bars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-height: 180px;
  align-items: end;
}

.trend-bar-card {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.trend-bar-wrap {
  width: 100%;
  min-height: 120px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f5f8f4;
}

.trend-bar {
  width: 18px;
  min-height: 10px;
  border-radius: 8px 8px 0 0;
}

.trend-bar.score {
  background: var(--green);
}

.trend-bar.fail {
  background: var(--red);
  opacity: 0.82;
}

.trend-bar-card strong {
  font-size: 16px;
}

.trend-bar-card span {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  line-height: 1.4;
}

.pipeline-list {
  display: grid;
  gap: 12px;
}

.pipeline-item {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pipeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 999px;
  background: #b7c1b8;
}

.pipeline-item.success .pipeline-dot {
  background: var(--green);
}

.pipeline-item.attention .pipeline-dot {
  background: #c78500;
}

.pipeline-copy strong,
.pipeline-copy span {
  display: block;
}

.pipeline-copy strong {
  font-size: 14px;
}

.pipeline-copy span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.tab {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcf9;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.tab.active {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green);
}

.failure-list {
  display: grid;
  gap: 10px;
}

.history-list {
  display: grid;
  gap: 10px;
}

.audit-list {
  display: grid;
  gap: 10px;
}

.observability-grid {
  display: grid;
  gap: 18px;
}

.subheading {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

@media (min-width: 960px) {
  .observability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.audit-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.audit-item strong,
.audit-item span {
  display: block;
}

.audit-item strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.audit-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.execution-active,
.execution-queue,
.execution-recent {
  display: grid;
  gap: 10px;
}

.execution-queue,
.execution-recent {
  margin-top: 14px;
}

.execution-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.execution-item.running {
  border-color: #d8b84d;
}

.execution-item.queued {
  border-color: #b7c8e8;
}

.execution-item.failed,
.execution-item.stopped,
.execution-item.timed_out {
  border-color: #efb1b1;
}

.execution-item-head,
.execution-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.execution-item-head strong,
.execution-item-head span {
  display: block;
}

.execution-item-head span,
.execution-item p,
.execution-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.execution-item p {
  margin-top: 10px;
}

.execution-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.execution-meta {
  flex-wrap: wrap;
  margin-top: 12px;
}

.execution-item.compact p {
  display: none;
}

.failure-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf9;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.history-item {
  display: grid;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcf9;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.failure-item.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.history-item.active {
  border-color: var(--teal);
  background: #eef8fa;
  box-shadow: inset 3px 0 0 var(--teal);
}

.failure-item strong,
.failure-item span,
.history-item strong,
.history-item span {
  display: block;
}

.failure-item strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.failure-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.history-item-main,
.history-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.history-item strong {
  margin-bottom: 0;
  font-size: 15px;
}

.history-item span,
.history-item-meta span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.history-item-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
}

.history-item-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.failure-detail {
  display: grid;
  gap: 14px;
}

.quick-triage {
  display: grid;
  gap: 14px;
}

.quick-triage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.triage-summary-list {
  display: grid;
  gap: 12px;
}

.triage-summary-list div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.triage-summary-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.triage-summary-list p {
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.55;
}

.detail-disclosure {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.detail-disclosure summary {
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.detail-disclosure summary::-webkit-details-marker {
  display: none;
}

.detail-disclosure[open] summary {
  border-bottom: 1px solid var(--line);
}

.detail-disclosure-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.history-detail {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.history-focus-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(22, 122, 70, 0.08) 0%, rgba(22, 122, 70, 0) 72%),
    #fbfdfb;
}

.history-focus-card.warn {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(242, 201, 76, 0.16) 0%, rgba(242, 201, 76, 0) 72%),
    #fffdf7;
}

.history-focus-card.danger {
  background:
    radial-gradient(420px 180px at 100% 0%, rgba(180, 35, 24, 0.1) 0%, rgba(180, 35, 24, 0) 72%),
    #fffafa;
}

.history-focus-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.history-focus-dot {
  width: 12px;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(22, 122, 70, 0.11);
}

.history-focus-card.warn .history-focus-dot {
  background: #c78500;
  box-shadow: 0 0 0 6px rgba(199, 133, 0, 0.12);
}

.history-focus-card.danger .history-focus-dot {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(180, 35, 24, 0.11);
}

.history-focus-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.28;
}

.history-focus-head p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.history-focus-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.history-focus-metrics div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
}

.history-focus-metrics span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.history-focus-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.history-focus-recommendation {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.history-more-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.history-more-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.history-more-details summary::-webkit-details-marker {
  display: none;
}

.history-more-details summary span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.history-more-details summary span:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.history-more-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.history-more-body {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.history-detail-sections {
  display: grid;
  gap: 14px;
}

.history-detail-section {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.history-detail-head {
  display: grid;
  gap: 4px;
}

.history-detail-head h3 {
  margin: 0;
}

.history-detail-callout {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.history-detail-callout span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.history-detail-callout p {
  margin-top: 8px;
  color: var(--ink);
  line-height: 1.55;
}

.history-release-callout {
  display: grid;
  gap: 12px;
}

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

.history-release-item {
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcf9;
}

.history-release-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.history-release-item strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.history-release-item-wide {
  grid-column: 1 / -1;
}

.panel-title-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 13px;
}

.detail-section {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.detail-section h3,
.detail-section h4 {
  margin: 0 0 10px;
}

.detail-section h3 {
  font-size: 16px;
}

.detail-section h4 {
  font-size: 14px;
}

.detail-section p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.detail-section strong {
  color: var(--ink);
}

.detail-section ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.triage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.triage-grid div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.triage-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.triage-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.35;
}

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

.history-snapshot-grid div,
.history-context-grid div {
  min-width: 0;
}

.history-snapshot-grid strong,
.history-context-grid strong {
  overflow-wrap: anywhere;
}

.history-snapshot-grid > div:last-child,
.history-context-grid > div:nth-child(2) {
  grid-column: 1 / -1;
}

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

@media (min-width: 900px) {
  .history-detail-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.artifact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.artifact-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  background: var(--paper);
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.artifact-link.disabled {
  border-color: var(--line);
  color: var(--muted);
}

.empty-note {
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px) {
  .guided-hero-grid,
  .guided-next-grid,
  .runner-workspace,
  .execution-workspace,
  .failure-workspace,
  .history-workspace {
    grid-template-columns: 1fr;
  }

  .auth-choice-grid,
  .summary-grid,
  .suite-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    max-width: 100%;
  }

  .auth-private {
    width: 100%;
  }

  .auth-private-body {
    max-width: 100%;
  }

  .topbar,
  .guided-panel-head,
  .section-heading,
  .panel-title,
  .status-band,
  .summary-card-head,
  .run-status-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .triage-grid,
  .detail-columns,
  .quick-triage-grid {
    grid-template-columns: 1fr;
  }

  .suite-row-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .triage-grid.history-snapshot-grid,
  .triage-grid.history-context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .triage-grid.history-snapshot-grid > div:last-child,
  .triage-grid.history-context-grid > div:nth-child(2),
  .history-release-item-wide {
    grid-column: 1 / -1;
  }

  .trend-bars {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    padding: 18px 18px 16px;
  }

  main {
    width: min(100%, calc(100% - 36px));
    padding: 18px 0 32px;
  }

  h1 {
    font-size: 26px;
  }

  .guided-hero-card h3 {
    font-size: 22px;
  }

  .guided-panel-copy {
    font-size: 15px;
  }

  .auth-choice strong {
    font-size: 26px;
  }

  .auth-lead {
    font-size: 16px;
  }

  .auth-choice {
    min-height: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .suite-button {
    min-height: 0;
    padding: 14px 14px;
    border-radius: 16px;
  }

  .suite-button strong {
    font-size: 18px;
  }

  .suite-copy,
  .runner-intro {
    font-size: 13px;
    line-height: 1.4;
  }

  .guided-metrics .metric strong {
    font-size: 22px;
  }

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

  .history-more-details summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-more-details summary span:last-child {
    text-align: left;
  }

  .report-score-wrap {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .report-badges {
    justify-content: flex-start;
  }

  .report-summary,
  .report-subtext {
    max-width: none;
  }

  .runner-log-panel .log-box {
    min-height: 260px;
    max-height: 380px;
  }

  .report-hero,
  .report-grid,
  .history-release-grid {
    grid-template-columns: 1fr;
  }

  .report-hero {
    gap: 14px;
    padding: 16px;
  }

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

  .suite-button-primary,
  .suite-button-secondary {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .suite-button-compact {
    min-height: 0;
    gap: 6px;
  }

  .suite-kicker {
    min-height: 24px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .suite-breakdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .suite-row {
    padding: 10px;
    gap: 7px;
  }

  .suite-row-head strong {
    font-size: 13px;
  }

  .suite-row-head span {
    font-size: 12px;
    text-align: left;
  }

  .suite-bar,
  .suite-bar-fill {
    min-height: 10px;
  }

  .report-score-wrap {
    display: grid;
  }

  .band,
  .panel,
  .status-band {
    padding: 16px;
  }

  .guided-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .guided-hero-card,
  .guided-next-card {
    padding: 16px;
    border-radius: 18px;
  }

  .auth-hero {
    padding: 20px;
    border-radius: 18px;
  }

  .auth-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    width: 100%;
    align-items: start;
    gap: 10px 12px;
  }

  .auth-summary {
    grid-column: 1;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .topbar-actions > button,
  .topbar-actions > .run-pill {
    align-self: start;
  }

  .topbar-actions > button {
    min-height: 40px;
    padding: 8px 12px;
  }

  .run-pill {
    min-width: 88px;
  }

  .toast-layer {
    right: 18px;
    bottom: 18px;
    width: calc(100vw - 36px);
  }

  .run-status-main,
  .run-status-meta {
    width: 100%;
  }

  .run-status-meta {
    justify-content: flex-start;
  }
}
