/* border-waits page. Renders on its own (the project repo has no site CSS), so it carries copies of
   the site's token block (spec 7.1, 7.11) and of assets/css/demo-shell.css. Diff both at each sync. */
/* ---- tokens (§7.1). Demo pages carry a copy of this block (§7.11). ---- */
/* Tokens for brettadams0.github.io. Dark only. Demo pages copy this :root block (spec 7.11). */
:root {
  color-scheme: dark;

  /* Colour: existing values, unchanged */
  --bg: #0b0f14;
  --bg-2: #0e141b;
  --surface: #131a22;
  --surface-2: #18212b;
  --border: #222c38;
  --border-strong: #2f3b4a;
  --text: #e7ecf2;
  --soft: #c4ccd6;
  --muted: #8695a7;
  --faint: #5a6878;        /* list markers and control edges only; never words (3.37:1 on --bg) */
  --amber: #ffb454;
  --amber-hi: #ffc97f;
  --teal: #4fd6c4;
  --red: #ef6a5f;
  --good: #3ccf6e;

  /* Colour: new */
  --dim: #7b8a9c;          /* words that used --faint; >= 4.61:1 on every background */
  --good-text: #9fe3b7;    /* text on green washes: status line, Live demo badge */
  --on-amber: #1a1206;     /* text on --amber / --amber-hi fills */
  --term: var(--bg-2);     /* terminal and code panels */
  --focus: var(--amber);
  --amber-line: rgba(255, 180, 84, 0.5);
  --amber-wash: rgba(255, 180, 84, 0.1);
  --good-line: rgba(60, 207, 110, 0.3);
  --good-wash: rgba(60, 207, 110, 0.07);

  /* Type */
  --sans: "IBM Plex Sans", "IBM Plex Sans Fallback", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", "IBM Plex Mono Fallback", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --fs-xs: 0.75rem;                            /* 12px */
  --fs-sm: 0.875rem;                           /* 14px */
  --fs-base: 1rem;                             /* 16px */
  --fs-md: 1.0625rem;                          /* 17px */
  --fs-lg: 1.1875rem;                          /* 19px */
  --fs-xl: 1.375rem;                           /* 22px */
  --fs-2xl: clamp(2rem, 5vw, 2.75rem);         /* 32–44px */
  --fs-3xl: clamp(1.625rem, 4.5vw, 3rem);      /* 26–48px */
  --fs-display: clamp(2.75rem, 6vw, 4.5rem);   /* 44–72px */
  --lh-tight: 1.1;
  --lh-snug: 1.3;
  --lh-base: 1.6;
  --lh-loose: 1.75;
  --tracking-tight: -0.03em;
  --tracking-caps: 0.08em;

  /* Space (4 px base) */
  --space-1: 0.25rem;   /* 4 */
  --space-2: 0.5rem;    /* 8 */
  --space-3: 0.75rem;   /* 12 */
  --space-4: 1rem;      /* 16 */
  --space-5: 1.25rem;   /* 20 */
  --space-6: 1.5rem;    /* 24 */
  --space-7: 2rem;      /* 32 */
  --space-8: 3rem;      /* 48 */
  --space-9: 4rem;      /* 64 */
  --space-10: 5.5rem;   /* 88 */

  /* Layout */
  --container: 1200px;
  --container-demo: 1320px;
  --container-post: 760px;
  --gutter: 24px;
  --header-h: 56px;

  /* Shape and layers */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow-focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--focus);
  --z-header: 10;
  --z-skip: 20;

  /* Motion (section 9) */
  --dur-fast: 120ms;
  --dur: 180ms;
  --dur-slow: 240ms;
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; --dur-slow: 0ms; }
}

