
/* Shared application chrome. Deliberately isolated from business-page styles. */
body.mpx-shell{--shell-navy:var(--mpx-brand-deep-blue);--shell-blue:var(--mpx-blue);--shell-line:var(--mpx-line);min-height:100vh;height:auto!important;padding-bottom:0;display:flex;flex-direction:column;}
.mpx-shell>.shell-content{width:100%;flex:1 0 auto;}
:where(.mpx-shell) :where(a,button,summary,input,select,textarea,[role="button"],[tabindex],canvas,.btn){outline:0;}
:where(.mpx-shell) a,:where(.mpx-shell) .btn-blue,:where(.mpx-shell) .btn-green,:where(.mpx-shell) .btn-success{transition-property:color,background-color,border-color,opacity,box-shadow;}
.mpx-shell a:focus,.mpx-shell button:focus,.mpx-shell summary:focus,.mpx-shell input:focus,.mpx-shell input[type="checkbox"]:focus,.mpx-shell input[type="radio"]:focus,.mpx-shell input[type="file"]:focus,.mpx-shell select:focus,.mpx-shell textarea:focus,.mpx-shell [role="button"]:focus,.mpx-shell [tabindex]:focus,.mpx-shell canvas:focus,.mpx-shell .btn:focus,.mpx-shell .btn:active:focus,.mpx-shell .btn.active:focus,.mpx-shell .nav>li>a:focus,.mpx-shell .nav-tabs>li>a:focus,.mpx-shell .paginate_button a:focus,.mpx-shell a:focus:not(:focus-visible),.mpx-shell button:focus:not(:focus-visible),.mpx-shell summary:focus:not(:focus-visible),.mpx-shell input:focus:not(:focus-visible),.mpx-shell select:focus:not(:focus-visible),.mpx-shell textarea:focus:not(:focus-visible),.mpx-shell [role="button"]:focus:not(:focus-visible),.mpx-shell [tabindex]:focus:not(:focus-visible),.mpx-shell canvas:focus:not(:focus-visible),.mpx-shell .btn.focus:not(:focus-visible),.mpx-shell .btn:active.focus:not(:focus-visible),.mpx-shell .btn.active.focus:not(:focus-visible){outline:0;}
.mpx-shell a:focus-visible,.mpx-shell button:focus-visible,.mpx-shell summary:focus-visible,.mpx-shell input[type="checkbox"]:focus-visible,.mpx-shell input[type="radio"]:focus-visible,.mpx-shell input[type="file"]:focus-visible,.mpx-shell input[type="submit"]:focus-visible,.mpx-shell input[type="button"]:focus-visible,.mpx-shell input[type="reset"]:focus-visible,.mpx-shell input[type="image"]:focus-visible,.mpx-shell [role="button"]:focus-visible,.mpx-shell [tabindex]:not([tabindex="-1"]):not(canvas):focus-visible,.mpx-shell .btn:focus-visible,.mpx-shell .btn:active:focus-visible,.mpx-shell .btn.active:focus-visible,.mpx-shell .nav>li>a:focus-visible,.mpx-shell .nav-tabs>li>a:focus-visible,.mpx-shell .paginate_button a:focus-visible{outline:2px solid var(--mpx-focus);outline-offset:2px;}
.mpx-shell input:not([type="checkbox"],[type="radio"],[type="file"],[type="submit"],[type="button"],[type="reset"],[type="image"]):focus,.mpx-shell input:not([type="checkbox"],[type="radio"],[type="file"],[type="submit"],[type="button"],[type="reset"],[type="image"]):focus-visible,.mpx-shell select:focus,.mpx-shell select:focus-visible,.mpx-shell textarea:focus,.mpx-shell textarea:focus-visible{outline:0;border-color:var(--mpx-blue);box-shadow:var(--mpx-focus-shadow);}
.mpx-shell .shell-header{height:84px;box-sizing:border-box;position:sticky;top:0;z-index:1030;flex:none;width:100%;margin:0;padding:0;background:var(--mpx-header-surface);border-bottom:1px solid var(--shell-line);font-family:var(--mpx-font-display);color:var(--shell-navy);-webkit-font-smoothing:antialiased;}
.shell-header .shell-header-inner{width:calc(100% - 80px);max-width:1360px;height:100%;margin:auto;display:flex;align-items:center;gap:24px;}
.shell-header .shell-brand{display:block;flex:0 0 142px;}
.shell-header .shell-brand img{display:block;width:142px;height:auto;max-height:60px;}
.shell-header ul{list-style:none;margin:0;padding:0;}
.shell-header a,.shell-header button{color:var(--shell-navy);font-size:var(--mpx-type-control-size);font-weight:var(--mpx-type-control-weight);text-decoration:none;transition:color var(--mpx-duration-state);}
.shell-header button{font-family:var(--mpx-type-control-family);cursor:pointer;border:0;background:transparent;}
.mpx-shell .shell-header a:focus,.mpx-shell .shell-header button:focus,.mpx-shell .shell-header a:focus:not(:focus-visible),.mpx-shell .shell-header button:focus:not(:focus-visible){outline:0;box-shadow:none;}
.mpx-shell .shell-header a:focus-visible,.mpx-shell .shell-header button:focus-visible{outline:1px solid var(--shell-blue);outline-offset:3px;}
.mpx-shell .shell-footer a:focus,.mpx-shell .shell-footer a:focus:not(:focus-visible){outline:0;box-shadow:none;}
.mpx-shell .shell-footer a:focus-visible{outline:3px solid var(--mpx-progress-highlight);outline-offset:3px;}
.shell-header .shell-navigation{display:flex;justify-content:flex-end;flex:1;min-width:0;}
.shell-header .shell-tabs{display:flex;align-items:center;gap:2px;width:max-content;}
.shell-header .shell-tabs>li{position:relative;flex:none;}
.shell-header .shell-tabs>li>a{display:flex;align-items:center;gap:4px;white-space:nowrap;min-height:44px;padding:10px 9px;line-height:var(--mpx-type-control-leading);}
.shell-header .shell-tabs>li.active>a{color:var(--shell-blue);box-shadow:none;}
.shell-header .shell-utilities{display:flex;align-items:center;gap:4px;margin-left:auto;margin-right:8px;flex:none;}
.shell-header .shell-utilities>.dropdown{position:relative;}
.shell-header .shell-utilities button{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:8px;}
.shell-header .shell-account-email{border-bottom:1px solid var(--shell-line);margin-bottom:6px;padding-bottom:6px;}
.shell-header .shell-account-email>span{color:var(--mpx-text-subtle);font-weight:var(--mpx-weight-regular);overflow-wrap:anywhere;}
.shell-header .shell-account button{min-width:24px;padding:7px 0 7px 4px;gap:4px;justify-content:flex-end;}
.shell-header .shell-language button{padding-left:4px;padding-right:4px;}
.shell-header .shell-account .dropdown-menu{min-width:250px;}
.shell-header .shell-user-icon{width:16px;height:16px;flex:none;}
.shell-header .shell-language-icon{display:inline-flex;align-items:baseline;font-size:14px;font-weight:500;line-height:1;}
.shell-header .shell-language-icon>span{font-size:11px;margin-left:1px;}
.shell-header .shell-newtab{display:inline-block;margin-left:.3em;font-size:1em;font-weight:var(--mpx-weight-regular);line-height:1;vertical-align:baseline;}
.shell-header .shell-chevron{width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);flex:none;margin:0 0 3px;}
.shell-header .dropdown-menu{display:block;position:absolute;top:100%;left:0;float:none;width:max-content;min-width:210px;max-width:calc(100vw - 32px);margin:0;padding:12px;background:var(--mpx-surface);border:1px solid var(--mpx-menu-border);border-radius:8px;box-shadow:var(--mpx-shadow-md);z-index:2;}
.shell-header [hidden]{display:none!important;}
.shell-header .dropdown-menu>li{padding:0;}
.shell-header .dropdown-menu>.active>a{color:var(--shell-blue);background:transparent;}
.shell-header .dropdown-menu>li>a,.shell-header .dropdown-menu>li>span{display:block;padding:2px 12px;white-space:normal;line-height:var(--mpx-type-compact-leading);font-size:var(--mpx-type-compact-size);font-weight:var(--mpx-type-compact-weight);border-radius:var(--mpx-radius-sm);transition:none;}
.shell-header .dropdown-menu>li>[aria-current]{display:flex;justify-content:space-between;gap:24px;color:var(--mpx-text-subtle);font-weight:var(--mpx-type-compact-weight);}
.shell-header .shell-utilities .dropdown-menu{left:auto;right:0;}
.shell-header .shell-language .dropdown-menu{min-width:155px;}.shell-header [aria-expanded=true]{color:var(--shell-blue);background:transparent;}
@media (hover: hover) and (pointer: fine) {

.shell-header a:hover,.shell-header button:hover{color:var(--shell-blue);background:transparent;}}
@media (hover: hover) and (pointer: fine) {

.shell-header .shell-brand:hover{background:none;}}
.shell-header .shell-utilities .shell-menu-toggle{display:none;flex-direction:column;gap:5px;width:44px;}
.shell-header .shell-menu-toggle>span{width:20px;height:1px;background:currentColor;}
.shell-header.is-compact .shell-utilities .shell-menu-toggle{display:flex;}
.shell-header.is-compact .shell-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:var(--mpx-surface);border-bottom:1px solid var(--shell-line);max-height:calc(100dvh - 84px);overflow-y:auto;box-shadow:0 14px 24px var(--mpx-menu-shadow-color);padding:12px 24px;}
.shell-header.is-compact.is-menu-open .shell-navigation{display:block;}
.shell-header.is-compact .shell-tabs{display:block;width:100%;}
.shell-header.is-compact .shell-tabs>li>a{padding:13px 12px;white-space:normal;}
.shell-header.is-compact .shell-tabs .dropdown-menu{position:static;max-width:none;box-shadow:none;border:0;border-left:1px solid var(--shell-line);margin:0 0 8px 12px;min-width:0;width:calc(100% - 12px);}
.shell-header.is-measuring .shell-navigation{display:block;position:absolute;visibility:hidden;pointer-events:none;width:max-content;max-height:none;padding:0;overflow:visible;}
.shell-header.is-measuring .shell-tabs{display:flex;width:max-content;}
.shell-header.is-measuring .shell-tabs>li>a{padding:10px 9px;white-space:nowrap;}
.mpx-shell .shell-footer{position:static;flex:none;width:100%;color:var(--mpx-primary-ink);margin:72px 0 0;font-family:var(--mpx-font-sans);}
.shell-footer .shell-footer-top,.shell-footer .shell-footer-bottom{width:calc(100% - 80px);max-width:1200px;margin:auto;display:flex;justify-content:space-between;gap:30px;}
.shell-footer .shell-footer-top{align-items:center;padding:48px 0;}
.shell-footer a{color:inherit;text-decoration:none;}
@media (hover: hover) and (pointer: fine) {

.shell-footer a:hover{color:var(--mpx-primary-ink);text-decoration:underline;}}
.shell-footer .shell-footer-brand{display:block;line-height:1;flex-shrink:0;}
.shell-footer .shell-footer-brand img{display:block;width:142px;height:auto;}
.shell-footer .shell-footer-brand span{display:block;font-family:var(--mpx-font-tagline);font-size:11px;font-weight:400;font-style:normal;letter-spacing:.1em;margin-top:18px;}
.shell-footer .shell-footer-top p{margin:0;color:var(--mpx-footer-ink);font-size:var(--mpx-type-badge-size);line-height:2;}
.shell-footer .shell-footer-bottom{border-top:1px solid var(--mpx-footer-line);padding:25px 0;color:var(--mpx-footer-ink);font-size:var(--mpx-type-badge-size);align-items:baseline;}
.shell-footer .shell-footer-bottom small{font-size:var(--mpx-type-badge-size);white-space:nowrap;}
.shell-footer nav{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px 24px;}
@media(max-width:1024px){.shell-header .shell-header-inner{width:calc(100% - 48px);gap:20px;}.shell-header:not(.is-compact):has(.shell-admin) .shell-navigation{margin-right:-4px;}.shell-footer .shell-footer-top,.shell-footer .shell-footer-bottom{width:calc(100% - 48px);}}
@media(max-width:600px){.mpx-shell .shell-header{height:70px;}.shell-header .shell-header-inner{width:calc(100% - 40px);gap:12px;}.shell-header .shell-brand{flex-basis:104px;}.shell-header .shell-brand img{width:104px;max-height:52px;}.shell-header .shell-utilities{gap:3px;}.shell-header .shell-account button{width:44px;}.shell-header.is-compact .shell-navigation{max-height:calc(100dvh - 70px);padding:12px 16px;}.shell-footer .shell-footer-top,.shell-footer .shell-footer-bottom{width:calc(100% - 40px);flex-direction:column;align-items:flex-start;}.shell-footer .shell-footer-top{padding:36px 0;}.shell-footer .shell-footer-bottom{gap:18px;}.shell-footer nav{justify-content:flex-start;gap:12px 20px;}}
@media(prefers-reduced-motion:reduce){.shell-header a,.shell-header button{transition:none;}}

