:root {
    color-scheme: dark;
    font-family: system-ui, sans-serif;
    background: #101923;
    color: #e8edf5;
    line-height: 1.6;
}
* { box-sizing: border-box }
body { margin: 0 }
a { color: #9dd4ff; text-underline-offset: .18em }
header, footer { background: #1b2939; padding: 1.2rem max(1rem, calc((100% - 78rem) / 2)) }
.brand { font-size: 1.35rem; font-weight: 700 }
header nav { display: flex; flex-wrap: wrap; gap: .45rem 1.2rem; margin-top: .6rem }
[aria-current] { color: #fff; font-weight: 700 }
main { max-width: 82rem; margin: auto; padding: clamp(1rem, 3vw, 2rem) }
.reader { display: grid; grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr); gap: 1.5rem }
.reader aside { overflow-wrap: anywhere }
.reader aside ul { padding-inline-start: 1.4rem }
.reader aside h2 { font-size: 1.05rem }
.admin { max-width: 68rem }
.panel { background: #1b2939; border: 1px solid #35485e; border-radius: .75rem; padding: clamp(1rem, 3vw, 2rem); margin-bottom: 1rem; min-width: 0 }
h1, h2, h3 { line-height: 1.25; overflow-wrap: anywhere }
.panel > :first-child { margin-top: 0 }
small { display: block }
.muted, small, .version { color: #bbcadb }
.version { margin-inline-start: 1rem }
.notice { background: #243f52; border-inline-start: .25rem solid #9dd4ff; padding: .7rem 1rem }
label { display: block; margin-bottom: .55rem }
input, select, button { font: inherit; max-width: 100%; padding: .4rem .65rem; border-radius: .35rem; border: 1px solid #69849e }
button { background: #9dd4ff; color: #102235; font-weight: 650; cursor: pointer; margin-top: .65rem }
button.secondary { background: #243449; color: #fff }
:focus-visible { outline: 3px solid #ffd99b; outline-offset: 3px }
summary { cursor: pointer; margin: .45rem 0 }
.scroll, pre { overflow: auto }
table { border-collapse: collapse; width: 100% }
th, td { border: 1px solid #496078; padding: .55rem; text-align: start; vertical-align: top }
.document { overflow-wrap: anywhere }
.document img { max-width: 100%; height: auto }
.document pre { background: #111b27; padding: 1rem; border-radius: .45rem }
.document table { display: block; overflow-x: auto }
.document blockquote { margin-inline: 0; padding-inline-start: 1rem; border-inline-start: .2rem solid #69849e }
@media (max-width: 740px) { .reader { display: block } .reader aside { margin-bottom: 1rem } }
