/* Enterprise presentation layer. Existing operational and remote-session code is unchanged. */
:root{--bg:#0c1119;--bg2:#101722;--panel:#141d2a;--panel2:#192434;--panel3:#1d2a3b;--line:#2a3749;--line2:#34465d;--text:#edf2f8;--muted:#a0aec0;--soft:#c6d0de;--cyan:#87b4f4;--green:#74cfa6;--amber:#edbb72;--red:#f18b8b;--shadow:0 6px 20px #00000019;--inner:none;--section:#8db7f2;--section-rgb:141,183,242}
[hidden]{display:none!important}
html,body{background:#0c1119;color:var(--text)}
body:before{display:none}
button,input,select,textarea{font-family:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:2px solid #a9c8fb;outline-offset:3px}
#app-shell{grid-template-columns:248px minmax(0,1fr);height:100dvh;min-height:0;background:#0c1119}
#app-shell>.rail{position:sticky;top:0;height:100dvh;overflow-y:auto;gap:8px;padding:22px 14px 16px;background:#101722;border-right:1px solid #263245;box-shadow:none}
.rail:after{display:none}
.brand{padding:0 9px 20px;margin-bottom:8px;border-bottom:1px solid #263245}
.brand .mark{width:39px;height:39px;background:#1b2d46;border:1px solid #365174;border-radius:10px;box-shadow:none;text-shadow:none;color:#d9e8ff;font-size:15px}
.brand-name{font-size:17px;letter-spacing:.01em}.brand-sub{font-size:11px;color:#a0aec0}
.rail nav{gap:3px}.nav-group{padding:18px 12px 7px;color:#8291a7;font-size:10px;letter-spacing:.11em}
#app-shell .nav-item{font-size:12px;line-height:1.35;gap:11px;min-height:40px;padding:10px 11px;border-radius:7px;color:#b9c5d5;background:transparent;border:0;transform:none;box-shadow:none}
#app-shell .nav-item:before{display:none}
#app-shell .nav-item:hover{color:#f2f6ff;background:#1b2737;transform:none}
#app-shell .nav-item.active{background:#243750;color:#e5efff;box-shadow:inset 3px 0 #98bdf0;font-weight:650}
.console-icon{display:block;flex:none;width:19px;height:19px;stroke:currentColor;stroke-width:1.65;fill:none}
.console-nav-footer{border-top:1px solid #263245;margin-top:20px;padding:15px 10px 0;color:#8291a7;font-size:11px;line-height:1.6}
#app-shell>main{height:100dvh;min-width:0;overflow:auto;padding:0 30px 40px;scroll-padding-top:105px}
#app-shell .top{margin:0 -30px 25px;padding:16px 30px;background:#101722f5;border-bottom:1px solid #263245;box-shadow:none;backdrop-filter:blur(14px);z-index:25}
.top .search{max-width:720px;background:#182334;border:1px solid #314159;border-radius:8px;box-shadow:none;padding:0 9px 0 13px;gap:8px}
.top .search input{min-width:0;padding:10px 0;font-size:12px;color:#e5ecf6}
.top .search-submit{font-size:11px;min-height:32px;padding:6px 13px}
.top-meta{gap:8px;flex-shrink:0}.signed-in-user{max-width:190px;padding:7px 10px;border-radius:6px;border-color:#344155;background:#1b2636;color:#cbd6e7;font-size:11px;font-weight:500}
#app-shell .view{--section:#8db7f2;--section-rgb:141,183,242;animation:none;min-width:0;max-width:1680px;margin:0 auto}
#view-customers{--section:#83c7bc!important;--section-rgb:131,199,188!important}
#view-monitor,#view-quality{--section:#82c7d5!important;--section-rgb:130,199,213!important}
#view-security{--section:#eea28c!important;--section-rgb:238,162,140!important}
#view-patches,#view-approvals{--section:#e8bd81!important;--section-rgb:232,189,129!important}
#view-files,#view-software{--section:#9bc7a2!important;--section-rgb:155,199,162!important}
#view-scripts,#view-services,#view-processes,#view-automation{--section:#a9b5e8!important;--section-rgb:169,181,232!important}
#view-users,#view-governance,#view-audit{--section:#c0abd9!important;--section-rgb:192,171,217!important}
#view-knowledge{--section:#c0c893!important;--section-rgb:192,200,147!important}
.console-page-heading{display:flex;gap:15px;align-items:flex-start;flex:1 1 340px;min-width:0}
.console-page-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(var(--section-rgb),.3);background:rgba(var(--section-rgb),.09);border-radius:11px;color:var(--section);flex:none}
.console-page-icon .console-icon{width:23px;height:23px}
.console-heading-copy{min-width:0;flex:1}.console-breadcrumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px;color:#a2b0c4;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.console-breadcrumb button{border:0;padding:0;background:none;color:#a2b0c4;cursor:pointer;font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.console-breadcrumb button:hover{color:var(--section)}
#app-shell .page-head{align-items:center;gap:16px;padding:0 0 22px;margin:0 0 20px;border-color:#283547}
#app-shell .page-head h1{font-size:25px;letter-spacing:-.025em;line-height:1.25;font-weight:650;color:#eef3fa;margin:0}
#app-shell .page-head p{font-size:12px;line-height:1.6;max-width:760px;margin-top:6px;color:#a8b6ca}
#app-shell .page-head>.action-row{align-self:center}
.console-section-nav{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:6px;overflow-x:auto;margin:0 0 20px;padding:0 0 9px;border-bottom:1px solid #293749;max-width:100%;scrollbar-width:thin}
.console-section-nav .console-section-link{appearance:none;border:1px solid transparent;border-radius:6px;background:transparent;color:#a7b6ca;font-size:11px;font-weight:550;padding:8px 11px;white-space:nowrap;cursor:pointer;min-height:34px}
.console-section-nav .console-section-link:hover{background:#1b2738;color:#edf3fc}
.console-section-nav .console-section-link.active{border-color:rgba(var(--section-rgb),.3);background:rgba(var(--section-rgb),.09);color:var(--section)}
#app-shell .card,#app-shell .workbench-panel,#app-shell .enterprise-panel,#app-shell .enterprise-group{background:#141e2c!important;border:1px solid #2b3a4e!important;border-radius:10px!important;box-shadow:none!important;min-width:0;overflow-wrap:anywhere}
#app-shell .card{padding:20px}.console-panel-title{font-size:14px;font-weight:650;margin-bottom:15px;color:#e8eff8}
#app-shell .card h2,#app-shell .workbench-panel h2{font-size:14px!important;font-weight:650;color:#e7eef8}
#app-shell .card h3{font-size:13px;color:#dce7f5}
#app-shell .card p,#app-shell .workbench-panel p{font-size:12px;line-height:1.65}
#app-shell .workbench-panel{padding:22px}
#app-shell .enterprise-panel-head{border-radius:9px 9px 0 0;background:#182536!important;border-bottom:1px solid #2b3a4e;padding:15px 18px}
#app-shell .enterprise-panel-body{padding:18px}
.enterprise-panel.collapsed>.enterprise-panel-body{display:none}
.enterprise-panel-head h2{margin:0!important}.enterprise-panel-meta{color:#a2b2c8;font-size:11px;gap:8px}
.enterprise-chevron{box-shadow:none!important;color:#b3c5dc;background:#223247;border:1px solid #3b4c63;border-radius:6px}
#app-shell .hero-workbench{gap:18px;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr)}
#app-shell .grid2{gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
#app-shell .metric-grid,#app-shell .kpis{gap:13px;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-bottom:20px}
#app-shell .kpis article,#app-shell .metric-card{background:#162234!important;border:1px solid #2e4056!important;border-radius:9px!important;box-shadow:none!important;padding:18px!important;min-width:0;border-top:2px solid rgba(var(--section-rgb),.55)!important}
#app-shell .kpis article:before,#app-shell .kpis article:after{display:none}
#app-shell .kpis label,.metric-label{font-size:10px!important;font-weight:650!important;letter-spacing:.065em;color:#a5b6cc!important;line-height:1.5;text-transform:uppercase}
#app-shell .kpis strong,.metric-value{font-size:29px!important;line-height:1.2;font-weight:650;color:#edf4ff;letter-spacing:-.03em;margin:9px 0 6px;overflow-wrap:anywhere}
#app-shell .kpis small,.metric-sub{font-size:11px!important;color:#a2b2c6!important;line-height:1.5}
#app-shell .ops-analytics{gap:15px}.chart-card{min-width:0!important;max-width:100%;background:#131f2e!important}
.ops-analytics canvas{max-width:100%;border:0;background:#131f2e!important;box-shadow:none}
.fleet-risk-card,.attention-card{padding:22px!important}.risk-label,.risk-meta{color:#a1b2c9!important}
.ops-risk-layout{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}.ops-risk-gauge{width:170px!important;max-width:100%;aspect-ratio:1}.ops-risk-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ops-risk-metric{min-width:0;grid-template-columns:minmax(0,1fr);background:#17273b;border-color:#354e6a;padding:12px}.ops-risk-metric strong{font-size:19px}.ops-risk-metric small{overflow-wrap:anywhere;line-height:1.55}.ops-risk-gauge-core strong{font-size:37px}.ops-risk-gauge:before{background:#121f2f}
#app-shell .enterprise-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:14px 0;background:#101a28!important;border:1px solid #2e4056!important;border-radius:7px;padding:10px!important}
#app-shell .enterprise-toolbar input.grow{flex:1 1 220px;min-width:0}
#app-shell label,.drawer label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550;line-height:1.5;color:#b6c6da;min-width:0}
#app-shell label:has(input[type=checkbox]),.drawer label:has(input[type=checkbox]){flex-direction:row;align-items:center;gap:9px;flex-wrap:wrap}
#app-shell input:not([type=checkbox]):not([type=hidden]),#app-shell select,#app-shell textarea,.drawer input:not([type=checkbox]):not([type=hidden]),.drawer select,.drawer textarea{border:1px solid #3b4d65!important;border-radius:6px!important;background:#0f1927!important;color:#e3edf9!important;box-shadow:none!important;font-size:12px;padding:10px 11px;min-height:40px;max-width:100%;min-width:0}
#app-shell input:focus,#app-shell select:focus,#app-shell textarea:focus,.drawer input:focus,.drawer select:focus,.drawer textarea:focus{outline:2px solid #83a9df;outline-offset:1px;border-color:#83a9df!important}
#app-shell input::placeholder,.drawer input::placeholder,#app-shell textarea::placeholder,.drawer textarea::placeholder{color:#8496b0}
#app-shell label>input,#app-shell label>select,#app-shell label>textarea,.drawer label>input,.drawer label>select,.drawer label>textarea{width:100%}
#app-shell input[type=checkbox],.drawer input[type=checkbox]{width:16px;height:16px;accent-color:#91b6ea;flex:none}
#app-shell input[type=file]{padding:8px}.btn input[type=file]{min-height:0!important}
#app-shell input[type=file]::file-selector-button{background:#293e59;color:#e0ebf9;border:0;border-radius:4px;padding:5px 8px;margin-right:10px;font:inherit}
#app-shell .btn,.drawer .btn,.uptecs-modal .btn{background:#99bbe9!important;border:1px solid #aacbf6!important;color:#0b1930!important;border-radius:6px!important;box-shadow:none!important;font-size:11px;font-weight:650;min-height:36px;padding:9px 13px;transform:none!important;filter:none!important;line-height:1.3}
#app-shell .btn.ghost,.drawer .btn.ghost,.uptecs-modal .btn.ghost,#app-shell .mini-btn,.drawer .mini-btn{background:#1d2d42!important;border:1px solid #3b4f6c!important;color:#d4e1f3!important;box-shadow:none!important;border-radius:6px!important;min-height:32px;padding:7px 10px;font-size:11px;line-height:1.35;transform:none!important}
#app-shell .btn:hover,.drawer .btn:hover{background:#bdd5f5!important;color:#08162b!important}
#app-shell .btn.ghost:hover,#app-shell .mini-btn:hover,.drawer .mini-btn:hover{background:#2d4360!important;color:#f1f6ff!important}
button:disabled{opacity:.46;cursor:not-allowed!important;transform:none!important}
#app-shell .action-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.console-table-scroll,.table-shell,.table-wrap{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
#app-shell table,.drawer table{font-size:11px;border-collapse:separate;border-spacing:0;line-height:1.5}
#app-shell th,.drawer th{background:#1b2b40!important;color:#b1c3dc!important;font-size:9px;letter-spacing:.07em;font-weight:650;padding:12px 13px;border-color:#334761}
#app-shell td,.drawer td{padding:12px 13px;border-color:#283b52;color:#d6e1f1;vertical-align:top;max-width:340px}
#app-shell tbody tr:nth-child(even){background:#17233440}
#app-shell tbody tr:hover{background:#1c2e46!important}
#app-shell th.sticky,#app-shell td.sticky{background:#18283d!important;box-shadow:-3px 0 8px #00000016}
#app-shell .table-pager{background:#111d2c!important;border-top:1px solid #304259!important;padding:11px 13px;color:#a9bdd5;flex-wrap:wrap;gap:10px;font-size:11px}
#app-shell .device-link{color:#b2cff4;font-weight:600;background:none;border:0;text-align:left}
#app-shell .device-sub,#app-shell .timeline-meta{font-size:11px;color:#a3b6cf}
#app-shell .enterprise-group>summary{padding:17px 18px;background:#19283b;gap:12px;list-style:none;min-width:0;flex-wrap:wrap}
#app-shell .enterprise-group>summary strong{font-size:13px;color:#e1ebf9}
#app-shell .group-body{padding:17px;background:#121e2d}
#app-shell .timeline-item{background:#172638;border:1px solid #2c4059;border-radius:7px;padding:12px;gap:12px;min-width:0}
.timeline-main{min-width:0;overflow-wrap:anywhere}.timeline-main strong{font-size:12px}.timeline-dot{background:#8cabd6;border-color:#375174;box-shadow:none}
.empty-state{padding:30px 20px!important;border:1px dashed #3a4e69!important;border-radius:8px;background:#101c2b!important;color:#aabbd1!important;font-size:12px;line-height:1.6;text-align:center}
.status-badge,.pill{background:#1a2c42!important;border:1px solid #3a536f!important;color:#bdd2ed!important;box-shadow:none!important;border-radius:5px!important;font-size:10px;font-weight:550;padding:4px 7px;white-space:nowrap}
.status-badge.ok{background:#14352d!important;border-color:#2b6553!important;color:#9cd9bc!important}
.status-badge.warn{background:#3b2e19!important;border-color:#785b2e!important;color:#f1cf96!important}
.status-badge.danger{background:#402429!important;border-color:#88505a!important;color:#f4b0b4!important}
.status-badge.info{background:#1c304c!important;border-color:#41628b!important;color:#b5cff2!important}
.preview-note{padding:13px 16px;background:#1c2a3f;border:1px solid #344c6c;border-left:3px solid var(--section);border-radius:7px;line-height:1.65;font-size:11px!important;color:#b5c7df;margin:0 0 18px}
#workspace-scope-banner{background:#1d3048!important;border-color:#3a567a!important;border-left:3px solid #a5c5f0!important;margin:20px 0!important;font-size:12px;color:#dce9fa}
#view-files .grid2{grid-template-columns:repeat(3,minmax(0,1fr))}
#view-files .grid2 .card{height:100%;margin:0!important;padding:18px}
#view-files .grid2 .card label{margin:12px 0}
#view-software>.card:first-of-type,#view-scripts>.card:first-of-type,#view-automation>.card:first-of-type{border-top:3px solid var(--section)!important}
#view-scripts #script-content{font-family:Consolas,'Courier New',monospace;font-size:12px;line-height:1.7;min-height:220px;padding:16px;background:#0b1522!important}
#view-services>.card:first-of-type,#view-processes>.card:first-of-type{display:flex;gap:14px;align-items:center;border-left:3px solid var(--section)!important}
#view-services>.card:first-of-type label,#view-processes>.card:first-of-type label{width:min(540px,100%)}
#view-customers #ec-customer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr));align-items:start;gap:14px}
#ec-customer-list .enterprise-panel{margin:0!important}.owner-avatar{background:#243e49!important;border:1px solid #3d6470!important;box-shadow:none!important;border-radius:9px;color:#b9e0dc!important}
.owner-card{gap:13px}.owner-card>div:last-child{min-width:0}.owner-card strong{font-size:12px;overflow-wrap:anywhere}
#view-device-detail .device-summary{background:#18273b!important;border:1px solid #38516f!important;border-radius:10px;padding:22px}
#view-device-detail #device-detail-owner{border-left:3px solid #83c7bc}
#view-users .grid2{grid-template-columns:repeat(3,minmax(0,1fr))}
#view-users #user-edit-card{border-top:3px solid #b5a3d2!important}
#view-governance .grid2{align-items:start}.drawer-grid{gap:15px!important}
.drawer{background:#121e2e!important;border:1px solid #354c6b!important;border-radius:12px 0 0 12px!important;box-shadow:-16px 0 50px #00000050!important;width:min(780px,95vw);max-width:780px;color:#e1ecfa}
.drawer-head{background:#1a2b42!important;border-bottom:1px solid #3a506d!important;padding:22px!important;gap:16px;align-items:flex-start}
.drawer-head strong{font-size:17px;font-weight:650;color:#e5effe}.drawer-head .muted{font-size:11px;margin-top:6px;color:#afc2dc}
.drawer-body{padding:24px!important;line-height:1.6}.drawer-body h3{font-size:14px;margin-bottom:15px}.drawer-section{background:#16263a!important;border:1px solid #314865!important;border-radius:8px;padding:18px!important;margin-bottom:16px}
.drawer fieldset{padding:16px;margin:18px 0;border:1px solid #3b5474;border-radius:8px}.drawer legend{font-size:11px;font-weight:650;color:#bad0ed;padding:0 7px}.drawer fieldset label{margin:10px 0}
#contact-list>div,#contact-list>article{background:#182b40;border:1px solid #3a536f;border-radius:8px;padding:16px;margin:12px 0}
#contact-form{margin-top:22px;border-top:1px solid #37506e;padding-top:22px}
.uptecs-modal-card{background:#17263a!important;border:1px solid #405778!important;border-radius:12px!important;box-shadow:0 25px 80px #00000066!important;padding:24px!important}.uptecs-modal-head{border-color:#3b516e}.uptecs-modal-head h2{font-size:20px}.uptecs-modal-body{color:#c8d8ed;font-size:13px}.uptecs-modal-actions{border-color:#3b516e}
#rmmArticleModal,.rmm-article-modal{font-size:13px;color:#d5e3f5}
#rmmArticleBody{line-height:1.8;color:#c5d5eb}#rmmArticleBody h2,#rmmArticleBody h3{color:#edf4ff;margin:22px 0 12px}
.console-menu-toggle{display:none!important}.console-nav-shade{display:none}
.console-panel{scroll-margin-top:100px}.console-section-flash{outline:1px solid var(--section);outline-offset:2px}
/* Restyle the live workspace frame; never alter video, session-stage or input geometry. */
#view-session-live>.page-head{border-color:#38516d}
#view-session-live>.card{border-top:3px solid #91b5e6!important}
#view-session-live .session-toolbar{background:#17283e;border-color:#3b506e}
#view-session-live .tool-btn{background:#21364f;box-shadow:none;color:#d9e7f9;border-color:#3f5879}
#view-session-live .tool-btn.primary{background:#a2c2ec;color:#10223b}
#view-session-live .tool-btn.danger{background:#43292f;color:#f1b8bd;border-color:#83545c}
/* Existing authentication and MFA elements remain unchanged. */
#login-gate.rmm-auth-gate:not([hidden]):not([style*="display: none"]){display:grid!important}
#login-gate{background:#0c1420!important}
#login-gate .rmm-auth-hero{background:linear-gradient(135deg,#13243a,#0c1727)!important;border-right:1px solid #31445c}
#login-gate .rmm-auth-panel{background:#101c2c!important}
#login-gate .rmm-auth-panel-inner{max-width:430px}
#login-gate .rmm-auth-heading h1{color:#eef4ff;font-size:27px;letter-spacing:-.025em}
#login-gate .rmm-auth-heading p,#login-gate .rmm-auth-status,#login-gate .rmm-admin-note{color:#a6bad4!important;font-size:12px;line-height:1.6}
#login-gate .rmm-auth-emergency,#login-gate .rmm-auth-mfa{background:#182940!important;border-color:#3a5272!important;border-radius:10px}
#login-gate .rmm-auth-field input{background:#101c2c!important;border:1px solid #405b7e!important;color:#e0eafd!important;border-radius:6px;box-shadow:none}
#login-gate .rmm-input-wrap{background:#101c2c!important;border-color:#405b7e!important}
#login-gate .rmm-ms-button{border-radius:7px;border-color:#466288;background:#1d3049;color:#e3edfc;box-shadow:none}
#login-gate .rmm-signin-button{background:#aac9ef!important;color:#10243e!important;border-radius:7px;box-shadow:none}
#login-gate #login-form{background:transparent!important;box-shadow:none!important;border:0!important}
@media(min-width:1550px){#app-shell>main{padding-left:42px;padding-right:42px}.top{padding-left:42px!important;padding-right:42px!important;margin-left:-42px!important;margin-right:-42px!important}.ops-analytics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1150px){#app-shell{grid-template-columns:220px minmax(0,1fr)}#app-shell>main{padding:0 22px 32px}#app-shell .top{margin:0 -22px 22px;padding:14px 22px;flex-wrap:wrap}.top .search{max-width:none;flex:1 1 280px}.top-meta{flex:1;justify-content:flex-end}#app-shell .hero-workbench{grid-template-columns:minmax(0,1fr)}#view-files .grid2{grid-template-columns:minmax(0,1fr)}#view-users .grid2{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#app-shell{display:block;height:100dvh}#app-shell>.rail{position:fixed;left:0;top:0;bottom:0;width:270px;height:100dvh;z-index:100;transform:translateX(-100%);transition:transform .18s;display:flex;flex-direction:column;padding:22px 14px;overflow-x:hidden;overflow-y:auto;box-shadow:12px 0 40px #00000055}#app-shell>.rail.console-nav-open{transform:none}.rail .brand{display:flex;justify-content:flex-start}.rail .brand>div:last-child{display:block}.rail nav{display:flex;flex-direction:column}.rail .nav-group{display:block}.rail .nav-item{font-size:12px!important;min-width:0;justify-content:flex-start}.console-nav-shade:not([hidden]){display:block;position:fixed;inset:0;background:#030b16aa;z-index:95;border:0}.console-menu-toggle{display:inline-flex!important;align-items:center;gap:7px;flex:none}.console-menu-toggle .console-icon{width:16px;height:16px}#app-shell>main{padding:0 15px 30px;height:100dvh}#app-shell .top{position:sticky;top:0;margin:0 -15px 20px;padding:12px 15px;gap:10px;display:grid;grid-template-columns:auto minmax(0,1fr)}.top .search{width:100%;padding-left:9px}.top .search input{font-size:11px}.top .search-submit{padding:6px 8px;min-height:30px}.top-meta{grid-column:1/-1;justify-content:space-between;flex-wrap:wrap;gap:7px}.signed-in-user{flex:1;max-width:none;min-width:0;text-align:center;justify-content:center}.console-page-heading{flex-basis:100%;gap:11px}.console-page-icon{width:40px;height:40px}.console-page-icon .console-icon{width:21px;height:21px}#app-shell .page-head{gap:14px;padding-bottom:18px}#app-shell .page-head h1{font-size:22px}.console-breadcrumb{font-size:9px}.console-section-nav{margin-bottom:17px}.console-section-nav .console-section-link{padding:8px 9px;font-size:10px}#app-shell .card,#app-shell .workbench-panel{padding:16px}#app-shell .grid2,#view-users .grid2,#app-shell .drawer-grid{grid-template-columns:minmax(0,1fr)!important}#app-shell .kpis,#app-shell .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}#app-shell .kpis article,#app-shell .metric-card{padding:14px!important}.metric-value,#app-shell .kpis strong{font-size:24px!important}#app-shell .enterprise-toolbar{gap:8px;padding:9px!important}#app-shell .enterprise-toolbar input,#app-shell .enterprise-toolbar select{min-width:0!important;max-width:100%}#app-shell .enterprise-toolbar input.grow{flex-basis:100%}#app-shell .enterprise-panel-head{padding:14px;gap:10px;flex-wrap:wrap}#app-shell .enterprise-panel-body{padding:14px}.drawer{width:100vw!important;max-width:100vw!important;border-radius:0!important}.drawer-head{padding:18px!important}.drawer-body{padding:18px!important}.drawer-grid{grid-template-columns:minmax(0,1fr)!important}.uptecs-modal-card{width:calc(100vw - 24px)!important;padding:18px!important}.record-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}#user-search{min-width:0!important;width:100%}.console-panel{scroll-margin-top:155px}#login-gate .rmm-auth-hero{border-right:0;border-bottom:1px solid #31445c}#login-gate .rmm-auth-heading h1{font-size:23px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:900px){#login-gate.rmm-auth-gate{grid-template-columns:minmax(0,1fr)!important;overflow:auto!important;align-content:start}#login-gate .rmm-auth-hero{min-height:240px!important;height:240px!important;width:100%!important;padding:26px!important}#login-gate .rmm-auth-panel{position:relative!important;right:auto!important;left:auto!important;top:auto!important;transform:none!important;justify-self:center!important;align-self:start!important;width:calc(100% - 32px)!important;max-width:500px!important;min-height:0!important;margin:16px auto 28px!important}#login-gate .rmm-auth-panel-inner{min-height:0!important;max-width:none!important;width:100%!important;padding:28px 24px!important}#login-gate .rmm-logo-word{font-size:48px!important}#login-gate .rmm-logo-sub{font-size:20px!important}#login-gate .rmm-logo-tag{font-size:8px!important;line-height:1.8}#login-gate .rmm-network-scene{height:55%!important}#login-gate .rmm-globe{width:260px!important;left:auto!important;right:-90px!important;top:10px!important}}

/* Work references must remain interactive when requested from an inspection drawer. */
#work-ref-drawer{z-index:140}
