:root{--chat-own:#d9f3ed;--chat-other:#f1f5f6;--chat-own-text:#123;--chat-other-text:#123}body{background:var(--bg);color:var(--text)}.settings-btn{width:100%;margin:0 0 12px}.settings-themes,.settings-colors{display:flex;flex-wrap:wrap;gap:10px}.settings-colors label{display:flex;flex-direction:column;gap:5px;font-size:13px}.settings-colors input{width:80px;height:36px}.collab-message.own,.collab-message.self{background:var(--chat-own)!important;color:var(--chat-own-text)!important}.collab-message:not(.own):not(.self){background:var(--chat-other)!important;color:var(--chat-other-text)!important}html[data-erp-theme=claro] body,html[data-erp-theme=claro] .main{background:#fff!important;color:#111!important}html[data-erp-theme=claro] .card,html[data-erp-theme=claro] .topbar,html[data-erp-theme=claro] input,html[data-erp-theme=claro] textarea,html[data-erp-theme=claro] select{background:#fff!important;color:#111!important}html[data-erp-theme=escuro] body,html[data-erp-theme=escuro] .main,html[data-erp-theme=turquesa] body,html[data-erp-theme=turquesa] .main,html[data-erp-theme=cinza] body,html[data-erp-theme=cinza] .main{color:#f8fafc!important}html[data-erp-theme=escuro] .card,html[data-erp-theme=turquesa] .card,html[data-erp-theme=cinza] .card,html[data-erp-theme=escuro] .topbar,html[data-erp-theme=turquesa] .topbar,html[data-erp-theme=cinza] .topbar{background:var(--card)!important;color:var(--text)!important}html[data-erp-theme=escuro] input,html[data-erp-theme=escuro] textarea,html[data-erp-theme=escuro] select,html[data-erp-theme=turquesa] input,html[data-erp-theme=turquesa] textarea,html[data-erp-theme=turquesa] select,html[data-erp-theme=cinza] input,html[data-erp-theme=cinza] textarea,html[data-erp-theme=cinza] select{background:#fff!important;color:#111!important}html[data-erp-theme=escuro] .muted,html[data-erp-theme=turquesa] .muted,html[data-erp-theme=cinza] .muted{color:#cbd5e1!important}html[data-erp-theme=escuro] .analytics-card,html[data-erp-theme=turquesa] .analytics-card,html[data-erp-theme=cinza] .analytics-card,html[data-erp-theme=escuro] .analytics-kpi,html[data-erp-theme=turquesa] .analytics-kpi,html[data-erp-theme=cinza] .analytics-kpi{background:#fff!important;color:#18323a!important}html[data-erp-theme=escuro] .analytics-card *,html[data-erp-theme=turquesa] .analytics-card *,html[data-erp-theme=cinza] .analytics-card *,html[data-erp-theme=escuro] .analytics-kpi *,html[data-erp-theme=turquesa] .analytics-kpi *,html[data-erp-theme=cinza] .analytics-kpi *{color:#18323a!important}html[data-erp-theme=escuro] .analytics-kpi.ok strong,html[data-erp-theme=turquesa] .analytics-kpi.ok strong,html[data-erp-theme=cinza] .analytics-kpi.ok strong{color:#087f5b!important}html[data-erp-theme=escuro] .analytics-kpi.warn strong,html[data-erp-theme=turquesa] .analytics-kpi.warn strong,html[data-erp-theme=cinza] .analytics-kpi.warn strong{color:#b77900!important}html[data-erp-theme=escuro] .analytics-kpi.danger strong,html[data-erp-theme=turquesa] .analytics-kpi.danger strong,html[data-erp-theme=cinza] .analytics-kpi.danger strong{color:#c53030!important}html[data-erp-theme=escuro] .analytics-card .muted,html[data-erp-theme=turquesa] .analytics-card .muted,html[data-erp-theme=cinza] .analytics-card .muted{color:#49616a!important}
/* Contraste consistente para superfícies e cards em todos os temas. */
.dashboard-progress{margin-top:24px}.dashboard-progress>.section-head{margin-bottom:10px}.dashboard-progress>.section-head h3{margin:0 0 3px;color:var(--primary)}
html[data-erp-theme=escuro],html[data-erp-theme=turquesa],html[data-erp-theme=cinza]{--line:#344845;--muted:#b7c7c4}
html[data-erp-theme=escuro] :is(.table-wrap,.progress-type-group,.documents-project-group,.modal,.collab-dialog,.collab-conversation,.metas2-card,.metas-plan-card,.meta-file,.meta-check-item),html[data-erp-theme=turquesa] :is(.table-wrap,.progress-type-group,.documents-project-group,.modal,.collab-dialog,.collab-conversation,.metas2-card,.metas-plan-card,.meta-file,.meta-check-item),html[data-erp-theme=cinza] :is(.table-wrap,.progress-type-group,.documents-project-group,.modal,.collab-dialog,.collab-conversation,.metas2-card,.metas-plan-card,.meta-file,.meta-check-item){background:var(--card)!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-erp-theme=escuro] :is(.table th,.progress-type-head,.info-box,.step,.empty,.metas-board-col,.metas-group-item,.metas-comment,.collab-messages),html[data-erp-theme=turquesa] :is(.table th,.progress-type-head,.info-box,.step,.empty,.metas-board-col,.metas-group-item,.metas-comment,.collab-messages),html[data-erp-theme=cinza] :is(.table th,.progress-type-head,.info-box,.step,.empty,.metas-board-col,.metas-group-item,.metas-comment,.collab-messages){background:#1d2b29!important;color:var(--text)!important;border-color:var(--line)!important}
html[data-erp-theme=escuro] :is(.metas2-card p,.meta-history-item p,.project-link),html[data-erp-theme=turquesa] :is(.metas2-card p,.meta-history-item p,.project-link),html[data-erp-theme=cinza] :is(.metas2-card p,.meta-history-item p,.project-link){color:var(--text)!important}
html[data-erp-theme=claro] :is(.card,.table-wrap,.progress-type-group,.modal,.collab-dialog,.metas2-card){color:#111!important;border-color:#d5dadd!important}
