/* biology-sm.css — supplements for the NEET Biology tab-panel pages.
   The pages use the jee-sm.js engine (mastery strip, topic pills, content
   tabs) styled by jee-sm.css + main.css. This file only adds the few
   Biology-specific pieces that live INSIDE the content panels. Theme-aware
   via main.css custom properties (light + [data-theme="dark"]). */

/* ── Cross-stream link chips (Biology ↔ Botany / Zoology) ── */
.bio-crosslinks {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 4px 0 14px;
}
.bio-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; text-decoration: none;
  border: 1px solid var(--border); background: var(--card-bg);
  color: var(--text-secondary); transition: all .15s ease;
}
.bio-chip:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.bio-chip--botany  { border-left: 3px solid #16a34a; }
.bio-chip--zoology { border-left: 3px solid #d97706; }
.bio-chip__k { font-weight: 700; }

/* ── NEET priority chip (inside theory panels) ── */
.bio-priority {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 9px; border-radius: var(--radius-full); margin-left: 4px;
  background: var(--primary-surface); color: var(--primary); vertical-align: middle;
}
.bio-priority[data-level="critical"], .bio-priority[data-level="extremely-high"] { background: rgba(220,38,38,.12); color: #dc2626; }
.bio-priority[data-level="very-high"], .bio-priority[data-level="high"] { background: rgba(217,119,6,.14); color: #d97706; }

/* ── ASCII / mermaid diagrams — preserved verbatim in a scrollable box ── */
.bio-ascii {
  margin: 0 0 14px; padding: 14px 16px; overflow-x: auto;
  background: var(--bg-tertiary); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem; line-height: 1.4; color: var(--text-secondary);
  white-space: pre;
}
.bio-ascii__tag {
  display: block; font-family: 'Poppins', sans-serif; font-size: 0.68rem;
  font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}

/* ── Static-fallback question block (match / short-answer / numerical items
      that don't fit the interactive 4-option quiz shape) ── */
.bio-qblock { margin: 0 0 16px; padding-left: 12px; border-left: 3px solid var(--primary-surface); }
.bio-qblock .bio-q { font-weight: 600; color: var(--text); margin: 0 0 6px; }
.bio-opts { margin: 0 0 8px; padding-left: 20px; line-height: 1.7; color: var(--text-secondary); }
.bio-solution { color: var(--text-secondary); }
.bio-solution .bio-ans { font-weight: 700; color: #16a34a; }

/* ── Checklist bullets (quality checklist in Revision) ── */
.bio-checklist { list-style: none; padding-left: 0; }
.bio-checklist li::before { content: "✓ "; color: #16a34a; font-weight: 700; }

/* ── Wide tables scroll horizontally inside a panel ── */
.bio-table-wrap { overflow-x: auto; margin: 0 0 14px; }
