
:root {
  color-scheme: light;
  --ink: #18313d;
  --muted: #657986;
  --line: rgba(24, 49, 61, 0.12);
  --panel: rgba(255, 255, 255, 0.86);
  --strong: #0c6572;
  --strong-2: #36b6b0;
  --warm: #fff7ed;
  --surface: #fffdf9;
  --good: #118256;
  --warn: #a86608;
  --danger: #b8374b;
  --shadow: 0 22px 70px rgba(15, 48, 64, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; color: var(--ink); background:
  radial-gradient(circle at 8% 0%, rgba(54, 182, 176, 0.28), transparent 35%),
  radial-gradient(circle at 90% 12%, rgba(255, 185, 96, 0.24), transparent 30%),
  linear-gradient(135deg, #fffaf4 0%, #f0fbfb 48%, #fffdf9 100%); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 282px 1fr; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 22px 16px; border-right: 1px solid var(--line); background: rgba(255,255,255,0.72); backdrop-filter: blur(24px); }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 4px 18px; }
.brand img { width: 86px; height: auto; object-fit: contain; }
.brand h1 { margin: 0; font-size: 15px; letter-spacing: .07em; text-transform: uppercase; }
.brand p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.nav { display: grid; gap: 8px; margin-top: 10px; }
.nav button { text-align: left; border: 1px solid transparent; border-radius: 16px; padding: 12px; background: transparent; color: var(--muted); transition: .18s ease; }
.nav button:hover, .nav button.active { color: var(--ink); border-color: rgba(54, 182, 176, .28); background: rgba(54, 182, 176, .10); transform: translateY(-1px); }
.nav small { display: block; margin-top: 3px; line-height: 1.35; opacity: .78; }
.sidebar-footer { position: absolute; inset: auto 16px 18px; display: grid; gap: 8px; }
.main { width: 100%; max-width: 1640px; margin: 0 auto; padding: 28px; }
.hero { display: grid; grid-template-columns: minmax(280px, 1.3fr) minmax(270px, .7fr); gap: 18px; align-items: stretch; margin-bottom: 18px; }
.hero-card, .card { border: 1px solid var(--line); border-radius: 24px; background: var(--panel); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.hero-card { padding: 26px; overflow: hidden; position: relative; }
.hero-card:after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 999px; right: -95px; top: -90px; background: rgba(54,182,176,.16); }
.eyebrow { margin: 0 0 10px; color: var(--strong); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 900; }
h2 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 54px); line-height: 1; }
h3 { margin: 0 0 10px; font-size: 18px; }
p { line-height: 1.55; }
.lead { color: #425763; font-size: 17px; max-width: 780px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; }
.grid.metrics { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { padding: 18px; }
.metric strong { display: block; font-size: 30px; margin-top: 6px; }
.metric span { color: var(--muted); font-size: 12px; }
.badge { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 9px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.72); }
.badge.ok { color: var(--good); border-color: rgba(17,130,86,.22); background: rgba(17,130,86,.08); }
.badge.warn { color: var(--warn); border-color: rgba(168,102,8,.24); background: rgba(255,181,83,.12); }
.badge.live { color: #063f4b; border-color: rgba(54,182,176,.34); background: rgba(54,182,176,.14); }
.button { border: 1px solid rgba(12,101,114,.25); border-radius: 14px; padding: 10px 13px; color: #073c46; background: linear-gradient(135deg, rgba(54,182,176,.22), rgba(255,255,255,.75)); box-shadow: 0 10px 28px rgba(54,182,176,.13); transition: .18s ease; }
.button:hover { transform: translateY(-1px); border-color: rgba(12,101,114,.44); }
.button.secondary { color: var(--muted); background: rgba(255,255,255,.72); border-color: var(--line); box-shadow: none; }
.button.danger { color: var(--danger); border-color: rgba(184,55,75,.28); background: rgba(184,55,75,.07); }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.stack { display: grid; gap: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 700; }
.input { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; color: var(--ink); background: rgba(255,255,255,.86); }
.input:focus { outline: 3px solid rgba(54,182,176,.22); border-color: transparent; }
textarea.input { min-height: 90px; resize: vertical; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { border-bottom: 1px solid var(--line); padding: 11px 9px; text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.station-card { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.74); }
.station-card .station-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.player-panel { position: sticky; bottom: 0; margin-top: 18px; border: 1px solid rgba(54,182,176,.28); border-radius: 24px; padding: 15px; background: rgba(255,255,255,.9); box-shadow: 0 -16px 48px rgba(15,48,64,.10); backdrop-filter: blur(18px); display: grid; grid-template-columns: 1fr minmax(260px, 520px); gap: 12px; align-items: center; }
audio { width: 100%; }
.activity-item { border-left: 3px solid var(--strong-2); padding: 6px 0 6px 12px; margin: 8px 0; }
.activity-item small { display: block; color: var(--muted); margin-top: 3px; }
.hidden { display: none !important; }
.notice { border: 1px solid rgba(54,182,176,.26); background: rgba(54,182,176,.10); color: #185662; padding: 12px; border-radius: 16px; }
footer { padding: 20px 0 6px; color: var(--muted); font-size: 12px; }
@media (max-width: 950px) { .app-shell { display: block; } .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); } .sidebar-footer { position: static; margin-top: 14px; } .nav { grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); } .main { padding: 18px; } .hero { grid-template-columns: 1fr; } .player-panel { grid-template-columns: 1fr; } }
