.preparation-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 18px}.preparation-shortcuts button{border:1px solid #e3d8fa;border-radius:8px;background:white;padding:10px 14px;color:#48257c}.preparation-shortcuts strong{margin-left:8px;color:#6603fc}.preparation-shortcuts button[aria-pressed=true]{background:#eee5ff;border-color:#6603fc}.toolbar{flex-wrap:wrap}.toolbar select{max-width:100%}@media(max-width:700px){.preparation-shortcuts{gap:8px}.preparation-shortcuts button{font-size:13px}.toolbar>label{min-width:0}}

.preparation-shortcuts button[hidden]{display:none}.more-filters{position:relative}.more-filters summary{cursor:pointer;color:#48257c;padding:10px 0}.more-filters>label{display:flex;flex-direction:column;gap:6px;padding:12px;border:1px solid #e3d8fa;border-radius:8px;background:#fff}.more-filters[open]>label{position:absolute;z-index:5;top:100%;right:0;min-width:230px}#sales-filter-active{color:#6603fc}@media(max-width:700px){.more-filters[open]>label{position:static;min-width:0}}

/* Compact task filters; existing records and stage calculation stay unchanged. */
.crm-searchbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.crm-searchbar .search{flex:1;min-width:220px}.crm-searchbar input{border-radius:12px;padding:15px 18px;font-size:16px}.crm-searchbar summary{list-style:none;border:1px solid #e3d8fa;border-radius:10px;background:#fff;padding:12px 16px;cursor:pointer}.crm-searchbar summary::-webkit-details-marker{display:none}.filter-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:6;background:white;border:1px solid #e3d8fa;border-radius:12px;padding:16px;box-shadow:0 8px 24px #25133f12;min-width:260px;display:grid;gap:14px}.filter-popover label{display:grid;gap:6px;font-size:13px}.crm-export{position:relative}.crm-export a{position:absolute;right:0;top:calc(100% + 8px);z-index:7;background:white;border:1px solid #e3d8fa;border-radius:10px;padding:14px;white-space:nowrap}.preparation-shortcuts{gap:8px}.preparation-shortcuts button{border-radius:20px;font-size:14px;padding:10px 14px;min-height:42px}.preparation-shortcuts .progress-shortcut{border-color:transparent;background:transparent;color:#756b82}.crm-searchbar [hidden]{display:none}@media(max-width:700px){.crm-searchbar .search{flex-basis:100%}.filter-popover{left:0;right:auto;min-width:260px}.crm-searchbar{gap:8px}}

.crm-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:30px 0 14px}.crm-list-heading h2{display:flex;align-items:center;gap:12px;font-size:23px;letter-spacing:-.4px}.business-count{font-size:15px;letter-spacing:0;background:#efecf5;color:#746c80;padding:3px 10px;border-radius:8px}.sales-summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.sales-summary button{background:transparent;color:#746c80;padding:10px 8px;font-size:14px;border-radius:6px}.sales-summary button+button:before{content:'·';margin-right:16px;color:#aaa0b6}.sales-summary button:hover,.sales-summary button[aria-pressed=true],.sales-summary .has-callbacks{color:#6603fc}.sales-summary button[aria-pressed=true]{background:#eee5ff}.sales-summary span{font-variant-numeric:tabular-nums}.crm-searchbar .search{position:relative}.crm-searchbar .search:before{content:'';position:absolute;left:18px;top:23px;width:12px;height:12px;border:2px solid #81748e;border-radius:50%;pointer-events:none}.crm-searchbar .search:after{content:'';position:absolute;left:31px;top:36px;width:7px;height:2px;background:#81748e;transform:rotate(45deg);pointer-events:none}.crm-searchbar .search input{padding-left:46px}.filter-icon{width:18px;height:18px;vertical-align:-4px;margin-right:8px;fill:white;stroke:currentColor;stroke-width:1.7}.preparation-shortcuts button{border-radius:10px}@media(max-width:700px){.crm-list-heading{align-items:flex-start;flex-direction:column;gap:4px;margin-top:24px}.crm-list-heading h2{font-size:21px}.sales-summary button{padding:8px 4px;font-size:13px}.sales-summary button+button:before{margin-right:8px}}
.crm-searchbar .search:before{top:50%;transform:translateY(-50%)}.crm-searchbar .search:after{top:calc(50% + 6px)}
