:root {
  color-scheme: light;
  --bg: #edf4fb;
  --panel: #ffffff;
  --panel-2: #f8fbfe;
  --panel-3: #f2f7fc;
  --line: #ccdce9;
  --line-soft: #e5edf5;
  --text: #243348;
  --muted: #6f8095;
  --strong: #142236;
  --good: #13845d;
  --bad: #d3414d;
  --warn: #aa761d;
  --brand: #1f6fb8;
  --brand-soft: #e7f2fd;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.90);
  --shadow-soft: 0 14px 38px rgba(38, 59, 84, 0.10);
  --shadow-panel: 0 18px 48px rgba(38, 59, 84, 0.12);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% -8%, rgba(35, 110, 181, 0.20), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(22, 134, 95, 0.10), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 46%, #e7f0f8 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
}
body::before {
  content: "";
  position: fixed;
  inset: 70px 0 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(35,110,181,0.040) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,110,181,0.040) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.58), transparent 72%);
}
a { color: inherit; text-decoration: none; }
.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.94), rgba(247,251,255,0.88)),
    radial-gradient(circle at 12% 50%, rgba(35,110,181,0.10), transparent 28%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 28px rgba(43, 62, 84, 0.08);
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(35,110,181,0.045) 1px, transparent 1px),
    linear-gradient(rgba(35,110,181,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.5), transparent 52%);
  pointer-events: none;
}
.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 820;
  font-size: 13px;
  background: linear-gradient(135deg, #1f6fb8, #245a96);
  box-shadow: 0 10px 22px rgba(35, 110, 181, 0.22);
}
.brand-text {
  display: grid;
  gap: 2px;
}
.brand-sub {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}
.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16865f;
  font-size: 12px;
  font-weight: 680;
  margin-left: 6px;
}
.topbar-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #18a66e;
  box-shadow: 0 0 0 5px rgba(22,134,95,0.11);
}
.brand { font-weight: 780; letter-spacing: 0; color: var(--strong); }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
  padding: 5px;
  border: 1px solid rgba(185, 205, 224, 0.76);
  border-radius: 8px;
  background: rgba(255,255,255,0.62);
  box-shadow: 0 8px 20px rgba(43,62,84,0.06);
}
.nav a, .btn {
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 680;
}
.nav a.active, .nav a:hover, .btn:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-color: #b8d2ea;
  box-shadow: 0 4px 12px rgba(35,110,181,0.10);
}
.layout { max-width: 1480px; margin: 0 auto; padding: 22px 28px 32px; position: relative; z-index: 1; }
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 28px 24px;
}
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(196, 214, 229, 0.80);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72), rgba(241,248,253,0.62)),
    linear-gradient(90deg, rgba(35,110,181,0.040), transparent 46%);
  box-shadow: 0 8px 22px rgba(38, 59, 84, 0.06);
  color: var(--muted);
}
.site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--strong);
  font-weight: 760;
}
.site-footer-brand::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1f6fb8;
  box-shadow: 0 0 0 5px rgba(35,110,181,0.10);
}
.site-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.site-footer-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(199, 217, 232, 0.88);
  border-radius: 999px;
  background: rgba(255,255,255,0.58);
  color: #506981;
  font-size: 12px;
  font-weight: 650;
}
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
h1 { font-size: 22px; margin: 0 0 5px; letter-spacing: 0; color: var(--strong); }
h2 { font-size: 14px; margin: 0; letter-spacing: 0; color: var(--strong); }
.muted { color: var(--muted); }
.grid { display: grid; gap: 14px; }
.grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 254, 0.86)),
    linear-gradient(135deg, rgba(35,110,181,0.045), transparent 42%);
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(14px);
}
.layout > .panel,
.layout > section.panel {
  content-visibility: auto;
  contain-intrinsic-size: auto 320px;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(35,110,181,0.28), rgba(22,134,95,0.16), transparent);
  pointer-events: none;
}
.panel-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(224, 234, 243, 0.92);
  background:
    linear-gradient(90deg, rgba(244, 249, 253, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(90deg, rgba(35,110,181,0.045), transparent 44%);
}
.panel-body { padding: 14px; }
.metric {
  padding: 15px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 253, 0.90)),
    radial-gradient(circle at 100% 0%, rgba(35, 110, 181, 0.08), transparent 38%);
}
.metric-label { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.metric-value { font-size: 23px; line-height: 1.15; font-weight: 760; color: var(--strong); letter-spacing: 0; }
.metric-sub { margin-top: 6px; color: var(--muted); font-size: 12px; }
.good { color: var(--good); }
.bad { color: var(--bad); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr);
  gap: 14px;
  margin-bottom: 14px;
  align-items: stretch;
}
.hero-grid > .grid.cols-2 {
  height: 100%;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
}
.hero-grid > .grid.cols-2 > .metric {
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 17px;
}
.health-hero {
  min-height: 190px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,253,0.90)),
    radial-gradient(circle at 100% 0%, rgba(35,110,181,0.12), transparent 40%);
}
.health-hero-link {
  display: block;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.health-hero-link:hover {
  border-color: #9dc6e9;
  box-shadow: 0 18px 46px rgba(35,110,181,0.15);
  transform: translateY(-1px);
}
.health-detail-hero {
  max-width: 780px;
}
.health-switch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.health-switch-card {
  width: 100%;
  min-height: 244px;
  padding: 16px;
  text-align: left;
  color: inherit;
  cursor: pointer;
  appearance: none;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.health-switch-card:hover,
.health-switch-card.active {
  border-color: #9dc6e9;
  box-shadow: 0 18px 46px rgba(35,110,181,0.15);
  transform: translateY(-1px);
}
.health-switch-card.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #2d79bd, #18a06e);
}
.self-heal-switch-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,250,254,0.90)),
    radial-gradient(circle at 100% 0%, rgba(22,134,95,0.10), transparent 38%);
}
.health-switch-foot {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid rgba(224,234,243,0.92);
  color: #2d6f9f;
  font-size: 12px;
  font-weight: 760;
}
.health-tab-panel {
  display: none;
}
.health-tab-panel.active {
  display: block;
}
.health-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.health-hero-action {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 0 0 auto;
  justify-items: end;
}
.health-title {
  color: var(--strong);
  font-size: 15px;
  font-weight: 780;
}
.health-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.health-count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.health-count {
  min-height: 74px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255,255,255,0.68);
}
.health-count span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 7px;
}
.health-count strong {
  color: var(--strong);
  font-size: 19px;
  line-height: 1.1;
}
.health-notes {
  margin-top: 12px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.health-note {
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(244,249,253,0.76);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-grid > .health-hero .health-notes {
  grid-template-rows: repeat(2, 30px);
  min-height: 66px;
  max-height: 66px;
  overflow: hidden;
}
.rotating-note {
  animation: selfHealPulse 18s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 1.8s);
}
@keyframes selfHealPulse {
  0%, 72%, 100% { border-color: var(--line-soft); background: rgba(248,251,254,0.82); }
  12%, 28% { border-color: rgba(35,110,181,0.25); background: rgba(236,247,255,0.90); }
}
.self-heal-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(245,250,254,0.90)),
    linear-gradient(135deg, rgba(22,134,95,0.050), transparent 46%);
}
.self-heal-overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.self-heal-overview > div {
  min-height: 82px;
  padding: 11px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255,255,255,0.72);
}
.self-heal-overview span,
.self-heal-overview em {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.self-heal-overview strong {
  display: block;
  margin: 7px 0 5px;
  color: var(--strong);
  font-size: 18px;
  line-height: 1.1;
}
.self-heal-subhead {
  min-height: 38px;
  background: rgba(244,249,253,0.72);
}
.self-heal-actions table { min-width: 1280px; }
.self-heal-actions th:nth-child(1), .self-heal-actions td:nth-child(1) { width: 150px; }
.self-heal-actions th:nth-child(2), .self-heal-actions td:nth-child(2) { width: 105px; }
.self-heal-actions th:nth-child(3), .self-heal-actions td:nth-child(3) { width: 70px; }
.self-heal-actions th:nth-child(4), .self-heal-actions td:nth-child(4) { width: 260px; }
.self-heal-actions th:nth-child(5), .self-heal-actions td:nth-child(5) { width: 230px; }
.self-heal-actions th:nth-child(6), .self-heal-actions td:nth-child(6) { width: 190px; }
.self-heal-fuses table { min-width: 920px; }
.self-heal-policies table { min-width: 1180px; }
.health-detail-table table { min-width: 1040px; }
.health-detail-table th:nth-child(1), .health-detail-table td:nth-child(1) { width: 52px; }
.health-detail-table th:nth-child(2), .health-detail-table td:nth-child(2) { width: 120px; }
.health-detail-table th:nth-child(3), .health-detail-table td:nth-child(3) { width: 260px; }
.health-detail-table th:nth-child(4), .health-detail-table td:nth-child(4) { width: 120px; }
.health-task-table table { min-width: 1160px; }
.health-task-table th:nth-child(1), .health-task-table td:nth-child(1) { width: 110px; }
.health-task-table th:nth-child(2), .health-task-table td:nth-child(2) { width: 210px; }
.health-task-table th:nth-child(3), .health-task-table td:nth-child(3) { width: 120px; }
.health-task-table th:nth-child(4), .health-task-table td:nth-child(4) { width: 170px; }
.section-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.section-card {
  display: block;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(244,249,253,0.88)),
    radial-gradient(circle at 100% 0%, rgba(35,110,181,0.075), transparent 42%);
  box-shadow: var(--shadow-soft);
}
.section-card:hover {
  border-color: #a9cce9;
  box-shadow: 0 18px 42px rgba(43,62,84,0.12);
  transform: translateY(-1px);
}
.section-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 8px;
}
.section-card strong {
  display: block;
  color: var(--strong);
  font-size: 16px;
  margin-bottom: 8px;
}
.section-card em {
  display: block;
  color: #416078;
  font-style: normal;
  line-height: 1.55;
}
.quick-nav {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 12px;
  margin: 14px 0 0;
  padding: 12px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(238, 246, 252, 0.78), rgba(255,255,255,0.66)),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(238,246,252,0.48));
  box-shadow: 0 10px 26px rgba(38, 59, 84, 0.07);
}
.quick-nav-head {
  padding: 10px 12px;
  border-right: 1px solid rgba(203, 221, 234, 0.82);
}
.quick-nav-head span {
  display: block;
  color: #2d6fa8;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.quick-nav-head strong {
  display: block;
  color: var(--strong);
  font-size: 16px;
}
.quick-nav-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.quick-nav-item {
  display: grid;
  gap: 4px;
  min-height: 78px;
  padding: 11px 12px;
  border: 1px solid #d7e5f1;
  border-radius: 6px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 5px 14px rgba(38,59,84,0.045);
}
.quick-nav-item:hover {
  border-color: #9dc6e9;
  background: linear-gradient(180deg, #ffffff, #eef7ff);
}
.quick-nav-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .06em;
}
.quick-nav-item strong {
  color: var(--strong);
  font-size: 15px;
  line-height: 1.2;
}
.quick-nav-item em {
  color: #49647c;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}
.bot-module-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 0;
  margin: 14px 0;
  border: 1px solid rgba(196, 214, 229, 0.92);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(250,252,254,0.92), rgba(239,246,252,0.78));
  box-shadow: 0 10px 24px rgba(38,59,84,0.07);
  overflow: hidden;
}
.bot-module-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 16px;
  background:
    linear-gradient(135deg, rgba(31,111,184,0.12), rgba(255,255,255,0.58)),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(234,244,251,0.68));
  border-right: 1px solid rgba(196, 214, 229, 0.88);
}
.bot-module-head span {
  color: #2d6fa8;
  font-size: 11px;
  font-weight: 840;
  letter-spacing: .08em;
}
.bot-module-head strong {
  color: var(--strong);
  font-size: 17px;
  line-height: 1.1;
}
.bot-module-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.bot-module-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 92px;
  padding: 13px 14px;
  border-right: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.52);
}
.bot-module-item:last-child {
  border-right: 0;
}
.bot-module-item:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(235,246,255,0.82));
}
.bot-module-index {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #c7ddec;
  background: #ffffff;
  color: #2d6fa8;
  font-size: 12px;
  font-weight: 840;
}
.bot-module-copy span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.bot-module-copy strong {
  display: block;
  color: var(--strong);
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 5px;
}
.bot-module-copy em {
  display: block;
  color: #52687f;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}
.history-table table { min-width: 1180px; table-layout: fixed; }
.history-table th:nth-child(1), .history-table td:nth-child(1) { width: 150px; }
.history-table th:nth-child(2), .history-table td:nth-child(2),
.history-table th:nth-child(3), .history-table td:nth-child(3),
.history-table th:nth-child(4), .history-table td:nth-child(4),
.history-table th:nth-child(6), .history-table td:nth-child(6),
.history-table th:nth-child(8), .history-table td:nth-child(8) { width: 130px; }
.history-table th:nth-child(5), .history-table td:nth-child(5),
.history-table th:nth-child(7), .history-table td:nth-child(7),
.history-table th:nth-child(9), .history-table td:nth-child(9) { width: 86px; text-align: center; }
.history-date-link {
  color: #235f9b;
  font-weight: 760;
}
.monitor-leaderboard-panel .panel-head {
  align-items: flex-start;
}
.monitor-leaderboard-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245,250,254,0.90)),
    linear-gradient(90deg, rgba(31,111,184,0.055), rgba(36,150,129,0.035));
}
.monitor-leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding: 12px 14px 14px;
}
.leaderboard-card {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(188, 211, 229, 0.92);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,253,0.88)),
    linear-gradient(135deg, rgba(31,111,184,0.06), rgba(34,154,124,0.025) 54%, transparent);
  box-shadow:
    0 9px 22px rgba(39, 62, 88, 0.065),
    inset 0 1px 0 rgba(255,255,255,0.82);
  overflow: hidden;
}
.leaderboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(31,111,184,0.62), rgba(38,156,128,0.46), rgba(152,182,207,0.18));
}
.leaderboard-card-head {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 11px 8px;
  border-bottom: 1px solid rgba(213,228,240,0.92);
  background: linear-gradient(180deg, rgba(247,251,254,0.92), rgba(240,247,252,0.76));
}
.leaderboard-card h3 {
  margin: 0;
  color: var(--strong);
  font-size: 14px;
  line-height: 1.2;
}
.leaderboard-table {
  margin: 0;
}
.leaderboard-table table {
  min-width: 400px;
  table-layout: fixed;
}
.leaderboard-table th,
.leaderboard-table td {
  padding: 8px 6px;
  font-size: 12px;
}
.leaderboard-table thead th {
  background: rgba(247,251,254,0.78);
}
.leaderboard-table tbody tr {
  transition: background-color 120ms ease, box-shadow 120ms ease;
}
.leaderboard-table tbody tr:hover {
  background: rgba(232,243,252,0.66);
  box-shadow: inset 2px 0 0 rgba(31,111,184,0.34);
}
.leaderboard-table th:nth-child(1), .leaderboard-table td:nth-child(1) { width: 38px; text-align: center; }
.leaderboard-table th:nth-child(2), .leaderboard-table td:nth-child(2) { width: 126px; }
.leaderboard-table th:nth-child(3), .leaderboard-table td:nth-child(3) { width: 108px; }
.leaderboard-table th:nth-child(4), .leaderboard-table td:nth-child(4) { width: 66px; text-align: right; }
.leaderboard-table th:nth-child(5), .leaderboard-table td:nth-child(5) { width: 56px; text-align: center; }
.leaderboard-sort-head {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 780;
  cursor: pointer;
  padding: 0;
}
.leaderboard-sort-head:hover,
.leaderboard-sort-head.active {
  color: #1f6fb8;
}
.leaderboard-sort-head.active::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.leaderboard-rank {
  color: #2d6fa8;
  font-weight: 820;
}
.leaderboard-wallet {
  white-space: nowrap;
}
.leaderboard-wallet .addr-popover-btn.addr-text-popover.leaderboard-address-text {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #244e73;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  vertical-align: baseline;
}
.leaderboard-wallet .addr-popover-btn.addr-text-popover.leaderboard-address-text:hover,
.leaderboard-wallet .addr-popover-btn.addr-text-popover.leaderboard-address-text:focus-visible {
  border: 0;
  background: transparent;
  color: #1f6fa5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  outline: none;
}
.home-command {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.92fr);
  gap: 18px;
  min-height: 318px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(242,248,253,0.88)),
    radial-gradient(circle at 13% 18%, rgba(31,111,184,0.16), transparent 30%),
    radial-gradient(circle at 88% 0%, rgba(22,134,95,0.10), transparent 32%);
}
.home-command::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(31,111,184,0.05) 1px, transparent 1px),
    linear-gradient(rgba(31,111,184,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(120deg, rgba(0,0,0,0.58), transparent 68%);
  pointer-events: none;
}
.home-command-main,
.home-command-side {
  position: relative;
  z-index: 1;
}
.home-command-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 26px;
  padding: 4px 9px;
  border: 1px solid #cbddea;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  color: #236eb5;
  font-size: 11px;
  font-weight: 820;
}
.home-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f6fb8;
  box-shadow: 0 0 0 5px rgba(31,111,184,0.11);
}
.home-title {
  margin: 16px 0 8px;
  color: #102035;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 860;
  letter-spacing: 0;
}
.home-subtitle {
  max-width: 760px;
  color: #60758c;
  line-height: 1.7;
  font-size: 13px;
}
.home-profit-line {
  display: grid;
  gap: 7px;
}
.home-profit-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}
.home-profit-value {
  color: var(--strong);
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1;
  font-weight: 880;
  letter-spacing: 0;
}
.home-profit-value.good { color: #0f7a58; }
.home-profit-value.bad { color: #bd3441; }
.home-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.home-kpi {
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(196,214,229,0.86);
  border-radius: 6px;
  background: rgba(255,255,255,0.66);
  box-shadow: 0 8px 18px rgba(43,62,84,0.06);
}
.home-kpi span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}
.home-kpi strong {
  display: block;
  color: var(--strong);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 820;
}
.home-kpi em {
  display: block;
  margin-top: 5px;
  color: #6c7e93;
  font-style: normal;
  font-size: 11px;
}
.home-command-side {
  display: grid;
  gap: 12px;
}
.home-health-card {
  padding: 15px;
  border: 1px solid rgba(196,214,229,0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.74);
  box-shadow: var(--shadow-soft);
}
.home-health-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.home-health-title {
  color: var(--strong);
  font-size: 14px;
  font-weight: 820;
}
.home-health-desc {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.home-health-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.home-health-stat {
  padding: 9px;
  border-radius: 6px;
  background: rgba(244,249,253,0.82);
  border: 1px solid var(--line-soft);
}
.home-health-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.home-health-stat strong {
  color: var(--strong);
  font-size: 17px;
  line-height: 1;
}
.home-health-notes {
  display: grid;
  gap: 6px;
  margin-top: 11px;
}
.home-health-note {
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(248,251,254,0.82);
  color: #52687f;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.home-quick {
  min-height: 70px;
  padding: 11px;
  border: 1px solid rgba(196,214,229,0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.66);
}
.home-quick span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 6px;
}
.home-quick strong {
  display: block;
  color: #244563;
  font-size: 15px;
}
.home-bot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.home-bot-card {
  position: relative;
  min-height: 168px;
  padding: 16px;
  border: 1px solid rgba(196,214,229,0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244,249,253,0.88)),
    radial-gradient(circle at 100% 0%, rgba(31,111,184,0.10), transparent 40%);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}
