/* Acceso y perfil profesional. Sin dependencias externas. */
.ehp-pro-access,.ehp-pro-self{max-width:720px;background:#fff;border:1px solid #d8e4dc;border-radius:15px;padding:26px;margin:20px auto;color:#163e30;box-shadow:0 3px 14px rgba(20,58,44,.04)}
.ehp-pro-access small{font-weight:800;letter-spacing:.08em;color:#99762e}.ehp-pro-access h2{color:#123b2e;font-size:27px;margin:12px 0}.ehp-pro-access p,.ehp-pro-self p{color:#546b5e;line-height:1.55}.ehp-pro-access form,.ehp-pro-self form{display:grid;gap:14px;margin:18px 0}.ehp-pro-access label,.ehp-pro-self label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:650}.ehp-pro-access label.ehp-pro-check{display:flex;flex-direction:row;align-items:flex-start;font-weight:400}.ehp-pro-access input:not([type=checkbox]),.ehp-pro-self input:not([type=checkbox]){width:100%;min-height:44px;border:1px solid #c8d9ce;border-radius:8px;padding:10px;background:#fff;color:#173d30;font-size:15px}.ehp-pro-access input[type=checkbox]{margin-top:4px}.ehp-pro-access .ehp-pro-primary-btn,.ehp-pro-self .ehp-pro-primary-btn{background:#123e30;color:white;border:0;border-radius:9px;padding:12px 16px;font-size:14px;cursor:pointer;font-weight:750;justify-self:start}.ehp-pro-access .ehp-pro-primary-btn:hover,.ehp-pro-self .ehp-pro-primary-btn:hover{background:#1d664b}.ehp-pro-trap{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.ehp-pro-hint{font-size:12px}.ehp-pro-success{background:#edf8f0;color:#175838;border-left:3px solid #219b61;padding:12px;border-radius:7px}.ehp-pro-alert{background:#fff4ea;color:#81431a;border-left:3px solid #d99443;padding:12px;border-radius:7px}.ehp-pro-primary-link{font-weight:750;color:#174e38}.ehp-pro-pending{padding:18px}.ehp-pro-pending>h2,.ehp-pro-pending>p{max-width:720px;margin-left:auto;margin-right:auto}.ehp-pro-self-heading{display:flex;align-items:center;gap:16px}.ehp-pro-self-heading h3{margin:0;font-size:23px}.ehp-pro-self-heading p{margin:6px 0 0}.ehp-pro-self-avatar{width:76px;height:76px;min-width:76px;border-radius:50%;object-fit:cover;background:#dfeee4;color:#164a31;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:800;border:1px solid #bbd3c3}.ehp-pro-portal [data-profile]{padding:0 14px}.ehp-pro-portal [hidden]{display:none!important}
@media(max-width:600px){.ehp-pro-access,.ehp-pro-self{padding:17px;border-radius:10px}.ehp-pro-self-heading{align-items:flex-start}.ehp-pro-self-avatar{width:55px;height:55px;min-width:55px;font-size:22px}}

/* Acceso compacto, formularios profesionales y revisión documental. */
.ehp-pro-access,.ehp-pro-self{box-sizing:border-box;width:calc(100% - 32px);margin:24px auto;padding:28px;color:#173d30;font-size:15px;line-height:1.5}
.ehp-pro-access{max-width:440px;border-radius:12px}
body .entry-content .ehp-pro-access{max-width:440px}
body .entry-content .ehp-pro-register{max-width:560px}
body .entry-content .ehp-pro-self{max-width:840px}
.ehp-pro-access h2{font-size:clamp(30px,3vw,36px);line-height:1.15;margin:0 0 10px}
.ehp-pro-access>small{display:block;margin-bottom:8px}
.ehp-pro-access p{font-size:15px;margin:0 0 14px}
.ehp-pro-access form{gap:12px;margin:16px 0}
.ehp-pro-access form label:not(.login-remember){gap:6px;font-size:14px}
.ehp-pro-access input:not([type=checkbox]),.ehp-pro-self input:not([type=checkbox]),.ehp-pro-self select,.ehp-pro-self textarea{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid #c8d9ce;border-radius:8px;background:#fff;color:#173d30;font:inherit;font-size:15px}
.ehp-pro-access #loginform p{margin:0}
.ehp-pro-access #loginform label{font-size:14px}
.ehp-pro-access #loginform .login-remember{display:flex;align-items:center;gap:8px;min-height:24px;margin:0;color:#465f52}
.ehp-pro-access #loginform .login-remember label{display:inline-flex;flex-direction:row;align-items:center;gap:8px;margin:0;font-weight:400}
.ehp-pro-access #loginform input[type=checkbox],.ehp-pro-access form input[type=checkbox]{flex:0 0 16px;width:16px;height:16px;margin:0;accent-color:#236b59}
.ehp-pro-access .ehp-pro-primary-btn,.ehp-pro-access #loginform input[type=submit]{display:block;width:100%;min-height:48px;justify-self:stretch;margin:2px 0 0;padding:12px 18px;border:0;border-radius:8px;background:#123e30;color:#fff;font-size:15px;font-weight:750;text-align:center;cursor:pointer}
.ehp-pro-access .ehp-pro-primary-btn:hover,.ehp-pro-access #loginform input[type=submit]:hover{background:#1d664b}
.ehp-pro-access .ehp-pro-primary-link{color:#17533c}
.ehp-pro-self{max-width:840px;padding:24px;border-radius:12px}
.ehp-pro-self h3{font-size:22px;line-height:1.25;margin:0 0 10px;color:#173d30}
.ehp-pro-self p,.ehp-pro-self label{font-size:14px;line-height:1.5}
.ehp-pro-self form{gap:12px;margin:16px 0}
.ehp-pro-self .ehp-pro-primary-btn{min-height:46px;padding:11px 18px}
.ehp-pro-self .ehp-pro-check{gap:9px;align-items:flex-start;line-height:1.45}
.ehp-pro-self .ehp-pro-check input{flex:0 0 16px;width:16px;height:16px;margin:3px 0 0;accent-color:#236b59}
.ehp-pro-access .ehp-pro-check span{flex:1;min-width:0}
.ehp-pro-pending{padding:12px 0}
@media(max-width:600px){.ehp-pro-access,.ehp-pro-self{width:calc(100% - 24px);margin:16px auto;padding:20px}.ehp-pro-access h2{font-size:30px}.ehp-pro-self-heading h3{font-size:20px}}
@media(max-width:380px){.ehp-pro-access,.ehp-pro-self{width:calc(100% - 20px);padding:17px}.ehp-pro-access p{font-size:14px}}

/* Recuperación core, sólo se carga desde el enlace del área profesional. */
.login #login{box-sizing:border-box;width:min(calc(100% - 28px),440px);padding:26px 28px;border:1px solid #d8e4dc;border-radius:12px;background:#fff;box-shadow:0 3px 14px rgba(20,58,44,.05)}
.login #login h1 a{max-width:100%;background-size:contain}
.login #login form{padding:0;border:0;box-shadow:none}
.login #login form p{margin:12px 0}
.login #login label{color:#465f52;font-size:14px}
.login #login input[type=text],.login #login input[type=password],.login #login input[type=email]{box-sizing:border-box;min-height:46px;padding:10px 12px;border:1px solid #c8d9ce;border-radius:8px;color:#173d30;font-size:15px}
.login #login input[type=submit]{min-height:46px;padding:10px 18px;border:0;border-radius:8px;background:#123e30;color:white;font-size:15px;font-weight:750}
@media(max-width:480px){.login #login{width:calc(100% - 24px);margin:18px auto;padding:20px}}

/* dev.48: desplazar los avisos del formulario bajo la cabecera fija. */
.ehp-pro-access #ehp-pro-login-error{margin:10px 0 18px;scroll-margin-top:130px}

/* dev.49: ayuda de formato y avisos sin salir del portal profesional. */
.ehp-pro-access #ehp-pro-register-error{margin:12px 0 18px;scroll-margin-top:130px}
.ehp-pro-register .ehp-pro-field-help{color:#51695a;font-size:12px;line-height:1.5;margin:-4px 0 10px}
.ehp-pro-register input[type=tel]:not(:placeholder-shown):invalid{border-color:#ad594c;box-shadow:0 0 0 2px rgba(173,89,76,.09)}
.ehp-pro-register input[type=tel]:focus-visible{outline:2px solid #ad935f;outline-offset:2px}

/* dev.50: activación de cuenta dentro del portal; sin estilos globales de WP. */
.ehp-pro-activate,body .entry-content .ehp-pro-activate{max-width:560px}
.ehp-pro-activate .ehp-pro-field-help{color:#51695a;font-size:12px;line-height:1.5;margin:-4px 0 8px}
.ehp-pro-activate .ehp-pro-alert,.ehp-pro-activate .ehp-pro-success{margin:12px 0 18px;scroll-margin-top:130px}
.ehp-pro-access .ehp-pro-success{margin:12px 0 18px}
