/* The setup wizard (lanes SIGNUPWIZARD and WIZARDSETUP, W1; Allan 2026-11-11; Brent Remow's hand-off pack, the brand kit of 2026-10-20). ONE stylesheet for both looks.
   The NEW LOOK frame is Brent's: a light rail of the three phases, a white page, a footer bar; purple and navy come from the theme's own tokens (--color-accent, --color-text, --brand-*), the type face is the one brand.css serves from this site (Plus Jakarta Sans): nothing here names a color, a font or an address of its own, so a named theme
   and the dark mode follow. The OLD LOOK frame (looks/old-setup.css) is v1's Clinic Signup; the step pieces below (the cards, the answers, the facts) are shared and take the old look's tokens when it is on.
   Class names start with wiz- and phz- on purpose: no ad blocker's generic filter (EasyList hides ad-*, banner*, sponsor*) may hide a part of this page (APIDOCSFIX, #1020). No inline style anywhere: every value is here. */

/* The colors are the theme's tokens (static/themes/qualiphy.css: the purple #6B54C0 and the darker text colors are product-wide since lane WIZARDFINISH, 2026-11-12). */

/* ---- the frame (new look) */
.wiz { --wiz-side-w: 16.5rem; display: grid; grid-template-columns: var(--wiz-side-w) minmax(0, 1fr); min-height: calc(100vh - var(--env-banner-h, 0px)); background: var(--color-bg); color: var(--color-text); }
.wiz-side { position: sticky; top: 0; align-self: start; height: calc(100vh - var(--env-banner-h, 0px)); overflow-y: auto; display: flex; flex-direction: column; padding: var(--space-5) var(--space-4) var(--space-5) var(--space-5); background: var(--color-bg); }
.wiz-logo { display: inline-block; margin: 0 0 var(--space-6); line-height: 0; }
.wiz-phases { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.phz { position: relative; padding-bottom: var(--space-5); }
.phz:not(:last-child)::before { content: ""; position: absolute; left: 9px; top: 24px; bottom: 0; width: 2px; background: var(--color-border); }
.phz.done:not(:last-child)::before { background: var(--color-accent); }
.phz-h { display: flex; align-items: center; gap: var(--space-3); color: var(--color-text-muted); font-size: .9375rem; }
.phz-dot { position: relative; z-index: 1; flex: 0 0 20px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--color-border); background: var(--color-bg); }
.phz.current .phz-dot { border-color: var(--color-accent); box-shadow: inset 0 0 0 4px var(--color-bg), inset 0 0 0 10px var(--color-accent); }
.phz.done .phz-dot { background: var(--color-accent); border-color: var(--color-accent); }
.phz.done .phz-dot::after { content: ""; width: 5px; height: 9px; border: solid var(--color-on-accent); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.phz-l { flex: 1; font-weight: 600; }
.phz.current .phz-l, .phz.done .phz-l { color: var(--color-text); }
.phz-n { font-size: .75rem; color: var(--color-text-muted); }
.phz-subs { list-style: none; margin: var(--space-2) 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.phz-s { display: block; padding: .3rem 0; color: var(--color-text-muted); font-size: .875rem; text-decoration: none; }
.phz-s.done { color: var(--color-text-muted); }
.phz-s.cur { color: var(--color-accent-text); font-weight: 600; }
.phz-s:hover { color: var(--color-accent-text); text-decoration: underline; }
.phz-s:focus-visible, .wiz-exit:focus-visible, .wiz-logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }

.wiz-main { display: flex; flex-direction: column; min-width: 0; min-height: calc(100vh - var(--env-banner-h, 0px)); background: var(--color-surface); border-radius: var(--radius-xl) 0 0 0; box-shadow: -1px 0 0 var(--color-border); }
.wiz-top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 3.5rem; padding: 0 2.5rem; }
.wiz-name { font-size: .875rem; font-weight: 500; color: var(--color-text-muted); overflow-wrap: anywhere; }
.wiz-exit { color: var(--color-accent-text); font-size: .875rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .25rem; }
.wiz-exit:hover { text-decoration: underline; }
.wiz-body { flex: 1; padding: var(--space-5) 2.5rem var(--space-6); outline: none; }
.wiz-inner { max-width: 41rem; margin: 0 auto; }
.wiz-inner:has(.wiz-cols) { max-width: 58rem; }
.wiz-count { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-text); }
.wiz-h1 { margin: .6rem 0 0; font-size: 1.875rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--color-text); text-wrap: balance; outline: none; }
.wiz-sub { margin: .5rem 0 1.75rem; max-width: 56ch; color: var(--color-text-muted); }
.wiz-foot { position: sticky; bottom: var(--env-banner-h, 0px); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 4.75rem; padding: var(--space-3) 2.5rem; background: var(--color-surface); border-top: 1px solid var(--color-border); }
.wiz-foot-l, .wiz-foot-r { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.wiz-foot-r { justify-content: flex-end; }
.wiz-foot form { margin: 0; }
.wiz-later { font-size: .875rem; color: var(--color-text-muted); }
.wiz-foot .btn { min-width: 6.5rem; justify-content: center; }
.wiz-foot a.btn { display: inline-flex; align-items: center; }

/* ---- the step pieces (both looks) */
.wiz-card { margin: 0 0 var(--space-4); }
.wiz-doc p { margin: 0 0 var(--space-3); }
.wiz-fees { font-weight: 600; }
.wiz-act { margin: 0 0 var(--space-3); }
.wiz-ok { display: inline-block; margin: 0 0 var(--space-3); padding: .35rem .8rem; border-radius: var(--radius-md); background: var(--color-ok-bg); color: var(--color-ok-text); font-weight: 600; }
.wiz-paused { margin: 0 0 var(--space-4); padding: .5rem .8rem; border-radius: var(--radius-md); background: var(--color-danger-soft); color: var(--color-danger-text); }
.wiz-facts { display: grid; gap: .5rem; margin: 0 0 var(--space-4); }
.wiz-facts > div { display: grid; grid-template-columns: minmax(5.5rem, 8rem) minmax(0, 1fr); gap: var(--space-4); align-items: baseline; }
.wiz-facts dt { color: var(--color-text-muted); font-size: .875rem; }
.wiz-facts dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.wiz-choices { display: flex; flex-direction: column; gap: var(--space-3); margin: 0 0 var(--space-4); padding: 0; border: 0; min-width: 0; }
.wiz-choices > legend { margin-bottom: var(--space-2); padding: 0; font-weight: 600; }
.wiz-opt { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); cursor: pointer; }
.wiz-opt:has(input:checked) { border-color: var(--color-accent); background: var(--color-tint); }
.wiz-opt:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-opt input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; accent-color: var(--color-accent); }
.wiz-opt-t { display: block; font-weight: 600; }
.wiz-opt-d { display: block; margin-top: .15rem; font-size: .875rem; color: var(--color-text-muted); }
.wiz-opt-off { background: var(--color-surface-2); cursor: not-allowed; }
.wiz-badge { display: inline-block; margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface-2); color: var(--color-text-muted); font-size: .75rem; font-weight: 600; vertical-align: middle; }
.wiz-opt-block { display: flex; flex-direction: column; gap: var(--space-2); }
.wiz-director { margin: var(--space-2) 0 0 1.9rem; padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); background: var(--color-surface-2); }
.wiz-tip { margin: 0 0 0 1.9rem; padding: .6rem .9rem; border-radius: var(--radius-md); background: var(--color-tint); color: var(--color-on-tint); font-size: .875rem; }
.wiz-quiet { margin: 0 0 var(--space-3) 1.9rem; color: var(--color-text-muted); font-size: .875rem; }
.wiz-choices ~ .wiz-quiet, .wiz-card > .wiz-quiet { margin-left: 0; }
.wiz-more { margin: 0 0 var(--space-3); padding: .7rem 1rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.wiz-more > summary { cursor: pointer; font-weight: 600; color: var(--color-accent-text); }
.wiz-more > p { margin: .6rem 0 0; color: var(--color-text-muted); }
.wiz-cols { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 0 2rem; align-items: start; }
@media (max-width: 56rem) { .wiz-cols { grid-template-columns: minmax(0, 1fr); } }
.wiz-ready { list-style: none; margin: var(--space-4) 0; padding: 0; }
.wiz-ready li { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); padding: .6rem 0; border-top: 1px solid var(--color-border); }
.wiz-ready li:last-child { border-bottom: 1px solid var(--color-border); }
.wiz-ready a { font-weight: 600; }
.wiz-ready-s { font-size: .875rem; color: var(--color-text-muted); }
.wiz-ready-done .wiz-ready-s { color: var(--color-ok-text); }
.wiz-finish-act { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0 0; }
.wiz-finish-act .btn { display: inline-flex; align-items: center; }

