:root { color-scheme: light dark; --accent: #1a73e8; --border: #8884; --muted: #777; --error: #c62828; --ok: #2e7d32; }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, sans-serif; }
main { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
h1 { font-size: 1.6rem; margin-bottom: .25rem; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.lead { margin-top: 0; color: var(--muted); }
section { border: 1px solid var(--border); border-radius: .6rem; padding: 1rem 1.1rem; margin: 1rem 0; }
label { display: block; font-size: .85rem; color: var(--muted); margin: .5rem 0 .15rem; }
select { width: 100%; padding: .5rem; font: inherit; border-radius: .4rem; border: 1px solid var(--border); background: Canvas; color: CanvasText; }
button { font: inherit; font-weight: 600; padding: .7rem 1.2rem; border: 0; border-radius: .5rem; background: var(--accent); color: #fff; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
progress { width: 100%; height: 1.1rem; margin-top: .8rem; }
.muted { color: var(--muted); font-size: .9rem; margin: .5rem 0 0; }
.notice { padding: .6rem .8rem; border-radius: .4rem; background: #f9a82522; border: 1px solid #f9a82566; font-size: .92rem; }
.notice.error { background: #c6282822; border-color: #c6282866; }
.status { min-height: 1.5em; font-weight: 600; }
.status.error { color: var(--error); }
.status.ok { color: var(--ok); }
pre { white-space: pre-wrap; word-break: break-word; font-size: .8rem; max-height: 18rem; overflow: auto; }
details { margin-top: 1.5rem; color: var(--muted); }