@media(hover:hover) and (pointer:fine){.shell-header .dropdown-menu:not([hidden]){animation:mpx-menu-enter var(--mpx-duration-enter) var(--mpx-ease);}}
@media(prefers-reduced-motion:reduce){.shell-header .dropdown-menu:not([hidden]){animation:none;}}.shell-header .dropdown-menu>li>a:focus{color:var(--shell-blue);background:var(--mpx-entry-surface);box-shadow:none;}
@media (hover: hover) and (pointer: fine) {

.shell-header .dropdown-menu>li>a:hover{color:var(--shell-blue);background:var(--mpx-entry-surface);box-shadow:none;}}
.shell-header .dropdown-menu>li>a:is(.shell-menu-action,.shell-logout-link,[href$="/session/logout"]),.shell-header #shell-language-menu>li>a{display:flex;align-items:center;gap:8px;}
.shell-header :is(.shell-menu-spinner,.shell-logout-spinner){display:none;width:13px;height:13px;flex:none;border:2px solid var(--mpx-navigation-spinner-track);border-top-color:var(--shell-blue);border-radius:50%;animation:shell-menu-spin var(--mpx-duration-spinner) linear infinite;}
.shell-header .dropdown-menu>li>a.is-loading :is(.shell-menu-spinner,.shell-logout-spinner){display:inline-block;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .shell-utilities .dropdown>[data-shell-dropdown][aria-expanded="true"]{cursor:progress;opacity:.72;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .dropdown-menu>li:has(>a[aria-disabled="true"]){cursor:not-allowed;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .dropdown-menu>li:has(>a.is-loading){cursor:progress;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .dropdown-menu>li>a[aria-disabled="true"]{pointer-events:none;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .dropdown-menu>li>a.is-disabled{color:var(--mpx-navigation-disabled-ink);opacity:.7;background:transparent;}
.shell-header:is(.is-menu-navigating,.is-logging-out) .dropdown-menu>li>a.is-loading{color:var(--shell-blue);background:var(--mpx-entry-surface);}
@keyframes shell-menu-spin{to{transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.shell-header :is(.shell-menu-spinner,.shell-logout-spinner){animation-duration:1.6s;}}

/* Restore the original content-to-footer breathing room. */
@media(max-width:767px){.mpx-shell .shell-footer{margin-top:76px;}}

.shell-header .shell-language{padding-left:16px;}
.shell-header .shell-language::before{content:"";position:absolute;left:0;top:50%;width:1px;height:18px;background:var(--shell-line);transform:translateY(-50%);}
.shell-header:not(.is-compact):has(.shell-admin) .shell-language{padding-left:0;}
.shell-header:not(.is-compact):has(.shell-admin) .shell-language::before{content:none;}

.shell-header .shell-tabs>.shell-admin{margin-left:8px;margin-right:0;}
.shell-header .shell-tabs>.shell-admin>a{padding-left:16px;padding-right:16px;}
.shell-header:not(.is-compact):has(.shell-admin) .shell-navigation{margin-right:-8px;}
.shell-header .shell-admin::before,.shell-header .shell-admin::after{content:"";position:absolute;top:50%;width:1px;height:18px;background:var(--shell-line);transform:translateY(-50%);}
.shell-header .shell-admin::before{left:0;}
.shell-header .shell-admin::after{right:0;}
.shell-header.is-compact .shell-tabs>.shell-admin{margin-left:0;margin-right:0;}
.shell-header.is-compact .shell-admin::before,.shell-header.is-compact .shell-admin::after{content:none;}

.shell-header .shell-tabs>li.is-selected>a{position:relative;color:var(--shell-blue);}
.shell-header .shell-tabs>li.is-selected>a::after{content:"";position:absolute;left:10px;right:10px;bottom:0;height:2px;background:var(--shell-blue);animation:shell-underline-draw var(--mpx-duration-enter) cubic-bezier(.23,1,.32,1) both;}

@keyframes shell-underline-draw{from{clip-path:inset(0 50% 0 50%);}to{clip-path:inset(0 0 0 0);}}
@media(prefers-reduced-motion:reduce){.shell-header .shell-tabs>li.is-selected>a::after{animation:none;}}

/* Top navigation progress bar */
.shell-progress{position:fixed;top:0;left:0;right:0;height:2.5px;z-index:1040;pointer-events:none;overflow:hidden;opacity:0;transition:opacity var(--mpx-duration-state) var(--mpx-ease-color);}
body.mpx-shell.is-navigating .shell-progress{opacity:1;}
.shell-progress::before{content:"";position:absolute;top:0;bottom:0;left:0;width:38%;background:linear-gradient(90deg,transparent,var(--shell-navy) 20%,var(--shell-blue) 70%,var(--mpx-progress-highlight));box-shadow:0 0 8px var(--mpx-progress-glow);transform:translateX(-110%);}
body.mpx-shell.is-navigating .shell-progress::before{animation:shell-progress-slide var(--mpx-duration-progress-loop) linear infinite;}
@keyframes shell-progress-slide{0%{transform:translateX(-110%);}100%{transform:translateX(360%);}}

/* Non-destructive shell transition skeleton */
body.mpx-shell.is-navigating[data-sk-mode="full"]>.shell-content{padding-left:0;padding-right:0;}
body.mpx-shell.is-navigating[data-sk-mode="full"]>.shell-content>:not(.shell-skeleton){display:none!important;}
body.mpx-shell.is-navigating[data-sk-mode="full"]>.shell-footer{margin-top:72px;}
@media(max-width:767px){body.mpx-shell.is-navigating[data-sk-mode="full"]>.shell-footer{margin-top:76px;}}
.mpx-shell [data-sk-hidden="1"]{display:none!important;}

.shell-skeleton{width:100%;box-sizing:border-box;animation:shell-sk-enter var(--mpx-duration-enter) cubic-bezier(.23,1,.32,1) both;}
.shell-skeleton--scoped{margin:0;}
/* Forwards keeps its original document height and overlays only the chart card. */
.shell-sk-preserve-layout{position:relative;}
.mpx-shell .shell-sk-preserve-layout>.tab-pane[data-sk-hidden="1"]{display:block!important;visibility:hidden;pointer-events:none;}
.shell-sk-preserve-layout>.shell-skeleton--preserved{position:absolute;animation:none;}
.shell-skeleton--preserved>div{height:100%;}
.shell-skeleton--preserved .shell-sk-card{display:flex;flex-direction:column;height:100%;}
.shell-skeleton--preserved .shell-sk-card-head,
.shell-skeleton--preserved .shell-sk-toolbar{flex:none;}
.shell-skeleton--preserved .shell-sk-chart-plot{flex:1;min-height:0;height:auto;}

.shell-skeleton *,.shell-skeleton *::before,.shell-skeleton *::after{box-sizing:border-box;}
@keyframes shell-sk-enter{from{opacity:0;transform:translateY(4px);}to{opacity:1;transform:none;}}

.shell-sk-wrap{width:min(1360px,calc(100% - 80px));margin:24px auto 0;}
.shell-sk-wrap--narrow{max-width:1120px;}
.shell-sk-stack{display:flex;flex-direction:column;gap:18px;}

.shell-sk-block,
.mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]>tr>td::after{display:block;border-radius:6px;background:linear-gradient(90deg,var(--mpx-skeleton-fill) 25%,var(--mpx-skeleton-surface) 50%,var(--mpx-skeleton-fill) 75%);background-size:200% 100%;animation:shell-sk-shimmer 1.35s ease-in-out infinite;}
.shell-sk-filter .shell-sk-block,.shell-sk-table-head .shell-sk-block{background:linear-gradient(90deg,var(--mpx-skeleton-strong) 25%,var(--mpx-skeleton-soft) 50%,var(--mpx-skeleton-strong) 75%);background-size:200% 100%;}
@keyframes shell-sk-shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}

.shell-sk-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.shell-sk-tabs{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:10px;margin-bottom:14px;border-bottom:1px solid var(--shell-line);}
.shell-sk-subtabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;}
.shell-sk-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:18px;padding:12px 16px;background:var(--mpx-pale);border:1px solid var(--shell-line);border-radius:8px;}
.shell-sk-card{background:var(--mpx-page-surface);border:1px solid var(--shell-line);border-radius:8px;padding:20px;box-shadow:0 1px 3px var(--mpx-skeleton-shadow-color);}
.shell-sk-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;}
.shell-sk-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;}

