/* A compact toolbar leaves the remaining viewport for the pipeline. */
html body .main:has(> .acq-workspace){max-width:none;padding:14px 20px 12px}
.acq-workspace{min-width:0}
.acq-workspace-pipeline{height:calc(100dvh - 98px);min-height:560px;display:flex;flex-direction:column}
.acq-toolbar{position:relative;z-index:3;flex:none;padding:0 0 12px}
.acq-toolbar-top,.acq-toolbar-bottom{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.acq-toolbar-top{margin-bottom:10px}
.acq-toolbar h1{margin:0 8px 0 0;font:650 20px/1.3 var(--body);letter-spacing:-.4px}
.acq-pipeline-picker{width:220px;min-width:160px}
.acq-count{font-size:13px;white-space:nowrap;color:#2858ff;background:#eef3ff;border-radius:20px;padding:5px 10px}
.acq-view-switch{display:inline-flex;gap:2px;margin-left:auto;padding:3px;border:1px solid #dce3ef;border-radius:8px;background:#f0f5fc}
.acq-view-switch button{border:0;border-radius:5px;background:transparent;color:#4f5f79;font:600 14px/1.4 var(--body);padding:6px 13px;cursor:pointer}
.acq-view-switch button[aria-pressed=true]{background:#2858ff;color:#fff}
html body .acq-refresh{font-size:14px;padding:8px 12px;min-height:38px;border-radius:8px}
.acq-search{flex:1 1 230px;max-width:340px;min-width:180px}
.acq-quick-filter{width:145px;min-width:0}
.acq-quick-filter:has([data-acq-field=taskPresence]){width:190px}
.acq-quick-filter:has([data-acq-field=communication]){width:210px}
.acq-stage-filter{width:190px}
.acq-pipeline-picker label>span,.acq-quick-filter label>span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
.acq-toolbar input,.acq-toolbar select,.acq-move select{width:100%;min-width:0;height:38px;background:#fff;border:1px solid #dce3ef;border-radius:8px;padding:7px 10px;color:#101c35;font:400 14px/1.4 var(--body)}
.acq-sync{margin:0 0 0 auto;color:#64738b;font-size:12px;line-height:1.4}
.acq-clear{border:0;background:none;color:#2858ff;padding:8px 4px;cursor:pointer;font:500 14px/1.4 var(--body)}
.acq-advanced>summary{border:1px solid #dce3ef;border-radius:8px;background:#fff;padding:8px 11px;font-size:14px;line-height:20px;color:#2858ff;cursor:pointer;white-space:nowrap}
.acq-advanced[open]>summary{background:#eef3ff;border-color:#aec1ff}
.acq-filter-panel{position:absolute;left:0;right:0;top:100%;max-height:min(440px,65dvh);overflow:auto;padding:18px;background:#fff;border:1px solid #dce3ef;border-radius:10px;box-shadow:0 12px 30px #101c351f}
.acq-filter-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:16px}
.acq-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px}
.acq-filters label,.acq-move{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:14px;color:#4f5f79}
.acq-toolbar .alert{margin:10px 0 0;overflow-wrap:anywhere;max-height:120px;overflow:auto}
.acq-board-controls{display:flex;gap:5px;margin-left:auto}
.acq-board-controls button{background:#fff;border:1px solid #dce3ef;border-radius:7px;width:34px;height:34px;color:#2858ff;cursor:pointer;font-size:18px}
.acq-workspace :is(button,input,select,summary,[tabindex]):focus-visible{outline:2px solid #2858ff;outline-offset:2px}
/* Stage columns never wrap. Horizontal scrolling stays inside the board. */
.acq-board{display:flex;flex:1;min-height:320px;min-width:0;max-width:100%;gap:12px;overflow-x:auto;overflow-y:hidden;padding:0 0 8px;align-items:stretch;scroll-snap-type:x proximity;scrollbar-width:auto}
.acq-column{flex:0 0 310px;max-width:85vw;min-width:0;height:100%;display:flex;flex-direction:column;scroll-snap-align:start;background:#f6f8fc;border-radius:8px}
.acq-column>header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:10px 12px;margin-bottom:10px;border:1px solid #dce3ef;border-radius:7px;background:#fff;box-shadow:0 2px 3px #101c3505}
.acq-column h2{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere}
.acq-column>header>span{border-radius:14px;background:#eef3fb;padding:3px 8px;font-size:12px;font-weight:700;color:#4f5f79}
.acq-column-cards{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;min-width:0;overflow-y:auto;padding:0 4px 4px 1px;scrollbar-width:auto}
.acq-column-cards>*{flex:none}
.acq-card{min-width:0;border:1px solid #dae3f0;border-radius:8px;background:#fff;padding:11px 12px;box-shadow:0 2px 3px #101c3508}
.acq-card[draggable=true]{cursor:grab}
.acq-card-body,.acq-card-controls{min-width:0}
.acq-card-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
.acq-card-tags:empty{display:none}
.acq-card-tags span{font-size:12px;line-height:1.3;font-weight:600;border-radius:10px;padding:2px 7px;background:#eef2ff;color:#4f5f79}
.acq-card-tags .acq-hot{background:#fff1e7;color:#a65014}
.acq-property{display:block;width:100%;background:none;border:0;padding:0;text-align:left;font:600 14px/1.4 var(--body);color:#101c35;cursor:pointer;overflow-wrap:anywhere}
.acq-property:hover{color:#2858ff}
.acq-seller{font-size:14px;color:#4f5f79;line-height:1.4;margin:8px 0;overflow-wrap:anywhere}
.acq-card-meta{display:flex;gap:5px;flex-direction:column;font-size:12px;line-height:1.4;color:#64738b;overflow-wrap:anywhere}
.acq-card-meta>span:has(.acq-meta-label){display:grid;grid-template-columns:66px minmax(0,1fr);gap:8px}
.acq-meta-label{color:#4f5f79;font-weight:500}
.acq-card-controls{position:relative;margin-top:8px;padding-top:5px;border-top:1px solid #f0f2f6}
.acq-open{position:absolute;left:0;top:5px;padding:4px 0;border:0;background:none;color:#2858ff;font:500 14px/1.4 var(--body);cursor:pointer}
.acq-card-menu>summary{width:max-content;margin-left:auto;padding:4px 0 4px 6px;color:#4f5f79;cursor:pointer;font-size:14px;line-height:1.4}
.acq-card-menu-body{padding-top:8px}
.acq-card-actions{display:flex;flex-wrap:wrap;gap:6px}
.acq-card-actions:empty{display:none}
html body .acq-card-actions .btn{white-space:normal;font-size:13px;line-height:1.4;padding:7px 9px;min-width:0;border-radius:7px}
.acq-card-actions .crm-action-icon{width:14px;height:14px}
.acq-move{margin-top:10px;padding-top:8px;border-top:1px solid #edf0f6}
.acq-updated{margin:10px 0 0;font-size:12px;line-height:1.4;color:#64738b}
.acq-no-cards{text-align:center;font-size:13px;color:#72819a;padding:18px 8px}
html body .acq-show-more{width:100%;margin:0;font-size:14px;border-radius:7px}
.acq-list{display:grid;gap:10px}
.acq-list-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,330px);gap:24px;padding:15px}
.acq-list-card .acq-card-meta{flex-direction:row;gap:12px;flex-wrap:wrap}
.acq-list-card .acq-card-meta>span:has(.acq-meta-label){display:flex;gap:6px}
.acq-list-card .acq-card-controls{margin-top:0}
.acq-pagination{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:16px;color:#4f5f79;font-size:14px}
.acq-pagination>div{display:flex;gap:8px}
@media(max-width:1450px){.acq-toolbar h1{font-size:18px}.acq-pipeline-picker{width:185px}.acq-count{font-size:12px}.acq-sync{display:none}.acq-search{max-width:none}}
@media(max-width:1150px){.acq-toolbar h1{flex-basis:100%}.acq-toolbar-top{gap:8px}.acq-count{margin-right:auto}.acq-view-switch{margin-left:0}}
@media(max-width:900px){html body .main:has(> .acq-workspace){padding:12px 14px 82px}.acq-workspace-pipeline{height:calc(100dvh - 162px);min-height:540px}.acq-quick-filter{width:130px}.acq-stage-filter{width:170px}}
@media(max-width:600px){.acq-toolbar h1{font-size:18px}.acq-pipeline-picker{flex:1;min-width:150px}.acq-toolbar-top{gap:8px}.acq-view-switch{margin-left:0}.acq-refresh{margin-left:auto}.acq-search{flex-basis:100%;max-width:none}.acq-stage-filter{flex:1;min-width:120px}.acq-toolbar input,.acq-toolbar select,.acq-move select{font-size:16px}.acq-toolbar-bottom{gap:8px}.acq-filters{grid-template-columns:1fr}.acq-filter-panel{padding:14px}.acq-list-card{grid-template-columns:1fr;gap:10px}.acq-column{flex-basis:300px}}
.acq-attempt-history{border-top:1px solid #e0e6ee;margin-top:10px;padding-top:10px;font-size:12px;line-height:1.5}.acq-attempt-history strong{font-weight:600;color:#21634d}.acq-attempt-history dl{display:grid;gap:3px;margin:6px 0 0}.acq-attempt-history dl>div{display:flex;justify-content:space-between;gap:12px}.acq-attempt-history dt{color:#637080}.acq-attempt-history dd{margin:0;text-align:right;overflow-wrap:anywhere}
