/* Acceso y registro, siempre claros. Se limita a páginas con data-forced-light;
   dashboard, Mercados, sesiones y políticas Supabase quedan fuera. */
html[data-forced-light]{color-scheme:light!important;--page:#fff!important;--panel:#f6f6f6!important;--control:#f0f0f0!important;--line:#c9c9c9!important;--fg:#0a0a0a!important;--secondary-text:#454545!important;--accent:#1262b7!important;--button-bg:#e3e3e3!important;--button-text:#0a0a0a!important;--notice-bg:#f3f6f7!important;--error-bg:#fff0f0!important;--error-fg:#932323!important;--nova-page:#fff!important;--nova-ink:#080808!important;--nova-muted:#494949!important;--nova-border:#dedede!important;--bg:#fff!important;--text:#080808!important;--main-text:#080808!important;--muted:#444!important;--surface:#f7f7f7!important;--field:#f0f0f0!important;--stroke:#d2d2d2!important;color:#080808}
html[data-forced-light] body{background:#fff!important;color:#080808!important}
html[data-forced-light] .appearance-switch{display:none!important}
html[data-forced-light] :is(.field label,.group>label,.check,.check strong,.small-title,.legal-card,.stage h1,.brandbar){color:#141414!important}
html[data-forced-light] :is(.field input,.field select,.authbox input){background:#f1f1f1!important;border:1px solid #bdbdbd!important;color:#111!important;box-shadow:none!important;font-size:16px!important}
html[data-forced-light] :is(.field input,.authbox input)::placeholder{color:#646464!important}
html[data-forced-light] :is(.field select option){color:#111!important;background:#fff!important}
html[data-forced-light] :is(.stage .subtitle,.stage .muted,.stage .footer,.stage .eyebrow,.check,.legal-card p,.note,.capture p){color:#404040!important}
html[data-forced-light] :is(.choice,.legal-card,.note,.capture,.tile){background:#f4f4f4!important;border-color:#d1d1d1!important;color:#181818!important}
html[data-forced-light] .choice:has(input:checked){background:#eaf2ff!important;border-color:#1477e9!important}
html[data-forced-light] :is(.notice,.privacy-reading,.identity-ready){background:#f1f6f3!important;color:#193f30!important;border-color:#b1cdbb!important}
html[data-forced-light] :is(.notice p,.privacy-ine-consent,.identity-ready span){color:#214d36!important}
html[data-forced-light] :is(.privacy-link,.authbox a){color:#0758b5!important}
html[data-forced-light] :is(.stage .primary,.authbox button){background:#0976ef!important;color:#fff!important;border:1px solid #0976ef!important;box-shadow:none!important}
html[data-forced-light] .stage .secondary{background:#fff!important;color:#090909!important;border:1.6px solid #242424!important}
html[data-forced-light] :is(.field input,.field select,.primary,.secondary,.choice,.check input):focus-visible{outline:3px solid #1676df!important;outline-offset:2px!important}
html[data-forced-light] .step-progress span:not(.on){background:#c9c9c9!important}
html[data-forced-light] .step-progress span.on{background:#ed1924!important}
html[data-forced-light] :is(.error,.form-error){background:#fff0f0!important;border-color:#be3030!important;color:#872020!important}

/* Login existente: disposición exacta de la referencia, sin cambiar ids ni auth. */
html[data-forced-light] .login-screen{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;overflow:hidden;min-height:100svh;margin:0;padding:max(26px,env(safe-area-inset-top)) 20px max(10px,env(safe-area-inset-bottom));background:#fff!important;color:#0b0b0b!important}
html[data-forced-light] .login-screen .ambient{display:none!important}
html[data-forced-light] .login-container{box-sizing:border-box;flex:0 0 auto;width:min(100%,440px);margin:0 auto;z-index:2;display:flex;flex-direction:column}
html[data-forced-light] .identity{flex-direction:row;align-items:center;justify-content:center;gap:11px;text-align:left;margin:0 auto clamp(21px,4svh,37px);width:100%;height:clamp(90px,12svh,110px)}
html[data-forced-light] .identity img{display:block;object-fit:contain;width:clamp(78px,21vw,100px);height:clamp(78px,21vw,100px);flex:none;filter:none!important}
html[data-forced-light] .identity h1{color:#030303!important;font-size:clamp(30px,8vw,41px)!important;letter-spacing:-.06em!important;line-height:.91!important;font-weight:770!important;width:152px;max-width:45%;overflow-wrap:normal;margin:0}
html[data-forced-light] .visually-hidden{position:absolute!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;border:0!important}
html[data-forced-light] #login-subtitle{display:none}
html[data-forced-light] .login-view{min-width:0}
html[data-forced-light] #login-form{display:grid;gap:13px}
html[data-forced-light] .input-wrap label{display:block;font-size:13px;line-height:1.35;font-weight:650;color:#181818!important;margin:0 0 6px 5px}
html[data-forced-light] .input-wrap input{width:100%;height:clamp(56px,8svh,68px);padding:0 19px;border:1px solid #b5b5b5!important;border-radius:19px;background:#ededed!important;color:#111!important;font-size:16px!important;box-shadow:none!important}
html[data-forced-light] .input-wrap input::placeholder{color:#575757!important;opacity:1}
html[data-forced-light] .input-wrap input:focus{background:#fff!important;outline:3px solid #1572dd!important;outline-offset:2px}
html[data-forced-light] .password-field{position:relative}
html[data-forced-light] .password-field input{padding-right:105px}
html[data-forced-light] .show-pass{color:#1b4b83!important;font-size:13px!important;font-weight:700;height:clamp(56px,8svh,68px)}
html[data-forced-light] .aux-row{margin:0 2px 1px;display:flex;justify-content:flex-end}
html[data-forced-light] .aux-row a{color:#1c4f8b!important;font-size:12px!important;font-weight:650!important}
html[data-forced-light] .submit-login{width:85%;min-height:clamp(57px,8svh,68px);height:auto;padding:10px 12px;margin:8px auto 0;background:#a6a6a6!important;color:#101010!important;border:1px solid #929292!important;border-radius:17px!important;font-size:clamp(16px,4.5vw,21px)!important;font-weight:780!important;letter-spacing:-.015em!important;box-shadow:none!important}
html[data-forced-light] .submit-login:focus-visible{outline:3px solid #1676df!important;outline-offset:3px}
html[data-forced-light] .join{font-size:12px!important;color:#343434!important;margin:13px 0 0!important;line-height:1.45!important}
html[data-forced-light] .join a{font-size:12px!important;color:#0a5cb9!important;font-weight:730!important}
html[data-forced-light] .back-link{margin:9px auto 0!important;color:#333!important;font-size:12px!important}
html[data-forced-light] .success-view{color:#121212!important}
html[data-forced-light] .success-view h2{color:#121212!important}
html[data-forced-light] .success-view p{color:#444!important}
html[data-forced-light] .success-symbol{color:#147b37;background:#edf8f0;border-color:#b9dcc1}
html[data-forced-light] .sign-out{color:#135bb6!important}
html[data-forced-light] .site-footnote{position:relative;margin-top:auto;padding:3px 0 0;background:#fff;z-index:2;color:#525252!important;line-height:1.35}
html[data-forced-light] .novora-login-decor{width:min(100% + 40px,520px);max-width:520px;min-width:0;margin:clamp(6px,2vh,17px) auto 0;display:flex;flex:1 1 auto;flex-direction:column;align-items:center;justify-content:flex-start;min-height:130px;pointer-events:none}
html[data-forced-light] .novora-login-robot{display:block;width:min(109%,440px);height:auto;max-width:none;max-height:clamp(185px,39svh,380px);object-fit:contain;object-position:center top;flex:none}
html[data-forced-light] #form-error{font-size:13px!important;line-height:1.55!important}
@media (max-height:700px){
 html[data-forced-light] .login-screen{padding-top:13px}
 html[data-forced-light] .identity{height:75px;margin-bottom:11px}
 html[data-forced-light] .identity img{width:73px;height:73px}
 html[data-forced-light] .identity h1{font-size:31px!important}
 html[data-forced-light] #login-form{gap:8px}
 html[data-forced-light] .input-wrap input,html[data-forced-light] .show-pass{height:53px}
 html[data-forced-light] .input-wrap label{font-size:12px;margin-bottom:4px}
 html[data-forced-light] .submit-login{min-height:52px}
 html[data-forced-light] .novora-login-robot{max-height:32svh}
}
@media (max-width:345px){html[data-forced-light] .login-screen{padding-inline:15px}html[data-forced-light] .identity h1{font-size:29px!important}html[data-forced-light] .identity img{width:74px;height:74px}html[data-forced-light] .input-wrap input{font-size:16px!important}}

/* El PNG original de Novorbot se muestra completo, reducido proporcionalmente
   hasta la mitad del cuerpo visible en el archivo. Sin máscaras ni recortes
   verticales; el pie de página queda después de la ilustración. */
html[data-forced-light] .login-screen{
 overflow:visible!important;
}
html[data-forced-light] .novora-login-decor{
 box-sizing:border-box;
 display:flex;
 flex:0 0 auto;
 flex-direction:column;
 align-items:center;
 justify-content:flex-start;
 width:min(100%,420px);
 min-height:0;
 max-width:420px;
 max-height:none!important;
 height:auto!important;
 overflow:visible!important;
 margin:clamp(10px,2svh,18px) auto 0;
 padding:0;
 background:transparent;
 pointer-events:none;
}
html[data-forced-light] .novora-login-robot{
 display:block;
 flex:0 0 auto;
 width:min(100%,350px);
 max-width:100%!important;
 min-width:0;
 height:auto!important;
 max-height:none!important;
 object-fit:contain!important;
 object-position:center top;
 margin:0 auto!important;
 background:transparent!important;
 filter:none!important;
 transform:none!important;
}
html[data-forced-light] .site-footnote{
 position:relative;
 flex:0 0 auto;
 margin:12px auto 0!important;
 padding:0 0 max(8px,env(safe-area-inset-bottom));
 background:#fff;
 z-index:2;
}
@media(max-width:365px){
 html[data-forced-light] .novora-login-robot{width:min(100%,320px)}
}
@media(max-height:700px){
 html[data-forced-light] .novora-login-decor{max-height:none!important}
 html[data-forced-light] .novora-login-robot{width:min(100%,330px);max-height:none!important}
}
