.crm-list-filters{padding-bottom:16px;border-bottom:1px solid #e1e9ed}
.crm-list-searchbar{display:flex;align-items:center;gap:12px}
.crm-list-search{position:relative;flex:1;min-width:0}
.workspace .crm-list-search input{height:46px;margin:0;padding:11px 52px 11px 16px;font-weight:400}
.crm-list-search-submit{position:absolute;right:1px;top:1px;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:0 8px 8px 0;background:transparent;cursor:pointer}
.crm-list-search-submit:hover{background:#e8f1f4}
.workspace .crm-list-filter-trigger{flex-shrink:0;gap:10px;min-height:46px}
.crm-filter-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:6px;background:#e8f1f4;color:#075e70;font-size:12px}
.crm-filter-fallback{margin-top:16px}
.crm-filter-fallback>summary{cursor:pointer;padding:12px 0;font-weight:600;color:#075e70}
.crm-list-filter-dialog{width:min(760px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 48px);padding:0;border:1px solid #d3e1e6;border-radius:18px;background:#fff;color:#061d2d;box-shadow:0 24px 80px #061d2d40;overflow:hidden}
.crm-list-filter-dialog::backdrop{background:#061d2d99;backdrop-filter:blur(3px)}
.crm-list-filter-dialog[open] .crm-filter-content{display:flex;flex-direction:column;max-height:calc(100dvh - 50px)}
.crm-filter-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:24px 28px;border-bottom:1px solid #e1e9ed}
.crm-filter-heading .ws-kicker{margin:0 0 8px}
.workspace .crm-filter-heading h2{font-size:24px;line-height:1.35}
.crm-filter-heading p:last-child{margin:8px 0 0;color:#526a77;font-size:14px}
.crm-filter-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #d3e1e6;background:#f3f7f8;border-radius:10px;cursor:pointer}
.crm-filter-close:hover{background:#e8f1f4}
.crm-filter-body{padding:24px 28px;overflow:auto;overscroll-behavior:contain;min-height:0}
.crm-filter-body fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}
.crm-filter-body fieldset:last-child{margin-bottom:0}
.crm-filter-body legend{padding:0;margin-bottom:14px;font-size:14px;font-weight:700;color:#061d2d}
.crm-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.crm-filter-body label{min-width:0;font-size:12px}
.crm-filter-body select{width:100%;font-size:13px;font-weight:400}
.crm-filter-note{padding:12px 14px;border-radius:8px;background:#f3f7f8;color:#526a77;font-size:12px;line-height:1.6;margin:16px 0 0}
.crm-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;border-top:1px solid #e1e9ed;background:#f8fafb}
.crm-filter-footer>div{display:flex;gap:10px;margin-left:auto}
.crm-filter-reset{border:0;padding:8px 0;min-height:44px;background:transparent;color:#075e70;cursor:pointer;font-size:13px;text-decoration:underline;text-underline-offset:4px}
.workspace:has(.crm-list-filter-dialog[open]){overflow:hidden}
.crm-list-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;min-width:0}
.ws-crm-list .crm-list-summary .ws-result-count{margin:0;white-space:nowrap}
.ws-crm-list .crm-priority-progress{display:flex;align-items:center;gap:8px;margin:0;min-width:0;font-size:12px;color:#526a77;white-space:nowrap}
.crm-priority-progress strong{color:#075e70;font-variant-numeric:tabular-nums}
.ws-crm-list .crm-priority-progress progress{width:80px;height:8px;margin:0}
.crm-priority-label-short{display:none}
@media(max-width:600px){.crm-priority-label,.ws-crm-list .crm-priority-progress progress{display:none}.crm-priority-label-short{display:inline}}
@media(max-width:600px){.crm-list-searchbar{gap:8px}.workspace .crm-list-filter-trigger{padding:10px;gap:6px;font-size:12px}.crm-list-filter-trigger>img{display:none}.workspace .crm-list-search input{padding-left:12px;font-size:13px}.crm-list-filter-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.crm-list-filter-dialog[open] .crm-filter-content{max-height:calc(100dvh - 22px)}.crm-filter-heading{padding:20px;gap:12px}.workspace .crm-filter-heading h2{font-size:21px}.crm-filter-body{padding:20px}.crm-filter-grid{grid-template-columns:1fr;gap:14px}.crm-filter-footer{padding:14px 16px;gap:8px;flex-wrap:wrap}.crm-filter-footer>div{gap:8px}.crm-filter-footer .ws-button{padding:10px 12px;font-size:12px}}
/* Admin lists share the available width; secondary information lives on the detail page. */
.workspace .ws-main:has(.crm-list-filters)>.ws-page-heading{margin-bottom:22px}
.workspace .ws-main:has(.crm-list-filters){padding-top:28px}
.workspace .ws-main:has(.crm-list-filters) .ws-table-scroll table,
.workspace .ws-main:has(.crm-list-filters) .ai-table{table-layout:fixed;width:100%;min-width:0}
.workspace .ws-main:has(.crm-list-filters) th,
.workspace .ws-main:has(.crm-list-filters) td{min-width:0;overflow-wrap:anywhere;white-space:normal}
.workspace .ws-main:has(.crm-list-filters) .ws-table-scroll{max-width:100%}
.workspace .ws-crm-table--compact th,.workspace .ws-crm-table--compact td{padding:12px 10px}
.workspace .ws-crm-table--compact .ws-crm-identity{gap:10px;min-width:0}
.workspace .ws-crm-table--compact .ws-crm-name{min-width:0}
.workspace .ws-crm-table--compact .ws-crm-name-cell{width:auto;max-width:none}
.workspace .ws-crm-table--compact .ws-crm-creator-cell{width:auto}
.workspace .ws-crm-table--compact .ws-crm-date-cell{white-space:normal}
.workspace .ws-crm-table--compact .ws-crm-links{gap:4px}
.workspace .ws-crm-table--compact .ws-crm-links a{white-space:normal;overflow-wrap:anywhere}
.workspace .ws-crm-table--compact .ws-badge{white-space:normal}
.workspace .ws-crm-table--compact .commerce-tags{margin-top:6px}
.workspace .ws-crm-table--compact .ws-crm-role{margin:6px 0 0;color:#526a77;font-size:12px}
.workspace .ws-crm-table--compact .crm-priority-cell small{font-size:11px;line-height:1.5}
.workspace .ws-main:has(.crm-list-filters) .crm-row-actions .ws-button{white-space:normal;min-height:36px;padding:6px 10px}
.workspace .ws-main:has(.crm-list-filters) .crm-row-actions{white-space:normal}
.workspace .ws-main:has(.crm-list-filters) .ai-table td:first-child{min-width:0}
.crm-list-filters input[type=date]{min-width:0}
.crm-work-row>*{min-width:0;overflow-wrap:anywhere}
.crm-work-row h2{font-size:16px}
.crm-data-table th:first-child{width:28%}
.crm-data-table th:nth-child(2){width:18%}
.crm-data-table th:last-child{width:10%}
@media(max-width:1100px){
 .workspace .ws-crm-table--compact colgroup{display:none}
 .workspace .ws-crm-table--compact :is(th,td):nth-child(4),.workspace .ws-crm-table--compact :is(th,td):nth-child(6){display:none}
 .workspace .ws-crm-table--compact th:first-child{width:30%}
 .workspace .ws-crm-table--compact th:last-child{width:12%}
}
@media(max-width:650px){
 .workspace .ws-crm-table--compact :is(th,td):nth-child(2),.workspace .ws-crm-table--compact :is(th,td):nth-child(5){display:none}
 .workspace .ws-crm-table--compact th:first-child{width:48%}
 .workspace .ws-crm-table--compact th:nth-child(3){width:34%}
 .workspace .ws-crm-table--compact th:last-child{width:18%}
 .workspace .ws-crm-table--compact th,.workspace .ws-crm-table--compact td{padding:10px 5px}
 .workspace .ws-crm-table--compact .ws-crm-identity{display:block}
 .workspace .ws-crm-table--compact .ws-crm-avatar{display:none}
 .workspace .ws-crm-table--compact .crm-data-meta{font-size:10px}
}
.workspace--admin:has(.crm-list-filters)>.site-footer{display:none}
.workspace--admin:has(.crm-list-filters) .ws-shell{min-height:calc(100dvh - 86px)}
.ws-crm-table--compact col:nth-child(1){width:23%}
.ws-crm-table--compact col:nth-child(2){width:18%}
.ws-crm-table--compact col:nth-child(3){width:15%}
.ws-crm-table--compact col:nth-child(4){width:15%}
.ws-crm-table--compact col:nth-child(5){width:12%}
.ws-crm-table--compact col:nth-child(6){width:9%}
.ws-crm-table--compact col:nth-child(7){width:8%}
.workspace .ws-crm-table--compact .ws-crm-links{flex-wrap:wrap}
.workspace .ws-crm-table--compact .ws-crm-name-cell{position:static;box-shadow:none}
.workspace .ws-main:has(.crm-list-filters) .ws-instance-catalogue{display:block}
.crm-open-icon{display:none}
@media(max-width:1400px){.crm-open-label{display:none}.crm-open-icon{display:inline}.workspace .ws-crm-table--compact .ws-row-link{display:inline-grid;place-items:center;min-height:44px;width:100%}}

.workspace .ws-crm-table--compact .ws-crm-links a{min-height:28px}