/* the older setup questions' own forms, inside a step */
.wiz-card.cs-form .cs-topic, .cs-form .cs-topic { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); min-width: 0; }
.cs-form .cs-topic > legend { padding: 0 .4rem; font-weight: 600; }
.cs-form .cs-new { margin: 0 0 var(--space-2); }
.cs-form .cs-new > summary { cursor: pointer; color: var(--color-accent-text); font-weight: 600; margin-bottom: var(--space-2); }
.cs-form .cs-matrix { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: var(--space-3); }
.cs-form .cs-matrix fieldset { margin: 0; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.cs-form .cs-matrix label { display: inline-flex; align-items: center; gap: .35rem; margin-right: var(--space-4); }
.wiz-card .afield select, .wiz-card .afield input[type="url"] { width: 100%; box-sizing: border-box; padding: .6875rem .875rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font: inherit; }
.wiz-card .afield input[type="url"]:focus-visible, .wiz-card .afield select:focus-visible { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 28%, transparent); }
.wiz-card .afield { max-width: 32rem; }
.wiz-card .agrid .afield { max-width: none; }

/* ---- a phone: the rail becomes a strip with the phase you are in, the footer bar keeps both buttons in reach */
@media (max-width: 52rem) {
  .wiz { grid-template-columns: minmax(0, 1fr); }
  .wiz-side { position: static; height: auto; flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); }
  .wiz-logo { display: inline-flex; align-items: center; min-height: 2.75rem; margin: -.25rem 0; }          /* a 44 px touch target that takes the room of the 36 px logo (a taller strip moved the step below it under the footer bar: axe target-size on the services step) */
  .wiz-rail { flex: 0 1 auto; min-width: 0; }
  .wiz-phases .phz:not(.current), .wiz-phases .phz-subs { display: none; }
  .wiz-phases .phz { padding: 0; }
  .wiz-phases .phz::before, .wiz-phases .phz::after { display: none; }
  .wiz-main { border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
  .wiz-top, .wiz-body, .wiz-foot { padding-left: var(--space-4); padding-right: var(--space-4); }
  .wiz-h1 { font-size: 1.625rem; }
  .wiz-foot { flex-wrap: wrap; gap: var(--space-2); padding-top: var(--space-2); padding-bottom: var(--space-3); }
  .wiz-foot-l, .wiz-foot-r { gap: var(--space-2); }
  .wiz-foot-r { flex: 1 1 auto; }
  .wiz-later { flex: 1 0 100%; order: -1; text-align: center; }
}

