/* CommercialOS V7.5.3 — Auditoria global de contraste e visibilidade
   Último override visual. Não altera regras de negócio. */
.app .lead-ops-page{color:#eaf2fb!important}
.app .lead-ops-page h1,.app .lead-ops-page h2,.app .lead-ops-page h3,.app .lead-ops-page h4{color:#f7fbff!important;text-shadow:none!important;opacity:1!important}
.app .lead-ops-page p,.app .lead-ops-page li,.app .lead-ops-page label{color:#c2d2e4!important;opacity:1!important}
.app .lead-ops-page .lead-ops-head p,.app .lead-ops-page .ops-card-head p{color:#b9cbe0!important}
.app .lead-ops-page .lead-ops-kpis span,.app .lead-ops-page .ops-insight b,.app .lead-ops-page .ops-card-head span{color:#78b5f5!important;opacity:1!important}
.app .lead-ops-page .lead-ops-kpis strong,.app .lead-ops-page .ops-insight strong{color:#f7fbff!important;opacity:1!important}
.app .lead-ops-page .lead-ops-kpis small,.app .lead-ops-page .ops-insight small{color:#b7c9dd!important;opacity:1!important}
.app .lead-ops-page .ops-card,.app .lead-ops-page .lead-ops-kpis article,.app .lead-ops-page .ops-insight{color:#eaf2fb!important;opacity:1!important}
.app .lead-ops-page .ops-card-head a{color:#79b8ff!important;opacity:1!important}
.app .lead-ops-page .ops-table-wrap th{color:#9fc0df!important;opacity:1!important}
.app .lead-ops-page .ops-table-wrap td{color:#e5eef8!important;opacity:1!important}
.app .lead-ops-page .ops-empty{color:#b9cbe0!important;opacity:1!important}
.app .lead-ops-page .ops-instance{color:#eaf2fb!important;background:#0c1b2e!important;border-color:#315a82!important;opacity:1!important}
.app .lead-ops-page .ops-instance strong{color:#f7fbff!important;opacity:1!important}
.app .lead-ops-page .ops-instance small{color:#b5c9df!important;opacity:1!important}
.app .lead-ops-page .ops-instance-link{display:block;color:inherit!important;text-decoration:none!important;opacity:1!important}
.app .lead-ops-page .ops-instance-link:hover .ops-instance{background:#102640!important;border-color:#4a83b8!important;transform:translateY(-1px)}
.app .lead-ops-page .ops-instance-action{display:inline-flex;margin-top:9px;padding:5px 8px;border:1px solid #376a9f;border-radius:7px;color:#bfe0ff!important;background:#102844!important;font-size:10px;font-weight:800}
.app .lead-ops-page .ops-question-row{color:#eaf2fb!important;opacity:1!important}
.app .lead-ops-page .ops-question-row strong{color:#f7fbff!important;opacity:1!important}
.app .lead-ops-page .ops-question-row small{color:#b5c9df!important;opacity:1!important}
.app .lead-ops-page .ops-question-form input,.app .lead-ops-page .ops-question-form select{color:#eef5fd!important;background:#0a182a!important;opacity:1!important}
.app .lead-ops-page .ops-question-form input::placeholder{color:#91a9c2!important;opacity:1!important}

/* Remove accidental low-opacity text on dark application surfaces. */
.app .ops-card *, .app .lead-ops-kpis *, .app .lead-ops-insights *{opacity:1}
.app .ops-card [hidden], .app .lead-ops-kpis [hidden], .app .lead-ops-insights [hidden]{opacity:initial}

/* WhatsApp / operation: text and bubbles must remain fully legible. */
.app .wpp-shell-v750,.app .wpp-shell-v750 *{opacity:1}
.app .wpp-shell-v750 .wpp-chat-name{color:#f4f8ff!important}
.app .wpp-shell-v750 .wpp-chat-last-msg{color:#c5d5e7!important}
.app .wpp-shell-v750 .wpp-chat-owner{color:#a9c0d9!important}
.app .wpp-shell-v750 .wpp-bubble,.app .wpp-shell-v750 .wpp-bubble *{opacity:1!important;text-shadow:none!important}
.app .wpp-shell-v750 .wpp-bubble.recebida{background:#132942!important;color:#f2f7fc!important;border:1px solid #315879!important}
.app .wpp-shell-v750 .wpp-bubble.enviada{background:#0e513d!important;color:#f4fffa!important;border:1px solid #1c8667!important}
.app .wpp-shell-v750 .wpp-bubble.recebida *,.app .wpp-shell-v750 .wpp-bubble.enviada *{color:inherit!important}
.app .wpp-shell-v750 .wpp-bubble-time{color:#b8cbe0!important;opacity:1!important}

/* Common page hierarchy: only on dark application shells, preserving known light auth/marketing cards. */
.app .page-shell,.app .page-header,.app .settings-hero,.app .agenda-container,.app .lista-container,.app .kanban-container,.app .automation-page,.app .documents-header,.app .email-page-header,.app .fila-page-header{color:#eaf2fb}
.app .page-shell h1,.app .page-shell h2,.app .page-shell h3,.app .page-header h1,.app .page-header h2,.app .page-header h3,.app .settings-hero h1,.app .settings-hero h2,.app .settings-hero h3,.app .agenda-container h1,.app .agenda-container h2,.app .lista-container h1,.app .lista-container h2,.app .kanban-container h1,.app .kanban-container h2,.app .automation-page h1,.app .automation-page h2,.app .documents-header h1,.app .documents-header h2,.app .email-page-header h1,.app .email-page-header h2,.app .fila-page-header h1,.app .fila-page-header h2{color:#f7fbff!important;opacity:1!important}
.app .page-shell p,.app .page-header p,.app .settings-hero p,.app .agenda-container p,.app .lista-container p,.app .kanban-container p,.app .automation-page p,.app .documents-header p,.app .email-page-header p,.app .fila-page-header p{color:#b9cbe0!important;opacity:1!important}

@media(max-width:760px){
 .app .lead-ops-page{padding-left:14px!important;padding-right:14px!important}
 .app .lead-ops-head h1{font-size:28px!important}
 .app .ops-instance-action{font-size:11px;padding:7px 9px}
}

/* Broader dark-theme audit for common application sections. */
.app .page-title,.app .page-heading,.app .page-header .page-title{color:#f7fbff!important;opacity:1!important;text-shadow:none!important}
.app .page-subtitle,.app .page-header .page-subtitle{color:#b9cbe0!important;opacity:1!important}
.app .page-actions,.app .page-header-actions{opacity:1!important}
.app .content .section-kicker,.app .content .cos-kicker{opacity:1!important}
.app .content .card-title,.app .content .panel-title{color:#f7fbff!important;opacity:1!important}
.app .content .muted,.app .content .text-muted,.app .content .help-text,.app .content .field-help{color:#b5c9df!important;opacity:1!important}
.app .content table th{color:#9fc0df!important;opacity:1!important}
.app .content table td{color:#e5eef8!important;opacity:1!important}
.app .content .btn,.app .content button,.app .content a{opacity:1}
.app .content input,.app .content select,.app .content textarea{opacity:1}
/* Do not dim disabled controls beyond their native state; disabled state remains explicit. */
.app .content button:disabled,.app .content input:disabled,.app .content select:disabled,.app .content textarea:disabled{opacity:.65}
