/* Preferencias de la cuenta. El papel del KuDE y del editor conserva su diseño. */
[data-bs-theme="dark"] {
    color-scheme: dark;
    --fa-fondo: #0d1422;
    --fa-papel: #172236;
    --fa-papel-2: #1e2b41;
    --fa-texto: #e8eef8;
    --fa-tenue: #afbdd2;
    --fa-borde: #334158;
    --fa-borde-fuerte: #53627b;
    --fa-acento: #93bbff;
    --fa-acento-osc: #c3d7ff;
    --fa-acento-suave: #203658;
    --fa-acento-borde: #456799;
    --fa-verde: #77e2b7;
    --fa-verde-suave: #123a30;
    --fa-sombra: 0 8px 24px -16px #000b;
    --bs-body-bg: var(--fa-fondo);
    --bs-body-color: var(--fa-texto);
    --bs-secondary-color: var(--fa-tenue);
    --bs-border-color: var(--fa-borde);
    --bs-emphasis-color: var(--fa-texto);
    --bs-link-color-rgb: 147, 187, 255;
    --bs-link-hover-color-rgb: 195, 215, 255;
}
[data-bs-theme="light"] { color-scheme: light; }
[data-bs-theme="dark"] body { background: linear-gradient(180deg, #152038, transparent 16rem) no-repeat, var(--fa-fondo); }
[data-bs-theme="dark"] ::selection { background: #365582; color: #fff; }
[data-bs-theme="dark"] .form-label,
[data-bs-theme="dark"] .fa-ed-props label,
[data-bs-theme="dark"] .table thead th { color: #cbd8eb; }
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select { color: var(--fa-texto); }
[data-bs-theme="dark"] .btn-acento { background: #1d4ed8; border-color: #517de9; color: #fff; }
[data-bs-theme="dark"] .btn-acento:hover { background: #245ce7; }
[data-bs-theme="dark"] code { color: #b3ceff; }
[data-bs-theme="dark"] .alert-success,
[data-bs-theme="dark"] .fa-ed-mensaje.ok { background: #123a30; color: #b2f1d7; border-color: #2e7c66; }
[data-bs-theme="dark"] .alert-danger,
[data-bs-theme="dark"] .fa-ed-mensaje.error { background: #3b202a; color: #fecdd3; border-color: #8c465d; }
[data-bs-theme="dark"] .alert-warning,
[data-bs-theme="dark"] .fa-aviso-prueba,
[data-bs-theme="dark"] .fa-ed-esencial { background: #382f1c; color: #f5d995; border-color: #7d6b3c; }
[data-bs-theme="dark"] .text-warning-emphasis { color: #f5d995 !important; }
[data-bs-theme="dark"] .fa-paso-marca,
[data-bs-theme="dark"] .fa-ed-chip { background: var(--fa-papel); }
[data-bs-theme="dark"] .fa-nota,
[data-bs-theme="dark"] .fa-ed-capa.activo,
[data-bs-theme="dark"] .fa-ed-boton.activo,
[data-bs-theme="dark"] .fa-ed-boton[aria-pressed="true"] { background: var(--fa-acento-suave); color: var(--fa-texto); border-color: var(--fa-acento-borde); }
[data-bs-theme="dark"] .fa-ed-dialogo-cuerpo { background: #111b2d; }
[data-bs-theme="dark"] .fa-sesion-tarjeta { background: var(--fa-papel); border-color: var(--fa-borde); }
[data-bs-theme="dark"] .fa-sesion h2 { color: var(--fa-texto); }
[data-bs-theme="dark"] .fa-sesion p { color: var(--fa-tenue); }
[data-bs-theme="dark"] .fa-hueso,
[data-bs-theme="dark"] .fa-marco::before { background-image: linear-gradient(100deg, #243147 30%, #3b4b64 50%, #243147 70%); }
.fa-tema-opcion { display: inline-flex; align-items: center; gap: .65rem; padding: 1rem 1.5rem; border: 1px solid var(--fa-borde-fuerte); border-radius: .75rem; cursor: pointer; background: var(--fa-papel-2); }
.fa-tema-opcion:has(input:checked) { border-color: var(--fa-acento); outline: 1px solid var(--fa-acento); }
.fa-tema-opcion:focus-within { outline: 2px solid var(--fa-acento); outline-offset: 3px; }
[data-bs-theme="dark"] .fa-kude-cabecera :is(h1,h2,h3,h4,h5,h6) { color: #111; }
