.mobile-menu{position:relative;flex:none;z-index:2}.mobile-menu-trigger{display:grid;place-items:center}
.mobile-menu-panel{position:absolute;top:calc(100% + 8px);right:0;width:min(230px,calc(100vw - 32px));padding:8px;border:1px solid #dedbd5;border-radius:18px;background:#faf9f6;color:#151515;box-shadow:0 14px 38px #0002;z-index:30}
.mobile-menu-panel>button,.mobile-menu-theme{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:46px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;text-align:left}
.mobile-menu-panel>button:hover{background:#0000000a}.mobile-menu-panel>button:focus-visible{outline:2px solid currentColor;outline-offset:-2px}.mobile-menu-theme{position:relative;justify-content:flex-start;border-top:1px solid #00000010;border-radius:0;padding-block:2px}
.mobile-menu-theme bulavka-theme-toggle{margin:0;order:-1}.mobile-menu-theme .theme-toggle{width:20px;height:20px;padding:0;position:static}
:root[data-theme=dark] .mobile-menu-panel{background:#202226;border-color:#ffffff29;color:#f5f5f2;box-shadow:0 14px 38px #0008}:root[data-theme=dark] .mobile-menu-panel>button:hover{background:#ffffff12}:root[data-theme=dark] .mobile-menu-theme{border-color:#ffffff1c}
@media(max-width:900px){.mobile-bottom-nav,.app-shell--map .mobile-bottom-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-bottom-nav .mobile-nav-glass{width:calc((100% - 16px)/3)}.mobile-bottom-nav[data-no-selection=true] .mobile-nav-glass{opacity:0}}
.map-mobile-menu{display:none}
@media(max-width:900px){.map-mobile-menu{position:fixed;z-index:25;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));display:block}.map-mobile-menu .mobile-menu-trigger{width:44px;height:44px;background:#faf9f6;box-shadow:0 3px 15px #0002}.map-mobile-menu .mobile-menu-panel{left:0;right:auto}:root[data-theme=dark] .map-mobile-menu .mobile-menu-trigger{background:#202226;color:#f5f5f2}}
@media(max-width:900px){.places-shortcuts{display:none}}
.mobile-menu-theme>span{white-space:nowrap;font-size:14px}
.mobile-menu-glyph{position:relative;display:block;width:22px;height:22px}.mobile-menu-glyph i{position:absolute;left:2px;right:2px;height:1.8px;border-radius:2px;background:currentColor;transition:transform .24s ease,top .24s ease,opacity .16s ease}.mobile-menu-glyph i:nth-child(1){top:5px}.mobile-menu-glyph i:nth-child(2){top:10px}.mobile-menu-glyph i:nth-child(3){top:15px}.mobile-menu-trigger[aria-expanded=true] .mobile-menu-glyph i:nth-child(1){top:10px;transform:rotate(45deg)}.mobile-menu-trigger[aria-expanded=true] .mobile-menu-glyph i:nth-child(2){opacity:0}.mobile-menu-trigger[aria-expanded=true] .mobile-menu-glyph i:nth-child(3){top:10px;transform:rotate(-45deg)}
.mobile-menu-panel{transform-origin:top right;animation:mobile-menu-enter .2s ease both}@keyframes mobile-menu-enter{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.mobile-menu-glyph i{transition:none}.mobile-menu-panel{animation:none}}
.mobile-topbar-actions>.mobile-menu{order:101}

.mobile-menu-theme .theme-toggle::after{content:"";position:absolute;inset:0}
.mobile-menu-theme .theme-toggle svg{width:20px;height:20px}

/* Theme uses the same row metrics and label typography as the navigation actions. */
#mobile-menu-panel .mobile-menu-theme {
  display:flex; align-items:center; gap:12px; padding:10px 12px; min-height:46px;
  border:0; border-radius:12px; cursor:pointer; font:inherit;
}
#mobile-menu-panel .mobile-menu-theme > span {font:inherit; pointer-events:none}
#mobile-menu-panel .mobile-menu-theme bulavka-theme-toggle {display:contents}
#mobile-menu-panel .mobile-menu-theme .theme-toggle {
  display:flex;align-items:center;justify-content:center;order:-1;flex:0 0 20px;
  width:20px;height:20px;min-width:0;min-height:0;padding:0;margin:0;border:0;
  position:static;background:transparent;box-shadow:none;color:inherit;
}
#mobile-menu-panel .mobile-menu-theme:hover {background:#0000000a}
:root[data-theme=dark] #mobile-menu-panel .mobile-menu-theme:hover {background:#ffffff12}
#mobile-menu-panel .mobile-menu-theme:has(:focus-visible){outline:2px solid currentColor;outline-offset:-2px}
#mobile-menu-panel .mobile-menu-theme { padding-left:44px; }
#mobile-menu-panel .mobile-menu-theme .theme-toggle {
  position:absolute; inset:0; width:100%; height:100%; justify-content:flex-start;
  padding-left:12px; border-radius:inherit; z-index:1;
}
#mobile-menu-panel .mobile-menu-theme .theme-toggle::after {content:none}
