/* Text contrast only. Surfaces remain light, including OS dark mode. */
:root,[data-bs-theme="light"],[data-bs-theme="dark"]{color-scheme:light;--bs-body-color:#111;--bs-body-bg:#f3f6fa;--bs-secondary-color:#111;--bs-tertiary-color:#111;--bs-secondary-bg:#eef3f7;--bs-tertiary-bg:#f3f6fa;--lte-main-bg:#f3f6fa;--muted:#111;--panel-muted:#111}
body,.app-main,.app-wrapper{background:#f3f6fa!important;color:#111}.app-header,.module-navbar,.card,.card-header,.card-body,.card-footer,.login-card,.contact-card{background-color:#fff!important}.form-control,.form-select,.choice-trigger{background-color:#fff!important;color:#111!important}
.text-body-secondary,.text-body-tertiary,.heading-subtitle,.page-eyebrow,.metric-top,.metric-bottom,.metric-value small,.card-subtitle,.period-pill,.coverage-legend,.donut-center small,.table thead th,.table tbody td,.search-control>span,.filter-control>span,.dashboard-filterbar label,.form-label,.form-text,.brand-sub,.user-chip small,.pagination-footer,.secret-code:before,.investigator-table td[data-label]:before,.contact-name,.contact-meta span,.field-selectors label,.field-heading .hero-stat span,.section-title p,.field-hint,.access-help,.remember-note,.access-form-panel>p,.header-note,.column-tags code,.template-downloads small,.upload-zone>span:last-of-type,.upload-zone strong,.empty-data,.compact-empty,.accessible-data,.choice-trigger.placeholder,.mobile-dock>a:not(.active),.mobile-dock>button:not([aria-expanded=true]),.field-dock button:not(.active){color:#111!important}
input::placeholder,textarea::placeholder{color:#111;opacity:1}.contact-meta>div{background:#f2f6f8}.copyright{font-family:Manrope,Arial,sans-serif;font-size:10px;color:#111;text-align:center;padding:14px 10px}.copyright a{color:#111;text-decoration:underline;text-underline-offset:3px}.app-footer{display:block!important;background:#f3f6fa!important;color:#111}.offline-preparation{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:11px;margin-bottom:12px;color:#111}.offline-preparation button{font-size:11px}.offline-banner{padding:10px 14px;border-radius:10px;background:#fff4d8;color:#111;font-size:12px;margin-bottom:16px}.offline-pagination{display:flex;gap:10px;align-items:center;padding:14px;flex-wrap:wrap}
@media(max-width:767px){.app-footer{padding:10px 0}.offline-preparation{font-size:10px}.copyright{padding:10px 6px}}

footer.copyright{display:block!important}

:root,[data-bs-theme="dark"]{--bs-body-bg-rgb:243,246,250;--bs-tertiary-bg-rgb:243,246,250;--bs-secondary-bg-rgb:238,243,247}html body.bg-body-tertiary,html body{background:#f3f6fa!important}