.shell-sk-chart-plot{position:relative;height:460px;border-radius:6px;border:1px solid var(--mpx-skeleton-grid);background-color:var(--mpx-chart-placeholder-surface);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 75px,var(--mpx-skeleton-grid-soft) 75px,var(--mpx-skeleton-grid-soft) 76px);overflow:hidden;}
.shell-sk-chart-plot::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 320' preserveAspectRatio='none'%3E%3Cpath d='M0 245 C90 232 140 180 230 192 C320 204 370 112 465 130 C560 148 635 88 800 108 L800 320 L0 320 Z' fill='%23dce8f5' fill-opacity='.45'/%3E%3Cpath d='M0 245 C90 232 140 180 230 192 C320 204 370 112 465 130 C560 148 635 88 800 108' fill='none' stroke='%23c5d7ec' stroke-width='3'/%3E%3Cpath d='M0 278 C110 264 175 232 265 236 C365 240 435 182 545 190 C650 198 710 156 800 165' fill='none' stroke='%23d7e4f2' stroke-width='2.5' stroke-dasharray='8 6'/%3E%3C/svg%3E") center bottom/100% 78% no-repeat;opacity:.9;pointer-events:none;}
.shell-sk-chart-plot::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,var(--mpx-skeleton-sheen) 50%,transparent 80%);transform:translateX(-100%);animation:shell-sk-sweep var(--mpx-duration-loading-sweep) ease-in-out infinite;pointer-events:none;}
@keyframes shell-sk-sweep{0%{transform:translateX(-100%);}100%{transform:translateX(100%);}}

