/* Customer portal hierarchy: Dashboard, NUMA, Messages, Services, Account, Profile. */
.numera-primary-nav{display:grid;align-content:start;gap:5px}
.numera-primary-nav .numera-nav-section{margin:8px 10px 12px}
.numera-primary-nav .numera-nav-item{min-height:48px;padding:12px 15px;border-radius:13px}
.numera-primary-nav .numera-nav-item.active{background:#fff!important;color:#25374f!important;box-shadow:0 2px 9px rgba(31,43,75,.10);border:1px solid rgba(126,141,184,.12)!important}
.numera-primary-nav .numera-nav-item.active em{background:linear-gradient(90deg,#29e6ff,#2457d6 34%,#6336c9 67%,#d64cff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.numera-topbar .numera-top-actions>.numera-site-lang,.numera-topbar .numera-top-actions>.numera-appearance-control{display:none!important}
.numera-topbar .numera-top-route{text-transform:none;font-weight:720;font-size:14px}
.numera-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:4px 0 27px}
.numera-dashboard-metrics>.numera-stat{margin:0;min-width:0;min-height:106px;padding:19px 18px;border:1px solid var(--border);border-radius:18px;background:var(--surface)}
.numera-dashboard-metrics>.numera-stat span{font-size:12px;font-weight:600;color:var(--muted)}
.numera-dashboard-metrics>.numera-stat strong{display:block;margin-top:10px;overflow-wrap:anywhere;line-height:1.27;font-size:clamp(18px,1.8vw,25px);letter-spacing:-.025em}
.numera-dashboard-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.numera-dashboard-panel{min-width:0;min-height:290px;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:24px}
.numera-dashboard-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:17px;border-bottom:1px solid var(--border)}
.numera-dashboard-panel-head .numera-eyebrow{margin:0 0 8px;font-size:10px}
.numera-dashboard-panel-head h2{font-size:20px;letter-spacing:-.025em;line-height:1.25;margin:0}
.numera-text-action{border:0;background:transparent;color:var(--text);font:650 12px/1.3 system-ui;cursor:pointer;white-space:nowrap;padding:8px 0}
.numera-text-action:hover{text-decoration:underline;text-decoration-color:#6336c9}
.numera-text-action:focus-visible{outline:2px solid #6336c9;outline-offset:2px}
.numera-activity-list{list-style:none;padding:0;margin:2px 0 0}
.numera-activity-item{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid var(--border);min-width:0}
.numera-activity-item:last-child{border-bottom:0}
.numera-activity-item>div{min-width:0}
.numera-activity-item strong{display:block;font-size:13px;overflow-wrap:anywhere}
.numera-activity-item p{color:var(--muted);font-size:12px;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}
.numera-activity-item small{color:var(--muted);font-size:11px}
.numera-activity-icon{width:34px;height:34px;flex:none;border-radius:11px;display:grid;place-items:center;background:var(--surface-2);color:#6336c9;font-weight:800;font-size:12px}
.numera-dashboard-empty{margin:28px 0 8px;color:var(--muted);line-height:1.6;font-size:13px}
.numera-dashboard-footer{margin:22px 0 0;display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 26px;border:1px solid var(--border);border-radius:19px;background:var(--surface)}
.numera-dashboard-footer .numera-eyebrow{margin:0 0 8px}
.numera-dashboard-footer h2{font-size:19px;letter-spacing:-.02em;margin:0}
.numera-dashboard-actions{display:flex;flex-wrap:wrap;gap:9px}
.numera-dashboard-actions .numera-button{min-height:40px;padding:9px 12px;font-size:12px}
.numera-service-section{margin:10px 0 30px}
.numera-service-section .numera-section-heading{margin:0 0 16px}
.numera-service-section .numera-section-heading h2{margin:5px 0 0;font-size:20px;letter-spacing:-.02em}
.numera-service-section .numera-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.numera-service-section .numera-service-card{min-width:0;min-height:125px;padding:21px;border-radius:17px;background:var(--surface);border:1px solid var(--border)}
.numera-service-section .numera-service-card:hover{border-color:#956bde}
.numera-account-home-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 25px}
.numera-account-home-grid .numera-card{margin:0;min-width:0}
.numera-account-home-grid .numera-card p{overflow-wrap:anywhere}
.numera-account-management>.numera-section-heading{margin:12px 0 15px}
.numera-account-management .numera-account-links{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.numera-profile-settings-group .numera-profile-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.numera-profile-preference-label{display:flex;flex-direction:column;gap:9px;font:650 12px/1.3 system-ui;color:var(--text);min-width:0}
.numera-profile-preference-label select{display:block;appearance:auto;min-height:44px;width:100%;min-width:0;max-width:100%;padding:8px 11px;border:1px solid var(--border);border-radius:12px;color:var(--text);background:var(--surface-2);font:650 12px/1.3 system-ui;cursor:pointer}
.numera-profile-preference-label select:focus-visible{outline:2px solid #6336c9;outline-offset:2px}
@media(max-width:1120px){
 .numera-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .numera-dashboard-footer{align-items:stretch;flex-direction:column}
 .numera-profile-settings-group .numera-profile-preference-grid{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:850px){
 .numera-primary-nav{display:none!important}
 .numera-dashboard-columns{grid-template-columns:minmax(0,1fr)}
 .numera-profile-settings-group .numera-profile-preference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:590px){
 .numera-dashboard-metrics{gap:10px;margin-bottom:17px}
 .numera-dashboard-metrics>.numera-stat{padding:14px;min-height:93px}
 .numera-dashboard-metrics>.numera-stat strong{font-size:18px}
 .numera-dashboard-panel{min-height:170px;padding:18px}
 .numera-dashboard-panel-head h2{font-size:18px}
 .numera-dashboard-footer{padding:19px}
 .numera-service-section .numera-service-grid,.numera-account-home-grid,.numera-account-management .numera-account-links{grid-template-columns:minmax(0,1fr)}
 .numera-profile-settings-group .numera-profile-preference-grid{grid-template-columns:minmax(0,1fr)}
}
.numera-profile-signout{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:16px 0 8px;padding:15px 18px;border:1px solid var(--border);border-radius:15px;background:var(--surface)}
.numera-profile-signout>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.numera-profile-signout .numera-button{min-height:38px;flex:none}
@media(max-width:850px){
 .numera-sidebar-bottom{display:none!important}
 .numera-topbar .numera-top-route{display:none!important}
 .numera-topbar{justify-content:flex-end;min-height:58px}
 .numera-profile-signout{align-items:flex-start;flex-direction:column}
}
