:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #1f2933;
  --muted: #64748b;
  --line: #d7dde6;
  --accent: #116149;
  --accent-strong: #0b4735;
  --accent-soft: #e7f3ee;
  --warning: #8a4b12;
  --ready: #166534;
  --ready-soft: #e8f5ea;
  --pending: #475569;
  --pending-soft: #e9edf3;
  --issue: #b91c1c;
  --issue-soft: #fdecec;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 650;
  min-height: 40px;
  padding: 0 14px;
}

button:hover {
  background: var(--accent-strong);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

a {
  color: var(--accent-strong);
}

textarea {
  font: inherit;
}

.layout {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px;
}

.admin-page .layout {
  max-width: 1480px;
  padding: 12px 24px;
}

.topbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
}

.admin-page .topbar {
  margin-bottom: 10px;
}

.admin-page h1 {
  font-size: 24px;
}

.admin-page .topbar p {
  display: none;
}

h1,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
}

.topbar p,
.lead {
  color: var(--muted);
  margin-top: 8px;
  max-width: 720px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
}

.site-logo {
  border: 1px solid rgba(17, 97, 73, 0.18);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  display: block;
  flex: 0 0 auto;
  height: 56px;
  object-fit: cover;
  width: 56px;
}

.top-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
}

.topbar a {
  color: var(--accent);
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar .action-link {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
}

.topbar .action-link-primary {
  background: var(--accent);
  color: #fff;
}

.topbar .action-link-primary:hover {
  background: var(--accent-strong);
  text-decoration: none;
}

.topbar .disclaimer {
  color: var(--warning);
  font-size: 14px;
  max-width: 760px;
}

.stats-wrap {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
}

.stats {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 150px;
  padding: 14px 18px;
  text-align: right;
}

.stats span {
  display: block;
  font-size: 26px;
  font-weight: 750;
}

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

.stats-link {
  display: block;
  font-size: 12px;
  font-weight: 650;
  margin-top: 8px;
  white-space: nowrap;
}

.data-times,
.summary-sync {
  display: block;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
}

.data-times {
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px;
  text-align: right;
}

.data-times span {
  display: block;
}

.data-times time {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.admin-link,
.secondary-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent-strong);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}

.admin-link:hover,
.secondary-button:hover {
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.workspace {
  display: grid;
  gap: 14px;
}

.toolbar {
  align-items: end;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(260px, 1fr) minmax(150px, 0.25fr) minmax(150px, 0.25fr) auto;
  padding: 14px;
}

.ranking-rules {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
}

.ranking-rules summary {
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  list-style-position: outside;
  padding: 12px 0;
}

.ranking-rules[open] summary {
  border-bottom: 1px solid #edf1f5;
}

.rules-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 14px 0;
}

.rules-grid section {
  min-width: 0;
}

.rules-grid h2 {
  color: var(--text);
  font-size: 13px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.rules-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.rules-grid p + p {
  margin-top: 5px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.field input,
.field select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 40px;
  padding: 0 12px;
}

.field input:focus,
.field select:focus {
  border-color: rgba(15, 118, 110, 0.55);
  outline: 2px solid rgba(15, 118, 110, 0.12);
  outline-offset: 1px;
}

.table-section {
  display: grid;
  gap: 8px;
}

.table-section-header {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.table-section-header h2 {
  font-size: 17px;
  line-height: 1.2;
  margin: 0;
}

.table-section-header h2 span {
  color: var(--accent-strong);
  font-variant-numeric: tabular-nums;
}

.table-section-header p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 4px 0 0;
}

.table-section-times {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 6px 12px;
  justify-content: flex-end;
  line-height: 1.45;
  text-align: right;
  white-space: nowrap;
}

.table-section-times time {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.table-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: auto;
}

.directory-table {
  border-collapse: collapse;
  min-width: 0;
  table-layout: fixed;
  width: 100%;
}

.col-site { width: 28%; }
.col-rate { width: 11%; }
.col-initial-balance { width: 12%; }
.col-availability { width: 14%; }
.col-latency { width: 14%; }
.col-speed { width: 10%; }
.col-recommend { width: 11%; }

.directory-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid #edf1f5;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  position: sticky;
  text-align: left;
  top: 0;
  z-index: 1;
}

