/* Services CRM only: retain the shared Medical&Stay identity and existing controls. */
body .service-workspace button,body .service-workflow-dialog button{background:var(--brand-action,#007a51);color:#fff;min-height:44px;line-height:1.45}
body .service-workspace .crm-nav button{background:transparent;color:var(--muted);border-bottom-color:transparent}
body .service-workspace .crm-nav button[aria-current=page]{background:#eaf2fb;color:var(--brand-primary);border-bottom-color:var(--brand-primary)}
body .service-workspace .crm-filter-chips button{background:#f3f7fb;color:var(--ink)}
body .service-workspace .crm-filter-chips button[aria-pressed=true]{background:var(--brand-action);color:#fff}
body .service-workspace button.crm-metric{background:#fff;color:var(--ink);border-color:var(--line)}
body .service-workspace button.crm-metric:hover{background:#f3f7fb}
body .service-workspace .crm-metric>strong{color:var(--brand-primary)}
body .service-workspace .crm-metric>small,body .service-workspace .crm-channel-note{color:var(--muted)}
body .service-workspace .crm-thread-list{background:#fff;border-color:var(--line)}
body .service-workspace .crm-thread-item{background:#fff;color:var(--ink);border-color:var(--line)}
body .service-workspace .crm-thread-item[aria-pressed=true]{background:#eaf2fb;color:var(--brand-primary)}
body .service-workspace .crm-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
body .service-workspace .crm-case-overview,body .service-workspace .crm-thread-messages,body .service-workspace .crm-file-viewer{background:#f3f7fb;color:var(--ink)}
body .service-workspace .crm-message{border-color:var(--line)}
body .service-workspace .crm-message.mine{background:#e8f5ef}
body .service-workspace .crm-folder>button{background:#fff;color:var(--brand-primary);border:1px solid var(--line)}
body .service-workspace .crm-pipeline{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(230px,280px)}
body .service-workspace .crm-pipeline>section{background:#f3f7fb}
body .service-workspace .crm-person{min-width:150px;max-width:260px;overflow-wrap:anywhere}
body .service-workspace .crm-empty-cell{padding:24px 12px;color:var(--muted);white-space:normal}
body .service-workspace .crm-draft-status{color:var(--muted);font-size:14px;line-height:1.5;max-width:65ch}
body .service-workspace :is(input,select,textarea),body .service-workflow-dialog :is(input,select,textarea){color:var(--ink);border-color:var(--line);min-width:0;max-width:100%}
body .service-workspace input[type=checkbox],body .service-workflow-dialog input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--brand-action)}
body .service-workspace .crm-upload input[type=file]{width:100%;min-width:0;max-width:100%}
@media(max-width:700px){body .service-workspace :is(input,select,textarea):not([type=checkbox]):not([type=radio]),body .service-workflow-dialog :is(input,select,textarea):not([type=checkbox]):not([type=radio]){font-size:16px}}
body .service-workspace .crm-nav [data-view=reports]{--ms-action-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203v17h17M8%2016v-4m5%204V8m5%208V5%22%2F%3E%3C%2Fsvg%3E")}
