/* CS-GM identity from the approved visual reference. */
:root{--bg:#151d2b;--panel:#182737;--panel2:#1c2e40;--text:#e8edf5;--muted:#94a8c2;--accent:#f29a38;--accent2:#3286e8;--line:#304459;--line2:#426078}
body{background:#151d2b;color:var(--text);font-family:Inter,system-ui,sans-serif;font-size:14px}
.app-shell{grid-template-columns:230px minmax(0,1fr)}
.sidebar{background:linear-gradient(180deg,#061422,#122335);border-right:1px solid #304459;padding:24px 16px}
.brand{padding:0 0 28px}.brand img{display:block;width:100%;height:auto}
.main-nav{display:flex;flex-direction:column;gap:5px}
.main-nav .nav-item{font-size:14px;min-height:44px;padding:12px 16px;border-radius:6px;color:#94a8c2;border-left:3px solid transparent}
.main-nav .nav-item:hover{background:#1b3249;color:#e8edf5}
.main-nav .nav-item.active,.main-nav .nav-item.csgm-current{background:linear-gradient(90deg,#3286e82e,transparent);border-left-color:#3286e8;color:#e8edf5}
.main-nav .csgm-child-destination{display:none!important}
.main-nav [data-view="backoffice"]{margin-top:26px;border-top:1px solid #304459;padding-top:18px}
.main-content{min-width:0;padding:28px 32px 48px}
.topbar{padding:22px 24px;margin-bottom:20px;border:1px solid #304459;border-radius:10px;background:linear-gradient(90deg,#071624 35%,#071624b8),url('assets/csgm-tactical-banner.jpg') right center/cover;gap:16px}
.topbar h1{font-size:26px;letter-spacing:.02em}.eyebrow{color:#94a8c2}
.top-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}
.primary-action,#auth-submit{background:linear-gradient(110deg,#f29a38,#ed7f12);color:#071624;border:1px solid #f29a38;font-weight:800}
#csigl-login-action{background:#071624;color:#e8edf5;border:1px solid #3286e8;border-radius:5px;padding:10px 16px;font:inherit;cursor:pointer;white-space:nowrap}
.card{background:linear-gradient(140deg,#1c2e40,#122231);border-color:#304459;border-radius:10px}
.csgm-context-nav{display:flex;gap:8px;margin-bottom:22px;overflow-x:auto;border-bottom:1px solid #304459}
.csgm-context-nav button{border:0;border-bottom:3px solid transparent;background:transparent;color:#94a8c2;padding:13px 18px;font:inherit;white-space:nowrap;cursor:pointer}
.csgm-context-nav button[aria-current]{color:#e8edf5;border-bottom-color:#f29a38;background:#f29a3810}
.csgm-context-nav[hidden],[hidden]{display:none!important}
button:focus-visible,a:focus-visible{outline:2px solid #3286e8;outline-offset:3px}
.auth-brand img{width:min(100%,320px);height:auto}.auth-panel{background:linear-gradient(145deg,#061422,#182737);border:1px solid #426078}
.roster-head,.market-row.head{color:#94a8c2}.roster-row{min-height:46px}.roster-row strong,.roster-row span{font-size:12px}
@media(max-width:1000px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.main-content{padding:20px}.topbar{align-items:flex-start;flex-direction:column}.top-actions{justify-content:flex-start}}
@media(max-width:800px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:14px}.brand{padding-bottom:14px;max-width:190px}.main-nav{display:flex;flex-direction:row;overflow-x:auto}.main-nav .nav-item{flex:0 0 auto;width:auto;white-space:nowrap}.main-nav [data-view="backoffice"]{margin:0 0 0 12px;padding:12px 16px;border-top:0;border-left:1px solid #304459}.main-content{padding:16px}.topbar h1{font-size:22px}.topbar{padding:18px}.sidebar-foot{display:none}}
.sidebar{min-width:0}.main-nav{max-width:100%;min-width:0}.top-actions{min-width:0}
.auth-panel #auth-submit{background:linear-gradient(110deg,#f29a38,#ed7f12);color:#071624}.auth-panel #auth-toggle{color:#3286e8}.auth-panel input:focus{outline-color:#3286e8}
