/* MG Remote identity. Scoped to portal/settings; the remote workspace keeps its own layout. */
.portal-theme{--accent:#616161;--text:#353535;--muted:#737373;--line:#e5e5e5;--panel:#ffffff;--sidebar:214px;background:#f7f7f7;color:var(--text);font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;line-height:1.5}
.portal-theme *{box-sizing:border-box}
.portal-theme [hidden],.portal-theme .search-hidden{display:none!important}
.portal-theme :focus-visible{outline:3px solid #828282;outline-offset:3px}
.portal-theme button,.portal-theme .button-link,.portal-theme input,.portal-theme select,.portal-theme textarea{border-radius:8px;font:inherit}
.portal-theme button,.portal-theme .button-link{font-size:13px;font-weight:600;padding:9px 13px;transition:background .15s,border-color .15s}
.portal-theme button:not(:disabled):hover,.portal-theme .button-link:hover{background:#f3f3f3;border-color:#c9c9c9}
.portal-theme button.primary,.portal-theme .button-link.primary{background:#5a5a5a;border-color:#5a5a5a;color:#ffffff;box-shadow:0 2px 3px #29292910}
.portal-theme button.primary:not(:disabled):hover{background:#464646;border-color:#464646}
.portal-theme input,.portal-theme select,.portal-theme textarea{background:#ffffff;color:var(--text);border:1px solid #dedede;min-height:40px}
.portal-theme input::placeholder,.portal-theme textarea::placeholder{color:#898989}
.portal-theme h1,.portal-theme h2,.portal-theme h3{color:#333333;letter-spacing:-.025em}
.portal-theme .eyebrow{color:#717171;letter-spacing:.14em;font-size:10px;font-weight:700}
.portal-theme .console-header{height:78px;margin-left:var(--sidebar);padding:0 30px;background:#ffffff;border-bottom:1px solid var(--line);gap:18px}
.workspace-heading{display:flex;flex-direction:column;gap:2px;min-width:0}
.workspace-heading strong{font-size:16px;letter-spacing:-.02em}
.workspace-kicker{font-size:9px;letter-spacing:.18em;color:#878787;font-weight:700}
.portal-theme .header-actions{gap:12px;min-width:0;flex-wrap:wrap}
.portal-theme #portal-version,.portal-theme .header-note{font-size:11px;color:#888888;margin-right:8px}
.portal-theme .console-rail{position:fixed;z-index:25;inset:0 auto 0 0;width:var(--sidebar);height:100dvh;min-height:0;display:flex;flex-direction:column;align-items:stretch;padding:26px 16px 12px;background:#2a2a2a;border:0;gap:5px;color:#bebebe;overflow:visible}
.rail-brand{display:flex;align-items:center;gap:11px;text-decoration:none!important;color:#f8f8f8!important;font-size:17px;font-weight:650;letter-spacing:-.04em;white-space:nowrap;padding:0 3px 30px}
.rail-brand small{display:block;font-size:8px;font-weight:500;letter-spacing:.18em;color:#a3a3a3;margin-top:3px}
.brand-symbol{display:grid;place-content:center;position:relative;flex-shrink:0;width:36px;height:38px;background:#d0d0d0;color:#353535;border-radius:12px 12px 12px 3px;font-size:22px;font-weight:800;letter-spacing:-.18em;padding-right:6px}
.brand-symbol>span{position:absolute;right:7px;bottom:2px;font-size:18px;letter-spacing:0}
.rail-caption{font-size:9px;font-weight:600;letter-spacing:.15em;color:#a2a2a2;padding:0 12px 10px}
.portal-theme .console-rail>.nav,.portal-theme .rail-account>.nav{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:11px;min-height:44px;width:100%;border:1px solid transparent;border-radius:9px;padding:10px 12px;font-size:12px;font-weight:550;color:#cccccc;background:transparent;text-align:left;text-decoration:none}
.portal-theme .console-rail .nav:hover{color:#ffffff;background:#3e3e3e;border-color:transparent}
.portal-theme .console-rail .nav.active{background:#454545;color:#ededed;border-color:#545454}
.portal-theme .console-rail .nav-icon{flex-shrink:0;width:18px;height:18px}
.portal-theme .console-rail .nav>span{font-size:inherit;line-height:1.4}
.portal-theme .group-pane{display:block;flex:1;min-height:0;overflow-y:auto;background:transparent;border:0;margin:24px 0 12px;color:#bdbdbd;scrollbar-width:thin;scrollbar-color:#5c5c5c transparent}
.portal-theme .group-pane .pane-heading{padding:0 12px 10px;min-height:0;border:0}
.portal-theme .group-pane h2{font-size:9px;color:#a2a2a2;letter-spacing:.13em;font-weight:650}
.portal-theme .group-button{padding:7px 12px;min-height:34px;border:0;color:#c2c2c2;font-size:11px;border-radius:6px;gap:8px}
.portal-theme .group-button:hover{background:#3e3e3e!important;border:0!important}
.portal-theme .group-button.active{background:#373737;color:#eaeaea;box-shadow:inset 2px 0 #c7c7c7}
.portal-theme .group-count{font-size:10px;min-width:18px;background:#ffffff0d;color:#cacaca;padding:0 5px;border-radius:4px}
.portal-theme .group-caption{color:#a2a2a2;font-size:9px;letter-spacing:.1em;padding:23px 12px 8px}
.portal-theme .group-help{color:#a7a7a7;font-size:10px;padding:0 12px;line-height:1.7}
.portal-theme .group-footer{padding:20px 12px 0;margin:0;border:0;background:transparent;color:#a3a3a3;font-size:10px;line-height:1.7}
.portal-theme .group-footer small{font-size:9px;display:block}
.portal-theme .rail-bottom.rail-account{display:flex;position:static;flex-direction:column;gap:4px;margin-top:auto;width:auto;padding:10px 0 0;border-top:1px solid #494949;background:transparent;flex-shrink:0}
.portal-theme .rail-account .profile-toggle{gap:9px;padding:10px 8px}
.portal-theme .profile-avatar{display:grid;place-content:center;flex-shrink:0;width:32px;height:32px;border:1px solid #6c6c6c;background:#494949;color:#e6e6e6;border-radius:50%;font-size:12px!important}
.profile-details{display:flex;flex-direction:column;min-width:0;flex:1}
.profile-details strong{font-size:11px;color:#e5e5e5;overflow:hidden;text-overflow:ellipsis}
.profile-details small{font-size:9px!important;color:#a8a8a8!important}
.profile-chevron{color:#a6a6a6}
.portal-theme .rail-version{font-size:9px;text-align:left;padding:6px 12px;color:#a4a4a4}
.portal-theme .profile-menu{position:fixed;left:calc(var(--sidebar) + 10px);bottom:25px;width:280px;border:1px solid #e3e3e3;border-radius:12px;box-shadow:0 16px 60px #33333325;background:#ffffff;padding:8px;z-index:60}
.portal-theme .profile-heading{padding:16px 12px;border-bottom:1px solid #e8e8e8}
.portal-theme .profile-menu a,.portal-theme .profile-menu button{padding:11px 12px;border-radius:6px;font-size:13px}
.portal-theme .console-layout{margin-left:var(--sidebar);display:grid;grid-template-columns:minmax(310px,35%) minmax(0,1fr);height:calc(100dvh - 78px);min-height:0;padding:24px;gap:20px;background:#f6f6f6}
.portal-theme .session-pane{min-width:0;min-height:0;border:1px solid #e3e3e3;border-radius:12px;background:#ffffff;overflow:auto;box-shadow:0 2px 6px #33333303}
.portal-theme #devices-page{min-height:100%;display:flex;flex-direction:column}
.portal-theme .session-pane .pane-heading{padding:23px 20px 12px;align-items:center;border:0;gap:12px}
.portal-theme .session-pane h1{font-size:23px;font-weight:650;letter-spacing:-.04em}
.portal-theme #count{font-size:11px}
.portal-theme #refresh-devices{background:#f7f7f7;width:32px;min-height:32px;padding:3px;border:1px solid #e7e7e7;font-size:20px;color:#797979}
.fleet-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:4px 20px 14px}
.fleet-stat{border:1px solid #e6e6e6;border-radius:8px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#f8f8f8}
.fleet-stat span{font-size:11px;color:#767676;display:flex;align-items:center;gap:6px}
.fleet-stat span:before{content:'';width:5px;height:5px;border-radius:50%;background:#7a7a7a}
.fleet-stat strong{font-size:19px;font-weight:650;color:#515151}
.fleet-stat.offline{background:#fbfbfb;border-color:#e9e9e9}
.fleet-stat.offline span:before{background:#a3a3a3}.fleet-stat.offline strong{color:#858585}
.portal-theme .console-search{padding:0 20px 15px;border:0}
.portal-theme .console-search input{font-size:11px;padding:10px 12px;background:#fcfcfc;min-width:0}
.portal-theme .filter-drawer summary{font-size:10px;color:#7f7f7f;padding:7px 0 0}
.portal-theme .list-head{font-size:9px;font-weight:650;letter-spacing:.09em;text-transform:uppercase;background:#f9f9f9;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;padding:10px 20px;color:#8d8d8d}
.portal-theme .device-card{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:16px 17px;border-bottom:1px solid #f0f0f0;min-height:104px;background:#ffffff;border-radius:0}
.portal-theme .device-card:hover{background:#f9f9f9}
.portal-theme .device-card.selected{background:#f4f4f4;box-shadow:inset 3px 0 #7e7e7e}
.portal-theme .computer-icon{display:grid;place-items:center;background:#efefef;border-radius:7px;width:30px;height:32px;font-size:17px;color:#929292}
.portal-theme .computer-icon.online{color:#7c7c7c;background:#ebebeb}
.portal-theme .device-name{font-size:12px;font-weight:650;letter-spacing:-.015em}
.portal-theme .device-meta{font-size:10px;color:#878787;margin-top:3px}
.portal-theme .pill{font-size:9px;padding:2px 7px;background:#eaeaea;color:#686868;border:0;border-radius:5px;font-weight:600}
.portal-theme .pill.offline{background:#efefef;color:#848484}
.portal-theme .favorite-button{border:0;background:transparent;color:#909090;padding:0 4px;min-height:24px}
.portal-theme .list-foot{margin-top:auto;font-size:9px;padding:12px 18px;background:#fbfbfb;color:#8e8e8e;border-top:1px solid #ececec}
.portal-theme .inspector{min-width:0;border:1px solid #e3e3e3;border-radius:12px;background:#ffffff;overflow:auto;padding:24px 26px;box-shadow:0 2px 6px #33333303}
.portal-theme .selection-heading{align-items:flex-start;gap:16px;margin-bottom:19px;padding:0;border:0}
.portal-theme .selection-heading h2{font-size:25px;font-weight:650;margin:4px 0;overflow-wrap:anywhere}
.portal-theme .selection-heading .eyebrow{font-size:9px}
.portal-theme .selection-heading button{font-size:10px;padding:7px 9px;white-space:nowrap}
.portal-theme #selected-status{font-size:10px}
.portal-theme .viewer-choice{font-size:11px;flex-wrap:wrap;gap:8px;padding:13px 0;margin:0;border-top:1px solid #f0f0f0}
.portal-theme .viewer-choice select{min-height:32px;font-size:11px;width:auto;padding:5px 25px 5px 9px}
.portal-theme .viewer-choice a{font-size:10px;margin-left:auto;color:#747474}
.portal-theme .connection-actions{gap:7px;padding:0;margin:4px 0 20px;flex-wrap:wrap}
.portal-theme .connection-actions button{font-size:11px;padding:10px 13px}
.portal-theme #join-default{min-width:100px}
.portal-theme .heartbeat-status{border:1px solid #e7e7e7;background:#f8f8f8;border-radius:8px;padding:10px 13px;margin:0 0 20px;font-size:10px;color:#727272;gap:7px;flex-wrap:wrap}
.portal-theme .heartbeat-status strong{font-size:10px;color:#676767}
.portal-theme .inspector-tabs{padding:0;margin:0 -26px 0;padding-left:20px;border-bottom:1px solid #e5e5e5;gap:0;background:#ffffff;overflow:auto}
.portal-theme .inspector-tabs button{border:0;border-radius:0;border-bottom:2px solid transparent;padding:13px 9px;font-size:10px;white-space:nowrap;color:#848484;background:transparent}
.portal-theme .inspector-tabs button.active{color:#545454;border-bottom-color:#7a7a7a;background:transparent;font-weight:700}
.portal-theme .inspector-panel{padding:20px 0 0}
.portal-theme .overview-banner{background:#f8f8f8;padding:14px 16px;border:1px solid #e8e8e8;border-radius:8px;gap:12px;margin-bottom:12px}
.portal-theme .overview-banner strong{font-size:12px;color:#606060}
.portal-theme .overview-banner p{font-size:10px;margin:4px 0 0}
.portal-theme .monitor-icon{font-size:23px;color:#949494}
.portal-theme .detail-row{padding:11px 3px;font-size:11px;grid-template-columns:140px minmax(0,1fr);gap:15px;border-bottom:1px solid #efefef}
.portal-theme .detail-row>span:first-child{color:#8b8b8b}
.portal-theme .detail-row>span:last-child{color:#595959;overflow-wrap:anywhere}
.portal-theme .console-audit{grid-column:1/-1;background:#ffffff;border:1px solid var(--line);border-radius:12px;overflow:auto;padding:12px 20px}
.portal-theme .console-error:empty{display:none}
.portal-theme .management-layout{margin-left:var(--sidebar);grid-template-columns:224px minmax(0,1fr);min-height:calc(100dvh - 78px)}
.portal-theme .management-nav{padding:31px 18px 20px;background:#f2f2f2;border-right:1px solid #e5e5e5;gap:4px;min-width:0}
.portal-theme .management-nav h2{padding:0 12px;font-size:20px;font-weight:650;margin:0}
.settings-nav-intro{font-size:10px;color:#939393;margin:4px 12px 19px}
.portal-theme #settings-search{font-size:11px;background:#fafafa;margin:0 0 10px;min-width:0;width:100%;padding:8px 10px}
.portal-theme .settings-caption{font-size:9px;font-weight:650;letter-spacing:.12em;color:#909090;margin:20px 12px 7px}
.portal-theme .management-nav>a{padding:10px 12px;color:#747474;border-radius:7px;font-size:11px;display:block;line-height:1.5}
.portal-theme .management-nav>a:hover{background:#eaeaea;color:#515151}
.portal-theme .management-nav>a.active{background:#e6e6e6;color:#515151;font-weight:650;box-shadow:none}
.portal-theme .management-nav.is-searching .settings-caption{display:none}
.settings-search-empty{padding:12px;font-size:11px;color:#818181}
.portal-theme .settings-nav-footer{font-size:10px;color:#939393;padding:30px 12px 0;margin-top:auto;border:0}
.portal-theme .management-content{padding:42px clamp(24px,4vw,62px) 60px;max-width:none;background:#fbfbfb;min-width:0}
.portal-theme .management-content>section{max-width:1280px;margin:0 auto}
.portal-theme .management-content h1{font-size:31px;letter-spacing:-.045em;font-weight:600;margin:5px 0 10px;line-height:1.2;color:#434343}
.portal-theme .management-content h2{font-size:16px;font-weight:650;color:#555555}
.portal-theme .management-content>section>p,.portal-theme .management-heading p,.portal-theme .settings-lead{font-size:12px;color:#868686;line-height:1.7;margin:0 0 28px}
.portal-theme .management-heading{gap:20px;margin-bottom:24px;align-items:center}
.portal-theme .management-heading p{margin-bottom:0}
.portal-theme .settings-metrics{gap:16px;margin:28px 0}
.portal-theme .settings-metric{border:1px solid #e5e5e5;border-radius:11px;background:#ffffff;padding:20px 22px;box-shadow:none}
.portal-theme .settings-metric strong{font-size:29px;line-height:1.3;font-weight:550;color:#646464;letter-spacing:-.04em}
.portal-theme .settings-metric span{font-size:10px;color:#919191;letter-spacing:.01em;margin-top:7px}
.portal-theme .settings-card-grid{gap:19px}
.portal-theme .settings-card,.portal-theme .security-card{border:1px solid #e5e5e5;border-radius:12px;background:#ffffff;padding:24px 26px;box-shadow:0 3px 12px #41414103}
.portal-theme .settings-card h2,.portal-theme .security-card h2{margin:0 0 16px;font-size:15px}
.portal-theme .settings-card p,.portal-theme .security-card p{font-size:12px;color:#838383;line-height:1.8}
.portal-theme .settings-card a{font-size:11px;font-weight:600;color:#6c6c6c}
.portal-theme .settings-links{gap:10px}
.portal-theme .settings-fact{font-size:11px;padding:10px 0;gap:12px;border-bottom:1px solid #f0f0f0}
.portal-theme .settings-fact>*{overflow-wrap:anywhere}
.portal-theme .management-table{background:#ffffff;font-size:12px}
.portal-theme .table-scroll{border:1px solid #e4e4e4;border-radius:10px;overflow:auto;max-width:100%}
.portal-theme .management-table th{background:#f3f3f3;color:#878787;letter-spacing:.05em;text-transform:uppercase;font-size:9px;padding:15px}
.portal-theme .management-table td{padding:17px 15px;border-bottom:1px solid #ececec;color:#656565}
.portal-theme .management-table button{font-size:10px;padding:6px 9px}
.portal-theme .notice,.portal-theme .sso-callout{border:1px solid #e4e4e4;background:#f3f3f3;color:#737373;border-radius:8px;padding:14px 16px;font-size:11px;line-height:1.7}
.portal-theme .security-grid{gap:20px}
.portal-theme .sso-heading{margin-bottom:28px}
.portal-theme .sso-heading h1{margin:0 0 5px}
.portal-theme .sso-heading p{color:#8d8d8d;font-size:12px}
.portal-theme .sso-editor,.portal-theme .sso-summary{border-color:#e4e4e4;border-radius:12px;box-shadow:none}
.portal-theme .sso-tabs{background:#f3f3f3;border-radius:12px 12px 0 0}
.portal-theme .sso-tabs button{font-size:11px;padding:14px 18px;border-radius:0;color:#7f7f7f}
.portal-theme .sso-tabs button[aria-selected=true]{border-bottom-color:#7a7a7a;color:#5b5b5b;background:#eeeeee}
.portal-theme .sso-panel{padding:26px}
.portal-theme .sso-panel label{font-size:12px;color:#676767}
.portal-theme .sso-panel input,.portal-theme .sso-panel textarea,.portal-theme .sso-panel select{font-size:12px}
.portal-theme .sso-step{background:#ebebeb;color:#797979}
.portal-theme .sso-savebar{background:#f7f7f7;border-top:1px solid #e6e6e6;padding:18px 24px;border-radius:0 0 12px 12px}
.portal-theme .sso-summary{background:#f6f6f6;padding:24px}
.portal-theme .sso-summary dl{font-size:11px}
.portal-theme .error:empty{display:none}
.portal-theme dialog{border:1px solid #e3e3e3;border-radius:16px;padding:28px;box-shadow:0 24px 100px #31313140;background:#ffffff;color:var(--text);max-height:90dvh;overflow:auto}
.portal-theme dialog::backdrop{background:#2a2a2a77;backdrop-filter:blur(3px)}
.portal-theme dialog h2{font-size:23px;margin-top:9px}
.portal-theme dialog p{font-size:12px;line-height:1.7}
.portal-theme .login-shell{padding:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:100dvh;background:#f9f9f9;gap:0}
.login-intro{display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:42px 56px;background:#313131;color:#c4c4c4;border:0;overflow:hidden}
.login-intro .rail-brand{padding:0}
.login-intro>div{padding:48px 0}
.login-intro .eyebrow{font-size:9px;letter-spacing:.2em;color:#b3b3b3}
.login-intro h2{font-size:clamp(36px,4.5vw,66px);font-weight:450;line-height:1.08;letter-spacing:-.05em;color:#ebebeb;margin:22px 0}
.login-intro p{font-size:13px;color:#b3b3b3;line-height:1.9}
.login-intro>small{font-size:10px;letter-spacing:.06em;color:#9a9a9a}
.login-orbit{position:relative;width:190px;height:190px;border:1px solid #6e6e6e;border-radius:50%;margin:44px auto 0;display:grid;place-items:center;transform:rotate(-18deg)}
.login-orbit:before{content:'';position:absolute;inset:24px;border:1px solid #8e8e8e;border-radius:50%}
.login-orbit>span{display:grid;place-items:center;width:84px;height:84px;border-radius:22px;background:#d4d4d4;color:#4e4e4e;font-size:29px;font-weight:600;letter-spacing:-.1em;transform:rotate(18deg)}
.login-orbit i{position:absolute;width:15px;height:15px;border:4px solid #424242;background:#cccccc;border-radius:50%;top:8px;left:32px}
.login-orbit i:nth-of-type(2){top:auto;bottom:15px;left:auto;right:18px}.login-orbit i:nth-of-type(3){top:80px;left:auto;right:20px;width:10px;height:10px;border:2px solid #7e7e7e}
.portal-theme .login-card{margin:40px auto;padding:40px;width:min(100%,430px);border:0;background:transparent;box-shadow:none;align-self:center}
.portal-theme .login-card>.brand{display:none}
.portal-theme .login-card h1{font-size:34px;font-weight:550;line-height:1.2;letter-spacing:-.05em;margin:15px 0;color:#505050}
.portal-theme .login-card label{font-size:12px;font-weight:550;color:#717171;margin-top:22px}
.portal-theme .login-card .primary{width:100%;padding:12px;margin-top:18px}
.portal-theme .login-card p{font-size:12px;color:#949494}
.portal-theme .login-card>small{display:block;margin-top:35px;font-size:10px;color:#9f9f9f}
@media(min-width:1700px){.portal-theme .console-layout{grid-template-columns:430px minmax(0,1fr)}.portal-theme .inspector{padding:30px 38px}.portal-theme .inspector-tabs{margin-left:-38px;margin-right:-38px;padding-left:30px}}
@media(max-width:1250px){.portal-theme{--sidebar:190px}.portal-theme .console-layout{padding:18px;gap:14px;grid-template-columns:310px minmax(0,1fr)}.portal-theme .console-header{padding:0 22px}.portal-theme .management-layout{grid-template-columns:200px minmax(0,1fr)}.portal-theme .management-content{padding:32px 26px}.portal-theme .settings-card-grid{grid-template-columns:1fr}.portal-theme .selection-heading{flex-direction:column;gap:8px}.portal-theme .inspector{padding:22px 20px}.portal-theme .inspector-tabs{margin-left:-20px;margin-right:-20px;padding-left:13px}.portal-theme .detail-row{grid-template-columns:110px minmax(0,1fr)}.portal-theme .sso-layout{grid-template-columns:1fr}.portal-theme .sso-summary{position:static}.portal-theme .header-note{display:none}}
@media(max-width:1030px){.portal-theme{--sidebar:72px}.portal-theme .console-rail{padding:22px 10px 10px;align-items:stretch}.portal-theme .rail-brand{justify-content:center;padding:0 0 30px}.portal-theme .console-rail .rail-brand>span:last-child,.portal-theme .rail-caption,.portal-theme .nav-label,.portal-theme .profile-details,.portal-theme .profile-chevron,.portal-theme .rail-version,.portal-theme .group-pane{display:none}.portal-theme .console-rail>.nav,.portal-theme .rail-account>.nav{justify-content:center;padding:12px 8px}.portal-theme .console-layout{grid-template-columns:300px minmax(0,1fr)}.portal-theme .management-layout{grid-template-columns:200px minmax(0,1fr)}.portal-theme .management-content h1{font-size:28px}.portal-theme #portal-version{display:none}}
@media(max-width:760px){.portal-theme .console-layout{display:flex;flex-direction:column;height:auto;padding:14px;gap:14px}.portal-theme .session-pane{flex:none;max-height:460px}.portal-theme #devices-page{min-height:0}.portal-theme .list-foot{display:none}.portal-theme .device-list{overflow:visible}.portal-theme .inspector{flex:none;overflow:visible}.portal-theme .selection-heading{flex-direction:row;flex-wrap:wrap}.portal-theme .management-layout{grid-template-columns:1fr}.portal-theme .management-nav{position:static;display:flex;flex-direction:row;flex-wrap:wrap;gap:6px;padding:15px 20px;border:0;border-bottom:1px solid #e5e5e5}.portal-theme .management-nav h2,.portal-theme .settings-nav-intro,.portal-theme .settings-caption,.portal-theme .settings-nav-footer{display:none}.portal-theme #settings-search{flex-basis:100%;max-width:none;margin:0 0 7px}.portal-theme .management-nav>a{font-size:10px;padding:7px 10px}.portal-theme .management-content{padding:26px 20px 45px}.portal-theme .settings-metrics{gap:8px}.portal-theme .settings-metric{padding:14px}.portal-theme .settings-metric strong{font-size:24px}.portal-theme .sso-field-grid,.portal-theme .sso-secret-row{grid-template-columns:1fr}.portal-theme .console-header{padding:0 18px}.portal-theme .header-actions{gap:6px}.portal-theme .header-actions button{font-size:10px;padding:8px 10px}.portal-theme .login-shell{grid-template-columns:1fr;min-height:100dvh}.login-intro{display:none}.portal-theme .login-card>.brand{display:flex;margin-bottom:34px}}
@media(max-width:520px){.portal-theme{--sidebar:0px}.portal-theme .console-header{height:auto;min-height:78px;padding:16px;align-items:flex-start;flex-wrap:wrap}.portal-theme .workspace-heading strong{font-size:14px}.portal-theme .header-actions{margin-left:auto}.portal-theme .console-layout{margin:0;padding:12px 12px 95px;gap:12px}.portal-theme .console-rail{inset:auto 0 0;width:100%;height:70px;padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:#2a2a2a;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;border-top:1px solid #555555}.portal-theme .console-rail>.rail-brand{display:none}.portal-theme .console-rail .nav{display:flex;flex-direction:column;gap:4px;justify-content:center;padding:6px 2px;font-size:9px;min-height:55px;width:auto}.portal-theme .console-rail .nav-label{display:block;font-size:9px}.portal-theme .rail-bottom.rail-account{display:contents}.portal-theme .profile-avatar{height:23px;width:23px;font-size:10px!important}.portal-theme .profile-toggle:after{content:'Profile';font-size:9px}.portal-theme .profile-menu{left:12px;right:12px;width:auto;bottom:80px}.portal-theme .inspector{padding:20px 18px}.portal-theme .inspector-tabs{margin-left:-18px;margin-right:-18px;padding-left:10px}.portal-theme .management-content{padding:25px 16px 100px}.portal-theme .management-nav{padding:14px 16px}.portal-theme .management-content h1{font-size:27px}.portal-theme .management-heading{align-items:flex-start;flex-direction:column}.portal-theme .settings-metric{padding:11px}.portal-theme .settings-metric span{font-size:9px}.portal-theme .settings-card,.portal-theme .security-card{padding:22px}.portal-theme .sso-panel{padding:20px}.portal-theme .sso-savebar{flex-direction:column;align-items:stretch}.portal-theme .sso-heading{gap:12px;align-items:flex-start;flex-direction:column}.portal-theme .viewer-choice a{margin-left:0}.portal-theme .login-card{padding:30px;width:min(100%,400px)}.portal-theme dialog{width:calc(100% - 28px);padding:24px}}
@media(prefers-reduced-motion:reduce){.portal-theme *{transition:none!important;scroll-behavior:auto!important}}
/* Reset inherited layout rules from the legacy four-pane console. */
.portal-theme .console-layout>.console-rail{position:fixed;top:0;height:100dvh;max-height:100dvh;overflow:visible}
.portal-theme .group-button{padding:7px 12px!important;border-radius:6px!important}
.portal-theme .group-button.active{background:#434343!important;color:#eaeaea!important}
.portal-theme .inspector-tabs button{box-shadow:none!important}
.portal-theme .inspector-tabs button.active{border-bottom-color:#7a7a7a!important}
.portal-theme .inventory-toolbar{margin:18px 0 0;background:#f7f7f7;border-color:#e5e5e5}
.portal-theme .settings-caption{padding:0}
.portal-theme .sso-tabs button[aria-selected=true]{box-shadow:0 3px #7a7a7a!important}
.portal-theme .sso-summary{display:block}
.portal-theme .management-nav,.portal-theme .management-content{grid-column:auto;grid-row:auto}
.portal-theme .settings-metric span,.portal-theme .settings-lead,.portal-theme .settings-card p,.portal-theme .security-card p,.portal-theme .management-heading p,.portal-theme .management-content>section>p{color:#6f6f6f}
.portal-theme .detail-row>span:first-child,.portal-theme .device-meta,.portal-theme .settings-fact span,.portal-theme .settings-nav-intro,.portal-theme .settings-caption,.portal-theme .settings-nav-footer,.portal-theme .management-table th{color:#707070}
.portal-theme .profile-menu{max-width:calc(100vw - 24px)}
@media(max-width:760px){.portal-theme .management-layout{display:block}.portal-theme .management-nav{grid-column:auto}.portal-theme .settings-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.portal-theme{padding-bottom:0}.portal-theme .console-header{flex-direction:row}.portal-theme .console-header .header-actions{width:auto}.portal-theme .console-rail .nav.active{border:1px solid #545454}.portal-theme .console-rail .rail-account .nav{flex-direction:column;padding:6px 2px;font-size:9px}.portal-theme .console-rail .rail-account .profile-avatar{height:23px;width:23px}.portal-theme .management-rail{min-height:0}.portal-theme .console-rail{height:100dvh}}
@media(max-width:520px){.portal-theme .console-layout>.console-rail,.portal-theme .management-rail{inset:auto 0 0;height:70px;max-height:70px}.portal-theme .settings-metric span{display:block}.portal-theme .profile-menu{max-width:none}}
.portal-theme .login-intro{position:static;inset:auto;width:auto;height:auto;max-width:none;z-index:auto;align-self:stretch;justify-self:stretch}
.portal-theme .sso-switch-row input[type=checkbox]{width:38px;height:22px;min-height:0;border-radius:20px;background:#c0c0c0;border:0;padding:0}
.portal-theme .sso-switch-row input[type=checkbox]:checked{background:#737373}
.portal-theme input[type=checkbox]:not([role=switch]){min-height:0}
