/* Listener site · "Calm Glass" visual layer (design/B-calm-glass tokens.css + ui.css are the source).
   One accent (emerald). Red is the ON AIR tally and real errors only. Real blur on two surfaces only:
   the hero card and the player bar; every other card is the same tint without backdrop-filter.

   Contrast: every colour pair used here was measured (WCAG 2.x, translucent layers composited, worst
   surface, both themes): text >= 4.5:1; control boundaries, focus ring, slider parts, switch parts and
   the tally >= 3:1. The audit script parses the two "@theme" blocks below - re-run it after changing a
   token. Three values differ from B on purpose, all for contrast on this page:
     --ambient-a  dark wash is fainter so the red tally keeps 3:1 against the hero glass;
     --glass-3    the player bar is denser, because page content scrolls underneath it;
     range track  the unfilled part is drawn in --border-control (>= 3:1), not as a faint groove.
   Added with the listener features (calendar, share a moment, transcript search, install, sleep timer):
     --mark       tint behind a search match in a transcript; matches are also underlined, and the current
                  match is an emerald fill with an outline, so a match is never shown by colour alone.
     --scrim      dimming behind the two small sheets (share, sleep timer).
   The sheets and the sticky search bar are opaque (--glass-3-solid, the toast's surface), so their pairs
   do not depend on what scrolls behind them. */

/* @theme dark */
:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --ambient-a: rgba(52, 211, 153, 0.10);
  --ambient-b: rgba(150, 170, 205, 0.12);

  --glass-1: rgba(255, 255, 255, 0.05);
  --glass-1-hover: rgba(255, 255, 255, 0.09);
  --glass-2: rgba(255, 255, 255, 0.085);
  --glass-3: rgba(30, 34, 39, 0.86);
  --glass-1-solid: #15181b;
  --glass-2-solid: #1c1f23;
  --glass-3-solid: #1e2227;
  --well: rgba(0, 0, 0, 0.28);
  --well-solid: #0f1114;

  --hairline: rgba(255, 255, 255, 0.10);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --border-control: #7f8690;
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);

  --text-1: #f4f5f6;
  --text-2: #c2c7ce;
  --text-3: #9ca3ac;

  --accent: #34d399;
  --accent-fill: #10b981;
  --accent-fill-hover: #34d399;
  --on-accent: #04150d;
  --accent-tint: rgba(52, 211, 153, 0.14);
  --mark: rgba(52, 211, 153, 0.30);
  --scrim: rgba(0, 0, 0, 0.56);

  --on-air: #ff9087;
  --on-air-fill: #dd362b;
  --on-on-air: #ffffff;

  --focus-ring: #7ff0bd;

  --elev-1: 0 1px 2px rgba(0, 0, 0, 0.24);
  --elev-2: 0 1px 2px rgba(0, 0, 0, 0.28), 0 14px 32px -16px rgba(0, 0, 0, 0.55);
  --elev-3: 0 2px 6px rgba(0, 0, 0, 0.30), 0 28px 64px -20px rgba(0, 0, 0, 0.70);
}

@media (prefers-color-scheme: light) {
  /* @theme light */
  :root {
    color-scheme: light;
    --bg: #eceef1;
    --ambient-a: rgba(6, 122, 82, 0.07);
    --ambient-b: rgba(255, 255, 255, 0.70);

    --glass-1: rgba(255, 255, 255, 0.58);
    --glass-1-hover: rgba(255, 255, 255, 0.90);
    --glass-2: rgba(255, 255, 255, 0.76);
    --glass-3: rgba(250, 251, 252, 0.86);
    --glass-1-solid: #f7f8f9;
    --glass-2-solid: #fbfbfc;
    --glass-3-solid: #f8f9fa;
    --well: rgba(20, 28, 38, 0.06);
    --well-solid: #e6e9ec;

    --hairline: rgba(15, 23, 32, 0.09);
    --hairline-strong: rgba(15, 23, 32, 0.15);
    --border-control: #767d87;
    --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.80);

    --text-1: #15181b;
    --text-2: #444a52;
    --text-3: #5a6069;

    --accent: #046645;
    --accent-fill: #067a52;
    --accent-fill-hover: #056b48;
    --on-accent: #ffffff;
    --accent-tint: rgba(6, 122, 82, 0.11);
    --mark: rgba(6, 122, 82, 0.20);
    --scrim: rgba(15, 23, 32, 0.44);

    --on-air: #b3211a;
    --on-air-fill: #cf2a20;
    --on-on-air: #ffffff;

    --focus-ring: #046645;

    --elev-1: 0 1px 2px rgba(16, 24, 40, 0.05);
    --elev-2: 0 1px 2px rgba(16, 24, 40, 0.05), 0 14px 32px -18px rgba(16, 24, 40, 0.16);
    --elev-3: 0 2px 6px rgba(16, 24, 40, 0.07), 0 28px 64px -24px rgba(16, 24, 40, 0.26);
  }
}

