/* NarrowVision Portal — Phase 5 manager workspace */
#dashboard .nv-manager-live-dashboard{padding:24px;min-width:0}
#dashboard .nv-manager-live-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;flex-wrap:wrap}
#dashboard .nv-manager-live-heading h2{margin:2px 0 6px;font-size:25px}
#dashboard .nv-manager-live-heading p{margin:0}
#dashboard .nv-manager-live-heading button{width:auto;margin:0}
#dashboard .nv-manager-kicker{color:#aa91f7;font-size:10px;font-weight:800;letter-spacing:.14em}
#dashboard [data-nv-manager-status]{font-size:11px;color:var(--nv-text-muted);margin:10px 0 0}
#dashboard .nv-manager-live-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:19px 0 14px}
#dashboard .nv-manager-live-card{display:flex;flex-direction:column;gap:8px;min-height:112px;padding:16px;background:linear-gradient(180deg,#131e32,#10192b);border-color:var(--nv-border-subtle)}
#dashboard .nv-manager-live-number{font-size:28px;line-height:1.15;letter-spacing:-.035em;color:var(--nv-text)}
#dashboard .nv-manager-live-card small{font-size:11px;line-height:1.4}
#dashboard .nv-manager-attention,#dashboard .nv-manager-recent{margin-top:22px;padding-top:20px;border-top:1px solid var(--nv-border-subtle)}
#dashboard .nv-manager-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
#dashboard .nv-manager-section-head h3{margin:0;font-size:16px}
#dashboard .nv-manager-section-head>span{font-size:11px;color:var(--nv-text-muted)}
#dashboard .nv-manager-section-head button{margin:0;padding:6px 8px;min-height:32px;font-size:11px}
#dashboard .nv-manager-attention-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--nv-border-subtle)}
#dashboard .nv-manager-attention-row:last-child{border-bottom:0}
#dashboard .nv-manager-attention-copy strong{font-size:13px}
#dashboard .nv-manager-attention-copy p{margin:4px 0 0;color:var(--nv-text-muted);font-size:11px;line-height:1.45}
#dashboard .nv-manager-attention-row button{width:auto;margin:0;white-space:nowrap;font-size:11px;min-height:35px}
#dashboard .nv-manager-attention-ok{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:14px;border:1px solid rgba(98,221,184,.20);background:rgba(25,73,62,.20);border-radius:var(--nv-radius-md)}
#dashboard .nv-manager-attention-ok strong{font-size:13px}
#dashboard .nv-manager-attention-ok p{margin:4px 0 0;color:var(--nv-text-muted);font-size:11px;line-height:1.45}
#dashboard .nv-manager-customer-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;margin:0;padding:13px 4px;border:0;border-bottom:1px solid var(--nv-border-subtle);border-radius:0;background:transparent;color:var(--nv-text);text-align:left}
#dashboard .nv-manager-customer-row:hover{background:rgba(70,88,124,.10)}
#dashboard .nv-manager-customer-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
#dashboard .nv-manager-customer-copy strong{font-size:13px}
#dashboard .nv-manager-customer-copy small,#dashboard .nv-manager-customer-meta{font-size:11px;color:var(--nv-text-muted)}
#dashboard .nv-manager-customer-meta{white-space:nowrap}

#customer-overview>.customers-header{margin-top:14px}
#customer-overview .nv-customer-name-search{max-width:520px}
#customer-overview .nv-manager-customer-table-wrap{overflow-x:auto}
#customer-overview .nv-manager-customer-table{min-width:900px}
#customer-overview .nv-manager-customer-table td{vertical-align:middle}
#customer-overview .nv-manager-customer-table .nv-status{font-size:10px}

#customer-detail-content>.eyebrow{display:none}
#customer-detail-content>.nv-customer-number-line{margin:4px 0 14px}
#customer-detail-content .nv-customer-tabs{display:flex;gap:5px;overflow-x:auto;margin:18px 0 0;padding-bottom:1px;border-bottom:1px solid var(--nv-border-subtle)}
#customer-detail-content .nv-customer-tab{flex:none;margin:0;padding:10px 12px;border:0;border-bottom:2px solid transparent;border-radius:8px 8px 0 0;background:transparent;color:var(--nv-text-muted);font-size:12px;font-weight:700}
#customer-detail-content .nv-customer-tab:hover{background:rgba(76,92,130,.14);color:var(--nv-text)}
#customer-detail-content .nv-customer-tab[aria-selected=true]{border-bottom-color:var(--nv-accent);background:rgba(99,75,160,.16);color:#fff}
#customer-detail-content .nv-customer-panes{margin-top:16px}
#customer-detail-content .nv-customer-pane[hidden]{display:none}
#customer-detail-content .nv-customer-pane>.panel,
#customer-detail-content .nv-customer-pane>.nv-manager-devices{margin:0 0 14px}
#customer-detail-content .nv-customer-pane .detail-grid{display:block;margin:0}
#customer-detail-content .nv-customer-subsection{padding:17px}
#customer-detail-content .nv-customer-subsection>h2{margin:0 0 12px;font-size:16px}
#customer-detail-content .nv-customer-subsection>.secondary{width:auto;margin:0 0 12px}
#customer-detail-content .nv-customer-subsection .section{margin-top:12px}
#customer-detail-content .nv-customer-pane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
#customer-detail-content .nv-customer-pane-head h2{margin:0 0 5px}
#customer-detail-content .nv-customer-pane-head p{margin:0}
#customer-detail-content .nv-customer-pane-head button{width:auto;margin:0}
#customer-detail-content .nv-customer-support-list{border:1px solid var(--nv-border-subtle);border-radius:var(--nv-radius-md);overflow:hidden}
#customer-detail-content .nv-customer-support-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid var(--nv-border-subtle);background:var(--nv-surface-1)}
#customer-detail-content .nv-customer-support-row:last-child{border-bottom:0}
#customer-detail-content .nv-customer-support-row>div{display:flex;flex-direction:column;gap:4px}
#customer-detail-content .nv-customer-support-row strong{font-size:12px}
#customer-detail-content .nv-customer-support-row small,#customer-detail-content .nv-customer-support-row>span{font-size:10px}

@media(max-width:980px){
  #dashboard .nv-manager-live-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  #dashboard .nv-manager-live-dashboard{padding:15px}
  #dashboard .nv-manager-live-card{min-height:104px;padding:12px}
  #dashboard .nv-manager-live-number{font-size:23px}
  #dashboard .nv-manager-attention-row{grid-template-columns:auto minmax(0,1fr)}
  #dashboard .nv-manager-attention-row button{grid-column:2;width:max-content}
  #dashboard .nv-manager-section-head>span{display:none}
  #dashboard .nv-manager-customer-row{align-items:flex-start;flex-direction:column}
  #dashboard .nv-manager-customer-meta{white-space:normal}
  #customer-detail-content .nv-customer-pane-head{flex-direction:column}
}
