.language-switch{display:flex;align-items:center;flex:none;gap:2px;padding:3px;border:1px solid var(--line);border-radius:20px;order:2;white-space:nowrap}
.language-switch a{display:flex;align-items:center;justify-content:center;min-width:29px;min-height:30px;padding:3px 6px;border-radius:15px;font-size:11px;line-height:1.4;color:var(--muted);transition:background-color .3s,color .3s}
.language-switch a[aria-current=page]{background:var(--ink);color:var(--paper);font-weight:600}
.header .theme-toggle{order:3}
.header .menu{order:4}
html[lang=es] .hero h1{font-size:clamp(48px,5.4vw,79px)}
html[lang=es] .system-top{letter-spacing:.4px}
html[lang=es] .system .node{font-size:12px}
html[lang=es] .loop-node span{overflow-wrap:anywhere;hyphens:auto}
html[lang=es] .legal a{overflow-wrap:anywhere}
html[lang=es] .op-stale:before{content:"Último escenario completo · actualiza tus datos"}
@media(max-width:1150px){.header .nav{gap:12px}.header .nav-links{gap:13px}.header .nav-links a{font-size:12px}.header .nav-links .button{padding:12px 15px}}
@media(max-width:1100px){.header .menu{display:block}.language-switch{margin-left:auto}.header .theme-toggle{margin-left:0}.header .nav-links{display:none;position:absolute;top:91px;left:0;right:0;order:5;background:var(--paper);padding:25px 35px;flex-direction:column;align-items:stretch;gap:20px;border-bottom:1px solid var(--line)}.header .nav-links.open{display:flex}.header .nav-links a{font-size:17px}.header .nav-links .button{font-size:14px}}
@media(max-width:760px){.header .nav-links{top:75px;padding:25px 22px}.header .nav{gap:10px}}
@media(max-width:540px){.header .nav{gap:7px}.header .brand{font-size:24px;gap:6px}.header .brand img{width:32px;height:32px}.language-switch{padding:2px;gap:0}.language-switch a{min-width:26px;min-height:30px;padding:3px 4px;font-size:10px}.header .theme-toggle{width:62px;min-width:62px;height:36px;padding:7px;gap:8px}.header .theme-icon{width:17px;height:17px}.header .theme-thumb{width:28px;height:28px;top:3px;left:3px}html[data-theme=night] .header .theme-thumb{transform:translateX(26px)}.header .menu{font-size:12px;padding:8px 9px}html[lang=es] .hero h1{font-size:47px}html[lang=es] .loader-slogan{width:92%}}
@media(max-width:370px){.header .nav{gap:5px}.header .brand{font-size:23px}html[lang=es] .hero h1{font-size:43px}}
@media(prefers-reduced-motion:reduce){.language-switch a{transition:none}}
