.wsp-lens-reference {
  padding: 40px 0;
  background: #f8fafc;
}

.wsp-lens-reference-inner {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.wsp-lens-reference h2,
.wsp-lens-reference h3 {
  margin: 0 0 12px;
  color: #111827;
  line-height: 1.15;
}

.wsp-lens-reference h3 {
  margin-top: 28px;
}

.wsp-lens-reference p {
  color: #475569;
  line-height: 1.65;
}

.wsp-lens-alert {
  margin: 18px 0 22px;
  padding: 16px 18px;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  background: #fffbeb;
  color: #78350f;
}

.wsp-lens-quick-grid,
.wsp-lens-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 24px;
}

.wsp-lens-card,
.wsp-lens-link-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
}

.wsp-lens-card strong,
.wsp-lens-link-card strong {
  color: #0f172a;
}

.wsp-lens-card span,
.wsp-lens-link-card span {
  color: #475569;
}

.wsp-lens-card small {
  color: #64748b;
  line-height: 1.45;
}

.wsp-lens-table-wrap {
  width: 100%;
  margin-bottom: 10px;
  overflow-x: auto;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
}

.wsp-lens-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.wsp-lens-table th,
.wsp-lens-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  text-align: left;
  vertical-align: top;
}

.wsp-lens-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #0f172a;
  background: #eaf1f8;
  font-size: 13px;
  text-transform: uppercase;
}

.wsp-lens-table td:first-child {
  color: #111827;
  font-weight: 850;
}

.wsp-lens-table tbody tr:hover {
  background: #f8fafc;
}

.wsp-lens-source-note {
  margin-top: 14px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .wsp-lens-quick-grid,
  .wsp-lens-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wsp-lens-quick-grid,
  .wsp-lens-link-grid {
    grid-template-columns: 1fr;
  }
}
