/* v611 — scoped root fixes for nested modal stacks + caller lead identity. */
body.customer-call-open,
body.v367-action-open{overflow:hidden!important}

/* Global modal is reused. When opened from Caller Identity or Action Center it
   becomes the secondary layer only; the base drawers keep their own z-index. */
#modal-backdrop[data-modal-layer="customer-call"],
#modal-backdrop[data-modal-layer="action-center"]{
  z-index:100120!important;
}
#modal-backdrop[data-modal-layer="customer-call"] #modal,
#modal-backdrop[data-modal-layer="action-center"] #modal{
  position:relative;
  z-index:100130!important;
}
body.tiam-nested-modal-open .jdate-picker,
body.tiam-nested-modal-open .jdate-overlay,
body.tiam-nested-modal-open .jalali-date-picker,
body.tiam-nested-modal-open .date-picker-popover{
  z-index:100150!important;
}
body.tiam-nested-modal-open #toast-stack,
body.tiam-nested-modal-open .toast-stack{
  z-index:100160!important;
}

/* Caller Identity: lead-only records are visually distinct from financial customers. */
.cc-stage11-identity.is-lead{
  --cc-stage11-accent:#8a6a12;
}
.cc-stage11-identity.is-lead .cc-stage11-identity-badge{
  background:#fff7df;
  color:#72540b;
  border-color:#e8cf82;
}
