/* ===========================================================
   FLUX3 API — design tokens.
   Kept aligned with the destination's visual language so the
   CTA handoff does not feel like a different product.
   =========================================================== */

:root {
  --bg:            #F6F7F9;
  --surface:       #FFFFFF;
  --surface-sub:   #E8EAEE;
  --ink:           #16181D;
  --muted:         #6A707C;
  --border:        #E5E7EB;
  --border-strong: #D4D7DD;
  --slate:         #64748B;

  /* badge hues — rendered as solid text on the same hue at 12.5% alpha */
  --c-green:    #1EA802;
  --c-magenta:  #C70DED;
  --c-mint:     #00A87B;
  --c-amber:    #F9A825;
  --c-blue:     #0288D1;
  --c-slate:    #64748B;

  --radius:    8px;
  --radius-sm: 6px;
  --maxw:      1120px;

  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto,
          "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --mono: "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

/* in-page anchors: smooth scroll, offset so the sticky header
   doesn't cover the heading it lands on */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p  { margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ---------- header ---------- */

.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 247, 249, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.hdr-in { display: flex; align-items: center; gap: 32px; height: 64px; }

.logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.03em;
  text-decoration: none; flex-shrink: 0;
}
.logo-mark {
  width: 22px; height: 22px; border-radius: 5px; flex-shrink: 0;
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 4px;
}
.logo-mark i { background: #fff; border-radius: 1px; display: block; }
.logo-mark i:nth-child(2) { background: var(--c-magenta); }
.logo em { font-style: normal; color: var(--c-magenta); }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-size: 0.9375rem; color: var(--muted);
  transition: color .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-size: 0.9375rem; font-weight: 500;
  padding: 11px 20px; border-radius: var(--radius-sm);
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--muted); }
.btn-sm { padding: 8px 15px; font-size: 0.875rem; }

/* ---------- badges ---------- */

.badge {
  display: inline-block; font-size: 0.75rem; font-weight: 500;
  padding: 3px 9px; border-radius: 5px; white-space: nowrap;
  background: color-mix(in srgb, var(--c) 12.5%, transparent);
  color: var(--c);
}
.b-green   { --c: var(--c-green); }
.b-magenta { --c: var(--c-magenta); }
.b-mint    { --c: var(--c-mint); }
.b-amber   { --c: var(--c-amber); }
.b-blue    { --c: var(--c-blue); }
.b-slate   { --c: var(--c-slate); }

/* ---------- sections ---------- */

section { padding: 72px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 + p { margin-top: 12px; color: var(--muted); font-size: 1.0625rem; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}

/* ---------- hero ---------- */

.hero { padding: 80px 0 64px; }
.hero p.lede {
  margin-top: 20px; font-size: 1.1875rem; color: var(--muted);
  max-width: 620px; line-height: 1.55;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 0.875rem; color: var(--muted); }

/* ---------- stat strip ---------- */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-top: 56px;
}
.stat { background: var(--surface); padding: 22px 24px; }
.stat b { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.stat span { font-size: 0.8125rem; color: var(--muted); }

/* ---------- cards ---------- */

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

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9375rem; color: var(--muted); }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ---------- code block w/ CSS-only tabs ---------- */

