@import url("../../cosmos/lessons/style.css");

/* ───────────────────────────────────────────────────────────────
   数学的逻辑 / math track extras
   The cosmos sheet already pulls in the shared RL base + all the
   gold-standard components (kicker, callout.takeaway, source-note,
   trade-table, lesson-flow, position-grid, mini-flow, lesson-grid,
   toc-card …). We only add a couple of math-only touches here.
   ─────────────────────────────────────────────────────────────── */

/* the "crisis → invention → new crisis" rows used on the index + 00 */
.crisis-chain { display: grid; gap: 8px; margin: 18px 0; }
.crisis-chain .link {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elev);
  padding: 10px 12px;
}
.crisis-chain .link .n { font-family: var(--mono); color: var(--accent); font-size: 13px; }
.crisis-chain .link .what strong { color: var(--text); }
.crisis-chain .link .what span { color: var(--text-mute); font-size: 13px; }

/* a wall / crisis aside gets the amber (warn) accent, like cosmos source-note */
.callout.crisis { border-left-color: var(--warn); background: #fffbeb; }
