.data-page-body {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 3.5rem);
  padding: 1.5rem 2rem;
  box-sizing: border-box;
}
.data-page-status {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.data-page-status--error { color: var(--danger); }
.download-csv-fab {
  position: fixed;
  right: 2rem;
  bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
}
/* Sits just above the fab, right-aligned to match -- the checkbox narrows what Download CSV
   exports (see data.js's downloadCsv/getLastDownloadAt), without changing what's shown in the
   table itself (that's still controlled by the All/Recently Changed toggle above). */
.download-csv-options {
  position: fixed;
  right: 2rem;
  bottom: 4.25rem;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.download-csv-new-only {
  display: flex;
  align-items: center;
  gap: 0.4375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  border: 0.0625rem solid var(--border-soft);
  border-radius: 62.4375rem;
  padding: 0.5rem 0.875rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.download-csv-new-only input { margin: 0; cursor: pointer; }
.download-csv-last-download { font-size: 0.71875rem; color: var(--text-muted); }
.table-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}
.table-search-input {
  max-width: 17.5rem;
}
.pill-toggle {
  display: inline-flex;
  background: #f0f1f3;
  border-radius: 62.4375rem;
  padding: 0.1875rem;
  gap: 0.125rem;
}
.pill-toggle-btn {
  border: none;
  background: transparent;
  padding: 0.375rem 0.875rem;
  border-radius: 62.4375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.pill-toggle-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
