.dosage-warning {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.table-wrapper {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.resources-hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.resources-hero h1 { font-family: var(--head); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.resources-hero h1 span { color: var(--accent); }
.resources-hero p { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.res-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.res-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.res-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.res-card-tag {
  font-size: 0.68rem;
  font-family: var(--mono);
  background: var(--tag-bg);
  color: var(--tag-text);
  padding: 2px 8px;
  border-radius: 20px;
}
.res-card-arrow {
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color 0.2s, transform 0.2s;
}
.res-card:hover .res-card-arrow { color: var(--accent); transform: translateX(3px); }
.res-card h3 {
  font-family: var(--head);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.res-card p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.protocol-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  font-size: 0.82rem;
}
.protocol-table th {
  font-family: var(--head);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: left;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.protocol-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}
.protocol-table tr:last-child td { border-bottom: none; }
.protocol-table tr:hover td { background: var(--surface2); }
.peptide-name-cell {
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.dose-cell { color: var(--accent2); font-family: var(--mono); }
.freq-cell { color: var(--text-muted); }

.faq-list { margin-bottom: 40px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--accent); }
.faq-question {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 16px 20px;
  text-align: left;
  font-family: var(--head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--surface2); }
.faq-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--accent); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  background: var(--surface);
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 20px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 20px 16px;
}

.vendor-banner {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent2);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.vendor-banner strong { color: var(--accent2); font-family: var(--head); }

@media (max-width: 540px) {
  .card-grid { grid-template-columns: 1fr; }
  .protocol-table { font-size: 0.75rem; }
  .protocol-table th, .protocol-table td { padding: 8px 10px; }
}
