dialog.booking-side-panel {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  padding: 0;
  width: min(820px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-radius: 20px 0 0 20px;
  color: #172c36;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 18px 60px #12252f35;
}
.booking-side-panel::backdrop { background: #12252f66; }
.booking-panel-inner { display: flex; flex-direction: column; height: 100%; }
.booking-panel-header { position: relative; padding: 20px clamp(14px, 4vw, 28px) 14px; border-bottom: 1px solid #dcebe8; }
.booking-panel-header h2 { margin: 0 34px 12px 0; }
.booking-panel-header p { margin: 0 0 8px; font-weight: 600; }
.booking-panel-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.booking-panel-options:last-child { margin-bottom: 0; }
.booking-panel-options button {
  background: #edf6f3;
  color: #254740;
  border: 1px solid #dcebe8;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.booking-panel-options button[aria-pressed="true"] { color: #124c43; border-color: #368b7b; background: #d7eee8; }
.booking-panel-body { flex: 1; min-height: 0; padding: 16px clamp(14px, 4vw, 28px); overflow: auto; overscroll-behavior: contain; }
.booking-side-panel [hidden], .booking-side-panel .booking-section-heading > span { display: none !important; }
.booking-side-panel .booking-notification-settings > div > label { display: grid; margin: 12px 0; }
.booking-side-panel :is(p, li, code, a) { overflow-wrap: anywhere; }
.booking-side-panel .booking-entry-links ol { margin: 0; padding-inline-start: 24px; }
@media (max-width: 680px) { dialog.booking-side-panel { border-radius: 0; } }
@media (prefers-reduced-motion: no-preference) {
  dialog.booking-side-panel[open] { animation: booking-panel-enter .22s ease-out; }
  @keyframes booking-panel-enter { from { transform: translateX(100%); } }
}
.booking-side-panel .booking-panel-body > div > .booking-settings-section:first-child { margin-top: 0; }
.booking-side-panel .booking-notification-settings > div > * + * { margin-top: 10px; }

.booking-panel-link-mode { margin: 0 0 12px; color: #40625c; line-height: 1.5; }
.booking-panel-contact .booking-settings-section,
.booking-panel-restrictions .booking-settings-section {
  display: grid;
  justify-items: start;
  gap: 12px;
}
.booking-panel-contact :is(h3, p),
.booking-panel-restrictions :is(h3, p) { margin: 0; }
.booking-panel-contact .booking-settings-section > :is(p, small),
.booking-panel-restrictions .booking-settings-section > :is(p, small) {
  color: #415b57;
  line-height: 1.55;
  max-width: 68ch;
}
.booking-panel-contact .booking-choice-row,
.booking-panel-contact .booking-settings-section > label,
.booking-panel-restrictions .booking-settings-section > :is(label, .booking-rule-list) {
  width: 100%;
}
.booking-panel-restrictions .booking-rule-list:empty { display: none; }

.booking-link-alternative-option { display: flex; gap: 9px; align-items: center; min-height: 44px; margin: 0 0 12px; }
.booking-link-alternative-option input:focus-visible + i { outline: 2px solid #21796a; outline-offset: 3px; }
.booking-bot-entry.booking-bot-handoff { display: grid; gap: 14px; justify-items: start; }
.booking-bot-handoff :is(h2,p,ol) { margin: 0; line-height: 1.5; }
.booking-bot-handoff ol { display: grid; gap: 14px; padding-inline-start: 25px; width: 100%; box-sizing: border-box; }
.booking-bot-handoff .booking-submit { display: inline-flex; width: auto; min-height: 44px; height: auto; align-items: center; text-decoration: none; white-space: normal; }
.booking-bot-handoff details { border: 1px solid #cfe3dd; border-radius: 12px; width: 100%; box-sizing: border-box; padding: 12px; }
.booking-bot-handoff summary { cursor: pointer; padding: 5px 0; }
.booking-bot-handoff details :is(p,code) { display: block; margin: 8px 0; overflow-wrap: anywhere; }
.booking-bot-template-editor h3 { margin: 0 0 8px; }
.booking-bot-template-editor p { margin: 0 0 14px; line-height: 1.5; }
.booking-bot-template-editor :is(select,textarea) {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfe0dc;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  font: inherit;
}

.booking-template-variables { padding: 14px; border: 1px solid #d8eae4; border-radius: 12px; background: #f2f9f6; }
.booking-template-variables dl { display: grid; gap: 8px; margin: 9px 0 0; }
.booking-template-variables dl > div { display: grid; grid-template-columns: minmax(125px, auto) 1fr; gap: 10px; align-items: baseline; }
.booking-template-variables dd { margin: 0; color: #405d55; overflow-wrap: anywhere; }
.booking-template-variables code { color: #165b4d; overflow-wrap: anywhere; }
.booking-modal.booking-card .booking-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 12px;
}
.booking-modal.booking-card .booking-card-actions button { min-height: 44px; }
.booking-modal.booking-card .booking-card-actions + button { margin-bottom: 16px; min-height: 44px; }
.booking-modal.booking-card .booking-management-share { margin-bottom: 18px; }
.booking-modal.booking-card .booking-management-share button { margin-top: 8px; }
.booking-bot-name-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.booking-bot-name-fields label { display: grid; gap: 6px; font-weight: 600; }
.booking-bot-name-fields input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 10px 12px; border: 1px solid #cfe0dc; border-radius: 10px; font: inherit; }
@media (max-width: 500px) { .booking-bot-name-fields { grid-template-columns: 1fr; } }
