/* Approved reference-inspired enhancement; scoped to presentation, no business states. */
.asfit-v2 .cv2-command { gap:20px; }
.asfit-v2 .cv2-command .asfit-card { box-shadow:0 2px 5px rgba(15,23,42,.035); }
.asfit-v2 .cv2-command .stat-kpi-card { padding:20px; min-height:168px; border-top:3px solid var(--border-subtle); border-radius:8px; }
.asfit-v2 .cv2-command .stat-kpi-card:has(.icon-blue) { border-top-color:#2563eb; }
.asfit-v2 .cv2-command .stat-kpi-card:has(.icon-cyan) { border-top-color:#0891b2; }
.asfit-v2 .cv2-command .stat-kpi-card:has(.icon-amber) { border-top-color:#d97706; }
.asfit-v2 .cv2-command .stat-kpi-card:has(.icon-green) { border-top-color:#15803d; }
.asfit-v2 .cv2-command .stat-kpi-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:8px; flex:none; }
.asfit-v2 .cv2-command .admin-nav-icon { display:block; width:18px; height:18px; flex:none; }
.asfit-v2 .cv2-command .stat-kpi-label { font-size:11px; line-height:1.5; }
.asfit-v2 .cv2-command .stat-kpi-value { font-size:30px; line-height:1.2; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.asfit-v2 .cv2-command .stat-kpi-value > span { font-size:22px; }
.asfit-v2 .cv2-command .stat-kpi-footer { font-size:12px; padding-top:6px; }
.asfit-v2 .cv2-command .cv2-command-primary { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:stretch; gap:20px; }
.asfit-v2 .cv2-command .cv2-command-lower { gap:20px; align-items:start; }
.asfit-v2 .cv2-command .cv2-command-primary > section,
.asfit-v2 .cv2-command .cv2-command-lower > section { min-height:0; height:auto; }
.asfit-v2 .cv2-command .asfit-card-title { font-size:15px; line-height:1.5; }
.asfit-v2 .cv2-command .asfit-card-sub { display:block; margin-top:4px; font-size:12px; line-height:1.6; }
.asfit-v2 .cv2-command .asfit-card-header { margin-bottom:16px; gap:12px; }
.asfit-v2 .cv2-command .cv2-section { padding:20px; }
.asfit-v2 .cv2-command .attention-queue-list { display:grid; gap:10px; max-height:360px; padding-right:4px; }
.asfit-v2 .cv2-command .attention-item { padding:12px; border:1px solid var(--border-subtle); border-radius:6px; gap:12px; background:#fff; }
.asfit-v2 .cv2-command .attention-item:has(.icon-amber) { border-left:3px solid #d97706; }
.asfit-v2 .cv2-command .attention-item-content { min-width:0; gap:12px; }
.asfit-v2 .cv2-command .attention-meta { min-width:0; overflow-wrap:anywhere; }
.asfit-v2 .cv2-command .attention-meta strong { font-size:13px; }
.asfit-v2 .cv2-command .attention-meta small { font-size:11px; line-height:1.7; }
.asfit-v2 .cv2-command .attention-item .asfit-badge { flex:none; font-size:10px; }
.asfit-v2 .crm-operational-empty { display:flex; align-items:center; gap:12px; padding:14px; border:1px dashed #cbd5e1; border-radius:6px; background:#f8fafc; }
.asfit-v2 .crm-empty-symbol { display:grid; place-items:center; flex:0 0 36px; height:36px; border-radius:8px; background:#e8f4ee; color:#166534; }
.asfit-v2 .crm-operational-empty strong { font-size:13px; }
.asfit-v2 .crm-operational-empty p { font-size:12px; line-height:1.6; margin:4px 0 0; color:var(--text-muted); }
.asfit-v2 .cv2-command .cv2-feed { max-height:360px; padding:2px 8px 2px 10px; scrollbar-width:thin; }
.asfit-v2 .cv2-command .cv2-feed-item { position:relative; border-left:1px solid #cbd5e1; margin:0; padding:0 0 22px 20px; overflow-wrap:anywhere; }
.asfit-v2 .cv2-command .cv2-feed-item::before { content:''; position:absolute; left:-5px; top:5px; width:9px; height:9px; border-radius:50%; background:#2563eb; box-shadow:0 0 0 4px #eff6ff; }
.asfit-v2 .cv2-command .cv2-feed-item:last-child { padding-bottom:0; }
.asfit-v2 .cv2-command .cv2-feed-item strong { font-size:13px; line-height:1.6; }
.asfit-v2 .cv2-command .cv2-feed-item p { font-size:12px; margin:5px 0; line-height:1.7; }
.asfit-v2 .cv2-command .cv2-feed-item :is(small,time) { font-size:11px; line-height:1.8; display:block; }
.asfit-v2 .cv2-command .cv2-feed-item a { text-decoration:underline; text-underline-offset:3px; }
.asfit-v2 .crm-activity-type { display:block; color:var(--text-muted); font-size:10px; text-transform:uppercase; font-weight:600; margin-bottom:3px; }
.asfit-v2 .crm-stage-chart { display:grid; grid-template-columns:minmax(220px,.8fr) minmax(0,2fr); gap:40px; align-items:center; }
.asfit-v2 .crm-stage-chart__summary { display:flex; align-items:center; gap:24px; }
.asfit-v2 .crm-distribution-ring { width:144px; height:144px; border-radius:50%; padding:14px; flex:none; }
.asfit-v2 .crm-distribution-ring > div { width:100%; height:100%; background:#fff; border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.asfit-v2 .crm-distribution-ring strong { font-size:30px; font-variant-numeric:tabular-nums; line-height:1.3; }
.asfit-v2 .crm-distribution-ring span { font-size:11px; color:var(--text-muted); }
.asfit-v2 .crm-stage-chart__summary p { display:flex; flex-direction:column; gap:8px; margin:0; font-size:12px; line-height:1.6; }
.asfit-v2 .crm-stage-chart__summary p strong { font-size:14px; }
.asfit-v2 .crm-stage-chart__summary p span { color:var(--text-muted); }
.asfit-v2 .crm-stage-chart__bars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:28px; row-gap:12px; list-style:none; padding:0; margin:0; }
.asfit-v2 .crm-stage-chart__bars li { min-width:0; }
.asfit-v2 .crm-stage-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 12px; color:var(--text-body); font-size:12px; padding:4px 0; text-decoration:none; }
.asfit-v2 .crm-stage-bar__label { display:flex; gap:7px; align-items:center; min-width:0; }
.asfit-v2 .crm-chart-dot { width:7px; height:7px; border-radius:50%; background:var(--stage-color); flex:none; }
.asfit-v2 .crm-stage-bar strong { font-variant-numeric:tabular-nums; font-size:13px; }
.asfit-v2 .crm-stage-bar__track { grid-column:1/-1; height:6px; border-radius:3px; background:#edf1f6; overflow:hidden; }
.asfit-v2 .crm-stage-bar__track > span { display:block; height:100%; background:var(--stage-color); border-radius:3px; }
.asfit-v2 .crm-stage-bar:hover .crm-stage-bar__label { text-decoration:underline; }
.asfit-v2 .crm-chart-empty { margin:16px 0 0; font-size:12px; color:var(--text-muted); }
.asfit-v2 .cv2-command .cv2-command-overview { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 16px; align-items:center; }
.asfit-v2 .cv2-command-overview .asfit-card-header { grid-column:1/-1; margin:0; }
.asfit-v2 .cv2-command-overview .cv2-empty { margin:0; font-size:12px; line-height:1.6; }
.asfit-v2 .cv2-command-overview .asfit-btn { margin:0; align-self:center; }
.asfit-v2 .cv2-command .cv2-work-list a { background:#f8fafc; border:1px solid var(--border-subtle); padding:12px; border-radius:6px; }
.asfit-v2 .cv2-command .cv2-work-list strong { font-variant-numeric:tabular-nums; }
.asfit-v2 .cv2-command .dashboard-panel--inbox .asfit-card-header p { margin:4px 0 0; font-size:12px; }
.asfit-v2 .cv2-command .dashboard-panel--inbox .empty { padding-top:4px; }
/* Narrow context columns must wrap values, not overlap a fixed label track. */
.asfit-v2 .cv2-conversation .conversation-context-pane > dl { display:grid; grid-template-columns:minmax(0,1fr); gap:0; }
.asfit-v2 .cv2-conversation .conversation-context-pane > dl dt { margin:12px 0 4px; font-size:10px; text-transform:uppercase; color:var(--text-muted); }
.asfit-v2 .cv2-conversation .conversation-context-pane > dl dd { margin:0; padding:0 0 10px; border-bottom:1px solid var(--border-subtle); font-size:12px; min-width:0; overflow-wrap:anywhere; text-align:left; }
.asfit-v2 .cv2-conversation .conversation-context-pane :is(p,h1,.conversation-crm-summary,.conversation-crm-summary span) { min-width:0; overflow-wrap:anywhere; }
.asfit-v2 :is(.cv2-inbox,.cv2-conversation) .lead-inbox-quick-filters { scroll-padding:8px; overscroll-behavior-x:contain; }
.asfit-v2 .crm-contacts-page .crm-contacts-table--directory { min-width:1100px; }
.asfit-v2 .crm-contacts-page .crm-contacts-table--directory :is(th,td) { word-break:normal; overflow-wrap:break-word; }
.asfit-v2 .crm-contacts-page .crm-contacts-table__phone { min-width:140px; white-space:nowrap; }
.asfit-v2 .crm-contacts-page .crm-contacts-table__date { min-width:115px; white-space:nowrap; }
.asfit-v2 .crm-contacts-page .crm-contacts-table--directory th { white-space:nowrap; }
.asfit-v2 .crm-contacts-page .cv2-inspection { overflow-wrap:anywhere; }
.asfit-v2 :is(.crm-stage-bar,.stat-kpi-card,.primary-nav a):focus-visible { outline:2px solid #2563eb; outline-offset:4px; }
@media(min-width:1600px) {
 .asfit-v2 .crm-contacts-page .cv2-contact-split { grid-template-columns:minmax(0,1fr) 270px; }
}
@media(min-width:1025px) and (max-width:1599px) {
 .asfit-v2 .crm-contacts-page .cv2-contact-split { grid-template-columns:minmax(0,1fr); }
 .asfit-v2 .crm-contacts-page .cv2-inspection { position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
 .asfit-v2 .crm-contacts-page .cv2-inspection > :is(.asfit-badge,h2,p) { grid-column:1; margin:0; }
 .asfit-v2 .crm-contacts-page .cv2-inspection > .asfit-badge { justify-self:start; }
 .asfit-v2 .crm-contacts-page .cv2-inspection > .cv2-source-meta { grid-column:2; grid-row:1/span 3; margin:0; }
 .asfit-v2 .crm-contacts-page .cv2-inspection > .asfit-btn { min-width:0; white-space:normal; }
}
@media(max-width:1200px) {
 .asfit-v2 .crm-stage-chart { grid-template-columns:minmax(0,1fr); gap:24px; }
 .asfit-v2 .crm-stage-chart__summary { justify-content:flex-start; }
}
@media(max-width:900px) {
 .asfit-v2 .cv2-command .cv2-command-primary { grid-template-columns:minmax(0,1fr); }
 .asfit-v2 .cv2-command .stats-grid-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .asfit-v2 .cv2-command .stat-kpi-card { min-height:170px; }
}
@media(max-width:560px) {
 .asfit-v2 .cv2-command { gap:14px; }
 .asfit-v2 .cv2-command .cv2-section { padding:16px; }
 .asfit-v2 .cv2-command .stat-kpi-card { padding:14px; min-height:160px; }
 .asfit-v2 .cv2-command .stat-kpi-card:has(.icon-blue),
 .asfit-v2 .cv2-command .stat-kpi-card:last-child:nth-child(even) { grid-column:1/-1; min-height:132px; }
 .asfit-v2 .cv2-command .stat-kpi-value > span { font-size:16px; }
 .asfit-v2 .cv2-command .stat-kpi-icon { width:28px; height:28px; }
 .asfit-v2 .cv2-command .stat-kpi-top { gap:6px; }
 .asfit-v2 .cv2-command .stat-kpi-label { font-size:10px; }
 .asfit-v2 .crm-distribution-ring { width:112px; height:112px; padding:11px; }
 .asfit-v2 .crm-stage-chart__summary { gap:18px; }
 .asfit-v2 .crm-stage-chart__bars { column-gap:16px; }
 .asfit-v2 .cv2-command .attention-item { flex-wrap:wrap; }
 .asfit-v2 .cv2-command .attention-item-content { flex:none; width:100%; }
 .asfit-v2 .cv2-command .attention-item .asfit-badge { align-self:flex-start; }
 .asfit-v2 .cv2-command .cv2-command-overview { grid-template-columns:minmax(0,1fr); }
 .asfit-v2 .cv2-command-overview .asfit-btn { justify-self:start; }
}
