@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');
:root { color-scheme: light; --ink: #18271f; --muted: #748078; --line: #e8ece8; --paper: #f5f7f4; --green: #315d47; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif; }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 32px 42px; }
.topbar { height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8e3; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; letter-spacing: -.3px; }
.brand b { font-weight: 700; color: var(--green); }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #315d47; color: white; font-family: Manrope, sans-serif; font-weight: 800; }
.source-link { color: #516c5b; font-size: 12px; font-weight: 600; text-decoration: none; }
.source-link:hover { text-decoration: underline; }
.intro { padding: 44px 0 27px; }
.eyebrow { color: #52715d; font-size: 10px; letter-spacing: 1.25px; font-weight: 700; margin: 0 0 12px; }
h1, h2, p { margin-top: 0; }
h1 { font: 800 clamp(29px, 4vw, 40px)/1.15 Manrope, sans-serif; letter-spacing: -1.6px; margin-bottom: 10px; }
.lede { color: #69766e; font-size: 14px; margin-bottom: 0; }
.panel { background: white; border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 2px 8px #20372a08; }
.day-panel { padding: 24px 26px 17px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
h2 { font: 700 17px Manrope, sans-serif; letter-spacing: -.35px; margin: 0 0 6px; }
.muted { color: var(--muted); font-size: 12px; margin: 0; }
.range-control { display: flex; flex-direction: column; gap: 5px; color: #849088; font-size: 10px; font-weight: 600; }
input[type="date"] { background: #fff; border: 1px solid #dfe5e0; border-radius: 7px; padding: 8px 9px; color: #2b3b32; font: 600 11px 'DM Sans', sans-serif; }
.day-controls { display: flex; align-items: end; gap: 7px; }
.view-controls { display: flex; align-items: center; gap: 4px; padding: 3px; background: #f2f5f2; border-radius: 9px; }
.view-button { border: 0; border-radius: 7px; padding: 8px 11px; color: #637268; background: transparent; cursor: pointer; font: 600 11px 'DM Sans', sans-serif; white-space: nowrap; }
.view-button.active { color: #294634; background: white; box-shadow: 0 1px 3px #20372a1a; }
.view-button:focus-visible, .day-step:focus-visible, .today-button:focus-visible { outline: 2px solid #71977c; outline-offset: 2px; }
#day-picker-controls[hidden] { display: none !important; }
.day-step, .today-button { height: 34px; background: white; border: 1px solid #dfe5e0; border-radius: 7px; color: #365743; cursor: pointer; font: 600 12px 'DM Sans', sans-serif; }
.day-step { width: 34px; font-size: 17px; }
.today-button { padding: 0 11px; }
.day-step:disabled { color: #b7c0ba; cursor: default; }
.day-overview { display: flex; justify-content: space-between; margin: 23px 1px 12px; color: #7b887f; font-size: 11px; }
.day-overview #day-label { color: #3b5144; font-weight: 700; }
.hall-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.hall-card { border: 1px solid #e8ece8; border-radius: 11px; padding: 15px 15px 11px; min-width: 0; }
.hall-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.hall-name { font: 700 14px Manrope, sans-serif; color: #293b30; margin: 0; }
.hall-stat { color: #89948d; font-size: 10px; text-align: right; white-space: nowrap; }
.hall-stat strong { color: #52675a; font-weight: 700; }
.axis-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 11px; color: #839087; font-size: 10px; }
.axis-control-group { display: inline-flex; align-items: center; gap: 4px; }
.axis-control-group > span { margin-right: 2px; }
.axis-controls button { width: 25px; height: 24px; padding: 0; border: 1px solid #e0e7e1; border-radius: 6px; background: white; color: #3d654a; cursor: pointer; font: 600 13px 'DM Sans', sans-serif; }
.axis-controls button:hover { border-color: #9ab4a0; background: #f5f8f5; }
.axis-controls .axis-reset { width: auto; padding: 0 8px; color: #758279; font-size: 10px; }
.axis-controls button:focus-visible { outline: 2px solid #71977c; outline-offset: 2px; }
.hall-chart { height: 210px; position: relative; margin-top: 9px; }
.hall-chart canvas { width: 100% !important; height: 100% !important; display: block; }
.x-navigator { display: grid; grid-template-columns: 70px minmax(60px, 1fr) 62px; align-items: center; gap: 8px; margin: 0 2px 3px; color: #849088; font-size: 9px; }
.x-navigator input[type="range"] { width: 100%; margin: 0; accent-color: #477358; cursor: grab; }
.x-navigator input[type="range"]:active { cursor: grabbing; }
.x-navigator input[type="range"]:disabled { opacity: .45; cursor: not-allowed; }
.empty-state { text-align: center; color: #89948d; font-size: 13px; padding: 0 0 12px; }
.chart-foot { border-top: 1px solid #f0f2ef; display: flex; justify-content: space-between; padding-top: 13px; color: #829087; font-size: 11px; }
.live-dot { display: inline-block; width: 7px; height: 7px; background: #53a879; border-radius: 50%; margin-right: 6px; box-shadow: 0 0 0 3px #53a87920; }
.status-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 15px; }
.status-card { min-height: 82px; padding: 17px; display: flex; align-items: center; gap: 12px; }
.status-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #477358; background: #edf4ef; font-size: 19px; }
.status-label { font-size: 10px; color: #87928b; margin: 0 0 5px; }
.status-value { font-size: 12px; font-weight: 700; color: #34443a; margin: 0; }
.fine-print { color: #8c9690; font-size: 10px; text-align: center; margin: 20px 0 0; }
@media (max-width: 680px) {
  .shell { padding: 0 16px 28px; }
  .topbar { height: 64px; }
  .intro { padding: 32px 0 22px; }
  .day-panel { padding: 19px 14px 14px; }
  .panel-head { flex-direction: column; }
  .view-controls { width: 100%; justify-content: space-between; }
  .view-button { padding: 8px 9px; }
  .day-controls { width: 100%; }
  .day-controls .range-control { flex: 1; }
  input[type="date"] { width: 100%; }
  .hall-grid { grid-template-columns: 1fr; }
  .hall-chart { height: 200px; }
  .status-row { grid-template-columns: 1fr; gap: 9px; }
  .status-card { min-height: 68px; }
}
