.mogul-public-header,.mogul-public-header *{box-sizing:border-box}
.mogul-public-header{position:relative;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:20px;width:calc(100% - 32px);max-width:1200px;margin:20px auto 12px;padding:16px;border:1px solid #b2c3d9;border-radius:16px;background:linear-gradient(135deg,#ebf3ff,transparent 38%),#fff;color:#071b3d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;box-shadow:0 14px 34px #071b3d14,inset 0 1px 0 #ffffffee;}
.mogul-public-header .mph-identity{display:flex;align-items:center;gap:13px;text-decoration:none;color:#071b3d;min-width:0;}
.mogul-public-header .mph-identity img{width:48px;height:48px;flex:0 0 48px;object-fit:cover;border:1px solid #244c87;border-radius:13px;background:white;box-shadow:0 8px 18px #071b3d33;}
.mogul-public-header .mph-identity span{display:grid;gap:3px;min-width:0;}
.mogul-public-header small{color:#155bd7;font-size:10px;font-weight:900;letter-spacing:.15em;line-height:1.3;}
.mogul-public-header strong{font-size:clamp(20px,2.3vw,30px);letter-spacing:-.035em;line-height:1.15;}
.mogul-public-header em{font-size:12px;font-style:normal;color:#58708f;line-height:1.4;}
.mogul-public-header .mph-actions{display:flex;align-items:center;gap:9px;flex-shrink:0;}
.mogul-public-header .mph-actions>a,.mogul-public-header summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;border:1px solid #cbd8e8;border-radius:11px;text-decoration:none;font-size:13px;font-weight:700;line-height:1.4;color:#071b3d;background:#fff;cursor:pointer;list-style:none;white-space:nowrap;}
.mogul-public-header summary::-webkit-details-marker{display:none}
.mogul-public-header .mph-actions>a.mph-primary{background:#155bd7;color:white;border-color:#155bd7;}
.mogul-public-header .mph-menu{position:relative;}
.mogul-public-header .mph-menu>div{position:absolute;right:0;top:calc(100% + 8px);min-width:230px;padding:7px;border:1px solid #cbd8e8;border-radius:13px;background:white;box-shadow:0 15px 35px #071b3d25;}
.mogul-public-header .mph-menu a{display:block;padding:12px;border-radius:8px;color:#071b3d;text-decoration:none;font-size:13px;line-height:1.5;}
.mogul-public-header .mph-menu a:hover,.mogul-public-header summary:hover{background:#edf3ff}
.mogul-public-header :focus-visible{outline:3px solid #155bd7;outline-offset:3px;}
.mph-footer-login{display:grid;gap:9px;margin-top:12px;font-size:14px;}
.mph-footer-login a{color:#155bd7;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center;}
@media(max-width:900px){.mogul-public-header{flex-wrap:wrap;gap:14px;}.mogul-public-header .mph-actions{width:100%;flex-wrap:wrap;}.mogul-public-header .mph-actions>a{margin-right:auto;}}
@media(max-width:420px){.mogul-public-header{width:calc(100% - 24px);margin-top:12px;padding:13px;}.mogul-public-header .mph-actions{gap:6px;}.mogul-public-header .mph-actions>a,.mogul-public-header summary{padding:9px 8px;font-size:11px;}.mogul-public-header .mph-menu>div{min-width:210px;}.mogul-public-header .mph-menu:nth-child(2)>div{right:-80px;}.mogul-public-header em{font-size:11px;}}
@media(max-width:900px){.mogul-public-header .mph-menu{position:static;}.mogul-public-header .mph-menu>div,.mogul-public-header .mph-menu:nth-child(2)>div{top:calc(100% + 6px);left:0;right:0;min-width:0;}}

/* Messages / Command Center visual reference. */
body .mogul-public-header{gap:24px;padding:14px 16px;border:1px solid rgba(178,195,217,.82);border-radius:16px;background:linear-gradient(135deg,rgba(235,243,255,.9),transparent 38%),rgba(255,255,255,.97);box-shadow:0 14px 34px rgba(7,27,61,.08),inset 0 1px 0 rgba(255,255,255,.9)}
body .mogul-public-header .mph-identity{gap:13px}
body .mogul-public-header .mph-identity img{width:48px;height:48px;flex-basis:48px;border-radius:13px;box-shadow:0 8px 18px rgba(7,27,61,.2),inset 0 1px 0 rgba(255,255,255,.22)}
body .mogul-public-header .mph-identity span{gap:0}
body .mogul-public-header small{font-size:10px;line-height:1.2;margin-bottom:3px}
body .mogul-public-header strong{font-size:clamp(24px,2.6vw,34px);font-weight:700;line-height:1;letter-spacing:-.035em}
body .mogul-public-header em{font-size:13px;line-height:1.3;margin-top:5px}
body .mogul-public-header .mph-actions>button{min-height:44px;padding:10px 13px;border:1px solid #cbd8e8;border-radius:11px;color:#071b3d;background:#fff;font:700 13px/1.4 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
@media(max-width:900px){body .mogul-public-header{gap:14px}}
@media(max-width:640px){body .mogul-public-header{padding:11px;border-radius:14px}body .mogul-public-header .mph-identity img{width:40px;height:40px;flex-basis:40px;border-radius:11px}body .mogul-public-header strong{font-size:23px}}
@media(max-width:420px){body .mogul-public-header{padding:8px;gap:9px}body .mogul-public-header .mph-identity{gap:7px}body .mogul-public-header .mph-identity img{width:32px;height:32px;flex-basis:32px;border-radius:9px}body .mogul-public-header strong{font-size:16px;line-height:1.2}body .mogul-public-header small,body .mogul-public-header em{display:none}body .mogul-public-header .mph-actions>button{font-size:11px;padding:9px 8px}}

/* Match the final compact Command Center rules, not its superseded base rules. */
body .mogul-public-header{width:calc(100% - 36px);max-width:1664px;margin:14px auto 12px;padding:10px 14px;min-height:80px;gap:24px;flex-wrap:nowrap;line-height:normal}
body .mogul-public-header .mph-identity{flex:1;min-width:0}
body .mogul-public-header .mph-identity span{display:block;min-width:0}
body .mogul-public-header small{display:block;margin:0 0 3px;line-height:12px}
body .mogul-public-header strong{display:block;font-size:28px;line-height:28px;margin:0}
body .mogul-public-header em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0 0;line-height:16.9px}
body .mogul-public-header .mph-actions{width:auto;flex-wrap:nowrap;gap:9px}
body .mogul-public-header+.mogul-breadcrumbs{width:calc(100% - 36px);max-width:1664px}
body :is(.customer-portal,.customer-workspace,.uniform-login-shell){box-sizing:border-box;width:100%;max-width:none;margin-left:0;margin-right:0;padding-top:14px!important;padding-left:18px!important;padding-right:18px!important}
body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-public-header,
body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-breadcrumbs{width:100%;max-width:1664px;margin-left:auto;margin-right:auto}
body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-public-header{margin-top:0}
@media(min-width:641px) and (max-width:1000px){body .mogul-public-header .mph-primary{display:none}}
@media(max-width:640px){
 body .mogul-public-header{width:calc(100% - 20px);margin-top:10px;min-height:62px;padding:8px;gap:6px;border-radius:14px}
 body .mogul-public-header .mph-identity{gap:7px}
 body .mogul-public-header .mph-identity img{width:32px;height:32px;flex-basis:32px;border-radius:9px}
 body .mogul-public-header strong{font-size:16px;line-height:19.2px}
 body .mogul-public-header small,body .mogul-public-header em,body .mogul-public-header .mph-primary{display:none}
 body .mogul-public-header .mph-actions{gap:4px}
 body .mogul-public-header summary{width:40px;height:44px;padding:0;font-size:0}
 body .mogul-public-header summary::after{content:'☰';font-size:20px}
 body .mogul-public-header .mph-menu+.mph-menu summary::after{content:'↪';font-size:23px}
 body .mogul-public-header .mph-actions>button{min-height:44px;padding:5px;font-size:11px}
 body .mogul-public-header+.mogul-breadcrumbs{width:calc(100% - 20px)}
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell){padding-top:10px!important;padding-left:10px!important;padding-right:10px!important}
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-public-header,
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-breadcrumbs{width:100%}
}

body .location-breadcrumb{box-sizing:border-box;width:calc(100% - 36px);max-width:1664px;padding-left:15px}body .location-breadcrumb ol{margin:0}@media(max-width:640px){body .location-breadcrumb{width:calc(100% - 20px);padding-left:9px}}

/* Matching login actions only; regular navigation links retain their styling. */
body .mogul-public-header .mph-login-menu>div{display:grid;gap:12px;padding:14px;min-width:250px}
body .mogul-public-header .mph-login-menu a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #084ba9;border-radius:999px;background:linear-gradient(180deg,#1463d3 0%,#084ba9 100%);color:#fff;text-decoration:none;font-size:14px;font-weight:800;line-height:20px;letter-spacing:.02em;white-space:nowrap;box-shadow:0 12px 26px rgba(95,127,18,.28)}
body .mogul-public-header .mph-login-menu a:hover{background:linear-gradient(180deg,#1058c2,#073f91)}
@media(max-width:900px){body .mogul-public-header .mph-login-menu>div{min-width:0}}
/* Match approved main-site mobile branding and controls. */
@media(max-width:640px){
 body .mogul-public-header{width:calc(100% - 20px);margin-top:10px;min-height:80px;padding:14px 10px;gap:8px;border-radius:16px}
 body .mogul-public-header .mph-identity{gap:8px}
 body .mogul-public-header .mph-identity img{width:48px;height:48px;flex-basis:48px;border-radius:12px}
 body .mogul-public-header strong{font-size:18px;line-height:22px}
 body .mogul-public-header small{display:block;font-size:9px;line-height:12px;letter-spacing:.06em;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body .mogul-public-header em{display:none}
 body .mogul-public-header{flex-wrap:nowrap;align-items:center}
 body .mogul-public-header .mph-identity{flex:1 1 0;min-width:0}
 body .mogul-public-header .mph-identity img{flex-shrink:0}
 body .mogul-public-header .mph-identity span{min-width:0}
 body .mogul-public-header strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body .mogul-public-header .mph-actions{width:auto;flex:0 0 auto;margin-left:auto;justify-content:flex-end}
 body .mogul-public-header .mph-actions>a.mph-primary{display:none}
 body .mogul-public-header .mph-actions{gap:4px}
 body .mogul-public-header summary{width:44px;height:44px;padding:0;font-size:0}
 body .mogul-public-header summary::after{content:'☰';font-size:20px}
 body .mogul-public-header .mph-menu+.mph-menu summary::after{content:'↪';font-size:23px}
 body .mogul-public-header .mph-actions>button{min-height:44px;padding:5px;font-size:11px}
 body .mogul-public-header+.mogul-breadcrumbs{width:calc(100% - 20px)}
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell){padding-top:10px!important;padding-left:10px!important;padding-right:10px!important}
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-public-header,
 body :is(.customer-portal,.customer-workspace,.uniform-login-shell)>.mogul-breadcrumbs{width:100%}
}
@media(max-width:640px){body .location-breadcrumb{padding-left:11px}}

