:root {
  color-scheme: dark;
  --bg: #101113;
  --surface: #191b1f;
  --raised: #202328;
  --ink: #f0f1f3;
  --muted: #a2a6af;
  --line: #2b2e34;
  --green: #c4f16b;
  --mint: #c4f16b14;
  --coral: #ff8e91;
  --orange: #efc278;
  --mono: 'IBM Plex Mono', monospace;
  --font: 'Manrope', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.55 var(--font); letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
svg { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
button svg, a svg { pointer-events: none; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
h2 { font-size: 16px; font-weight: 700; line-height: 1.4; }
h3 { font-size: 15px; }
small { font-size: 11px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
::selection { background: #c4f16b40; color: white; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 232px; background: #151619; border-right: 1px solid var(--line); padding: 28px 16px 18px; display: flex; flex-direction: column; z-index: 30; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; font-size: 16px; font-weight: 800; }
.brand-mark { width: 32px; height: 32px; background: var(--green); color: #1a2313; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; }
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 8px; color: var(--muted); margin-top: 2px; font-weight: 500; }
.workspace { margin: 32px 0 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 16px 7px; font-size: 11px; font-weight: 600; }
.workspace-avatar { width: 31px; height: 31px; background: var(--raised); color: #c5c8d0; display: grid; place-items: center; font: 10px var(--mono); border: 1px solid #383c43; border-radius: 5px; }
.workspace small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; margin-top: 2px; }
.workspace > svg { margin-left: auto; width: 16px; color: #737985; }
.nav-label { font-size: 9px; color: #7f8590; font-weight: 600; letter-spacing: 0; margin: 25px 12px 10px; }
.sidebar > .nav-label { margin-top: 0; }
nav a { display: flex; gap: 11px; align-items: center; min-height: 43px; padding: 11px 12px; border-radius: 6px; color: #a3a8b2; font-size: 12px; font-weight: 500; margin: 4px 0; border: 1px solid transparent; }
nav a:hover { background: var(--raised); color: var(--ink); }
nav a.active { color: var(--green); background: #c4f16b0d; border-color: #c4f16b23; }
nav svg { width: 18px; height: 18px; }
.nav-count { margin-left: auto; background: #c4f16b14; border-radius: 4px; font: 10px/20px var(--mono); width: 22px; text-align: center; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.paper-label { font-size: 10px; display: flex; align-items: center; gap: 7px; color: var(--muted); padding: 12px 7px; }
.paper-label svg { width: 14px; color: var(--green); }
.profile { border-top: 1px solid var(--line); padding: 18px 4px 10px; display: flex; gap: 9px; align-items: center; font-size: 10px; font-weight: 600; }
.profile > span:nth-child(2) { min-width: 0; overflow-wrap: anywhere; }
.profile small { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.profile > svg { margin-left: auto; width: 15px; color: var(--muted); }
.avatar { width: 32px; height: 32px; border: 1px solid #464248; background: #2b242c; color: #dfb5cf; display: inline-grid; place-items: center; border-radius: 6px; font-size: 10px; flex-shrink: 0; }
.logout { background: none; border: 0; color: var(--muted); font-size: 10px; display: flex; align-items: center; gap: 8px; padding: 10px 7px; }
.logout:hover { color: var(--ink); }
.logout svg { width: 14px; }
.shell { margin-left: 232px; min-height: 100vh; display: flex; flex-direction: column; }
.topbar { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid var(--line); background: #141518; }
.breadcrumbs { font-size: 11px; color: #c5c8ce; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; min-width: 0; }
.breadcrumbs span { color: #60656e; }
.topbar-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.environment { font-size: 10px; color: var(--muted); display: flex; gap: 7px; align-items: center; }
.environment svg { width: 12px; }
.timezone { font-size: 10px; border-left: 1px solid var(--line); padding-left: 18px; color: var(--muted); }
.mobile-menu { display: none !important; }
main { padding: 34px 36px 44px; width: 100%; max-width: 1560px; margin: 0 auto; flex: 1; min-width: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.page-heading p.muted { margin-top: 9px; font-size: 12px; }
.eyebrow { font: 10px var(--mono); letter-spacing: 0; color: var(--green); margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.mono { font-family: var(--mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.separator { color: #555b65; margin: 0 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 6px; padding: 10px 15px; font-size: 11px; font-weight: 700; border: 1px solid transparent; white-space: normal; text-align: center; line-height: 1.4; transition: background .15s, border-color .15s; }
.button svg { width: 16px; height: 16px; }
.primary { background: var(--green); color: #18210e; border-color: var(--green); }
.primary:hover { background: #d5ff8a; border-color: #d5ff8a; }
.secondary { background: var(--raised); border-color: #383d45; color: #e2e5ea; }
.secondary:hover { border-color: #686f7b; background: #292d33; }
.danger { color: var(--coral); background: #ff8e9110; border-color: #ff8e9140; }
.icon-button { display: inline-flex; justify-content: center; align-items: center; width: 38px; height: 38px; flex-shrink: 0; background: var(--raised); border: 1px solid #383d45; border-radius: 6px; color: #b6bcc7; }
.icon-button:hover { background: #30353c; color: white; }
.destructive { color: var(--coral); }
.pipeline-band { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 0; }
.pipeline-icon { width: 40px; height: 40px; border: 1px solid #c4f16b23; border-radius: 6px; background: #c4f16b0a; display: grid; place-items: center; color: var(--green); flex-shrink: 0; }
.pipeline-icon svg { width: 21px; height: 21px; }
.pipeline-copy { min-width: 0; }
.pipeline-copy h2 { display: flex; gap: 12px; align-items: center; font-size: 12px; flex-wrap: wrap; }
.pipeline-copy p { font-size: 10px; color: var(--muted); margin-top: 4px; }
.pipeline-time { margin-left: auto; text-align: right; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pipeline-time > span { font-size: 9px; color: var(--muted); }
.pipeline-time time { font-size: 10px; color: #c8cdd5; }
.dot { width: 5px; height: 5px; background: currentColor; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.green { color: var(--green); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 600; padding: 4px 8px; border-radius: 4px; line-height: 1.6; background: #272b31; color: #abb1bb; white-space: nowrap; }
.badge.running, .badge.active, .badge.ready { background: #c4f16b10; color: var(--green); }
.badge.paused, .badge.queued { background: #efc27812; color: var(--orange); }
.badge.failed, .badge.disabled { background: #ff8e9112; color: var(--coral); }
.metrics-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-bottom: 1px solid var(--line); margin: 0 0 30px; }
.metric { padding: 25px 22px; border-right: 1px solid var(--line); min-width: 0; }
.metric:first-child { padding-left: 0; }
.metric:last-child { border-right: 0; }
.metric > span { font-size: 10px; font-weight: 500; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.metric > span svg { width: 14px; height: 14px; color: #737b88; }
.metric > strong { display: block; font-size: 29px; font-weight: 600; line-height: 1.2; margin: 16px 0 9px; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.metric > strong.text-status { font-size: 25px; padding: 2px 0; color: var(--green); }
.metric em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 400; margin: 0 5px; }
.metric small { color: #8e96a1; font-size: 9px; display: block; }
.positive { color: var(--green); }
.negative { color: var(--coral); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 30px 0 16px; }
.section-heading p { font-size: 10px; color: var(--muted); margin-top: 5px; }
.section-heading h2 { display: flex; align-items: center; gap: 9px; }
.section-heading > svg { color: #828b98; width: 17px; }
.count { font: 10px var(--mono); background: #292d33; border: 1px solid #363b44; border-radius: 4px; color: #b7bfca; padding: 3px 6px; }
.text-link { display: flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 600; color: #d3d8e0; }
.text-link:hover { color: var(--green); }
.text-link svg { width: 14px; }
.test-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.test-card { --test-accent: var(--green); padding: 21px 22px 0; border: 1px solid #33373e; border-radius: 8px; background: var(--surface); min-width: 0; position: relative; transition: border-color .2s, background .2s; animation: reveal .35s ease both; }
.test-card:nth-child(2) { --test-accent: #9ebcff; animation-delay: .07s; }
.test-card:hover { border-color: #687260; background: #1d2024; }
.card-heading { display: flex; align-items: center; gap: 11px; margin-bottom: 22px; }
.card-heading > div { min-width: 0; flex: 1; }
.test-symbol { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #3b4246; background: #252b29; border-radius: 6px; color: var(--test-accent); flex-shrink: 0; }
.test-card:nth-child(2) .test-symbol { background: #242a36; border-color: #35415a; }
.card-title { font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.test-card .muted { margin-top: 3px; font-size: 9px; }
.card-performance { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.card-score { display: flex; flex-direction: column; gap: 6px; }
.card-score strong { font-size: 40px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-score > span { font-size: 10px; color: var(--muted); }
.card-net { display: flex; flex-direction: column; text-align: right; gap: 6px; }
.card-net .mono { font-size: 15px; }
.card-net small { font-size: 9px; color: var(--muted); }
.outcome-track { appearance: none; display: block; width: 100%; height: 4px; border: 0; background: #30343b; border-radius: 2px; overflow: hidden; margin: 0 0 20px; }
.outcome-track::-webkit-progress-bar { background: #30343b; }
.outcome-track::-webkit-progress-value { background: var(--test-accent); }
.outcome-track::-moz-progress-bar { background: var(--test-accent); }
.score-strip { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 21px; }
.score-strip div { display: flex; flex-direction: column; gap: 5px; }
.score-strip b { font: 15px var(--mono); }
.score-strip span { font-size: 9px; color: var(--muted); }
.card-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; color: #969eaa; font-size: 9px; }
.card-footer > span { display: flex; align-items: center; gap: 6px; }
.card-footer > span svg { width: 12px; height: 12px; }
.card-footer a { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; color: #e2e6ed; }
.card-footer a:hover { color: var(--test-accent); }
.card-footer svg { width: 14px; }
.subtle-label { font: 9px var(--mono); color: #9099a6; letter-spacing: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #16181c; scrollbar-color: #484f5a #191c21; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: 11px; min-width: 600px; }
th { font-size: 9px; font-weight: 500; color: #9fa7b4; background: #1d2025; padding: 13px 17px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 15px 17px; border-bottom: 1px solid #282c32; vertical-align: middle; color: #d3d8e1; }
tbody tr:hover { background: #1d2025; }
tr:last-child td { border-bottom: 0; }
td .mono { font-size: 10px; }
.coverage-value { color: var(--green); font: 10px var(--mono); }
.empty-cell { padding: 35px !important; text-align: center; color: var(--muted); font-size: 11px; }
.empty-cell svg { display: block; margin: 0 auto 12px; }
.page-footer { padding: 15px 36px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; color: #888f9b; font-size: 9px; }
.view-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 25px; margin-bottom: 24px; }
.view-tabs a { font-size: 11px; color: var(--muted); font-weight: 600; padding: 11px 0; border-bottom: 2px solid transparent; }
.view-tabs a.selected { color: var(--green); border-color: var(--green); }
.view-tabs.compact { border: 1px solid var(--line); padding: 3px; border-radius: 6px; background: #16181b; margin: 0; gap: 2px; }
.view-tabs.compact a { padding: 6px 10px; font-size: 10px; border: 0; border-radius: 3px; }
.view-tabs.compact a.selected { background: #2b3037; color: white; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); margin-bottom: 20px; }
.back-link:hover { color: var(--ink); }
.back-link svg { width: 14px; }
.heading-inline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.actions { display: flex; gap: 8px; align-items: center; }
.detail-heading { border-bottom: 1px solid var(--line); padding-bottom: 25px; margin-bottom: 0; }
.chart-area { position: relative; height: 285px; margin: 20px 0 24px; padding: 8px 0; }
.chart-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 11px; pointer-events: none; }
.chart-empty[hidden] { display: none; }
.chart-empty svg { width: 30px; height: 30px; }
.performance-section { border-bottom: 1px solid var(--line); }
.performance-section .section-heading { margin-top: 26px; }
.detail-columns { display: grid; grid-template-columns: 1fr 1.1fr; gap: 35px; }
.comparison { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.comparison > div { padding: 20px 15px 20px 0; border-right: 1px solid var(--line); }
.comparison > div:last-child { border: 0; padding-left: 20px; }
.comparison span { display: block; font-size: 10px; color: var(--muted); }
.comparison b { display: block; font-size: 27px; font-weight: 600; margin: 10px 0; }
.comparison small { font: 10px var(--mono); color: #b9c1cf; }
.definition-list { margin: 0; font-size: 10px; }
.definition-list > div { display: flex; gap: 15px; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; color: #cdd3dd; max-width: 70%; overflow-wrap: anywhere; }
.direction { font: 9px var(--mono); color: var(--muted); }
.direction.put { color: var(--coral); }
.direction.call { color: var(--green); }
.result { font-size: 9px; color: var(--muted); }
.result.win { color: var(--green); }
.result.loss { color: var(--coral); }
.result.tie { color: var(--orange); }
.pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 9px; color: var(--muted); }
.pagination > div { display: flex; gap: 12px; align-items: center; }
.pagination .icon-button { width: 28px; height: 28px; }
.export-section { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; padding: 26px 0 35px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-icon { width: 43px; height: 43px; border-radius: 7px; display: inline-grid; place-items: center; background: #c4f16b0c; border: 1px solid #c4f16b23; color: var(--green); margin-bottom: 16px; }
.export-section h2 { font-size: 21px; }
.export-section p.muted { font-size: 11px; margin-top: 6px; }
.export-facts { display: flex; flex-direction: column; gap: 12px; margin-top: 25px; color: var(--muted); font-size: 10px; }
.export-facts span { display: flex; align-items: center; gap: 9px; }
.export-facts svg { width: 15px; color: #849381; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack .button { align-self: flex-start; }
.stack .button.full { align-self: stretch; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; font-weight: 600; color: #c5cbd5; }
input, select { min-height: 43px; border: 1px solid #3a404a; border-radius: 6px; background: #191c21; color: #edf0f6; padding: 10px 12px; min-width: 0; width: 100%; font-size: 12px; }
input::placeholder { color: #767e8b; }
select { font-size: 11px; white-space: normal; }
input:focus, select:focus { border-color: #9bbb68; outline: 2px solid #c4f16b15; outline-offset: 1px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-note { color: var(--muted); font-size: 10px; line-height: 1.6; }
.small-button { font-size: 10px; min-height: 32px; padding: 6px 10px; }
.small-button svg { width: 13px; }
.user-name { display: flex; align-items: center; gap: 10px; }
.user-name b { font-size: 11px; }
.check-label { flex-direction: row; align-items: center; }
.check-label input { width: 16px; min-height: 16px; accent-color: var(--green); }
dialog { border: 1px solid #444b57; border-radius: 8px; background: #1c1f25; box-shadow: 0 30px 100px #0008; padding: 26px; width: min(450px,calc(100vw - 32px)); color: var(--ink); }
dialog::backdrop { background: #08090cbf; backdrop-filter: blur(5px); }
dialog p { font-size: 12px; color: var(--muted); margin: 14px 0 23px; }
.dialog-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dialog-heading .icon-button { border: 0; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; }
.delete-account { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.alert { display: flex; gap: 10px; align-items: center; padding: 13px 16px; font-size: 11px; border: 1px solid #c4f16b30; background: #c4f16b09; color: var(--green); border-radius: 5px; margin-bottom: 22px; }
.alert svg { width: 17px; }
.alert.error { color: var(--coral); border-color: #ff8e9133; background: #ff8e910a; }
.alert.neutral { background: #ffffff04; color: #c1c8d3; border-color: #3b424c; }
.account-section { max-width: 450px; }
.account-section h2 { margin-bottom: 22px; }
.public { background-color: #111315; background-image: linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px); background-size: 64px 64px; }
.public-main { padding: 0; max-width: none; }
.login-layout { min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 38px 24px; }
.login-brand { display: flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 800; }
.login-panel { width: 100%; max-width: 360px; margin: auto; padding: 45px 0; }
.login-emblem { background: #c4f16b0c; border: 1px solid #c4f16b30; color: var(--green); border-radius: 8px; width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 22px; }
.login-emblem svg { width: 25px; height: 25px; }
.login-panel h1 { font-size: 30px; line-height: 1.3; }
.login-panel > p { font-size: 12px; margin: 12px 0 30px; color: var(--muted); }
.login-panel input { min-height: 46px; }
.login-panel .button { min-height: 44px; }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 43px; }
.password-field .icon-button { position: absolute; right: 6px; top: 6px; background: none; border: 0; width: 33px; height: 34px; }
.password-field svg { width: 16px; }
.login-security { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 25px; color: var(--muted); font-size: 9px; }
.login-security svg { width: 13px; }
.login-foot { width: 100%; max-width: 390px; display: flex; justify-content: space-between; font-size: 9px; color: #8b929f; }
.error-page { max-width: 550px; margin: 70px auto; }
.error-page h1 { margin: 10px 0; }
.error-page p { margin-bottom: 20px; }
.empty { padding: 40px; color: var(--muted); grid-column: 1/-1; }
.empty svg { margin-bottom: 10px; }
.empty a { font-size: 11px; display: block; margin-top: 15px; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1500px) {
  main { padding: 42px 48px; }
  .topbar { padding: 0 48px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 208px; padding-left: 12px; padding-right: 12px; }
  .shell { margin-left: 208px; }
  main { padding: 28px 25px; }
  .topbar { padding: 0 25px; }
  .metric { padding: 22px 14px; }
  .metric > strong { font-size: 25px; }
  .pipeline-time { display: none; }
  .detail-columns { grid-template-columns: 1fr; gap: 0; }
  .export-section { gap: 25px; grid-template-columns: 1fr 1.5fr; }
  .brand { font-size: 14px; gap: 8px; }
  .brand-mark { width: 29px; height: 29px; }
  .test-card { padding-left: 18px; padding-right: 18px; }
  .card-heading { gap: 9px; flex-wrap: wrap; }
  .card-score strong { font-size: 35px; }
}
@media (max-width: 850px) {
  .sidebar { transform: translateX(-100%); width: 238px; transition: transform .2s; }
  .menu-open .sidebar { transform: translateX(0); box-shadow: 30px 0 90px #0009; }
  .shell { margin-left: 0; }
  .mobile-menu { display: flex !important; }
  .topbar { min-height: 62px; gap: 12px; padding: 12px 20px; }
  .breadcrumbs { margin-right: auto; font-size: 10px; }
  .topbar-right { gap: 10px; }
  .environment { display: none; }
  main { padding: 27px 20px; }
  .metrics-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric:nth-child(3) { padding-left: 0; }
  .metric > strong { font-size: 27px; }
  .page-footer { padding: 14px 20px; }
  .export-section { grid-template-columns: 1fr; gap: 25px; }
  .export-facts { flex-direction: row; flex-wrap: wrap; gap: 16px; margin-top: 15px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 15px; }
}
@media (max-width: 540px) {
  h1 { font-size: 25px; }
  .page-heading { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
  .page-heading .button { padding: 8px 10px; font-size: 10px; min-height: 36px; }
  .page-heading > div:first-child { min-width: 0; }
  .page-heading p.muted { font-size: 11px; }
  .eyebrow { font-size: 9px; }
  .test-grid { grid-template-columns: 1fr; gap: 16px; }
  .test-card { padding: 20px 20px 0; }
  .card-heading { flex-wrap: nowrap; }
  .card-title { font-size: 14px; }
  .card-score strong { font-size: 36px; }
  .metric { padding: 20px 12px; }
  .metric > span { font-size: 9px; }
  .metric small { line-height: 1.7; }
  .metric > strong { font-size: 25px; }
  .pipeline-band { gap: 10px; padding: 16px 0; }
  .pipeline-copy p { font-size: 9px; line-height: 1.8; }
  .pipeline-copy .separator { margin: 0 4px; }
  .pipeline-copy h2 { gap: 8px; }
  .pipeline-icon { width: 34px; height: 34px; }
  .detail-heading { flex-direction: column; margin-bottom: 0; }
  .detail-heading .actions { align-self: stretch; justify-content: flex-end; }
  .chart-area { height: 220px; }
  .comparison > div { padding: 16px 10px 16px 0; }
  .comparison > div:last-child { padding-left: 15px; }
  .comparison span { font-size: 9px; }
  .comparison b { font-size: 24px; }
  .section-heading { flex-wrap: wrap; }
  .view-tabs.compact a { font-size: 9px; padding: 6px 8px; }
  .subtle-label { font-size: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .page-footer { flex-direction: column; gap: 5px; font-size: 8px; }
  .timezone { padding-left: 10px; }
  .definition-list { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}