/* Canonical Mini App palette, scoped to the optional pilot. */
#vectra-onboarding-root { --ob-bg:#070F21; --ob-text:#F3F8FC; --ob-muted:#A9B8C8; --ob-accent:#24C4DC; --ob-border:rgba(67,135,216,.28); color:var(--ob-text); font:14px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",sans-serif; }
#vectra-onboarding-root[hidden] { display:none!important; }
body.onboarding-open { overflow:hidden!important; }
.ob-backdrop { position:fixed; inset:0; z-index:7000; display:flex; padding:0; background:var(--ob-bg); }
.ob-dialog { display:flex; flex-direction:column; width:100%; height:100vh; height:100dvh; max-height:100vh; max-height:100dvh; overflow:hidden; border:0; border-radius:0; background:var(--ob-bg); box-shadow:none; }
.ob-header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px 28px 16px; }
.ob-brand { display:flex; align-items:center; gap:12px; }
.ob-brand img { object-fit:contain; flex:none; }
.ob-brand>span { font-size:10px; letter-spacing:.12em; font-weight:800; color:var(--ob-muted); }
.ob-brand small { display:block; margin-top:2px; color:var(--ob-text); font-size:13px; letter-spacing:0; }
#vectra-onboarding-root button, #vectra-onboarding-root a { font-family:inherit; -webkit-tap-highlight-color:transparent; }
#vectra-onboarding-root button { cursor:pointer; }
#vectra-onboarding-root button:disabled { cursor:wait; opacity:.65; }
#vectra-onboarding-root :is(button,a,input):focus-visible { outline:2px solid #66DCF6; outline-offset:3px; }
.ob-skip { display:grid; place-items:center; width:44px; min-width:44px; height:44px; padding:0; border:0; border-radius:12px; background:transparent; color:var(--ob-muted); }
.ob-skip svg { width:22px; height:22px; }
.ob-progress { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); list-style:none; margin:0; padding:0 28px 18px; gap:10px; }
.ob-progress li { display:flex; align-items:center; gap:6px; color:#91A5B4; font-size:11px; border-bottom:2px solid #12315A; padding-bottom:10px; }
.ob-progress li>span { display:grid; place-items:center; width:19px; height:19px; border-radius:50%; background:#0D2141; font-size:10px; }
.ob-progress .is-current { color:#66DCF6; border-color:var(--ob-accent); }
.ob-progress .is-done { color:var(--ob-text); border-color:#335373; }
.ob-access { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 28px; padding:11px 13px; background:rgba(31,185,215,.08); border:1px solid rgba(40,195,224,.20); border-radius:11px; font-size:12px; color:var(--ob-muted); }
.ob-access.ob-is-trial { color:#8FE4CD; border-color:rgba(0,169,130,.3); background:rgba(0,169,130,.08); }
.ob-content { overflow-y:auto; overscroll-behavior:contain; padding:24px 28px; flex:1; min-height:0; scrollbar-width:thin; }
#vectra-onboarding-root h2 { margin:0 0 18px; font-size:28px; line-height:1.2; font-weight:800; letter-spacing:-.035em; text-wrap:balance; outline:none; }
#vectra-onboarding-root h3 { margin:0 0 8px; font-size:17px; line-height:1.35; font-weight:750; }
#vectra-onboarding-root p { margin:0 0 18px; color:var(--ob-muted); }
#vectra-onboarding-root[data-enter="true"] .ob-dialog { animation:ob-enter .44s cubic-bezier(.2,.8,.2,1); }
#vectra-onboarding-root[data-step-motion="true"] .ob-step { animation:ob-step .32s ease both; }
.ob-content.ob-welcome-content { display:flex; flex-direction:column; padding-block:40px; }
.ob-welcome-content>.ob-step { width:100%; margin-block:0; }
.ob-welcome-layout { width:100%; max-width:900px; margin-inline:auto; }
.ob-welcome-copy { max-width:620px; margin:0 auto 32px; text-align:center; }
#vectra-onboarding-root .ob-welcome-copy h2 { margin-bottom:12px; font-size:36px; letter-spacing:-.035em; }
#vectra-onboarding-root .ob-welcome-copy p { margin:0; font-size:15px; }
.ob-start-options { display:grid; grid-template-columns:1fr; gap:20px; }
.ob-start-card { min-width:0; display:flex; flex-direction:column; align-items:flex-start; padding:32px; border:1px solid var(--ob-border); border-radius:15px; background:linear-gradient(145deg,#12315A 0%,#0D2141 100%); }
.ob-start-free { border-color:rgba(0,169,130,.4); }
#vectra-onboarding-root .ob-start-card h3 { margin:0 0 10px; font-size:27px; font-weight:800; letter-spacing:-.025em; }
#vectra-onboarding-root .ob-start-card p { margin:0 0 26px; font-size:14px; }
.ob-start-card .ob-button { width:100%; margin-top:auto; }
.ob-start-card .ob-trial-button { border-color:transparent; background:#00A982; color:#051721; }
.ob-step>.ob-button { width:100%; margin-top:10px; }
.ob-intro-icon { display:grid; place-items:center; width:48px; height:48px; color:#27C6E0; border:1px solid rgba(40,195,224,.20); background:rgba(31,185,215,.08); border-radius:14px; margin-bottom:18px; }
.ob-intro-icon svg { width:26px; height:26px; }
.ob-button { display:inline-flex; justify-content:center; align-items:center; gap:10px; min-height:53px; padding:12px 18px; border-radius:12px; border:1px solid var(--ob-border); color:var(--ob-text); font-size:14px; font-weight:800; text-align:center; text-decoration:none; box-sizing:border-box; line-height:1.35; transition:background .15s,transform .15s; }
.ob-primary { background:#24C4DC; color:#051721; border-color:transparent; box-shadow:none; }
.ob-secondary { background:#0D2141; }
.ob-button svg { width:18px; height:18px; flex:none; }
.ob-button:active,.ob-choice:active,.ob-app:active { transform:scale(.985); }
.ob-offer { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:20px; border:1px solid rgba(0,169,130,.4); border-radius:15px; background:#00A982; color:#fff; text-align:left; }
.ob-offer b { display:block; font-size:17px; font-weight:800; }
.ob-offer small { display:block; margin-top:5px; font-size:12px; }
.ob-offer>svg { width:24px; height:24px; flex:none; }
#vectra-onboarding-root .ob-fine { font-size:12px; color:#91A5B4; }
.ob-offer+.ob-fine { margin:12px 0 4px!important; }
.ob-platforms { display:grid; grid-template-columns:1fr; gap:10px; margin:4px 0 18px; }
.ob-choice { min-height:66px; display:flex; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--ob-border); border-radius:15px; background:linear-gradient(145deg,#12315A 0%,#0D2141 100%); color:var(--ob-text); text-align:left; font-size:14px; }
.ob-choice-icon { color:#27C6E0; display:flex; }
.ob-choice-icon svg { width:24px; height:24px; }
.ob-choice>svg { margin-left:auto; width:17px; height:17px; color:#66DCF6; flex:none; }
.ob-choice.is-selected,.ob-app.is-selected { border-color:#24C4DC; background:linear-gradient(145deg,#134A7D 0%,#12325D 100%); }
.ob-apps { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); gap:10px; margin-bottom:16px; }
.ob-app { position:relative; display:flex; flex-direction:column; align-items:flex-start; gap:14px; padding:18px; min-height:110px; background:linear-gradient(145deg,#12315A 0%,#0D2141 100%); border:1px solid var(--ob-border); border-radius:15px; color:var(--ob-text); }
.ob-app img { object-fit:contain; }
.ob-app b { font-size:14px; }
.ob-app>svg { position:absolute; right:13px; top:15px; width:17px; height:17px; color:#66DCF6; }
.ob-install { padding:20px; margin-top:20px; border:1px solid var(--ob-border); border-radius:15px; background:linear-gradient(145deg,#12315A 0%,#0D2141 100%); }
.ob-actions { display:flex; flex-wrap:wrap; gap:10px; }
.ob-actions .ob-button { min-height:46px; font-size:13px; }
.ob-instruction { display:flex; gap:14px; margin-bottom:24px; }
.ob-instruction>div { flex:1; min-width:0; }
.ob-number { display:grid; place-items:center; width:28px; height:28px; flex:none; border-radius:9px; color:#27C6E0; border:1px solid rgba(40,195,224,.20); background:rgba(31,185,215,.08); font-weight:800; }
.ob-footer { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:18px 28px 24px; border-top:1px solid var(--ob-border); background:var(--ob-bg); }
.ob-footer-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:14px; }
.ob-text { min-height:44px; display:inline-flex; align-items:center; padding:5px 0; border:0; background:transparent; color:#66DCF6; font-size:12px; text-decoration:underline; text-underline-offset:3px; }
.ob-note,.ob-help { margin-bottom:18px; padding:14px; border:1px solid var(--ob-border); border-radius:12px; color:var(--ob-muted); background:#0D2141; }
.ob-error { margin-top:16px!important; color:#FFB4B4!important; }
.ob-link { margin-top:16px; }
.ob-link[hidden] { display:none; }
.ob-link label { display:block; margin-bottom:7px; font-size:12px; color:var(--ob-muted); }
.ob-link input { box-sizing:border-box; width:100%; min-height:44px; padding:10px; border:1px solid #335373; border-radius:10px; background:#0B1B30; color:var(--ob-text); font-size:12px; }
.ob-qr { width:fit-content; max-width:100%; margin:16px 0; padding:12px; background:#fff; color:#051721; border-radius:12px; }
.ob-qr img,.ob-qr canvas { max-width:100%; }
.ob-launch { display:inline-flex; min-height:44px; align-items:center; padding:8px 14px; margin:0 0 18px; border:1px solid rgba(67,135,216,.28); border-radius:12px; color:#66DCF6; background:#0D2141; font:700 13px system-ui,sans-serif; cursor:pointer; }
@keyframes ob-enter { from { opacity:0; } to { opacity:1; } }
@keyframes ob-step { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
@media (hover:hover) { .ob-secondary:hover,.ob-choice:hover,.ob-app:hover { background:#163967; } .ob-primary:hover { filter:brightness(1.06); } }
@media(min-width:761px) { .ob-header,.ob-progress,.ob-content,.ob-footer { width:100%; max-width:1040px; margin-inline:auto; box-sizing:border-box; } .ob-access { width:calc(100% - 56px); max-width:984px; margin-inline:auto; box-sizing:border-box; } }
@media(min-width:761px) {
  #vectra-onboarding-root[data-step="1"] .ob-dialog { position:relative; }
  #vectra-onboarding-root[data-step="1"] .ob-header,
  #vectra-onboarding-root[data-step="1"] .ob-progress { position:relative; z-index:1; flex-shrink:0; background:var(--ob-bg); }
  #vectra-onboarding-root[data-step="1"] .ob-content.ob-welcome-content { position:static; height:auto; padding-block:40px 24px; }
}
@media(min-width:1024px) {
  .ob-header,.ob-progress,.ob-content,.ob-footer { max-width:1376px; }
  #vectra-onboarding-root { font-size:clamp(16px,1vw,18px); }
  #vectra-onboarding-root h2 { font-size:clamp(40px,2.65vw,50px); margin-bottom:16px; }
  #vectra-onboarding-root h3 { font-size:clamp(22px,1.5vw,28px); }
  #vectra-onboarding-root .ob-fine { font-size:14px; }
  .ob-button,.ob-actions .ob-button { min-height:64px; font-size:16px; padding-inline:24px; }
  .ob-choice { min-height:76px; font-size:18px; gap:16px; padding:16px 20px; }
  .ob-choice-icon svg { width:28px; height:28px; }
  .ob-platforms,.ob-apps { gap:14px; }
  .ob-app { min-height:144px; padding:24px; gap:18px; }
  .ob-app img { width:40px; height:40px; }
  .ob-app b { font-size:18px; }
  .ob-install { padding:28px; margin-top:24px; }
  .ob-instruction { gap:20px; margin-bottom:32px; }
  .ob-number { width:36px; height:36px; }
  .ob-text { font-size:14px; }
  .ob-link label,.ob-link input { font-size:14px; }
  .ob-link input { min-height:48px; }
  #vectra-onboarding-root[data-step="1"] .ob-welcome-layout { max-width:900px; }
  #vectra-onboarding-root[data-step="1"] .ob-welcome-copy { max-width:800px; margin-bottom:40px; }
  #vectra-onboarding-root[data-step="1"] .ob-welcome-copy h2 { font-size:clamp(40px,2.65vw,50px); margin-bottom:16px; }
  #vectra-onboarding-root[data-step="1"] .ob-welcome-copy p { font-size:clamp(16px,1vw,18px); }
  #vectra-onboarding-root[data-step="1"] .ob-start-options { gap:24px; }
  #vectra-onboarding-root[data-step="1"] .ob-start-card { min-height:300px; box-sizing:border-box; padding:clamp(28px,2.1vw,40px); }
  #vectra-onboarding-root[data-step="1"] .ob-start-card h3 { font-size:clamp(28px,1.8vw,34px); }
  #vectra-onboarding-root[data-step="1"] .ob-start-card p { margin-bottom:32px; font-size:clamp(16px,1vw,18px); }
  #vectra-onboarding-root[data-step="1"] .ob-start-card .ob-button { min-height:64px; font-size:16px; }
}
@media(max-width:760px) { .ob-backdrop { padding:0; } .ob-dialog { width:100%; height:100dvh; max-height:100dvh; border:0; border-radius:0; } .ob-header { padding:calc(16px + env(safe-area-inset-top)) 20px 12px; gap:10px; } .ob-brand { gap:9px; } .ob-brand>span { font-size:9px; letter-spacing:.08em; } .ob-skip { max-width:142px; text-align:right; font-size:11px; gap:8px; } .ob-progress { padding:0 20px 14px; gap:6px; } .ob-progress li { flex-direction:column; align-items:flex-start; gap:4px; min-width:0; font-size:10px; } .ob-access { margin:0 20px; font-size:11px; gap:8px; } .ob-content { padding:24px 20px; } #vectra-onboarding-root h2 { font-size:27px; } .ob-footer { padding:14px 20px calc(16px + env(safe-area-inset-bottom)); gap:10px; } .ob-footer>.ob-button { min-height:48px; padding:12px 14px; } .ob-footer-actions { flex:1; gap:4px; } .ob-footer-actions>.ob-button { width:100%; min-height:53px; font-size:13px; } .ob-platforms { gap:9px; } .ob-choice { padding:12px 10px; gap:8px; font-size:13px; } .ob-apps { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; } .ob-app { padding:14px 10px; gap:14px; min-height:100px; } .ob-app b { font-size:12px; } .ob-install { padding:16px; } .ob-instruction { gap:10px; } .ob-access .ob-text { flex:none; font-size:11px; } }
@media(max-width:760px) { .ob-content.ob-welcome-content { padding-block:24px; } .ob-welcome-copy { margin-bottom:24px; } #vectra-onboarding-root .ob-welcome-copy h2 { font-size:29px; } #vectra-onboarding-root .ob-welcome-copy p { font-size:14px; } .ob-start-options { grid-template-columns:1fr; gap:14px; } .ob-start-card { padding:20px; } #vectra-onboarding-root .ob-start-card h3 { font-size:24px; margin-bottom:8px; } #vectra-onboarding-root .ob-start-card p { margin-bottom:18px; font-size:13px; } }
/* Shared branded header and legible progress on every onboarding step. */
.ob-header { padding-top:28px; padding-bottom:22px; }
.ob-brand { gap:16px; }
.ob-brand img { width:44px; height:56px; }
.ob-brand>span { color:var(--ob-text); font-size:20px; line-height:1.3; letter-spacing:.01em; }
.ob-brand small { color:var(--ob-muted); font-size:14px; font-weight:600; margin-top:6px; }
.ob-skip { width:48px; min-width:48px; height:48px; border:1px solid var(--ob-border); background:#0D2141; color:#27C6E0; }
.ob-skip svg { width:24px; height:24px; }
.ob-progress { gap:14px; padding-bottom:24px; }
.ob-progress li { box-sizing:border-box; min-width:0; min-height:58px; gap:12px; padding:0 0 14px; border:0; border-bottom:3px solid #12315A; border-radius:0; background:transparent; font-size:16px; font-weight:700; color:var(--ob-muted); }
.ob-progress li>span { width:30px; height:30px; flex:none; border-radius:50%; font-size:14px; color:var(--ob-muted); }
.ob-progress .is-current { border-color:var(--ob-accent); color:#66DCF6; background:transparent; box-shadow:none; }
.ob-progress .is-current>span { background:rgba(31,185,215,.08); color:#66DCF6; }
.ob-progress .is-done { border-color:#335373; color:var(--ob-text); }
.ob-progress .is-done>span { color:#66DCF6; background:rgba(31,185,215,.08); }
@media(min-width:761px) and (max-width:1023px) {
  .ob-progress { gap:10px; }
  .ob-progress li { padding:0 0 14px; gap:10px; font-size:14px; }
}
@media(max-width:760px) {
  .ob-header { padding-top:calc(16px + env(safe-area-inset-top)); padding-bottom:16px; }
  .ob-brand { gap:12px; }
  .ob-brand img { width:36px; height:46px; }
  .ob-brand>span { font-size:14px; letter-spacing:.01em; }
  .ob-brand small { margin-top:4px; font-size:12px; }
  .ob-skip { width:44px; min-width:44px; height:44px; }
  .ob-progress { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; padding-bottom:18px; }
  .ob-progress li { flex-direction:column; align-items:center; min-height:54px; padding:0 0 8px; gap:4px; font-size:clamp(10px,2.8vw,12px); line-height:1.25; text-align:center; white-space:nowrap; border-radius:0; }
  .ob-progress li>span { width:24px; height:24px; border-radius:50%; font-size:11px; }
}
@media(hover:hover) { .ob-skip:hover { color:var(--ob-text); background:#163967; } .ob-trial-button:hover { filter:brightness(1.06); } }
@media(prefers-reduced-motion:reduce) { .ob-dialog,.ob-step { animation:none!important; } #vectra-onboarding-root * { transition:none!important; } }

/* Checkout launched from setup has its own clean surface. */
body.onboarding-checkout #cabinet-shell { visibility:hidden!important; }
body.onboarding-checkout #portal-modal-root .portal-tariff-overlay,
body.onboarding-checkout #portal-modal-root .portal-tariff-backdrop { background:#070F21!important; backdrop-filter:none!important; }

/* One action per line; alternatives stay separate from the main setup path. */
.ob-guide-list { padding-inline-start:24px; margin:0 0 18px; color:var(--ob-muted); }
.ob-guide-list li { padding-inline-start:4px; margin-bottom:12px; }
.ob-guide-list strong { color:var(--ob-text); font-weight:750; }
.ob-guide-alternatives { margin-top:12px; }
.ob-guide-choices { display:flex; flex-wrap:wrap; gap:8px; width:100%; max-width:360px; }
.ob-guide-toggle { box-sizing:border-box; flex:1 1 0; min-width:0; min-height:36px; padding:6px 16px; border:1px solid var(--ob-border); border-radius:10px; background:#0D2141; color:#A9B8C8; font-size:13px; font-weight:700; line-height:1.4; }
.ob-guide-toggle[aria-expanded="true"] { border-color:#24C4DC; color:#66DCF6; }
.ob-guide-panel { margin-top:14px; padding:0 0 0 16px; border-left:2px solid var(--ob-border); }
.ob-guide-panel[hidden] { display:none; }
@media(hover:hover) { .ob-guide-toggle:hover { background:#163967; color:var(--ob-text); } }
@media(max-width:760px) { .ob-guide-list { padding-inline-start:20px; } .ob-guide-list li { padding-inline-start:2px; } .ob-guide-panel { padding-left:12px; } }

.ob-guide-toggle:only-child { flex:0 1 176px; }
@media(pointer:coarse) { .ob-guide-toggle { min-height:44px; } }

/* Subscription QR opens above setup without replacing its current instruction. */
.ob-qr-overlay { position:fixed; inset:0; z-index:7100; display:grid; place-items:center; padding:16px; box-sizing:border-box; background:rgba(7,15,33,.82); }
.ob-qr-modal { position:relative; box-sizing:border-box; width:min(440px,100%); max-height:calc(100dvh - 32px); overflow-y:auto; padding:28px; border:1px solid var(--ob-border); border-radius:15px; background:linear-gradient(145deg,#12315A 0%,#0D2141 100%); }
#vectra-onboarding-root .ob-qr-modal h2 { padding-right:0; margin:0 0 24px; font-size:24px; line-height:1.3; letter-spacing:-.02em; text-align:left; }
.ob-qr-close { position:absolute; right:12px; top:12px; width:44px; min-width:44px; height:44px; }
.ob-qr-modal .ob-qr { margin:0 auto 20px; }
#vectra-onboarding-root .ob-qr-modal p { margin:0; font-size:14px; line-height:1.55; }
.ob-qr-modal .ob-qr-error { width:auto; font-size:14px; background:#0D2141; color:#FFB4B4; }
@media(max-width:760px) { .ob-qr-modal { padding:20px; } #vectra-onboarding-root .ob-qr-modal h2 { font-size:22px; } }

/* Clearly distinguish a free trial from a paid checkout. */
.ob-start-card-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 16px; width:100%; margin-bottom:10px; }
#vectra-onboarding-root .ob-start-card-head h3 { margin:0; }
.ob-access-label { display:inline-flex; align-items:center; flex:none; padding:4px 10px; border:1px solid rgba(40,195,224,.20); border-radius:8px; background:rgba(31,185,215,.08); color:#66DCF6; font-size:12px; font-weight:750; line-height:1.5; }
.ob-access-label-free { border-color:rgba(0,169,130,.4); background:rgba(0,169,130,.08); color:#8FE4CD; }
.ob-start-paid { border-color:#24C4DC; }
@media(max-width:760px) { .ob-start-card-head { gap:8px 12px; } .ob-access-label { font-size:11px; } }

/* Original brand silhouettes share the cabinet's cyan, with optical sizing per mark. */
.ob-choice-icon { position:relative; display:grid; place-items:center; width:40px; height:40px; flex:none; color:#27C6E0; }
.ob-choice-icon .ob-platform-brand { width:32px; height:32px; fill:currentColor; }
.ob-choice-icon .ob-platform-brand-windows11 { width:28px; height:28px; }
.ob-choice-icon .ob-platform-brand-appletv { width:40px; height:40px; }
.ob-choice.is-selected .ob-choice-icon { color:#66DCF6; }
.ob-platform-tv-tag { position:absolute; right:-3px; bottom:-1px; padding:0 2px; border-radius:3px; background:#0D2141; color:inherit; font-size:9px; font-weight:800; line-height:1.3; }
@media(max-width:760px) { .ob-choice-icon { width:36px; height:36px; } .ob-choice-icon .ob-platform-brand { width:28px; height:28px; } .ob-choice-icon .ob-platform-brand-windows11 { width:25px; height:25px; } .ob-choice-icon .ob-platform-brand-appletv { width:36px; height:36px; } }

/* Subscription link belongs to the normal flow above the connection heading. */
.ob-subscription-strip { box-sizing:border-box; width:100%; margin:0 0 20px; padding:0; }
.ob-subscription-field { position:relative; display:flex; align-items:center; gap:12px; min-width:0; padding:6px 8px 6px 14px; border:1px solid #335373; border-radius:12px; background:#0B1B30; }
.ob-subscription-field label { flex:none; color:var(--ob-muted); font-size:12px; font-weight:750; }
.ob-subscription-field input { min-width:0; width:100%; flex:1; padding:6px 0; border:0; background:transparent; color:var(--ob-text); font:14px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; }
.ob-subscription-field .ob-button { flex:none; min-height:40px; padding:8px 16px; font-size:13px; }
#vectra-onboarding-root .ob-subscription-field input:focus-visible { outline:none; box-shadow:none; }
@media(pointer:coarse) { .ob-subscription-field .ob-button { min-height:44px; } }
@media(max-width:760px) { .ob-subscription-strip { margin-bottom:16px; } .ob-subscription-field { gap:8px; padding-left:10px; } .ob-subscription-field label { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; } .ob-subscription-field input { font-size:13px; } .ob-subscription-field .ob-button { padding-inline:12px; } }

/* Onboarding notifications must appear above its full-screen surface. */
body.onboarding-open #toast { z-index:7200; border-color:rgba(67,135,216,.28); background:#0D2141; color:#F3F8FC; font-size:14px; }
body.onboarding-open #toast[data-tone="success"] { border-color:#00A982; background:#00A982; color:#051721; font-weight:700; }

.ob-qr-modal .ob-qr-dismiss { width:100%; min-height:44px; margin-top:16px; padding:10px 16px; font-size:14px; }

/* Compact navigation leaves more room for device selection and instructions. */
.ob-footer { padding-block:10px; }
.ob-footer .ob-button { min-height:48px; padding-block:10px; }
@media(max-width:760px) { .ob-footer { padding-top:8px; padding-bottom:calc(8px + env(safe-area-inset-bottom)); } .ob-footer .ob-button { min-height:44px; padding-block:8px; } }

@media(max-width:360px) { .ob-progress { padding-inline:12px; gap:4px; } }

/* Confirmed setup completion stays visible after the full-screen guide closes. */
#toast[data-context="onboarding-completed"][data-tone="success"] { border-color:#00A982; background:#00A982; color:#051721; font-size:14px; font-weight:700; }

/* Keep paid checkout available as a quiet alternative to the free trial. */
.ob-start-options .ob-paid-link { justify-self:center; justify-content:center; max-width:100%; min-height:44px; padding:8px 4px; text-align:center; line-height:1.5; color:var(--ob-muted); }
@media(hover:hover) { .ob-start-options .ob-paid-link:hover { color:#66DCF6; } }

/* A repeated connection guide starts at device selection and has three steps. */
.ob-progress.ob-connect-progress { grid-template-columns:repeat(3,minmax(0,1fr)); }
