.sales-leads{--ld-blue:#2860d8;--ld-border:#e0e6ef;--ld-muted:#64748b;color:#192a44;display:flex;flex-direction:column;gap:12px;min-width:0}.sales-leads *{box-sizing:border-box}.sales-leads button,.sales-leads input,.sales-leads select,.ld-form input,.ld-form textarea,.ld-form select{font:inherit}.ld-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.ld-header h1{font-size:23px;line-height:1.2;margin:0}.ld-header h1 span{font-size:12px;background:#e9effe;border-radius:6px;padding:4px 7px;color:#2858b8;vertical-align:middle}.ld-header p{font-size:12px;color:var(--ld-muted);margin:5px 0 0}.ld-btn{display:inline-flex;gap:6px;align-items:center;justify-content:center;min-height:34px;padding:6px 11px;border:1px solid #dce3ee;border-radius:7px;background:#fff;color:#284163;cursor:pointer;font-size:12px;font-weight:600;white-space:nowrap}.ld-btn:hover{background:#edf3ff;border-color:#bbcdf2}.ld-btn:focus-visible,.ld-record:focus-visible,.ld-check:focus-visible{outline:3px solid #96b7ff;outline-offset:2px}.ld-btn.primary{background:#285ed4;border-color:#285ed4;color:white}.ld-btn:disabled{opacity:.45;cursor:not-allowed}.ld-inline,.ld-pagination>div{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.ld-filterbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between}.ld-views{display:flex;gap:3px;border-bottom:1px solid var(--ld-border)}.ld-views .ld-btn,.ld-detail-tabs .ld-btn{background:transparent;border:0;border-radius:0;min-height:38px;color:#64748b}.ld-views .ld-btn[aria-pressed=true],.ld-detail-tabs .ld-btn[aria-pressed=true]{color:#2256c3;box-shadow:inset 0 -2px #2860d8}.ld-filterbar form{display:flex;align-items:center;gap:6px;flex:1;justify-content:flex-end;flex-wrap:wrap}.ld-filterbar input,.ld-filterbar select{height:34px;border:1px solid var(--ld-border);border-radius:7px;background:#fff;padding:6px 9px;min-width:0;max-width:190px;font-size:12px;color:#334155}.ld-filterbar input{flex:1;min-width:190px;max-width:330px}.ld-split{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}.ld-split.has-detail{grid-template-columns:minmax(330px,1fr) minmax(360px,44%)}.ld-list,.ld-detail{border:1px solid var(--ld-border);border-radius:10px;background:#fff;overflow:hidden;min-width:0}.ld-list-caption{display:flex;justify-content:space-between;padding:12px 14px;font-size:12px}.ld-list-caption span{color:#64748b}.ld-table-wrap{overflow:auto;max-height:calc(100dvh - 310px);min-height:170px}.ld-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.ld-table th{position:sticky;top:0;z-index:1;text-align:left;background:#f6f8fc;font-size:11px;font-weight:600;color:#596a84;padding:8px 10px;border-block:1px solid #e7ecf4}.ld-table td{border-bottom:1px solid #edf0f5;padding:10px;vertical-align:middle}.ld-table tr.selected{background:#edf3ff}.ld-table tr:hover{background:#f6f9ff}.ld-record{display:flex;align-items:center;gap:9px;text-align:left;border:0;background:none;color:#253c60;cursor:pointer;padding:0;font:inherit}.ld-record span+span{display:flex;flex-direction:column;gap:4px}.ld-record strong{font-weight:650;color:#2153b8}.ld-record small{font-size:11px;color:#718199;max-width:180px;overflow:hidden;text-overflow:ellipsis}.ld-avatar{width:32px;height:32px;border-radius:9px;background:#e9effc;color:#3862b5;display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}.ld-check{width:18px;height:18px;padding:0;border:1px solid #bfcbe0;border-radius:4px;background:#fff;color:#fff;cursor:pointer}.ld-check[aria-checked=true]{background:#2860d8}.ld-stage,.ld-label{display:inline-flex;font-size:10px;font-weight:600;line-height:1.3;padding:4px 7px;border-radius:5px;margin-right:3px}.ld-stage{background:#eef2f8;color:#56647b}.ld-stage.connected,.ld-teal{background:#ddf4f1;color:#12665b}.ld-stage.qualified,.ld-blue{background:#e5edff;color:#2651aa}.ld-stage.attempting,.ld-orange{background:#fff0db;color:#8f5716}.ld-stage.disqualified,.ld-red{background:#ffe5e8;color:#9a3345}.ld-purple{background:#eee5ff;color:#69419e}.ld-pink{background:#fce2f4;color:#9d3a78}.ld-slate{background:#e8edf3;color:#4a6077}.ld-pagination{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:11px;color:#64748b}.ld-detail{position:sticky;top:12px;max-height:calc(100dvh - 235px);display:flex;flex-direction:column}.ld-detail-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f6;padding:6px 14px;font-size:11px;color:#7b8ba2}.ld-detail-top .ld-btn{min-height:27px;padding:3px 9px;border:0}.ld-person{display:flex;align-items:center;gap:10px;padding:14px 16px 7px}.ld-person .ld-avatar{height:40px;width:40px;font-size:19px}.ld-person>div{flex:1}.ld-person h2{margin:0;font-size:18px}.ld-person p{margin:4px 0;color:#718199;font-size:12px}.ld-contact{display:flex;flex-wrap:wrap;gap:5px 16px;padding:0 16px;font-size:12px;color:#375a8e}.ld-labels{padding:10px 16px 5px;display:flex;align-items:center;flex-wrap:wrap;gap:4px}.ld-labels .ld-btn{min-height:23px;padding:3px 6px;font-size:10px;border-style:dashed}.ld-quick{display:flex;gap:5px;padding:8px 16px 12px;flex-wrap:wrap}.ld-quick .ld-btn{font-size:11px;padding:5px 8px;min-height:30px}.ld-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;background:#f8faff;border-block:1px solid #e8edf6;padding:12px 16px}.ld-properties span{display:flex;flex-direction:column;gap:4px;min-width:0}.ld-properties small{font-size:10px;color:#78879d}.ld-properties strong{font-size:12px;overflow:hidden;text-overflow:ellipsis}.ld-detail-tabs{display:flex;padding:0 12px;border-bottom:1px solid #e5eaf3}.ld-detail-content{padding:12px 14px;overflow:auto;min-height:160px;flex:1}.ld-activity{border:1px solid #e5ebf5;border-radius:7px;margin-bottom:8px}.ld-activity summary{display:flex;align-items:center;gap:9px;list-style:none;padding:10px;cursor:pointer}.ld-activity summary::-webkit-details-marker{display:none}.ld-activity summary>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.ld-activity summary strong{font-size:12px;overflow-wrap:anywhere}.ld-activity summary small{font-size:10px;color:#7a889e}.ld-activity-icon{color:#4c75b8;background:#edf3fe;border-radius:7px;width:28px;height:28px;display:grid;place-items:center;flex-shrink:0}.ld-activity-body{padding:0 12px 12px 47px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.ld-activity-body p{margin:6px 0;white-space:normal}.ld-detail-footer{padding:10px 14px;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #e8edf6}.ld-detail-footer span{font-size:12px;color:#516888}.ld-empty{padding:30px 15px;text-align:center;color:#718199;display:grid;gap:10px;font-size:12px;place-content:center}.ld-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#e9f1ff;padding:8px 12px;border-radius:8px;font-size:12px}.ld-warning{background:#fff5df;border:1px solid #eed5a7;padding:10px;border-radius:7px;color:#805b28;font-size:12px}.ld-mail h3{font-size:12px;margin:18px 0 10px}.ld-hint{font-size:11px;color:#76849b;line-height:1.5}.ld-connect{padding:12px;background:#f1f5ff;border-radius:7px;font-size:12px;margin:10px 0}.ld-sequence-step{display:flex;gap:10px;border-bottom:1px solid #e8edf6;padding:14px 0}.ld-sequence-step>div:first-of-type{flex:1;min-width:0}.ld-sequence-step strong,.ld-sequence-step small{display:block;font-size:12px}.ld-sequence-step small{font-size:10px;color:#76849b;margin-top:4px}.ld-sequence-step p{font-size:12px;line-height:1.5}.ld-step-number{border-radius:50%;background:#eaf0fe;width:24px;height:24px;display:grid;place-items:center;font-size:11px}.ld-sequence-step.done{opacity:.65}.ld-form{display:grid;gap:12px}.ld-form label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#425774}.ld-form input,.ld-form select,.ld-form textarea{width:100%;padding:9px;border:1px solid #d5dfed;border-radius:7px;font-size:13px;color:#1e3455;background:#fff;min-width:0}.ld-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ld-form footer{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.ld-form fieldset{border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:8px}.ld-form legend{font-size:12px;color:#42649a}.ld-color-swatches{display:flex;gap:8px}.ld-color-swatches span{width:22px;height:22px;border-radius:50%;border:2px solid currentColor}.ld-envelope{background:#f5f8fe;padding:12px;border-radius:7px;font-size:12px;line-height:1.8}.overdue{color:#af4d34}@media(max-width:1050px){.ld-split.has-detail{grid-template-columns:minmax(250px,1fr) minmax(340px,1.2fr)}.ld-header{align-items:flex-start}.ld-detail{max-height:calc(100dvh - 190px)}}@media(max-width:760px){.ld-header{flex-wrap:wrap}.ld-header h1{font-size:20px}.ld-filterbar form{justify-content:flex-start}.ld-filterbar input{max-width:none}.ld-split.has-detail{display:block}.ld-split.has-detail .ld-list{display:none}.ld-detail{position:relative;top:0;max-height:none}.ld-detail-content{max-height:65dvh}.ld-list-caption span{display:none}.ld-form-grid{grid-template-columns:1fr}.ld-detail-tabs{justify-content:space-between}.ld-header p{max-width:250px}.ld-table-wrap{max-height:65dvh}.ld-detail-top .ld-btn{min-height:36px}.ld-check{height:24px;width:24px}}
/* Compact existing live Sales shell: preserve readable rows and all actions. */
.sales-workspace{width:100%;max-width:none;gap:12px}.sales-context{padding-block:4px!important;margin-bottom:12px!important}.sales-context h1{font-size:24px!important;margin:0!important}.sales-context p{font-size:12px!important;margin:6px 0 0!important}.sales-workspace .sales-summary{gap:10px!important;margin-block:10px!important}.sales-workspace .sales-summary>div{padding:12px!important}.sales-workspace .sales-tools{margin-block:10px!important}.sales-workspace .sales-page-note{font-size:12px!important;margin:8px 0!important}.sales-workspace .sales-empty{padding:24px!important;min-height:0!important}.sales-workspace .sales-scope-note{font-size:11px;margin-top:8px}.sales-workspace .sales-board{gap:10px!important}.sales-workspace .sales-column{padding:10px!important}.sales-workspace .sales-table td{padding:10px!important}

/* Personal saved views and compact column controls. */
.ld-viewtools{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.ld-viewtools form{display:flex;align-items:center;gap:6px;min-width:0}.ld-viewtools select{max-width:260px;min-width:180px;padding:7px 9px;border:1px solid var(--ld-border);border-radius:7px;background:#fff;color:#334155;font-size:12px;height:34px}.ld-view-list,.ld-column-list{display:grid;gap:6px}.ld-view-list>div,.ld-column-list>div{display:flex;align-items:center;gap:6px;padding:8px;border:1px solid #e0e6ef;border-radius:7px}.ld-view-list>div>span{flex:1;min-width:0;overflow-wrap:anywhere}.ld-view-list strong,.ld-view-list small{display:block;font-size:12px}.ld-view-list small{font-size:11px;color:#64748b;margin-top:4px}.ld-column-list>div>div{display:flex;gap:4px}.ld-column-toggle{display:flex;align-items:center;gap:9px;flex:1;text-align:left;background:transparent;border:0;color:#284163;min-height:30px;font-size:13px;cursor:pointer}.ld-column-toggle>span{display:grid;place-items:center;width:18px;height:18px;border:1px solid #c2cde0;border-radius:4px}.ld-column-toggle[aria-checked=true]>span{background:#2860d8;color:white;border-color:#2860d8}.ld-column-toggle:disabled{opacity:.65;cursor:default}.ld-form label.ld-check-label{display:flex;flex-direction:row;align-items:center;gap:8px}.ld-check-label input{width:17px;height:17px;accent-color:#2860d8}.ld-viewtools .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ld-viewtools~.ld-split .ld-table-wrap{max-height:calc(100dvh - 350px)}@media(max-width:760px){.ld-viewtools{gap:7px}.ld-viewtools form{flex:1}.ld-viewtools select{min-width:0;flex:1}.ld-viewtools .ld-btn{font-size:11px;padding:6px 9px}.ld-viewtools~.ld-split .ld-table-wrap{max-height:60dvh}}
/* Sales integrated 1.0: one compact visual system for every permitted Sales role. */
.sales-leads{--ld-blue:#2855e8;--ld-border:#e9ebef;--ld-muted:#717783;color:#20232c;gap:10px;font-size:12px;width:100%}.ld-header{min-height:40px}.ld-header h1{font-size:22px;letter-spacing:-.4px;font-weight:650}.ld-header p{font-size:11px;margin-top:4px}.ld-btn{border-color:#e9ebef;color:#20232c;font-weight:500;line-height:1.2}.ld-btn.primary{background:#2855e8;border-color:#2855e8}.ld-btn.primary:hover{background:#1e43bb}.ld-btn:hover{background:#edf3ff;border-color:#b8c7ff}.ld-btn:focus-visible,.ld-record:focus-visible,.ld-check:focus-visible{outline:2px solid #2855e8;outline-offset:2px}.ld-inline,.ld-phone-actions{display:flex;align-items:center;gap:6px}.ld-filterbar{display:flex;gap:8px;align-items:center;flex-wrap:nowrap}.ld-filterbar>input{flex:1;margin-right:auto;max-width:500px;min-width:120px}.ld-filterbar>select{max-width:180px}.ld-filterbar input,.ld-filterbar select{color:#20232c}.ld-viewline{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:32px}.ld-views{gap:5px;overflow-x:auto;border:0;min-width:0}.ld-views .ld-btn,.ld-detail-tabs .ld-btn{border-radius:5px;min-height:28px;padding:5px 10px;font-size:11px;color:#717783}.ld-views .ld-btn[aria-pressed=true],.ld-detail-tabs .ld-btn[aria-pressed=true]{color:#2855e8;background:#edf3ff;box-shadow:none}
.ld-tag-filter,.ld-view-options{position:relative;flex-shrink:0}.ld-tag-filter>summary,.ld-view-options>summary{list-style:none;cursor:pointer;background:#fff;border:1px solid #e9ebef;border-radius:7px;padding:9px 12px;white-space:nowrap}.ld-view-options>summary{background:transparent;border:0;padding:6px;font-size:11px;color:#717783}.ld-tag-filter>summary::-webkit-details-marker,.ld-view-options>summary::-webkit-details-marker{display:none}.ld-tag-filter>div,.ld-view-options>.ld-viewtools{position:absolute;z-index:20;right:0;top:calc(100% + 5px);width:300px;background:#fff;border:1px solid #e9ebef;box-shadow:0 8px 30px #20232c15;border-radius:9px;padding:12px;display:grid;gap:10px}.ld-tag-filter label{display:flex;align-items:center;justify-content:space-between;gap:8px}.ld-viewtools form{display:flex;gap:6px}.ld-viewtools select{min-width:0;flex:1}.ld-viewtools .ld-inline{justify-content:flex-start}.ld-tag-choices{display:flex;gap:6px;flex-wrap:wrap;max-height:280px;overflow:auto}.ld-tag-choices .ld-check-label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:5px;padding:5px 7px;border:1px solid #e9ebef;border-radius:6px;min-height:32px}.ld-tag-choices input{width:16px;height:16px;margin:0;accent-color:#2855e8}.ld-tag-choices .ld-label{margin:0}.ld-tag-choices small{color:#717783}
.ld-list{border:0;background:transparent;border-radius:0;overflow:visible}.ld-table-wrap{max-height:calc(100dvh - 255px);min-height:100px;border-radius:6px}.ld-table{background:#fff;font-size:12px}.ld-table th{background:#f5f6f8;font-size:10px;font-weight:500;color:#717783;padding:8px 10px;height:32px;border:0}.ld-table td{padding:5px 10px;height:44px;border-bottom:1px solid #f3f4f6}.ld-table td:first-child,.ld-table th:first-child{width:28px;padding-left:10px;padding-right:0}.ld-record{color:#20232c;min-width:120px;gap:8px}.ld-record>span{display:flex;flex-direction:column;gap:3px}.ld-record strong{font-weight:600;color:#20232c;font-size:12px}.ld-record small{font-size:10px;color:#717783;max-width:190px}.ld-check{width:18px;height:18px;border-color:#dfe3eb;border-radius:5px}.ld-check[aria-checked=true]{background:#2855e8;border-color:#2855e8}.ld-phone-actions{flex-wrap:nowrap}.ld-table .ld-phone-actions .ld-btn{min-height:28px;padding:5px 8px;font-size:10px;background:#edf3ff;color:#2855e8;border:0}.ld-table [data-column=phone]{font-size:11px;font-variant-numeric:tabular-nums}.ld-table [data-column=next_date]{font-size:11px;color:#717783}.ld-table [data-column=next_date].overdue{color:#8d5b0c}.ld-stage,.ld-label{font-weight:500;padding:4px 7px;line-height:1.2}.ld-stage{background:#eef0f4;color:#717783}.ld-stage.connected,.ld-stage.attempting,.ld-blue{background:#edf3ff;color:#2855e8}.ld-stage.qualified,.ld-teal{background:#e7f4ef;color:#137a5b}.ld-orange{background:#fff2d9;color:#8d5b0c}.ld-stage.disqualified,.ld-red{background:#ffebee;color:#bd3f45}.ld-slate{background:#eef0f4;color:#717783}.ld-tag-more{font-size:10px;color:#717783}.ld-pagination{padding:10px 0;color:#717783;gap:8px}.ld-pagination .ld-btn{border:0;background:transparent;color:#2855e8;min-height:28px;padding:4px 8px}.ld-bulk{background:#edf3ff}.ld-bulk strong{margin-right:auto}.ld-bulk .ld-btn{min-height:30px;padding:5px 9px;font-size:11px}.ld-mobile-list{display:none}
.ld-detail-open .ld-header>div>.ld-btn{font-size:11px;padding:0;min-height:24px;border:0;background:transparent;color:#717783}.ld-detail-layout{display:grid;grid-template-columns:minmax(270px,36%) minmax(0,1fr);gap:16px;min-width:0;align-items:start}.ld-details-left{display:grid;gap:12px;min-width:0}.ld-detail-card{background:#fff;border:1px solid #e9ebef;border-radius:10px;padding:14px;min-width:0}.ld-detail-card>header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.ld-detail-card h3{font-size:14px;margin:0;font-weight:600}.ld-phone-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;min-height:56px}.ld-phone-row>div:first-child{display:grid;gap:4px;min-width:0}.ld-phone-row small{font-size:10px;color:#717783}.ld-phone-row strong{font-size:13px;font-weight:500;white-space:nowrap}.ld-phone-row .ld-phone-actions{gap:4px}.ld-phone-row .ld-btn{min-height:32px;padding:5px 9px;font-size:11px}.ld-phone-row .ld-btn:first-child{background:#edf3ff;border-color:#edf3ff;color:#2855e8}.ld-detail-card .ld-properties{display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px;font-size:12px;margin:4px 0;background:none;border:0;padding:0}.ld-properties dt{color:#717783;font-size:11px}.ld-properties dd{margin:0;text-align:right;overflow-wrap:anywhere}.ld-detail-card .ld-labels{padding:12px 0 0;gap:3px}.ld-detail-card .ld-labels>.ld-btn{min-height:26px;padding:3px 5px;border:0;background:transparent;color:#2855e8;font-size:10px}.ld-details-left>.ld-detail-footer{padding:0;border:0;flex-wrap:wrap}.ld-activity-card{min-height:480px}.ld-detail-card .ld-detail-tabs{gap:5px;margin-bottom:12px;padding:0;border:0;overflow:auto}.ld-detail-card .ld-detail-content{padding:0;min-width:0}.ld-activity{border:0;background:#f5f6f8;border-radius:8px;margin-bottom:10px}.ld-activity summary{padding:12px;min-height:60px}.ld-activity summary strong{font-weight:600}.ld-activity summary small,.ld-hint{color:#717783}.ld-activity-icon{color:#2855e8;background:#edf3ff;border-radius:6px}.ld-tag-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:10px}.ld-tag-table th,.ld-tag-table td{padding:9px 5px;text-align:left;border-bottom:1px solid #e9ebef}.ld-tag-table th{font-weight:500;color:#717783}.ld-tag-table .ld-btn{font-size:11px;min-height:30px;padding:4px 8px;margin:2px}.ld-tag-table small{display:block;color:#717783}
.sales-compact-shell .topbar{min-height:56px;padding-block:10px}.sales-compact-shell .main-content{padding:16px}.sales-compact-shell .nav-item{min-height:32px;padding-block:7px}.sales-trial .st-header{margin-bottom:12px;gap:12px}.sales-trial .st-header h1{font-size:22px;margin:0 0 4px}.sales-trial .st-header p{font-size:11px}.sales-trial .st-metrics{gap:10px;margin-bottom:12px}.sales-trial .st-metric{padding:12px;gap:6px}.sales-trial .st-metric>strong{font-size:24px}.sales-trial .st-team-card{padding:12px}.sales-trial .st-team-stats{padding:10px 0;margin-top:10px}
@media(max-width:1100px){.ld-filterbar{gap:6px}.ld-filterbar>select{max-width:140px}.ld-detail-layout{grid-template-columns:minmax(250px,40%) minmax(0,1fr);gap:12px}.ld-phone-row{flex-wrap:wrap}.ld-phone-row .ld-phone-actions{margin-left:auto}.ld-table [data-column=owner],.ld-table [data-column=next_date]{max-width:130px;overflow:hidden;text-overflow:ellipsis}}
@media(max-width:760px){.sales-leads{gap:8px}.ld-header{flex-wrap:nowrap;align-items:flex-start;gap:8px}.ld-header h1{font-size:20px}.ld-header p{font-size:10px}.ld-header>.ld-inline{justify-content:flex-end;gap:4px;max-width:65%}.ld-header .ld-btn{min-height:44px;padding:7px 9px;font-size:11px}.ld-header .ld-btn[data-action=sales-leads-tag-manager],.ld-header .ld-btn[data-action=sales-leads-bulk-tags]{display:none}.ld-filterbar{flex-wrap:wrap}.ld-filterbar>input{flex-basis:100%;max-width:none;height:44px}.ld-filterbar>select{flex:1;max-width:none;height:44px}.ld-filterbar>.ld-btn,.ld-tag-filter>summary{min-height:44px;display:flex;align-items:center}.ld-tag-filter>div{right:0;max-width:calc(100vw - 32px);width:290px}.ld-viewline{gap:4px}.ld-views .ld-btn{min-height:44px;padding:5px 8px;font-size:10px}.ld-view-options>summary{min-height:44px;display:flex;align-items:center;font-size:10px}.ld-view-options>.ld-viewtools{max-width:calc(100vw - 32px)}.ld-list>.ld-table-wrap{display:none}.ld-mobile-list{display:block;background:#fff;border-radius:8px}.ld-mobile-row{display:flex;justify-content:space-between;align-items:center;gap:4px;min-height:64px;padding:6px 8px;border-bottom:1px solid #f0f1f4}.ld-mobile-row .ld-record{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;overflow:hidden;min-height:52px;justify-content:center}.ld-mobile-row strong{font-size:12px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ld-mobile-row small{font-size:10px}.ld-mobile-row .ld-record>span{flex-direction:row;gap:3px;overflow:hidden}.ld-mobile-row .ld-label{font-size:9px;padding:2px 5px}.ld-mobile-row .ld-phone-actions{gap:4px}.ld-mobile-row .ld-phone-actions .ld-btn{min-width:44px;min-height:44px;padding:6px;font-size:10px;background:#edf3ff;color:#2855e8;border:0}.ld-pagination{font-size:10px;padding:4px 0}.ld-pagination .ld-btn{min-height:44px;padding:4px 6px}.ld-detail-layout{display:flex;flex-direction:column;gap:12px}.ld-details-left,.ld-activity-card{width:100%}.ld-detail-card{padding:12px}.ld-phone-row{flex-wrap:nowrap}.ld-phone-row .ld-btn{min-height:44px;min-width:44px;padding:6px;font-size:10px}.ld-phone-row strong{font-size:12px}.ld-detail-tabs .ld-btn,.ld-detail-card>header .ld-btn,.ld-detail-footer .ld-btn,.ld-details-left .ld-inline .ld-btn{min-height:44px}.ld-detail-content{max-height:none}.ld-activity-card{min-height:0}.ld-form-grid{grid-template-columns:1fr}.ld-form .ld-btn,.ld-tag-table .ld-btn{min-height:44px}.ld-form input,.ld-form select{min-height:44px}.ld-tag-choices .ld-check-label{min-height:44px}.ld-bulk .ld-btn{min-height:44px}.ld-bulk{gap:6px}.ld-bulk strong{width:100%}.ld-tag-table{font-size:11px}.ld-tag-table th,.ld-tag-table td{padding:6px 3px}.ld-tag-table td:last-child{min-width:90px}.sales-compact-shell .main-content{padding:12px}}

.sales-compact-shell .topbar{height:56px;padding-inline:16px}.sales-compact-shell .main-content{padding:16px;max-width:none}.ld-mobile-select{width:44px;min-width:44px;height:44px;border:1px solid #e9ebef;border-radius:7px;background:#fff;color:#2855e8;font:inherit}.ld-mobile-select[aria-checked=true]{background:#edf3ff;border-color:#2855e8}
@media(max-width:760px){.sales-compact-shell .main-content{padding:12px}.ld-viewtools .ld-btn{min-height:44px}.sales-compact-shell .topbar{padding-inline:12px}}

.ld-copy-number{background:none;border:0;font:inherit;font-size:13px;text-align:left;padding:0;color:#20232c;cursor:copy;white-space:nowrap}.ld-tag-search{display:flex;gap:6px}.ld-tag-search input{min-width:0;flex:1;border:1px solid #e9ebef;border-radius:7px;padding:8px 10px;font:inherit}.ld-tag-search .ld-btn{flex-shrink:0}@media(max-width:760px){.ld-copy-number{min-height:44px;font-size:12px}.ld-tag-search{flex-wrap:wrap}.ld-tag-search input{min-height:44px}.ld-tag-search .ld-btn{min-height:44px}}
@media(max-width:760px){.ld-mobile-row .ld-record{line-height:1.2;gap:2px}.ld-mobile-row strong{font-size:13px;line-height:1.2}.ld-mobile-row small{font-size:11px;line-height:1.2}.ld-mobile-row .ld-label{font-size:10px;line-height:1.2}}
.ld-table .ld-record{line-height:1.25}.ld-table .ld-record strong{line-height:15px}.ld-table .ld-record small{line-height:12px}

/* Contact rows: visible email, aligned actions and restrained separators. */
.ld-table{table-layout:fixed}.ld-table th,.ld-table td{padding-inline:9px}.ld-table th:first-child,.ld-table td:first-child{width:32px}.ld-table th:last-child,.ld-table td:last-child{width:157px}.ld-table [data-column=name]{width:20%}.ld-table [data-column=phone]{width:12%}.ld-table [data-column=email]{width:20%}.ld-table [data-column=stage]{width:9%}.ld-table [data-column=owner]{width:14%}.ld-table [data-column=tags]{width:10%}.ld-table [data-column=next_date]{width:12%}.ld-table td{height:46px;border-bottom:1px solid #e9edf2}.ld-table td[data-column=owner],.ld-table td[data-column=email]{overflow:hidden;text-overflow:ellipsis}.ld-table .ld-record{min-width:0;max-width:100%}.ld-table .ld-record>span{min-width:0;max-width:100%}.ld-table .ld-record strong,.ld-table .ld-record small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.ld-email-link{display:block;width:100%;max-width:100%;padding:0;border:0;background:none;color:#2855e8;font:inherit;font-size:11px;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.ld-email-link:hover{text-decoration:underline}.ld-muted{color:#a0a6af}.ld-table .ld-phone-actions{gap:4px}.ld-table .ld-phone-actions .ld-btn{padding:5px 7px}.ld-table th{letter-spacing:.03em}.ld-table tbody tr:nth-child(even){background:#fafbfd}.ld-mobile-email{color:#2855e8!important;overflow-wrap:anywhere}.ld-mobile-row .ld-phone-actions{gap:4px}.ld-mobile-row .ld-btn{min-height:34px;padding:6px 8px}@media(max-width:1200px) and (min-width:761px){.ld-table{table-layout:auto}.ld-table [data-column=owner]{max-width:115px}.ld-table [data-column=email]{max-width:180px}.ld-table [data-column=name]{max-width:180px}.ld-table td,.ld-table th{padding-inline:7px}}@media(max-width:760px){.ld-mobile-row{grid-template-columns:minmax(0,1fr) auto}.ld-mobile-row .ld-record{min-width:0}.ld-mobile-row .ld-record small{max-width:100%;text-overflow:ellipsis;overflow:hidden}.ld-mobile-row .ld-phone-actions{display:grid;grid-template-columns:repeat(3,auto)}.sales-local-nav{overflow-x:auto;flex-wrap:nowrap}.sales-local-nav>button{flex-shrink:0}}

.ld-number-hint{display:block;padding:0;border:0;background:none;color:#916017;font:600 10px/1.4 inherit;text-align:left;cursor:pointer}.ld-number-warning{display:block!important;color:#916017!important}.ld-table td[data-column="phone"]{font-variant-numeric:tabular-nums;white-space:nowrap}

.ld-record small:empty{display:none}
.ld-import {max-width:100%;min-width:0}
.ld-import form {display:grid;gap:16px}
.ld-import label {display:grid;gap:6px;font-weight:600}
.ld-import input,.ld-import select {max-width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--border,#d9dce5);border-radius:8px;background:var(--surface,#fff);color:inherit;font:inherit}
.ld-import-table {max-height:46vh;overflow:auto;border:1px solid var(--border,#d9dce5);border-radius:10px}
.ld-import table {border-collapse:collapse;width:100%;text-align:left;font-size:13px}
.ld-import th,.ld-import td {padding:10px 12px;border-bottom:1px solid var(--border,#d9dce5);vertical-align:top;max-width:260px;overflow-wrap:anywhere}
.ld-import thead th {position:sticky;top:0;background:var(--surface,#fff);z-index:1}
.ld-import td small {display:block;margin-top:4px;white-space:pre-wrap}
.ld-import-table select {min-width:170px;width:100%}
.ld-import-counts {display:flex;flex-wrap:wrap;gap:10px 20px;padding:12px;border-radius:10px;background:var(--surface-hover,#f1f4f9)}
.ld-import footer {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:16px}
.ld-import-result {display:inline-block;font-weight:700;text-transform:capitalize}
.ld-import-imported,.ld-import-already_imported {color:#11704b}
.ld-import-invalid,.ld-import-error,.ld-import-blocked,.ld-import-uncertain {color:#b33d31}
.ld-import-duplicate {color:#8a6214}
@media(max-width:600px){.ld-import-table{max-height:40vh}.ld-import th,.ld-import td{padding:8px}.ld-import footer .ld-btn{flex:1}.ld-import .ld-form-grid{grid-template-columns:1fr}}
/* Leads Workspace 1.0.0 — GLV blue, compact contact management. */
.ld-date-filter>summary{min-height:35px}.ld-date-filter>summary>i{height:5px;width:5px;background:#2855e8;border-radius:50%}.ld-date-filter>div{width:290px;padding:12px;gap:10px}.ld-date-filter label{display:grid;gap:5px;font-size:10px;color:var(--ld-muted)}.ld-date-filter label select,.ld-date-filter label input{font-size:11px;width:100%;min-width:0;padding:7px;border:1px solid var(--ld-border);border-radius:6px;background:var(--ld-surface);color:var(--ld-text)}.ld-date-inputs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.ld-date-presets,.ld-date-footer{display:flex;gap:4px;align-items:center;justify-content:space-between}.ld-upgraded .ld-date-presets .ld-btn{font-size:9px;padding:6px 8px;min-height:27px;background:var(--ld-soft);color:var(--ld-blue);border-color:transparent}.ld-date-footer{padding-top:8px;border-top:1px solid var(--ld-border)}.ld-upgraded .ld-date-footer .ld-btn{font-size:10px;min-height:29px}.ld-date-footer .ld-btn:first-child{border-color:transparent;color:var(--ld-muted)}
.main-content:has(>.ld-upgraded){padding:14px 18px 8px;max-width:none}
.main-content:has(>.ld-upgraded)+.workspace-footer{padding:5px 20px 8px;font-size:9px}
.ld-upgraded{--ld-blue:#2855e8;--ld-border:var(--border,#e7ebf2);--ld-muted:var(--muted,#798394);--ld-text:var(--text,#1f2b42);--ld-surface:var(--surface,#fff);--ld-bg:var(--surface-subtle,#f7f9fc);--ld-soft:#edf2ff;--ld-line:#eff2f7;color:var(--ld-text);height:calc(100dvh - 109px);min-height:510px;gap:9px;font-size:12px}
.ld-upgraded .ld-glyph{display:block;flex:none;width:17px;height:17px}.ld-upgraded .ld-header{min-height:46px;align-items:center;flex:none;gap:15px;margin:0;padding:0}.ld-upgraded .ld-header>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.ld-header-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--ld-soft);color:var(--ld-blue);flex:none}.ld-header-symbol .ld-glyph{width:22px;height:22px}.ld-title-line{display:flex;align-items:center;gap:9px;min-width:0}.ld-upgraded .ld-header h1{font-size:24px;line-height:1.2;font-weight:650;letter-spacing:-.6px;color:var(--ld-text);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ld-upgraded .ld-header p{font-size:10px;line-height:1.5;color:var(--ld-muted);margin:3px 0 0}.ld-count{font-size:10px;font-weight:600;line-height:1.2;padding:4px 7px;background:var(--ld-soft);color:var(--ld-blue);border-radius:5px}.ld-upgraded .ld-header>.ld-inline{gap:6px;flex:none}.ld-upgraded .ld-btn{background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:7px;min-height:31px;padding:6px 10px;font-size:10px;font-weight:500;line-height:1.2;box-shadow:none;white-space:nowrap}.ld-upgraded .ld-btn:hover{background:var(--ld-soft);border-color:#c4d2f6;color:var(--ld-blue)}.ld-upgraded .ld-btn.primary{background:var(--ld-blue);border-color:var(--ld-blue);color:#fff;font-weight:600}.ld-upgraded .ld-btn.primary:hover{background:#2147c6}.ld-upgraded .ld-btn:disabled{opacity:.4;cursor:not-allowed}.ld-upgraded .ld-icon-button{width:30px;min-width:30px;height:30px;min-height:30px;padding:6px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border-color:transparent;color:var(--ld-muted);border-radius:6px}.ld-upgraded .ld-icon-button[aria-pressed=true]{background:var(--ld-soft);color:var(--ld-blue);border-color:#dbe4ff}.ld-upgraded .ld-header .ld-btn{min-height:34px;padding:7px 12px}.ld-upgraded .ld-header .ld-icon-button{min-height:28px;width:26px;height:28px;padding:4px;min-width:26px}
.ld-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;flex:none}.ld-summary-item{display:flex;align-items:center;gap:11px;border:1px solid var(--ld-border);border-radius:10px;padding:12px 14px;background:var(--ld-surface);min-height:68px;min-width:0}.ld-summary-icon{display:grid;place-items:center;flex:none;height:35px;width:35px;border-radius:9px;background:var(--ld-soft);color:var(--ld-blue)}.ld-summary-item.amber .ld-summary-icon{background:#fff5df;color:#a8741a}.ld-summary-item.teal .ld-summary-icon{background:#e6f5f0;color:#17795f}.ld-summary-item.violet .ld-summary-icon{background:#f0ebff;color:#7953be}.ld-summary-item>div{display:flex;flex-direction:column;gap:2px;min-width:0}.ld-summary-item>div>span{font-size:10px;color:var(--ld-muted);white-space:nowrap}.ld-summary-item strong{font-size:22px;font-weight:650;line-height:1;letter-spacing:-.5px}.ld-summary-item small{font-size:8px;line-height:1.4;margin-left:auto;max-width:70px;color:var(--ld-muted)}
.ld-upgraded .ld-filterbar{display:flex;align-items:center;gap:7px;flex:none;flex-wrap:nowrap;padding:0;min-width:0;position:relative;z-index:12}.ld-search{display:flex;gap:7px;align-items:center;background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:8px;flex:1;min-width:150px;padding:0 10px;color:var(--ld-muted);height:35px}.ld-search:focus-within{border-color:#9eb8fb;box-shadow:0 0 0 2px #2855e812}.ld-upgraded .ld-filterbar .ld-search input{background:transparent;border:0;box-shadow:none;outline:0;padding:7px 0;min-width:0;width:100%;font-size:11px;color:var(--ld-text);height:32px;flex:1}.ld-upgraded .ld-filterbar>select{border:1px solid var(--ld-border);border-radius:7px;color:var(--ld-text);background:var(--ld-surface);height:35px;font-size:10px;flex:0 1 145px;min-width:90px;max-width:180px;padding:6px 24px 6px 10px;text-overflow:ellipsis}.ld-upgraded .ld-filterbar>select[name=country]{flex-basis:180px;max-width:210px}.ld-upgraded .ld-filterbar>select[name=stage]{flex-basis:125px}.ld-upgraded .ld-filterbar>.ld-btn{min-height:35px}.ld-more{position:relative}.ld-more>summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:31px;font-size:10px;color:var(--ld-muted);border:1px solid var(--ld-border);border-radius:7px;padding:6px 9px;list-style:none;cursor:pointer;background:var(--ld-surface);white-space:nowrap}.ld-more>summary::-webkit-details-marker{display:none}.ld-more>summary:hover{color:var(--ld-blue);background:var(--ld-soft)}.ld-more>summary>span{padding:1px 4px;background:var(--ld-soft);color:var(--ld-blue);border-radius:4px}.ld-more>div{position:absolute;top:calc(100% + 5px);right:0;z-index:40;background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:10px;box-shadow:0 8px 32px #17284a20;min-width:190px;padding:6px;display:grid;gap:3px;max-height:65dvh;overflow:auto}.ld-more>div>strong{font-size:10px;color:var(--ld-muted);padding:8px 10px 10px;border-bottom:1px solid var(--ld-border);margin-bottom:3px}.ld-upgraded .ld-more>div>.ld-btn{width:100%;border:0;justify-content:flex-start;text-align:left;padding:9px 10px;min-height:32px}.ld-advanced>summary{min-height:35px}.ld-advanced>div{width:280px;padding:12px;gap:11px}.ld-advanced label{display:grid;gap:5px;font-size:10px;color:var(--ld-muted)}.ld-advanced label select{font-size:11px;min-width:0;width:100%;padding:8px;border-radius:6px;background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border)}.ld-upgraded .ld-advanced .ld-tag-filter{width:100%;position:static}.ld-upgraded .ld-advanced .ld-tag-filter>summary{width:100%;text-align:left;font-size:11px;padding:7px 0;border:0}.ld-upgraded .ld-advanced .ld-tag-filter>div{position:static;box-shadow:none;min-width:0;width:100%;padding:8px;border:1px solid var(--ld-border);border-radius:6px;background:var(--ld-surface)}.ld-upgraded .ld-advanced .ld-tag-choices{max-height:120px}.ld-upgraded .ld-advanced .ld-tag-filter>div>button{display:none}.ld-active-filters{display:flex;gap:6px;align-items:center;flex-wrap:wrap;flex:none}.ld-active-filters>span{font-size:9px;background:var(--ld-soft);color:var(--ld-blue);padding:5px 8px;border-radius:5px}.ld-upgraded .ld-active-filters .ld-btn{border:0;background:none;font-size:9px;min-height:23px;padding:3px 6px;color:var(--ld-muted)}
.ld-upgraded .ld-viewline{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:35px;flex:none;margin:0;border-bottom:1px solid var(--ld-border);padding-bottom:5px;position:relative;z-index:10}.ld-upgraded .ld-views{display:flex;gap:3px;flex-wrap:nowrap;overflow:auto;min-width:0}.ld-upgraded .ld-views .ld-btn{padding:6px 10px;border:0;background:transparent;color:var(--ld-muted);font-size:10px;min-height:29px;position:relative}.ld-upgraded .ld-views .ld-btn[aria-pressed=true]{background:var(--ld-soft);color:var(--ld-blue);font-weight:650}.ld-upgraded .ld-viewtools{display:flex;gap:10px;align-items:center;padding:0;border:0;box-shadow:none;background:none;position:static;flex:none;min-width:0}.ld-upgraded .ld-viewtools>form{display:flex;gap:4px;align-items:center}.ld-upgraded .ld-viewtools select{font-size:10px;background:transparent;color:var(--ld-muted);border:0;max-width:165px;min-width:100px;min-height:29px;padding:4px 15px 4px 5px}.ld-upgraded .ld-viewtools>form .ld-btn{min-height:26px;font-size:9px;padding:4px 7px}.ld-viewbuttons{display:flex;gap:2px;align-items:center}.ld-viewbuttons>.ld-more>summary{padding:6px;border-color:transparent;background:transparent}.ld-viewbuttons>.ld-more .ld-glyph{width:17px;height:17px}.ld-upgraded .ld-bulk{display:flex;align-items:center;gap:10px;flex:none;flex-wrap:nowrap;background:var(--ld-soft);border:1px solid #d8e2ff;color:var(--ld-blue);padding:7px 10px;border-radius:9px;position:relative;z-index:11;min-height:48px}.ld-bulk-selection{display:grid;gap:2px;flex:none}.ld-bulk-selection strong{font-size:11px;line-height:1.2}.ld-bulk-selection small{font-size:8px;line-height:1.2;color:var(--ld-muted)}.ld-bulk-tools{display:flex;gap:4px;align-items:center;margin-left:auto}.ld-upgraded .ld-bulk .ld-btn{background:var(--ld-surface);border-color:transparent;font-size:10px;min-height:29px;padding:6px 9px}.ld-upgraded .ld-bulk>.ld-icon-button{background:none;padding:5px;width:25px;min-width:25px;color:var(--ld-blue)}.ld-bulk-tools .ld-more>summary{min-height:29px;font-size:10px;border-color:transparent}.ld-bulk-tools .ld-more>summary .ld-glyph{width:12px;height:12px}.ld-upgraded .ld-bulk .ld-more>div>.ld-btn{min-height:33px}
.ld-upgraded .ld-list{display:flex;flex-direction:column;min-height:0;flex:1;border:1px solid var(--ld-border);border-radius:11px;background:var(--ld-surface);overflow:hidden;box-shadow:0 1px 3px #1b2a4b02}.ld-upgraded .ld-list-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:7px 12px;border:0;border-bottom:1px solid var(--ld-border);background:var(--ld-surface);flex:none}.ld-upgraded .ld-list-caption>span{display:flex;gap:10px;align-items:center;font-size:11px;font-weight:600;color:var(--ld-text)}.ld-list-caption small{font-size:9px;font-weight:400;color:var(--ld-muted)}.ld-list-caption>div{display:flex;gap:5px}.ld-upgraded .ld-list-caption .ld-btn{min-height:26px;padding:4px 8px;font-size:9px;border-color:transparent;color:var(--ld-muted)}.ld-upgraded .ld-table-wrap{flex:1;min-height:0;max-height:none;overflow:auto;border-radius:0;scrollbar-width:thin}.ld-upgraded .ld-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0;background:var(--ld-surface);font-size:11px;table-layout:fixed;white-space:nowrap}.ld-upgraded .ld-table th{background:var(--ld-bg);color:var(--ld-muted);font-size:9px;font-weight:550;text-transform:none;letter-spacing:0;position:sticky;top:0;z-index:2;height:34px;padding:7px 9px;border:0;border-bottom:1px solid var(--ld-border);text-align:left}.ld-table th>button{display:inline-flex;align-items:center;gap:5px;font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}.ld-table th>button>.ld-glyph{width:11px;height:11px;color:var(--ld-blue)}.ld-upgraded .ld-table td{height:52px;padding:7px 9px;border:0;border-bottom:1px solid var(--ld-line);color:var(--ld-text);vertical-align:middle;overflow:hidden;text-overflow:ellipsis;background:var(--ld-surface)}.ld-upgraded.ld-density-comfortable .ld-table td{height:67px;padding-top:13px;padding-bottom:13px}.ld-upgraded .ld-table tr:hover td{background:var(--ld-bg)}.ld-upgraded .ld-table tr.ld-row-checked td{background:var(--ld-soft)}.ld-upgraded .ld-table th:first-child,.ld-upgraded .ld-table td:first-child{width:31px;padding-left:11px;padding-right:2px;position:sticky;left:0;z-index:3}.ld-upgraded .ld-table th:first-child{z-index:5}.ld-upgraded .ld-table [data-column=name]{width:192px;position:sticky;left:31px;z-index:2}.ld-upgraded .ld-table th[data-column=name]{z-index:4}.ld-upgraded .ld-table [data-column=phone]{width:134px}.ld-upgraded .ld-table [data-column=country]{width:117px}.ld-upgraded .ld-table [data-column=email]{width:170px}.ld-upgraded .ld-table [data-column=stage]{width:105px}.ld-upgraded .ld-table [data-column=owner]{width:101px}.ld-upgraded .ld-table [data-column=tags]{width:98px}.ld-upgraded .ld-table [data-column=next_date]{width:108px}.ld-upgraded .ld-table [data-column=source]{width:125px}.ld-upgraded .ld-table [data-column=updated_at]{width:100px}.ld-upgraded .ld-table [data-column=quality]{width:155px}.ld-upgraded .ld-table td:last-child,.ld-upgraded .ld-table th:last-child{width:99px;padding-inline:5px;position:sticky;right:0;box-shadow:-3px 0 6px #17284a05;z-index:3}.ld-upgraded .ld-table th:last-child{z-index:5}.ld-upgraded .ld-record{display:flex;gap:8px;align-items:center;min-width:0;width:100%;color:var(--ld-text);font-size:11px;text-align:left;background:none;border:0;padding:0}.ld-upgraded .ld-record>span:last-child{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.ld-upgraded .ld-record strong{font-size:11px;font-weight:600;color:var(--ld-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}.ld-upgraded .ld-record small{font-size:9px;color:var(--ld-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3}.ld-avatar{height:28px;width:28px;border-radius:8px;flex:none;display:grid;place-items:center;background:#edf2ff;color:#5271c5;font-size:9px;font-weight:600}.ld-upgraded .ld-check{display:inline-grid;place-items:center;height:15px;width:15px;min-width:15px;padding:0;line-height:13px;border:1px solid #c8d0df;border-radius:4px;background:var(--ld-surface);color:var(--ld-text);font-size:10px;cursor:pointer;vertical-align:middle}.ld-upgraded .ld-check[aria-checked=true],.ld-upgraded .ld-check[aria-checked=mixed]{color:white;background:var(--ld-blue);border-color:var(--ld-blue)}.ld-phone-value{font-size:10px;font-variant-numeric:tabular-nums;letter-spacing:.05px}.ld-upgraded .ld-number-hint{display:block;font-size:8px;line-height:1.3;color:#ab7723;margin-top:3px;padding:0;border:0;background:none;text-align:left;cursor:pointer}.ld-country{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:var(--ld-text);white-space:nowrap;max-width:100%;vertical-align:middle;overflow:hidden;text-overflow:ellipsis}.ld-country>span{font-size:14px;line-height:1;flex:none}.ld-country.unknown{color:#a3834f;font-size:9px}.ld-upgraded .ld-email-link{display:block;max-width:100%;font-size:10px;overflow:hidden;text-overflow:ellipsis;color:var(--ld-blue);background:none;border:0;padding:0;text-align:left}.ld-upgraded .ld-stage{display:inline-flex;gap:5px;align-items:center;border:0;font-size:9px;font-weight:550;padding:4px 7px;border-radius:5px;background:#edf2ff;color:#4168ce;white-space:nowrap;line-height:1.2}.ld-stage>i{display:block;width:4px;height:4px;border-radius:50%;background:currentColor;flex:none}.ld-upgraded .ld-stage.attempting{color:#a67120;background:#fff4dc}.ld-upgraded .ld-stage.connected{color:#8055bc;background:#f0eaff}.ld-upgraded .ld-stage.qualified{color:#208367;background:#e6f5ef}.ld-upgraded .ld-stage.disqualified{color:#7c8594;background:#edf0f5}.ld-upgraded .ld-label{display:inline-flex;font-size:8px;font-weight:500;line-height:1.2;border:0;border-radius:4px;padding:4px 5px;margin:1px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.ld-upgraded .ld-muted{font-size:9px;color:var(--ld-muted)}.ld-owner{display:flex;align-items:center;gap:5px;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:10px;white-space:nowrap}.ld-owner>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#eff1f6;color:#74819a;flex:none;font-size:7px}.ld-due{font-size:10px;color:var(--ld-muted)}.ld-due.late{display:inline-flex;font-size:9px;padding:4px 6px;background:#fff0eb;color:#ba5c42;border-radius:5px}.ld-due.today{color:var(--ld-blue);font-weight:550}.ld-quality-warning{display:inline-flex;align-items:center;gap:5px;color:#ad7b2d;font-size:9px}.ld-quality-warning .ld-glyph{width:13px;height:13px}.ld-quality-ok{font-size:9px;color:#38856d}.ld-upgraded .ld-phone-actions{display:flex;align-items:center;gap:1px;flex-wrap:nowrap}.ld-upgraded .ld-phone-actions .ld-icon-button{width:28px;min-width:28px;height:29px;min-height:29px;padding:6px;color:#8090a9}.ld-upgraded .ld-phone-actions .ld-icon-button:hover{color:var(--ld-blue)}.ld-upgraded .ld-phone-actions .ld-glyph{width:15px;height:15px}.ld-upgraded .ld-pagination{flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--ld-border);padding:7px 12px;min-height:43px;color:var(--ld-muted);font-size:9px;background:var(--ld-surface)}.ld-pagination>form{display:flex;align-items:center;gap:5px;margin-left:auto}.ld-pagination>form>label{display:flex;gap:5px;align-items:center;font-size:9px}.ld-upgraded .ld-pagination select{background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:5px;min-height:26px;font-size:9px;padding:3px 17px 3px 6px}.ld-upgraded .ld-pagination .ld-btn{min-height:26px;font-size:9px;padding:4px 7px}.ld-pagination>div{display:flex;align-items:center;gap:8px}.ld-upgraded .ld-pagination .ld-icon-button{width:25px;min-width:25px;height:26px;padding:5px}.ld-upgraded .ld-pagination .ld-glyph{width:14px;height:14px}.ld-upgraded .ld-empty{padding:35px 20px;gap:10px;font-size:11px;background:transparent;color:var(--ld-muted);min-height:140px}.ld-upgraded .ld-empty>.ld-glyph{width:27px;height:27px;color:#acbce3}.ld-upgraded .ld-empty>strong{font-size:15px;color:var(--ld-text)}
.ld-board{display:flex;gap:9px;padding:10px;min-height:0;flex:1;overflow:auto;background:var(--ld-bg);scrollbar-width:thin;align-items:stretch}.ld-lane{display:flex;flex-direction:column;gap:9px;flex:1 0 217px;min-width:217px;max-width:340px;min-height:0}.ld-lane>header{display:flex;justify-content:space-between;gap:8px;align-items:center;flex:none;padding:3px 2px 1px}.ld-lane>header>span:last-child{font-size:8px;color:var(--ld-muted)}.ld-lane>div{display:flex;flex-direction:column;gap:9px;overflow:auto;scrollbar-width:thin;padding-bottom:3px;min-height:0}.ld-lane-empty{display:grid;place-items:center;min-height:110px;border:1px dashed var(--ld-border);border-radius:8px;color:var(--ld-muted);font-size:10px}.ld-lead-card{padding:11px;background:var(--ld-surface);border:1px solid var(--ld-border);border-radius:9px;display:flex;flex-direction:column;gap:10px;min-width:0;flex:none}.ld-lead-card.checked{border-color:#8caaf8;box-shadow:0 0 0 1px #cbd9ff;background:var(--ld-surface)}.ld-card-top{display:flex;gap:7px;align-items:flex-start;min-width:0}.ld-card-top>.ld-check{margin-top:2px;flex:none}.ld-card-top .ld-record{min-width:0;flex:1}.ld-card-top .ld-avatar{display:none}.ld-card-alert{color:#b38b39;flex:none}.ld-card-alert .ld-glyph{height:13px;width:13px}.ld-card-country{display:flex;align-items:center;justify-content:space-between;gap:6px}.ld-card-country .ld-stage{font-size:8px;padding:3px 5px}.ld-card-country .ld-country{font-size:9px}.ld-card-contact{display:grid;gap:4px;min-width:0;font-size:10px;color:var(--ld-muted)}.ld-card-tags{display:flex;gap:3px;flex-wrap:wrap}.ld-card-tags:empty{display:none}.ld-card-owner{display:flex;justify-content:space-between;align-items:center;gap:6px}.ld-lead-card>footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--ld-border);padding-top:6px;gap:5px}.ld-upgraded .ld-lead-card>footer>.ld-btn{font-size:9px;min-height:26px;padding:4px 6px;border:0;background:var(--ld-soft);color:var(--ld-blue)}.ld-upgraded .ld-mobile-list{display:none}
.ld-upgraded .ld-detail-layout{flex:1;min-height:0;overflow:auto;grid-template-columns:minmax(280px,32%) minmax(0,1fr);gap:12px;align-items:start;padding-bottom:4px;scrollbar-width:thin}.ld-upgraded .ld-detail-card{padding:14px;background:var(--ld-surface);color:var(--ld-text);border:1px solid var(--ld-border);border-radius:10px}.ld-upgraded .ld-detail-card h3{font-size:12px;color:var(--ld-text)}.ld-upgraded .ld-detail-card .ld-properties{font-size:10px}.ld-upgraded .ld-detail-card .ld-properties dt{color:var(--ld-muted)}.ld-upgraded .ld-detail-card .ld-country{display:flex;margin:3px 0;font-size:10px}.ld-upgraded .ld-phone-row{padding:10px 0;gap:8px}.ld-upgraded .ld-phone-row .ld-phone-actions .ld-btn{font-size:9px;padding:5px 6px;min-height:28px}.ld-upgraded .ld-phone-row .ld-copy-number{font-size:12px}.ld-upgraded .ld-detail-tabs .ld-btn{font-size:10px;background:transparent;border:0}.ld-upgraded .ld-detail-tabs .ld-btn[aria-pressed=true]{color:var(--ld-blue);background:var(--ld-soft)}.ld-upgraded .ld-activity{border-color:var(--ld-border);background:var(--ld-surface);border-radius:7px}.ld-upgraded .ld-activity strong{font-size:11px;color:var(--ld-text)}.ld-upgraded .ld-activity small{font-size:9px;color:var(--ld-muted)}.ld-upgraded .ld-activity-body{font-size:11px;line-height:1.7;color:var(--ld-text)}.ld-upgraded .ld-activity-icon{background:var(--ld-soft);color:var(--ld-blue)}.ld-export-status{font-size:10px;background:var(--ld-soft);color:var(--ld-blue);border-radius:6px;padding:7px 10px;flex:none}.ld-upgraded .ld-warning{font-size:11px;padding:8px 11px;flex:none}
.ld-bulk-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;background:var(--brand-soft,#edf2ff);border-radius:9px;color:var(--text,#203154)}.ld-bulk-summary>strong{font-size:18px}.ld-bulk-summary>span{font-size:11px;color:var(--muted,#718097)}.ld-review-summary{padding:17px;background:var(--brand-soft,#edf2ff);border-radius:10px;color:var(--text,#203154)}.ld-review-summary>span{font-size:9px;color:var(--muted,#718097);letter-spacing:.1em}.ld-review-summary>h3{font-size:26px;margin:5px 0;letter-spacing:-.7px}.ld-review-summary>p{font-size:12px;line-height:1.6;margin:0}.ld-review-note{margin:0;padding:12px 14px;border-left:3px solid #2855e8;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface-subtle,#f8faff);font-size:12px;line-height:1.7}.ld-review-table{overflow:auto;max-height:240px}.ld-review-table table{border-collapse:collapse;width:100%;font-size:11px}.ld-review-table th{background:var(--surface-subtle,#f7f9fc);color:var(--muted,#74819b);font-size:10px;font-weight:500;text-align:left;padding:9px}.ld-review-table td{padding:9px;border-bottom:1px solid var(--border,#e8edf5);color:var(--text,#22314d);font-size:11px}.ld-review-table td small{display:block;font-size:9px;color:var(--muted,#74819b);margin-top:2px}
[data-theme=dark] .ld-upgraded{--ld-blue:#a5baff;--ld-soft:#273653;--ld-line:#303746}[data-theme=dark] .ld-upgraded .ld-btn.primary{color:#142343;background:#9bb3ff;border-color:#9bb3ff}[data-theme=dark] .ld-upgraded .ld-header-symbol,[data-theme=dark] .ld-upgraded .ld-avatar{background:#293d67;color:#b9ceff}[data-theme=dark] .ld-summary-item.amber .ld-summary-icon{background:#443a27;color:#e2bf6f}[data-theme=dark] .ld-summary-item.teal .ld-summary-icon{background:#234037;color:#93d7bc}[data-theme=dark] .ld-summary-item.violet .ld-summary-icon{background:#3b2d50;color:#c6a6f3}[data-theme=dark] .ld-upgraded .ld-stage.new{background:#2b3a5c;color:#b0c8ff}[data-theme=dark] .ld-upgraded .ld-stage.attempting{background:#443b26;color:#dfc780}[data-theme=dark] .ld-upgraded .ld-stage.connected{background:#3c2d51;color:#c6a6f3}[data-theme=dark] .ld-upgraded .ld-stage.qualified{background:#243e35;color:#91cfb6}[data-theme=dark] .ld-upgraded .ld-stage.disqualified{background:#373d49;color:#afb9c9}[data-theme=dark] .ld-owner>span{background:#3c4455;color:#c0cadb}[data-theme=dark] .ld-due.late{background:#482f2a;color:#efb0a0}[data-theme=dark] .ld-upgraded .ld-bulk{border-color:#3a4f78}[data-theme=dark] .ld-upgraded .ld-label{filter:brightness(.9)}
@media(max-width:1240px){.ld-upgraded .ld-filterbar{gap:5px}.ld-search{min-width:130px}.ld-upgraded .ld-filterbar>select{flex-basis:115px;max-width:145px}.ld-upgraded .ld-filterbar>select[name=country]{flex-basis:155px}.ld-upgraded .ld-filterbar>select[name=stage]{flex-basis:106px}.ld-summary-item{padding:10px;gap:9px}.ld-summary-item small{display:none}.ld-summary-item>div>span{font-size:9px}.ld-summary-item strong{font-size:21px}.ld-upgraded .ld-viewtools{gap:4px}.ld-upgraded .ld-views .ld-btn{padding:6px 8px;font-size:9px}.ld-upgraded .ld-viewtools select{max-width:135px}.ld-upgraded .ld-viewline{gap:5px}.ld-upgraded .ld-bulk{gap:6px}.ld-upgraded .ld-bulk>.ld-btn{font-size:9px}.ld-upgraded .ld-detail-layout{grid-template-columns:minmax(270px,37%) minmax(0,1fr)}}
@media(max-width:1000px){.ld-upgraded .ld-filterbar{flex-wrap:wrap}.ld-search{flex-basis:100%;height:34px}.ld-upgraded .ld-filterbar>select{flex:1;max-width:none}.ld-upgraded .ld-filterbar>select[name=country]{flex:1.4;max-width:none}.ld-upgraded .ld-filterbar>select[name=stage]{flex:1}.ld-upgraded .ld-viewline{flex-wrap:wrap;gap:5px}.ld-upgraded .ld-viewtools{margin-left:auto}.ld-upgraded .ld-list-caption small{display:none}.ld-upgraded .ld-bulk{flex-wrap:wrap}.ld-bulk-tools{margin-left:0}.ld-upgraded .ld-bulk>.ld-icon-button{margin-left:auto}.ld-upgraded .ld-detail-layout{grid-template-columns:minmax(260px,40%) minmax(0,1fr)}}
@media(max-width:760px){.main-content:has(>.ld-upgraded){padding:10px 10px 4px}.main-content:has(>.ld-upgraded)+.workspace-footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.ld-upgraded{height:auto;min-height:0;gap:9px}.ld-upgraded .ld-header{align-items:flex-start;gap:7px;min-height:40px;flex-wrap:wrap}.ld-upgraded .ld-header>div:first-child{gap:8px}.ld-header-symbol{width:32px;height:32px;border-radius:8px}.ld-header-symbol .ld-glyph{width:19px;height:19px}.ld-upgraded .ld-header h1{font-size:24px}.ld-upgraded .ld-header p{display:none}.ld-upgraded .ld-header>.ld-inline{margin-left:auto;gap:4px;align-self:center}.ld-upgraded .ld-header>.ld-inline .ld-btn{min-height:32px;padding:6px 9px;font-size:9px}.ld-upgraded .ld-header>.ld-inline .ld-btn[data-action=sales-leads-dial]{display:none}.ld-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.ld-summary-item{padding:9px 11px;min-height:55px;gap:9px}.ld-summary-icon{height:29px;width:29px;border-radius:8px}.ld-summary-icon .ld-glyph{height:16px;width:16px}.ld-summary-item>div>span{font-size:9px}.ld-summary-item strong{font-size:20px}.ld-upgraded .ld-filterbar{display:grid;grid-template-columns:1fr 1fr auto;gap:6px}.ld-search{grid-column:1/-1;min-width:0;height:38px}.ld-upgraded .ld-filterbar .ld-search input{font-size:16px}.ld-upgraded .ld-filterbar>select{min-width:0;max-width:none;width:100%;font-size:11px;height:34px;padding:5px 21px 5px 7px}.ld-upgraded .ld-filterbar>select[name=country]{grid-column:1;grid-row:2}.ld-upgraded .ld-filterbar>select[name=owner]{grid-column:2;grid-row:2}.ld-upgraded .ld-filterbar>select[name=stage]{grid-column:1;grid-row:3}.ld-upgraded .ld-filterbar>.ld-advanced{grid-column:2;grid-row:3}.ld-upgraded .ld-filterbar>.ld-btn.primary{grid-column:3;grid-row:2/span 2;min-height:34px;align-self:stretch;padding:6px 9px;font-size:10px}.ld-upgraded .ld-filterbar>.ld-icon-button{grid-column:3;grid-row:1;position:absolute;right:2px;top:3px;background:var(--ld-surface)}.ld-advanced>summary{min-height:34px;justify-content:flex-start;font-size:11px;padding-left:8px}.ld-advanced>div{right:-52px;width:min(310px,calc(100vw - 30px));max-height:55dvh}.ld-upgraded .ld-viewline{gap:4px;min-height:0;display:flex;flex-wrap:wrap;padding-bottom:6px}.ld-upgraded .ld-views{width:100%;gap:2px;justify-content:space-between}.ld-upgraded .ld-views .ld-btn{font-size:9px;padding:7px 6px;min-height:30px}.ld-upgraded .ld-viewtools{width:100%;justify-content:space-between;gap:4px}.ld-upgraded .ld-viewtools select{min-width:100px;max-width:170px;font-size:10px}.ld-upgraded .ld-viewtools>form .ld-btn{min-height:29px}.ld-upgraded .ld-viewbuttons>.ld-icon-button,.ld-viewbuttons>.ld-more>summary{min-height:32px;height:32px;min-width:32px;width:32px}.ld-upgraded .ld-list{flex:none;min-height:260px;border-radius:9px}.ld-upgraded .ld-list>.ld-table-wrap{display:none}.ld-upgraded .ld-list-caption{min-height:39px;padding:6px 9px;gap:5px}.ld-upgraded .ld-list-caption>span{display:flex;font-size:10px}.ld-upgraded .ld-list-caption .ld-btn{min-height:27px;font-size:9px;padding:5px 7px}.ld-upgraded .ld-mobile-list{display:flex;flex-direction:column;gap:0;max-height:57dvh;overflow:auto;min-height:170px;border-radius:0;background:var(--ld-surface);scrollbar-width:thin}.ld-mobile-list>.ld-lead-card{border:0;border-radius:0;border-bottom:1px solid var(--ld-border);padding:12px;gap:8px}.ld-mobile-list>.ld-lead-card.checked{box-shadow:inset 3px 0 0 var(--ld-blue);background:var(--ld-soft)}.ld-upgraded .ld-mobile-list .ld-record strong{font-size:12px}.ld-upgraded .ld-mobile-list .ld-record small{font-size:10px}.ld-upgraded .ld-mobile-list .ld-record .ld-avatar{display:grid}.ld-upgraded .ld-check{height:18px;width:18px;min-width:18px;font-size:11px}.ld-card-top>.ld-check{margin-top:5px}.ld-card-country .ld-country{font-size:11px}.ld-card-country .ld-stage{font-size:9px}.ld-card-contact{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:11px}.ld-upgraded .ld-card-contact .ld-email-link{font-size:10px;max-width:58%}.ld-card-owner .ld-owner{font-size:10px}.ld-upgraded .ld-lead-card .ld-phone-actions .ld-icon-button{width:34px;min-width:34px;min-height:32px;height:32px}.ld-upgraded .ld-lead-card>footer>.ld-btn{min-height:30px;font-size:10px;padding:6px 8px}.ld-upgraded .ld-pagination{padding:6px 9px;gap:5px;font-size:9px;flex-wrap:wrap}.ld-upgraded .ld-pagination>span{font-size:9px}.ld-pagination>form>label{font-size:0;gap:0}.ld-upgraded .ld-pagination select{min-height:27px;font-size:9px;max-width:52px}.ld-pagination>div{gap:5px;margin-left:auto}.ld-upgraded .ld-pagination>form{margin-left:auto;gap:2px}.ld-upgraded .ld-pagination .ld-btn{font-size:9px;padding:3px 5px}.ld-upgraded .ld-bulk{padding:7px;gap:6px;flex-wrap:wrap}.ld-upgraded .ld-bulk-selection{flex:1}.ld-bulk-tools{order:3;width:100%;justify-content:flex-start;gap:3px}.ld-upgraded .ld-bulk>.ld-btn{font-size:8px;padding:6px;max-width:160px;white-space:normal}.ld-upgraded .ld-bulk .ld-btn{font-size:9px;padding:6px 8px}.ld-bulk-tools .ld-more>summary{font-size:9px;padding:6px 8px}.ld-bulk-tools .ld-more>div{right:0}.ld-bulk-tools .ld-more:first-of-type>div{left:0;right:auto}.ld-board{height:440px;min-height:0;flex:none;padding:9px;gap:8px}.ld-lane{flex:0 0 260px;min-width:260px}.ld-upgraded .ld-detail-layout{display:flex;flex-direction:column;overflow:visible;gap:10px}.ld-upgraded .ld-details-left,.ld-upgraded .ld-activity-card{width:100%}.ld-upgraded .ld-detail-card{padding:12px}.ld-upgraded .ld-activity-card .ld-detail-content{max-height:65dvh;overflow:auto}.ld-upgraded .ld-detail-card .ld-properties{font-size:11px}.ld-upgraded .ld-phone-row .ld-phone-actions{flex-wrap:wrap}.ld-upgraded .ld-phone-row .ld-phone-actions .ld-btn{min-height:32px;font-size:10px}.ld-upgraded .ld-active-filters{gap:4px}.ld-active-filters>span{font-size:8px;padding:4px 6px}.ld-bulk-summary{gap:8px;padding:10px}.ld-bulk-summary>strong{font-size:16px}.ld-bulk-summary>span{font-size:10px}.ld-review-summary{padding:13px}.ld-review-table th,.ld-review-table td{font-size:10px;padding:8px 5px}.ld-review-table td small{font-size:8px}}

@media(max-width:760px){.ld-upgraded .ld-filterbar>.ld-date-filter{grid-column:2;grid-row:3;min-width:0}.ld-date-filter>summary{min-height:34px;justify-content:flex-start;padding:5px 8px;font-size:11px}.ld-upgraded .ld-filterbar>.ld-advanced{grid-column:3;grid-row:2}.ld-upgraded .ld-filterbar>.ld-btn.primary{grid-column:3;grid-row:3}.ld-date-filter>div{right:-55px;width:min(290px,calc(100vw - 30px))}.ld-date-filter label input{font-size:16px;padding:6px 4px}.ld-date-filter label select{font-size:16px}.ld-advanced>div{right:0}.ld-upgraded .ld-filterbar>.ld-advanced>summary{font-size:10px;padding:5px 7px}.ld-upgraded .ld-filterbar>.ld-advanced>summary>.ld-glyph{display:none}}

[data-theme=dark] .ld-upgraded .ld-phone-actions .ld-btn{background:transparent;border-color:transparent;color:var(--ld-muted)}[data-theme=dark] .ld-upgraded .ld-phone-actions .ld-btn:hover{background:var(--ld-soft);color:var(--ld-blue)}

/* Linked pipeline controls remain compact in list, card and detail layouts. */
.sales-leads .ld-stage-pair{display:flex;align-items:center;flex-wrap:nowrap;gap:5px}
.ld-upgraded .ld-table [data-column=stage]{width:160px}
.ld-upgraded .ld-table [data-column=name]{width:180px}
.ld-upgraded .ld-table [data-column=email]{width:150px}
.ld-upgraded .ld-table [data-column=phone]{width:130px}
.ld-upgraded .ld-table [data-column=owner]{width:96px}
.ld-upgraded .ld-table [data-column=tags]{width:90px}
.ld-upgraded .ld-table [data-column=next_date]{width:102px}.sales-leads .ld-pipeline-button{display:inline-flex;align-items:center;height:20px;min-height:20px;padding:2px 5px;border:1px solid var(--ld-border,#dbe3f3);border-radius:5px;background:var(--ld-blue-soft,#edf3ff);color:var(--ld-blue,#2855e8);font:inherit;font-size:9px;font-weight:600;line-height:1.2;white-space:nowrap;cursor:pointer}.sales-leads .ld-pipeline-button:hover{border-color:var(--ld-blue,#2855e8)}.sales-leads .ld-pipeline-muted{font-size:9px;color:var(--muted,#6e788b)}.sales-leads .ld-pipeline-state{font-size:10px;font-weight:600;padding:4px 7px;border-radius:5px;background:#edf3ff;color:#2855e8}.sales-leads .ld-pipeline-qualified{background:#e9f4fb;color:#226783}.sales-leads .ld-pipeline-proposal{background:#f3efff;color:#7450b9}.sales-leads .ld-pipeline-negotiation{background:#fff5e3;color:#94620c}.sales-leads .ld-pipeline-won{background:#e7f6ef;color:#267150}.sales-leads .ld-pipeline-lost{background:#fff0f3;color:#ac4056}.ld-pipeline-card .ld-pipeline-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 12px}.ld-pipeline-summary strong{font-size:12px;font-weight:600;overflow-wrap:anywhere}.ld-pipeline-summary>span{font-size:13px;font-weight:650;white-space:nowrap}.ld-pipeline-summary small{font-size:9px;color:var(--muted,#6e788b);font-weight:500}.ld-pipeline-card .ld-hint{font-size:11px;margin:4px 0 10px}.ld-pipeline-card .ld-inline{gap:5px}.ld-pipeline-card .ld-btn{min-height:31px;font-size:11px;padding:6px 9px}.ld-pipeline-context{display:grid;gap:4px;padding:10px 12px;border-radius:7px;background:var(--surface-2,#f4f7fc);margin-bottom:4px}.ld-pipeline-context strong{font-size:13px}.ld-pipeline-context span{font-size:11px;color:var(--muted,#6e788b)}
:root[data-theme=dark] .sales-leads .ld-pipeline-button,:root[data-theme=dark] .sales-leads .ld-pipeline-state{background:#243654;color:#b8cdff;border-color:#3d5377}:root[data-theme=dark] .sales-leads .ld-pipeline-proposal{background:#392e51;color:#d0b6f4}:root[data-theme=dark] .sales-leads .ld-pipeline-negotiation{background:#423622;color:#edcc8f}:root[data-theme=dark] .sales-leads .ld-pipeline-won{background:#244136;color:#9cddbf}:root[data-theme=dark] .sales-leads .ld-pipeline-lost{background:#442e38;color:#f1abba}
@media(max-width:760px){.sales-leads .ld-pipeline-button{height:32px;min-height:32px;font-size:10px;padding:5px 7px}.ld-pipeline-card .ld-btn{min-height:38px}.ld-pipeline-card .ld-pipeline-summary{gap:8px}.ld-pipeline-summary strong{font-size:12px}.sales-leads .ld-card-country{align-items:flex-start}}

/* Short row labels retain full stage names in tooltips and forms. */
.sales-leads .ld-pipeline-contact_attempted{background:#edf3ff;color:#3766ae}
.sales-leads .ld-pipeline-meeting_scheduled{background:#f5efff;color:#8558a8}
.sales-leads .ld-pipeline-in_process{background:#eaf7f7;color:#287b82}
:root[data-theme=dark] .sales-leads .ld-pipeline-contact_attempted{background:#243654;color:#b8cdff}
:root[data-theme=dark] .sales-leads .ld-pipeline-meeting_scheduled{background:#392e51;color:#d0b6f4}
:root[data-theme=dark] .sales-leads .ld-pipeline-in_process{background:#213d43;color:#a2d6d9}

.ld-sequence-chip{display:inline-flex;align-items:center;gap:4px;max-width:100%;border:0;border-radius:4px;background:var(--surface-subtle);color:var(--muted);padding:3px 6px;margin:4px 0;font-size:10px;line-height:1.3;cursor:pointer;white-space:normal;text-align:left}.ld-sequence-chip svg{width:12px;height:12px;flex-shrink:0}.ld-sequence-chip small{font-size:10px;white-space:nowrap}.ld-sequence-chip.active{background:#eef3ff;color:#295ac7}.ld-sequence-chip.blocked{background:#fff1df;color:#96551d}.ld-sequence-chip:focus-visible{outline:2px solid #335eff;outline-offset:2px}
.ld-sequence-open{min-height:0!important}.ld-sequence-open .ld-detail-content{padding-top:10px}.ld-sequence-workspace{min-width:0}.ld-sequence-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.ld-sequence-toolbar strong,.ld-sequence-toolbar small{display:block}.ld-sequence-toolbar small{color:var(--muted);font-size:10px;margin-top:3px}.ld-sequence-toolbar .ld-btn{padding:5px 8px;font-size:11px;min-height:29px}.ld-sequence-run{border:1px solid var(--border);border-radius:7px;margin-bottom:9px;overflow:hidden}.ld-sequence-run>summary{display:flex;gap:10px;justify-content:space-between;align-items:center;background:var(--surface-subtle);padding:9px 11px;cursor:pointer}.ld-sequence-run>summary>span:first-child{min-width:0}.ld-sequence-run>summary strong,.ld-sequence-run>summary small{display:block;overflow-wrap:anywhere}.ld-sequence-run>summary strong{font-size:12px}.ld-sequence-run>summary small{font-size:10px;color:var(--muted);margin-top:3px}.ld-sequence-run .sq-run-report{padding:12px}.ld-sequence-run .sqr-header{display:none}.ld-sequence-empty{padding:18px 8px}.ld-sequence-empty strong{font-size:14px}.ld-sequence-empty p{font-size:12px;color:var(--muted);margin:6px 0 12px}.ld-manual-plan{margin-top:15px;border-top:1px solid var(--border);padding-top:10px}.ld-manual-plan>summary{cursor:pointer;font-size:12px;font-weight:600}.ld-manual-plan .ld-empty{min-height:0;padding:15px 0}
@media(max-width:600px){.ld-sequence-toolbar{align-items:flex-start;flex-direction:column}.ld-sequence-run .sq-run-report{padding:9px}.ld-sequence-run>summary{align-items:flex-start;flex-direction:column}}
[data-theme="dark"] .ld-sequence-chip.active{background:#1d2c52;color:#a6baff}[data-theme="dark"] .ld-sequence-chip.blocked{background:#49351f;color:#f3bf72}
