/*
 * Table Compact Preview Layer
 * Optional dense mode for operator-heavy workflows.
 */

/* Table row density */
.fi-ta-cell,
.fi-ta-col {
  padding-top: 0.34rem !important;
  padding-bottom: 0.34rem !important;
}

.fi-ta-row,
.fi-ta-record {
  min-height: 2rem;
}

/* Header density */
.fi-ta-header-cell,
.fi-ta-cell.fi-ta-selection-cell {
  padding-top: 0.36rem !important;
  padding-bottom: 0.36rem !important;
}

/* Form controls used in filters/search above tables */
.fi-ta-filters .fi-input,
.fi-ta-filters .fi-select-input,
.fi-ta-filters .fi-btn,
.fi-ta-header .fi-input,
.fi-ta-header .fi-select-input,
.fi-ta-header .fi-btn {
  min-height: 1.9rem !important;
}

/* Slightly smaller table text in dense mode */
.fi-ta-table {
  font-size: 0.82rem;
  line-height: 1.25;
}

/* Keep action buttons usable even in dense mode. */
.fi-ta-actions .fi-btn,
.fi-ta-actions .fi-icon-btn,
.fi-ta-actions .fi-ac-action,
.fi-ta-actions .fi-ta-action {
  min-height: 1.9rem;
  min-width: 1.9rem;
}

@media (max-width: 768px) {
  .fi-ta-table {
    font-size: 0.8rem;
  }
}
