/* Arlington Free Press: readable local news and radio workspace. */
:root {
  --ink: #202922; --muted: #58645b; --paper: #f5f4ee;
  --line: #d8ddd4; --green: #214b37; --mint: #e6eee4;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, audio:focus-visible { outline: 3px solid #ac741c; outline-offset: 4px; }
button:disabled { cursor: default; opacity: .6; }
.preview { background: var(--green); color: #fff; padding: 9px max(32px, calc((100vw - 1480px)/2)); font-size: 13px; font-weight: 650; letter-spacing: 1px; display: flex; justify-content: space-between; gap: 16px; }
.preview span { font-weight: 450; letter-spacing: 0; }
header { max-width: 1544px; margin: auto; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { font-family: Georgia, serif; font-size: clamp(32px, 3.1vw, 48px); letter-spacing: -1.7px; line-height: 1.15; color: var(--ink); text-decoration: none; }
.brand strong { font-weight: 700; }
.edition { text-align: right; font-size: 13px; letter-spacing: 1.4px; line-height: 1.9; }
.edition span { font-size: 14px; color: var(--muted); letter-spacing: 0; }
nav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 max(32px, calc((100vw - 1480px)/2)); display: flex; gap: 34px; align-items: center; }
.nav { border: 0; background: none; padding: 16px 0; color: var(--muted); font-size: 16px; font-weight: 650; border-bottom: 3px solid transparent; min-height: 58px; }
.nav.active { color: var(--green); border-color: var(--green); }
.nav-note { margin-left: auto; color: var(--muted); font-size: 14px; }
main { max-width: 1544px; padding: 0 32px; margin: auto; }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0 30px; }
.eyebrow { font-size: 13px; font-weight: 750; letter-spacing: 1.5px; color: var(--green); margin: 0 0 12px; }
h1 { font-family: Georgia, serif; font-weight: 400; font-size: clamp(37px, 3.5vw, 52px); letter-spacing: -1.5px; line-height: 1.12; margin: 0 0 16px; }
.dek { font-size: 18px; color: var(--muted); margin: 0; line-height: 1.6; max-width: 750px; }
.update { font-size: 14px; display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.dot { width: 8px; height: 8px; background: #40724d; border-radius: 50%; flex-shrink: 0; }
.channel-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.channel { text-align: left; border: 1px solid var(--line); background: #fff; padding: 22px 18px; display: flex; flex-direction: column; gap: 10px; border-radius: 5px; min-height: 151px; color: var(--ink); transition: border-color .15s, background .15s; }
.channel:hover { border-color: var(--green); background: #f0f5ee; }
.channel.selected { background: var(--green); border-color: var(--green); color: #fff; box-shadow: 0 3px 9px #214b3712; }
.channel-number { font-size: 12px; letter-spacing: 1px; font-weight: 750; color: var(--muted); }
.selected .channel-number { color: #c8e0ce; }
.channel strong { font-family: Georgia, serif; font-size: 24px; line-height: 1.15; font-weight: 400; }
.channel > span:last-child { font-size: 14px; line-height: 1.55; color: var(--muted); }
.channel.selected > span:last-child { color: #e1ece3; }
.desk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.feed-panel { background: #fff; border: 1px solid var(--line); border-radius: 5px; min-width: 0; overflow: hidden; }
.feed-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px 18px; }
.feed-heading h2 { font-family: Georgia, serif; font-size: 29px; line-height: 1.25; font-weight: 400; margin: 0; }
.search input { width: 230px; min-width: 0; min-height: 46px; border: 1px solid #aab7aa; padding: 10px 13px; border-radius: 4px; font-size: 16px; background: #fafbf8; }
.search input::placeholder { color: #5e6a60; opacity: 1; }
.feed-help { font-size: 14px; line-height: 1.65; color: var(--muted); padding: 0 26px 22px; border-bottom: 1px solid var(--line); }
.call { padding: 24px 26px; display: grid; grid-template-columns: 105px minmax(0, 1fr) 44px; gap: 20px; border-bottom: 1px solid #e6eae2; }
.call:last-child { border-bottom: 0; }
.call.is-playing { background: #f0f6ed; box-shadow: inset 4px 0 var(--green); }
.call-time { font-size: 15px; font-weight: 700; line-height: 1.7; }
.call-date { display: block; font-weight: 450; font-size: 13px; color: var(--muted); }
.call-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.tag { font-size: 13px; background: #e9f0e8; color: var(--green); padding: 4px 8px; border-radius: 3px; font-weight: 650; }
.duration { font-size: 14px; color: var(--muted); }
.quality { font-size: 13px; color: #70480c; background: #fff0ce; padding: 4px 7px; border-radius: 3px; }
.transcript { font-size: 17px; line-height: 1.75; margin: 0; overflow-wrap: anywhere; }
.pending { color: #626d62; font-style: normal; font-size: 16px; }
.machine-label { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.play { border: 1px solid #9eaf9e; border-radius: 50%; background: #fff; color: var(--green); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 17px; padding: 0; }
.play:hover, .play[aria-pressed="true"] { background: var(--green); color: #fff; border-color: var(--green); }
aside { position: sticky; top: 24px; min-width: 0; }
.player-card { background: #e5eddf; border: 1px solid #c9d8c3; padding: 25px; border-radius: 5px; }
.player-card h2, .reporting-card h2 { font-family: Georgia, serif; font-weight: 400; font-size: 29px; line-height: 1.2; margin: 0 0 14px; }
.player-card > p:not(.eyebrow) { font-size: 15px; line-height: 1.65; color: #405440; }
audio { width: 100%; height: 42px; margin: 10px 0 18px; }
.queue-button, .follow-button { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--green); border-radius: 4px; font-size: 15px; line-height: 1.45; font-weight: 650; }
.queue-button { background: var(--green); color: #fff; }
.queue-button:hover { background: #153e29; }
.follow-button { margin-top: 10px; background: transparent; color: var(--green); }
.follow-button:hover, .follow-button[aria-pressed="true"] { background: #fff; }
.player-card .small { font-size: 14px !important; margin-bottom: 0; }
.reporting-card { padding: 30px 5px 24px; border-bottom: 1px solid var(--line); }
.reporting-card p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.75; }
.text-button { background: none; border: 0; color: var(--green); font-size: 15px; font-weight: 700; padding: 10px 0; min-height: 44px; text-align: left; }
.stats { display: flex; justify-content: space-between; gap: 20px; padding: 24px 5px; }
.stats strong { display: block; font-family: Georgia, serif; font-size: 36px; line-height: 1.2; font-weight: 400; margin-bottom: 8px; }
.stats span { font-size: 14px; color: var(--muted); }
.empty { padding: 36px 26px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.event-empty { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 64px 28px; margin-bottom: 28px; }
.empty-mark { border: 1px solid var(--line); font-family: Georgia, serif; display: inline-block; padding: 15px; font-size: 24px; color: var(--green); }
.event-empty h2 { font-family: Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.25; }
.event-empty p { max-width: 650px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.event-empty button { width: auto; padding: 13px 25px; }
.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-bottom: 40px; }
.standards h3 { font-family: Georgia, serif; font-size: 25px; font-weight: 400; margin-bottom: 10px; }
.standards p { font-size: 17px; line-height: 1.75; color: var(--muted); }
footer { max-width: 1480px; margin: 48px auto 0; padding: 27px 0 38px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 30px; }
footer strong { font-family: Georgia, serif; font-size: 21px; white-space: nowrap; }
footer span { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 1544px) { footer { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 1250px) {
  .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .channel:first-child { grid-column: span 2; }
  .channel { min-height: 140px; }
  .intro { align-items: start; }
  .update { padding-top: 4px; max-width: 170px; }
  .feed-heading { flex-direction: column; align-items: stretch; }
  .search, .search input { width: 100%; }
  .desk-layout { grid-template-columns: minmax(0, 1fr) 315px; gap: 22px; }
  .call { grid-template-columns: 95px minmax(0, 1fr) 44px; gap: 14px; padding: 23px; }
}
@media (max-width: 1050px) {
  .desk-layout { display: flex; flex-direction: column; gap: 24px; }
  .feed-panel, aside { width: 100%; }
  aside { position: static; order: -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
  .player-card { grid-row: span 2; }
  .reporting-card { padding: 8px 0 18px; }
  .stats { padding: 0; align-self: start; }
  .feed-heading { flex-direction: row; align-items: center; }
  .search { width: min(45%, 260px); }
  .nav-note { display: none; }
  .edition { font-size: 12px; }
  .edition span { font-size: 13px; }
}
@media (max-width: 700px) {
  header { padding: 27px 20px; }
  .brand { font-size: 34px; letter-spacing: -1.2px; }
  .edition { display: none; }
  nav { padding: 0 20px; gap: 26px; }
  .nav { font-size: 16px; }
  main { padding: 0 18px; }
  .intro { display: block; padding: 32px 0 26px; }
  h1 { font-size: 39px; letter-spacing: -1.1px; }
  .dek { font-size: 17px; }
  .update { margin-top: 20px; padding: 0; max-width: none; }
  .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
  .channel:first-child { grid-column: span 2; min-height: 125px; }
  .channel { min-height: 151px; padding: 18px 15px; }
  .channel strong { font-size: 24px; }
  .channel-number { font-size: 12px; letter-spacing: .7px; }
  aside { display: block; }
  .player-card { padding: 23px; }
  .reporting-card { display: none; }
  .stats { display: flex; padding: 22px 7px 0; justify-content: flex-start; gap: 45px; }
  .stats strong { font-size: 30px; }
  .feed-heading { flex-direction: column; align-items: stretch; padding: 23px 20px 17px; }
  .feed-heading h2 { font-size: 29px; }
  .search { width: 100%; }
  .feed-help { padding: 0 20px 21px; }
  .call { grid-template-columns: minmax(0, 1fr) 44px; column-gap: 13px; row-gap: 12px; padding: 22px 20px; }
  .call-time { grid-column: 1; grid-row: 1; }
  .call-date { display: inline; margin-left: 10px; }
  .call-body { grid-column: 1 / -1; grid-row: 2; }
  .play { grid-column: 2; grid-row: 1; }
  .call-top { gap: 8px; }
  .transcript { font-size: 17px; }
  .pending { font-size: 16px; }
  .standards { grid-template-columns: 1fr; gap: 0; }
  .standards h3 { margin-top: 15px; }
  .event-empty { padding: 37px 22px; }
  .event-empty h2 { font-size: 30px; }
  .event-empty p { font-size: 17px; }
  .preview { padding: 10px 20px; font-size: 12px; letter-spacing: .6px; }
  footer { display: block; margin: 36px 18px 0; }
  footer span { display: block; margin-top: 12px; }
}
@media (max-width: 370px) {
  .brand { font-size: 30px; }
  .preview { padding-inline: 15px; font-size: 11px; }
  nav { padding-inline: 18px; gap: 22px; }
  .nav { font-size: 15px; }
  .channel { padding: 17px 12px; }
  .channel strong { font-size: 22px; }
  .call-date { display: block; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Shared identity and explicit theme controls. */
.brand { display: inline-flex; align-items: center; gap: 17px; }
.brand-mark { display: block; flex-shrink: 0; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border: 1px solid #a3b2a1; border-radius: 5px; background: transparent; color: var(--green); padding: 8px 12px; font-size: 14px; font-weight: 650; margin-left: 0; }
#theme-icon { font-size: 20px; line-height: 1; }
.skip-link { position: absolute; top: 8px; left: 10px; z-index: 20; transform: translateY(-170%); padding: 12px 18px; background: #f4f1e5; color: #173923; border: 2px solid #a5792e; border-radius: 4px; font-size: 16px; }
.skip-link:focus { transform: none; }
#main-content:focus { outline: none; }
html[data-theme="dark"] { color-scheme: dark; --ink: #f0f1e7; --muted: #b3c0b2; --paper: #101914; --line: #35463a; --green: #d7bd83; --mint: #243a2a; }
html[data-theme="light"] { color-scheme: light; }
[data-theme="dark"] .preview { background: #203f2d; color: #e9efdf; }
[data-theme="dark"] .channel { background: #19261e; color: var(--ink); }
[data-theme="dark"] .channel:hover { background: #20392a; border-color: #9ebba0; }
[data-theme="dark"] .channel.selected { background: #2b5038; border-color: #8eb693; }
[data-theme="dark"] .channel.selected .channel-number { color: #d7bd83; }
[data-theme="dark"] .channel.selected > span:last-child { color: #d1e1cb; }
[data-theme="dark"] .feed-panel, [data-theme="dark"] .event-empty { background: #17231c; }
[data-theme="dark"] .search input { background: #111c15; border-color: #607563; color: var(--ink); }
[data-theme="dark"] .search input::placeholder { color: #b3c0b2; }
[data-theme="dark"] .call { border-color: #2e4033; }
[data-theme="dark"] .call.is-playing { background: #263d2b; }
[data-theme="dark"] .tag { background: #2b4030; color: #d7e7cb; }
[data-theme="dark"] .quality { color: #f3d59e; background: #493819; }
[data-theme="dark"] .pending { color: #b3c0b2; }
[data-theme="dark"] .play { background: #213526; border-color: #617b61; color: #e0cd9c; }
[data-theme="dark"] .play:hover, [data-theme="dark"] .play[aria-pressed="true"] { background: #d7bd83; color: #15291c; }
[data-theme="dark"] .player-card { background: #223b29; border-color: #476148; }
[data-theme="dark"] .player-card > p:not(.eyebrow) { color: #d1ddc9; }
[data-theme="dark"] .queue-button { background: #d7bd83; border-color: #d7bd83; color: #16281a; }
[data-theme="dark"] .queue-button:hover { background: #e8d1a0; }
[data-theme="dark"] .follow-button { border-color: #9aaf91; color: #e2eacb; }
[data-theme="dark"] .follow-button:hover, [data-theme="dark"] .follow-button[aria-pressed="true"] { background: #304e35; }
[data-theme="dark"] .theme-toggle { color: #e1cb96; border-color: #60775f; }
[data-theme="dark"] .dot { background: #b2ce91; }
@media(max-width: 1050px) { .theme-toggle { margin-left: auto; } }
@media(max-width: 700px) { .brand { gap: 13px; } .brand-mark { width: 49px; height: 49px; } .brand span { max-width: 270px; } .brand { font-size: 31px; } nav { gap: 20px; flex-wrap: wrap; } .theme-toggle { padding-inline: 10px; } #theme-label { display: none; } .theme-toggle { width: 44px; } }
@media(max-width: 370px) { .brand { font-size: 28px; gap: 10px; } .brand-mark { width: 43px; height: 43px; } nav { gap: 15px; } .theme-toggle { width: 40px; min-height: 44px; } }

.return-link{display:inline-flex;align-items:center;min-height:48px;padding:12px 22px;background:var(--green);color:#fff;text-decoration:none;border-radius:4px;font-size:16px;font-weight:650}[data-theme="dark"] .return-link{color:#15281b}

.play svg { display: block; width: 18px; height: 18px; flex: none; fill: currentColor; }

/* Approved dedicated view navigation retains the radio palette. */
nav a.nav { text-decoration: none; display: inline-flex; align-items: center; }
@media(max-width:650px) { nav { flex-wrap: wrap; } nav .nav-note { display: none; } }
