/* QRadio public redesign
 * Live-first editorial surfaces: fewer cards, harder edges, clearer source lineage.
 * Loaded after the legacy visual layers so the public shell has one visual voice.
 */

:root {
  --qr-paper: #f4f4f0;
  --qr-paper-deep: #e9ebe8;
  --qr-panel: #fffefa;
  --qr-panel-muted: #eef0ed;
  --qr-ink: #14191c;
  --qr-muted: #687176;
  --qr-dim: #8d9699;
  --qr-line: #cbd1cf;
  --qr-line-soft: rgba(20, 25, 28, .13);
  --qr-night: #11191d;
  --qr-night-soft: #1b252a;
  --qr-signal: #bb3f34;
  --qr-signal-dark: #8e2b25;
  --qr-cobalt: #23449f;
  --qr-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --qr-mono: "SFMono-Regular", "Roboto Mono", ui-monospace, Menlo, monospace;
  --qr-display: "Helvetica Neue", Arial, sans-serif;
  --qr-radius: 3px;
  --qr-shadow: 0 10px 30px rgba(20, 25, 28, .06);
  --qr-shell: 1280px;

  --broadcast-bg: var(--qr-paper);
  --broadcast-card: var(--qr-panel);
  --broadcast-card-soft: var(--qr-panel-muted);
  --broadcast-ink: var(--qr-ink);
  --broadcast-muted: var(--qr-muted);
  --broadcast-dim: var(--qr-dim);
  --broadcast-line: var(--qr-line);
  --broadcast-line-strong: #9ca6a5;
  --broadcast-dark: var(--qr-night);
  --broadcast-dark-2: var(--qr-night-soft);
  --broadcast-dark-3: #263238;
  --broadcast-blue: var(--qr-cobalt);
  --broadcast-blue-strong: #18347f;
  --broadcast-blue-soft: #c8d2f1;
  --broadcast-blue-pale: #e5eaf9;
  --broadcast-red: var(--qr-signal);
  --broadcast-shadow: var(--qr-shadow);
  --broadcast-shadow-soft: 0 6px 18px rgba(20, 25, 28, .045);
  --broadcast-radius: var(--qr-radius);
  --broadcast-radius-lg: var(--qr-radius);
  --broadcast-sans: var(--qr-sans);
  --broadcast-mono: var(--qr-mono);
  --editorial-paper: var(--qr-paper);
  --editorial-card: var(--qr-panel);
  --editorial-copper: var(--qr-signal);
  --editorial-copper-soft: #d4a39a;
  --editorial-sand: #e6dfd4;
  --editorial-shadow: var(--qr-shadow);
}

