.pv-nomina.is-section-historial .pv-nh-ledger {
  overflow-x: auto;
  border: 1px solid #e5e9f3;
  border-radius: 14px;
  background: #fff;
}
.pv-nomina.is-section-historial .pv-nh-ledger-head,
.pv-nomina.is-section-historial .pv-nh-ledger-row {
  display: grid;
  grid-template-columns: minmax(150px, .85fr) 80px 92px 66px minmax(160px, 1.4fr) minmax(140px, max-content) 67px;
  column-gap: 7px;
  min-width: 780px;
}
.pv-nomina.is-section-historial .pv-nh-ledger-head {
  padding: 11px 15px;
  border-bottom: 1px solid #e5e9f3;
  background: #f8f7fc;
  color: #8998b2;
  font-size: 11px;
  font-weight: 800;
}
.pv-nomina.is-section-historial .pv-nh-ledger-head span:last-child { text-align: right; }
.pv-nomina.is-section-historial .pv-nh-ledger-row {
  position: relative;
  align-items: center;
  min-height: 59px;
  padding: 8px 12px;
  border-bottom: 1px solid #e9edf5;
  border-left: 3px solid #7752ee;
  background: #fff;
}
.pv-nomina.is-section-historial .pv-nh-ledger-row.has-bank { border-left-color: #f22b57; }
.pv-nomina.is-section-historial .pv-nh-ledger-row:last-child { border-bottom: 0; }
.pv-nomina.is-section-historial .pv-nh-ledger-cell { min-width: 0; }
.pv-nomina.is-section-historial .pv-nh-ledger-cell strong {
  display: block;
  color: #172645;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pv-nomina.is-section-historial .pv-nh-ledger-movement small,
.pv-nomina.is-section-historial .pv-nh-ledger-bank small {
  display: block;
  margin-top: 3px;
  color: #8b9ab5;
  font-size: 10px;
  line-height: 1.35;
}
.pv-nomina.is-section-historial .pv-nh-ledger-tag {
  display: inline-block;
  flex: none;
  margin: 0;
  padding: 2px 6px;
  border-radius: 7px;
  background: #f0ebff;
  color: #673fe7;
  font-size: 9px;
  font-weight: 850;
}
.pv-nomina.is-section-historial .pv-nh-ledger-user,
.pv-nomina.is-section-historial .pv-nh-ledger-bank { display: flex; align-items: center; gap: 8px; }
.pv-nomina.is-section-historial .pv-nh-ledger-bank > span:last-child { min-width: 0; }
.pv-nomina.is-section-historial .pv-nh-ledger-movement { display: flex; align-items: center; gap: 5px; }
.pv-nomina.is-section-historial .pv-nh-ledger-movement strong,
.pv-nomina.is-section-historial .pv-nh-ledger-date strong,
.pv-nomina.is-section-historial .pv-nh-ledger-user strong,
.pv-nomina.is-section-historial .pv-nh-ledger-bank strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow-wrap: normal;
}
.pv-nomina.is-section-historial .pv-nh-ledger-movement > small,
.pv-nomina.is-section-historial .pv-nh-ledger-bank small { display: none; }
.pv-nomina.is-section-historial .pv-nh-ledger-initial,
.pv-nomina.is-section-historial .pv-nh-ledger-bank-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 23px;
  height: 23px;
  border-radius: 8px;
  background: #f0ebff;
  color: #6b43e9;
  font-size: 11px;
  font-weight: 850;
}
.pv-nomina.is-section-historial .pv-nh-ledger-bank-icon { background: #f5f2ff; }
.pv-nomina.is-section-historial .has-bank .pv-nh-ledger-bank-icon { background: #ffe8ed; color: #ed2550; font-size: 18px; }
.pv-nomina.is-section-historial .pv-nh-ledger-bank small { margin: 0 0 2px; font-size: 9px; font-weight: 850; }
.pv-nomina.is-section-historial .pv-nh-ledger-type > span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0ebff;
  color: #6a43e8;
  font-size: 10px;
  font-weight: 850;
}
.pv-nomina.is-section-historial .has-bank .pv-nh-ledger-type > span { background: #ffe8ed; color: #e8244d; }
.pv-nomina.is-section-historial .pv-nh-ledger-amount { text-align: right; }
.pv-nomina.is-section-historial .pv-nh-ledger-amount strong { color: #6741e9; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv-nomina.is-section-historial .has-bank .pv-nh-ledger-amount strong { color: #ec2550; }
.pv-nomina.is-section-historial .pv-nh-ledger-amount small { font-size: 9px; }
.pv-nomina.is-section-historial .pv-nh-ledger-preview-trigger { grid-column: 7; justify-self: end; }
.pv-nomina.is-section-historial .pv-nh-preview-open,
.pv-nomina.is-section-historial .pv-nh-preview-close {
  display: grid;
  place-items: center;
  border: 1px solid #e7dfff;
  border-radius: 9px;
  background: #f5f1ff;
  color: #6943e9;
  cursor: pointer;
}
.pv-nomina.is-section-historial .pv-nh-preview-open { width: 32px; height: 32px; }
.pv-nomina.is-section-historial .pv-nh-preview-open:hover,
.pv-nomina.is-section-historial .pv-nh-preview-close:hover { background: #ede6ff; }
.pv-nomina.is-section-historial .pv-nh-preview-open:focus-visible,
.pv-nomina.is-section-historial .pv-nh-preview-close:focus-visible { outline: 2px solid #6943e9; outline-offset: 2px; }
.pv-nomina.is-section-historial .pv-nh-preview-dialog {
  width: min(640px, calc(100vw - 30px));
  max-width: none;
  max-height: min(85vh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #e3e8f3;
  border-radius: 18px;
  background: #fff;
  color: #172645;
  box-shadow: 0 26px 70px rgba(17, 30, 63, .24);
}
.pv-nomina.is-section-historial .pv-nh-preview-dialog::backdrop { background: rgba(16, 27, 52, .48); backdrop-filter: blur(3px); }
.pv-nomina.is-section-historial .pv-nh-preview-content { padding: 24px; }
.pv-nomina.is-section-historial .pv-nh-preview-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.pv-nomina.is-section-historial .pv-nh-preview-tag {
  display: inline-flex;
  padding: 4px 9px;
  border-radius: 7px;
  background: #f0ebff;
  color: #673fe7;
  font-size: 10px;
  font-weight: 850;
}
.pv-nomina.is-section-historial .pv-nh-preview-head h3 { margin: 9px 0 3px; color: #172645; font-size: 20px; line-height: 1.2; }
.pv-nomina.is-section-historial .pv-nh-preview-head p { margin: 0; color: #8291aa; font-size: 12px; }
.pv-nomina.is-section-historial .pv-nh-preview-close { flex: none; width: 32px; height: 32px; font-size: 20px; line-height: 1; }
.pv-nomina.is-section-historial .pv-nh-preview-amount-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 11px;
  background: #f8f7fc;
}
.pv-nomina.is-section-historial .pv-nh-preview-amount-line > div { display: grid; gap: 4px; }
.pv-nomina.is-section-historial .pv-nh-preview-amount-line small { color: #8291aa; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.pv-nomina.is-section-historial .pv-nh-preview-amount-line strong { color: #ed2550; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.pv-nomina.is-section-historial .pv-nh-preview-amount-line > span { padding: 7px 11px; border-radius: 99px; background: #ffe8ed; color: #e8244d; font-size: 11px; font-weight: 800; }
.pv-nomina.is-section-historial .pv-nh-preview-dialog .pv-nh-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.pv-nomina.is-section-historial .pv-nh-detail-field {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
}
.pv-nomina.is-section-historial .pv-nh-detail-field small {
  color: #8091af;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.3;
  text-transform: uppercase;
}
.pv-nomina.is-section-historial .pv-nh-detail-field strong {
  color: #172645;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.pv-nomina.is-section-historial .pv-nh-preview-dialog .pv-nh-detail-reference {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 20px;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid #e9edf5;
  color: #8291aa;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
@media (max-width: 700px) {
  .pv-nomina.is-section-historial .pv-nh-ledger { overflow: visible; border: 0; background: transparent; }
  .pv-nomina.is-section-historial .pv-nh-ledger-head { display: none; }
  .pv-nomina.is-section-historial .pv-nh-ledger-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 12px;
    min-width: 0;
    margin-bottom: 9px;
    padding: 13px;
    border: 1px solid #e5e9f3;
    border-left: 3px solid #7752ee;
    border-radius: 12px;
  }
  .pv-nomina.is-section-historial .pv-nh-ledger-movement { display: block; }
  .pv-nomina.is-section-historial .pv-nh-ledger-movement strong,
  .pv-nomina.is-section-historial .pv-nh-ledger-bank strong { white-space: normal; }
  .pv-nomina.is-section-historial .pv-nh-ledger-movement > small,
  .pv-nomina.is-section-historial .pv-nh-ledger-bank small { display: block; }
  .pv-nomina.is-section-historial .pv-nh-ledger-tag { margin-bottom: 5px; }
  .pv-nomina.is-section-historial .pv-nh-ledger-row.has-bank { border-left-color: #f22b57; }
  .pv-nomina.is-section-historial .pv-nh-ledger-movement,
  .pv-nomina.is-section-historial .pv-nh-ledger-bank,
  .pv-nomina.is-section-historial .pv-nh-ledger-preview-trigger { grid-column: 1 / -1; }
  .pv-nomina.is-section-historial .pv-nh-ledger-movement { grid-row: 1; }
  .pv-nomina.is-section-historial .pv-nh-ledger-date { grid-column: 1; grid-row: 2; }
  .pv-nomina.is-section-historial .pv-nh-ledger-user { grid-column: 2; grid-row: 2; }
  .pv-nomina.is-section-historial .pv-nh-ledger-type { grid-column: 1; grid-row: 3; }
  .pv-nomina.is-section-historial .pv-nh-ledger-amount { grid-column: 2; grid-row: 3; }
  .pv-nomina.is-section-historial .pv-nh-ledger-bank { grid-row: 4; }
  .pv-nomina.is-section-historial .pv-nh-ledger-preview-trigger { grid-row: 5; margin-top: 6px; }
  .pv-nomina.is-section-historial .pv-nh-preview-open { width: 36px; height: 36px; }
  .pv-nomina.is-section-historial .pv-nh-ledger-cell[data-label]::before {
    display: block;
    margin-bottom: 3px;
    color: #8b9ab5;
    font-size: 9px;
    font-weight: 800;
    content: attr(data-label);
  }
  .pv-nomina.is-section-historial .pv-nh-ledger-user,
  .pv-nomina.is-section-historial .pv-nh-ledger-bank { flex-wrap: wrap; }
  .pv-nomina.is-section-historial .pv-nh-ledger-user::before,
  .pv-nomina.is-section-historial .pv-nh-ledger-bank::before { flex-basis: 100%; }
  .pv-nomina.is-section-historial .pv-nh-ledger-amount { text-align: right; }
}
@media (max-width: 480px) {
  .pv-nomina.is-section-historial .pv-nh-preview-content { padding: 19px; }
  .pv-nomina.is-section-historial .pv-nh-preview-dialog .pv-nh-detail-grid { grid-template-columns: 1fr; gap: 14px; }
  .pv-nomina.is-section-historial .pv-nh-preview-amount-line strong { font-size: 19px; }
}
