/* Input text follows the actual field surface, independently of WebKit text fill. */
html body :is(input,textarea,select,[contenteditable]:not([contenteditable=false]))[data-portal-input-tone=dark]::placeholder{color:#d7e0ec!important;-webkit-text-fill-color:#d7e0ec!important;opacity:1!important}
html body :is(input,textarea,select,[contenteditable]:not([contenteditable=false]))[data-portal-input-tone=light]::placeholder{color:#46505c!important;-webkit-text-fill-color:#46505c!important;opacity:1!important}
html body :is(input,textarea)[data-portal-input-tone=dark]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #172b43 inset!important;-webkit-text-fill-color:#fff!important;caret-color:#fff!important}
html body :is(input,textarea)[data-portal-input-tone=light]:-webkit-autofill{-webkit-box-shadow:0 0 0 1000px #fff inset!important;-webkit-text-fill-color:#000!important;caret-color:#000!important}
html body :is(select option,select optgroup){background:#fff!important;color:#000!important;-webkit-text-fill-color:#000!important}
/* One brief, clear logo reveal; no white flash or continuous blurred layers. */
html body .obrero-login-celebration{background:#0b1f36!important;isolation:isolate}
html body .obrero-login-celebration[hidden]{display:none!important}
html body .obrero-login-celebration :is(.obrero-login-celebration-radiance,.obrero-login-celebration-flare){display:none!important}
html body .obrero-login-celebration .obrero-login-celebration-logo-wrap{width:min(78vw,520px);max-height:72dvh;aspect-ratio:1351/904;animation:portal-intro-arrive .45s ease-out both!important;filter:none!important}
html body .obrero-login-celebration .obrero-login-celebration-logo-wrap img{display:block;width:100%;height:100%;max-height:72dvh;object-fit:contain;animation:portal-logo-heartbeat 1.05s ease-in-out infinite!important;transform-origin:center;filter:drop-shadow(0 2px 2px #0008)!important;will-change:auto!important}
html body .obrero-login-celebration .obrero-login-celebration-ring{width:min(88vw,590px);aspect-ratio:1;border:1px solid #d5b15a66;background:none;mask:none;-webkit-mask:none;filter:none;animation:portal-intro-arrive .45s ease-out both}
html body.obrero-login-celebration-finished .obrero-login-celebration{transition:opacity .16s ease}
@keyframes portal-logo-heartbeat{0%,42%,100%{transform:scale(1)}12%{transform:scale(1.07)}24%{transform:scale(1.015)}32%{transform:scale(1.045)}}
@keyframes portal-intro-arrive{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){html body .obrero-login-celebration .obrero-login-celebration-logo-wrap img{animation:none!important;transform:none!important}html body .obrero-login-celebration *{animation:none!important;transition:none!important}}
@media(max-width:600px){html body .obrero-login-celebration .obrero-login-celebration-logo-wrap{width:86vw}html body .obrero-login-celebration .obrero-login-celebration-ring{width:94vw}}

html body input[data-portal-input-tone]::file-selector-button{background:#e5c36d!important;color:#000!important;-webkit-text-fill-color:#000!important;border:1px solid #9b7624;border-radius:6px;padding:7px 10px;margin-right:10px}
/* Critical login contrast is available before JavaScript finishes loading. */
html body[data-page="portal-obrero"] #portal-obrero-mobile-rewrite .pomr-form input{color:#fff!important;-webkit-text-fill-color:#fff!important;caret-color:#fff!important;text-shadow:none!important}

html body .obrero-authenticator-choice{display:flex!important;align-items:center;justify-content:center;gap:10px;margin:12px 0;font-size:1rem;line-height:1.4;color:inherit}html body .obrero-authenticator-choice input[type=checkbox]{appearance:auto!important;flex:0 0 20px!important;width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;accent-color:#d5b15a}
