/* Dark-theme corrections only. Existing handlers, visibility and light-theme styling are unchanged. */
@media screen{
html[data-theme=dark] body main.audit-shell .visit-panel #visitAuditor,
html[data-theme=dark] body main.audit-shell .visit-panel #visitCompanions,
html[data-theme=dark] body main.audit-shell .visit-panel textarea{color:#e5f1f3!important;caret-color:#a3eed4!important;background:#1c2e32!important;border-color:#6a858b!important}
html[data-theme=dark] body main.audit-shell .visit-panel input::placeholder,
html[data-theme=dark] body main.audit-shell .visit-panel textarea::placeholder{color:#c0d1d5!important;opacity:1!important}
html[data-theme=dark] body main.audit-shell .visit-panel .touch-select-value,
html[data-theme=dark] body main.audit-shell .visit-panel .touch-date-value{color:#e5f1f3!important}
html[data-theme=dark] body main.audit-shell .visit-panel :is(.touch-select-glyph,.touch-date-glyph,.touch-select-icon,.obra-logo){color:#92e3c9!important}
html[data-theme=dark] body main.audit-shell .visit-panel :is(.touch-select-glyph,.touch-date-glyph,.obra-logo) svg{stroke:#92e3c9!important}
html[data-theme=dark] body main.audit-shell .visit-panel .touch-select-trigger,
html[data-theme=dark] body main.audit-shell .visit-panel .touch-date-trigger{background:#1c2e32!important;border-color:#6a858b!important;color:#e5f1f3!important}
html[data-theme=dark] body main.audit-shell .touch-select-menu,
html[data-theme=dark] body main.audit-shell .touch-date-panel{background:#1c2e32!important;border-color:#6a858b!important;color:#e5f1f3!important;box-shadow:0 8px 24px #0006!important}
html[data-theme=dark] body main.audit-shell .touch-select-option,
html[data-theme=dark] body main.audit-shell .touch-date-day{background:transparent!important;color:#e5f1f3!important}
html[data-theme=dark] body main.audit-shell .touch-select-option[aria-selected=true],
html[data-theme=dark] body main.audit-shell .touch-select-option:hover,
html[data-theme=dark] body main.audit-shell .touch-date-day:hover{background:#29494b!important;color:#d5ffed!important}
html[data-theme=dark] body main.audit-shell .touch-date-day.is-selected{background:#00856b!important;color:white!important}
html[data-theme=dark] body main.audit-shell :is(.touch-date-nav,.touch-date-footer button){color:#a3eed4!important}
html[data-theme=dark] body main.audit-shell .touch-date-weekdays{color:#bfd1d5!important}
html[data-theme=dark] body main.audit-shell #visitObras input[type=checkbox]{background:#243c41!important;border-color:#a4bdc0!important}
html[data-theme=dark] body main.audit-shell #visitObras input[type=checkbox]:checked{background:#00856b!important;border-color:#92e3c9!important}
html[data-theme=dark] body main.audit-shell #visitObras .obra-option:has(input:checked){background:#214e42!important;border-color:#92e3c9!important;color:#e9fff4!important}
html[data-theme=dark] body main.audit-shell .visit-panel .visit-actions>button.secondary{background:#21383e!important;color:#e5f1f3!important;border-color:#6a858b!important}
html[data-theme=dark] body main.audit-shell .visit-panel #generateVisitPdf{background:#3b2630!important;color:#ffbfd0!important;border-color:#d987a0!important}
html[data-theme=dark] body main.audit-shell .visit-panel :is(button,input,textarea):disabled{opacity:.7!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #omStats .rh-approved-stat.is-hire .om-overview-number>strong{color:#83e5c0!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #omStats .rh-approved-stat.is-leave .om-overview-number>strong{color:#f5a4bd!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #inSummary .rh-movement-options .om-chart-modes button[aria-pressed=true]{background:#244d43!important;color:#c9ffe9!important;border-color:#79bea5!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #inSummary .rh-movement-options .om-chart-modes button:not([aria-pressed=true]){background:#1c2e32!important;color:#d4e4e8!important;border-color:#6a858b!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #inSummary .om-chart-tip{color:#e5f1f3!important;background:#1c2e32!important;border-color:#6a858b!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #inSummary .om-chart-tip .minimal-tip-balance{color:#d6ffeb!important;background:#214e42!important}
html[data-theme=dark] body main#workspace #operationalDashboard#operationalDashboard #inSummary .om-chart-tip .minimal-tip-balance.is-negative{color:#ffd2df!important;background:#5b3041!important}
html[data-theme=dark] body[data-rh-uc-standard] #catalogGrid#catalogGrid .catalog-title button{background:#21383e!important;border-color:#a2c5bc!important;color:#c4ffe5!important}
html[data-theme=dark] body[data-rh-uc-standard] #catalogGrid#catalogGrid .catalog-title button svg{stroke:currentColor!important}
html[data-theme=dark] body .contract-record .record-chevron::after{border-color:#92e3c9!important}
html[data-theme=dark] body .contract-record[open] .record-chevron{background:#244d43!important}
html[data-theme=dark] body .contract-record .contract-detail-icon{color:#92e3c9!important}
html[data-theme=dark] body .contract-summary-entry .summary-delete-button{background:#352b34!important;color:#ff9caf!important;border-color:#c2788b!important}
html[data-theme=dark] body .contract-summary-entry .summary-delete-button.is-armed{background:#8d2945!important;color:#fff!important;border-color:#ff9caf!important}
html[data-theme=dark] body .contract-additional>summary{color:#c4d8dc!important}
html[data-theme=dark] body .summary-delete-form [role=status]:not(:empty){background:#352b34!important;color:#ffc0d0!important;border-color:#c2788b!important}
}
