:root {
  color-scheme: light dark;
  --ink: #22211f;
  --paper: #f3efe6;
  --surface: #fffdf8;
  --copper: #b56a43;
  --line: #bdb6aa;
  --muted: #706b64;
  font-family: "Barlow", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: var(--copper); }
header, main, footer { width: min(920px, calc(100% - 32px)); margin: auto; }
header { padding: 26px 0 18px; border-bottom: 2px solid var(--ink); }
.brand { color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 900; letter-spacing: .12em; }
nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
main { padding: 28px 0 48px; }
h1, h2, h3 { line-height: 1.1; }
h1 { font-size: clamp(2rem, 7vw, 3.6rem); margin: 0 0 18px; text-transform: uppercase; }
h2 { margin-top: 2rem; }
p, li { line-height: 1.65; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 20px; margin: 16px 0; }
.notice { border-left: 5px solid var(--copper); padding: 12px 16px; background: color-mix(in srgb, var(--copper) 10%, var(--surface)); }
label { display: block; font-weight: 700; margin: 14px 0 6px; }
input, textarea, select, button { font: inherit; }
input, textarea, select { width: 100%; padding: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 0; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 0; padding: 10px 16px; background: var(--ink); color: #fff; cursor: pointer; text-decoration: none; border-radius: 0; font-weight: 700; }
button.secondary, .button.secondary { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
button.danger { background: #a12e25; }
button:disabled { opacity: .55; cursor: wait; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status { min-height: 1.5em; color: var(--muted); white-space: pre-wrap; }
footer { border-top: 1px solid var(--line); padding: 18px 0 30px; color: var(--muted); font-size: .9rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 10px 8px; }
th { text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
.small { font-size: .88rem; color: var(--muted); }
@media (prefers-color-scheme: dark) {
  :root { --ink: #eee9df; --paper: #191918; --surface: #242321; --line: #57534e; --muted: #b9b2a8; --copper: #d18a63; }
}
