/* HTNG Booking modal, scoped to avoid affecting public-site/editor/Tabler CSS. */
.htng-booking-cta{margin-top:12px;cursor:pointer}.htng-booking-overlay[hidden]{display:none!important}
.htng-booking-overlay{position:fixed;inset:0;z-index:2147480000;display:grid;place-items:center;padding:18px;overscroll-behavior:contain}
.htng-booking-backdrop{position:absolute;inset:0;background:rgba(9,18,32,.7);backdrop-filter:blur(6px)}
.htng-booking-dialog{position:relative;isolation:isolate;width:min(100%,670px);max-height:min(90vh,900px);max-height:min(90dvh,900px);overflow:auto;overscroll-behavior:contain;border:1px solid var(--border,rgba(148,163,184,.36));border-radius:22px;background:var(--card, var(--surface,#fff));color:var(--text,#172132);box-shadow:0 36px 100px #0007;padding:clamp(18px,3vw,30px);font-family:inherit}
.htng-booking-head{display:flex;justify-content:space-between;gap:16px;align-items:start;margin-bottom:22px}.htng-booking-eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent,#206bc4);font-weight:700}.htng-booking-head h2{font-size:clamp(23px,4vw,30px);margin:4px 0 5px;color:inherit}.htng-booking-head p{font-size:14px;margin:0;color:var(--muted,#6b7280)}
.htng-booking-close{background:transparent;border:1px solid var(--border,#cbd5e1);border-radius:10px;color:inherit;font-size:28px;line-height:1;width:42px;height:42px;cursor:pointer;flex-shrink:0}.htng-booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 15px}.htng-booking-field{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;min-width:0;color:inherit}.htng-booking-field input,.htng-booking-field select{width:100%;min-height:45px;border-radius:10px;border:1px solid var(--border,#cbd5e1);background:var(--card,#fff);color:inherit;padding:9px 12px;font:inherit;font-size:16px;outline-offset:2px}.htng-booking-field input:focus,.htng-booking-field select:focus{outline:2px solid #206bc4}.htng-booking-field :disabled{opacity:.6}.htng-booking-wide{grid-column:1/-1}
.htng-booking-privacy{font-size:12px;line-height:1.65;margin:20px 0;color:var(--muted,#637083)}.htng-booking-privacy a{color:var(--accent,#206bc4);text-decoration:underline}.htng-booking-actions{display:flex;justify-content:end;gap:10px;flex-wrap:wrap}.htng-booking-actions button{border-radius:12px;padding:11px 18px;font-weight:700;font-size:14px;cursor:pointer;min-height:44px}.htng-booking-submit{background:#206bc4;border:1px solid #206bc4;color:#fff}.htng-booking-secondary{background:transparent;border:1px solid var(--border,#cbd5e1);color:inherit}.htng-booking-submit:disabled{opacity:.65;cursor:wait}.htng-booking-message{margin-bottom:15px;padding:12px 14px;border-radius:10px;background:rgba(32,107,196,.13);color:inherit;line-height:1.6;font-size:14px}.htng-booking-message[data-error=true]{background:rgba(214,57,57,.13)}.htng-booking-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
body.htng-booking-locked{overflow:hidden!important}
@media(max-width:560px){.htng-booking-overlay{padding:8px}.htng-booking-dialog{border-radius:16px;max-height:96vh;max-height:96dvh;padding:19px}.htng-booking-grid{grid-template-columns:minmax(0,1fr);gap:12px}.htng-booking-wide{grid-column:auto}.htng-booking-actions{flex-direction:column-reverse}.htng-booking-actions button{width:100%}}
@media(prefers-reduced-motion:no-preference){.htng-booking-dialog{animation:htng-booking-in .19s ease-out}@keyframes htng-booking-in{from{opacity:.2;transform:translateY(12px)}to{opacity:1;transform:none}}}

/* HTNG Booking B1.6 — dark-mode contrast fix.
   Intentional scope: the public booking overlay only; light mode remains unchanged.
   Public site uses html[data-theme] (not a body.dark class). */
html[data-theme="dark"] #htng-booking-overlay .htng-booking-dialog {
  background: #192840;
  border-color: #4c6788;
  color: #eff6ff;
  color-scheme: dark;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-head h2 {
  color: #f6f9ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-eyebrow {
  color: #8dc5ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-head p,
html[data-theme="dark"] #htng-booking-overlay .htng-booking-privacy {
  color: #c6d5e9 !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field {
  color: #ebf3ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field input,
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field select {
  background: #12223a !important;
  border-color: #4e6a8b !important;
  color: #f4f8ff !important;
  caret-color: #f4f8ff;
  color-scheme: dark;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field input::placeholder {
  color: #b7c9de !important;
  opacity: 1;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field select option {
  background: #12223a;
  color: #f4f8ff;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field :disabled {
  opacity: .8;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field :is(input, select):focus-visible,
html[data-theme="dark"] #htng-booking-overlay :is(button, a):focus-visible {
  outline: 2px solid #8dc5ff !important;
  outline-offset: 2px;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-close,
html[data-theme="dark"] #htng-booking-overlay .htng-booking-secondary {
  background: #243955 !important;
  border-color: #6886a8 !important;
  color: #f1f7ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-close:hover,
html[data-theme="dark"] #htng-booking-overlay .htng-booking-secondary:hover {
  background: #2e496c !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-message {
  background: #213d5c;
  border: 1px solid #527495;
  color: #e9f4ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-message[data-error="true"] {
  background: #4d2a39;
  border-color: #a45c70;
  color: #ffe1e7 !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-privacy a {
  color: #91c9ff !important;
}
html[data-theme="dark"] #htng-booking-overlay .htng-booking-field input:-webkit-autofill {
  -webkit-text-fill-color: #f4f8ff !important;
  -webkit-box-shadow: 0 0 0 1000px #12223a inset !important;
}


/* B1.7: booking success/error toast – visual conventions of legacy HTNG ToastEngine. */
.htng-booking-toast-stack{position:fixed;z-index:2147483200;right:clamp(12px,2vw,28px);top:clamp(72px,9vh,100px);width:min(360px,calc(100vw - 24px));display:grid;gap:10px;pointer-events:none}
.htng-booking-toast{position:relative;pointer-events:auto;display:flex;align-items:flex-start;gap:12px;padding:15px 36px 18px 16px;border-radius:13px;border:1px solid #5b7895;border-left:4px solid #36c992;background:#17314b;color:#edf7ff;box-shadow:0 12px 36px rgba(1,19,38,.35);overflow:hidden;animation:htng-booking-toast-in .24s ease both;font-family:inherit}
.htng-booking-toast[data-type=error]{border-left-color:#ff6378;border-color:#a65b6b;border-left-width:4px;background:#4e2634}
.htng-booking-toast-icon{font-size:18px;line-height:1.2;font-weight:800;flex:none;color:#7de6b7}
.htng-booking-toast[data-type=error] .htng-booking-toast-icon{color:#ffabb8}
.htng-booking-toast-body{min-width:0;flex:1}
.htng-booking-toast-body strong{display:block;color:inherit;font-size:14px;line-height:1.35}
.htng-booking-toast-body p{margin:5px 0 0!important;color:inherit!important;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.htng-booking-toast-close{position:absolute;right:6px;top:6px;width:29px;height:29px;padding:0;border:0;border-radius:7px;background:transparent;color:inherit;cursor:pointer;font-size:20px}
.htng-booking-toast-close:hover{background:rgba(255,255,255,.12)}
.htng-booking-toast-timer{position:absolute;inset:auto auto 0 0;height:3px;width:100%;background:#7de6b7;transform-origin:left;animation:htng-booking-toast-time var(--toast-duration,5200ms) linear both}
.htng-booking-toast[data-type=error] .htng-booking-toast-timer{background:#ff9caa}
.htng-booking-toast.is-leaving{animation:htng-booking-toast-out .24s ease both}
@keyframes htng-booking-toast-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@keyframes htng-booking-toast-out{to{opacity:0;transform:translateX(16px)}}
@keyframes htng-booking-toast-time{to{transform:scaleX(0)}}
@media(max-width:560px){.htng-booking-toast-stack{top:16px;right:12px}}
@media(prefers-reduced-motion:reduce){.htng-booking-toast,.htng-booking-toast.is-leaving,.htng-booking-toast-timer{animation:none!important}}
