.boveda-export-actions {
  margin-left: auto;
}

.boveda-export-actions[hidden] {
  display: none !important;
}

.boveda-retenciones-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.boveda-retenciones-title h3 {
  margin-bottom: 4px;
}

.boveda-retenciones-title p {
  margin: 0;
  color: var(--muted, #667085);
  font-size: 12px;
}

.boveda-retenciones-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.boveda-retenciones-summary .boveda-detail-field small {
  color: var(--muted, #667085);
  font-size: 10px;
}

.boveda-retenciones-ceab02 {
  border: 1px solid color-mix(in srgb, var(--brand-primary, #f2d200) 65%, var(--border, #e5e7eb));
  background: color-mix(in srgb, var(--brand-primary, #f2d200) 14%, var(--surface, #fff));
}

.boveda-retenciones-table-wrap {
  max-height: 320px;
  margin-top: 14px;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 10px;
  overflow: auto;
}

.boveda-retenciones-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 12px;
}

.boveda-retenciones-table th,
.boveda-retenciones-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  text-align: left;
  vertical-align: top;
}

.boveda-retenciones-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface, #fff);
}

.boveda-retenciones-table .numeric {
  text-align: right;
  white-space: nowrap;
}

#bovedaJdeTaxesPanel tbody td.numeric small {
  display: none;
}

@media (max-width: 1000px) {
  .boveda-retenciones-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .boveda-export-actions {
    width: 100%;
    margin-left: 0;
  }

  .boveda-retenciones-title {
    flex-direction: column;
  }

  .boveda-retenciones-summary {
    grid-template-columns: 1fr;
  }
}
