/* ZORO White Label Foundation v1
   One centralized theme layer for every partner simulator. */
html.zoro-white-label {
  --brand-primary:#162A86;
  --brand-primary-hover:color-mix(in srgb,var(--brand-primary) 86%,black);
  --brand-primary-soft:color-mix(in srgb,var(--brand-primary) 8%,white);
  --brand-primary-soft-2:color-mix(in srgb,var(--brand-primary) 14%,white);
  --brand-primary-border:color-mix(in srgb,var(--brand-primary) 38%,white);
  --brand-primary-shadow:color-mix(in srgb,var(--brand-primary) 16%,transparent);
  --brand-primary-focus:color-mix(in srgb,var(--brand-primary) 26%,transparent);
  --brand-ink:#0E1117;
  --brand-surface:#fff;
  --brand-surface-soft:#f7f8fa;
  --brand-muted:#646b76;
}
html.zoro-white-label body{background:var(--brand-surface)!important;color:var(--brand-ink)!important}
html.zoro-white-label.partner-booting .z9,
html.zoro-white-label.partner-booting .journey{visibility:hidden}

/* Landing design system */
html.zoro-white-label .z9{
  --z-red:var(--brand-primary)!important;
  --z-ink:var(--brand-ink)!important;
  --z-muted:var(--brand-muted)!important;
  background:var(--brand-surface)!important;
}
html.zoro-white-label .z9 em,
html.zoro-white-label .z9-nav nav a:hover,
html.zoro-white-label .z9-hero-time svg,
html.zoro-white-label .z9-offer-discount,
html.zoro-white-label .z9-read-more,
html.zoro-white-label .z9-scroll-hint:hover{color:var(--brand-primary)!important}
html.zoro-white-label .z9-button:not(.z9-button-white){background:var(--brand-primary)!important;border-color:var(--brand-primary)!important;box-shadow:0 12px 28px var(--brand-primary-shadow)!important}
html.zoro-white-label .z9-button:not(.z9-button-white):hover{background:var(--brand-primary-hover)!important;box-shadow:0 15px 32px var(--brand-primary-shadow)!important}
html.zoro-white-label .z9-button-white{color:var(--brand-primary)!important}
html.zoro-white-label .z9-red{background:var(--brand-primary)!important}
html.zoro-white-label .z9-pill:not(.z9-pill-light):not(.z9-pill-outline){background:var(--brand-primary-soft)!important;color:var(--brand-primary)!important}
html.zoro-white-label .z9-pill:not(.z9-pill-light):not(.z9-pill-outline) i{background:var(--brand-primary)!important}

/* Keep only the hero illustration in partner sites. All later branded landscape art is removed. */
html.zoro-white-label .z9-companies:before,
html.zoro-white-label .z9-recheck:before,
html.zoro-white-label .z9-preview:before,
html.zoro-white-label .z9-explain:before,
html.zoro-white-label .z9-how:before,
html.zoro-white-label .z9-speed:before,
html.zoro-white-label .z9-factors:before,
html.zoro-white-label .z9-switch:before,
html.zoro-white-label .z9-questions:before,
html.zoro-white-label .z9-closing:before,
html.zoro-white-label .z9-landscape-bridge{display:none!important;background-image:none!important;content:none!important}
html.zoro-white-label .z9-preview,
html.zoro-white-label .z9-explain,
html.zoro-white-label .z9-how,
html.zoro-white-label .z9-speed,
html.zoro-white-label .z9-factors,
html.zoro-white-label .z9-switch,
html.zoro-white-label .z9-questions{background-image:none!important}

