/* Phase 3: brief, native-feeling post-action navigation orientation. */
.al-nav-orientation-opener {
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(44, 107, 74, .20), 0 8px 22px rgba(44, 107, 74, .16) !important;
  background-color: rgba(240, 250, 244, .96) !important;
}

.al-nav-orientation-opener:not(.al-nav-orientation-opener--reinforce) {
  animation: al-nav-orientation-pulse 1.05s ease-in-out 2;
}

.al-nav-orientation-opener--exposure-2:not(.al-nav-orientation-opener--reinforce) {
  animation-iteration-count: 1;
  box-shadow: 0 0 0 2px rgba(44, 107, 74, .16), 0 5px 15px rgba(44, 107, 74, .11) !important;
}

.al-nav-orientation-opener--exposure-3:not(.al-nav-orientation-opener--reinforce) {
  animation: none;
  box-shadow: 0 0 0 2px rgba(44, 107, 74, .13), 0 4px 12px rgba(44, 107, 74, .08) !important;
}

.al-nav-orientation-opener--reinforce {
  box-shadow: 0 0 0 2px rgba(44, 107, 74, .16), 0 5px 16px rgba(44, 107, 74, .12) !important;
}

@keyframes al-nav-orientation-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(44, 107, 74, .20), 0 8px 22px rgba(44, 107, 74, .16); }
  50% { box-shadow: 0 0 0 7px rgba(44, 107, 74, .08), 0 10px 26px rgba(44, 107, 74, .22); }
}

.al-nav-orientation-target {
  position: relative;
  z-index: 2;
  background: rgba(44, 107, 74, .075) !important;
  box-shadow: inset 3px 0 0 #2c6b4a !important;
  border-radius: 10px;
  color: #173d2a !important;
  overflow: visible !important;
}

.al-nav-orientation-target--exposure-2 {
  background: rgba(44, 107, 74, .055) !important;
  box-shadow: inset 2px 0 0 rgba(44, 107, 74, .82) !important;
}

.al-nav-orientation-target--exposure-3 {
  background: rgba(44, 107, 74, .04) !important;
  box-shadow: inset 2px 0 0 rgba(44, 107, 74, .62) !important;
}

.al-nav-orientation__hint {
  position: absolute;
  z-index: 4;
  top: calc(100% + 7px);
  left: 38px;
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 46px);
  margin: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #2c6b4a;
  color: #fff;
  box-shadow: 0 7px 16px rgba(23, 61, 42, .20);
  font: 650 12px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .005em;
  pointer-events: none;
}

#alDrawer .al-nav-orientation-target {
  overflow: visible !important;
}

#alDrawer .al-nav-orientation__hint {
  left: 40px;
}

#alRail .al-nav-orientation-target {
  height: auto !important;
  min-height: 66px !important;
  align-items: flex-start !important;
  padding-bottom: 27px !important;
  overflow: visible !important;
}

#alRail .al-nav-orientation__hint {
  top: auto;
  bottom: 6px;
  left: 40px;
  width: max-content;
  max-width: calc(100% - 52px);
  padding: 4px 7px;
  font-size: 11px;
  transform: none;
}

@media (max-width: 374px) {
  #alDrawer .al-nav-orientation__hint {
    left: 32px;
    max-width: calc(100% - 38px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .al-nav-orientation-opener:not(.al-nav-orientation-opener--reinforce) { animation: none !important; }
}