/* IBM Plex, self-hosted (7.5). Files are Google Fonts' latin subsets, byte for byte. Licence: ../fonts/OFL.txt */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks: shown until Plex arrives, sized so no line re-wraps on swap (7.5). */
@font-face {
  font-family: "IBM Plex Sans Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 100.3%;
  ascent-override: 102.2%;
  descent-override: 27.4%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "IBM Plex Sans Fallback";
  font-weight: 600 700;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold");
  size-adjust: 98%;
  ascent-override: 104.6%;
  descent-override: 28.1%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "IBM Plex Mono Fallback";
  src: local("Courier New"), local("CourierNewPSMT"), local("Liberation Mono");
  size-adjust: 100%;
  ascent-override: 102.5%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}
/* ---- end tokens ---- */

/* ---- copy of /assets/css/demo-shell.css ---- */
/* assets/css/demo-shell.css: the shared shell for demo pages (spec section 8.20).
   Shell layout only. It defines no tokens: it reads the page's own :root (section 7.1, 7.11). */

/* Utilities the shell and the page share */
.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; }
.prefix { color: var(--amber); white-space: pre; }   /* section 7.10 */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.demo-links a:focus-visible, .demo-source a:focus-visible, .footer-links a:focus-visible { outline-offset: 2px; }
main:focus { outline: none; }

/* Skip link (as site.css, with tokens) */
.skip-link {
  position: absolute; left: var(--space-4); top: -48px; z-index: var(--z-skip);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  background: var(--amber); color: var(--bg); text-decoration: none;
}
.skip-link:focus { top: var(--space-3); }

/* Header row: crumb left, links right. Not sticky. */
.demo-shell { border-bottom: 1px solid var(--border); }
.demo-shell-inner, .demo-foot-inner {
  max-width: var(--container-demo); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter);
}
.demo-shell-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-2) var(--space-4); min-height: 52px;
}
.demo-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin: 0; font: 500 var(--fs-sm) var(--mono); }
.demo-sep { color: var(--dim); }
.demo-name { color: var(--text); }
.demo-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-5); font-size: var(--fs-sm); }
.demo-back, .demo-links a, .demo-source a, .footer-links a {
  display: inline-flex; align-items: center; min-height: 24px;
  color: var(--muted); text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.demo-back:hover, .demo-links a:hover, .demo-source a:hover, .footer-links a:hover { color: var(--text); }
.demo-back:active, .demo-links a:active, .demo-source a:active { color: var(--amber); }
.demo-links .demo-resume {   /* as .nav-resume, section 8.1 */
  min-height: 36px; padding: 0 14px; border: 1px solid var(--amber-line); border-radius: var(--radius);
  color: var(--amber); font-weight: 500;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.demo-links .demo-resume:hover { background: var(--amber-wash); color: var(--amber-hi); }
.demo-links .demo-resume:active { background: rgba(255, 180, 84, 0.16); }

/* How it works */
.demo-how { max-width: var(--container-post); margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--border); }
.demo-how h2 { margin: 0 0 var(--space-3); font-size: var(--fs-sm); font-weight: 600; }
.demo-how ul:not(.chips) { margin: 0 0 var(--space-4); padding-left: 1.1em; color: var(--soft); }
.demo-how ul:not(.chips) li { margin: 5px 0; }
.demo-how ul:not(.chips) li::marker { color: var(--faint); }
.demo-how p a, .demo-how li a { color: var(--muted); }
.demo-source { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-5); margin: var(--space-4) 0 0; font-weight: 500; }

/* Chips (as section 8.10): the version chip */
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 3px 9px; border: 1px solid var(--border); border-radius: var(--radius-pill);
  background: var(--bg-2); color: var(--soft); font: var(--fs-xs) / 1.5 var(--mono);
  white-space: normal; overflow-wrap: anywhere;
}

/* Footer */
.demo-foot { margin-top: var(--space-8); border-top: 1px solid var(--border); color: var(--muted); font-size: var(--fs-sm); }
.demo-foot-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-3) var(--space-6); padding-top: var(--space-6); padding-bottom: var(--space-7);
}
.demo-foot p { margin: 0; }
.demo-foot p > a { color: var(--muted); }   /* running text: keeps its underline */
.demo-foot p > a:hover { color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 var(--space-6); }