/* Prerequisite 2-column skeleton */
.shell-sk-layout{display:grid;grid-template-columns:236px minmax(0,1fr);gap:28px;align-items:start;}
.shell-sk-sidebar{background:var(--mpx-page-surface);border:1px solid var(--shell-line);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:8px;}
.shell-sk-main{min-width:0;}

/* Table / list / management skeleton */
.mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]{display:table-row-group!important;visibility:hidden;}
.mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]>tr>td{position:relative;}
.mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]>tr>td::after{content:"";position:absolute;inset-inline-start:12px;top:50%;width:min(70%,calc(100% - 24px),15rem);height:12px;transform:translateY(-50%);visibility:visible;pointer-events:none;}
.mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]>tr>td.dataTables_empty::after{inset-inline:0;margin-inline:auto;}
.shell-skeleton--mgmt-table-body{position:absolute;width:0;height:0;animation:none;}
.shell-sk-subnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;}
.shell-sk-table{background:var(--mpx-page-surface);border:1px solid var(--shell-line);border-radius:8px;overflow:hidden;}
.shell-sk-table-head{display:grid;grid-template-columns:1.1fr 1.5fr 1fr .8fr;gap:14px;padding:13px 16px;background:var(--mpx-pale);border-bottom:1px solid var(--shell-line);}
.shell-sk-table-row{display:grid;grid-template-columns:1.1fr 1.5fr 1fr .8fr;gap:14px;padding:14px 16px;border-bottom:1px solid var(--mpx-table-inner-line);}
.shell-sk-table-row:last-child{border-bottom:0;}
.shell-sk-table--narrow .shell-sk-table-head,
.shell-sk-table--narrow .shell-sk-table-row{grid-template-columns:130px 1fr;}

