/* TA26-CLEAN v1.0 · RECORDAR. Exclusivament visual, compatible amb flux de suport. */
:root{--ta-primary:#166A8A;--ta-teal:#168D83;--ta-ink:#1F3442;--ta-muted:#5A7280;--ta-bg:#F3F7FA;--ta-line:#D8E5EB;--ta-shadow:0 10px 28px rgba(29,67,84,.09)}
*,*::before,*::after{box-sizing:border-box}
html{min-height:100%}
body{margin:0!important;min-height:100dvh!important;height:auto!important;background:var(--ta-bg)!important;color:var(--ta-ink);font-family:'Poppins',system-ui,sans-serif!important}
[hidden]{display:none!important}
header{height:80px;min-height:80px;flex:0 0 80px!important;background:#fff!important;border-bottom:1px solid var(--ta-line);box-shadow:0 4px 16px rgba(23,63,82,.06)!important;align-items:center;padding:.4rem 1rem!important}
header img{height:auto!important;max-height:64px;max-width:min(74vw,235px);width:auto!important;object-fit:contain}
.cos{flex:1 1 auto!important;min-height:0;overflow-y:visible!important;width:100%;max-width:760px;margin:0 auto;justify-content:center!important;padding:clamp(1.2rem,3vw,2.5rem) 1rem!important}
.cos>div:first-child{width:min(100%,580px)!important;max-width:580px!important;background:#fff!important;border:1px solid var(--ta-line)!important;border-radius:24px!important;box-shadow:var(--ta-shadow)!important;padding:clamp(1.4rem,3vw,2rem)!important}
.cos h1{font-size:clamp(1.8rem,4vw,2.4rem)!important;line-height:1.2;letter-spacing:-.025em;color:#173F52;margin:0 0 1.5rem!important}
.cos h2{color:#173F52;letter-spacing:-.015em}
.cos label{display:block;color:#2F4E5F;font-size:.95rem;font-weight:600;margin-bottom:.45rem!important;text-align:left}
.cos input:not([type=checkbox]){width:100%;min-height:50px;background:#fff!important;color:var(--ta-ink);border:1px solid #BFD0D8!important;border-radius:12px!important;padding:.75rem .95rem!important;outline:none}
.cos input[readonly]{background:#EEF4F6!important;color:#45606E}
.cos input:focus-visible,.cos button:focus-visible,.cos a:focus-visible,.peu button:focus-visible{outline:3px solid #0B8BB0!important;outline-offset:3px}
#supportHelp{background:#F0F8FB;border:1px solid #CFE7F0;border-radius:14px;padding:1rem;line-height:1.6}
#supportHelp a{color:var(--ta-primary)!important;text-underline-offset:3px}
#errorMsg,#supportError,#supportChangeError,#serialMessage{color:#B91C1C!important;line-height:1.45}
#credentials{border-top:1px solid var(--ta-line);padding-top:1rem;margin-top:1rem}
#pinChangeBlock{background:#F7FAFC!important;border:1px solid var(--ta-line);border-radius:16px!important;padding:1.2rem!important}
#actionButtons button{width:48px;height:48px;border-radius:12px!important;display:inline-flex;align-items:center;justify-content:center;transition:filter .16s}
#inputContainer>div{flex-wrap:wrap;align-items:stretch}
#btnApply{min-width:48px;min-height:48px;border-radius:12px!important}
#supportRecovery{background:#F8FBFC;border:1px solid var(--ta-line);border-radius:16px;padding:1.2rem}
#supportRecovery button{min-height:48px;border-radius:12px!important;background:var(--ta-teal)!important;font-size:.95rem;font-weight:600}
#supportRecovery input{margin-bottom:1rem!important}
.peu{height:auto!important;min-height:88px;flex:0 0 auto!important;flex-wrap:wrap;gap:.75rem!important;background:rgba(255,255,255,.98)!important;border-top:1px solid var(--ta-line);box-shadow:0 -5px 18px rgba(23,63,82,.06)!important;padding:1rem 1rem max(1rem,env(safe-area-inset-bottom))!important;width:100%}
.peu button{min-height:48px;min-width:125px;border-radius:12px!important;padding:.7rem 1.3rem!important;font-size:.95rem;font-weight:600;transition:filter .16s,transform .16s}
#btnRecordar{background:var(--ta-teal)!important;color:#fff!important}
#btnSortir{background:#64748B!important;color:#fff!important}
#btnReiniciar{background:#B91C1C!important;color:#fff!important}
.peu button:hover,.cos button:hover{filter:brightness(.96)}
.peu button:active,.cos button:active{transform:translateY(1px)}
@media(max-width:480px){header{height:74px;min-height:74px;flex-basis:74px!important}header img{max-height:57px}.cos{justify-content:flex-start!important;padding:1rem 1rem 1.5rem!important}.cos>div:first-child{padding:1.3rem!important}.cos h1{font-size:1.65rem!important}.peu button{flex:1 1 125px;max-width:220px}}
@media(max-height:650px){.cos{justify-content:flex-start!important}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
