:root {
  color-scheme: light;
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  background: #f6f7f9;
  color: #20242a;
}

body {
  margin: 0;
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #dde2e7;
  display: flex;
  justify-content: space-between;
  padding: 14px 28px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.brand {
  color: #1a4f7a;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 18px;
}

nav a,
.button {
  color: #1a4f7a;
  text-decoration: none;
}

.button {
  border: 1px solid #9bb5c8;
  border-radius: 6px;
  padding: 9px 12px;
}

.page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px;
}

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

h1 {
  font-size: 28px;
  margin: 0 0 8px;
}

h2 {
  font-size: 18px;
  margin: 0 0 14px;
}

p {
  color: #5a6570;
  line-height: 1.6;
  margin: 0;
}

.status-pill {
  background: #edf2f7;
  border: 1px solid #d7e0ea;
  border-radius: 6px;
  color: #3e4a56;
  flex: 0 0 auto;
  padding: 9px 12px;
}

.status-pill.verified {
  background: #eaf7ed;
  border-color: #b9e4c2;
}

.status-pill.failed {
  background: #fff1f1;
  border-color: #f2c1c1;
}

.grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.disease-card {
  background: #ffffff;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 6px;
  min-height: 88px;
  padding: 14px;
  text-decoration: none;
}

.disease-card:hover {
  border-color: #8fb1ca;
}

.disease-card span,
.disease-card small {
  color: #65717d;
}

.panel {
  background: #ffffff;
  border: 1px solid #dfe5eb;
  border-radius: 8px;
  margin-bottom: 18px;
  overflow: auto;
  padding: 18px;
}

table {
  border-collapse: collapse;
  min-width: 100%;
}

th,
td {
  border-bottom: 1px solid #e8edf1;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #44515d;
  font-weight: 600;
  white-space: nowrap;
}

.url {
  max-width: 420px;
  overflow-wrap: anywhere;
}

.empty {
  background: #fff;
  border: 1px dashed #cdd6df;
  border-radius: 8px;
  padding: 18px;
}

.footer {
  color: #697580;
  font-size: 13px;
  margin: 24px auto 40px;
  max-width: 1180px;
  padding: 0 28px;
}

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

  .page {
    padding: 18px;
  }
}