/* ---- the public screens and the person's clinic phase (lane WIZARDDOOR, 2026-11-11): the same frame; these are the few pieces the account screens add */
.wiz-default { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }          /* the form's DEFAULT button (Enter in a field continues; the registry check is a second button): off screen, not focusable */
.wiz-exit-form { margin: 0; }
button.wiz-exit { appearance: none; background: none; border: 0; padding: .5rem 0; font: inherit; cursor: pointer; }
.wiz-card .linkbtn { appearance: none; background: none; border: 0; padding: 0; color: var(--color-accent-text); font: inherit; text-decoration: underline; cursor: pointer; }
.wiz-card .linkbtn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wiz-card.apply-resend { margin-top: var(--space-2); }
.wiz-npi { margin: var(--space-3) 0; }
.wiz-director .afield { max-width: none; }
.wiz-card .afield input[type="password"] { width: 100%; box-sizing: border-box; padding: .6875rem .875rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font: inherit; }
.wiz-card .afield input[type="password"]:focus-visible { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 28%, transparent); }
.wiz-card .afield.has-error input[type="password"] { border-color: var(--color-danger-text); }
.wiz-card .afield input:not([type="password"]):not([type="checkbox"]):not([type="radio"]) { width: 100%; box-sizing: border-box; }

/* ---- the password step (lane WIZARDBRENT, 2026-11-12; Brent's screen 02): Show and Hide, the strength meter and the rules that tick. Drawn by static/wizard-password.js in the browser only. No inline style: the meter is a data attribute. */
.wiz-pw-in { display: flex; align-items: stretch; gap: var(--space-2); }
.wiz-pw-in input { flex: 1; min-width: 0; }
.wiz-pw-eye { flex: 0 0 auto; min-width: 4.5rem; min-height: 2.75rem; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-accent-text); font: inherit; font-weight: 600; cursor: pointer; }
.wiz-pw-eye:hover { background: var(--color-bg); }
.wiz-pw-eye:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; margin: var(--space-2) 0 .25rem; }
.wiz-pw-seg { height: .4rem; border-radius: 999px; background: var(--color-border); transition: background-color .4s ease; }
.wiz-pw-meter[data-empty="0"][data-level="0"] .wiz-pw-seg:nth-child(-n+1) { background: var(--color-danger-text); }
.wiz-pw-meter[data-level="1"] .wiz-pw-seg:nth-child(-n+1) { background: var(--color-danger-text); }
.wiz-pw-meter[data-level="2"] .wiz-pw-seg:nth-child(-n+2) { background: var(--color-warn-text, var(--color-accent-text)); }
.wiz-pw-meter[data-level="3"] .wiz-pw-seg:nth-child(-n+3) { background: var(--color-ok-text); }
.wiz-pw-meter[data-level="4"] .wiz-pw-seg { background: var(--color-ok-text); }
.wiz-pw-label { min-height: 1.4rem; margin: 0 0 var(--space-3); font-size: .875rem; font-weight: 600; color: var(--color-text); }
.wiz-pw-rules { list-style: none; margin: 0 0 var(--space-3); padding: 0; display: grid; gap: .3rem; font-size: .875rem; color: var(--color-text-muted); }
.wiz-pw-rules li { display: flex; align-items: center; gap: .6rem; }
.wiz-pw-rules li[hidden] { display: none; }
.wiz-pw-dot { flex: 0 0 1rem; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid var(--color-border); display: inline-grid; place-items: center; }
.wiz-pw-rules li.ok { color: var(--color-ok-text); }
.wiz-pw-rules li.ok .wiz-pw-dot { background: var(--color-ok-text); border-color: var(--color-ok-text); }
.wiz-pw-rules li.ok .wiz-pw-dot::after { content: ""; width: .28rem; height: .5rem; border: solid var(--color-on-accent); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .wiz-pw-seg { transition: none; } }

/* ---- the services step (lane WIZARDBRENT; Brent's screens 12 and 13) */
.wiz-draft { margin: 0 0 var(--space-4); padding: .4rem .8rem; border-radius: var(--radius-md); background: var(--color-bg); color: var(--color-text-muted); font-size: .875rem; }
.wiz-svc-cat { margin: 0 0 var(--space-4); border: 1px solid var(--color-accent); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); }
.wiz-svc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid var(--color-border); }
.wiz-pill { display: inline-block; padding: .2rem .65rem; border-radius: 999px; background: var(--color-accent-soft, var(--color-bg)); color: var(--color-accent-text); font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.wiz-svc-body { padding: 0 var(--space-4); }
.wiz-svc-grp { border-bottom: 1px solid var(--color-border); padding: var(--space-3) 0; }
.wiz-svc-grp:last-child { border-bottom: 0; }
.wiz-svc-grp > summary { display: flex; align-items: center; gap: var(--space-3); cursor: pointer; list-style: none; }
.wiz-svc-grp > summary::-webkit-details-marker { display: none; }
.wiz-svc-grp > summary .wiz-opt, .wiz-svc-grp > summary > .wiz-opt-t { flex: 1; }
.wiz-svc-n { color: var(--color-text-muted); font-size: .8125rem; }
.wiz-svc-view { color: var(--color-accent-text); font-size: .875rem; font-weight: 600; }
.wiz-svc-grp > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: var(--space-3) 0; max-height: 15rem; overflow-y: auto; padding: var(--space-3); border-radius: var(--radius-md); background: var(--color-bg); }
.wiz-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--color-border); background: var(--color-surface); font-size: .875rem; cursor: pointer; }
.wiz-chip:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-soft, var(--color-bg)); color: var(--color-accent-text); }
.wiz-chip:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-chip[hidden] { display: none; }
.wiz-svc-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-3); }
.wiz-tab { padding: .3rem .8rem; border: 0; border-radius: 999px; background: transparent; color: var(--color-text-muted); font: inherit; font-size: .875rem; cursor: pointer; }
.wiz-tab.on { background: var(--color-text); color: var(--color-surface); }
.wiz-linkbtn { border: 0; background: none; padding: .3rem; color: var(--color-accent-text); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
.wiz-svc-hint { margin: .25rem 0 var(--space-3); font-size: .8125rem; color: var(--color-text-muted); }
.wiz-bag { padding: .3rem 0; }
.wiz-svc-ask, .wiz-svc-expand { margin: var(--space-5) 0 var(--space-4); }
.wiz-svc-reqs { margin: 0 0 var(--space-3); padding-left: 1.2rem; }
.wiz-eyebrow { margin: var(--space-4) 0 var(--space-2); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.wiz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--space-3); }
.wiz-card-pick { display: flex; gap: .6rem; align-items: flex-start; padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); cursor: pointer; }
.wiz-card-pick:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-soft, var(--color-bg)); }
.wiz-card-pick:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-h2 { margin: 0 0 .25rem; font-size: 1.0625rem; font-weight: 700; }
/* a block that opens grows and fades in, about 0.4 s (Brent's slideIn); off when the device asks for reduced motion */
@keyframes wiz-grow { from { opacity: 0; transform: translateY(-.35rem) scaleY(.96); } to { opacity: 1; transform: none; } }
.wiz-grow > :not(summary) { animation: wiz-grow .4s ease both; transform-origin: top; }
@media (prefers-reduced-motion: reduce) { .wiz-grow > :not(summary) { animation: none; } }

