
/* R27: contraste y navegación accesible, común a WEB y APP. */
:root{--tx:#171717;--at:#343434;--ci:#005572;--azc:#124b84}
body{color:#171717!important}
body p,body li,body dd,body dt,body label,body small,body figcaption,body .entradilla,body .at,body .nota,body .salida,body .independencia,body .vg-note{color:#171717!important;text-shadow:none!important}
body .cabecera{background:#edf4fa!important}
body .independencia{background:#f1f4f7!important;color:#171717!important;padding:18px;border:1px solid #acbac7;border-left:4px solid #164d7a;border-radius:8px}
body .independencia *{color:#171717!important}
body a{color:#124b84;text-decoration:underline;text-underline-offset:3px;text-shadow:none!important}
body a.afb-nav,body a.afb-nav:visited{display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 16px;margin:5px 3px;background:#ffdc59!important;color:#111!important;border:1px solid #9b7400!important;border-radius:7px;font-size:15px;font-weight:650;line-height:1.4;text-decoration:none!important;text-align:center!important;white-space:normal;overflow-wrap:anywhere;box-shadow:none!important}
body a.afb-nav *{color:#111!important;text-shadow:none!important}
body a.afb-nav:hover{background:#f5c936!important;color:#111!important}
body a:focus-visible,body button:focus-visible,body summary:focus-visible{outline:3px solid #111!important;outline-offset:3px}
body button{color:#fff!important;background:#164d7a}
body button.sec{color:#171717!important;background:#f3f5f7!important}
body button *{color:inherit!important}
body input,body select,body textarea{color:#171717!important;background:#fff}
body input::placeholder,body textarea::placeholder{color:#595959;opacity:1}
body .num{background:#164d7a!important;color:#fff!important}
body .estado.tecnica{color:#005572!important;background:#e9f8fc!important;border-color:#005572}
body .estado.guia,body .estado.parcial,body .rotulo{color:#684600!important;background:#fff5cd!important}
body .nivel{color:#333!important;text-shadow:none!important}
body h1,body h2,body h3,body h4{text-align:center;text-shadow:none!important}
body .envoltura p{ text-align:justify;hyphens:auto }
body .vg-play{color:#fff!important}
@media(max-width:600px){body .afb-nav{font-size:15px}body .clean-header nav{gap:5px}body .clean-header{padding:16px}body .rejilla{grid-template-columns:1fr}body .ficha .cuerpo{grid-template-columns:minmax(0,1fr)}body .envoltura{min-width:0}body p{overflow-wrap:break-word}}

body button{background:#164d7a!important;color:#fff!important}
body .cal-grid button,body .cal-nav button{background:#fff!important;color:#171717!important}
body .cal-grid button.partido{background:#eaf3ff!important;color:#171717!important}
body .cal-grid button.orientativo{background:#fff3cf!important;color:#171717!important}
body .cal-grid button *,body .cal-nav button *{color:#171717!important}
body button.peligro{background:#fff1f1!important;color:#9b1717!important;border:1px solid #9b1717}
body .credito a.runcodeai b,body .pub span{color:#171717!important;text-shadow:none!important}
body .k-ref-b,body .k-origen,body .consentimiento b{color:#754900!important}
body [style*="color:#a16c00"],body [style*="color: #a16c00"]{color:#754900!important}

body .estado.oficial,body .estado.ok{background:#e3f1ff!important;color:#124b84!important}
body .sh-nota{color:#fff!important}
body button .at{color:inherit!important}
body .permiso b{color:#754900!important}
body .pub-linea span{color:#171717!important}

body .pub em{color:#124b84!important}
