html,body{overflow:auto !important;height:auto !important;}
.control-page{position:absolute !important;bottom:auto !important;height:auto !important;min-height:100vh !important;overflow:visible !important;}
.home-tab-split{grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;grid-template-rows:auto !important;overflow:visible !important;align-items:start !important;flex:0 0 auto !important;height:auto !important;min-height:0 !important;}
.home-tab-split > div{min-width:0 !important;overflow:visible !important;height:auto !important;min-height:0 !important;}
.home-tab-left{overflow:visible !important;height:auto !important;min-height:0 !important;}
.ctrl-body{overflow:visible !important;min-width:0 !important;height:auto !important;min-height:0 !important;align-items:start !important;grid-template-columns:232px minmax(0,1fr) 190px !important;}
.ctrl-screen-area{overflow:visible !important;min-width:0 !important;background:transparent !important;align-items:stretch !important;flex-direction:column !important;gap:10px !important;}
.ctrl-screen-area > div{width:100% !important;min-width:0 !important;}
.ctrl-screen-area div[style*="align-items: flex-start"][style*="gap: 16px"]{flex-direction:column !important;gap:10px !important;align-items:stretch !important;}
.ctrl-sidebar-panel{flex:0 0 190px !important;max-height:none !important;overflow-y:auto !important;background:#ffffff !important;}
.home-tab-split div[style*="width: 298px"]{width:auto !important;flex:1 1 auto !important;min-width:0 !important;height:auto !important;}
.home-tab-split div[style*="width: 298px"] > div{flex-wrap:wrap !important;}
.home-tab-split div[style*="height: 64vh"]{height:auto !important;min-height:0 !important;flex-wrap:wrap !important;}
.trojan-screens{overflow:visible !important;height:auto !important;min-height:0 !important;flex-wrap:wrap !important;}
.trojan-main-area{overflow:visible !important;height:auto !important;min-height:0 !important;}
video,canvas,img{max-width:100% !important;object-fit:contain !important;}
.sidebar-btn.primary,.sidebar-btn.green,.sidebar-btn.danger,.sidebar-btn.danger-dark,.sidebar-btn.purple,
.sidebar-btn-sm.primary,.sidebar-btn-sm.green,.sidebar-btn-sm.danger,.sidebar-btn-sm.purple{background:#3d4a63 !important;color:#ffffff !important;border-color:#33405a !important;box-shadow:none !important;}
.sidebar-btn.primary:hover,.sidebar-btn.green:hover,.sidebar-btn.danger:hover,.sidebar-btn.danger-dark:hover,.sidebar-btn.purple:hover,
.sidebar-btn-sm.primary:hover,.sidebar-btn-sm.green:hover,.sidebar-btn-sm.danger:hover,.sidebar-btn-sm.purple:hover{background:#2c374b !important;color:#fff !important;}
.sidebar-btn.is-on{background:#e63946 !important;color:#fff !important;}
.sidebar-btn:disabled,.sidebar-btn-sm:disabled{background:#dfe4ec !important;color:#9aa3b5 !important;}