@media (max-width: 640px) {
  .demo-shell-inner { flex-direction: column; align-items: flex-start; gap: 0; padding-top: var(--space-1); padding-bottom: var(--space-1); }
  .demo-back, .demo-links a, .demo-source a, .footer-links a, .demo-links .demo-resume { min-height: 44px; }
  .demo-foot-inner { flex-direction: column; align-items: flex-start; }
}
/* ---- end demo-shell copy ---- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--sans); }
a { color: var(--amber); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber-hi); }
code, pre, textarea { font-family: var(--mono); font-size: 0.9em; }
code { overflow-wrap: anywhere; }
.wrap { max-width: var(--container-demo); margin: 0 auto; padding: 0 var(--gutter); }

.intro { padding: 28px 0 8px; max-width: 860px; }
h1 { margin: 0 0 8px; font: 600 30px/1.2 var(--mono); letter-spacing: -0.01em; }
h2 { margin: 0 0 10px; font: 600 var(--fs-md)/1.3 var(--mono); }
.lede { margin: 0 0 6px; color: var(--soft); font-size: var(--fs-md); }
.actions { margin: 14px 0 0; }
.flow { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-size: var(--fs-sm); color: var(--muted); }
.flow li + li::before { content: "→ "; color: var(--dim); }
.note { margin: 10px 0 0; color: var(--muted); font-size: var(--fs-sm); }
/* One row for the state of the data: a notice with its action when something is off, else the collecting line. */
.state { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; min-height: 1.5em; }
.state button { min-height: 36px; padding: 4px 12px; }
.state [role="status"] { margin: 0; min-height: 0; color: inherit; }
.state span:empty { display: none; }

section.block { margin: 22px 0; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); scroll-margin-top: 12px; }
.scroll { overflow-x: auto; max-width: 100%; }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-sm); }
caption { text-align: left; color: var(--muted); padding: 0 0 6px; }
th, td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
td.num { text-align: right; font-variant-numeric: tabular-nums; }
.closed, .closed b { color: var(--red); }
.none { color: var(--dim); }

