:root { color-scheme: light dark; font: 1rem/1.55 system-ui, sans-serif; --bg: #f4f7f9; --surface: #fff; --ink: #10222b; --muted: #425860; --line: #9aadb4; --brand: #086052; --on-brand: #fff; --focus: #1967d2; }
@media (prefers-color-scheme: dark) { :root { --bg: #101c21; --surface: #17262c; --ink: #edf6f5; --muted: #b7cbce; --line: #627d86; --brand: #78dfc4; --on-brand: #10222b; --focus: #9fc5ff; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); }
a { color: var(--brand); text-underline-offset: .2em; }
.bar, footer { max-width: 74rem; margin: auto; padding: 1rem clamp(1rem, 4vw, 3rem); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.bar > a { font-weight: 750; text-decoration: none; }
.bar span { color: var(--muted); font-weight: 500; margin-inline-start: .45rem; }
main { width: min(calc(100% - 2rem), 42rem); margin: clamp(1rem, 6vw, 4rem) auto 1.5rem; padding: clamp(1.25rem, 5vw, 3rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.15rem; }
h1 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); line-height: 1.12; letter-spacing: -.035em; overflow-wrap: anywhere; }
.intro { margin: .85rem 0 1.75rem; color: var(--muted); }
label { display: block; margin: .85rem 0 .35rem; font-weight: 650; }
textarea, input, select, pre { width: 100%; background: var(--bg); color: var(--ink); padding: .65rem .8rem; border: 1px solid var(--line); border-radius: .5rem; font: inherit; }
textarea { resize: vertical; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; }
button, summary, a { min-height: 2.75rem; }
button { background: var(--brand); color: var(--on-brand); border: 0; border-radius: .5rem; font: inherit; font-weight: 700; padding: .65rem 1.1rem; margin-top: .9rem; cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hint, #status { color: var(--muted); font-size: .93rem; }
#status:empty { display: none; }
details { border-top: 1px solid var(--line); padding-top: .5rem; }
summary { cursor: pointer; align-content: center; font-weight: 650; }
.secondary { display: inline-block; margin: .85rem 0 0 .85rem; align-content: center; }
footer { justify-content: center; font-size: .9rem; }
footer a, nav a, .bar > a { display: inline-grid; align-content: center; }
#copy-note { margin-inline-end: .6rem; }
