/* V6.30 — translated mobile overview navigation, true dark menu, no Project Universe exit */
@media (max-width:54rem){
  .apu-v69-exit-link,.apu-final-mobile-exit,.apu-mobile-exit,.project-exit-link,[data-apu-action="exit-project"]{display:none!important}

  :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) > [data-apu-overview="true"]{
    order:-999!important;
    position:sticky!important;
    top:0!important;
    z-index:8!important;
    border-width:1px!important;
    font-weight:900!important;
    box-shadow:0 8px 22px rgba(15,23,42,.09)!important;
  }

  html[data-apu-theme="dark"] .apu-v69-malaysia-nav,
  html.dark .apu-v69-malaysia-nav,
  html[data-apu-theme="dark"] .apu-final-mobile-bar,
  html.dark .apu-final-mobile-bar{
    background:#030507!important;
    color:#f8fafc!important;
    border-color:#1f2937!important;
    box-shadow:0 12px 34px rgba(0,0,0,.42)!important;
  }
  html[data-apu-theme="dark"] :is(.apu-v69-native-brand strong,.apu-v69-native-brand small,.apu-final-mobile-brand strong,.apu-final-mobile-brand small),
  html.dark :is(.apu-v69-native-brand strong,.apu-v69-native-brand small,.apu-final-mobile-brand strong,.apu-final-mobile-brand small){
    color:#f8fafc!important;
    -webkit-text-fill-color:#f8fafc!important;
    opacity:1!important;
  }
  html[data-apu-theme="dark"] :is(.apu-v69-native-toggle,.apu-final-mobile-menu,.apu-final-drawer-close),
  html.dark :is(.apu-v69-native-toggle,.apu-final-mobile-menu,.apu-final-drawer-close){
    background:#0b0f14!important;
    color:#f8fafc!important;
    -webkit-text-fill-color:#f8fafc!important;
    border-color:#334155!important;
    box-shadow:0 5px 0 rgba(0,0,0,.62)!important;
  }

  html[data-apu-theme="dark"] :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer,.apu-v5-mobile-nav-drawer,.apu-mobile-drawer-v65,.ai-architect-drawer),
  html.dark :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer,.apu-v5-mobile-nav-drawer,.apu-mobile-drawer-v65,.ai-architect-drawer){
    background:#05070a!important;
    color:#f8fafc!important;
    border-color:#1f2937!important;
    box-shadow:0 24px 54px rgba(0,0,0,.58)!important;
  }

  html[data-apu-theme="dark"] :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a,
  html.dark :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a{
    background:#0b0f14!important;
    color:#e5edf6!important;
    -webkit-text-fill-color:#e5edf6!important;
    border-color:#1f2937!important;
    opacity:1!important;
  }
  html[data-apu-theme="dark"] :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a span:first-child,
  html.dark :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a span:first-child{
    background:#111827!important;
    color:#67e8f9!important;
    -webkit-text-fill-color:#67e8f9!important;
  }
  html[data-apu-theme="dark"] :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a[aria-current="page"],
  html.dark :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) a[aria-current="page"]{
    background:#111b26!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    border-color:#22d3ee!important;
    box-shadow:inset 4px 0 0 #22d3ee!important;
  }
  html[data-apu-theme="dark"] :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) > [data-apu-overview="true"],
  html.dark :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) > [data-apu-overview="true"]{
    background:#080b10!important;
    border-color:#334155!important;
  }

  /* Light mode remains crisp and the first Overview item stays visually distinct. */
  html:not([data-apu-theme="dark"]):not(.dark) :is(.apu-v69-malaysia-menu,.apu-final-mobile-drawer nav,.apu-v5-mobile-nav-drawer nav,.apu-mobile-drawer-v65 nav,.ai-architect-drawer nav) > [data-apu-overview="true"]{
    background:#eef9fb!important;
    color:#0f5260!important;
    border-color:#b9e2e7!important;
  }
}
