/* App-shell mobile: targets táctiles y layout inferior */
@media (max-width: 991.98px) {
  body { padding-bottom: 68px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 38px; }
  .form-control, .form-select { min-height: 44px; }
  .data-table th, .data-table td { white-space: nowrap; }
}

.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-border);
}
.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  min-height: 56px;
  color: var(--nx-text-muted);
  text-decoration: none;
  font-size: 0.7rem;
}
.bottom-nav a i { font-size: 1.3rem; }
.bottom-nav a.active { color: var(--nx-accent); }

.home-card {
  display: block;
  text-align: center;
  padding: 20px 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--nx-text);
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.home-card i { font-size: 2rem; display: block; margin-bottom: 8px; color: var(--nx-accent); }
.home-card:hover { color: var(--nx-accent); }

@media (min-width: 992px) {
  .bottom-nav { display: none; }
}

.historial-thead-sticky {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bs-table-bg, var(--nx-surface));
}
