.erp-pipeline-head {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.erp-pipeline-head h2 {font-size:var(--font-section);font-weight:600}
.erp-pipeline-head>.row>.icon {width:18px;height:18px;color:var(--muted)}
.erp-view-switch {display:flex;padding:3px;gap:2px;border-radius:10px;background:var(--surface-soft)}
.erp-view-switch button {display:flex;align-items:center;gap:6px;padding:6px 10px;font-size:var(--font-control);border-radius:7px;color:var(--muted);min-height:30px}
.erp-view-switch button .icon {width:16px;height:16px}
.erp-view-switch button[aria-pressed=true] {background:var(--selected);color:var(--text)}
.erp-filter-tabs {display:flex;align-items:center;gap:20px;overflow:auto;border-bottom:1px solid var(--border);scrollbar-width:thin;margin-bottom:16px}
.erp-filter-tabs button {display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 2px;font-size:var(--font-control);color:var(--muted);border-bottom:2px solid transparent}
.erp-filter-tabs button[aria-pressed=true] {color:var(--text);border-bottom-color:var(--text)}
.erp-filter-tabs button span {font-size:var(--font-caption);color:var(--muted)}
.erp-search-row {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.erp-search-row .search-wrap {width:280px;max-width:100%}
.erp-search-row input {font-size:var(--font-control)}
.erp-search-row small {color:var(--muted);font-size:var(--font-caption)}
.erp-board {display:flex;align-items:stretch;gap:16px;overflow-x:auto;padding-bottom:12px;scrollbar-width:thin;scrollbar-color:var(--control-border) transparent;min-height:460px}
.erp-column {flex:1 0 250px;min-width:250px;border-radius:12px;padding:14px;background:var(--surface-soft);border:1px solid transparent;transition:background .12s,border-color .12s}
.erp-column>header {display:flex;align-items:center;gap:8px;margin-bottom:14px}
.erp-column h3 {font-size:var(--font-body);font-weight:500;white-space:nowrap}
.erp-column>header>.icon-btn {margin-left:auto;width:26px;height:26px}
.erp-column .pill {font-size:var(--font-caption);padding:1px 7px;background:var(--selected);color:var(--muted)}
.erp-stage-dot {width:8px;height:8px;border:2px solid var(--muted);border-radius:50%;flex-shrink:0}
.erp-stage-dot.stage-1 {border-color:#7386ac}.erp-stage-dot.stage-2 {border-color:#6d9985}.erp-stage-dot.stage-3 {border-color:#b19569}
.erp-column-cards {display:flex;flex-direction:column;gap:12px;min-height:340px}
.erp-card {padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:10px;cursor:grab;min-width:0}
.erp-card:active {cursor:grabbing}
.erp-card-title {display:flex;align-items:center;gap:6px;min-width:0}
.erp-drag-handle {display:flex;color:var(--muted);flex-shrink:0}.erp-drag-handle .icon {width:13px;height:18px}
.erp-card-title>button:first-of-type {flex:1;min-width:0;font-size:var(--font-body);font-weight:500;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.erp-card-title>.icon-btn {width:24px;height:24px}.erp-card-title>.icon-btn .icon {width:16px;height:16px}
.erp-card-owner {display:flex;gap:7px;align-items:center;font-size:var(--font-caption);color:var(--muted);margin-top:14px}
.erp-owner-avatar {display:grid;place-items:center;flex-shrink:0;width:24px;height:24px;background:var(--selected);border-radius:50%;font-size:11px;color:var(--text)}
.erp-card-volume {display:flex;justify-content:space-between;gap:10px;font-size:var(--font-caption);margin-top:14px;color:var(--muted)}
.erp-card-volume strong {color:var(--text);font-weight:500;font-size:var(--font-body)}
.erp-card-bottom {display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:14px;padding-top:10px;border-top:1px solid var(--border)}
.erp-card-bottom .erp-stage-select {font-size:var(--font-caption);max-width:150px;padding:4px 6px;min-width:0;background:var(--surface-soft);border:0;border-radius:6px;height:28px}
.erp-card-bottom small {font-size:11px;white-space:nowrap;color:var(--muted)}
.erp-column-empty {display:flex;flex-direction:column;align-items:center;gap:8px;padding:46px 12px;color:var(--muted);font-size:var(--font-control)}
.erp-column-empty>.icon {width:22px;height:22px;opacity:.6}.erp-column-empty small {font-size:var(--font-caption)}
.erp-column.is-drag-over {background:var(--selected);border-color:var(--focus-ring)}
.erp-card.is-dragging {opacity:.45}.erp-card.drop-before {box-shadow:0 -3px 0 var(--text)}.erp-card.drop-after {box-shadow:0 3px 0 var(--text)}
.erp-table {min-width:760px}
@media(max-width:650px){.erp-search-row {align-items:flex-start;flex-direction:column;gap:8px}.erp-search-row .search-wrap {width:100%}.erp-filter-tabs {gap:16px}.erp-column {flex-basis:260px}.erp-pipeline-head {gap:12px}.erp-pipeline-head>.row {flex-wrap:wrap}.erp-board {min-height:400px}}
