:root {
  color-scheme: dark;
  --bg: #070a0f;
  --surface: #0d121a;
  --surface-2: #121923;
  --line: #26303d;
  --muted: #929dac;
  --text: #f5f7fa;
  --orange: #ff8500;
  --orange-2: #ffae38;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 2%, rgba(255, 112, 0, .15), transparent 34rem),
    radial-gradient(circle at 5% 20%, rgba(28, 91, 146, .14), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.topbar {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(6, 9, 14, .83);
  backdrop-filter: blur(14px);
}
.brand { display: flex; gap: 11px; align-items: center; text-decoration: none; font-size: 20px; font-weight: 850; letter-spacing: .025em; }
.brand strong { color: var(--orange); }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: #0c0d10; background: linear-gradient(145deg, var(--orange-2), var(--orange)); font-size: 14px; }
.back { padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; color: #cbd2dc; text-decoration: none; font-size: 14px; font-weight: 700; }
.back:hover { border-color: var(--orange); color: white; }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: clamp(56px, 8vw, 100px) 0 44px; text-align: center; }
.eyebrow { color: var(--orange-2); font-size: 12px; font-weight: 900; letter-spacing: .19em; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; margin: 0 9px 3px 0; background: var(--orange); }
h1 { margin: 18px 0 14px; font-size: clamp(43px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; text-transform: uppercase; }
h1 em { color: var(--orange); font-style: normal; }
.hero > p { max-width: 660px; margin: 0 auto; color: #aeb7c4; font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.retention { display: inline-flex; margin-top: 23px; padding: 9px 13px; border: 1px solid rgba(255,133,0,.3); border-radius: 999px; color: #ffc16f; background: rgba(255,133,0,.08); font-size: 13px; font-weight: 750; }

.panel { overflow: hidden; margin-bottom: 42px; border: 1px solid var(--line); border-radius: 20px; background: rgba(13,18,26,.94); box-shadow: 0 25px 70px rgba(0,0,0,.27); }
.toolbar { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 26px 28px; }
h2 { margin: 0 0 5px; font-size: 22px; }
.toolbar p { margin: 0; color: var(--muted); font-size: 14px; }
.search { min-width: 270px; display: flex; align-items: center; gap: 9px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: #090e15; }
.search:focus-within { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,133,0,.1); }
.search span { color: var(--orange-2); font-size: 22px; }
.search input { width: 100%; padding: 12px 0; border: 0; outline: 0; background: transparent; color: white; font: inherit; }

.days { display: flex; gap: 8px; overflow-x: auto; padding: 0 28px 20px; scrollbar-width: thin; }
.day { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; color: #9da7b5; background: #0a0f16; font-weight: 800; cursor: pointer; }
.day:hover, .day.active { border-color: var(--orange); color: #111; background: var(--orange); }

.table-wrap { border-top: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 18px 22px; text-align: left; white-space: nowrap; }
th { color: #818c9a; background: rgba(255,255,255,.025); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
td { border-top: 1px solid rgba(55,66,80,.68); color: #b8c1ce; font-size: 14px; }
tbody tr { transition: background .15s ease; }
tbody tr:hover { background: rgba(255,133,0,.045); }
.map { color: white; font-weight: 850; }
.map::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px rgba(255,133,0,.7); }
.download { display: inline-flex; align-items: center; justify-content: center; padding: 9px 13px; border-radius: 9px; color: #111; background: linear-gradient(135deg, var(--orange-2), var(--orange)); text-decoration: none; font-weight: 900; }
.download:hover { filter: brightness(1.12); transform: translateY(-1px); }
.empty { padding: 48px 20px; text-align: center; color: var(--muted); }

footer { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 0 0 32px; display: flex; justify-content: space-between; gap: 20px; color: #778291; font-size: 12px; }
.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; }

@media (max-width: 720px) {
  .topbar { height: 66px; }
  .back { padding: 9px 11px; font-size: 12px; }
  .toolbar { align-items: stretch; flex-direction: column; padding: 22px 18px; }
  .search { min-width: 0; }
  .days { padding-inline: 18px; }
  th, td { padding: 15px 14px; }
  footer { flex-direction: column; }
}
