.support-assistance {
  --support-accent: var(--app-button-primary-bg, #268ed4);
  --support-accent-hover: #1576b8;
  --support-accent-tint: #eaf5fd;
  --support-text: var(--app-input-color, #212127);
  --support-muted: #53636f;
  color: var(--support-text);
  font-family: "Roboto Thin", sans-serif;
  font-weight: 100;
}

html.support-assistance-floating-enabled {
  --app-floating-action-size: 56px;
  --app-floating-action-gap: 16px;
  --app-floating-action-right: 24px;
  --app-floating-action-bottom: 24px;
  --app-floating-stack-bottom: var(--app-floating-action-bottom);
  --support-assistance-expanded-height: 0px;
}

html.support-assistance-floating-enabled.account-floating-save-visible {
  --app-floating-action-bottom: calc(
    var(--account-floating-save-reserve, 82px) + 16px
  );
}

html.support-assistance-floating-enabled.fab-sheet-open {
  --app-floating-stack-bottom: var(
    --fab-sheet-floating-bottom,
    var(--app-floating-action-bottom)
  );
}

.support-assistance--floating {
  --support-assistance-keyboard-offset: 0px;
  --support-assistance-floating-bottom: calc(
    var(--app-floating-stack-bottom, var(--app-floating-action-bottom, 24px)) +
      var(--support-assistance-keyboard-offset)
  );
  position: fixed;
  right: var(--app-floating-action-right, 24px);
  bottom: var(--support-assistance-floating-bottom);
  margin-right: env(safe-area-inset-right, 0px);
  margin-bottom: env(safe-area-inset-bottom, 0px);
  z-index: 1800;
  width: var(--app-floating-action-size, 56px);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.16s ease,
    visibility 0s linear;
}

.support-assistance__launcher {
  display: none;
  width: var(--app-floating-action-size, 56px);
  min-height: var(--app-floating-action-size, 56px);
  height: var(--app-floating-action-size, 56px);
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: var(--support-accent);
  color: #fff;
  font: inherit;
  font-weight: 100;
  box-shadow: var(--app-floating-action-shadow-blue);
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.08s ease;
}

.support-assistance__launcher:hover,
.support-assistance__launcher:active {
  background: var(--support-accent-hover);
  box-shadow: var(--app-floating-action-shadow-blue-hover);
}

.support-assistance__launcher-icon {
  display: block;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  pointer-events: none;
}

.support-assistance__launcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.support-assistance__launcher:active,
.support-assistance__primary:active,
.support-assistance__secondary:active {
  transform: translateY(1px);
}

.support-assistance--floating.is-enhanced .support-assistance__launcher {
  display: flex;
}

.support-assistance .support-assistance__js-only {
  display: none;
}

.support-assistance.is-enhanced .support-assistance__js-only {
  display: inline-flex;
}

.support-assistance--floating.is-enhanced .support-assistance__panel {
  display: none;
}

.support-assistance--floating.is-enhanced.is-expanded
  .support-assistance__panel {
  display: block;
}

.support-assistance--floating.is-enhanced.is-expanded
  .support-assistance__launcher {
  display: none;
}

.support-assistance--floating.is-expanded,
.support-assistance--floating:not(.is-enhanced) {
  width: min(360px, calc(100vw - 32px));
}

.support-assistance--floating.is-expanded .support-assistance__panel,
.support-assistance--floating:not(.is-enhanced) .support-assistance__panel {
  max-height: calc(
    100dvh - var(--support-assistance-floating-bottom, 24px) - 16px
  );
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.support-assistance__panel {
  position: relative;
  border: 1px solid rgba(38, 142, 212, 0.25);
  border-radius: 18px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(20, 24, 31, 0.22);
}

.support-assistance--inline .support-assistance__panel {
  max-width: 720px;
  margin: 0 auto 24px;
  box-shadow: none;
  background: #f4f9fd;
}

.support-assistance__panel h2,
.support-assistance__dialog h2 {
  margin: 0 34px 8px 0;
  color: #173c63;
  font-size: 1.25rem;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.25;
}

.support-assistance__panel h2 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  line-height: 1.2;
}

.support-assistance__panel p,
.support-assistance__dialog p {
  margin: 0 0 10px;
  line-height: 1.5;
}

.support-assistance__hours {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.support-assistance__close,
.support-assistance__dialog-close {
  position: absolute;
  top: 8px;
  right: 10px;
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.support-assistance__close:hover,
.support-assistance__close:active,
.support-assistance__dialog-close:active,
.support-assistance__dialog-close:hover {
  background: var(--support-accent-tint);
}

.support-assistance__close-icon {
  display: block;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.support-assistance__primary,
.support-assistance__secondary {
  box-sizing: border-box;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--support-accent);
  border-radius: 10px;
  padding: 9px 14px;
  font: inherit;
  font-weight: 100;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    transform 0.08s ease;
}

.support-assistance__primary {
  background: var(--support-accent);
  color: #fff;
}

.support-assistance__secondary {
  margin-left: 6px;
  background: #fff;
  color: var(--support-accent);
}

.support-assistance__primary:hover,
.support-assistance__primary:active {
  border-color: var(--support-accent-hover);
  background: var(--support-accent-hover);
  color: #fff;
}

.support-assistance__secondary:hover,
.support-assistance__secondary:active {
  background: var(--support-accent-tint);
}

.support-assistance button:focus-visible,
.support-assistance a:focus-visible,
.support-assistance input:focus-visible,
.support-assistance textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(90, 186, 255, 0.35),
    0 0 0 6px rgba(38, 142, 212, 0.24);
}

.support-assistance .support-assistance__launcher:focus-visible {
  box-shadow:
    var(--app-floating-action-shadow-blue),
    0 0 0 3px rgba(90, 186, 255, 0.35),
    0 0 0 6px rgba(38, 142, 212, 0.24);
}

.support-assistance .support-assistance__launcher:hover:focus-visible,
.support-assistance .support-assistance__launcher:active:focus-visible {
  box-shadow:
    var(--app-floating-action-shadow-blue-hover),
    0 0 0 3px rgba(90, 186, 255, 0.35),
    0 0 0 6px rgba(38, 142, 212, 0.24);
}

.support-assistance__closed-message {
  color: #755217;
}

.support-assistance__phone {
  color: var(--support-muted);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.support-assistance__dialog {
  width: min(520px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  box-sizing: border-box;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  padding: 26px;
  color: var(--support-text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.support-assistance__dialog::backdrop {
  background: rgba(20, 24, 31, 0.62);
}

.support-assistance__dialog-shell {
  margin: 0;
}

.support-assistance__field {
  margin-top: 16px;
}

.support-assistance__field label {
  display: block;
  margin-bottom: 6px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

.support-assistance__field label span {
  color: #5e706e;
  font-size: 0.9em;
  font-family: "Roboto Thin", sans-serif;
  font-weight: 100;
}

.support-assistance__field input,
.support-assistance__field textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--app-input-border, #829a97);
  border-radius: 9px;
  padding: 10px 12px;
  background: var(--app-input-bg, #fff);
  color: var(--app-input-color, #182c2a);
  box-shadow: var(--app-input-shadow, none);
  font-family: "Roboto Thin", sans-serif;
  font-size: 13pt;
  font-weight: 100;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.support-assistance__field input:not(:disabled):hover,
.support-assistance__field textarea:not(:disabled):hover {
  border-color: var(--app-input-border-hover, #4c827d);
  background: var(--app-input-bg-hover, #fff);
  box-shadow: var(--app-input-shadow-hover, none);
}

.support-assistance__field input:not(:disabled):focus,
.support-assistance__field textarea:not(:disabled):focus {
  border-color: var(--app-input-border-focus, var(--support-accent));
  background: var(--app-input-bg-focus, #fff);
  box-shadow: var(--app-input-shadow-focus, 0 0 0 3px rgba(38, 142, 212, 0.2));
}

.support-assistance__field [aria-invalid="true"] {
  border-color: var(--app-input-border-invalid, #b42318);
  box-shadow: var(--app-input-shadow-invalid, 0 0 0 2px rgba(180, 35, 24, 0.2));
}

.support-assistance__field-error {
  display: block;
  min-height: 1.2em;
  margin-top: 4px;
  color: #b42318;
  font-size: 0.88rem;
}

.support-assistance__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.support-assistance__captcha-note {
  color: #5e706e;
  font-size: 0.88rem;
}

html:not([data-app-recaptcha-prepared="1"]) .grecaptcha-badge {
  visibility: hidden;
}

.support-assistance__form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.support-assistance__form-actions .support-assistance__secondary {
  margin-left: 0;
}

.support-assistance button:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .support-assistance__launcher,
  .support-assistance__primary,
  .support-assistance__secondary,
  .support-assistance__field input,
  .support-assistance__field textarea {
    transition: none;
  }
}

.support-assistance__toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2600;
  max-width: min(420px, calc(100vw - 40px));
  border-radius: 10px;
  padding: 12px 16px;
  background: #173c63;
  color: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

[data-support-assistance-open-actions][hidden],
[data-support-assistance-closed-actions][hidden],
.support-assistance__toast[hidden] {
  display: none !important;
}

html.pwa-install-dialog-open .support-assistance--floating,
body.register-legal-modal-open .support-assistance--floating,
body.account-unsaved-modal-open .support-assistance--floating,
body.account-schema-modal-open .support-assistance--floating,
body.account-finance-expenses-modal-open .support-assistance--floating,
body.account-booking-modal-open .support-assistance--floating,
body.account-booking-appearance-fullscreen-preview-open
  .support-assistance--floating,
body.popup-confirm-open .support-assistance--floating,
body:has(#fullscreen-container[style*="display: flex"])
  .support-assistance--floating {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.16s ease,
    visibility 0s linear 0.16s;
}

@media (max-width: 1110px) {
  .support-assistance--floating.is-expanded .support-assistance__panel,
  .support-assistance--floating:not(.is-enhanced) .support-assistance__panel {
    max-height: calc(
      100dvh - var(--support-assistance-floating-bottom, 24px) -
        var(--app-floating-action-size, 56px) -
        var(--app-floating-action-size, 56px) -
        var(--app-floating-action-gap, 16px) -
        var(--app-floating-action-gap, 16px) -
        var(--app-floating-action-gap, 16px) - 16px
    );
  }
}

@media (min-width: 1111px) {
  html.support-assistance-floating-enabled .account-review-floating-prompt {
    right: calc(
      var(--app-floating-action-right, 24px) +
        var(--app-floating-action-size, 56px) +
        var(--app-floating-action-gap, 16px)
    );
    margin-right: env(safe-area-inset-right, 0px);
  }
}

@media (max-width: 720px) {
  html.support-assistance-floating-enabled {
    --support-assistance-mobile-scroll-reserve: calc(
      var(--app-floating-action-bottom, 24px) +
        var(--app-floating-action-size, 56px) +
        var(--app-floating-action-gap, 16px)
    );
    scroll-padding-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  html.support-assistance-floating-enabled.account-floating-save-visible {
    scroll-padding-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  body.support-assistance-floating-enabled {
    box-sizing: border-box;
    padding-bottom: var(--support-assistance-mobile-scroll-reserve);
    scroll-padding-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  body.support-assistance-floating-enabled.account-floating-save-visible {
    padding-bottom: 0;
    scroll-padding-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  body.support-assistance-floating-enabled.account-floating-save-visible
    .account-page {
    padding-bottom: var(--support-assistance-mobile-scroll-reserve);
    scroll-padding-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  body.support-assistance-floating-enabled
    :is(a, button, input, select, summary, textarea, [tabindex]) {
    scroll-margin-bottom: var(--support-assistance-mobile-scroll-reserve);
  }

  .support-assistance--floating {
    width: var(--app-floating-action-size, 56px);
  }

  .support-assistance--floating.is-expanded,
  .support-assistance--floating:not(.is-enhanced) {
    width: min(330px, calc(100vw - 24px));
  }

  .support-assistance--floating.is-enhanced .support-assistance__panel {
    margin-bottom: 8px;
    padding: 20px;
  }

  .support-assistance__primary,
  .support-assistance__secondary {
    width: 100%;
  }

  .support-assistance__secondary {
    margin: 8px 0 0;
  }

  .support-assistance__form-actions {
    flex-direction: column;
  }
}

@media (scripting: enabled) {
  .support-assistance--floating:not(.is-enhanced) {
    width: var(--app-floating-action-size, 56px);
  }

  .support-assistance--floating:not(.is-enhanced)
    .support-assistance__launcher {
    display: flex;
  }

  .support-assistance--floating:not(.is-enhanced) .support-assistance__panel {
    display: none;
  }
}
