/* Light-theme coverage for the Campos contributor indicators now used in staging. */
html[data-theme="light"] :is(.contributor-hero h2,.contributor-info-item strong,.contributor-period-summary__header h3,.contributor-period-summary__header h4,.dashboard-metric-list strong){color:var(--ui-text)}
html[data-theme="light"] :is(.contributor-hero p,.contributor-info-item span,.dashboard-bar-label,.dashboard-legend,.dashboard-metric-list span,.tab-panel__empty){color:var(--ui-muted)}
html[data-theme="light"] :is(.contributor-info-item,.cpf-indicator-total,.cpf-indicator-chart .chart-box){background:var(--ui-panel);border-color:var(--ui-line)}
html[data-theme="light"] :is(.dashboard-bar,.divergence-bar){box-shadow:0 3px 8px rgba(15,35,45,.10)}
html[data-theme="light"] :is(.dashboard-bar,.divergence-bar)::after{background:#fff;color:var(--ui-text);border-color:var(--ui-line);box-shadow:0 6px 22px rgba(15,35,45,.15)}
html[data-theme="light"] .divergence-bar-stack::after{background:#8295a4}
html[data-theme="light"] :is(.chart-rule,.dashboard-metric-list div){border-color:var(--ui-line)}
html[data-theme="light"] .cpf-indicator-chart .chart-rule{background:var(--ui-line)}
html[data-theme="light"] .cpf-indicator-chart .bar--amarelo{background:var(--amarelo)}
html[data-theme="light"] .cpf-indicator-total .chart-total__label{white-space:normal}

/* Complete shell and fiscal widgets, including external and authentication screens. */
html[data-theme="light"]{--azul-dark:#f8fafc;--amarelo-50:rgba(146,99,0,.5);--amarelo-12:rgba(146,99,0,.12);--vermelho-50:rgba(180,35,49,.5);--vermelho-14:rgba(180,35,49,.14)}
html[data-theme="light"] :is(.external-upload-header,.mfa-heading,.topbar__logo,.footer__logo,.login-logo,.doc-public-card) img{content:url('../img/ui/logo-dimp-light.svg')}
html[data-theme="light"] :is(.mfa-card,.external-upload-card,.external-upload-header,.external-upload-folder,.external-upload-body){background:var(--ui-panel);color:var(--ui-text);border-color:var(--ui-line)}
html[data-theme="light"] :is(.mfa-heading h1,.mfa-steps strong,.mfa-manual summary,.external-upload-header strong,.external-upload-card h1,.external-upload-folder strong){color:var(--ui-text)}
html[data-theme="light"] :is(.mfa-heading p,.mfa-steps,.mfa-steps p,.mfa-manual,.external-upload-eyebrow,.external-upload-header span,.external-upload-folder span,.external-upload-description){color:var(--ui-muted)}
html[data-theme="light"] :is(.nav-divider,.login-divider,.chart-rule){background:var(--ui-line)}
html[data-theme="light"] :is(.btn-primary,.btn-fiscalizar,.login-submit,.modal__btn--confirm,.modal__btn--primary,.btn-add,.btn-rule-add){color:#fff;background:var(--verde)}
html[data-theme="light"] :is(.agent-tab,.filter__btn--off){color:var(--ui-muted)}
html[data-theme="light"] .agent-tab--active{color:var(--verde);border-color:var(--verde)}
html[data-theme="light"] .fiscal-dashboard-legend button.is-active{color:var(--verde)}
html[data-theme="light"] :is(.dashboard-bar-group,.divergence-bar-group):last-child :is(.dashboard-bar,.divergence-bar)::after{left:auto;right:0;transform:translate(0,4px)}
html[data-theme="light"] :is(.dashboard-bar-group,.divergence-bar-group):last-child :is(.dashboard-bar,.divergence-bar):hover::after{transform:translate(0,0)}

/* Contrasts found by the full-screen audit. */
html[data-theme="light"] .topbar__notification-badge{color:#fff}
html[data-theme="light"] .case-inline-copy{color:#805500;border-color:#c9a45a;background:#fff4d9}
html[data-theme="light"] .config-type-section__eyebrow{color:var(--verde)}

html[data-theme="light"] .modal__btn--info{color:#fff}
html[data-theme="light"] .fiscal-dashboard-main svg [stroke="#29daaa"]{stroke:#047857}
html[data-theme="light"] .fiscal-dashboard-main svg [fill="#29daaa"]{fill:#047857}
html[data-theme="light"] .fiscal-dashboard-main svg [stop-color="#29daaa"]{stop-color:#047857}
html[data-theme="light"] .fiscal-dashboard-legend i[style*="#29daaa"]{--series-color:#047857!important}
html[data-theme="light"] .fiscal-dashboard-main svg [stroke="#60a5fa"]{stroke:#0369a1}
html[data-theme="light"] .fiscal-dashboard-main svg [fill="#60a5fa"]{fill:#0369a1}
html[data-theme="light"] .fiscal-dashboard-main svg [stop-color="#60a5fa"]{stop-color:#0369a1}
html[data-theme="light"] .fiscal-dashboard-legend i[style*="#60a5fa"]{--series-color:#0369a1!important}
html[data-theme="light"] .fiscal-dashboard-main svg [stroke="#94a3b8"]{stroke:#526574}
html[data-theme="light"] .fiscal-dashboard-main svg [fill="#94a3b8"]{fill:#526574}
html[data-theme="light"] .fiscal-dashboard-main svg [stop-color="#94a3b8"]{stop-color:#526574}
html[data-theme="light"] .fiscal-dashboard-legend i[style*="#94a3b8"]{--series-color:#526574!important}
html[data-theme="light"] .fiscal-dashboard-main svg [stroke="#a78bfa"]{stroke:#6d28d9}
html[data-theme="light"] .fiscal-dashboard-main svg [fill="#a78bfa"]{fill:#6d28d9}
html[data-theme="light"] .fiscal-dashboard-main svg [stop-color="#a78bfa"]{stop-color:#6d28d9}
html[data-theme="light"] .fiscal-dashboard-legend i[style*="#a78bfa"]{--series-color:#6d28d9!important}
html[data-theme="light"] .fiscal-dashboard-main svg [stroke="#f59e0b"]{stroke:#926300}
html[data-theme="light"] .fiscal-dashboard-main svg [fill="#f59e0b"]{fill:#926300}
html[data-theme="light"] .fiscal-dashboard-main svg [stop-color="#f59e0b"]{stop-color:#926300}
html[data-theme="light"] .fiscal-dashboard-legend i[style*="#f59e0b"]{--series-color:#926300!important}

/* Selected timeline origin must override the generic light button rule. */
html[data-theme="light"] .case-timeline-filter__btn--active{background:var(--verde);border-color:var(--verde);color:#fff}
