:root {
  color-scheme: dark;
  --bg: #05070a;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f7fa;
  --muted: #83909b;
  --cyan: #37ddff;
  --green: #59d99e;
  --red: #ff747b;
  --orange: #ff9c55;
  --font-sans: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% -10%, rgba(55, 221, 255, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
}
code { font-family: var(--font-mono); font-size: 0.92em; }
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--cyan);
  color: #001017;
  padding: 8px 12px;
}
.top {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 8px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand img { border-radius: 8px; }
.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2 { margin: 0.15rem 0 0; font-weight: 650; }
h3 { margin: 0.15rem 0 0; font-weight: 650; }
.lede {
  margin: 14px 0 0;
  max-width: 62ch;
  color: var(--muted);
  line-height: 1.5;
}
.pilot-note {
  margin: 10px 0 0;
  max-width: 70ch;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
.pilot-note a { color: var(--cyan); }
.legend {
  margin: 0 0 12px;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
.how-to {
  margin: 0 0 12px;
  padding-left: 1.2rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.55;
}
.how-to li { margin: 0.45rem 0; }
.how-to strong { color: var(--cyan); }
.how-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 0.75rem; }
.how-tab {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font: inherit;
}
.how-tab.is-active { color: var(--text); border-color: var(--cyan); }
.verdict-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 0;
}
.verdict-line { flex: 1 1 16rem; }
.layout {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px 48px;
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .layout { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 16px;
}
.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  font-size: 0.92rem;
}
.hint { color: var(--muted); font-weight: 400; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0b1016;
  color: var(--text);
  padding: 10px 12px;
}
select { appearance: auto; }
.hidden { display: none !important; }
.panel h2 { margin: 16px 0 0; font-size: 1.05rem; }
.panel h2:first-child { margin-top: 0; }
.transport-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}
textarea { resize: vertical; font-family: var(--font-mono); font-size: 0.85rem; }
.actions { display: flex; gap: 8px; margin-top: 8px; }
.button {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--cyan);
  color: #001017;
  font-weight: 700;
  cursor: pointer;
}
.button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.button:disabled { opacity: 0.5; cursor: wait; }
.status { min-height: 1.25rem; color: var(--muted); font-size: 0.9rem; }
.summary {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  line-height: 1.45;
}
.summary.empty { color: var(--muted); }
.summary.ok { border-color: rgba(89, 217, 158, 0.45); color: var(--green); }
.summary.bad { border-color: rgba(255, 116, 123, 0.45); color: var(--red); }
.summary.warn { border-color: rgba(255, 156, 85, 0.45); color: var(--orange); }
.details { margin-top: 12px; display: grid; gap: 10px; }
.limits {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}
.limits h3 { color: var(--text); font-size: 0.95rem; }
.limits ul { margin: 8px 0 0; padding-left: 1.15rem; }
.detail-block h3 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 4px 8px;
  border: 1px solid var(--border);
}
.chip.match { color: var(--green); }
.chip.warn { color: var(--orange); }
.chip.fail { color: var(--red); }
.warn-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--orange);
  font-size: 0.85rem;
  line-height: 1.45;
}
.meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}