.directory-table th,
.directory-table td {
  border-right: 1px solid #edf1f5;
  padding: 12px 14px;
  vertical-align: top;
}

.directory-table th:last-child,
.directory-table td:last-child {
  border-right: 0;
}

.directory-table tbody tr:not(.detail-row) td {
  border-bottom: 1px solid #edf1f5;
}

.directory-table tbody tr:hover:not(.detail-row) {
  background: #fbfcfe;
}

.site-cell {
  width: 300px;
}

.site-cell a {
  color: var(--accent-strong);
  display: block;
  font-weight: 750;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

.site-cell a:hover {
  text-decoration: underline;
}

.site-meta {
  color: var(--muted);
  display: block;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 4px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.site-badge,
.framework-badge,
.sponsor-badge {
  border-radius: 4px;
  display: inline-flex;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  margin-right: 5px;
  margin-top: 6px;
  padding: 4px 6px;
}

.badge-tested {
  background: var(--ready-soft);
  color: var(--ready);
}

.badge-failed {
  background: var(--issue-soft);
  color: var(--issue);
}

.badge-untested,
.framework-badge {
  background: var(--pending-soft);
  color: var(--pending);
}

.sponsor-badge {
  background: #ffedd5;
  color: #9a3412;
}

.site-meta-stale {
  color: var(--issue);
}

.actual-group-field {
  align-items: center;
  display: inline-flex;
  gap: 6px;
  margin-top: 4px;
  max-width: 100%;
}

.actual-group-field::before {
  color: var(--muted);
  content: "实际分组";
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 650;
}

.actual-group-select {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  min-height: 30px;
  min-width: 0;
  padding: 0 8px;
  width: min(220px, 100%);
}

.actual-group-select:focus {
  border-color: rgba(15, 118, 110, 0.55);
  outline: 2px solid rgba(15, 118, 110, 0.12);
  outline-offset: 1px;
}

.sort-button {
  align-items: center;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  min-height: 24px;
  padding: 0;
}

.sort-button:hover,
.sort-button.is-active {
  background: transparent;
  color: var(--accent-strong);
}

.rate-cell,
.balance-cell,
.availability-cell,
.latency-cell,
.speed-cell,
.recommend-cell {
  font-variant-numeric: tabular-nums;
}

.rate-cell,
.balance-cell,
.availability-cell,
.speed-cell,
.recommend-cell {
  white-space: nowrap;
}

.rate-cell strong,
.balance-cell strong,
.availability-cell strong,
.speed-cell strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.rate-cell small,
.balance-cell small,
.availability-cell small,
.speed-cell small,
.recommend-cell small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  line-height: 1.25;
  margin-top: 3px;
}

.rate-s { color: #0d9488; }
.rate-a { color: #10b981; }
.rate-b { color: #b7791f; }
.rate-c { color: #6b7280; }
.rate-d { color: #ef4444; }
.rate-unknown { color: var(--muted); }

.balance-gift {
  color: var(--ready);
}

.balance-positive {
  color: var(--accent-strong);
}

.balance-none,
.balance-unknown {
  color: var(--muted);
}

.availability-value {
  color: var(--ready);
}

.no-data {
  color: var(--muted);
  font-size: 13px;
}

.latency-cell {
  white-space: nowrap;
}

.latency-values {
  align-items: baseline;
  display: inline-flex;
  gap: 4px;
}

.ttft-value {
  color: var(--accent-strong);
  font-weight: 750;
}

.latency-separator,
.p95-value {
  color: var(--muted);
}

.speed-cell {
  color: var(--accent-strong);
}

.recommend-grade {
  border-radius: 6px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  min-width: 36px;
  justify-content: center;
  padding: 7px 8px;
}

.recommend-good {
  background: var(--ready-soft);
  color: var(--ready);
}

.recommend-ok {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.recommend-watch {
  background: #fff7ed;
  color: #9a3412;
}

.recommend-bad {
  background: var(--issue-soft);
  color: var(--issue);
}

.recommend-muted {
  background: var(--pending-soft);
  color: var(--pending);
}

.metric-change {
  display: inline-block;
  font-size: 12px;
  font-weight: 750;
  margin-left: 6px;
  white-space: nowrap;
}

.metric-change-good {
  color: var(--ready);
}

.metric-change-bad {
  color: var(--issue);
}

.stability-cell {
  color: var(--muted);
}

.status-pill {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  padding: 7px 9px;
  white-space: nowrap;
}

.status-good {
  background: var(--ready-soft);
  color: var(--ready);
}

.status-ok {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.status-watch {
  background: #fff7ed;
  color: #9a3412;
}

.status-warn {
  background: #fef3c7;
  color: #92400e;
}

.status-bad {
  background: var(--issue-soft);
  color: var(--issue);
}

.status-muted {
  background: var(--pending-soft);
  color: var(--pending);
}

.empty-groups {
  color: var(--muted);
  display: inline-flex;
  font-size: 13px;
  min-height: 40px;
  align-items: center;
}

.empty-state,
.error-state {
  color: var(--muted);
  margin: 0;
  padding: 16px 14px;
}

.error-state {
  color: var(--issue);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.panel h2 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}

.panel-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-page .workspace-admin {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: 360px minmax(0, 1fr);
}

.admin-page .workspace-admin {
  grid-template-columns: minmax(440px, 1fr) minmax(320px, 0.85fr);
  margin-bottom: 14px;
}

.admin-side-panel,
.admin-action-panel {
  padding: 12px;
}

.admin-side-panel,
.admin-action-panel {
  position: static;
}

.admin-section {
  display: grid;
  gap: 10px;
}

.admin-section + .admin-section {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 14px;
}

.workspace-admin h2 {
  font-size: 16px;
}

.admin-auth {
  display: grid;
  gap: 10px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-message,
.muted-text {
  color: var(--muted);
  font-size: 13px;
}

.invite-summary {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  justify-content: flex-end;
}

.invite-summary span {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  font-size: 12px;
  line-height: 1;
  padding: 5px 7px;
  white-space: nowrap;
}

.analytics-panel {
  margin-bottom: 0;
}

.admin-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  margin-bottom: 14px;
}

.stats-grid,
.analytics-stats,
.sync-status dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.analytics-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 12px;
}

.workspace-admin .analytics-stats,
.workspace-admin .sync-status dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-action-panel .stats-grid,
.admin-action-panel .sync-status dl {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sync-status dl {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid div,
.analytics-stats div,
.sync-status dl div {
  background: var(--surface-2);
  border: 1px solid #edf1f5;
  border-radius: 6px;
  padding: 10px;
}

.analytics-stats div {
  min-height: 66px;
}

.stats-grid dt,
.analytics-stats dt,
.sync-status dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stats-grid dd,
.analytics-stats dd,
.sync-status dd {
  font-size: 20px;
  font-weight: 750;
  margin: 2px 0 0;
}

.analytics-trend {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.workspace-admin .analytics-trend {
  grid-template-columns: 1fr;
}

.analytics-trend div {
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  gap: 4px;
  min-height: 48px;
  padding: 8px;
}

.workspace-admin .analytics-trend div {
  gap: 8px;
  grid-template-columns: 48px 1fr auto;
  padding: 7px 9px;
}

.analytics-trend span,
.analytics-trend small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.analytics-trend strong {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.analytics-stats dd,
.analytics-trend small {
  font-variant-numeric: tabular-nums;
}

.analytics-trend small {
  min-width: 48px;
  text-align: right;
}

.sync-status dd {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.sync-status {
  display: grid;
  gap: 10px;
}

.sync-status > p {
  color: var(--muted);
}

.sync-status-bad > p {
  color: var(--issue);
}

.sync-output {
  background: #101827;
  border-radius: 6px;
  color: #e5edf6;
  font-size: 12px;
  line-height: 1.55;
  margin: 12px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.workspace-admin .field {
  gap: 4px;
}

.workspace-admin input {
  padding: 7px 9px;
}

.workspace-admin button {
  min-height: 36px;
}

.field textarea {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  min-height: 86px;
  padding: 10px 12px;
  resize: vertical;
}

.field textarea:focus {
  border-color: rgba(15, 118, 110, 0.55);
  outline: 2px solid rgba(15, 118, 110, 0.12);
  outline-offset: 1px;
}

.admin-table-shell {
  max-height: 520px;
}

.invite-table-shell {
  max-height: 360px;
}

.pool-table-shell {
  max-height: 430px;
}

.admin-table {
  min-width: 900px;
}

.tested-pool-table {
  min-width: 1180px;
}

.candidate-pool-table {
  min-width: 1040px;
}

.invite-table {
  min-width: 1100px;
}

.invite-table th,
.invite-table td {
  padding: 8px 10px;
}

.invite-table .site-meta {
  margin-top: 2px;
}

.invite-table th:nth-child(1) {
  width: 28%;
}

.invite-table th:nth-child(2),
.invite-table th:nth-child(3),
.invite-table th:nth-child(4),
.invite-table th:nth-child(5),
.invite-table th:nth-child(6) {
  width: 12%;
}

.invite-table th:nth-child(7) {
  width: 24%;
}

.tested-pool-table th:nth-child(1) {
  width: 28%;
}

.tested-pool-table th:nth-child(2),
.tested-pool-table th:nth-child(3),
.tested-pool-table th:nth-child(4) {
  width: 12%;
}

.tested-pool-table th:nth-child(5) {
  width: 28%;
}

.tested-pool-table th:nth-child(6) {
  width: 8%;
}

.candidate-pool-table th:nth-child(1) {
  width: 24%;
}

.candidate-pool-table th:nth-child(2),
.candidate-pool-table th:nth-child(3),
.candidate-pool-table th:nth-child(4),
.candidate-pool-table th:nth-child(5),
.candidate-pool-table th:nth-child(6) {
  width: 12%;
}

.candidate-pool-table th:nth-child(7) {
  width: 14%;
}

.candidate-pool-table th:nth-child(8) {
  width: 12%;
}

.issue-table th:nth-child(1) {
  width: 22%;
}

.issue-table th:nth-child(2),
.issue-table th:nth-child(4),
.issue-table th:nth-child(5) {
  width: 12%;
}

.issue-table th:nth-child(3),
.issue-table th:nth-child(7) {
  width: 10%;
}

.issue-table th:nth-child(6) {
  width: 22%;
}

.notes-cell {
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.sync-state {
  font-weight: 700;
}

@media (max-width: 1680px) {
  .toolbar {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 0.3fr) minmax(150px, 0.3fr) auto;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .admin-page .workspace-admin {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .stats {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .layout {
    padding: 16px;
  }

  h1 {
    font-size: 24px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .admin-auth,
  .stats-grid,
  .analytics-stats,
  .analytics-trend,
  .sync-status dl {
    grid-template-columns: 1fr;
  }

  .panel-heading {
    align-items: start;
    flex-direction: column;
  }

  .table-section-header {
    align-items: start;
    flex-direction: column;
  }

  .table-section-times {
    justify-content: flex-start;
    text-align: left;
  }

  .table-shell {
    overflow: visible;
  }

  .directory-table {
    display: block;
    min-width: 0;
  }

  .directory-table thead {
    display: none;
  }

  .directory-table tbody,
  .directory-table tr {
    display: block;
    width: 100%;
  }

  .directory-table td {
    border-right: 0;
    display: grid;
    padding: 0;
    width: 100%;
  }

  .directory-table tbody tr:not(.detail-row) td {
    border-bottom: 0;
  }

  .directory-table tbody tr {
    border-bottom: 1px solid #edf1f5;
    padding: 12px 14px;
  }

  .directory-table tbody tr:last-child {
    border-bottom: 0;
  }

  .directory-table td:nth-child(1) {
    grid-column: 1 / -1;
  }

  .directory-table td:nth-child(n + 2) {
    align-items: start;
    gap: 8px;
    grid-template-columns: 1fr;
  }

  .directory-table td:nth-child(n + 2)::before {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
  }

  .directory-table td:nth-child(2)::before {
    content: "推荐";
  }

  .directory-table td:nth-child(3)::before {
    content: "实测可用率";
  }

  .directory-table td:nth-child(4)::before {
    content: "首字/P95";
  }

  .directory-table td:nth-child(5)::before {
    content: "输出速度";
  }

  .directory-table td:nth-child(6)::before {
    content: "倍率";
  }

  .directory-table td:nth-child(7)::before {
    content: "注册赠额";
  }

  .admin-page .tested-pool-table td:nth-child(2)::before {
    content: "状态";
  }

  .admin-page .tested-pool-table td:nth-child(3)::before {
    content: "当前余额";
  }

  .admin-page .tested-pool-table td:nth-child(4)::before {
    content: "最近探针";
  }

  .admin-page .tested-pool-table td:nth-child(5)::before {
    content: "失败原因";
  }

  .admin-page .tested-pool-table td:nth-child(6)::before {
    content: "下一步";
  }

  .admin-page .candidate-pool-table td:nth-child(2)::before {
    content: "下一步";
  }

  .admin-page .candidate-pool-table td:nth-child(3)::before {
    content: "账号状态";
  }

  .admin-page .candidate-pool-table td:nth-child(4)::before {
    content: "当前余额";
  }

  .admin-page .candidate-pool-table td:nth-child(5)::before {
    content: "注册赠额";
  }

  .admin-page .candidate-pool-table td:nth-child(6)::before {
    content: "最低倍率";
  }

  .admin-page .candidate-pool-table td:nth-child(7)::before {
    content: "分组覆盖";
  }

  .admin-page .candidate-pool-table td:nth-child(8)::before {
    content: "最近同步";
  }

  .admin-page .invite-table td:nth-child(2)::before {
    content: "邀请人数";
  }

  .admin-page .invite-table td:nth-child(3)::before {
    content: "返利比例";
  }

  .admin-page .invite-table td:nth-child(4)::before {
    content: "可转返利额度";
  }

  .admin-page .invite-table td:nth-child(5)::before {
    content: "冻结返利额度";
  }

  .admin-page .invite-table td:nth-child(6)::before {
    content: "历史返利额度";
  }

  .admin-page .invite-table td:nth-child(7)::before {
    content: "最近检查";
  }

  .admin-page .issue-table td:nth-child(2)::before {
    content: "问题";
  }

  .admin-page .issue-table td:nth-child(3)::before {
    content: "所属池";
  }

  .admin-page .issue-table td:nth-child(4)::before {
    content: "同步状态";
  }

  .admin-page .issue-table td:nth-child(5)::before {
    content: "账号状态";
  }

  .admin-page .issue-table td:nth-child(6)::before {
    content: "原因";
  }

  .admin-page .issue-table td:nth-child(7)::before {
    content: "最近检查";
  }

  .site-cell {
    width: 100%;
  }

  .rate-cell {
    overflow: visible;
  }

  .actual-group-field {
    max-width: none;
  }

  .actual-group-select {
    max-width: 100%;
  }

  .status-pill {
    justify-self: start;
  }

  .directory-table tbody tr {
    grid-template-columns: 1fr;
  }

  .admin-page .table-shell {
    overflow: auto;
  }

  .admin-page .directory-table {
    display: table;
    min-width: 1180px;
  }

  .admin-page .directory-table thead {
    display: table-header-group;
  }

  .admin-page .directory-table tbody {
    display: table-row-group;
  }

  .admin-page .directory-table tr {
    display: table-row;
  }

  .admin-page .directory-table td {
    border-bottom: 1px solid #edf1f5;
    border-right: 1px solid #edf1f5;
    display: table-cell;
    padding: 12px 14px;
    width: auto;
  }

  .admin-page .directory-table td::before {
    content: none;
  }
}