/* ---- Hire a medical director: the two plans open below the answer (Brent's screen 06) */
.wiz-plans { margin: var(--space-3) 0 0 2rem; }
.wiz-plans { display: none; }
.wiz-opt-block:has(input[value="hire"]:checked) .wiz-plans { display: block; animation: wiz-grow .4s ease both; transform-origin: top; }
@media (prefers-reduced-motion: reduce) { .wiz-opt-block:has(input[value="hire"]:checked) .wiz-plans { animation: none; } }
.wiz-plans-t { margin: 0 0 var(--space-3); font-weight: 600; }
.wiz-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--space-3); }
.wiz-plan { display: block; padding: var(--space-4); border: 2px solid var(--color-border); border-radius: var(--radius-lg); cursor: pointer; background: var(--color-surface); }
.wiz-plan:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent-soft, var(--color-bg)); }
.wiz-plan:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-plan input { float: right; }
.wiz-plan-n { display: block; font-size: 1.125rem; font-weight: 700; }
.wiz-plan-s { display: block; color: var(--color-text-muted); font-size: .875rem; }
.wiz-plan-p { display: block; margin: var(--space-3) 0; font-size: 1.75rem; font-weight: 700; }
.wiz-plan-p small { font-size: .875rem; font-weight: 400; color: var(--color-text-muted); }
.wiz-plan ul { margin: 0; padding-left: 1.1rem; font-size: .875rem; }
.wiz-svc-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.wiz-svc-line { display: flex; align-items: center; gap: var(--space-3); flex: 1; min-width: 0; }
.wiz-svc-more { flex: 0 0 auto; }
.wiz-svc-more[open] { flex-basis: 100%; }
.wiz-svc-more > summary { cursor: pointer; list-style: none; text-align: right; }
.wiz-svc-more > summary::-webkit-details-marker { display: none; }

/* =====================================================================================================================================================
   THE VISUAL PASS (lane WIZARDBRENT2, 2026-11-12): Brent's screens 01 to 17, new look. Later rules win over the earlier ones of this sheet on purpose: each block says which screen it is for.
   ===================================================================================================================================================== */

/* ---- the frame: the heading is 36 px, the eyebrow names the phase only (the step number is spoken: "Step 2 of 8"), the footer button carries an arrow, the rail ends with "Need a hand?" */
.wiz-h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.wiz-sub { font-size: .875rem; line-height: 1.65; margin: .625rem 0 1.5rem; }
.wiz-count { font-size: .75rem; letter-spacing: .14em; }
.wiz-top { min-height: 3.5rem; }
.wiz-help { margin: auto 0 0; padding-top: var(--space-4); font-size: .8125rem; color: var(--color-text-muted); }
.wiz-help a { color: var(--color-accent-text); }
.wiz-help a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wiz-arrow { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; }
.wiz-foot .btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--radius-md); }
.wiz-foot .btn.secondary, .wiz .btn.secondary { border-color: var(--color-border-strong, var(--color-border)); background: var(--color-surface); color: var(--color-text); }
.wiz .btn.secondary:hover { background: var(--color-bg); border-color: var(--color-accent); }
.wiz-lbl-yes, .wiz-lbl-hire { display: none; }
.wiz:has(input[name="choice"][value="yes"]:checked) .wiz-lbl-d, .wiz:has(input[name="choice"][value="hire"]:checked) .wiz-lbl-d { display: none; }
.wiz:has(input[name="choice"][value="yes"]:checked) .wiz-lbl-yes, .wiz:has(input[name="choice"][value="hire"]:checked) .wiz-lbl-hire { display: inline; }
@media (max-width: 52rem) { .wiz-help { display: none; } }

/* ---- screen 01: the gate (Your details, the emailed code): a centered card under the logo, on the lavender page */
.wiz-gate { min-height: calc(100vh - var(--env-banner-h, 0px)); display: grid; place-items: center; padding: var(--space-6) var(--space-4); color: var(--color-text);
  background: radial-gradient(900px 560px at 0% 100%, color-mix(in srgb, var(--color-accent) 20%, transparent), transparent 62%), radial-gradient(760px 520px at 100% 0%, color-mix(in srgb, var(--wiz-lavender, transparent) 38%, transparent), transparent 62%), var(--color-bg); }
