/* This file owns the setup screen's light theme and responsive shell. */
body.ob-body.ob-setup-light {
  --ob-ink: #20313e;
  --ob-body: #405665;
  --ob-muted: #526471;
  --ob-teal: #006da6;
  --ob-teal-bright: #006da6;
  --ob-teal-deep: #064d3d;
  --ob-green: #006da6;
  --ob-rail-text: #20313e;
  background: #f5f8fa;
  color: #20313e;
  overflow: hidden;
  letter-spacing: 0;
}
body.ob-body.ob-setup-light .ob-shell {grid-template-columns:210px minmax(0,1fr);height:100dvh;}
body.ob-body.ob-setup-light .ob-rail {background:#fff;color:#20313e;padding:22px 12px;gap:24px;border-right:1px solid #dce5ea;}
body.ob-body.ob-setup-light .ob-rail::after {display:none;}
body.ob-body.ob-setup-light .ob-rail-brand {gap:8px;padding:0 2px;}
body.ob-body.ob-setup-light .ob-rail-brand span,
body.ob-body.ob-setup-light .ob-rail-brand b {color:#20313e;letter-spacing:0;text-transform:none;}
body.ob-body.ob-setup-light .ob-rail-brand b {font-size:15px;line-height:1.3;}
body.ob-body.ob-setup-light .ob-rail-brand span span {color:#526471;font-size:12px;}
body.ob-body.ob-setup-light .ob-rail-brand img {width:34px;height:34px;border-radius:4px;box-shadow:none;}
.ob-app-links {display:flex;flex-direction:column;gap:5px;}
.ob-app-links a {display:flex;align-items:center;gap:10px;padding:12px 10px;text-decoration:none;font-size:13px;border-radius:5px;}
.ob-app-links svg {width:18px;height:18px;flex-shrink:0;}
body.ob-body.ob-setup-light .ob-app-links a {color:#344a58;}
body.ob-body.ob-setup-light .ob-app-links a[aria-current=page] {color:#006da6;background:#e6f4ee;font-weight:600;}
body.ob-body.ob-setup-light .ob-rail-foot {margin-top:auto;border-color:#dce5ea;padding-top:18px;}
body.ob-body.ob-setup-light .ob-rail-foot a {display:block;font-size:12px;line-height:1.5;color:#006da6;margin:12px 0;}
body.ob-body.ob-setup-light .ob-reassure,
body.ob-body.ob-setup-light .ob-trust {color:#526471;font-size:12px;}
body.ob-body.ob-setup-light .ob-main {height:100dvh;min-height:0;background:#f5f8fa;}
body.ob-body.ob-setup-light .ob-topbar {padding:20px 28px;align-items:center;background:#fff;border-bottom:1px solid #dce5ea;}
.ob-page-title {display:block;font-size:22px;font-weight:700;color:#20313e;}
body.ob-body.ob-setup-light .ob-mobile-step {display:block;color:#526471;font-size:12px;line-height:1.5;margin-top:4px;}
body.ob-body.ob-setup-light .ob-exit {color:#006da6;font-size:12px;}
body.ob-body.ob-setup-light .ob-steps {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));flex:none;gap:4px;padding:20px 24px 14px;}
body.ob-body.ob-setup-light .ob-steps .ob-step {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;padding:6px 3px;min-width:0;background:transparent;color:#20313e;border-radius:5px;}
body.ob-body.ob-setup-light .ob-steps .ob-step:hover {background:#e9f0f3;}
body.ob-body.ob-setup-light .ob-steps .ob-step::before {display:none;}
body.ob-body.ob-setup-light .ob-steps .ob-step .ob-node {border:1px solid #c7d4dc;border-radius:50%;width:30px;height:30px;background:#e9eff3;color:#344a58;box-shadow:none;}
body.ob-body.ob-setup-light .ob-steps .ob-step.is-active .ob-node,
body.ob-body.ob-setup-light .ob-steps .ob-step.is-done .ob-node {background:#006da6;border-color:#006da6;color:#fff;}
body.ob-body.ob-setup-light .ob-steps .ob-step .ob-step-text {display:block;text-align:center;min-width:0;}
body.ob-body.ob-setup-light .ob-steps .ob-step .ob-step-label {color:#344a58;font-size:12px;line-height:1.35;}
body.ob-body.ob-setup-light .ob-steps .ob-step.is-active .ob-step-label {color:#006da6;}
body.ob-body.ob-setup-light .ob-steps .ob-step .ob-step-sub {color:#526471;font-size:11px;line-height:1.4;margin-top:3px;}
body.ob-body.ob-setup-light .ob-progress {margin:0 28px 18px;height:3px;background:#dce5ea;}
body.ob-body.ob-setup-light .ob-progress-fill {background:#006da6;}
body.ob-body.ob-setup-light .ob-stage {background:#fff;padding:26px 32px;overflow-y:auto;min-height:0;border-radius:0;box-shadow:none;}
body.ob-body.ob-setup-light .ob-stage-inner {max-width:820px;margin:0 auto;}
body.ob-body.ob-setup-light .ob-title {font:600 24px/1.25 Inter,system-ui,sans-serif;color:#20313e;letter-spacing:0;}
body.ob-body.ob-setup-light .ob-lede {font-size:14px;line-height:1.6;color:#405665;}
body.ob-body.ob-setup-light .ob-eyebrow {color:#006da6;letter-spacing:0;}
body.ob-body.ob-setup-light .ob-input {color:#20313e;background:#fff;border-color:#aebfc9;border-radius:5px;font-size:14px;}
body.ob-body.ob-setup-light .ob-input::placeholder {color:#526471;opacity:1;}
body.ob-body.ob-setup-light .ob-choice,
body.ob-body.ob-setup-light .ob-numbercard {border-radius:6px;box-shadow:none;}
body.ob-body.ob-setup-light .ob-consent {border-radius:6px;border-color:#aebfc9;color:#20313e;}
body.ob-body.ob-setup-light .ob-consent input {accent-color:#006da6;}
body.ob-body.ob-setup-light .ob-consent a {color:#006da6;}
body.ob-body.ob-setup-light .ob-numbercard {background:#edf5f2;color:#20313e;border:1px solid #cdded6;}
body.ob-body.ob-setup-light .ob-numlabel,
body.ob-body.ob-setup-light .ob-numflow {color:#405665;letter-spacing:0;}
body.ob-body.ob-setup-light .ob-num {font:600 25px/1.4 Inter,system-ui,sans-serif;color:#20313e;letter-spacing:0;overflow-wrap:anywhere;}
body.ob-body.ob-setup-light .ob-nav {position:static;flex:none;margin:0;padding:18px 96px 18px 28px;background:#fff;border-top:1px solid #dce5ea;}
body.ob-body.ob-setup-light .ob-btn {min-height:44px;border-radius:5px;box-shadow:none;font-size:13px;}
body.ob-body.ob-setup-light .ob-btn-primary {background:#006da6;color:#fff;border-color:#006da6;}
body.ob-body.ob-setup-light .ob-btn-ghost {background:#fff;color:#344a58;border:1px solid #c7d4dc;}
body.ob-body.ob-setup-light .ob-anim {animation:none;}
@media(max-width:900px) {
  body.ob-body.ob-setup-light .ob-shell {grid-template-columns:1fr;grid-template-rows:60px minmax(0,1fr);}
  body.ob-body.ob-setup-light .ob-rail {padding:12px 18px;overflow:visible;border-right:0;border-bottom:1px solid #dce5ea;}
  body.ob-body.ob-setup-light .ob-rail-brand span {display:block;}
  body.ob-body.ob-setup-light .ob-rail-brand span span {display:none;}
  body.ob-body.ob-setup-light .ob-app-links,
  body.ob-body.ob-setup-light .ob-rail-foot {display:none;}
  body.ob-body.ob-setup-light .ob-main {height:auto;min-height:0;}
  body.ob-body.ob-setup-light .ob-topbar {padding:14px 18px;gap:8px;}
  .ob-page-title {font-size:20px;}
  body.ob-body.ob-setup-light .ob-steps {padding:8px 14px;gap:2px;}
  body.ob-body.ob-setup-light .ob-steps .ob-step {justify-content:center;padding:4px 0;min-height:42px;}
  body.ob-body.ob-setup-light .ob-steps .ob-step .ob-step-text {display:block;}
  body.ob-body.ob-setup-light .ob-steps .ob-step .ob-step-label {font-size:11px;}
  body.ob-body.ob-setup-light .ob-steps .ob-step .ob-node {width:28px;height:28px;}
  body.ob-body.ob-setup-light .ob-progress {margin:0 18px 10px;}
  body.ob-body.ob-setup-light .ob-stage {padding:20px 18px;}
  body.ob-body.ob-setup-light .ob-title {font-size:22px;}
  body.ob-body.ob-setup-light .ob-nav {padding:12px 88px calc(12px + env(safe-area-inset-bottom)) 18px;}
}

/* After-launch fixes (owner, 2026-11-01): on a phone the header is one line, "Step 3 of 7 · Your number" and Exit,
   over a thin progress bar. It was about 240px that never scrolls away: a title, two links and a five-stage rail. */
.ob-exit-short {display:none;}
.ob-restart-foot {display:none;margin:22px 0 0;font-size:14px;line-height:1.5;color:#526471;}
.ob-restart-foot a {color:#006da6;font-weight:600;}
@media(max-width:900px) {
  /* .ref-page: reference-system.css sets the desktop padding with the same weight and loads later. */
  body.ob-body.ob-setup-light.ref-page .ob-topbar {padding:10px 16px;gap:10px;min-height:0;}
  body.ob-body.ob-setup-light .ob-topbar > div:first-child {flex:1;min-width:0;}
  body.ob-body.ob-setup-light .ob-page-title {display:none;}
  body.ob-body.ob-setup-light .ob-mobile-step {margin:0;font-size:15px;font-weight:700;line-height:1.35;color:#20313e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  body.ob-body.ob-setup-light .ob-restart {display:none;}
  body.ob-body.ob-setup-light .ob-exit {font-size:14px;padding:6px 2px;margin-left:0;}
  body.ob-body.ob-setup-light .ob-exit-long {display:none;}
  body.ob-body.ob-setup-light .ob-exit-short {display:inline;}
  body.ob-body.ob-setup-light .ob-steps {display:none;}
  body.ob-body.ob-setup-light .ob-progress {margin:0;height:3px;border-radius:0;}
  /* Room for the chat button on the right (#88), so the line is never under it. */
  body.ob-body.ob-setup-light .ob-restart-foot {display:block;padding-right:64px;}
}

/* The payment box after checkout, the "Checked" card on Their phone, the phone-and-carrier line on Call forwarding,
   the recording line on Your number and Welcome's optional steps. */
body.ob-body.ob-setup-light :is(.ob-paid,.ob-checked) {display:flex;gap:12px;align-items:flex-start;margin:0 0 18px;padding:14px 16px;border:1px solid #b7dfcb;border-radius:6px;background:#eef8f2;color:#1d3b2c;}
body.ob-body.ob-setup-light .ob-checked {margin:18px 0 8px;}
body.ob-body.ob-setup-light :is(.ob-paid,.ob-checked) > svg {flex:none;width:22px;height:22px;margin-top:2px;color:#006da6;}
body.ob-body.ob-setup-light :is(.ob-paid,.ob-checked) > div > b {display:block;font-size:16px;line-height:1.4;color:#14382a;}
body.ob-body.ob-setup-light :is(.ob-paid,.ob-checked) p {margin:4px 0 0;font-size:15px;line-height:1.5;color:#1d3b2c;}
body.ob-body.ob-setup-light .ob-fwd-config {margin:18px 0 8px;border:1px solid #dce5ea;border-radius:6px;background:#fff;}
body.ob-body.ob-setup-light .ob-fwd-config > summary {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;padding:12px 14px;cursor:pointer;list-style:none;font-size:15px;line-height:1.45;color:#20313e;}
body.ob-body.ob-setup-light .ob-fwd-config > summary::-webkit-details-marker {display:none;}
body.ob-body.ob-setup-light .ob-fwd-change {color:#006da6;font-weight:600;text-decoration:underline;white-space:nowrap;}
body.ob-body.ob-setup-light .ob-fwd-config[open] .ob-fwd-change {display:none;}
body.ob-body.ob-setup-light .ob-fwd-config > .ob-form {margin:0;padding:2px 14px 14px;}
body.ob-body.ob-setup-light .ob-recording {margin:10px 0 0;}
body.ob-body.ob-setup-light .ob-optional-steps .ob-test-mark {background:#e9eff3;color:#344a58;}
/* Owner, 2026-11-01: on an Android phone the app comes first, with its own button, before the pairing code. */
/* New-customer review (2026-11-01): on a phone the chat bubble sat on top of the last lines of each step. */
/* Codex full test (2026-11-01): the bubble still floated over the step's instructions while scrolling ("Press It
   worked", the contact step). On a phone, Back and Next are a bar pinned to the bottom of the screen with the bubble in
   its own slot on the right, so the instructions scroll under the bar, never under the bubble. */
@media (max-width: 900px) {
  body.ob-body.ob-setup-light .ob-nav {position:sticky;bottom:0;z-index:5;min-height:72px;box-sizing:border-box;padding-top:14px;padding-bottom:calc(14px + env(safe-area-inset-bottom));}
}
@media (max-width: 640px) { body.ob-body.ob-setup-light .ob-stage-inner {padding-bottom:24px;} }
/* "All set": the family code word is an Optional row, with one line of why under its name. */
body.ob-body.ob-setup-light .ob-opt-why {display:block;margin-top:2px;font-size:12px;line-height:1.4;font-weight:400;color:#526471;}
body.ob-body.ob-setup-light .ob-app-did {margin:14px 0;}
body.ob-body.ob-setup-light .ob-fwd-byhand {margin:8px 0 18px;}
/* Owner (2026-11-02): the optional test calls wait in a closed box under the required ones. */
body.ob-body.ob-setup-light .ob-optional-tests {margin:18px 0 8px;border:1px solid #d9e5e9;border-radius:12px;padding:0 16px 12px;background:#f8fbfc;}
body.ob-body.ob-setup-light .ob-optional-tests > summary {cursor:pointer;font-weight:700;min-height:44px;padding:12px 0;box-sizing:border-box;color:#18343d;}
/* Codex blind testers (2026-11-28): "Get help with setup" in the top bar at every width, and its small panel. */
body.ob-body.ob-setup-light .ob-topbar {position:relative;}
body.ob-body.ob-setup-light .ob-get-help {margin-left:auto;border:0;background:transparent;font:inherit;font-size:12px;font-weight:600;cursor:pointer;}
body.ob-body.ob-setup-light .ob-get-help + .ob-help-panel + .ob-restart {margin-left:0;}
.ob-help-short {display:none;}
.ob-help-panel[hidden] {display:none;}
.ob-help-panel {position:absolute;top:calc(100% - 6px);right:20px;z-index:30;width:min(380px,calc(100vw - 32px));box-sizing:border-box;padding:16px 18px;background:#fff;border:1px solid #dce5ea;border-radius:8px;box-shadow:0 10px 28px rgba(16,44,76,.16);color:#20313e;}
.ob-help-panel h2 {margin:0 0 10px;font-size:17px;line-height:1.35;font-weight:700;}
.ob-help-way {display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:10px 0;border-top:1px solid #dce5ea;}
.ob-help-way p {margin:0;font-size:14px;line-height:1.5;color:#405665;}
.ob-help-way .ob-btn {text-decoration:none;font-size:14px;}
@media(max-width:900px) {
  body.ob-body.ob-setup-light .ob-get-help {font-size:14px;padding:6px 2px;margin-left:auto;}
  body.ob-body.ob-setup-light .ob-help-long {display:none;}
  body.ob-body.ob-setup-light .ob-help-short {display:inline;}
  .ob-help-panel {right:16px;}
}
/* #32 A step that can't open yet: muted, with a dashed circle; pressing it opens the step that holds it, which says why. */
body.ob-body.ob-setup-light .ob-steps .ob-step.is-locked .ob-node {background:#fff;border:1px dashed #8fa3af;color:#526471;}
body.ob-body.ob-setup-light .ob-steps .ob-step.is-locked .ob-step-label {color:#526471;}
body.ob-body.ob-setup-light .ob-gate {margin:0 0 18px;}
body.ob-body.ob-setup-light .ob-gate:focus {outline:2px solid #006da6;outline-offset:2px;}
/* #13 A view-only member: the boxes are read-only and look it, as in Settings. */
body.ob-body.ob-setup-light .ob-view-only {margin:0 0 18px;}
/* "Your phone": whether alerts are really on, with room before the steps under it. */
body.ob-body.ob-setup-light #ob-alerts-state {margin:0 0 18px;}
/* Live checks (2026-11-29, G8): reference-system.css gives every input background:#fff!important (body.ref-page
   :is(input:not(…)…), specificity 0,6,2), so the read-only boxes looked like boxes to type in. This rule is
   !important and more specific (0,7,2), as Settings' own read-only rule is (settings.html). */
body.ob-body.ob-setup-light .ob-input[readonly], body.ob-body.ob-setup-light .ob-input:disabled {background:#eef2f5;color:#405765;cursor:default;}
body.ob-body.ob-setup-light.ref-page :is(input,select,textarea).ob-input:is([readonly],:disabled):not([type=checkbox]):not([type=radio]) {background:#eef2f5!important;color:#405765!important;border-color:#c9d6de;cursor:default;}
body.ob-body.ob-setup-light .ob-exit[hidden] {display:none!important;}
/* The review's required rows carry a Saved / Passed state like the optional ones; the key sits under them. */
body.ob-body.ob-setup-light .ob-review-key {margin:6px 0 14px;font-size:13px;color:#526471;}
body.ob-body.ob-setup-light .ob-self-tests ul {margin:0.4rem 0 0;padding-left:1.2rem;}
body.ob-body.ob-setup-light .ob-self-tests p {margin:0;}
/* On a phone a row's state and its link drop under the row's name when they don't fit beside it. */
@media (max-width: 560px) {
  body.ob-body.ob-setup-light .ob-recap li {flex-wrap:wrap;}
  body.ob-body.ob-setup-light .ob-recap li > span:nth-child(2) {flex:1 1 160px;min-width:0;}
}
