/* Only the local Kirov population approval page enables this mobile shell. */
@media(max-width:999px){
 body.awdb-population-mobile{--awdb-population-mobile-offset:var(--awdb-mobile-shell-height,113px)}
 body.awdb-population-mobile.awdb-mobile-away{--awdb-population-mobile-offset:48px}
 body.awdb-population-mobile .awdb-sticky-shell{transition:transform .18s ease;will-change:transform}
 body.awdb-population-mobile.awdb-mobile-away .awdb-sticky-shell{height:var(--awdb-mobile-shell-height);transform:translateY(calc(-100% - 2px));pointer-events:none}
 body.awdb-population-mobile .awdb-population-tablist{position:sticky;top:var(--awdb-population-mobile-offset);z-index:85;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0 8px;overflow:visible;transition:top .18s ease}
 body.awdb-population-mobile .awdb-population-tablist a{justify-content:center;min-width:0;min-height:48px;padding:12px 4px 10px;font-size:12px;line-height:1.5}
 body.awdb-population-mobile .awdb-population-tablist.is-pinned{border-radius:0;box-shadow:0 3px 6px #232b3c08}
 body.awdb-population-mobile .awdb-population-tabs :is(#population-dynamics,#population-history,#narody,#population-method,#population-compare){scroll-margin-top:calc(var(--awdb-population-mobile-offset) + 60px)}
 body.awdb-population-mobile .awdb-population-mobile-bar{position:fixed;inset:0 0 auto;z-index:90;display:flex;align-items:center;gap:0;height:48px;padding:0 15px;background:#fff;border-bottom:1px solid var(--line);transform:translateY(-100%);visibility:hidden;pointer-events:none;transition:transform .18s ease,visibility .18s}
 body.awdb-population-mobile.awdb-mobile-away .awdb-population-mobile-bar{transform:none;visibility:visible;pointer-events:auto}
 body.awdb-population-mobile .awdb-population-mobile-bar>.header-geo-search{position:relative;flex:0 0 30%;min-width:96px;width:auto;margin:0;padding-right:12px;max-width:140px}
 body.awdb-population-mobile .awdb-population-mobile-bar>.header-geo-search::after{content:"";position:absolute;right:0;top:10px;bottom:10px;width:1px;background:var(--line);pointer-events:none}
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-field{display:flex;align-items:center;width:100%;height:44px;min-height:44px;gap:7px;padding:0 3px;border:0;border-radius:0;background:#fff;font-size:13px;color:var(--ink)}
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-name{font-weight:600;text-align:left}
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-field svg{width:17px;height:17px}
 body.awdb-population-mobile .awdb-population-mobile-bar .awdb-service-search-note{display:none}
 body.awdb-population-mobile .awdb-population-mobile-section{display:inline-flex;align-items:center;gap:6px;justify-content:flex-start;flex:1;min-width:0;min-height:44px;padding:0 3px 0 12px;border:0;border-radius:0;background:#fff;color:var(--ink);font:inherit;font-size:12px;font-weight:500;line-height:18px;cursor:pointer}
 body.awdb-population-mobile .awdb-population-mobile-sections{position:fixed;top:56px;left:12px;right:12px;z-index:95;max-height:calc(100dvh - 72px);overflow:auto;overscroll-behavior:contain;padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 35px #232b3c1c}
 body.awdb-population-mobile .awdb-population-mobile-sections[hidden]{display:none}
 body.awdb-population-mobile .awdb-population-mobile-sections h2{margin:0 0 10px;font-size:18px;line-height:1.4}
 body.awdb-population-mobile .awdb-population-mobile-sections h3{margin:18px 0 4px;color:var(--muted);font-size:12px;font-weight:600}
 body.awdb-population-mobile .awdb-population-mobile-sections a{display:flex;align-items:center;min-height:44px;padding:9px 0;border-bottom:1px solid #eff0f4;font-size:14px;color:var(--ink);text-decoration:none}
 body.awdb-population-mobile .awdb-population-mobile-sections a[aria-current=page]{color:var(--primary);font-weight:650}
 body.awdb-population-mobile .awdb-population-mobile-sections-close{float:right;min-width:44px;min-height:44px;margin:-9px -10px 0 0;border:0;background:transparent;color:var(--muted);font-size:22px}
}
@media(prefers-reduced-motion:reduce){body.awdb-population-mobile :is(.awdb-sticky-shell,.awdb-population-tablist,.awdb-population-mobile-bar){transition:none}}

@media(max-width:999px){
 body.awdb-population-mobile .awdb-population-mobile-section-label{display:block;min-width:0;font-size:12px;font-weight:500;line-height:18px}
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-name{flex:0 1 auto;font-size:12px;font-weight:500;line-height:18px}
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-field svg{width:15px;height:15px;flex:none}
 body.awdb-population-mobile .awdb-population-mobile-sections h2{padding-right:26px;margin-bottom:16px}
 body.awdb-population-mobile .awdb-population-mobile-sections>a{padding:12px;min-height:48px;border-radius:8px;border-bottom:0}
 body.awdb-population-mobile .awdb-population-mobile-sections>a[aria-current=page]{background:#f4f0fa}
 body.awdb-population-mobile .awdb-population-mobile-group{border-bottom:1px solid var(--line)}
 body.awdb-population-mobile .awdb-population-mobile-group>summary{display:flex;align-items:center;gap:10px;min-height:50px;padding:12px 1px;cursor:pointer;list-style:none;font-size:14px;font-weight:600;color:var(--ink)}
 body.awdb-population-mobile .awdb-population-mobile-group>summary::-webkit-details-marker{display:none}
 body.awdb-population-mobile .awdb-population-mobile-group>summary>span:first-child{flex:1;min-width:0}
 body.awdb-population-mobile .awdb-population-mobile-group>summary small{display:grid;place-items:center;min-width:24px;height:22px;padding:0 5px;border-radius:6px;background:#f4f1f9;color:#8b7ba6;font-size:11px;font-weight:500}
 body.awdb-population-mobile .awdb-population-mobile-group[open]>summary{color:var(--primary)}
 body.awdb-population-mobile .awdb-population-mobile-group-links{padding:0 0 10px 13px;margin-left:3px;border-left:2px solid #eee8f6}
 body.awdb-population-mobile .awdb-population-mobile-group-links>a:last-child{border-bottom:0}
}

@media(max-width:999px){
 body.awdb-population-mobile .awdb-population-mobile-bar .quick-location-field{gap:6px}
 body.awdb-population-mobile .awdb-population-mobile-bar .awdb-service-search-icon{display:none}
 body.awdb-population-mobile .awdb-population-mobile-section-menu-icon{width:15px;height:15px;flex:none}
 body.awdb-population-mobile .awdb-population-mobile-section:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
}
