/* TPS V31-M4X: condensed own-code WHMCS-style grouped navigation.
   Desktop: 1 dashboard + 4 categories. Phone: 1 menu toggle, not a sideways list. */
#section-navigation{display:flex;flex-direction:column;gap:6px;min-width:0}
#section-navigation .tps-nav-label{margin:6px 12px 4px}
#section-navigation>.nav-item{width:100%;min-height:44px;cursor:pointer}
#section-navigation .tps-menu-group{width:100%;min-width:0;
 border:1px solid #3e6450;border-radius:10px;overflow:hidden;background:#1b4030}
#section-navigation .tps-menu-group>summary{cursor:pointer;list-style:none;
 display:flex;align-items:center;justify-content:space-between;
 gap:8px;min-height:46px;box-sizing:border-box;padding:11px 12px;
 font-size:12px;font-weight:780;color:#e4efe8;overflow-wrap:anywhere}
#section-navigation .tps-menu-group>summary::-webkit-details-marker{display:none}
#section-navigation .tps-menu-group>summary::after{content:"";
 border-right:2px solid #bdd6c5;border-bottom:2px solid #bdd6c5;
 transform:rotate(45deg);width:6px;height:6px;flex:0 0 auto;
 margin-right:4px;transition:transform .12s}
#section-navigation .tps-menu-group[open]>summary::after{transform:rotate(225deg)}
#section-navigation .tps-menu-group>summary:hover{background:#315c46}
#section-navigation .tps-menu-has-selected{border-color:#a6d7ae}
#section-navigation .tps-menu-has-selected>summary{background:#27573e;color:#fff}
#section-navigation .tps-menu-links{display:flex;flex-direction:column;
 gap:3px;padding:3px 6px 7px;border-top:1px solid #385f49;min-width:0}
#section-navigation .tps-menu-links button.nav-item{width:100%;text-align:left;
 box-sizing:border-box;min-width:0;min-height:44px;
 padding:9px 11px;white-space:normal;cursor:pointer;overflow-wrap:anywhere}
#section-navigation .tps-menu-links .tps-kb-master-menu{margin-top:2px;
 min-height:44px;box-sizing:border-box;font-size:12px}
#section-navigation button:focus-visible,
#section-navigation a:focus-visible,
#section-navigation summary:focus-visible,
#tps-menu-toggle-v31m4x:focus-visible{outline:3px solid #efbb49;outline-offset:-3px}
#tps-menu-toggle-v31m4x{display:none}
.sidebar{gap:19px}
.sidebar-footer{margin-top:auto}
@media(max-width:780px){
 .sidebar{gap:0;padding:10px 14px}
 #tps-menu-toggle-v31m4x{display:flex;width:100%;align-items:center;
 justify-content:space-between;gap:10px;min-height:46px;
 border:1px solid #527a60;border-radius:10px;
 background:#254f3b;color:#f4fbf6;padding:11px 15px;
 box-sizing:border-box;cursor:pointer;font-size:14px;font-weight:780}
 #tps-menu-toggle-v31m4x::after{content:"";width:7px;height:7px;
 border-right:2px solid currentColor;border-bottom:2px solid currentColor;
 transform:rotate(45deg);margin-right:4px}
 #tps-menu-toggle-v31m4x[aria-expanded="true"]::after{transform:rotate(225deg)}
 #section-navigation{display:none;overflow-x:visible;overflow-y:auto;
 max-height:min(68vh,520px);padding:9px 2px 3px;
 flex-direction:column;gap:6px;scrollbar-width:thin;width:100%;box-sizing:border-box}
 #section-navigation.tps-menu-mobile-open{display:flex}
 #section-navigation .tps-menu-group{flex:0 0 auto;display:block}
 #section-navigation .tps-menu-group>summary{white-space:normal}
 #section-navigation .tps-menu-links{width:100%;box-sizing:border-box}
 #section-navigation .tps-menu-links button.nav-item{white-space:normal;
 min-height:44px;width:100%;box-sizing:border-box}
 #section-navigation .tps-menu-links .tps-kb-master-menu{width:100%}
 #section-navigation .tps-nav-label{display:block;margin:2px 10px 1px}
 .sidebar .nav-item{white-space:normal}
}
@media(prefers-reduced-motion:reduce){
 #section-navigation .tps-menu-group>summary::after{transition:none}
}
