/* P121 production-only: stabilize Contratos action hit targets without changing module behavior. */
.client-endpoint__actions {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.36rem;
  min-width: max-content;
}

.client-quick-action-btn {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 8px !important;
}

.client-quick-action-btn .material-symbols-rounded {
  font-size: 18px !important;
  line-height: 1 !important;
}

.client-monitoring-links {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  min-width: max-content;
}

.client-monitoring-action {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 8px !important;
}

.client-monitoring-icon {
  width: 18px !important;
  height: 18px !important;
}

#topbarActions [data-fiber-roky-external][data-fiber-action="show-readonly-lab"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px !important;
  padding: 0.42rem 0.78rem !important;
  border-radius: 8px !important;
}

@media (max-width: 520px) {
  a.mini-button[href*="view=finanzas-dashboard"],
  a.mini-button[href*="view=reporte-pagos"],
  a.mini-button[href*="view=otros-ingresos"],
  #pendingSearchClearButton,
  #pendingClearFiltersButton {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 34px !important;
    min-height: 34px !important;
    padding: 0.46rem 0.78rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  #topbarActions a.button[href*="view=staff"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0.52rem 0.8rem !important;
    line-height: 1.1 !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 3 !important;
  }
}