.wiz-gate-in { width: 28rem; max-width: 100%; display: flex; flex-direction: column; align-items: center; outline: none; }
.wiz-gate-logo { display: inline-block; line-height: 0; margin: 0 0 var(--space-4); }
.wiz-gate-logo:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; border-radius: var(--radius-sm); }
.wiz-gate-eyebrow { margin: 0 0 var(--space-5); font-size: .6875rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--color-accent-text); }
.wiz-gate-card { width: 100%; box-sizing: border-box; padding: 2.25rem 2.25rem 1.75rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 20px; box-shadow: var(--wiz-shadow, none); }
.wiz-gate-h { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; outline: none; }
.wiz-gate-sub { margin: .5rem 0 var(--space-4); font-size: .875rem; line-height: 1.65; color: var(--color-text-muted); }
.wiz-gate-card .wiz-card { margin: 0; }
.wiz-gate-card .note-area:empty { display: none; }
.wiz-svc-hint.wiz-price-note, .wiz-plans .wiz-svc-hint { margin: var(--space-2) 0 0; }
.wiz-gate-card .afield { display: flex; flex-direction: column; max-width: none; margin: 0 0 .625rem; }
.wiz-gate-card .afield > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wiz-gate-card .afield .ahint { order: 3; margin: .25rem 0 0; font-size: .75rem; color: var(--color-text-muted); }
.wiz-gate-card .afield .aerror { order: 4; }
.wiz-gate-card .afield input { padding: .6875rem .875rem; border-radius: var(--radius-md); }
.wiz-gate-card .afield input::placeholder { color: var(--color-text-muted); opacity: 1; }
.wiz-gate-go { margin: var(--space-4) 0 var(--space-4); }
.wiz-gate-go .btn { width: 100%; justify-content: center; border-radius: var(--radius-md); min-height: 2.75rem; }
.wiz-gate-card .wiz-quiet { margin: 0; color: var(--color-text-muted); font-size: .875rem; }
.wiz-gate-card .wiz-quiet a { font-weight: 600; text-decoration: none; color: var(--color-text); }
.wiz-gate-card .apply-resend { margin-top: var(--space-3); }
@media (max-width: 30rem) { .wiz-gate-card { padding: 1.5rem 1.25rem 1.25rem; } .wiz-gate-in { width: 100%; } }