/* theme-independent tokens */
:root {
  --material-1: var(--glass-1);
  --material-1-hover: var(--glass-1-hover);
  --material-2: var(--glass-2);
  --material-3: var(--glass-3);
  --material-well: var(--well);
  --blur-2: 24px;
  --blur-3: 32px;

  --font-display: "SF Pro Display", "Segoe UI Variable Display", "Segoe UI Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-text: "SF Pro Text", "Segoe UI Variable Text", "Segoe UI Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --numeric: tabular-nums lining-nums;

  --body: 1rem;
  --callout: .9375rem;
  --label: .875rem;
  --caption: .8125rem;

  --r-sm: 10px; --r-md: 14px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;
  --dur-1: 120ms; --dur-2: 200ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --gutter: clamp(16px, 4vw, 32px);
  --page-max: 1120px;
  --bar-h: 0px;                          /* height of the sticky player, set by app.js */
}

/* user preferences: solid materials instead of glass */
@media (prefers-reduced-transparency: reduce) {
  :root {
    --material-1: var(--glass-1-solid); --material-1-hover: var(--glass-2-solid); --material-2: var(--glass-2-solid); --material-3: var(--glass-3-solid);
    --material-well: var(--well-solid);
    --ambient-a: transparent; --ambient-b: transparent;
  }
}
@media (prefers-contrast: more) {
  :root {
    --hairline: var(--border-control); --hairline-strong: var(--border-control);
    --material-1: var(--glass-1-solid); --material-1-hover: var(--glass-2-solid); --material-2: var(--glass-2-solid); --material-3: var(--glass-3-solid);
    --material-well: var(--well-solid);
  }
}
@supports (corner-shape: squircle) {
  :root { --corner: squircle; --r-md: 20px; --r-lg: 34px; --r-xl: 46px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--find-h, 0px) + 16px); scroll-padding-bottom: calc(var(--bar-h) + 16px); }   /* --find-h: sticky transcript search bar, set by app.js */
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text-1);
  font: 400 var(--body)/1.5 var(--font-text);
  -webkit-font-smoothing: antialiased;
  padding: 0 var(--gutter) 32px;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  padding-bottom: calc(var(--bar-h) + 32px);
}
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus { outline-color: var(--focus-ring); }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
a:focus-visible { border-radius: 6px; }
main:focus-visible { outline-offset: -3px; border-radius: 12px; }
h2:focus-visible, h4:focus-visible { border-radius: 6px; }

.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; }
.skip {
  position: absolute; left: 12px; top: 0; transform: translateY(-200%); z-index: 50;
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r-sm);
  background: var(--accent-fill); color: var(--on-accent); font-weight: 600; text-decoration: none;
}
.skip:focus { transform: none; top: 12px; }
.muted { color: var(--text-3); }
.small { font-size: var(--caption); line-height: 1.45; }
.num { font-variant-numeric: var(--numeric); }

/* The one faint ambient wash: gives the glass something to sit on. Both centres sit a fixed distance
   above the window, so at most 58% of either wash is ever on screen - the contrast audit relies on these
   positions and sizes (change them and the audit's WASH_ON_SCREEN factor together). */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 8% -160px, var(--ambient-a), transparent 62%),
    radial-gradient(900px 560px at 96% -140px, var(--ambient-b), transparent 60%);
  background-repeat: no-repeat;
}

