/* Camp Good Dog live booking. Reuses the calendar, card and time styles from booking.css
   (same grey-to-green day shading); this sheet adds the live cards, form, receipt and notice. */
.live-booking{--b-ink:var(--ink,#183931);--b-paper:var(--paper,#f6f1e4);--b-cream:#fbf8ef;--b-leaf:#dcebc4;--b-moss:#567225;--b-line:#c9d3bf;--b-error:#9b2c1f;padding-top:0}
.live-booking [hidden],.booking-preview[hidden],.live-intro[hidden]{display:none!important}
.live-booking[data-guided-step="details"] .booking-calendar-card,.live-booking[data-guided-step="review"] .booking-calendar-card,
.live-booking[data-guided-step="details"] [data-live-step],.live-booking[data-guided-step="review"] [data-live-step]{display:none}
.live-booking[data-guided-step="details"] .booking-layout,.live-booking[data-guided-step="review"] .booking-layout{grid-template-columns:minmax(0,1fr)}
.live-booking[data-guided-step="details"] .booking-summary,.live-booking[data-guided-step="review"] .booking-summary{position:static;box-sizing:border-box;min-width:0;width:100%;max-width:880px;margin-inline:auto}
.live-booking .guided-intake,.live-booking .guided-check{min-width:0;overflow-wrap:anywhere}
.live-booking .guided-dog{padding:1rem 0;border-top:1px solid var(--b-line);margin-top:1rem}
.live-booking .guided-intake label{display:block;font-weight:600;margin:.8rem 0}
.live-booking .guided-intake input:not([type=checkbox]),.live-booking .guided-intake select,.live-booking .guided-intake textarea{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:46px;padding:10px;border:1px solid var(--b-line);border-radius:8px;background:#fff;color:var(--b-ink);font:inherit}
.live-booking .guided-intake textarea{min-height:86px;resize:vertical}
.live-booking .guided-intake input[type=checkbox]{width:20px;height:20px;margin-right:8px;vertical-align:middle}
.live-booking .guided-intake details{margin:.8rem 0;padding:.7rem;border:1px solid var(--b-line);border-radius:8px}
.live-booking .guided-intake summary{cursor:pointer;min-height:44px;align-content:center}
.live-booking .guided-intake button{min-height:44px;max-width:100%;white-space:normal;padding:10px 14px;border:1px solid var(--b-line);border-radius:8px;font:inherit;color:var(--b-ink);background:var(--b-leaf)}
.live-booking .guided-step-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.live-booking .guided-warning,.live-booking .guided-boarding-receipt{padding:1rem;border-left:4px solid var(--b-moss);background:var(--b-cream);overflow-wrap:anywhere}
.live-booking .guided-intake :focus-visible,.live-booking .guided-check:focus{outline:3px solid var(--b-moss);outline-offset:3px}
.live-booking[data-guided-step="retry"] .live-consent{display:none}
.live-closed{max-width:720px;margin:0 auto 28px}
.live-closed h3{margin:0 0 10px}
.live-contact-links a,.live-closed-note a{font-weight:700;color:var(--b-ink)}
.live-step{margin:0 0 24px}
.live-step h3{margin:0 0 12px}
.live-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}
.live-card{min-height:64px;padding:14px 16px;border:1px solid var(--b-line);border-radius:16px;background:#fff;color:var(--b-ink);font:inherit;text-align:left;cursor:pointer;display:flex;align-items:center}
.live-card b{font-size:16px;line-height:1.3}
.live-card[aria-pressed=true]{border:2px solid var(--b-ink);background:var(--b-leaf);box-shadow:inset 0 0 0 2px #fff}
.live-card:disabled{cursor:default;opacity:.6}
.live-booking{--b-next:#214d39;--b-next-hover:#306348;--b-done:#e4efd9}
@property --cgd-next-step-tone{syntax:'<color>';inherits:true;initial-value:#214d39}
@media(prefers-reduced-motion:no-preference){
  .live-booking [aria-current=step]{animation:cgd-next-step-quiet-contrast .3s ease-out 1}
}
@keyframes cgd-next-step-quiet-contrast{from{--cgd-next-step-tone:#466b51}to{--cgd-next-step-tone:#214d39}}
.live-booking [aria-current=step] .live-card:not(:disabled),.live-booking [aria-current=step].booking-times .live-time:not(:disabled),.live-booking button[aria-current=step]:not(:disabled){background:var(--cgd-next-step-tone,var(--b-next));border-color:var(--b-next);color:#fff}
.live-booking [aria-current=step] .live-card:hover:not(:disabled),.live-booking [aria-current=step].booking-times .live-time:hover:not(:disabled),.live-booking button[aria-current=step]:hover:not(:disabled){background:var(--b-next-hover)}
.live-booking [aria-current=step] .live-time small{color:inherit}
.live-booking .live-time[aria-pressed=true]{background:var(--b-done);border-color:var(--b-next);color:var(--b-ink)}
.live-booking .booking-calendar-card[aria-current=step],.live-booking .booking-summary:has([aria-current=step]){border-color:var(--b-next);box-shadow:inset 0 4px 0 var(--b-next)}
.live-booking .booking-calendar-card[aria-current=step] .booking-month{border-radius:10px;padding:4px;background:var(--cgd-next-step-tone,var(--b-next));color:#fff}
.live-booking .booking-calendar-card[aria-current=step] .booking-month h3{color:inherit}
.live-booking .booking-calendar-card:not([aria-current=step]){--b-day-medium:#d3e4bc;--b-day-high:#a9c68f}
.live-booking .booking-calendar-card:not([aria-current=step]) .booking-day[data-availability=medium],.live-booking .booking-calendar-card:not([aria-current=step]) .live-swatch-medium{background:var(--b-day-medium)}
.live-booking .booking-calendar-card:not([aria-current=step]) .booking-day[data-availability=high],.live-booking .booking-calendar-card:not([aria-current=step]) .live-swatch-high{background:var(--b-day-high);color:var(--b-ink)}
.live-booking .booking-calendar-card:not([aria-current=step]) .booking-day[aria-pressed=true]{background:var(--b-done);color:var(--b-ink)}
.live-booking :is([data-live-guided-details],[data-live-guided-check])[aria-current=step]{border-inline-start:4px solid var(--cgd-next-step-tone,var(--b-next));border-radius:6px;padding-inline-start:clamp(8px,2vw,18px)}
.live-card:focus-visible,.live-form input:focus-visible,.live-form a:focus-visible,.live-privacy summary:focus-visible{outline:3px solid var(--b-moss);outline-offset:3px}
.live-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:12px 0 0;padding:0;list-style:none;font-size:14px}
.live-legend li{display:flex;align-items:center;gap:6px}
.live-legend .swatch{display:inline-block;width:16px;height:16px;border-radius:4px;border:1px solid #b9beb5}
.live-swatch-none{background:#e4e6e1}
.live-swatch-low{background:#edf4e4}
.live-swatch-medium{background:#9fbe7b}
.live-swatch-high{background:#315e3d}
.live-time small{font-size:13px}
.live-form{margin:20px 0 0}
.live-fieldset{border:0;margin:0;padding:0;min-width:0}
.live-fieldset legend{font-weight:800;font-size:18px;margin:0 0 8px;padding:0}
.live-fieldset:disabled{opacity:.72}
.live-field{display:flex;flex-direction:column;gap:6px;margin:0 0 14px}
.live-field label{font-weight:700}
.live-field label span{font-weight:400}
.live-field input[type=text],.live-field input[type=email],.live-field input[type=tel]{width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;border:1px solid #8c9a84;border-radius:12px;background:#fff;color:var(--b-ink);font:inherit;font-size:16px}
.live-field input[aria-invalid=true]{border:2px solid var(--b-error)}
.live-field-hint{margin:0;font-size:14px}
.live-field-error{margin:0;color:var(--b-error);font-weight:700;font-size:15px}
.live-consent{flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:10px}
.live-consent input{width:24px;height:24px;margin:2px 0 0;flex:0 0 auto}
.live-consent label{flex:1 1 200px;font-weight:400}
.live-consent .live-field-error{flex-basis:100%}
.live-error-summary{border:2px solid var(--b-error);border-radius:14px;padding:12px 16px;margin:0 0 16px;background:#fff}
.live-error-summary p{margin:0 0 6px;color:var(--b-error)}
.live-error-summary ul{margin:0;padding-left:20px}
.live-error-summary a{color:var(--b-error);font-weight:700}
.live-receipt{outline:none}
.live-ref{font-size:20px;margin:8px 0}
.live-ref strong{font-size:26px;letter-spacing:.04em;font-variant-numeric:tabular-nums;white-space:nowrap}
.live-save{font-weight:700}
.live-new-attempt{margin-top:12px}
/* Optional request workflow (v2): approval note, separate SMS opt-in, pending receipt. */
.live-approval-note{margin:0 0 14px;padding:10px 14px;border-radius:12px;border:1px solid var(--b-line);background:var(--b-cream);font-size:15px;line-height:1.45}
.live-approval-note[data-approval=required]{border:2px solid #a8782a;background:#fff6e2}
.live-sms-consent{padding:12px 14px;border:1px dashed var(--b-line);border-radius:12px;background:#fff}
.live-sms-consent .live-field-hint{flex-basis:100%;padding-left:34px;box-sizing:border-box}
.live-consent input:focus-visible{outline:3px solid var(--b-moss);outline-offset:3px}
.live-receipt[data-live-receipt-status=pending]{border-left:6px solid #a8782a;padding-left:14px}
.live-receipt[data-live-receipt-status=denied],.live-receipt[data-live-receipt-status=expired],.live-receipt[data-live-receipt-status=cancelled]{border-left:6px solid #8c9a84;padding-left:14px}
.live-kicker-pending{color:#7a5512}
.live-receipt dd{overflow-wrap:anywhere}
.live-privacy{margin:28px 0 0}
.live-privacy summary{cursor:pointer;font-weight:800;font-size:18px;min-height:44px;display:flex;align-items:center}
.live-privacy h3{margin:14px 0 10px}
.live-privacy a{color:var(--b-ink)}
/* Optional returning private code: collapsed disclosure, unticked create box, show-once receipt code. */
.live-rc{margin:16px 0 0;padding:0 14px;border:1px solid var(--b-line);border-radius:12px;background:#fff;min-width:0}
.live-rc summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.live-rc-body{padding:0 0 14px;min-width:0}
.live-rc-body .live-field-hint{margin:0 0 10px;overflow-wrap:anywhere}
.live-rc .live-field input[type=text]{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em;text-transform:uppercase}
.live-rc-actions{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 0}
.live-rc-actions button,.live-rc-copy{min-height:44px;max-width:100%;white-space:normal}
.live-rc-actions button[aria-disabled=true]{opacity:.72;cursor:progress}
.live-rc-status{margin:10px 0 0;font-size:15px;overflow-wrap:anywhere}
.live-rc-status[data-tone=error]{color:var(--b-error);font-weight:700}
.live-rc-status[data-tone=success]{font-weight:700}
.live-rc-create{padding:12px 14px;border:1px dashed var(--b-line);border-radius:12px;background:#fff}
.live-rc-create .live-field-hint{flex-basis:100%;padding-left:34px;box-sizing:border-box;overflow-wrap:anywhere}
.live-rc-notice{white-space:normal}
.live-rc-receipt{margin:16px 0;padding:12px 14px;border:2px solid var(--b-ink);border-radius:12px;background:var(--b-cream);min-width:0}
.live-rc-warning{margin:0 0 8px;font-weight:700}
.live-rc-code{margin:0 0 10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:20px;font-weight:700;letter-spacing:.06em;overflow-wrap:anywhere;word-break:break-all;user-select:all}
.live-rc summary:focus-visible,.live-rc input:focus-visible,.live-rc button:focus-visible,.live-rc-receipt button:focus-visible{outline:3px solid var(--b-moss);outline-offset:3px}
.booking-preview-banner{border:2px dashed var(--ink,#183931);border-radius:16px;padding:14px 18px;margin:0 0 20px;font-weight:700;background:#fff}
@media (max-width:520px){
.live-cards{grid-template-columns:1fr}
.live-ref strong{font-size:22px}
.live-privacy summary{font-size:17px}
.live-sms-consent .live-field-hint{padding-left:0}
.live-rc-create .live-field-hint{padding-left:0}
.live-rc{padding:0 12px}
.live-rc-actions button,.live-rc-copy{width:100%}
.live-rc-code{font-size:17px;letter-spacing:.03em}
}
@media (prefers-reduced-motion:reduce){.live-card,.live-time{transition:none}}
