.prospects{max-width:1800px;margin:auto}.prospects>header,.prospect-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.prospects h1{font-size:var(--ui-page-title,38px)}.prospect-panel{background:white;border:1px solid #d7deed;border-radius:22px;overflow:hidden}.prospect-filters{display:flex;flex-wrap:wrap;gap:var(--layout-control-gap,12px);align-items:end;padding:var(--layout-filter-padding,20px);background:var(--workspace-background,#f5f6fc)}.prospect-filters .field{flex:1 1 210px;min-width:0}.prospects .field,.prospect-dialog .field{display:flex;flex-direction:column;gap:8px}.prospects input,.prospects select,.prospect-dialog input:not([type=checkbox]),.prospect-dialog select,.prospect-dialog textarea{width:100%;min-height:48px;border:1px solid #cbd3e5;border-radius:12px;padding:12px;font:inherit;box-sizing:border-box}.prospects select,.prospect-dialog select{padding-right:48px}.prospect-scroll{overflow:auto}.prospects table{width:100%;border-collapse:collapse;font-size:14px}.prospects th{text-align:left;background:#edf0f8}.prospects th,.prospects td{padding:16px;vertical-align:top;border-bottom:1px solid #dfe4ef}.prospects td small{display:block;color:#576780;line-height:1.5;margin-top:6px;overflow-wrap:anywhere}.prospects td:nth-child(2){min-width:190px}.prospect-actions{display:flex;flex-wrap:wrap;gap:12px}.prospect-panel>footer{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}.prospects [data-error]:empty{display:none}.prospects [data-error]{padding:0 24px;color:#ac2534}.prospect-dialog{width:min(800px,calc(100% - 32px));max-height:90vh;border:1px solid #d2d9ea;border-radius:22px;padding:24px;color:#1c2943;box-sizing:border-box}.prospect-dialog::backdrop{background:#14213a66}.prospect-dialog h2{font-size:20px;margin:0}.prospect-body{display:grid;gap:16px}.prospect-body form{display:grid;gap:16px}.prospect-offers{display:grid;gap:12px;padding-top:20px}.prospect-offers>div{display:grid;gap:8px;border:1px solid #d8d7fc;background:#f5f4ff;border-radius:16px;padding:16px}.prospect-dialog [role=alert]{color:#8c2937}.prospect-confirm{display:flex;align-items:center;gap:12px;min-height:48px}.prospect-confirm input{width:26px;height:26px;flex-shrink:0;accent-color:#6455db}.prospect-dialog textarea{line-height:1.5;resize:vertical}.prospects button:focus-visible,.prospect-dialog button:focus-visible,.prospects input:focus-visible,.prospect-dialog input:focus-visible,.prospects select:focus-visible,.prospect-dialog select:focus-visible,.prospect-dialog textarea:focus-visible{outline:3px solid #8a7bed;outline-offset:3px}@media(max-width:650px){.prospects>header{align-items:flex-start;flex-direction:column}.prospects h1{font-size:30px}.prospect-filters{padding:16px}.prospect-filters .field{flex-basis:100%}.prospect-dialog{padding:16px}.prospect-dialog>header{gap:12px}.prospect-actions>*{flex:1 1 150px}.prospect-panel>footer{flex-wrap:wrap}}
.prospect-dialog [data-preview]{display:grid;gap:20px}

.prospect-reference{display:flex;align-items:center;gap:var(--layout-compact-gap,8px)}.prospect-reference>a{overflow-wrap:anywhere}.prospect-reference-copy{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;padding:8px;border:1px solid #d7d4fa;border-radius:9px;background:white;color:#6455db;cursor:pointer}.prospect-reference-copy svg{width:18px;height:18px}.prospect-reference-copy:hover{background:#f1efff}.prospect-copy-status{display:block;color:#526079;font-size:12px}.prospect-copy-status:not(:empty){margin-top:8px}

.prospect-signature{display:grid;gap:12px;padding:20px 0;border-top:1px solid var(--border,#dfe3ef)}.prospect-signature img{display:block;width:501px;max-width:100%;height:auto}.prospect-signature small{line-height:1.5}

.prospect-template-variables{display:grid;gap:12px;padding:20px;border:1px solid #d7deed;border-radius:16px;background:#f5f6fc}.prospect-template-variables p{margin:0}.prospect-template-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}[data-template-example]{border-top:1px solid #d7deed;padding-top:24px;overflow-wrap:anywhere}[data-template-status]{margin:0;line-height:1.5}

/* Keep the loading and populated tables on the same column grid. */
.prospects table{table-layout:fixed;min-width:1240px}
.prospects th:nth-child(1){width:14%}.prospects th:nth-child(2){width:18%}.prospects th:nth-child(3){width:15%}.prospects th:nth-child(4){width:23%}.prospects th:nth-child(5){width:10%}.prospects th:nth-child(6){width:20%}
.prospects td{overflow-wrap:anywhere}.prospects .prospect-scroll{min-width:0}
.prospects td[role=status]{height:360px;vertical-align:top}

.prospects [data-outlook-personal]{padding:var(--layout-panel-inset,24px);margin-bottom:24px;}
.prospects [data-outlook-personal] .prospect-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;}
.prospects [data-outlook-personal] .prospect-actions>div{flex:1;min-width:220px;overflow-wrap:anywhere;}
.prospects [data-outlook-personal] p{margin:6px 0 0;color:var(--text-muted,#52627b);}
.prospects [data-outlook-personal] [role=alert]:empty{display:none;}
@media(max-width:600px){.prospects [data-outlook-personal] .prospect-actions{display:flex;flex-direction:column;align-items:stretch;}.prospects [data-outlook-personal] .button{width:100%;}}
.prospects [data-outlook-personal] .prospect-actions>.button{flex:0 0 auto;min-height:48px;}