/* Stage 2: Empty chart container skeleton until amCharts mounts */
.mpx-shell :is(.mpx-biz-page .forwardcurve_chart,.mpx-biz-page .chart_dsprice,.mpx-biz-page .chart_dsbalance,.mpx-biz-page .chart_fuel,.mpx-biz-page .chart_demandandrenewableenergy,.mpx-biz-page .chart_capacity,.mpx-biz-page .chart_interconnect,.mpx-biz-page .chart_historicaldemand,.mpx-biz-page .chart_fuelandexchange,.mpx-biz-page .chart_jepx,.forwardcurve_chart):not(:has(canvas,svg,.amcharts-main-div)):not(.is-chart-settled){position:relative;overflow:hidden;border-radius:6px;border:1px solid var(--mpx-skeleton-grid);background-color:var(--mpx-chart-placeholder-surface);background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 75px,var(--mpx-skeleton-grid-soft) 75px,var(--mpx-skeleton-grid-soft) 76px);}
.mpx-shell :is(.mpx-biz-page .forwardcurve_chart,.mpx-biz-page .chart_dsprice,.mpx-biz-page .chart_dsbalance,.mpx-biz-page .chart_fuel,.mpx-biz-page .chart_demandandrenewableenergy,.mpx-biz-page .chart_capacity,.mpx-biz-page .chart_interconnect,.mpx-biz-page .chart_historicaldemand,.mpx-biz-page .chart_fuelandexchange,.mpx-biz-page .chart_jepx,.forwardcurve_chart):not(:has(canvas,svg,.amcharts-main-div)):not(.is-chart-settled)::before{content:"";position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 320' preserveAspectRatio='none'%3E%3Cpath d='M0 245 C90 232 140 180 230 192 C320 204 370 112 465 130 C560 148 635 88 800 108 L800 320 L0 320 Z' fill='%23dce8f5' fill-opacity='.45'/%3E%3Cpath d='M0 245 C90 232 140 180 230 192 C320 204 370 112 465 130 C560 148 635 88 800 108' fill='none' stroke='%23c5d7ec' stroke-width='3'/%3E%3C/svg%3E") center bottom/100% 78% no-repeat;opacity:.9;pointer-events:none;}
.mpx-shell :is(.mpx-biz-page .forwardcurve_chart,.mpx-biz-page .chart_dsprice,.mpx-biz-page .chart_dsbalance,.mpx-biz-page .chart_fuel,.mpx-biz-page .chart_demandandrenewableenergy,.mpx-biz-page .chart_capacity,.mpx-biz-page .chart_interconnect,.mpx-biz-page .chart_historicaldemand,.mpx-biz-page .chart_fuelandexchange,.mpx-biz-page .chart_jepx,.forwardcurve_chart):not(:has(canvas,svg,.amcharts-main-div)):not(.is-chart-settled)::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 20%,var(--mpx-skeleton-sheen) 50%,transparent 80%);transform:translateX(-100%);animation:shell-sk-sweep var(--mpx-duration-loading-sweep) ease-in-out infinite;pointer-events:none;}