/* Latest estimates: a schematic of the river, then the table with a meter per reading. */
.map { margin: 12px 0 16px; text-align: center; }
.map > p { margin: 0; padding: 4px 0; color: var(--muted); font: 500 var(--fs-xs)/1.4 var(--mono); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.river { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: 1fr 26px auto auto; }
.x { display: contents; }
.way { display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 6px 4px; color: var(--muted); font-size: var(--fs-xs); }
.way + i + .way { justify-content: flex-start; }
.way small { color: var(--dim); font-size: inherit; }
.way b { color: var(--text); font: 600 var(--fs-sm)/1.3 var(--mono); }
.way b.off { color: var(--muted); }
.x > i { position: relative; background: rgba(79, 214, 196, 0.1); border-block: 1px solid rgba(79, 214, 196, 0.3); }   /* the river, crossed by */
.x > i::before { content: ""; position: absolute; inset: -5px auto -5px calc(50% - 3px); width: 6px; border-radius: 3px; background: var(--muted); }   /* a crossing */
.x strong { padding: 0 4px 6px; font: 600 var(--fs-xs)/1.3 var(--mono); }

#now-table th[scope="rowgroup"] { padding-top: 14px; border-bottom-color: var(--border-strong); font: 600 var(--fs-sm)/1.3 var(--mono); }
#now-table th[scope="row"] { font-weight: 400; color: var(--soft); }
#now-table td { width: 34%; text-align: left; }
#now-table b { display: block; font: 600 var(--fs-base)/1.35 var(--mono); }
#now-table small { display: block; color: var(--muted); font-size: var(--fs-xs); }
#now-table .old small { color: var(--amber); }
.meter { display: block; height: 6px; margin: 4px 0; border-radius: 3px; background: var(--bg-2); overflow: hidden; }
.meter::before { content: ""; display: block; width: var(--w, 0); height: 100%; border-radius: 3px; background: var(--teal); }

/* Hours at a glance: one row of 24 squares per lane. */
.heat h3 { margin: 12px 0 4px; font: 600 var(--fs-sm)/1.3 var(--mono); }
.heat button { display: grid; grid-template-columns: 11.5rem 1fr; align-items: center; gap: 4px 10px; width: 100%; min-height: 28px; padding: 3px 6px; border-color: transparent; background: none; color: var(--soft); font-size: var(--fs-xs); text-align: left; }
.heat button:hover { background: var(--surface-2); border-color: var(--border); }
.heat button[aria-pressed="true"] { border-color: var(--amber-line); background: var(--amber-wash); color: var(--text); }
.cells, .scale { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.cells i, .heat .note i { height: 14px; border-radius: 2px; background: color-mix(in oklab, var(--teal) var(--p), var(--surface-2)); }
.cells i.no, .heat .note i.no { background: none; outline: 1px dashed var(--border); outline-offset: -1px; }
.scale { margin: 4px 6px 0 calc(11.5rem + 16px); color: var(--muted); font: var(--fs-xs)/1.2 var(--mono); }
.scale span:nth-child(2) { grid-column: 7; } .scale span:nth-child(3) { grid-column: 13; } .scale span:nth-child(4) { grid-column: 19; }
.scale span:nth-child(5) { grid-column: 21 / 25; text-align: right; }
.heat .note i { display: inline-block; width: 14px; margin: 0 4px 0 10px; vertical-align: -2px; }
.heat .note i:first-child { margin-left: 0; }
@media (max-width: 640px) {
  .heat button { grid-template-columns: 1fr; min-height: 40px; }
  .scale { margin-left: 6px; }
}

.pickers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 10px; }
label { color: var(--soft); font-size: var(--fs-sm); }
.hint { color: var(--dim); font-size: var(--fs-xs); margin-left: 6px; }
select, button, .button, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; }
select, button, .button { min-height: 44px; padding: 6px 12px; max-width: 100%; }
select:hover { border-color: var(--border-strong); }
button, .button { cursor: pointer; border-color: var(--amber); color: var(--amber);
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.button { display: inline-flex; align-items: center; text-decoration: none; font-weight: 500; }
button:hover, .button:hover { background: var(--amber-wash); color: var(--amber-hi); }
button:active, .button:active { background: rgba(255, 180, 84, 0.2); }
button.quiet { border-color: var(--border-strong); color: var(--soft); }
button.quiet:hover { background: var(--surface-2); color: var(--text); }
button:disabled, button:disabled:hover { cursor: not-allowed; border-color: var(--border); background: var(--bg); color: var(--dim); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
#chart { height: 240px; }
svg.chart { display: block; max-width: 100%; }
.chart .band { fill: var(--teal); opacity: 0.18; }
.chart .band.one { fill: none; stroke: var(--teal); stroke-width: 8; stroke-linecap: round; }
.chart .median { fill: none; stroke: var(--teal); stroke-width: 2; }
.chart .dot { fill: var(--teal); stroke: var(--surface); stroke-width: 2; }
.chart .dot.few { fill: var(--surface); stroke: var(--teal); stroke-width: 1.5; }
.chart .gap { stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.chart .axis { stroke: var(--border-strong); }
.chart text { fill: var(--muted); font: 11px var(--mono); }
details { margin-top: 10px; }
summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--soft); }
summary:hover { color: var(--text); }

.badge { display: inline-block; padding: 0 6px; border-radius: 4px; font: 500 var(--fs-xs)/1.6 var(--mono); border: 1px solid currentColor; }
.badge.stale, .badge.error, .badge.failing { color: var(--red); }
.badge.warn, .badge.delayed, .badge.snapshot { color: var(--amber); }
.badge.pass, .badge.live { color: var(--good); }
#pipeline p, #pipeline-more p { margin: 0 0 8px; }
#pipeline-more ul { margin: 0 0 8px; padding-left: 1.1em; color: var(--soft); font-size: var(--fs-sm); }
#pipeline-more li { margin: 5px 0; }
/* Runs over the last 7 days: a tick per run, the longest gap shaded. */
.runs { position: relative; height: 46px; margin: 12px 0 0; border-bottom: 1px solid var(--border-strong); overflow: hidden; }
.runs i { position: absolute; top: 0; width: 2px; height: 26px; margin-left: -1px; border-radius: 1px; background: var(--teal); }
.runs b { position: absolute; top: 0; height: 26px; background: var(--amber-wash); border-inline: 1px solid var(--amber-line); }
.runs span { position: absolute; bottom: 2px; transform: translateX(-50%); color: var(--muted); font: var(--fs-xs)/1.2 var(--mono); }

/* How it works: four steps, each with a number from the last run. */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.how > div { padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-2); }
.how h3 { margin: 0 0 2px; color: var(--muted); font: 500 var(--fs-xs)/1.3 var(--mono); letter-spacing: var(--tracking-caps); text-transform: uppercase; }
.how b { display: block; margin: 0 0 6px; font: 600 var(--fs-lg)/1.3 var(--mono); }
.how p { margin: 0; color: var(--soft); font-size: var(--fs-sm); }

