:root {
  --bg: #0f1115;
  --bg-alt: #151922;
  --panel: #171b24;
  --panel-soft: #1c2230;
  --panel-border: rgba(255, 255, 255, 0.07);
  --text: #edf2f7;
  --muted: #9aa4b2;
  --accent: #8ab4f8;
  --accent-strong: #a8c7fa;
  --accent-soft: rgba(138, 180, 248, 0.12);
  --warning: #fbbc04;
  --danger: #f28b82;
  --ok: #81c995;
  --shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(138, 180, 248, 0.12), transparent 24%),
    linear-gradient(180deg, #0f1115 0%, var(--bg-alt) 100%);
}

.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.hero,
.panel,
.stat-card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
  padding: 28px 30px;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-size: 0.78rem;
  margin: 0 0 12px;
  font-weight: 600;
}

h1, h2 {
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 14ch;
  font-weight: 600;
}

.lead, .muted, small {
  color: var(--muted);
}

.lead {
  max-width: 72ch;
  line-height: 1.55;
}

.hero-actions {
  min-width: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
}

.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.active-link {
  background: var(--accent-soft);
  border-color: rgba(138, 180, 248, 0.22);
  color: var(--accent-strong);
}

button, .ghost {
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

button {
  background: var(--accent);
  color: #0f1115;
  font-weight: 600;
}

.name-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: #9fc4ff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.name-link:hover {
  text-decoration: underline;
  transform: none;
}

.ghost {
  background: transparent;
  color: var(--text);
}

button:hover,
.ghost:hover {
  transform: translateY(-1px);
}

.panel {
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 18px;
}

.filter-grid, .stats, .grid-two {
  display: grid;
  gap: 16px;
}

.filter-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: end;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

input, select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: var(--panel-soft);
  padding: 12px 14px;
  font: inherit;
  color: var(--text);
  outline: none;
}

input:focus, select:focus {
  border-color: rgba(138, 180, 248, 0.7);
  box-shadow: 0 0 0 3px rgba(138, 180, 248, 0.14);
}

.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.import-form {
  display: grid;
  gap: 14px;
}

.import-feedback {
  min-height: 24px;
  margin-top: 14px;
  color: #dce7f8;
}

.import-specs {
  display: grid;
  gap: 14px;
}

.import-jobs-table {
  min-width: 960px;
}

.quick-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.quick-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  text-decoration: none;
}

.quick-filter:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
}

.active-quick-filter {
  background: rgba(138, 180, 248, 0.14);
  color: var(--accent-strong);
  border-color: rgba(138, 180, 248, 0.24);
}

.stats {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-bottom: 18px;
}

.stats.compact {
  margin-bottom: 0;
}

.stat-card {
  border-radius: 18px;
  padding: 18px 18px 16px;
}

.stat-card span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  margin-bottom: 4px;
  font-weight: 600;
}

.warning strong { color: var(--warning); }
.danger strong { color: var(--danger); }
.neutral strong { color: var(--accent); }

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.full-width-stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
}

.detail-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.table-toolbar .muted {
  margin: 0;
  max-width: 760px;
  line-height: 1.5;
}

.detail-search-bar,
.detail-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.detail-filter-actions {
  align-self: end;
}

.table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, #171d28 0%, #111722 100%);
  padding: 14px;
}

.tabulator-host {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  background: #141923;
}

th, td {
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 10px;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
  background: #171c27;
  position: sticky;
  top: 0;
}

.sort-link {
  color: inherit;
  text-decoration: none;
}

.sort-link:hover {
  color: var(--accent-strong);
}

.table-filter-row th {
  background: #141923;
}

.table-filter-row input,
.table-filter-row select {
  min-width: 120px;
  padding: 10px 12px;
}

.table-filter-actions-cell {
  min-width: 120px;
}

.empty-cell {
  color: var(--muted);
  text-align: center;
  padding: 20px 12px;
}

.modal-open {
  overflow: hidden;
}

