/* Shared workspace rhythm. Keep controls comfortable while fitting more useful content. */
:root{--radius:12px;--shadow:0 2px 8px #18332c04;--space:16px}
.workspace{font-size:14px;line-height:1.75}
.workspace-body{display:flex;flex-direction:column;min-height:100dvh}
.workspace main{width:100%;max-width:1680px;flex:1;min-height:0;padding:24px}
.workspace h1{font-size:25px;margin-bottom:4px;overflow-wrap:anywhere}
.workspace h2{font-size:17px;margin-bottom:12px}
.workspace h3{font-size:15px}
.workspace p{margin-bottom:10px;overflow-wrap:anywhere}
.workspace .eyebrow{font-size:12px;margin-bottom:4px}
.workspace .page-heading{gap:16px;margin-bottom:20px}
.workspace .page-heading p{font-size:13px}
.workspace .card{padding:18px;margin-bottom:16px}
.workspace .card>:last-child{margin-bottom:0}
.workspace .card>h2:first-child,.workspace .section-heading{margin-bottom:12px}
.workspace .section-heading{gap:8px;flex-wrap:wrap}
.workspace .section-heading h2{margin:0}
.workspace .row>h2,.workspace .row>h3,.workspace .row>p{margin-bottom:0}
.workspace .grid,.workspace .profile-layout,.workspace .import-layout{gap:16px}
.workspace .grid>.card,.workspace .opportunity-grid>.card,.workspace .collection-grid>.card{margin-bottom:0}
.workspace .grid,.workspace .opportunity-grid,.workspace .collection-grid{margin-bottom:16px;align-items:start}
.workspace .fields{gap:12px 16px;margin:12px 0}
.workspace .fields>label{margin:0;align-content:start}
.workspace label{gap:6px;margin:12px 0;font-size:13px}
.workspace input,.workspace select,.workspace textarea{padding:9px 11px;min-height:44px;line-height:1.65}
.workspace input[type=checkbox]{min-height:18px;padding:0}
.workspace textarea{min-height:96px}
.workspace .check{margin:0;padding:8px;min-height:44px}
.workspace fieldset{padding:8px 12px;margin:12px 0}
.workspace .form-actions{margin-top:16px;padding-top:12px;flex-wrap:wrap}
.workspace .form-note{padding:10px 12px;margin:10px 0;font-size:12px}
.workspace .task-item{padding:14px;margin:10px 0;border-radius:10px}
.workspace .task-item p{margin:6px 0}
.workspace .task-meta{margin:8px 0}
.workspace .stat-grid{gap:12px;margin-bottom:16px}
.workspace .stat{padding:14px 16px;transition:border-color .18s,background .18s}
.workspace a.stat:hover{border-color:var(--primary)}
.workspace .stat strong{font-size:28px;line-height:1.35;margin:8px 0 4px;font-variant-numeric:tabular-nums}
.workspace .stat-icon{padding:6px;border-radius:8px}
.workspace .tabs{margin:12px 0;flex-wrap:wrap}
.workspace .tabs a{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:44px}
.workspace .notice,.workspace .error{padding:12px 16px;margin-bottom:16px}
.workspace .empty-state{padding:24px 16px}
.workspace .empty-state p{margin:8px auto 12px}
.workspace .table-wrap{border-radius:12px;overscroll-behavior-inline:contain}
.workspace .customer-table th{padding:10px 14px;font-weight:700}
.workspace .customer-table td{padding:12px 14px;vertical-align:middle}
.workspace .customer-name{gap:10px}
.workspace .customer-table tbody tr:hover{background:var(--soft)}
.workspace .pagination{padding:14px;gap:12px;flex-wrap:wrap}
.workspace .table-open{min-height:44px}
.workspace .results-heading{margin:16px 0 12px;flex-wrap:wrap}
.workspace .search-toolbar{gap:12px}
.workspace .input-icon>.icon{top:12px}
.workspace .input-icon>input{padding-right:40px}
.workspace .filter-panel{margin-top:12px}
.workspace .filter-footer,.workspace .filter-actions{margin-top:12px;gap:12px}
.workspace .filter-actions label{margin:0}
.workspace .filter-bar .fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));margin-top:0}
.workspace .filter-bar>button{min-width:100px}
.workspace .filter-bar>.row{justify-content:flex-start}
.workspace .filter-bar>.row>button{margin-inline-start:auto}
.workspace .pipeline-summary{gap:10px;margin-bottom:16px}
.workspace .stage-card{gap:4px;padding:12px 14px;text-decoration:none}
.workspace .stage-card strong{font-size:24px;font-variant-numeric:tabular-nums}
.workspace .stage-card:hover{border-color:var(--primary);background:var(--soft)}
.workspace .opportunity-grid{gap:16px}
.workspace .opportunity-grid h2{margin:12px 0 6px}
.workspace .opportunity-amount{font-size:19px;margin:12px 0}
.workspace .collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.workspace .collection-grid>.empty-state{grid-column:1/-1}
.workspace .report-value{margin:12px 0}
.workspace .report-footer{margin-top:12px;padding-top:12px;flex-wrap:wrap}
.workspace .conversion-row{margin:12px 0}
.workspace .followup-progress{margin:16px 0;padding:14px}
.workspace .performance-secondary{margin-bottom:16px;gap:10px}
.workspace .performance-breakdown{gap:20px}
.workspace .channel-grid{gap:10px}
.workspace .channel-tile{padding:12px}
.workspace .recent-activity{margin:16px 0;padding-top:12px}
.workspace .contact-block{padding:10px 0}
.workspace .profile-summary{align-items:start;gap:12px}
.workspace .profile-summary>.card{padding:14px;margin:0}
.workspace .profile-actions{margin:16px 0 12px;gap:10px}
.workspace .profile-actions .primary{padding:9px 17px}
.workspace .profile-links{gap:16px;flex-wrap:wrap;margin-bottom:16px}
.workspace .profile-links a{display:inline-flex;align-items:center;min-height:44px}
.workspace .profile-aside{position:static}
.workspace .profile-aside h2{font-size:16px}
.workspace .timeline-item{padding-bottom:18px}
.workspace details.card:not([open]){padding:8px 16px}
.workspace details.card>summary{display:flex;align-items:center;gap:8px;list-style:none}
.workspace details.card>summary::-webkit-details-marker{display:none}
.workspace details.card>summary::after{content:'+';margin-inline-start:auto;flex-shrink:0;font-size:22px;font-weight:400;color:var(--muted)}
.workspace details.card[open]>summary::after{content:'−'}
.workspace details.card>form.card{padding:0;border:0;box-shadow:none;margin:0}
.workspace .form-dialog{padding:22px;border-radius:14px;max-height:calc(100dvh - 32px);overscroll-behavior:contain}
.workspace .dialog-heading{margin-bottom:16px;padding-bottom:12px}
.workspace .dialog-heading h2{margin:0}
.workspace .sidebar{width:224px;padding:24px 14px 16px;scrollbar-width:thin;scrollbar-color:#57746b transparent}
.workspace .workspace-body{margin-right:224px}
.workspace .brand{font-size:25px;gap:10px}
.workspace .brand-mark{width:40px;height:40px;border-radius:12px;font-size:28px}
.workspace .nav-caption{margin:20px 12px 8px}
.workspace .nav-link{padding:9px 12px;margin:3px 0;min-height:44px;gap:10px;font-size:13px}
.workspace .sidebar-bottom{padding-top:20px}
.workspace .team-note{padding:10px}
.workspace .topbar{min-height:72px;padding:12px 24px;gap:16px}
.workspace .topbar-tools{gap:16px}
.workspace .app-footer{padding:12px 24px}
.nav-toggle{display:none}
@media(min-width:1400px){.workspace .profile-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:721px){.page-dashboard>.filter-bar{display:flex;gap:12px;align-items:end}.page-dashboard>.filter-bar .fields{flex:1;margin:0}.workspace .page-users .user-card-header{margin-bottom:12px}.page-users .user-card-header+label{margin-top:0}}
@media(max-width:1200px){.workspace .pipeline-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace .profile-layout{grid-template-columns:minmax(0,1fr) 280px}}
@media(max-width:1100px){.workspace .today{display:none}.workspace .performance-breakdown{grid-template-columns:1fr}}
@media(max-width:960px){
 .workspace .sidebar{position:static;width:auto;padding:12px 20px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:0 12px}
 .workspace .sidebar>.nav-caption,.workspace .sidebar-bottom{display:none}
 .workspace .sidebar nav{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:12px}
 .workspace .sidebar nav>.nav-caption{grid-column:1/-1;margin:12px 8px 4px}
 .workspace .sidebar .nav-link{margin:0;flex-direction:row;justify-content:flex-start;text-align:start;font-size:12px;padding:9px;gap:8px}
 .workspace .sidebar nav.nav-collapsed{display:none}
 .nav-toggle{display:inline-flex;font-size:12px;padding:8px 12px;border-color:#ffffff30;background:#ffffff0b;color:#e0ebe7}
 .nav-toggle:hover{color:#fff;background:#ffffff18}
 .nav-toggle::after{content:'+';font-size:18px}
 .nav-toggle[aria-expanded=true]::after{content:'−'}
 .workspace .workspace-body{margin:0}
 .workspace .topbar{min-height:64px;padding:10px 20px}
 .workspace .topbar-tools{gap:10px}
 .workspace main{padding:20px}
}
@media(max-width:720px){
 .workspace main{padding:18px 14px}
 .workspace .sidebar{padding:12px 14px}
 .workspace .sidebar .brand{font-size:23px}
 .workspace .sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .topbar{padding:10px 14px;flex-wrap:wrap;gap:8px}
 .workspace .breadcrumb{font-size:11px;flex:1;min-width:140px;flex-wrap:wrap;gap:6px}
 .workspace .topbar-tools{gap:8px}
 .workspace .account-chip>span:last-child{display:none}
 .workspace .topbar-tools .notification-link{padding:8px;width:44px}
 .workspace h1{font-size:22px}
 .workspace .page-heading{gap:12px;margin-bottom:16px}
 .workspace .card{padding:14px}
 .workspace .grid,.workspace .profile-layout,.workspace .import-layout{grid-template-columns:1fr}
 .workspace .fields{grid-template-columns:1fr;gap:12px}
 .workspace .stat{padding:12px}
 .workspace .stat-top{align-items:flex-start}
 .workspace .stat strong{font-size:26px}
 .workspace .pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .profile-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .profile-layout>.profile-aside{grid-row:auto}
 .workspace .form-actions{gap:8px}
 .workspace .form-actions .primary{margin-inline-start:0}
 .workspace .filter-bar>.row{align-items:stretch}
 .workspace .filter-bar>.row>button{margin-inline-start:0}
 .workspace .performance-secondary{grid-template-columns:1fr}
 .workspace .performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .customer-table td{padding:10px 14px}
 .workspace .search-toolbar{grid-template-columns:minmax(0,1fr) 110px}
 .workspace .app-footer{padding:12px 14px;flex-wrap:wrap}
 .workspace .profile-links{gap:12px}
 .workspace .reason-row{gap:8px;padding:10px 0}
 .workspace .reason-row label{margin:0}
}
@media(max-width:480px){
 .workspace .profile-summary{grid-template-columns:1fr}
 .workspace .profile-summary>.card{padding:12px 14px}
 .workspace .profile-actions>*{flex:1 1 100%}
 .workspace .form-actions>*{flex:1 1 auto}
 .workspace .stat-top{font-size:12px}
 .workspace .stat-icon .icon{width:16px;height:16px}
 .workspace .profile-hero{gap:10px}
 .workspace .account-chip{display:none}
 .workspace .filter-bar .fields{grid-template-columns:1fr}
 .workspace .search-toolbar{grid-template-columns:1fr}
 .workspace .search-toolbar>button{grid-column:auto}
}
@media(max-width:600px){.workspace dialog#contact-form{padding:16px;border-radius:0;max-height:100dvh}.workspace .channel-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* A shared report explanation must not occupy a card column. */
.workspace .collection-grid>.form-note{grid-column:1/-1;margin:0}
.workspace .page-campaigns>.button{margin-bottom:16px}
.workspace #customer-history>.choices{display:flex;gap:8px 16px;flex-wrap:wrap;margin-bottom:16px}
.workspace #customer-history>.choices a{display:inline-flex;align-items:center;min-height:44px}
.workspace .page-users .grid>section:first-child{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.workspace .page-users .grid>section:first-child>.card{margin:0}
@media(max-width:720px){.workspace .customer-table tr{padding:12px}.workspace .customer-table td{padding:5px 0}.workspace .performance-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
.workspace .report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px;margin-bottom:16px;align-items:start}
.workspace .report-grid>.card{margin:0}
.workspace #followup-inbox .report-grid{grid-template-columns:1fr}
.workspace .table-wrap>table:not(.customer-table){width:100%;border-collapse:collapse;text-align:start;font-size:13px}
.workspace .table-wrap>table:not(.customer-table) th{padding:10px 14px;background:#f8faf8;color:var(--muted);white-space:nowrap}
.workspace .table-wrap>table:not(.customer-table) td{padding:12px 14px;border-top:1px solid var(--line)}
.workspace .table-wrap>table:not(.customer-table) tbody tr:hover{background:var(--soft)}
.workspace .contact-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.workspace .contact-shortcuts .section-heading{margin:0}
.workspace .contact-shortcuts .choices{display:flex;flex-wrap:wrap;gap:8px;margin-inline-start:auto;max-height:none;overflow:visible}
.workspace .contact-shortcuts .choices>div{display:flex;flex-wrap:wrap;gap:8px}
@media(min-width:1200px){.workspace .profile-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Follow-up inbox: use both sides of each row for information and its action. */
.workspace .followup-row{
 display:grid;
 grid-template-columns:minmax(0,1fr) auto;
 align-items:center;
 gap:10px 16px;
 padding:14px;
 margin-top:10px;
 border:1px solid var(--line);
 border-inline-start:3px solid #a8bfb3;
 border-radius:10px;
 background:var(--surface);
}
.workspace .followup-row.is-late{border-inline-start-color:#b0772c}
.workspace .followup-row:hover{border-color:#a8bfb3;background:#fbfdfb}
.workspace .followup-row.is-late:hover{border-inline-start-color:#b0772c}
.workspace .followup-content{min-width:0}
.workspace .followup-content h3{margin:0 0 4px;font-size:14px;line-height:1.7}
.workspace .followup-content h3 a{color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.workspace .followup-content h3 a:hover{text-decoration:underline}
.workspace .followup-content p{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.workspace .followup-state{justify-self:end;align-self:start;font-size:11px}
.workspace .followup-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;min-width:0;font-size:12px;color:var(--muted)}
.workspace .followup-due{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.workspace .followup-due .icon{width:16px;height:16px}
.workspace .followup-meta .badge{font-size:11px;padding:2px 7px}
.workspace .followup-action{justify-self:end;align-self:end;white-space:nowrap;padding:8px 12px;font-size:12px;min-height:44px}
.workspace .followup-action .icon{width:16px;height:16px}
@media(max-width:480px){
 .workspace .followup-row{gap:8px 10px;padding:12px;grid-template-columns:minmax(0,1fr) auto}
 .workspace .followup-content{grid-column:1/-1}
 .workspace .followup-state{grid-column:2;grid-row:2;align-self:center}
 .workspace .followup-meta{grid-column:1;grid-row:2;gap:6px;font-size:11px}
 .workspace .followup-action{grid-column:1/-1;justify-self:stretch;margin-top:2px}
}
.workspace #followup-inbox{scroll-margin-top:16px}
.workspace #followup-inbox:target{outline:none}

/* Shared VIP status beside each customer name. */
.customer-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.workspace .customer-title h1{margin:0}
.workspace .vip-form{display:inline-flex;margin:0;flex-shrink:0}
.workspace .vip-star{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:10px;background:transparent;color:var(--muted)}
.workspace .vip-star.is-vip{color:#895b08;background:#fff7dc;border-color:#dfc578}
.vip-star.is-vip .icon{fill:currentColor}
.workspace .vip-star:hover{color:#895b08;border-color:#b38422;background:#fff7dc}
.vip-star:focus-visible{outline:3px solid #b38422;outline-offset:3px}

/* Customer identity colors are also applied to mobile table cards. */
.customer-tone-gold{--customer-tint:#fff8e5;--customer-hover:#fff1c7;--customer-edge:#bc8a19;--customer-ink:#755107}
.customer-tone-silver{--customer-tint:#f0f3f7;--customer-hover:#e4eaf1;--customer-edge:#8795a8;--customer-ink:#3f4f63}
.customer-tone-bad_debt{--customer-tint:#fff0f0;--customer-hover:#ffe2e2;--customer-edge:#c44e4e;--customer-ink:#962e2e}
.customer-tone-vip{--customer-tint:#f6f0ff;--customer-hover:#eee2ff;--customer-edge:#9470c6;--customer-ink:#694594}
.customer-tone-none{--customer-tint:#fff;--customer-hover:#f8faf9;--customer-edge:var(--line);--customer-ink:var(--muted)}
.workspace .customer-table tr[class^="customer-tone-"]>td{background:var(--customer-tint)}
.workspace .customer-table tr[class^="customer-tone-"]:hover>td{background:var(--customer-hover)}
.workspace .customer-table tr[class^="customer-tone-"]>td:first-child{border-inline-start:4px solid var(--customer-edge)}
.workspace .customer-identity,.workspace .customer-info-card,.workspace .customer-category-card{background:var(--customer-tint);border:1px solid var(--customer-edge);border-inline-start-width:4px}
.workspace .customer-identity{padding:18px;border-radius:12px;align-items:center}
.customer-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:6px;border:1px solid var(--customer-edge,var(--line));background:var(--customer-tint,#f8faf9);color:var(--customer-ink,var(--muted));font-size:12px;font-weight:700;white-space:nowrap}
.customer-badge-picker{margin-top:6px}
.customer-badge-picker>summary{display:flex;align-items:center;gap:8px;cursor:pointer;width:fit-content;min-height:44px;list-style:none}
.customer-badge-picker>summary::-webkit-details-marker{display:none}
.badge-edit-label{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.workspace .customer-badge-form{display:grid;gap:8px;margin:4px 0 10px;padding:12px;border:1px solid var(--customer-edge,var(--line));border-radius:8px;background:#fff;max-width:300px;min-width:180px}
.workspace .customer-badge-form label{margin:0}
.workspace .customer-badge-form button{justify-content:center}
.workspace .customer-badge-filter{max-width:320px}
@media(max-width:720px){
 .workspace .customer-table tr[class^="customer-tone-"]{background:var(--customer-tint);border-inline-start:4px solid var(--customer-edge)}
 .workspace .customer-table tr[class^="customer-tone-"]>td:first-child{border-inline-start:0}
 .workspace .customer-identity{padding:14px}
}

.customer-classification-filters{display:flex;align-items:center;gap:12px 24px;flex-wrap:wrap}
.workspace .customer-classification-filters>label{margin:10px 0}
.customer-classification-filters .customer-badge-filter{flex:1;min-width:180px}

/* Compact customer search and scan-friendly rows. */
.workspace .customer-list-heading{margin-bottom:12px;min-height:44px}
.workspace .customer-list-heading h1{margin:0;font-size:24px}
.workspace .customer-search-card{padding:14px 16px;margin-bottom:10px}
.customer-search-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 150px 140px auto auto;gap:12px;align-items:end}
.workspace .customer-search-toolbar>label{margin:0}
.workspace .customer-search-toolbar .customer-vip-filter{white-space:nowrap;margin:0;min-height:44px;gap:6px;border:1px solid var(--line);padding:8px 10px}
.customer-search-submit{white-space:nowrap}
.workspace .customer-advanced-filters{margin-top:10px}
.customer-advanced-filters>summary{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13px}
.customer-advanced-filters>summary>.muted{font-weight:400;font-size:12px}
.customer-advanced-filters>summary::after{content:'⌄';margin-inline-start:auto}
.customer-advanced-filters[open]>summary::after{content:'⌃'}
.workspace #customer-search-status:empty{display:none}
.workspace #customer-search-status{margin:8px 0;font-size:12px}
.customer-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:8px 0}
.filter-chip{display:inline-flex;align-items:center;gap:6px;min-height:44px;max-width:100%;padding:5px 9px;border-radius:8px;border:1px solid var(--line);background:#fff;font-size:12px;text-decoration:none;overflow-wrap:anywhere}
.filter-chip .icon{height:14px;width:14px}
.filter-clear{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px;font-size:12px}
.workspace .page-customers .results-heading{margin:10px 0 8px}
.workspace .page-customers .results-heading h2{margin:0;font-size:15px}
.customer-table-compact{table-layout:fixed;width:100%}
.customer-table-compact th:nth-child(1){width:29%}
.customer-table-compact th:nth-child(2){width:13%}
.customer-table-compact th:nth-child(3){width:10%}
.customer-table-compact th:nth-child(4){width:12%}
.customer-table-compact th:nth-child(5){width:26%}
.customer-table-compact th:nth-child(6){width:10%}
.workspace .customer-table-compact td{padding:10px 12px;vertical-align:top;overflow-wrap:anywhere}
.workspace .customer-table-compact .customer-name{display:block;min-width:0;max-width:none;margin:0}
.workspace .customer-table-compact .customer-title{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:start}
.customer-table-compact .customer-title>a{align-self:center;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-width:0;line-height:1.7;font-weight:700}
.customer-secondary{display:flex;align-items:center;flex-wrap:wrap;gap:0 10px}
.customer-secondary>small{font-size:11px}
.customer-secondary .customer-badge-picker{margin:0}
.customer-badge-picker>summary:focus-visible{outline:3px solid #ae8026;outline-offset:2px;border-radius:6px}
.workspace .customer-table-compact .customer-badge-picker>summary{margin:0;padding:0;min-height:44px}
.workspace .customer-table-compact .customer-badge-form{min-width:0;width:100%;margin:0 0 8px}
.workspace .customer-table-compact .contact-line{font-size:13px;white-space:nowrap}
.workspace .customer-table-compact .tag-stack{max-width:none;gap:4px}
.workspace .customer-table-compact .tag-stack .badge{font-size:11px;padding:2px 6px}
.workspace .customer-table-compact td>small{font-size:11px}
.workspace .customer-table-compact .table-open{font-size:12px;padding:8px;min-height:44px;white-space:nowrap}
.customer-table-compact .table-open .icon{display:none}
.customer-contact-summary{font-size:12px;line-height:1.7;min-width:0}
.contact-last small{display:block;font-size:11px}
.contact-result,.contact-note,.contact-attempt{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;margin-top:3px}
.contact-note{color:var(--muted);font-size:12px}
.contact-attempt{color:var(--muted);font-size:11px}
.contact-next{display:flex;align-items:center;flex-wrap:wrap;gap:0 8px;border-top:1px solid var(--line);margin-top:6px;padding-top:4px;font-size:11px}
.contact-next>span{color:var(--muted)}
.contact-next.is-late,.contact-next.is-late>span{color:#962e2e}
@media(min-width:721px) and (max-width:1200px){
 .customer-search-toolbar{grid-template-columns:minmax(0,1fr) 140px 130px}
 .customer-search-query{grid-column:1}
 .customer-search-toolbar .customer-vip-filter{grid-column:2;grid-row:2}
 .customer-search-submit{grid-column:3;grid-row:2}
}
@media(max-width:720px){
 .workspace .customer-list-heading{flex-wrap:nowrap;gap:8px}
 .workspace .customer-list-heading h1{font-size:22px}
 .workspace .customer-search-card{padding:12px}
 .customer-search-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .customer-search-query{grid-column:1/-1}
 .customer-search-toolbar .customer-vip-filter{justify-content:center}
 .customer-search-toolbar .customer-search-submit{grid-column:2}
 .customer-advanced-filters>summary>.muted{display:none}
 .customer-table-compact{table-layout:auto}
 .workspace .customer-table-compact td{padding:4px 0}
 .workspace .customer-table-compact td:first-child{padding-top:0}
 .workspace .customer-table-compact .customer-secondary{margin-bottom:4px}
 .workspace .customer-table-compact td[data-label]::before{font-size:11px}
 .workspace .customer-table-compact td:nth-child(5)::before{display:none}
 .customer-contact-summary{border-top:1px solid var(--line);padding-top:8px;margin-top:4px}
 .workspace .customer-table-compact td:last-child{margin-top:6px}
}
