/* Formularios 5F5: presentation only. Scoped separately from the account CSS. */
:root{--rf-blue:#336688;--rf-teal:#337766;--rf-ink:#203342;--rf-muted:#536777;--rf-border:#cbd6de;--rf-bg:#e9eff3}
*{box-sizing:border-box}
body.rf-page-body{margin:0;background:var(--rf-bg);color:var(--rf-ink);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.rf-page-body a{color:var(--rf-blue);text-underline-offset:3px}
.rf-page-body h1,.rf-page-body p{margin:0}
.rf-page-body button,.rf-page-body input{font:inherit;touch-action:manipulation}
.rf-page-body [hidden]{display:none!important}
.rf-page-body :focus-visible{outline:3px solid #216fb0;outline-offset:4px}
.rf-skip{position:absolute;top:-90px;left:14px;padding:12px;background:#fff;z-index:2}
.rf-skip:focus{top:12px}
.rf-header{background:#fff;border-bottom:1px solid var(--rf-border)}
.rf-header-inner{max-width:1280px;margin:auto;min-height:104px;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.rf-brand{display:flex;align-items:center;gap:26px;min-width:0;text-decoration:none}
.rf-wordmark{width:268px;height:auto;max-width:100%;object-fit:contain}
.rf-brand-icons{width:153px;height:auto;max-height:50px;object-fit:contain}
.rf-header-link{font-size:14px;font-weight:650;flex-shrink:0}
.rf-page{max-width:650px;min-height:calc(100vh - 216px);margin:auto;padding:42px 28px 50px}
.rf-panel{border:1px solid var(--rf-border);border-radius:14px;background:#dde7ee;box-shadow:0 5px 18px #233d5310;overflow:hidden}
.rf-panel-heading{padding:27px 30px;background:var(--rf-blue);color:#fff}
.rf-eyebrow{font-size:11px;font-weight:800;letter-spacing:.10em;margin-bottom:9px!important}
.rf-panel-heading h1{font-size:30px;line-height:1.2;letter-spacing:-.035em;font-weight:750;overflow-wrap:anywhere}
.rf-panel-body{padding:28px 30px}
.rf-intro{font-size:14px;color:var(--rf-muted);margin-bottom:23px!important}
.rf-field{margin-bottom:23px}
.rf-field label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
.rf-field input{display:block;min-height:49px;width:100%;padding:11px 13px;border:1.5px solid #8099aa;border-radius:7px;background:#fff;color:#182e3e}
.rf-field input:focus{outline:3px solid #216fb035;outline-offset:0;border-color:#216fb0}
.rf-last-field{margin-bottom:0}
.rf-field-hint{margin-top:8px!important;font-size:12px;color:var(--rf-muted);line-height:1.5}
.rf-password{position:relative}
.rf-password.rf-has-toggle input{padding-right:92px}
.rf-toggle{position:absolute;top:5px;bottom:5px;right:5px;min-width:75px;border:0;border-radius:5px;background:#eaf0f4;color:#254a63;font-size:12px!important;font-weight:700;cursor:pointer}
.rf-toggle:hover{background:#dce6ed}
.rf-button{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:47px;border:1px solid transparent;border-radius:8px;padding:11px 17px;text-decoration:none;text-align:center;font-size:14px!important;font-weight:700!important;line-height:1.4;cursor:pointer}
.rf-primary{background:var(--rf-blue);border-color:var(--rf-blue);color:#fff}
.rf-primary:hover{background:#275673}
.rf-or{display:flex;align-items:center;gap:13px;color:var(--rf-muted);font-size:13px;margin:-7px 0 17px}
.rf-or:before,.rf-or:after{content:"";flex:1;height:1px;background:#b9cad6}
.rf-hint{font-size:13px;line-height:1.6;color:var(--rf-muted);margin-top:19px!important}
.rf-small{font-size:12px}
.rf-links{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:22px}
.rf-links a{font-size:14px;font-weight:650;line-height:1.55}
.rf-secondary-links{margin-top:14px;color:var(--rf-muted);font-size:12px}
.rf-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;max-width:1224px;margin:auto;border-top:1px solid var(--rf-border);padding:20px 28px 26px;font-size:12px;color:var(--rf-muted)}
.rf-version{font-size:10px;color:#637583;align-self:center}
/* 5F3 and the legacy CGIs insert their existing messages at the same anchors. */
.rf-server-slot{overflow-wrap:anywhere}
.rf-server-slot>font,.rf-server-slot>a>font{display:block;padding:14px 16px;margin:0 0 21px;background:#fff2f5;border:1px solid #d5a8b4;border-radius:8px;color:#812443!important;font:14px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.rf-server-slot font font{font:inherit;color:inherit!important}
.rf-server-slot>section,.rf-server-slot>a>section{max-width:none!important;margin:0 0 23px!important;border-color:#b2c5d2!important;border-radius:8px;padding:16px!important;font:14px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;background:#f5fafc!important;color:var(--rf-ink)!important}
.rf-server-slot section p{margin:10px 0}
/* Legacy initial rendering leaves the literal MMX token. Its error replacement
   is always formatted with font elements. Hide only that unmatched bare text;
   real server-supplied errors remain visible even when JavaScript is off. */
.rf-legacy-feedback{font-size:0;line-height:0;overflow-wrap:anywhere}
.rf-legacy-feedback>font{display:block;font:14px/1.55 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#812443!important;background:#fff2f5;border:1px solid #d5a8b4;border-radius:8px;padding:14px 16px;margin-bottom:21px}
.rf-legacy-feedback font font{font:inherit;color:inherit!important}
.rf-legacy-messages{font-size:14px;color:#812443}
.rf-password-title{display:none}
#account-mode[value="xxxpwo"]~.rf-panel-heading .rf-general-title{display:none}
#account-mode[value="xxxpwo"]~.rf-panel-heading .rf-password-title{display:inline}
#account-mode[value="xxxpwo"]~.rf-legacy-profile{display:none}
#account-mode[value="xxxpwo"]~.rf-submit-area>.rf-hint{display:none}
.rf-submit-area{padding-top:0}
/* The shared registration template still contains its complete profile form.
   No controls/options/names are removed or disabled in the non-recovery modes. */
.rf-legacy-profile{padding:0 25px 25px}
.rf-profile-table{border-collapse:collapse;width:100%;table-layout:fixed}
.rf-profile-table td{width:auto!important;max-width:100%;padding:13px 10px;background:#dde7ee!important;color:var(--rf-ink)!important;overflow-wrap:anywhere}
.rf-profile-table label{font:600 14px/1.4 system-ui,Arial,sans-serif!important;color:var(--rf-ink)!important;display:block;margin-top:8px}
.rf-profile-table span,.rf-profile-table font{font:13px/1.5 system-ui,Arial,sans-serif!important;color:var(--rf-muted)!important}
.rf-profile-table td>font,.rf-profile-table td>span:not([for]){display:none}
.rf-profile-table input:not([type="hidden"]),.rf-profile-table select,.rf-profile-table textarea{box-sizing:border-box!important;width:100%!important;height:auto!important;min-height:45px;max-width:100%;padding:10px;border:1.5px solid #8099aa;border-radius:7px;background:#fff;color:#182e3e;font:16px/1.4 system-ui,Arial,sans-serif!important}
.rf-profile-table textarea{min-height:130px}
.rf-profile-table img{max-width:100%;height:auto}
@media(max-width:800px){.rf-header-inner{padding:16px 20px;gap:15px}.rf-brand{gap:16px}.rf-wordmark{width:218px}.rf-brand-icons{width:115px}.rf-page{padding-top:30px}.rf-footer{margin:0 20px;padding:20px 0}}
@media(max-width:520px){.rf-header-inner{padding:13px 15px;min-height:87px;gap:12px}.rf-brand{flex-direction:column;align-items:flex-start;gap:7px}.rf-wordmark{width:197px}.rf-brand-icons{width:116px;max-height:27px}.rf-header-link{font-size:13px}.rf-page{padding:24px 14px 32px;min-height:calc(100vh - 182px)}.rf-panel{border-radius:11px}.rf-panel-heading{padding:23px}.rf-panel-heading h1{font-size:27px;line-height:1.25}.rf-panel-body{padding:23px}.rf-submit-area{padding-top:0}.rf-links{gap:12px;font-size:13px}.rf-footer{margin:0 14px;font-size:11px}.rf-field input{font-size:16px}.rf-legacy-profile{padding:0 13px 20px}.rf-profile-table td{padding:12px 9px}}