/* Simulator design system */
html.zoro-white-label .journey{
  --red:var(--brand-primary)!important;
  --ink:var(--brand-ink)!important;
  background:var(--brand-surface-soft)!important;
  color:var(--brand-ink)!important;
}
html.zoro-white-label .journey-scene{background:none!important;background-image:none!important;background-color:var(--brand-surface-soft)!important}
html.zoro-white-label .journey-content{background:transparent!important}
html.zoro-white-label .journey-focus h1 em,
html.zoro-white-label .journey-brand svg,
html.zoro-white-label .journey-reassure svg,
html.zoro-white-label .journey-note svg,
html.zoro-white-label .journey-add-person svg,
html.zoro-white-label .journey-edit svg,
html.zoro-white-label .journey-summary-heading>svg,
html.zoro-white-label .journey-more>span,
html.zoro-white-label .journey-more-grid b,
html.zoro-white-label .journey-selected-development,
html.zoro-white-label .journey-lead-card>svg,
html.zoro-white-label .journey-lead-selection svg,
html.zoro-white-label .journey-lead-eyebrow,
html.zoro-white-label .premium-story-eyebrow,
html.zoro-white-label .premium-focus-price strong,
html.zoro-white-label .premium-card-discount{color:var(--brand-primary)!important}
html.zoro-white-label .journey-main-button,
html.zoro-white-label .journey-lead-card .offer-lead-submit{background:var(--brand-primary)!important;border-color:var(--brand-primary)!important;color:#fff!important;box-shadow:0 12px 24px var(--brand-primary-shadow)!important}
html.zoro-white-label .journey-main-button:hover,
html.zoro-white-label .journey-lead-card .offer-lead-submit:hover{background:var(--brand-primary-hover)!important}
html.zoro-white-label .journey-main-button:disabled{background:#c9c9cd!important;box-shadow:none!important}

/* Stepper/progress */
html.zoro-white-label .journey-step.is-current{color:var(--brand-primary)!important}
html.zoro-white-label .journey-step.is-current .journey-dot,
html.zoro-white-label .journey-step.is-done .journey-dot{background:var(--brand-primary)!important;border-color:var(--brand-primary)!important}
html.zoro-white-label .journey-step.is-current .journey-dot{box-shadow:0 0 0 3px var(--brand-primary-soft-2)!important}
html.zoro-white-label .journey-step.is-done:not(:last-child):before{background:var(--brand-primary)!important}

/* Inputs / focus / selected controls */
html.zoro-white-label .journey-money:focus-within,
html.zoro-white-label .journey-year-picker:focus-within,
html.zoro-white-label .journey-date-fields input:focus,
html.zoro-white-label .journey-date-fields input:focus-visible,
html.zoro-white-label .period-stepper:focus-within,
html.zoro-white-label .journey-lead-card .offer-lead-fields input:focus{border-color:var(--brand-primary)!important;box-shadow:0 0 0 3px var(--brand-primary-focus)!important;outline:none!important}
html.zoro-white-label .journey-year-picker>button:last-child{border-color:var(--brand-primary)!important;color:var(--brand-primary)!important}
html.zoro-white-label .journey-year-presets button[aria-pressed=true]{background:var(--brand-primary)!important;border-color:var(--brand-primary)!important;color:#fff!important}
html.zoro-white-label .journey-gender-options button.is-chosen,
html.zoro-white-label .journey-smoke-options button.is-chosen{border-color:var(--brand-primary)!important;background:var(--brand-primary-soft)!important}
html.zoro-white-label .journey-gender-options button:hover,
html.zoro-white-label .journey-smoke-options button:hover{border-color:var(--brand-primary-border)!important}
html.zoro-white-label .journey-choice-mark{background:var(--brand-primary)!important}
html.zoro-white-label .journey-smoke-options button.is-chosen>svg{color:var(--brand-primary)!important}
html.zoro-white-label .journey-person-tag{background:var(--brand-primary-soft)!important}

/* Review actions */
html.zoro-white-label .journey-summary-actions .journey-add-person,
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-add-person{border-color:var(--brand-primary-border)!important;color:var(--brand-primary)!important;background:#fff!important}
html.zoro-white-label .journey-summary-actions .journey-add-person:hover,
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-add-person:hover{border-color:var(--brand-primary)!important;color:var(--brand-primary)!important;background:var(--brand-primary-soft)!important}
html.zoro-white-label .journey-summary-actions .journey-remove,
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-remove{color:var(--brand-primary)!important}
html.zoro-white-label .journey-insured-edit:hover,
html.zoro-white-label .journey-insured-edit:focus-visible{border-color:var(--brand-primary)!important;background:var(--brand-primary-soft)!important;color:var(--brand-primary)!important}
html.zoro-white-label .journey-insured-edit:focus-visible,
html.zoro-white-label .journey-summary-actions button:focus-visible{outline-color:var(--brand-primary-focus)!important}

/* Results */
html.zoro-white-label .journey-results .offer-lowest{border-color:var(--brand-primary)!important;background:var(--brand-primary-soft)!important;box-shadow:0 9px 27px var(--brand-primary-shadow)!important}
html.zoro-white-label .journey-results .lowest-badge{background:var(--brand-primary-soft-2)!important;color:var(--brand-primary)!important;border-color:var(--brand-primary-border)!important}
html.zoro-white-label .journey-results .offer-lowest .offer-price strong{color:var(--brand-primary)!important}
html.zoro-white-label .journey-results .offer-cta{border-color:var(--brand-primary)!important;color:var(--brand-primary)!important}
html.zoro-white-label .journey-results .offer-cta:hover{background:var(--brand-primary)!important;color:#fff!important}
html.zoro-white-label .offer-discount{color:var(--brand-primary)!important}

/* Lead / premium dialogs */
html.zoro-white-label .journey-selected-offer{background:#fff!important;border-color:#e2e4e8!important}
html.zoro-white-label .journey-selected-offer::before{background:var(--brand-primary)!important}
html.zoro-white-label .journey-selected-eyebrow{color:var(--brand-primary)!important}
html.zoro-white-label .journey-selected-development:hover{color:var(--brand-primary-hover)!important}
html.zoro-white-label .journey-selected-development:focus-visible,
html.zoro-white-label .premium-years-viewport:focus-visible,
html.zoro-white-label .premium-year-card:focus-visible{outline-color:var(--brand-primary)!important}
html.zoro-white-label .premium-year-card:hover,
html.zoro-white-label .premium-year-card.is-selected{background:var(--brand-primary-soft)!important}
html.zoro-white-label .premium-year-card.is-selected .premium-card-bar{background:var(--brand-primary)!important}

/* Loading: icons remain untouched for now, but progress/tint follows partner brand. */
html.zoro-white-label .journey-loading-track{background:var(--brand-primary-soft-2)!important}
html.zoro-white-label .journey-loading-track i{background:var(--brand-primary)!important}
html.zoro-white-label .journey-loading-caption svg{color:var(--brand-primary)!important}

/* Dynamic partner mark */
html.zoro-white-label .wl-brand-mark{display:flex;flex-direction:column;align-items:center;gap:3px;max-width:190px;color:var(--brand-ink);font-weight:800;text-align:center;line-height:1.1}
html.zoro-white-label .wl-brand-mark img{display:block;max-width:185px;max-height:52px;width:auto;height:auto;object-fit:contain}
html.zoro-white-label .wl-brand-mark small{font-size:12px;font-weight:500;color:var(--brand-muted)}

/* Partner about section */
.wl-about{padding:90px 0;background:#fff}
.wl-about-inner{width:min(100% - 112px,1180px);margin:auto;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:55px;align-items:center}
.wl-about-badge{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--brand-primary-soft);color:var(--brand-primary);font-size:13px;font-weight:800}
.wl-about h2{margin:14px 0 14px;font-size:clamp(34px,4vw,55px);line-height:1.1;letter-spacing:-.04em}
.wl-about p{margin:0;color:var(--brand-muted);font-size:19px;line-height:1.85;white-space:pre-line}
.wl-about-card{min-height:260px;border:1px solid #e7e9ed;border-radius:28px;background:linear-gradient(145deg,#fff,var(--brand-primary-soft));display:grid;place-items:center;padding:34px;text-align:center;box-shadow:0 25px 60px rgba(16,20,28,.06)}
.wl-about-card img{max-width:240px;max-height:110px;object-fit:contain}.wl-about-card strong{font-size:30px}

/* Floating contact actions */
.wl-contact-float{position:fixed;z-index:70;left:22px;bottom:22px;display:flex;flex-direction:column;gap:10px;direction:rtl}
.wl-contact-float a{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 17px;border-radius:999px;text-decoration:none;font:700 14px/1 ZoroHeebo,Arial,sans-serif;box-shadow:0 12px 30px rgba(13,19,29,.15);transition:transform .16s ease,box-shadow .16s ease}
.wl-contact-float a:hover{transform:translateY(-2px);box-shadow:0 15px 35px rgba(13,19,29,.19)}
.wl-contact-call{background:var(--brand-primary);color:#fff}.wl-contact-whatsapp{background:#fff;color:#0E1117;border:1px solid #dfe2e7}
.wl-contact-float svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}

@media(max-width:760px){
  .wl-about{padding:60px 0}.wl-about-inner{width:min(100% - 34px,1180px);grid-template-columns:1fr;gap:24px}.wl-about-card{min-height:180px}.wl-contact-float{left:12px;bottom:12px}.wl-contact-float a{min-width:48px;padding:0 14px}.wl-contact-float a span{display:none}
}


/* CF11 — cache-safe White Label hardening */

/* Never let an uploaded partner logo inherit the size of ZORO's original mark. */
html.zoro-white-label .journey-brand,
html.zoro-white-label .journey-loading-home{
  width:auto!important;
  max-width:min(220px,44vw)!important;
  min-width:0!important;
}
html.zoro-white-label .journey-brand .wl-brand-mark,
html.zoro-white-label .journey-loading-home .wl-brand-mark{
  width:auto!important;
  max-width:min(190px,40vw)!important;
  min-width:0!important;
}
html.zoro-white-label .journey-brand .wl-brand-mark img,
html.zoro-white-label .journey-loading-home .wl-brand-mark img,
html.zoro-white-label .z9-logo .wl-brand-mark img{
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:180px!important;
  max-height:46px!important;
  object-fit:contain!important;
}
html.zoro-white-label .journey-loading-home .wl-brand-mark small,
html.zoro-white-label .journey-brand .wl-brand-mark small{
  font-size:11px!important;
  line-height:1.1!important;
}

/* Generic focus ring inside the simulator must follow the tenant brand. */
html.zoro-white-label .journey button:focus-visible,
html.zoro-white-label .journey input:focus-visible{
  outline-color:var(--brand-primary)!important;
}

/* Inputs / wrappers that used hard-coded ZORO pink. */
html.zoro-white-label .journey-money:focus-within,
html.zoro-white-label .journey-year-picker:focus-within,
html.zoro-white-label .journey-date-fields input:focus,
html.zoro-white-label .journey-date-fields input:focus-visible,
html.zoro-white-label .period-stepper:focus-within{
  border-color:var(--brand-primary)!important;
  box-shadow:0 0 0 3px var(--brand-primary-focus)!important;
}

/* Review controls and destructive/secondary links. */
html.zoro-white-label .journey-add-person,
html.zoro-white-label .journey-add-person svg{
  color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-add-person{
  border-color:var(--brand-primary-border)!important;
  color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-add-person:hover{
  border-color:var(--brand-primary)!important;
  background:var(--brand-primary-soft)!important;
}
html.zoro-white-label .journey-remove{
  color:color-mix(in srgb,var(--brand-primary) 72%,#555)!important;
}

/* Result cards and next-step screen. */
html.zoro-white-label .journey-results .offer-lowest{
  border-color:var(--brand-primary)!important;
  background:var(--brand-primary-soft)!important;
}
html.zoro-white-label .journey-results .lowest-badge,
html.zoro-white-label .journey-results .offer-discount,
html.zoro-white-label .journey-selected-eyebrow,
html.zoro-white-label .journey-selected-development,
html.zoro-white-label .premium-story-eyebrow,
html.zoro-white-label .premium-card-discount,
html.zoro-white-label .premium-focus-price strong{
  color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-selected-offer{
  background:#fff!important;
}
html.zoro-white-label .journey-selected-offer::before{
  background:var(--brand-primary)!important;
}
html.zoro-white-label .premium-year-card:hover,
html.zoro-white-label .premium-year-card.is-selected{
  background:var(--brand-primary-soft)!important;
}
html.zoro-white-label .premium-year-card.is-selected .premium-card-bar{
  background:var(--brand-primary)!important;
}

/* White-label loader: progress follows brand; illustration artwork stays untouched for now. */
html.zoro-white-label .journey-loading-track{
  background:var(--brand-primary-soft-2)!important;
}
html.zoro-white-label .journey-loading-track i{
  background:var(--brand-primary)!important;
}

/* Launch Build 1 — clean white-label simulator */
html.zoro-white-label .journey-scene{background-image:none!important;background:#fff!important}
html.zoro-white-label .journey-results .offer-cta,
html.zoro-white-label .journey-results .offer-row button,
html.zoro-white-label .journey-lead-screen .journey-selected-development,
html.zoro-white-label .journey-selected-eyebrow,
html.zoro-white-label .journey-title-dot{color:var(--brand-primary)!important;border-color:var(--brand-primary)!important}
html.zoro-white-label .journey-results .offer-lowest .offer-cta,
html.zoro-white-label .journey-results .offer-cta:hover{background:var(--brand-primary)!important;color:#fff!important}
.wl-product-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(100%,520px);margin:12px 0 0}
.wl-product-option{display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;min-height:62px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--brand-primary) 30%,#dfe3e8);border-radius:17px;background:#fff;color:#242a33;text-decoration:none;cursor:pointer;font-family:inherit}
.wl-product-option strong{font-size:14px}.wl-product-option span{font-size:11px;color:#747b86}.wl-product-option.is-active{background:color-mix(in srgb,var(--brand-primary) 7%,white);border-color:var(--brand-primary)}
@media(max-width:620px){.wl-product-switch{grid-template-columns:1fr}.wl-product-option{min-height:56px}}
.zoro-product-switch{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:min(100%,540px);margin:12px 0 0}.zoro-product-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;padding:10px;border:1px solid #ead9dc;border-radius:17px;background:#fff;color:#272c35;text-decoration:none;font-family:inherit;cursor:pointer}.zoro-product-option.is-active{border-color:#ef2b3a;background:#fff6f7}.zoro-product-option strong{font-size:14px}.zoro-product-option span{font-size:11px;color:#777f8a}@media(max-width:620px){.zoro-product-switch{grid-template-columns:1fr}}

/* BUILD2 final partner CTA hardening */
html.zoro-white-label .journey-lead-eyebrow,
html.zoro-white-label .journey-title-dot,
html.zoro-white-label .journey-lead-card a,
html.zoro-white-label .journey-lead-card button:not(:disabled){
  --red:var(--brand-primary)!important;
}
html.zoro-white-label .journey-lead-card .offer-lead-submit,
html.zoro-white-label .journey-results .offer-cta,
html.zoro-white-label .journey-lead-card button[type="submit"]{
  background:var(--brand-primary)!important;
  border-color:var(--brand-primary)!important;
  color:#fff!important;
}
html.zoro-white-label .journey-scene{background-image:none!important}
html.zoro-white-label .journey-welcome .journey-scene{background-image:var(--journey-welcome-art,none)!important}

/* Task 8.2 — automatic contrast + partner contact section */
html.zoro-white-label .z9-button:not(.z9-button-white),html.zoro-white-label .journey-lead-card .offer-lead-submit,html.zoro-white-label .journey-year-presets button[aria-pressed=true],html.zoro-white-label .journey-results .offer-cta:hover,html.zoro-white-label .wl-contact-call{color:var(--brand-on-primary,#fff)!important}
.wl-partner-contact{padding:88px 24px;background:#fbfcfd;border-top:1px solid #eef0f2;border-bottom:1px solid #eef0f2}.wl-partner-contact-inner{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}.wl-partner-contact-copy>span{display:inline-block;color:var(--brand-primary);font-weight:800;font-size:13px;margin-bottom:12px}.wl-partner-contact-copy h2{font-size:clamp(30px,4vw,52px);line-height:1.05;margin:0 0 18px;color:#0e1117}.wl-partner-contact-copy p{font-size:16px;line-height:1.8;color:#6b7280;max-width:560px}.wl-partner-contact-details{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wl-partner-contact-details>div{background:#fff;border:1px solid #e5e8ec;border-radius:18px;padding:18px}.wl-partner-contact-details small{display:block;color:#8b929a;font-size:12px;margin-bottom:6px}.wl-partner-contact-details strong{font-size:15px;color:#171b20}.wl-social-links{grid-column:1/-1;display:flex!important;gap:8px!important;flex-wrap:wrap}.wl-social-links a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;border:1px solid #dfe3e7;color:#20262d;text-decoration:none;font-size:12px;font-weight:700}.wl-social-links a:hover{border-color:var(--brand-primary);color:var(--brand-primary)}
@media(max-width:760px){.wl-partner-contact{padding:58px 18px}.wl-partner-contact-inner{grid-template-columns:1fr;gap:28px}.wl-partner-contact-details{grid-template-columns:1fr}}

/* ==========================================================
   ZORO White Label — Derived Brand Tint Root Fix (Task 10.4.1)
   IMPORTANT: the original ZORO landing/simulator CSS contains
   hard-coded rose/pink surfaces. White-label sites must derive
   every accent surface from the partner's single primary color.
   ========================================================== */
html.zoro-white-label{
  --brand-tint-04:color-mix(in srgb,var(--brand-primary) 4%,transparent);
  --brand-tint-06:color-mix(in srgb,var(--brand-primary) 6%,transparent);
  --brand-tint-08:color-mix(in srgb,var(--brand-primary) 8%,transparent);
  --brand-tint-10:color-mix(in srgb,var(--brand-primary) 10%,transparent);
  --brand-tint-12:color-mix(in srgb,var(--brand-primary) 12%,transparent);
  --brand-tint-14:color-mix(in srgb,var(--brand-primary) 14%,transparent);
  --brand-tint-18:color-mix(in srgb,var(--brand-primary) 18%,transparent);
  --brand-tint-24:color-mix(in srgb,var(--brand-primary) 24%,transparent);
  --brand-tint-32:color-mix(in srgb,var(--brand-primary) 32%,transparent);
  --brand-line-soft:color-mix(in srgb,var(--brand-primary) 18%,transparent);
  --brand-line-medium:color-mix(in srgb,var(--brand-primary) 30%,transparent);
}

/* ---------- Partner landing / homepage ---------- */
html.zoro-white-label .z9-phone-choice-active{
  background:var(--brand-tint-06)!important;
  border-color:var(--brand-primary)!important;
  box-shadow:0 5px 14px var(--brand-tint-06)!important;
}
html.zoro-white-label .z9-pill,
html.zoro-white-label .z9-pill-light,
html.zoro-white-label .z9-offer-discount,
html.zoro-white-label .z9-step-icon,
html.zoro-white-label .z9-factor-grid article>span,
html.zoro-white-label .z9-accordion-plus{
  background:var(--brand-tint-10)!important;
}
html.zoro-white-label .z9-pill,
html.zoro-white-label .z9-offer-discount,
html.zoro-white-label .z9-step-icon,
html.zoro-white-label .z9-factor-grid article>span,
html.zoro-white-label .z9-accordion-plus{
  color:var(--brand-primary)!important;
}
html.zoro-white-label .z9-pill-light{color:var(--brand-ink)!important}
html.zoro-white-label .z9-offer-selected{
  background:var(--brand-tint-06)!important;
  border-color:var(--brand-primary)!important;
}
html.zoro-white-label .z9-company-logos>div,
html.zoro-white-label .z9-comparison,
html.zoro-white-label .z9-offer-type,
html.zoro-white-label .z9-factor-grid article,
html.zoro-white-label .z9-factor-grid article:nth-child(2n):before,
html.zoro-white-label .z9-footer,
html.zoro-white-label .z9-footer-grid>nav,
html.zoro-white-label .z9-footer-group{
  border-color:var(--brand-line-soft)!important;
}
html.zoro-white-label .z9-timer{
  border-color:var(--brand-line-medium)!important;
}
html.zoro-white-label .z9-steps article:not(:last-child):after{
  background:var(--brand-line-medium)!important;
}
html.zoro-white-label .z9-accordion details:hover,
html.zoro-white-label .z9-accordion details[open]{
  border-color:var(--brand-line-medium)!important;
}
html.zoro-white-label .z9-comparison{
  box-shadow:0 20px 42px var(--brand-tint-10)!important;
}
/* White-label CTAs stay deliberately shadowless. */
html.zoro-white-label .z9-button,
html.zoro-white-label .z9-button:hover,
html.zoro-white-label .z9-button:focus,
html.zoro-white-label .z9-button:focus-visible{
  box-shadow:none!important;
}

/* ---------- Mortgage/life journey — all residual pink surfaces ---------- */
html.zoro-white-label .journey-loading-track{
  background:var(--brand-tint-12)!important;
}
html.zoro-white-label .journey-step.is-current .journey-dot{
  box-shadow:0 0 0 3px var(--brand-tint-14)!important;
}
html.zoro-white-label .journey-person-tag,
html.zoro-white-label .journey-results .lowest-badge,
html.zoro-white-label .offer-discount-badge,
html.zoro-white-label .journey-thanks-icon,
html.zoro-white-label .premium-year-card:hover,
html.zoro-white-label .premium-year-card.is-selected{
  background:var(--brand-tint-10)!important;
  color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-gender-options button.is-chosen,
html.zoro-white-label .journey-smoke-options button.is-chosen,
html.zoro-white-label .journey-insured-edit:focus-visible,
html.zoro-white-label .journey-insured-edit:hover,
html.zoro-white-label .journey-review-copy .journey-summary-actions .journey-add-person:hover{
  background:var(--brand-tint-06)!important;
  border-color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-results .offer-lowest,
html.zoro-white-label .offer-lowest{
  background:var(--brand-tint-06)!important;
  border-color:var(--brand-line-medium)!important;
}
html.zoro-white-label .journey-selected-offer{
  background:linear-gradient(125deg,#fff 65%,var(--brand-tint-06))!important;
  border-color:var(--brand-line-soft)!important;
  border-top-color:var(--brand-primary)!important;
}
html.zoro-white-label .journey-selected-facts,
html.zoro-white-label .journey-insured-avatar,
html.zoro-white-label .journey-insured-smoking,
html.zoro-white-label .offer-next,
html.zoro-white-label .offer-copy{
  border-color:var(--brand-line-soft)!important;
}
html.zoro-white-label .offer-copy:hover,
html.zoro-white-label .period-stepper>button:hover:not(:disabled),
html.zoro-white-label .period-presets button[aria-pressed=true]{
  background:var(--brand-tint-08)!important;
}
html.zoro-white-label .period-presets button[aria-pressed=true]{
  color:var(--brand-primary)!important;
  border-color:var(--brand-line-medium)!important;
}
html.zoro-white-label .amount-input-wrap,
html.zoro-white-label .amount-panel,
html.zoro-white-label .period-panel,
html.zoro-white-label .period-stepper{
  border-color:var(--brand-line-soft)!important;
}
html.zoro-white-label .amount-input-wrap:focus-within,
html.zoro-white-label .period-stepper:focus-within{
  border-color:var(--brand-primary)!important;
  box-shadow:0 0 0 4px var(--brand-tint-10)!important;
}


/* Task 10.4.2 exact compiled-home overrides.
   partner-simulator.php injects concrete RGBA token values; these selectors document
   the exact source elements in the ZORO compiled homepage. */
html.zoro-white-label .z9-preview-copy>.z9-pill,
html.zoro-white-label .z9-switch>.z9-pill,
html.zoro-white-label .z9 .z9-pill{
  background:var(--brand-primary-soft)!important;
  background-color:var(--brand-primary-soft)!important;
}
html.zoro-white-label .z9 .z9-pill>i{background:var(--brand-primary)!important}
html.zoro-white-label .z9 .z9-offer-discount{background:var(--brand-primary-soft)!important}


/* Task 10.5 — White-label product router + final deterministic brand surfaces */
.wl-product-switch,.zoro-product-switch{display:none!important}
.zoro-product-router[hidden]{display:none!important}
.zoro-product-router{--router-red:var(--brand-primary);--router-ink:var(--brand-ink);--router-muted:#6b717b;position:fixed;inset:0;z-index:100000;overflow:auto;color:var(--router-ink);background:#fff;font-family:ZoroHeebo,Heebo,Arial,sans-serif;direction:rtl}
body.zoro-router-open{overflow:hidden}
.zoro-router-shell{width:min(1180px,100%);min-height:100svh;margin:0 auto;padding:clamp(27px,4.5vh,44px) 24px 48px;display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--brand-primary) 3%,#fff) 100%)}
.wl-router-brand{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--brand-ink)}.wl-router-brand strong{font-size:22px}.wl-router-brand span{font-size:13px;color:#69717c}
.zoro-router-back{position:fixed;top:24px;right:clamp(16px,4vw,70px);min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:0 10px;border:0;background:rgba(255,255,255,.88);color:#565b64;border-radius:999px;font:600 14px/1 inherit;cursor:pointer}.zoro-router-back svg{width:16px;height:16px}
.zoro-router-copy{width:min(760px,100%);margin:clamp(54px,8vh,92px) auto 0;text-align:center}.zoro-router-kicker{display:inline-flex;align-items:center;gap:8px;margin:0 0 15px;color:var(--brand-primary);font-size:14px;font-weight:750}.zoro-router-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand-primary)}
.zoro-router-copy h1{margin:0;color:var(--brand-ink);font-size:clamp(38px,4vw,58px);font-weight:700;letter-spacing:-.035em;line-height:1.08}.zoro-router-copy h1 em{display:block;color:var(--brand-primary);font-style:normal}.zoro-router-copy>p{max-width:620px;margin:16px auto 0;color:#414650;font-size:clamp(17px,1.45vw,21px);line-height:1.55}
.zoro-router-grid{width:min(100%,1010px);margin:38px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.zoro-router-card{position:relative;min-height:238px;display:flex;flex-direction:column;align-items:flex-start;text-align:right;padding:25px 24px 22px;border:1px solid #e0e3e7;border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(14,17,23,.045);color:var(--brand-ink);font:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease}.zoro-router-card:hover{transform:translateY(-3px);border-color:var(--brand-primary);box-shadow:0 15px 36px rgba(14,17,23,.07)}
.zoro-router-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--brand-primary-soft);color:var(--brand-primary)}.zoro-router-icon svg{width:27px;height:27px}.zoro-router-card h2{margin:20px 0 7px;font-size:24px;line-height:1.25}.zoro-router-card p{margin:0;color:#6b717b;font-size:15px;line-height:1.58}.zoro-router-card-action{margin-top:auto;padding-top:18px;display:flex;align-items:center;gap:8px;color:var(--brand-primary);font-size:14px;font-weight:750}.zoro-router-card-action svg{width:17px;height:17px}.zoro-router-note{margin:24px auto 0;color:#555b65;font-size:14px;text-align:center}
@media(max-width:760px){.zoro-router-shell{padding:22px 18px 36px}.zoro-router-back{top:14px;right:10px;font-size:12px}.zoro-router-copy{margin-top:clamp(52px,8vh,75px)}.zoro-router-copy h1{font-size:clamp(32px,9vw,43px)}.zoro-router-copy>p{font-size:16px}.zoro-router-grid{grid-template-columns:1fr;gap:11px;margin-top:26px;max-width:520px}.zoro-router-card{min-height:0;padding:18px;display:grid;grid-template-columns:48px 1fr auto;grid-template-areas:"icon title action" "icon copy action";column-gap:14px;align-items:center}.zoro-router-icon{grid-area:icon;width:48px;height:48px}.zoro-router-card h2{grid-area:title;margin:0 0 3px;font-size:19px}.zoro-router-card p{grid-area:copy;font-size:13px}.zoro-router-card-action{grid-area:action;margin:0;padding:0;font-size:0}.zoro-router-card-action svg{width:20px;height:20px}}
