:root {
  color-scheme: dark;
  --bg: #090a0c;
  --panel: #101216;
  --line: #2a2e35;
  --text: #f3f3ef;
  --muted: #8e96a1;
  --accent: #d7ff73;
  --bad: #ffb066;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
}

.page {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
  padding: 42px 0;
}

header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-family: "Trebuchet MS", "Avenir Next", Inter, ui-sans-serif, sans-serif;
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

#status,
.muted {
  color: var(--muted);
}

.panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.hidden {
  display: none;
}

form,
.grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 0.84rem;
}

input,
select,
button {
  min-height: 40px;
  border-radius: 0;
  font: inherit;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  outline: none;
  background: #08090b;
  color: var(--text);
  padding: 0 10px;
}

input:focus,
select:focus {
  border-color: var(--accent);
}

button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #111500;
  padding: 0 12px;
  font-weight: 700;
  cursor: pointer;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.pill strong {
  color: var(--text);
}

.bad {
  color: var(--bad);
}

@media (max-width: 680px) {
  header {
    align-items: start;
    flex-direction: column;
  }
}
