/* /home-preview only: the quote quiz (pob-lpform.css) in the home
   preview's own brand (Jordan, 2026-11-08: "can the form follow our
   branding"). Loads after pob-lpform.css; every rule starts with "html" so it
   wins over the shared file without touching /free-quote.
   Brand (playbook v21, 2026-11-19): Sapphire #1355B2 and Pink #F7C3E2 for
   all text and buttons; Fuchsia #F5569B for shapes only, never text; no
   white text on Sapphire; no Black text.
   Bricolage Grotesque 800 for questions (same as the page's headings),
   DM Sans for everything else, pill buttons like the page. */
html .lpf{--ink:#1355B2;--fuchsia:#1355B2;--muted:#1355B2;--line:#F7C3E2;background:#FFFFFF;color:#1355B2;font-family:'DM Sans',Helvetica,Arial,sans-serif}
html .lpf-top{border-bottom:1px solid #F7C3E2;padding:14px clamp(16px,4vw,40px)}
html .lpf-logo{width:40px;height:40px;background:#FFFFFF url("https://res.cloudinary.com/dcprxs9do/image/upload/f_auto,q_auto,w_128,h_128,c_pad/v1795126131/pob_logo_2026.png") center/contain no-repeat}
html .lpf-x{border:2px solid #1355B2;border-radius:50%;color:#1355B2;background:#FFFFFF;font-family:'DM Sans',sans-serif}
html .lpf-bar{background:#F7C3E2}
html .lpf-bar i{background:#1355B2}
html .lpf-back{font-family:'DM Sans',sans-serif;font-size:14px;color:#1355B2}
html .lpf-back:hover{color:#1355B2;opacity:.8}

html .lpf .q-num,html .lpf .st-eb{color:#1355B2;font-family:'DM Sans',sans-serif;letter-spacing:.12em}
html .lpf .q-h{font-family:'Bricolage Grotesque',Helvetica,Arial,sans-serif;font-weight:800;text-transform:none;letter-spacing:-.035em;font-size:clamp(36px,7vw,58px);line-height:.95;color:#1355B2}
html .lpf .q-sub,html .lpf .q-tap,html .lpf .q-key,html .lpf .q-promise,html .lpf .q-trust{font-family:'DM Sans',sans-serif;font-size:14px}

html .lpf input,html .lpf textarea{font-family:'DM Sans',sans-serif;color:#1355B2;border-bottom:2px solid #F7C3E2}
html .lpf input:focus,html .lpf textarea:focus{border-bottom-color:#1355B2}
html .lpf input::placeholder,html .lpf textarea::placeholder{color:#b9c6dd}

/* Choices: the page's pill chips. */
html .lpf .ch button{font-family:'DM Sans',sans-serif;font-size:16px;font-weight:500;color:#1355B2;border:2px solid #1355B2;border-radius:999px;padding:12px 18px;min-height:52px}
html .lpf .ch button:hover{border-color:#F5569B}
html .lpf .ch button[aria-pressed="true"]{background:#1355B2;color:#F7C3E2;border-color:#1355B2}
html .lpf .ch kbd{border-color:#1355B2;color:#1355B2;border-radius:50%}
html .lpf .ch button[aria-pressed="true"] kbd{background:#F7C3E2;color:#1355B2;border-color:#F7C3E2}

/* Buttons: the page's pill buttons. */
html .lpf .ok{font-family:'Bricolage Grotesque',Helvetica,Arial,sans-serif;font-weight:800;text-transform:none;letter-spacing:-.01em;font-size:18px;border-radius:999px;height:52px;padding:0 32px;background:#F7C3E2;color:#1355B2}
html .lpf .ok:hover{background:#1355B2;color:#F7C3E2}
html .lpf .ok.big{height:58px;padding:0 24px;font-size:20px}
/* brand button shadow (2026-11-19): solid offset, no blur; colour follows the background */
html .lpf .ok{box-shadow:inset 0 0 0 2px #1355B2,4px 4px 0 #1355B2}
html .lpf .q-skip{font-family:'DM Sans',sans-serif;font-size:14px;color:#1355B2}

/* Story screens. */
html .lpf .st-ph{border:0;border-radius:24px;background:#F7C3E2}
html .lpf .st-p{font-family:'DM Sans',sans-serif;color:#1355B2}
html .lpf .st-rate{font-family:'DM Sans',sans-serif;color:#1355B2}
html .lpf .st-rate span,html .lpf .st-list li b,html .lpf .q-trust b,html .lpf .pv figcaption span{color:#1355B2}
html .lpf .st-quote{font-family:'Bricolage Grotesque',Helvetica,Arial,sans-serif;font-weight:800;letter-spacing:-.025em;color:#1355B2}
html .lpf .st-list li{font-family:'DM Sans',sans-serif;font-size:15px;border-color:#F7C3E2}
html .lpf .st-list{border-color:#F7C3E2}
html .lpf .pv img{border:0;border-radius:16px;background:#F7C3E2}
html .lpf .q-recap{font-family:'DM Sans',sans-serif;border:2px solid #1355B2;border-radius:999px;color:#1355B2;padding:6px 14px}
html .lpf .q-inspo{border-color:#F7C3E2}
html .lpf .qi-add{border:2px solid #1355B2;border-radius:999px;color:#1355B2;padding:0 18px}
html .lpf .qi-add:hover{background:#1355B2;color:#F7C3E2}
@media(max-width:520px){html .lpf .st-ph{margin:0 0 18px;border:0}}

/* Branded calendar (pob-lp-home.js). The real date input is kept but hidden. */
html .lpf input.pcal-src{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}
html .lpf .pcal{width:100%;max-width:380px;margin:4px 0 6px;background:#FFFFFF;border:2px solid #F7C3E2;border-radius:28px;padding:18px 16px 14px;box-sizing:border-box}
html .lpf .pcal-hd{display:flex;align-items:center;justify-content:space-between;margin:0 2px 12px}
html .lpf .pcal-m{font-family:'Bricolage Grotesque',Helvetica,Arial,sans-serif;font-weight:800;font-size:22px;letter-spacing:-.02em;color:#1355B2}
html .lpf .pcal-m span{color:#1355B2}
html .lpf .pcal-nav{width:40px;height:40px;border-radius:50%;border:2px solid #1355B2;background:#FFFFFF;color:#1355B2;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center;padding:0 0 3px;cursor:pointer}
html .lpf .pcal-nav:hover{background:#F7C3E2}
html .lpf .pcal-nav:disabled{opacity:.25;cursor:default;border-color:#1355B2;color:#1355B2}
html .lpf .pcal-g{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;justify-items:center}
html .lpf .pcal-w{font-family:'DM Sans',sans-serif;font-size:12px;font-weight:700;letter-spacing:.08em;color:#1355B2;padding:2px 0 6px}
html .lpf .pcal-d{width:100%;max-width:44px;aspect-ratio:1;border-radius:50%;border:0;background:transparent;font-family:'DM Sans',sans-serif;font-size:16px;font-weight:500;color:#1355B2;cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}
html .lpf .pcal-d:hover{background:#F7C3E2}
html .lpf .pcal-d.today{box-shadow:inset 0 0 0 2px #F5569B}
html .lpf .pcal-d[aria-pressed="true"]{background:#1355B2;color:#F7C3E2;font-weight:700;box-shadow:none}
html .lpf .pcal-d:disabled{color:#c6cfdf;background:transparent;cursor:default;box-shadow:none}
html .lpf .pcal-d:focus-visible,html .lpf .pcal-nav:focus-visible{outline:2px solid #F5569B;outline-offset:2px}

/* Full-color screens (Jordan 2026-11-08: "Can the form keep fun full colors, and confetti").
   pob-lp-home.js sets data-tone on .lpf: blue = Sapphire with light pink type (4.7:1),
   pink = light pink with Sapphire type (4.7:1). No white on Rose, no checkers, no gradients. */
/* No transition on the tone change (hotfix 2026-11-23): fading background and text in
   opposite directions made them the same color mid-fade, so a screen showed blank Sapphire
   with only the OK button. The tone now never changes at all (one tone per form, same day). */
html .lpf[data-tone="blue"]{background:#1355B2;color:#F7C3E2;--c1:#F5569B;--c2:#F7C3E2;--c3:#FDF5EF}
html .lpf[data-tone="pink"]{background:#F7C3E2;color:#1355B2;--c1:#F5569B;--c2:#1355B2;--c3:#FDF5EF}
html .lpf[data-tone] .lpf-top{border-bottom:0;background:transparent}
html .lpf[data-tone] .lpf-bar{background:rgba(255,255,255,.35)}
html .lpf[data-tone="blue"] .lpf-bar i{background:#F7C3E2}
html .lpf[data-tone] .lpf-x{background:transparent;border-color:currentColor;color:inherit}
html .lpf[data-tone] .lpf-back{color:inherit;border:2px solid currentColor;border-radius:999px;padding:6px 14px;font-weight:700;outline:0}
html .lpf[data-tone] .lpf-back:focus-visible{outline:2px solid #FFFFFF;outline-offset:2px}
html .lpf[data-tone] .lpf-back:hover{color:inherit;opacity:.8}
html .lpf[data-tone] .q-h,html .lpf[data-tone] .st-quote{color:inherit}
html .lpf[data-tone] .q-num,html .lpf[data-tone] .st-eb,html .lpf[data-tone] .st-attr,html .lpf[data-tone] .q-sub,html .lpf[data-tone] .q-trust,html .lpf[data-tone] .q-promise,html .lpf[data-tone] .q-key,html .lpf[data-tone] .st-p,html .lpf[data-tone] .st-rate,html .lpf[data-tone] .q-skip{color:inherit}
html .lpf[data-tone] .q-trust b,html .lpf[data-tone] .st-rate span,html .lpf[data-tone] .pv figcaption span{color:inherit}
html .lpf[data-tone] input,html .lpf[data-tone] textarea{color:inherit;border-bottom-color:currentColor}
html .lpf[data-tone="blue"] input::placeholder,html .lpf[data-tone="blue"] textarea::placeholder{color:rgba(247,195,226,.6)}
html .lpf[data-tone="pink"] input::placeholder,html .lpf[data-tone="pink"] textarea::placeholder{color:rgba(19,85,178,.5)}
html .lpf[data-tone] .q-err{display:none;background:#FDF5EF;color:#1355B2;padding:8px 12px;border-radius:12px}
html .lpf[data-tone] .q-err.on{display:inline-block}
/* Buttons: light pink on blue screens, Sapphire on pink screens. */
html .lpf[data-tone="blue"] .ok{background:#F7C3E2;color:#1355B2}
html .lpf[data-tone="pink"] .ok{background:#1355B2;color:#F7C3E2}
html .lpf[data-tone] .ok:hover{background:#FDF5EF;color:#1355B2}
html .lpf[data-tone="blue"] .ok{box-shadow:4px 4px 0 #F5569B}
html .lpf[data-tone="pink"] .ok{box-shadow:inset 0 0 0 2px #F5569B,4px 4px 0 #F5569B}
html .lpf[data-tone] .ch button{background:transparent;color:inherit;border-color:currentColor}
html .lpf[data-tone="blue"] .ch button[aria-pressed="true"]{background:#F7C3E2;color:#1355B2;border-color:#F7C3E2}
html .lpf[data-tone="pink"] .ch button[aria-pressed="true"]{background:#1355B2;color:#F7C3E2;border-color:#1355B2}
html .lpf[data-tone] .q-recap{color:inherit;border-color:currentColor}
html .lpf[data-tone] .pv img{border:0}
html .lpf[data-tone] .pcal{border-color:#1355B2}
/* Story screen: photo, big quote on color, four bold blocks. */
html .lpf[data-tone] .st-ph{border-radius:24px;background:rgba(255,255,255,.2)}
html .lpf .st-quote{font-size:clamp(28px,6.6vw,40px);line-height:1;margin:0}
html .lpf .st-attr{margin-top:12px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
html .lpf .st-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}
html .lpf .stb{min-width:0;border-radius:20px;padding:14px 14px 13px;background:#F7C3E2;color:#1355B2}
html .lpf .stb:nth-child(2),html .lpf .stb:nth-child(3){background:#FDF5EF}
html .lpf[data-tone="pink"] .stb{background:#1355B2;color:#F7C3E2}
html .lpf[data-tone="pink"] .stb:nth-child(2),html .lpf[data-tone="pink"] .stb:nth-child(3){background:#FDF5EF;color:#1355B2}
html .lpf .stb b{display:block;font-family:'Bricolage Grotesque',Helvetica,Arial,sans-serif;font-weight:800;font-size:22px;line-height:1;letter-spacing:-.02em}
html .lpf .stb span{display:block;margin-top:6px;font-size:13px;font-weight:600;line-height:1.3}
/* Confetti: one gust each time a new screen opens. */
html .lpf .lcf{position:absolute;pointer-events:none;z-index:0}
html .lpf .lcf svg{display:block;width:100%;height:100%;overflow:visible}
html .lpf .lcf-tr{right:-12px;bottom:26px;width:170px;height:64px}
html .lpf .lcf-bl{left:-14px;bottom:10px;width:220px;height:84px}
html .lpf .lpf-main{position:relative;z-index:1}
html .lpf .lcf .cp{transform-box:fill-box;transform-origin:50% 50%}
@media (prefers-reduced-motion:no-preference){html .lpf .lcf.g .cp{animation:lpfgust 1.5s ease-in-out}}
@keyframes lpfgust{0%,100%{transform:none}35%{transform:translate(8px,-5px) rotate(9deg)}65%{transform:translate(3px,-2px) rotate(3deg)}85%{transform:translate(1px,0) rotate(1deg)}}
@media (max-width:700px){html .lpf .q-key{display:none}}

/* No confetti in the form either (Jordan 2026-11-09 "Remove confetti"). */
@media (max-width:1023px),(hover:none),(prefers-reduced-motion:reduce){.lcf{display:none!important}}

/* Story screen fits one phone screen (Jordan 2026-11-09 "Simplify this doesn't all fit to one screen"):
   shorter photo, smaller quote, two proof blocks. */
html .lpf .st-ph{aspect-ratio:auto;height:clamp(110px,22vh,220px);margin:0 0 16px}
html .lpf .st-quote{font-size:clamp(22px,5.4vw,34px);line-height:1.05}
html .lpf .st-attr{margin-top:10px}
html .lpf .st-blocks{margin-top:16px}
@media (max-height:620px){html .lpf .st-ph{height:clamp(80px,15vh,120px);margin-bottom:12px}html .lpf .st-blocks{margin-top:12px}}

/* Real-bookings date check (2026-11-09). Story screen opens with "Good news, Sat Dec 12 is open." and the calendar
   marks days with 4+ booked parties. Data: pob_public_booked_days via assets/pob-lp-home.js. */
html .lpf .st-date{width:100%;max-width:380px;box-sizing:border-box;margin:0 0 12px;padding:10px 14px;border-radius:16px;background:#FFFFFF;color:#1355B2;font-size:14px;line-height:1.4;text-align:left}
html .lpf .st-date b{color:#1355B2}
html .lpf .pcal-d.hot{position:relative}
html .lpf .pcal-d.hot::after{content:'';position:absolute;left:50%;bottom:4px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:#F5569B}
html .lpf .pcal-d.hot[aria-pressed="true"]::after{background:#FFFFFF}
html .lpf .pcal-lg{display:none;align-items:center;gap:6px;justify-content:center;margin:8px 0 0;font-size:12px;font-weight:700;color:#1355B2}
html .lpf .pcal-lg i{width:6px;height:6px;border-radius:50%;background:#F5569B}
html .lpf .pcal:has(.hot) .pcal-lg{display:flex}
/* Scarcity on the date question (Jordan 2026-11-09: "put parties already booked on date select"). */
html .lpf .scar{display:inline-block;margin:0 0 10px;padding:7px 14px;border-radius:999px;background:#F7C3E2;color:#1355B2;font-size:13.5px;font-weight:700}
html .lpf .scar[hidden]{display:none}
/* Title Case on every question (Jordan, 2026-11-19: "Always title case"). The
   questions live in the shared pob-lpform.js, so this only touches the ad pages. */
html .lpf .q-h{text-transform:capitalize}

/* One tone, no white on Sapphire (2026-11-23, Jordan's screenshot of the date screen: "we are having a colors problem").
   The calendar card, the date line and the booked pill were white or pink boxes that only read on one of the two
   old tones. On the single pink tone they are Cream cards with Sapphire type, Sapphire on pink stays the button. */
html .lpf[data-tone] .pcal{background:#FDF5EF;border-color:#1355B2}
html .lpf[data-tone] .pcal-d:disabled{color:rgba(19,85,178,.38)}
html .lpf[data-tone] .st-date{background:#FDF5EF;color:#1355B2}
html .lpf[data-tone] .scar{background:#1355B2;color:#F7C3E2}
html .lpf[data-tone] .lpf-logo{background-color:#FDF5EF}
html .lpf[data-tone] .q-err{color:#1355B2;background:#FDF5EF}
/* Page mode (/free-quote): the form is the page, so the page wears its color edge to edge. */
html .lpf[data-tone]:not(.lpf-ov){min-height:100svh}
html:has(.lpf[data-tone="pink"]:not(.lpf-ov)) body{background:#F7C3E2}
html:has(.lpf[data-tone="blue"]:not(.lpf-ov)) body{background:#1355B2}
