/* LedExpert Workspace 5.0.4 — Ops / CRM / Inbox theme consistency */
html.ws5[data-ws-theme] :is(.leops-hero,.lecrm-head){
 background:var(--wg-panel)!important;color:var(--wg-heading)!important;
 border:1px solid var(--wg-border)!important;box-shadow:var(--shadow)!important;
}
html.ws5[data-ws-theme] :is(.leops-hero h2,.lecrm-head h2){
 color:var(--wg-heading)!important;
}
html.ws5[data-ws-theme] :is(.leops-hero p,.lecrm-head p){
 color:var(--wg-muted)!important;
}
html.ws5[data-ws-theme] :is(.leops-hero button,.lecrm-head button,.lecrm-actions button,.lecrm-form-actions button){
 background:var(--wg-accent)!important;color:var(--wg-on-accent)!important;
 border-color:var(--wg-accent)!important;
}
html.ws5[data-ws-theme] :is(.leops-metric,.leops-box,.leops-stage,.leops-task,
 .leops-risk,.leops-client,.leops-detail,.lecrm-stat,.lecrm-card,.lecrm-stage,.lecrm-deal){
 background:var(--wg-panel)!important;color:var(--wg-text)!important;
 border:1px solid var(--wg-border)!important;
}
html.ws5[data-ws-theme] :is(.leops-stage,.lecrm-stage,.leops-rail){
 background:var(--wg-raised)!important;
}
html.ws5[data-ws-theme] :is(.leops-box h3,.leops-task b,.leops-risk b,.leops-client b,
 .leops-metric b,.lecrm-card h3,.lecrm-deal b,.lecrm-stat strong,.lecrm-stage h4){
 color:var(--wg-heading)!important;
}
html.ws5[data-ws-theme] :is(.leops-metric label,.leops-metric small,.leops-muted,
 .leops-task small,.leops-risk small,.leops-client small,.lecrm-note,
 .lecrm-deal small,.lecrm-stat span,.lecrm-stage h4){
 color:var(--wg-muted)!important;
}
html.ws5[data-ws-theme] :is(.leops-stage h4 span,.leops-risk em,.leops-empty,
 .lecrm-stage h4 span,.lecrm-empty){
 background:var(--wg-raised)!important;color:var(--wg-muted)!important;
}
html.ws5[data-ws-theme] :is(.leops-actions select,.lecrm-deal select,#lecrmSearch){
 background:var(--wg-input)!important;color:var(--wg-text)!important;
 border-color:var(--wg-border)!important;
}
html.ws5[data-ws-theme] #panel-messenger :is(.messenger-shell,.messenger-sidebar,.messenger-content){
 background:var(--wg-panel)!important;color:var(--wg-text)!important;
 border-color:var(--wg-border)!important;
}
html.ws5[data-ws-theme] #panel-messenger .messenger-sidebar{
 background:var(--wg-raised)!important;
}
html.ws5[data-ws-theme] #panel-messenger .messenger-sidebar h2{
 color:var(--wg-heading)!important;
}
html.ws5[data-ws-theme] #panel-messenger :is(.messenger-chat-search input,.messenger-new-chat select){
 background:var(--wg-input)!important;color:var(--wg-text)!important;
 border-color:var(--wg-border)!important;
}
html.ws5[data-ws-theme] :is(.le-inbox-subtitle,.le-inbox-filters button){
 color:var(--wg-muted)!important;
}
html.ws5[data-ws-theme] .le-inbox-filters button[aria-pressed=true]{
 background:var(--wg-accent-soft)!important;
 color:var(--wg-heading)!important;border-color:var(--wg-accent)!important;
}
html.ws5[data-ws-theme] .le-inbox-filters .count{
 background:var(--wg-raised)!important;color:var(--wg-muted)!important;
}
html.ws5[data-ws-theme] :is(.leops-task,.leops-client,.lecrm-deal,
 .le-inbox-filters button):focus-visible{
 outline:3px solid var(--wg-accent)!important;outline-offset:2px!important;
}