.code { margin-top: 8px; position: relative; }
.code input { position: absolute; opacity: 0; pointer-events: none; }
.code-tabs {
  display: flex; gap: 4px; margin-bottom: -1px; position: relative; z-index: 1;
}
.code-tabs label {
  font-size: 0.8125rem; font-weight: 500; padding: 8px 15px; cursor: pointer;
  color: var(--muted); background: transparent;
  border: 1px solid transparent; border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.code-tabs label:hover { color: var(--ink); }
.code-pane { display: none; }

.code pre {
  margin: 0; background: var(--ink); color: #E6E8EC;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.8125rem; line-height: 1.7;
}
.code pre .k { color: #C7A6FF; }  /* keyword   */
.code pre .s { color: #9BE59B; }  /* string    */
.code pre .c { color: #7E8794; }  /* comment   */
.code pre .n { color: #7FC8F8; }  /* number/id */

/* tab wiring — panes carry explicit .p1/.p2/.p3 so the tab bar being a
   sibling div can't shift an nth-of-type match */
#t1:checked ~ .code-tabs label[for="t1"],
#t2:checked ~ .code-tabs label[for="t2"],
#t3:checked ~ .code-tabs label[for="t3"] {
  background: var(--ink); color: #fff;
}
#t1:checked ~ .p1,
#t2:checked ~ .p2,
#t3:checked ~ .p3 { display: block; }

/* keyboard focus ring on the visually hidden radios */
.code input:focus-visible ~ .code-tabs label[for] { outline: 2px solid var(--c-blue); outline-offset: 2px; }

/* ---------- tables ---------- */

.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; min-width: 520px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); }
th { font-weight: 500; font-size: 0.8125rem; color: var(--muted); background: #FAFBFC; }
tr:last-child td { border-bottom: none; }
td code, p code, li code {
  font-family: var(--mono); font-size: 0.8125em;
  background: var(--surface-sub); padding: 2px 6px; border-radius: 4px;
}

/* ---------- pricing ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column;
}
.plan.featured { border-color: var(--ink); }
.plan h3 { font-size: 1rem; }
.plan .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin: 10px 0 2px; }
.plan .price span { font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; font-size: 0.9375rem; }
.plan li { padding: 6px 0 6px 22px; position: relative; color: var(--muted); }
.plan li::before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-green);
}
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */

.faq { max-width: 760px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 500; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 1.25rem; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #A8AEB8; margin-top: 12px; max-width: 480px; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--ink); margin-top: 26px; }
.cta-band .btn-primary:hover { background: #E6E8EC; }

/* ---------- legal / prose pages ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.375rem; margin: 40px 0 12px; }
.prose h3 { font-size: 1rem; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 0.9375rem; }
.prose p { margin-bottom: 14px; }
.prose ul { padding-left: 20px; margin: 0 0 14px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--c-blue); }
.prose .updated {
  display: inline-block; font-size: 0.8125rem; color: var(--muted);
  background: var(--surface-sub); padding: 4px 10px; border-radius: var(--radius-sm);
  margin-bottom: 8px;
}
.prose .callout {
  background: color-mix(in srgb, var(--c-amber) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--c-amber) 35%, transparent);
  border-radius: var(--radius); padding: 16px 18px; margin: 24px 0;
}
.prose .callout p { margin: 0; color: var(--ink); font-size: 0.9375rem; }

/* ---------- footer ---------- */

.ftr { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 24px; }
.ftr-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.ftr h4 { font-size: 0.8125rem; font-weight: 500; color: var(--muted); margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 8px; }
.ftr a { font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
.ftr a:hover { color: var(--ink); }
.ftr-note {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.875rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .grid-3, .plans { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  section { padding: 56px 0; }
  .cta-band { padding: 36px 24px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .ftr-cols { grid-template-columns: 1fr; }
}

/* ===========================================================
   Application UI — auth, dashboard, forms.
   Additive to the marketing tokens above; nothing here
   restyles an existing marketing class.
   =========================================================== */

:root {
  --c-red: #DC2626;
  --focus: 0 0 0 3px color-mix(in srgb, var(--c-blue) 30%, transparent);
}

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

/* ---------- header additions ---------- */

.hdr-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hdr-cta form { margin: 0; }
.hdr-link { font-size: 0.9375rem; color: var(--muted); text-decoration: none; }
.hdr-link:hover { color: var(--ink); }
.hdr-user {
  font-size: 0.9375rem; color: var(--muted); max-width: 18ch;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Hamburger. Hidden until the nav collapses at 900px. */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 38px; height: 38px; padding: 0 9px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 1px; }

/* ---------- forms ---------- */

.field { display: block; margin-bottom: 16px; }
.field > label {
  display: block; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 6px; color: var(--ink);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select,
.filters select {
  width: 100%; font-family: var(--font); font-size: 0.9375rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 10px 13px;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder { color: #9AA1AC; }
.field input:focus-visible,
.field select:focus-visible,
.filters select:focus-visible {
  outline: none; border-color: var(--c-blue); box-shadow: var(--focus);
}
.field input[aria-invalid="true"] { border-color: var(--c-red); }

.field-error { margin-top: 6px; font-size: 0.8125rem; color: var(--c-red); }
.field-hint  { margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }

.check { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 20px; font-size: 0.9375rem; }
.check input { margin-top: 4px; accent-color: var(--ink); flex-shrink: 0; }
.check span { color: var(--muted); }
.check a { color: var(--c-blue); }

.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-danger { background: var(--c-red); color: #fff; }
.btn-danger:hover { background: #B91C1C; }
.btn.is-armed { background: var(--c-red); color: #fff; border-color: var(--c-red); }

.btn-link {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font); font-size: 0.875rem; color: var(--c-blue); text-decoration: underline;
}
.btn-link-danger {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font); font-size: 0.875rem; color: var(--c-red);
}
.btn-link-danger:hover { text-decoration: underline; }

.confirm-notice {
  margin-top: 10px; font-size: 0.8125rem; color: var(--c-red);
  flex-basis: 100%;
}

.inline-form { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.inline-form .field { margin-bottom: 0; flex: 1 1 260px; }
.stack .field:last-of-type { margin-bottom: 20px; }

/* ---------- auth ---------- */

.auth { padding: 64px 0 80px; }
.auth-card {
  max-width: 440px; margin: 0 auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
}
.auth-card h1 { font-size: 1.625rem; }
.auth-card > .muted { margin: 8px 0 24px; font-size: 0.9375rem; }
.auth-alt { margin-top: 20px; text-align: center; font-size: 0.9375rem; }
.auth-alt a { color: var(--c-blue); }

/* ---------- alerts ---------- */

.alert {
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px;
  font-size: 0.9375rem; border: 1px solid transparent;
}
.alert-ok {
  background: color-mix(in srgb, var(--c-green) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--c-green) 35%, transparent);
}
.alert-bad {
  background: color-mix(in srgb, var(--c-red) 8%, var(--surface));
  border-color: color-mix(in srgb, var(--c-red) 32%, transparent);
}
.alert-bad ul { margin: 8px 0 0; padding-left: 20px; }
.alert-bad li { margin-bottom: 4px; }
.alert-key {
  background: color-mix(in srgb, var(--c-amber) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--c-amber) 40%, transparent);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}
.alert-key .muted { font-size: 0.875rem; margin-top: 2px; }
.key-reveal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.key-reveal code {
  font-family: var(--mono); font-size: 0.8125rem; word-break: break-all;
  background: var(--ink); color: #9BE59B; padding: 9px 12px; border-radius: var(--radius-sm);
}

/* ---------- dashboard shell ---------- */

.dash-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding: 40px 0 28px;
}
.dash-head h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.dash-head .muted { margin-top: 8px; font-size: 0.9375rem; }

/* ---------- metric tiles ---------- */

.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; margin-bottom: 24px;
}
.metrics-flush { margin-bottom: 0; border: 0; border-radius: 0; }
.metric { background: var(--surface); padding: 20px 22px; }
.metric > span { display: block; font-size: 0.8125rem; color: var(--muted); }
.metric > b {
  display: block; font-size: 1.75rem; font-weight: 700;
  letter-spacing: -0.03em; margin: 4px 0 6px;
}
.metric small { font-size: 0.8125rem; }

.meter {
  height: 5px; border-radius: 3px; background: var(--surface-sub);
  overflow: hidden; margin: 0 0 7px;
}
.meter i { display: block; height: 100%; background: var(--c-green); border-radius: 3px; }

/* ---------- panels ---------- */

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; margin-bottom: 24px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.panel-head h2 { font-size: 1.0625rem; font-weight: 700; }
.panel-link { font-size: 0.875rem; color: var(--c-blue); text-decoration: none; }
.panel-link:hover { text-decoration: underline; }
.panel-danger { border-color: color-mix(in srgb, var(--c-red) 35%, transparent); }
.panel-danger .panel-head h2 { color: var(--c-red); }
.panel > .tbl-wrap { border-radius: var(--radius-sm); }

.empty { text-align: center; padding: 36px 20px; }
.empty p { font-size: 0.9375rem; }
.empty p + p { margin-top: 6px; }

/* ---------- bar chart ---------- */

.chart {
  display: flex; align-items: flex-end; gap: 3px;
  height: 140px; padding: 0 2px;
}
.chart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.chart-col i {
  display: block; width: 100%; border-radius: 2px 2px 0 0;
  background: var(--ink); opacity: .82; transition: opacity .15s;
}
.chart-col:hover i { opacity: 1; background: var(--c-magenta); }
.chart-axis {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; margin-top: 10px;
}

/* ---------- tables in the app ---------- */

.row-muted td { opacity: .55; }
.row-actions { text-align: right; white-space: nowrap; }
.row-actions form { margin: 0; }
.cell-clip { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filters select { width: auto; padding: 7px 11px; font-size: 0.875rem; }

.pager { margin-top: 16px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page {
  font-size: 0.875rem; text-decoration: none; padding: 7px 14px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--ink);
}
.page:hover { border-color: var(--muted); }
.page.disabled { opacity: .45; pointer-events: none; }
.page-status { font-size: 0.8125rem; }

/* ---------- settings ---------- */

.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.settings-grid .panel { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
.facts dt { font-size: 0.8125rem; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-size: 0.9375rem; font-weight: 500; }

/* ---------- code snippet outside the tabbed block ---------- */

.snippet {
  margin: 14px 0 0; background: var(--ink); color: #E6E8EC;
  border-radius: var(--radius-sm); padding: 16px; overflow-x: auto;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1.65;
}
.snippet code { background: none; padding: 0; font-size: inherit; color: inherit; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .hdr-in { gap: 14px; }
  .hdr-user { display: none; }

  /* The marketing rule hides .nav at this width; the toggle re-shows it as
     a stacked sheet under the bar. */
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px; margin: 0;
  }
  .nav.is-open a { padding: 11px 0; border-bottom: 1px solid var(--border); }
  .nav.is-open a:last-child { border-bottom: 0; }

  .dash-head { padding: 28px 0 22px; }
  .cell-clip { max-width: 160px; }
}

@media (max-width: 560px) {
  .metrics, .facts { grid-template-columns: 1fr; }
  .alert-key { flex-direction: column; align-items: stretch; }
  .chart { height: 110px; gap: 2px; }
}
