:root {
  color-scheme: light;
  --bg: #f3f8ff;
  --paper: #ffffff;
  --paper-soft: #ecf4ff;
  --panel: #ffffff;
  --panel-strong: #dfeeff;
  --ink: #0f2742;
  --text: #0f2742;
  --muted: #5e7592;
  --line: #b8d5f4;
  --line-strong: #3178c6;
  --accent: #2196f3;
  --accent-strong: #136ec2;
  --green: #14b87d;
  --yellow: #dd9b1a;
  --red: #da4f70;
  --blue: #3f8fe8;
  --river: #57b4ff;
  --trail: #7ac8ff;
  --summit: #7b8dff;
  --contour: rgba(63, 143, 232, 0.14);
  --shadow: 0 1px 0 rgba(15, 39, 66, 0.08), 0 12px 26px rgba(34, 87, 148, 0.12);
  --sans: "Inter", "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --display: "Inter", "Manrope", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(50rem circle at 8% -10%, rgba(87, 180, 255, 0.18), transparent 58%),
    radial-gradient(40rem circle at 100% 0%, rgba(123, 141, 255, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(87, 180, 255, 0.08), rgba(87, 180, 255, 0)),
    var(--bg);
  color: var(--text);
}

body::before {
  display: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header,
.tab-nav,
main {
  width: min(1360px, calc(100% - 28px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 30px 0 16px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 9px;
  background: linear-gradient(90deg, #1f7ed8, #4fa7f2);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.8vw, 4.9rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #0b2a4a;
  font-weight: 800;
}

h2 {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  font-weight: 750;
}

.header-copy,
.muted,
.panel-header p,
.stat-card small {
  color: var(--muted);
}

.header-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: #4c6786;
  font-size: 1.04rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 11px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill.ready {
  border-color: var(--accent);
  color: var(--green);
}

.status-pill.warning {
  border-color: var(--yellow);
  color: var(--yellow);
}

.tab-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 12px 0 0;
  background:
    linear-gradient(90deg, rgba(87, 180, 255, 0.2), rgba(255, 255, 255, 0.96) 35%, rgba(123, 141, 255, 0.12)),
    rgba(243, 248, 255, 0.94);
  backdrop-filter: blur(8px);
}

.tab-button {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  margin-right: 4px;
  padding: 10px 16px;
  background: #ecf4ff;
  color: #587293;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.tab-button.active,
.tab-button:hover {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  color: #0e4f92;
  box-shadow: 0 1px 0 rgba(49, 120, 198, 0.2);
  transform: translateY(-2px);
}

main {
  padding: 14px 0 48px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
  }
}
