/* Calendar stage: charcoal surfaces and quiet, neutral candidate days. */
#lead-dialog:has(.booking-screen) {width:min(1040px,calc(100% - 32px));max-width:1040px;}
#lead-dialog .booking-screen {padding-bottom:28px;}
#lead-dialog .booking-screen .tiny {display:block;}
#lead-dialog .booking-screen .booking-intro {max-width:690px;}
#lead-dialog .booking-screen .booking-zone {margin:16px 0 24px;font-size:13px;color:var(--muted);}
#lead-dialog .booking-layout {--calendar-bg:#191919;--calendar-ink:#f5f5f3;--calendar-muted:#aaa9a7;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.9fr);gap:0;overflow:hidden;border:1px solid #30302f;border-radius:0;background:var(--calendar-bg);color:var(--calendar-ink);color-scheme:dark;}
#lead-dialog .booking-meet-brand {display:inline-flex;align-items:center;gap:6px;vertical-align:middle;white-space:nowrap;}
#lead-dialog .booking-meet-logo {width:auto;height:24px;object-fit:contain;}
#lead-dialog .booking-meet-logo[hidden] {display:none;}
#lead-dialog .booking-date-panel {min-width:0;padding:27px 30px 26px;}
#lead-dialog .booking-label {display:block;margin:0 0 19px;font-size:11px;font-weight:500;line-height:1.5;letter-spacing:.07em;text-transform:uppercase;color:var(--calendar-muted);}
#lead-dialog .booking-calendar-header {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;}
#lead-dialog .booking-screen .booking-month {margin:0;color:var(--calendar-ink);font-size:25px;font-weight:500;line-height:1.3;letter-spacing:-.03em;text-transform:capitalize;}
#lead-dialog .booking-month-year {color:#969592;font-weight:400;}
#lead-dialog .booking-month-navigation {display:flex;gap:4px;flex-shrink:0;}
#lead-dialog .booking-month-button {display:grid;place-items:center;width:38px;height:40px;padding:0;border:1px solid transparent;border-radius:0;background:transparent;color:var(--orange);font:400 30px/1 General,sans-serif;cursor:pointer;}
#lead-dialog .booking-month-button:hover:not(:disabled) {border-color:var(--orange);background:#30211e;}
#lead-dialog .booking-month-button:disabled {color:#535350;opacity:1;cursor:default;}
#lead-dialog .booking-calendar-grid {display:grid;gap:7px;}
#lead-dialog .booking-calendar-week {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;}
#lead-dialog .booking-weekdays {margin-bottom:9px;}
#lead-dialog .booking-weekdays span {padding-block:4px;color:#bcbcb8;font-size:10px;font-weight:500;line-height:1.5;letter-spacing:.035em;text-align:center;text-transform:uppercase;}
#lead-dialog .booking-calendar-cell {min-width:0;}
#lead-dialog .booking-sr-only {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
#lead-dialog .booking-day {position:relative;display:grid;place-items:center;box-sizing:border-box;width:100%;min-width:0;aspect-ratio:1;min-height:44px;padding:0;border:1px solid #444442;border-radius:0;background:#30302f;color:#f5f5f3;font:500 16px/1.3 General,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s,border-color .15s;}
#lead-dialog .booking-day:hover:not(:disabled) {border-color:var(--orange);background:#41413f;}
#lead-dialog .booking-day:disabled {border-color:transparent;background:transparent;color:#858581;font-weight:400;opacity:1;cursor:default;}
#lead-dialog .booking-day.is-outside:disabled {color:#565653;}
#lead-dialog .booking-day.is-outside:not(:disabled) {border-color:#393937;background:#252524;color:#c9c9c5;}
#lead-dialog .booking-day.is-today::after {position:absolute;bottom:7px;left:calc(50% - 2px);width:4px;height:4px;border-radius:0;background:var(--orange);content:"";}
#lead-dialog .booking-day.is-selected,#lead-dialog .booking-day.is-selected:hover:not(:disabled),#lead-dialog .booking-day.is-selected:disabled {border-color:var(--orange);background:var(--orange);color:#fff;font-weight:500;}
#lead-dialog .booking-screen .booking-help {margin:9px 0 0;font-size:12px;line-height:1.5;color:var(--muted);}
#lead-dialog .booking-screen .booking-date-help {position:relative;margin:23px 0 0;padding-left:17px;color:var(--calendar-muted);font-size:11px;line-height:1.6;}
#lead-dialog .booking-date-help::before {position:absolute;top:4px;left:0;width:8px;height:8px;border:1px solid #686865;border-radius:0;background:#30302f;content:"";}
#lead-dialog .booking-screen .booking-calendar-rules {margin:16px 0 0;color:#d0d0cc;font-size:11px;line-height:1.5;}
#lead-dialog .booking-screen .booking-calendar-range {margin:4px 0 0;color:#93938f;font-size:11px;line-height:1.5;}
#lead-dialog .booking-time-panel {min-width:0;padding:27px 27px 24px;border-left:1px solid #30302f;}
#lead-dialog .booking-time-header {display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:40px;margin-bottom:19px;}
#lead-dialog .booking-screen .booking-day-title {margin:0;color:var(--calendar-ink);font-size:19px;font-weight:500;line-height:1.4;letter-spacing:-.025em;}
#lead-dialog .booking-availability {display:flex;align-items:center;gap:9px;min-height:22px;margin:0 0 13px;color:var(--calendar-muted);font-size:11px;line-height:1.55;}
#lead-dialog .booking-availability .form-spinner {width:14px;height:14px;border-color:#484845;border-top-color:#f5f5f3;}
#lead-dialog .booking-time-panel:is([data-state=empty],[data-state=error]) .booking-availability {min-height:150px;padding:20px 5px;align-items:center;text-align:center;justify-content:center;font-size:13px;}
#lead-dialog .booking-slots {display:grid;grid-template-columns:1fr;align-content:start;gap:9px;max-height:309px;padding:2px 4px 2px 2px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#555551 transparent;}
#lead-dialog .booking-slot {min-width:0;min-height:46px;padding:10px 12px;border:1px solid #555552;border-radius:0;background:#141414;color:#e7e7e3;font:500 16px/1.5 General,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;transition:background .15s,border-color .15s;}
#lead-dialog .booking-slot:hover:not(:disabled) {border-color:var(--orange);background:#292928;}
#lead-dialog .booking-slot[aria-pressed=true],#lead-dialog .booking-slot[aria-pressed=true]:hover:not(:disabled) {border-color:var(--orange);background:var(--orange);color:#fff;}
#lead-dialog .booking-slot:disabled {cursor:default;opacity:.65;}
#lead-dialog .booking-text-button {display:inline-block;min-height:44px;margin:10px 0 -7px;padding:8px 0;border:0;background:transparent;color:#b8b8b2;text-decoration:underline;text-underline-offset:4px;font:400 11px/1.5 General,sans-serif;cursor:pointer;}
#lead-dialog .booking-text-button:disabled {opacity:.5;cursor:default;}
#lead-dialog .booking-summary {margin-top:20px;padding:16px 18px;border-left:3px solid var(--orange);background:var(--soft);}
#lead-dialog .booking-current {margin:0 0 20px;border-left-color:#777772;}
#lead-dialog .booking-current[hidden] {display:none;}
#lead-dialog .booking-summary-label {display:block;margin-bottom:5px;font-size:10px;font-weight:500;letter-spacing:.075em;line-height:1.5;color:var(--muted);}
#lead-dialog .booking-screen .booking-summary-value {margin:0;color:var(--ink);font-size:17px;font-weight:500;line-height:1.5;}
#lead-dialog .booking-screen .booking-summary .booking-help {margin-top:4px;}
#lead-dialog .booking-screen .booking-notice {margin:20px 0 0;padding:0;font-size:14px;line-height:1.6;color:var(--ink);overflow-wrap:anywhere;}
#lead-dialog .booking-controls {display:flex;align-items:stretch;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-top:20px;}
#lead-dialog .booking-controls .button {min-height:50px;margin:0;padding:12px 18px;gap:12px;border-radius:0;font-size:15px;line-height:1.5;}
#lead-dialog .booking-controls .button:disabled {transform:none;}
#lead-dialog .booking-controls .button .form-spinner {border-color:#ffffff80;border-top-color:#fff;}
#lead-dialog .booking-secondary {min-height:48px;padding:10px 14px;border:1px solid #d9dad4;border-radius:0;background:transparent;color:var(--ink);font:inherit;font-size:13px;line-height:1.5;cursor:pointer;}
#lead-dialog .booking-secondary:disabled {opacity:.5;cursor:default;}
#lead-dialog .booking-controls button:focus-visible {outline:2px solid var(--orange);outline-offset:3px;}
#lead-dialog .booking-meet-link {display:inline-block;padding-block:8px;color:var(--orange);font-weight:500;text-decoration:underline;text-underline-offset:4px;}
#lead-dialog .booking-status-note {display:block;margin-top:8px;font-size:13px;color:var(--muted);}
#lead-dialog .booking-screen .booking-preparation {margin:20px 0 0;font-size:13px;line-height:1.6;color:var(--muted);}
#lead-dialog .booking-screen a:focus-visible {outline:2px solid var(--orange);outline-offset:3px;}
#lead-dialog .booking-layout button:focus-visible {position:relative;z-index:1;outline:2px solid var(--orange);outline-offset:2px;}
@media(max-width:800px) and (min-width:621px) {
  #lead-dialog .booking-date-panel {padding:24px 20px;}
  #lead-dialog .booking-time-panel {padding:24px 19px;}
  #lead-dialog .booking-calendar-week {gap:4px;}
  #lead-dialog .booking-day {min-height:38px;font-size:14px;}
  #lead-dialog .booking-screen .booking-month {font-size:22px;}
  #lead-dialog .booking-screen .booking-day-title {font-size:17px;}
  #lead-dialog .booking-layout {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);}
}
@media(max-width:620px) {
  #lead-dialog:has(.booking-screen) {width:100%;max-width:100%;}
  #lead-dialog .booking-layout {grid-template-columns:1fr;border-radius:0;}
  #lead-dialog .booking-date-panel {padding:23px 20px 22px;}
  #lead-dialog .booking-time-panel {padding:22px 20px;border-top:1px solid #30302f;border-left:0;}
  #lead-dialog .booking-label {margin-bottom:14px;font-size:10px;}
  #lead-dialog .booking-calendar-header {margin-bottom:18px;}
  #lead-dialog .booking-screen .booking-month {font-size:24px;}
  #lead-dialog .booking-calendar-week {gap:5px;}
  #lead-dialog .booking-calendar-grid {gap:5px;}
  #lead-dialog .booking-weekdays {margin-bottom:5px;}
  #lead-dialog .booking-day {min-height:36px;font-size:15px;border-radius:0;}
  #lead-dialog .booking-screen .booking-date-help {margin-top:18px;}
  #lead-dialog .booking-time-header {margin-bottom:12px;}
  #lead-dialog .booking-slots {max-height:212px;}
  #lead-dialog .booking-slot {min-height:46px;}
  #lead-dialog .booking-screen .booking-zone {margin-block:14px 20px;font-size:12px;}
  #lead-dialog .booking-summary {margin-top:20px;padding:15px;}
  #lead-dialog .booking-screen .booking-summary-value {font-size:16px;}
  #lead-dialog .booking-controls {flex-direction:column;margin-top:20px;}
  #lead-dialog .booking-controls .button,#lead-dialog .booking-secondary {width:100%;justify-content:center;}
  #lead-dialog .booking-screen {padding-bottom:calc(24px + env(safe-area-inset-bottom));}
}
@media(max-width:360px) {
  #lead-dialog .booking-date-panel,#lead-dialog .booking-time-panel {padding-inline:14px;}
  #lead-dialog .booking-calendar-week {gap:3px;}
  #lead-dialog .booking-screen .booking-month {font-size:21px;}
  #lead-dialog .booking-month-button {width:32px;}
}
@media(prefers-reduced-motion:reduce) {
  #lead-dialog .booking-layout button {transition:none;}
}
