/* wizards: framework-only fixes (the generated wizards.css is never edited). */
/* Hidden steps and parts must really hide (the design's display rules would win over [hidden]). */
body .sb-wizards [hidden] { display: none !important; }
/* The form and each step wrapper add no box: the design's layout (grids, cards, columns) sees the children directly. */
body .sb-wizards .wzf, body .sb-wizards .wzp { display: contents; }
/* Before the script runs, only the shown step is visible (without JS every step shows stacked). */
html.wz-js body .sb-wizards .wzp:not(.cur) { display: none; }
html.wz-js body .sb-wizards .cs.done .opts, html.wz-js body .sb-wizards .cs:not(.done) .me { display: none; }
/* Step headings take focus on step change without a ring; the error summary keeps its box. */
body .sb-wizards [tabindex="-1"]:focus { outline: none; }
body .sb-wizards .alert:focus-visible { outline: var(--st-focus-w) solid var(--pb-text); outline-offset: var(--st-focus-offset); }
/* Back is a real button here (the design used a link): same look as .back. */
body .sb-wizards .wz button.back { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit !important; line-height: inherit; text-align: left; }
/* Links the theme restyles (underline, color) keep the design's look. */
body .sb-wizards .w13 a.btn, body .sb-wizards .w15 a.btn { text-decoration: none; color: var(--pb-on-dark); }
body .sb-wizards a.back, body .sb-wizards .tlink { text-decoration: none; }
body .sb-wizards .w03 .sum a, body .sb-wizards .w16 .alert a, body .sb-wizards .w17 .ih a { text-decoration: underline; }
/* Group join as a real dialog (the design's stage shows when the Button field is empty or ?sb_open is set). */
body .sb-wizards dialog.w05d { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: min(100% - 32px, 560px); overflow: visible; }
body .sb-wizards dialog.w05d::backdrop { background: var(--st-hero-scrim); }
body .sb-wizards dialog.w05d .md { position: relative; left: auto; top: auto; bottom: auto; translate: none; width: 100%; max-height: calc(100vh - 48px); border-radius: var(--st-photo-r); }
html:has(.sb-wizards dialog[open]) { overflow: hidden; }
/* The theme's phone paragraph size reaches <p> elements that carry a heading or label class. */
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards p.h2 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; line-height: var(--st-lh-head) !important; }
body:where(.cc-look-hold-3-6-9) .sb-wizards p.h2 { font-size: var(--st-type-h2) !important; line-height: var(--st-lh-head) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .eyebrow { font-size: var(--fs-small-titles-size) !important; line-height: 1.3 !important; }
body:where(.cc-look-hold-3-6-9) .sb-wizards .eyebrow { font-size: var(--st-type-label) !important; line-height: 1.3 !important; }
/* The theme forces heading colors; the result word keeps the accent. */
body .sb-wizards .w13 .big { color: var(--pb-primary) !important; }
/* A narrow centered column inside the section frame (the frame strips the .wrap width; keep the design's column). */
body .sb-blk.sb-wizards .sec.w02 > .wrap.in { max-width: calc(880px - 2 * var(--gut)) !important; margin-inline: auto; }
body .sb-blk.sb-wizards .sec.w16 > .wrap.in { max-width: calc(720px - 2 * var(--gut)) !important; margin-inline: auto; }
/* Back arrow as inline SVG. */
body .sb-wizards .back .ar { width: 1em; height: 1em; flex: none; margin-right: .4em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body .sb-wizards dialog.w05d { color: var(--pb-text); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w13 .big { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; line-height: .9 !important; }
body:where(.cc-look-hold-3-6-9) .sb-wizards .w13 .big { font-size: var(--st-type-display) !important; line-height: .9 !important; }
/* WIZ-13: the "Your scores" heading (design inline style margin-bottom:16px). */
body .sb-wizards .w13 h3.lbl { margin-bottom: 16px; }
/* WIZ-14: the Change link in the topic chip is the accent color and underlined, as in the design. */
body .sb-wizards .w14 .chip a { color: var(--pb-primary); text-decoration: underline; }
/* WIZ-13: grid children may shrink below their content (a long display word otherwise pushes the bars off the screen). */
body .sb-wizards .w13 .g > div { min-width: 0; }
/* Branding text sizes. Kept here so Studio library re-extraction preserves these roles. */
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards { font-size: var(--fs-copy); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .h-display { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .h1 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .h2 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .h3 { font-size: clamp(calc(var(--fs-medium) * 0.75), 2.65625vw, var(--fs-medium)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .lead { font-size: var(--fs-lead) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .small { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .eyebrow { font-size: var(--fs-small-titles-size); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .role { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .btn { font-size: var(--fs-buttons); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .pagehead h1 { font-size: clamp(calc(var(--fs-hero) * 0.5), 5.5vw, var(--fs-hero)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .rtoggle button { font-size: var(--fs-small); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .wz button { font-size: var(--fs-buttons) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .fld label { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .lgd { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .hint { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .err { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .tile .ts { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .frac { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .hs .l { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .vs .l small { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .stq { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w01 .cn span { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w01 .qty button { font-size: var(--fs-lead) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w01 .qty output { font-size: var(--fs-copy); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w02 .q { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w02 .tile { font-size: var(--fs-copy) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w02 .key { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w03 .sum strong { font-size: var(--size-data-numbers); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w04 .pr { font-size: var(--fs-lead); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w04 .qty button { font-size: var(--fs-lead) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w04 .tot { font-size: var(--fs-lead) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w04 .tot strong { font-size: var(--size-data-numbers); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w05 .x { font-size: var(--fs-buttons) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w06 .rh { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w06 .wk label { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w06 .tabs li { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w07 .crumbs { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w07 .dw span { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w07 .cal button { font-size: var(--fs-buttons); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w07 .empty { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w08 .os .tot { font-size: var(--size-data-numbers); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w09 .dots li { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w09 .tile .tt { font-size: var(--fs-titles-small); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w09 .tile .ts { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w11 .quote { font-size: var(--fs-quotes); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w12 .q { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w12 .sc .n { font-size: var(--fs-copy); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w12 .sc .t { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w13 .big { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w14 .topics a small { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w14 .chip a { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w15 dt { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w17 .ih strong { font-size: var(--fs-titles-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w17 .ih small { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w18 .host { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w18 .opts button { font-size: var(--fs-buttons); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w18 .meter { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w19 label.q { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w19 input { font-size: var(--fs-copy); }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w20 .ring b { font-size: var(--fs-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w04 h2.h3 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w05 h2.h3 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w10 h2.h3 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w20 h2.h3 { font-size: clamp(calc(var(--fs-titles) * 0.65), 3.75vw, var(--fs-titles)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w13 h3.lbl { font-size: clamp(calc(var(--fs-medium) * 0.75), 2.65625vw, var(--fs-medium)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .tile .tt { font-size: var(--fs-titles-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .cn strong { font-size: var(--fs-titles-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .tk strong { font-size: var(--fs-titles-small) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w06 .role strong { font-size: clamp(calc(var(--fs-medium) * 0.75), 2.65625vw, var(--fs-medium)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w09 .tag strong { font-size: clamp(calc(var(--fs-medium) * 0.75), 2.65625vw, var(--fs-medium)) !important; }
body:where(:not(.cc-look-hold-3-6-9)) .sb-wizards .w13 .next strong { font-size: clamp(calc(var(--fs-medium) * 0.75), 2.65625vw, var(--fs-medium)) !important; }
/* 3.6.10: choice tiles inherited a title size from the theme's label rule (38px), so every option read like a heading
   and long options wrapped two words per line (WIZ-02/03/05/11/18/20). Option names are Lead size (looks 09 keep their
   own display tiles). */
body:not(.cc-look-pre-3-6-10) .sb-wizards .tile:not(.w09 .tile) { font-size: var(--fs-copy) !important; }
body:not(.cc-look-pre-3-6-10) .sb-wizards .tile:not(.w09 .tile) .tt { font-size: var(--fs-lead) !important; line-height: 1.3 !important; }
body:not(.cc-look-pre-3-6-10) .sb-wizards .w07-note { margin-top: 24px; }
/* 3.6.10: on a dark band the soft tint (Branding Fifth) that panels, bands and cards paint turns into the same faint light
   tint as the surface, so the white text the band gives them stays readable (WIZ-18 printed white on a light tint). */
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-wizards:not(.sb-edge).sb-dark { --pb-tint: color-mix(in srgb, var(--color-white) 8%, transparent); }
/* 3.6.10: on a dark band 14's picked topic (copy color) paints Branding Dark, and 12's picked number keeps dark words on
   its light tile (both printed white on white). */
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-wizards.sb-dark .w14 .topics a.on { background: var(--pb-ink); }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-wizards .w12 .sc input:checked + label .n { color: var(--pb-ink); }
/* 3.6.10: looks that paint their own light band (WIZ-01/03/18: the category's page color or a tint) keep their light-row colors
   on a dark row, so they render the same on every row. The dark row only turned their text white (white on their own
   light band). */
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) { --pb-text: var(--color-body, var(--color-headings)); --pb-muted: var(--color-muted); --pb-border: var(--color-line); --pb-surface: var(--color-surface, var(--color-fourth)); --form-label-color: inherit; color: var(--pb-text); }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) .btn:not(.ghost):not(:is(.dark, .ink, .is-dark, .on-dark) *) { background: var(--btn-fill); color: var(--btn-color); border-color: var(--btn-border); }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) .btn.ghost:not(:is(.dark, .ink, .is-dark, .on-dark) *) { background: transparent; color: var(--btn-outline); border-color: var(--btn-outline); }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) .tlink:not(:is(.dark, .ink, .is-dark, .on-dark, .photo, .ov) *) { color: var(--color-link); }

/* 3.6.10: the dark row's ".white a:link { color: white !important }" still turned these light-panel looks' links white.
   Their links follow the look as on a light row: plain links the text color, text links the link color. */
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) a:not(.btn):not(.tlink):not(:is(.dark, .ink, .is-dark, .on-dark, .photo, .ov) *):is(:link, :visited, :hover, :active) { color: inherit !important; }
body:not(.cc-look-pre-3-6-10) .sb-blk.sb-blk.sb-blk.sb-blk.sb-wizards.sb-edge.sb-dark:is(.sb-look-01, .sb-look-03, .sb-look-18) a.tlink:not(:is(.dark, .ink, .is-dark, .on-dark, .photo, .ov) *):is(:link, :visited, :hover, :active) { color: var(--color-link) !important; }

/* 3.6.18: connectors run from circle center to circle center, with no final segment. */
body:not(.cc-look-pre-3-6-18) .sb-wizards .hs li:not(:last-child)::after { left: 50%; right: -50%; }
body:not(.cc-look-pre-3-6-18) .sb-wizards .vs li:not(:last-child)::after { top: 18px; bottom: -18px; }
body:not(.cc-look-pre-3-6-18) .sb-wizards :is(.hs, .vs) .d {
 position: relative; z-index: 1;
 background: linear-gradient(var(--pb-surface), var(--pb-surface)), linear-gradient(var(--pb-bg), var(--pb-bg));
}
body:not(.cc-look-pre-3-6-18) .sb-wizards :is(.hs, .vs) .done .d { background: var(--pb-primary); }
body:not(.cc-look-pre-3-6-18) .sb-wizards .w09 .dots li:not(:last-child)::after { left: 7px; right: -7px; }
body:not(.cc-look-pre-3-6-18) .sb-wizards .w09 .dots i { position: relative; z-index: 1; }

/* Late look hold (3.6.18, inc/look-baseline.php): rules above marked cc-look-hold-* keep the 3.6.7 look for sites updating from below that release. */
