#onboarding{width:min(100%,520px);margin:0 auto;padding:max(24px,env(safe-area-inset-top)) 24px max(32px,env(safe-area-inset-bottom));box-sizing:border-box}
.setup-top,.setup-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.setup-top .brand{font-size:20px;display:flex;align-items:center;gap:10px}
.setup-top>button{padding:12px 0;color:var(--muted)}
.setup-progress{display:flex;gap:6px;margin:40px 0 18px}
.setup-progress span{height:3px;flex:1;border-radius:3px;background:var(--accent)}
.setup-progress .pending{background:var(--border)}
.setup-step{font-size:11px;font-weight:650;letter-spacing:.13em;color:var(--muted)}
#onboarding h1{font-size:clamp(28px,6vw,38px);line-height:1.13;margin:8px 0 10px;outline:none}
.setup-intro,.setup-device p{color:var(--muted);line-height:1.55}
.setup-form{margin-top:24px}
.setup-form fieldset{padding:0;margin:0;border:0;min-width:0}
.setup-form .field small{font-weight:400;color:var(--muted)}
.setup-form input,.setup-form select{font-size:16px}
.setup-form input[readonly]{color:var(--muted)}
.setup-actions{margin-top:22px}
.setup-actions .primary{flex:1;min-height:46px}
.setup-device{margin-top:16px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.setup-device h2{font-size:16px;margin:0 0 6px}
.setup-device p{font-size:14px;margin:4px 0}
@media(min-width:640px){#onboarding{margin-top:5vh}}
