/* Production adapters. Approved component rules live in crm-v2-approved.css. */
.asfit-v2 { letter-spacing: 0; }
.asfit-v2 .admin-sidebar .brand-copy strong { font-size:14px; }
.asfit-v2 .admin-sidebar .primary-nav a { font-size:14px; }
.asfit-v2 .admin-sidebar .nav-section-label { font-size:11px; }
.asfit-v2 .shell { padding:24px; }
.asfit-v2 .cv2 { width:100%; min-width:0; max-width:none; font-size:14px; display:flex; flex-direction:column; gap:20px; }
.asfit-v2 .cv2 :where(h1,h2,h3,p) { margin-top:0; letter-spacing:0; }
.asfit-v2 .cv2 :is(h1,h2,h3) { overflow-wrap:anywhere; }
.asfit-v2 .cv2 .page-header-row { margin-bottom:0; }
.asfit-v2 .cv2 .page-title-group h1 { margin:0 0 6px; }
.asfit-v2 .cv2 .page-title-group p { margin:0; }
.asfit-v2 .cv2 :is(.cv2-stack,.cv2-column) { display:flex; flex-direction:column; gap:20px; min-width:0; }
.asfit-v2 .cv2 .cv2-header-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.asfit-v2 .cv2 .cv2-section { margin:0; min-width:0; }
.asfit-v2 .cv2 .cv2-muted { color:var(--text-muted); font-size:12px; }
.asfit-v2 .cv2 .cv2-empty { margin:0; padding:20px 0; color:var(--text-muted); font-size:13px; line-height:1.6; }
.asfit-v2 .cv2 .cv2-empty a { display:inline-flex; margin-top:10px; }
.asfit-v2 .cv2 .cv2-kpi-link { color:inherit; text-decoration:none; display:block; }
.asfit-v2 .cv2 .stat-kpi-value { overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
.asfit-v2 .cv2 .stat-kpi-value small { display:block; font-size:12px; color:var(--text-muted); font-weight:600; }
.asfit-v2 .cv2 .attention-item { text-decoration:none; color:inherit; }
.asfit-v2 .cv2 .attention-meta { display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:4px; }
.asfit-v2 .cv2 .attention-meta strong { overflow-wrap:anywhere; }
.asfit-v2 .cv2 .cv2-feed { display:flex; flex-direction:column; gap:16px; }
.asfit-v2 .cv2 .cv2-feed-item { border-left:2px solid var(--asfit-primary-border); padding-left:12px; font-size:13px; line-height:1.6; }
.asfit-v2 .cv2 .cv2-feed-item p { margin:4px 0; color:var(--text-secondary); }
.asfit-v2 .cv2 .cv2-feed-item time { display:block; color:var(--text-muted); font-size:11px; }
.asfit-v2 .cv2 .cv2-pipeline-summary { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; }
.asfit-v2 .cv2 .cv2-pipeline-summary a { display:flex; flex-direction:column; gap:8px; padding:12px 8px; background:var(--bg-subtle); border:1px solid var(--border-subtle); border-radius:6px; color:var(--text-secondary); font-size:11px; text-decoration:none; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .cv2-pipeline-summary strong { font-size:20px; color:var(--text-heading); }
.asfit-v2 .cv2 .cv2-work-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.asfit-v2 .cv2 .cv2-work-list a { display:flex; gap:10px; align-items:center; justify-content:space-between; color:var(--text-secondary); padding:12px; border:1px solid var(--border-subtle); border-radius:6px; font-size:12px; text-decoration:none; }
.asfit-v2 .cv2 .cv2-work-list strong { color:var(--text-heading); font-size:20px; }
.asfit-v2 .cv2 .table-responsive-wrapper { min-width:0; max-width:100%; }
.asfit-v2 .cv2 .asfit-table { margin:0; }
.asfit-v2 .cv2 .asfit-table :is(td,th) { line-height:1.5; }
.asfit-v2 .cv2 .asfit-table td { max-width:340px; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .asfit-card { margin:0; min-width:0; }
.asfit-v2 .cv2 .asfit-card-title { margin:0; }
.asfit-v2 .cv2 .cv2-register { padding:0; overflow:hidden; }
.asfit-v2 .cv2 .cv2-register .asfit-card-header { padding:20px; margin:0; }
.asfit-v2 .cv2 .cv2-register > .table-responsive-wrapper { border:0; border-radius:0; }
.asfit-v2 .cv2 .cv2-toolbar { display:flex; align-items:end; flex-wrap:wrap; gap:12px; margin-bottom:20px; }
.asfit-v2 .cv2 .cv2-toolbar label { flex:1; min-width:160px; margin:0; display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--text-secondary); font-weight:600; }
.asfit-v2 .cv2 .cv2-toolbar input { width:100%; }
.asfit-v2 .cv2 .cv2-toolbar .asfit-btn { flex:0 0 auto; }
.asfit-v2 .cv2 .cv2-notice { padding:12px 16px; border-left:3px solid var(--asfit-primary); background:var(--asfit-primary-light); color:var(--text-secondary); font-size:12px; line-height:1.6; margin-bottom:20px; }
.asfit-v2 .cv2[data-v2-screen="crm-contracts"] > .cv2-notice { border-left-color:#f59e0b; background:var(--status-review-bg); color:#92400e; }
.asfit-v2 .cv2 a.asfit-btn { text-decoration:none; }
.asfit-v2 .cv2 .asfit-btn:focus-visible { outline:2px solid var(--border-focus); outline-offset:3px; }
.asfit-v2 .cv2 .crm-contact-edit-dialog { width:min(620px,calc(100vw - 32px)); max-height:90dvh; border:1px solid var(--border-subtle); border-radius:12px; box-shadow:var(--shadow-modal); background:#fff; padding:0; }
.asfit-v2 .cv2 .crm-contact-edit-dialog::backdrop { background:rgba(15,23,42,.6); backdrop-filter:blur(4px); }
.asfit-v2 .cv2 .crm-contact-edit-dialog__header { padding:16px 20px; border-bottom:1px solid var(--border-subtle); }
.asfit-v2 .cv2 .crm-contact-edit-dialog__header h2 { font-size:18px; margin:0; }
.asfit-v2 .cv2 .crm-contact-edit-dialog__body { padding:20px; }
.asfit-v2 .cv2 .cv2-split { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
.asfit-v2 .cv2 .cv2-inspection { display:flex; flex-direction:column; gap:16px; padding:20px; }
.asfit-v2 .cv2 .cv2-inspection h2 { font-size:18px; line-height:1.5; margin:0; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .cv2-inspection > .td-mono { font-size:12px; color:var(--asfit-primary); }
.asfit-v2 .cv2 .cv2-inspection .cv2-source-meta { border:0; padding:14px; border-radius:6px; }
.asfit-v2 .cv2 .cv2-inspection .cv2-notice { margin:0; }
.asfit-v2 .cv2 .cv2-inspection .cv2-notice p { margin:8px 0 0; }
.asfit-v2 .cv2 .cv2-mobile-record { box-shadow:none; border:0; border-bottom:1px solid var(--border-subtle); border-radius:0; margin:0; }
.asfit-v2 .cv2 .cv2-mobile-record .mobile-card-title { margin:4px 0 0; }
.asfit-v2 .cv2 .cv2-mobile-record .mobile-meta-val { margin:0; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .cv2-mobile-record .mobile-card-top > div { min-width:0; }
.asfit-v2 .cv2 .cv2-mobile-record :is(.mobile-card-title,.mobile-card-id) { overflow-wrap:anywhere; }
.asfit-v2 .cv2 .cv2-mobile-record .asfit-badge { white-space:normal; text-align:right; overflow-wrap:anywhere; max-width:45%; }
.asfit-v2 .cv2 .cv2-inspection .cv2-muted { overflow-wrap:anywhere; }
.asfit-v2 .cv2 > :is(.proposal-page,.quote-page) { display:flex; flex-direction:column; gap:20px; width:100%; max-width:none; margin:0; padding:0; }
.asfit-v2 .cv2 .page-header-row h1 { font-size:24px; font-weight:800; margin:0 0 6px; }
.asfit-v2 .cv2 .page-header-row p { margin:0; color:var(--text-muted); font-size:14px; }
.asfit-v2 .cv2 .cv2-document-section { margin:0; border:0; border-top:1px solid var(--border-subtle); border-radius:0; padding:20px 0; background:none; box-shadow:none; }
.asfit-v2 .cv2 .cv2-document-section h2 { font-size:16px; margin:0 0 12px; }
.asfit-v2 .cv2 .proposal-prose { font-size:14px; line-height:1.8; max-width:85ch; }
.asfit-v2 .cv2 .cv2-source-meta { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; background:var(--bg-subtle); padding:16px; border:1px solid var(--border-subtle); border-radius:8px; margin:0; }
.asfit-v2 .cv2 .cv2-source-meta dt { font-size:11px; color:var(--text-muted); margin-bottom:6px; }
.asfit-v2 .cv2 .cv2-source-meta dd { font-size:13px; margin:0; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .proposal-private { border-left:3px solid #d97706; padding-left:16px; }
.asfit-v2 .cv2 :is(.form-stack,.proposal-form) { gap:20px; }
.asfit-v2 .cv2 :is(.form-stack,.proposal-form) label { font-size:12px; font-weight:600; color:var(--text-secondary); }
.asfit-v2 .cv2 :is(input,select,textarea) { max-width:100%; min-width:0; }
.asfit-v2 .cv2 :is(.form-stack,.proposal-form) textarea { font-weight:400; line-height:1.7; padding:12px; }
.asfit-v2 .cv2 .quote-item { border:0; border-bottom:1px solid var(--border-subtle); border-radius:0; padding:12px 0; background:none; margin:0; }
.asfit-v2 .cv2 .quote-item { grid-template-columns:minmax(0,1fr) 120px 145px 150px 44px; }
.asfit-v2 .cv2 .cv2-line-amount { display:flex; flex-direction:column; gap:8px; min-width:0; padding-bottom:10px; }
.asfit-v2 .cv2 .cv2-line-amount span { font-size:12px; color:var(--text-muted); }
.asfit-v2 .cv2 .cv2-line-amount output { font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .quote-items { background:#fff; padding:20px; border:1px solid var(--border-subtle); border-radius:8px; }
.asfit-v2 .cv2 .quote-items h2 { font-size:16px; }
.asfit-v2 .cv2 .quote-items [data-quote-add] { margin-top:16px; }
.asfit-v2 .cv2 .sales-pipeline-board-wrap { padding:0; max-width:100%; border:0; }
.asfit-v2 .cv2 .pipeline-board-container { display:flex; gap:16px; overflow:visible; min-width:max-content; padding:0 0 16px; }
.asfit-v2 .cv2 .sales-pipeline-board { height:auto; min-height:0; align-items:stretch; }
.asfit-v2 .cv2 .sales-pipeline-column { flex:0 0 280px; width:280px; min-width:280px; min-height:0; max-height:80vh; border:1px solid var(--border-subtle); border-radius:8px; background:var(--bg-subtle); padding:0; }
.asfit-v2 .cv2 .sales-pipeline-column__header { display:flex; flex-direction:column; align-items:stretch; border:0; border-bottom:1px solid var(--border-subtle); background:#fff; padding:12px 14px; }
.asfit-v2 .cv2 .sales-pipeline-column__identity { display:flex; justify-content:space-between; align-items:center; }
.asfit-v2 .cv2 .sales-pipeline-column__identity h2 { font-size:14px; }
.asfit-v2 .cv2 .sales-pipeline-column__value { font-size:12px; margin-top:8px; }
.asfit-v2 .cv2 .sales-pipeline-stack { padding:12px; gap:12px; }
.asfit-v2 .cv2 .sales-pipeline-card { text-decoration:none; margin:0; padding:14px; border:1px solid var(--border-subtle); border-radius:8px; background:#fff; }
.asfit-v2 .cv2 .sales-pipeline-card__title { font-size:14px; color:var(--text-heading); }
.asfit-v2 .cv2 .sales-pipeline-card__contact { font-size:12px; }
.asfit-v2 .cv2 .sales-pipeline-header { margin:0; }
.asfit-v2 .cv2 .crm-contacts-directory { margin:0; }
.asfit-v2 .cv2 .crm-contacts-directory__toolbar { flex-wrap:wrap; padding:18px; }
.asfit-v2 .cv2 .crm-contacts-directory__toolbar h2 { font-size:16px; }
.asfit-v2 .cv2 .crm-contacts-directory__toolbar p { font-size:12px; color:var(--text-muted); }
.asfit-v2 .cv2 .crm-contacts-filters { margin:0; }
.asfit-v2 .cv2 .cv2-contact-split { grid-template-columns:repeat(2,minmax(0,1fr)); }
.asfit-v2 .cv2 .cv2-contact-split .crm-contacts-directory__toolbar { display:flex; flex-direction:column; align-items:stretch; }
.asfit-v2 .cv2 .crm-contacts-table { table-layout:auto; width:100%; }
.asfit-v2 .cv2 .team-card { padding:20px; border:1px solid var(--border-subtle); border-radius:12px; }
.asfit-v2 .cv2 .team-card__header { padding:0; }
.asfit-v2 .cv2 .team-card__title { font-size:16px; }
.asfit-v2 .cv2 .cv2-permission-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; padding:0; margin:0; list-style:none; }
.asfit-v2 .cv2 .cv2-permission-list li { padding:10px; background:var(--bg-subtle); border-radius:6px; overflow-wrap:anywhere; font-size:12px; }
.asfit-v2 .cv2 :is(.sites-page__layout,.ai-page__layout) { margin:0; gap:20px; }
.asfit-v2 .cv2 .sites-page__layout { display:block; }
.asfit-v2 .cv2 .sites-form[popover]:not(:popover-open) { display:none; }
.asfit-v2 .cv2 .sites-form:popover-open { display:flex; flex-direction:column; gap:14px; width:min(500px,92vw); max-height:90dvh; overflow-y:auto; margin:auto; border-radius:12px; box-shadow:var(--shadow-modal); padding:22px; }
.asfit-v2 .cv2 .sites-form::backdrop { background:rgba(15,23,42,.6); backdrop-filter:blur(4px); }
.asfit-v2 .cv2 .cv2-dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.asfit-v2 .cv2 :is(.sites-card,.ai-card) { padding:20px; border-radius:12px; border:1px solid var(--border-subtle); }
.asfit-v2 .cv2 :is(.sites-card__title,.ai-card h2) { font-size:16px; }
.asfit-v2 .cv2 .sites-form { order:2; }
.asfit-v2 .cv2 .sites-directory { order:1; }
.asfit-v2 .cv2 [hidden] { display:none!important; }
.asfit-v2 .cv2 .asfit-tabs-bar a { text-decoration:none; flex:0 0 auto; }
.asfit-v2 .cv2 .document-sharing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.asfit-v2 .cv2 .document-sharing > :not(section),.asfit-v2 .cv2 .document-sharing > section:last-child { grid-column:1/-1; }
.asfit-v2 .cv2 .document-sharing > section { border:1px solid var(--border-subtle); border-radius:8px; padding:20px; background:#fff; }
.asfit-v2 .cv2.crm-project-detail { max-width:none; margin:0; }
.asfit-v2 .cv2 .project-banner-card { margin:0; padding:24px; border:1px solid var(--border-subtle); border-radius:12px; background:#fff; box-shadow:var(--shadow-sm); }
.asfit-v2 .cv2 .project-headline { max-width:900px; }
.asfit-v2 .cv2 .project-meta-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; border-top:1px solid var(--border-subtle); padding-top:20px; margin-top:20px; }
.asfit-v2 .cv2 .project-meta-grid > div { display:flex; flex-direction:column; gap:6px; }
.asfit-v2 .cv2 .project-meta-grid strong { font-size:14px; overflow-wrap:anywhere; }
.asfit-v2 .cv2 .crm-project-command-bar { display:none; }
.asfit-v2 .cv2 .crm-project-tabs { margin:0; }
.asfit-v2 .cv2 .crm-deal-panel { border:0; border-radius:0; background:transparent; box-shadow:none; padding:0; margin:0; }
.asfit-v2 .cv2 .crm-project-section-header { padding:0; margin-bottom:16px; }
.asfit-v2 .cv2 .crm-project-section-header h2 { font-size:18px; }
.asfit-v2 .cv2 .crm-project-milestone-list { display:flex; flex-direction:column; gap:16px; max-width:100%; }
.asfit-v2 .cv2 .crm-project-milestone { width:100%; max-width:none; flex:none; padding:20px; border-radius:8px; border:1px solid var(--border-subtle); background:#fff; }
.asfit-v2 .cv2 .project-module-rail__controls { display:none; }
.asfit-v2 .cv2 .project-module-rail { width:100%; }
.asfit-v2 .cv2 .crm-project-milestone__identity h3 { font-size:16px; }
.asfit-v2 .cv2 .crm-project-milestone__summary { margin:0 0 12px; }
.asfit-v2 .cv2 .crm-project-files .crm-project-milestone-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
.asfit-v2 .cv2 .crm-project-meeting-state { flex:0 0 auto; }
.asfit-v2 .cv2 .crm-project-file-heading { min-width:0; }
.asfit-v2 .cv2-project-thread .crm-project-chat-workspace { max-width:none; width:100%; }
.asfit-v2 .cv2-project-thread .crm-project-message-thread { width:100%; border:1px solid var(--border-subtle); border-radius:8px 8px 0 0; background:#fff; padding:16px; }
.asfit-v2 .cv2-project-thread .crm-project-message-list { padding:12px; background:var(--bg-subtle); max-height:440px; }
.asfit-v2 .cv2-project-thread .crm-project-message article { width:100%; max-width:none; border:1px solid var(--border-subtle); background:#fff; border-radius:6px; padding:12px; }
.asfit-v2 .cv2-project-thread .crm-project-message--staff article { background:var(--asfit-primary-light); border-color:var(--asfit-primary-border); }
.asfit-v2 .cv2-project-thread .crm-project-message article p { font-size:13px; line-height:1.7; }
.asfit-v2 .cv2-project-thread .crm-project-message-composer { width:100%; max-width:none; border:1px solid var(--border-subtle); border-top:0; padding:16px; border-radius:0 0 8px 8px; background:#fff; }
@media(max-width:768px) {
 .asfit-v2 .cv2 .cv2-contact-split { grid-template-columns:minmax(0,1fr); }
 .asfit-v2 .cv2 .quote-item { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px; }
 .asfit-v2 .cv2 .quote-item .cv2-line-amount { grid-column:1/3; }
 .asfit-v2 .cv2 .cv2-split { grid-template-columns:minmax(0,1fr); }
 .asfit-v2 .cv2 .document-sharing { display:flex; flex-direction:column; }
 .asfit-v2 .cv2 .project-meta-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .asfit-v2 .cv2 .project-banner-card { padding:16px; }
 .asfit-v2 .cv2 .crm-project-files .crm-project-milestone-list { grid-template-columns:1fr; }
 .asfit-v2 .cv2 .page-header-row h1 { font-size:18px; }
 .asfit-v2 .cv2 .project-banner-top > div:first-child { flex:0 1 auto; }
}
.asfit-v2 .cv2 .cv2-task-kpi { border-left:4px solid var(--asfit-primary); padding:14px; gap:0; display:flex; flex-direction:column; }
.asfit-v2 .cv2 .cv2-task-kpi > span { font-size:12px; font-weight:700; text-transform:uppercase; }
.asfit-v2 .cv2 .cv2-task-kpi strong { font-size:24px; font-weight:800; text-align:right; line-height:1.5; font-family:var(--font-mono,monospace); }
.asfit-v2 .cv2 .cv2-task-kpi small { font-size:11px; color:var(--text-muted); }
.asfit-v2 .cv2 .cv2-task-kpi--danger { border-left-color:#ef4444; }
.asfit-v2 .cv2 .cv2-task-kpi--danger > span { color:var(--status-danger-text); }
.asfit-v2 .cv2 .cv2-task-kpi--danger strong { color:var(--status-danger-text); }
.asfit-v2 .cv2 .cv2-task-kpi--navy { border-left-color:var(--asfit-navy-900); }
.asfit-v2 .cv2 .page-header-row h1.page-title { font-size:32px; font-weight:700; line-height:1.5; }
.asfit-v2 .cv2 .page-header-row .page-pretitle { font-size:16px; line-height:1.5; text-transform:uppercase; }
.asfit-v2 .cv2 .page-header-row p.page-desc { font-size:16px; line-height:1.5; color:var(--text-body); }
.asfit-v2 .cv2 .cv2-task-kpi--cyan { border-left-color:var(--asfit-cyan); }
.asfit-v2 .cv2 .cv2-task-kpi--green { border-left-color:#16a34a; }
.asfit-v2 .cv2 .crm-followups-filter-card { margin:0; background:#fff; padding:12px 16px; border:1px solid var(--border-subtle); border-radius:8px; }
.asfit-v2 .cv2 .crm-followups-filters { display:flex; flex-wrap:wrap; gap:12px; align-items:end; }
.asfit-v2 .cv2 .crm-followups-filters label { flex:1; min-width:140px; }
.asfit-v2 .cv2 .crm-followups-groups { display:flex; flex-direction:column; gap:16px; }
.asfit-v2 .cv2 .crm-followups-group { background:transparent; padding:0; border:0; }
.asfit-v2 .cv2 .crm-followups-card { margin:0; padding:16px; background:#fff; border:1px solid var(--border-subtle); border-radius:8px; box-shadow:var(--shadow-xs); }
.asfit-v2 .cv2 .crm-followups-card.is-overdue { border-left:4px solid #ef4444; }
.asfit-v2 .cv2 .crm-followups-group__header { margin-bottom:10px; }
.asfit-v2 .cv2 .crm-followups-group__header h2 { font-size:15px; }
.asfit-v2 .cv2 .crm-followups-card__title { font-size:14px; color:var(--text-heading); }
.asfit-v2 .cv2-inbox .cv2-inbox-split { min-height:650px; height:auto; grid-template-columns:minmax(300px,360px) minmax(0,1fr) 240px; }
.asfit-v2 .cv2-inbox .conv-queue-panel { min-width:0; overflow:hidden; }
.asfit-v2 .cv2-inbox .lead-inbox-controls { padding:14px; display:flex; flex-direction:column; gap:12px; border:0; border-radius:0; }
.asfit-v2 .cv2-inbox .lead-inbox-search { width:100%; }
.asfit-v2 .cv2-inbox .lead-inbox-search input { min-width:0; }
.asfit-v2 .cv2-inbox .lead-inbox-quick-filters { display:flex; flex-wrap:wrap; gap:6px; }
.asfit-v2 .cv2-inbox .lead-inbox-filter-pill { font-size:11px; padding:5px 8px; min-height:32px; }
.asfit-v2 .cv2-inbox .lead-inbox-secondary-filters__grid { grid-template-columns:1fr; }
.asfit-v2 .cv2-inbox .lead-inbox-list { display:flex; flex-direction:column; gap:0; }
.asfit-v2 .cv2-inbox .lead-inbox-queue { border:0; padding:0; background:none; }
.asfit-v2 .cv2-inbox .lead-inbox-card { border:0; border-bottom:1px solid var(--border-subtle); border-radius:0; box-shadow:none; grid-template-columns:32px minmax(0,1fr); padding:14px; gap:10px; }
.asfit-v2 .cv2-inbox .lead-inbox-card__select { grid-column:1; }
.asfit-v2 .cv2-inbox .lead-inbox-card__avatar-wrap { display:none; }
.asfit-v2 .cv2-inbox .lead-inbox-card--no-select { grid-template-columns:minmax(0,1fr); }
.asfit-v2 .cv2-inbox .lead-inbox-card__content { grid-column:-2/-1; }
.asfit-v2 .cv2-inbox .lead-inbox-card__actions { grid-column:1/-1; justify-content:flex-end; }
.asfit-v2 .cv2-inbox .lead-inbox-card__meta { flex-wrap:wrap; }
.asfit-v2 .cv2 .cv2-conversation-empty { padding:28px; justify-content:center; align-items:center; text-align:center; color:var(--text-muted); }
.asfit-v2 .cv2 .cv2-conversation-empty h2 { font-size:16px; color:var(--text-heading); }
.asfit-v2 .cv2-conversation .conversation-split-workspace { width:100%; margin:0; min-width:0; display:grid; grid-template-columns:280px minmax(0,1fr) 280px; grid-template-areas:'queue thread context'; gap:0; }
.asfit-v2 .cv2-conversation .conversation-inbox-pane { grid-area:queue; min-width:0; }
.asfit-v2 .cv2-conversation .conversation-active-pane { grid-area:thread; min-width:0; }
.asfit-v2 .cv2-conversation .conversation-split-workspace.is-context-collapsed { grid-template-columns:280px minmax(0,1fr); grid-template-areas:'queue thread'; }
.asfit-v2 .cv2-conversation .conversation-context-pane { grid-area:context; min-width:0; }
.asfit-v2 .cv2-conversation .conversation-detail-header { padding:14px; }
.asfit-v2 .cv2-conversation .conversation-detail-header { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.asfit-v2 .cv2-conversation .conversation-detail-identity { flex:1; min-width:180px; }
.asfit-v2 .cv2-conversation .conversation-detail-titles { min-width:0; flex:1; }
.asfit-v2 .cv2-conversation .conversation-detail-name-row { flex-wrap:wrap; gap:6px; }
.asfit-v2 .cv2-conversation .conversation-detail-name-row h1 { white-space:normal; text-overflow:clip; overflow:visible; overflow-wrap:anywhere; font-size:15px; }
.asfit-v2 .cv2-conversation .conversation-detail-titles p { white-space:normal; text-overflow:clip; overflow-wrap:anywhere; line-height:1.5; }
.asfit-v2 .cv2-conversation .conversation-detail-actions { width:100%; display:flex; justify-content:flex-end; gap:8px; }
.asfit-v2 .cv2-conversation .conversation-detail-actions { flex-wrap:wrap; }
.asfit-v2 .cv2-conversation .conversation-composer { border-top:1px solid var(--border-subtle); background:#fff; }
.asfit-v2 .cv2-conversation .message-list { background:var(--bg-app); }
.asfit-v2 .cv2-inbox .lead-inbox-heading { position:static; width:auto; height:auto; padding:0; margin:0; overflow:visible; clip:auto; clip-path:none; white-space:normal; }
.asfit-v2 body:has(.cv2-conversation) .admin-sidebar + .shell { height:auto; min-height:calc(100dvh - var(--header-height)); padding:24px; overflow:visible; }
.asfit-v2 body:has(.cv2-conversation) .conversation-split-workspace { height:calc(100dvh - 200px); min-height:640px; border:1px solid var(--border-subtle); border-radius:12px; overflow:hidden; }
@media(max-width:1280px) {
 .asfit-v2 .cv2-inbox .cv2-inbox-split { grid-template-columns:320px minmax(0,1fr); }
 .asfit-v2 .cv2-inbox .conv-context-panel { display:none; }
 .asfit-v2 .cv2-conversation .conversation-split-workspace { grid-template-columns:280px minmax(0,1fr); grid-template-areas:'queue thread'; }
 .asfit-v2 .cv2-conversation .conversation-context-pane { grid-area:auto; }
}
@media(max-width:768px) {
 .asfit-v2 .cv2-inbox .cv2-inbox-split { grid-template-columns:minmax(0,1fr); min-height:0; }
 .asfit-v2 .cv2-inbox .cv2-conversation-empty { display:none; }
 .asfit-v2 .cv2-conversation .conversation-split-workspace { display:block; }
 .asfit-v2 .cv2-conversation .conversation-inbox-pane { display:none; }
}
@media(min-width:1025px) and (max-width:1280px) {
 .asfit-v2 .cv2-conversation .conversation-split-workspace { grid-template-columns:220px minmax(0,1fr) 240px; grid-template-areas:'queue thread context'; }
 .asfit-v2 .cv2-conversation .conversation-context-pane { display:block; grid-area:context; }
}
@media(max-width:1024px) {
 .asfit-v2 body:has(.cv2-conversation) .admin-sidebar + .shell { padding:16px; }
 .asfit-v2 .cv2-conversation .conversation-split-workspace { display:block; }
 .asfit-v2 .cv2-conversation .conversation-inbox-pane { display:none; }
 .asfit-v2 .cv2-conversation .conversation-context-pane { display:block; }
}
@media(max-width:1024px) { .asfit-v2 .shell { padding:20px; } }
@media(max-width:768px) {
 .asfit-v2 .shell { padding:16px; }
 .asfit-v2 .cv2 .cv2-pipeline-summary { grid-template-columns:repeat(4,minmax(0,1fr)); }
 .asfit-v2 .cv2 .cv2-work-list { grid-template-columns:1fr; }
 .asfit-v2 .cv2 .asfit-table { min-width:600px; }
 .asfit-v2 .cv2 .cv2-header-actions { width:100%; }
 .asfit-v2 .cv2 .cv2-header-actions .asfit-btn { flex:1; }
}
/* Match the frozen narrow-view gutters without changing unmapped legacy pages. */
@media(max-width:768px) {
 .asfit-v2 body:has(.cv2) .shell { padding:12px; }
 .asfit-v2 .cv2, .asfit-v2 .cv2 > :is(.proposal-page,.quote-page) { gap:14px; }
}
@media(max-width:448px) {
 .asfit-v2 body:has(.cv2) .shell { padding:10px; }
 .asfit-v2 .cv2, .asfit-v2 .cv2 > :is(.proposal-page,.quote-page) { gap:12px; }
 .asfit-v2 body:has(.cv2) .admin-mobile-header { padding:0 10px; }
}
