:root {
  --bg: #fbfaf7; --fg: #1d1d1b; --muted: #6b6a66; --line: #e2dfd8;
  --accent: #b5480e; --code: #f1eee8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615; --fg: #e9e7e2; --muted: #9a978f; --line: #33322f;
    --accent: #f08a4b; --code: #23221f;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}
main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; margin: 2.5rem 0 .75rem; }
a { color: var(--accent); }
.lede { color: var(--muted); margin: 0 0 2rem; }
.release { border-top: 1px solid var(--line); padding-top: 1rem; }
.release h2 { margin-top: 0; }
.meta, .date { color: var(--muted); font-size: .9rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
td { padding: .5rem .5rem .1rem 0; vertical-align: top; }
td:first-child { white-space: nowrap; font-weight: 600; }
td.num { text-align: right; white-space: nowrap; color: var(--muted); }
tr.sum td { padding-top: 0; padding-bottom: .6rem; border-bottom: 1px solid var(--line);
  font-weight: normal; font-size: .75rem; color: var(--muted); white-space: normal; }
code, pre { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
tr.sum code { word-break: break-all; }
pre { background: var(--code); padding: .75rem 1rem; border-radius: 6px;
  overflow-x: auto; font-size: .9rem; }
footer { margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 1rem;
  color: var(--muted); font-size: .9rem; }
@media (max-width: 34rem) {
  td:first-child { white-space: normal; word-break: break-all; }
  td:nth-child(2) { display: none; }
}
.crumb { margin: 0 0 1.5rem; font-size: .9rem; }
.step { border-top: 1px solid var(--line); padding-top: .25rem; }
.step h2 { margin-top: 1rem; }
.warn { border-left: 3px solid var(--accent); padding: .5rem .75rem; background: var(--code); }
.error { color: var(--accent); font-weight: 600; }
button, select { font: inherit; padding: .45rem .9rem; border-radius: 6px;
  border: 1px solid var(--line); background: var(--code); color: var(--fg); max-width: 100%; }
button { background: var(--accent); color: var(--bg); border-color: var(--accent);
  font-weight: 600; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
.file input { font: inherit; font-size: .85rem; max-width: 100%; }
progress { width: 100%; height: .9rem; accent-color: var(--accent); margin-top: 1.5rem; }
details { margin-top: 2.5rem; color: var(--muted); }
summary { cursor: pointer; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
button.quiet { background: var(--code); color: var(--fg); border-color: var(--line); font-weight: normal; }
button.small { font-size: .8rem; padding: .2rem .6rem; vertical-align: middle; margin-left: .5rem; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.rows { list-style: none; padding: 0; margin: 0 0 1rem; }
.rows li { display: flex; justify-content: space-between; align-items: center;
  padding: .4rem 0; border-bottom: 1px solid var(--line); }
.row-form { display: flex; flex-wrap: wrap; gap: .5rem; }
input[type=time] { font: inherit; padding: .4rem .6rem; border-radius: 6px;
  border: 1px solid var(--line); background: var(--code); color: var(--fg); }
[hidden] { display: none !important; }
