:root {
  color-scheme: light dark;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background: #f4f6f8;
  color: #17212b;
}
@media (prefers-color-scheme: dark) {
  :root { background: #10161c; color: #edf3f7; }
}
* { box-sizing: border-box; }
body { margin: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; }
.shell { width: min(60rem, 100%); margin-inline: auto; padding: 2rem 1.25rem 4rem; display: grid; gap: 1.5rem; }
header { border-bottom: 1px solid #7d8d9a; padding-bottom: 1rem; }
.eyebrow { margin: 0 0 .2rem; text-transform: uppercase; letter-spacing: .08em; font-size: .76rem; color: #596a78; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; margin-top: 1.2rem; }
.lede { max-width: 48rem; color: #42525f; margin: .5rem 0 0; }
section { background: white; border: 1px solid #c8d1d9; border-radius: .65rem; padding: 1.15rem; box-shadow: 0 1px 2px #00000012; }
@media (prefers-color-scheme: dark) { section { background: #172029; border-color: #39495a; } .lede { color: #b8c5d0; } }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.status-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(13rem,1fr)); gap: .6rem; margin: 0; }
.status-grid div { border: 1px solid #d5dde4; border-radius: .4rem; padding: .6rem; }
.status-grid dt { font-size: .78rem; text-transform: uppercase; color: #596a78; }
.status-grid dd { margin: .15rem 0 0; font-weight: 700; }
.warnings { color: #8a3b00; margin: .8rem 0 0; padding-left: 1.2rem; }
@media (prefers-color-scheme: dark) { .warnings { color: #ffb977; } }
form, .field { display: grid; gap: .55rem; }
form { margin-bottom: 1rem; }
label { font-weight: 650; }
input[type="url"], input[type="password"] { width: 100%; padding: .65rem; border: 1px solid #77828c; border-radius: .35rem; font: inherit; background: white; color: inherit; }
@media (prefers-color-scheme: dark) { input[type="url"], input[type="password"] { background: #0e141a; } }
fieldset { border: 1px solid #a9b5c0; border-radius: .4rem; padding: .8rem; display: grid; gap: .4rem; }
.radio { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.hint { margin: 0; font-size: .86rem; color: #596a78; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
button { border: 1px solid #39536d; background: #235270; color: white; border-radius: .35rem; padding: .58rem .85rem; font: inherit; font-weight: 650; cursor: pointer; }
button.secondary { background: #e7ebef; color: #1b2733; border-color: #98a5b1; }
button:disabled { opacity: .48; cursor: not-allowed; }
button:not(:disabled):hover { filter: brightness(1.08); }
.state { border-left: .3rem solid #75848f; padding: .55rem .75rem; background: #eaeeF2; font-weight: 650; margin: 0; }
@media (prefers-color-scheme: dark) { .state { background: #101820; } .hint, .status-grid dt { color: #a5b2bd; } }
.transcript { padding-left: 1.35rem; display: grid; gap: .55rem; }
.transcript li::marker { color: #586c7c; }
.transcript .speaker { font-weight: 750; margin-right: .35rem; }
.preformatted { white-space: pre-wrap; overflow-wrap: anywhere; min-height: 3rem; padding: .75rem; border: 1px dashed #9dabb6; border-radius: .4rem; }
code, .preformatted { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
@media (max-width: 34rem) { .section-heading { align-items: flex-start; flex-direction: column; } .actions { align-items: stretch; } .actions > button { flex: 1 1 100%; } }
