.cs-hero{display:flex;justify-content:space-between;gap:1.5rem;align-items:flex-end;margin-bottom:1.35rem}.cs-hero h1{margin:.2rem 0;font-size:clamp(2rem,4vw,3.35rem)}.cs-hero-actions{display:flex;gap:.65rem;flex-wrap:wrap}.cs-filters{display:grid;grid-template-columns:repeat(7,minmax(110px,1fr));gap:.75rem;align-items:end}.cs-filters label{font-size:.76rem;color:var(--muted);font-weight:700}.cs-filters input,.cs-filters select{width:100%;margin-top:.3rem}.cs-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0}.cs-kpi{position:relative;overflow:hidden;min-height:128px}.cs-kpi::after{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:-28px;top:-28px;background:color-mix(in srgb,var(--orange) 15%,transparent)}.cs-kpi.primary{grid-column:span 2;background:linear-gradient(135deg,color-mix(in srgb,var(--chart-usd) 16%,var(--panel)),var(--panel));border-color:color-mix(in srgb,var(--chart-usd) 45%,var(--border))}.cs-kpi strong{display:block;font-size:clamp(1.6rem,3vw,2.55rem);margin:.55rem 0}.cs-kpi small{color:var(--muted)}.cs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}.cs-chart{height:300px}.cs-chart.large{height:370px}.cs-tabs{display:flex;gap:.45rem;flex-wrap:wrap;margin-bottom:1rem}.cs-tabs button{border:1px solid var(--border);background:var(--panel);color:var(--text);border-radius:999px;padding:.65rem 1rem}.cs-tabs button.active{background:var(--orange);color:#fff;border-color:var(--orange)}.cs-badge{display:inline-flex;padding:.28rem .55rem;border-radius:999px;font-size:.75rem;font-weight:800}.cs-badge.positive,.cs-badge.low,.cs-badge.closed,.cs-badge.valid{background:#dcfce7;color:#087443}.cs-badge.negative,.cs-badge.high,.cs-badge.invalid,.cs-badge.duplicate{background:#fee2e2;color:#b42318}.cs-badge.neutral,.cs-badge.medium,.cs-badge.warning{background:#fff2cc;color:#8a5500}.cs-badge.mixed,.cs-badge.follow_up_required{background:#e9e5ff;color:#5b3db3}.cs-data-quality{display:flex;gap:.7rem;flex-wrap:wrap}.cs-data-quality span{padding:.45rem .75rem;border-radius:.6rem;background:var(--surface-soft);font-size:.83rem}.cs-preview{max-height:420px;overflow:auto}.cs-upload-zone{border:2px dashed var(--border);border-radius:1rem;padding:1.5rem;text-align:center;background:color-mix(in srgb,var(--panel) 85%,transparent)}.cs-upload-zone input{max-width:520px}.cs-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.cs-form-grid label{font-size:.78rem;font-weight:700;color:var(--muted)}.cs-form-grid input,.cs-form-grid select,.cs-form-grid textarea{width:100%;margin-top:.3rem}.cs-form-grid .wide{grid-column:span 2}.cs-section-actions{display:flex;justify-content:flex-end;gap:.7rem;margin-top:1rem}.cs-empty{padding:2.5rem;text-align:center;color:var(--muted)}.cs-table-link{border:0;background:none;color:var(--orange);font-weight:800;cursor:pointer;padding:0}.cs-attention{border-left:4px solid #dc2626}.cs-record-tabs{display:flex;gap:.5rem;overflow:auto;padding-bottom:.4rem}.cs-record-tabs button{white-space:nowrap}.cs-modal{position:fixed;inset:0;background:rgba(5,8,12,.62);display:grid;place-items:center;padding:1rem;z-index:90}.cs-modal[hidden]{display:none}.cs-modal-card{width:min(720px,100%);max-height:90vh;overflow:auto;background:var(--panel);border:1px solid var(--border);border-radius:1.2rem;padding:1.4rem;box-shadow:0 24px 80px rgba(0,0,0,.3)}
.cs-chart.channel-bars{height:420px}
@media(max-width:1150px){.cs-filters{grid-template-columns:repeat(4,1fr)}.cs-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.cs-hero{display:block}.cs-filters,.cs-form-grid{grid-template-columns:1fr 1fr}.cs-grid{grid-template-columns:1fr}.cs-kpi.primary{grid-column:auto}.cs-chart.large{height:300px}}
@media(max-width:480px){.cs-filters,.cs-form-grid,.cs-kpis{grid-template-columns:1fr}.cs-form-grid .wide{grid-column:auto}}
.cs-source-note{margin-top:1rem;padding:.8rem 1rem;border-left:3px solid var(--orange);background:color-mix(in srgb,var(--surface) 82%,transparent);border-radius:var(--radius-sm);color:var(--muted)}
.cs-quick-filters{grid-column:1/-1;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.cs-quick-filters>span{font-size:.76rem;font-weight:800;color:var(--muted);margin-right:.15rem}.cs-quick-filters button{padding:.52rem .78rem;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--text);box-shadow:none}.cs-quick-filters button:hover,.cs-quick-filters button.active{border-color:var(--orange);background:var(--orange);color:#fff}.chart-export-container{position:relative}.chart-export-button{position:absolute;z-index:4;right:.65rem;top:.55rem;padding:.4rem .62rem;border:1px solid color-mix(in srgb,var(--orange) 45%,var(--border));border-radius:.55rem;background:color-mix(in srgb,var(--panel) 92%,transparent);color:var(--orange);font-size:.72rem;font-weight:800;box-shadow:0 4px 14px rgba(0,0,0,.08);backdrop-filter:blur(6px)}.chart-export-button:hover{background:var(--orange);color:#fff}
.interaction-scope-field{display:grid;gap:.35rem;margin:1rem 0;font-size:.82rem;font-weight:800;color:var(--text)}.interaction-scope-field select{width:100%}.interaction-scope-field small{font-weight:400;color:var(--muted)}
.reconciliation-table{max-height:430px;margin-top:1rem}.reconciliation-table th{position:sticky;top:0;z-index:1}.reconciliation-table .num{font-variant-numeric:tabular-nums}
#churn-preview-body td:nth-last-child(2){min-width:18rem;white-space:normal}
#churn-preview-body td:last-child{min-width:6rem}.cs-modal-card #churn-correction-fields{margin-top:1rem}.cs-modal-card #churn-correction-fields label{min-width:0}
.cs-modal{background:rgba(5,8,12,.72)}.cs-modal-card{background:var(--surface-strong,#fff);color:var(--text,#20242b);box-shadow:0 24px 80px rgba(0,0,0,.38)}.cs-modal-card blockquote{margin:1rem 0;padding:1rem 1.1rem;background:var(--surface-soft,#f4f5f7);color:var(--text,#20242b);border-left:4px solid var(--orange);border-radius:.65rem;white-space:pre-wrap}.cs-modal-card label{display:grid;gap:.35rem;margin-top:.8rem;color:var(--text,#20242b);font-weight:700}.cs-modal-card textarea,.cs-modal-card select,.cs-modal-card input{background:var(--surface-strong,#fff);color:var(--text,#20242b)}.cs-pagination{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;margin-top:1rem}.cs-pagination button{width:auto}
@media (max-width:760px){.cs-source-note{font-size:.85rem}.cs-record-tabs{overflow-x:auto;flex-wrap:nowrap}.cs-record-tabs button{white-space:nowrap}}
.cs-central-filters{grid-template-columns:repeat(5,minmax(130px,1fr))}
@media(max-width:1150px){.cs-central-filters{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.cs-central-filters{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.cs-central-filters{grid-template-columns:1fr}}
