/* ============================================================================
   IDÓNEA · Tema oscuro — colores escritos en el atributo style=
   ============================================================================
   El generador por vista solo lee los bloques <style>. Los colores puestos a mano
   en un style= del HTML —o construidos dentro de una cadena de JavaScript— se le
   escapan, y son muchos: títulos, párrafos, etiquetas, pastillas de estado y
   fondos de celda. En oscuro se quedaban claros.

   Un atributo style= no tiene selector, así que la única forma de alcanzarlo es
   por el texto del propio atributo, y la única forma de ganarle es !important.
   Las reglas de «color» y «background» van ANCLADAS (empiezan el atributo o van
   tras un punto y coma) porque si no también pisarían a background-color y a
   border-color, que las contienen como sufijo.

   Se genera con ARCHIVOS_EJEMPLO/generar-tema-oscuro-vistas.py — no se edita a
   mano. Solo se emiten reglas para colores CLAROS: lo que ya era oscuro se deja.
   ============================================================================ */

html[data-theme="dark"] [style*="background: linear-gradient(135deg, #fff5f0 0%, #fff 100%)"] { background-image: linear-gradient(135deg, var(--s1) 0%, var(--s2) 100%) !important; }
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#fefce8,#fffbf0)"] { background-image: linear-gradient(135deg,var(--s1),var(--s1)) !important; }
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#fef2f2,#fce7f3)"] { background-image: linear-gradient(135deg,var(--s1),var(--s1)) !important; }
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#fff5f7,#fef2f2)"] { background-image: linear-gradient(135deg,var(--s1),var(--s1)) !important; }
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#fef3c7,#fefce8)"] { background-image: linear-gradient(135deg,var(--wat),var(--s1)) !important; }
html[data-theme="dark"] [style*="background:linear-gradient(135deg,#f8fafc 0%,#f1f5f9 100%)"] { background-image: linear-gradient(135deg,var(--s1) 0%,var(--s1) 100%) !important; }
html[data-theme="dark"] [style^="color:#6b7280"],
html[data-theme="dark"] [style*=";color:#6b7280"],
html[data-theme="dark"] [style*="; color:#6b7280"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="color:#9ca3af"],
html[data-theme="dark"] [style*=";color:#9ca3af"],
html[data-theme="dark"] [style*="; color:#9ca3af"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="color:#374151"],
html[data-theme="dark"] [style*=";color:#374151"],
html[data-theme="dark"] [style*="; color:#374151"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="color:#15803d"],
html[data-theme="dark"] [style*=";color:#15803d"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#B91C2F"],
html[data-theme="dark"] [style*=";color:#B91C2F"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#c41230"],
html[data-theme="dark"] [style*=";color:#c41230"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#6e5d63"],
html[data-theme="dark"] [style*=";color:#6e5d63"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:#f9fafb"],
html[data-theme="dark"] [style*=";background:#f9fafb"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#b45309"],
html[data-theme="dark"] [style*=";color:#b45309"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#dc2626"],
html[data-theme="dark"] [style*=";color:#dc2626"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#16a34a"],
html[data-theme="dark"] [style*=";color:#16a34a"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#92400e"],
html[data-theme="dark"] [style*=";color:#92400e"],
html[data-theme="dark"] [style*="; color:#92400e"] { color: var(--er) !important; }
html[data-theme="dark"] [style^="background:#fffbeb"],
html[data-theme="dark"] [style*=";background:#fffbeb"],
html[data-theme="dark"] [style*="; background:#fffbeb"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:#fff"],
html[data-theme="dark"] [style*=";background:#fff"],
html[data-theme="dark"] [style*="; background:#fff"] { background-color: var(--s2) !important; }
html[data-theme="dark"] [style^="color:#d97706"],
html[data-theme="dark"] [style*=";color:#d97706"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#2563eb"],
html[data-theme="dark"] [style*=";color:#2563eb"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="color:#b91c1c"],
html[data-theme="dark"] [style*=";color:#b91c1c"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#059669"],
html[data-theme="dark"] [style*=";color:#059669"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="background:#f0fdf4"],
html[data-theme="dark"] [style*=";background:#f0fdf4"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#1f2937"],
html[data-theme="dark"] [style*=";color:#1f2937"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="color:#991b1b"],
html[data-theme="dark"] [style*=";color:#991b1b"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#166534"],
html[data-theme="dark"] [style*=";color:#166534"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="background:#dcfce7"],
html[data-theme="dark"] [style*=";background:#dcfce7"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style^="color:#1d4ed8"],
html[data-theme="dark"] [style*=";color:#1d4ed8"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="background:#fef2f2"],
html[data-theme="dark"] [style*=";background:#fef2f2"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#111827"],
html[data-theme="dark"] [style*=";color:#111827"],
html[data-theme="dark"] [style*="; color:#111827"] { color: var(--t1) !important; }
html[data-theme="dark"] [style^="color:#7d1124"],
html[data-theme="dark"] [style*=";color:#7d1124"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color:#94a3b8"],
html[data-theme="dark"] [style*=";color:#94a3b8"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="color:#D97706"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="background:rgba(37,99,235,.08)"] { background-color: var(--int) !important; }
html[data-theme="dark"] [style^="background:rgba(245,158,11,.08)"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="background:#f3f4f6"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:rgba(239,68,68,.08)"] { background-color: var(--rt) !important; }
html[data-theme="dark"] [style^="color:#6366f1"],
html[data-theme="dark"] [style*=";color:#6366f1"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="background:rgba(5,150,105,.08)"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style^="color:#7c3aed"],
html[data-theme="dark"] [style*=";color:#7c3aed"] { color: #C99BFF !important; }
html[data-theme="dark"] [style^="background:#fbfbfc"],
html[data-theme="dark"] [style*=";background:#fbfbfc"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#0072B2"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="background:#ece8dd"] { background-color: var(--s3) !important; }
html[data-theme="dark"] [style^="background:rgba(16,185,129,.08)"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style^="color:#10b981"],
html[data-theme="dark"] [style*=";color:#10b981"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#f59e0b"],
html[data-theme="dark"] [style*=";color:#f59e0b"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#065f46"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#ef4444"],
html[data-theme="dark"] [style*=";color:#ef4444"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color: #15803d"],
html[data-theme="dark"] [style*="; color: #15803d"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#444"],
html[data-theme="dark"] [style*=";color:#444"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="color:#a08d93"],
html[data-theme="dark"] [style*=";color:#a08d93"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:rgba(139,92,246,.08)"] { background-color: rgba(168, 85, 247, .13) !important; }
html[data-theme="dark"] [style^="color:#334155"],
html[data-theme="dark"] [style*=";color:#334155"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="background:#f8fafc"],
html[data-theme="dark"] [style*=";background:#f8fafc"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:#FDF2F4"],
html[data-theme="dark"] [style*=";background:#FDF2F4"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:#fff7ed"],
html[data-theme="dark"] [style*=";background:#fff7ed"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style*="border-color:#fde68a"] { border-color: var(--wab) !important; }
html[data-theme="dark"] [style^="color:#92620c"],
html[data-theme="dark"] [style*=";color:#92620c"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#4b5563"],
html[data-theme="dark"] [style*=";color:#4b5563"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:rgba(107,114,128,.10)"] { background-color: var(--s3) !important; }
html[data-theme="dark"] [style^="color:#046c4e"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="background:rgba(99,102,241,.08)"] { background-color: var(--int) !important; }
html[data-theme="dark"] [style^="color:#b91c3a"],
html[data-theme="dark"] [style*="; color:#b91c3a"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color: #b45309"],
html[data-theme="dark"] [style*="; color: #b45309"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#171012"],
html[data-theme="dark"] [style*=";color:#171012"] { color: var(--t1) !important; }
html[data-theme="dark"] [style^="color:#78350f"],
html[data-theme="dark"] [style*=";color:#78350f"] { color: var(--er) !important; }
html[data-theme="dark"] [style^="background:#eff6ff"],
html[data-theme="dark"] [style*=";background:#eff6ff"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style*="background-color: #E8EAF6"] { background-color: var(--s3) !important; }
html[data-theme="dark"] [style^="color: #6264A7"],
html[data-theme="dark"] [style*="; color: #6264A7"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="color:#4b3b40"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="background:rgba(255,255,255,0.15)"],
html[data-theme="dark"] [style*=";background:rgba(255,255,255,0.15)"] { background-color: var(--s2) !important; }
html[data-theme="dark"] [style^="color:#C41230"],
html[data-theme="dark"] [style*=";color:#C41230"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="background:#fef3c7"],
html[data-theme="dark"] [style*=";background:#fef3c7"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="background:#fde8ec"],
html[data-theme="dark"] [style*=";background:#fde8ec"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#7C3AED"] { color: #C99BFF !important; }
html[data-theme="dark"] [style^="color:#E02424"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="background:#dbeafe"] { background-color: var(--int) !important; }
html[data-theme="dark"] [style^="background:rgba(220,38,38,.05)"] { background-color: var(--rt) !important; }
html[data-theme="dark"] [style^="background:#ede9fe"],
html[data-theme="dark"] [style*=";background:#ede9fe"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#6d28d9"],
html[data-theme="dark"] [style*=";color:#6d28d9"] { color: #C99BFF !important; }
html[data-theme="dark"] [style^="background:#e0f2fe"],
html[data-theme="dark"] [style*=";background:#e0f2fe"] { background-color: var(--int) !important; }
html[data-theme="dark"] [style^="color:#0369a1"],
html[data-theme="dark"] [style*=";color:#0369a1"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="background: #22c55e"],
html[data-theme="dark"] [style*="; background: #22c55e"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style*="border-color:#e5e7eb"] { border-color: var(--l2) !important; }
html[data-theme="dark"] [style^="background:rgba(34,197,94,.12)"],
html[data-theme="dark"] [style*=";background:rgba(34,197,94,.12)"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style^="color: #92400e"] { color: var(--er) !important; }
html[data-theme="dark"] [style^="color:#6b5314"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#8a7a4a"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:rgba(196,18,48,.08)"] { background-color: var(--rt) !important; }
html[data-theme="dark"] [style^="color:#a96a0c"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="color:#7c2d12"],
html[data-theme="dark"] [style*=";color:#7c2d12"] { color: var(--er) !important; }
html[data-theme="dark"] [style^="background:rgba(99,102,241,0.25)"] { background-color: var(--int) !important; }
html[data-theme="dark"] [style^="color:#198754"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="color:#dc3545"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="background:#fff3cd"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="color:#856404"],
html[data-theme="dark"] [style*=";color:#856404"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="background: rgba(234,88,12,0.04)"] { background-color: var(--ert) !important; }
html[data-theme="dark"] [style^="background: rgba(234,88,12,0.03)"] { background-color: var(--ert) !important; }
html[data-theme="dark"] [style^="background: #f9f9f9"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background: #f0fdf4"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:#fbfafa"],
html[data-theme="dark"] [style*=";background:#fbfafa"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:#ecfdf5"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#047857"],
html[data-theme="dark"] [style*=";color:#047857"] { color: var(--ok) !important; }
html[data-theme="dark"] [style^="background:#f0eaec"] { background-color: var(--s3) !important; }
html[data-theme="dark"] [style^="color:#64748b"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:#fff8e1"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="background:#fff5f5"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="background:rgba(34,197,94,.1)"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style^="background:rgba(245,158,11,.1)"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="background:rgba(107,114,128,.14)"] { background-color: var(--s3) !important; }
html[data-theme="dark"] [style^="background:#fee2e2"] { background-color: var(--rt) !important; }
html[data-theme="dark"] [style*="border-color:#fbbf24"] { border-color: var(--wab) !important; }
html[data-theme="dark"] [style*="background-color: white"] { background-color: var(--s2) !important; }
html[data-theme="dark"] [style^="color:#1e3a8a"],
html[data-theme="dark"] [style*=";color:#1e3a8a"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="background:#fefce8"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#713f12"],
html[data-theme="dark"] [style*=";color:#713f12"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="background:#fff7f7"] { background-color: var(--s1) !important; }
html[data-theme="dark"] [style^="color:#C8102E"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="color: #d32f2f"],
html[data-theme="dark"] [style*="; color: #d32f2f"] { color: var(--rl) !important; }
html[data-theme="dark"] [style^="background:#25D366"] { background-color: var(--okt) !important; }
html[data-theme="dark"] [style*="border-color:#25D366"] { border-color: var(--okb) !important; }
html[data-theme="dark"] [style^="color:#1e40af"],
html[data-theme="dark"] [style*=";color:#1e40af"] { color: var(--in) !important; }
html[data-theme="dark"] [style^="color: #999"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="color: #444"],
html[data-theme="dark"] [style*="; color: #444"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="color: #555"],
html[data-theme="dark"] [style*="; color: #555"] { color: var(--t3) !important; }
html[data-theme="dark"] [style^="background:rgba(245,158,11,.10)"] { background-color: var(--wat) !important; }
html[data-theme="dark"] [style^="color:#1e293b"],
html[data-theme="dark"] [style*=";color:#1e293b"] { color: var(--t2) !important; }
html[data-theme="dark"] [style^="color:#854d0e"],
html[data-theme="dark"] [style*=";color:#854d0e"] { color: var(--wa) !important; }
html[data-theme="dark"] [style^="background:rgba(245,158,11,.12)"],
html[data-theme="dark"] [style*=";background:rgba(245,158,11,.12)"] { background-color: var(--wat) !important; }