.modal-shell[hidden] {
  display: none;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.modal-card {
  position: relative;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.modal-card-wide {
  width: min(1220px, calc(100vw - 32px));
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.modal-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.modal-tab {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.active-modal-tab {
  background: rgba(138, 180, 248, 0.14);
  color: var(--accent-strong);
  border-color: rgba(138, 180, 248, 0.24);
}

.modal-actions-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.modal-feedback {
  min-height: 20px;
  margin: 0;
}

.modal-close {
  white-space: nowrap;
}

.modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.modal-field {
  background: var(--panel-soft);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 14px;
}

.modal-field-full {
  grid-column: 1 / -1;
}

.modal-inner-table-wrap {
  margin-top: 12px;
}

.mini-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #111722;
}

.mini-table th,
.mini-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  vertical-align: top;
}

.mini-table th {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}

.editable-modal-grid .modal-field {
    padding: 12px;
  }

.modal-search-panel {
  display: grid;
  gap: 14px;
  margin: 12px 0 18px;
}

.modal-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.modal-search-results {
  min-height: 24px;
}

.modal-search-table-wrap {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.modal-search-table {
  width: 100%;
  border-collapse: collapse;
}

.modal-search-table th,
.modal-search-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.modal-search-table thead th {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.modal-search-table tbody tr:hover {
  background: rgba(145, 185, 255, 0.08);
}

.modal-search-table tbody tr:last-child td {
  border-bottom: none;
}

.modal-label {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #111722;
  color: #f7f9fc;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}

.app-datatable,
table.dataTable {
  width: 100% !important;
  background: transparent;
  color: #e8edf5;
  border-collapse: collapse !important;
}

.dt-container {
  color: #e8edf5;
}

.dt-layout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.dt-layout-cell {
  display: flex;
  align-items: center;
}

.dt-layout-start {
  justify-content: flex-start;
}

.dt-layout-end {
  justify-content: flex-end;
  margin-left: auto;
}

table.dataTable thead th,
table.dataTable thead td {
  background: rgba(23, 29, 40, 0.98);
  color: #90a6c3;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

table.dataTable tfoot th,
table.dataTable tfoot td {
  background: rgba(18, 24, 34, 0.98);
  color: #dce7f8;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-bottom: 0 !important;
  font-size: 0.92rem;
  font-weight: 700;
}

table.dataTable tbody td {
  color: #eef4ff;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: rgba(14, 19, 29, 0.88);
}

table.dataTable.hover > tbody > tr:hover > *,
table.dataTable.display > tbody > tr:hover > * {
  box-shadow: inset 0 0 0 9999px rgba(159, 196, 255, 0.05) !important;
}

.dt-container .dt-search input,
.dt-container .dt-length select {
  background: #20252d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f7f9fc;
  border-radius: 12px;
  padding: 10px 12px;
  min-height: 48px;
}

.dt-container .dt-search label,
.dt-container .dt-length label,
.dt-container .dt-info,
.dt-container .dt-paging .dt-paging-button {
  color: #d7dfeb !important;
}

.dt-container .dt-search input {
  min-width: 320px;
  margin-left: 10px;
}

.dt-container .dt-length select {
  min-width: 102px;
  margin-right: 10px;
}

.dt-container .dt-paging .dt-paging-button {
  border-radius: 6px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: transparent !important;
}

.dt-container .dt-paging .dt-paging-button.current,
.dt-container .dt-paging .dt-paging-button:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f7fbff !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
}

.dt-container .dt-search,
.dt-container .dt-length,
.dt-container .dt-info,
.dt-container .dt-paging {
  margin-top: 10px;
}

.app-datatable-summary + .dt-container,
.table-wrap .dt-container {
  width: 100%;
}

.table-wrap .dt-container .dt-layout-row:first-child {
  margin-bottom: 18px;
  padding: 4px 2px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.table-wrap .dt-container .dt-layout-row:last-child {
  margin-top: 16px;
}

.table-wrap .dt-container .dt-info {
  padding: 0;
}

.table-wrap .dt-container .dt-paging {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dt-container .dt-length,
.dt-container .dt-search {
  display: flex;
  align-items: center;
}

.dt-container .dt-length label,
.dt-container .dt-search label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.dt-container .dt-length label {
  flex-direction: row;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 16px;
}

.dt-container .dt-length select {
  order: 2;
  margin-right: 0;
}

.dt-container .dt-search {
  margin-left: auto;
}

.dt-container .dt-search label {
  gap: 0;
}

.dt-container .dt-length label::before,
.dt-container .dt-length label::after {
  display: inline;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  justify-content: center;
  min-width: 94px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

.badge-ok { background: rgba(129, 201, 149, 0.12); color: var(--ok); border-color: rgba(129, 201, 149, 0.18); }
.badge-atencao, .badge-ambiguidade { background: rgba(251, 188, 4, 0.16); color: #ffcb14; border-color: rgba(251, 188, 4, 0.3); }
.badge-sem_salario, .badge-sem_indicacao { background: rgba(242, 139, 130, 0.12); color: var(--danger); border-color: rgba(242, 139, 130, 0.18); }
.badge-vaga { background: rgba(138, 180, 248, 0.12); color: var(--accent-strong); border-color: rgba(138, 180, 248, 0.18); }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  background: rgba(138, 180, 248, 0.08);
  border: 1px solid rgba(138, 180, 248, 0.12);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.92rem;
  color: var(--accent-strong);
}

.checkbox-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-chip input {
  width: auto;
  margin: 0;
  accent-color: #9fc4ff;
}

.insights {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
  flex-wrap: wrap;
}

.page-indicator {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 0 6px;
}

.disabled {
  pointer-events: none;
  opacity: 0.45;
}

tr:hover td {
  background: rgba(138, 180, 248, 0.03);
}

.premium-table thead th {
  height: 60px;
}

.premium-table thead .column-filter-row th {
  height: auto;
  padding-top: 10px;
  padding-bottom: 14px;
  background: rgba(19, 25, 37, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.premium-table thead .column-filter-row input,
.premium-table thead .column-filter-row select {
  width: 100%;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101723;
  color: #eef4ff;
  padding: 9px 11px;
  font: inherit;
  outline: none;
  box-shadow: none;
}

.premium-table thead .column-filter-row input::placeholder {
  color: #70819b;
}

.premium-table thead .column-filter-row input:focus,
.premium-table thead .column-filter-row select:focus {
  border-color: rgba(159, 196, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(159, 196, 255, 0.08);
}

.filterable-table thead .column-filter-row th {
  height: auto;
  padding-top: 14px;
  padding-bottom: 18px;
  background: rgba(19, 25, 37, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.filterable-table thead .column-filter-row input,
.filterable-table thead .column-filter-row select {
  width: 100%;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #101723;
  color: #eef4ff;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  box-shadow: none;
  min-height: 52px;
}

.filterable-table thead .column-filter-row input::placeholder {
  color: #70819b;
}

.filterable-table thead .column-filter-row input:focus,
.filterable-table thead .column-filter-row select:focus {
  border-color: rgba(159, 196, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(159, 196, 255, 0.08);
}

.filterable-table thead tr:first-child th {
  padding-top: 18px;
  padding-bottom: 18px;
}

.detail-filterable-table thead th:nth-child(1) { min-width: 260px; }
.detail-filterable-table thead th:nth-child(2) { min-width: 150px; }
.detail-filterable-table thead th:nth-child(3) { min-width: 170px; }
.detail-filterable-table thead th:nth-child(4) { min-width: 110px; }
.detail-filterable-table thead th:nth-child(5) { min-width: 180px; }
.detail-filterable-table thead th:nth-child(6) { min-width: 180px; }
.detail-filterable-table thead th:nth-child(7) { min-width: 180px; }
.detail-filterable-table thead th:nth-child(8) { min-width: 150px; }
.detail-filterable-table thead th:nth-child(9) { min-width: 160px; }
.detail-filterable-table thead th:nth-child(10) { min-width: 120px; }
.detail-filterable-table thead th:nth-child(11) { min-width: 150px; text-align: right; }
.detail-filterable-table thead th:nth-child(12) { min-width: 150px; text-align: right; }
.detail-filterable-table thead th:nth-child(13) { min-width: 220px; }

.indications-filterable-table thead th:nth-child(1) { width: 58px; }
.indications-filterable-table thead th:nth-child(2) { min-width: 220px; }
.indications-filterable-table thead th:nth-child(3) { min-width: 130px; }
.indications-filterable-table thead th:nth-child(4),
.indications-filterable-table thead th:nth-child(5),
.indications-filterable-table thead th:nth-child(6) { min-width: 120px; }
.indications-filterable-table thead th:nth-child(7),
.indications-filterable-table thead th:nth-child(8) { min-width: 160px; text-align: right; }
.indications-filterable-table thead th:nth-child(9) { min-width: 120px; }

.voting-filterable-table thead th:nth-child(1) { min-width: 320px; }
.voting-filterable-table thead th:nth-child(2) { min-width: 260px; }
.voting-filterable-table thead th:nth-child(3) { min-width: 140px; }
.voting-filterable-table thead th:nth-child(4) { min-width: 90px; }
.voting-filterable-table thead th:nth-child(5) { min-width: 220px; }

.polling-filterable-table thead th:nth-child(1) { width: 110px; }
.polling-filterable-table thead th:nth-child(2) { min-width: 110px; }
.polling-filterable-table thead th:nth-child(3) { min-width: 90px; }
.polling-filterable-table thead th:nth-child(4) { min-width: 320px; }
.polling-filterable-table thead th:nth-child(5) { min-width: 360px; }
.polling-filterable-table thead th:nth-child(6) { min-width: 170px; text-align: right; }
.polling-filterable-table thead th:nth-child(7) { min-width: 160px; }

.polling-filterable-table tbody td:nth-child(6) {
  text-align: right;
  white-space: nowrap;
}

.vote-location-filterable-table thead th:nth-child(1) { min-width: 260px; }
.vote-location-filterable-table thead th:nth-child(2) { min-width: 160px; }
.vote-location-filterable-table thead th:nth-child(3) { min-width: 170px; }
.vote-location-filterable-table thead th:nth-child(4) { min-width: 340px; }
.vote-location-filterable-table thead th:nth-child(5) { min-width: 260px; }
.vote-location-filterable-table thead th:nth-child(6),
.vote-location-filterable-table thead th:nth-child(7) { min-width: 150px; text-align: right; }
.vote-location-filterable-table thead th:nth-child(8) { min-width: 150px; }

.vote-location-filterable-table tbody td:nth-child(6),
.vote-location-filterable-table tbody td:nth-child(7) {
  text-align: right;
  white-space: nowrap;
}

.top-local-filterable-table thead th:nth-child(1) { min-width: 100px; }
.top-local-filterable-table thead th:nth-child(2) { min-width: 280px; }
.top-local-filterable-table thead th:nth-child(3) { min-width: 220px; }
.top-local-filterable-table thead th:nth-child(4) { min-width: 120px; }
.top-local-filterable-table thead th:nth-child(5) { min-width: 120px; }
.top-local-filterable-table thead th:nth-child(6) { min-width: 140px; text-align: right; }
.top-local-filterable-table thead th:nth-child(7) { min-width: 180px; }
.top-local-filterable-table thead th:nth-child(8) { min-width: 240px; }

.top-local-filterable-table tbody td:nth-child(6) {
  text-align: right;
  white-space: nowrap;
}

.chart-wrap {
  width: 100%;
  min-height: 360px;
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 16px;
  background: #111722;
}

.evolution-filterable-table thead th:nth-child(1) { min-width: 320px; }
.evolution-filterable-table thead th:nth-child(2) { min-width: 160px; }
.evolution-filterable-table thead th:nth-child(n+3) { min-width: 150px; text-align: right; }

.evolution-filterable-table tbody td:nth-child(n+3) {
  text-align: right;
  white-space: nowrap;
}

.voting-filterable-table tbody td:nth-child(1) .name-link {
  white-space: normal;
  text-align: left;
  line-height: 1.45;
}

.voting-filterable-table tbody td:nth-child(2),
.voting-filterable-table tbody td:nth-child(3),
.voting-filterable-table tbody td:nth-child(4),
.voting-filterable-table tbody td:nth-child(5) {
  white-space: nowrap;
}

.people-filterable-table thead th:nth-child(1) { min-width: 280px; }
.people-filterable-table thead th:nth-child(2) { min-width: 120px; }
.people-filterable-table thead th:nth-child(3) { min-width: 240px; }
.people-filterable-table thead th:nth-child(4),
.people-filterable-table thead th:nth-child(5),
.people-filterable-table thead th:nth-child(6) { min-width: 95px; }
.people-filterable-table thead th:nth-child(7),
.people-filterable-table thead th:nth-child(8),
.people-filterable-table thead th:nth-child(9) { min-width: 220px; }

.people-filterable-table tbody td:nth-child(4),
.people-filterable-table tbody td:nth-child(5),
.people-filterable-table tbody td:nth-child(6) {
  text-align: center;
  white-space: nowrap;
}

.detail-filterable-table tbody td:nth-child(11),
.detail-filterable-table tbody td:nth-child(12),
.indications-filterable-table tbody td:nth-child(7),
.indications-filterable-table tbody td:nth-child(8) {
  text-align: right;
  white-space: nowrap;
}

.premium-table tbody td {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 1rem;
}

.premium-table .col-index {
  width: 54px;
  color: #f5f8ff;
}

.premium-table .col-name {
  min-width: 420px;
}

.premium-table .col-status {
  min-width: 150px;
}

.premium-table .col-grade {
  min-width: 140px;
}

.premium-table .col-department {
  min-width: 260px;
}

.premium-table .col-money {
  min-width: 160px;
  text-align: right;
  white-space: nowrap;
}

.premium-table tbody td.col-money,
.premium-table thead th.col-money {
  text-align: right;
}

.premium-table tbody td.col-grade,
.premium-table tbody td.col-department,
.premium-table tbody td.col-indication {
  color: #f7fbff;
}

@media (max-width: 860px) {
  .page {
    padding: 16px 12px 26px;
  }

  .hero {
    flex-direction: column;
    padding: 22px 20px;
  }

  .hero-actions {
    align-items: flex-start;
  }

  .dt-container .dt-search input {
    min-width: 100%;
    margin-left: 0;
  }

  .dt-layout-start,
  .dt-layout-end,
  .dt-container .dt-length,
  .dt-container .dt-search,
  .dt-container .dt-length label,
  .dt-container .dt-search label {
    width: 100%;
  }
}
.auth-account {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  flex-wrap: wrap;
}
