.commercial-pipeline-loading{min-height:240px;display:grid;place-items:center;color:var(--muted,#64748b)}
.commercial-pipeline-shell{display:grid;gap:18px;overflow:hidden}
.commercial-pipeline-summary{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}
.commercial-pipeline-summary article{border:1px solid #dfe7f0;border-radius:14px;padding:14px;background:#fff;display:grid;gap:6px}
.commercial-pipeline-summary span{color:#64748b;font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.commercial-pipeline-summary strong{font-size:1.25rem;color:#173b68}
.commercial-pipeline-summary .attention{border-color:#f3b66e;background:#fff8ee}
.commercial-pipeline-board{display:grid;grid-template-columns:repeat(6,minmax(250px,1fr));gap:12px;overflow-x:auto;padding:2px 2px 14px;scroll-snap-type:x proximity}
.commercial-pipeline-column{background:#f5f8fc;border:1px solid #dfe7f0;border-radius:16px;min-height:330px;scroll-snap-align:start}
.commercial-pipeline-column>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid #dfe7f0;color:#173b68}
.commercial-pipeline-column>header span{min-width:27px;height:27px;border-radius:999px;background:#e5eef8;display:grid;place-items:center;font-weight:800}
.commercial-pipeline-column>div{padding:10px;display:grid;align-content:start;gap:10px}
.commercial-opportunity-card{border:1px solid #dce5ef;border-left:4px solid #8ba3bd;border-radius:12px;background:#fff;padding:12px;box-shadow:0 4px 12px rgba(15,38,63,.05)}
.commercial-opportunity-card.priority-high{border-left-color:#d83a3a}.commercial-opportunity-card.priority-medium{border-left-color:#f0a328}
.commercial-card-head,.commercial-card-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.commercial-card-head span{font-size:.7rem;font-weight:900;text-transform:uppercase;color:#60758c}.commercial-card-head small{font-weight:800;color:#173b68}
.commercial-opportunity-card h4{margin:9px 0 7px;color:#112f53}.commercial-opportunity-card p{margin:4px 0;color:#60758c;font-size:.82rem}.commercial-opportunity-card p.overdue{color:#b42318;font-weight:800}
.commercial-card-actions{margin-top:11px;justify-content:flex-start;flex-wrap:wrap}.commercial-card-actions button{min-height:38px;border:1px solid #a9bfd6;border-radius:9px;background:#fff;color:#175da6;font-weight:800;padding:7px 10px}
.commercial-empty{color:#8293a6;text-align:center;padding:28px 8px;font-size:.85rem}
.commercial-editor-shell{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:22px}
#commercialEditorFormV0370{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:start}
#commercialEditorFormV0370 label{display:grid;gap:7px;color:#294968;font-weight:800;font-size:.84rem}
#commercialEditorFormV0370 input,#commercialEditorFormV0370 select,#commercialEditorFormV0370 textarea{width:100%;min-height:44px;border:1px solid #bccbda;border-radius:10px;background:#fff;color:#17324f;padding:10px;font:inherit;box-sizing:border-box}
#commercialEditorFormV0370 textarea{min-height:84px;resize:vertical}.commercial-editor-wide{grid-column:1/-1}.commercial-editor-actions{display:flex;justify-content:flex-end}
.commercial-history{border-left:1px solid #dfe7f0;padding-left:18px}.commercial-history h3{margin-top:0;color:#173b68}.commercial-history ol{list-style:none;padding:0;margin:0;display:grid;gap:10px}.commercial-history li{border:1px solid #dfe7f0;border-radius:10px;padding:10px;display:grid;gap:4px}.commercial-history li span{color:#708299;font-size:.78rem}.commercial-history li p{margin:4px 0 0;color:#334e68;font-size:.86rem}
@media(max-width:900px){.commercial-pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.commercial-editor-shell{grid-template-columns:1fr}.commercial-history{border-left:0;border-top:1px solid #dfe7f0;padding:18px 0 0}.commercial-pipeline-board{grid-template-columns:repeat(6,minmax(82vw,1fr))}}
@media(max-width:560px){.commercial-pipeline-summary{grid-template-columns:1fr 1fr}.commercial-pipeline-summary article{padding:11px}.commercial-pipeline-summary strong{font-size:1rem}#commercialEditorFormV0370{grid-template-columns:1fr}#commercialEditorFormV0370 label{grid-column:1}.commercial-card-actions button{min-height:44px}.commercial-pipeline-board{grid-template-columns:repeat(6,minmax(86vw,1fr))}}