@media(max-width:1024px){
  .shell-sk-wrap{width:calc(100% - 48px);}
}
@media(max-width:991px){
  .shell-sk-layout{display:block;}
  .shell-sk-sidebar{flex-direction:row;overflow:hidden;margin-bottom:18px;padding:8px;}
  .shell-sk-sidebar .shell-sk-block{flex:0 0 112px;}
}
@media(max-width:600px){
  .shell-sk-wrap{width:calc(100% - 40px);}
  .shell-sk-wrap{margin-top:16px;}
  .shell-sk-card{padding:14px;}
  .shell-sk-chart-plot{height:320px;}
  .shell-sk-table-head,.shell-sk-table-row{grid-template-columns:1fr 1fr;gap:10px;}
  .shell-sk-table-head>:nth-child(n/**/+3),.shell-sk-table-row>:nth-child(n/**/+3){display:none;}
  .shell-sk-table--narrow .shell-sk-table-head,.shell-sk-table--narrow .shell-sk-table-row{grid-template-columns:92px 1fr;}
  .shell-sk-table--narrow .shell-sk-table-head>:nth-child(n/**/+3),.shell-sk-table--narrow .shell-sk-table-row>:nth-child(n/**/+3){display:none;}
}
@media(prefers-reduced-motion:reduce){
  body.mpx-shell.is-navigating .shell-progress::before,
  .shell-skeleton,
  .shell-sk-block,
  .mpx-shell .mpx-mgmt-table>tbody[data-sk-hidden="1"]>tr>td::after,
  .shell-sk-chart-plot::after,
  .mpx-shell :is(.mpx-biz-page .forwardcurve_chart,.mpx-biz-page .chart_dsprice,.mpx-biz-page .chart_dsbalance,.mpx-biz-page .chart_fuel,.mpx-biz-page .chart_demandandrenewableenergy,.mpx-biz-page .chart_capacity,.mpx-biz-page .chart_interconnect,.mpx-biz-page .chart_historicaldemand,.mpx-biz-page .chart_fuelandexchange,.mpx-biz-page .chart_jepx,.forwardcurve_chart):not(:has(canvas,svg,.amcharts-main-div)):not(.is-chart-settled)::after{animation:none!important;}
  .shell-progress{transition:none;}
  body.mpx-shell.is-navigating .shell-progress::before{transform:none;}
}

/* Shared form submission disabled + button spinner states */
.mpx-shell .mpx-submit-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;}
.mpx-shell .mpx-submit-btn:is(.btn-block,.center-block){display:flex;}
.mpx-shell .mpx-submit-btn.btn-block{width:100%;}

.mpx-shell .mpx-submit-btn .mpx-submit-text{display:inline-block;}
.mpx-shell .mpx-submit-btn .mpx-submit-spinner{display:none;position:absolute;width:16px;height:16px;border:2px solid var(--mpx-submit-spinner-track);border-top-color:var(--mpx-primary-ink);border-radius:50%;animation:mpx-btn-spin var(--mpx-duration-spinner) linear infinite;}
.mpx-shell .mpx-submit-btn.is-loading .mpx-submit-text{visibility:hidden;}
.mpx-shell .mpx-submit-btn.is-loading .mpx-submit-spinner{display:block;}
.mpx-shell form.mpx-form-submitting :is(input:not([type="submit"]):not([type="button"]):not([type="reset"]),select,textarea):disabled,
.mpx-shell form.mpx-form-submitting fieldset:disabled :is(input:not([type="submit"]):not([type="button"]):not([type="reset"]),select,textarea){background-color:var(--mpx-submitting-surface);border-color:var(--mpx-line);color:var(--mpx-disabled-ink);cursor:not-allowed;box-shadow:none;}
.mpx-shell form.mpx-form-submitting a.is-disabled{opacity:.55;pointer-events:none;cursor:not-allowed;}
@keyframes mpx-btn-spin{to{transform:rotate(360deg);}}

