/* HV522 · Exclusivo Mi Huella > Mi cuenta > Preferencias de comunicación. */
#hv-communication-preferences-v102550 .hv-channel-pref-v102564.paused>.hv-pref-line-v102564{display:none!important}
#hv-communication-preferences-v102550 .hv522-card,
#hv-communication-preferences-v102550 .hv522-card *{box-sizing:border-box}
#hv-communication-preferences-v102550 .hv522-card{
  display:grid;gap:12px;margin-top:14px;padding:16px;
  border:1px solid rgba(105,144,30,.26);
  border-radius:15px;background:linear-gradient(130deg,#f7faee,#fff);
  color:#2b3653;max-width:100%;min-width:0;
}
#hv-communication-preferences-v102550 .hv522-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;
}
#hv-communication-preferences-v102550 .hv522-head>div{display:grid;gap:3px;min-width:0}
#hv-communication-preferences-v102550 .hv522-head strong{font-size:16px;font-weight:850;line-height:1.3}
#hv-communication-preferences-v102550 .hv522-head small{font-size:13px;color:#647081;line-height:1.45}
#hv-communication-preferences-v102550 .hv522-chip{
  border-radius:999px;padding:6px 10px;background:#e9ebf0;color:#536079;
  white-space:nowrap;font-size:12px;font-weight:800;
}
#hv-communication-preferences-v102550 .hv522-chip.hv522-on{background:#e8f3d8;color:#386a27}
#hv-communication-preferences-v102550 .hv522-consent{
  display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;
  align-items:start!important;gap:12px!important;margin:0!important;
  padding:14px!important;min-width:0!important;max-width:100%!important;
  border:1px solid #d8e4c5;border-radius:11px;background:#fff;
  cursor:pointer;
}
#hv-communication-preferences-v102550 #hv522-marketing{
  appearance:auto!important;display:block!important;
  position:static!important;width:20px!important;min-width:20px!important;
  max-width:20px!important;height:20px!important;min-height:20px!important;
  max-height:20px!important;margin:1px 0 0!important;padding:0!important;
  accent-color:#648a24;grid-column:1;
}
#hv-communication-preferences-v102550 #hv522-consent-copy{
  display:block!important;min-width:0!important;max-width:100%!important;
  width:auto!important;white-space:normal!important;overflow-wrap:break-word;
  font-size:14px!important;line-height:1.55!important;text-align:left!important;
}
#hv-communication-preferences-v102550 .hv522-meta{
  display:grid;gap:5px;font-size:13px;line-height:1.5;color:#48566f;
}
#hv-communication-preferences-v102550 .hv522-note{
  font-size:13px;line-height:1.5;color:#687381;margin:0;
}
#hv-communication-preferences-v102550 .hv522-actions{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
}
#hv-communication-preferences-v102550 #hv522-save{
  width:auto!important;max-width:100%;min-height:44px;padding:10px 16px!important;
  white-space:normal!important;line-height:1.35!important;
}
#hv-communication-preferences-v102550 #hv522-save:disabled{opacity:.55;cursor:not-allowed}
#hv-communication-preferences-v102550 #hv522-feedback{font-size:13px;color:#357034;line-height:1.4}
#hv-communication-preferences-v102550 #hv522-feedback.hv522-error{color:#a52634}
#hv-communication-preferences-v102550 .hv522-history{
  border-top:1px solid #e0e8d2;padding-top:10px;font-size:13px;
}
#hv-communication-preferences-v102550 .hv522-history>summary{cursor:pointer;font-weight:750}
#hv-communication-preferences-v102550 #hv522-history-list{padding-top:8px;display:grid;gap:3px;color:#536174}
#hv-communication-preferences-v102550 #hv522-history-list p{margin:0;padding:5px 0;font-size:12px;line-height:1.45}
@media(max-width:640px){
  #hv-communication-preferences-v102550 .hv522-card{padding:12px;gap:10px}
  #hv-communication-preferences-v102550 .hv522-head{display:grid}
  #hv-communication-preferences-v102550 .hv522-actions{display:grid}
  #hv-communication-preferences-v102550 #hv522-save{width:100%!important}
}

/* HV523: fuente única en Mi Huella. El formulario HV502 solo se oculta cuando el reemplazo está presente. */
#hv-communication-preferences-v102550.hv523-unified-ready #hv502-consent{display:none!important}
#hv-communication-preferences-v102550 .hv523-heading{
  margin:2px 0 0!important;color:#253b65;font-size:15px!important;line-height:1.4;
}
#hv-communication-preferences-v102550 .hv523-operational{
  display:grid;gap:10px;min-width:0;
  margin-top:6px;padding-top:14px;border-top:1px solid #dce7d2;
}
#hv-communication-preferences-v102550 .hv523-operational h4{
  margin:0;font-size:15px!important;color:#263b63;line-height:1.4;
}
#hv-communication-preferences-v102550 .hv523-operational .hv522-consent{
  grid-template-columns:22px minmax(0,1fr)!important
}
#hv-communication-preferences-v102550 #hv523-operational{
  display:block!important;position:static!important;appearance:auto!important;
  width:20px!important;min-width:20px!important;max-width:20px!important;
  height:20px!important;min-height:20px!important;max-height:20px!important;
  margin:1px 0 0!important;padding:0!important;accent-color:#648a24;
}
#hv-communication-preferences-v102550 #hv523-operational+span{
  display:block!important;min-width:0!important;
  font-size:14px!important;line-height:1.55!important;white-space:normal!important;
  text-align:left!important;overflow-wrap:break-word!important;
}
#hv-communication-preferences-v102550 #hv523-save-operational{
  width:auto!important;max-width:100%;min-height:44px;padding:10px 16px!important;
  white-space:normal!important;
}
#hv-communication-preferences-v102550 #hv523-save-operational:disabled{opacity:.55;cursor:not-allowed}
#hv-communication-preferences-v102550 #hv523-feedback{font-size:13px;color:#357034;line-height:1.4}
#hv-communication-preferences-v102550 #hv523-feedback.hv522-error{color:#a52634}
@media(max-width:640px){
 #hv-communication-preferences-v102550 #hv523-save-operational{width:100%!important}
}
