/* BOOK AKAI V3.3.13.2 — Cuti mobile sidebar layering/specificity hotfix.
   Preserve Aset's working sidebar. No changes to form behavior/routes. */
@media (max-width: 900px) {
  /* The V3.3.13 rule body.akai-cuti-layout .shell > .sidebar has higher
     specificity than the generic body.akai-nav-open .sidebar rule.
     Give the opened state an ID-qualified selector so it can win. */
  body.akai-cuti-layout .shell > #akai-feature-sidebar.sidebar {
    position: fixed;
    inset: 65px auto 0 0;
    width: min(305px, 86vw);
    height: calc(100dvh - 65px);
    max-height: calc(100dvh - 65px);
    z-index: 141;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    background: var(--akai-paper);
    border-right: 1px solid var(--akai-stroke);
  }
  body.akai-cuti-layout.akai-nav-open .shell > #akai-feature-sidebar.sidebar {
    display: flex;
    flex-direction: column;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
  body.akai-cuti-layout .shell > .sidebar-backdrop {
    z-index: 140;
  }
  body.akai-cuti-layout.akai-nav-open .shell > .sidebar-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  /* Restore useful menu labels/vertical links suppressed by legacy mobile CSS. */
  body.akai-cuti-layout #akai-feature-sidebar .nav-label {
    display: block;
    margin: 0 13px 8px;
  }
  body.akai-cuti-layout #akai-feature-sidebar .nav {
    display: grid;
    gap: 4px;
    overflow: visible;
  }
  body.akai-cuti-layout #akai-feature-sidebar .nav a {
    display: flex;
    width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    padding: 11px 13px;
  }
}
/* Remove unnecessary empty space after removing the duplicate sidebar logo. */
body.akai-cuti-layout #akai-feature-sidebar {gap: 18px;}