/* Unified MPX auth, profile, password, and inquiry form cards */
.mpx-shell .login-panel{margin-bottom:20px;border:var(--mpx-border-width) solid var(--mpx-line);border-radius:var(--mpx-radius-card);background:var(--mpx-surface);box-shadow:var(--mpx-shadow-sm);overflow:hidden;font-family:var(--mpx-font-sans);}
.mpx-shell .login-panel>.panel-heading{padding:14px 20px;background:var(--mpx-pale);border-bottom:var(--mpx-border-width) solid var(--mpx-line);}
.mpx-shell .login-panel .panel-title{font-size:var(--mpx-type-panel-size);font-weight:var(--mpx-type-panel-weight);color:var(--mpx-type-panel-color);line-height:var(--mpx-type-panel-leading);}
.mpx-shell .login-panel>.panel-body{padding:22px 20px;}
.mpx-shell .login-panel>.panel-footer{padding:12px 20px;background:var(--mpx-pale-soft);border-top:var(--mpx-border-width) solid var(--mpx-line);}
.mpx-shell .login-panel .login-help{font-size:var(--mpx-type-caption-size);}
.mpx-shell .login-panel .login-help a{color:var(--mpx-blue);font-weight:var(--mpx-type-caption-weight);}
@media (hover: hover) and (pointer: fine) {

.mpx-shell .login-panel .login-help a:hover{color:var(--mpx-blue-hover);text-decoration:underline;}}
.mpx-shell .login-panel .control-label{margin-bottom:6px;font-size:var(--mpx-type-compact-size);font-weight:var(--mpx-type-compact-weight);color:var(--mpx-ink);}
.mpx-shell .login-panel .form-control{height:var(--mpx-control-height);padding:8px 12px;font-size:var(--mpx-type-body-size);color:var(--mpx-type-body-color);background:var(--mpx-surface);border:1px solid var(--mpx-line-strong);border-radius:var(--mpx-radius-md);box-shadow:none;transition:border-color var(--mpx-duration-state) var(--mpx-ease-color),box-shadow var(--mpx-duration-state) var(--mpx-ease-color);}
.mpx-shell .login-panel .form-control[readonly]{background:var(--mpx-pale);color:var(--mpx-muted);cursor:default;}
.mpx-shell .login-panel :is(.login-submit,.btn-success){min-height:42px;padding:8px 18px;font-size:var(--mpx-type-control-size);font-weight:var(--mpx-type-control-weight);border:1px solid var(--mpx-primary);border-radius:var(--mpx-radius-md);appearance:none;transition:background-color var(--mpx-duration-state) var(--mpx-ease-color),border-color var(--mpx-duration-state) var(--mpx-ease-color),opacity var(--mpx-duration-exit) var(--mpx-ease-color);}.mpx-shell .login-panel :is(.login-submit,.btn-success):not(:disabled):not(.is-loading):focus{outline:0;outline-offset:0;}
@media (hover: hover) and (pointer: fine) {

.mpx-shell .login-panel :is(.login-submit,.btn-success):not(:disabled):not(.is-loading):hover{outline:0;outline-offset:0;}}
.mpx-shell .login-panel :is(.login-submit,.btn-success):not(:disabled):not(.is-loading):active,.mpx-shell .login-panel :is(.login-submit,.btn-success):not(:disabled):not(.is-loading):active:focus{outline:0;outline-offset:0;}
@media (hover: hover) and (pointer: fine) {
.mpx-shell .login-panel :is(.login-submit,.btn-success):not(:disabled):not(.is-loading):active:hover{outline:0;outline-offset:0;}}
.mpx-shell .login-panel :is(.login-submit,.btn-success):is(:disabled,.is-loading),.mpx-shell .login-panel :is(.login-submit,.btn-success):is(:disabled,.is-loading):focus,.mpx-shell .login-panel :is(.login-submit,.btn-success):is(:disabled,.is-loading):active,.mpx-shell .login-panel fieldset:disabled :is(.login-submit,.btn-success),.mpx-shell .login-panel fieldset:disabled :is(.login-submit,.btn-success):focus,.mpx-shell .login-panel fieldset:disabled :is(.login-submit,.btn-success):active{outline:0;outline-offset:0;}
@media (hover: hover) and (pointer: fine) {
.mpx-shell .login-panel :is(.login-submit,.btn-success):is(:disabled,.is-loading):hover,.mpx-shell .login-panel fieldset:disabled :is(.login-submit,.btn-success):hover{outline:0;outline-offset:0;}}
.mpx-shell .login-panel .mpx-btn-secondary{margin-top:10px;display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 16px;font-size:var(--mpx-type-control-size);font-weight:var(--mpx-type-control-weight);color:var(--mpx-secondary-ink);background-color:var(--mpx-secondary);border:1px solid var(--mpx-line-strong);border-radius:var(--mpx-radius-md);box-shadow:none;appearance:none;transition:background-color var(--mpx-duration-state) var(--mpx-ease-color),border-color var(--mpx-duration-state) var(--mpx-ease-color),color var(--mpx-duration-state) var(--mpx-ease-color);}.mpx-shell .login-panel .mpx-btn-secondary:focus,.mpx-shell .login-panel .mpx-btn-secondary:active,.mpx-shell .login-panel .mpx-btn-secondary:active:focus{color:var(--mpx-primary);background-color:var(--mpx-secondary-hover);border-color:var(--mpx-muted);outline:0;outline-offset:0;box-shadow:none;}
@media (hover: hover) and (pointer: fine) {

.mpx-shell .login-panel .mpx-btn-secondary:hover,.mpx-shell .login-panel .mpx-btn-secondary:active:hover{color:var(--mpx-primary);background-color:var(--mpx-secondary-hover);border-color:var(--mpx-muted);outline:0;outline-offset:0;box-shadow:none;}}
.mpx-shell .login-panel .mpx-btn-secondary:not(.is-disabled):active{box-shadow:inset 0 0 0 100px var(--mpx-secondary-press-shade);}
.mpx-shell .mpx-conflict-copy{margin:0 0 10px;font-size:var(--mpx-type-body-size);line-height:var(--mpx-type-body-leading);color:var(--mpx-type-body-color);overflow-wrap:anywhere;}

