/* V21: presentation only. Financial sources and scopes remain native. */
:root{--workspace-navy:#073563;--workspace-teal:#087f68;--workspace-border:#d5e2ed;--workspace-muted:#4d657a}
.portal-workbench{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;margin:4px 0 26px;border:1px solid var(--workspace-border);border-left:5px solid var(--workspace-teal);border-radius:18px;background:linear-gradient(110deg,#fff,#eef7f8)}
.portal-workbench h2{font-size:1.45rem;margin:6px 0 10px}.portal-workbench p{max-width:600px;line-height:1.6;color:var(--workspace-muted)}.workbench-actions{display:flex;gap:10px;flex-wrap:wrap;max-width:370px}.workbench-actions button{min-height:44px}
.lead-view-switch{display:flex;gap:8px;align-items:center;margin:20px 0 12px}.lead-view-switch button[aria-pressed=true]{background:#073563;color:#fff;border-color:#073563}
.lead-board-caption{font-size:.82rem;color:var(--workspace-muted);margin:12px 0 18px}.lead-board-lanes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}.lead-lane{background:#f0f5fa;border-radius:14px;border:1px solid var(--workspace-border);padding:12px;min-width:0}.lead-lane h4{margin:4px 0 16px;font-size:.88rem}.lead-lane-pending{border-top:4px solid #ad3c38}.lead-lane-opportunity{border-top:4px solid #087f68}.lead-lane-proposal{border-top:4px solid #2865a9}.lead-lane-order{border-top:4px solid #073563}.lead-board-card{padding:15px 12px;border:1px solid var(--workspace-border);border-radius:10px;background:#fff;margin:10px 0;overflow-wrap:anywhere}.lead-board-card strong,.lead-board-card small{display:block}.lead-board-card small{margin:9px 0;color:var(--workspace-muted)}.lead-board-card p{font-size:.8rem;line-height:1.5}.lead-board-card button{width:100%;font-size:.8rem;margin-top:8px;min-height:40px}
.lead-journey{margin:22px 0;padding:20px;border:1px solid var(--workspace-border);border-radius:14px;background:#f7fafc}.lead-journey h3{font-size:1rem}.lead-journey ol{list-style:none;margin:20px 0;padding:0}.lead-journey li{position:relative;border-left:2px solid #bed8da;padding:0 0 20px 20px;margin-left:5px}.lead-journey li::before{content:'';position:absolute;left:-6px;top:3px;width:10px;height:10px;border-radius:50%;background:#087f68}.lead-journey li p{margin:6px 0;line-height:1.5}.lead-journey small{color:var(--workspace-muted)}.lead-next-action{color:#244a66!important;font-weight:600;line-height:1.6}
.lead-editor{box-shadow:0 8px 32px #07356308}.lead-editor .caption{flex-wrap:wrap}.lead-editor .caption h3{font-size:1.25rem}.lead-editor .span-all:has(#lm-send){position:sticky;bottom:0;z-index:2;background:#fff;border-top:1px solid var(--workspace-border);padding:14px 0;box-shadow:0 -8px 16px #fff}.lead-existing-link{background:#f3f8fc;padding:18px;border:1px solid var(--workspace-border);border-radius:12px}.lead-review-details{margin:20px 0}.lead-review-details summary{cursor:pointer;padding:12px 0}.lead-propose{min-height:44px}
#lead-queue-view .lead-table table{table-layout:fixed;width:100%}#lead-queue-view .lead-table td{overflow-wrap:anywhere;vertical-align:top}#lead-queue-view .lead-table th:nth-child(1){width:18%}#lead-queue-view .lead-table th:nth-child(2){width:18%}#lead-queue-view .lead-table th:nth-child(3){width:9%}#lead-queue-view .lead-table th:nth-child(4){width:15%}#lead-queue-view .lead-table th:nth-child(5){width:25%}#lead-queue-view .lead-table th:nth-child(6){width:15%}.lead-record-actions button{width:100%;white-space:normal;min-height:40px}
.commercial-overview{border:1px solid var(--workspace-border);border-radius:18px;background:linear-gradient(110deg,#fff,#eff7f7);padding:24px;margin:10px 0 24px}.commercial-overview h2{font-size:1.4rem}.commercial-kpi{background:white;border:1px solid var(--workspace-border);border-radius:13px;padding:20px}.commercial-kpi strong{font-variant-numeric:tabular-nums}.commercial-kpis{gap:16px}.commercial-bars{border-bottom:1px solid #c5d6df}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #357bba;outline-offset:3px}
@media(max-width:1050px){.lead-board-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-workbench{padding:24px;align-items:flex-start;flex-direction:column}.workbench-actions{max-width:none}}
@media(max-width:760px){.lead-board-lanes{grid-template-columns:minmax(0,1fr)}.portal-workbench{padding:20px}.portal-workbench h2{font-size:1.2rem}.workbench-actions{width:100%}.workbench-actions button{width:100%}.commercial-overview{padding:16px}.lead-journey{padding:16px}.lead-editor .span-all:has(#lm-send){position:static}#lead-queue-view .lead-table td{width:auto}.lead-journey h3{font-size:1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
