.booking-intro { max-width: 1120px; margin: -10px auto 24px; color: var(--blue); font-size: .9375rem; line-height: 1.5; }
.booking-feedback { margin: 0 auto 20px; max-width: 1072px; padding: 16px; }
.book-provider { justify-self: start; margin-top: 6px; padding: 12px 22px; font-size: .9375rem; }
#myAppointments { white-space: nowrap; font-size: .875rem; }
#appointmentCount { display: inline-grid; place-items: center; min-width: 22px; height: 22px; background: var(--sky); border-radius: 20px; margin-left: 5px; }
.booking-dialog { border: 0; border-radius: 20px; padding: 28px 32px 32px; width: min(940px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow: auto; color: var(--ink); box-shadow: 0 22px 90px #002a4d38; }
.booking-dialog::backdrop { background: #00263ecc; backdrop-filter: blur(3px); }
body:has(.booking-dialog[open]) { overflow: hidden; }
.booking-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.demo-label { display: inline-block; background: #e6f5f8; color: #005b6a; border: 1px solid #b6dce2; padding: 6px 10px; border-radius: 6px; font-size: .8125rem; font-weight: 700; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 26px; flex: 0 0 auto; }
.booking-dialog h2 { font-size: 1.75rem; letter-spacing: -.4px; margin: 12px 0 8px; color: var(--deep); }
.booking-disclosure { color: #526e7e; font-size: .9375rem; line-height: 1.5; margin: 0 0 18px; }
.booking-steps { display: flex; list-style: none; padding: 0 0 18px; margin: 0 0 22px; border-bottom: 1px solid var(--line); gap: 30px; }
.booking-steps li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: #617783; }
.booking-steps li span { display: grid; place-items: center; height: 28px; width: 28px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; font-weight: 700; }
.booking-steps .current { font-weight: 700; color: var(--blue); }
.booking-steps li b { font-weight: inherit; }
.booking-steps .current span { color: white; background: var(--blue); border-color: var(--blue); }
.booking-steps .done span { color: #005c68; background: #e4f5f7; border-color: #a8d4da; }
.booking-layout { display: grid; grid-template-columns: minmax(0,1fr) 260px; gap: 32px; align-items: start; }
.booking-dialog h3 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 8px; color: var(--deep); }
.step-help { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin: 0 0 22px; }
.booking-summary { background: #f0f7fb; border: 1px solid #d6e6ee; border-radius: 12px; padding: 22px; overflow-wrap: anywhere; }
.booking-summary .summary-label { color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .7px; margin: 0 0 12px; }
.booking-summary h3 { font-size: 1.125rem; }
.booking-summary p { font-size: .9375rem; line-height: 1.5; margin: 8px 0; }
.summary-address,.summary-prompt { color: #526e7e; }
.booking-summary hr { border: 0; border-top: 1px solid #cfdfe7; margin: 22px 0; }
.summary-date { padding-top: 8px; }
.summary-date strong { color: var(--blue); font-size: 1.25rem; }
.summary-demo { color: #005b6a; margin-top: 24px; padding-top: 14px; border-top: 1px solid #cfdfe7; font-size: .875rem; font-weight: 700; line-height: 1.5; }
.summary-demo span { display: block; font-size: .8125rem; font-weight: 400; margin-top: 4px; }
.booking-field { font-size: .875rem; margin: 0 0 18px; }
.booking-selectors { display: flex; flex-wrap: wrap; gap: 0 16px; }
.booking-selectors .booking-field { flex: 1 1 200px; }
.booking-selectors .date-field { flex: 0 1 170px; }
.booking-field input,.booking-field select { border: 1px solid #9bb0ba; background: white; color: var(--ink); font: inherit; font-size: 1rem; border-radius: 7px; width: 100%; min-height: 48px; padding: 11px 12px; }
.date-field { max-width: 220px; }
.date-choices { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; margin: 4px 0 22px; }
.date-choice { display: flex; flex-direction: column; align-items: center; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); padding: 10px 4px; font-family: inherit; }
.date-choice span { text-transform: capitalize; font-size: .875rem; }
.date-choice strong { font-size: 1.25rem; }
.date-choice small { font-size: .8125rem; }
.date-choice.selected,.slot-choice.selected { color: white; background: var(--blue); border-color: var(--blue); }
.slot-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; font-size: .9375rem; margin: 0 0 12px; }
.slot-heading span { font-size: .8125rem; color: var(--muted); font-weight: 400; }
.slot-choices { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.slot-choice { padding: 12px 8px; min-height: 44px; border: 1px solid #a5becb; color: var(--blue); border-radius: 7px; background: white; font-size: 1rem; font-weight: 700; }
.no-slots { grid-column: 1 / -1; background: #f4f7f9; padding: 18px; border-radius: 8px; line-height: 1.5; }
.booking-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.booking-actions.end { justify-content: flex-end; }
.booking-actions.centered { justify-content: center; flex-wrap: wrap; }
.booking-actions .primary { padding: 14px 22px; font-size: .9375rem; }
.text-button { border: 0; background: none; color: var(--blue); font-size: .9375rem; font-weight: 700; padding: 12px 0; min-height: 44px; }
.booking-form { display: block; padding: 0; }
.local-note { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.demo-fill { background: #eaf6fb; border: 1px solid #bad8e7; color: var(--blue); padding: 10px 14px; border-radius: 6px; font-weight: 700; font-size: .875rem; margin-bottom: 24px; }
.review-data { display: grid; gap: 18px; margin: 0; overflow-wrap: anywhere; }
.review-data dt { color: var(--muted); font-size: .875rem; margin-bottom: 5px; }
.review-data dd { margin: 0; font-size: 1rem; line-height: 1.5; }
.demo-warning { border-left: 3px solid #b47c15; padding: 12px 16px; background: #fff7e7; color: #68470c; font-size: .9375rem; line-height: 1.5; margin-top: 24px; }
.booking-error { background: #fff1ef; border: 1px solid #e8b9b3; color: #9a2e23; border-radius: 8px; padding: 14px 16px; line-height: 1.5; }
.confirmation { text-align: center; padding: 10px 0; }
.confirmation-icon { display: inline-grid; place-items: center; width: 64px; height: 64px; background: #e1f5ef; color: #076950; font-size: 34px; border-radius: 50%; margin-bottom: 20px; }
.confirmation p { color: var(--muted); line-height: 1.5; font-size: .9375rem; }
.booking-reference { display: inline-block; background: #eff5f8; padding: 8px 14px; border-radius: 6px; color: var(--blue); font-size: .875rem; letter-spacing: 1px; font-weight: 700; }
.confirmed-time { display: grid; gap: 8px; padding: 20px 0 8px; }
.confirmed-time span { color: var(--blue); font-size: 1.5rem; }
.appointments-view .booking-layout { grid-template-columns: 1fr; }
.appointment-list { display: grid; gap: 14px; }
.appointment-item { display: flex; align-items: flex-start; gap: 18px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; overflow-wrap: anywhere; }
.appointment-date { display: grid; place-items: center; min-width: 64px; padding: 10px; background: var(--sky); border-radius: 8px; color: var(--blue); }
.appointment-date strong { font-size: 1.75rem; }
.appointment-date span { font-size: .875rem; text-transform: uppercase; }
.appointment-item h4 { font-size: 1.0625rem; margin: 8px 0; color: var(--deep); }
.appointment-item p { font-size: .9375rem; margin: 6px 0; line-height: 1.5; color: #526e7e; }
.confirmed-label { color: #076950; font-size: .8125rem; font-weight: 700; }
@media (max-width: 850px) { .top { justify-content: space-between; } }
@media (max-width: 700px) {
  .booking-dialog { padding: 20px; width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-radius: 14px; }
  .booking-layout { grid-template-columns: 1fr; gap: 24px; }
  .booking-summary { grid-row: 1; padding: 16px; }
  .booking-summary .summary-address,.booking-summary hr,.booking-summary .summary-label,.booking-summary .summary-demo,.booking-summary .summary-prompt { display: none; }
  .booking-summary p { margin: 4px 0; }
  .booking-summary .summary-date { padding: 0; }
  .booking-steps { gap: 14px; justify-content: space-between; }
  .booking-steps li { font-size: .8125rem; gap: 5px; }
  .booking-steps li span { width: 24px; height: 24px; }
  .booking-dialog h2 { font-size: 1.5rem; }
  .booking-actions .primary { width: auto; }
  .booking-actions { flex-wrap: wrap; }
  .booking-actions.centered { flex-direction: column; }
  .booking-intro { font-size: .875rem; }
  .appointment-item { gap: 12px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.language-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; padding: 3px; background: white; flex-shrink: 0; }
.language-switch button { border: 0; background: transparent; color: var(--blue); font: inherit; font-size: .875rem; font-weight: 700; min-width: 38px; min-height: 36px; border-radius: 4px; padding: 6px; }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: white; }
.booking-top .language-switch { margin-left: auto; }
.note-original { font-size: .8125rem; color: var(--muted); display: block; margin-top: 6px; }
.assistant-connection { margin: 16px 0 24px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 10px; background: #f4faff; }
.assistant-connection summary { cursor: pointer; font-weight: 700; color: #0074a6; }
.assistant-content { max-width: 760px; padding-top: 10px; }
.assistant-content p { font-size: .875rem; line-height: 1.55; }
.assistant-content .booking-field { margin: 16px 0; }
.assistant-content .outline { min-height: 44px; }
.assistant-content textarea { width: 100%; max-width: 100%; box-sizing: border-box; font: inherit; font-size: .875rem; line-height: 1.5; padding: 12px; border: 1px solid var(--line); border-radius: 6px; resize: vertical; background: white; }
.assistant-content input { min-width: 0; }
.assistant-content form { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 8px; }
.connection-status { font-weight: 700; }
html:not([data-booking-storage]) [data-book-provider], html:not([data-booking-storage]) #myAppointments { opacity: .5; pointer-events: none; }
.top { gap: 24px; }
.top nav { gap: 20px; }
.actions { gap: 12px; }
.check input { flex-shrink: 0; }
@media (max-width: 580px) { .top { height: auto; min-height: 76px; flex-wrap: wrap; padding: 12px 16px; gap: 12px; } .actions { margin-left: auto; max-width: 100%; flex-wrap: wrap; justify-content: flex-end; } }
@media (max-width: 1050px) { .top nav { display: none; } .top { justify-content: space-between; } }
@media (max-width: 420px) { .top { gap: 8px; padding: 0 12px; } #myAppointments { padding: 9px; font-size: .8125rem; } .actions { gap: 8px; } .language-switch button { min-width: 32px; } .booking-top { gap: 8px; flex-wrap: wrap; } .booking-top .demo-label { font-size: .75rem; } }
