/* ProtectMyi vNext R1: presentation-only skin. Deliberately layered over the
 * EXACT published app. Functional modules and authorizations stay untouched. */
:root {
 --pmx-bg:#f5f7fb;--pmx-panel:#ffffff;--pmx-panel-alt:#f8fafc;--pmx-border:#dfe6f0;--pmx-ink:#17263f;
 --pmx-dark:#0e203e;--pmx-dark-light:#1d3559;--pmx-muted:#66778e;--pmx-accent:#3159cc;
 --pmx-accent-hover:#244aa9;--pmx-accent-tint:#edf2ff;--pmx-critical:#b83d44;--pmx-warning:#a26419;
 --pmx-good:#2c8067;--pmx-radius:12px;--pmx-shadow:0 4px 14px rgba(17,39,79,.045);
 --pmx-space-1:4px;--pmx-space-2:8px;--pmx-space-3:12px;--pmx-space-4:16px;--pmx-space-5:24px;
 --pmx-space-6:32px;
}
html.pmi-next body {font:14px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;letter-spacing:0!important;background:var(--pmx-bg)!important;color:var(--pmx-ink)!important}
html.pmi-next :is(button,select,input,textarea){font-family:inherit;letter-spacing:inherit}
html.pmi-next :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid rgba(49,89,204,.33)!important;outline-offset:2px}
html.pmi-next button{transition:background-color .12s,border-color .12s,box-shadow .12s}
html.pmi-next .app-shell{grid-template-columns:220px minmax(0,1fr)!important;min-height:100vh}
html.pmi-next .app-shell>aside{background:var(--pmx-dark)!important;border-right:1px solid rgba(255,255,255,.08);padding:24px 14px 16px!important;z-index:10}
html.pmi-next .sidebar-brand{margin-bottom:14px}
html.pmi-next .brand{font-size:20px!important;font-weight:760!important;letter-spacing:-.04em!important}
html.pmi-next .brand-mark{background:#3559d9!important;box-shadow:none!important;border-radius:10px}
html.pmi-next .nav-item,html.pmi-next .theme-toggle,html.pmi-next .logout{font-size:13px!important;min-height:42px;border-radius:9px!important;padding:10px 13px!important;font-weight:610!important}
html.pmi-next .nav-item.active{background:#243d7c!important;box-shadow:none!important;border-left:3px solid #a3b4ff!important;padding-left:10px!important}
html.pmi-next .nav-item:not(.active):hover,html.pmi-next .theme-toggle:hover{background:rgba(255,255,255,.08)!important}
html.pmi-next .sidebar-planned{display:none!important}
html.pmi-next .sidebar-account{border:1px solid rgba(255,255,255,.13);border-radius:10px;background:rgba(255,255,255,.04);padding:12px!important;margin-top:12px}
html.pmi-next .topbar{height:64px!important;background:#fff!important;padding:0 30px!important;box-shadow:none!important;z-index:15;border-bottom:1px solid var(--pmx-border)!important}
html.pmi-next .topbar-title strong{font-weight:720;font-size:15px;color:var(--pmx-ink)!important}
html.pmi-next .topbar-actions{gap:12px}
html.pmi-next .content{max-width:none!important;margin:0!important;padding:27px 32px 48px!important}
html.pmi-next .page-head{align-items:center!important;padding:0!important;margin:0 0 24px!important;gap:18px!important}
html.pmi-next .page-head h1{font-size:27px!important;letter-spacing:-.045em!important;font-weight:740!important;margin:2px 0!important}
html.pmi-next .page-head p{font-size:13px;line-height:1.5;color:var(--pmx-muted)!important;margin:2px 0}
html.pmi-next .page-kicker{display:none!important}
html.pmi-next .primary{background:var(--pmx-accent)!important;border:1px solid var(--pmx-accent)!important;color:white!important;border-radius:9px!important;box-shadow:none!important;padding:10px 16px!important;font-weight:680!important}
html.pmi-next .primary:hover{background:var(--pmx-accent-hover)!important}
html.pmi-next .secondary-button,html.pmi-next button:not(.primary):not(.nav-item):not(.logout):not(.theme-toggle):not(.text-link):not(.pmi-alert-trigger):not(.pmi-alert-system-toggle):not(.advisor-review-trigger):not(.subtab):not(.tab){border-radius:9px;box-shadow:none}
html.pmi-next .secondary-button{border:1px solid var(--pmx-border)!important;background:var(--pmx-panel)!important;color:var(--pmx-ink)!important;padding:10px 14px!important;font-weight:640!important}
html.pmi-next :is(.panel,.summary-card,.advisor-card,.pmi-overview-panel,.setting-card){border-color:var(--pmx-border)!important;border-radius:var(--pmx-radius)!important;background:var(--pmx-panel)!important;box-shadow:var(--pmx-shadow)!important}
html.pmi-next .panel-head{border-bottom-color:var(--pmx-border)!important}
html.pmi-next :is(.panel-head h2,.advisor-card h2){font-size:16px!important;font-weight:680!important;color:var(--pmx-ink)!important}
html.pmi-next .pmi-overview-panel{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
html.pmi-next .pmi-overview-panel>.panel-head{display:none!important}
html.pmi-next .pmi-overview-stats{display:grid!important;grid-template-columns:repeat(4,minmax(120px,1fr))!important;gap:12px!important;margin:0 0 12px!important}
html.pmi-next .pmi-overview-stats>div{margin:0!important;border:1px solid var(--pmx-border)!important;background:#fff!important;border-radius:12px!important;padding:17px 19px!important;box-shadow:var(--pmx-shadow)!important;min-height:104px;display:flex;flex-direction:column;justify-content:space-between;gap:5px}
html.pmi-next .pmi-overview-stats dt{font-size:12px!important;color:var(--pmx-muted)!important;letter-spacing:0!important;text-transform:none!important;font-weight:580!important}
html.pmi-next .pmi-overview-stats dd{font-size:29px!important;color:var(--pmx-ink)!important;font-weight:740!important;letter-spacing:-.04em!important;margin:0!important}
html.pmi-next :is(#dashboardCoverage,#mspCoverage){margin:8px 0 16px!important;font-size:12px;color:var(--pmx-muted);line-height:1.5}
html.pmi-next .advisor-table-scroll{background:#fff;border:1px solid var(--pmx-border)!important;border-radius:12px!important;overflow:auto!important;box-shadow:var(--pmx-shadow)}
html.pmi-next .advisor-table{border-collapse:separate!important;border-spacing:0!important;min-width:780px;width:100%;background:#fff}
html.pmi-next .advisor-table thead{background:var(--pmx-panel-alt)!important}
html.pmi-next .advisor-table th{font-size:11px!important;text-transform:uppercase!important;letter-spacing:.06em!important;font-weight:690!important;color:var(--pmx-muted)!important;padding:13px 16px!important;text-align:left}
html.pmi-next .advisor-table td{padding:13px 16px!important;border-top:1px solid var(--pmx-border)!important;font-size:13px;vertical-align:middle!important}
html.pmi-next .advisor-table tbody tr:hover{background:#f8faff}
html.pmi-next .text-link{font-weight:710!important;color:var(--pmx-accent)!important}
html.pmi-next .account-picker select,html.pmi-next :is(input,select,textarea):not([type=checkbox]){background:#fff;border:1px solid #cbd7e7;border-radius:9px;color:var(--pmx-ink);padding:9px 11px;min-height:38px}
html.pmi-next :is(input,select,textarea):disabled{opacity:.63}
html.pmi-next .pmi-next-home-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 17px}
html.pmi-next .pmi-next-home-intro h2{font-size:17px;letter-spacing:-.025em;margin:0 0 3px}
html.pmi-next .pmi-next-home-intro p{font-size:12px;color:var(--pmx-muted);margin:0}
html.pmi-next .pmi-next-home-actions{display:flex;gap:8px;flex-wrap:wrap}
html.pmi-next .pmi-next-home-actions button{background:white;border:1px solid var(--pmx-border);color:var(--pmx-ink);border-radius:8px;padding:9px 12px;font-size:12px;font-weight:650}
html.pmi-next .pmi-next-home-actions button:hover{background:#f3f6ff}
html.pmi-next .pmi-next-systems-wrap{margin-top:22px}
html.pmi-next .pmi-next-system-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px}
html.pmi-next .pmi-next-system-head h2{margin:0;font-size:17px}
html.pmi-next .pmi-next-system-head span{font-size:12px;color:var(--pmx-muted)}
html.pmi-next .pmi-next-preview-list{display:grid;gap:8px}
html.pmi-next .pmi-next-preview-row{background:white;border:1px solid var(--pmx-border);padding:14px 17px;border-radius:10px;display:grid;grid-template-columns:minmax(130px,1fr) minmax(100px,1fr) auto;gap:12px;align-items:center;text-align:left;width:100%;box-shadow:var(--pmx-shadow);font-size:12px}
html.pmi-next .pmi-next-preview-row:hover{border-color:#a5b5e5;background:#fafbff}
html.pmi-next .pmi-next-preview-row strong{font-size:14px;color:var(--pmx-ink)}
html.pmi-next .pmi-next-preview-row span{color:var(--pmx-muted)}
html.pmi-next .pmi-next-preview-empty{font-size:13px;color:var(--pmx-muted);border:1px dashed var(--pmx-border);padding:22px;border-radius:12px;background:#fff}
html.pmi-next .pmi-next-pulse{display:inline-block;min-width:7px;height:7px;border-radius:50%;background:#8190a5;margin-right:6px}
/* Page-specific visual refinements: existing behaviors remain owned by legacy modules. */
html.pmi-next #alertsConsole.pmi-incidents.pmi-inline{display:flex!important;flex-direction:column;gap:15px}
html.pmi-next #alertsConsole.pmi-incidents>header{display:none!important}
html.pmi-next #alertsConsole .toolbar{display:flex!important;flex-wrap:wrap;gap:9px!important;align-items:flex-end!important;border:1px solid var(--pmx-border);border-radius:12px;background:#fff;padding:14px 16px!important;box-shadow:var(--pmx-shadow)}
html.pmi-next #alertsConsole .toolbar label{font-size:12px;color:var(--pmx-muted);font-weight:590;display:grid;gap:4px}
html.pmi-next #alertsConsole .toolbar :is(input,select){font-size:13px;max-width:280px}
html.pmi-next #alertsConsole .console-attention{display:flex!important;gap:11px;order:0!important}
html.pmi-next #alertsConsole .console-attention>button{min-width:0!important;flex:1;border:1px solid var(--pmx-border)!important;box-shadow:none!important;padding:12px 16px!important;border-radius:10px!important;background:#fff!important;text-align:left}
html.pmi-next #alertsConsole .console-attention span{font-size:12px;color:var(--pmx-muted)}
html.pmi-next #alertsConsole .console-attention strong{font-size:23px!important;color:var(--pmx-ink)}
html.pmi-next #alertsConsole .console-attention small{display:none}
html.pmi-next #alertsConsole .table-scroll{order:1!important;overflow:auto!important;border:1px solid var(--pmx-border)!important;border-radius:10px;background:#fff;box-shadow:var(--pmx-shadow)}
html.pmi-next #alertsConsole .pmi-compact-table{min-width:780px;width:100%}
html.pmi-next #alertsConsole .pmi-compact-table :is(td,th){padding:12px 14px!important;border-color:var(--pmx-border)!important}
html.pmi-next #alertsConsole .pmi-console-pages{order:2!important;display:flex;justify-content:flex-end;gap:10px;align-items:center;margin:0!important}
html.pmi-next #alertsConsole [data-load-more]{order:3!important;align-self:flex-start}
html.pmi-next #alertsConsole .pmi-bulk{order:4!important}
html.pmi-next #alertsConsole .pmi-bulk[hidden]{display:none!important}
html.pmi-next #alertsConsole .pmi-next-diagnostics{order:5;font-size:12px;color:var(--pmx-muted);border:1px solid var(--pmx-border);padding:11px 15px;border-radius:10px;background:#fff}
html.pmi-next #alertsConsole .pmi-next-diagnostics summary{font-weight:650;cursor:pointer;color:var(--pmx-ink)}
html.pmi-next #alertsConsole .pmi-next-diagnostics .fleet-strip{display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:12px}
html.pmi-next #alertsConsole .pmi-next-diagnostics>.pmi-result-count{font-size:12px}
html.pmi-next #alertsConsole .pmi-result-count{order:0;font-size:12px;color:var(--pmx-muted)}
html.pmi-next #alertsConsole .fleet-strip>button{border:1px solid var(--pmx-border)!important;border-radius:9px!important;max-width:280px}
html.pmi-next #alertSettingsRoot{background:transparent!important}
html.pmi-next #alertSettingsRoot :is(fieldset,.setting-card){border:1px solid var(--pmx-border)!important;border-radius:11px!important;background:#fff!important;padding:19px!important;margin-bottom:13px!important;box-shadow:var(--pmx-shadow)}
html.pmi-next #alertSettingsRoot legend{font-size:15px;font-weight:700;padding:0 7px;color:var(--pmx-ink)}
html.pmi-next #alertSettingsRoot label{display:inline-flex;gap:7px;align-items:center;flex-wrap:wrap;color:var(--pmx-ink)}
html.pmi-next #alertSettingsRoot :is(input[type=number],select){min-width:65px;max-width:122px}
html.pmi-next #alertSettingsRoot input[type=checkbox]{accent-color:var(--pmx-accent);width:16px;height:16px}
html.pmi-next #alertSettingsRoot button{min-height:40px}
html.pmi-next #lparAdvisor{max-width:none!important}
html.pmi-next #lparAdvisor .advisor-card{padding:20px!important}
html.pmi-next #lparAdvisor .advisor-table-scroll{box-shadow:none}
html.pmi-next #lparAdvisor .advisor-tabs{gap:6px!important}
html.pmi-next .pmi-next-environment{font-size:11px;color:#acbad0;padding:0 12px 14px}
html.pmi-next .pmi-next-envmark{position:fixed;left:13px;bottom:12px;background:#ebedfc;color:#254497;border:1px solid #cad3f8;border-radius:7px;font-weight:720;letter-spacing:.04em;font-size:10px;padding:5px 9px;z-index:50;pointer-events:none}
html.pmi-next :is(.pmi-alert-drawer,.pmi-alert-toast){font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;z-index:50!important}
/* Preserve alert toasts above all content, including detail drawers. */
html.pmi-next .pmi-alert-toast{z-index:80!important}
html.pmi-next .pmi-alert-drawer{z-index:70!important}
@media(max-width:1120px){html.pmi-next .pmi-overview-stats{grid-template-columns:repeat(3,minmax(100px,1fr))!important}html.pmi-next .app-shell{grid-template-columns:195px minmax(0,1fr)!important}html.pmi-next .content{padding:24px!important}}
@media(max-width:760px){html.pmi-next .app-shell{display:block!important}html.pmi-next .app-shell>aside{position:relative!important;height:auto!important;min-height:auto!important;width:100%;padding:12px!important}html.pmi-next .sidebar-brand{margin:0 0 7px!important}html.pmi-next .side-nav{display:flex;gap:5px;overflow:auto}html.pmi-next .side-nav button{white-space:nowrap;width:auto;min-width:110px;justify-content:center}html.pmi-next .sidebar-bottom{display:none}html.pmi-next .topbar{height:auto!important;min-height:60px;position:sticky!important;padding:11px 15px!important;gap:9px!important;flex-wrap:wrap}html.pmi-next .topbar-actions{flex-wrap:wrap}html.pmi-next .content{padding:19px 15px 32px!important}html.pmi-next .pmi-overview-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.pmi-next .pmi-overview-stats>div{min-height:84px;padding:12px!important}html.pmi-next .pmi-overview-stats dd{font-size:24px!important}html.pmi-next .pmi-next-home-intro{align-items:flex-start;flex-direction:column}html.pmi-next .pmi-next-preview-row{grid-template-columns:minmax(100px,1fr) auto}html.pmi-next .pmi-next-preview-row .pmi-next-hide-mobile{display:none}html.pmi-next #alertsConsole .console-attention{display:grid!important;grid-template-columns:1fr 1fr}html.pmi-next .page-head{align-items:flex-start!important;flex-wrap:wrap}html.pmi-next #alertsConsole .toolbar{padding:11px!important}}
@media(prefers-reduced-motion:reduce){html.pmi-next *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* vNext single-glance home metrics: native seven-value evidence remains in details. */
html.pmi-next .pmi-next-overview-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 12px}
html.pmi-next .pmi-next-overview-kpi{background:#fff;border:1px solid var(--pmx-border);border-radius:12px;padding:18px 20px;display:flex;flex-direction:column;gap:6px;box-shadow:var(--pmx-shadow)}
html.pmi-next .pmi-next-overview-kpi span{color:var(--pmx-muted);font-size:12px;font-weight:590}
html.pmi-next .pmi-next-overview-kpi strong{font-size:29px;letter-spacing:-.045em;color:var(--pmx-ink);font-weight:740}
html.pmi-next .pmi-next-original-overview{border:0;margin:5px 0 0;font-size:12px;color:var(--pmx-muted)}
html.pmi-next .pmi-next-original-overview summary{cursor:pointer;font-weight:610;display:inline-block;padding:5px 0}
html.pmi-next .pmi-next-original-overview[open]{border:1px solid var(--pmx-border);background:white;border-radius:10px;padding:12px;margin-top:10px}
html.pmi-next .pmi-next-original-overview .pmi-overview-stats{margin-top:12px!important}
@media(max-width:1120px){html.pmi-next .pmi-next-overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){html.pmi-next .pmi-next-overview-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}html.pmi-next .pmi-next-overview-kpi{padding:13px}html.pmi-next .pmi-next-overview-kpi strong{font-size:24px}}
/* Respect the existing portal's dark-theme control. */
html.pmi-next[data-theme="dark"]{
 --pmx-bg:#08131f;--pmx-panel:#112235;--pmx-panel-alt:#14293c;--pmx-border:#2a435a;
 --pmx-ink:#e7eef7;--pmx-muted:#a3b4c9;--pmx-accent:#83a1ff;--pmx-accent-hover:#6485e5;
 --pmx-accent-tint:#162c52;--pmx-shadow:0 4px 14px rgba(0,0,0,.16);
}
html.pmi-next[data-theme="dark"] body{background:var(--pmx-bg)!important;color:var(--pmx-ink)!important}
html.pmi-next[data-theme="dark"] :is(.topbar,.panel,.summary-card,.advisor-card,.setting-card,.pmi-next-preview-row,.pmi-next-preview-empty,.pmi-next-overview-kpi,.pmi-next-original-overview[open],.pmi-next-home-actions button,.advisor-table-scroll,.advisor-table,.pmi-overview-stats>div){background:var(--pmx-panel)!important;color:var(--pmx-ink)!important}
html.pmi-next[data-theme="dark"] :is(.advisor-table thead,.pmi-compact-table thead){background:var(--pmx-panel-alt)!important}
html.pmi-next[data-theme="dark"] #alertsConsole :is(.toolbar,.table-scroll,.console-attention>button,.pmi-next-diagnostics),
html.pmi-next[data-theme="dark"] #alertSettingsRoot fieldset{background:var(--pmx-panel)!important;color:var(--pmx-ink)!important}
html.pmi-next[data-theme="dark"] :is(input,select,textarea):not([type=checkbox]){background:var(--pmx-panel-alt)!important;border-color:var(--pmx-border)!important;color:var(--pmx-ink)!important}
html.pmi-next[data-theme="dark"] :is(.secondary-button,.pmi-next-home-actions button){background:var(--pmx-panel-alt)!important;color:var(--pmx-ink)!important;border-color:var(--pmx-border)!important}
html.pmi-next[data-theme="dark"] .primary{background:#4268d5!important;border-color:#4268d5!important;color:white!important}
html.pmi-next[data-theme="dark"] .app-shell>aside{background:#061321!important}
html.pmi-next[data-theme="dark"] .pmi-next-envmark{background:#172a4c;color:#adc1ff;border-color:#2f4979}

/* R17: one visual language across the entire live portal. */
html.pmi-next {scroll-behavior:smooth}
html.pmi-next body{--pmx-control-h:38px;-webkit-font-smoothing:antialiased}
html.pmi-next [hidden]{display:none!important}
html.pmi-next #appView .content{min-height:calc(100vh - 64px)}
html.pmi-next #appView .topbar-title strong{font-size:16px!important;font-weight:740!important}
html.pmi-next #appView .topbar .pmi-alert-trigger{border-radius:9px!important;border:1px solid var(--pmx-border)!important;background:var(--pmx-panel)!important;color:var(--pmx-ink)!important;min-height:38px;font-size:12px!important;white-space:nowrap;box-shadow:none!important}
html.pmi-next #appView .topbar .pmi-alert-trigger[data-critical="true"]{border-color:#dfb1b7!important;color:#a92e3c!important;background:#fff6f6!important}
html.pmi-next #appView .topbar-actions{gap:10px!important}
html.pmi-next #appView .account-picker{display:flex!important;align-items:center!important;gap:8px!important;font-size:11px!important;color:var(--pmx-muted)!important}
html.pmi-next #appView .account-picker select{font-weight:660!important;font-size:12px!important}
html.pmi-next #appView .page-head h1{line-height:1.2!important}
html.pmi-next #appView .page-head p{max-width:760px}
html.pmi-next .pmi-next-home-intro h2{font-size:18px!important}
html.pmi-next .pmi-next-overview-kpi{min-height:112px}
html.pmi-next .pmi-next-overview-kpi:first-child{border-color:#cfd7f6;background:linear-gradient(130deg,#f4f6ff 0%,white 80%)}
html.pmi-next .pmi-next-overview-kpi:first-child strong{color:#2949ad!important}
html.pmi-next .pmi-next-systems-wrap{margin-top:26px!important}
html.pmi-next .pmi-next-preview-row{grid-template-columns:minmax(160px,1.1fr) minmax(115px,.9fr) minmax(125px,.5fr);font-size:12px!important;min-height:60px!important;box-shadow:none!important}
html.pmi-next .pmi-next-preview-row strong{display:flex;align-items:center;gap:7px;font-weight:700!important}
html.pmi-next .pmi-next-preview-row span:last-child{text-align:right}
html.pmi-next .pmi-next-preview-row:focus-visible{outline:3px solid #a8bbfc!important}
html.pmi-next .pmi-next-lpar-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;padding:12px 14px;margin:0 0 14px;border:1px solid var(--pmx-border);background:var(--pmx-panel);border-radius:11px}
html.pmi-next .pmi-next-lpar-toolbar .pmi-next-searchbox{display:flex;flex-direction:column;gap:4px;min-width:min(300px,100%);font-size:12px;color:var(--pmx-muted);font-weight:620}
html.pmi-next .pmi-next-lpar-toolbar input{height:40px;width:100%;max-width:420px;font-size:13px}
html.pmi-next .pmi-next-lpar-toolbar .pmi-next-lpar-count{font-size:12px;color:var(--pmx-muted);margin-left:auto;align-self:center}
html.pmi-next #lparListPage .advisor-table th,html.pmi-next #lparListPage .advisor-table td{white-space:nowrap}
html.pmi-next #lparListPage .advisor-table tbody tr[hidden]{display:none!important}
html.pmi-next #lparListPage .advisor-table tbody tr:hover{background:var(--pmx-panel-alt)!important}
/* Table retains every native cell, link, event and record. Hide nonessential columns only visually. */
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table :is(th,td):nth-child(3),
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table :is(th,td):nth-child(6),
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table :is(th,td):nth-child(8),
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table :is(th,td):nth-child(9),
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table :is(th,td):nth-child(11){display:none!important}
html.pmi-next #lparListPage:not(.pmi-next-expanded-columns) .advisor-table{min-width:620px!important}
html.pmi-next #lparListPage .pmi-next-lpar-toolbar button[aria-pressed="true"]{border-color:var(--pmx-accent)!important;color:var(--pmx-accent)!important}
/* Alerts: list first, supporting diagnostics after. */
html.pmi-next #alertsConsole.pmi-incidents.pmi-inline{gap:10px!important}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk){display:flex!important;gap:8px!important;align-items:end!important;padding:12px!important;box-shadow:none!important}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>label{min-width:140px}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>label:has([data-message-search]){flex:1 1 210px!important}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>label:has([data-message-search]) input{max-width:none!important;width:100%!important}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>label:has([data-filter]){min-width:165px}
html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>button{flex:0 0 auto}
html.pmi-next #alertsConsole .pmi-next-advanced{position:relative;min-width:125px;font-size:12px;margin-left:auto}
html.pmi-next #alertsConsole .pmi-next-advanced>summary{display:flex;min-height:38px;align-items:center;justify-content:center;cursor:pointer;list-style:none;border:1px solid var(--pmx-border);border-radius:9px;padding:8px 10px;font-weight:660;color:var(--pmx-ink)}
html.pmi-next #alertsConsole .pmi-next-advanced>summary::-webkit-details-marker{display:none}
html.pmi-next #alertsConsole .pmi-next-advanced[open]>summary{border-color:var(--pmx-accent)}
html.pmi-next #alertsConsole .pmi-next-advanced-controls{display:grid;gap:12px;position:absolute;z-index:20;top:calc(100% + 8px);right:0;width:min(460px,calc(100vw - 44px));padding:16px;border:1px solid var(--pmx-border);background:var(--pmx-panel);box-shadow:0 14px 35px rgba(15,39,79,.12);border-radius:12px}
html.pmi-next #alertsConsole .pmi-next-advanced-controls label{display:grid!important;gap:6px;font-size:12px}
html.pmi-next #alertsConsole .pmi-next-advanced-controls :is(select,input){max-width:none!important;width:100%}
html.pmi-next #alertsConsole .pmi-next-advanced-controls button{justify-self:start}
html.pmi-next #alertsConsole .console-attention{gap:8px!important;margin:0!important}
html.pmi-next #alertsConsole .console-attention>button{padding:9px 13px!important;border-radius:9px!important;min-height:67px;box-shadow:none!important}
html.pmi-next #alertsConsole .console-attention span{font-size:11px!important;line-height:1.3}
html.pmi-next #alertsConsole .console-attention strong{font-size:19px!important;line-height:1.2}
html.pmi-next #alertsConsole .table-scroll{border-color:var(--pmx-border)!important;box-shadow:none!important}
html.pmi-next #alertsConsole .pmi-compact-table th{text-transform:none!important;font-size:12px;font-weight:710;letter-spacing:0!important;background:var(--pmx-panel-alt)!important}
html.pmi-next #alertsConsole .pmi-compact-table tbody tr:hover{background:var(--pmx-panel-alt)!important}
html.pmi-next #alertsConsole .pmi-result-count{font-size:11px!important}
html.pmi-next #alertsConsole .pmi-next-diagnostics{order:5!important;padding:12px 15px!important;box-shadow:none!important}
html.pmi-next #alertsConsole .pmi-next-diagnostics>summary{font-size:12px}
html.pmi-next #alertsConsole .pmi-bulk:not([hidden]){order:2!important;border-color:var(--pmx-accent)!important;box-shadow:none!important}
html.pmi-next #alertsConsole .pmi-console-pages{order:3!important}
html.pmi-next #alertsConsole .pmi-next-diagnostics p{color:var(--pmx-muted)!important;line-height:1.5}
/* Alert configuration, three clear cards in a responsive grid. */
html.pmi-next #alertSettingsRoot:not(.hidden){display:grid!important;grid-template-columns:minmax(220px,1fr) auto;column-gap:18px;row-gap:12px;max-width:1400px}
html.pmi-next #alertSettingsRoot>:is(h2,p[role="status"],div){grid-column:1/-1}
html.pmi-next #alertSettingsRoot>h2{font-size:19px!important;margin:0;font-weight:740!important;letter-spacing:-.025em}
html.pmi-next #alertSettingsRoot>p:not([role="status"]){grid-column:1/-1;font-size:13px;color:var(--pmx-muted);margin:0}
html.pmi-next #alertSettingsRoot>.pmi-next-selector,html.pmi-next #alertSettingsRoot>.pmi-next-email-optin{background:var(--pmx-panel);border:1px solid var(--pmx-border);padding:12px 16px;border-radius:11px;font-size:13px}
html.pmi-next #alertSettingsRoot>.pmi-next-selector{display:flex!important;flex-direction:column;align-items:stretch!important;gap:6px;max-width:560px}
html.pmi-next #alertSettingsRoot>.pmi-next-selector select{max-width:none!important;width:100%;overflow:hidden;text-overflow:ellipsis}
html.pmi-next #alertSettingsRoot>.pmi-next-email-optin{display:flex!important;align-items:center!important;gap:9px;align-self:stretch}
html.pmi-next #alertSettingsRoot>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card{min-width:0!important;margin:0!important;padding:16px!important;border:1px solid var(--pmx-border)!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;align-content:start}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card legend{font-size:14px!important;font-weight:720!important}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card label:not(.pmi-next-rule-enable){display:flex!important;flex-direction:column;align-items:stretch!important;flex-wrap:nowrap!important;gap:5px!important;min-width:0;font-size:12px;color:var(--pmx-muted)}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card label:not(.pmi-next-rule-enable) input,
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card label:not(.pmi-next-rule-enable) select{min-width:0!important;max-width:none!important;width:100%!important;height:40px}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card .pmi-next-rule-enable{grid-column:1/-1;display:flex!important;justify-content:space-between;align-items:center;gap:12px;font-weight:660;font-size:13px;padding:0 0 12px;border-bottom:1px solid var(--pmx-border)}
html.pmi-next #alertSettingsRoot fieldset.pmi-next-rule-card .pmi-next-rule-enable input{order:2}
html.pmi-next #alertSettingsRoot>div>button{grid-column:1/-1;justify-self:start;min-width:160px}
/* Standardize dense card layouts without sacrificing existing detail content. */
html.pmi-next #lparAdvisor :is(.advisor-card,.advisor-kpi,.advisor-section){border-radius:12px!important}
html.pmi-next #lparAdvisor :is(.advisor-card h2,.advisor-card h3){letter-spacing:-.012em!important}
html.pmi-next #lparAdvisor .advisor-tabs{display:flex;gap:4px!important;overflow:auto;max-width:100%;scrollbar-width:thin}
html.pmi-next #lparAdvisor .advisor-tabs button{white-space:nowrap;flex:0 0 auto}
html.pmi-next #lparAdvisor .advisor-card p{line-height:1.55}
html.pmi-next .sidebar-bottom{padding-bottom:28px}
@media(max-width:1180px){
 html.pmi-next #alertSettingsRoot>div{grid-template-columns:repeat(2,minmax(0,1fr))}
 html.pmi-next #alertsConsole .console-attention{flex-wrap:wrap}
 html.pmi-next #alertsConsole .console-attention>button{flex:1 1 calc(50% - 8px)}
}
@media(max-width:760px){
 html.pmi-next .pmi-next-preview-row{grid-template-columns:minmax(115px,1fr) auto!important}
 html.pmi-next .pmi-next-preview-row span:last-child{text-align:right}
 html.pmi-next .pmi-next-lpar-toolbar .pmi-next-searchbox{flex:1 1 100%}
 html.pmi-next .pmi-next-lpar-toolbar .pmi-next-lpar-count{order:3;margin:0}
 html.pmi-next #alertSettingsRoot:not(.hidden){grid-template-columns:1fr}
 html.pmi-next #alertSettingsRoot>.pmi-next-selector,html.pmi-next #alertSettingsRoot>.pmi-next-email-optin{grid-column:1/-1;max-width:none!important}
 html.pmi-next #alertSettingsRoot>div{grid-template-columns:1fr}
 html.pmi-next #alertsConsole .toolbar:not(.pmi-bulk)>label:has([data-message-search]){flex-basis:100%!important}
 html.pmi-next #alertsConsole .console-attention>button{flex:1 1 calc(50% - 8px)}
 html.pmi-next #alertsConsole .pmi-next-advanced-controls{right:auto;left:0}
}
html.pmi-next[data-theme="dark"] .pmi-next-overview-kpi:first-child{background:linear-gradient(135deg,#1d3260,#122337)!important;border-color:#3f548a!important}
html.pmi-next[data-theme="dark"] .pmi-next-overview-kpi:first-child strong{color:#bed0ff!important}
html.pmi-next[data-theme="dark"] .pmi-next-lpar-toolbar,html.pmi-next[data-theme="dark"] .pmi-next-advanced-controls,html.pmi-next[data-theme="dark"] #alertSettingsRoot :is(.pmi-next-selector,.pmi-next-email-optin){background:var(--pmx-panel)!important;color:var(--pmx-ink)!important}
html.pmi-next[data-theme="dark"] #appView .topbar .pmi-alert-trigger{background:var(--pmx-panel-alt)!important;color:var(--pmx-ink)!important}
