.wl-demo{display:flex;gap:15px;align-items:flex-start;padding:16px 20px;border:1px solid #edcfad;border-radius:9px;background:#fff7ed;margin-bottom:24px;color:#704817}.wl-demo-tag{background:#ff7c00;color:#292015;padding:6px 8px;border-radius:4px;font-size:9px;font-weight:800;letter-spacing:.7px;white-space:nowrap}.wl-demo strong{font-size:13px}.wl-demo p{font-size:12px;line-height:1.5;margin:5px 0 0}.wl-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.wl-role{display:flex;gap:10px;align-items:center;font-size:14px}.wl-role small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.wl-people{display:flex;gap:5px}.wl-people button,.wl-filters button{background:white;border:1px solid var(--line);border-radius:6px;font-size:12px;padding:9px 12px}.wl-people button.active,.wl-filters button.active{background:#112631;border-color:#112631;color:white}.wl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.wl-stat{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px 20px;border:1px solid var(--line);border-radius:9px;background:white;gap:8px}.wl-stat>span{font-size:12px;color:#52616c}.wl-stat>strong{font-family:Manrope,sans-serif;font-size:30px;line-height:1.2}.wl-stat small{font-size:11px;color:var(--muted)}.wl-stat.urgent{border-top:3px solid #cf6738}.wl-stat.urgent>strong{color:#ae502a}.wl-stat:hover{border-color:#e87939}.wl-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.wl-list,.wl-detail{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.wl-list-heading{padding:21px 22px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px}.wl-list-heading h2{font-size:21px;margin:0 0 5px}.wl-list-heading h2>span{color:#ff7c00}.wl-list-heading p{font-size:12px;color:var(--muted);margin:0}.wl-total{font-size:11px;background:#f1f4f6;padding:5px 9px;white-space:nowrap;border-radius:20px}.wl-search{padding:0 20px 13px}.wl-search input{width:100%;font-size:12px;border:1px solid var(--line);border-radius:6px;padding:12px}.wl-filters{display:flex;gap:5px;flex-wrap:wrap;padding:0 20px 18px}.wl-filters button{font-size:11px;padding:7px 9px;display:flex;align-items:center;gap:6px}.wl-filters button span{opacity:.7;font-size:10px}.wl-column-head{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;padding:10px 42px 10px 22px;background:#f7f9fa;border-block:1px solid var(--line);font-size:10px;color:#687984;letter-spacing:.6px;text-transform:uppercase}.wl-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 12px;gap:18px;align-items:center;width:100%;text-align:left;background:white;border:0;border-bottom:1px solid #e8edf0;padding:18px 20px;border-left:3px solid transparent}.wl-row.selected{background:#fff9f2;border-left-color:#ff7c00}.wl-row:hover{background:#f6f8fa}.wl-row:last-child{border-bottom:0}.wl-status{display:inline-block;font-size:9px;font-weight:700;border-radius:4px;padding:4px 6px;margin-bottom:8px;background:#edf1f5;color:#586676}.wl-status.new{color:#164b83;background:#e9f1fc}.wl-status.overdue{color:#9c3a2a;background:#fbeae6}.wl-status.missing{color:#875b18;background:#fff0d4}.wl-status.today{color:#315b54;background:#e7f2ef}.wl-name{display:block;font-size:13px;line-height:1.5;margin-bottom:4px}.wl-vehicle{display:block;font-size:11px;color:#667782;line-height:1.6}.wl-row small{display:block;font-size:10px;color:#6c7a83;margin-top:6px;line-height:1.5}.wl-action strong{font-size:12px;line-height:1.6;display:block;margin-bottom:6px}.wl-action>span{font-size:11px}.wl-late{color:#b04931}.wl-arrow{color:#9aa7af}.wl-list-foot{padding:14px 20px;background:#fafbfc;border-top:1px solid var(--line);font-size:10px;color:#74818a}.wl-detail{padding:20px;position:sticky;top:16px}.wl-detail-top{display:flex;gap:8px;align-items:flex-start;flex-direction:column;margin-bottom:15px}.wl-kicker{font-size:9px;font-weight:700;letter-spacing:1px;color:#798691}.wl-stage{font-size:10px;padding:4px 7px;border-radius:4px;background:#eff3f6;color:#50616d}.wl-detail h2{font-size:18px;line-height:1.5;margin-bottom:5px}.wl-person{display:flex;gap:9px;align-items:center;padding:16px 0}.wl-person strong,.wl-person small{display:block;font-size:11px}.wl-person small{font-size:10px;color:#6c7a83;margin-bottom:3px}.wl-context{padding:14px;border-radius:6px;background:#f6f8f9;margin:4px 0 18px}.wl-detail h3{font-size:12px;margin:0 0 9px}.wl-context p{font-size:12px;line-height:1.6;margin:0;color:#5b6c78}.wl-tasks{margin-bottom:20px}.wl-tasks h3{display:flex;justify-content:space-between}.wl-tasks h3>span{font-size:10px;color:#6a7c86;font-weight:400}.wl-task{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid #edf0f2;cursor:pointer;font-size:11px;line-height:1.6}.wl-task input{width:17px;height:17px;flex-shrink:0;accent-color:#1b495d;margin:2px 0 0}.wl-task small{display:block;color:#7c8992;font-size:9px;margin-top:3px}.wl-task.done>span{text-decoration:line-through;color:#7d8a93}.wl-muted{font-size:11px;color:#70808c;line-height:1.6}.wl-next{border-top:1px solid var(--line);padding-top:18px}.wl-next form{display:grid;gap:11px}.wl-next label{font-size:10px;color:#62737e;display:grid;gap:6px}.wl-next input,.wl-next select,.wl-next textarea{font:inherit;font-size:12px;background:#fff;border:1px solid #dbe3e9;border-radius:5px;padding:9px;color:#243846;width:100%;min-width:0}.wl-next textarea{resize:vertical}.wl-primary{display:flex;justify-content:space-between;align-items:center;border:0;background:#122c39;color:white;padding:12px;border-radius:6px;font-size:12px;font-weight:600}.wl-success{font-size:11px;color:#276548;background:#eef8f2;border-radius:5px;padding:10px;line-height:1.6;margin:12px 0 0}.wl-notes{border-top:1px solid var(--line);padding-top:16px;margin-top:18px}.wl-notes p{white-space:pre-wrap;font-size:12px}.sidebar nav{flex-wrap:wrap}
@media(max-width:1200px){.wl-layout{grid-template-columns:minmax(0,1fr) 285px;gap:14px}.wl-row{gap:10px;padding:16px 14px}.wl-detail{padding:16px}.wl-filters{padding-inline:14px}.wl-stat{padding:16px 14px}}
@media(max-width:1050px){.wl-layout{grid-template-columns:1fr}.wl-detail{position:static}.wl-toolbar{flex-wrap:wrap}.wl-detail #wl-form{grid-template-columns:1fr 1fr}.wl-next label:nth-child(3){grid-column:1/-1}}
@media(max-width:600px){.wl-demo{display:block;padding:14px}.wl-demo-tag{display:inline-block;margin-bottom:8px}.wl-stats{grid-template-columns:1fr 1fr;gap:10px}.wl-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:12px}.wl-arrow{display:none}.wl-stat>strong{font-size:26px}.wl-people{flex-wrap:wrap}.wl-detail #wl-form{grid-template-columns:1fr}.wl-column-head{padding-right:16px}.wl-name{font-size:12px}}

.snapshot-banner[hidden],#meeting-btn[hidden]{display:none}
.wl-live{display:flex;align-items:flex-start;gap:15px;padding:16px 20px;border:1px solid #c5dcd3;border-radius:9px;background:#f1f8f5;margin-bottom:24px;color:#30584a}.wl-live-tag{font-size:9px;font-weight:800;letter-spacing:.5px;white-space:nowrap;background:#d8ede3;padding:6px 8px;border-radius:4px}.wl-live strong{font-size:13px}.wl-live p{font-size:12px;margin:5px 0 0;line-height:1.6}.wl-coverage{margin:0 0 22px;padding:14px 18px;border:1px solid var(--line);border-radius:7px;background:white;font-size:12px;color:#5c6f79}.wl-coverage summary{cursor:pointer;font-weight:600;line-height:1.6}.wl-coverage p{margin:12px 0 0;font-size:12px}.wl-people{flex-wrap:wrap}.wl-read-task{border-bottom:1px solid #e5eaf0;padding:14px 0;font-size:12px}.wl-read-task>strong{display:block;line-height:1.6;overflow-wrap:anywhere}.wl-read-task>small{display:block;font-size:10px;color:#657580;line-height:1.7;margin-top:7px}.wl-read-task p{font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:160px;overflow:auto;margin:9px 0}.wl-read-task a,.wl-source-link a{font-size:11px;color:#2e617d;text-underline-offset:3px}.wl-read-task a{display:inline-block;margin-top:8px}.wl-context small{font-size:10px;line-height:1.5;color:#6a7d86;display:block;margin-top:7px}.wl-readonly{padding:13px;background:#f3f5f7;border-radius:6px;font-size:11px;color:#5b6c76}.wl-readonly p{margin:6px 0 0;font-size:11px}.wl-detail h2,.wl-action strong,.wl-name{overflow-wrap:anywhere}.wl-action strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wl-status.undated{background:#fff0d4;color:#875b18}.wl-list-foot button{display:block;margin-top:12px}.wl-notes{margin-bottom:18px}.wl-notes p{max-height:200px;overflow:auto}.wl-toolbar{flex-wrap:wrap}
@media(max-width:600px){.wl-live{display:block}.wl-live-tag{display:inline-block;margin-bottom:8px}}
/* Four lead priorities; calling and selection are separate controls. */
.wl-name-button{font:inherit;font-size:13px;font-weight:650;color:inherit;background:none;border:0;padding:0;text-align:left;cursor:pointer}.wl-name-button:hover{text-decoration:underline;text-underline-offset:3px}.wl-arrow{background:none;border:0;padding:8px 0;cursor:pointer;font-size:20px}.wl-phones{display:grid;gap:5px;margin:5px 0 8px}.wl-phones a{font-size:12px;font-weight:600;color:#165e83;text-decoration:none;overflow-wrap:anywhere;line-height:1.6}.wl-phones a:hover{text-decoration:underline}.wl-phones a small{font-weight:400;display:block;margin:0;color:#71808a}.wl-no-phone{display:block;font-size:10px;color:#89939a;margin:5px 0 8px}.wl-stat.active{border-color:#ff7c00;background:#fff8ef;box-shadow:0 0 0 1px #ff7c00}.wl-stat>span{display:flex;align-items:center;gap:8px}.wl-rank,.wl-queue-heading>span{display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;border-radius:50%;background:#fff0df;color:#9b4d00;font-size:11px;flex-shrink:0}.wl-stat small{line-height:1.6}.wl-queue-heading{display:flex;gap:10px;align-items:center;padding:12px 20px;background:#f7f8fa;border-bottom:1px solid var(--line);font-size:12px}.wl-lead-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 20px 15px}.wl-all-priorities{border:0;background:none;font-size:12px;color:#9c4e08;padding:6px 0;cursor:pointer}.wl-lead-controls label{display:flex;gap:8px;align-items:center;font-size:11px;color:#71808a}.wl-lead-controls select{border:1px solid var(--line);border-radius:6px;background:white;padding:8px;font:inherit;font-size:12px;color:#243846}.wl-noshow-note{background:#fff6e9;border:1px solid #f0dcc1;border-radius:6px;padding:12px;font-size:11px;margin-bottom:16px;color:#81511b}.wl-noshow-note p{font-size:11px;line-height:1.6;margin-bottom:0}.wl-stat:focus-visible,.wl-name-button:focus-visible,.wl-arrow:focus-visible,.wl-phones a:focus-visible{outline:2px solid #165e83;outline-offset:3px}
@media(max-width:600px){.wl-lead-controls{flex-wrap:wrap}.wl-stat>span{font-size:11px;gap:5px}.wl-rank{width:20px;height:20px}}
.wl-phone-warning{font-size:12px;padding:12px 16px;background:#fff6e9;border:1px solid #efdcc4;color:#805620;border-radius:6px;margin:-10px 0 20px}
.wl-count-label{font:400 10px Inter,sans-serif;color:#74818a;margin-left:8px;vertical-align:middle}
.wl-contact-filters{display:flex;gap:6px}.wl-contact-filters button{font-size:12px;padding:8px 11px;border:1px solid var(--line);border-radius:6px;background:white;color:#52616c;cursor:pointer}.wl-contact-filters button[aria-pressed=true]{background:#fff0df;border-color:#ff7c00;color:#8f4600}.wl-task-gap{display:inline-block;margin:3px 0 5px;padding:4px 6px;border-radius:4px;background:#fff0d4;color:#875b18;font-size:10px;font-weight:600}.wl-task-coverage{background:#fff7ec;border:1px solid #efddc8;border-radius:6px;padding:12px;margin-bottom:14px;font-size:12px}.wl-task-coverage p{font-size:11px;line-height:1.6;margin:6px 0 0;color:#725736}
.wl-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wl-sales-stats .wl-stat{gap:10px}.wl-sales-stats .wl-stat>span{font-size:14px;font-weight:600}.wl-sales-controls{display:flex;justify-content:flex-end;padding:0 20px 16px}.wl-sales-controls label{display:flex;align-items:center;gap:10px;font-size:11px;color:#687984}.wl-sales-controls select{font:inherit;font-size:12px;padding:9px 12px;background:white;color:#243846;border:1px solid var(--line);border-radius:6px}
.wl-wa-link{display:table;font:600 11px Inter,sans-serif;color:#22644b;text-decoration:none;margin:8px 0;padding:7px 9px;border:1px solid #c9ddd3;border-radius:5px;background:#f4faf6;cursor:pointer;line-height:1.5}.wl-wa-link:hover{background:#e8f4ed;border-color:#8db6a1}.wl-wa-link:focus-visible{outline:2px solid #22644b;outline-offset:3px}.wl-whatsapp{border-block:1px solid var(--line);padding:14px 0;margin-top:14px}.wl-whatsapp p{font-size:11px;line-height:1.6;color:#6c7a83;margin:8px 0 0}
.wl-wa-preview{margin:9px 0 10px;padding-left:9px;border-left:2px solid #c9ddd3}.wl-wa-meta{display:block;font-size:10px;color:#62756b;line-height:1.6}.wl-wa-message{font-size:12px!important;line-height:1.65!important;margin:4px 0 6px!important;color:#35443d!important;overflow-wrap:anywhere;white-space:pre-wrap}.wl-wa-preview .wl-wa-message{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.wl-wa-preview .wl-wa-link{padding:0;border:0;background:none;margin:4px 0 0}.wl-wa-empty{font-size:11px!important;color:#7a8580!important;margin:4px 0!important;line-height:1.6}.wl-whatsapp .wl-wa-message{background:#f4faf6;padding:11px;border-radius:6px;border:1px solid #dbe8e0}.wl-whatsapp>.wl-muted{display:block;line-height:1.7;font-size:10px}
.wl-documents{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.wl-documents>a,.wl-document-missing{padding:10px;border:1px solid #dce2e5;border-radius:6px;font-size:11px;font-weight:600;line-height:1.5}.wl-documents>a{color:#293e4b;text-decoration:none;background:#fff}.wl-documents>a:hover{background:#fff4e8;border-color:#edb479}.wl-documents>a:focus-visible{outline:2px solid #e87815;outline-offset:2px}.wl-documents>a>span{float:right}.wl-document-missing{color:#919b9f;background:#f8fafb}.wl-document-missing small{display:block;font-size:9px;font-weight:400}.wl-whatsapp>summary{cursor:pointer;font-size:12px;font-weight:650;color:#344c40}.wl-whatsapp>summary>span{font-size:10px;font-weight:400;color:#7c8781;margin-left:5px}.wl-whatsapp-body{padding-top:12px}.wl-whatsapp-body>.wl-muted{display:block;font-size:10px;line-height:1.7}
/* Compact lead workbench: preserve actions and data, reduce scanning distance. */
main:has(.wl-compact){padding-top:16px}
main:has(.wl-compact) .page-heading{margin-bottom:14px}
main:has(.wl-compact) .page-heading h1{font-size:27px;margin-bottom:4px;letter-spacing:-.8px}
main:has(.wl-compact) .page-heading .eyebrow{display:none}
main:has(.wl-compact) .page-heading p:not(.eyebrow){font-size:12px}
.wl-compact .wl-live-compact{padding:8px 12px;margin-bottom:12px;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;border-radius:6px}
.wl-compact .wl-live-compact strong,.wl-compact .wl-live-compact>span{font-size:11px;line-height:1.5}
.wl-compact .wl-toolbar{margin-bottom:10px}
.wl-compact .wl-role{font-size:12px;gap:8px}
.wl-compact .wl-role .avatar{width:26px;height:26px;font-size:10px}
.wl-compact .wl-role small{display:inline;margin-left:10px;font-size:10px}
.wl-compact .wl-stats{gap:9px;margin-bottom:10px}
.wl-compact .wl-stat{display:grid;grid-template-columns:1fr auto;gap:5px 8px;padding:11px 13px;border-radius:7px;align-items:center}
.wl-compact .wl-stat>span{font-size:12px;font-weight:600;gap:6px}
.wl-compact .wl-stat>strong{font-size:24px;grid-column:2;grid-row:1/3;text-align:right}
.wl-compact .wl-count-label{display:block;font-size:9px;margin:3px 0 0}
.wl-compact .wl-stat>small{font-size:10px;line-height:1.4;grid-column:1}
.wl-compact .wl-rank{width:19px;height:19px;font-size:10px}
.wl-compact .wl-coverage{padding:8px 12px;margin-bottom:12px;background:transparent;border:0}
.wl-compact .wl-coverage summary{font-size:10px;font-weight:500}
.wl-compact .wl-layout{gap:14px;grid-template-columns:minmax(0,1fr) 300px}
.wl-compact .wl-list{display:grid;grid-template-columns:1fr auto;align-items:center}
.wl-compact .wl-list-heading{grid-column:1/-1;padding:12px 14px 8px}
.wl-compact .wl-list-heading h2{font-size:17px;margin:0}
.wl-compact .wl-list-heading p{display:none}
.wl-compact .wl-search{grid-row:2;grid-column:1;padding:0 8px 10px 14px;min-width:0}
.wl-compact .wl-search input{padding:8px 10px}
.wl-compact .wl-lead-controls{grid-row:2;grid-column:2;padding:0 14px 10px 0;gap:10px}
.wl-compact .wl-lead-controls select{padding:7px;font-size:11px;max-width:160px}
.wl-compact .wl-lead-controls label{gap:4px}
.wl-compact .wl-all-priorities{font-size:10px;white-space:nowrap}
.wl-compact .wl-contact-filters{gap:4px}
.wl-compact .wl-contact-filters button{padding:7px;font-size:10px;white-space:nowrap}
.wl-compact .wl-column-head,.wl-compact .wl-rows,.wl-compact .wl-list-foot{grid-column:1/-1}
.wl-compact .wl-column-head{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.15fr);gap:14px;padding:8px 43px 8px 14px;font-size:9px}
.wl-compact .wl-lead-row{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1.15fr) 14px;gap:14px;padding:11px 13px;min-height:84px}
.wl-compact .wl-row>div{min-width:0}
.wl-compact .wl-row .wl-name{font-size:12px;line-height:1.5}
.wl-compact .wl-row .wl-phones{margin:3px 0 0;gap:2px}
.wl-compact .wl-row .wl-phones a{font-size:11px}
.wl-compact .wl-row .wl-status{margin-bottom:3px;padding:2px 5px;font-size:8px}
.wl-compact .wl-row .wl-vehicle{font-size:10px;line-height:1.5}
.wl-compact .wl-row small{font-size:9px;margin-top:3px}
.wl-compact .wl-lead-context>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wl-compact .wl-row .wl-action strong{font-size:11px;line-height:1.5;margin-bottom:3px;-webkit-line-clamp:2}
.wl-compact .wl-row .wl-action>span{font-size:10px}
.wl-compact .wl-queue-heading{padding:6px 14px;font-size:10px;gap:7px}
.wl-compact .wl-queue-heading>span{height:17px;width:17px;font-size:9px}
.wl-compact .wl-task-gap{font-size:9px;margin:4px 0 0;padding:2px 4px}
.wl-compact .wl-list-foot{padding:10px 14px}
.wl-compact .wl-detail{padding:16px}
@media(max-width:1250px){.wl-compact .wl-layout{grid-template-columns:minmax(0,1fr) 265px;gap:10px}.wl-compact .wl-lead-row{gap:9px;padding-inline:10px}.wl-compact .wl-column-head{gap:9px;padding-left:11px;padding-right:35px}.wl-compact .wl-lead-controls label{font-size:0}.wl-compact .wl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.wl-compact .wl-layout{grid-template-columns:1fr}.wl-compact .wl-detail{position:static}.wl-compact .wl-role small{display:block;margin-left:0}}
@media(max-width:600px){.wl-compact .wl-list{display:block}.wl-compact .wl-list-heading{padding:12px}.wl-compact .wl-search{padding:0 12px 10px}.wl-compact .wl-lead-controls{padding:0 12px 10px}.wl-compact .wl-column-head{display:none}.wl-compact .wl-lead-row{grid-template-columns:1fr 1fr;gap:6px 12px;padding:12px}.wl-compact .wl-customer{grid-column:1;grid-row:1/3}.wl-compact .wl-lead-context{grid-column:2}.wl-compact .wl-action{grid-column:2}.wl-compact .wl-row .wl-arrow{display:none}.wl-compact .wl-stat{padding:10px;gap:5px}.wl-compact .wl-stat>span{font-size:11px}.wl-compact .wl-stat>strong{font-size:22px}.wl-compact .wl-stat>small{grid-column:1/-1}.wl-compact .wl-stat>strong{grid-row:1}.wl-compact .wl-count-label{font-size:8px}.wl-compact .wl-rank{display:none}}
.wl-compact .wl-live-compact{display:flex}
/* The sales workspace shares the compact rows and keeps its two main queues. */
.wl-compact .wl-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.wl-compact .wl-sales-stats .wl-stat>strong>span{display:block;font:400 10px Inter,sans-serif;color:#74818a;margin-top:3px}
.wl-selling .wl-people button{font-size:11px;padding:7px 10px}
.wl-selling .wl-search{grid-column:1/-1;padding-right:14px}
.wl-selling .wl-list:has(.wl-sales-controls) .wl-search{grid-column:1;padding-right:8px}
.wl-selling .wl-sales-controls{grid-column:2;grid-row:2;padding:0 14px 10px 0}
.wl-selling .wl-sales-controls label{font-size:10px;gap:6px}
.wl-selling .wl-sales-controls select{padding:7px;font-size:11px;max-width:195px}
@media(max-width:600px){.wl-selling .wl-toolbar{gap:8px}.wl-selling .wl-people{gap:4px}.wl-selling .wl-people button{padding:7px 8px;font-size:10px}.wl-selling .wl-sales-controls{padding:0 12px 10px}.wl-selling .wl-sales-controls label{width:100%;justify-content:space-between}}

.wl-last-contact{white-space:nowrap;font-size:11px}

/* Deal details stay at the top of the viewport; the worklist keeps its place. */
.wl-compact .wl-layout{grid-template-columns:minmax(0,1fr)}
.wl-compact .wl-drawer{position:fixed;top:86px;right:18px;bottom:16px;width:440px;max-width:calc(100vw - 36px);padding:0;display:flex;flex-direction:column;z-index:45;border:1px solid #dce3e7;box-shadow:0 12px 50px #15222e30;border-radius:12px;overflow:hidden}
.wl-drawer-header{position:relative;flex:none;padding:20px 52px 15px 22px;border-bottom:1px solid var(--line);background:#fff}
.wl-drawer-header .wl-detail-top{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.wl-drawer-header h2{font-size:19px;line-height:1.4;margin:0 0 6px}
.wl-drawer-header .wl-phones{margin:4px 0 0}
.wl-drawer-header .wl-phones a{font-size:13px}
.wl-detail-close{position:absolute;top:14px;right:14px;width:32px;height:32px;display:grid;place-items:center;background:#f3f5f6;border:1px solid var(--line);border-radius:7px;font-size:24px;line-height:1}
.wl-detail-close:hover{background:#fff0df;border-color:#ff7c00}
.wl-drawer-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px 22px;scrollbar-gutter:stable}
.wl-drawer-body .wl-notes p{max-height:none;overflow:visible}
@media(max-width:600px){.wl-compact .wl-drawer{inset:0;width:100%;max-width:none;height:100dvh;border-radius:0}.wl-drawer-header{padding-left:18px}.wl-drawer-body{padding-inline:18px}}
/* Quick activity registration is a memory-only demo, separate from CRM facts. */
.wl-quick-actions{display:flex;flex-wrap:wrap;gap:6px;margin:12px -34px 0 0}
.wl-quick-actions button{font-size:10px;font-weight:650;border:1px solid #dce3e7;background:#fff;padding:8px;border-radius:6px;min-height:34px}
.wl-quick-actions button:hover,.wl-quick-actions button[aria-pressed=true]{border-color:#ff7c00;background:#fff3e5;color:#884100}
.wl-activity-panel{margin-bottom:16px;border-bottom:1px solid var(--line);padding-bottom:12px}
.wl-activity-demo-label{font-size:10px!important;line-height:1.5!important;color:#7b6147;margin:0 0 9px!important}
.wl-activity-demo-label b{font-size:9px;padding:3px 5px;background:#fff0dc;border-radius:4px;margin-right:4px}
.wl-activity-form{background:#fafbfc;border:1px solid var(--line);padding:12px;border-radius:8px;margin:10px 0}
.wl-activity-form-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:13px;gap:10px}
.wl-activity-form-title button{border:0;background:none;font-size:23px;padding:0 4px}
.wl-activity-form label{display:flex;flex-direction:column;gap:5px;font-size:11px;margin:0 0 10px;min-width:0}
.wl-activity-form input,.wl-activity-form select,.wl-activity-form textarea{width:100%;min-width:0;font:inherit;font-size:12px;min-height:36px;padding:8px;border:1px solid #d7e0e5;border-radius:5px;background:white;color:var(--ink)}
.wl-activity-form textarea{resize:vertical;line-height:1.5}
.wl-activity-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px}
.wl-activity-form .wl-followup-toggle{display:flex;flex-direction:row;align-items:center;gap:7px}
.wl-followup-toggle input{width:15px;height:15px;min-height:0;flex:none;accent-color:#e87815}
.wl-followup-fields{border:1px solid var(--line);margin:0 0 10px;padding:10px 8px 0;border-radius:6px;min-width:0}
.wl-followup-fields[hidden]{display:none}
.wl-followup-fields legend{font-size:10px;padding:0 5px;color:var(--muted)}
.wl-activity-save{border:1px solid #112631;border-radius:6px;background:#112631;color:white;font-size:12px;padding:9px 12px;min-height:36px}
.wl-activity-history summary{font-size:11px;cursor:pointer;font-weight:650}
.wl-activity-history summary span{font-weight:400;color:var(--muted);margin-left:5px}
.wl-activity-history article{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}
.wl-activity-history article:last-child{border-bottom:0}
.wl-activity-history article>strong,.wl-activity-history article small{display:block}
.wl-activity-history article small{font-size:10px;color:var(--muted);margin-top:4px}
.wl-activity-history article p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0}
.wl-activity-followup{padding:8px;background:#f4f6f8;border-radius:5px;margin-top:8px;font-size:10px}
.wl-activity-success,.wl-activity-warning,.wl-activity-error{font-size:11px!important;line-height:1.5!important;padding:8px;border-radius:5px;margin:8px 0!important}
.wl-activity-success{background:#eef7f0;color:#27613c}.wl-activity-warning{background:#fff3df;color:#825117}.wl-activity-error{background:#fff0ed;color:#9a3020}
@media(max-width:420px){.wl-activity-fields{grid-template-columns:1fr}.wl-quick-actions button{font-size:9px;padding:7px}.wl-quick-actions{gap:4px}}
.wl-compact .wl-sales-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
.wl-won-note{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.wl-won-row .wl-lead-context small{white-space:normal}
#worklist-root:has(.wl-won-layout) .wl-coverage{display:none}
.wl-won-button{display:flex;align-items:center;gap:8px;border:1px solid #c6dfcc;background:#edf7ef;color:#235a35;padding:8px 11px;border-radius:6px;font-size:12px;font-weight:650;margin-top:10px}
.wl-won-button small{font-size:9px;font-weight:500}
.wl-won-preparation{background:#fff4e4;border:1px solid #efddbf;border-radius:7px;padding:12px;font-size:12px;margin-bottom:16px}
.wl-won-preparation p{font-size:12px;margin:6px 0}.wl-won-preparation small{font-size:10px}
@media(max-width:600px){.wl-compact .wl-sales-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.wl-compact .wl-sales-stats .wl-stat>span{font-size:10px}.wl-compact .wl-sales-stats .wl-stat{display:flex;padding:9px;align-items:flex-start}.wl-compact .wl-sales-stats .wl-stat>strong{text-align:left}.wl-compact .wl-sales-stats .wl-stat>small{font-size:9px}.wl-won-note{grid-column:1/-1}.wl-won-row .wl-customer{grid-row:auto}}
.wl-compact .wl-sales-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.wl-won .wl-stats,.wl-won .wl-coverage{display:none}
.wl-won-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.wl-won-fields>label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:650;min-width:0}
.wl-won-fields input:not([type=checkbox]),.wl-won-fields select,.wl-won-fields textarea{font:inherit;font-size:13px;width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbd5dc;border-radius:7px;padding:9px;background:white;color:#243442}
.wl-won-fields textarea{resize:vertical}
.wl-won-fields .wl-won-wide,.wl-won-multiple{grid-column:1/-1}
.wl-won-multiple{border:1px solid #dae0e5;padding:10px;border-radius:7px;margin:0}
.wl-won-multiple legend{font-size:12px;font-weight:650}
.wl-won-multiple label{display:inline-flex;align-items:center;gap:6px;margin-right:12px;font-size:12px}
.wl-won-form .wl-activity-save{display:block;margin-top:14px}
.wl-won-error,.wl-required{color:#a33222}
.wl-won-error,.wl-won-success{font-size:13px;line-height:1.5}
.wl-won-success{color:#1d6a4d;background:#eff8f2;padding:10px;border-radius:7px}
.wl-won-source{display:block;margin-top:12px;color:#657786;font-size:11px}
.wl-won-fields [aria-invalid=true]{border-color:#b02e21}
@media(max-width:380px){.wl-won-fields{grid-template-columns:1fr}}
.wl-deal-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:6px}
.wl-deal-title h2{flex:1;min-width:0;overflow-wrap:anywhere;margin-bottom:0}
.wl-deal-title .wl-won-button{margin:0;flex:none;white-space:nowrap}
.wl-won-dialog{width:min(900px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:0;border:1px solid #dde3e8;border-radius:16px;background:#fff;color:#182732;box-shadow:0 24px 100px #15222e50;overflow:hidden}
.wl-won-dialog[open]{display:flex;flex-direction:column}
.wl-won-dialog::backdrop{background:#15222e70;backdrop-filter:blur(3px)}
.wl-won-modal-header{display:flex;flex:none;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 28px 16px;border-bottom:1px solid #e3e8ec}
.wl-won-eyebrow{font-size:10px;letter-spacing:.1em;color:#6a7883;font-weight:700}
.wl-won-eyebrow b{margin-left:8px;letter-spacing:.03em;background:#fff0dd;color:#8c4b00;padding:3px 6px;border-radius:4px}
.wl-won-modal-header h2{font-size:24px;line-height:1.2;margin:8px 0 5px}
.wl-won-modal-header p{margin:0;color:#637480;font-size:14px;overflow-wrap:anywhere}
.wl-won-modal-header>button{border:0;border-radius:50%;width:34px;height:34px;flex:none;background:#f0f3f5;font-size:24px;cursor:pointer}
.wl-won-dialog .wl-won-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.wl-won-modal-body{overflow-y:auto;overscroll-behavior:contain;padding:18px 28px;min-height:0;scrollbar-gutter:stable}
.wl-won-dialog .wl-won-fields{margin:0;gap:10px 22px;align-items:start}
.wl-won-dialog .wl-won-fields>label{font-size:12px;gap:5px}
.wl-won-dialog .wl-won-fields .wl-won-wide,.wl-won-dialog .wl-won-multiple{grid-column:auto}
.wl-won-dialog .wl-won-fields textarea{min-height:56px;height:56px}
.wl-won-dialog .wl-won-multiple{min-height:65px;box-sizing:border-box;padding:8px 10px}
.wl-won-dialog .wl-won-multiple label{line-height:1.8}
.wl-won-modal-footer{flex:none;padding:14px 28px 18px;border-top:1px solid #e3e8ec;background:#fafbfc}
.wl-won-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.wl-won-footer-actions>small{font-size:11px;color:#6a7883}
.wl-won-footer-actions>div{display:flex;gap:8px;flex:none}
.wl-won-dialog .wl-activity-save{margin:0;background:#ff8000;color:white;border:0;border-radius:7px;padding:11px 16px;font-size:13px;font-weight:650;cursor:pointer}
.wl-won-cancel{background:#fff;border:1px solid #cbd5dc;border-radius:7px;padding:10px 14px;font-size:13px;cursor:pointer}
.wl-won-dialog .wl-won-error,.wl-won-dialog .wl-won-success{margin:0 0 10px}
.wl-won-unavailable{padding:20px 28px}
@media(max-width:600px){.wl-won-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:12px}.wl-won-modal-header{padding:16px 18px}.wl-won-modal-body{padding:14px 18px}.wl-won-dialog .wl-won-fields{grid-template-columns:1fr}.wl-won-modal-footer{padding:12px 18px}.wl-won-footer-actions{align-items:stretch;flex-direction:column}.wl-won-footer-actions>div{justify-content:flex-end}.wl-deal-title .wl-won-button{gap:5px;padding:8px}}

/* Global totals stay separate from filters for the lead worklist. */
.wl-overall{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 9px;font-size:12px}.wl-overall>span{font-size:11px;color:var(--muted)}
.wl-leads article.wl-stat:hover{border-color:var(--line)}
.wl-compact.wl-leads .wl-lead-controls{grid-column:1/-1;grid-row:2;padding:2px 14px 10px;flex-wrap:wrap;gap:10px}
.wl-compact.wl-leads .wl-search{grid-column:1/-1;grid-row:3;padding-right:14px}
.wl-queue-filters{display:flex;gap:4px;flex-wrap:wrap}
.wl-queue-filters button{font:600 11px Inter,sans-serif;padding:8px 11px;border:1px solid transparent;border-radius:6px;background:#f3f5f6;color:#52616c;cursor:pointer}
.wl-queue-filters button[aria-pressed=true]{background:#fff0df;border-color:#ff7c00;color:#8f4600}
.wl-queue-filters button:focus-visible{outline:2px solid #165e83;outline-offset:2px}
@media(max-width:600px){.wl-overall{align-items:flex-start;flex-direction:column;gap:4px}.wl-queue-filters button{padding:7px 9px;font-size:10px}}

.wl-quote-edit{margin-top:14px;min-height:42px}

/* Calm deal card: identity, next step, then secondary information. */
.wl-drawer-header{padding:18px 20px 14px}
.wl-drawer-header .wl-detail-top{margin:0 38px 8px 0;min-height:22px;justify-content:center}
.wl-drawer-header .wl-kicker{font-size:8px;letter-spacing:.8px}
.wl-drawer-header .wl-deal-title{align-items:center;gap:10px;margin-bottom:8px}
.wl-drawer-header h2{font-size:20px;line-height:1.3;letter-spacing:-.4px}
.wl-deal-title .wl-won-button{padding:7px 9px;font-size:11px;border-color:#d6e6da;background:#f4f9f5}
.wl-drawer-header .wl-phones{margin:0 0 12px;gap:6px}
.wl-drawer-header .wl-phones a{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline;text-decoration:none;font-size:13px}
.wl-drawer-header .wl-phones a>small{display:inline;margin:0;font-size:11px;font-weight:400;color:#6a7b87}
.wl-drawer-header .wl-phones a>span{display:none}
.wl-deal-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:#627581}
.wl-deal-meta .wl-stage{font-size:10px;padding:3px 6px}
.wl-vehicle-line{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:11px;color:#627581;margin-top:9px;line-height:1.6}
.wl-vehicle-line>span{min-width:0;overflow-wrap:anywhere}
.wl-vehicle-line button{flex:none;border:0;background:none;font:inherit;color:#526978;text-decoration:underline;text-underline-offset:3px;padding:2px 0;cursor:pointer}
.wl-drawer-body{padding:16px 20px 20px}
.wl-followup-summary{border:1px solid #e6ebee;border-radius:8px;background:#f8fafb;padding:12px 14px;margin-bottom:14px}
.wl-contact-date{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;color:#70808b;white-space:nowrap}
.wl-contact-date strong{font-size:11px;font-weight:600;color:#405463}
.wl-next-action{margin-top:11px;display:flex;flex-direction:column;gap:4px}
.wl-next-action small{font-size:8px;letter-spacing:.7px;color:#73818b;font-weight:650}
.wl-next-action>strong{font-size:13px;line-height:1.5}
.wl-next-action>span{font-size:10px;color:#6b7b86;line-height:1.6}
.wl-followup-summary.needs-followup{border-color:#efdbbf;background:#fffaf2}
.needs-followup .wl-next-action>strong{color:#955616}
.wl-deal-actions{display:flex;gap:8px;align-items:stretch;margin-bottom:8px}
.wl-deal-actions .wl-quote-edit{flex:1;margin:0;min-height:38px;padding:9px 10px;font-size:11px;border-radius:6px;white-space:nowrap}
.wl-deal-actions .wl-quote-edit>span{margin-left:5px}
.wl-deal-actions .wl-quick-actions{position:relative;display:block;flex:1;margin:0;min-width:0}
.wl-quick-actions>summary{list-style:none;display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 10px;box-sizing:border-box;font-size:11px;font-weight:600;border:1px solid #dce3e7;background:white;border-radius:6px;cursor:pointer;white-space:nowrap}
.wl-quick-actions>summary::-webkit-details-marker{display:none}
.wl-registration-menu{position:absolute;z-index:4;top:calc(100% + 5px);right:0;width:210px;background:white;border:1px solid #dce3e7;border-radius:8px;padding:5px;box-shadow:0 8px 24px #142c3820}
.wl-registration-menu button{display:block;width:100%;border:0;background:white;text-align:left;min-height:36px;padding:8px 10px;font-size:12px}
.wl-demo-caption{font-size:9px!important;color:#87929a!important;line-height:1.5!important;margin:0 0 12px!important}
.wl-drawer .wl-fold,.wl-drawer .wl-whatsapp,.wl-drawer .wl-activity-panel{margin:0;padding:0;border:0;border-bottom:1px solid #e8edef}
.wl-drawer .wl-fold>summary,.wl-drawer .wl-whatsapp>summary,.wl-drawer .wl-activity-history>summary{display:flex;align-items:center;gap:8px;list-style:none;font-size:12px;font-weight:600;color:#334b59;padding:13px 0;cursor:pointer}
.wl-drawer details:not(.wl-quick-actions)>summary::-webkit-details-marker{display:none}
.wl-drawer .wl-fold>summary::before,.wl-drawer .wl-whatsapp>summary::before,.wl-drawer .wl-activity-history>summary::before{content:'›';font-size:18px;line-height:12px;color:#8a99a2;transform:rotate(0);width:8px}
.wl-drawer details[open]>summary::before{transform:rotate(90deg)}
.wl-drawer .wl-fold>summary>span,.wl-drawer .wl-whatsapp>summary>span,.wl-drawer .wl-activity-history>summary>span{font-size:10px;color:#8b979e;font-weight:400;margin-left:auto}
.wl-drawer .wl-whatsapp-body{padding:0 0 12px}
.wl-drawer .wl-notes p{font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.wl-drawer .wl-source-link{font-size:11px;margin:14px 0 0}
.wl-source-link a{color:#718592;text-underline-offset:3px}
.wl-drawer .wl-activity-panel:empty{display:none}
.wl-drawer .wl-task-coverage,.wl-drawer .wl-noshow-note{margin:10px 0}
.wl-quick-actions>summary:focus-visible,.wl-drawer summary:focus-visible,.wl-vehicle-line button:focus-visible{outline:2px solid #e87815;outline-offset:3px}
@media(max-width:380px){.wl-drawer-header{padding:16px}.wl-drawer-body{padding:14px 16px}.wl-drawer-header h2{font-size:18px}.wl-deal-actions{gap:6px}.wl-deal-actions .wl-quote-edit,.wl-quick-actions>summary{font-size:10px;padding-inline:8px}.wl-contact-date,.wl-contact-date strong{font-size:10px}}

/* Focused lead stages and a separate team task workspace. */
.wl-focused .wl-statusline { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:6px 16px; color:#7a878e; font-size:11px; margin:0 0 18px; }
.wl-focused .wl-statusline .wl-coverage { margin:0; padding:0; }
.wl-focused .wl-statusline .wl-coverage[open] { flex-basis:100%; order:2; padding:12px 0; }
.wl-focused .wl-coverage summary { font-size:11px; }
.wl-focus-top { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:16px; }
.wl-focus-tabs { display:flex; gap:6px; flex-wrap:wrap; }
.wl-focus-tabs button { display:flex; align-items:center; gap:12px; border:1px solid transparent; border-radius:8px; background:transparent; color:#63727c; font:inherit; font-size:14px; font-weight:650; padding:12px 16px; cursor:pointer; }
.wl-focus-tabs button>span { border-radius:5px; background:#e9eef0; padding:3px 7px; min-width:28px; text-align:center; font-size:12px; font-variant-numeric:tabular-nums; }
.wl-focus-tabs button[aria-pressed="true"] { background:#fff; color:#24343e; border-color:#dde4e8; box-shadow:0 2px 5px #142c3606; }
.wl-focus-tabs button[aria-pressed="true"]>span { color:#b35300; background:#fff0df; }
.wl-focus-tabs button:hover { background:#fff; }
.wl-assignee { display:flex; gap:8px; align-items:center; font-size:11px; color:#687983; }
.wl-assignee select { max-width:210px; padding:10px; border:1px solid #dbe3e8; border-radius:7px; background:white; color:#24343e; font:inherit; font-size:12px; }
.wl-focused .wl-list { display:block; }
.wl-focus-tools { display:flex; align-items:center; gap:12px; padding:12px 16px; border-bottom:1px solid #edf1f3; }
.wl-focused .wl-focus-tools .wl-search { flex:1; padding:0; }
.wl-focused .wl-search input { min-height:38px; font-size:12px; padding:10px 12px; background:#f8fafb; }
.wl-focus-count { color:#7b8992; font-size:11px; white-space:nowrap; }
.wl-focused .wl-contact-filters { display:flex; gap:5px; flex-wrap:wrap; }
.wl-focused .wl-contact-filters button { padding:8px 10px; font-size:11px; }
.wl-focused .wl-lead-row { padding:14px 16px; min-height:88px; }
.wl-focused .wl-column-head { padding-left:16px; background:#fafbfc; }
.wl-focused .wl-name { font-size:13px; line-height:1.45; }
.wl-focused .wl-lead-context .wl-status.new,.wl-focused .wl-lead-context .wl-status.planned { display:none; }
.wl-focused .wl-lead-context { gap:4px; }
.wl-focused .wl-status { width:fit-content; }
.wl-focused .wl-task-row .wl-customer>small { display:block; margin-top:5px; color:#859199; font-size:10px; }
.wl-focused .wl-task-row .wl-lead-context>strong { font-size:12px; font-weight:600; }
.wl-focused .wl-task-row .wl-name { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:650px){
 .wl-focus-top{gap:10px}.wl-focus-tabs{gap:2px}.wl-focus-tabs button{font-size:12px;padding:10px 8px;gap:6px}
 .wl-focus-tools{flex-wrap:wrap;padding:12px}.wl-focus-tools .wl-search{min-width:100%}
 .wl-focused .wl-focus-count{margin-left:auto}.wl-assignee{width:100%}.wl-assignee select{flex:1;max-width:none}
}

.wl-local-planned { margin-top:16px; border:1px solid #e2e8ec; border-radius:8px; background:#fff; overflow:hidden; }
.wl-local-planned>summary { padding:12px 16px; font-size:12px; color:#63737d; cursor:pointer; }
.wl-local-planned>summary>span { margin-left:8px; font-size:10px; color:#9a6a3e; }

/* Task actions remain a tab-local demo until CRM writing is enabled. */
.wl-task-title-line{display:flex;align-items:flex-start;gap:9px}
.wl-task-check{flex:none;width:23px;height:23px;border:1px solid #cfdadf;background:white;border-radius:5px;color:transparent;cursor:pointer;line-height:20px;padding:0}
.wl-task-check:hover,.wl-task-check:focus-visible{color:#33745a;border-color:#5e9f83;background:#edf7f1}
.wl-task-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.wl-task-actions button,.wl-task-feedback button{font:inherit;font-size:11px;border:1px solid #dbe3e7;border-radius:6px;padding:7px 10px;background:#fff;color:#395666;cursor:pointer}
.wl-task-feedback{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#edf7f1;border:1px solid #cde2d6;border-radius:8px;padding:10px 14px;margin-bottom:14px;font-size:12px;color:#315b46}
dialog.wl-task-dialog{box-sizing:border-box;width:min(560px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #dce4e8;border-radius:14px;padding:24px;color:#20323e;box-shadow:0 24px 90px #14293640}
.wl-task-dialog::backdrop{background:#14263270;backdrop-filter:blur(3px)}
.wl-task-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.wl-task-dialog h2{font-size:23px;margin:5px 0 0;letter-spacing:-.4px}
.wl-task-dialog header button{width:32px;height:32px;border:0;border-radius:50%;background:#eef2f4;font-size:24px;cursor:pointer;color:#344b57}
.wl-task-dialog-context{background:#f6f8f9;border-radius:8px;padding:10px 12px;margin-bottom:12px}
.wl-task-dialog-context strong{display:block;font-size:13px}
.wl-task-dialog-context p{font-size:12px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}
.wl-task-dialog small{color:#7a8891;font-size:10px;line-height:1.6}
.wl-task-dialog fieldset{border:0;margin:0;padding:0;min-width:0}
.wl-task-dialog label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;margin-bottom:10px}
.wl-task-dialog label span{font-weight:400;color:#7a8891}
.wl-task-dialog input:not([type="checkbox"]),.wl-task-dialog select,.wl-task-dialog textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d5dfe5;border-radius:6px;padding:10px;background:white;color:#20323e;font:inherit;font-size:13px}
.wl-task-dialog textarea{resize:vertical;min-height:54px;height:54px}
.wl-task-dialog input:focus,.wl-task-dialog textarea:focus,.wl-task-dialog select:focus{outline:2px solid #ff8b263d;border-color:#ff8000}
.wl-task-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.wl-task-dialog .wl-task-follow-toggle{flex-direction:row;align-items:center;gap:9px;margin:12px 0}
.wl-task-follow-toggle input{accent-color:#ff8000;width:17px;height:17px}
.wl-task-dialog footer{border-top:1px solid #e6ecef;padding:10px 0 0;margin-top:12px;text-align:left}
.wl-task-dialog footer>div{display:flex;justify-content:flex-end;gap:8px;margin-top:13px}
.wl-task-dialog footer button{font:inherit;font-size:12px;cursor:pointer;border:1px solid #dbe3e7;border-radius:6px;padding:10px 14px;background:white;color:#395666}
.wl-task-dialog footer button.primary{background:#ff8000;color:#fff;border-color:#ff8000;font-weight:650}
.wl-task-form-error{color:#b53226;font-size:12px}
.wl-task-orphan{background:#fff4e4;color:#946027;border-radius:6px;padding:12px;font-size:12px;line-height:1.5}
@media(max-width:480px){dialog.wl-task-dialog{padding:18px}.wl-task-form-grid{grid-template-columns:1fr}.wl-task-dialog footer>div{flex-wrap:wrap}}

.wl-sales-table-wrap{overflow-x:auto;border-radius:0 0 8px 8px}
.wl-sales-table{width:100%;min-width:900px;table-layout:fixed;border-collapse:collapse;font-size:12px}
.wl-sales-table th{background:#fafbfc;color:#778791;text-align:left;font-size:10px;font-weight:600;letter-spacing:0;text-transform:none;padding:11px 12px;border-bottom:1px solid #e6ecef;white-space:nowrap}
.wl-sales-table th:nth-child(1){width:21%}.wl-sales-table th:nth-child(2){width:8%}.wl-sales-table th:nth-child(3){width:10%}.wl-sales-table th:nth-child(4){width:11%}.wl-sales-table th:nth-child(5){width:13%}.wl-sales-table th:nth-child(6){width:11%}.wl-sales-table th:nth-child(7){width:26%}
.wl-sales-table td{padding:11px 12px;border-bottom:1px solid #edf1f3;vertical-align:middle;color:#344b59;font-size:11px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wl-sales-table tr:last-child td{border-bottom:0}
.wl-sales-table tr:hover td{background:#fafcfd}.wl-sales-table tr.selected td{background:#fff6ec}
.wl-sales-table th.wl-money,.wl-sales-table td.wl-money{text-align:right;font-variant-numeric:tabular-nums}
.wl-sales-table .wl-name{display:block;max-width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.wl-sales-table .wl-table-phone{display:block;color:#527487;font-size:10px;text-decoration:none;margin-top:3px}
.wl-table-note{white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px}

.wl-sales-table .wl-sort-heading{display:inline-flex;align-items:center;gap:6px;background:transparent;border:0;padding:4px 0;margin:-4px 0;font:inherit;color:inherit;cursor:pointer;white-space:nowrap}
.wl-sales-table .wl-sort-heading:hover,.wl-sales-table th[aria-sort="ascending"],.wl-sales-table th[aria-sort="descending"]{color:#c05c00}
.wl-sales-table .wl-sort-heading:focus-visible{outline:2px solid #ff8000;outline-offset:4px;border-radius:2px}

.wl-sales-name-line{display:flex;align-items:center;gap:7px;min-width:0}
.wl-sales-name-line .wl-name{min-width:0;flex:0 1 auto}
.wl-no-task-dot{display:inline-block;flex:0 0 8px;width:8px;height:8px;border-radius:50%;background:#d43b35}
.wl-no-task-dot:focus-visible{outline:2px solid #d43b35;outline-offset:3px}

.wl-high-priority{display:inline-block;flex-shrink:0;border-radius:4px;background:#fff0eb;color:#b53226;font-size:10px;font-weight:650;padding:3px 6px}

.wl-note-edit{display:flex;align-items:center;gap:8px;width:100%;padding:4px 0;border:0;border-radius:4px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:text}
.wl-note-edit:hover{background:#fff6ec}.wl-note-edit:focus-visible{outline:2px solid #ff8000;outline-offset:2px}
.wl-note-edit .wl-table-note{flex:1;min-width:0}.wl-note-pencil{flex-shrink:0;color:#83939d;font-size:14px}
.wl-note-demo,.wl-note-form small{display:block;font-size:10px;color:#8b6239;white-space:normal;margin-top:4px}
.wl-note-form textarea{box-sizing:border-box;width:100%;min-height:75px;resize:vertical;border:1px solid #ff8000;border-radius:4px;padding:7px;font:inherit;color:inherit;background:white;white-space:pre-wrap}
.wl-note-form>div{display:flex;gap:6px;margin-top:5px}.wl-note-form button{font:inherit;font-size:11px;border:1px solid #dbe3e7;border-radius:4px;background:white;padding:6px 9px;cursor:pointer}
.wl-note-form button[type="submit"]{background:#ff8000;border-color:#ff8000;color:white}

.wl-stock-warning{padding:12px 14px;border:1px solid #efc4ba;border-radius:7px;background:#fff3ef;margin-bottom:16px;color:#9d3928}
.wl-stock-warning strong{font-size:13px}.wl-stock-warning p{font-size:12px;line-height:1.5;margin:6px 0}.wl-stock-warning small,.wl-stock-check{font-size:11px}
