:root {
  color-scheme: light dark;
  --bg: #fff; --fg: #111; --dim: #777; --line: #e2e2e2; --accent: #b87a1a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111; --fg: #eee; --dim: #888; --line: #2a2a2a; --accent: #e8a33d; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.4 system-ui, sans-serif; }
main { max-width: 44rem; margin: 0 auto; padding: 4rem 1.25rem 2rem; }
h1 { margin: 0 0 2rem; font-size: 1.5rem; font-weight: 600; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .9rem .4rem; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 1px solid var(--line); }
th { width: 9rem; padding-left: 0; font-weight: 600; white-space: nowrap; }
td { color: var(--dim); }
a { color: var(--accent); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
@media (max-width: 30rem) {
  th, td { display: block; width: auto; padding: 0; border: 0; }
  th { padding-top: 1rem; }
  td { padding-bottom: 1rem; }
  tr { display: block; border-top: 1px solid var(--line); }
  tr:last-child { border-bottom: 1px solid var(--line); }
}
.err .code { margin: 0 0 .25rem; font-size: 4rem; line-height: 1; font-weight: 700; color: var(--accent); }
.err h1 { margin-bottom: 1rem; }
.err p { margin: 0 0 1rem; }

.adm main { max-width: 56rem; }
.adm h2 { margin: 2.5rem 0 .75rem; font-size: 1.1rem; font-weight: 600; }
.adm .rng { margin: .5rem 0 0; color: var(--dim); }
.adm .rng b, .adm .rng a { margin-right: .9rem; }
.adm .rng b { color: var(--fg); }
.adm .rng span { font-size: .85rem; }
.adm .info { color: var(--dim); font-size: .9rem; }
.adm .sc { overflow-x: auto; }
.adm table { font-variant-numeric: tabular-nums; }
.adm th, .adm td { padding: .5rem .6rem .5rem 0; text-align: right; white-space: nowrap; }
.adm th:first-child, .adm td:first-child { text-align: left; width: auto; }
.adm thead th { font-weight: 400; color: var(--dim); }
.adm tbody th { font-weight: 400; color: var(--fg); }
.adm table.kv th { width: 16rem; }
.adm table.kv td { color: var(--fg); text-align: left; }
.adm td.path { text-align: left; font-family: ui-monospace, monospace; font-size: .85rem; max-width: 24rem; overflow: hidden; text-overflow: ellipsis; }
.adm .chart { width: 100%; height: auto; }
.adm .chart .c-home { fill: var(--dim); } .adm .chart .c-items { fill: #4caf50; } .adm .chart .c-editor { fill: var(--accent); }
.adm .leg { margin: .5rem 0 0; font-size: .85rem; color: var(--dim); }
.adm .leg span { margin-right: 1rem; }
.adm .leg .c-home::before, .adm .leg .c-items::before, .adm .leg .c-editor::before { content: ""; display: inline-block; width: .7rem; height: .7rem; margin-right: .35rem; background: currentColor; }
.adm .leg .c-home { color: var(--dim); } .adm .leg .c-items { color: #4caf50; } .adm .leg .c-editor { color: var(--accent); }