.ic { display: block; width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.ic text { fill: currentColor; stroke: none; }

/* ---------- materials ---------- */
/* .card = thin tint, no blur.  .hero and .pb-inner = the two blurred glass surfaces. */
.card, .hero, .shows {
  border: 1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--glass-highlight), var(--elev-1);
  corner-shape: var(--corner, round);
  min-width: 0;
}
.card, .shows { background: var(--material-1); }
.card { padding: 20px; scroll-margin-top: 16px; }
.hero { background: var(--glass-2-solid); border-radius: var(--r-xl); box-shadow: var(--glass-highlight), var(--elev-2); scroll-margin-top: 16px; }
.pb-inner { background: var(--glass-3-solid); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero {
    background: var(--material-2);
    -webkit-backdrop-filter: blur(var(--blur-2)) saturate(150%); backdrop-filter: blur(var(--blur-2)) saturate(150%);
  }
  .pb-inner {
    background: var(--material-3);
    -webkit-backdrop-filter: blur(var(--blur-3)) saturate(150%); backdrop-filter: blur(var(--blur-3)) saturate(150%);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .hero, .pb-inner { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.flash { animation: flash 1.8s ease-out 1; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 0 0 3px transparent; } }

/* ---------- header ---------- */
.top { max-width: var(--page-max); margin: 0 auto; padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
a.brand { color: var(--text-1); text-decoration: none; min-height: 48px; border-radius: var(--r-sm); }
a.brand:hover .brand-name { text-decoration: underline; text-underline-offset: 3px; }
.logo {
  flex: none; width: 2.5rem; height: 2.5rem; border-radius: .7rem; display: grid; place-items: center;
  background: var(--accent-fill); color: var(--on-accent);
  font: 700 .875rem/1 var(--font-display); letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.brand-text { min-width: 0; }
.brand h1, .brand .brand-name { display: block; font: 600 1rem/1.25 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.brand p { font-size: var(--caption); line-height: 1.35; color: var(--text-3); overflow-wrap: anywhere; }
.top-actions { display: flex; align-items: center; gap: 4px; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill);
  color: var(--text-2); font-size: var(--callout); font-weight: 500; text-decoration: none;
}
.topnav a:hover { color: var(--text-1); background: var(--material-1); }
.topnav.sections { display: none; }
@media (min-width: 900px) {
  .top { padding: 24px 0; }
  .topnav.sections { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; min-width: 44px; padding: 8px 16px;
  border-radius: var(--r-sm); border: 1px solid var(--border-control);
  background: var(--material-1); color: var(--text-1);
  font-weight: 600; font-size: var(--callout); line-height: 1.25; text-align: center; text-decoration: none; overflow-wrap: anywhere;
  transition: background-color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.btn:hover { background: var(--material-1-hover); border-color: var(--text-2); }
.btn:active { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--accent-fill); color: var(--on-accent); border-color: transparent; }
.btn.primary:hover { background: var(--accent-fill-hover); border-color: transparent; }
.btn.quiet { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.quiet:hover { background: var(--material-1); border-color: transparent; color: var(--text-1); }
.btn.small { padding: 6px 12px; font-size: var(--label); }
.btn.wide { width: 100%; margin-top: 12px; }
.iconbtn {
  flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center;
  border-radius: 50%; border: 1px solid transparent; background: transparent; color: var(--text-1); text-decoration: none;
  transition: background-color var(--dur-1) var(--ease-out);
}
.iconbtn:hover { background: var(--material-1); }
.iconbtn .ic { width: 22px; height: 22px; }

/* ---------- layout ---------- */
.layout { max-width: var(--page-max); margin: 0 auto; display: grid; gap: 20px; padding-top: 8px; }
.col { display: grid; gap: 20px; align-content: start; min-width: 0; }
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 32px; }
}
@media (min-width: 900px) and (min-height: 700px) {
  /* --col-h is published by app.js: a column taller than the window sticks by its bottom edge instead of its top */
  .col:first-child { position: sticky; top: min(24px, calc(100vh - var(--col-h, 0px) - var(--bar-h) - 24px)); align-self: start; }
}
.section-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 12px 4px 12px; }
.section-h h2 { font: 600 1.375rem/1.2 var(--font-display); letter-spacing: -.012em; }
.col > section { min-width: 0; scroll-margin-top: 16px; }
@media (min-width: 900px) { .col > section:first-child > .section-h { margin-top: 4px; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 24px 20px 20px; }
@media (min-width: 900px) { .hero { padding: 32px 32px 24px; } }
/* state capsule: the tally lamp sits in a recessed well, so the red keeps >= 3:1 whatever is behind the glass */
.hero-state {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
  padding: 4px 14px 4px 4px; border-radius: 16px; background: var(--material-well);
  font-size: var(--label); font-weight: 500; line-height: 1.3;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 3px 9px; border-radius: var(--r-pill);
  background: var(--material-2); color: var(--text-2);
  font-size: .75rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
}
.badge .ic { width: 13px; height: 13px; }
.badge.ok { background: var(--accent-tint); color: var(--accent); }
.tally { letter-spacing: .06em; }
.tally-live { background: var(--on-air-fill); color: var(--on-on-air); }
.tally-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: tally 1.8s ease-in-out 2; }   /* finite: stops within 5 s */
@keyframes tally { 50% { opacity: .35; } }
.hero-state .tally-live, .hero-state.live .tally-encore { display: none; }
.hero-state.live .tally-live { display: inline-flex; }

.hero-show { margin-top: 16px; font: 600 clamp(1.875rem, 8.4vw, 2.5rem)/1.08 var(--font-display); letter-spacing: -.024em; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; text-wrap: balance; }
.hero-now { margin-top: 8px; color: var(--text-2); overflow-wrap: anywhere; text-wrap: balance; }
.hero-now + .hero-now { margin-top: 2px; }
.hero-now b { font-weight: 600; color: var(--text-1); }

.bigplay {
  position: relative; width: 104px; height: 104px; margin: 24px auto 0; display: grid; place-items: center;
  border-radius: 50%; border: 0; background: var(--accent-fill); color: var(--on-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 0 0 10px var(--accent-tint), var(--elev-2);
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.bigplay:hover { background: var(--accent-fill-hover); }
.bigplay:active { transform: scale(.97); }
.bigplay:focus-visible { outline-offset: 14px; }
.bigplay .ic { width: 40px; height: 40px; }
.bigplay .ic-play { margin-left: 5px; }

[data-state] .ic-pause, [data-state] .ic-spin { display: none; }
[data-state="playing"] .ic-play, [data-state="loading"] .ic-play { display: none; }
[data-state="playing"] .ic-pause { display: block; }
[data-state="loading"] .ic-spin { display: block; animation: spin .9s linear infinite; fill: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.state { margin-top: 20px; font: 600 1.0625rem/1.3 var(--font-text); overflow-wrap: anywhere; text-wrap: balance; }
.state.is-note { font-size: var(--callout); font-weight: 500; line-height: 1.45; color: var(--text-2); }
.state.is-error { color: var(--on-air); font-size: var(--callout); line-height: 1.45; }
.play-meta { margin-top: 2px; font-size: var(--label); color: var(--text-3); overflow-wrap: anywhere; }

/* the one signal motif: a decorative ribbon (aria-hidden). It is not a level meter and is not driven by
   the audio. Static at rest; while the live stream plays it turns emerald and moves for a few seconds. */
.signal {
  height: 36px; margin: 20px auto 0; display: flex; align-items: center; justify-content: center; gap: 3px; overflow: hidden; color: var(--text-3);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}
.signal i { flex: none; width: 3px; min-height: 2px; border-radius: 2px; background: currentColor; opacity: .5; transition: opacity var(--dur-2) var(--ease-out); }
.live-playing .signal { color: var(--accent); }
.live-playing .signal i { opacity: .8; animation: signal 1.2s ease-in-out 4; }   /* finite: settles after 4.8 s */
@keyframes signal { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.45); } }

.prefs { margin-top: 20px; border-top: 1px solid var(--hairline); text-align: left; }
.pref { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 0 8px; min-height: 56px; padding: 6px 0; }
.pref + .pref { border-top: 1px solid var(--hairline); }
.pref > .ic { width: 20px; height: 20px; color: var(--text-2); }
.pref .iconbtn { margin-left: -12px; color: var(--text-2); }
.pref .iconbtn:hover { color: var(--text-1); }
.pref-title { display: block; font-size: var(--callout); font-weight: 500; }
.pref-hint { display: block; font-size: var(--caption); line-height: 1.4; color: var(--text-3); }
.pref-out { min-width: 4ch; text-align: right; font-size: var(--label); font-weight: 500; color: var(--text-2); font-variant-numeric: var(--numeric); }
[aria-pressed="false"] .ic-mute, [aria-pressed="true"] .ic-vol { display: none; }

@media (max-width: 360px) {
  .hero { padding-left: 14px; padding-right: 14px; }
  .hero-state { gap: 4px 8px; padding-right: 10px; font-size: var(--caption); }
  .hero-state .badge { padding: 3px 7px; }
  .top { flex-wrap: nowrap; }
  #share-btn { padding: 8px; }
  #share-btn .share-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

/* next show: large numerals, small unit labels */
.next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--material-well); text-align: left; corner-shape: var(--corner, round); }
.next-main { min-width: 0; flex: 1 1 9em; }
.next-k { font-size: var(--caption); line-height: 1.35; color: var(--text-3); }
.next-v { margin-top: 1px; font-weight: 600; font-size: var(--callout); line-height: 1.35; overflow-wrap: anywhere; }
.next-slot { font-size: var(--caption); line-height: 1.4; color: var(--text-2); font-variant-numeric: var(--numeric); overflow-wrap: anywhere; }
.next-in { flex: none; text-align: right; }
.next-count { display: flex; align-items: baseline; justify-content: flex-end; font: 600 1.75rem/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: var(--numeric); white-space: nowrap; }
.next-count .u { margin: 0 .3em 0 .08em; font: 500 var(--caption)/1 var(--font-text); letter-spacing: 0; color: var(--text-2); }
.next-count .u:last-child { margin-right: 0; }
.next-count .u.pre { margin: 0 .4em 0 0; }

/* ---------- sliders: drawn here (not by the browser) so their contrast is known. --p is 0..1, set by app.js ---------- */
input[type="range"] {
  -webkit-appearance: none; appearance: none; background: transparent; border-radius: 8px;
  width: 100%; height: 44px; margin: 0; padding: 0; cursor: pointer; min-width: 0; --p: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px; border-radius: 999px;
  background: linear-gradient(to right, var(--accent-fill) calc(11px + (100% - 22px) * var(--p)), var(--border-control) calc(11px + (100% - 22px) * var(--p)));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -9px;
  border-radius: 50%; background: var(--text-1); border: 2px solid var(--bg);      /* ring separates the thumb from the track */
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 999px; background: var(--border-control); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent-fill); }
input[type="range"]::-moz-range-thumb { box-sizing: border-box; width: 22px; height: 22px; border-radius: 50%; background: var(--text-1); border: 2px solid var(--bg); }

/* ---------- switch: state is knob position + a tick, never colour alone ---------- */
.switch { position: relative; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch .track {
  position: relative; flex: none; display: block; width: 44px; height: 26px; border-radius: var(--r-pill);
  border: 1px solid var(--border-control); background: var(--material-well);
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.switch .track::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--text-2); transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.switch .track::before {
  content: ""; position: absolute; left: 8px; top: 6px; width: 5px; height: 9px;
  border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
  transition: opacity var(--dur-2) var(--ease-out);
}
.switch input:checked + .track { background: var(--accent-fill); border-color: var(--accent-fill); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--on-accent); }
.switch input:checked + .track::before { opacity: 1; }
.switch input:focus-visible + .track { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.switch-label { font-size: var(--callout); font-weight: 500; }

/* ---------- schedule ---------- */
.card h2 { font: 600 1.0625rem/1.3 var(--font-text); letter-spacing: -.006em; }
.sched { margin-top: 4px; }
.sched li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 12px 0; }
.sched li + li { border-top: 1px solid var(--hairline); }
.sched li > div { min-width: 0; flex: 1 1 12em; }
.sched .s-title { font-weight: 600; font-size: var(--callout); overflow-wrap: anywhere; }
.sched .s-sub, .sched .s-time { font-size: var(--caption); line-height: 1.45; color: var(--text-3); overflow-wrap: anywhere; }
.sched .s-time { color: var(--text-2); font-variant-numeric: var(--numeric); }
.sched .s-when { flex: none; text-align: right; font-size: var(--label); font-weight: 500; color: var(--text-2); font-variant-numeric: var(--numeric); }
.sched .s-act { flex: 1 0 100%; margin: 0 0 -8px; }
.sched-note { padding-top: 12px; border-top: 1px solid var(--hairline); }

/* ---------- past shows ---------- */
.shows { padding: 4px 16px; }
.shows:empty { display: none; }
.shows-empty { padding: 20px; border: 1px solid var(--hairline); border-radius: var(--r-lg); background: var(--material-1); color: var(--text-2); }
.show {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 0 12px;
  grid-template-areas: "play body body" ". tr acts" "panel panel panel";
  padding: 14px 0 8px; border-radius: 4px; scroll-margin: 90px 0 24px;
}
.show + .show { border-top: 1px solid var(--hairline); }
.show-play {
  grid-area: play; align-self: start; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border-control); background: var(--material-1); color: var(--text-1);
  transition: background-color var(--dur-1) var(--ease-out);
}
.show-play:hover { background: var(--material-1-hover); border-color: var(--text-2); }
.show.current .show-play { background: var(--accent-fill); border-color: transparent; color: var(--on-accent); }
.show.current .show-play:hover { background: var(--accent-fill-hover); border-color: transparent; }
.show-play .ic { width: 18px; height: 18px; }
.show-play .ic-play { margin-left: 2px; }
.show-body { grid-area: body; min-width: 0; }
.show-title { font: 600 var(--body)/1.35 var(--font-text); overflow-wrap: anywhere; }
.show-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 3px; font-size: var(--label); line-height: 1.45; color: var(--text-3); font-variant-numeric: var(--numeric); overflow-wrap: anywhere; }
.show-meta .badge { min-height: 20px; padding: 2px 7px; }
.show-desc { margin-top: 4px; font-size: var(--label); line-height: 1.45; color: var(--text-2); overflow-wrap: anywhere; }
/* link-style buttons: "Read transcript" in a show, "Add to calendar" in the schedule */
.tr-open, .s-cal {
  grid-area: tr; justify-self: start; max-width: 100%; min-width: 0; overflow-wrap: anywhere; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px;
  border: 0; border-radius: 6px; background: transparent; color: var(--accent);
  font-size: var(--label); font-weight: 600; text-align: left; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.tr-open .ic, .s-cal .ic { width: 16px; height: 16px; }
.tr-open:hover, .s-cal:hover { text-decoration-thickness: 2px; }
.show-actions { grid-area: acts; display: flex; align-items: center; gap: 4px; justify-self: end; }
.show-dl { padding: 0; border-color: transparent; background: transparent; }
.show-dl .dl-label { display: none; }
@media (min-width: 600px) {
  .shows { padding: 6px 24px; }
  .show { grid-template-areas: "play body acts" "play tr acts" "panel panel panel"; gap: 0 16px; padding: 16px 0; }
  .show-play { align-self: center; }
  .tr-open { margin: 0 0 -10px; }
  .show-dl { padding: 8px 14px; border-color: var(--border-control); background: var(--material-1); }
  .show-dl .dl-label { display: inline; }
}

/* transcript panel (inside its show) */
.tr-panel { grid-area: panel; min-width: 0; margin: 8px 0 8px; padding: 16px; border-radius: var(--r-md); background: var(--material-well); corner-shape: var(--corner, round); }
.tr-head, .tr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tr-head h4 { font: 600 1.0625rem/1.3 var(--font-text); overflow-wrap: anywhere; flex: 1 1 12em; }
.tr-foot { justify-content: flex-start; margin-top: 16px; }
.tr-note { margin-top: 8px; }
.tr-body { max-width: 68ch; margin-top: 12px; font-size: 1.0625rem; line-height: 1.7; overflow-wrap: break-word; }
.tr-body p { margin: 0; }
.tr-seg { display: flex; align-items: flex-start; gap: 12px; }
.tr-seg + .tr-seg { margin-top: .9em; }
.tr-seg p { flex: 1; min-width: 0; padding-top: 7px; }
.tr-tools { flex: none; display: flex; align-items: center; gap: 2px; }
.tr-link .ic { width: 18px; height: 18px; }
.tr-link { color: var(--text-2); }
.tr-link:hover { color: var(--text-1); }
.tr-time {
  flex: none; min-width: 4.4em; min-height: 44px; padding: 4px 8px; border-radius: var(--r-sm);
  border: 1px solid var(--border-control); background: var(--material-1); color: var(--text-1);
  font-size: var(--label); font-weight: 600; font-variant-numeric: var(--numeric); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.tr-time:hover { background: var(--material-1-hover); border-color: var(--text-2); }
.tr-msg { margin-top: 12px; }
.tr-msg.is-error { color: var(--on-air); font-weight: 600; }
@media (max-width: 480px) { .tr-seg { flex-direction: column; gap: 4px; } .tr-seg p { padding-top: 0; } }

/* search within a transcript: an opaque bar that sticks to the top of the window while the transcript scrolls */
.tr-search {
  position: sticky; top: 8px; z-index: 2; margin-top: 12px; padding: 8px 12px 6px;
  border: 1px solid var(--hairline-strong); border-radius: var(--r-md); background: var(--glass-3-solid);
  box-shadow: var(--glass-highlight), var(--elev-2); corner-shape: var(--corner, round);
}
html.find-flow .tr-search { position: static; }      /* it would cover too much of a small window (app.js decides) */
@media (max-height: 400px) { .tr-search { position: static; } }
.tr-q-label { display: block; font-size: var(--label); font-weight: 600; line-height: 1.35; color: var(--text-2); }
.tr-q-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 4px; }
.tr-q-box {
  flex: 1 1 13em; min-width: 0; display: flex; align-items: center; min-height: 44px;
  border: 1px solid var(--border-control); border-radius: var(--r-sm);
}
.tr-q-box:hover { border-color: var(--text-2); }
.tr-q {
  -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 0; width: 100%; height: 42px; margin: 0; padding: 0 4px 0 12px;
  border: 0; border-radius: var(--r-sm); background: transparent; color: var(--text-1); font-size: 1rem; line-height: 1.3;
}
.tr-q::-webkit-search-cancel-button, .tr-q::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }   /* our own Clear button is keyboard-operable */
.tr-q:focus-visible { outline-offset: 1px; }
@supports selector(:has(a)) {
  /* the ring goes round the whole box (field + Clear) */
  .tr-q:focus-visible { outline: none; }
  .tr-q-box:has(.tr-q:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
}
.tr-q-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; }
.tr-count { flex: 1 1 auto; min-width: 0; margin-right: 6px; font-size: var(--label); font-weight: 500; line-height: 1.35; color: var(--text-2); font-variant-numeric: var(--numeric); overflow-wrap: anywhere; }
.tr-search .iconbtn .ic { width: 20px; height: 20px; }
.tr-search .iconbtn[aria-disabled="true"] { color: var(--text-3); cursor: default; }
.tr-search .iconbtn[aria-disabled="true"]:hover { background: transparent; }
.tr-body mark {
  background: var(--mark); color: var(--text-1); border-radius: 3px; padding: 1px 0;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tr-body mark.cur { background: var(--accent-fill); color: var(--on-accent); outline: 2px solid var(--text-1); outline-offset: 1px; scroll-margin: 96px 0; }

/* ---------- more ways to listen ---------- */
.ways { padding: 4px 20px; }
.way { padding: 16px 0; }
.way + .way { border-top: 1px solid var(--hairline); }
.way h3 { font: 600 1.0625rem/1.3 var(--font-text); letter-spacing: -.006em; }
.way > p { margin-top: 4px; font-size: var(--callout); color: var(--text-2); }
.way > p.small { font-size: var(--caption); color: var(--text-3); }
.linkrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11em), 1fr)); gap: 8px; margin-top: 12px; }
.way .setting { margin-top: 6px; }
@media (min-width: 600px) { .ways { padding: 6px 24px; } }

