/* ProtectMyi vNext R3 | Designed for operational clarity, not extra panels.
   Additive to exact published R2. Original auth, routes, state and actions stay.
 */
html.pmi-next{
 --pm3-paper:#ffffff;--pm3-surface:#f5f7fb;--pm3-ink:#10233e;--pm3-muted:#64758c;
 --pm3-border:#e0e7f0;--pm3-navy:#102344;--pm3-blue:#315ee8;
 --pm3-softblue:#edf3ff;--pm3-red:#c84a4d;--pm3-amber:#bd7c17;--pm3-green:#278456;
}
html.pmi-next body{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;letter-spacing:-.008em}
html.pmi-next #appView.app-shell{grid-template-columns:232px minmax(0,1fr)!important;background:var(--pm3-surface)!important}
html.pmi-next #appView>aside{background:#10203e!important;border-right:1px solid #1b2c49!important;padding:23px 13px 15px!important;box-shadow:none!important}
html.pmi-next .sidebar-brand{padding:7px 12px 3px!important;margin-bottom:28px!important;display:flex;flex-wrap:wrap;align-items:center;gap:9px}
html.pmi-next .sidebar-brand .brand{font-size:18px;letter-spacing:-.035em}
html.pmi-next .sidebar-brand .brand-mark{width:31px;height:31px;border-radius:10px;background:#3e6df4;color:white;box-shadow:0 5px 14px #234b9b40}
html.pmi-next .pm3-dev-label{font-size:10px;font-weight:700;letter-spacing:.015em;color:#b8cefa;background:#243e73;border:1px solid #38588d;border-radius:6px;padding:3px 7px}
html.pmi-next .pmi-next-environment{display:none!important}
html.pmi-next .pm3-nav-label{font-size:10px;letter-spacing:.12em;font-weight:800;color:#89a4c9;padding:0 13px;margin:0 0 11px}
html.pmi-next .side-nav{gap:5px!important}
html.pmi-next .side-nav .nav-item{font-weight:590!important;font-size:13px!important;padding:12px 13px!important;min-height:43px!important;border-radius:9px!important;color:#c1d1e8!important}
html.pmi-next .side-nav .nav-item .nav-icon{font-size:19px;line-height:1;width:23px;display:inline-flex;justify-content:center;color:#a7bfdf}
html.pmi-next .side-nav .nav-item:hover{background:#1b3357!important;color:#fff!important}
html.pmi-next .side-nav .nav-item.active{background:#2e4e89!important;color:#fff!important;border:1px solid #4264a0!important}
html.pmi-next .sidebar-bottom{border-top:1px solid #2b4060!important;padding-top:15px!important}
html.pmi-next .sidebar-bottom button{font-size:12px!important;min-height:38px!important}
html.pmi-next .sidebar-account{border:0!important;padding:12px 11px 2px!important}
html.pmi-next .sidebar-account strong{color:white;font-size:12px}
html.pmi-next .sidebar-account span{color:#8eaacf;font-size:11px;overflow-wrap:anywhere}
html.pmi-next .pm3-footer-note{color:#758cb0;font-size:9px;font-weight:700;letter-spacing:.115em;padding:12px;margin:3px 0 0}
html.pmi-next .sidebar-planned{display:none!important}
html.pmi-next #appView .workarea{min-width:0;background:var(--pm3-surface)}
html.pmi-next #appView .topbar{height:68px!important;min-height:68px!important;background:var(--pm3-paper)!important;border-bottom:1px solid var(--pm3-border)!important;padding:0 31px!important}
html.pmi-next .pm3-breadcrumb{display:inline;color:#8190a5;font-size:12px;font-weight:550;margin-right:7px}
html.pmi-next #appView .topbar-title strong{font-size:13px!important;font-weight:700!important;color:var(--pm3-ink)!important}
html.pmi-next #appView .topbar-actions .primary,html.pmi-next .pm3-btn-primary{background:var(--pm3-blue)!important;color:#fff!important;border:1px solid #315ee8!important;border-radius:8px!important;font-size:12px!important;font-weight:700!important;padding:10px 16px!important;min-height:38px;cursor:pointer}
html.pmi-next #appView .content{max-width:1500px!important;padding:32px clamp(22px,3.2vw,56px) 65px!important}
html.pmi-next #appView .page-head{margin-bottom:22px!important}
html.pmi-next #appView .page-head h1{font-size:29px!important;line-height:1.13!important;letter-spacing:-.048em!important;font-weight:775!important;color:var(--pm3-ink)!important}
html.pmi-next #appView .page-head p{font-size:13px!important;color:var(--pm3-muted)!important}
html.pmi-next #appView .page-kicker{font-size:10px!important;letter-spacing:.125em!important;font-weight:800!important;color:#5271a0!important}
html.pmi-next #overviewHeader{margin-bottom:10px!important}
html.pmi-next #overviewHeader #orgName{font-size:13px!important;font-weight:600!important;letter-spacing:0!important;color:var(--pm3-muted)!important}
html.pmi-next #overviewHeader #orgType{display:none}
html.pmi-next #overviewHeader #orgCode{font-size:11px!important}
html.pmi-next #overviewHeader #addLparBtn{display:none!important}
html.pmi-next .pm3-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:4px 0 25px;margin:0 0 18px;border-bottom:1px solid var(--pm3-border)}
html.pmi-next .pm3-eyebrow{font-weight:800;font-size:10px;letter-spacing:.15em;color:#617ca3;margin:0 0 9px}
html.pmi-next .pm3-intro h2{font-size:clamp(24px,2.7vw,34px)!important;letter-spacing:-.052em!important;font-weight:800!important;line-height:1.18!important;color:var(--pm3-ink)!important;margin:0 0 9px!important}
html.pmi-next .pm3-lede{font-size:13px!important;color:var(--pm3-muted)!important;margin:0!important;max-width:660px}
html.pmi-next .pm3-intro-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}
html.pmi-next .pm3-btn-muted{background:#fff;color:#203b66;border:1px solid #d3deec;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:720;min-height:38px;cursor:pointer}
html.pmi-next .pm3-btn-muted:hover{border-color:#8ba4d8;background:#f4f7ff}
html.pmi-next .pm3-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 17px}
html.pmi-next .pm3-metric{background:var(--pm3-paper);text-align:left;border:1px solid var(--pm3-border);border-radius:13px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:126px;padding:19px 21px;box-shadow:0 4px 15px #243d5f06;cursor:pointer}
html.pmi-next .pm3-metric:hover{border-color:#a6bcdf;box-shadow:0 6px 22px #243d5f13;transform:translateY(-1px)}
html.pmi-next .pm3-metric-name{font-size:12px;font-weight:620;color:var(--pm3-muted)}
html.pmi-next .pm3-metric-value{font-size:33px;font-weight:800;letter-spacing:-.06em;line-height:1.3;color:var(--pm3-ink)}
html.pmi-next .pm3-metric-tail{font-size:11px;color:#8291a5;margin-top:auto}
html.pmi-next .pm3-metric-accent{background:linear-gradient(145deg,#eff4ff 0%,white 100%);border-color:#c7d8fb}
html.pmi-next .pm3-metric-accent .pm3-metric-value{color:#315ee8}
html.pmi-next .pm3-priority{margin:8px 0 30px}
html.pmi-next .pm3-priority-message{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--pm3-border);padding:17px 19px;border-radius:12px;min-height:92px}
html.pmi-next .pm3-priority-icon{width:34px;height:34px;border-radius:10px;background:#edf2f9;color:#4b6691;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none}
html.pmi-next .pm3-priority-urgent .pm3-priority-icon{background:#fff0f0;color:var(--pm3-red)}
html.pmi-next .pm3-priority-warning .pm3-priority-icon{background:#fff5e5;color:var(--pm3-amber)}
html.pmi-next .pm3-priority-copy{flex:1;min-width:0;display:grid;gap:6px}
html.pmi-next .pm3-priority-copy strong{font-size:14px;color:var(--pm3-ink);font-weight:770}
html.pmi-next .pm3-priority-copy small{font-size:11px;color:var(--pm3-muted);line-height:1.5}
html.pmi-next .pm3-section-head{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
html.pmi-next .pm3-section-head h2{margin:0;font-size:19px;color:var(--pm3-ink);letter-spacing:-.038em}
html.pmi-next .pm3-text-button{font-size:12px;font-weight:700;border:0;color:#315ee8;background:transparent;padding:8px 0;cursor:pointer}
html.pmi-next .pm3-overview-list{background:#fff;border:1px solid var(--pm3-border);border-radius:13px;overflow:hidden;box-shadow:0 3px 16px #18304b07}
html.pmi-next .pm3-system-line{border:0;border-bottom:1px solid var(--pm3-border);padding:16px 19px;display:grid;grid-template-columns:minmax(210px,2fr) minmax(105px,1fr) minmax(80px,.55fr) 15px;gap:15px;text-align:left;align-items:center;background:transparent;width:100%;cursor:pointer}
html.pmi-next .pm3-system-line:last-of-type{border-bottom:0}
html.pmi-next .pm3-system-line:hover,html.pmi-next .pm3-inventory-row:hover{background:#f6f9ff!important}
html.pmi-next .pm3-system-id{display:grid;grid-template-columns:9px minmax(0,1fr);column-gap:10px;row-gap:3px;align-items:center;min-width:0}
html.pmi-next .pm3-system-id strong{font-size:13px;font-weight:750;color:var(--pm3-ink);overflow:hidden;text-overflow:ellipsis}
html.pmi-next .pm3-system-id small{grid-column:2;font-size:11px;color:var(--pm3-muted);overflow:hidden;text-overflow:ellipsis}
html.pmi-next .pm3-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#879aaf;flex:none}
html.pmi-next .pm3-dot-red{background:#cf4c51}html.pmi-next .pm3-dot-yellow{background:#d79825}html.pmi-next .pm3-dot-green{background:#29986c}html.pmi-next .pm3-dot-grey{background:#91a0b3}
html.pmi-next .pm3-system-badge{display:inline-flex;align-items:center;justify-self:start;font-size:11px;font-weight:700;border-radius:999px;padding:6px 10px;border:1px solid #d9e1ed;background:#f1f5fa;color:#53647c;max-width:100%;white-space:nowrap}
html.pmi-next .pm3-badge-green{color:#1b7953;background:#e9f7ef;border-color:#cbedd9}
html.pmi-next .pm3-badge-yellow{color:#996513;background:#fff5e5;border-color:#f0debd}
html.pmi-next .pm3-badge-red{color:#ab3540;background:#fff0f1;border-color:#efcbd0}
html.pmi-next .pm3-system-age{font-size:11px;color:var(--pm3-muted)}
html.pmi-next .pm3-system-arrow{font-size:23px;font-weight:300;color:#9eafc2}
html.pmi-next .pm3-list-caption{font-size:11px;color:var(--pm3-muted);padding:10px 20px;background:#fafbfd;margin:0}
html.pmi-next .pm3-empty{padding:31px 18px;background:#fff;border:1px dashed var(--pm3-border);border-radius:11px;color:var(--pm3-muted);font-size:13px;margin:0}
html.pmi-next .pm3-legacy-evidence{font-size:12px;color:var(--pm3-muted);margin-top:23px;padding:2px 0}
html.pmi-next .pm3-legacy-evidence summary{cursor:pointer;font-weight:660;padding:9px 0}
html.pmi-next .pm3-legacy-evidence[open]{border-top:1px solid var(--pm3-border);padding-top:12px}
html.pmi-next #mspDashboard,html.pmi-next #dashboard{margin:0!important}
html.pmi-next .pm3-legacy-evidence .pmi-overview-panel{margin:13px 0!important}
html.pmi-next #lparListPage .page-head{margin-bottom:20px!important}
html.pmi-next .pm3-inventory{background:#fff;border:1px solid var(--pm3-border);border-radius:13px;box-shadow:0 3px 16px #18304b08;overflow:hidden}
html.pmi-next .pm3-inventory-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:19px 20px;border-bottom:1px solid var(--pm3-border)}
html.pmi-next .pm3-inventory-controls label{display:grid;gap:5px;font-size:11px;font-weight:690;color:var(--pm3-muted)}
html.pmi-next .pm3-inventory-controls .pm3-search{flex:1;min-width:min(280px,100%)}
html.pmi-next .pm3-inventory-controls .pm3-search input{width:100%;max-width:none!important}
html.pmi-next .pm3-inventory-controls input,html.pmi-next .pm3-inventory-controls select{min-height:38px!important;border-radius:8px!important;font-size:12px!important;background:#fafcff!important}
html.pmi-next .pm3-result-count{margin-left:auto;font-size:11px;color:var(--pm3-muted);align-self:center}
html.pmi-next .pm3-inventory-cols,html.pmi-next .pm3-inventory-row{display:grid;grid-template-columns:minmax(160px,2.2fr) minmax(100px,1fr) minmax(75px,.8fr) minmax(75px,.6fr) minmax(90px,.85fr) 18px;gap:16px;align-items:center;padding:13px 21px}
html.pmi-next .pm3-inventory-cols{color:#7688a0;background:#f7f9fc;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
html.pmi-next .pm3-inventory-row{border:0;border-top:1px solid var(--pm3-border);background:#fff;width:100%;text-align:left;cursor:pointer;min-height:70px}
html.pmi-next .pm3-cell-name{display:grid;gap:5px;min-width:0}
html.pmi-next .pm3-cell-primary{display:flex;gap:9px;align-items:center;color:var(--pm3-ink);font-size:13px;min-width:0}
html.pmi-next .pm3-cell-primary strong{overflow:hidden;text-overflow:ellipsis}
html.pmi-next .pm3-cell-name small{font-size:11px;color:var(--pm3-muted);padding-left:17px}
html.pmi-next .pm3-release,html.pmi-next .pm3-cell-age,html.pmi-next .pm3-open-alerts{font-size:12px;color:#52647c}
html.pmi-next .pm3-has-alerts{color:#b45a2e;font-weight:800}
html.pmi-next .pm3-inventory-chevron{font-size:22px;color:#8fa6c4}
html.pmi-next .pm3-technical-table{margin-top:14px;padding:10px 3px;color:var(--pm3-muted);font-size:12px}
html.pmi-next .pm3-technical-table summary{font-weight:660;padding:8px;cursor:pointer}
html.pmi-next .pm3-technical-table[open]{background:#fff;border:1px solid var(--pm3-border);border-radius:11px;padding:13px}
html.pmi-next .pm3-technical-table .advisor-table-scroll{border:0!important;box-shadow:none!important}
html.pmi-next .pm3-technical-table .advisor-table{min-width:1100px!important}
html.pmi-next .pm3-technical-table .pmi-fleet-tools{display:flex!important;flex-wrap:wrap!important;gap:9px!important}
/* Never obscure the single global native notification service. */
html.pmi-next .pmi-alert-toast{z-index:100!important}
html.pmi-next .pmi-alert-drawer{z-index:95!important}
html.pmi-next :is(.pm3-metric,.pm3-system-line,.pm3-inventory-row,.pm3-btn-muted,.pm3-btn-primary,.pm3-text-button):focus-visible{outline:3px solid #7aa2fa!important;outline-offset:2px!important}
html.pmi-next[data-theme="dark"]{
 --pm3-paper:#112235;--pm3-surface:#08131f;--pm3-ink:#e5effa;--pm3-muted:#a2b4ca;--pm3-border:#2a4057;--pm3-softblue:#142948;
}
html.pmi-next[data-theme="dark"] :is(.pm3-metric,.pm3-overview-list,.pm3-priority-message,.pm3-inventory,.pm3-inventory-row,.pm3-btn-muted,.pm3-empty){background:var(--pm3-paper)!important;color:var(--pm3-ink)!important}
html.pmi-next[data-theme="dark"] :is(.pm3-inventory-cols,.pm3-list-caption){background:#152a40!important;color:var(--pm3-muted)!important}
html.pmi-next[data-theme="dark"] :is(.pm3-inventory-row,.pm3-system-line):hover{background:#20354d!important}
html.pmi-next[data-theme="dark"] .pm3-metric-accent{background:linear-gradient(145deg,#162f57,#112235)!important}
html.pmi-next[data-theme="dark"] .pm3-metric-accent .pm3-metric-value{color:#9ab4ff}
html.pmi-next[data-theme="dark"] .pm3-badge-green{background:#143a2e!important;color:#a0e7be!important;border-color:#285942}
html.pmi-next[data-theme="dark"] .pm3-badge-yellow{background:#3b301d!important;color:#f6d39b!important;border-color:#66502a}
html.pmi-next[data-theme="dark"] .pm3-badge-red{background:#3c2026!important;color:#ffb2b9!important;border-color:#6c343e}
@media(max-width:1160px){html.pmi-next .pm3-summary{grid-template-columns:repeat(2,minmax(0,1fr))}html.pmi-next .pm3-inventory-cols,html.pmi-next .pm3-inventory-row{grid-template-columns:minmax(145px,2fr) minmax(94px,1fr) minmax(65px,.7fr) minmax(75px,.6fr) 16px}html.pmi-next .pm3-inventory-cols span:nth-child(5),html.pmi-next .pm3-inventory-row .pm3-cell-age{display:none}}
@media(max-width:760px){
 html.pmi-next #appView.app-shell{display:block!important}
 html.pmi-next #appView>aside{position:relative!important;height:auto!important;padding:12px!important}
 html.pmi-next .sidebar-brand{margin-bottom:12px!important;display:flex!important;padding:2px 6px!important}
 html.pmi-next .pm3-nav-label,html.pmi-next .pm3-footer-note{display:none!important}
 html.pmi-next .side-nav{display:flex!important;gap:6px!important;overflow:auto}
 html.pmi-next .side-nav .nav-item{min-width:105px;flex:1;justify-content:center;font-size:12px!important}
 html.pmi-next .sidebar-bottom{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px;margin-top:11px!important;padding:9px 0 0!important}
 html.pmi-next .sidebar-bottom button{width:auto!important;min-height:35px!important;padding:6px 10px!important}
 html.pmi-next .sidebar-bottom .sidebar-account{flex-basis:100%;padding:3px 7px!important}
 html.pmi-next #appView .topbar{padding:12px 15px!important;height:auto!important;min-height:56px!important}
 html.pmi-next #appView .content{padding:23px 15px 45px!important}
 html.pmi-next .pm3-intro{align-items:flex-start;flex-direction:column;padding-bottom:18px}
 html.pmi-next .pm3-intro h2{font-size:25px!important}
 html.pmi-next .pm3-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 html.pmi-next .pm3-metric{padding:13px;min-height:110px}
 html.pmi-next .pm3-metric-value{font-size:28px}
 html.pmi-next .pm3-priority-message{align-items:flex-start;flex-wrap:wrap}
 html.pmi-next .pm3-priority-message button{margin-left:46px}
 html.pmi-next .pm3-system-line{grid-template-columns:minmax(130px,1fr) minmax(95px,auto) 15px;padding:13px 12px;gap:7px}
 html.pmi-next .pm3-system-age{display:none}
 html.pmi-next .pm3-inventory-cols{display:none}
 html.pmi-next .pm3-inventory-row{grid-template-columns:minmax(135px,1fr) minmax(85px,auto) 14px;gap:7px;padding:15px 13px;min-height:65px}
 html.pmi-next .pm3-inventory-row .pm3-release,html.pmi-next .pm3-inventory-row .pm3-open-alerts,html.pmi-next .pm3-inventory-row .pm3-cell-age{display:none}
 html.pmi-next .pm3-inventory-controls{padding:14px;gap:9px}
 html.pmi-next .pm3-inventory-controls .pm3-search{flex-basis:100%}
 html.pmi-next .pm3-result-count{flex-basis:100%;margin:0}
}
@media(prefers-reduced-motion:reduce){html.pmi-next .pm3-metric{transition:none!important;transform:none!important}}
@media(max-width:760px){
 html.pmi-next .pm3-priority-message{display:grid!important;grid-template-columns:34px minmax(0,1fr);gap:11px!important;align-items:start!important}
 html.pmi-next .pm3-priority-copy{min-width:0!important;grid-column:2}
 html.pmi-next .pm3-priority-copy strong{overflow-wrap:break-word}
 html.pmi-next .pm3-priority-message button{grid-column:1 / -1;width:100%;margin:4px 0 0!important;justify-self:stretch}
}
