/* Navigation compacte pour Villemer et Meigneux. */
.kapsia-menu-toggle{display:none}
@media(max-width:850px){
 body>aside{position:sticky!important;top:0;z-index:40;width:100%!important;height:auto!important;max-height:85vh;max-height:85dvh;overflow-y:auto;overflow-x:hidden;padding:10px 16px!important;flex-shrink:0}
 body>aside .brand{min-height:44px;gap:8px;flex-wrap:nowrap}
 body>aside .brand-logo{width:38px;height:38px}
 body>aside .brand-name{font-size:21px}
 body>aside .version{font-size:10px;margin-left:0;padding:3px 6px}
 body>aside nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 4px;width:100%;min-width:0}
 body>aside nav .nav{width:100%;min-width:0;min-height:48px;white-space:normal;overflow-wrap:break-word;text-align:left;font-size:14px;line-height:1.25;padding:11px 12px;margin:0}
 body>aside.mobile-menu-ready .kapsia-menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;min-width:74px;min-height:44px;padding:9px 12px;border:1px solid #ffe7c2;border-radius:10px;background:transparent;color:#fff;font:700 14px/1.2 system-ui;flex-shrink:0}
 body>aside.mobile-menu-ready:not(.mobile-menu-open) .commune,body>aside.mobile-menu-ready:not(.mobile-menu-open) nav{display:none!important}
 body>aside .commune{margin-top:12px;font-size:12px}
 body>aside .profile-panel{margin-top:8px}
 body>aside .privacy{display:none}
 body>main{margin-left:0!important;width:100%!important;min-width:0;padding:20px 16px!important}
 body>main .global-userbar{flex-wrap:wrap;gap:10px}
}
@media(max-width:370px){body>aside{padding:8px 10px!important}body>aside .brand-name{font-size:19px}body>aside .version{font-size:9px}body>aside .brand-logo{width:32px;height:32px}}