.mpx-shell .shell-content:has(#inquiry_area){font-family:var(--mpx-type-body-family);color:var(--mpx-type-body-color);}
.mpx-shell .shell-content:has(#inquiry_area) .breadcrumb{font-size:var(--mpx-type-caption-size);color:var(--mpx-type-caption-color);}
.mpx-shell .shell-content:has(#inquiry_area) .breadcrumb>li a{color:var(--mpx-blue);}
.mpx-shell .shell-content:has(#inquiry_area) .breadcrumb>.active{color:var(--mpx-muted);}
.mpx-shell .shell-content:has(#inquiry_area) .alert{border-radius:var(--mpx-radius-md);font-size:var(--mpx-type-body-size);line-height:var(--mpx-type-body-leading);}
.mpx-shell #inquiry_area{margin-top:16px;}
.mpx-shell #inquiry_area .mpx-form-card{background:var(--mpx-surface);border:var(--mpx-border-width) solid var(--mpx-line);border-radius:var(--mpx-radius-card);padding:20px 24px;box-shadow:var(--mpx-shadow-sm);}
.mpx-shell #inquiry_area .fontweight-bold{display:inline-block;margin-bottom:4px;font-size:var(--mpx-type-compact-size);font-weight:var(--mpx-type-compact-weight);color:var(--mpx-ink);}
.mpx-shell #inquiry_area .text_att{margin-left:4px;padding-left:0;font-size:var(--mpx-type-caption-size);font-weight:var(--mpx-type-caption-weight);color:var(--mpx-danger);}
.mpx-shell #inquiry_area .form-control{font-size:var(--mpx-type-body-size);color:var(--mpx-type-body-color);background:var(--mpx-surface);border:1px solid var(--mpx-line-strong);border-radius:var(--mpx-radius-md);box-shadow:none;margin-bottom:12px;transition:border-color var(--mpx-duration-state) var(--mpx-ease-color),box-shadow var(--mpx-duration-state) var(--mpx-ease-color);}
.mpx-shell #inquiry_area input.form-control{height:var(--mpx-control-height);padding:6px 12px;}
.mpx-shell #inquiry_area textarea.form-control{padding:8px 12px;line-height:var(--mpx-type-body-leading);resize:vertical;}
.mpx-shell #inquiry_area .form-control[readonly]{background:var(--mpx-pale);color:var(--mpx-muted);cursor:default;}
.mpx-shell #inquiry_area .mpx-submit-btn{margin-top:6px;min-width:180px;padding:6px 24px;font-size:var(--mpx-type-control-size);font-weight:var(--mpx-type-control-weight);letter-spacing:var(--mpx-type-control-tracking);border:1px solid var(--mpx-primary);}

@media(max-width:600px){.mpx-shell #inquiry_area .mpx-form-card{padding:18px 16px;}}

@media(max-width:600px){.shell-footer .shell-footer-brand img{width:104px;}}

/* Navigation uses the Portal's interaction palette. */
.mpx-shell .shell-header {
  --shell-navy: var(--mpx-type-header-color);
  --shell-blue: var(--mpx-brand-blue);
}
.shell-header .shell-tabs > li.active > a {
  color: var(--mpx-brand-blue);
  font-weight: var(--mpx-weight-semibold);
}
@media (hover: hover) and (pointer: fine) {
  .shell-header .shell-tabs > li > a:hover,
  .shell-header .shell-utilities button:hover {
    color: var(--mpx-brand-blue);
    background: var(--mpx-entry-surface);
  }
}
.shell-header .dropdown-menu > li > a:is(:hover, :focus),
.shell-header .dropdown-menu > .active > a {
  color: var(--mpx-brand-blue);
  background: var(--mpx-entry-surface);
}

.shell-header .shell-tabs > li.active > a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 2px;
  background: var(--mpx-brand-blue);
}
.shell-header .shell-tabs > li.active > a { position: relative; }