/* ---------- footer ---------- */
.foot {
  max-width: var(--page-max); margin: 32px auto 0; padding-top: 12px; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 24px;
  font-size: var(--label); color: var(--text-3);
}
.footnav ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--text-2); }
.footnav a[aria-current="page"] { color: var(--text-1); font-weight: 600; }

/* ---------- text pages (privacy, accessibility) ---------- */
.doc { max-width: 760px; margin-left: auto; margin-right: auto; }
.doc .card { padding: 24px 20px 28px; }
@media (min-width: 600px) { .doc .card { padding: 40px 44px 44px; } }
.doc h1 { font: 600 clamp(1.75rem, 6vw, 2.25rem)/1.12 var(--font-display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.doc .card h2 { font: 600 1.25rem/1.3 var(--font-display); letter-spacing: -.01em; margin: 2em 0 .5em; }
.doc p, .doc li { max-width: 68ch; font-size: 1.0625rem; line-height: 1.65; overflow-wrap: break-word; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: .9em; }
.doc ul { list-style: disc; padding-left: 1.3em; }
.doc li + li { margin-top: .45em; }
.doc li::marker { color: var(--text-3); }
.doc .lede { margin-top: .7em; font-size: 1.1875rem; line-height: 1.55; color: var(--text-2); }
.doc .reviewed { margin-top: 2.2em; padding-top: 1em; border-top: 1px solid var(--hairline); color: var(--text-2); font-size: var(--callout); }
footer.doc { margin-top: 32px; }

/* ---------- sticky player bar (thick glass) ---------- */
.playerbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none;
  padding: 0 8px calc(8px + env(safe-area-inset-bottom));
  padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right));
}
.pb-inner {
  pointer-events: auto; max-width: 1104px; margin: 0 auto; padding: 10px 14px;
  border: 1px solid var(--hairline-strong); border-radius: var(--r-lg);
  box-shadow: var(--glass-highlight), var(--elev-3); corner-shape: var(--corner, round);
  display: grid; align-items: center; gap: 0 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "info transport" "seek seek" "extra extra";
}
.pb-text { grid-area: info; min-width: 0; }
.pb-sub { font-size: var(--caption); line-height: 1.35; color: var(--text-2); font-variant-numeric: var(--numeric); overflow-wrap: anywhere; }
.pb-sub.is-error { color: var(--on-air); font-weight: 600; }
.pb-title { font-weight: 600; font-size: var(--callout); line-height: 1.3; overflow-wrap: anywhere; }
.pb-transport { grid-area: transport; display: flex; align-items: center; gap: 2px; }
.pb-play {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--text-1); color: var(--bg); transition: background-color var(--dur-1) var(--ease-out);
}
.pb-play:hover { background: var(--text-2); }
.pb-play .ic { width: 20px; height: 20px; }
.pb-play .ic-play { margin-left: 2px; }
.pb-transport .iconbtn .ic { width: 24px; height: 24px; }
.pb-seek { grid-area: seek; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; }
.time { min-width: 3.2em; font-size: var(--label); font-weight: 500; color: var(--text-2); font-variant-numeric: var(--numeric); }
#pb-remaining { text-align: right; }
/* speed + sleep timer + "Back to live". Narrow screens: one row of their own that wraps if it must.
   From 600px the wrapper dissolves (display: contents) and its children take the grid areas "speed" and "live". */
