/* Booking Assistant (V170): the typing booking helper under the booking hero. Uses the shared Solstice tokens from sarah163.css. */
#sarahbook{--sb-bg:var(--color-accent-soft,#f6dde3);--sb-rose:var(--color-accent,#b23a5a);--sb-gold:var(--color-gold,#d9a441);--sb-skin:oklch(84% 0.06 55);--sb-hair:oklch(26% 0.045 35)}
html body:not(#_) #sarahbook{display:grid;gap:12px;max-width:760px;margin:var(--space-lg,28px) auto 4px;padding:18px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px));background:var(--color-paper-2,#fbf7ef);border:1px solid var(--color-rule,#e4d3b6);border-radius:20px;color:var(--color-ink,#3a2a20);box-shadow:none}
html body:not(#_) #sarahbook[hidden]{display:none}
html body:not(#_) #sarahbook .sb-intro{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center}
html body:not(#_) #sarahbook .sb-intro h2{font-family:var(--font-display,serif);font-weight:400;font-size:clamp(1.3rem,1.15rem + .6vw,1.6rem);line-height:1.15;margin:0 0 2px;color:var(--color-ink,#3a2a20);text-align:left;letter-spacing:0;text-transform:none}
html body:not(#_) #sarahbook .sb-intro p{margin:0;color:var(--color-muted,#7a5a44);font-size:.95rem;line-height:1.45;max-width:56ch}
html body:not(#_) #sarahbook .sb-ava{display:block;width:32px;height:32px;flex:none}
html body:not(#_) #sarahbook .sb-ava svg{display:block;width:100%;height:100%}
html body:not(#_) #sarahbook .sb-big{width:64px;height:64px}
html body:not(#_) #sarahbook .sb-reset{background:none!important;border:0!important;box-shadow:none!important;color:var(--color-accent,#b23a5a)!important;font:600 .88rem/1 var(--font-body,sans-serif)!important;padding:8px 4px!important;min-height:0!important;width:auto!important;cursor:pointer;align-self:start}
html body:not(#_) #sarahbook .sb-reset[hidden]{display:none!important}
html body:not(#_) #sarahbook .sb-chat{display:grid;gap:12px;max-height:min(55vh,460px);overflow-y:auto;padding:4px 2px;border-top:1px solid var(--color-rule,#e4d3b6);padding-top:12px}
html body:not(#_) #sarahbook .sb-chat[hidden]{display:none}
html body:not(#_) #sarahbook .sb-msg{max-width:94%;min-width:0;overflow-wrap:anywhere;font-size:.95rem;line-height:1.45}
html body:not(#_) #sarahbook .sb-me{justify-self:end;background:var(--color-accent-soft,#f6dde3);padding:8px 13px;border-radius:14px 14px 4px 14px}
html body:not(#_) #sarahbook .sb-bot{justify-self:start;display:grid;grid-template-columns:32px minmax(0,1fr);gap:8px;align-items:start}
html body:not(#_) #sarahbook .sb-body{display:grid;gap:8px;min-width:0}
html body:not(#_) #sarahbook .sb-body p{margin:0;padding-top:4px}
html body:not(#_) #sarahbook .sb-got,html body:not(#_) #sarahbook .sb-row{display:flex;flex-wrap:wrap;gap:6px}
html body:not(#_) #sarahbook .sb-row[hidden]{display:none}
html body:not(#_) #sarahbook .sb-got span{font-size:.8rem;background:var(--color-paper-3,#efe2c8);border-radius:999px;padding:3px 10px}
html body:not(#_) #sarahbook .sb-got b{font-weight:600}
html body:not(#_) #sarahbook .sb-chip,html body:not(#_) #sarahbook .sb-time{font:500 .88rem/1.2 var(--font-body,sans-serif)!important;color:var(--color-ink,#3a2a20)!important;background:var(--color-paper,#f6efe2)!important;border:1px solid var(--color-rule,#e4d3b6)!important;border-radius:999px!important;padding:8px 13px!important;min-height:38px!important;width:auto!important;box-shadow:none!important;cursor:pointer;text-transform:none!important;letter-spacing:0!important;transition:background-color .15s,border-color .15s,color .15s}
html body:not(#_) #sarahbook .sb-time{font-weight:600!important;font-variant-numeric:tabular-nums}
html body:not(#_) #sarahbook .sb-chip small{color:var(--color-muted,#7a5a44);font-size:.8em}
html body:not(#_) #sarahbook .sb-chip:hover,html body:not(#_) #sarahbook .sb-time:hover{border-color:var(--color-accent,#b23a5a)!important}
html body:not(#_) #sarahbook .sb-time[aria-pressed="true"]{background:var(--color-accent,#b23a5a)!important;border-color:var(--color-accent,#b23a5a)!important;color:var(--color-accent-ink,#fff)!important}
html body:not(#_) #sarahbook .sb-cost{color:var(--color-muted,#7a5a44);font-size:.85rem}
html body:not(#_) #sarahbook .sb-ask{display:flex;gap:8px;margin:0;padding:0;border:0;background:none}
html body:not(#_) #sarahbook .sb-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html body:not(#_) #sarahbook .sb-ask input{flex:1;min-width:0;width:auto;margin:0;font:1rem/1.3 var(--font-body,sans-serif);color:var(--color-ink,#3a2a20);background:var(--color-paper,#f6efe2);border:1px solid var(--color-rule,#e4d3b6);border-radius:999px;padding:11px 16px;min-height:46px}
html body:not(#_) #sarahbook .sb-ask input::placeholder{color:var(--color-muted,#7a5a44);opacity:.85}
html body:not(#_) #sarahbook .sb-ask button{flex:none;width:auto!important;margin:0!important;font:600 1rem/1 var(--font-body,sans-serif)!important;background:var(--color-accent,#b23a5a)!important;color:var(--color-accent-ink,#fff)!important;border:0!important;border-radius:999px!important;padding:0 22px!important;min-height:46px!important;cursor:pointer}
html body:not(#_) #sarahbook .sb-ex{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}
html body:not(#_) #sarahbook .sb-ex .sb-chip{white-space:nowrap;flex:none;min-height:34px!important;padding:6px 12px!important;font-size:.82rem!important}
html body:not(#_) #sarahbook button:focus-visible,html body:not(#_) #sarahbook input:focus-visible{outline:2px solid var(--color-accent,#b23a5a);outline-offset:2px}
@media (max-width:560px){html body:not(#_) #sarahbook{margin-inline:12px;border-radius:16px}html body:not(#_) #sarahbook .sb-intro{grid-template-columns:52px minmax(0,1fr)}html body:not(#_) #sarahbook .sb-big{width:52px;height:52px}html body:not(#_) #sarahbook .sb-reset{grid-column:1/-1;justify-self:end;margin-top:-6px}html body:not(#_) #sarahbook .sb-intro p{font-size:.9rem}}
@media (prefers-reduced-motion:reduce){html body:not(#_) #sarahbook *{transition:none!important}}
/* V171: answers, hours, technician card, extras offer */
html body:not(#_) #sarahbook .sb-quote{margin:0;padding:8px 12px;border-left:3px solid var(--color-gold,#d9a441);background:var(--color-paper,#f6efe2);border-radius:0 10px 10px 0;font-size:.92rem}
html body:not(#_) #sarahbook .sb-hours{list-style:none;margin:0;padding:0;display:grid;gap:2px;font-size:.9rem;max-width:300px}
html body:not(#_) #sarahbook .sb-hours li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--color-rule,#e4d3b6);padding:2px 0}
html body:not(#_) #sarahbook .sb-hours b{font-variant-numeric:tabular-nums;font-weight:600}
html body:not(#_) #sarahbook .sb-staff{display:flex;align-items:center;gap:10px}
html body:not(#_) #sarahbook .sb-staff img{width:64px;height:64px;border-radius:50%;object-fit:cover}
html body:not(#_) #sarahbook .sb-staff small{display:block;color:var(--color-muted,#7a5a44)}
html body:not(#_) #sarahbook .sb-extra{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.88rem}
html body:not(#_) #sarahbook .sb-extra span{color:var(--color-muted,#7a5a44);font-size:.82rem}
html body:not(#_) #sarahbook .sb-chip.sb-small{min-height:32px!important;padding:5px 10px!important;font-size:.82rem!important}
html body:not(#_) #sarahbook .sb-body a{color:var(--color-accent,#b23a5a);font-weight:600}
/* V171 phone tidy: everything stays inside the box; examples wrap onto rows (no sideways scroll line). */
html body:not(#_) #sarahbook,html body:not(#_) #sarahbook *{box-sizing:border-box!important}
html body:not(#_) #sarahbook{width:auto!important;max-width:min(760px,calc(100% - 24px))!important;margin-left:auto!important;margin-right:auto!important;overflow:hidden}
html body:not(#_) #sarahbook>*{min-width:0!important;max-width:100%!important}
html body:not(#_) #sarahbook .sb-intro>*{min-width:0!important}
html body:not(#_) #sarahbook .sb-intro h2,html body:not(#_) #sarahbook .sb-intro p{overflow-wrap:anywhere}
html body:not(#_) #sarahbook .sb-ask{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%!important}
html body:not(#_) #sarahbook .sb-ask input{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important}
html body:not(#_) #sarahbook .sb-ask button{width:auto!important;padding:0 18px!important}
html body:not(#_) #sarahbook .sb-ex{display:flex!important;flex-wrap:wrap!important;overflow:visible!important;gap:6px;padding-bottom:0}
html body:not(#_) #sarahbook .sb-ex .sb-chip{white-space:normal!important;flex:0 1 auto!important;max-width:100%;text-align:left;line-height:1.25!important}
html body:not(#_) #sarahbook .sb-chat{overflow-x:hidden}
@media (max-width:560px){
 html body:not(#_) #sarahbook{padding:14px 14px 14px!important;gap:10px}
 html body:not(#_) #sarahbook .sb-intro{grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;align-items:start}
 html body:not(#_) #sarahbook .sb-big{width:44px!important;height:44px!important}
 html body:not(#_) #sarahbook .sb-intro h2{font-size:1.2rem!important}
 html body:not(#_) #sarahbook .sb-intro p{font-size:.86rem!important;line-height:1.35!important}
 html body:not(#_) #sarahbook .sb-ask input{font-size:16px!important;padding:10px 14px!important;min-height:44px!important}
 html body:not(#_) #sarahbook .sb-ask button{min-height:44px!important;padding:0 16px!important}
 html body:not(#_) #sarahbook .sb-ex .sb-chip{font-size:.8rem!important;padding:6px 11px!important;min-height:32px!important}
 html body:not(#_) #sarahbook .sb-msg{max-width:100%}
}

/* V171: optional extras sit above the times (a time tap moves on to the booking) */
html body:not(#_) #sarahbook .sb-first{display:grid;gap:6px;padding:0 0 10px;margin:0 0 10px;border-bottom:1px solid color-mix(in srgb,var(--color-muted,#7a5a44) 22%,transparent)}
html body:not(#_) #sarahbook .sb-first .sb-extra{margin:0}

/* V171: speak button */
html body:not(#_) #sarahbook .sb-ask:has(.sb-mic){grid-template-columns:minmax(0,1fr) auto auto}
html body:not(#_) #sarahbook .sb-ask .sb-mic{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:0!important;background:var(--color-paper,#f6efe2)!important;color:var(--color-accent,#b23a5a)!important;border:1px solid var(--color-rule,#e4d3b6)!important}
html body:not(#_) #sarahbook .sb-ask .sb-mic[aria-pressed="true"]{background:var(--color-accent,#b23a5a)!important;color:var(--color-accent-ink,#fff)!important}
html body:not(#_) #sarahbook .sb-ask .sb-mic:focus-visible{outline:2px solid var(--color-accent,#b23a5a);outline-offset:2px}

/* V311: waitlist form */
html body:not(#_) #sarahbook .sb-wait{display:grid;gap:8px;margin:6px 0 0;max-width:100%}
html body:not(#_) #sarahbook .sb-wait label{display:grid;gap:3px;font-size:.85rem;color:var(--color-muted,#7a5a44)}
html body:not(#_) #sarahbook .sb-wait input{width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;font:16px/1.3 var(--font-body,sans-serif);padding:9px 12px;border:1px solid var(--color-rule,#e4d3b6);border-radius:10px;background:var(--color-paper,#f6efe2);color:var(--color-ink,#3a2a20)}
html body:not(#_) #sarahbook .sb-wait input:focus-visible{outline:2px solid var(--color-accent,#b23a5a);outline-offset:1px}
html body:not(#_) #sarahbook .sb-wait button{justify-self:start}
html body:not(#_) #sarahbook .sb-wait-msg{margin:0;font-size:.85rem;color:var(--color-accent,#b23a5a)}

/* V171: voice replies on / off (shown after the microphone is used) */
html body:not(#_) #sarahbook .sb-ask{grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:column;grid-auto-columns:auto}
html body:not(#_) #sarahbook .sb-ask .sb-voice{display:inline-flex;align-items:center;justify-content:center;min-width:44px;padding:0!important;background:var(--color-paper,#f6efe2)!important;color:var(--color-accent,#b23a5a)!important;border:1px solid var(--color-rule,#e4d3b6)!important}
html body:not(#_) #sarahbook .sb-ask .sb-voice[hidden]{display:none!important}
html body:not(#_) #sarahbook .sb-ask .sb-voice[aria-pressed="false"]{opacity:.6}
html body:not(#_) #sarahbook .sb-ask .sb-voice:focus-visible{outline:2px solid var(--color-accent,#b23a5a);outline-offset:2px}
/* V171: four controls on a small phone: keep the typing box wide enough */
@media (max-width:420px){
 html body:not(#_) #sarahbook .sb-ask{gap:6px!important}
 html body:not(#_) #sarahbook .sb-ask .sb-mic,html body:not(#_) #sarahbook .sb-ask .sb-voice{min-width:38px!important;width:38px!important}
 html body:not(#_) #sarahbook .sb-ask button[type=submit]{padding:0 12px!important}
 html body:not(#_) #sarahbook .sb-ask input{padding:10px 10px!important}
}

/* V171: no layout jump while the booking page loads (CLS) */
html body:not(#_) #wizard-panel:empty{min-height:60vh}
html body:not(#_) #sarahbook .sb-ex:empty{min-height:34px}
@media (max-width:700px){html body:not(#_) #sarahbook .sb-ex:empty{min-height:70px}}
@media (max-width:420px){html body:not(#_) #sarahbook .sb-ex:empty{min-height:108px}}
