/* ProPymes · aviso "Servicio no contratado" y formulario "Más información".
   Solo actúa cuando pp-servicios.js marca la ventana con .pp-srv. */
html body:not(#s):not(#s):not(#s) .client-unavailable-overlay.pp-srv{background:rgba(7,33,61,.45)!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card{background:#fffdf9!important;box-shadow:0 30px 70px -30px rgba(7,33,61,.55)!important}

/* cabecera clara con el logo oficial (PRO en arena, PYMES en marino) y filete dorado */
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header{
  padding:22px 70px 20px 28px!important;color:#07213d!important;border-bottom:3px solid #d2b48c!important;
  background:radial-gradient(120% 160% at 100% 0%,rgba(210,180,140,.28) 0%,rgba(210,180,140,0) 55%),linear-gradient(180deg,#fff 0%,#f8f2ea 100%)!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header::before{display:none!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header small{color:#a8875a!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header strong{color:#07213d!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header .pp-srv-logo{display:block;height:34px;width:auto;margin:0 0 16px}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header button[data-close-client-unavailable]{background:#f4ede5!important;border:1px solid #e6dccd!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header button[data-close-client-unavailable]:hover{background:#ecdfc9!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header button[data-close-client-unavailable]::before{color:#07213d!important}

/* ilustración y textos */
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-illustration .blob{fill:#f4ede5!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-illustration :is(.folder,.face,.legs){stroke:#07213d!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-illustration .lock{fill:#d2b48c!important;stroke:#d2b48c!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-illustration .lockline{stroke:#a8875a!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-body :is(h2,h3){color:#07213d!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-body>p{color:#75695c!important}

/* botones */
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-primary{background:#07213d!important;color:#fff!important;border:0!important;box-shadow:0 14px 26px -16px rgba(7,33,61,.75)!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-primary:hover{background:#0f3257!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-primary:disabled{opacity:.7;cursor:progress}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-secondary{background:#fff!important;border:1.5px solid #d2b48c!important;color:#07213d!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-secondary:hover{background:#f7f0e6!important;border-color:#b8955f!important}
html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-advisor{color:#07213d!important}
html body:not(#s):not(#s):not(#s) .pp-srv :is(.client-unavailable-primary,.client-unavailable-secondary,.client-unavailable-advisor,input):focus-visible{outline:3px solid rgba(210,180,140,.7)!important;outline-offset:2px}

/* formulario "Más información" */
html body:not(#s):not(#s):not(#s) .pp-srv .pp-srv-body{padding:20px 28px 24px!important;text-align:left}
/* en el formulario la cabecera va más compacta */
html body:not(#s):not(#s):not(#s) .pp-srv:has(.pp-srv-body) .client-unavailable-card>header .pp-srv-logo{height:28px;margin-bottom:10px}
.pp-srv-form{display:grid;gap:10px;width:100%;align-self:stretch}
.pp-srv-intro h2{margin:0!important;font-size:22px!important;letter-spacing:-.015em;text-align:left!important}
.pp-srv-intro p{margin:4px 0 0;font-size:14px;line-height:1.45;color:#75695c}
.pp-srv-form label{display:grid;gap:4px}
.pp-srv-form label>span{font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#07213d}
.pp-srv-form label>span em{margin-left:4px;font-style:normal;font-weight:600;letter-spacing:0;text-transform:none;color:#a8875a}
html body:not(#s):not(#s):not(#s) .pp-srv-form input{width:100%;height:44px;padding:0 14px;box-sizing:border-box;border:1.5px solid #e6dccd;border-radius:12px;background:#fff;color:#07213d;font-family:inherit;font-size:16px;transition:border-color .15s,box-shadow .15s}
html body:not(#s):not(#s):not(#s) .pp-srv-form input::placeholder{color:#b3a898}
html body:not(#s):not(#s):not(#s) .pp-srv-form input:focus{outline:none;border-color:#d2b48c;box-shadow:0 0 0 4px rgba(210,180,140,.22)}
html body:not(#s):not(#s):not(#s) .pp-srv-form input[readonly]{background:#f4ede5;border-color:#f4ede5;font-weight:700;cursor:default}
html body:not(#s):not(#s):not(#s) .pp-srv-form input[aria-invalid]{border-color:#c0473b;box-shadow:0 0 0 4px rgba(192,71,59,.12)}
.pp-srv-error{margin:0;padding:9px 12px;border-radius:10px;background:#fbeceb;color:#9d3329;font-size:13.5px;font-weight:600}
.pp-srv-form .client-unavailable-primary{margin:4px 0 0!important}
.pp-srv-form .client-unavailable-secondary{height:44px!important}
.pp-srv-form .client-unavailable-secondary{margin-bottom:0!important}

/* confirmación */
.pp-srv-done{width:100%;align-self:stretch;display:grid;justify-items:center;gap:8px;padding:10px 0 2px;text-align:center}
.pp-srv-done>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#f4ede5;color:#a8875a;font-size:30px;font-weight:700}
.pp-srv-done h2{margin:6px 0 0!important;font-size:24px!important}
.pp-srv-done p{margin:0 0 12px;font-size:14.5px;line-height:1.5;color:#75695c}
.pp-srv-done strong{color:#07213d}

@media(max-width:760px){
  html body:not(#s):not(#s):not(#s) .pp-srv .pp-srv-body{padding:18px 20px 20px!important}
  html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header{padding:18px 64px 20px 22px!important}
  html body:not(#s):not(#s):not(#s) .pp-srv .client-unavailable-card>header .pp-srv-logo{height:28px;margin-bottom:12px}
}

/* ===================== área de cliente ProPymes (pp-portal.js) ===================== */
/* Mensajes: asesores no disponibles en sombra y con candado */
html body:not(#s):not(#s):not(#s) .client-chat-advisors button.pp-bloqueado{opacity:.45;filter:grayscale(1);cursor:not-allowed!important;box-shadow:none!important;transform:none!important}
html body:not(#s):not(#s):not(#s) .client-chat-advisors button.pp-bloqueado:hover{background:inherit!important}
.client-chat-advisors .pp-candado{display:grid;place-items:center;width:30px;height:30px;margin-left:auto;border-radius:50%;background:#f4ede5;color:#75695c}
.client-chat-advisors .pp-candado svg{width:15px;height:15px}

/* Tarjeta Avisos */
.pp-avisos-acc [hidden]{display:none!important}
html body:not(#s):not(#s):not(#s) .pp-avisos-acc .pp-avisos-ic{background:#f4ede5!important;color:#a8875a!important}
html body:not(#s):not(#s):not(#s) .pp-avisos-acc.pp-avisos-hay .pp-avisos-ic{background:#fdf1dc!important;color:#c07a12!important}
.pp-avisos-acc .pp-avisos-ic svg{width:22px;height:22px}
html body:not(#s):not(#s):not(#s) .pp-avisos-acc .pp-avisos-marca{display:inline-flex;align-items:center;gap:5px;margin-left:auto;padding:4px 10px 4px 8px;border-radius:999px;background:#fdf1dc!important;color:#b86e0a!important;font-style:normal;font-size:13px;font-weight:800;line-height:1}
.pp-avisos-acc .pp-avisos-marca svg{width:16px;height:16px}
.pp-avisos-acc .pp-avisos-flecha{display:contents}
html body:not(#s):not(#s):not(#s) .pp-avisos-acc.pp-avisos-hay small{color:#b86e0a!important;font-weight:600}

/* Ventana de avisos */
.pp-avisos-lista{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px;width:100%;text-align:left}
.pp-avisos-lista li{display:flex;gap:12px;padding:14px;border-radius:14px;background:#fffaf0;border:1px solid #f1dfbd}
.pp-avisos-lista .pp-aviso-ic{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fdf1dc;color:#c07a12}
.pp-avisos-lista .pp-aviso-ic svg{width:20px;height:20px}
.pp-avisos-lista b{display:block;color:#07213d;font-size:15px}
.pp-avisos-lista p{margin:3px 0 0!important;color:#5f5549;font-size:13.5px;line-height:1.45}
.pp-avisos-lista time{display:block;margin-top:6px;color:#a8875a;font-size:12px;font-weight:600}
.pp-avisos-overlay .pp-srv-done .pp-avisos-vacio svg{width:30px;height:30px}
.pp-avisos-overlay .pp-srv-body>.client-unavailable-primary{width:100%!important}

/* Agradecimiento tras «Más información»: con el logo de ProPymes */
.pp-srv-gracias>img{display:block;width:min(190px,60%);height:auto;margin:2px auto 10px}
.pp-srv-gracias>span{width:52px;height:52px;font-size:24px}
html body:not(#s):not(#s):not(#s) .pp-srv:has(.pp-srv-gracias) .client-unavailable-card>header .pp-srv-logo{display:none}
/* Chat: especialidad del asesor, discreta bajo el nombre */
html body:not(#s):not(#s):not(#s) .client-chat-advisors small.pp-especialidad{font-size:11px!important;letter-spacing:.01em;opacity:.85}
