:root { color-scheme: light dark; }
* { box-sizing: border-box; }
body {
  margin: 0; padding: 24px;
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 900px; margin-inline: auto;
}
h1 { font-size: 20px; margin: 0 0 4px; }
h2 { font-size: 15px; margin: 24px 0 8px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; }
.bar { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bar .spacer { flex: 1; }
a { color: inherit; }
button {
  font: inherit; padding: 6px 12px; border-radius: 6px; cursor: pointer;
  border: 1px solid currentColor; background: transparent;
}
button.primary { background: #2563eb; border-color: #2563eb; color: #fff; }
button.danger { color: #b91c1c; }
button:disabled { opacity: .5; cursor: progress; }
input, select { font: inherit; padding: 6px 8px; border-radius: 6px; border: 1px solid #8888; background: transparent; color: inherit; }
form.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #8883; vertical-align: middle; }
th { font-weight: 600; opacity: .6; }
.card { border: 1px solid #8884; border-radius: 8px; padding: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.card .grow { flex: 1; }
.muted { opacity: .6; font-size: 13px; }
.error { color: #b91c1c; min-height: 1.4em; }
.pill { font-size: 12px; border: 1px solid #8886; border-radius: 999px; padding: 1px 8px; }
