.commercial-overview{margin:0 0 24px;padding:26px;border:1px solid #cbddec;border-radius:18px;background:linear-gradient(115deg,#fff,#edf6fa);color:#103b60}.commercial-overview h2{margin:4px 0 10px;font-size:clamp(1.4rem,2.3vw,2rem)}.commercial-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.commercial-kpi{display:flex;flex-direction:column;gap:10px;padding:22px;background:#fff;border:1px solid #d1e0ed;border-top:4px solid #008a79;border-radius:13px;min-width:0}.commercial-kpi strong{font-size:clamp(1.35rem,2.4vw,2.25rem);overflow-wrap:anywhere}.commercial-kpi small{color:#47657e}.commercial-trend summary{cursor:pointer;font-weight:600;margin:12px 0}.commercial-bars{height:105px;display:flex;gap:4px;align-items:flex-end;border-bottom:1px solid #b9cedf;padding-top:8px}.commercial-bar{flex:1;height:var(--bar-height);background:#087e8b;border-radius:3px 3px 0 0;min-width:2px}.commercial-bar.negative{background:#9d3636}.commercial-trend table{width:100%;max-width:650px}.commercial-trend th,.commercial-trend td{text-align:left;padding:7px;border-bottom:1px solid #d7e4ee}.lead-record-row.lead-stage-red{background:#fff0ef}.lead-record-row.lead-stage-green{background:#eaf8ef}.lead-record-row.lead-stage-blue{background:#eaf3ff}.lead-record-row.lead-stage-gray{background:#f3f4f5}.lead-record-row td{background:transparent!important}.lead-attention-blue{background:#d7e9ff;color:#164f88}.lead-attention-gray{background:#e6e8ea;color:#3d4852}.lead-record-row:hover{filter:brightness(.985)}.lead-record-actions{white-space:normal!important;min-width:100px}.lead-record-actions button{width:100%;margin-bottom:7px}.lead-editor{border-top:4px solid #087e8b}.lead-existing-link{padding:18px;background:#f1f6fb;border:1px solid #ccddeb;border-radius:12px;margin:16px 0 24px}.lead-existing-link>label{display:block;margin:12px 0}.lead-review-details{padding:18px;border:1px solid #cfdfec;border-radius:12px;margin-top:18px}.lead-review-details summary{cursor:pointer;font-weight:600}.lead-review-details pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;max-height:350px;overflow:auto}.lead-editor textarea{min-height:130px}.lead-form-grid label{min-width:0}.lead-editor .actions{flex-wrap:wrap}.lead-editor .actions button{white-space:normal}.lead-table table{table-layout:fixed;width:100%}.lead-record-row td{overflow-wrap:anywhere}.lead-record-row td:last-child{width:120px}@media(max-width:760px){.commercial-overview{padding:16px}.commercial-kpis{grid-template-columns:1fr;gap:10px}.commercial-kpi{padding:16px}.commercial-kpi strong{font-size:1.75rem}.lead-editor .actions button{width:100%}}

@media(max-width:760px){#lead-queue-view .lead-table tr.lead-stage-red{background:#fff0ef}#lead-queue-view .lead-table tr.lead-stage-green{background:#eaf8ef}#lead-queue-view .lead-table tr.lead-stage-blue{background:#eaf3ff}#lead-queue-view .lead-table td:last-child{width:auto}}

#portal-view>.heading{padding:24px;border:1px solid #cedfeb;border-radius:18px;background:linear-gradient(115deg,#fff,#e9f5f8);margin:14px 0 24px}#portal-view>.heading h1{font-size:clamp(1.65rem,2.8vw,2.3rem);margin-top:10px}#simulator-list .card{border-top:4px solid #078475;border-radius:15px;box-shadow:0 4px 15px #0e3e6410}#portal-view>nav{gap:9px;flex-wrap:wrap}

.lead-record-row.lead-recently-saved.lead-stage-red{background:#fff0ef!important}.lead-record-row.lead-recently-saved.lead-stage-green{background:#eaf8ef!important}.lead-record-row.lead-recently-saved.lead-stage-blue{background:#eaf3ff!important}
