.vf-skip-link:focus {
  position: fixed;
  z-index: 1040;
  top: env(safe-area-inset-top, 0px);
  left: env(safe-area-inset-left, 0px);
  padding: .75rem 1rem;
  color: #123047;
  background: #fff;
}

.vf-public-main {
  padding-block: 1.5rem;
}

.vf-sign-in-panel {
  max-width: 560px;
}

.vf-sign-in-help {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: .75rem;
}

.vf-sign-in-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-align: center;
  text-underline-offset: 3px;
}

.vf-staff-sign-in {
  margin-top: 12px;
  padding-top: 4px;
  border-top: 1px solid #dce4ef;
  text-align: center;
}

.vf-staff-sign-in a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #526172;
  text-underline-offset: 3px;
}

.vf-visitor-modal {
  --bs-modal-bg: #fff;
  --bs-modal-color: #22313e;
}

.vf-visitor-modal .modal-header {
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e1e9ee;
}

.vf-visitor-modal .vf-visitor-heading p {
  margin: 0 0 3px;
  color: #526172;
}

.vf-visitor-modal .modal-title {
  font-size: 1.25rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@media (max-width: 991.98px) {
  .vf-visitor-modal .modal-dialog {
    --db-modal-top: max(12px, env(safe-area-inset-top, 0px));
    --db-modal-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    height: calc(100% - var(--db-modal-top) - var(--db-modal-bottom));
    min-height: 0;
    margin: var(--db-modal-top) auto var(--db-modal-bottom);
    width: calc(100% - max(12px, env(safe-area-inset-left, 0px)) - max(12px, env(safe-area-inset-right, 0px)));
  }

  .vf-visitor-modal .modal-content {
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 14px;
  }

  .vf-visitor-modal .modal-header {
    padding: 14px 16px;
  }

  .vf-visitor-modal .modal-title {
    font-size: 22px;
    font-weight: 600;
  }

  .vf-visitor-modal .modal-header .btn-close {
    flex: none;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 50%;
    background-color: #edf3f6;
    opacity: 1;
  }

  .vf-visitor-modal .modal-body {
    padding: 16px;
  }

  .vf-visitor-modal .modal-footer {
    padding: 0 16px 16px;
    border-top: 0;
  }

  .vf-visitor-modal .modal-footer > * {
    margin: 0;
  }

  .vf-visitor-modal .modal-footer [role="alert"] {
    width: 100%;
  }

  html:has(.vf-public-app) {
    --vf-screen-gutter: 16px;
    --vf-tab-height: 64px;
    scroll-padding-top: calc(70px + env(safe-area-inset-top, 0px));
  }

  html:has(.vf-has-tab-bar) {
    scroll-padding-bottom: calc(var(--vf-tab-height) + env(safe-area-inset-bottom, 0px) + 8px);
  }

  .vf-public-app {
    margin-bottom: 0;
    overflow-x: clip;
  }

  .vf-public-app.vf-has-tab-bar {
    padding-bottom: calc(var(--vf-tab-height) + env(safe-area-inset-bottom, 0px));
  }

  .vf-site-header {
    padding-top: env(safe-area-inset-top, 0px);
    background: #fff;
  }

  .vf-visitor-header {
    background: #123047;
    color: #fff;
    border-bottom-color: #23475d;
    box-shadow: 0 3px 10px rgba(18, 48, 71, .12);
  }

  .vf-visitor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 68px;
    padding-block: 10px;
    padding-left: calc(var(--vf-screen-gutter) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--vf-screen-gutter) + env(safe-area-inset-right, 0px));
  }

  .vf-visitor-heading {
    min-width: 0;
  }

  .vf-visitor-heading p {
    margin: 0 0 3px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    color: #c4deee;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .vf-visitor-heading h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .vf-visitor-account {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #7996aa;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
    text-decoration: none;
  }

  .vf-visitor-account:is(:hover, :focus-visible, [aria-expanded="true"]) {
    background: #244d65;
    color: #fff;
  }

  .vf-visitor-bar .dropdown-menu {
    min-width: 10rem;
    border-radius: 12px;
    box-shadow: 0 10px 26px rgba(18, 48, 71, .18);
  }

  .vf-visitor-bar .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 16px;
  }

  .vf-site-nav {
    min-height: 60px;
    padding-block: 6px;
  }

  .vf-site-nav,
  .vf-public-main {
    padding-left: calc(var(--vf-screen-gutter) + env(safe-area-inset-left, 0px));
    padding-right: calc(var(--vf-screen-gutter) + env(safe-area-inset-right, 0px));
  }

  .vf-site-brand {
    min-height: 44px;
    padding-block: 0;
    font-size: 18px;
  }

  .vf-site-brand-mark {
    width: 36px;
    height: 36px;
    box-shadow: none;
  }

  .vf-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    color: #334155;
    font-size: 1.4rem;
  }

  .vf-site-nav .navbar-collapse .nav-item:not(.d-none) :is(a, button) {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-block: 6px;
  }

  @media (max-width: 575.98px) {
    .vf-site-nav {
      flex-wrap: nowrap;
      gap: 8px;
      min-height: 56px;
      padding-block: 4px;
    }
    .vf-site-nav .vf-site-brand {
      flex: 1 1 0;
      min-width: 0;
      margin-right: 0;
      gap: 8px;
      font-size: 16px;
    }
    .vf-site-brand > span:last-child { min-width: 0; }
    .vf-site-brand strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .vf-site-brand-mark { width: 28px; height: 28px; flex-shrink: 0; font-size: 16px; }
    .vf-site-nav .navbar-collapse { flex: 0 0 auto; }
    .vf-site-nav .navbar-nav { flex-wrap: nowrap; gap: 4px; }
    .vf-site-nav .navbar-collapse .nav-item:not(.d-none) :is(a, button) {
      margin-block: 0;
      padding-inline: 8px;
      font-size: 13px;
      white-space: nowrap;
    }
    .vf-site-header { box-shadow: 0 2px 8px rgba(15, 23, 42, .05); }
  }

  @media (max-width: 359.98px) {
    .vf-site-nav .vf-site-brand { gap: 6px; font-size: 15px; }
    .vf-site-brand-mark { width: 26px; height: 26px; font-size: 15px; }
    .vf-site-nav .navbar-collapse .nav-item:not(.d-none) :is(a, button) { font-size: 12px; padding-inline: 6px; }
  }

  .vf-public-main {
    padding-block: 16px 24px;
  }

  .vf-tab-bar {
    position: fixed;
    z-index: 1020;
    inset: auto 0 0;
    display: flex;
    min-height: calc(var(--vf-tab-height) + env(safe-area-inset-bottom, 0px));
    padding: 5px max(8px, env(safe-area-inset-right, 0px)) calc(5px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px));
    border-top: 1px solid #d8e2ee;
    background: #fff;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, .06);
  }

  .vf-tab-bar a {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    border-radius: 12px;
    color: #475569;
    font-size: .85rem;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
  }

  .vf-tab-bar .bi {
    font-size: 1.35rem;
    line-height: 1;
  }

  .vf-tab-bar a[aria-current],
  .vf-tab-bar a:active {
    color: #174982;
    background: #e8f1fc;
  }

  .vf-tab-bar a:focus-visible,
  .vf-mobile-back:focus-visible {
    outline: 2px solid #2667b8;
    outline-offset: -2px;
  }

  .vf-public-app :is(.form-control, .form-select) {
    min-height: 44px;
    font-size: max(16px, 1rem);
  }

  .vf-public-app :is(a.btn, button.btn) {
    min-height: 44px;
    align-content: center;
  }

  .vf-public-main .vf-sign-in-panel {
    padding: 20px 16px 12px;
    border-color: #dce4ef;
    border-radius: 14px;
  }

  .vf-visitor-form .form-label {
    color: #223a4c;
    font-size: 15px;
    font-weight: 600;
  }

  .vf-visitor-form .form-control {
    min-width: 0;
    min-height: 48px;
    border-radius: 8px;
  }

  .vf-visitor-form .btn-primary,
  .vf-visitor-modal .modal-footer .btn-primary {
    min-height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
  }

  .vf-sign-in-help a {
    color: #174982;
    font-size: 15px;
  }

  .vf-mobile-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    margin-bottom: .5rem;
    color: #174982;
    font-weight: 650;
    text-decoration: none;
  }
}

