/* Member-size presentation for the shared record list controls. */
.record-history-panel .history-workbar { padding: 14px 18px; gap: 12px; margin: 0; }
.record-history-panel .toolbar-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: end; width: 100%; }
.history-keyword-label { flex: 1; min-width: 150px; display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.history-keyword-label input { width: 100%; min-height: 44px; }
.record-history-panel .history-page-count { margin: 0; color: var(--muted); font-size: 12px; }
.record-history-panel .history-error { color: #a71a34; margin: 0; overflow-wrap: anywhere; }
.record-history-panel .history-error[hidden] { display: none; }
.record-history-panel .record-list-viewport { max-height: 60vh; overflow: auto; }
.record-history-panel .list-view-chip { max-width: 100%; min-width: 0; }
.record-history-panel .list-view-chip span { overflow-wrap: anywhere; min-width: 0; }
.record-history-panel .list-view-toolbar { max-height: 125px; overflow-y: auto; }
.record-history-panel .list-pagination { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.record-history-panel .pagination-pages { flex-wrap: wrap; }
.record-history-panel .pagination-controls { flex-wrap: wrap; gap: 12px; }
.record-history-panel :is(.pagination-button, .list-view-chip button, .list-clear-view) { min-height: 44px; min-width: 44px; height: auto; }
.record-history-panel .history-mobile-controls { display: none; }
.record-history-panel [data-member-reload][hidden] { display: none; }
.simulator-mode .record-detail-backdrop { z-index: 110; }
.simulator-mode .list-column-popover { z-index: 120; }
@media (max-width: 760px) {
  .record-history-panel .history-workbar { padding: 12px; }
  .record-history-panel .history-keyword-label { flex-basis: 100%; }
  .record-history-panel .toolbar-actions > button { flex: 1; min-height: 44px; }
  .record-history-panel .history-mobile-controls { display: flex; align-items: end; gap: 8px; width: 100%; }
  .history-mobile-controls label { display: grid; gap: 5px; min-width: 0; flex: 1; font-size: 12px; }
  .history-mobile-controls select { width: 100%; min-width: 0; min-height: 44px; }
  .history-mobile-controls button { padding: 0 12px; min-height: 44px; flex: 0 0 auto; }
  .history-mobile-controls button[hidden] { display: none; }
  .record-history-panel .list-view-toolbar { flex-direction: row; align-items: center; }
  .record-history-panel .list-view-chip { width: auto; font-size: 11px; }
  .record-history-panel .report-chip { font-size: 12px; }
  .record-history-panel .record-group-row { display: block !important; padding: 0 !important; }
  .record-history-panel .record-group-row th { display: block; width: 100%; font-size: 12px; }
  .record-history-panel .list-pagination { flex-direction: column; align-items: stretch; padding: 12px; }
  .record-history-panel .pagination-summary, .record-history-panel .pagination-controls { justify-content: space-between; }
  .record-history-panel .pagination-pages { gap: 3px; }
  .record-history-panel .pagination-button { min-width: 36px; }
  .record-history-panel .record-list-viewport td[data-column-field="serial_no"] { min-width: 0; }
}