textarea { display: block; width: 100%; min-height: 11em; margin-top: 4px; padding: 8px; resize: vertical; }
/* A row of controls wraps, and no control is ever wider than the row: a long option can't push the page sideways. */
.console-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 8px 0; }
.console-row label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 15rem; min-width: 0; }
.console-row select { width: 100%; min-width: 0; }
[role="status"] { margin: 8px 0; color: var(--soft); font-size: var(--fs-sm); min-height: 1.4em; overflow-wrap: anywhere; }
[role="status"].err { color: var(--red); }
/* Results scroll inside their own box, both ways, under a header that stays put. */
#sql-result .scroll { max-height: 30rem; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
#sql-result caption { padding: 8px; }
#sql-result thead th { position: sticky; top: 0; background: var(--surface-2); }
#sql-result td, #sql-result th { max-width: 28rem; overflow-wrap: anywhere; }
#sql-result td, #sql-result th { white-space: nowrap; }
#sql-result td:not(.num):not(.none) { white-space: normal; min-width: 8ch; }
#sql-result[aria-busy="true"] { opacity: 0.55; }
.live-badge { margin: 12px 0 0; color: var(--soft); font: var(--fs-sm)/1.5 var(--mono); }
/* Reserved space, so nothing moves when the data arrives (CLS): each box's measured height with data
   at 1440, 768 and 390 px. Re-measure when the content of a box changes. */
#live-badge { min-height: 1.5em; }
#now-note { min-height: 1.6em; }
.map { min-height: 245px; }
.heat { min-height: 477px; }
#chart-key { min-height: 1.6em; }
#chart-days { min-height: 3.1em; }
#pipeline { min-height: 157px; }
#how { min-height: 161px; }
@media (max-width: 900px) {
  #now-note { min-height: 3.1em; }
  .map { min-height: 260px; }
  #chart-days { min-height: 4.7em; }
  #pipeline { min-height: 179px; }
  #how { min-height: 377px; }
}
@media (max-width: 640px) {
  #live-badge { min-height: 3em; }
  #now-note { min-height: 4.7em; }
  .map { min-height: 350px; }
  .heat { min-height: 697px; }
  #chart-key { min-height: 4.7em; }
  #chart-days { min-height: 9.3em; }
  #pipeline { min-height: 224px; }
  #how { min-height: 593px; }
}