@media (max-width: 767.98px) {
  .vf-public-app {
    font-size: 16px;
    line-height: 1.5;
  }

  .vf-public-main :is(.small, small, .vf-eyebrow) {
    font-size: 14px;
    line-height: 1.4;
  }

  .vf-public-main :is(h1, h2, h3) {
    overflow-wrap: anywhere;
  }

  .vf-public-main :is(.vf-storefront-title, .vf-public-detail-hero h1) {
    font-size: clamp(26px, 7.5vw, 34px);
    font-weight: 750;
    line-height: 1.18;
  }

  .vf-public-main :is(.vf-storefront-copy, .vf-public-detail-hero p) {
    font-size: 16px;
    line-height: 1.5;
  }

  .vf-public-main :is(.vf-storefront-search, .vf-finder-panel, .vf-venue-body, .vf-public-section, .vf-booking-form-shell, .vf-booking-summary, .vf-booking-confirmation) {
    padding: 16px;
  }

  .vf-public-main :is(.vf-storefront-hero, .vf-public-detail-hero-content) {
    padding: 20px 16px;
  }

  .vf-public-main .vf-storefront-hero {
    min-height: 0;
    border-radius: 14px;
  }

  .vf-public-main .vf-finder-hero {
    width: auto;
    margin-inline: 0;
  }

  .vf-public-main .vf-storefront-hero > .row {
    --bs-gutter-x: 0;
    --bs-gutter-y: 16px;
  }

  .vf-public-main .vf-finder-hero-proof {
    gap: 8px;
    font-size: 14px;
  }

  .vf-public-main .vf-finder-hero-proof span {
    padding: 5px 10px;
  }

  .vf-public-main .vf-booking-summary {
    position: static;
  }
}

@media (max-width: 1199.98px) {
  .app-shell-header {
    padding-top: env(safe-area-inset-top, 0px);
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
  }

  .portal-body .app-main {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .vf-portal-menu {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 1.4rem;
  }

  .vf-portal-profile {
    min-height: 44px;
    max-width: 26vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .app-sidebar.offcanvas-xl {
    --bs-offcanvas-width: min(320px, 90vw);
    padding: env(safe-area-inset-top, 0px) 0 0 env(safe-area-inset-left, 0px);
  }

  .app-sidebar .offcanvas-header {
    flex: none;
    border-bottom: 1px solid #d8e2ee;
  }

  .app-sidebar .offcanvas-header .btn-close {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
  }

  .vf-portal-nav {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .vf-portal-nav :is(a, summary) {
    min-height: 44px;
  }
}

@media (max-width: 399.98px) {
  .vf-portal-brand-name {
    font-size: 1rem;
  }
}

@media (min-width: 1200px) {
  .app-sidebar.offcanvas-xl {
    background-color: #fff !important;
  }
}

