/* Modo claro/oscuro para páginas legales: conserva el contenido existente */
:root{color-scheme:light}html[data-theme=dark]{color-scheme:dark}
.legal-header-actions{display:flex;align-items:center;gap:12px}
.legal-theme-button{height:38px;border:1px solid #d3dce1;border-radius:24px;padding:4px 12px 4px 5px;display:flex;align-items:center;gap:8px;background:#f5f7f9;color:#122634;font-size:12px;font-weight:800}
.legal-theme-button .theme-icon{display:grid;place-items:center;width:27px;height:27px;background:rgba(255,103,22,.13);border-radius:50%;color:#ff6716}
.legal-theme-button svg{width:17px;height:17px;stroke:currentColor;fill:none}
.legal-v6 p code{font-size:.85em}
html[data-theme=dark] body{background:#0b1722;color:#f1f5f8}
html[data-theme=dark] .header{background:#102231;box-shadow:0 1px 0 #284052}
html[data-theme=dark] .header .brand-words small{color:#bed0dc}
html[data-theme=dark] .legal-v6 h1,html[data-theme=dark] .legal-v6 h2{color:#f4f8fa}
html[data-theme=dark] .legal-v6 p,html[data-theme=dark] .legal-v6 li,html[data-theme=dark] .legal-v6 dt,html[data-theme=dark] .legal-v6 dd{color:#b7c9d5}
html[data-theme=dark] .legal-v6 .legal-lead,html[data-theme=dark] .legal-v6 .legal-breadcrumb,html[data-theme=dark] .legal-v6 .legal-small,html[data-theme=dark] .legal-v6 .legal-update{color:#9db5c3!important}
html[data-theme=dark] .legal-v6 a{color:#ffa467}
html[data-theme=dark] .legal-panel{background:#142b3a;border-color:#304656}
html[data-theme=dark] .legal-v6 .legal-panel{background:#142b3a}
html[data-theme=dark] .legal-facts,html[data-theme=dark] .legal-facts dt,html[data-theme=dark] .legal-facts dd,html[data-theme=dark] .legal-v6 .legal-update{border-color:#304656}
html[data-theme=dark] .legal-theme-button{background:#193142;border-color:#304656;color:#f0f6fa}
html[data-theme=dark] footer{background:#0b1722;color:#eef5f9}
html[data-theme=dark] footer .foot-brand small,html[data-theme=dark] footer .foot-links a,html[data-theme=dark] footer .copyright{color:#a9becb}
html[data-theme=dark] .header-phone{background:#ff6716;color:white}
@media(max-width:560px){.legal-theme-button .theme-name{display:none}.legal-theme-button{padding:4px}.legal-home{font-size:11px!important}}

/* Logotipo corporativo en páginas legales (extraído de estilos en línea para CSP). */
.brand-symbol .brand-logo{width:50px!important;height:50px!important;object-fit:contain!important;border-radius:50%;background:white!important}.brand-symbol{flex:0 0 auto}
