/* BlueProprty partner quizzes (?p=): the partner's ONE brand colour on the neutral Mist page, every step of the seven
   quizzes. The spec: BlueProprty memory project-partner-quiz-theming (David, 2026-11-13/14: colour spec, role map,
   contrast rules; the same spec Claude Design has). Every rule here sits under html[data-bp-theme], which only the
   inline <head> script of a quiz page sets, and only on a ?p= link: a default quiz never matches any of it.

   1. The tokens. The <head> script paints the Dashboard's theme (GET /api/public/partner/:slug/theme, or the copy kept
      on this device for that partner) on <html> before the first paint, as the same names the result page uses:
        --brand (fill)  --brand-hover  --brand-on (text and tick on the fill)  --brand-text (small brand items on the
        grey page)  --brand-text-white (on white cards and tiles)  --brand-tint (the selected answer's fill only)
        --brand-ring (focus ring)  --brand-halo (map pin halo)  --brand-title (the title word: --brand-text, or the
        ink when the theme's title_word is false)  and html[data-bp-on-dark] when the fill carries #111.
      The site computes none of them. While the theme is not known yet (html[data-bp-theme=pending]: a first visit,
      before the read answers), the brand roles show the neutral values below, never BlueProprty's blue.
   2. Mist and the role map: the quiz's own tokens pointed at Mist, then the roles that change (neutral step counter,
      Back, the "30%", the INFO label; the tint on the selected answer; the INFO avatar; the map pin).
   3. GENERATED: every blue the quiz stylesheets write as a literal (tools/partner-theme-literals.py wraps each one in
      var(--bpt-…/--bpf-…, literal)) mapped to the brand tokens or to the neutral at the same lightness.
   "Powered by BlueProprty" keeps #2563EB; consent and legal text take only the link colour. */

/* ---------- 1. tokens: neutral until the theme is known ---------- */
/* The tokens are registered colours so a theme that arrives after the first paint (a first visit, or a kept copy the
   Dashboard has since changed) eases in over --qr-t2 on every brand use at once (the INFO avatar's fill included);
   a theme the <head> script painted before the first style pass shows at once, with nothing to ease from. Nothing on a
   default quiz reads these names (only partner-theme.css and the partner result page do). */
