/* Intrinsic wrapping also follows resized Workspace windows on wide screens. */
#deepWells .deep-wells-toolbar { display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px; }
#deepWells .deep-wells-toolbar .deep-wells-search-filter { display:flex; flex-direction:column; flex:2 1 260px; width:auto; min-width:0; max-width:none; gap:5px; }
#deepWells .deep-wells-filter { display:flex; flex-direction:column; flex:1 1 150px; width:auto; min-width:0; max-width:none; gap:5px; }
#deepWells .deep-wells-toolbar label > span { font-size:.8rem; color:var(--color-muted); }
#deepWells .deep-wells-toolbar input, #deepWells .deep-wells-toolbar select { width:100%; min-width:0; min-height:38px; box-sizing:border-box; }
#deepWells #manageWellStatuses { width:auto; min-height:38px; flex:0 0 auto; }
#deepWells [data-well-status-color="gray"] .status, #deepWellCardStatus[data-color="gray"] { color:var(--color-muted); background:var(--color-surface-soft); }
#deepWells [data-well-status-color="blue"] .status, #deepWellCardStatus[data-color="blue"] { color:var(--color-info); background:var(--color-info-bg); }
#deepWells [data-well-status-color="red"] .status, #deepWellCardStatus[data-color="red"] { color:var(--color-danger); background:var(--color-danger-bg); }
#deepWells [data-well-status-color="yellow"] .status, #deepWellCardStatus[data-color="yellow"] { color:var(--color-warning); background:var(--color-warning-bg); }
#deepWells [data-well-status-color="green"] .status, #deepWellCardStatus[data-color="green"] { color:var(--color-success); background:var(--color-success-bg); }
#deepWells [data-well-status-color="violet"] .status, #deepWellCardStatus[data-color="violet"] { color:var(--status-progress-text); background:var(--status-progress-bg); }
html[data-crm-workspace="windows"] body.workspace-shell-enabled #wellStatusSettingsModal { bottom:var(--crm-workspace-taskbar-height,0px); }
#wellStatusSettingsModal .wss-card { max-height:100%; min-height:0; }
@media (pointer:coarse) { #deepWells .deep-wells-toolbar input, #deepWells .deep-wells-toolbar select, #deepWells #manageWellStatuses { min-height:44px; } }