.home-bot-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1f6fb8, #18a66e);
}
.home-bot-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.home-bot-name {
  color: var(--strong);
  font-size: 18px;
  font-weight: 840;
}
.home-bot-sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}
.home-bot-net {
  color: var(--strong);
  font-size: 27px;
  line-height: 1.05;
  font-weight: 860;
  letter-spacing: 0;
}
.home-bot-net.good { color: #0f7a58; }
.home-bot-net.bad { color: #bd3441; }
.home-bot-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.home-bot-stat {
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(255,255,255,0.62);
}
.home-bot-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.home-bot-stat strong {
  color: #21364e;
  font-size: 13px;
}
.home-bot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.home-bot-links a {
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #cbddea;
  border-radius: 999px;
  background: #ffffff;
  color: #236eb5;
  font-size: 12px;
  font-weight: 720;
}
.home-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 10px;
}
.home-section-title h2 {
  font-size: 16px;
}
.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.dashboard-kicker {
  color: #2d6fa8;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dashboard-title {
  margin: 5px 0 6px;
  color: #102033;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 840;
}
.dashboard-meta {
  color: var(--muted);
  line-height: 1.55;
}
.dashboard-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #d3e2ef;
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 8px 20px rgba(38, 59, 84, 0.06);
}
.dashboard-status span:last-child {
  color: var(--muted);
  font-size: 12px;
}
.dashboard-kpi-grid {
  display: grid;
  grid-template-columns: 1.34fr repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-card {
  position: relative;
  min-height: 132px;
  padding: 15px;
  border: 1px solid rgba(198, 215, 230, 0.92);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,254,0.92));
  box-shadow: 0 10px 26px rgba(38, 59, 84, 0.07);
  overflow: hidden;
}
.dashboard-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(31,111,184,0.46), rgba(22,134,95,0.20), transparent);
}
.dashboard-card.primary {
  min-height: 170px;
  background:
    linear-gradient(135deg, #ffffff, #f5f9fd),
    radial-gradient(circle at 100% 0%, rgba(31,111,184,0.10), transparent 42%);
}
.dashboard-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}
.dashboard-value {
  margin-top: 10px;
  color: var(--strong);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 840;
  letter-spacing: 0;
}
.dashboard-card.primary .dashboard-value {
  font-size: clamp(38px, 4vw, 52px);
  line-height: .98;
}
.dashboard-value.good { color: #0f7a58; }
.dashboard-value.bad { color: #bd3441; }
.dashboard-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.dashboard-split {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(360px, .82fr);
  gap: 12px;
  margin-top: 12px;
}
.bot-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bot-status-card {
  min-height: 176px;
  padding: 14px;
  border: 1px solid rgba(198, 215, 230, 0.92);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 24px rgba(38,59,84,0.06);
}
.bot-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.bot-status-name {
  color: var(--strong);
  font-size: 17px;
  font-weight: 820;
}
.bot-status-desc {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}
.bot-status-net {
  color: var(--strong);
  font-size: 24px;
  line-height: 1.05;
  font-weight: 840;
  white-space: nowrap;
}
.bot-status-net.good { color: #0f7a58; }
.bot-status-net.bad { color: #bd3441; }
.bot-status-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.bot-status-metric {
  min-height: 58px;
  padding: 8px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: #f8fbfe;
}
.bot-status-metric span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.bot-status-metric strong {
  color: #20354d;
  font-size: 13px;
  line-height: 1.25;
}
.bot-status-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.bot-status-links a,
.dashboard-action-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid #cbddea;
  border-radius: 7px;
  background: #fff;
  color: #236eb5;
  font-size: 12px;
  font-weight: 720;
}
.health-compact-card {
  min-height: 176px;
  padding: 14px;
  border: 1px solid rgba(198, 215, 230, 0.92);
  border-radius: 8px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 24px rgba(38,59,84,0.06);
}
.health-compact-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.health-compact-title {
  color: var(--strong);
  font-size: 15px;
  font-weight: 820;
}
.health-compact-sub {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.health-compact-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.health-compact-stat {
  padding: 8px;
  border-radius: 7px;
  background: #f8fbfe;
  border: 1px solid var(--line-soft);
}
.health-compact-stat span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.health-compact-stat strong {
  color: var(--strong);
  font-size: 17px;
}
.health-compact-notes {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}
.health-compact-note {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 26px;
  padding: 5px 8px;
  border-radius: 7px;
  background: #f8fbfe;
  border: 1px solid var(--line-soft);
  color: #52687f;
  font-size: 12px;
}
.dashboard-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.dashboard-action {
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(198, 215, 230, 0.92);
  border-radius: 8px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 8px 20px rgba(38,59,84,0.05);
}
.dashboard-action span {
  display: block;
  color: #2d6fa8;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: .06em;
  margin-bottom: 7px;
}
.dashboard-action strong {
  display: block;
  color: var(--strong);
  font-size: 15px;
  margin-bottom: 6px;
}
.dashboard-action em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}
.page-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.70);
  box-shadow: 0 8px 20px rgba(43,62,84,0.06);
}
.date-filter-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.date-filter-form input[type="date"] {
  width: auto;
  min-height: 34px;
  padding: 6px 9px;
}
.date-filter-form button,
.date-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 11px;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background: #ffffff;
  color: #236eb5;
  font-weight: 720;
}
.fund-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.fund-card {
  position: relative;
  min-height: 112px;
  padding: 16px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(241,248,253,0.92)),
    radial-gradient(circle at 100% 0%, rgba(35,110,181,0.10), transparent 38%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.fund-card::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(35,110,181,0.42), rgba(22,134,95,0.22), transparent);
}
.fund-card-label { color: var(--muted); font-size: 12px; margin-bottom: 9px; }
.fund-card-value { color: var(--strong); font-size: 24px; line-height: 1.12; font-weight: 760; }
.fund-card-sub { color: var(--muted); font-size: 12px; margin-top: 8px; }
.fund-suite-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.fund-suite-card {
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(246,250,253,0.84));
  padding: 12px;
}
.fund-suite-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--strong);
  font-weight: 720;
  margin-bottom: 10px;
}
.fund-suite-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}
.fund-suite-line strong { color: #22364d; }
.competitor-review-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.competitor-review-card {
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(243,248,252,0.90)),
    radial-gradient(circle at 100% 0%, rgba(35,110,181,0.09), transparent 42%);
  box-shadow: var(--shadow-soft);
}
.competitor-review-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 7px;
}
.competitor-review-card strong {
  color: var(--strong);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0;
}
.competitor-manager-table table { min-width: 1720px; table-layout: fixed; }
.competitor-manager-table th,
.competitor-manager-table td { padding: 9px 10px; vertical-align: middle; }
.competitor-manager-table th:nth-child(1), .competitor-manager-table td:nth-child(1) { width: 210px; }
.competitor-manager-table th:nth-child(2), .competitor-manager-table td:nth-child(2) { width: 112px; text-align: center; }
.competitor-manager-table th:nth-child(3), .competitor-manager-table td:nth-child(3) { width: 84px; text-align: center; }
.competitor-manager-table th:nth-child(4), .competitor-manager-table td:nth-child(4) { width: 84px; text-align: center; }
.competitor-manager-table th:nth-child(5), .competitor-manager-table td:nth-child(5) { width: 96px; text-align: center; }
.competitor-manager-table th:nth-child(6), .competitor-manager-table td:nth-child(6) { width: 92px; text-align: center; }
.competitor-manager-table th:nth-child(7), .competitor-manager-table td:nth-child(7) { width: 82px; text-align: center; }
.competitor-manager-table th:nth-child(8), .competitor-manager-table td:nth-child(8),
.competitor-manager-table th:nth-child(9), .competitor-manager-table td:nth-child(9),
.competitor-manager-table th:nth-child(10), .competitor-manager-table td:nth-child(10) { width: 104px; text-align: right; }
.competitor-manager-table th:nth-child(11), .competitor-manager-table td:nth-child(11) { width: 156px; }
.competitor-manager-table th:nth-child(12), .competitor-manager-table td:nth-child(12) { width: 240px; }
.competitor-manager-table th:nth-child(13), .competitor-manager-table td:nth-child(13) { width: 184px; }
.competitor-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 24px;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eef7ff;
  color: #236eb5;
  font-weight: 800;
}
.competitor-source-cell,
.competitor-review-note {
  color: var(--muted);
  font-size: 12px;
  white-space: normal;
  line-height: 1.45;
}
.competitor-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.competitor-actions form {
  margin: 0;
}
.competitor-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 780;
  cursor: pointer;
  border: 1px solid transparent;
  background: #fff;
}
.competitor-action-btn.approve {
  color: #0f7a58;
  background: linear-gradient(180deg, #effbf6, #e6f7f0);
  border-color: #b9e6d4;
}
.competitor-action-btn.reject {
  color: #b42318;
  background: linear-gradient(180deg, #fff6f5, #fdecec);
  border-color: #f2c4bf;
}
.competitor-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(43,62,84,0.10);
}
.competitor-status-done {
  color: var(--muted);
  font-weight: 720;
}
.notice {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background: linear-gradient(180deg, #f8fbfe, #eef6fc);
  color: #244563;
  font-weight: 650;
}
.notice.bad {
  border-color: #f0c4c2;
  background: linear-gradient(180deg, #fff8f7, #fdeeee);
  color: #a3312b;
}
.config-center-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.config-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.78);
  box-shadow: 0 8px 22px rgba(43,62,84,0.05);
}
.config-filter-buttons {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.config-filter-btn {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #cbddea;
  border-radius: 999px;
  background: rgba(248,251,254,0.92);
  color: #2b679a;
  font-size: 12px;
  font-weight: 760;
  cursor: pointer;
}
.config-filter-btn.active {
  border-color: #9dc7ea;
  background: linear-gradient(180deg, #eef8ff, #e5f2fd);
  color: #1765a6;
}
.config-search {
  width: 240px;
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}
.config-section {
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.86), rgba(246,251,254,0.78)),
    radial-gradient(circle at 100% 0%, rgba(35,110,181,0.055), transparent 42%);
  overflow: hidden;
}
.config-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(224, 234, 243, 0.92);
}
.config-section-head strong {
  color: var(--strong);
  font-size: 14px;
}
.config-section-head span {
  color: var(--muted);
  font-size: 12px;
}
.config-table {
  min-width: 1040px;
  table-layout: fixed;
}
.config-table th,
.config-table td {
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.35;
}
.config-table th:nth-child(1),
.config-table td:nth-child(1) {
  width: 210px;
}
.config-table th:nth-child(2),
.config-table td:nth-child(2) {
  width: 150px;
}
.config-table th:nth-child(3),
.config-table td:nth-child(3) {
  width: 170px;
}
.config-table th:nth-child(4),
.config-table td:nth-child(4) {
  width: 72px;
  text-align: center;
}
.config-table th:nth-child(5),
.config-table td:nth-child(5) {
  width: 438px;
  color: var(--muted);
  white-space: normal;
}
.config-current {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 25px;
  padding: 2px 7px;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background: rgba(244,249,253,0.72);
  color: #285d8f;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.config-input {
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  font-size: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.config-textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}
.mixed-gate-section {
  border-color: rgba(145, 190, 226, 0.95);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.92), rgba(238,247,254,0.82)),
    linear-gradient(90deg, rgba(35,110,181,0.065), transparent 54%);
}
.mixed-gate-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: 12px;
  padding: 12px;
}
.mixed-gate-panel {
  min-width: 0;
  border: 1px solid rgba(198, 216, 231, 0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.74);
  box-shadow: 0 8px 20px rgba(38,59,84,0.045);
}
.mixed-gate-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(224, 234, 243, 0.92);
}
.mixed-gate-panel-head strong {
  color: var(--strong);
  font-size: 13px;
}
.mixed-gate-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 24px;
  padding: 2px 8px;
  border: 1px solid #b8d5ed;
  border-radius: 999px;
  background: linear-gradient(180deg, #eef8ff, #e6f2fb);
  color: #236eb5;
  font-size: 12px;
  font-weight: 820;
}
.mixed-gate-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 168px;
  overflow: auto;
  padding: 10px;
}
.mixed-gate-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid #c4dbed;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(248,252,255,0.96), rgba(236,246,253,0.88));
  color: #244563;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 780;
}
.mixed-gate-empty {
  padding: 12px;
  color: var(--muted);
  font-size: 12px;
}
.mixed-gate-edit-body {
  padding: 10px;
}
.mixed-gate-textarea {
  min-height: 156px;
  resize: vertical;
  border-color: #b8d5ed;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,252,255,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.mixed-gate-note {
  margin: 0 12px 12px;
  padding: 8px 10px;
  border: 1px solid rgba(184,213,237,0.86);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(245,251,255,0.92), rgba(236,247,254,0.78));
  color: #486882;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.mixed-gate-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}