/* ---- the answer rows (screens 04 to 06 and every radio or checkbox row of the wizard): a closed row, a ring when chosen */
.wiz-opt { border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.wiz-opt input[type="radio"], .wiz-opt input[type="checkbox"] { width: 1.375rem; height: 1.375rem; margin-top: .05rem; }
.wiz-opt-t { font-size: 1rem; font-weight: 500; color: var(--color-text); }
.wiz-opt-d { margin-top: .125rem; font-size: .875rem; color: var(--color-text-muted); }
.wiz-choices { gap: .75rem; }
.wiz-opt-block { gap: var(--space-3); }

/* ---- screen 05: the director's fields open BELOW "Yes" once Yes is chosen (never before); screen 06: the plans open below "Hire a medical director" */
.wiz-director { display: none; margin: var(--space-4) 0 var(--space-2); padding: 0; background: none; border-radius: 0; }
.wiz-opt-block:has(input[value="yes"]:checked) .wiz-director { display: block; animation: wiz-grow .4s ease both; transform-origin: top; }
.wiz-director .afield label { font-size: .8125rem; font-weight: 600; }
.wiz-tip { margin: var(--space-3) 0; padding: .75rem 1rem; border-left: 3px solid var(--color-accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: var(--color-tint); color: var(--color-on-tint); font-size: .875rem; }
.wiz-director .wiz-act { margin: var(--space-2) 0 0; }
.wiz-director .wiz-act .btn { padding: .45rem .9rem; font-size: .8125rem; }
@media (prefers-reduced-motion: reduce) { .wiz-opt-block:has(input[value="yes"]:checked) .wiz-director { animation: none; } }
.wiz-aside { padding-top: 1.25rem; }
.wiz-aside .wiz-more { margin: 0 0 var(--space-2); padding: 0; border-radius: var(--radius-lg); }
.wiz-aside .wiz-more > summary { display: flex; align-items: center; gap: .625rem; list-style: none; padding: .75rem 1rem; }
.wiz-aside .wiz-more > summary::-webkit-details-marker { display: none; }
.wiz-aside .wiz-more > summary::after { content: "+"; margin-left: auto; padding-left: .5rem; font-size: 1.125rem; font-weight: 400; line-height: 1; color: var(--color-accent-text); }
.wiz-aside .wiz-more[open] > summary::after { content: "\2212"; }
.wiz-aside .wiz-more > p { margin: 0; padding: 0 1rem .9rem; font-size: .875rem; }
.wiz-aside .wiz-ico { flex: 0 0 auto; width: 1.125rem; height: 1.125rem; color: var(--color-accent-text); }
.wiz-plans-t { font-size: 1rem; font-weight: 500; }
.wiz-plans { margin: var(--space-3) 0 0; }
.wiz-plan { position: relative; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); }
.wiz-plan:has(input:checked) { border: 2px solid var(--color-accent); padding: calc(var(--space-5) - 1px); background: var(--color-tint); }
.wiz-plan input { position: absolute; opacity: 0; width: 1px; height: 1px; float: none; }
.wiz-plan-n { font-size: 1.25rem; font-weight: 500; }
.wiz-plan-p { margin: var(--space-3) 0 var(--space-4); font-size: 2rem; font-weight: 600; }
.wiz-plan ul { list-style: none; padding: 0; display: grid; gap: .6rem; font-size: .9375rem; }
.wiz-plan li { position: relative; padding-left: 1.75rem; }
.wiz-plan li::before { content: ""; position: absolute; left: .35rem; top: .35rem; width: .3rem; height: .6rem; border: solid var(--color-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wiz-plans-go { margin: var(--space-3) 0 0; }
.wiz-plans-go .btn { display: inline-flex; align-items: center; gap: .5rem; border-radius: var(--radius-md); }
[data-wizard="old"] .wiz-plans-go { display: none; }

/* ---- screen 03: the company page: two headed sections, the registered address */
.wiz-sec { margin: 0 0 var(--space-5); }
.wiz-sec + .wiz-sec { padding-top: var(--space-5); border-top: 1px solid var(--color-border); }
.wiz-sec > h2 { margin: 0 0 var(--space-3); font-size: 1.125rem; font-weight: 600; color: var(--color-text); }
.wiz-sec > .ahint, .wiz-sec > p.ahint { margin: 0 0 var(--space-3); color: var(--color-text-muted); font-size: .875rem; }
.wiz-card .agrid.three { gap: var(--space-4); }
.wiz-card .afield label { font-size: .8125rem; font-weight: 600; }
.wiz-card .afield input, .wiz-card .afield select { border-radius: var(--radius-md); }

/* ---- screen 12: the services: closed rows, not pills; a chip with a tick; the category card keeps its purple line */
.wiz-svc-cat { border: 1px solid var(--color-accent); border-radius: var(--radius-lg); }
.wiz-svc-cat .wiz-opt, .wiz-svc-cat .wiz-opt:has(input:checked) { border: 0; background: none; padding: 0; border-radius: 0; cursor: pointer; }
.wiz-svc-head .wiz-opt-t { font-size: 1.125rem; font-weight: 600; }
.wiz-svc-name { flex: 1; min-width: 0; }
.wiz-svc-name .wiz-opt-t { display: block; margin: 0; line-height: 1.3; }
.wiz-svc-name .wiz-opt-d { margin: .15rem 0 0; }
.wiz-svc-grp .wiz-opt input { width: 1.25rem; height: 1.25rem; }
.wiz-svc-grp .wiz-opt-t { font-weight: 400; }
.wiz-svc-n { font-size: .8125rem; }
.wiz-pill { background: var(--color-tint); border-radius: 999px; font-size: .8125rem; font-weight: 600; }
.wiz-chip { position: relative; padding: .3rem .8rem .3rem .65rem; }
.wiz-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wiz-chip::before { content: ""; flex: 0 0 auto; width: .3rem; height: .55rem; margin: 0 .15rem .15rem .1rem; border: solid transparent; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wiz-chip:has(input:checked)::before { border-color: var(--color-accent-text); }
.wiz-chip:has(input:checked) { background: var(--color-tint); }
.wiz-chip:not(:has(input:checked)) { color: var(--color-text-muted); }
.wiz-chips { background: var(--color-surface-2); }
.wiz-tab.on { background: var(--color-text); color: var(--color-surface); }
.wiz-svc-ask > .wiz-h2, .wiz-svc-expand > .wiz-h2 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-muted); }
.wiz-card-pick { position: relative; padding: var(--space-4); border-radius: var(--radius-lg); }
.wiz-card-pick > input { position: absolute; top: var(--space-4); right: var(--space-4); width: 1.375rem; height: 1.375rem; margin: 0; }
.wiz-card-pick > span { padding-right: 2rem; }
.wiz-card-pick .wiz-opt-t { font-size: 1rem; font-weight: 600; }
.wiz-card-pick:has(input:checked) { background: var(--color-tint); }

/* ---- screen 16: Contacts on one page: boxes with a small caps heading, people as chips, two switches */
.wiz-contacts { display: grid; gap: var(--space-4); }
.wiz-box { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.wiz-box-k { margin: 0 0 var(--space-3); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.wiz-box-t { margin: 0 0 .25rem; font-size: 1.0625rem; font-weight: 500; color: var(--color-text); }
.wiz-box-d { margin: 0 0 var(--space-3); font-size: .875rem; color: var(--color-text-muted); }
.wiz-pick { margin: 0; padding: 0; border: 0; min-width: 0; }
.wiz-people { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-2); }
.wiz-person { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border: 1px solid var(--color-border); border-radius: 999px; background: var(--color-surface); color: var(--color-text); font-size: .9375rem; cursor: pointer; }
.wiz-person input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wiz-person:has(input:checked) { border-color: var(--color-accent); background: var(--color-tint); color: var(--color-accent-text); }
.wiz-person:has(input:checked)::before { content: ""; width: .3rem; height: .55rem; margin: 0 .2rem .15rem 0; border: solid var(--color-accent-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wiz-person:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-person-new { flex: 0 0 auto; }
.wiz-person-new > summary { display: inline-flex; align-items: center; padding: .5rem 1rem; border: 1px dashed var(--color-border-strong, var(--color-border)); border-radius: 999px; color: var(--color-accent-text); font-size: .9375rem; list-style: none; cursor: pointer; }
.wiz-person-new > summary::-webkit-details-marker { display: none; }
.wiz-person-new > summary::before { content: "+"; margin-right: .35rem; }
.wiz-person-new > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-person-new[open] { flex: 1 0 100%; }
.wiz-person-new[open] > summary { margin-bottom: var(--space-3); }
.wiz-person-use { margin: 0 0 var(--space-3); }
.wiz-switchrow { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-5); }
.wiz-switchrow > div { min-width: 0; }
.wiz-switch { position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; cursor: pointer; }
.wiz-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wiz-switch-track { position: relative; width: 2.875rem; height: 1.625rem; border-radius: 999px; background: var(--color-border-strong, var(--color-border)); transition: background-color .18s ease; }
.wiz-switch-track::after { content: ""; position: absolute; top: .1875rem; left: .1875rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--color-surface); box-shadow: var(--shadow-card); transition: transform .18s ease; }
.wiz-switch input:checked + .wiz-switch-track { background: var(--color-accent); }
.wiz-switch input:checked + .wiz-switch-track::after { transform: translateX(1.25rem); }
.wiz-switch input:focus-visible + .wiz-switch-track { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-switch-on, .wiz-switch-off { font-size: .9375rem; color: var(--color-text-muted); min-width: 1.75rem; }
.wiz-switch-on { display: none; }
.wiz-switch:has(input:checked) .wiz-switch-on { display: inline; }
.wiz-switch:has(input:checked) .wiz-switch-off { display: none; }
.wiz-box-switch .wiz-off-note { display: block; }
.wiz-box-switch:has(input:checked) .wiz-off-note { display: none; }
.wiz-how-def { margin: 0; font-size: .8125rem; }
@media (prefers-reduced-motion: reduce) { .wiz-switch-track, .wiz-switch-track::after { transition: none; } }
@media (max-width: 40rem) { .wiz-switchrow { flex-direction: column; gap: var(--space-3); } }

/* ---- screen 17: Your account is ready (new look): the gate's lavender page, the pills, the way on, three unlocked cards that land with a hit and a shake */
.wel { padding: var(--space-6) var(--space-4) 5rem; }
.wel-in { width: 100%; max-width: 53.75rem; text-align: center; display: flex; flex-direction: column; align-items: center; padding-bottom: 5rem; }
.wel-k { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-accent-text); }
.wel-h { margin: .6rem 0 0; font-size: 2.5rem; line-height: 1.12; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; outline: none; }
.wel-p { margin: .75rem 0 var(--space-5); max-width: 46ch; font-size: 1.0625rem; color: var(--color-text-muted); }
.wel-in .wiz-paused { max-width: 40rem; }
.wel-ready { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin: 0 0 var(--space-5); padding: 0; }
.wel-ready a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; font-size: .8125rem; font-weight: 500; text-decoration: none; }
.wel-ok a { background: var(--color-ok-bg); color: var(--color-ok-text); }
.wel-wait a { background: var(--color-warn-bg); color: var(--color-warn-text); }
.wel-ready a:hover { text-decoration: underline; }
.wel-ready a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wel-ready .wiz-ico { width: .8rem; height: .8rem; }
.wel-dot { width: .5rem; height: .5rem; border-radius: 50%; border: 2px solid currentColor; }
.wel-ready small { font-size: .75rem; }
.wel-act { justify-content: center; margin-top: 0; }
.wel-act .btn { min-height: 3rem; padding-inline: 1.4rem; font-size: 1rem; display: inline-flex; align-items: center; gap: .5rem; }
.wel-un { width: 100%; margin-top: 2.75rem; }
.wel-unk { margin: 0 0 var(--space-3); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text-muted); }
.wel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .875rem; align-items: start; }
.wel-c { position: relative; text-align: left; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); box-shadow: var(--shadow-card); transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.wel-c > summary { display: flex; flex-direction: column; align-items: flex-start; gap: .375rem; padding: 1.125rem 1.125rem 2.5rem; list-style: none; cursor: pointer; }
.wel-c > summary::-webkit-details-marker { display: none; }
.wel-c > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-lg); }
.wel-c:hover, .wel-c[open] { border-color: var(--color-accent); }
.wel-c[open] { background: var(--color-tint); }
.wel-ico { display: grid; place-items: center; width: 2.375rem; height: 2.375rem; margin-bottom: .375rem; border-radius: var(--radius-md); background: var(--color-tint); color: var(--color-accent-text); }
.wel-c[open] .wel-ico { background: var(--color-surface); }
.wel-ico svg { width: 1.25rem; height: 1.25rem; }
.wel-c .t { font-weight: 700; font-size: .9375rem; color: var(--color-text); }
.wel-c .d { font-size: .8125rem; line-height: 1.45; color: var(--color-text-muted); }
.wel-more-l { position: absolute; left: 1.125rem; bottom: .875rem; font-size: .8125rem; font-weight: 600; color: var(--color-accent-text); }
.wel-c[open] .wel-more-l { visibility: hidden; }
.wel-c > ul { margin: 0; padding: 0 1.125rem 1.125rem 2.4rem; display: grid; gap: .4rem; font-size: .875rem; color: var(--color-text); }
.wel-note { margin: var(--space-4) 0 0; font-size: .8125rem; color: var(--color-text-muted); }
.wel-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 50; }
@keyframes wel-hit { 0% { opacity: 0; transform: scale(1.9); } 32% { opacity: 1; transform: scale(1.9); } 50% { opacity: 1; transform: scale(.97); } 60% { transform: scale(1.05); } 72%, 100% { opacity: 1; transform: none; } }
@keyframes wel-quake { 0%, 20%, 34%, 50%, 64%, 80%, 94%, 100% { transform: none; } 22% { transform: translate(-9px, 6px); } 25% { transform: translate(8px, -6px); } 28% { transform: translate(-6px, -4px); } 31% { transform: translate(5px, 4px); }
  52% { transform: translate(-9px, 6px); } 55% { transform: translate(8px, -6px); } 58% { transform: translate(-6px, -4px); } 61% { transform: translate(5px, 4px); }
  82% { transform: translate(-9px, 6px); } 85% { transform: translate(8px, -6px); } 88% { transform: translate(-6px, -4px); } 91% { transform: translate(5px, 4px); } }
