.redpsico-pym-header,.redpsico-pym-header *,.redpsico-pym-drawer,.redpsico-pym-drawer *{box-sizing:border-box}
.redpsico-pym-header{width:100%;height:var(--rp-pym-height,48px);background:var(--rp-pym-bg,#102A56);color:var(--rp-pym-text,#fff);font-family:inherit;position:relative;z-index:2147483644;box-shadow:none;border:0}
.redpsico-pym-header.is-shortcode{z-index:1}
.redpsico-pym-inner{height:100%;width:100%;max-width:100%;margin:0 auto;display:grid;grid-template-columns:minmax(165px,1fr) auto minmax(230px,1fr);align-items:center;padding:0 22px}
.redpsico-pym-menu{display:inline-flex;align-items:center;justify-content:flex-start;gap:7px;width:max-content;height:100%;padding:0!important;border:0!important;background:transparent!important;color:var(--rp-pym-text,#fff)!important;box-shadow:none!important;text-decoration:none!important;font-size:14px;font-weight:500;letter-spacing:-.01em;line-height:1;cursor:pointer;appearance:none}
.redpsico-pym-menu:hover{opacity:.94;background:transparent!important}
.redpsico-pym-menu svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round}
.redpsico-pym-brand{justify-self:center;display:inline-flex;align-items:center;gap:8px;color:var(--rp-pym-text,#fff)!important;text-decoration:none!important;line-height:1;min-width:0}
.redpsico-pym-brand img{display:block;height:var(--rp-pym-logo-height,28px);max-height:calc(var(--rp-pym-height,48px) - 10px);width:var(--rp-pym-logo-width,auto);max-width:min(360px,38vw);object-fit:contain}
.redpsico-pym-brand strong{display:block;color:var(--rp-pym-text,#fff);font-size:17px;font-weight:600;letter-spacing:-.25px;white-space:nowrap}

/* Barra derecha estilo referencia: cada acceso con su pastilla suave, no texto suelto */
.redpsico-pym-actions{justify-self:end;display:inline-flex;align-items:center;justify-content:flex-end;height:100%;gap:8px;white-space:nowrap}
.redpsico-pym-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:32px!important;min-height:32px!important;padding:0 14px!important;margin:0!important;color:rgba(255,255,255,.88)!important;text-decoration:none!important;font-size:13px!important;font-weight:400!important;letter-spacing:-.01em!important;line-height:1!important;border-radius:8px!important;background:rgba(255,255,255,.075)!important;border:0!important;box-shadow:none!important;outline:0!important;opacity:1!important;transition:color .16s ease,background .16s ease,opacity .16s ease!important}
.redpsico-pym-actions a:hover,.redpsico-pym-actions a:focus{color:#fff!important;background:rgba(255,255,255,.13)!important;opacity:1!important;box-shadow:none!important;outline:0!important}
.redpsico-pym-search{width:36px!important;height:32px!important;min-width:36px!important;padding:0!important;margin:0 2px 0 0!important;border-radius:8px!important;position:relative;color:#fff!important;background:rgba(255,255,255,.075)!important}
.redpsico-pym-search:after{content:"";position:absolute;right:-6px;top:7px;bottom:7px;width:1px;background:rgba(255,255,255,.22)}
.redpsico-pym-search svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.redpsico-pym-login{background:rgba(255,255,255,.075)!important;color:rgba(255,255,255,.86)!important;font-weight:400!important;margin-left:6px!important}
.redpsico-pym-login:hover{color:#fff!important;background:rgba(255,255,255,.13)!important}
.redpsico-pym-register{height:32px!important;min-height:32px!important;padding:0 14px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border-radius:8px!important;border:0!important;font-weight:500!important;box-shadow:none!important;opacity:1!important}
.redpsico-pym-register:hover{background:rgba(255,255,255,.22)!important;color:#fff!important}

.redpsico-pym-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.28);z-index:2147483645;opacity:0;visibility:hidden;transition:.18s ease}
.redpsico-pym-drawer{position:fixed;top:0;left:0;width:min(340px,88vw);height:100vh;background:#fff;color:#102A56;z-index:2147483646;transform:translateX(-105%);transition:.22s ease;box-shadow:0 20px 60px rgba(16,42,86,.18);font-family:inherit}
.redpsico-pym-drawer.is-open{transform:translateX(0)}.redpsico-pym-backdrop.is-open{opacity:1;visibility:visible}.rp-pym-menu-open{overflow:hidden!important}
.redpsico-pym-drawer-head{height:54px;background:var(--rp-pym-bg,#102A56);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:15px;font-weight:500}
.redpsico-pym-drawer button{border:0!important;background:transparent!important;color:#fff!important;padding:6px!important;box-shadow:none!important;cursor:pointer;appearance:none}
.redpsico-pym-drawer button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.redpsico-pym-drawer-nav{display:flex;flex-direction:column;padding:10px}.redpsico-pym-drawer-nav a{display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:8px;color:#102A56!important;text-decoration:none!important;font-size:14px;font-weight:400!important}.redpsico-pym-drawer-nav a:hover{background:#f4f6fa}
@media(max-width:680px){.redpsico-pym-header{height:var(--rp-pym-height-mobile,48px)}.redpsico-pym-inner{grid-template-columns:52px 1fr auto;padding:0 12px}.redpsico-pym-menu{gap:0}.redpsico-pym-menu span{display:none}.redpsico-pym-menu svg{width:22px;height:22px}.redpsico-pym-brand img{height:var(--rp-pym-logo-height-mobile,26px);max-height:calc(var(--rp-pym-height-mobile,48px) - 8px);width:var(--rp-pym-logo-width-mobile,auto);max-width:48vw}.redpsico-pym-brand strong{font-size:16px}.redpsico-pym-actions{gap:0}.redpsico-pym-login{display:none!important}.redpsico-pym-actions a:not(.redpsico-pym-search):not(.redpsico-pym-register){display:none!important}.redpsico-pym-search{width:30px!important;min-width:30px!important;margin-right:6px!important}.redpsico-pym-search svg{width:18px;height:18px}.redpsico-pym-register{height:30px!important;min-height:30px!important;font-size:12px!important;padding:0 10px!important;margin-left:6px!important;border-radius:6px!important}}
@media(max-width:380px){.redpsico-pym-register{display:none!important}.redpsico-pym-inner{grid-template-columns:46px 1fr 34px}.redpsico-pym-brand strong{font-size:15px}.redpsico-pym-search:after{display:none}}

/* v7: iconos en botones, Demo rojo y lupa sin fondo tipo botón */
.redpsico-pym-actions a svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto;margin-right:7px}
.redpsico-pym-actions a.redpsico-pym-demo,
.redpsico-pym-actions a.redpsico-pym-register{background:#d93030!important;color:#fff!important;font-weight:500!important;border:0!important}
.redpsico-pym-actions a.redpsico-pym-demo:hover,
.redpsico-pym-actions a.redpsico-pym-register:hover{background:#c52222!important;color:#fff!important}
.redpsico-pym-actions a.redpsico-pym-demo svg,
.redpsico-pym-actions a.redpsico-pym-register svg{fill:currentColor;stroke:none;width:13px;height:13px;margin-right:7px}
.redpsico-pym-actions a.redpsico-pym-login svg{width:15px;height:15px;margin-right:7px}
.redpsico-pym-search{background:transparent!important;width:42px!important;min-width:42px!important;height:38px!important;min-height:38px!important;border-radius:0!important;margin-right:4px!important;color:#fff!important}
.redpsico-pym-search:hover,.redpsico-pym-search:focus{background:transparent!important;color:#fff!important;opacity:.86!important}
.redpsico-pym-search svg{width:23px!important;height:23px!important;margin-right:0!important;stroke-width:2!important}
.redpsico-pym-search:after{right:-4px;top:9px;bottom:9px;background:rgba(255,255,255,.24)}
@media(max-width:680px){.redpsico-pym-actions a svg{margin-right:5px}.redpsico-pym-search{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important}.redpsico-pym-search svg{width:23px!important;height:23px!important}.redpsico-pym-register svg{width:12px!important;height:12px!important;margin-right:5px}}

/* v8.1 corrección final: lupa sin fondo, Probar Demo rojo, Ingresar azul claro */
.redpsico-pym-actions .redpsico-pym-search,
.redpsico-pym-actions a.redpsico-pym-search{
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important;
  color: #fff !important;
}
.redpsico-pym-actions .redpsico-pym-search:hover,
.redpsico-pym-actions .redpsico-pym-search:focus,
.redpsico-pym-actions a.redpsico-pym-search:hover,
.redpsico-pym-actions a.redpsico-pym-search:focus{
  background: transparent !important;
  box-shadow: none !important;
  opacity: .9 !important;
}
.redpsico-pym-actions .redpsico-pym-search:after,
.redpsico-pym-actions a.redpsico-pym-search:after{
  display: none !important;
  content: none !important;
}
.redpsico-pym-actions .redpsico-pym-search svg,
.redpsico-pym-actions a.redpsico-pym-search svg{
  width: 25px !important;
  height: 25px !important;
  margin: 0 !important;
  stroke-width: 2 !important;
}

/* En tu configuración actual: Probar Demo usa .redpsico-pym-login */
.redpsico-pym-actions a.redpsico-pym-login{
  background: #D63A3A !important;
  color: #fff !important;
  font-weight: 500 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.redpsico-pym-actions a.redpsico-pym-login:hover,
.redpsico-pym-actions a.redpsico-pym-login:focus{
  background: #C92E2E !important;
  color: #fff !important;
}

/* Ingresar usa .redpsico-pym-register */
.redpsico-pym-actions a.redpsico-pym-register{
  background: #245B86 !important;
  color: #fff !important;
  font-weight: 500 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.redpsico-pym-actions a.redpsico-pym-register:hover,
.redpsico-pym-actions a.redpsico-pym-register:focus{
  background: #2D6E9F !important;
  color: #fff !important;
}

/* Si el botón Probar Demo está cargado como extra 1, también queda rojo */
.redpsico-pym-actions a.redpsico-pym-demo{
  background: #D63A3A !important;
  color: #fff !important;
  font-weight: 500 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.redpsico-pym-actions a.redpsico-pym-demo:hover,
.redpsico-pym-actions a.redpsico-pym-demo:focus{
  background: #C92E2E !important;
  color: #fff !important;
}

/* v8.4: bloque izquierdo PC con CTA IA + moneda minimalista */
.redpsico-pym-left{justify-self:start;display:inline-flex;align-items:center;gap:10px;height:100%;min-width:0;white-space:nowrap}
.redpsico-pym-ai-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:36px!important;min-height:36px!important;max-width:390px!important;padding:0 14px!important;margin-left:12px!important;border-radius:13px!important;text-decoration:none!important;color:#f4fbff!important;background:linear-gradient(135deg,rgba(45,116,179,.98),rgba(38,93,139,.96) 46%,rgba(20,54,91,.96))!important;border:1px solid rgba(156,214,255,.20)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 18px rgba(72,156,255,.13)!important;font-size:14px!important;font-weight:500!important;letter-spacing:-.01em!important;line-height:1!important;overflow:hidden!important}
.redpsico-pym-ai-button:hover,.redpsico-pym-ai-button:focus{color:#fff!important;background:linear-gradient(135deg,rgba(55,134,201,1),rgba(41,103,154,.98) 46%,rgba(22,63,104,.98))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 0 22px rgba(72,156,255,.18)!important;opacity:1!important;outline:0!important}
.redpsico-pym-ai-button svg{width:18px!important;height:18px!important;stroke:currentColor!important;fill:none!important;stroke-width:1.75!important;stroke-linecap:round!important;stroke-linejoin:round!important;flex:0 0 auto!important}
.redpsico-pym-ai-button strong{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-size:12px;font-weight:600;letter-spacing:.02em;line-height:1}
.redpsico-pym-ai-text{display:inline-block;max-width:285px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.redpsico-pym-currency{display:inline-flex!important;align-items:center!important;gap:3px!important;height:34px!important;min-height:34px!important;padding:0 4px 0 8px!important;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;border-radius:8px!important;font-size:13px!important;font-weight:500!important;line-height:1!important;cursor:pointer!important}
.redpsico-pym-currency:hover{background:rgba(255,255,255,.06)!important}
.redpsico-pym-currency span{color:#fff!important;font-size:14px!important;font-weight:500!important;line-height:1!important}
.redpsico-pym-currency select{height:30px!important;min-height:30px!important;width:auto!important;min-width:54px!important;padding:0 18px 0 3px!important;margin:0!important;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;border-radius:0!important;font-size:13px!important;font-weight:500!important;line-height:30px!important;appearance:auto!important;-webkit-appearance:auto!important;cursor:pointer!important}
.redpsico-pym-currency select:focus{outline:0!important;box-shadow:none!important;background:transparent!important}
.redpsico-pym-currency select option{color:#102A56;background:#fff;font-size:13px}
@media(max-width:1080px){.redpsico-pym-ai-button{max-width:300px;margin-left:8px!important}.redpsico-pym-ai-text{max-width:205px}.redpsico-pym-inner{grid-template-columns:minmax(320px,1fr) auto minmax(220px,1fr)}}
@media(max-width:860px){.redpsico-pym-ai-button,.redpsico-pym-currency{display:none!important}.redpsico-pym-inner{grid-template-columns:52px 1fr auto}.redpsico-pym-left{gap:0}}

/* v8.7: móvil más alto, sticky, logo arriba y debajo IA + moneda */
@media(max-width:860px){
  .redpsico-pym-header:not(.is-shortcode){
    position:sticky!important;
    top:0!important;
    z-index:2147483644!important;
  }
  .redpsico-pym-header{
    height:auto!important;
    min-height:94px!important;
  }
  .redpsico-pym-inner{
    height:auto!important;
    min-height:94px!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) auto!important;
    grid-template-rows:48px 40px!important;
    align-items:center!important;
    column-gap:8px!important;
    row-gap:2px!important;
    padding:0 12px 6px!important;
  }
  .redpsico-pym-left{display:contents!important;}
  .redpsico-pym-menu{
    grid-column:1!important;
    grid-row:1!important;
    width:38px!important;
    height:44px!important;
    min-height:44px!important;
    justify-content:flex-start!important;
    margin:0!important;
  }
  .redpsico-pym-menu span{display:none!important;}
  .redpsico-pym-brand{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:center!important;
    align-self:center!important;
  }
  .redpsico-pym-brand img{
    height:var(--rp-pym-logo-height-mobile,26px)!important;
    max-height:34px!important;
    max-width:52vw!important;
  }
  .redpsico-pym-actions{
    grid-column:3!important;
    grid-row:1!important;
    justify-self:end!important;
    height:44px!important;
    gap:4px!important;
  }
  .redpsico-pym-actions .redpsico-pym-search,
  .redpsico-pym-actions a.redpsico-pym-search{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    margin:0!important;
  }
  .redpsico-pym-actions .redpsico-pym-search svg,
  .redpsico-pym-actions a.redpsico-pym-search svg{
    width:22px!important;
    height:22px!important;
  }
  .redpsico-pym-login,
  .redpsico-pym-register,
  .redpsico-pym-actions a:not(.redpsico-pym-search){
    display:none!important;
  }
  .redpsico-pym-ai-button{
    grid-column:1 / 3!important;
    grid-row:2!important;
    display:inline-flex!important;
    justify-self:start!important;
    align-self:center!important;
    width:100%!important;
    max-width:100%!important;
    height:36px!important;
    min-height:36px!important;
    margin:0!important;
    padding:0 12px!important;
    border-radius:13px!important;
    font-size:13px!important;
    gap:7px!important;
  }
  .redpsico-pym-ai-button svg{width:17px!important;height:17px!important;}
  .redpsico-pym-ai-button strong{height:22px!important;padding:0 7px!important;font-size:11px!important;}
  .redpsico-pym-ai-text{max-width:none!important;min-width:0!important;}
  .redpsico-pym-currency{
    grid-column:3!important;
    grid-row:2!important;
    display:inline-flex!important;
    justify-self:end!important;
    align-self:center!important;
    height:36px!important;
    min-height:36px!important;
    padding:0 0 0 8px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#fff!important;
    gap:2px!important;
  }
  .redpsico-pym-currency span{font-size:15px!important;color:#fff!important;}
  .redpsico-pym-currency select{
    display:block!important;
    height:34px!important;
    min-height:34px!important;
    min-width:56px!important;
    padding:0 16px 0 2px!important;
    background:transparent!important;
    color:#fff!important;
    border:0!important;
    font-size:13px!important;
    font-weight:600!important;
  }
}
@media(max-width:390px){
  .redpsico-pym-inner{grid-template-columns:40px minmax(0,1fr) 66px!important;padding-left:10px!important;padding-right:10px!important;}
  .redpsico-pym-ai-button{font-size:12px!important;padding:0 9px!important;gap:5px!important;}
  .redpsico-pym-ai-button strong{padding:0 6px!important;font-size:10px!important;}
  .redpsico-pym-currency select{min-width:52px!important;font-size:12px!important;}
}


/* v8.10: mobile real fix - mostrar Ingresar y flecha blanca moneda */
@media(max-width:860px){
  .redpsico-pym-header .redpsico-pym-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
  }
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-login,
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-extra,
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-demo,
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-extra-1,
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-extra-2{
    display:none!important;
  }
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:72px!important;
    max-width:82px!important;
    height:32px!important;
    min-height:32px!important;
    padding:0 10px!important;
    margin:0!important;
    border-radius:8px!important;
    background:rgba(255,255,255,.14)!important;
    border:1px solid rgba(255,255,255,.18)!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1!important;
    text-decoration:none!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register svg{
    display:none!important;
  }
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register span{
    display:inline!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:1!important;
  }
  .redpsico-pym-header .redpsico-pym-brand img{
    max-width:42vw!important;
  }
  .redpsico-pym-header .redpsico-pym-currency{
    position:relative!important;
    padding-right:13px!important;
    overflow:visible!important;
  }
  .redpsico-pym-header .redpsico-pym-currency select,
  .redpsico-pym-header .redpsico-pym-currency select:focus,
  .redpsico-pym-header .redpsico-pym-currency select:hover{
    -webkit-appearance:none!important;
    appearance:none!important;
    background:transparent!important;
    background-image:none!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    padding-right:2px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  .redpsico-pym-header .redpsico-pym-currency:after{
    content:""!important;
    position:absolute!important;
    right:0!important;
    top:50%!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid #fff!important;
    border-bottom:2px solid #fff!important;
    transform:translateY(-65%) rotate(45deg)!important;
    pointer-events:none!important;
    opacity:1!important;
  }
}
@media(max-width:390px){
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register{
    min-width:66px!important;
    max-width:72px!important;
    padding:0 8px!important;
    font-size:11px!important;
  }
  .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register span{font-size:11px!important;}
  .redpsico-pym-header .redpsico-pym-brand img{max-width:38vw!important;}
}

/* v8.11: menú lateral más importante, con CTAs e iconos SVG outline */
.redpsico-pym-drawer{
  background:linear-gradient(180deg,#ffffff 0%,#f7f9fc 100%)!important;
}
.redpsico-pym-drawer-head{
  height:62px!important;
  padding:0 20px!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
}
.redpsico-pym-drawer-ctas{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
  padding:16px 16px 10px!important;
  border-bottom:1px solid rgba(16,42,86,.08)!important;
}
.redpsico-pym-drawer-ctas a{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  min-height:46px!important;
  padding:0 16px!important;
  border-radius:12px!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:550!important;
  letter-spacing:-.01em!important;
  line-height:1!important;
  box-shadow:none!important;
}
.redpsico-pym-drawer-ctas a svg,
.redpsico-pym-drawer-nav a svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.85!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  flex:0 0 auto!important;
}
.redpsico-pym-drawer-login{
  background:#D63A3A!important;
  border:1px solid #D63A3A!important;
  color:#fff!important;
}
.redpsico-pym-drawer-login:hover,
.redpsico-pym-drawer-login:focus{
  background:#C92E2E!important;
  border-color:#C92E2E!important;
  color:#fff!important;
}
.redpsico-pym-drawer-demo{
  background:#fff!important;
  border:1px solid rgba(16,42,86,.72)!important;
  color:#111!important;
}
.redpsico-pym-drawer-demo svg{color:#111!important;}
.redpsico-pym-drawer-demo:hover,
.redpsico-pym-drawer-demo:focus{
  background:#f3f7fb!important;
  border-color:#102A56!important;
  color:#111!important;
}
.redpsico-pym-drawer-nav{
  gap:8px!important;
  padding:14px 16px 18px!important;
}
.redpsico-pym-drawer-nav a{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-height:46px!important;
  padding:0 14px!important;
  border-radius:12px!important;
  color:#102A56!important;
  background:#fff!important;
  border:1px solid rgba(16,42,86,.08)!important;
  text-decoration:none!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:-.01em!important;
  box-shadow:0 1px 0 rgba(16,42,86,.03)!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.redpsico-pym-drawer-nav a:hover,
.redpsico-pym-drawer-nav a:focus{
  background:#f7f9fd!important;
  border-color:rgba(16,42,86,.16)!important;
  transform:translateX(2px)!important;
}
.redpsico-pym-drawer-nav a span{
  display:block!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}


/* v8.13: menú móvil con alto real, scroll y título Menú general */
.redpsico-pym-drawer{
  height:100vh!important;
  height:100dvh!important;
  max-height:100vh!important;
  max-height:100dvh!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding-bottom:env(safe-area-inset-bottom,0px)!important;
}
.redpsico-pym-drawer-head{
  flex:0 0 auto!important;
  min-height:62px!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
}
.redpsico-pym-drawer-title{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  color:#fff!important;
  font-size:16px!important;
  font-weight:600!important;
  letter-spacing:-.02em!important;
  line-height:1!important;
}
.redpsico-pym-drawer-title svg{
  width:21px!important;
  height:21px!important;
  stroke:#fff!important;
  fill:none!important;
  stroke-width:2!important;
}
.redpsico-pym-drawer > .redpsico-pym-drawer-ctas,
.redpsico-pym-drawer > .redpsico-pym-drawer-nav{
  flex:0 0 auto!important;
}
.redpsico-pym-drawer-nav{
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))!important;
}
@media(max-width:860px){
  .redpsico-pym-drawer{
    width:min(360px,92vw)!important;
  }
  .redpsico-pym-drawer-nav{
    flex:1 1 auto!important;
    min-height:0!important;
  }
  .redpsico-pym-drawer-ctas{
    flex:0 0 auto!important;
  }
}

/* v8.14: fix definitivo scroll menú móvil (Safari/Chrome iOS) */
@media(max-width:860px){
  .redpsico-pym-drawer{
    top:0!important;
    bottom:0!important;
    height:auto!important;
    max-height:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
    padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;
  }
  .redpsico-pym-drawer-head{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    height:58px!important;
    min-height:58px!important;
  }
  .redpsico-pym-drawer-ctas{
    padding:14px 14px 10px!important;
    gap:9px!important;
  }
  .redpsico-pym-drawer-ctas a{
    min-height:42px!important;
    border-radius:11px!important;
    font-size:13.5px!important;
  }
  .redpsico-pym-drawer-nav{
    overflow:visible!important;
    flex:none!important;
    min-height:auto!important;
    gap:7px!important;
    padding:12px 14px 24px!important;
  }
  .redpsico-pym-drawer-nav a{
    min-height:42px!important;
    border-radius:11px!important;
    padding:0 12px!important;
    font-size:13.5px!important;
  }
}
@media(max-width:390px){
  .redpsico-pym-drawer-ctas a{min-height:40px!important;}
  .redpsico-pym-drawer-nav a{min-height:40px!important;}
  .redpsico-pym-drawer-nav{gap:6px!important;}
}


/* v8.15: scroll real también en PC/notebook para ver todos los botones */
.redpsico-pym-drawer{
  top:0!important;
  bottom:0!important;
  height:auto!important;
  max-height:none!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
}
.redpsico-pym-drawer-head{
  position:sticky!important;
  top:0!important;
  z-index:5!important;
}
.redpsico-pym-drawer-nav{
  overflow:visible!important;
  flex:none!important;
  min-height:auto!important;
  padding-bottom:calc(42px + env(safe-area-inset-bottom,0px))!important;
}
.redpsico-pym-drawer-ctas{
  flex:none!important;
}
@media(min-width:861px){
  .redpsico-pym-drawer{
    width:min(380px,92vw)!important;
  }
  .redpsico-pym-drawer-nav a{
    min-height:42px!important;
  }
  .redpsico-pym-drawer-nav{
    gap:7px!important;
  }
}


/* v8.16: scroll real del drawer completo en PC y móvil, con margen inferior visible */
html.rp-pym-menu-open,
html.rp-pym-menu-open body{
  overflow:hidden!important;
  height:100%!important;
}
.redpsico-pym-drawer{
  position:fixed!important;
  top:0!important;
  left:0!important;
  bottom:auto!important;
  width:min(380px,92vw)!important;
  height:100vh!important;
  height:100svh!important;
  max-height:100vh!important;
  max-height:100svh!important;
  display:block!important;
  overflow-y:scroll!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding-bottom:190px!important;
  scrollbar-gutter:stable!important;
}
.redpsico-pym-drawer-head{
  position:sticky!important;
  top:0!important;
  z-index:10!important;
  height:58px!important;
  min-height:58px!important;
  flex:none!important;
}
.redpsico-pym-drawer-ctas,
.redpsico-pym-drawer-nav{
  flex:none!important;
  overflow:visible!important;
  min-height:0!important;
}
.redpsico-pym-drawer-ctas{
  padding:14px 16px 10px!important;
}
.redpsico-pym-drawer-nav{
  padding:12px 16px 170px!important;
  gap:7px!important;
}
.redpsico-pym-drawer-nav a{
  min-height:42px!important;
}
.redpsico-pym-drawer::after{
  content:""!important;
  display:block!important;
  height:120px!important;
  flex:0 0 120px!important;
}
@media(max-width:860px){
  .redpsico-pym-drawer{
    width:min(360px,92vw)!important;
    height:100dvh!important;
    max-height:100dvh!important;
    padding-bottom:calc(210px + env(safe-area-inset-bottom,0px))!important;
  }
  .redpsico-pym-drawer-nav{
    padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))!important;
  }
  .redpsico-pym-drawer::after{
    height:150px!important;
  }
}
@supports (-webkit-touch-callout:none){
  .redpsico-pym-drawer{
    height:-webkit-fill-available!important;
    max-height:-webkit-fill-available!important;
  }
}

/* v8.17: fix móvil definitivo: cabecera fija + contenido scrolleable hasta el último botón */
html.rp-pym-menu-open,
html.rp-pym-menu-open body{
  overflow:hidden!important;
  height:100%!important;
  touch-action:none!important;
}
.redpsico-pym-drawer{
  position:fixed!important;
  top:0!important;
  left:0!important;
  bottom:auto!important;
  width:min(380px,92vw)!important;
  height:var(--rp-pym-vh,100dvh)!important;
  max-height:var(--rp-pym-vh,100dvh)!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  padding:0!important;
  box-sizing:border-box!important;
}
.redpsico-pym-drawer-head{
  position:relative!important;
  top:auto!important;
  z-index:10!important;
  flex:0 0 58px!important;
  height:58px!important;
  min-height:58px!important;
}
.redpsico-pym-drawer-ctas{
  flex:0 0 auto!important;
  padding:14px 16px 10px!important;
  margin:0!important;
  overflow:visible!important;
}
.redpsico-pym-drawer-nav{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior:contain!important;
  padding:12px 16px calc(190px + env(safe-area-inset-bottom,0px))!important;
  margin:0!important;
  gap:7px!important;
  box-sizing:border-box!important;
  touch-action:pan-y!important;
}
.redpsico-pym-drawer-nav a{
  flex:0 0 auto!important;
  min-height:42px!important;
}
.redpsico-pym-drawer::after{
  display:none!important;
  content:none!important;
}
@media(max-width:860px){
  .redpsico-pym-drawer{
    width:min(360px,92vw)!important;
    height:var(--rp-pym-vh,100dvh)!important;
    max-height:var(--rp-pym-vh,100dvh)!important;
  }
  .redpsico-pym-drawer-head{
    flex-basis:58px!important;
  }
  .redpsico-pym-drawer-ctas{
    padding:14px 14px 10px!important;
  }
  .redpsico-pym-drawer-nav{
    padding:12px 14px calc(230px + env(safe-area-inset-bottom,0px))!important;
  }
}
@media(max-width:390px){
  .redpsico-pym-drawer-nav a{min-height:40px!important;}
  .redpsico-pym-drawer-nav{gap:6px!important;padding-bottom:calc(250px + env(safe-area-inset-bottom,0px))!important;}
}

/* v8.18: header móvil sticky real, incluso cuando se imprime por shortcode */
@media(max-width:860px){
  .redpsico-pym-header,
  .redpsico-pym-header.is-shortcode{
    position:sticky!important;
    position:-webkit-sticky!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:2147483000!important;
    transform:translateZ(0)!important;
    will-change:transform!important;
  }
  body.admin-bar .redpsico-pym-header,
  body.admin-bar .redpsico-pym-header.is-shortcode{
    top:46px!important;
  }
}


/* v8.19: móvil fijo real. Sticky puede fallar si el header queda dentro de contenedores con overflow/transform. */
@media(max-width:860px){
  html body.rp-pym-mobile-fixed-header{
    padding-top:var(--rp-pym-mobile-header-offset,94px)!important;
  }
  body.admin-bar.rp-pym-mobile-fixed-header{
    padding-top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;
  }
  .redpsico-pym-header,
  .redpsico-pym-header.is-shortcode{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:2147483500!important;
    transform:none!important;
    margin:0!important;
  }
  body.admin-bar .redpsico-pym-header,
  body.admin-bar .redpsico-pym-header.is-shortcode{
    top:46px!important;
  }
}
@media(min-width:861px){
  html body.rp-pym-mobile-fixed-header{padding-top:0!important;}
}


/* v8.20: montaje estructural al body para que el fixed no dependa de wrappers/Elementor/tema */
@media(max-width:860px){
  html.rp-pym-body-mounted body.rp-pym-body-mounted.rp-pym-mobile-fixed-header{
    padding-top:var(--rp-pym-mobile-header-offset,94px)!important;
  }
  html.rp-pym-body-mounted body.admin-bar.rp-pym-body-mounted.rp-pym-mobile-fixed-header{
    padding-top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;
  }
  html.rp-pym-body-mounted body > .redpsico-pym-header.rp-pym-mounted{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100vw!important;
    max-width:100vw!important;
    z-index:2147483600!important;
    transform:none!important;
    translate:none!important;
    margin:0!important;
    will-change:auto!important;
  }
  html.rp-pym-body-mounted body.admin-bar > .redpsico-pym-header.rp-pym-mounted{top:46px!important;}
  html.rp-pym-body-mounted body > .redpsico-pym-backdrop{position:fixed!important;}
  html.rp-pym-body-mounted body > .redpsico-pym-drawer{position:fixed!important;}
}
@media(min-width:861px){
  html.rp-pym-body-mounted body.rp-pym-body-mounted.rp-pym-mobile-fixed-header{padding-top:0!important;}
}

/* v8.21: drawer móvil debajo del header fixed + menú PC más compacto */
@media(max-width:860px){
  html.rp-pym-body-mounted body > .redpsico-pym-drawer{
    top:var(--rp-pym-mobile-header-offset,94px)!important;
    height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px))!important;
    max-height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px))!important;
    z-index:2147483646!important;
  }
  html.rp-pym-body-mounted body.admin-bar > .redpsico-pym-drawer{
    top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;
    height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px) - 46px)!important;
    max-height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px) - 46px)!important;
  }
  html.rp-pym-body-mounted body > .redpsico-pym-backdrop{
    top:var(--rp-pym-mobile-header-offset,94px)!important;
    z-index:2147483645!important;
  }
  html.rp-pym-body-mounted body.admin-bar > .redpsico-pym-backdrop{
    top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;
  }
  .redpsico-pym-drawer-head{
    flex:0 0 52px!important;
    height:52px!important;
    min-height:52px!important;
    padding:0 16px!important;
  }
  .redpsico-pym-drawer-title{font-size:15px!important;}
  .redpsico-pym-drawer-ctas{
    padding:12px 14px 8px!important;
    gap:8px!important;
  }
  .redpsico-pym-drawer-ctas a{
    min-height:40px!important;
    font-size:13px!important;
    border-radius:10px!important;
  }
  .redpsico-pym-drawer-nav{
    padding:10px 14px calc(110px + env(safe-area-inset-bottom,0px))!important;
    gap:6px!important;
  }
  .redpsico-pym-drawer-nav a{
    min-height:39px!important;
    font-size:13px!important;
    border-radius:10px!important;
    padding:0 11px!important;
  }
}
@media(min-width:861px){
  .redpsico-pym-drawer{
    width:min(340px,88vw)!important;
  }
  .redpsico-pym-drawer-head{
    height:50px!important;
    min-height:50px!important;
    flex-basis:50px!important;
    padding:0 16px!important;
  }
  .redpsico-pym-drawer-title{
    font-size:14px!important;
    gap:8px!important;
  }
  .redpsico-pym-drawer-title svg{
    width:18px!important;
    height:18px!important;
  }
  .redpsico-pym-drawer-ctas{
    padding:10px 12px 8px!important;
    gap:7px!important;
  }
  .redpsico-pym-drawer-ctas a{
    min-height:36px!important;
    font-size:12.5px!important;
    border-radius:9px!important;
  }
  .redpsico-pym-drawer-nav{
    padding:8px 12px 58px!important;
    gap:5px!important;
  }
  .redpsico-pym-drawer-nav a{
    min-height:34px!important;
    font-size:12.5px!important;
    border-radius:9px!important;
    padding:0 10px!important;
    gap:9px!important;
  }
  .redpsico-pym-drawer-ctas a svg,
  .redpsico-pym-drawer-nav a svg{
    width:16px!important;
    height:16px!important;
  }
}


/* v8.22: drawer offset real + PC compacto más fuerte */
@media(max-width:860px){
  html body .redpsico-pym-drawer{top:var(--rp-pym-mobile-header-offset,94px)!important;height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px))!important;max-height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px))!important;z-index:2147483646!important;}
  html body .redpsico-pym-backdrop{top:var(--rp-pym-mobile-header-offset,94px)!important;z-index:2147483645!important;}
  html body.admin-bar .redpsico-pym-drawer{top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px) - 46px)!important;max-height:calc(var(--rp-pym-vh,100dvh) - var(--rp-pym-mobile-header-offset,94px) - 46px)!important;}
  html body.admin-bar .redpsico-pym-backdrop{top:calc(var(--rp-pym-mobile-header-offset,94px) + 46px)!important;}
  .redpsico-pym-drawer-head{flex:0 0 50px!important;height:50px!important;min-height:50px!important;padding:0 14px!important;}
  .redpsico-pym-drawer-ctas{padding:10px 14px 7px!important;gap:7px!important;}
  .redpsico-pym-drawer-ctas a{min-height:38px!important;font-size:13px!important;border-radius:10px!important;}
  .redpsico-pym-drawer-nav{padding:8px 14px calc(78px + env(safe-area-inset-bottom,0px))!important;gap:5px!important;}
  .redpsico-pym-drawer-nav a{min-height:36px!important;font-size:13px!important;border-radius:10px!important;padding:0 10px!important;}
}
@media(min-width:861px){
  html body .redpsico-pym-drawer{width:min(320px,86vw)!important;height:100vh!important;max-height:100vh!important;}
  .redpsico-pym-drawer-head{height:46px!important;min-height:46px!important;flex-basis:46px!important;padding:0 14px!important;}
  .redpsico-pym-drawer-title{font-size:13px!important;gap:7px!important;}
  .redpsico-pym-drawer-title svg{width:17px!important;height:17px!important;}
  .redpsico-pym-drawer-ctas{padding:8px 10px 6px!important;gap:6px!important;}
  .redpsico-pym-drawer-ctas a{min-height:32px!important;font-size:12px!important;border-radius:8px!important;}
  .redpsico-pym-drawer-nav{padding:6px 10px 44px!important;gap:4px!important;}
  .redpsico-pym-drawer-nav a{min-height:30px!important;font-size:12px!important;border-radius:8px!important;padding:0 9px!important;gap:8px!important;}
  .redpsico-pym-drawer-ctas a svg,.redpsico-pym-drawer-nav a svg{width:15px!important;height:15px!important;}
}


/* v8.23: en móvil el menú se abre por ENCIMA del header, alineado al mismo top, sin quedar debajo */
@media(max-width:860px){
  html body .redpsico-pym-drawer,
  html.rp-pym-body-mounted body > .redpsico-pym-drawer{
    position:fixed!important;
    top:0!important;
    height:var(--rp-pym-vh,100dvh)!important;
    max-height:var(--rp-pym-vh,100dvh)!important;
    z-index:2147483646!important;
  }
  html body.admin-bar .redpsico-pym-drawer,
  html.rp-pym-body-mounted body.admin-bar > .redpsico-pym-drawer{
    top:46px!important;
    height:calc(var(--rp-pym-vh,100dvh) - 46px)!important;
    max-height:calc(var(--rp-pym-vh,100dvh) - 46px)!important;
  }
  html body .redpsico-pym-backdrop,
  html.rp-pym-body-mounted body > .redpsico-pym-backdrop{
    position:fixed!important;
    top:0!important;
    z-index:2147483645!important;
  }
  html body.admin-bar .redpsico-pym-backdrop,
  html.rp-pym-body-mounted body.admin-bar > .redpsico-pym-backdrop{top:46px!important;}
  html.rp-pym-menu-open, html.rp-pym-menu-open body{overflow:hidden!important;}
}


/* v8.36 anclajes offset real: ayuda también cuando el navegador procesa el hash de forma nativa */
html{scroll-padding-top:150px!important;}
#sistema,#beneficios,#planes,#contacto,#reunion,#rp-demo,#rp-contacto,#rp-planes{scroll-margin-top:150px!important;}
@media (max-width:860px){
  html{scroll-padding-top:95px!important;}
  #sistema,#beneficios,#planes,#contacto,#reunion,#rp-demo,#rp-contacto,#rp-planes{scroll-margin-top:95px!important;}
}

/* =========================================================
   v8.46 — Header escritorio 30 px más alto
   Corrección estética directa; no altera navegación ni moneda.
   ========================================================= */
@media (min-width:861px){
  html body .redpsico-pym-header{
    min-height:86px!important;
    height:86px!important;
    background:
      radial-gradient(circle at 78% -80%,rgba(59,130,246,.30),transparent 52%),
      linear-gradient(112deg,#071b3d 0%,#0b3568 45%,#101f46 100%)!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    box-shadow:0 7px 24px rgba(4,19,46,.18)!important;
  }
  html body .redpsico-pym-header .redpsico-pym-inner{
    min-height:86px!important;
    height:86px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  html body .redpsico-pym-brand img{
    height:calc(var(--rp-pym-logo-height,28px) + 5px)!important;
    max-height:42px!important;
  }
  html body .redpsico-pym-actions{
    gap:9px!important;
  }
  html body .redpsico-pym-actions a:not(.redpsico-pym-search){
    min-height:44px!important;
    height:44px!important;
    padding:0 20px!important;
    border-radius:11px!important;
    font-size:13px!important;
    font-weight:600!important;
    letter-spacing:-.01em!important;
    transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease!important;
  }
  html body .redpsico-pym-actions a:not(.redpsico-pym-search):hover{
    transform:translateY(-1px)!important;
  }
  /* CTA demo: moderno, luminoso y sin aspecto de botón plano */
  html body .redpsico-pym-actions a.redpsico-pym-login,
  html body .redpsico-pym-actions a.redpsico-pym-demo{
    background:linear-gradient(135deg,#f05b69 0%,#d83a52 55%,#bd2844 100%)!important;
    border:1px solid rgba(255,255,255,.20)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.20),0 7px 16px rgba(191,40,68,.24)!important;
    color:#fff!important;
  }
  html body .redpsico-pym-actions a.redpsico-pym-login:hover,
  html body .redpsico-pym-actions a.redpsico-pym-demo:hover{
    background:linear-gradient(135deg,#fa6a77 0%,#e1435b 55%,#c92d49 100%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.25),0 9px 20px rgba(191,40,68,.30)!important;
  }
  /* Acceso: azul translúcido, con borde y relieve leve */
  html body .redpsico-pym-actions a.redpsico-pym-register{
    background:linear-gradient(135deg,rgba(51,126,184,.98),rgba(34,86,137,.98))!important;
    border:1px solid rgba(168,218,255,.25)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 6px 14px rgba(5,26,57,.20)!important;
    color:#fff!important;
  }
  html body .redpsico-pym-actions a.redpsico-pym-register:hover{
    background:linear-gradient(135deg,#438dc4,#28679c)!important;
    border-color:rgba(193,230,255,.38)!important;
  }
  html body .redpsico-pym-menu,
  html body .redpsico-pym-currency{
    min-height:44px!important;
  }
}

/* v8.48: drawer siempre por encima del panel /administracion/.
   Valores dentro del máximo válido de z-index para evitar overflow del navegador. */
html body > .redpsico-pym-header{position:relative!important;z-index:2147483644!important;isolation:isolate!important}
html body > .redpsico-pym-backdrop{position:fixed!important;z-index:2147483645!important}
html body > .redpsico-pym-drawer{position:fixed!important;z-index:2147483646!important;isolation:isolate!important;opacity:1!important;visibility:visible}
html body > .redpsico-pym-drawer:not(.is-open){visibility:hidden!important}
html body > .redpsico-pym-drawer.is-open{visibility:visible!important;pointer-events:auto!important}
body.rp-pym-menu-open .rpmp-admin-shell,body.rp-pym-menu-open .rpmp-admin-main,body.rp-pym-menu-open .rpmp-admin-sidebar{z-index:0!important}

/* v8.49: estado de cuenta, demo ya utilizada y saludo del usuario */
.redpsico-pym-actions a.is-disabled,
.redpsico-pym-drawer-ctas a.is-disabled{
  opacity:.48!important;
  filter:grayscale(.45)!important;
  cursor:not-allowed!important;
  pointer-events:none!important;
  box-shadow:none!important;
}
.redpsico-pym-drawer-greeting{
  margin:14px 16px 4px!important;
  padding:12px 14px!important;
  border:1px solid #e1e6ee!important;
  border-radius:12px!important;
  background:#f7f9fc!important;
  color:#102A56!important;
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.redpsico-pym-drawer-greeting strong{font-weight:600!important;}

/* PuenteSalud v8.50 — branding exacto aprobado */
.redpsico-pym-header{
  --ps-red:#ff3438;--ps-violet:#5a2df6;
  background:linear-gradient(105deg,var(--ps-red) 0%,#d62e72 31%,#8f36bd 62%,var(--ps-violet) 100%)!important;
  height:88px!important;color:#fff!important;border:0!important;box-shadow:0 6px 18px rgba(35,20,92,.12)!important;
}
.redpsico-pym-inner{max-width:1480px!important;height:100%!important;margin:0 auto!important;padding:0 30px!important;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:28px!important;align-items:center!important;}
.redpsico-pym-left{display:none!important}
.puentesalud-brand{justify-self:start!important;display:flex!important;align-items:center!important;gap:14px!important;color:#fff!important;text-decoration:none!important;min-width:300px!important}
.puentesalud-brand-mark{width:72px!important;height:62px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;flex:0 0 auto!important}
.puentesalud-brand-mark svg{width:100%!important;height:100%!important;display:block!important;filter:none!important}
.puentesalud-brand-copy{display:flex!important;flex-direction:column!important;line-height:1.08!important;border-right:1px solid rgba(255,255,255,.22)!important;padding-right:28px!important}
.puentesalud-brand-copy strong{font-size:27px!important;font-weight:750!important;letter-spacing:-.7px!important;color:#fff!important}
.puentesalud-brand-copy small{margin-top:5px!important;font-size:12px!important;line-height:1.28!important;font-weight:450!important;color:#fff!important;opacity:.96!important}
.puentesalud-desktop-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:34px!important;min-width:0!important}
.puentesalud-desktop-nav a{position:relative!important;color:#fff!important;text-decoration:none!important;font-size:15px!important;font-weight:650!important;white-space:nowrap!important;opacity:.96!important;padding:32px 0!important}
.puentesalud-desktop-nav a:first-child:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:2px;border-radius:2px;background:#fff}
.puentesalud-desktop-nav a:hover{opacity:1!important}
.redpsico-pym-actions{justify-self:end!important;display:flex!important;align-items:center!important;gap:14px!important}
.redpsico-pym-search{color:#fff!important;width:42px!important;height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:transparent!important;border:0!important}
.redpsico-pym-search svg{width:28px!important;height:28px!important;stroke-width:1.8!important}
.redpsico-pym-login,.redpsico-pym-register{height:48px!important;padding:0 24px!important;border-radius:12px!important;font-size:15px!important;font-weight:700!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;text-decoration:none!important;white-space:nowrap!important}
.redpsico-pym-login{background:transparent!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.92)!important}
.redpsico-pym-register{background:#fff!important;color:#e5394f!important;border:1px solid #fff!important;box-shadow:0 4px 12px rgba(40,18,100,.12)!important}
.redpsico-pym-login svg,.redpsico-pym-register svg{display:none!important}

@media(max-width:1180px){
 .puentesalud-desktop-nav{gap:20px!important}.puentesalud-desktop-nav a{font-size:14px!important}.puentesalud-brand{min-width:250px!important}.puentesalud-brand-copy small{display:none!important}.puentesalud-brand-copy{padding-right:18px!important}.puentesalud-brand-mark{width:60px!important;height:52px!important}.puentesalud-brand-copy strong{font-size:23px!important}
}
@media(max-width:900px){
 html body.rp-pym-mobile-fixed-header{padding-top:76px!important}
 .redpsico-pym-header,.redpsico-pym-header.is-shortcode{height:76px!important;min-height:76px!important;background:linear-gradient(105deg,var(--ps-red) 0%,#b93293 48%,var(--ps-violet) 100%)!important}
 .redpsico-pym-inner{height:76px!important;min-height:76px!important;padding:0 16px!important;grid-template-columns:46px 1fr auto!important;gap:12px!important}
 .redpsico-pym-left{display:flex!important;grid-column:1!important;grid-row:1!important;align-items:center!important}
 .redpsico-pym-left .redpsico-pym-ai-button,.redpsico-pym-left .redpsico-pym-currency{display:none!important}
 .redpsico-pym-menu{display:flex!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important;color:#fff!important;background:transparent!important;border:0!important;padding:0!important}
 .redpsico-pym-menu span{display:none!important}.redpsico-pym-menu svg{width:28px!important;height:28px!important}
 .puentesalud-brand{grid-column:2!important;grid-row:1!important;justify-self:start!important;min-width:0!important;gap:10px!important}
 .puentesalud-brand-mark{width:52px!important;height:46px!important}.puentesalud-brand-copy{border:0!important;padding:0!important}.puentesalud-brand-copy strong{font-size:22px!important}.puentesalud-brand-copy small{display:block!important;font-size:10px!important;line-height:1.18!important;margin-top:2px!important}
 .puentesalud-desktop-nav{display:none!important}
 .redpsico-pym-actions{grid-column:3!important;grid-row:1!important;gap:10px!important}
 .redpsico-pym-search{display:flex!important;width:38px!important;height:38px!important;margin:0!important}.redpsico-pym-search svg{width:24px!important;height:24px!important}
 .redpsico-pym-login{display:inline-flex!important;height:42px!important;padding:0 15px!important;border-radius:10px!important;font-size:13px!important}
 .redpsico-pym-register{display:flex!important;width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important;color:#e5394f!important}
 .redpsico-pym-register svg{display:block!important;width:20px!important;height:20px!important}.redpsico-pym-register span{display:none!important}
}
@media(max-width:620px){
 .redpsico-pym-inner{padding:0 10px!important;gap:8px!important;grid-template-columns:38px 1fr auto!important}.redpsico-pym-menu{width:36px!important}.puentesalud-brand-mark{width:44px!important;height:39px!important}.puentesalud-brand-copy strong{font-size:18px!important}.puentesalud-brand-copy small{font-size:8.5px!important}.redpsico-pym-login{padding:0 10px!important;font-size:11px!important;height:38px!important}.redpsico-pym-register{width:38px!important;min-width:38px!important;height:38px!important}.redpsico-pym-search{width:32px!important;height:38px!important}.redpsico-pym-search svg{width:21px!important;height:21px!important}
}

/* PuenteSalud v8.53 — botones exactos del boceto + segundo bloque IA */
html body .redpsico-pym-header .redpsico-pym-actions{
  gap:18px!important;
}
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-login,
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-demo{
  min-width:148px!important;
  height:50px!important;
  padding:0 24px!important;
  border-radius:12px!important;
  background:transparent!important;
  background-image:none!important;
  border:1.5px solid rgba(255,255,255,.95)!important;
  box-shadow:none!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:650!important;
}
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-login:hover,
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-demo:hover{
  background:rgba(255,255,255,.10)!important;
  border-color:#fff!important;
  transform:translateY(-1px)!important;
}
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register{
  min-width:112px!important;
  height:50px!important;
  padding:0 24px!important;
  border-radius:12px!important;
  background:#fff!important;
  background-image:none!important;
  border:1.5px solid #fff!important;
  box-shadow:0 5px 14px rgba(42,16,94,.14)!important;
  color:#e5394f!important;
  font-size:15px!important;
  font-weight:700!important;
}
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register:hover{
  background:#fff!important;
  color:#cf2f47!important;
  transform:translateY(-1px)!important;
  box-shadow:0 7px 18px rgba(42,16,94,.18)!important;
}
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-login svg,
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register svg,
html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-demo svg{
  display:none!important;
}

.puentesalud-ai-subbar{
  width:100%!important;
  background:linear-gradient(105deg,#ff3238 0%,#dd2e69 30%,#9b35b5 62%,#5730f4 100%)!important;
  border-top:1px solid rgba(255,255,255,.22)!important;
  box-shadow:0 7px 18px rgba(37,18,91,.12)!important;
  color:#fff!important;
  position:relative!important;
  z-index:2147483643!important;
}
.puentesalud-ai-subbar-inner{
  max-width:1540px!important;
  margin:0 auto!important;
  padding:10px 34px 14px!important;
}
.puentesalud-ai-search{
  width:100%!important;
  min-height:66px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:14px!important;
  padding:9px 12px 9px 16px!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
  color:#fff!important;
  backdrop-filter:blur(8px)!important;
}
.puentesalud-ai-search:focus-within{
  background:rgba(255,255,255,.16)!important;
  border-color:rgba(255,255,255,.72)!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.12),inset 0 1px 0 rgba(255,255,255,.14)!important;
}
.puentesalud-ai-search-icon{
  width:46px!important;height:46px!important;border-radius:13px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.17)!important;
}
.puentesalud-ai-search-icon svg{width:25px!important;height:25px!important;stroke:#fff!important;fill:none!important;stroke-width:1.8!important}
.puentesalud-ai-search-field{display:flex!important;flex-direction:column!important;min-width:0!important;cursor:text!important}
.puentesalud-ai-search-field input{
  width:100%!important;height:auto!important;min-height:28px!important;margin:0!important;padding:0!important;
  border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;
  color:#fff!important;font:inherit!important;font-size:17px!important;line-height:1.25!important;font-weight:650!important;
}
.puentesalud-ai-search-field input::placeholder{color:#fff!important;opacity:.98!important}
.puentesalud-ai-search-field small{margin-top:2px!important;font-size:12.5px!important;line-height:1.25!important;font-weight:430!important;color:rgba(255,255,255,.82)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.puentesalud-ai-search-submit{
  min-width:96px!important;height:44px!important;padding:0 12px!important;margin:0!important;border:1px solid rgba(255,255,255,.34)!important;
  border-radius:13px!important;background:rgba(255,255,255,.13)!important;color:#fff!important;cursor:pointer!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;
}
.puentesalud-ai-search-submit:hover{background:rgba(255,255,255,.21)!important;border-color:rgba(255,255,255,.58)!important}
.puentesalud-ai-search-badge{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:40px!important;height:30px!important;padding:0 10px!important;border-radius:999px!important;background:rgba(255,255,255,.17)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;font-size:12.5px!important;font-weight:750!important}
.puentesalud-ai-search-arrow{display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important}
.puentesalud-ai-search-arrow svg{width:20px!important;height:20px!important;stroke:#fff!important;fill:none!important;stroke-width:1.8!important}

@media(max-width:900px){
  html body.rp-pym-mobile-fixed-header{padding-top:0!important}
  .puentesalud-ai-subbar-inner{padding:8px 12px 12px!important}
  .puentesalud-ai-search{min-height:56px!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important;padding:8px 9px 8px 12px!important;border-radius:14px!important}
  .puentesalud-ai-search-icon{width:38px!important;height:38px!important;border-radius:11px!important}
  .puentesalud-ai-search-icon svg{width:22px!important;height:22px!important}
  .puentesalud-ai-search-field input{font-size:14px!important}
  .puentesalud-ai-search-field small{font-size:10.5px!important}
  .puentesalud-ai-search-submit{min-width:72px!important;height:38px!important;padding:0 8px!important}
  .puentesalud-ai-search-arrow{display:none!important}
  html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-login{display:none!important}
  html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register{min-width:42px!important;width:42px!important;height:42px!important;padding:0!important;border-radius:50%!important}
  html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register svg{display:block!important;width:20px!important;height:20px!important}
  html body .redpsico-pym-header .redpsico-pym-actions a.redpsico-pym-register span{display:none!important}
}
@media(max-width:620px){
  .puentesalud-ai-search-field input{font-size:13px!important}
  .puentesalud-ai-search-field small{display:none!important}
  .puentesalud-ai-search-submit{min-width:58px!important;width:58px!important;padding:0 6px!important}
  .puentesalud-ai-search-badge{min-width:34px!important;height:28px!important;padding:0 8px!important;font-size:11.5px!important}
}

/* PuenteSalud v8.55 — campo de búsqueda IA real, visible y editable */
html body .puentesalud-ai-subbar{
  padding:0!important;
}
html body .puentesalud-ai-subbar-inner{
  padding:12px 34px 15px!important;
}
html body .puentesalud-ai-search{
  min-height:68px!important;
  grid-template-columns:48px minmax(0,1fr) auto!important;
  padding:9px 10px 9px 14px!important;
  background:rgba(255,255,255,.09)!important;
  cursor:text!important;
}
html body .puentesalud-ai-search-field{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
html body .puentesalud-ai-search-field input[type="search"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  display:block!important;
  width:100%!important;
  height:48px!important;
  min-height:48px!important;
  margin:0!important;
  padding:0 18px!important;
  border:1px solid rgba(255,255,255,.76)!important;
  border-radius:13px!important;
  outline:none!important;
  background:#fff!important;
  background-image:none!important;
  color:#18213a!important;
  caret-color:#e5394f!important;
  box-shadow:0 3px 12px rgba(35,15,86,.12)!important;
  font-family:inherit!important;
  font-size:16px!important;
  font-weight:500!important;
  line-height:48px!important;
  opacity:1!important;
  pointer-events:auto!important;
  position:relative!important;
  z-index:3!important;
}
html body .puentesalud-ai-search-field input[type="search"]::placeholder{
  color:#72798b!important;
  opacity:1!important;
  font-weight:450!important;
}
html body .puentesalud-ai-search-field input[type="search"]:focus{
  border-color:#fff!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.22),0 4px 15px rgba(35,15,86,.16)!important;
}
html body .puentesalud-ai-search-field small{display:none!important}
html body .puentesalud-ai-search-submit{
  height:48px!important;
  min-width:104px!important;
  background:rgba(255,255,255,.18)!important;
}
@media(max-width:900px){
  html body .puentesalud-ai-subbar-inner{padding:9px 12px 12px!important}
  html body .puentesalud-ai-search{grid-template-columns:40px minmax(0,1fr) 58px!important;min-height:58px!important;padding:7px!important;gap:8px!important}
  html body .puentesalud-ai-search-field input[type="search"]{height:42px!important;min-height:42px!important;line-height:42px!important;padding:0 12px!important;font-size:13px!important;border-radius:11px!important}
  html body .puentesalud-ai-search-submit{height:42px!important;min-width:58px!important;width:58px!important}
}
