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

/* ───────────────────────────────────────────────────────────────
   投资的逻辑 / investing track  (The Logic of Investing — How a
   thoughtful long-term OWNER of businesses actually thinks, distilled
   from the investing canon: Graham, Lynch, Buffett/Munger, Fisher,
   Marks, Malkiel/Bogle, Housel).

   The FOURTH sibling of the finance family. Its three siblings each
   sit in a different seat:
     · markets     — spectator, watching the whole machine
     · trader      — the risk/market-making seat, seconds-to-days
     · financials  — the analyst, reading the company's self-report
     · investing   — the long-term OWNER, decades, temperament > IQ  ← this

   Inherits financials' sheet verbatim (which @imports trader → cosmos →
   RL base), so it already has: kicker / source-note / takeaway /
   position-grid / coverage-grid / lesson-flow / mini-flow / trade-table /
   toc-grid / widget / kpi-grid / controls / prompt-list / dist-canvas /
   callout ok|warn|bad, plus trader's ledger / chip-row / chip / payoff-legend
   and financials' northstar / chip.flag / noise-row — all reusable here
   (northstar = "the one principle to remember", ledger = a mini owner-earnings
   statement, chip = a stock category).

   A few investing-only helpers below. They degrade gracefully — every
   widget still works with the standard .widget / .kpi-grid / .dist-canvas
   shells, so these are optional sugar.
   ─────────────────────────────────────────────────────────────── */

/* 经典原则卡：高亮一条来自投资经典的核心思想，带出处署名。
   紫/靛色系，和 financials 的绿色 .northstar 区分开。 */
.principle {
  border: 1px solid rgba(139,127,242,0.42);
  border-left: 3px solid #8b7ff2;
  border-radius: 10px;
  background: rgba(139,127,242,0.06);
  padding: 12px 14px;
  margin: 14px 0;
}
.principle .label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #a99cff;
}
.principle .who {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
}

/* 书目/作者内联小标签：给某个思想标注它出自哪本经典。 */
.book {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid rgba(231,236,245,0.22);
  color: var(--text-mute);
  white-space: nowrap;
  vertical-align: baseline;
}

/* 名句：投资大师的一句话，居中、放大、留白，用作某一课的锚。 */
.quote {
  margin: 18px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid rgba(231,236,245,0.28);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.quote .src {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-mute);
  font-family: var(--mono);
}

/* Lynch 六分类小卡片网格（第 08 课）。也可用于任何"一组并列的类别"。 */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 14px 0;
}
.cat {
  border: 1px solid var(--border, rgba(231,236,245,0.14));
  border-radius: 10px;
  padding: 10px 12px;
  background: rgba(231,236,245,0.02);
}
.cat .name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 3px;
}
.cat .tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-mute);
}
