.maui-guest-chat .maui-guest-chat__bubble {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9850;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: #075975;
  color: white;
  box-shadow: 0 3px 12px rgba(9, 46, 58, .28);
  text-decoration: none;
}
.maui-guest-chat .maui-guest-chat__bubble:hover { background: #06445d; color: white; }
.maui-guest-chat svg { display: block; pointer-events: none; }
.maui-guest-chat :is(button, a):focus-visible { outline: 3px solid #00759b; outline-offset: 3px; }
.maui-guest-chat dialog {
  box-sizing: border-box;
  position: fixed;
  --maui-gap: 16px;
  --maui-top: max(var(--maui-gap), env(safe-area-inset-top, 0px));
  --maui-bottom: max(var(--maui-gap), env(safe-area-inset-bottom, 0px));
  inset: calc(var(--maui-visual-top, 0px) + var(--maui-top)) max(var(--maui-gap), env(safe-area-inset-right)) auto auto;
  width: min(28rem, calc(100% - 1rem));
  max-width: none;
  height: calc(var(--maui-visual-height, 100vh) - var(--maui-top) - var(--maui-bottom));
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  border: 1px solid #a4c8d5;
  border-radius: 16px;
  background: white;
  color: #193746;
  box-shadow: 0 12px 44px rgba(10, 45, 60, .25);
  font: inherit;
  font-family: var(--bde-body-font-family, Lato, sans-serif);
  text-align: start;
}
.maui-guest-chat dialog:not([open]) { display: none; }
.maui-guest-chat dialog[open] { display: flex; flex-direction: column; }
@supports (height: 100dvh) {
  .maui-guest-chat dialog { height: calc(var(--maui-visual-height, 100dvh) - var(--maui-top) - var(--maui-bottom)); }
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .maui-guest-chat dialog {
    --maui-view: var(--maui-visual-height, 100vh);
    --maui-desktop-height: calc(var(--maui-view) * 2 / 3);
    max-height: var(--maui-desktop-height);
    top: calc(var(--maui-visual-top, 0px) + max(var(--maui-top), var(--maui-view) - var(--maui-bottom) - var(--maui-desktop-height)));
  }
}
.maui-guest-chat dialog[data-fallback] .maui-guest-chat__help { margin-top: auto; }
.maui-guest-chat dialog::backdrop { background: rgba(16, 42, 52, .32); }
.maui-guest-chat__head, .maui-guest-chat__help { display: flex; align-items: center; gap: .75rem; padding: .35rem .9rem; }
.maui-guest-chat__head { justify-content: space-between; flex: 0 0 auto; background: linear-gradient(104deg,rgba(223,247,255,.83),rgba(235,252,242,.86)), #e5f6fb url('/wp-content/uploads/2026/02/blue-wide-small.avif') repeat 0 0 / 250px auto; color: #10294c; border-bottom: 2px solid #2fa3f2; }
.maui-guest-chat__head h2 { margin: 0; padding: 0; font: inherit; font-family: var(--bde-heading-font-family, "League Spartan", sans-serif); font-weight: 700; font-size: 1.18rem; line-height: 1.3; color: inherit; }
.maui-guest-chat dialog button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .3rem .7rem; border: 0; border-radius: .45rem; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.maui-guest-chat__head button { width: 44px; flex-shrink: 0; }
.maui-guest-chat dialog .maui-guest-chat__help-toggle { display: none; }
.maui-guest-chat__head button:hover { background: rgba(255,255,255,.17); }
.maui-guest-chat__head button:focus-visible { outline-color: #0d5e92; outline-offset: -3px; }
.maui-guest-chat__status:not(:empty), .maui-guest-chat__privacy { margin: .6rem .9rem 0; line-height: 1.45; }
.maui-guest-chat__slot { min-height: 0; flex: 1; }
.maui-guest-chat iframe { display: block; box-sizing: border-box; width: 100%; height: 100%; border: 0; background: white; }
.maui-guest-chat__help { justify-content: center; flex-wrap: wrap; flex-shrink: 0; gap: .2rem .5rem; border-top: 1px solid #d4e5eb; font: 400 .875rem/1.4 Lato, sans-serif; }
.maui-guest-chat__dot { flex: 0 0 4px; height: 4px; background: #62e960; border-radius: 50%; }
.maui-guest-chat__help a, .maui-guest-chat__privacy { display: inline-flex; align-items: center; min-height: 44px; color: #075775; text-decoration: underline; text-underline-offset: .15em; }
.maui-guest-chat .maui-guest-chat__help a { box-sizing: border-box; min-width: 44px; justify-content: center; font: inherit; }
.maui-guest-chat__help button { flex-basis: 100%; color: #075775; }
.maui-guest-chat__help button:hover { background: #edf6f8; }
.maui-guest-chat[hidden], .maui-guest-chat [hidden] { display: none !important; }
body:has(.cmplz-cookiebanner.cmplz-show:not(.cmplz-dismissed):not(.cmplz-hidden)) .maui-guest-chat__bubble { visibility: hidden; }
@media (max-width: 767px), (max-width: 1000px) and (max-height: 540px) and (pointer: coarse) {
  .maui-guest-chat .maui-guest-chat__bubble {
    width: 50px; height: 50px;
    right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom));
    background: #2fa3f2; color: #10283b;
  }
  .maui-guest-chat dialog {
    --maui-gap: 12px;
    --maui-left: max(var(--maui-gap), env(safe-area-inset-left));
    --maui-right: max(var(--maui-gap), env(safe-area-inset-right));
    right: var(--maui-right);
    width: min(23rem, calc(100% - var(--maui-left) - var(--maui-right)));
    overflow: hidden;
    border: 1px solid #c1d7e4; border-radius: 12px;
    color: #222; background: #fff; box-shadow: 0 8px 28px rgba(15, 40, 59, .22);
  }
  .maui-guest-chat dialog::backdrop { background: rgba(12, 39, 57, .08); }
  .maui-guest-chat dialog[data-keyboard-open]:not([data-fallback]) {
    --maui-gap: 4px;
    --maui-left: max(var(--maui-gap), env(safe-area-inset-left));
    --maui-right: max(var(--maui-gap), env(safe-area-inset-right));
    width: calc(100% - var(--maui-left) - var(--maui-right));
    padding-bottom: 0;
  }
  .maui-guest-chat__head {
    gap: .2rem; padding: .2rem .45rem .2rem .8rem; color: #10294c;
  }
  .maui-guest-chat__head h2 {
    flex: 1; min-width: 0; text-wrap: balance; overflow-wrap: anywhere;
    font: 700 1.125rem/1.2 "League Spartan", Lato, sans-serif; text-transform: none; color: inherit;
  }
  .maui-guest-chat__head button:hover { background: #e5f3fc; }
  .maui-guest-chat__head button:focus-visible { outline-color: #0d5e92; }
  .maui-guest-chat dialog .maui-guest-chat__help-toggle { display: inline-flex; width: auto; min-width: 44px; font: 700 .875rem/1 Lato, sans-serif; }
  .maui-guest-chat__help { background: #f2f9fd; }
  .maui-guest-chat__help a { color: #145c89; }
  .maui-guest-chat dialog:not([data-help-open]):not([data-fallback]) .maui-guest-chat__help,
  .maui-guest-chat dialog[data-fallback] .maui-guest-chat__help-toggle { display: none; }
  .maui-guest-chat dialog[data-fallback] { overflow: auto; }
}