.wel-c { animation: wel-hit 1.2s cubic-bezier(.5, 0, .9, .4) both; }
.wel-c:nth-child(2) { animation-delay: .9s; }
.wel-c:nth-child(3) { animation-delay: 1.8s; }
.wel-in { animation: wel-quake 3s ease-out 1 both; }
@media (prefers-reduced-motion: reduce) { .wel-c, .wel-in { animation: none; } .wel-c { transition: none; } }
@media (max-width: 52rem) { .wel-grid { grid-template-columns: minmax(0, 1fr); } .wel-h { font-size: 1.875rem; } .wel-act .btn { width: 100%; justify-content: center; } }

/* ---- hire a medical director: the pages after the plan (screens 07 to 11): a three-part stepper, a booking box, the agreement, the summary rows, the plan and its state with Cancel */
.wiz-stepper { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin: 0 0 var(--space-5); padding: 0; }
.wiz-stepper li { display: flex; align-items: center; gap: .6rem; padding-top: .75rem; border-top: 3px solid var(--color-border); color: var(--color-text-muted); font-size: .9375rem; }
.wiz-stepper li.done, .wiz-stepper li.now { border-top-color: var(--color-accent); }
.wiz-stepper li.now { color: var(--color-text); font-weight: 600; }
.wiz-stepper-n { display: grid; place-items: center; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--color-tint); color: var(--color-accent-text); font-size: .75rem; font-weight: 700; }
.wiz-stepper li.now .wiz-stepper-n { background: var(--color-accent); color: var(--color-on-accent); }
.wiz-stepper-n svg { width: .75rem; height: .75rem; }
.wiz-hire-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.wiz-hire-head .wiz-h2 { margin: 0; }
.wiz-box + .wiz-box, .wiz-box + .wiz-points, .wiz-points + .wiz-doc, .wiz-doc + .wiz-card { margin-top: var(--space-4); }
.wiz-inline { display: flex; align-items: flex-end; flex-wrap: wrap; gap: var(--space-3); }
.wiz-inline .afield { flex: 1 1 14rem; margin: 0; }
.wiz-points { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--space-2) var(--space-5); margin: var(--space-4) 0; padding: 0; }
.wiz-points li { position: relative; padding-left: 1.6rem; }
.wiz-points li::before { content: ""; position: absolute; left: .3rem; top: .3rem; width: .3rem; height: .6rem; border: solid var(--color-ok-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.wiz-msa { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-2); max-height: 22rem; overflow-y: auto; }
.wiz-msa:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-msa .wiz-h2 { margin: 0 0 var(--space-2); }
.wiz-badge-warn { float: right; margin: 0 0 0 var(--space-3); background: var(--color-warn-bg); color: var(--color-warn-text); border-color: var(--color-warn-border, var(--color-border)); }
.wiz-rows { margin: 0 0 var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-surface); }
.wiz-rows > div { display: flex; justify-content: space-between; gap: var(--space-4); padding: .85rem 1.1rem; border-top: 1px solid var(--color-border); }
.wiz-rows > div:first-child { border-top: 0; }
.wiz-rows dt { color: var(--color-text-muted); }
.wiz-rows dd { margin: 0; text-align: right; }
.wiz-hired-h { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.wiz-hired-h .wiz-h2 { margin: 0; }
.wiz-hired-h .wiz-box-d { margin: 0; }
.wiz-hired-ok { display: grid; place-items: center; flex: 0 0 auto; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-ok-bg); color: var(--color-ok-text); }
.wiz-hired-ok svg { width: 1.1rem; height: 1.1rem; }
.wiz-hired .wiz-rows { margin-bottom: var(--space-3); }
.wiz-cancel > summary { display: inline-block; cursor: pointer; color: var(--color-accent-text); font-size: .875rem; }
.wiz-cancel > summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.wiz-cancel[open] > summary { margin-bottom: var(--space-2); }
@media (max-width: 40rem) { .wiz-stepper { gap: var(--space-2); } .wiz-stepper li { font-size: .8125rem; flex-direction: column; align-items: flex-start; gap: .25rem; } .wiz-rows > div { flex-direction: column; gap: .15rem; } .wiz-rows dd { text-align: left; } }
:is(.wiz, .old-signup) .afield input[type="datetime-local"], :is(.wiz, .old-signup) .afield input[type="text"] { width: 100%; box-sizing: border-box; padding: .6875rem .875rem; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-text); font: inherit; }
:is(.wiz, .old-signup) .afield input[type="datetime-local"]:focus-visible, :is(.wiz, .old-signup) .afield input[type="text"]:focus-visible { outline: none; border-color: var(--color-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-focus) 28%, transparent); }
:is(.wiz, .old-signup) .afield input[readonly] { background: var(--color-surface-2); }

