* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei",
    sans-serif;
  color: #0f172a;
  background: #0b1220;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(10px);
}

.title h1 {
  margin: 0;
  font-size: 22px;
  color: #e2e8f0;
}

.subtitle {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(226, 232, 240, 0.75);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel {
  margin-top: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.panelTitle {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 10px;
}

.row {
  display: grid;
  grid-template-columns: 110px 1fr auto auto;
  gap: 10px;
  align-items: center;
}

.label {
  color: rgba(226, 232, 240, 0.85);
  font-size: 13px;
}

.input {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(2, 6, 23, 0.55);
  color: #e2e8f0;
  outline: none;
}

.input:focus {
  border-color: rgba(99, 102, 241, 0.8);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

button {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  cursor: pointer;
}

button:hover {
  background: rgba(51, 65, 85, 0.9);
}

.primary {
  border-color: rgba(99, 102, 241, 0.7);
  background: rgba(99, 102, 241, 0.82);
}

.primary:hover {
  background: rgba(99, 102, 241, 0.92);
}

.ghost {
  background: transparent;
}

.hint {
  margin-top: 10px;
  color: rgba(226, 232, 240, 0.75);
  font-size: 12px;
}

.tableWrap {
  overflow: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  color: rgba(226, 232, 240, 0.9);
  font-size: 13px;
}

th {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.7);
  color: rgba(226, 232, 240, 0.95);
  font-weight: 700;
}

tr:hover td {
  background: rgba(2, 6, 23, 0.25);
}

.badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(2, 6, 23, 0.35);
}

.badge.positive {
  border-color: rgba(34, 197, 94, 0.5);
  color: rgba(187, 247, 208, 0.95);
}

.badge.negative {
  border-color: rgba(239, 68, 68, 0.5);
  color: rgba(254, 202, 202, 0.95);
}

.badge.neutral {
  border-color: rgba(148, 163, 184, 0.35);
  color: rgba(226, 232, 240, 0.85);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
  padding: 12px 12px 10px;
}

.cardTitle {
  font-weight: 700;
  color: rgba(226, 232, 240, 0.95);
  font-size: 13px;
  margin-bottom: 8px;
}

.content {
  color: rgba(226, 232, 240, 0.9);
  font-size: 13px;
  line-height: 1.45;
}

.muted {
  color: rgba(226, 232, 240, 0.7);
}

.span2 {
  grid-column: span 2;
}

.link {
  color: rgba(165, 180, 252, 0.95);
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.small {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.75);
}

.danger {
  color: rgba(254, 202, 202, 0.95);
}

