/* Scoped sidebar styling; existing page/forms and mobile drawer are preserved. */
.cm-sidebar.sidebar{width:258px;background:#1E293B;color:#f8fafc}
.cm-sidebar .nav{padding:7px 10px 14px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#536277 #1e293b}
.cm-sidebar .brand{padding:16px 20px}.cm-sidebar .brand-logo{max-height:100px;object-fit:contain}
.cm-sidebar .nav .cm-group{margin:3px 0;border:0}.cm-sidebar .cm-group>summary{display:flex;align-items:center;gap:9px;min-height:44px;padding:9px 10px;cursor:pointer;border-radius:8px;color:#e2e8f0;font-size:14px;font-weight:600;list-style:none}
.cm-sidebar summary::-webkit-details-marker{display:none}.cm-sidebar summary::marker{content:''}.cm-sidebar .cm-group>summary:hover{background:#2c3a4f}.cm-sidebar .cm-group[open]>summary{background:#29374b;color:white}
.cm-sidebar .ico{width:20px;flex:0 0 20px;display:grid;place-items:center}.cm-sidebar .ico svg{width:19px;height:19px}.cm-chevron{margin-left:auto;transition:transform .15s}.cm-group[open]>summary>.cm-chevron{transform:rotate(90deg)}
.cm-sidebar .nav .cm-group>button{min-height:37px;margin:2px 0;padding:7px 8px 7px 35px;font-size:12.5px;gap:7px;color:#cbd5e1;border-radius:7px;box-shadow:none;line-height:1.35}.cm-sidebar .nav .cm-group>button>.ico{display:none}.cm-sidebar .nav button:hover{background:#ffffff0c;color:#fff}
.cm-sidebar .nav button.active{background:#6f263244;color:#fff;border-left:3px solid #d43b45;box-shadow:none}.cm-sidebar .nav .subnav{margin:3px 2px 8px 28px;padding-left:8px;border-left:1px solid #536174}.cm-sidebar .subnav .subitem{font-size:12px;padding:7px;min-height:34px}.cm-sidebar .cm-subgroup{margin-left:19px!important}.cm-sidebar .cm-subgroup>summary{font-size:12.5px;min-height:37px;font-weight:500}.cm-sidebar .cm-subgroup>summary>.ico{display:none}.cm-sidebar .nav .cm-subgroup>button{padding-left:17px}
.cm-help{border-top:1px solid #ffffff20;padding-top:8px;margin-top:12px}.cm-sidebar .cm-help button{min-height:38px;font-size:12px}
.cm-sidebar .sidefoot{padding:12px 18px;font-size:11px}.cm-sidebar .sidefoot small{display:block;margin-top:4px;color:#cbd5e1}.cm-sidebar .sidefoot button{font-size:11px;padding:5px 9px;margin-right:6px}
.cm-sidebar summary:focus-visible,.cm-sidebar button:focus-visible{outline:2px solid #ff9ba2;outline-offset:1px}
@media(min-width:961px){.agi-sidebar-compact .cm-sidebar{width:78px}.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .cm-title,.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .cm-chevron{display:none}.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .cm-group>button,.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .cm-subgroup,.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .subnav{display:none!important}.agi-sidebar-compact .cm-sidebar:not(:hover):not(:focus-within) .cm-group>summary{justify-content:center;padding:10px}.agi-sidebar-compact .cm-sidebar:hover,.agi-sidebar-compact .cm-sidebar:focus-within{width:258px}}
@media(max-width:960px){.cm-sidebar.sidebar,.agi-sidebar-compact .cm-sidebar.sidebar{width:258px}.cm-sidebar .brand b,.cm-sidebar .brand small,.cm-sidebar .nav .txt,.cm-sidebar .sidefoot{display:initial}.cm-sidebar .sidefoot{display:block}.cm-sidebar .cm-title{display:inline}.cm-sidebar .nav button{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.cm-chevron{transition:none}}
