:root {
  --bg: #0a0f18;
  --panel: rgba(16, 23, 35, 0.92);
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef4ff;
  --muted: #9db0ca;
  --accent: #7aa2ff;
  --good: #71e0a8;
  color-scheme: dark;
  font-family: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #050911 0%, var(--bg) 100%);
}
button, input, select { font: inherit; }
.page {
  width: min(1300px, calc(100% - 24px));
  margin: 0 auto;
  padding: 20px 0 40px;
}
.topbar {
  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; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.tools input, .tools 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);
}
.tools input { width: min(320px, 70vw); }
.layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.panel, .detail-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; }
.table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.muted { color: var(--muted); }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
tbody tr { cursor: pointer; }
tbody tr:hover, tbody tr.is-active { background: rgba(255,255,255,0.04); }
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(122,162,255,0.22);
  color: var(--muted);
}
.pill.good { color: var(--good); }
#detailPanel { display: grid; gap: 18px; align-content: start; }
.hero {
  min-height: 220px;
  padding: 24px;
  border-radius: 24px;
  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: 46ch; }
.detail-card { padding: 18px; }
.stack { display: grid; gap: 10px; }
.item {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
}
