/* Scout in the unified Aegis workbench: Aegis platform → Work domain → Scout → functional groups. */
:root{--aegis-rail:#122946;--aegis-rail-line:#ffffff18;--aegis-rail-active:#315a90;--aegis-rail-muted:#a9bdd6}
html,body.scout-body{min-width:1180px!important;overflow:hidden!important;background:#f4f7fc!important}
.aegis-work-shell{display:grid;grid-template-columns:minmax(0,1fr);width:100vw;height:100vh;overflow:hidden;background:#f4f7fc}
.aegis-work-rail{display:none!important;flex-direction:column;align-items:center;gap:10px;padding:13px 8px;background:var(--aegis-rail);border-right:1px solid var(--aegis-rail-line);color:var(--aegis-rail-muted)}
.aegis-work-rail a{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:inherit;text-decoration:none}.aegis-work-rail a:hover{background:#ffffff12}.aegis-work-rail a.active{background:var(--aegis-rail-active);color:#fff;box-shadow:inset 2px 0 #82b5ff}.aegis-work-rail img{width:17px;height:17px;object-fit:contain;filter:brightness(0) invert(1);opacity:.88}.aegis-work-rail .aegis-rail-mark{width:34px;height:34px;margin-bottom:11px;border-radius:11px;background:linear-gradient(145deg,#477ffa,#745eee);box-shadow:0 8px 18px #07182f58}.aegis-work-rail .aegis-rail-mark img{width:20px;height:20px;opacity:1}.aegis-work-rail .rail-grow{flex:1}
/* Override the former standalone floating shell only after its desktop fix stylesheet. */
.aegis-work-shell .scout-app{width:100%!important;max-width:none!important;height:100vh!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;grid-template-columns:208px minmax(0,1fr)!important;background:#f8faff!important}
.aegis-work-shell .scout-side{padding-top:14px!important;border-right:1px solid #e1e9f2!important;background:#fff!important}.scout-platform-context{display:flex;align-items:center;gap:7px;margin:0 7px 14px;padding:7px 8px;border:1px solid #e2e9f5;border-radius:8px;background:#f7f9fd;color:#8291a7;font-size:9px;font-weight:800}.scout-platform-context:before{content:"WORK";padding:2px 4px;border-radius:4px;background:#e8efff;color:#416cda;font-size:8px;letter-spacing:.06em}.scout-platform-context b{color:#3c516f;font-size:10px}.aegis-work-shell .scout-brand{margin-bottom:15px!important}.aegis-work-shell .scout-label{margin-top:14px!important}.aegis-work-shell .scout-main{background:#f6f8fc!important}.aegis-work-shell>.app{width:100%;min-width:0;min-height:100vh;height:100vh}.aegis-work-shell .scout-top{background:#fff!important}.aegis-work-shell .scout-content{background:#f6f8fc!important}
@media(max-width:1280px){.aegis-work-shell .scout-app{grid-template-columns:190px minmax(0,1fr)!important}}
/* Portal unified-mode host hides module-local navigation; standalone mode keeps it. */
body.scout-embedded .scout-app{grid-template-columns:minmax(0,1fr)!important;width:100%!important;height:100vh!important;margin:0!important}body.scout-embedded .scout-side{display:none!important}body.scout-embedded .scout-main{grid-column:1!important;width:100%!important}body.scout-embedded .scout-content{padding:22px 26px 30px!important}body.scout-embedded .scout-platform-context{display:none!important}
