:root {
  color-scheme: light;
  --ink: #162b25; --teal: #183e36; --paper: #f9f6ed; --muted: #4d5d53; --rule: #c4cbc0; --accent: #a03522;
  font: 100%/1.55 system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { background: var(--teal); color: #fff; }
.bar, main { width: min(55rem, 100% - 2.5rem); margin-inline: auto; }
.bar { min-height: 4.4rem; display: flex; align-items: center; gap: 1.25rem; }
.brand { font: bold 1.45rem Georgia, serif; color: inherit; text-decoration: none; }
.bar span { color: #d5e4d9; border-inline-start: 1px solid #82978a; padding-inline-start: 1.25rem; font-size: .93rem; }
main { padding-block: clamp(2rem, 6vw, 4rem); }
h1, h2 { line-height: 1.12; font-family: Georgia, serif; font-weight: 500; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); margin: 0 0 1rem; letter-spacing: -.045em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); margin: 0; letter-spacing: -.025em; }
a { color: #145745; text-underline-offset: .2em; }
a:hover { color: var(--accent); }
.panel { background: #fffef9; border: 1px solid var(--rule); border-radius: 1rem; padding: clamp(1.2rem, 4vw, 2.25rem); margin-top: 1.5rem; }
.panel p { max-width: 60ch; }
.section-head, .toolbar, .actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.toolbar { margin-block-start: 1.5rem; }
.actions { justify-content: flex-start; margin-block-start: 1.5rem; }
ol { padding-inline-start: 1.4rem; } ol li { padding: .4rem 0; }
code, pre { font-family: ui-monospace, monospace; font-size: .94rem; }
pre { padding: .9rem; background: #edf0e8; border-radius: .5rem; white-space: pre-wrap; overflow-wrap: anywhere; }
button, input, select { font: inherit; }
button { cursor: pointer; border: 1px solid var(--teal); background: var(--teal); color: #fff; border-radius: .5rem; min-height: 2.8rem; padding: .43rem 1rem; font-weight: 650; }
button.secondary { background: transparent; color: var(--teal); }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #ac5227; outline-offset: 3px; }
label { display: block; font-weight: 650; margin-block: 1.1rem .35rem; }
input, select { width: 100%; max-width: 43rem; min-height: 2.8rem; border: 1px solid #8b9b90; border-radius: .4rem; color: var(--ink); background: #fff; padding: .5rem .65rem; }
input:read-only { background: #f0f2eb; }
small, .resources span { display: block; color: var(--muted); font-size: .925rem; margin-block: .25rem; }
.resources, .checks { padding: 0; margin: 1rem 0 0; list-style: none; }
.resources li, .checks li { padding-block: .7rem; border-top: 1px solid var(--rule); }
.checks li { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.checks span:last-child { text-align: end; color: var(--muted); font-size: .94rem; }
.checks li[data-ok="false"] span:last-child, .error { color: var(--accent); }
.skip { position: absolute; top: -5rem; left: 1rem; background: white; padding: .5rem 1rem; z-index: 10; } .skip:focus { top: .5rem; }
#copy-result { margin-inline-start: .7rem; }
@media (max-width: 33rem) { .bar { gap: .6rem; } .bar span { padding-inline-start: .6rem; } .checks li { align-items: baseline; } }
.admin-nav {display:flex;gap:.45rem;flex-wrap:wrap;margin:0 0 1.75rem;border-bottom:1px solid var(--rule);padding:0 0 .65rem}
.admin-nav a {padding:.35rem .75rem;border-radius:.3rem;text-decoration:none;color:var(--teal)}
.admin-nav [aria-current="page"] {background:var(--teal);color:white}
.admin-nav a:hover {text-decoration:underline}
.scroll-table {overflow-x:auto}.scroll-table table {width:100%;border-collapse:collapse;margin:.65rem 0;font-variant-numeric:tabular-nums}
.scroll-table caption {text-align:start;font-weight:bold;margin-bottom:.45rem}.scroll-table th,.scroll-table td {padding:.4rem .3rem;border-bottom:1px solid var(--rule);text-align:end}.scroll-table tr>:first-child {text-align:start}
