.selection-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 16px;background:var(--surface-soft);border-block:1px solid var(--border);margin-block:0 14px}
.selection-check{display:inline-flex;align-items:center;gap:8px;min-height:32px;cursor:pointer;font-size:12px;font-weight:600;color:var(--heading);flex-shrink:0}
.selection-check input{width:17px;height:17px;margin:0;accent-color:var(--accent);cursor:pointer;flex-shrink:0}
.selection-check input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.selection-compact{width:32px;justify-content:center}
.selection-count{font-size:11px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.selection-actions{display:flex;flex-wrap:wrap;gap:7px;margin-inline-start:auto}
.selection-actions .pill{font-size:11px;min-height:34px}
.selection-toolbar>small{width:100%;font-size:10px;color:var(--muted)}
.selection-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.table .selection-cell{width:48px;min-width:48px;padding:8px;text-align:center}
.selection-picked{background:var(--accent-soft)!important}
.team-card.selection-picked{border-color:var(--accent)}
.team-card>header>.selection-check{width:24px;flex-basis:24px}
.trash-selection-card{border:1px solid var(--border);border-radius:12px}
.selection-toolbar+.trashlist{grid-template-columns:repeat(3,minmax(0,1fr))}
.trash-selection-heading{display:flex;align-items:center;gap:10px;min-width:0}
.trash-selection-heading h3{margin:0;overflow-wrap:anywhere}
.trash-selection-card .actions{flex-wrap:wrap}
.selection-review{max-height:220px;overflow:auto;margin:16px 0;padding:0;list-style:none;border:1px solid var(--border);border-radius:9px}
.selection-review li{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px}
.selection-review li:last-child{border-bottom:0}
.selection-review small{color:var(--muted);overflow-wrap:anywhere}
.selection-dialog #selectionProgress{padding:10px;background:var(--accent-soft);border-radius:8px}
.team-directory>.selection-toolbar{border:1px solid var(--border);border-radius:10px}
@media(max-width:1100px){.selection-toolbar+.trashlist{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.selection-toolbar+.trashlist{grid-template-columns:minmax(0,1fr)}.selection-toolbar{gap:8px;padding:10px}.selection-actions{width:100%;margin:0}.selection-actions .pill{min-height:36px}.selection-review li{align-items:flex-start;flex-direction:column;gap:4px}.team-card>header{gap:9px}.team-card>header>.selection-check{flex-basis:20px;width:20px}.team-card>header .team-avatar{width:36px;height:36px;flex-basis:36px}}
@media print{.selection-toolbar,.selection-check,.selection-cell,.selection-trash-filters{display:none!important}.selection-picked{background:transparent!important}}

/* Keep the selected-customer actions within reach without moving table rows. */
.selection-inline-active .selection-actions{visibility:hidden;pointer-events:none}
.crm-selection-dock{position:fixed;bottom:16px;z-index:180;margin:0;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:0 10px 36px #072c3f24;padding:12px 16px;gap:10px;max-height:40dvh;overflow:auto}
.crm-selection-dock .selection-count{font-size:13px;font-weight:700;color:var(--heading)}
.crm-selection-dock .selection-actions .pill{min-height:44px;font-size:12px}
.crm-selection-dock [data-selection-action=task]{background:var(--accent);border-color:var(--accent);color:var(--button-text,#fff);font-weight:700}
.crm-selection-dock>small{display:none}
.crm-selection-open .main{padding-bottom:calc(40px + var(--crm-selection-height,90px))}
.crm-selection-open .rw-launcher{bottom:calc(32px + var(--crm-selection-height,90px))}
@media(max-width:900px){
 .crm-selection-dock{bottom:calc(78px + env(safe-area-inset-bottom));padding:10px;max-height:35dvh;gap:8px}
 .crm-selection-dock .selection-actions{width:100%;margin:0;gap:6px;display:flex}
 .crm-selection-dock .selection-actions .pill{flex:1 1 auto;font-size:11px;padding:8px}
 .crm-mobile-app.crm-selection-open .main{padding-bottom:calc(100px + env(safe-area-inset-bottom) + var(--crm-selection-height,130px))}
 .crm-mobile-app.crm-selection-open .rw-launcher{bottom:calc(94px + env(safe-area-inset-bottom) + var(--crm-selection-height,130px))}
 .crm-mobile-menu-open .crm-selection-dock,.crm-mobile-editing .crm-selection-dock{visibility:hidden;pointer-events:none}
}
@media print{.crm-selection-dock{display:none!important}}
