/* Styles only used by predictors.html; everything else comes from styles.css */

.section-note {
  max-width: 90ch;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.section-note code {
  font-size: 0.85rem;
  color: var(--ink);
}

/* One section per predictor: chart on the left, downloads on the right */
.predictor .section-note {
  margin-bottom: 16px;
}

.predictor-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 20px;
  align-items: start;
}

.predictor-chart {
  position: relative;
  height: 240px;
}

.downloads {
  display: grid;
  gap: 12px;
}

@media (max-width: 900px) {
  .predictor-body {
    grid-template-columns: 1fr;
  }
}

.biotrainer-row td {
  border-top: 1px solid var(--border);
}

.section-note a {
  color: inherit;
}

.model-card {
  padding: 20px;
  border: 1px solid var(--border);
  background: #fafbfc;
}

.model-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.model-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.model-card td,
.model-card th {
  padding: 6px 8px;
}

.model-card .button {
  padding: 6px 12px;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
}

.model-card .button[aria-disabled="true"] {
  background: #9ca3af;
  cursor: not-allowed;
}

.hero-chip strong a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(249, 250, 251, 0.4);
  text-underline-offset: 3px;
}

.hero-chip strong a:hover {
  text-decoration-color: currentColor;
}