.mixed-gate-meta code {
  color: #286ca5;
  font-size: 11px;
}
.config-readonly-panel {
  margin-bottom: 12px;
}
.config-readonly-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.config-readonly-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(203, 221, 234, 0.88);
  border-radius: 6px;
  background: rgba(248,251,254,0.78);
}
.config-readonly-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}
.config-readonly-value {
  min-height: 28px;
  max-height: 110px;
  overflow: auto;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background: rgba(255,255,255,0.82);
  color: #243b53;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-all;
}
.config-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(224, 234, 243, 0.92);
  background: linear-gradient(180deg, rgba(248,251,254,0.78), rgba(241,248,253,0.68));
}
.config-submit {
  width: auto !important;
  min-width: 156px;
  margin-top: 0 !important;
}
.config-version-table {
  min-width: 980px;
}
.manage-subnav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: -4px 0 14px;
  padding: 8px;
  border: 1px solid rgba(196, 214, 229, 0.76);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(244,249,253,0.72)),
    linear-gradient(90deg, rgba(35,110,181,0.045), transparent 52%);
}
.manage-subnav-tabs {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.manage-subnav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #4b647d;
  font-weight: 760;
  font-size: 13px;
}
.manage-subnav a.active {
  border-color: #b8d5ed;
  background: linear-gradient(180deg, #eef7ff, #e5f1fb);
  color: #1f67a2;
}
.manage-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}
.manage-overview-card {
  min-height: 92px;
  padding: 15px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,251,254,0.82)),
    linear-gradient(135deg, rgba(35,110,181,0.060), transparent 48%);
  box-shadow: 0 12px 28px rgba(38, 59, 84, 0.08);
}
.manage-overview-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  margin-bottom: 7px;
}
.manage-overview-card strong {
  display: block;
  color: var(--strong);
  font-size: 18px;
  margin-bottom: 6px;
}
.manage-overview-card em {
  display: block;
  color: #536c85;
  font-style: normal;
  line-height: 1.55;
}
.manage-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 10px;
}
.manage-section-title h2 {
  font-size: 17px;
}
.manage-section-title span {
  color: var(--muted);
}
.config-rollback-form {
  margin: 0;
}
.config-rollback-btn {
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #c9deef;
  border-radius: 6px;
  background: linear-gradient(180deg, #f0f7fd, #e5f0fa);
  color: #285d8f;
  font-weight: 760;
  cursor: pointer;
}
.config-rollback-btn:hover {
  box-shadow: 0 7px 16px rgba(43,62,84,0.10);
}
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(248,251,254,0.80), rgba(244,248,252,0.70));
  color: var(--muted);
}
.pager-info {
  font-size: 12px;
  font-weight: 650;
}
.pager-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.pager-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #cbddea;
  background: #ffffff;
  color: #236eb5;
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
}
.pager-btn.disabled {
  color: #9aa8b8;
  background: #f5f8fb;
  cursor: default;
}
.pager-size-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 4px 7px;
  border: 1px solid #cbddea;
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,249,253,0.92));
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 14px rgba(43,62,84,0.05);
}
.pager-size-select {
  height: 24px;
  min-width: 58px;
  padding: 2px 22px 2px 8px;
  border: 1px solid rgba(171, 196, 218, 0.92);
  border-radius: 5px;
  background: #fff;
  color: #236eb5;
  font: inherit;
  font-weight: 760;
  outline: none;
}
.pager-size-select:focus {
  border-color: #7eb4e0;
  box-shadow: 0 0 0 3px rgba(35,110,181,0.12);
}
.fund-table table { table-layout: fixed; }
.fund-table th,
.fund-table td { padding: 9px 10px; vertical-align: middle; }
.fund-table-suite table { width: 1260px; min-width: 1260px; }
.fund-table-suite th:nth-child(1), .fund-table-suite td:nth-child(1) { width: 66px; text-align: center; }
.fund-table-suite th:nth-child(2), .fund-table-suite td:nth-child(2) { width: 86px; }
.fund-table-suite th:nth-child(3), .fund-table-suite td:nth-child(3) { width: 126px; }
.fund-table-suite th:nth-child(4), .fund-table-suite td:nth-child(4) { width: 190px; }
.fund-table-suite th:nth-child(5), .fund-table-suite td:nth-child(5) { width: 150px; text-align: right; font-weight: 720; color: #22364d; }
.fund-table-suite th:nth-child(6), .fund-table-suite td:nth-child(6) { width: 320px; color: var(--muted); white-space: normal; line-height: 1.45; }
.fund-table-suite th:nth-child(7), .fund-table-suite td:nth-child(7) { width: 90px; text-align: center; }
.fund-table-suite th:nth-child(8), .fund-table-suite td:nth-child(8) { width: 232px; overflow: visible; text-overflow: clip; }
.fund-table-nosuite table { width: 1540px; min-width: 1540px; }
.fund-table-nosuite th:nth-child(1), .fund-table-nosuite td:nth-child(1) { width: 74px; }
.fund-table-nosuite th:nth-child(2), .fund-table-nosuite td:nth-child(2) { width: 116px; }
.fund-table-nosuite th:nth-child(3), .fund-table-nosuite td:nth-child(3) { width: 174px; }
.fund-table-nosuite th:nth-child(4), .fund-table-nosuite td:nth-child(4) { width: 150px; text-align: left; font-weight: 720; color: #22364d; }
.fund-table-nosuite th:nth-child(5), .fund-table-nosuite td:nth-child(5) { width: 370px; color: var(--muted); white-space: normal; line-height: 1.45; }
.fund-table-nosuite th:nth-child(6), .fund-table-nosuite td:nth-child(6) { width: 86px; text-align: left; }
.fund-table-nosuite th:nth-child(7), .fund-table-nosuite td:nth-child(7) { width: 530px; overflow: visible; text-overflow: clip; }
.fund-collection-table table { table-layout: fixed; }
.fund-collection-table th,
.fund-collection-table td { padding: 9px 10px; }
.fund-collection-suite table { width: 1220px; min-width: 1220px; }
.fund-collection-suite th:nth-child(1), .fund-collection-suite td:nth-child(1) { width: 58px; text-align: center; }
.fund-collection-suite th:nth-child(2), .fund-collection-suite td:nth-child(2) { width: 104px; }
.fund-collection-suite th:nth-child(3), .fund-collection-suite td:nth-child(3) { width: 150px; }
.fund-collection-suite th:nth-child(4), .fund-collection-suite td:nth-child(4) { width: 150px; }
.fund-collection-suite th:nth-child(5), .fund-collection-suite td:nth-child(5) { width: 150px; }
.fund-collection-suite th:nth-child(6), .fund-collection-suite td:nth-child(6) { width: 320px; color: var(--muted); white-space: normal; line-height: 1.45; }
.fund-collection-suite th:nth-child(7), .fund-collection-suite td:nth-child(7) { width: 94px; text-align: center; }
.fund-collection-suite th:nth-child(8), .fund-collection-suite td:nth-child(8) { width: 194px; }
.fund-collection-nosuite table { width: 1780px; min-width: 1780px; }
.fund-collection-nosuite th:nth-child(1), .fund-collection-nosuite td:nth-child(1) { width: 96px; }
.fund-collection-nosuite th:nth-child(2), .fund-collection-nosuite td:nth-child(2) { width: 150px; }
.fund-collection-nosuite th:nth-child(3), .fund-collection-nosuite td:nth-child(3) { width: 430px; }
.fund-collection-nosuite th:nth-child(4), .fund-collection-nosuite td:nth-child(4) { width: 430px; }
.fund-collection-nosuite th:nth-child(5), .fund-collection-nosuite td:nth-child(5) { width: 340px; color: var(--muted); white-space: normal; line-height: 1.45; }
.fund-collection-nosuite th:nth-child(6), .fund-collection-nosuite td:nth-child(6) { width: 90px; text-align: left; }
.fund-collection-nosuite th:nth-child(7), .fund-collection-nosuite td:nth-child(7) { width: 244px; }
.fund-okx-address {
  color: #2069a8;
  font-weight: 760;
}
.fund-collect-rule {
  display: inline-block;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #d8e7f3;
  background: linear-gradient(180deg, #f8fbfe, #eef6fc);
  color: #416078;
  font-size: 12px;
  white-space: normal;
  line-height: 1.45;
}
.fund-action-table table { table-layout: fixed; }
.fund-action-table th,
.fund-action-table td { padding: 9px 10px; }
.fund-type-menu {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.fund-type-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #506983;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.fund-type-menu summary::-webkit-details-marker {
  display: none;
}
.fund-type-menu summary::after {
  content: "▾";
  color: #2a74aa;
  font-size: 10px;
  line-height: 1;
}
.fund-type-menu[open] summary,
.fund-type-menu summary:hover {
  color: #0d5892;
  border-color: #b9d8ef;
  background: linear-gradient(180deg, #f5fbff, #e8f4fd);
}
.fund-type-menu strong {
  color: #0d5892;
  font-weight: 800;
}
.fund-type-menu-options {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  flex-direction: column;
  gap: 6px;
  min-width: 178px;
  max-width: 260px;
  padding: 8px;
  border: 1px solid #c5dced;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,248,253,0.98)),
    radial-gradient(circle at 12% 0%, rgba(35,110,181,0.10), transparent 42%);
  box-shadow: 0 16px 36px rgba(40, 72, 104, 0.16);
}
.fund-type-menu[open] .fund-type-menu-options {
  display: flex;
}
.fund-type-th {
  position: sticky;
  overflow: visible;
  z-index: 6;
}
.fund-type-option,
.fund-type-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #c8dfef;
  background: linear-gradient(180deg, #fbfdff, #eef7fd);
  color: #2a5d8d;
  font-weight: 760;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}
.fund-type-option {
  width: 100%;
}
.fund-type-option em {
  color: var(--muted);
  font-style: normal;
  font-weight: 720;
}
.fund-type-option.active,
.fund-type-link.active {
  color: #0d5892;
  border-color: #8fc5ee;
  background: linear-gradient(180deg, #edf8ff, #dceffc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}
.fund-type-link {
  min-height: 26px;
  padding: 3px 9px;
}
.fund-empty-type-filter {
  padding: 0 16px 12px;
}
.fund-action-suite table { width: 1900px; min-width: 1900px; }
.fund-action-suite th:nth-child(1), .fund-action-suite td:nth-child(1) { width: 126px; }
.fund-action-suite th:nth-child(2), .fund-action-suite td:nth-child(2) { width: 52px; text-align: center; }
.fund-action-suite th:nth-child(3), .fund-action-suite td:nth-child(3) { width: 116px; }
.fund-action-suite th:nth-child(4), .fund-action-suite td:nth-child(4) { width: 84px; text-align: center; }
.fund-action-suite th:nth-child(5), .fund-action-suite td:nth-child(5) { width: 156px; }
.fund-action-suite th:nth-child(6), .fund-action-suite td:nth-child(6) { width: 650px; }
.fund-action-suite th:nth-child(7), .fund-action-suite td:nth-child(7) { width: 330px; }
.fund-action-suite th:nth-child(8), .fund-action-suite td:nth-child(8) { width: 300px; }
.fund-action-nosuite table { width: 2260px; min-width: 2260px; }
.fund-action-nosuite th:nth-child(1), .fund-action-nosuite td:nth-child(1) { width: 124px; }
.fund-action-nosuite th:nth-child(2), .fund-action-nosuite td:nth-child(2) { width: 118px; }
.fund-action-nosuite th:nth-child(3), .fund-action-nosuite td:nth-child(3) { width: 78px; text-align: left; }
.fund-action-nosuite th:nth-child(4), .fund-action-nosuite td:nth-child(4) { width: 138px; }
.fund-action-nosuite th:nth-child(5), .fund-action-nosuite td:nth-child(5) { width: 620px; }
.fund-action-nosuite th:nth-child(6), .fund-action-nosuite td:nth-child(6) { width: 710px; }
.fund-action-nosuite th:nth-child(7), .fund-action-nosuite td:nth-child(7) { width: 472px; }
.fund-action-suite td:nth-child(6),
.fund-action-nosuite td:nth-child(5) {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.fund-action-suite td:nth-child(8),
.fund-action-nosuite td:nth-child(7) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fund-amount-cell {
  text-align: left;
  color: #20334a;
}
.fund-amount-cell span {
  display: inline-flex;
  justify-content: flex-start;
  min-width: 132px;
  font-weight: 760;
  letter-spacing: 0;
}
.fund-hash-chip {
  display: block;
  width: max-content;
  max-width: none;
  min-height: 24px;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid #cbddea;
  background: linear-gradient(180deg, #f8fbfe, #edf5fb);
  color: #203a55;
  overflow-x: visible;
  overflow-y: hidden;
  text-overflow: initial;
  white-space: nowrap;
  letter-spacing: 0;
  scrollbar-width: thin;
}
.fund-route-cell {
  white-space: normal;
  padding-right: 10px;
}
.fund-route-line {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 24px;
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(244, 249, 253, 0.78);
}
.fund-route-line + .fund-route-line {
  margin-top: 4px;
}
.fund-route-line span:first-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.fund-route-address {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #1f344c;
  font-size: 12px;
}
.fund-route-empty {
  color: var(--muted);
}
.fund-note {
  display: block;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  color: #42576e;
}
.fund-table-suite .fund-address,
.fund-collection-suite .fund-address {
  overflow: hidden;
  text-overflow: ellipsis;
}
.bot2-funds-page .fund-table-suite table {
  width: 1620px;
  min-width: 1620px;
}
.bot2-funds-page .fund-table-suite th:nth-child(8),
.bot2-funds-page .fund-table-suite td:nth-child(8) {
  width: 592px;
  overflow: visible;
  text-overflow: clip;
}
.bot2-funds-page .fund-table-suite .fund-address {
  overflow: visible;
  text-overflow: clip;
}
.bot2-funds-page .fund-collection-suite table {
  width: 1880px;
  min-width: 1880px;
}
.bot2-funds-page .fund-collection-suite th:nth-child(4),
.bot2-funds-page .fund-collection-suite td:nth-child(4),
.bot2-funds-page .fund-collection-suite th:nth-child(5),
.bot2-funds-page .fund-collection-suite td:nth-child(5) {
  width: 430px;
  overflow: visible;
  text-overflow: clip;
}
.bot2-funds-page .fund-collection-suite .fund-address {
  overflow: visible;
  text-overflow: clip;
}
.fund-action-suite .fund-hash-chip {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
}
.fund-action-suite .fund-route-address {
  overflow: hidden;
  text-overflow: ellipsis;
}
.fund-action-suite .fund-note {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bot1-funds-page .fund-action-nosuite table {
  width: 1928px;
  min-width: 1928px;
}
.bot1-funds-page .fund-action-nosuite th,
.bot1-funds-page .fund-action-nosuite td {
  padding-left: 12px;
  padding-right: 12px;
}
.bot1-funds-page .fund-action-nosuite th:nth-child(1),
.bot1-funds-page .fund-action-nosuite td:nth-child(1) { width: 136px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(2),
.bot1-funds-page .fund-action-nosuite td:nth-child(2) { width: 190px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(3),
.bot1-funds-page .fund-action-nosuite td:nth-child(3) { width: 96px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(4),
.bot1-funds-page .fund-action-nosuite td:nth-child(4) { width: 164px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(5),
.bot1-funds-page .fund-action-nosuite td:nth-child(5) { width: 610px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(6),
.bot1-funds-page .fund-action-nosuite td:nth-child(6) { width: 510px; }
.bot1-funds-page .fund-action-nosuite th:nth-child(7),
.bot1-funds-page .fund-action-nosuite td:nth-child(7) { width: 222px; }
.bot1-funds-page .fund-action-nosuite .fund-amount-cell span {
  min-width: 142px;
}
.bot1-funds-page .fund-action-nosuite .fund-route-cell {
  padding-right: 6px;
}
.bot1-funds-page .fund-action-nosuite .fund-route-line {
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 7px;
}
.bot1-funds-page .fund-action-nosuite .fund-note {
  max-width: 206px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fund-empty-cell { color: var(--muted); }
.fund-address {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #1e344d;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.42;
}
.fund-role-accent td {
  background-image: linear-gradient(90deg, rgba(35, 110, 181, 0.060), transparent 34%);
}
.fund-profit-accent td {
  background-image: linear-gradient(90deg, rgba(22, 134, 95, 0.058), transparent 34%);
}
.fund-role-blue,
.fund-role-blue .fund-address {
  color: #1f6fb8;
  font-weight: 760;
}
.fund-role-green,
.fund-role-green .fund-address {
  color: #13845d;
  font-weight: 760;
}
.fund-role-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 760;
  border: 1px solid transparent;
}
.fund-role-chip.blue {
  color: #1f6fb8;
  background: #eaf4fd;
  border-color: #c8dff4;
}
.fund-role-chip.green {
  color: #13845d;
  background: #e9f7f0;
  border-color: #c3e7d5;
}
.health {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 12px;
}
.health.ok { color: var(--good); background: #eaf7f1; border-color: #c6e8da; }
.health.warn { color: var(--warn); background: #fff7e8; border-color: #ecd9ad; }
.health.bad { color: var(--bad); background: #fff0f1; border-color: #efc7cc; }
.health.neutral { color: var(--muted); background: #f4f8fc; border-color: var(--line); }
.competitor-address {
  color: #7b3ff2;
  font-weight: 700;
}
.competitor-type {
  color: #7b3ff2;
  font-weight: 700;
}
.miss-reason-cell {
  white-space: nowrap;
}
.miss-reason-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.miss-reason-lost {
  color: #235f9b;
  background: #eaf4fd;
  border-color: #bfdaf2;
}
.miss-reason-not-included {
  color: #1f5f8b;
  background: #edf6fb;
  border-color: #bdd9ea;
}
.miss-reason-no-front {
  color: #315978;
  background: #edf6fb;
  border-color: #c4ddea;
}
.miss-reason-latency-high {
  color: #9a4f00;
  background: #fff4e5;
  border-color: #e7c58f;
}
.miss-reason-ratio-high {
  color: #b42318;
  background: #fff2f2;
  border-color: #efc7cc;
}
.miss-reason-ratio-gray {
  color: #805400;
  background: #fff7e8;
  border-color: #ecd9ad;
}
.miss-reason-position-low {
  color: #56657a;
  background: #f4f8fc;
  border-color: #d7e1ec;
}
.miss-reason-builder-fail {
  color: #9a4f00;
  background: #fff4e5;
  border-color: #e7c58f;
}
.miss-reason-landed {
  color: #4f46a5;
  background: #f1f0ff;
  border-color: #d3d0fb;
}
.miss-reason-unsent {
  color: #b54708;
  background: #fff7e8;
  border-color: #efd29b;
}
.miss-reason-unknown {
  color: var(--muted);
  background: #f4f8fc;
  border-color: #d7e1ec;
}
.miss-reason-missing {
  color: #6a4a12;
  background: #fff8e8;
  border-color: #ecd39e;
}
.follow-result-cell {
  text-align: center;
  overflow: visible !important;
}
.follow-result-text {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.follow-result-win {
  color: #0f7a58;
}
.follow-result-loss {
  color: #bd3441;
}
.follow-result-pending {
  color: #236eb5;
}
.follow-result-neutral {
  color: var(--muted);
}
.pnl-text {
  display: inline-block;
  text-align: right;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.2;
  font-family: inherit;
  font-variant-numeric: normal;
  font-feature-settings: "kern" 1, "tnum" 0;
  font-kerning: normal;
  letter-spacing: 0;
  word-spacing: 0;
  white-space: nowrap;
}
.pnl-win {
  color: #0f7a58;
}
.pnl-loss {
  color: #bd3441;
}
.pnl-flat {
  color: #52657b;
}
.pnl-cell {
  overflow: visible !important;
  text-overflow: clip !important;
  text-align: right;
}
.stat-pnl-cell {
  text-align: left;
}
.stat-pnl-cell .pnl-text {
  text-align: left;
}
.fee-cell { color: #20334a; font-weight: 620; }
.latency-cell {
  color: #1f5f9a;
  font-weight: 760;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.latency-missing-cell {
  color: #8a6b36;
}
.latency-board table {
  min-width: 1180px;
}
.latency-board th,
.latency-board td {
  text-align: center;
}
.latency-board th:first-child,
.latency-board td:first-child {
  text-align: left;
}
.latency-chart-shell {
  margin: 12px 0 14px;
  padding: 12px;
  border: 1px solid rgba(126, 179, 220, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(249,253,255,0.98), rgba(239,248,254,0.92)),
    radial-gradient(circle at 18% 8%, rgba(35,110,181,0.085), transparent 34%),
    radial-gradient(circle at 92% 0%, rgba(123,63,242,0.075), transparent 36%);
  overflow-x: auto;
  contain: layout paint;
  scrollbar-gutter: stable;
  touch-action: pan-x pan-y;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.80), 0 12px 30px rgba(42, 88, 128, 0.07);
}
.latency-chart-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #455d76;
  font-size: 12px;
  font-weight: 760;
}
.latency-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid rgba(187, 212, 232, 0.76);
  border-radius: 999px;
  background: rgba(255,255,255,0.64);
  white-space: nowrap;
}
.latency-legend-item i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(35,110,181,0.08), 0 0 12px currentColor;
}
.latency-kline-svg {
  display: block;
  width: 100%;
  min-width: 1180px;
  height: auto;
}
.latency-chart-bg {
  fill: rgba(251,254,255,0.78);
  stroke: rgba(169, 205, 232, 0.72);
}
.latency-chart-scan {
  fill: url(#latencyGridPattern);
  opacity: .26;
}
.latency-chart-grid {
  stroke: rgba(170, 203, 228, 0.54);
  stroke-width: .75;
}
.latency-chart-axis {
  fill: #6f8299;
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0;
}
.latency-chart-dot {
  stroke: #ffffff;
  stroke-width: .9;
  filter: drop-shadow(0 1px 3px rgba(35,110,181,0.16));
}
.latency-chart-low-dot {
  opacity: .58;
}
.latency-chart-line {
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .92;
}
.latency-chart-band {
  opacity: .12;
}
.latency-chart-range-line {
  stroke-width: .85;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .32;
}
.latency-chart-hit {
  fill: transparent;
  pointer-events: all;
  cursor: crosshair;
}
.snpr-latency-tooltip {
  position: fixed;
  z-index: 9998;
  max-width: min(360px, calc(100vw - 24px));
  padding: 9px 11px;
  border: 1px solid rgba(142, 187, 224, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,248,254,0.96)),
    radial-gradient(circle at 100% 0%, rgba(123,63,242,0.10), transparent 46%);
  box-shadow: 0 18px 42px rgba(32, 68, 104, 0.18);
  color: #172b42;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.5;
  white-space: pre-line;
  pointer-events: none;
}
.snpr-latency-tooltip.hidden {
  display: none;
}
.latency-summary-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.latency-summary-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 11px;
  border: 1px solid rgba(202, 222, 238, 0.86);
  border-radius: 8px;
  background: rgba(255,255,255,0.68);
  color: #435b73;
  font-size: 12px;
}
.latency-summary-card strong {
  color: #18283b;
  font-size: 13px;
}
.latency-summary-card span {
  white-space: nowrap;
}
.muted-cell {
  color: #73839a;
  font-weight: 650;
  white-space: nowrap;
}
.tx-full,
.follow-hash,
.fund-tx-cell,
.fund-hash-chip {
  color: inherit;
  letter-spacing: 0;
}
.addr-short {
  color: #284058;
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.addr-short.competitor-address {
  color: #7b3ff2;
  font-weight: 800;
}
.addr-popover-cell {
  overflow: visible !important;
  text-overflow: clip !important;
}
.addr-popover-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #cfe1f0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbfe, #edf5fb);
  color: #284058;
  font: inherit;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 760;
  letter-spacing: 0;
  cursor: pointer;
}
.addr-popover-btn:hover,
.addr-popover-btn:focus-visible {
  border-color: #8abbe8;
  background: linear-gradient(180deg, #eef7ff, #dcecf9);
  outline: none;
}
.addr-popover-btn.competitor-address {
  color: #7b3ff2;
  border-color: #d8c9fb;
  background: linear-gradient(180deg, #fbf8ff, #f0eafd);
  font-weight: 820;
}
.addr-popover-btn.addr-text-popover {
  display: inline;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-align: inherit;
}
.addr-popover-btn.addr-text-popover:hover,
.addr-popover-btn.addr-text-popover:focus-visible {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.snpr-address-popover {
  position: fixed;
  z-index: 9999;
  min-width: 360px;
  max-width: min(620px, calc(100vw - 24px));
  padding: 12px 14px;
  border: 1px solid #bfd7ee;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(33, 61, 89, 0.18);
  color: #172b42;
}
.snpr-address-popover.hidden {
  display: none;
}
.snpr-address-popover .popover-label {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}
.snpr-address-popover .popover-address {
  overflow-wrap: anywhere;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: 0;
}
.builder-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f2f8fd, #e6f2fb);
  color: #236eb5;
  border: 1px solid #cfe1f0;
  font-weight: 700;
}
.market-cell { text-align: center; }
.follow-exec-cell {
  text-align: center;
  font-weight: 720;
  white-space: nowrap;
  overflow: visible !important;
  text-overflow: clip !important;
}
.market-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #d4e3ef;
  background: linear-gradient(180deg, #f8fbfe, #edf5fb);
  color: #39516b;
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
}
.market-fm {
  color: #197456;
  border-color: #c6e7dc;
  background: linear-gradient(180deg, #f7fdfa, #e9f8f2);
}
.market-v2 {
  color: #6f45cf;
  border-color: #d9ccfb;
  background: linear-gradient(180deg, #fbf8ff, #f0ebfe);
}
.follow-table table { width: 2498px; min-width: 2498px; table-layout: fixed; }
.follow-table th, .follow-table td { overflow: hidden; text-overflow: ellipsis; }
.follow-table th:nth-child(1), .follow-table td:nth-child(1) { width: 70px; }
.follow-table th:nth-child(2), .follow-table td:nth-child(2) { width: 160px; }
.follow-table th:nth-child(3), .follow-table td:nth-child(3) { width: 66px; text-align: center; padding-left: 4px; padding-right: 4px; }
.follow-table th:nth-child(4), .follow-table td:nth-child(4) { width: 76px; text-align: center; padding-left: 4px; padding-right: 4px; }
.follow-table th:nth-child(5), .follow-table td:nth-child(5) {
  width: 116px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: clip;
}
.follow-table th:nth-child(6), .follow-table td:nth-child(6) {
  width: 116px;
  padding-left: 12px;
  overflow: hidden;
  text-overflow: clip;
}
.follow-table th:nth-child(7), .follow-table td:nth-child(7) { width: 70px; text-align: center; }
.follow-table th:nth-child(8), .follow-table td:nth-child(8),
.follow-table th:nth-child(9), .follow-table td:nth-child(9),
.follow-table th:nth-child(10), .follow-table td:nth-child(10),
.follow-table th:nth-child(11), .follow-table td:nth-child(11),
.follow-table th:nth-child(12), .follow-table td:nth-child(12) { width: 100px; text-align: right; }
.follow-table th:nth-child(13), .follow-table td:nth-child(13) {
  width: 136px;
  text-align: right;
  overflow: visible;
  text-overflow: clip;
}
.follow-table th:nth-child(14), .follow-table td:nth-child(14) { width: 92px; text-align: center; }
.follow-table th:nth-child(15), .follow-table td:nth-child(15),
.follow-table th:nth-child(16), .follow-table td:nth-child(16) {
  width: 600px;
  padding-left: 6px;
  padding-right: 6px;
  overflow: hidden;
  text-overflow: clip;
}
.follow-table-market table { width: 2602px; min-width: 2602px; }
.follow-table-market th:nth-child(3), .follow-table-market td:nth-child(3) { width: 66px; text-align: center; padding-left: 4px; padding-right: 4px; }
.follow-table-market th:nth-child(4), .follow-table-market td:nth-child(4) { width: 56px; text-align: center; padding-left: 4px; padding-right: 4px; }
.follow-table-market th:nth-child(5), .follow-table-market td:nth-child(5) {
  width: 76px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.follow-table-market th:nth-child(6), .follow-table-market td:nth-child(6) {
  width: 116px;
  padding-left: 14px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: clip;
}
.follow-table-market th:nth-child(7), .follow-table-market td:nth-child(7) {
  width: 116px;
  padding-left: 12px;
  padding-right: 14px;
  overflow: hidden;
  text-overflow: clip;
}
.follow-table-market th:nth-child(8), .follow-table-market td:nth-child(8) { width: 70px; text-align: center; }
.follow-table-market th:nth-child(9), .follow-table-market td:nth-child(9),
.follow-table-market th:nth-child(10), .follow-table-market td:nth-child(10),
.follow-table-market th:nth-child(11), .follow-table-market td:nth-child(11),
.follow-table-market th:nth-child(12), .follow-table-market td:nth-child(12),
.follow-table-market th:nth-child(13), .follow-table-market td:nth-child(13) { width: 100px; text-align: right; }
.follow-table-market th:nth-child(14), .follow-table-market td:nth-child(14) {
  width: 136px;
  text-align: right;
  overflow: visible;
  text-overflow: clip;
}
.follow-table-market th:nth-child(15), .follow-table-market td:nth-child(15) { width: 92px; text-align: center; }
.follow-table-market th:nth-child(16), .follow-table-market td:nth-child(16),
.follow-table-market th:nth-child(17), .follow-table-market td:nth-child(17) {
  width: 600px;
  padding-left: 6px;
  padding-right: 6px;
  overflow: hidden;
  text-overflow: clip;
}
.overview-scroll {
  max-height: 360px;
  overflow: auto;
}
.overview-scroll table { min-width: 1180px; }
.miss-table table { width: 2460px; min-width: 2460px; table-layout: fixed; }
.miss-table th, .miss-table td { padding: 10px 10px; }
.miss-table th, .miss-table td { overflow: hidden; text-overflow: ellipsis; }
.miss-table .col-time { width: 168px; overflow: visible; text-overflow: clip; }
.miss-table .time-cell { width: 168px; overflow: visible; text-overflow: clip; }
.miss-table th:nth-child(2), .miss-table td:nth-child(2) { width: 104px; }
.miss-table th:nth-child(3), .miss-table td:nth-child(3) {
  width: 118px;
  padding-right: 8px;
  overflow: hidden;
  text-overflow: clip;
}
.miss-table th:nth-child(4), .miss-table td:nth-child(4) {
  width: 118px;
  padding-left: 12px;
  overflow: hidden;
  text-overflow: clip;
}
.miss-table th:nth-child(5), .miss-table td:nth-child(5) { width: 70px; text-align: center; color: var(--muted); }
.miss-table th:nth-child(6), .miss-table td:nth-child(6) { width: 96px; text-align: center; }
.miss-table th:nth-child(7), .miss-table td:nth-child(7) {
  width: 150px;
  overflow: visible;
  text-overflow: clip;
}
.miss-table td:nth-child(7) {
  padding-left: 6px;
  padding-right: 4px;
}
.miss-table th:nth-child(8), .miss-table td:nth-child(8),
.miss-table th:nth-child(9), .miss-table td:nth-child(9),
.miss-table th:nth-child(10), .miss-table td:nth-child(10),
.miss-table th:nth-child(11), .miss-table td:nth-child(11) {
  width: 104px;
  padding-left: 4px;
  padding-right: 4px;
  text-align: center;
}
.miss-table th:nth-child(12), .miss-table td:nth-child(12) {
  width: 146px;
  overflow: visible;
  text-overflow: clip;
}
.miss-table th:nth-child(13), .miss-table td:nth-child(13) { width: 118px; text-align: center; }
.miss-table th:nth-child(14), .miss-table td:nth-child(14),
.miss-table th:nth-child(15), .miss-table td:nth-child(15) { width: 112px; text-align: right; }
.miss-table th:nth-child(16), .miss-table td:nth-child(16) { width: 70px; text-align: center; }
.miss-table th:nth-child(17), .miss-table td:nth-child(17) { width: 600px; }
.miss-table td:nth-child(17) { overflow: visible; text-overflow: clip; }
.strategy-table table { width: max-content; min-width: 3000px; table-layout: auto; }
.strategy-table th, .strategy-table td { overflow: visible; text-overflow: clip; }
.strategy-table th:nth-child(1), .strategy-table td:nth-child(1) { min-width: 44px; text-align: center; }
.strategy-table th:nth-child(2), .strategy-table td:nth-child(2) { min-width: 380px; }
.strategy-table td:nth-child(2) {
  overflow: visible;
  text-overflow: clip;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  color: #1f3248;
}
.strategy-table th:nth-child(3), .strategy-table td:nth-child(3) { min-width: 82px; }
.strategy-table th:nth-child(4), .strategy-table td:nth-child(4) { min-width: 160px; }
.strategy-table th:nth-child(5), .strategy-table td:nth-child(5) { min-width: 105px; text-align: right; }
.strategy-table th:nth-child(6), .strategy-table td:nth-child(6) { min-width: 112px; text-align: center; color: var(--muted); }
.strategy-table th:nth-child(7), .strategy-table td:nth-child(7),
.strategy-table th:nth-child(9), .strategy-table td:nth-child(9) { min-width: 126px; text-align: center; color: var(--muted); }
.strategy-table th:nth-child(8), .strategy-table td:nth-child(8) { min-width: 140px; text-align: center; font-weight: 650; }
.strategy-table th:nth-child(10), .strategy-table td:nth-child(10) { min-width: 170px; text-align: center; color: #2f5f8f; font-weight: 650; }
.strategy-table th:nth-child(11), .strategy-table td:nth-child(11) { min-width: 260px; }
.strategy-table th:nth-child(12), .strategy-table td:nth-child(12) { min-width: 150px; }
.strategy-table th:nth-child(13), .strategy-table td:nth-child(13) { min-width: 135px; }
.strategy-table th:nth-child(14), .strategy-table td:nth-child(14) { min-width: 150px; }
.strategy-table th:nth-child(15), .strategy-table td:nth-child(15) { min-width: 130px; text-align: center; color: var(--muted); }
.strategy-table th:nth-child(16), .strategy-table td:nth-child(16),
.strategy-table th:nth-child(17), .strategy-table td:nth-child(17) { min-width: 190px; text-align: center; }
.strategy-table th:nth-child(18), .strategy-table td:nth-child(18) { min-width: 270px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs a {
  padding: 8px 12px;
  border: 1px solid rgba(196, 214, 229, 0.88);
  border-radius: 6px;
  background: rgba(255,255,255,0.68);
  color: var(--muted);
  box-shadow: 0 6px 16px rgba(43,62,84,0.05);
}
.tabs a.active, .tabs a:hover {
  color: var(--brand);
  border-color: #b8d2ea;
  background: linear-gradient(180deg, #eef7ff, #e4f0fb);
  box-shadow: 0 8px 18px rgba(35,110,181,0.10);
}
.table-wrap {
  overflow: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  contain: layout paint;
  scrollbar-gutter: stable;
}
table { width: 100%; border-collapse: collapse; min-width: 820px; }
th, td {
  padding: 9px 11px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
  text-align: left;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  background:
    linear-gradient(180deg, #f5f9fd, #ecf4fb),
    linear-gradient(90deg, rgba(35,110,181,0.040), transparent);
  position: sticky;
  top: 0;
  z-index: 1;
}
td { color: #304258; }
tr:hover td { background: rgba(239, 247, 253, 0.78); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(180deg, #f0f7fd, #e5f0fa);
  color: #285d8f;
  border: 1px solid #c9deef;
  font-size: 12px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  background: linear-gradient(180deg, #f7fbfe, #eef5fb);
  color: #263445;
  border-radius: 6px;
  line-height: 1.5;
  font-size: 12px;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 22%, rgba(35, 110, 181, 0.22), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(22, 134, 95, 0.12), transparent 26%),
    linear-gradient(135deg, #f9fcff 0%, #eef5fb 46%, #e7eff8 100%);
}
.login-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 110, 181, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 110, 181, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(115deg, rgba(0,0,0,0.76), transparent 72%);
  pointer-events: none;
}
.login-shell {
  width: min(1040px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 420px;
  align-items: stretch;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(185, 205, 224, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 24px 70px rgba(43, 62, 84, 0.18);
  overflow: hidden;
  backdrop-filter: blur(18px);
}
.login-visual {
  position: relative;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(244, 250, 255, 0.92), rgba(232, 242, 251, 0.88)),
    linear-gradient(90deg, rgba(35, 110, 181, 0.12), transparent);
  overflow: hidden;
}
.login-visual::before,
.login-visual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(35, 110, 181, 0.18);
  border-radius: 8px;
  transform: rotate(-8deg);
}
.login-visual::before {
  width: 360px;
  height: 220px;
  right: -96px;
  top: 92px;
  background: linear-gradient(135deg, rgba(255,255,255,0.48), rgba(35,110,181,0.045));
}
.login-visual::after {
  width: 260px;
  height: 160px;
  right: 72px;
  bottom: 56px;
  background: linear-gradient(135deg, rgba(22,134,95,0.08), rgba(255,255,255,0.24));
}
.login-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1d5f9e;
  font-weight: 780;
  letter-spacing: 0;
}
.login-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1f6fb8;
  box-shadow: 0 0 0 6px rgba(35,110,181,0.12);
}
.login-title {
  max-width: 520px;
  margin-top: 76px;
  font-size: 42px;
  line-height: 1.08;
  color: #132337;
  font-weight: 820;
  letter-spacing: 0;
}
.login-copy {
  max-width: 500px;
  margin-top: 18px;
  color: #66778c;
  font-size: 14px;
  line-height: 1.8;
}
.login-signal-grid {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  z-index: 2;
}
.login-signal {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(185, 205, 224, 0.76);
  border-radius: 8px;
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(10px);
}
.login-signal span {
  display: block;
  color: #7a899b;
  font-size: 11px;
  margin-bottom: 7px;
}
.login-signal strong {
  color: #20354d;
  font-size: 15px;
  letter-spacing: 0;
}
.login-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 38px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,250,253,0.94));
  border-left: 1px solid rgba(215, 225, 236, 0.9);
}
.login-card h1 {
  font-size: 24px;
  margin-bottom: 7px;
}
.login-subtitle {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.field { display: grid; gap: 6px; margin-top: 14px; }
label { color: var(--muted); font-size: 13px; }
input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #cfdce8;
  border-radius: 6px;
  font: inherit;
  background: rgba(255,255,255,0.88);
  color: var(--text);
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:focus {
  border-color: #82b2de;
  box-shadow: 0 0 0 4px rgba(35, 110, 181, 0.12);
  background: #ffffff;
}
button.primary {
  width: 100%;
  min-height: 44px;
  margin-top: 20px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #1f6fb8, #245a96);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(35, 110, 181, 0.22);
}
.login-footnote {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}
.alert {
  margin-top: 12px;
  color: var(--bad);
  font-size: 13px;
  background: #fff0f1;
  border: 1px solid #efc7cc;
  border-radius: 6px;
  padding: 9px 10px;
}
.empty { padding: 30px; text-align: center; color: var(--muted); }
@media (max-width: 960px) {
  .grid.cols-6, .grid.cols-5, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  .hero-grid, .section-grid { grid-template-columns: 1fr; }
  .hero-grid > .grid.cols-2 {
    height: auto;
    grid-template-rows: none;
  }
  .hero-grid > .grid.cols-2 > .metric {
    min-height: 104px;
    height: auto;
    justify-content: flex-start;
    padding: 13px;
  }
  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .dashboard-title { font-size: 25px; }
  .dashboard-meta {
    font-size: 12px;
    line-height: 1.55;
  }
  .dashboard-kpi-grid,
  .dashboard-split,
  .bot-status-grid,
  .dashboard-actions {
    grid-template-columns: 1fr;
  }
  .dashboard-card.primary { min-height: 150px; }
  .bot-status-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .bot-status-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-command {
    grid-template-columns: 1fr;
    padding: 16px;
    min-height: 0;
  }
  .health-hero {
    min-height: 0;
    padding: 14px;
  }
  .health-switch-grid {
    grid-template-columns: 1fr;
  }
  .health-switch-card {
    min-height: 0;
    padding: 14px;
  }
  .health-switch-card .health-note {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .health-switch-foot {
    margin-top: 9px;
    padding-top: 9px;
  }
  .health-hero-top {
    gap: 10px;
  }
  .health-title {
    font-size: 14px;
  }
  .health-sub {
    font-size: 11px;
    line-height: 1.45;
  }
  .health-hero-action .health {
    white-space: nowrap;
  }
  .health-count-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
  }
  .health-count {
    min-height: 58px;
    padding: 8px;
  }
  .health-count span {
    font-size: 10px;
    margin-bottom: 5px;
  }
  .health-count strong {
    font-size: 17px;
  }
  .health-notes {
    margin-top: 9px;
    gap: 5px;
  }
  .health-note {
    padding: 6px 7px;
    font-size: 11px;
  }
  .health-tab-panel .panel-head,
  .self-heal-subhead {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .self-heal-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-title { font-size: 28px; }
  .home-kpi-grid,
  .home-bot-grid,
  .home-bot-stats {
    grid-template-columns: 1fr;
  }
  .home-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric {
    padding: 13px;
    min-height: 104px;
  }
  .metric-value {
    font-size: 25px;
    line-height: 1.18;
  }
  .quick-nav,
  .bot-module-strip {
    gap: 10px;
  }
  .fund-hero, .fund-suite-grid { grid-template-columns: 1fr; }
  .topbar {
    height: auto;
    min-height: 70px;
    padding: 10px 14px;
    gap: 8px;
  }
  .brand-wrap {
    gap: 8px;
    flex: 0 1 auto;
  }
  .brand-mark { width: 30px; height: 30px; font-size: 12px; }
  .brand {
    white-space: nowrap;
    font-size: 13px;
  }
  .brand-sub, .topbar-status { display: none; }
  .nav {
    gap: 2px;
    padding: 3px;
    overflow-x: auto;
    scrollbar-width: none;
    max-width: 62vw;
    flex: 0 0 auto;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    min-height: 30px;
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
  }
  .layout { padding: 18px 16px 26px; }
  .site-footer { padding: 0 16px 18px; }
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .site-footer-meta {
    justify-content: flex-start;
  }
  .page-head { align-items: flex-start; flex-direction: column; }
  .page-head .muted,
  .page-head p,
  .dashboard-meta {
    overflow-wrap: anywhere;
  }
  .page-tools {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding: 9px 10px;
  }
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tabs a {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
  }
  .quick-nav {
    grid-template-columns: 1fr;
  }
  .quick-nav-head {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 221, 234, 0.82);
  }
  .quick-nav-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .monitor-leaderboard-grid {
    grid-template-columns: 1fr;
    padding: 10px;
  }
  .leaderboard-card-head {
    align-items: center;
    flex-direction: row;
  }
  .leaderboard-table table {
    min-width: 360px;
  }
  .leaderboard-table th,
  .leaderboard-table td {
    padding: 7px 5px;
    font-size: 11px;
  }
  .leaderboard-table th:nth-child(1), .leaderboard-table td:nth-child(1) { width: 30px; }
  .leaderboard-table th:nth-child(2), .leaderboard-table td:nth-child(2) { width: 112px; }
  .leaderboard-table th:nth-child(3), .leaderboard-table td:nth-child(3) { width: 96px; }
  .leaderboard-table th:nth-child(4), .leaderboard-table td:nth-child(4) { width: 56px; }
  .leaderboard-table th:nth-child(5), .leaderboard-table td:nth-child(5) { width: 48px; }
  .leaderboard-wallet .addr-popover-btn.addr-text-popover.leaderboard-address-text {
    font-size: 10.5px;
  }
  .bot-module-strip {
    grid-template-columns: 1fr;
  }
  .bot-module-head {
    border-right: 0;
    border-bottom: 1px solid rgba(196, 214, 229, 0.88);
  }
  .bot-module-items {
    grid-template-columns: 1fr;
  }
  .bot-module-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .bot-module-item:last-child {
    border-bottom: 0;
  }
  .date-filter-form { width: 100%; }
  .login-wrap { padding: 18px; }
  .login-shell {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .login-visual {
    min-height: 260px;
    padding: 26px;
  }
  .login-title {
    margin-top: 38px;
    font-size: 30px;
  }
  .login-copy { font-size: 13px; }
  .login-signal-grid {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 28px;
    grid-template-columns: 1fr;
  }
  .login-card {
    padding: 30px 24px;
    border-left: 0;
    border-top: 1px solid rgba(215, 225, 236, 0.9);
  }
  .panel { border-radius: 6px; }
  .panel-head { align-items: flex-start; flex-direction: column; gap: 6px; padding: 9px 10px; }
  .panel-body { padding: 11px; }
  th, td { padding: 10px 9px; font-size: 12px; line-height: 1.45; }
  th { font-size: 11px; line-height: 1.32; }
  .table-wrap {
    scrollbar-width: thin;
    border-radius: 6px;
  }
  .pager {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .pager-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .pager-size-form {
    order: -1;
  }
  .competitor-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitor-manager-table table { min-width: 1720px; }
  .fund-table-suite table { width: 1260px; min-width: 1260px; }
  .bot2-funds-page .fund-table-suite table { width: 1620px; min-width: 1620px; }
  .bot2-funds-page .fund-table-suite th:nth-child(8),
  .bot2-funds-page .fund-table-suite td:nth-child(8) { width: 592px; }
  .fund-table-nosuite table { width: 1540px; min-width: 1540px; }
  .fund-collection-suite table { width: 1220px; min-width: 1220px; }
  .bot2-funds-page .fund-collection-suite table { width: 1880px; min-width: 1880px; }
  .fund-collection-suite th:nth-child(4), .fund-collection-suite td:nth-child(4) { width: 150px; }
  .fund-collection-suite th:nth-child(5), .fund-collection-suite td:nth-child(5) { width: 150px; }
  .bot2-funds-page .fund-collection-suite th:nth-child(4),
  .bot2-funds-page .fund-collection-suite td:nth-child(4),
  .bot2-funds-page .fund-collection-suite th:nth-child(5),
  .bot2-funds-page .fund-collection-suite td:nth-child(5) { width: 430px; }
  .fund-collection-suite th:nth-child(6), .fund-collection-suite td:nth-child(6) { width: 320px; }
  .fund-collection-nosuite table { width: 1780px; min-width: 1780px; }
  .fund-collection-nosuite th:nth-child(3), .fund-collection-nosuite td:nth-child(3) { width: 430px; }
  .fund-collection-nosuite th:nth-child(4), .fund-collection-nosuite td:nth-child(4) { width: 430px; }
  .fund-collection-nosuite th:nth-child(5), .fund-collection-nosuite td:nth-child(5) { width: 340px; }
  .follow-table table { width: 2648px; min-width: 2648px; }
  .follow-table th, .follow-table td { padding-top: 10px; padding-bottom: 10px; }
  .follow-table th:nth-child(1), .follow-table td:nth-child(1) { width: 64px; }
  .follow-table th:nth-child(2), .follow-table td:nth-child(2) { width: 176px; overflow: visible; text-overflow: clip; }
  .follow-table th:nth-child(3), .follow-table td:nth-child(3) { width: 66px; text-align: center; padding-left: 4px; padding-right: 4px; }
  .follow-table th:nth-child(4), .follow-table td:nth-child(4) { width: 76px; text-align: center; padding-left: 4px; padding-right: 4px; }
  .follow-table th:nth-child(5), .follow-table td:nth-child(5) { width: 118px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .follow-table th:nth-child(6), .follow-table td:nth-child(6) { width: 118px; padding-left: 10px; overflow: hidden; text-overflow: clip; }
  .follow-table th:nth-child(7), .follow-table td:nth-child(7) { width: 64px; }
  .follow-table th:nth-child(8), .follow-table td:nth-child(8),
  .follow-table th:nth-child(9), .follow-table td:nth-child(9),
  .follow-table th:nth-child(10), .follow-table td:nth-child(10),
  .follow-table th:nth-child(11), .follow-table td:nth-child(11),
  .follow-table th:nth-child(12), .follow-table td:nth-child(12) { width: 100px; }
  .follow-table th:nth-child(13), .follow-table td:nth-child(13) { width: 136px; overflow: visible; text-overflow: clip; }
  .follow-table th:nth-child(14), .follow-table td:nth-child(14) { width: 92px; }
  .follow-table th:nth-child(15), .follow-table td:nth-child(15),
  .follow-table th:nth-child(16), .follow-table td:nth-child(16) { width: 620px; padding-left: 10px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .follow-table-market table { width: 2756px; min-width: 2756px; }
  .follow-table-market th:nth-child(3), .follow-table-market td:nth-child(3) { width: 66px; text-align: center; padding-left: 4px; padding-right: 4px; }
  .follow-table-market th:nth-child(4), .follow-table-market td:nth-child(4) { width: 56px; text-align: center; padding-left: 4px; padding-right: 4px; }
  .follow-table-market th:nth-child(5), .follow-table-market td:nth-child(5) { width: 76px; text-align: center; padding-left: 4px; padding-right: 4px; }
  .follow-table-market th:nth-child(6), .follow-table-market td:nth-child(6) { width: 118px; padding-left: 10px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .follow-table-market th:nth-child(7), .follow-table-market td:nth-child(7) { width: 118px; padding-left: 10px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .follow-table-market th:nth-child(8), .follow-table-market td:nth-child(8) { width: 64px; text-align: center; }
  .follow-table-market th:nth-child(9), .follow-table-market td:nth-child(9),
  .follow-table-market th:nth-child(10), .follow-table-market td:nth-child(10),
  .follow-table-market th:nth-child(11), .follow-table-market td:nth-child(11),
  .follow-table-market th:nth-child(12), .follow-table-market td:nth-child(12),
  .follow-table-market th:nth-child(13), .follow-table-market td:nth-child(13) { width: 100px; text-align: right; }
  .follow-table-market th:nth-child(14), .follow-table-market td:nth-child(14) { width: 136px; overflow: visible; text-overflow: clip; }
  .follow-table-market th:nth-child(15), .follow-table-market td:nth-child(15) { width: 92px; text-align: center; }
  .follow-table-market th:nth-child(16), .follow-table-market td:nth-child(16),
  .follow-table-market th:nth-child(17), .follow-table-market td:nth-child(17) { width: 620px; padding-left: 10px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .miss-table table { width: 2360px; min-width: 2360px; }
  .miss-table th, .miss-table td { padding: 10px 8px; }
  .miss-table .col-time,
  .miss-table .time-cell { width: 150px; }
  .miss-table th:nth-child(2), .miss-table td:nth-child(2) { width: 102px; }
  .miss-table th:nth-child(3), .miss-table td:nth-child(3) { width: 116px; padding-right: 10px; overflow: hidden; text-overflow: clip; }
  .miss-table th:nth-child(4), .miss-table td:nth-child(4) { width: 116px; padding-left: 10px; overflow: hidden; text-overflow: clip; }
  .miss-table th:nth-child(5), .miss-table td:nth-child(5) { width: 62px; }
  .miss-table th:nth-child(6), .miss-table td:nth-child(6) { width: 92px; }
  .miss-table th:nth-child(7), .miss-table td:nth-child(7) { width: 146px; padding-left: 6px; padding-right: 4px; overflow: visible; text-overflow: clip; }
  .miss-table th:nth-child(8), .miss-table td:nth-child(8),
  .miss-table th:nth-child(9), .miss-table td:nth-child(9),
  .miss-table th:nth-child(10), .miss-table td:nth-child(10),
  .miss-table th:nth-child(11), .miss-table td:nth-child(11) { width: 98px; padding-left: 4px; padding-right: 4px; text-align: center; }
  .miss-table th:nth-child(12), .miss-table td:nth-child(12) { width: 146px; overflow: visible; text-overflow: clip; }
  .miss-table th:nth-child(13), .miss-table td:nth-child(13) { width: 112px; }
  .miss-table th:nth-child(14), .miss-table td:nth-child(14),
  .miss-table th:nth-child(15), .miss-table td:nth-child(15) { width: 108px; }
  .miss-table th:nth-child(16), .miss-table td:nth-child(16) { width: 68px; }
  .miss-table th:nth-child(17), .miss-table td:nth-child(17) { width: 580px; overflow: visible; text-overflow: clip; }
  .snpr-address-popover {
    left: 14px !important;
    right: 14px !important;
    bottom: 18px !important;
    top: auto !important;
    min-width: 0;
    max-width: none;
  }
  .fund-action-suite table { width: 1900px; min-width: 1900px; }
  .fund-action-nosuite table { width: 2260px; min-width: 2260px; }
  .fund-action-table th,
  .fund-action-table td { padding: 9px 10px; }
  .fund-action-suite th:nth-child(1), .fund-action-suite td:nth-child(1) { width: 128px; }
  .fund-action-suite th:nth-child(2), .fund-action-suite td:nth-child(2) { width: 56px; }
  .fund-action-suite th:nth-child(3), .fund-action-suite td:nth-child(3) { width: 118px; }
  .fund-action-suite th:nth-child(4), .fund-action-suite td:nth-child(4) { width: 90px; }
  .fund-action-suite th:nth-child(5), .fund-action-suite td:nth-child(5) { width: 160px; }
  .fund-action-suite th:nth-child(6), .fund-action-suite td:nth-child(6) { width: 650px; }
  .fund-action-suite th:nth-child(7), .fund-action-suite td:nth-child(7) { width: 330px; }
  .fund-action-suite th:nth-child(8), .fund-action-suite td:nth-child(8) { width: 300px; }
  .fund-action-nosuite th:nth-child(1), .fund-action-nosuite td:nth-child(1) { width: 132px; }
  .fund-action-nosuite th:nth-child(2), .fund-action-nosuite td:nth-child(2) { width: 118px; }
  .fund-action-nosuite th:nth-child(3), .fund-action-nosuite td:nth-child(3) { width: 78px; }
  .fund-action-nosuite th:nth-child(4), .fund-action-nosuite td:nth-child(4) { width: 138px; }
  .fund-action-nosuite th:nth-child(5), .fund-action-nosuite td:nth-child(5) { width: 620px; }
  .fund-action-nosuite th:nth-child(6), .fund-action-nosuite td:nth-child(6) { width: 710px; }
  .fund-action-nosuite th:nth-child(7), .fund-action-nosuite td:nth-child(7) { width: 472px; }
  .bot1-funds-page .fund-action-nosuite table { width: 1928px; min-width: 1928px; }
  .bot1-funds-page .fund-action-nosuite th,
  .bot1-funds-page .fund-action-nosuite td { padding-left: 12px; padding-right: 12px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(1),
  .bot1-funds-page .fund-action-nosuite td:nth-child(1) { width: 136px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(2),
  .bot1-funds-page .fund-action-nosuite td:nth-child(2) { width: 190px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(3),
  .bot1-funds-page .fund-action-nosuite td:nth-child(3) { width: 96px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(4),
  .bot1-funds-page .fund-action-nosuite td:nth-child(4) { width: 164px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(5),
  .bot1-funds-page .fund-action-nosuite td:nth-child(5) { width: 610px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(6),
  .bot1-funds-page .fund-action-nosuite td:nth-child(6) { width: 510px; }
  .bot1-funds-page .fund-action-nosuite th:nth-child(7),
  .bot1-funds-page .fund-action-nosuite td:nth-child(7) { width: 222px; }
  .fund-amount-cell span { min-width: 132px; }
  .bot1-funds-page .fund-action-nosuite .fund-amount-cell span { min-width: 142px; }
  .fund-route-line { grid-template-columns: 38px minmax(0, 1fr); gap: 8px; padding: 3px 8px; }
  .bot1-funds-page .fund-action-nosuite .fund-route-line { grid-template-columns: 36px minmax(0, 1fr); gap: 7px; }
  .latency-board .panel-head {
    align-items: flex-start;
    gap: 5px;
  }
  .latency-board .panel-head .muted {
    line-height: 1.45;
  }
  .latency-chart-shell {
    margin: 10px 0 12px;
    padding: 10px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }
  .latency-kline-svg {
    min-width: 960px;
  }
  .latency-summary-strip {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .latency-summary-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    min-width: 0;
  }
  .latency-summary-card strong,
  .latency-summary-card span {
    white-space: normal;
  }
}
@media (max-width: 520px) {
  body::before {
    background-size: 36px 36px;
  }
  .topbar {
    min-height: 86px;
    padding: 9px 10px 8px;
    align-items: stretch;
    flex-direction: column;
  }
  .brand-wrap {
    width: 100%;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }
  .brand {
    font-size: 13px;
  }
  .nav {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
  }
  .nav a {
    min-height: 31px;
    padding: 6px 10px;
  }
  .layout {
    padding: 14px 10px 22px;
  }
  .site-footer {
    padding: 0 10px 16px;
  }
  h1,
  .dashboard-title {
    font-size: 23px;
    line-height: 1.15;
  }
  .home-title {
    font-size: 24px;
  }
  .home-profit-value {
    font-size: 31px;
  }
  .home-kpi-grid,
  .home-health-stats,
  .health-count-grid,
  .self-heal-overview {
    grid-template-columns: 1fr;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
  }
  .page-head .pager-btn {
    align-self: flex-start;
  }
  .health-switch-grid {
    gap: 10px;
  }
  .health-switch-card {
    padding: 12px;
  }
  .health-switch-card .health-hero-top {
    align-items: flex-start;
  }
  .health-switch-card .health {
    min-width: 44px;
    min-height: 20px;
    padding: 2px 6px;
    font-size: 11px;
    white-space: nowrap;
  }
  .health-switch-card .health-count-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }
  .health-switch-card .health-count {
    min-height: 50px;
    padding: 7px 6px;
  }
  .health-switch-card .health-count span {
    font-size: 10px;
    white-space: nowrap;
  }
  .health-switch-card .health-count strong {
    font-size: 16px;
  }
  .health-switch-card .health-notes {
    margin-top: 8px;
  }
  .health-switch-card .health-note:nth-child(n+3) {
    display: none;
  }
  .health-switch-foot {
    font-size: 11px;
    line-height: 1.35;
  }
  .health-tab-panel > .panel {
    margin-top: 10px !important;
  }
  .self-heal-overview > div {
    min-height: 68px;
    padding: 10px;
  }
  .self-heal-overview strong {
    font-size: 16px;
  }
  .home-quick-grid,
  .quick-nav-items,
  .competitor-review-grid {
    grid-template-columns: 1fr;
  }
  .quick-nav,
  .bot-module-strip {
    padding: 10px;
  }
  .manage-overview {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .manage-overview-card {
    min-height: 76px;
    padding: 12px;
  }
  .manage-subnav {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: -2px;
  }
  .manage-subnav-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .manage-subnav a {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
  }
  .manage-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .quick-nav-item,
  .bot-module-item {
    min-height: 70px;
  }
  .dashboard-card {
    min-height: 112px;
    padding: 13px;
  }
  .dashboard-card.primary {
    min-height: 138px;
  }
  .dashboard-value {
    font-size: 24px;
  }
  .dashboard-card.primary .dashboard-value {
    font-size: 34px;
  }
  .bot-status-net {
    font-size: 22px;
  }
  .metric-value {
    font-size: 24px;
  }
  .date-filter-form {
    width: 100%;
  }
  .date-filter-form input[type="date"],
  .date-filter-form button,
  .date-link {
    min-height: 32px;
    font-size: 12px;
  }
  .pager-actions {
    gap: 6px;
    flex-wrap: wrap;
  }
  th, td {
    padding: 10px 8px;
    font-size: 12px;
  }
  .config-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 9px 10px;
  }
  .config-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .config-filter-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .config-filter-btn {
    width: 100%;
    min-height: 32px;
  }
  .config-search {
    width: 100%;
  }
  .config-readonly-grid {
    grid-template-columns: 1fr;
  }
  .mixed-gate-card {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 9px;
  }
  .mixed-gate-panel-head {
    padding: 8px 9px;
  }
  .mixed-gate-chip-grid {
    max-height: 142px;
    padding: 9px;
  }
  .mixed-gate-textarea {
    min-height: 148px;
  }
  .mixed-gate-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .config-center-grid {
    gap: 9px;
  }
  .config-table {
    min-width: 760px;
  }
  .config-table th,
  .config-table td {
    padding: 7px 7px;
  }
  .config-table th:nth-child(1),
  .config-table td:nth-child(1) {
    width: 156px;
  }
  .config-table th:nth-child(2),
  .config-table td:nth-child(2) {
    width: 116px;
  }
  .config-table th:nth-child(3),
  .config-table td:nth-child(3) {
    width: 136px;
  }
  .config-table th:nth-child(4),
  .config-table td:nth-child(4) {
    width: 64px;
  }
  .config-table th:nth-child(5),
  .config-table td:nth-child(5) {
    width: 288px;
  }
  .config-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 10px;
  }
  .config-submit {
    width: 100% !important;
  }
  .config-current {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mixed-gate-chip {
    min-height: 25px;
    padding: 3px 7px;
    font-size: 11px;
  }
  .mixed-gate-note {
    margin: 0 9px 9px;
    font-size: 11px;
  }
  .follow-table th,
  .follow-table td,
  .miss-table th,
  .miss-table td,
  .fund-action-table th,
  .fund-action-table td {
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .follow-table table {
    width: 2588px;
    min-width: 2588px;
  }
  .follow-table-market table {
    width: 2696px;
    min-width: 2696px;
  }
  .miss-table table {
    width: 2310px;
    min-width: 2310px;
  }
  .miss-table th:nth-child(7),
  .miss-table td:nth-child(7) {
    width: 136px;
  }
  .miss-table th:nth-child(8),
  .miss-table td:nth-child(8),
  .miss-table th:nth-child(9),
  .miss-table td:nth-child(9),
  .miss-table th:nth-child(10),
  .miss-table td:nth-child(10),
  .miss-table th:nth-child(11),
  .miss-table td:nth-child(11) {
    width: 94px;
  }
  .fund-action-suite table {
    width: 1900px;
    min-width: 1900px;
  }
  .fund-action-nosuite table {
    width: 2140px;
    min-width: 2140px;
  }
  .fund-action-suite th:nth-child(6),
  .fund-action-suite td:nth-child(6) {
    width: 650px;
  }
  .fund-action-nosuite th:nth-child(5),
  .fund-action-nosuite td:nth-child(5) {
    width: 560px;
  }
  .fund-action-nosuite th:nth-child(6),
  .fund-action-nosuite td:nth-child(6) {
    width: 620px;
  }
  .fund-action-nosuite th:nth-child(7),
  .fund-action-nosuite td:nth-child(7) {
    width: 420px;
  }
  .latency-board {
    margin-top: 10px !important;
  }
  .latency-board .panel-head {
    padding: 10px;
  }
  .latency-chart-shell {
    margin: 8px 0 10px;
    padding: 8px;
    border-radius: 6px;
  }
  .latency-chart-legend {
    gap: 6px;
    margin-bottom: 7px;
    font-size: 11px;
  }
  .latency-legend-item {
    padding: 3px 7px;
  }
  .latency-kline-svg {
    min-width: 820px;
  }
  .latency-summary-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    padding: 8px 9px;
  }
  .latency-summary-card .health {
    grid-column: 1 / -1;
    justify-self: start;
  }
  .latency-summary-card strong {
    font-size: 12px;
    line-height: 1.35;
  }
  .latency-summary-card span {
    font-size: 11px;
    line-height: 1.35;
  }
  .fund-hash-chip,
  .tx-full {
    max-width: none;
  }
}

/* SNPR Console V3 --------------------------------------------------------- */
:root {
  --bg: #f3f6f8;
  --panel: #ffffff;
  --panel-2: #f8fafb;
  --panel-3: #edf2f5;
  --line: #d6dfe6;
  --line-soft: #e7edf1;
  --text: #263741;
  --muted: #526473;
  --strong: #14212b;
  --good: #087a55;
  --bad: #c43d4b;
  --warn: #a96814;
  --brand: #176b87;
  --brand-soft: #e6f1f4;
  --shadow-soft: 0 1px 2px rgba(20, 33, 43, 0.04);
  --shadow-panel: 0 1px 2px rgba(20, 33, 43, 0.05);
}

body {
  background: var(--bg) !important;
  color: var(--text);
  font-size: 13px;
}

body::before {
  inset: 56px 0 0;
  background-image:
    linear-gradient(rgba(23, 107, 135, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 107, 135, 0.025) 1px, transparent 1px) !important;
  background-size: 40px 40px;
  mask-image: none !important;
}

.icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -3px;
}

.section-gap { margin-top: 12px !important; }
.muted { color: var(--muted) !important; }

.topbar {
  height: 56px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  backdrop-filter: none;
}
.topbar::before { display: none; }
.brand-wrap { gap: 10px; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: var(--strong) !important;
  box-shadow: none;
}
.brand-mark .icon { width: 17px; height: 17px; }
.brand { color: var(--strong); font-size: 14px; font-weight: 750; }
.brand-sub { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.topbar-status {
  margin-left: 8px;
  color: var(--good);
  font-size: 10px;
  font-weight: 750;
}
.topbar-status::before { display: none; }
.topbar-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgba(8, 122, 85, 0.10);
}
.nav {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-2) !important;
  box-shadow: none;
}
.nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 0;
  border-radius: 4px;
  color: var(--muted);
  font-weight: 650;
}
.nav a:hover { background: #edf3f6; color: var(--strong); }
.nav a.active { background: var(--panel); color: var(--brand); box-shadow: 0 1px 2px rgba(20, 33, 43, 0.08); }
.nav .nav-logout { color: #6a7780; }

.layout {
  width: min(1560px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 36px;
}

.panel,
.metric,
.health-hero,
.quick-nav,
.quick-nav-item,
.leaderboard-card,
.latency-chart-shell,
.latency-summary-card,
.bot-module-strip,
.bot-module-item,
.competitor-review-card,
.login-card,
.login-context {
  background: var(--panel) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  box-shadow: var(--shadow-panel) !important;
}
.panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
}
.panel::before,
.panel::after,
.quick-nav::before,
.quick-nav::after,
.leaderboard-card::before,
.latency-chart-shell::before,
.bot-module-strip::before,
.login-card::before,
.login-context::before { display: none !important; }

.panel-head {
  min-height: 34px;
  margin-bottom: 10px;
  padding: 0;
  align-items: center;
}
.panel-head h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--strong);
  font-size: 14px;
  font-weight: 750;
}
.panel-head h2 .icon { color: var(--brand); }
.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 650;
}
.panel-link .icon { width: 13px; height: 13px; }

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.dashboard-header::before,
.dashboard-header::after { display: none !important; }
.dashboard-header h1 {
  margin: 2px 0 4px;
  color: var(--strong);
  font-size: 23px;
  font-weight: 760;
  line-height: 1.2;
}
.page-kicker {
  color: var(--brand);
  font-size: 10px;
  font-weight: 780;
  text-transform: uppercase;
}
.dashboard-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.dashboard-sync .icon { color: var(--brand); }

.operations-strip {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
  background: var(--panel);
}
.operations-strip:hover { border-color: #afc3cf; }
.operations-strip-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--brand);
  background: var(--brand-soft);
}
.operations-strip > span:nth-child(2) { min-width: 0; display: flex; align-items: baseline; gap: 9px; }
.operations-strip strong { color: var(--strong); font-size: 12px; }
.operations-strip em { overflow: hidden; color: var(--muted); font-size: 11px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.operations-strip-meta { color: var(--muted); font-size: 11px; }
.operations-strip > .icon { width: 14px; height: 14px; color: var(--muted); }

.dashboard-metrics { gap: 10px; }
.metric {
  min-height: 112px;
  position: relative;
  overflow: hidden;
  padding: 15px;
  border-radius: 6px;
}
.metric::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 28px;
  height: 16px;
  border-bottom: 1px solid rgba(23, 107, 135, 0.18);
  border-left: 1px solid rgba(23, 107, 135, 0.18);
  transform: skewX(-30deg);
}
.metric-label { color: var(--muted); font-size: 11px; font-weight: 650; }
.metric-value {
  margin: 9px 0 7px;
  color: var(--strong);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 23px;
  font-variant-numeric: tabular-nums;
  font-weight: 720;
}
.metric-sub { color: var(--muted); font-size: 10px; }

.quick-nav {
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.quick-nav-head { display: none; }
.quick-nav-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.quick-nav-item {
  min-height: 46px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.quick-nav-item:hover { border-color: #afc3cf; transform: none; }
.quick-nav-item > .icon:first-child { color: var(--brand); }
.quick-nav-item > .icon:last-child { width: 13px; color: var(--muted); }
.quick-nav-item > span { display: none; }
.quick-nav-item strong { color: var(--strong); font-size: 12px; }
.quick-nav-item em { overflow: hidden; color: var(--muted); font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }

.task-summary-list { border-top: 1px solid var(--line-soft); }
.task-summary-row {
  min-height: 39px;
  display: grid;
  grid-template-columns: 62px minmax(160px, 1fr) auto 132px;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.task-summary-row:last-child { border-bottom: 0; }
.task-summary-owner {
  color: var(--brand);
  font-size: 10px;
  font-weight: 750;
}
.task-summary-row strong { overflow: hidden; color: var(--strong); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.task-summary-row time { color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; text-align: right; }
.compact-empty { padding: 20px 0; }

.table-wrap {
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--panel);
}
table { border-collapse: collapse; }
th {
  background: var(--panel-2) !important;
  color: #49606f;
  font-size: 10px;
  font-weight: 750;
  text-transform: none;
}
td { color: var(--text); }
th, td { border-bottom-color: var(--line-soft) !important; }
tbody tr:hover td { background: #f5f9fa !important; }
.tag,
.health,
.site-footer-pill,
.builder-cell {
  border-radius: 4px !important;
  box-shadow: none !important;
}
.health { min-height: 22px; padding: 3px 7px; font-size: 10px; }
.health.ok { color: var(--good); background: #e9f5f0 !important; border-color: #b9dfd0; }
.health.warn { color: var(--warn); background: #fbf3e7 !important; border-color: #e7d0a9; }
.health.bad { color: var(--bad); background: #faecee !important; border-color: #e9bdc2; }
.good { color: var(--good) !important; }
.bad { color: var(--bad) !important; }

.monitor-leaderboard-panel { overflow: hidden; }
.leaderboard-period-tabs { display: none; }
.monitor-leaderboard-grid { gap: 10px; }
.leaderboard-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.leaderboard-card-head {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 11px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2) !important;
}
.leaderboard-card-head h3 { color: var(--strong); font-size: 13px; font-weight: 760; }
.leaderboard-table { border: 0; border-radius: 0; }
.leaderboard-table th,
.leaderboard-table td { padding: 8px 7px; white-space: nowrap; }
.leaderboard-rank {
  width: 34px;
  color: #758590;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  font-weight: 700;
}
.leaderboard-address-text {
  color: #205c73;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 650;
}
.leaderboard-sort-head {
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent !important;
  color: #49606f;
  font-size: 10px;
}
.leaderboard-sort-head.active { border-bottom-color: var(--brand); color: var(--brand); }

.latency-chart-shell { border: 1px solid var(--line-soft); border-radius: 5px; }
.latency-swatch { width: 8px; height: 8px; border-radius: 2px; }
.latency-swatch.bot1 { background: #176b87; }
.latency-swatch.bot2 { background: #087a55; }
.latency-summary-card { border: 1px solid var(--line-soft); border-radius: 5px; }

.site-footer { background: transparent !important; border-top: 1px solid var(--line); }
.site-footer::before { display: none !important; }
.site-footer-inner { color: var(--muted); }
.site-footer-pill { background: var(--panel) !important; border-color: var(--line); color: var(--muted); }

.note-delay-0 { animation-delay: 0s; }
.note-delay-1 { animation-delay: 0.8s; }
.note-delay-2 { animation-delay: 1.6s; }
.note-delay-3 { animation-delay: 2.4s; }
.is-hidden { display: none !important; }
.snpr-address-popover {
  position: fixed !important;
  left: 50% !important;
  top: auto !important;
  right: auto !important;
  bottom: 24px !important;
  width: min(520px, calc(100vw - 28px));
  transform: translateX(-50%);
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: var(--strong) !important;
  box-shadow: 0 12px 36px rgba(20, 33, 43, 0.20) !important;
}
.snpr-latency-tooltip {
  position: fixed !important;
  left: 50% !important;
  top: auto !important;
  right: auto !important;
  bottom: 18px !important;
  width: min(460px, calc(100vw - 28px));
  transform: translateX(-50%);
  border-radius: 5px !important;
  background: var(--strong) !important;
  box-shadow: 0 10px 30px rgba(20, 33, 43, 0.18) !important;
}

/* Login is intentionally operational, not a marketing surface. */
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg) !important;
}
.login-page .site-footer { display: none; }
.login-wrap::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 107, 135, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 107, 135, 0.035) 1px, transparent 1px) !important;
  background-size: 36px 36px;
  mask-image: none !important;
}
.login-shell {
  width: min(420px, 100%);
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.login-shell::before,
.login-shell::after { display: none !important; }
.login-card {
  width: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.login-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.login-brand .icon { width: 18px; height: 18px; }
.login-card h1 { margin: 0 0 22px; color: var(--strong); font-size: 21px; }
.login-card .field { margin-bottom: 14px; }
.login-card label { color: var(--muted); font-size: 11px; font-weight: 650; }
.login-card input {
  min-height: 42px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-2) !important;
  color: var(--strong);
}
.login-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(23, 107, 135, 0.10); }
.login-submit {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 5px;
  background: var(--strong) !important;
  box-shadow: none;
}
.login-submit .icon { width: 14px; }
.login-context {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.login-context-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: var(--good);
  background: #e9f5f0;
}
.login-context strong { display: block; color: var(--strong); font-size: 11px; }
.login-context span { display: block; margin-top: 2px; color: var(--muted); font-size: 9px; }
.login-visual { display: none !important; }

@media (max-width: 900px) {
  .topbar { height: auto; min-height: 54px; padding: 8px 12px; gap: 8px; }
  .brand-sub, .topbar-status { display: none; }
  .nav { max-width: calc(100vw - 76px); overflow-x: auto; }
  .nav a { padding: 7px 9px; }
  .nav .nav-logout span { display: none; }
  .layout { width: min(100% - 20px, 760px); padding-top: 16px; }
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-nav-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .task-summary-row { grid-template-columns: 52px minmax(120px, 1fr) auto; }
  .task-summary-row time { display: none; }
  .bot-compare-panel .table-wrap,
  .history-table { overflow-x: auto; }
}

@media (max-width: 640px) {
  body { font-size: 12px; }
  .layout { width: calc(100% - 16px); padding: 12px 0 24px; }
  .topbar { position: sticky; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-text { display: none; }
  .nav { max-width: calc(100vw - 56px); margin-left: auto; }
  .nav a { min-height: 31px; gap: 4px; padding: 6px 8px; font-size: 11px; }
  .nav a .icon { width: 14px; height: 14px; }
  .dashboard-header { align-items: flex-start; margin-bottom: 10px; }
  .dashboard-header h1 { font-size: 20px; }
  .dashboard-sync { display: none; }
  .operations-strip {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }
  .operations-strip > span:nth-child(2) { display: grid; gap: 2px; }
  .operations-strip em { max-width: 100%; }
  .operations-strip-meta,
  .operations-strip > .icon:last-child { display: none; }
  .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .metric { min-height: 96px; padding: 12px; }
  .metric-value { margin: 7px 0 5px; font-size: 17px; overflow-wrap: anywhere; }
  .metric-sub { line-height: 1.35; }
  .quick-nav-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .quick-nav-item { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 44px; padding: 8px; }
  .quick-nav-item em { display: none; }
  .panel { padding: 11px; border-radius: 5px; }
  .panel-head { align-items: center; gap: 8px; }
  .panel-head > .muted { max-width: 56%; font-size: 9px; text-align: right; }
  .task-summary-row {
    min-height: 43px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 7px;
  }
  .task-summary-owner { font-size: 9px; }
  .task-summary-row strong { font-size: 11px; }
  .leaderboard-period-tabs {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: var(--panel-2);
  }
  .leaderboard-period-tabs button {
    min-height: 27px;
    padding: 4px 10px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
  }
  .leaderboard-period-tabs button.active { background: var(--panel); color: var(--brand); box-shadow: 0 1px 2px rgba(20, 33, 43, 0.08); }
  .monitor-leaderboard-grid { display: block; }
  .leaderboard-card { display: none; }
  .leaderboard-card.mobile-active { display: block; }
  .leaderboard-table { overflow-x: hidden; }
  .leaderboard-table table { min-width: 100% !important; width: 100%; table-layout: fixed; }
  .leaderboard-table th,
  .leaderboard-table td { padding: 8px 4px; }
  .leaderboard-table th:nth-child(1), .leaderboard-table td:nth-child(1) { width: 28px; }
  .leaderboard-table th:nth-child(2), .leaderboard-table td:nth-child(2) { width: 31%; }
  .leaderboard-table th:nth-child(3), .leaderboard-table td:nth-child(3) { width: 29%; }
  .leaderboard-table th:nth-child(4), .leaderboard-table td:nth-child(4) { width: 18%; }
  .leaderboard-table th:nth-child(5), .leaderboard-table td:nth-child(5) { width: 17%; }
  .leaderboard-address-text { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .leaderboard-table .pnl-chip { max-width: 100%; overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
  .latency-board .panel-head > .muted { display: none; }
  .login-wrap { min-height: 100vh; padding: 14px; }
  .login-shell { width: 100%; max-width: 390px; }
  .login-card { padding: 21px; }
  .login-brand { margin-bottom: 18px; }
  .login-card h1 { margin-bottom: 18px; font-size: 19px; }
}
