/* eSIM Now admin + customer portal: structural layout rebuild, 15 Oct 2026 */
.esn-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.esn-layout-v2.admin-body{background:#f3f6fb!important;color:#10233f!important}
.esn-layout-v2 .admin-top{display:none!important}
.esn-layout-v2 .admin-layout{display:grid!important;grid-template-columns:254px minmax(0,1fr)!important;min-height:100vh!important;max-width:none!important;margin:0!important;padding:0!important;gap:0!important}
.esn-layout-v2 .admin-side{position:sticky!important;top:0!important;align-self:start!important;height:100vh!important;overflow-y:auto!important;display:flex!important;flex-direction:column!important;gap:4px!important;background:#10213b!important;border:0!important;border-radius:0!important;padding:23px 13px 18px!important;box-shadow:none!important}
.esn-admin-brand{font-size:25px;font-weight:850;letter-spacing:-1.1px;color:#fff!important;text-decoration:none!important;padding:0 14px 27px;display:flex;align-items:baseline;gap:3px}
.esn-admin-brand span{color:#37c6b7}.esn-admin-brand small{font-size:9px;font-weight:700;letter-spacing:1.5px;color:#9eb0c8;margin-left:7px}
.esn-layout-v2 .esn-nav-caption{color:#7991b0!important;font-size:10px!important;letter-spacing:1.5px!important;margin:2px 14px 10px!important}
.esn-layout-v2 .esn-nav-link{display:flex!important;align-items:center!important;gap:12px!important;color:#c5d3e5!important;border-radius:10px!important;padding:12px 13px!important;font-size:13px!important;font-weight:600!important;line-height:1.35!important;min-height:43px!important}
.esn-layout-v2 .esn-nav-link:hover,.esn-layout-v2 .esn-nav-link.is-active{background:#203c5f!important;color:#fff!important}
.esn-side-icon{display:inline-grid;place-items:center;flex:none;width:20px;font-size:18px;color:#8fbbd0}
.esn-layout-v2 .esn-side-foot{margin-top:auto!important;background:#1a3150!important;border:0!important;color:#dbe7f5!important;border-radius:11px!important}
.esn-layout-v2 .admin-content{min-width:0!important;max-width:none!important;width:100%!important;padding:0 30px 60px!important;background:#f3f6fb!important}
.esn-admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border:1px solid #e5eaf2;border-radius:0 0 16px 16px;min-height:73px;padding:12px 22px;margin:0 -6px 30px;box-shadow:0 6px 24px rgba(16,33,59,.035)}
.esn-admin-search{display:flex;gap:8px;flex:1;max-width:580px;margin:0!important}.esn-admin-search input{width:100%;min-width:0;border:1px solid #e3eaf3!important;border-radius:9px!important;background:#f5f8fc!important;padding:11px 14px!important;color:#18334d!important;font-size:13px!important}.esn-admin-search button{background:#0e8c85!important;color:#fff!important;border:0!important;border-radius:9px!important;padding:10px 16px!important;cursor:pointer}
.esn-admin-toplinks{display:flex;gap:20px;white-space:nowrap}.esn-admin-toplinks a{color:#274563!important;font-size:13px!important;font-weight:650!important;text-decoration:none!important}
.esn-layout-v2 .esn-page-heading{margin-bottom:24px!important}.esn-layout-v2 .esn-page-heading h1{font-size:27px!important;letter-spacing:-.7px!important}
.esn-layout-v2 .esn-ui-summary{display:none!important}.esn-layout-v2 .esn-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}.esn-layout-v2 .esn-metric{min-height:148px!important;padding:24px!important;border:1px solid #e3eaf3!important;border-radius:15px!important;box-shadow:0 8px 20px rgba(20,40,70,.035)!important}
.esn-layout-v2 .esn-metric strong{font-size:30px!important;letter-spacing:-1px!important}.esn-layout-v2 .esn-dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(290px,1fr)!important;gap:18px!important;margin-top:20px!important}.esn-layout-v2 .esn-panel{border:1px solid #e3eaf3!important;border-radius:16px!important;box-shadow:0 8px 20px rgba(20,40,70,.03)!important;padding:24px!important}
.esn-layout-v2 .esn-quick-links a{background:#f5f8fc!important;color:#173751!important;border-radius:9px!important}.esn-ops-footnote{padding:17px 4px 0;color:#7a8a9f;font-size:12px;line-height:1.5}.esn-empty-cell{color:#7c8a9c;text-align:center;padding:30px!important}
/* Customer portal: actual content width and navigation hierarchy, not just a palette swap. */
body:has(.esn-portal-shell) .esn-portal-section{background:#f3f6fb!important;padding:0!important}
body:has(.esn-portal-shell) .esn-portal-section>.container{max-width:none!important;width:100%!important;padding:0!important;margin:0!important}
body:has(.esn-portal-shell) .esn-portal-shell{display:grid!important;grid-template-columns:254px minmax(0,1fr)!important;gap:0!important;width:100%!important;max-width:none!important;min-height:calc(100vh - 70px)!important;margin:0!important;align-items:start!important}
body:has(.esn-portal-shell) .esn-portal-sidebar{position:sticky!important;top:0!important;min-height:calc(100vh - 70px)!important;width:100%!important;border-radius:0!important;padding:26px 15px!important;box-shadow:none!important}
body:has(.esn-portal-shell) .esn-portal-main{width:100%!important;max-width:1500px!important;padding:32px clamp(20px,3.5vw,58px) 80px!important;margin:0 auto!important;min-width:0!important}
body:has(.esn-portal-shell) .esn-portal-nav-link{border-radius:10px!important;padding:13px 14px!important;font-size:14px!important}
body:has(.esn-portal-shell) .esn-portal-panel{border-radius:16px!important;border:1px solid #e2eaf2!important;box-shadow:0 7px 24px rgba(16,33,59,.035)!important}
body:has(.esn-portal-shell) .esn-portal-order-list:not(.esn-esim-detail-list){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px!important}
body:has(.esn-portal-shell) .esn-esim-detail-view .esn-esim-detail-list{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:none!important}
body:has(.esn-portal-shell) .esn-esim-detail-view .esn-esim-detail-card{display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
body:has(.esn-portal-shell) .esn-portal-order{margin:0!important;min-width:0!important}
body:has(.esn-portal-shell) .esn-portal-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:1050px){.esn-layout-v2 .esn-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.esn-layout-v2 .esn-dashboard-grid{grid-template-columns:1fr!important}body:has(.esn-portal-shell) .esn-portal-order-list{grid-template-columns:1fr!important}}
@media(max-width:760px){.esn-layout-v2 .admin-layout{display:block!important}.esn-layout-v2 .admin-side{position:relative!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:5px!important;padding:12px!important}.esn-admin-brand{width:100%;padding:5px 7px 12px}.esn-layout-v2 .esn-nav-caption,.esn-layout-v2 .esn-side-foot{display:none!important}.esn-layout-v2 .esn-nav-link{padding:9px!important;min-height:0!important;font-size:12px!important}.esn-layout-v2 .admin-content{padding:0 14px 35px!important}.esn-admin-topbar{flex-wrap:wrap;padding:12px;margin-bottom:20px}.esn-admin-search{max-width:none;flex-basis:100%}.esn-layout-v2 .esn-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.esn-layout-v2 .esn-panel{padding:16px!important}body:has(.esn-portal-shell) .esn-portal-shell{display:block!important}body:has(.esn-portal-shell) .esn-portal-sidebar{position:relative!important;min-height:0!important}body:has(.esn-portal-shell) .esn-portal-main{padding:20px 14px 45px!important}body:has(.esn-portal-shell) .esn-portal-stats{grid-template-columns:1fr!important}}