@property --brand{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-hover{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-on{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-text{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-text-white{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-tint{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-ring{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-halo{syntax:'<color>';inherits:true;initial-value:#3B3D41}
@property --brand-title{syntax:'<color>';inherits:true;initial-value:#3B3D41}
html[data-bp-theme][data-bp-theme]{transition:--brand var(--qr-t2) var(--qr-e-io),--brand-hover var(--qr-t2) var(--qr-e-io),--brand-on var(--qr-t2) var(--qr-e-io),--brand-text var(--qr-t2) var(--qr-e-io),--brand-text-white var(--qr-t2) var(--qr-e-io),--brand-tint var(--qr-t2) var(--qr-e-io),--brand-ring var(--qr-t2) var(--qr-e-io),--brand-halo var(--qr-t2) var(--qr-e-io),--brand-title var(--qr-t2) var(--qr-e-io),background-color var(--qr-t2) var(--qr-e-io)} /* doubled attribute: outranks quiz-refine's html:has(.bp-info-layer) transition, whose background-color it keeps */
@media(prefers-reduced-motion:reduce){html[data-bp-theme][data-bp-theme]{transition:none}}
/* while a late theme eases in, the controls' own colour transitions stand aside: each would restart on every frame of the
   tokens' and trail them; everything moves together instead (the <head> script sets this for 0.4 s) */
html[data-bp-theme][data-bp-theme-easing] body :is(.btn-next,.m-cont,.continue,.continue-button,.bp-skip,.opt,.m-tile,.m-pcard,.option,.ctr-none,.m-ctr-none,.tick,.inp,.m-field,.sf-message-seal),html[data-bp-theme][data-bp-theme-easing] body .m-tile::after{transition:none!important}
html[data-bp-theme]{
  --brand:#3B3D41;--brand-hover:#2E3033;--brand-on:#FFFFFF;--brand-text:#3B3D41;--brand-text-white:#3B3D41;
  --brand-tint:#F3F3F4;--brand-ring:#E2E2E3;--brand-halo:#DEDEDF;--brand-title:#1C1D1F;
  --bp-powered:#2563EB; /* fixed: the "Powered by BlueProprty" lockup */
}

/* ---------- 2. Mist: the page, surfaces, ink ---------- */
html[data-bp-theme]{
  --qr-blue:var(--brand);--qr-blue-hover:var(--brand-hover);--qr-blue-tint:var(--brand-tint);
  --qr-ink:#1C1D1F;--qr-ink-2:#55585E;--qr-copy:#55585E;--qr-mute:#66696F;--qr-kicker:#66696F;
  --qr-ring:#C6C7CA;--qr-glyph:#9C9DA1;--qr-rule:#EAEAEA;--qr-line:#1C1D1F14;
  --qr-sky:linear-gradient(0deg,#F5F5F5 0,#F5F5F500 160px),linear-gradient(180deg,#F5F5F5,#EBEBEB);
  --qr-preview-bg:linear-gradient(180deg,#E5E5E5,#EFEFEF);
  --qr-card-bg:#FFFFFFB8;--qr-card-border:#FFFFFF;
  --qr-card-shadow:0 1px 2px #1414160f,0 24px 48px -32px #14141659;
  --qr-blur:blur(18px) saturate(1.5);
  --qr-tile-bg:#FFFFFF;--qr-tile-shadow:0 1px 2px #1414160a,0 10px 24px -18px #1414163d;
  --qr-sel-shadow:0 0 0 1px var(--brand),0 14px 28px -18px #14141659;
  /* the brand button: the result page's own button shadow (result-page.css --btn-shadow), so the two are one system */
  --qr-btn-shadow:inset 0 1px 0 #ffffff33,0 1px 2px color-mix(in srgb,var(--brand) 30%,transparent),0 12px 28px -10px color-mix(in srgb,var(--brand) 55%,transparent);
  --qr-btn-shadow-hover:inset 0 1px 0 #ffffff33,0 2px 4px color-mix(in srgb,var(--brand) 30%,transparent),0 18px 36px -12px color-mix(in srgb,var(--brand) 60%,transparent);
  --mist-icon:#3B3D41;--mist-border:#0000000D;--mist-border-hover:#00000017;--mist-overlay:#1C1D1F66;
  background:#F5F5F5;
  /* brand.js paints the quizzes' older names inline on <html> (--bp-blue, --orange, …): on a partner page they follow the brand */
  --bp-brand:var(--brand)!important;--bp-blue:var(--brand)!important;--bp-blue-hover:var(--brand-hover)!important;
  --bp-blue-soft:var(--brand-tint)!important;--bp-soft:var(--brand-tint)!important;--bp-brand-hover:var(--brand-hover)!important;
  --bp-brand-foreground:var(--brand-on)!important;--orange:var(--brand)!important;--orange-2:var(--brand-hover)!important;
  --orange-dark:var(--brand-hover)!important;--orange-deep:var(--brand-hover)!important;--orange-soft:var(--brand-tint)!important;
}
/* the check drawn in a picked tile: the fill's own text colour (#111 on a light brand) */
html[data-bp-theme]{--qr-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
html[data-bp-theme][data-bp-on-dark]{--qr-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")}
/* the shared engine and the phone panel narrow two inks for contrast on the sky; on Mist they are the spec's */
html[data-bp-theme] body.bp-engine{--qr-mute:#66696F}
html[data-bp-theme] body.bp-engine .app{--qr-copy:#55585E}
html[data-bp-theme] body.bp-engine .ti.pending .v{color:#66696F}
/* page: Mist, its bottom stop back to #F5F5F5 for the overscroll and Safari's bars (theme-color #F5F5F5, set in <head>) */
html[data-bp-theme] body,html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows){background:var(--qr-sky);background-color:#F5F5F5}
@media(max-width:1100px){html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows){background:var(--qr-sky);background-color:#F5F5F5}}
html[data-bp-theme] body .app .m-foot{border-top-color:#FFFFFF99;background:linear-gradient(180deg,#F5F5F5CC 0%,#F5F5F5E6 100%)}
@media(max-width:1100px){html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .question-footer{border-top-color:#FFFFFFB3;background:#F5F5F5E0}}
/* the scene's loading placeholder (epoxy, windows and doors): the Mist photo backdrop */
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .scene-loading{background:var(--qr-preview-bg)}
/* overlays: #1C1D1F at 40%; the base colour under Safari's bar dims with them (#F5F5F5 under it) */
html[data-bp-theme] body .iq-modal-backdrop,html[data-bp-theme] body .bp-info-backdrop,html[data-bp-theme] body .bp-marketing-dialog::backdrop,html[data-bp-theme] body :is(.bp-project-dialog)::backdrop{background:var(--mist-overlay)}
html[data-bp-theme]:has(body>.iq-modal-backdrop.on),html[data-bp-theme] body:has(>.iq-modal-backdrop.on){background-color:#9E9F9F}

/* ---------- solid tiles, sheets and inputs: #FFF with a #000 5% border; the selected answer: tint + 2px brand ---------- */
html[data-bp-theme] body :is(.opt,.m-tile,.m-pcard.fb,.m-pcard.nsure,.ctr-row,.m-ctr-row,.cfg-row,.m-cfg-row,.ctr-none,.m-ctr-none,.sf-size-preset,.sf-exact-card,.pv-area-choice,.pv-border-option,.pv-area-exact,.pv-depth-exact,.inp,.m-field):not(.--sel):not(.--on):not(.is-selected):not([aria-pressed=true]):not(:focus):not(:focus-within){border-color:var(--mist-border)}
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.option,.color-option,.color-slot,.exact-card,.wd-exact,.number-stepper):not(.selected):not(.active):not([aria-pressed=true]):not([aria-checked=true]):not(:focus-within){border-color:var(--mist-border)}
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.exact-field,.wd-exact-fields input,.contact-input input,.wd-contact-input input):not(:focus):not(:focus-within){border-color:var(--mist-border)}
html[data-bp-theme] body :is(.inp,.m-field),html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.exact-field,.wd-exact-fields input,.contact-input input,.wd-contact-input input,.exact-card,.wd-exact,.wd-exact:focus-within){background:#FFFFFF}
@media(hover:hover){
  html[data-bp-theme] body :is(.opt,.m-tile,.sf-size-preset,.pv-area-choice,.pv-border-option):not(.--sel):not([aria-pressed=true]):hover,
  html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .option:not(.selected):not([aria-pressed=true]):not([aria-checked=true]):hover:not(:disabled),
  html[data-bp-theme] body.quiz-paving .pv-equal-choices :is(.opt,.m-tile):not(.--sel):hover{border-color:var(--mist-border-hover)}
}
/* sheets and solid cards: the INFO sheet, the project card, the HVAC decision sheet, the consent dialogs */
html[data-bp-theme] body .bp-info-sheet{background:#FFFFFF;border-color:var(--mist-border)}
html[data-bp-theme] body :is(.sf-message-card,.iq-modal,.bp-marketing-dialog,.bp-project-dialog){border-color:var(--mist-border)}
/* selected: the tint is the fill (the answer's own photo covers it on a photo card) */
html[data-bp-theme] body :is(.opt.dtile,.opt:not(.photo),.m-tile,.m-pcard.fb,.m-pcard.nsure,.ctr-none,.m-ctr-none).--sel,
html[data-bp-theme] body :is(.ctr-row,.m-ctr-row):is(.--on,.--pv),
html[data-bp-theme] body .sf-size-preset[aria-pressed="true"],html[data-bp-theme] body .sf-exact-card.is-selected,
html[data-bp-theme] body.quiz-paving :is(.pv-area-choice.--sel,.pv-border-option.--sel),
html[data-bp-theme] body.quiz-paving[data-step] :is(.shell,.app) .pv-equal-choices .--sel,
html[data-bp-theme] body.quiz-paving .pv-replace-type label:has(input:checked),
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.option.selected:not(.material-card),.option[aria-pressed=true],.option[aria-checked=true],.color-option.selected,.color-slot.active,.color-count button.active),
html[data-bp-theme] body :is(.opt.photo.tally.--on .tally-step,.m-pcard.tally.--on .m-tally-step){background:var(--brand-tint)}
@media(hover:hover){
  html[data-bp-theme] body :is(.opt.dtile,.m-tile).--sel:hover,html[data-bp-theme] body .sf-size-preset[aria-pressed="true"]:hover,
  html[data-bp-theme] body.quiz-paving .pv-equal-choices :is(.opt,.m-tile).--sel:hover{background:var(--brand-tint)}
}
/* the selected answer's icon and the "?" of "Not sure": small brand items (a light brand's darker text shade) */
html[data-bp-theme] body :is(.opt.dtile,.m-tile).--sel .gi,html[data-bp-theme] body.quiz-paving :is(.pv-equal-choices .--sel,.pv-border-option.--sel) .gi,
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.option.selected .icon,.option[aria-pressed=true] .opt-icon,.option.selected:not(.material-card) .icon),
html[data-bp-theme] body.bp-quiz-windows .shell .options>.option[aria-checked="true"] .opt-icon,
html[data-bp-theme] body :is(.m-pcard.fb,.m-pcard.nsure).--sel .fb-q,html[data-bp-theme] body.quiz-paving .pv-replace-type label:has(input:checked) .gi{color:var(--brand-text-white)}
html[data-bp-theme] body.quiz-paving .pv-border-option:not(.--sel) .gi,html[data-bp-theme] body.quiz-paving .pv-replace-type label:not(:has(input:checked)) .gi,
html[data-bp-theme] body :is(.m-pcard.fb,.m-pcard.nsure):not(.--sel) .fb-q,html[data-bp-theme] body .opt.photo .opt-img.fallback{color:var(--qr-glyph)}
@media(max-width:1100px){html[data-bp-theme] body.bp-quiz-epoxy .option.selected:not(.material-card) small{color:var(--qr-copy)}} /* epoxy's phone sheet painted it white for the old filled card */
/* the selected answer's tick badge: the fill (the older sheets' ".opt.dtile.--sel .tick{background:#fff}" outranks
   quiz-refine's and left the desktop tiles' badge white, its white tick unseen; on a partner page the badge is the brand) */
html[data-bp-theme] body :is(.opt.dtile,.m-tile,.m-ctr-none,.ctr-none,.m-pcard).--sel .tick{background:var(--brand);border-color:var(--brand)}
/* ticks and badges on the fill carry --brand-on */
html[data-bp-theme] body :is(.opt,.m-tile,.m-pcard,.ctr-none,.m-ctr-none).--sel .tick svg,html[data-bp-theme] body .ti .dot svg,
html[data-bp-theme] body.bp-quiz-epoxy .options>.option.selected>.checkmark,html[data-bp-theme] body.quiz-paving .pv-area-tick,
html[data-bp-theme] body :is(.opt-reco,.m-tile .opt-reco,.sf-exact-badge,.sf-message-seal,.r-check,.iq-mbtn.prim,.bp-marketing-accept,.bp-preview-close,.bp-skip){color:var(--brand-on)}
html[data-bp-theme] body.bp-quiz-epoxy .answer-dot{color:var(--brand-on)}

/* ---------- the brand button: fill, its text, hover ---------- */
html[data-bp-theme] body :is(.btn-next,.m-cont),html[data-bp-theme] body.bp-engine :is(.btn-next,.m-cont),
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.continue,.continue-button){color:var(--brand-on)}
html[data-bp-theme] body :is(.btn-next,.m-cont):disabled,html[data-bp-theme] body.bp-engine :is(.btn-next,.m-cont):disabled,
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.continue,.continue-button):disabled{color:var(--brand-on)}
@media(hover:hover){
  html[data-bp-theme] body :is(.btn-next,.m-cont):hover:not(:disabled),html[data-bp-theme] body.bp-engine :is(.btn-next,.m-cont):hover:not(:disabled){background:var(--brand-hover);box-shadow:var(--qr-btn-shadow-hover)}
  html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.continue,.continue-button):hover:not(:disabled){background:var(--brand-hover);box-shadow:var(--qr-btn-shadow-hover)}
}

/* ---------- neutral roles (the role map): counter, "30%", rail labels, Back, secondary controls ---------- */
html[data-bp-theme] body .step{color:var(--qr-mute)}
html[data-bp-theme] body .step b,html[data-bp-theme] body.bp-quiz-epoxy #mobile-count b,html[data-bp-theme] body.bp-quiz-windows>.m-top .step b,html[data-bp-theme] body.bp-quiz-windows .wd-project-chip-pill #mobile-count{color:#1C1D1F}
html[data-bp-theme] body .lp-pct,html[data-bp-theme] body .lp-pct #gPct,html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.percentage,.progress-number),html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.percentage,.progress-number) :is(span,strong){color:#1C1D1F}
html[data-bp-theme] body .ti.cur .l,html[data-bp-theme] body.bp-quiz-epoxy .answer-row.current .answer-body>span,html[data-bp-theme] body.bp-quiz-windows .wd-checklist-row--current .wd-checklist-label{color:#1C1D1F}
html[data-bp-theme] body .ti.done .dot{background:var(--brand);border-color:var(--brand)}
html[data-bp-theme] body .bar .knob,html[data-bp-theme] body.bp-quiz-epoxy #progress-knob{box-shadow:0 6px 14px -4px #14141640}
/* the title's highlighted word: --brand-title (the brand's page text shade, or the ink) */
html[data-bp-theme] body :is(.q-title,.m-title,.question-head h1) :is(em,span),html[data-bp-theme] body .r-title em,html[data-bp-theme] body.bp-quiz-epoxy .question-head h1 em{color:var(--brand-title)}
/* epoxy's rail and results text that its own sheets paint in the old brand names on hover: ink */
@media(hover:hover){html[data-bp-theme] body.bp-quiz-epoxy :is(.answer-row.complete:hover .answer-body strong,.restart:hover,.results .reset:hover,.back:hover){color:#1C1D1F}}
html[data-bp-theme] body.bp-quiz-epoxy :is(.done-note strong,.summary-row button,.orange,.r-kicker){color:var(--brand-text)}
/* Back, close and the other secondary controls: #3B3D41, never the brand */
html[data-bp-theme] body .app .m-hback,html[data-bp-theme] body:is(.quiz-spray-foam,.quiz-paving) .app .m-hback,
html[data-bp-theme] body .app .m-hback svg,html[data-bp-theme] body:is(.quiz-spray-foam,.quiz-paving) .app .m-hback svg,
html[data-bp-theme] body.bp-quiz-epoxy :is(.mobile-back,.mobile-back svg,.mobile-back span),html[data-bp-theme] body.bp-quiz-windows :is(.m-hback,.m-hback svg,.mobile-head .back-button),
html[data-bp-theme] body :is(.btn-back,.shell #backBtn),html[data-bp-theme] body:is(.quiz-spray-foam,.quiz-paving) .shell #backBtn,
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .question-footer :is(#back,.back-button),
html[data-bp-theme] body .bp-info-close,html[data-bp-theme] body .reset{color:var(--mist-icon)}
@media(hover:hover){
  html[data-bp-theme] body :is(.btn-back,.shell #backBtn):hover,html[data-bp-theme] body:is(.quiz-spray-foam,.quiz-paving) .shell #backBtn:hover,
  html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .question-footer :is(#back,.back-button):hover:not(:disabled){color:var(--mist-icon)}
}
html[data-bp-theme] body .app .m-hback::before,html[data-bp-theme] body.bp-quiz-epoxy .mobile-back::before{border-color:var(--mist-border);background:#FFFFFF}
html[data-bp-theme] body :is(.btn-back,.shell #backBtn),html[data-bp-theme] body:is(.quiz-spray-foam,.quiz-paving) .shell #backBtn,html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) .question-footer :is(#back,.back-button),html[data-bp-theme] body .reset{border-color:var(--mist-border);background:#FFFFFF}
/* quantity, steppers, add and status lines: neutral controls */
html[data-bp-theme] body :is(.cfg-qty,.m-cfg-qty){background:#F2F2F2;border-color:var(--mist-border)}
html[data-bp-theme] body :is(.cfg-qty,.m-cfg-qty) b,html[data-bp-theme] body :is(.cfg-ok,.m-cfg-ok),html[data-bp-theme] body :is(.inhint,.m-inhint).ok{color:#1C1D1F}
html[data-bp-theme] body :is(.cfg-btn,.m-cfg-btn,.tally-btn,.m-tally-btn,.ctr-btn,.m-ctr-btn,.cfg-add,.m-cfg-add),html[data-bp-theme] body.bp-quiz-windows .number-stepper button{color:var(--mist-icon)}
html[data-bp-theme] body :is(.ctr-btn,.m-ctr-btn){border-color:#0000001A}
html[data-bp-theme] body :is(.cfg-add,.m-cfg-add){border-color:#00000026}
html[data-bp-theme] body.bp-quiz-windows .number-stepper button,html[data-bp-theme] body.bp-quiz-windows .project-toggle span{background:#F2F2F2;color:var(--mist-icon)}
@media(hover:hover){html[data-bp-theme] body .ctr-btn:hover{border-color:#00000033;color:#1C1D1F}html[data-bp-theme] body :is(.cfg-btn,.tally-btn):not(:disabled):hover{background:#F2F2F2}html[data-bp-theme] body .cfg-rm:hover{background:#F2F2F2;color:#1C1D1F}}
html[data-bp-theme] body .iq-modal-ic{background:#F2F2F2;color:var(--mist-icon)}
html[data-bp-theme] body .iq-mbtn:not(.prim){border-color:#0000001A;color:var(--mist-icon)}
html[data-bp-theme] body .pv-area-exact label>span,html[data-bp-theme] body.quiz-paving .pv-border-length{color:#1C1D1F}
/* the old results card (a partner page ends on the result page instead): small text in the text shade */
html[data-bp-theme] body .r-contractor .meta{color:var(--brand-text)}
/* the project card: its number values in ink, its icons neutral, the check badge brand */
html[data-bp-theme] body .sf-message-details [data-detail="thickness"] dd,html[data-bp-theme] body .sf-sent-number{color:#1C1D1F}
html[data-bp-theme] body .sf-sent-number{border-color:var(--mist-border)}
html[data-bp-theme] body .sf-message-footer svg{color:var(--mist-icon)}
html[data-bp-theme] body .sf-message-seal{background:var(--brand)}
html[data-bp-theme] body .sf-message-icon img{content:url("/shared/brand-kit/icon-neutral.svg")} /* the card's mark: neutral, the partner signs the card */

/* ---------- small brand items: focus, links, the consent box, the map pin ---------- */
html[data-bp-theme] body :is(.inp,.m-field):focus,html[data-bp-theme] body.bp-legacy-contact:is([data-step=zip],[data-step=phone]) .inwrap .inp:focus,
html[data-bp-theme] body:is(.bp-quiz-epoxy,.bp-quiz-windows) :is(.exact-field:focus-within,.wd-exact-fields input:focus,.contact-input input:focus,.wd-contact-input input:focus),
html[data-bp-theme] body :is(.ctr-ftinput,.m-ctr-ftinput,.pv-linear-field input):focus,html[data-bp-theme] body .sf-exact-card:focus-within .sf-exact-field{border-color:var(--brand-text-white);box-shadow:0 0 0 4px var(--brand-ring)}
html[data-bp-theme] body :is(.opt,.option,.m-tile,.pv-area-choice):focus-visible{outline:2px solid var(--brand-text);outline-offset:3px}
/* windows and doors' count stepper: the pill takes the focus like the other fields, not its input's own clipped outline */
html[data-bp-theme] body.bp-quiz-windows .number-stepper input:focus-visible{outline:0}
html[data-bp-theme] body.bp-quiz-windows .number-stepper:focus-within{border-color:var(--brand-text-white);box-shadow:0 0 0 4px var(--brand-ring)}
html[data-bp-theme] body :is(.bp-consent a,.bp-marketing-link,.bp-marketing-dialog a,.bp-estimate-notice a),html[data-bp-theme] body .pv-measurements summary{color:var(--brand-text)}
html[data-bp-theme] body .bp-consent-choice input[type=checkbox]{accent-color:var(--brand-text)}
html[data-bp-theme] body :is(.bp-consent,.bp-marketing-dialog) :focus-visible{outline-color:var(--brand-text)}
/* the map pin (today's size): the pin a small brand item, its halo the same colour at 17% */
html[data-bp-theme] body .sf-pin circle[fill="#2563EB"],html[data-bp-theme] body svg circle[fill="#2563EB"][stroke="white"]{fill:var(--brand-text-white)}
html[data-bp-theme] body .sf-pin-halo{fill:color-mix(in srgb,var(--brand-text-white) 17%,transparent);stroke:color-mix(in srgb,var(--brand-text-white) 31%,transparent)}
/* the phone header on a partner link: the plain BlueProprty wordmark stays hidden until the partner's lockup replaces it
   (brand.js), as the desktop rail already does (quiz-refine.css, bp-partner-wait): no big BlueProprty mark before the
   partner's; a link the Dashboard does not know shows it after 3 s */
html[data-bp-theme] body :is(.m-top,.mobile-top,.mobile-head)>:is(img,.bp-home-link),
html[data-bp-theme][data-bp-partner-pending] body .shell>.left>.rail-logo>.bp-home-link,html[data-bp-theme][data-bp-partner-pending] body .shell>.left>.bp-home-link{animation:bp-partner-wait 3s step-end,qr-fade var(--qr-t2) var(--qr-e-io) 3s both}
/* the partner's lockup (and the rail's "Powered by" foot) fades in when the partner read arrives; its logo fades in once loaded */
html[data-bp-theme] body :is(.bp-cobrand,.shell>.left>.bp-home-link.bp-cobrand-powered){animation:qr-fade var(--qr-t2) var(--qr-e-io) both}
html[data-bp-theme] body .bp-cobrand>img.bp-cobrand-logo{transition:opacity var(--qr-t2) var(--qr-e-io)}
html[data-bp-theme] body .bp-cobrand>img.bp-cobrand-logo[data-loading]{visibility:visible;opacity:0}
@media(prefers-reduced-motion:reduce){html[data-bp-theme] body :is(.m-top,.mobile-top,.mobile-head)>:is(img,.bp-home-link),html[data-bp-theme][data-bp-partner-pending] body .shell>.left>.rail-logo>.bp-home-link,html[data-bp-theme][data-bp-partner-pending] body .shell>.left>.bp-home-link{animation:bp-partner-wait 3s step-end}html[data-bp-theme] body :is(.bp-cobrand,.shell>.left>.bp-home-link.bp-cobrand-powered){animation:none}html[data-bp-theme] body .bp-cobrand>img.bp-cobrand-logo{transition:none}}
/* "Powered by BlueProprty": BlueProprty's own blue, always */
@media(hover:hover){html[data-bp-theme] body .shell>.left>.bp-home-link.bp-cobrand-powered:hover>.bp-cobrand-by{color:var(--bp-powered)}}
html[data-bp-theme] body :is(.bp-home-link,.shell>.left>.bp-home-link.bp-cobrand-powered):focus-visible{outline-color:var(--bp-powered)}
/* the icons' dark second tone (paving and the engines' glyphs, K = #0c1e3a): the neutral icon colour */
html[data-bp-theme] body svg [stroke="#0c1e3a"]{stroke:var(--mist-icon)}
html[data-bp-theme] body svg [fill="#0c1e3a"]{fill:var(--mist-icon)}
/* the old completion mark (never shown on a partner page, which ends on the result page): brand anyway */
html[data-bp-theme] body .bp-house-motion circle{fill:var(--brand)}
html[data-bp-theme] body .bp-house-motion .bp-house{fill:var(--brand-on)}
html[data-bp-theme] body .bp-house-motion .bp-smile{stroke:var(--brand)}

/* ---------- the INFO avatar: only its blue parts (hard hat, shirt, "?" bubble) take the fill, their shading kept ----------
   /assets/quiz/info-avatar-*.webp, cut from info-pill-240.webp: -base is the avatar without its blue parts, -shade
   their light and shadow (white/black at the alpha that turns the original blue into each pixel), -cut its outline.
   The <img> draws -base; behind it, the fill under -shade; the whole clipped to -cut. Every INFO icon (the pill, the
   sheet, the desktop tips, epoxy's notes) is this one image, whatever size it is drawn at. */
html[data-bp-theme] body img[src*="/assets/quiz/info-pill-"]{content:url("/assets/quiz/info-avatar-base.webp");background:url("/assets/quiz/info-avatar-shade.webp") 0 0/100% 100% no-repeat,var(--brand);-webkit-mask:url("/assets/quiz/info-avatar-cut.webp") 0 0/100% 100% no-repeat;mask:url("/assets/quiz/info-avatar-cut.webp") 0 0/100% 100% no-repeat}

/* ---------- a prospect's demo (?demo=, html[data-bp-demo], set by the same <head> script) ----------
   Nothing is texted in a demo, so the phone step's card leaves out its line about the estimate being texted ("Your
   estimate will be sent to this number." / "Your estimate + details, together in one text.") and nothing takes its place
   (David, 2026-11-16). Real quizzes keep it. */
html[data-bp-theme][data-bp-demo] body :is(.sf-message-footer,.phone .sms){display:none!important}
html[data-bp-theme][data-bp-demo] body .sf-message-card{padding-bottom:6px}

/* GENERATED by tools/partner-theme-literals.py: do not edit by hand */
html[data-bp-theme]{
  --bpf-0a0c14:#0C0C0C;
  --bpf-0c121c80:#14141680;
  --bpf-0c121cd1:#141416D1;
  --bpf-10182880:#14141680;
  --bpf-11141c:#141414;
  --bpf-1115188c:#1414168C;
  --bpf-15253155:#14141655;
  --bpf-15253199:#14141699;
  --bpf-18232d07:#14141607;
  --bpf-18293625:#14141625;
  --bpf-19369be6:#141416E6;
  --bpf-1b1f2b:#1F1F1F;
  --bpf-1d4ed84d:color-mix(in srgb,var(--brand-hover) 30.2%,transparent);
  --bpf-1d4fd78c:color-mix(in srgb,var(--brand-hover) 54.9%,transparent);
  --bpf-1d4fd7e6:color-mix(in srgb,var(--brand-hover) 90.2%,transparent);
  --bpf-1d4fd7:var(--brand-hover);
  --bpf-1d55d0:var(--brand-hover);
  --bpf-1e293b03:#14141603;
  --bpf-1e293b0a:#1414160A;
  --bpf-1e293b0d:#1414160D;
  --bpf-1e293b19:#14141619;
  --bpf-1e293b22:#14141622;
  --bpf-1e293b3d:#1414163D;
  --bpf-1e293b47:#14141647;
  --bpf-1e293b4c:#1414164C;
  --bpf-1e293b55:#14141655;
  --bpf-1e293b66:#14141666;
  --bpf-1e293b73:#14141673;
  --bpf-1e293b80:#14141680;
  --bpf-2336495e:#1414165E;
  --bpf-25304404:#14141604;
  --bpf-2563eb14:color-mix(in srgb,var(--brand) 7.8%,transparent);
  --bpf-2563eb1f:color-mix(in srgb,var(--brand) 12.2%,transparent);
  --bpf-2563eb24:color-mix(in srgb,var(--brand) 14.1%,transparent);
  --bpf-2563eb26:color-mix(in srgb,var(--brand) 14.9%,transparent);
  --bpf-2563eb2e:color-mix(in srgb,var(--brand) 18%,transparent);
  --bpf-2563eb33:color-mix(in srgb,var(--brand) 20%,transparent);
  --bpf-2563eb66:color-mix(in srgb,var(--brand) 40%,transparent);
  --bpf-2563eb6b:color-mix(in srgb,var(--brand) 42%,transparent);
  --bpf-2563eb73:color-mix(in srgb,var(--brand) 45.1%,transparent);
  --bpf-2563eb80:color-mix(in srgb,var(--brand) 50.2%,transparent);
  --bpf-2563eb8c:color-mix(in srgb,var(--brand) 54.9%,transparent);
  --bpf-2563eb99:color-mix(in srgb,var(--brand) 60%,transparent);
  --bpf-2563eb:var(--brand);
  --bpf-26344412:#14141612;
  --bpf-263e4c0d:#1414160D;
  --bpf-263e4c0f:#1414160F;
  --bpf-263e4c14:#14141614;
  --bpf-263e4c17:#14141617;
  --bpf-263e4c1a:#1414161A;
  --bpf-263e4c1f:#1414161F;
  --bpf-263e4c26:#14141626;
  --bpf-263e4c33:#14141633;
  --bpf-263e4c59:#14141659;
  --bpf-263e4c66:#14141666;
  --bpf-263e4c73:#14141673;
  --bpf-263e4c80:#14141680;
  --bpf-263e4cd6:#141416D6;
  --bpf-263e4cdb:#141416DB;
  --bpf-27323a09:#14141609;
  --bpf-29384c:#373737;
  --bpf-2b374005:#14141605;
  --bpf-314a5b44:#14141644;
  --bpf-314a5b:#474747;
  --bpf-869da8:#999999;
  --bpf-8c95a1:#949494;
  --bpf-8fa9e0:#A9A9A9;
  --bpf-8fb0c2:#AAAAAA;
  --bpf-969c9e:#9B9B9B;
  --bpf-96a9b4:#A6A6A6;
  --bpf-9ebbf6:#BBBBBB;
  --bpf-a9c0f6:#C1C1C1;
  --bpf-adbef3:#C0C0C0;
  --bpf-b3c7f8:#C8C8C8;
  --bpf-b7bdc4:#BCBCBC;
  --bpf-b7c4d9:#C3C3C3;
  --bpf-b8cbf8:#CBCBCB;
  --bpf-c4d5df:#D2D2D2;
  --bpf-c5d4fa:#D4D4D4;
  --bpf-c9e4f1:#DFDFDF;
  --bpf-cbd2d9:#D1D1D1;
  --bpf-cbd5e1:#D4D4D4;
  --bpf-cbd9df:#D6D6D6;
  --bpf-cedcf9:#DCDCDC;
  --bpf-d5e1ff:#E1E1E1;
  --bpf-d5ebf500:#F5F5F500;
  --bpf-d5ebf5e6:#F5F5F5E6;
  --bpf-d5ebf5:#F5F5F5;
  --bpf-d8dee8:#DDDDDD;
  --bpf-d9e1ef:#E0E0E0;
  --bpf-dce3ec:#E2E2E2;
  --bpf-dce6fc:#E6E6E6;
  --bpf-dce9ef:#E6E6E6;
  --bpf-e2e8f0:#E7E7E7;
  --bpf-e3e8ee:#E7E7E7;
  --bpf-e3ecf2:#EAEAEA;
  --bpf-e4e8ee:#E8E8E8;
  --bpf-e4f1f6:#EEEEEE;
  --bpf-e6f2f6:#EFEFEF;
  --bpf-e9effd:#EFEFEF;
  --bpf-eaf3f7cc:#F5F5F5CC;
  --bpf-edf0f5:#F0F0F0;
  --bpf-eef5f6e0:#F5F5F5E0;
  --bpf-eef5f6:#F5F5F5;
  --bpf-eef6f6:#F4F4F4;
  --bpf-eff5ff:#F4F4F4;
  --bpf-f1fafd:#F8F8F8;
  --bpf-f4f7fc:#F7F7F7;
  --bpf-f5f8fe:#F8F8F8;
  --bpf-f5f8ff:#F8F8F8;
  --bpf-f7f9ff:#F9F9F9;
  --bpf-f8faff:#FAFAFA;
  --bpp-7e8389:#8A8D93;
  --bpp-89909a:#8A8D93;
  --bpp-8f939a:#8A8D93;
  --bpp-a3a5aa:#8A8D93;
  --bpp-a6b8c2:#8A8D93;
  --bpp-afb3b6:#8A8D93;
  --bpp-c2c6cf:#8A8D93;
  --bpt-1d4fd7:var(--brand-text);
  --bpt-1e293b:#1C1D1F;
  --bpt-243247:#1C1D1F;
  --bpt-243249:#1C1D1F;
  --bpt-25333b:#1C1D1F;
  --bpt-2563eb66:color-mix(in srgb,var(--brand-text) 40%,transparent);
  --bpt-2563eb:var(--brand-text);
  --bpt-263246:#1C1D1F;
  --bpt-263441:#1C1D1F;
  --bpt-263e4c:#1C1D1F;
  --bpt-267caf:var(--brand-text);
  --bpt-273647:#1C1D1F;
  --bpt-314a5b:#1C1D1F;
  --bpt-364e5b:#1C1D1F;
  --bpt-374a58:#1C1D1F;
  --bpt-3a589a:#55585E;
  --bpt-3c4650:#1C1D1F;
  --bpt-3e4a55:#1C1D1F;
  --bpt-3e5b6a:#55585E;
  --bpt-435060:#55585E;
  --bpt-455369:#55585E;
  --bpt-4c555a:#55585E;
  --bpt-4f6b7a:#55585E;
  --bpt-52606d:#55585E;
  --bpt-52616b:#55585E;
  --bpt-536175:#55585E;
  --bpt-536366:#55585E;
  --bpt-53647c:#55585E;
  --bpt-566e7c:#66696F;
  --bpt-5a6672:#55585E;
  --bpt-5a7280:#66696F;
  --bpt-5b6675:#55585E;
  --bpt-5c6879:#55585E;
  --bpt-627082:#66696F;
  --bpt-64748b:#66696F;
  --bpt-65707c:#66696F;
  --bpt-657080:#66696F;
  --bpt-67717e:#66696F;
  --bpt-6d737c:#66696F;
  --bpt-6e7479:#66696F;
  --bpt-72787c:#66696F;
  --bpt-72796f:#66696F;
  --bpt-73808a:#66696F;
  --bpt-7c8796:#66696F;
  --bpt-7f97a4:#66696F;
  --bpt-858e99:#66696F;
  --bpt-8591a3:#66696F;
  --bpt-89919c:#66696F;
  --bpt-92938d:#9C9DA1;
  --bpt-9aa3b2:#66696F;
  --bpt-9ba1aa:#66696F;
  --bpt-a6acb2:#66696F;
  --bpt-a6b8c2:#66696F;
  --bpt-c5c9d2:#66696F;
  --bpt-e9effd:#66696F;
}
/* END GENERATED */
