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

.data_sources_actions .action_button {
  margin-bottom:0;
}

.data_sources_table_wrapper {
  overflow-x:auto;
  border:1px solid var(--gridline);
  border-radius:6px;
  background:var(--gentle-white);
}

.data_sources_table {
  table-layout:auto;
  width:auto;
  min-width:100%;
  margin-bottom:0;
  border-collapse:separate;
  border-spacing:0;
  font-family:"Matter SemiMono", monospace;
  font-size:13px;
}

.data_sources_table th {
  padding:12px 18px;
  font-size:11px;
  font-weight:500;
  letter-spacing:0.06em;
  text-transform:uppercase;
  text-align:left;
  color:var(--soft-grey);
  white-space:nowrap;
  border-bottom:1px solid var(--gridline);
  background:var(--gentle-white);
}

.data_sources_table td {
  padding:12px 18px;
  vertical-align:top;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
  color:var(--soft-black);
  border-bottom:1px solid var(--gridline);
  background:var(--gentle-white);
}

.data_sources_table th:first-child,
.data_sources_table td:first-child {
  padding-left:18px;
}

.data_sources_table th:last-child,
.data_sources_table td:last-child {
  padding-right:18px;
}

.data_sources_table tbody tr:last-child td {
  border-bottom:0;
}

.data_sources_table tbody tr:hover td {
  background:var(--gentle-grey);
}

.data_sources_table th:first-child,
.data_sources_table td:first-child {
  position:sticky;
  left:0;
  z-index:1;
  min-width:200px;
  white-space:normal;
  font-weight:500;
}

.data_sources_table td.data_sources_publisher {
  min-width:160px;
  white-space:normal;
}

.data_sources_table td.data_sources_industries {
  min-width:180px;
  white-space:normal;
}

.data_sources_tags {
  display:flex;
  flex-wrap:wrap;
  gap:4px;
}

.data_sources_tag {
  padding:2px 8px;
  border:1px solid var(--gridline);
  border-radius:10px;
  font-size:11px;
  white-space:nowrap;
  color:var(--soft-grey);
  background:var(--gentle-grey);
}

.data_sources_badge {
  font-size:12px;
  font-weight:500;
  color:var(--soft-grey);
}

.data_sources_badge.is_on {
  color:var(--forest);
}

.data_sources_badge.is_off {
  color:var(--soft-grey);
}

.data_sources_badge.is_failed {
  color:var(--alert-red);
}

.data_sources_muted {
  color:var(--soft-grey);
}

.data_sources_provisional {
  color:var(--soft-grey);
  font-size:0.8em;
  margin-left:4px;
}

.data_sources_release_date {
  margin-left:6px;
  color:var(--soft-grey);
}

.data_sources_failure {
  max-width:260px;
  margin-top:4px;
  font-size:11px;
  white-space:normal;
  color:var(--soft-grey);
}

.data_sources_table td.data_sources_row_actions {
  width:1%;
}

.data_sources_row_actions_inner {
  display:flex;
  gap:6px;
  justify-content:flex-end;
  flex-wrap:nowrap;
  white-space:nowrap;
}

.data_sources_row_actions_inner form {
  display:inline-flex;
  margin:0;
}

.data_sources_row_actions_inner .action_button {
  margin-bottom:0;
}

.data_sources_switch_form {
  display:inline-flex;
  margin:0;
}

.data_sources_switch {
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:auto;
  margin:0;
  padding:0;
  border:0;
  background:none;
  font-family:inherit;
  font-size:12px;
  font-weight:500;
  line-height:18px;
  letter-spacing:normal;
  text-transform:none;
  color:var(--soft-grey);
  cursor:pointer;
}

.data_sources_switch.is_on {
  color:var(--forest);
}

.data_sources_switch_track {
  position:relative;
  display:inline-block;
  flex:none;
  width:32px;
  height:18px;
  border-radius:9px;
  background:var(--gridline);
  transition:background 0.15s;
}

.data_sources_switch_track::after {
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--gentle-white);
  transition:transform 0.15s;
}

.data_sources_switch.is_on .data_sources_switch_track {
  background:var(--forest);
}

.data_sources_switch.is_on .data_sources_switch_track::after {
  transform:translateX(14px);
}
