:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

body {
  max-width: 60rem;
  margin: 2rem auto;
  padding: 0 1rem;
}

.site-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.site-nav a[aria-current="page"] {
  text-decoration: underline;
}

.controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.controls label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.checkbox-row {
  flex-direction: row !important;
  align-items: center;
}

.zone-1 {
  color: light-dark(#0a7d2c, #4ade80);
  font-weight: 600;
}

.zone-2 {
  color: light-dark(#8a6d00, #eab308);
  font-weight: 600;
}

.zone-3 {
  color: light-dark(#b00020, #ff6b6b);
  font-weight: 600;
}

.card {
  border: 1px solid light-dark(#ccc, #444);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-block: 1rem;
}

.card label {
  display: block;
  margin-block: 0.5rem;
}

.card input[type="url"],
.card input[type="text"],
.card input[type="number"] {
  display: block;
  width: 100%;
  max-width: 30rem;
  padding: 0.4rem;
  margin-top: 0.25rem;
}

.radio-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-block: 0.5rem;
}

.radio-row input[type="text"],
.radio-row input[type="number"],
.radio-row select {
  width: auto;
  flex: 1;
  max-width: 20rem;
}

.status {
  font-style: italic;
  opacity: 0.8;
}

.error {
  color: light-dark(#b00020, #ff6b6b);
}

table {
  border-collapse: collapse;
  margin-block: 0.5rem;
}

table th,
table td {
  border: 1px solid light-dark(#ccc, #444);
  padding: 0.35rem 0.6rem;
  text-align: left;
}

pre {
  background: light-dark(#f4f4f4, #1e1e1e);
  padding: 0.75rem;
  overflow-x: auto;
  border-radius: 0.35rem;
  font-size: 0.85rem;
}
