/* BPF 12.5.12.47.21.1 — Guided Decision Flow Standard + Perfect Day repair */
.bpf-guided-shell{max-width:860px;margin:0 auto 18px;border:1px solid rgba(74,150,190,.35);border-radius:20px;background:linear-gradient(145deg,#0b2638,#081e2d);box-shadow:0 14px 34px rgba(0,0,0,.2);padding:18px}
.bpf-guided-head{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;margin-bottom:16px}
.bpf-guided-count{font:800 12px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#69d7e4;white-space:nowrap}
.bpf-guided-bar{height:9px;border-radius:999px;background:#061722;border:1px solid #234c63;overflow:hidden}.bpf-guided-fill{height:100%;width:0;background:linear-gradient(90deg,#338bc9,#68d8e5,#f28a2d);transition:width .25s ease}
.bpf-guided-stage{min-height:190px}.bpf-guided-item{display:none!important}.bpf-guided-item.bpf-guided-current{display:block!important}
.bpf-guided-stage .q,.bpf-guided-stage .qgroup{margin:0!important;padding:4px 0!important;border:0!important;background:transparent!important}
.bpf-guided-stage .q>p:first-child,.bpf-guided-stage .q>b:first-child,.bpf-guided-stage .qlabel{font-family:'Barlow Condensed',Inter,sans-serif!important;font-size:clamp(26px,4vw,36px)!important;line-height:1.02!important;font-weight:900!important;color:#fff!important;margin:0 0 14px!important;text-transform:none!important;letter-spacing:0!important}
.bpf-guided-stage .detail,.bpf-guided-stage .muted-note{color:#a9bfcb!important;line-height:1.5;margin:0 0 16px!important}
.bpf-guided-stage .row,.bpf-guided-stage .opts,.bpf-guided-stage .opt{gap:10px}
.bpf-guided-stage button[data-v],.bpf-guided-stage .opt[data-v]{min-height:48px;border-radius:12px!important}
.bpf-guided-nav{display:grid;grid-template-columns:minmax(100px,.35fr) 1fr;gap:10px;margin-top:16px}.bpf-guided-nav button,.bpf-guided-final{min-height:50px;border-radius:13px;border:1px solid #315b73;font:800 15px/1 Inter,system-ui,sans-serif;cursor:pointer}.bpf-guided-back{background:#0b2233;color:#d9e8ef}.bpf-guided-next{background:#c94c27!important;color:#fff!important;border-color:#c94c27!important}.bpf-guided-nav button:disabled{opacity:.42;cursor:not-allowed}.bpf-guided-next:focus-visible,.bpf-guided-back:focus-visible{outline:3px solid rgba(101,216,231,.45);outline-offset:2px}
.bpf-guided-review{display:none}.bpf-guided-review.bpf-guided-current{display:block}.bpf-guided-review h2{font-family:'Barlow Condensed',Inter,sans-serif;font-size:clamp(30px,5vw,42px);margin:0 0 8px;color:#fff}.bpf-guided-review>p{color:#b6c8d2}.bpf-guided-summary{display:grid;gap:8px;margin:16px 0}.bpf-guided-summary-row{display:grid;grid-template-columns:minmax(150px,.7fr) 1fr;gap:12px;border:1px solid #244c63;border-radius:12px;background:#0a2131;padding:11px 13px}.bpf-guided-summary-row b{color:#68d8e5;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.bpf-guided-summary-row span{color:#f3f8fa;font-weight:700}
.bpf-guided-source-hidden{display:none!important}.bpf-guided-finish-wrap{display:none;margin-top:14px}.bpf-guided-finish-wrap.show{display:block}.bpf-guided-finish-wrap>*{width:100%!important;margin:0!important}

/* Perfect Day: the guided decision flow IS the lead experience. No oversized shared hub hero, no light dead zone. */
html:has(body[data-bpf-guided-flow="perfect-day"]),body[data-bpf-guided-flow="perfect-day"]{min-height:100%!important;background:radial-gradient(circle at 84% -8%,rgba(49,130,199,.24),transparent 34rem),linear-gradient(180deg,#06131e 0%,#04111b 58%,#030c13 100%)!important;color:#f7fbfd!important}
body[data-bpf-guided-flow="perfect-day"]{min-height:100vh!important}
body[data-bpf-guided-flow="perfect-day"] .page{width:min(100%,980px)!important;max-width:980px!important;min-height:calc(100vh - 84px)!important;margin:0 auto!important;padding:18px 20px calc(128px + env(safe-area-inset-bottom,0px))!important;background:transparent!important}
body[data-bpf-guided-flow="perfect-day"] .topbar{min-height:54px!important;margin:0!important;padding:0 2px 11px!important;border-bottom:1px solid rgba(101,216,231,.18)!important;background:transparent!important}
body[data-bpf-guided-flow="perfect-day"] .brand{font-family:'Barlow Condensed',Inter,sans-serif!important;font-size:27px!important;font-weight:900!important;letter-spacing:.025em!important;color:#f7fbfd!important}
body[data-bpf-guided-flow="perfect-day"] .brand span{color:#f28a2d!important}
body[data-bpf-guided-flow="perfect-day"] .pill{background:#0b2233!important;border:1px solid #29516a!important;color:#d9e8ef!important;padding:8px 13px!important}
body[data-bpf-guided-flow="perfect-day"] #view-prepare{padding:0!important;margin:0!important;background:transparent!important}
body[data-bpf-guided-flow="perfect-day"] #view-prepare>.panel{display:none!important}
body[data-bpf-guided-flow="perfect-day"] #view-prepare>.bpf-guided-shell{display:block!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-perfect-day{max-width:780px!important;margin:20px auto 0!important;padding:24px!important;border:1px solid #24516a!important;border-radius:20px!important;background:linear-gradient(150deg,rgba(11,38,56,.99),rgba(6,27,41,.99))!important;box-shadow:0 20px 48px rgba(0,0,0,.3)!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-lead{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid rgba(101,216,231,.16)}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-kicker{display:inline-flex;margin:0 0 7px;font:900 11px/1 Inter,system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:#69d7e4}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-lead h1{margin:0 0 6px!important;font-family:'Barlow Condensed',Inter,sans-serif!important;font-size:clamp(34px,5vw,46px)!important;line-height:.95!important;letter-spacing:-.02em!important;color:#fff!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-lead p{max-width:650px;margin:0!important;color:#afc4cf!important;font-size:14px!important;line-height:1.45!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-head{grid-template-columns:auto 1fr;margin-bottom:20px}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-count{color:#78dce7;font-size:11px}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage{min-height:278px;display:flex;align-items:flex-start}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage>.bpf-guided-current{width:100%}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .qgroup{padding:2px 0 0!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .qlabel{max-width:690px;font-size:clamp(31px,4.5vw,42px)!important;line-height:.98!important;margin-bottom:18px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .muted-note{max-width:680px;color:#9fb4c0!important;font-size:13px!important;margin:14px 0 0!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage input[type=time]{width:min(100%,260px)!important;font-size:20px!important;padding:14px 15px!important;min-height:54px!important;border:1px solid #3a6983!important;border-radius:13px!important;background:#071a27!important;color:#fff!important;color-scheme:dark}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opt{position:relative;display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;min-height:54px!important;padding:13px 44px 13px 15px!important;border:1px solid #315b73!important;border-radius:13px!important;background:#0a2131!important;color:#e5eff4!important;font:800 14px/1.25 Inter,system-ui,sans-serif!important;transition:border-color .15s ease,background .15s ease,transform .15s ease,box-shadow .15s ease}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opt:hover{border-color:#4f8caf!important;background:#0d2c40!important;transform:translateY(-1px)}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opt:focus-visible{outline:3px solid rgba(101,216,231,.45)!important;outline-offset:2px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opt.sel{border-color:#59c8df!important;background:linear-gradient(145deg,#123a50,#0d3044)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(101,216,231,.24)!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opt.sel::after{content:'✓';position:absolute;right:15px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#62d4e3;color:#06202c;font-weight:1000;font-size:13px}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-nav{grid-template-columns:minmax(120px,.34fr) 1fr!important;gap:10px!important;margin-top:20px!important;padding-top:18px!important;border-top:1px solid rgba(101,216,231,.13)!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-nav button{min-height:52px!important;border-radius:13px!important;text-transform:none!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-back{background:#0a2131!important;border-color:#315b73!important;color:#dbe9ef!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-next{background:linear-gradient(180deg,#f49a43,#ed7d1d)!important;border-color:#f28a2d!important;color:#071d2b!important;box-shadow:0 10px 24px rgba(242,138,45,.16)!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-review h2{font-size:clamp(34px,5vw,44px)!important;line-height:.98!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-review>p{margin:0 0 14px!important;color:#afc4cf!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-summary{gap:8px;margin:14px 0!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-summary-row{grid-template-columns:minmax(180px,.8fr) 1fr;border-color:#244c63!important;background:#081e2d!important;padding:10px 12px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-review .boundary{margin:14px 0 0!important;border-color:rgba(242,138,45,.42)!important;background:rgba(242,138,45,.08)!important;color:#f6ddc8!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-perfect-day.is-reviewing .bpf-guided-nav{grid-template-columns:1fr!important;border-top:0!important;padding-top:6px!important;margin-top:6px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-perfect-day.is-reviewing .bpf-guided-back{width:100%!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-finish-wrap.show{display:block!important;margin-top:10px!important}
body[data-bpf-guided-flow="perfect-day"] .bpf-guided-finish-wrap.show #build-btn{min-height:56px!important;border-radius:13px!important;background:linear-gradient(180deg,#f49a43,#ed7d1d)!important;border:0!important;color:#071d2b!important;font:900 17px/1 Inter,system-ui,sans-serif!important;text-transform:none!important;box-shadow:0 12px 26px rgba(242,138,45,.18)!important}
/* Runner/reflection keep the same engine and existing dark presentation. */
body[data-bpf-guided-flow="perfect-day"] #view-run,body[data-bpf-guided-flow="perfect-day"] #view-done{margin-top:18px!important}

@media(max-width:620px){
  .bpf-guided-shell{padding:15px;border-radius:16px}.bpf-guided-head{grid-template-columns:1fr;gap:8px}.bpf-guided-nav{grid-template-columns:1fr}.bpf-guided-summary-row{grid-template-columns:1fr;gap:4px}
  body[data-bpf-guided-flow="perfect-day"] .page{padding:12px 10px calc(122px + env(safe-area-inset-bottom,0px))!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-perfect-day{margin-top:12px!important;padding:18px 15px!important;border-radius:17px!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-lead{padding-bottom:14px;margin-bottom:14px}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-head{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:16px!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage{min-height:0!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-stage .opts{grid-template-columns:1fr!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-nav{grid-template-columns:1fr!important}
  body[data-bpf-guided-flow="perfect-day"] .bpf-guided-summary-row{grid-template-columns:1fr!important;gap:4px!important}
}