/* ---- screens 14 and 15: the card and the agreements as closed rows with a badge or a button on the right */
.wiz-docrow { display: flex; align-items: center; gap: var(--space-4); margin: 0 0 var(--space-3); padding: var(--space-4) var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); }
.wiz-docrow-t { flex: 1 1 auto; min-width: 0; }
.wiz-docrow .wiz-box-t, .wiz-docrow .wiz-box-d { margin-bottom: 0; }
.wiz-docrow .wiz-act { margin: 0; }
.wiz-docrow .btn { white-space: normal; }
.wiz-docico { flex: 0 0 auto; width: 3rem; height: 3rem; margin: 0; border-radius: 50%; background: var(--color-surface-2); color: var(--color-accent-text); }
.wiz-badge-ok { background: var(--color-ok-bg); color: var(--color-ok-text); border-color: var(--color-ok-border); margin: 0; }
@media (max-width: 40rem) { .wiz-docrow { flex-wrap: wrap; } .wiz-docrow .btn, .wiz-docrow .wiz-act { width: 100%; } }
.wiz-same-phone { margin: 0 0 var(--space-4); }

/* The times of a meeting the clinic books in the platform's scheduler (OVERSIGHTSCHED): days, each a list of radio chips; the same in both looks. */
.wiz-slots { margin: 0 0 var(--space-4); }
.wiz-slot-days { margin: 0; padding: 0; border: 0; min-width: 0; }
.wiz-slot-day { margin: 0 0 var(--space-3); }
.wiz-slot-h { margin: 0 0 var(--space-2); font-size: .9375rem; font-weight: 600; }
.wiz-slot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.wiz-slot { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; padding: .3rem .8rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface); cursor: pointer; }
.wiz-slot:has(input:checked) { border-color: var(--color-accent); background: var(--color-tint); font-weight: 600; }
.wiz-slot:has(input:focus-visible) { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.wiz-slot input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--color-accent); }
.wiz-slot-pages { margin: var(--space-2) 0 0; }
.wiz-mine { margin: 0 0 var(--space-4); }
.wiz-mine .wiz-ok { margin-bottom: var(--space-2); }
.wiz-mine-acts { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.wiz-mine-acts form { margin: 0; }
