/**
 * Dark/Light — ajustes leves (sem !important global)
 * UDS: preferir tokens --uds-* e classes Tailwind dark:
 */

html.dark {
	color-scheme: dark;
}

html.dark body {
	background-color: var(--uds-bg, #0b0f1a);
	color: var(--uds-text, #f1f5f9);
}

html:not(.dark) body {
	background-color: var(--uds-bg, #f6f7fb);
	color: var(--uds-text, #0f172a);
}

/* Garantir que modais UDS não sejam sobrescritos */
.uds-modal__panel {
	background: var(--uds-surface, #fff);
	color: var(--uds-text, #0f172a);
}

.dark .uds-modal__panel {
	background: var(--uds-surface, #111827);
	color: var(--uds-text, #f1f5f9);
}

.hidden {
	display: none !important;
}
