:root {
  --bg: #08111d;
  --panel: rgba(14, 22, 36, 0.92);
  --panel-soft: rgba(20, 31, 48, 0.86);
  --line: rgba(255,255,255,0.08);
  --text: #eef5ff;
  --muted: #9cafc9;
  --accent: #8dd5ff;
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(71, 129, 255, 0.18), transparent 22%),
    linear-gradient(180deg, #050b12 0%, var(--bg) 100%);
}
button, input, select { font: inherit; }
.page {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 40px;
}
.header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
}
h1, h2, h3, p { margin: 0; }
.controls { display: flex; gap: 10px; flex-wrap: wrap; }
.controls input, .controls select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
}
.controls input { width: min(320px, 70vw); }
.layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}
.panel, .hero, .tab-card, .mini-card, .card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 22px 60px rgba(0,0,0,0.35);
}
.panel { padding: 20px; }
.list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.muted { color: var(--muted); }
.card-grid { display: grid; gap: 12px; }
.card {
  padding: 14px;
  background: var(--panel-soft);
  cursor: pointer;
}
.card.is-active { border-color: rgba(141, 213, 255, 0.55); }
.card-title { font-weight: 800; margin-bottom: 6px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 10px; font-size: 12px; color: var(--muted); }
.pill, .tab-button {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(141, 213, 255, 0.24);
  font-size: 12px;
  color: var(--muted);
}
.detail-panel { display: grid; gap: 18px; align-content: start; }
.hero {
  min-height: 280px;
  padding: 26px;
  background: linear-gradient(135deg, var(--hero-start), var(--hero-end));
}
.hero .subtitle { color: rgba(255,255,255,0.78); margin-top: 6px; }
.hero .summary { margin-top: 16px; line-height: 1.6; max-width: 54ch; }
.tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.tab-button {
  background: rgba(255,255,255,0.03);
  cursor: pointer;
}
.tab-button.is-active {
  color: var(--text);
  border-color: rgba(141, 213, 255, 0.55);
}
.tab-card { padding: 18px; }
.stack { display: grid; gap: 10px; margin-top: 12px; }
.mini-card {
  padding: 12px;
  background: rgba(255,255,255,0.03);
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
}
