:root { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-synthesis: none; color: #192a29; background: #f4f6f3; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, .button { min-height: 42px; padding: 11px 18px; border: 1px solid #21554a; border-radius: 8px; background: #21554a; color: white; cursor: pointer; text-align: center; }
button:hover, .button:hover { filter: brightness(1.1); }
:focus-visible { outline: 3px solid #e59c42; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 650; letter-spacing: -.04em; line-height: 1.3; overflow-wrap: anywhere; }
h2 { font-size: 18px; }
.eyebrow { font-size: 11px; letter-spacing: .17em; font-weight: 650; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 650; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 8px; font-size: 10px; padding-left: 2px; }
.watch-page { background: #151b1a; color: #edece2; }
.watch-shell { max-width: 980px; margin: auto; padding: 0 40px; }
.watch-header { height: 94px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #35403c; }
.watch-header > .eyebrow { color: #95a49c; }
.screening { max-width: 680px; margin: 54px auto 48px; }
.accent { color: #c3d7a9; }
.screening h1 { margin-bottom: 12px; }
.watch-intro { color: #a6b2a9; font-size: 15px; margin-bottom: 28px; }
.player-frame { border: 1px solid #39433b; border-radius: 14px; overflow: hidden; background: #080b09; box-shadow: 0 24px 60px #0003; }
video { display: block; width: 100%; height: min(62vh, 590px); min-height: 250px; object-fit: contain; background: #080b09; }
.player-footer { display: flex; align-items: center; gap: 9px; margin-top: 17px; }
.player-footer p { color: #b6c3b9; font-size: 13px; margin: 0; }
.live-dot { width: 5px; height: 5px; border-radius: 100%; background: #bfd6a6; flex-shrink: 0; }
.recording-status { color: #f0c98b; font-size: 13px; margin: 15px 0 0; }
.watch-footer { display: flex; gap: 16px; justify-content: space-between; border-top: 1px solid #35403c; padding: 23px 0 28px; color: #9aa99e; font-size: 11px; line-height: 1.8; }
.watch-footer p { margin: 0; }
.admin-shell { max-width: 1280px; margin: auto; padding: 0 36px; }
.admin-header { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #dbe1d8; }
.text-link { font-size: 13px; font-weight: 550; color: #315d52; }
.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 42px 0 12px; }
.admin-heading h1 { margin-bottom: 10px; }
.admin-heading .eyebrow { color: #687c72; }
.muted { color: #6b7970; font-size: 14px; }
.badge { border: 1px solid #c9dacb; color: #376247; border-radius: 20px; padding: 9px 13px; font-size: 12px; white-space: nowrap; }
.badge.unhealthy { color: #a23127; border-color: #ecc6b9; }
.toolbar { display: flex; align-items: center; gap: 12px; margin: 20px 0 28px; flex-wrap: wrap; }
.toolbar label { font-size: 13px; color: #657769; }
.toolbar input { min-width: 0; width: 220px; height: 42px; background: white; border: 1px solid #ccd5c9; border-radius: 8px; padding: 10px 12px; color: #1e3029; }
.secondary { background: transparent; color: #295046; border-color: #ccd5c9; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.metrics article { padding: 22px; border: 1px solid #d9e1d5; border-radius: 12px; background: #fff; }
.metrics p { font-size: 13px; color: #52635b; margin-bottom: 18px; }
.metrics strong { font-size: 36px; display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
.metrics span { display: block; margin-top: 10px; font-size: 11px; color: #708073; line-height: 1.6; }
.notice { margin: 24px 0; padding: 18px 20px; border-left: 3px solid #a6b795; background: #eaf0e5; border-radius: 0 8px 8px 0; font-size: 13px; color: #536548; line-height: 1.8; }
.notice p { margin: 3px 0 0; }
.event-section { background: white; border: 1px solid #d9e1d5; border-radius: 12px; overflow: hidden; }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; padding: 23px 22px; }
.section-header h2, .section-header p { margin: 0; }
.section-header p { font-size: 11px; color: #6e7c70; }
.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
th { background: #f7f9f5; color: #647363; font-weight: 550; padding: 14px 20px; border-block: 1px solid #e6ebe2; }
td { padding: 16px 20px; border-bottom: 1px solid #edf0e9; }
td:nth-child(2), td:last-child { font-family: ui-monospace, monospace; font-size: 11px; }
.empty-state { text-align: center; color: #6f7f70; padding: 45px 20px; }
.empty-state > span { display: block; font-size: 30px; margin-bottom: 20px; }
.empty-state h3 { color: #3e5746; font-size: 16px; margin-bottom: 10px; }
.empty-state p { font-size: 13px; }
.error-message { color: #a33225; margin: 0 22px 20px; font-size: 13px; }
.admin-footer { padding: 24px 0 35px; font-size: 11px; color: #6c7b6e; line-height: 1.8; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .watch-shell, .admin-shell { padding: 0 20px; }
  .watch-header, .admin-header { height: 74px; }
  .watch-header > .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .screening { margin: 34px auto; }
  .watch-footer { display: block; font-size: 10px; }
  .watch-footer p { margin-top: 8px; }
  .admin-heading { align-items: flex-start; gap: 12px; padding-top: 30px; }
  .badge { font-size: 10px; padding: 7px 9px; }
  .admin-heading .eyebrow { font-size: 9px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .metrics article { padding: 17px; }
  .metrics strong { font-size: 30px; }
  .toolbar label { width: 100%; }
  .toolbar input { flex: 1; width: 130px; }
  .toolbar .button { width: 100%; }
  .section-header { padding: 19px 16px; }
  .notice { padding: 15px; font-size: 12px; }
}
