.home-menu-toggle{position:fixed;z-index:1200;bottom:calc(14px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #82a28a;border-radius:14px;background:#245940;color:#eaffdf;box-shadow:0 4px 18px #123c3530;cursor:pointer}
.home-menu-toggle svg{width:23px;height:23px}.home-menu-backdrop{position:fixed;inset:0;z-index:1100;background:#102b2766;backdrop-filter:blur(3px)}
.home-menu-panel{position:fixed;z-index:1150;left:50%;bottom:calc(75px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(330px,calc(100% - 32px));max-height:calc(100dvh - 120px);overflow:auto;padding:15px;background:#f8fcf8;border:1px solid #c2d6c8;border-radius:18px;box-shadow:0 15px 50px #153c3540;color:#1d4938;font-family:Inter,system-ui,sans-serif}
.home-menu-heading{padding:5px 10px 13px;border-bottom:1px solid #dbe7df;font-size:17px;font-weight:800;letter-spacing:-.4px}.home-menu-heading span{color:#609946}.home-menu-panel a{display:flex;align-items:center;gap:12px;padding:14px 10px;border-radius:10px;text-decoration:none;color:#245940;font-size:13px;font-weight:600}.home-menu-panel a:hover,.home-menu-panel a[aria-current=page]{background:#eaf3e8}.home-menu-panel svg{width:20px;height:20px;flex:none}.home-menu-panel .menu-arrow{margin-left:auto;color:#739780}.home-menu-backdrop[hidden],.home-menu-panel[hidden]{display:none!important}.home-menu-toggle:focus-visible,.home-menu-panel a:focus-visible{outline:2px solid #6c994f;outline-offset:3px}

/* Unified mobile navigation, matching the light GPS interface. */
.home-bottom-bar{position:fixed;z-index:1200;bottom:calc(10px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(360px,calc(100% - 24px));display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:7px;background:#f8fcf8f5;border:1px solid #cbded0;border-radius:18px;backdrop-filter:blur(16px);box-shadow:0 6px 24px #163e3530;font-family:Inter,system-ui,sans-serif}
.home-bottom-bar>a,.home-bottom-bar>button{position:static;transform:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:46px;padding:7px 4px;border:0;border-radius:12px;background:transparent;color:#628373;text-decoration:none;font-size:10px;font-weight:650;line-height:1.15;cursor:pointer}
.home-bottom-bar svg{width:21px;height:21px;flex:none}.home-bottom-bar .selected{background:#e6f1e4;color:#245940}.home-bottom-bar .home-bar-menu[aria-expanded=true]{background:#245940;color:#eefbe6}.home-menu-panel{bottom:calc(88px + env(safe-area-inset-bottom,0px))}
@media(max-width:700px){.mobile-list-toggle{display:none!important}.leaflet-bottom{bottom:80px!important}}

/* V13.60: slim shared navigation, close to the bottom and softly translucent. */
.home-bottom-bar{bottom:calc(3px + env(safe-area-inset-bottom,0px));gap:4px;padding:4px;width:min(340px,calc(100% - 20px));border-radius:15px;background:#f5fbf2b8;border-color:#c2d6c78c;backdrop-filter:blur(12px);box-shadow:0 3px 14px #163e3520}
.home-bottom-bar>a,.home-bottom-bar>button{min-height:37px;padding:4px 3px;gap:3px;font-size:9px;border-radius:10px}.home-bottom-bar svg{width:17px;height:17px}.home-bottom-bar .selected{background:#d8eace8c}.home-menu-panel{bottom:calc(57px + env(safe-area-inset-bottom,0px))}
.migration-page .home-bottom-bar{background:#102923b8;border-color:#789e6945;box-shadow:0 3px 14px #0003}.migration-page .home-bottom-bar>a,.migration-page .home-bottom-bar>button{color:#c1d6c6;font-size:9px}.migration-page .home-bottom-bar .selected{background:#baf49f20;color:#d0f5b9}.migration-page .home-bottom-bar .home-bar-menu[aria-expanded=true]{background:#baf49f;color:#183521}
body:has(.home-bottom-bar):not(:has(#root)){padding-bottom:60px}
@media(max-width:800px){
 .sidebar.mobile-open{display:flex!important;position:fixed!important;inset:66px 0 calc(52px + env(safe-area-inset-bottom,0px))!important;z-index:1050!important;width:min(100%,390px)!important;overflow:auto!important;background:#f8faf7;padding-bottom:12px!important}
 .leaflet-bottom{bottom:54px!important}
}

/* Separate the brand name and subtitle in headers and navigation panels. */
.home-menu-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px;line-height:1.2}
.home-menu-heading strong{display:block;font-size:17px;line-height:1.2}
.home-menu-heading small{display:block;margin:0;font-size:8px;font-weight:500;line-height:1.4;letter-spacing:2px;color:#779080}
.header .brand{gap:11px;line-height:1.15}.header .brand>span:not(.brand-icon){display:block;line-height:1.15}.header .brand small{display:block;margin-top:7px;line-height:1.4}
.migration-page .migration-brand{line-height:1.15}.migration-page .migration-brand small{display:block;margin-top:7px;line-height:1.4}
@media(max-width:700px){.header .brand small{margin-top:6px}.migration-page .migration-brand small{margin-top:6px}}

/* Bottom navigation is for mobile screens only. */
@media(min-width:801px){
 .home-bottom-bar,.home-menu-panel,.home-menu-backdrop{display:none!important}
 body:has(.home-bottom-bar):not(:has(#root)){padding-bottom:0}
 .migration-page .migration-shell{padding-bottom:0}
}
