/* Public demo invitation and guided enquiry. Scoped independently of portal UI. */
.demo-invite, .demo-booking { --db-blue: #345cff; --db-ink: #10213c; --db-muted: #64718a; font-family: var(--font-ui, Manrope, Arial, sans-serif); font-style: normal; box-sizing: border-box; }
.demo-invite *, .demo-booking * { box-sizing: border-box; }
.demo-invite[hidden], .demo-booking [hidden] { display: none !important; }
.demo-invite { position: fixed; z-index: 1200; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); width: min(760px, calc(100% - 40px)); display: flex; align-items: center; gap: 24px; padding: 16px 14px 16px 22px; background: var(--db-blue); color: #fff; border: 1px solid #ffffff25; border-radius: 18px; box-shadow: 0 12px 48px #102d7c28; animation: demo-bar-in .35s ease-out; }
.demo-invite-copy { flex: 1; min-width: 0; }
.demo-invite strong { display: block; font-size: 15px; font-weight: 650; line-height: 1.45; letter-spacing: -.025em; }
.demo-invite p { margin: 3px 0 0; font-size: 12px; line-height: 1.55; color: #e0e7ff; }
.demo-invite button, .demo-booking button { font: inherit; cursor: pointer; }
.demo-invite .demo-invite-open { display: flex; align-items: center; justify-content: center; gap: 18px; flex: none; min-height: 48px; padding: 12px 18px; background: #fff; color: var(--db-ink); border: 1px solid #fff; border-radius: 12px; font-size: 13px; font-weight: 650; transition: background .18s, transform .18s; }
.demo-invite-open:hover { background: #eef2ff !important; transform: translateY(-1px); }
.demo-invite .demo-invite-dismiss { flex: none; display: grid; place-items: center; width: 36px; height: 44px; padding: 0; background: transparent; color: #e0e7ff; border: 0; border-left: 1px solid #ffffff35; border-radius: 0; }
.demo-invite svg, .demo-booking svg { display: block; width: 20px; height: 20px; flex: none; }
.demo-invite button:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.hnzr-site[data-demo-bar-visible] .site-footer { padding-bottom: calc(var(--demo-bar-height, 88px) + 40px + env(safe-area-inset-bottom)); }
@media (max-width: 1150px) { .hnzr-site[data-demo-bar-visible]:has([data-hnzr-widget]) .site-footer { padding-bottom: calc(var(--demo-bar-height, 88px) + 108px + env(safe-area-inset-bottom)); } body[data-demo-bar-visible] [data-hnzr-widget] { bottom: calc(var(--demo-bar-height, 88px) + 32px + env(safe-area-inset-bottom)) !important; } }
.demo-booking { color-scheme: light; position: fixed; inset: 0; width: min(640px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 30px 32px 28px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #e2e7f0; border-radius: 24px; color: var(--db-ink); background: #fff; box-shadow: 0 24px 100px #10213c30; }
.demo-booking::backdrop { background: #10213c66; backdrop-filter: blur(7px); }
.demo-booking[open] { animation: demo-dialog-in .25s ease-out; }
.demo-booking .db-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 32px; margin-bottom: 25px; }
.demo-booking .db-back, .demo-booking .db-close { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 4px 0; background: transparent; color: var(--db-muted); border: 0; border-radius: 7px; font-size: 12px; }
.demo-booking .db-back { justify-self: start; }
.demo-booking .db-back:disabled { visibility: hidden; }
.demo-booking .db-close { justify-self: end; width: 32px; }
.demo-booking .db-back:hover, .demo-booking .db-close:hover { color: var(--db-ink); background: #f3f5fa; }
.demo-booking .db-progress { display: flex; gap: 6px; padding: 8px 0; }
.demo-booking .db-progress span { width: 7px; height: 7px; background: #dfe5f3; border-radius: 10px; transition: width .2s, background .2s; }
.demo-booking .db-progress .is-active { width: 23px; background: var(--db-blue); }
.demo-booking .db-progress .is-done { background: var(--db-blue); }
.demo-booking .db-heading { text-align: center; }
.demo-booking .db-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 15px; color: var(--db-muted); font-size: 10px; font-weight: 650; letter-spacing: .1em; }
.demo-booking .db-brand b { display: grid; place-items: center; width: 26px; height: 26px; background: #eef2ff; color: var(--db-blue); border-radius: 8px; }
.demo-booking h2 { margin: 0; color: var(--db-ink); font-family: inherit; font-size: clamp(22px, 3.5vw, 28px); line-height: 1.25; font-weight: 650; letter-spacing: -.045em; }
.demo-booking .db-question { margin: 13px 0 23px; color: var(--db-muted); font-size: 15px; line-height: 1.6; font-weight: 400; letter-spacing: -.015em; text-align: center; }
.demo-booking .db-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.demo-booking .db-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 108px; padding: 19px 12px; background: #fff; color: var(--db-ink); border: 1px solid #dce3f2; border-radius: 14px; font-size: 15px; line-height: 1.5; transition: border-color .18s, background .18s; }
.demo-booking .db-option > svg { width: 23px; height: 23px; color: #687992; }
.demo-booking .db-option:hover { background: #f8faff; border-color: #99aeff; }
.demo-booking .db-option[aria-pressed=true] { background: #f1f4ff; border-color: var(--db-blue); }
.demo-booking .db-option[aria-pressed=true] > svg { color: var(--db-blue); }
.demo-booking .db-check { position: absolute; right: 11px; top: 11px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: #fff; background: var(--db-blue); opacity: 0; }
.demo-booking [aria-pressed=true] .db-check { opacity: 1; }
.demo-booking .db-check svg { width: 12px; height: 12px; }
.demo-booking .db-next { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 23px; padding: 12px 18px; color: #fff; background: var(--db-blue); border: 1px solid var(--db-blue); border-radius: 12px; font-size: 14px; font-weight: 650; transition: background .18s; }
.demo-booking .db-next:hover { background: #2348dd; }
.demo-booking button:disabled { cursor: default; }
.demo-booking .db-next:disabled { opacity: .5; }
.demo-booking button:focus-visible, .demo-booking input:focus-visible, .demo-booking select:focus-visible, .demo-booking a:focus-visible { outline: 3px solid #9eb2ff; outline-offset: 3px; }
.demo-booking .db-field { display: flex; flex-direction: column; gap: 8px; margin-top: 17px; color: var(--db-ink); font-size: 12px; line-height: 1.5; }
.demo-booking .db-field small { color: var(--db-muted); font-size: inherit; }
.demo-booking input:not([type=checkbox]), .demo-booking select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; background: #fff; color: var(--db-ink); border: 1px solid #dce3f2; border-radius: 10px; font: 14px/1.5 var(--font-ui, Manrope, Arial, sans-serif); }
.demo-booking input::placeholder { color: #8b96ac; opacity: 1; }
.demo-booking .db-phone { display: flex; gap: 9px; }
.demo-booking .db-phone select { width: 116px; flex: none; }
.demo-booking .db-note { margin: 13px 0 0; color: var(--db-muted); font-size: 11px; line-height: 1.7; }
.demo-booking .db-dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.demo-booking .db-date { min-height: 67px; gap: 2px; padding: 9px 3px; font-size: 15px; border-radius: 11px; }
.demo-booking .db-date small { color: var(--db-muted); font-size: 10px; }
.demo-booking .db-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.demo-booking .db-time { min-height: 61px; padding: 9px 6px; gap: 1px; font-size: 12px; border-radius: 11px; }
.demo-booking .db-time small { color: var(--db-muted); font-size: 10px; }
.demo-booking .db-label { display: block; margin: 19px 0 9px; font-size: 12px; font-weight: 600; }
.demo-booking .db-summary { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px 14px; margin: 15px 0 6px; padding: 12px; border: 1px solid #e3e8f2; border-radius: 10px; background: #f8faff; color: var(--db-muted); font-size: 11px; line-height: 1.65; }
.demo-booking .db-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.demo-booking .db-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 19px; font-size: 11px; line-height: 1.65; color: var(--db-muted); }
.demo-booking .db-consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--db-blue); }
.demo-booking a { color: #2850db; text-decoration: underline; text-underline-offset: 3px; }
.demo-booking .db-error { color: #ac263c; font-size: 12px; line-height: 1.6; margin: 14px 0 0; }
.demo-booking .db-error:empty { display: none; }
.demo-booking .db-foot { margin: 21px 0 0; text-align: center; color: var(--db-muted); font-size: 10px; line-height: 1.6; }
.demo-booking .db-success { padding: 8px 0 2px; text-align: center; }
.demo-booking .db-success-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; color: var(--db-blue); background: #eef2ff; }
.demo-booking .db-success-mark svg { width: 28px; height: 28px; }
.demo-booking .db-success p { margin: 15px auto 0; max-width: 420px; color: var(--db-muted); font-size: 14px; line-height: 1.75; }
.demo-booking .db-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@keyframes demo-bar-in { from { opacity: 0; translate: 0 15px; } to { opacity: 1; translate: 0 0; } }
@keyframes demo-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .demo-invite { bottom: max(12px, env(safe-area-inset-bottom)); width: calc(100% - 24px); gap: 10px; padding: 14px; flex-wrap: wrap; border-radius: 16px; }
  .demo-invite-copy { flex-basis: calc(100% - 44px); padding-right: 8px; }
  .demo-invite strong { font-size: 14px; }
  .demo-invite p { font-size: 11px; }
  .demo-invite .demo-invite-dismiss { position: absolute; right: 10px; top: 12px; width: 32px; height: 32px; border: 0; }
  .demo-invite .demo-invite-open { width: 100%; min-height: 43px; padding: 9px 14px; border-radius: 10px; }
  .demo-booking { width: calc(100% - 24px); max-height: calc(100dvh - 24px); padding: 22px 20px 21px; border-radius: 20px; }
  .demo-booking .db-top { margin-bottom: 21px; }
  .demo-booking .db-question { font-size: 14px; margin-bottom: 20px; }
  .demo-booking .db-option { min-height: 96px; }
  .demo-booking .db-date { min-height: 61px; }
  .demo-booking .db-time { min-height: 59px; }
  .demo-booking .db-options { gap: 10px; }
  .demo-booking .db-fields { grid-template-columns: 1fr; gap: 0; }
  .demo-booking input:not([type=checkbox]), .demo-booking select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .demo-invite, .demo-booking[open] { animation: none; } .demo-invite *, .demo-booking * { transition: none !important; } }