html,
body.qradio-editorial,
body.qradio-modern {
  background: var(--qr-paper);
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern {
  min-width: 320px;
  overflow-x: hidden;
  font-family: var(--qr-sans) !important;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.qradio-editorial.qradio-modern :where(.radio-app, .surface-page, .story-page, .podcast-page, .archive-page) {
  background: var(--qr-paper);
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .shell {
  width: min(calc(100% - 72px), var(--qr-shell));
}

body.qradio-editorial.qradio-modern :where(a, button, input, select, textarea) {
  font-family: var(--qr-sans);
}

body.qradio-editorial.qradio-modern :where(h1, h2, h3, h4, p) {
  overflow-wrap: anywhere;
}

body.qradio-editorial.qradio-modern :where(h1, h2, h3, h4) {
  color: var(--qr-ink);
  font-family: var(--qr-display) !important;
  font-style: normal;
  font-weight: 720;
  letter-spacing: -.065em;
  line-height: .96;
}

body.qradio-editorial.qradio-modern :where(h1, h2, h3, h4) em {
  color: var(--qr-signal);
  font-family: inherit;
  font-style: normal;
}

body.qradio-editorial.qradio-modern :where(.section-kicker, .section-number, .eyebrow, .overline, .deployment-label, .avds-primitive-label, .avds-data-head small, .studio-station, .live-label, .signal-chip, .schedule-type, dt) {
  color: var(--qr-signal);
  font-family: var(--qr-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.3;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern :where(.button, .header-cta, .mobile-nav-toggle, .podcast-format-picker summary) {
  min-height: 44px;
  border-radius: 2px;
  box-shadow: none;
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .025em;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

body.qradio-editorial.qradio-modern :where(.button:hover, .header-cta:hover, .mobile-nav-toggle:hover) {
  transform: none;
}

body.qradio-editorial.qradio-modern :where(.button-primary, .button-dark, .header-cta) {
  border: 1px solid var(--qr-ink);
  background: var(--qr-ink);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern :where(.button-primary, .button-dark, .header-cta):hover,
body.qradio-editorial.qradio-modern :where(.button-primary, .button-dark, .header-cta):focus-visible {
  border-color: var(--qr-signal);
  background: var(--qr-signal);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern :where(.button-ghost, .button-quiet) {
  border: 1px solid var(--qr-line);
  background: transparent;
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern :where(.button-ghost, .button-quiet):hover,
body.qradio-editorial.qradio-modern :where(.button-ghost, .button-quiet):focus-visible {
  border-color: var(--qr-ink);
  background: var(--qr-panel);
  color: var(--qr-signal-dark);
}

body.qradio-editorial.qradio-modern .av-card {
  border: 1px solid var(--qr-line);
  border-radius: var(--qr-radius);
  background: var(--qr-panel);
  box-shadow: var(--qr-shadow);
}

/* Header and footer */

body.qradio-editorial.qradio-modern .site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--qr-line);
  background: rgba(244, 244, 240, .96);
  box-shadow: none;
  backdrop-filter: none;
}

body.qradio-editorial.qradio-modern .home-page .ticker,
body.qradio-editorial.qradio-modern .home-page .hero-now-wave,
body.qradio-editorial.qradio-modern .home-page .section-intro > .section-kicker {
  display: none;
}

body.qradio-editorial.qradio-modern .header-inner {
  min-height: 64px;
}

body.qradio-editorial.qradio-modern .brand {
  color: var(--qr-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .035em;
}

body.qradio-editorial.qradio-modern .brand-mark {
  width: 20px;
  height: 20px;
  border: 1px solid var(--qr-ink);
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .brand-mark i {
  width: 2px;
  background: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .primary-nav {
  gap: 1.35rem;
}

body.qradio-editorial.qradio-modern .primary-nav a,
body.qradio-editorial.qradio-modern .language-nav a {
  color: var(--qr-muted);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .025em;
}

body.qradio-editorial.qradio-modern .primary-nav a:hover,
body.qradio-editorial.qradio-modern .primary-nav a:focus-visible,
body.qradio-editorial.qradio-modern .language-nav a:hover,
body.qradio-editorial.qradio-modern .language-nav a:focus-visible,
body.qradio-editorial.qradio-modern .language-nav a[aria-current="page"] {
  color: var(--qr-signal-dark);
}

body.qradio-editorial.qradio-modern .language-nav {
  gap: .7rem;
}

body.qradio-editorial.qradio-modern .language-nav a[aria-current="page"]::after {
  bottom: -8px;
  height: 2px;
  background: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .header-cta {
  min-height: 34px;
  padding-inline: .85rem;
  font-size: .62rem;
}

body.qradio-editorial.qradio-modern .mobile-nav {
  border-top: 1px solid var(--qr-line);
  border-bottom: 1px solid var(--qr-line);
  background: var(--qr-panel);
}

body.qradio-editorial.qradio-modern .mobile-nav-grid {
  gap: 0;
}

body.qradio-editorial.qradio-modern .mobile-nav-grid a {
  border: 0;
  border-bottom: 1px solid var(--qr-line);
  border-radius: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .site-footer {
  margin-top: 0;
  border-top: 1px solid var(--qr-ink);
  background: var(--qr-night);
  color: #e7ecea;
}

body.qradio-editorial.qradio-modern .footer-grid {
  padding-block: 3.5rem 3rem;
}

body.qradio-editorial.qradio-modern .footer-brand,
body.qradio-editorial.qradio-modern .footer-column strong {
  color: #fffefa;
}

body.qradio-editorial.qradio-modern .footer-brand span,
body.qradio-editorial.qradio-modern .footer-column a:hover,
body.qradio-editorial.qradio-modern .footer-column a:focus-visible {
  color: #e37768;
}

body.qradio-editorial.qradio-modern .footer-lead p,
body.qradio-editorial.qradio-modern .footer-column a,
body.qradio-editorial.qradio-modern .footer-bottom {
  color: #9ba7a8;
}

body.qradio-editorial.qradio-modern .footer-bottom {
  border-top-color: rgba(255, 255, 255, .18);
}

body.qradio-editorial.qradio-modern .footer-avds-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .25rem .5rem;
  border: 1px solid rgba(154, 169, 177, .38);
  border-radius: 999px;
  color: #cfd8d5;
  font: .57rem/1 var(--mono);
  letter-spacing: .08em;
  text-decoration: none;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}

body.qradio-editorial.qradio-modern .footer-avds-badge:hover,
body.qradio-editorial.qradio-modern .footer-avds-badge:focus-visible {
  border-color: #e37768;
  background: rgba(227, 119, 104, .1);
  color: #fffefa;
}

/* Home: live-first hero */

body.qradio-editorial.qradio-modern .home-page .hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: center;
  min-height: 560px;
  margin-top: 0;
  padding: clamp(3rem, 6vw, 6.5rem) 0;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--qr-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .home-page .hero::after {
  display: none;
}

body.qradio-editorial.qradio-modern .home-page .hero-copy {
  z-index: 1;
}

body.qradio-editorial.qradio-modern .home-page .eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--qr-signal);
  font-family: var(--qr-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .home-page .eyebrow-location {
  color: var(--qr-dim);
}

body.qradio-editorial.qradio-modern :where(.live-dot, .live-pulse, .live-label i, .signal-chip i, .player-rail-live i) {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--qr-signal);
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .home-page .hero h1 {
  max-width: 8ch;
  margin: 1.25rem 0 1.5rem;
  color: var(--qr-ink);
  font-size: clamp(4rem, 7.1vw, 7rem);
  font-weight: 760;
  letter-spacing: -.085em;
  line-height: .86;
}

body.qradio-editorial.qradio-modern .home-page .hero h1 em {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .home-page .hero-lede {
  max-width: 32rem;
  color: var(--qr-muted);
  font-size: .98rem;
  line-height: 1.55;
}

body.qradio-editorial.qradio-modern .home-page .hero-actions {
  gap: .55rem;
  margin-top: 1.8rem;
}

body.qradio-editorial.qradio-modern .home-page .hero-secondary-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  color: var(--qr-dim);
  font-size: .7rem;
}

body.qradio-editorial.qradio-modern .home-page .text-button {
  color: var(--qr-signal-dark);
  font-size: .7rem;
  font-weight: 700;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 32rem;
  margin-top: 2rem;
  padding: 0;
  border-top: 1px solid var(--qr-line);
  border-bottom: 1px solid var(--qr-line);
  background: transparent;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof div,
body.qradio-editorial.qradio-modern .home-page .hero-proof div:first-child {
  min-height: 62px;
  padding: .75rem .7rem;
  border: 0;
  border-right: 1px solid var(--qr-line);
  border-radius: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof div:last-child {
  border-right: 0;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof dt {
  color: var(--qr-dim);
  font-family: var(--qr-mono);
  font-size: .56rem;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof dd {
  margin-top: .35rem;
  color: var(--qr-ink);
  font-size: .68rem;
  font-weight: 800;
}

/* The current item is a broadcast object, not a decorative receiver. */

body.qradio-editorial.qradio-modern .hero-now {
  align-self: center;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--qr-ink);
  border-radius: 0;
  background: var(--qr-night);
  box-shadow: 12px 14px 0 rgba(20, 25, 28, .08);
  color: #f5f5f0;
}

body.qradio-editorial.qradio-modern .hero-now-head,
body.qradio-editorial.qradio-modern .hero-now-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  padding: .7rem .9rem;
  color: #9ba7a8;
  font-family: var(--qr-mono);
  font-size: .56rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .hero-now-head {
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

body.qradio-editorial.qradio-modern .hero-now-foot {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

body.qradio-editorial.qradio-modern .hero-now-foot a {
  color: #f0b0a7;
  font-weight: 700;
}

body.qradio-editorial.qradio-modern .live-label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

body.qradio-editorial.qradio-modern .hero-now-media {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: #202b30;
}

body.qradio-editorial.qradio-modern .hero-now-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
  filter: saturate(.72) contrast(1.06);
  opacity: 0;
  transition: opacity .18s ease;
}

body.qradio-editorial.qradio-modern .hero-now-media img.is-ready {
  opacity: .82;
}

body.qradio-editorial.qradio-modern .hero-now-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  background: #202b30;
  color: #f1eee5;
  text-align: center;
}

body.qradio-editorial.qradio-modern .hero-now-media img.is-ready + .hero-now-placeholder {
  opacity: 0;
}

body.qradio-editorial.qradio-modern .hero-now-placeholder span {
  display: block;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -.12em;
  line-height: .8;
}

body.qradio-editorial.qradio-modern .hero-now-placeholder small {
  margin-top: 1rem;
  color: #e37768;
  font-family: var(--qr-mono);
  font-size: .55rem;
  letter-spacing: .2em;
}

body.qradio-editorial.qradio-modern .hero-now-wave {
  position: absolute;
  right: 9%;
  bottom: 13%;
  left: 9%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 75px;
  opacity: .8;
}

body.qradio-editorial.qradio-modern .hero-now-wave::before {
  position: absolute;
  right: 0;
  left: 0;
  border-top: 1px solid rgba(244, 244, 240, .26);
  content: "";
}

body.qradio-editorial.qradio-modern .hero-now-wave i {
  position: relative;
  z-index: 1;
  display: block;
  width: 3px;
  height: 26%;
  background: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(2),
body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(8) { height: 52%; }
body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(3),
body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(7) { height: 76%; }
body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(4),
body.qradio-editorial.qradio-modern .hero-now-wave i:nth-child(6) { height: 100%; }

body.qradio-editorial.qradio-modern .hero-now-body {
  padding: 1rem .9rem 1.1rem;
}

body.qradio-editorial.qradio-modern .hero-now-status {
  display: block;
  color: #e37768;
  font-family: var(--qr-mono);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .hero-now-body h2 {
  max-width: 20ch;
  margin: .75rem 0 .45rem;
  color: #f5f5f0;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: -.055em;
  line-height: 1.02;
}

body.qradio-editorial.qradio-modern .hero-now-body p {
  margin: 0;
  color: #9ba7a8;
  font-family: var(--qr-mono);
  font-size: .62rem;
}

body.qradio-editorial.qradio-modern .ticker {
  display: none;
}

/* Home rhythm and listening surface */

body.qradio-editorial.qradio-modern :where(.listen-section, .platform-section, .voices-section, .voice-qa-section, .teams-section) {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

body.qradio-editorial.qradio-modern .home-page .listen-section {
  padding-top: clamp(5rem, 9vw, 8rem);
}

body.qradio-editorial.qradio-modern .section-intro {
  max-width: 720px;
}

body.qradio-editorial.qradio-modern .section-intro h2 {
  max-width: 12ch;
  margin-top: .75rem;
  color: var(--qr-ink);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  letter-spacing: -.08em;
  line-height: .88;
}

body.qradio-editorial.qradio-modern .section-intro h2 em {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .section-intro p {
  max-width: 32rem;
  margin-top: 1.1rem;
  color: var(--qr-muted);
  font-size: .88rem;
}

body.qradio-editorial.qradio-modern .studio {
  margin-top: 2.5rem;
  border-radius: 0;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .studio-topline {
  min-height: 46px;
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .studio-station {
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .audio-language {
  border-color: var(--qr-line);
  border-radius: 2px;
  background: transparent;
}

body.qradio-editorial.qradio-modern .audio-language a {
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .audio-language a[aria-current="true"] {
  background: var(--qr-ink);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern .studio-grid {
  grid-template-columns: minmax(190px, .34fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding: 1.8rem;
}

body.qradio-editorial.qradio-modern .cover {
  min-height: 280px;
  border: 1px solid var(--qr-ink);
  border-radius: 0;
  background: #d9d6cc;
  box-shadow: none;
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .cover::after {
  display: none;
}

body.qradio-editorial.qradio-modern .cover-index,
body.qradio-editorial.qradio-modern .cover-footer {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .record-platter {
  border-color: var(--qr-ink);
  background: var(--qr-night);
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .record-platter::before,
body.qradio-editorial.qradio-modern .record-platter::after {
  border-color: rgba(244, 244, 240, .28);
}

body.qradio-editorial.qradio-modern .record-platter strong {
  color: #f2eee5;
}

body.qradio-editorial.qradio-modern .record-platter small {
  color: #e37768;
}

body.qradio-editorial.qradio-modern .now-playing {
  min-width: 0;
}

body.qradio-editorial.qradio-modern .now-playing-head {
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .now-playing-head > span {
  color: var(--qr-dim);
  font-family: var(--qr-mono);
  font-size: .58rem;
  letter-spacing: .08em;
}

body.qradio-editorial.qradio-modern .now-playing h2 {
  max-width: 23ch;
  margin-top: 1.35rem;
  color: var(--qr-ink);
  font-size: clamp(2rem, 4.5vw, 4.8rem);
  letter-spacing: -.08em;
  line-height: .9;
}

body.qradio-editorial.qradio-modern .source-link {
  color: var(--qr-signal-dark);
  font-size: .72rem;
  font-weight: 700;
}

body.qradio-editorial.qradio-modern .progress-row {
  margin-top: 2rem;
}

body.qradio-editorial.qradio-modern .progress-row input[type="range"] {
  accent-color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern :where(.icon-button, .pill-button, .play-button) {
  border-radius: 2px;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .icon-button,
body.qradio-editorial.qradio-modern .pill-button {
  border-color: var(--qr-line);
  background: transparent;
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .icon-button:hover,
body.qradio-editorial.qradio-modern .pill-button:hover {
  border-color: var(--qr-ink);
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .play-button {
  border-color: var(--qr-ink);
  background: var(--qr-ink);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern .play-button:hover {
  border-color: var(--qr-signal);
  background: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .station-observatory-disclosure {
  margin-top: 0;
  border-top: 1px solid var(--qr-line);
  border-bottom: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .station-observatory-disclosure summary {
  min-height: 70px;
  padding: .8rem 0;
}

body.qradio-editorial.qradio-modern .station-observatory-summary-toggle {
  border-color: var(--qr-line);
  border-radius: 50%;
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .station-observatory {
  border: 0;
  border-top: 1px solid var(--qr-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .station-observatory-head {
  padding: 1.5rem 0 1rem;
}

body.qradio-editorial.qradio-modern :where(.data-panel, .station-language-compare, .station-mini-metrics) {
  border-color: var(--qr-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern :where(.data-state-banner, .data-panel, .station-language-compare) {
  border-radius: 0;
}

body.qradio-editorial.qradio-modern .queue-item {
  border-radius: 0;
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .queue-item:hover,
body.qradio-editorial.qradio-modern .queue-item.is-current {
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .queue-item.is-current {
  border-left-color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .queue-item.is-speech-blocked {
  opacity: .72;
  background: rgba(206, 78, 58, .045);
}

body.qradio-editorial.qradio-modern .queue-item.is-speech-blocked .queue-play {
  cursor: not-allowed;
}

body.qradio-editorial.qradio-modern .archive-item.is-speech-blocked {
  opacity: .72;
}

body.qradio-editorial.qradio-modern .archive-listen.is-disabled {
  color: var(--qr-dim);
  cursor: not-allowed;
}

body.qradio-editorial.qradio-modern .queue-item-index,
body.qradio-editorial.qradio-modern .queue-item-meta {
  color: var(--qr-dim);
}

body.qradio-editorial.qradio-modern .queue-item-title {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .archive-preview,
body.qradio-editorial.qradio-modern .archive-surface {
  border-radius: 0;
  box-shadow: none;
}

/* A restrained explanation of the production path. */

body.qradio-editorial.qradio-modern .home-service-preview {
  border-top: 1px solid var(--qr-ink);
  border-bottom: 1px solid var(--qr-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .home-service-preview h2 {
  max-width: 10ch;
  color: var(--qr-ink);
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  line-height: .87;
}

body.qradio-editorial.qradio-modern .home-service-preview h2 em {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .home-service-preview p {
  max-width: 29rem;
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .home-service-preview-side ol {
  gap: 0;
  border-top: 1px solid var(--qr-line);
  border-bottom: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .home-service-preview-side li {
  min-height: 62px;
  border-right: 1px solid var(--qr-line);
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .home-service-preview-side li:last-child {
  border-right: 0;
}

body.qradio-editorial.qradio-modern .home-service-preview-side li strong {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .home-system-preview-links {
  gap: 0;
  margin-top: 1.5rem;
}

body.qradio-editorial.qradio-modern .home-system-preview-links a {
  border-bottom: 1px solid var(--qr-line);
  border-radius: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .home-system-preview-links a:hover,
body.qradio-editorial.qradio-modern .home-system-preview-links a:focus-visible {
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .home-system-preview-links strong {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .home-system-preview-links small {
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .schedule-band {
  border-block: 1px solid var(--qr-line);
  background: var(--qr-paper-deep);
}

body.qradio-editorial.qradio-modern .schedule-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .schedule-range {
  border-radius: 0;
}

body.qradio-editorial.qradio-modern .teams-section {
  border-top: 1px solid var(--qr-ink);
  background: var(--qr-night);
  color: #eef1ed;
}

body.qradio-editorial.qradio-modern .teams-section :where(h2, h3, p) {
  color: inherit;
}

body.qradio-editorial.qradio-modern .teams-section h2 em {
  color: #e37768;
}

/* Archive and focused story pages: utility before decoration. */

body.qradio-editorial.qradio-modern :where(.archive-page-hero, .surface-hero, .podcast-page-hero, .story-hero) {
  margin-top: 0;
  border-bottom: 1px solid var(--qr-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern :where(.archive-page-hero, .surface-hero, .podcast-page-hero) {
  min-height: 420px;
  padding-block: clamp(3rem, 6vw, 6rem);
}

body.qradio-editorial.qradio-modern :where(.archive-page-hero h1, .surface-hero h1, .podcast-page-hero h1, .story-hero h1) {
  max-width: 10ch;
  color: var(--qr-ink);
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  letter-spacing: -.09em;
  line-height: .86;
}

body.qradio-editorial.qradio-modern :where(.archive-page-hero h1 em, .surface-hero h1 em, .podcast-page-hero h1 em, .story-hero h1 em) {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern :where(.archive-page-hero p, .surface-hero p, .podcast-page-hero p, .story-deck) {
  max-width: 34rem;
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern :where(.archive-page-main, .surface-page-main, .podcast-page-main, .story-listen, .story-next) {
  padding-block: clamp(3.5rem, 6vw, 6rem);
}

body.qradio-editorial.qradio-modern :where(.archive-surface, .story-player, .story-facts, .platform-proof-panel, .platform-detail-card, .teams-launch-panel, .teams-cta) {
  border-radius: 0;
  box-shadow: none;
}

body.qradio-editorial.qradio-modern .archive-surface {
  border-right: 0;
  border-left: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .archive-toolbar {
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .archive-filter,
body.qradio-editorial.qradio-modern .archive-search {
  border-color: var(--qr-line);
  border-radius: 2px;
  background: var(--qr-panel);
}

body.qradio-editorial.qradio-modern .archive-filter[aria-pressed="true"],
body.qradio-editorial.qradio-modern .archive-filter:hover,
body.qradio-editorial.qradio-modern .archive-filter:focus-visible {
  border-color: var(--qr-ink);
  background: var(--qr-ink);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern .archive-item {
  border-bottom: 1px solid var(--qr-line);
  border-radius: 0;
  background: transparent;
}

body.qradio-editorial.qradio-modern .archive-item:hover,
body.qradio-editorial.qradio-modern .archive-item:focus-within {
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .archive-item h3 {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .archive-item-meta,
body.qradio-editorial.qradio-modern .archive-empty,
body.qradio-editorial.qradio-modern .archive-summary {
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: end;
  padding-block: clamp(3rem, 6vw, 6rem);
}

body.qradio-editorial.qradio-modern .story-hero-copy {
  min-width: 0;
}

body.qradio-editorial.qradio-modern .story-breadcrumb,
body.qradio-editorial.qradio-modern .surface-breadcrumb {
  color: var(--qr-muted);
  font-size: .68rem;
}

body.qradio-editorial.qradio-modern :where(.story-breadcrumb a, .surface-breadcrumb a) {
  color: var(--qr-signal-dark);
}

body.qradio-editorial.qradio-modern .story-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 2rem;
  color: var(--qr-muted);
  font-family: var(--qr-mono);
  font-size: .62rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .story-hero h1 {
  max-width: 15ch;
  margin-top: 1rem;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
}

body.qradio-editorial.qradio-modern .story-deck {
  margin-top: 1.2rem;
  font-size: .98rem;
}

body.qradio-editorial.qradio-modern .story-actions {
  margin-top: 1.8rem;
}

body.qradio-editorial.qradio-modern .story-art {
  min-height: 360px;
  border: 1px solid var(--qr-ink);
  border-radius: 0;
  background: var(--qr-night);
  box-shadow: 12px 14px 0 rgba(20, 25, 28, .08);
}

body.qradio-editorial.qradio-modern .story-art img {
  opacity: .72;
  filter: saturate(.7) contrast(1.06);
}

body.qradio-editorial.qradio-modern .story-art-grid {
  opacity: .35;
}

body.qradio-editorial.qradio-modern .story-art strong {
  color: #f5f5f0;
}

body.qradio-editorial.qradio-modern .story-art small,
body.qradio-editorial.qradio-modern .story-art-index {
  color: #e37768;
}

body.qradio-editorial.qradio-modern .story-section-head {
  border-bottom-color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .story-section-head h2,
body.qradio-editorial.qradio-modern .podcast-page-toolbar h2,
body.qradio-editorial.qradio-modern .surface-section-head h2 {
  color: var(--qr-ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .9;
}

body.qradio-editorial.qradio-modern .story-live-label {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .story-player {
  background: var(--qr-panel);
}

body.qradio-editorial.qradio-modern .story-player-top {
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .story-facts {
  border-top: 3px solid var(--qr-signal);
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .story-facts h2 {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .story-facts li {
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .story-next .queue {
  border-top: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern :where(.surface-info-card, .teams-model-grid .surface-info-card) {
  border-radius: 0;
  border-color: var(--qr-line);
  background: var(--qr-panel);
  box-shadow: none;
}

body.qradio-editorial.qradio-modern :where(.surface-info-card:hover, .platform-detail-card:hover) {
  border-color: var(--qr-ink);
  transform: none;
}

body.qradio-editorial.qradio-modern .teams-model-featured {
  border-top: 3px solid var(--qr-signal);
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .surface-next-links a {
  border-radius: 0;
  border-bottom-color: var(--qr-line);
}

body.qradio-editorial.qradio-modern .surface-next-links a:hover,
body.qradio-editorial.qradio-modern .surface-next-links a:focus-visible {
  background: var(--qr-panel-muted);
}

/* Persistent player: one quiet control, never a floating sales widget. */

body.qradio-editorial.qradio-modern.has-player-rail-page {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}

body.qradio-editorial.qradio-modern .player-rail {
  right: 18px;
  bottom: 16px;
  left: auto;
  width: min(540px, calc(100vw - 36px));
  min-height: 58px;
  padding: .65rem .8rem;
  border: 1px solid #39484d;
  border-radius: 2px;
  background: var(--qr-night);
  box-shadow: 8px 9px 0 rgba(20, 25, 28, .12);
  backdrop-filter: none;
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background-color .2s ease;
}

body.qradio-editorial.qradio-modern .player-rail.is-contextual-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem);
}

body.qradio-editorial.qradio-modern .player-rail-copy strong {
  color: #f5f5f0;
  font-size: .73rem;
}

body.qradio-editorial.qradio-modern .player-rail-copy small {
  color: #9ba7a8;
  font-family: var(--qr-mono);
  font-size: .56rem;
}

body.qradio-editorial.qradio-modern .player-rail-link {
  color: #f0b0a7;
  font-size: .62rem;
}

body.qradio-editorial.qradio-modern .player-rail-play {
  width: 34px;
  height: 34px;
  border: 1px solid #f5f5f0;
  border-radius: 50%;
  background: #f5f5f0;
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .player-rail-play:hover {
  border-color: var(--qr-signal);
  background: var(--qr-signal);
  color: #fffefa;
}

body.qradio-editorial.qradio-modern .player-rail-progress {
  background: rgba(255, 255, 255, .16);
}

body.qradio-editorial.qradio-modern .player-rail-progress i {
  background: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .story-transcript {
  margin-top: clamp(3rem, 7vw, 7rem);
}

body.qradio-editorial.qradio-modern .story-transcript-card {
  max-width: 62rem;
  margin-left: auto;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line, rgba(19, 28, 38, .14));
  border-radius: 1rem;
  background: var(--surface, #fff);
}

body.qradio-editorial.qradio-modern .story-transcript-note {
  max-width: 45rem;
  margin: 0 0 1.25rem;
  color: var(--muted, #65707a);
  font-size: .82rem;
  line-height: 1.5;
}

body.qradio-editorial.qradio-modern .story-transcript-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-top: 1px solid var(--line, rgba(19, 28, 38, .14));
  border-bottom: 1px solid var(--line, rgba(19, 28, 38, .14));
  color: var(--muted, #65707a);
  font: .62rem var(--qr-mono, monospace);
  letter-spacing: .04em;
}

body.qradio-editorial.qradio-modern .story-transcript-toolbar .text-button {
  flex: 0 0 auto;
  color: var(--qr-signal, #a33d32);
  font: inherit;
}

body.qradio-editorial.qradio-modern .story-transcript-segments {
  display: grid;
  gap: 0;
  max-width: 48rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.qradio-editorial.qradio-modern .story-transcript-segments li {
  border-bottom: 1px solid var(--line, rgba(19, 28, 38, .14));
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button {
  display: grid;
  grid-template-columns: 4.6rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: 100%;
  padding: 1rem .75rem;
  border: 0;
  background: transparent;
  color: var(--ink, #18232d);
  text-align: left;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button time {
  padding-top: .18rem;
  color: var(--muted, #65707a);
  font: .62rem var(--qr-mono, monospace);
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button > span {
  display: grid;
  gap: .35rem;
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button strong {
  color: var(--qr-signal, #a33d32);
  font: .58rem var(--qr-mono, monospace);
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button > span > span {
  font-size: 1rem;
  line-height: 1.7;
}

body.qradio-editorial.qradio-modern .story-transcript-segments li.is-current .story-transcript-segment-button {
  background: rgba(92, 99, 242, .06);
  box-shadow: inset 3px 0 var(--qr-signal, #a33d32);
  color: var(--qr-ink, #18232d);
}

body.qradio-editorial.qradio-modern .story-transcript-segment-button:hover,
body.qradio-editorial.qradio-modern .story-transcript-segment-button:focus-visible {
  background: rgba(92, 99, 242, .09);
  color: var(--qr-ink, #18232d);
}

body.qradio-editorial.qradio-modern .story-transcript-text {
  max-width: 48rem;
  color: var(--ink, #18232d);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.78;
}

body.qradio-editorial.qradio-modern .story-transcript-text:focus-visible {
  outline: 2px solid var(--accent, #5c63f2);
  outline-offset: .35rem;
}

body.qradio-editorial.qradio-modern .story-transcript-text.is-empty,
body.qradio-editorial.qradio-modern .story-transcript-status.is-blocked {
  color: var(--danger, #a33d32);
}

body.qradio-editorial.qradio-modern .story-transcript-status.is-review {
  color: var(--warning, #9a6b2f);
}

body.qradio-editorial.qradio-modern .schedule-range .schedule-item {
  position: relative;
}

body.qradio-editorial.qradio-modern .schedule-range .schedule-status {
  display: inline-flex;
  margin-left: .45rem;
  padding: .18rem .42rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted, #65707a);
  font: .58rem var(--qr-mono, monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .schedule-range .schedule-item.is-live .schedule-status {
  border-color: var(--qr-signal, #db5a4c);
  color: var(--qr-signal, #db5a4c);
}

body.qradio-editorial.qradio-modern .schedule-range .schedule-item.is-live h3 {
  color: var(--qr-signal, #db5a4c);
}

body.qradio-editorial.qradio-modern .schedule-range .schedule-item.is-past {
  opacity: .62;
}

/* Responsive rules are intentionally explicit: no horizontal scroll, no card wall. */

@media (max-width: 900px) {
  body.qradio-editorial.qradio-modern .home-page .hero {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    min-height: 0;
    padding-block: 3.5rem 3rem;
  }

  body.qradio-editorial.qradio-modern .hero-now {
    width: 100%;
  }

  body.qradio-editorial.qradio-modern .hero-now-media,
  body.qradio-editorial.qradio-modern .hero-now-media img {
    min-height: 260px;
  }

  body.qradio-editorial.qradio-modern .studio-grid,
  body.qradio-editorial.qradio-modern .story-hero {
    grid-template-columns: 1fr;
  }

  body.qradio-editorial.qradio-modern .story-art {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  body.qradio-editorial.qradio-modern .shell {
    width: min(calc(100% - 40px), var(--qr-shell));
  }

  body.qradio-editorial.qradio-modern .site-header {
    position: relative;
  }

  body.qradio-editorial.qradio-modern .header-inner {
    min-height: 58px;
  }

  body.qradio-editorial.qradio-modern .primary-nav,
  body.qradio-editorial.qradio-modern .header-cta {
    display: none;
  }

  body.qradio-editorial.qradio-modern .header-actions {
    margin-left: auto;
  }

  body.qradio-editorial.qradio-modern .home-page .hero {
    gap: 2rem;
    padding-block: 2.4rem 2.6rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero h1 {
    max-width: 7ch;
    margin-top: 1rem;
    font-size: clamp(3.7rem, 18vw, 5.5rem);
  }

  body.qradio-editorial.qradio-modern .home-page .hero-lede {
    max-width: 23rem;
    font-size: .9rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-actions .button {
    justify-content: center;
    width: 100%;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-secondary-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 1.5rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-proof div,
  body.qradio-editorial.qradio-modern .home-page .hero-proof div:first-child {
    min-height: 58px;
    padding: .65rem .45rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-proof dd {
    font-size: .58rem;
  }

  body.qradio-editorial.qradio-modern .hero-now-media,
  body.qradio-editorial.qradio-modern .hero-now-media img {
    min-height: 220px;
  }

  body.qradio-editorial.qradio-modern .hero-now-body h2 {
    font-size: 1.45rem;
  }

  body.qradio-editorial.qradio-modern :where(.listen-section, .platform-section, .voices-section, .voice-qa-section, .teams-section) {
    padding-block: 4rem;
  }

  body.qradio-editorial.qradio-modern .home-page .listen-section {
    padding-top: 4rem;
  }

  body.qradio-editorial.qradio-modern .section-intro h2,
  body.qradio-editorial.qradio-modern .home-service-preview h2 {
    max-width: 11ch;
    font-size: clamp(2.65rem, 13vw, 4.2rem);
  }

  body.qradio-editorial.qradio-modern .studio-grid {
    gap: 1.4rem;
    padding: 1rem;
  }

  body.qradio-editorial.qradio-modern .cover {
    min-height: 190px;
  }

  body.qradio-editorial.qradio-modern .now-playing h2 {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  body.qradio-editorial.qradio-modern .home-service-preview-side ol {
    grid-template-columns: repeat(2, 1fr);
  }

  body.qradio-editorial.qradio-modern .home-service-preview-side li:nth-child(2) {
    border-right: 0;
  }

  body.qradio-editorial.qradio-modern .home-service-preview-side li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--qr-line);
  }

  body.qradio-editorial.qradio-modern :where(.archive-page-hero, .surface-hero, .podcast-page-hero, .story-hero) {
    padding-block: 2.5rem 3rem;
  }

  body.qradio-editorial.qradio-modern :where(.archive-page-hero h1, .surface-hero h1, .podcast-page-hero h1, .story-hero h1) {
    max-width: 8ch;
    font-size: clamp(3rem, 15vw, 5rem);
  }

  body.qradio-editorial.qradio-modern .platform-page .surface-hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 13.5vw, 4.5rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  body.qradio-editorial.qradio-modern .podcast-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.2rem);
    line-height: .94;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.qradio-editorial.qradio-modern :where(.archive-page-main, .surface-page-main, .podcast-page-main, .story-listen, .story-next) {
    padding-block: 3.5rem;
  }

  body.qradio-editorial.qradio-modern .story-art {
    min-height: 240px;
    box-shadow: 7px 8px 0 rgba(20, 25, 28, .08);
  }

  body.qradio-editorial.qradio-modern .story-transcript-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: .55rem;
  }

  body.qradio-editorial.qradio-modern .story-transcript-segment-button {
    grid-template-columns: 3.8rem minmax(0, 1fr);
    gap: .7rem;
    padding-inline: .55rem;
  }

  body.qradio-editorial.qradio-modern .story-transcript-segment-button > span > span {
    font-size: .95rem;
  }

  body.qradio-editorial.qradio-modern.has-player-rail-page {
    padding-bottom: calc(98px + env(safe-area-inset-bottom));
  }

  body.qradio-editorial.qradio-modern .player-rail {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    padding-bottom: calc(.65rem + env(safe-area-inset-bottom));
  }

  body.qradio-editorial.qradio-modern .player-rail-link {
    display: none;
  }

  body.qradio-editorial.qradio-modern .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.qradio-editorial.qradio-modern *,
  body.qradio-editorial.qradio-modern *::before,
  body.qradio-editorial.qradio-modern *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* The older broadcast layer has deliberately specific dark-page rules. Keep
 * the focused pages on the same paper canvas as the redesigned home. */

body.qradio-editorial.qradio-modern :is(.archive-page-hero, .surface-hero, .podcast-page-hero, .story-hero) {
  background: transparent !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero h1, .surface-hero h1, .podcast-page-hero h1, .story-hero h1) {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero h1 em, .surface-hero h1 em, .podcast-page-hero h1 em, .story-hero h1 em) {
  color: var(--qr-signal) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero-copy p, .surface-hero-copy > p, .podcast-page-hero-copy > p:not(.podcast-page-meta), .story-deck) {
  color: var(--qr-muted) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero .archive-breadcrumb, .surface-hero .surface-breadcrumb, .story-hero .story-breadcrumb, .podcast-page-hero .podcast-page-breadcrumb) {
  color: var(--qr-dim) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero .archive-breadcrumb a, .surface-hero .surface-breadcrumb a, .story-hero .story-breadcrumb a, .podcast-page-hero .podcast-page-breadcrumb a) {
  color: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  color: var(--qr-ink) !important;
  box-shadow: var(--qr-shadow) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-note strong, .surface-hero-note strong, .podcast-page-note strong) {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-note p, .surface-hero-note p, .podcast-page-note p) {
  color: var(--qr-muted) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero .button-ghost, .surface-hero .button-ghost, .podcast-page-hero .button-ghost, .story-hero .button-ghost) {
  border-color: var(--qr-line) !important;
  background: transparent !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero .button-ghost, .surface-hero .button-ghost, .podcast-page-hero .button-ghost, .story-hero .button-ghost):hover,
body.qradio-editorial.qradio-modern :is(.archive-page-hero .button-ghost, .surface-hero .button-ghost, .podcast-page-hero .button-ghost, .story-hero .button-ghost):focus-visible {
  border-color: var(--qr-ink) !important;
  background: var(--qr-panel) !important;
  color: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-surface {
  padding: clamp(1.2rem, 3vw, 2.25rem) 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
  grid-template-columns: minmax(16rem, 1.55fr) minmax(12rem, 1fr) minmax(8rem, .65fr) minmax(8rem, .65fr) auto;
  padding: .55rem;
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters input,
body.qradio-editorial.qradio-modern .archive-page-main .archive-filters select {
  height: 42px;
  border: 1px solid var(--qr-line) !important;
  border-radius: 2px !important;
  background: var(--qr-paper) !important;
  color: var(--qr-ink) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 42px;
  padding: .25rem .5rem;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--qr-muted);
  cursor: pointer;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter:focus-within {
  border-color: var(--qr-line);
  background: var(--qr-panel-muted);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter input {
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter span {
  color: var(--qr-muted);
  font: .58rem var(--qr-mono);
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: none;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filters {
  grid-column: 1 / -1;
  border-top: 1px solid var(--qr-line);
  padding-top: .55rem;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filters summary {
  width: max-content;
  color: var(--qr-muted);
  cursor: pointer;
  font: .58rem var(--qr-mono);
  letter-spacing: .06em;
  list-style-position: inside;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .55rem;
  margin-top: .65rem;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filter-grid label {
  display: grid;
  gap: .38rem;
  min-width: 0;
  color: var(--qr-muted);
  font: .56rem var(--qr-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filters summary:focus-visible {
  outline: 2px solid var(--qr-signal);
  outline-offset: 3px;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters input:focus,
body.qradio-editorial.qradio-modern .archive-page-main .archive-filters select:focus {
  border-color: var(--qr-ink) !important;
  box-shadow: 0 0 0 2px rgba(187, 63, 52, .14) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-state {
  min-height: 50px;
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-list {
  border-top: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-item {
  padding: 1rem 0;
  border-top: 0;
  border-bottom: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-item:hover,
body.qradio-editorial.qradio-modern .archive-page-main .archive-item:focus-within {
  background: var(--qr-panel-muted) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-source {
  border-radius: 2px !important;
  border-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-pagination {
  border-top-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof {
  grid-auto-flow: row;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-proof > div {
  min-width: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card,
body.qradio-editorial.qradio-modern .story-facts .story-data-card-bar {
  border-radius: 0 !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card {
  border-color: var(--qr-line) !important;
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card-head,
body.qradio-editorial.qradio-modern .story-facts .story-data-card-head small {
  color: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card-points li {
  border-top-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card-points span,
body.qradio-editorial.qradio-modern .story-facts .story-data-card-points small {
  color: var(--qr-muted) !important;
}

body.qradio-editorial.qradio-modern .story-facts .story-data-card-points strong,
body.qradio-editorial.qradio-modern .story-facts .story-data-card-points time,
body.qradio-editorial.qradio-modern .story-facts .story-data-card-source {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .home-page .content-grid {
  align-items: start;
}

body.qradio-editorial.qradio-modern .home-page :is(.queue-panel, .facts-panel) {
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .home-page .facts-panel {
  border-top: 3px solid var(--qr-signal) !important;
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .home-page .queue-search {
  border: 1px solid var(--qr-line) !important;
  border-radius: 2px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .home-page .queue-search input {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .home-page .facts-panel h2,
body.qradio-editorial.qradio-modern .home-page .facts-panel li,
body.qradio-editorial.qradio-modern .home-page .facts-panel .facts-note {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .home-page .facts-panel li,
body.qradio-editorial.qradio-modern .home-page .facts-note {
  border-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .story-next .queue {
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .podcast-page .podcast-page-note ol {
  margin-top: 1.4rem;
  border-top: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .podcast-page .podcast-page-note li {
  border-bottom-color: var(--qr-line) !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .podcast-page :is(.podcast-page-toolbar, .podcast-dock) {
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .podcast-page .podcast-page-toolbar {
  border-top: 3px solid var(--qr-signal) !important;
}

body.qradio-editorial.qradio-modern .podcast-page .podcast-dock {
  margin-top: 1.25rem;
}

body.qradio-editorial.qradio-modern .podcast-page .podcast-dock-grid h3,
body.qradio-editorial.qradio-modern .podcast-page .podcast-subhead strong,
body.qradio-editorial.qradio-modern .podcast-page .podcast-turns strong,
body.qradio-editorial.qradio-modern .podcast-page .podcast-transcript strong {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .podcast-page :is(.podcast-evidence, .podcast-chapters, .podcast-transcript, .podcast-prepared) {
  border-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .podcast-page :is(.podcast-chapters li, .podcast-evidence-trail li) {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-paper-deep) !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow li {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow li:last-child,
body.qradio-editorial.qradio-modern .platform-page .platform-detail-card:last-child {
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow-icon {
  border-radius: 0 !important;
  border-color: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-detail-card {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-model-featured {
  border-top: 3px solid var(--qr-signal) !important;
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-model-featured :is(.deployment-label, h3, p, li) {
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-model-featured li {
  border-color: var(--qr-line) !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-launch-panel {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-launch-steps li {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-paper-deep) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-cta {
  border-color: var(--qr-ink) !important;
  border-radius: 0 !important;
  background: var(--qr-night) !important;
  color: #f4f4f0 !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-cta :is(.section-kicker, h2, p, small) {
  color: #f4f4f0 !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-cta h2 em {
  color: #e37768 !important;
}

body.qradio-editorial.qradio-modern .teams-page .teams-cta .button-light {
  border-color: #f4f4f0 !important;
  background: #f4f4f0 !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern :is(.voice-observation-panel, .quality-check-grid .surface-info-card) {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .voice-observation-panel {
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .quality-check-grid .surface-info-card {
  background: var(--qr-paper-deep) !important;
}

/* The protected desk follows the same material language while keeping its dark review state. */
body.qradio-editorial.qradio-modern .operator-app {
  background: var(--qr-paper) !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .operator-guard-card {
  border-color: var(--qr-ink) !important;
  border-radius: 0 !important;
  background: var(--qr-night) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .operator-guard-card :is(span, strong, p) {
  color: #f4f4f0 !important;
}

body.qradio-editorial.qradio-modern .operator-guard-card p {
  color: #aeb5b1 !important;
}

body.qradio-editorial.qradio-modern .operator-phase-nav {
  gap: 0 !important;
  background: rgba(244, 244, 240, .96) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .operator-phase-nav a,
body.qradio-editorial.qradio-modern .operator-card,
body.qradio-editorial.qradio-modern .operator-controls :is(input, select, textarea) {
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .operator-phase-nav a {
  border-color: var(--qr-line) !important;
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .operator-card {
  border-color: var(--qr-line) !important;
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .operator-controls :is(input, select, textarea) {
  border-color: var(--qr-line) !important;
  background: var(--qr-paper) !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .operator-preview {
  border-color: var(--qr-ink) !important;
  border-radius: 0 !important;
  background: var(--qr-night) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .operator-preview :is(
  .operator-preview-state,
  .operator-preview-meta div,
  .operator-quality-visual,
  .operator-quality-compare,
  .operator-evidence-panel,
  .operator-output-block,
  .operator-quality-guidance,
  .operator-columns article,
  .operator-approval-panel,
  .operator-history-panel,
  .operator-reason-field
) {
  border-radius: 0 !important;
  background: #182228 !important;
}

body.qradio-editorial.qradio-modern .operator-quality-guidance {
  background: #1e2b2f !important;
}

body.qradio-editorial.qradio-modern .operator-app :is(
  .operator-card-head > span,
  .operator-field > span,
  .operator-status-grid span,
  .operator-preview-meta span,
  .operator-output-block > span,
  .operator-quality-guidance > span,
  .operator-columns span,
  .operator-approval-panel > div > span,
  .operator-history-head span
) {
  color: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern .operator-controls :is(
  .operator-status-grid div,
  .operator-queue-profile,
  .operator-report-panel,
  .operator-report-metrics > div,
  .data-state-banner
) {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tape {
  background: #d8d5cc !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tape > span {
  background: var(--qr-signal) !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tape > span:nth-child(3n + 2) {
  background: var(--qr-signal-dark) !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tape > span:nth-child(3n + 3) {
  background: #8c8b83 !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tools {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-paper-deep) !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tools input,
body.qradio-editorial.qradio-modern .operator-queue-tools select {
  border-color: var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
}

body.qradio-editorial.qradio-modern .operator-queue-tools > small {
  color: var(--qr-muted) !important;
}

@media (max-width: 980px) {
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) repeat(2, minmax(7rem, .7fr)) !important;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .text-button {
    grid-column: 1 / -1 !important;
    justify-self: start;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: .65rem;
    padding: .65rem;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters label,
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .text-button {
    grid-column: 1 / -1 !important;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters input,
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters select {
    min-width: 0;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Structural pass: the public entry point is a station, not a product pitch. */
body.qradio-editorial.qradio-modern .home-page .hero {
  display: grid !important;
  grid-template-columns: minmax(0, .78fr) minmax(25rem, 1.22fr) !important;
  gap: clamp(2rem, 6vw, 6.5rem) !important;
  align-items: center !important;
  min-height: 0 !important;
  margin-top: clamp(2rem, 5vw, 4.5rem) !important;
  padding: clamp(1.75rem, 4vw, 3.75rem) 0 clamp(2.5rem, 5vw, 5rem) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-copy {
  max-width: 35rem !important;
}

body.qradio-editorial.qradio-modern .home-page .hero h1 {
  max-width: 9ch !important;
  margin: 1rem 0 1.15rem !important;
  font-size: clamp(3.35rem, 7.2vw, 7.5rem) !important;
  letter-spacing: -.085em !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-lede {
  max-width: 34rem !important;
  color: var(--qr-muted) !important;
  font-size: .98rem !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-actions {
  margin-top: 1.6rem !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now {
  min-height: clamp(24rem, 42vw, 34rem) !important;
  border: 1px solid var(--qr-ink) !important;
  border-radius: 0 !important;
  background: var(--qr-night) !important;
  box-shadow: 12px 12px 0 var(--qr-signal) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now-media {
  min-height: clamp(13rem, 25vw, 21rem) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now-body h2 {
  max-width: 15ch !important;
  font-size: clamp(1.55rem, 2.9vw, 3rem) !important;
  letter-spacing: -.06em !important;
}

body.qradio-editorial.qradio-modern .home-page .ticker {
  margin: 0 !important;
  border-bottom: 1px solid var(--qr-line) !important;
  background: transparent !important;
  color: var(--qr-signal) !important;
}

body.qradio-editorial.qradio-modern .home-page .listen-section {
  padding-top: clamp(4rem, 8vw, 8rem) !important;
}

body.qradio-editorial.qradio-modern .home-page .studio {
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: 10px 10px 0 var(--qr-paper-deep) !important;
}

/* The archive is a finding tool. Its masthead should never compete with the list. */
body.qradio-editorial.qradio-modern .archive-page-hero {
  margin-top: clamp(1.5rem, 3vw, 3rem) !important;
  padding-top: 0 !important;
  padding-bottom: clamp(1rem, 2vw, 2rem) !important;
  border: 0 !important;
  background: transparent !important;
}

body.qradio-editorial.qradio-modern .archive-page-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 24rem) !important;
  align-items: end !important;
  gap: clamp(2rem, 7vw, 8rem) !important;
}

body.qradio-editorial.qradio-modern .archive-page-hero-copy h1 {
  max-width: 10ch !important;
  margin: .8rem 0 .8rem !important;
  font-size: clamp(3rem, 6.2vw, 6.4rem) !important;
}

body.qradio-editorial.qradio-modern .archive-page-hero-copy p {
  max-width: 38rem !important;
  margin-bottom: 1rem !important;
}

body.qradio-editorial.qradio-modern .archive-page-note {
  align-self: end !important;
  border: 1px solid var(--qr-line) !important;
  border-top: 3px solid var(--qr-signal) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .archive-page-main {
  margin-top: 0 !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-surface {
  border: 1px solid var(--qr-line) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

/* Dedicated live station surface. */
body.qradio-editorial.qradio-modern .live-page {
  display: block;
  background: var(--qr-paper) !important;
  color: var(--qr-ink) !important;
}

body.qradio-editorial.qradio-modern .live-masthead {
  margin-top: clamp(1.5rem, 3vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .live-breadcrumb {
  display: flex;
  gap: .7rem;
  align-items: center;
  color: var(--qr-muted);
  font-family: var(--qr-mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .live-breadcrumb a {
  color: var(--qr-ink);
  text-decoration: none;
}

body.qradio-editorial.qradio-modern .live-masthead-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(22rem, 1.1fr);
  gap: clamp(2rem, 8vw, 10rem);
  align-items: end;
  margin-top: clamp(2rem, 5vw, 4.5rem);
}

body.qradio-editorial.qradio-modern .live-masthead h1 {
  max-width: 8ch;
  margin: .85rem 0 1rem;
  font-size: clamp(3.6rem, 8.5vw, 9rem);
  letter-spacing: -.09em;
}

body.qradio-editorial.qradio-modern .live-masthead p {
  max-width: 34rem;
  margin: 0;
  color: var(--qr-muted);
  font-size: 1.02rem;
}

body.qradio-editorial.qradio-modern .live-now-summary {
  display: grid;
  gap: 1rem;
  min-height: 13rem;
  padding: 1.35rem;
  border: 1px solid var(--qr-ink);
  border-top: 4px solid var(--qr-signal);
  background: var(--qr-night);
  color: #f4f4f0;
  box-shadow: 10px 10px 0 var(--qr-paper-deep);
}

body.qradio-editorial.qradio-modern .live-summary-label,
body.qradio-editorial.qradio-modern .live-player-top,
body.qradio-editorial.qradio-modern .live-section-head,
body.qradio-editorial.qradio-modern .live-queue-tools {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

body.qradio-editorial.qradio-modern .live-summary-label > span:last-child,
body.qradio-editorial.qradio-modern .live-programme-note {
  color: #aeb5b1;
  font-family: var(--qr-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .live-now-summary .live-label,
body.qradio-editorial.qradio-modern .live-player-top .live-label {
  color: #f4f4f0;
}

body.qradio-editorial.qradio-modern .live-now-summary strong {
  max-width: 18ch;
  color: #f4f4f0;
  font-family: var(--qr-display);
  font-size: clamp(1.8rem, 3.5vw, 3.6rem);
  font-weight: 720;
  letter-spacing: -.075em;
  line-height: .96;
}

body.qradio-editorial.qradio-modern .live-now-summary > span:last-child {
  color: #aeb5b1;
  font-family: var(--qr-mono);
  font-size: .72rem;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .live-listen,
body.qradio-editorial.qradio-modern .live-queue,
body.qradio-editorial.qradio-modern .live-programme {
  padding-top: clamp(4rem, 8vw, 8rem);
}

body.qradio-editorial.qradio-modern .live-section-head {
  align-items: end;
  margin-bottom: 1.5rem;
}

body.qradio-editorial.qradio-modern .live-section-head h2 {
  margin: .55rem 0 0;
  font-size: clamp(2.2rem, 5vw, 5.8rem);
}

body.qradio-editorial.qradio-modern .live-section-head h2 em {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .live-language-switch {
  display: flex;
  gap: 0;
  border: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .live-language-switch a {
  min-width: 3.15rem;
  padding: .7rem .8rem;
  border-right: 1px solid var(--qr-line);
  color: var(--qr-muted);
  font-family: var(--qr-mono);
  font-size: .68rem;
  text-align: center;
  text-decoration: none;
}

body.qradio-editorial.qradio-modern .live-language-switch a:last-child {
  border-right: 0;
}

body.qradio-editorial.qradio-modern .live-language-switch a[aria-current="true"] {
  background: var(--qr-signal);
  color: #fff;
}

body.qradio-editorial.qradio-modern .live-player-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, .7fr);
  gap: 1rem;
  align-items: stretch;
}

body.qradio-editorial.qradio-modern .live-player {
  overflow: hidden;
  border: 1px solid var(--qr-ink) !important;
  border-radius: 0 !important;
  background: var(--qr-night) !important;
  color: #f4f4f0;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .live-player-top {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid #344147;
  color: #aeb5b1;
  font-family: var(--qr-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .live-player-top > span:last-child {
  color: #aeb5b1;
}

body.qradio-editorial.qradio-modern .live-player-body {
  display: grid;
  grid-template-columns: minmax(10rem, .42fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.5rem);
  padding: clamp(1.35rem, 4vw, 3.25rem);
  align-items: center;
}

body.qradio-editorial.qradio-modern .live-player-cover {
  display: grid;
  aspect-ratio: 1;
  align-content: space-between;
  padding: 1rem;
  border: 1px solid #455158;
  background: linear-gradient(145deg, #29383d 0%, #11191d 68%);
  color: #f4f4f0;
}

body.qradio-editorial.qradio-modern .live-player-cover img {
  display: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  grid-row: 1 / -1;
  opacity: .86;
}

body.qradio-editorial.qradio-modern .live-player-cover img.is-ready {
  display: block;
}

body.qradio-editorial.qradio-modern .live-player-cover img.is-ready + span,
body.qradio-editorial.qradio-modern .live-player-cover img.is-ready + span + small {
  display: none;
}

body.qradio-editorial.qradio-modern .live-player-cover span {
  justify-self: center;
  align-self: center;
  color: var(--qr-signal);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -.14em;
}

body.qradio-editorial.qradio-modern .live-player-cover small {
  color: #aeb5b1;
  font-family: var(--qr-mono);
  font-size: .6rem;
  letter-spacing: .1em;
}

body.qradio-editorial.qradio-modern .live-player-copy {
  min-width: 0;
}

body.qradio-editorial.qradio-modern .live-player-copy .overline {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .live-player-copy h2 {
  max-width: 17ch;
  margin: .7rem 0 1rem;
  color: #f4f4f0;
  font-size: clamp(1.65rem, 3.4vw, 3.8rem);
  letter-spacing: -.075em;
}

body.qradio-editorial.qradio-modern .live-player-copy .source-link {
  color: #f4f4f0;
}

body.qradio-editorial.qradio-modern .live-player-copy .progress-row input[type="range"] {
  accent-color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .live-player :where(.icon-button, .pill-button) {
  border-color: #69767b !important;
  background: transparent !important;
  color: #f4f4f0 !important;
}

body.qradio-editorial.qradio-modern .live-player :where(.icon-button, .pill-button):hover,
body.qradio-editorial.qradio-modern .live-player :where(.icon-button, .pill-button):focus-visible {
  border-color: var(--qr-signal) !important;
  background: #263238 !important;
  color: #fff !important;
}

body.qradio-editorial.qradio-modern .live-player .play-button {
  border-color: var(--qr-signal) !important;
  background: var(--qr-signal) !important;
  color: #fff !important;
}

body.qradio-editorial.qradio-modern .live-player .progress-row,
body.qradio-editorial.qradio-modern .live-player .player-status {
  color: #aeb5b1 !important;
}

body.qradio-editorial.qradio-modern .live-facts {
  border: 1px solid var(--qr-line) !important;
  border-top: 4px solid var(--qr-signal) !important;
  border-radius: 0 !important;
  background: var(--qr-panel) !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .live-facts h2 {
  margin: .7rem 0 1rem;
  font-size: clamp(1.7rem, 3vw, 3.3rem);
}

body.qradio-editorial.qradio-modern .live-facts ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.qradio-editorial.qradio-modern .live-facts li {
  padding: .85rem 0;
  border-top: 1px solid var(--qr-line);
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .live-queue-list {
  border-top: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .live-queue-tools {
  justify-content: flex-start;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .live-queue-tools label {
  display: grid;
  gap: .35rem;
  width: min(100%, 28rem);
  color: var(--qr-muted);
  font-family: var(--qr-mono);
  font-size: .64rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body.qradio-editorial.qradio-modern .live-queue-tools input {
  min-height: 2.7rem;
  border: 1px solid var(--qr-line);
  border-radius: 0;
  background: var(--qr-panel);
}

body.qradio-editorial.qradio-modern .live-queue-tools small {
  margin-left: auto;
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .live-programme {
  padding-bottom: clamp(5rem, 9vw, 10rem);
}

body.qradio-editorial.qradio-modern .live-programme .schedule-range {
  border: 1px solid var(--qr-line);
  background: var(--qr-panel);
}

body.qradio-editorial.qradio-modern .live-programme .schedule-range article {
  border-bottom-color: var(--qr-line);
}

@media (max-width: 820px) {
  body.qradio-editorial.qradio-modern .home-page .hero,
  body.qradio-editorial.qradio-modern .live-masthead-grid,
  body.qradio-editorial.qradio-modern .live-player-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-now {
    min-height: 22rem !important;
    box-shadow: 7px 7px 0 var(--qr-signal) !important;
  }

  body.qradio-editorial.qradio-modern .live-masthead-grid {
    gap: 2rem;
  }

  body.qradio-editorial.qradio-modern .live-now-summary {
    min-height: 10rem;
  }
}

@media (max-width: 560px) {
  body.qradio-editorial.qradio-modern .home-page .hero {
    margin-top: 1rem !important;
    padding-top: 1.25rem !important;
  }

  body.qradio-editorial.qradio-modern .home-page .hero h1,
  body.qradio-editorial.qradio-modern .live-masthead h1 {
    font-size: clamp(3rem, 16vw, 5.8rem) !important;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-actions,
  body.qradio-editorial.qradio-modern .live-section-head {
    align-items: stretch;
    flex-direction: column;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-actions .button {
    width: 100%;
  }

  body.qradio-editorial.qradio-modern .live-player-body {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem;
  }

  body.qradio-editorial.qradio-modern .live-player-cover {
    max-width: 10rem;
  }

  body.qradio-editorial.qradio-modern .live-summary-label,
  body.qradio-editorial.qradio-modern .live-queue-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  body.qradio-editorial.qradio-modern .live-queue-tools small {
    margin-left: 0;
  }
}

body.qradio-editorial.qradio-modern .player-retry {
  color: var(--qr-signal);
}

body.qradio-editorial.qradio-modern .player-retry:hover,
body.qradio-editorial.qradio-modern .player-retry:focus-visible {
  color: var(--qr-ink);
}

body.qradio-editorial.qradio-modern .audio-download {
  color: var(--qr-muted);
}

body.qradio-editorial.qradio-modern .audio-download:hover,
body.qradio-editorial.qradio-modern .audio-download:focus-visible {
  color: var(--qr-signal);
}

/* Final hierarchy pass: the home page is a doorway to the station, not the
 * whole control room. Keep the detailed measurements available on demand. */

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .station-observatory-disclosure:not([open]) > .station-observatory {
  display: none;
}

body.qradio-editorial.qradio-modern .home-page .hero {
  min-height: 0;
  margin-top: 0 !important;
  padding-block: clamp(2.75rem, 4.6vw, 4.75rem) clamp(3.25rem, 5.5vw, 5.5rem);
  align-items: start !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-copy {
  padding-top: .8rem;
}

body.qradio-editorial.qradio-modern .home-page .hero h1 {
  max-width: 7.4ch;
  font-size: clamp(3.7rem, 6.3vw, 6.2rem) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now {
  align-self: start;
  min-height: 0 !important;
  box-shadow: 10px 11px 0 rgba(187, 63, 52, .88);
}

body.qradio-editorial.qradio-modern .home-page .hero-now-media,
body.qradio-editorial.qradio-modern .home-page .hero-now-media img {
  min-height: clamp(220px, 22vw, 285px) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now-body h2 {
  max-width: 100% !important;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem) !important;
}

body.qradio-editorial.qradio-modern .home-page .hero-now-wave {
  opacity: .62;
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .listen-section {
  padding-top: clamp(4rem, 6vw, 5.5rem);
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .studio {
  margin-top: 1.9rem;
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .studio-grid {
  grid-template-columns: minmax(168px, .3fr) minmax(0, 1fr);
  gap: 1.8rem;
  padding: 1.35rem;
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .cover {
  min-height: 232px;
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .now-playing h2 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.7vw, 3.8rem);
}

body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .content-grid {
  margin-top: 2.25rem;
}

body.qradio-editorial.qradio-modern .platform-quality-bridge {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

body.qradio-editorial.qradio-modern .platform-quality-bridge h2 {
  max-width: 10ch;
}

body.qradio-editorial.qradio-modern .platform-quality-bridge-copy {
  max-width: 27rem;
}

body.qradio-editorial.qradio-modern .platform-quality-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--qr-line);
  list-style: none;
}

body.qradio-editorial.qradio-modern .platform-quality-steps li {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  gap: .8rem;
  min-height: 112px;
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .platform-quality-steps li:nth-child(odd) {
  border-right: 1px solid var(--qr-line);
}

body.qradio-editorial.qradio-modern .platform-quality-steps li:nth-child(even) {
  padding-left: 1rem;
}

body.qradio-editorial.qradio-modern .platform-quality-steps span {
  color: var(--qr-signal);
  font: .62rem var(--qr-mono);
  font-weight: 700;
}

body.qradio-editorial.qradio-modern .platform-quality-steps strong,
body.qradio-editorial.qradio-modern .platform-quality-steps small {
  display: block;
}

body.qradio-editorial.qradio-modern .platform-quality-steps strong {
  color: var(--qr-ink);
  font-size: .9rem;
}

body.qradio-editorial.qradio-modern .platform-quality-steps small {
  margin-top: .35rem;
  color: var(--qr-muted);
  font-size: .74rem;
  line-height: 1.45;
}

body.qradio-editorial.qradio-modern .platform-quality-bridge .platform-detail-link {
  display: inline-flex;
  margin-top: 1.4rem;
}

body.qradio-editorial.qradio-modern .platform-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
}

@media (max-width: 760px) {
  body.qradio-editorial.qradio-modern .archive-page-hero-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.6rem !important;
  }

  body.qradio-editorial.qradio-modern .archive-page-hero-copy {
    min-width: 0;
    max-width: none;
  }

  body.qradio-editorial.qradio-modern .archive-page-hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(3rem, 15vw, 5rem) !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.qradio-editorial.qradio-modern .platform-quality-bridge {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  body.qradio-editorial.qradio-modern .platform-quality-steps li {
    min-height: 100px;
  }
}

@media (max-width: 560px) {
  body.qradio-editorial.qradio-modern .home-page .hero {
    padding-block: 2rem 3rem;
  }

  body.qradio-editorial.qradio-modern .home-page .hero-copy {
    padding-top: 0;
  }

  body.qradio-editorial.qradio-modern .home-page .hero h1 {
    font-size: clamp(3.35rem, 16vw, 5.2rem) !important;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .studio-grid {
    gap: 1.2rem;
    padding: 1rem;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .cover {
    min-height: 190px;
  }

  body.qradio-editorial.qradio-modern .platform-quality-steps {
    grid-template-columns: 1fr;
  }

  body.qradio-editorial.qradio-modern .platform-quality-steps li,
  body.qradio-editorial.qradio-modern .platform-quality-steps li:nth-child(even) {
    padding-inline: 0;
    border-right: 0;
  }
}

/* Release precision pass: one spacing axis, intact words and usable controls. */

:root {
  --qr-control-size: 44px;
  --qr-card-pad: clamp(1rem, 2vw, 1.5rem);
  --qr-section-space: clamp(3.25rem, 5.2vw, 5.5rem);
  --qr-muted: #566166;
  --qr-dim: #707a7e;
}

body.qradio-editorial.qradio-modern :where(h1, h2, h3, h4) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

body.qradio-editorial.qradio-modern p {
  overflow-wrap: break-word;
}

body.qradio-editorial.qradio-modern :where(code, pre, .operator-request-id, .operator-error-detail) {
  overflow-wrap: anywhere;
}

body.qradio-editorial.qradio-modern :where(.brand, .primary-nav a, .language-nav a, .header-cta) {
  display: inline-flex;
  align-items: center;
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern .mobile-nav-toggle {
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern .header-cta {
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern :where(.icon-button, .pill-button, .queue-play, .archive-source, .player-rail-play) {
  min-width: var(--qr-control-size);
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern :where(.source-link, .audio-download, .archive-listen, .platform-detail-link, .story-data-card-source, .player-rail-link, .text-button) {
  display: inline-flex;
  align-items: center;
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern :where(input:not([type="range"]):not([type="checkbox"]):not([type="radio"]), select, textarea, summary) {
  min-height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern #queueSearch {
  height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern .queue-play i {
  width: 32px;
  height: 32px;
}

body.qradio-editorial.qradio-modern .archive-source,
body.qradio-editorial.qradio-modern .player-rail-play {
  width: var(--qr-control-size);
  height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern .footer-column a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: .72rem;
}

body.qradio-editorial.qradio-modern :where(.surface-hero, .podcast-page-hero) {
  min-height: 0;
  padding-block: clamp(3.25rem, 5vw, 5rem);
}

body.qradio-editorial.qradio-modern .archive-page-hero {
  min-height: 0 !important;
}

body.qradio-editorial.qradio-modern :where(.archive-page-main, .surface-page-main, .podcast-page-main, .story-listen, .story-next) {
  padding-block: var(--qr-section-space);
}

body.qradio-editorial.qradio-modern .surface-hero h1 {
  max-width: 12ch;
}

body.qradio-editorial.qradio-modern .archive-page-note .mono-label {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-surface {
  --archive-pad: var(--qr-card-pad);
  padding: 0 !important;
  overflow: hidden;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-head {
  padding: var(--archive-pad);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 0;
  padding: var(--archive-pad) !important;
  border-right: 0 !important;
  border-left: 0 !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-query {
  grid-column: span 3;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters > label[for="archiveSource"] {
  grid-column: span 2;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-filters input,
body.qradio-editorial.qradio-modern .archive-page-main .archive-filters select,
body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter,
body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .text-button {
  min-height: var(--qr-control-size);
  height: var(--qr-control-size);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-more-filters summary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: var(--qr-control-size);
  font-size: .64rem;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-state {
  min-height: 58px;
  margin-top: 0;
  padding: .75rem var(--archive-pad);
  border-top: 0 !important;
  border-right: 0 !important;
  border-left: 0 !important;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-list {
  margin: 0;
  border-top: 0;
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-item {
  padding: 1rem var(--archive-pad);
}

body.qradio-editorial.qradio-modern .archive-page-main :where(.archive-placeholder, .archive-skeleton) {
  padding-right: var(--archive-pad);
  padding-left: var(--archive-pad);
}

body.qradio-editorial.qradio-modern .archive-page-main .archive-pagination {
  margin-top: 0;
  padding: .8rem var(--archive-pad);
}

@media (max-width: 980px) {
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-query,
  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters > label[for="archiveSource"] {
    grid-column: auto;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .text-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  body.qradio-editorial.qradio-modern :where(.archive-page-hero h1, .surface-hero h1, .podcast-page-hero h1, .story-hero h1, .section-intro h2, .surface-section-head h2, .story-section-head h2, .platform-quality-bridge h2, .home-service-preview h2) {
    max-width: 100% !important;
    overflow-wrap: normal;
    word-break: normal;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .studio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.4rem;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .cover {
    width: min(100%, 320px);
    min-height: 0 !important;
    justify-self: center;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .now-playing h2 {
    min-height: 0;
    max-width: 100%;
    font-size: clamp(1.8rem, 8.5vw, 2.8rem);
  }

  body.qradio-editorial.qradio-modern .voice-quality-page .surface-hero h1 {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }

  body.qradio-editorial.qradio-modern .home-service-preview > :where(.home-service-preview-copy, .home-service-preview-side) {
    min-width: 0;
  }

  body.qradio-editorial.qradio-modern [data-ui-lang="kk"] .home-service-preview h2 {
    font-size: clamp(2.15rem, 9.8vw, 3rem);
    letter-spacing: -.07em;
  }
}

@media (max-width: 680px) {
  body.qradio-editorial.qradio-modern :where(.archive-page-main, .surface-page-main, .podcast-page-main, .story-listen, .story-next) {
    padding-block: 3rem;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters {
    grid-template-columns: minmax(0, 1fr);
  }

  body.qradio-editorial.qradio-modern .archive-page-main :where(.archive-query, .archive-filters > label, .archive-more-filters, .archive-filters .text-button) {
    grid-column: 1 / -1;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-item {
    padding-block: .9rem;
  }

  body.qradio-editorial.qradio-modern :where(.story-export, .podcast-export) .story-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
  }

  body.qradio-editorial.qradio-modern :where(.story-export, .podcast-export) .story-export-status {
    max-width: 100%;
    white-space: normal;
  }
}

/* Mobile and tablet precision: stable compact-player flow and touch-safe controls. */

@media (max-width: 960px) {
  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .studio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .cover {
    width: min(100%, 340px);
    min-height: 0;
    justify-self: center;
  }

  body.qradio-editorial.qradio-modern .home-page[data-compact-home="true"] .now-playing h2 {
    min-height: 0;
    max-width: 100%;
  }

  body.qradio-editorial.qradio-modern .home-page .content-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  body.qradio-editorial.qradio-modern .home-page :is(.queue-panel, .facts-panel) {
    min-height: 0;
  }

  body.qradio-editorial.qradio-modern.has-player-rail-page main,
  body.qradio-editorial.qradio-modern.has-player-rail-page .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  body.qradio-editorial.qradio-modern :where(
    input:not([type="range"]):not([type="checkbox"]):not([type="radio"]),
    select,
    textarea
  ) {
    font-size: 16px !important;
  }

  body.qradio-editorial.qradio-modern input[type="range"] {
    min-height: var(--qr-control-size);
  }

  body.qradio-editorial.qradio-modern :where(input[type="checkbox"], input[type="radio"]) {
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
  }

  body.qradio-editorial.qradio-modern .archive-page-main .archive-filters .archive-verified-filter input {
    width: 20px !important;
    min-width: 20px;
    height: 20px !important;
    min-height: 20px;
  }

  body.qradio-editorial.qradio-modern .queue-search-clear {
    width: var(--qr-control-size);
    height: var(--qr-control-size);
  }

  body.qradio-editorial.qradio-modern :where(.podcast-page-hero-grid, .podcast-page-hero-copy) {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  body.qradio-editorial.qradio-modern .podcast-page-note {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    transform: none;
  }

  body.qradio-editorial.qradio-modern .operator-reason-list label {
    min-height: var(--qr-control-size);
  }
}

@media (max-width: 680px) {
  body.qradio-editorial.qradio-modern .mobile-nav-grid a {
    min-height: 56px;
  }

  body.qradio-editorial.qradio-modern .operator-phase-nav {
    position: static;
  }

  body.qradio-editorial.qradio-modern .operator-phase-target {
    scroll-margin-top: 1.5rem;
  }

  body.qradio-editorial.qradio-modern .player-rail {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    min-height: 60px;
    gap: .6rem;
    padding: .55rem .65rem calc(.55rem + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  body.qradio-editorial.qradio-modern .player-rail-live {
    font-size: .52rem;
  }

  body.qradio-editorial.qradio-modern .player-rail-copy strong {
    font-size: .7rem;
  }
}

/* Final visual finish: quiet material depth, controlled signal and calmer mastheads. */

body.qradio-editorial.qradio-modern {
  --qr-shadow-elevated: 0 18px 42px rgba(20, 25, 28, .075);
}

body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
  border-top: 2px solid var(--qr-signal) !important;
  background: linear-gradient(180deg, #fffefa 0%, #fbfbf7 100%) !important;
  box-shadow: var(--qr-shadow-elevated) !important;
}

body.qradio-editorial.qradio-modern .surface-hero h1 {
  font-size: clamp(3.25rem, 6.1vw, 6.6rem);
  letter-spacing: -.08em;
  line-height: .9;
}

body.qradio-editorial.qradio-modern .voice-quality-page .surface-hero h1 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5.6vw, 6.1rem);
}

body.qradio-editorial.qradio-modern .home-page .hero-now {
  border-top: 3px solid var(--qr-signal) !important;
  box-shadow: var(--qr-shadow-elevated) !important;
}

body.qradio-editorial.qradio-modern .home-page .studio {
  box-shadow: var(--qr-shadow-elevated) !important;
}

@media (max-width: 760px) {
  body.qradio-editorial.qradio-modern .voice-quality-page .surface-hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 12vw, 4.2rem);
  }
}

/* AVDS 4.7 uplift: preserve the broadcast character while making hierarchy,
 * evidence and compact layouts read as one restrained operating system. */
body.qradio-editorial.qradio-modern {
  --qr-avds-section-gap: clamp(3.5rem, 8vw, 7rem);
  --qr-avds-rule: color-mix(in srgb, var(--qr-line) 84%, transparent);
}

body.qradio-editorial.qradio-modern .site-header {
  background: color-mix(in srgb, #f4f4f0 94%, transparent);
  backdrop-filter: blur(14px);
}

body.qradio-editorial.qradio-modern .header-inner {
  min-height: 68px;
}

body.qradio-editorial.qradio-modern :is(.archive-page-hero, .surface-hero, .podcast-page-hero, .story-hero) {
  padding-block: var(--qr-avds-section-gap);
}

body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
  align-self: start;
  border-top-width: 2px !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
  transform: none !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) > :is(strong, p) {
  max-width: 28ch;
}

body.qradio-editorial.qradio-modern :is(.story-export, .podcast-export) {
  padding-top: clamp(.5rem, 2vw, 1.25rem);
  border-top: 1px solid var(--qr-avds-rule);
}

body.qradio-editorial.qradio-modern .public-export-matrix li {
  min-height: 11rem;
  padding: 1.2rem;
}

body.qradio-editorial.qradio-modern .public-export-matrix a {
  min-height: var(--avds-mobile-touch-target);
  padding-block: .25rem;
}

body.qradio-editorial.qradio-modern .story-context-card {
  border-color: var(--qr-avds-rule);
  background: color-mix(in srgb, var(--qr-panel) 96%, hsl(var(--muted)));
}

@media (max-width: 760px) {
  body.qradio-editorial.qradio-modern .site-header {
    position: sticky;
  }

  body.qradio-editorial.qradio-modern .header-inner {
    min-height: 62px;
  }

  body.qradio-editorial.qradio-modern :is(.archive-page-hero, .surface-hero, .podcast-page-hero, .story-hero) {
    padding-block: clamp(2.6rem, 12vw, 4.25rem);
  }

  body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
    width: 100%;
    max-width: none;
    margin-top: .35rem;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix {
    display: block;
    border-width: 1px 0;
    background: transparent;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix li {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--qr-avds-rule);
    background: transparent;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix li:last-child {
    border-bottom: 0;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix li > div {
    align-self: start;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix a {
    align-self: center;
    min-height: 2.75rem;
    white-space: nowrap;
  }

  body.qradio-editorial.qradio-modern .station-observatory-disclosure > summary {
    padding-block: 1rem;
  }

  body.qradio-editorial.qradio-modern .station-observatory {
    padding-top: 1.25rem;
  }
}

/* AVDS 4.7 visual uplift, 2026-08-22.
 * QRadio is an editorial listening surface, not a feature-card landing page:
 * source context, the current programme and the next action carry the rhythm. */
body.qradio-editorial.qradio-modern {
  --qr-avds-rule: color-mix(in srgb, var(--avds-qradio-line) 82%, transparent);
}

body.qradio-editorial.qradio-modern .site-header {
  border-bottom: 1px solid var(--qr-avds-rule);
  background: hsl(var(--background));
  backdrop-filter: none;
}

/* These were decorative serial labels, not navigational context or live state. */
body.qradio-editorial.qradio-modern :is(
  .surface-hero-copy > .section-kicker,
  .surface-section-head .section-kicker,
  .platform-proof-panel > div > .section-kicker,
  .section-intro > .section-kicker,
  .live-section-head > div > .section-kicker,
  .story-section-head > div > .section-kicker,
  .story-listen-head > div > .section-kicker,
  .platform-detail-index,
  .surface-note-index,
  .surface-note-rule
) {
  display: none;
}

/* Summary facts support the listening decision without competing as a metric card. */
body.qradio-editorial.qradio-modern .hero-proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .55rem;
  max-width: 42rem;
  margin: 1.65rem 0 0;
  color: var(--qr-muted);
  font-size: .76rem;
  line-height: 1.45;
}

body.qradio-editorial.qradio-modern .hero-proof-line span[aria-hidden="true"] {
  color: var(--qr-signal);
}

/* A principle belongs beside the page title as an annotation, not as a card
 * inside another hero composition. */
body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
  align-self: center;
  border: 0 !important;
  border-inline-start: 2px solid var(--avds-qradio-accent) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem) !important;
}

body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) > :is(strong, p) {
  max-width: 26ch;
}

/* The four editorial stages are a sequence. Render them as one workflow,
 * preserving the ordered-list semantics instead of four interchangeable cards. */
body.qradio-editorial.qradio-modern .platform-page .platform-flow {
  gap: 0;
  border-block: 1px solid var(--qr-avds-rule);
  background: transparent;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow li,
body.qradio-editorial.qradio-modern .platform-page .platform-flow li:last-child {
  min-height: 0;
  border: 0 !important;
  border-inline-start: 1px solid var(--qr-avds-rule) !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow li:first-child {
  border-inline-start: 0 !important;
}

body.qradio-editorial.qradio-modern .platform-page .platform-flow-icon {
  border-color: var(--avds-qradio-accent) !important;
  color: var(--avds-qradio-accent);
}

/* Source, audio, podcast and transcript are routes in one action list, not
 * a family of boxed marketing tiles. */
body.qradio-editorial.qradio-modern .public-export-matrix {
  gap: 0;
  border-width: 1px 0;
  border-color: var(--qr-avds-rule);
  background: transparent;
}

body.qradio-editorial.qradio-modern .public-export-matrix li {
  min-height: 0;
  border-inline-start: 1px solid var(--qr-avds-rule);
  background: transparent;
}

body.qradio-editorial.qradio-modern .public-export-matrix li:first-child {
  border-inline-start: 0;
}

body.qradio-editorial.qradio-modern .surface-next-links {
  gap: 0;
  border-block: 1px solid var(--qr-avds-rule);
  background: transparent;
}

body.qradio-editorial.qradio-modern .surface-next-links a {
  border: 0;
  border-inline-start: 1px solid var(--qr-avds-rule);
  background: transparent;
}

body.qradio-editorial.qradio-modern .surface-next-links a:first-child {
  border-inline-start: 0;
}

body.qradio-editorial.qradio-modern .surface-next-links a:hover,
body.qradio-editorial.qradio-modern .surface-next-links a:focus-visible {
  background: hsl(var(--accent));
}

body.qradio-editorial.qradio-modern .primary-nav a[aria-current="page"],
body.qradio-editorial.qradio-modern .mobile-nav a[aria-current="page"] {
  color: var(--avds-qradio-accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .42em;
}

@media (max-width: 760px) {
  body.qradio-editorial.qradio-modern :is(.archive-page-note, .surface-hero-note, .podcast-page-note) {
    align-self: stretch;
    margin-top: 0;
  }

  body.qradio-editorial.qradio-modern .platform-page .platform-flow {
    display: block;
  }

  body.qradio-editorial.qradio-modern .platform-page .platform-flow li,
  body.qradio-editorial.qradio-modern .platform-page .platform-flow li:first-child {
    border-inline-start: 0 !important;
    border-top: 1px solid var(--qr-avds-rule) !important;
  }

  body.qradio-editorial.qradio-modern .platform-page .platform-flow li:first-child {
    border-top: 0 !important;
  }

  body.qradio-editorial.qradio-modern .public-export-matrix li,
  body.qradio-editorial.qradio-modern .public-export-matrix li:first-child {
    border-inline-start: 0;
  }

  body.qradio-editorial.qradio-modern .surface-next-links {
    display: block;
  }

  body.qradio-editorial.qradio-modern .surface-next-links a,
  body.qradio-editorial.qradio-modern .surface-next-links a:first-child {
    border-inline-start: 0;
    border-top: 1px solid var(--qr-avds-rule);
  }

  body.qradio-editorial.qradio-modern .surface-next-links a:first-child {
    border-top: 0;
  }
}
