* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; font: 16px/1.55 system-ui, "Microsoft YaHei", sans-serif; color: #18332d; background: #f3f7f4; }
body { min-height: 100vh; display: grid; place-items: center; margin: 0; padding: 1.25rem; }
main { width: min(100%, 28rem); background: #fff; border: 1px solid #dce7e1; border-radius: 1rem; padding: clamp(1.5rem, 6vw, 2.5rem); }
.brand { font-weight: 700; margin: 0; color: #20684e; }
h1 { font-size: 1.85rem; margin: .25rem 0 1.5rem; }
form { display: grid; gap: .55rem; }
label { font-weight: 600; }
input, button { min-height: 2.8rem; font: inherit; border-radius: .5rem; }
input { width: 100%; padding: .5rem .75rem; border: 1px solid #8aa79a; margin-bottom: .55rem; }
button { border: 0; padding: .5rem .9rem; color: #fff; background: #20684e; cursor: pointer; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #348e75; outline-offset: 3px; }
#status:empty { display: none; }
#device { border-top: 1px solid #dce7e1; padding: .75rem 0 1rem; }
#device-code { font: 700 1.2rem ui-monospace, monospace; }
#sign-out { background: #eaf3ef; color: #18332d; }

