:root {
  color-scheme: dark;
  --bg: #101418;
  --surface: #171d23;
  --surface-strong: #202832;
  --text: #eef3f7;
  --muted: #9caab6;
  --accent: #3dd6a3;
  --accent-soft: rgba(61, 214, 163, 0.16);
  --border: #2d3742;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.page-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.hero {
  padding: 28px 0 22px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(2.3rem, 7vw, 4.75rem);
  line-height: 1;
}

h2 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.subtitle {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.2rem;
}

.status-panel,
.panel,
.note {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.status-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
}

.status-text {
  margin-bottom: 0;
  color: var(--accent);
  font-weight: 700;
}

.status-indicator {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
}

.panel {
  padding: 20px;
}

audio {
  width: 100%;
  min-height: 44px;
}

.muted,
.note p {
  color: var(--muted);
}

.muted {
  margin: 12px 0 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 420px;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

td {
  color: var(--text);
}

tr:last-child td {
  border-bottom: 0;
}

.note {
  padding: 16px 20px;
  background: var(--surface-strong);
}

.note p {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 960px);
    padding: 28px 0;
  }

  .status-panel,
  .panel,
  .note {
    padding: 16px;
  }
}
