/* Common categories, with the same readable controls on desktop and phone. */
.w-contact-controls{flex-shrink:0;background:#fff;border-bottom:1px solid var(--line)}
.myai-unified .w-main-filters{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(190px,1fr) minmax(150px,.8fr);gap:14px;padding-bottom:12px;border-bottom:0}
.w-main-filters .search,.w-main-filters .compact-control{width:auto;min-width:0;max-width:none}
.w-main-filters select,.w-extra-filters select{width:100%;max-width:100%;font-size:14px}
.w-extra-filters{padding:0 24px 12px;font-size:14px;color:var(--muted)}
.w-extra-filters summary{cursor:pointer;min-height:30px;line-height:30px;width:fit-content}
.w-extra-filters>div{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding-top:10px}
.w-extra-filters .compact-control{flex:1;min-width:145px;max-width:250px}
.w-category-tags{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.w-category-tag{display:inline-flex;background:#eeeafd;color:#4d3d9e;border:1px solid #ded7f8;border-radius:6px;padding:5px 9px;font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.w-category-tag.neutral{background:#f2f4f8;border-color:#e0e4ec;color:#596477}
.w-row-tags{margin-bottom:7px}
.w-row-tags .w-category-tag{font-size:12px;padding:3px 6px}
.w-category-card .crm-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.w-category-card .crm-card-head h3{margin:0}
.w-category-card .crm-card-head button{font-size:14px;white-space:normal}
.w-category-note{font-size:14px;line-height:1.55;color:var(--muted);margin:12px 0 0;overflow-wrap:anywhere}
.w-category-choices{border:0;margin:0 0 20px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.w-category-choices legend{font-size:16px;font-weight:600;padding:0;margin-bottom:14px}
.w-category-choices label{display:flex;align-items:center;gap:10px;border:1px solid #dce0ea;border-radius:9px;padding:12px;min-width:0;cursor:pointer;font-size:15px;line-height:1.4}
.w-category-choices label:has(input:checked){background:#f2efff;border-color:#a99ae6;color:#493a93}
.w-category-choices input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:0;accent-color:#5945d1}
.w-category-choices span{overflow-wrap:anywhere}
.w-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.w-category-grid button{display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;background:#faf9fe;border:1px solid #e6e1f6;border-radius:9px;padding:13px 15px;font-size:14px;color:#37334e;min-width:0;white-space:normal;line-height:1.4}
.w-category-grid button:hover{border-color:#a99ae6;background:#f1edff}
.w-category-grid strong{font-size:18px;color:#5945b5}
.w-category-grid .w-unclassified{background:#f5f6f9;border-color:#e0e4ec}
.w-category-grid .w-unclassified strong{color:#596477}
.w-category-overview .r-section-title button{font-size:14px}
.r-overdue{background:#fff0ef;color:#a23c34;border-color:#ebc8c3}
.crm-timeline button[data-workflow-message]{white-space:normal;text-align:left;overflow-wrap:anywhere;padding:0;min-height:auto}
@media(max-width:1100px){.myai-unified .w-main-filters{grid-template-columns:1fr 1fr}.w-main-filters .search{grid-column:1/-1}.w-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.myai-unified .w-main-filters{grid-template-columns:1fr;padding:14px 16px 8px;gap:10px}.w-main-filters .search{grid-column:auto}.w-extra-filters{padding:0 16px 10px}.w-extra-filters>div{display:grid;grid-template-columns:1fr}.w-extra-filters .compact-control{max-width:none;min-width:0}.w-category-grid,.w-category-choices{grid-template-columns:1fr}.w-category-grid button{min-height:48px}.w-category-card .crm-card-head{align-items:flex-start}.w-category-tag{font-size:14px}.w-category-choices label{min-height:48px}.myai-unified .w-contact-controls select{font-size:16px}}