.pb-extra { grid-area: extra; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; min-width: 0; }
.pb-tools { grid-area: speed; justify-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.speed { min-width: 52px; padding: 6px 8px; font-variant-numeric: var(--numeric); }
.pb-sleep { padding: 6px 10px; gap: 6px; font-variant-numeric: var(--numeric); white-space: nowrap; }
.pb-sleep .ic { width: 18px; height: 18px; }
.pb-sleep.on { border-color: var(--text-1); box-shadow: inset 0 0 0 1px var(--text-1); }      /* running: heavier edge + the time left (not colour) */
@media (max-width: 360px) {
  /* narrow bar: tighter, so speed + sleep + "Back to live" stay on one row */
  .pb-tools { gap: 4px 6px; }
  .pb-sleep { padding: 6px 8px; gap: 4px; }
  .pb-live { padding: 6px 10px; }
  .pb-live .tally-dot { display: none; }
  /* the word "Sleep" gives way to the icon; a running timer still shows its time */
  .pb-sleep:not(.on) .pb-sleep-t { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .pb-sleep:not(.on) { padding: 6px; }
}
.pb-live { grid-area: live; justify-self: end; }
.pb-inner .btn { background: transparent; }      /* the bar is the fill: the border is measured against the bar itself */
.pb-inner .btn:hover { background: var(--material-1-hover); }
.pb-live .tally-dot { color: var(--on-air); animation: none; }
.playerbar.is-live .pb-inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "transport info extra"; }
/* a problem is a full sentence: it goes under the title on its own full-width row */
.playerbar.has-problem .pb-text { display: flex; flex-direction: column-reverse; }
.playerbar.has-problem .pb-sub { margin-top: 2px; font-size: var(--label); line-height: 1.4; }
.playerbar.has-problem:not(.is-live) .pb-inner { grid-template-areas: "info info" "transport transport" "seek seek" "extra extra"; }
.playerbar.has-problem:not(.is-live) .pb-transport { justify-content: center; }
@media (min-width: 600px) {
  .playerbar.has-problem:not(.is-live) .pb-inner { grid-template-areas: "info info info info" "transport transport speed live" "seek seek seek seek"; }
  .playerbar.has-problem:not(.is-live) .pb-transport { justify-content: flex-start; }
}
@media (min-width: 900px) {
  .playerbar.has-problem:not(.is-live) .pb-inner { grid-template-columns: minmax(0, 440px) auto minmax(0, 1fr) auto auto; grid-template-areas: "info transport seek speed live"; }
}
@media (min-width: 600px) {
  .pb-extra { display: contents; }
  .pb-inner { padding: 12px 16px 6px 20px; grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "info transport speed live" "seek seek seek seek"; }
  .playerbar.is-live .pb-inner { padding-bottom: 12px; grid-template-areas: "transport info speed"; }
  .pb-seek { margin: 0; }
}
@media (min-width: 900px) {
  .playerbar { padding: 0 16px 16px; }
  .pb-inner { padding: 10px 16px 10px 20px; gap: 0 20px; grid-template-columns: minmax(0, 280px) auto minmax(0, 1fr) auto auto; grid-template-areas: "info transport seek speed live"; }
  .playerbar.is-live .pb-inner { padding-bottom: 10px; }
  .pb-tools, .pb-live { margin-left: -8px; }
  .playerbar.is-live .pb-tools { margin-left: 0; }
}
/* Short AND narrow window (e.g. 400% zoom): a fixed bar would cover the page, so it joins the page flow. */
@media (max-height: 400px) and (max-width: 520px) {
  .playerbar { position: static; margin: 24px 0 0; padding: 0; }
  body { padding-bottom: 16px; }
  html { scroll-padding-bottom: 16px; }
  .toast { bottom: 16px; }
}
/* Same when the bar would cover more than 40% of the window (large text on a small screen): app.js sets the class. */
html.bar-flow .playerbar { position: static; margin: 24px 0 0; padding: 0; }
html.bar-flow body { padding-bottom: 16px; }
html.bar-flow { scroll-padding-bottom: 16px; }
html.bar-flow .toast { bottom: 16px; }

.toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(var(--bar-h) + 16px); transform: translateY(20px); z-index: 40;
  width: fit-content; max-width: min(420px, calc(100vw - 32px)); margin: 0 auto; padding: 12px 16px; border-radius: var(--r-md);
  background: var(--glass-3-solid); color: var(--text-1); border: 1px solid var(--hairline-strong);
  box-shadow: var(--glass-highlight), var(--elev-3);
  font-size: var(--callout); font-weight: 500; overflow-wrap: anywhere;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.on { opacity: 1; transform: none; }      /* not ".show": that class is a past-show row */

/* ---------- small modal sheets (native <dialog>): share a moment, sleep timer ---------- */
.sheet {
  width: min(400px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto;
  border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); background: var(--glass-3-solid); color: var(--text-1);
  box-shadow: var(--glass-highlight), var(--elev-3); corner-shape: var(--corner, round);
}
.sheet::backdrop { background: var(--scrim); }
.sheet-in { display: grid; gap: 12px; padding: 20px; }
.sheet h2 { font: 600 1.1875rem/1.3 var(--font-display); letter-spacing: -.01em; overflow-wrap: anywhere; }
.sheet-sub { margin-top: -8px; color: var(--text-2); font-size: var(--callout); overflow-wrap: anywhere; }
.sheet-k { margin-bottom: -4px; font-size: var(--label); font-weight: 600; color: var(--text-2); }
.sheet-list { display: grid; gap: 8px; }
.sheet .btn { width: 100%; background: transparent; }
.sheet .btn:hover { background: var(--material-1-hover); }
.sheet-opt { justify-content: space-between; text-align: left; }
.sheet-opt .ic-check { visibility: hidden; }
.sheet-opt[aria-current="true"] { border-color: var(--text-1); box-shadow: inset 0 0 0 1px var(--text-1); }      /* current choice: tick + heavier edge */
.sheet-opt[aria-current="true"] .ic-check { visibility: visible; }

.noscript { max-width: 640px; margin: 0 auto 16px; padding: 16px 20px; border-radius: var(--r-lg); border: 1px solid var(--hairline); background: var(--material-1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-state="loading"] .ic-spin { opacity: .7; }
  .btn:active, .bigplay:active { transform: none; }
}

/* Windows High Contrast / forced colours: system colours replace ours, tints and shadows vanish,
   so every control gets a real border and state is drawn with system colours. */
@media (forced-colors: active) {
  .bg { display: none; }
  .hero, .pb-inner { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .card, .hero, .shows, .shows-empty, .next, .tr-panel, .pb-inner, .toast, .noscript, .badge, .sheet, .tr-search { border: 1px solid CanvasText; }
  .btn, .btn.quiet, .iconbtn, .show-play, .pb-play, .bigplay, .tr-time, .skip, .tr-q-box { border: 2px solid ButtonText; }
  .tr-q-box { border-color: FieldText; }
  .tr-q-box:has(.tr-q:focus-visible) { outline: 3px solid Highlight; }
  .pb-sleep.on, .sheet-opt[aria-current="true"] { border: 3px solid Highlight; box-shadow: none; }
  .tr-search .iconbtn[aria-disabled="true"] { color: GrayText; border-color: GrayText; }
  .tr-body mark { forced-color-adjust: none; background: Mark; color: MarkText; }
  .tr-body mark.cur { background: Highlight; color: HighlightText; outline: 2px solid CanvasText; }
  a.btn, a.iconbtn, .skip { border-color: LinkText; }
  .bigplay { border-width: 4px; }
  .logo { border: 2px solid CanvasText; }
  .show.current .show-play { border: 3px solid Highlight; }
  :focus-visible, .switch input:focus-visible + .track { outline: 3px solid Highlight; }
  .switch .track { forced-color-adjust: none; background: Canvas; border: 2px solid ButtonText; }
  .switch .track::after { forced-color-adjust: none; background: ButtonText; top: 1px; left: 1px; }
  .switch .track::before { forced-color-adjust: none; border-color: HighlightText; top: 5px; left: 7px; }
  .switch input:checked + .track { background: Highlight; border-color: Highlight; }
  .switch input:checked + .track::after { background: HighlightText; }
  input[type="range"] { forced-color-adjust: none; }
  input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, Highlight calc(11px + (100% - 22px) * var(--p)), ButtonText calc(11px + (100% - 22px) * var(--p))); }
  input[type="range"]::-webkit-slider-thumb { background: ButtonText; border: 2px solid Canvas; }
  input[type="range"]::-moz-range-track { background: ButtonText; }
  input[type="range"]::-moz-range-progress { background: Highlight; }
  input[type="range"]::-moz-range-thumb { background: ButtonText; border: 2px solid Canvas; }
  .signal { -webkit-mask-image: none; mask-image: none; }
  .signal i, .tally-dot { forced-color-adjust: none; background: CanvasText; }
  .state.is-error, .pb-sub.is-error, .tr-msg.is-error { color: CanvasText; }
}
