/* mmx-guide.css — 章节树共享组件（mmx- 前缀）。
   供「全书导图」mindmap.html 与「全书视角」overview.html 的章节导读共同引用。
   与 reading-overview.css 的 .ch-* 组件完全无关：两边不许互相借用选择器，
   要改这套组件只改这个文件。约定（2026-10-28）：
     mmx-  = 章节树共享组件（本文件）
     ch-*  = 通读页自有旧组件（reading-overview.css）
     mm-*  = 通读页结构分组块（reading-overview.css，mm-ch/mm-chs/mm-no/mm-line…）
   层级与缩进：章容器 → 小节（虚线分隔，不套卡片）→ 要点序号(1.25em)；
   最底层「原句」负 margin 抵掉序号缩进，左边缘回到章节那一层容器的内边。 */

.mmx-cn{margin:0;padding:0;border-bottom:1px dashed #eee8dc}
.mmx-cn:last-child{border-bottom:0}
.mmx-cn>summary{display:flex;gap:9px;align-items:baseline;padding:9px 2px;
  cursor:pointer;list-style:none}
.mmx-cn>summary::-webkit-details-marker{display:none}
.mmx-no{flex:none;min-width:1.5em;color:#bf8247;font-weight:700;font-size:.82rem;
  font-variant-numeric:tabular-nums}
.mmx-name{flex:1 1 auto;min-width:0;font-size:.93rem;line-height:1.6;color:var(--ink);
  word-break:break-word}
.mmx-role{flex:none;font-size:.68rem;color:#8a8272;line-height:1.6;white-space:nowrap;
  border:1px solid #e7e0d0;border-radius:5px;padding:0 .35em}
.mmx-pnum{flex:none;font-size:.68rem;color:#a9a294;line-height:1.6;white-space:nowrap}
.mmx-caret{flex:none;color:#c0b394;font-size:1rem;line-height:1;transition:transform .18s}
.mmx-cn[open] .mmx-caret{transform:rotate(90deg)}
.mmx-body{padding:2px 0 12px}
.mmx-stat{margin:0 0 .35em;font-size:.73rem;color:var(--muted);letter-spacing:.02em}
.mmx-gist{margin:0 0 .45em;font-size:.86rem;line-height:1.75;color:#3f3a32}
.mmx-empty{margin:.2em 0;font-size:.8rem;color:#a9a294}
.mmx-more{margin:.3em 0 0;font-size:.75rem;color:#a49c8c}
.mmx-chip{display:inline-block;font-size:.68rem;color:#6b6152;background:#f4f1e6;
  border-radius:9px;padding:.05em .5em;margin:0 .28em .5em 0}
/* 小节：不套卡片，只在章这一层里加一条虚线分隔 —— 少一层容器就少一层左缩进 */
.mmx-sec{margin:5px 0;padding:0}
.mmx-sec>summary{display:flex;gap:8px;align-items:baseline;padding:7px 0;
  border-top:1px dashed #efe9dc;cursor:pointer;list-style:none}
.mmx-sec>summary::-webkit-details-marker{display:none}
.mmx-sech{flex:1 1 auto;min-width:0;font-size:.85rem;line-height:1.6;font-weight:600;
  color:#43604f}
.mmx-sech::before{content:"▸";color:#c0a06a;margin-right:.4em;font-size:.76rem}
.mmx-sec[open]>.mmx-sech::before{content:"▾"}
.mmx-secc{flex:none;font-size:.7rem;color:#a49c8c;white-space:nowrap}
.mmx-pts{list-style:decimal outside;margin:.3em 0 .2em;padding:0 0 0 1.25em;
  font-size:.82rem;line-height:1.72;color:#4a443b}
.mmx-pts>li{margin:.4em 0;padding-left:.1em}
.mmx-pts>li::marker{color:#c0a06a;font-weight:700}
/* 原句块：-1.25em 抵掉要点序号缩进，左边缘 = 章这一层容器的内边，通栏到底 */
.mmx-qt{list-style:none;margin:.35em 0 .1em -1.25em;padding:7px 10px;
  background:#fdf8ee;border-left:3px solid var(--gold);border-radius:0 8px 8px 0;
  font-size:.79rem;line-height:1.72;color:#6b5c43}
.mmx-qt>li+li{margin-top:.45em;padding-top:.45em;border-top:1px dashed #eadfc9}
.mmx-qt1{margin-left:0}
/* 展开全部 / 收起 */
.mmx-tools{display:flex;gap:.5em;align-items:center;flex-wrap:wrap;margin:.2em 0 1.1em}
.mmx-btn{font:inherit;font-size:.78rem;line-height:1.5;color:#5f5545;background:#f8f4ea;
  border:1px solid #e2dac6;border-radius:8px;padding:.3em .85em;cursor:pointer}
.mmx-btn:active{background:#efe7d4}
.mmx-tip{font-size:.74rem;color:var(--muted)}
/* 桌面宽屏：正文限制可读行宽，不然一行 80 字。左边界不动，只收右边。 */
@media(min-width:820px){
  .mmx-gist,.mmx-pts,.mmx-qt{max-width:780px}
}
@media(max-width:720px){
  .mmx-gist{font-size:.85rem}
  .mmx-pts{font-size:.81rem}
  .mmx-qt{font-size:.78rem}
  .mmx-name{font-size:.9rem}
}

/* ── 精读页补全模块（2026-10-28 加回：Top10 金句 / AI 问书 / 更高维度 / 当年与今天）
 * 由 luoyu-content 引入维护；mindmap.html 引用本文件即可，不写内联 <style>（守 C1）。
 * 复用现有 .mmx- 前缀与 :root 变量（--green/--gold/--muted/--line/--serif）。 */
.mmx-mod{margin:2.4em 0}
.mmx-mod > h2{font:600 1.32rem/1.5 var(--serif);color:var(--green);margin:0 0 10px;
  padding-left:12px;border-left:4px solid var(--gold)}
.mmx-mod > h3{font-size:1.04rem;color:#3a4a42;margin:1.2em 0 .5em}
.mmx-mod-note{font-size:.8rem;color:var(--muted);margin:.3em 0 1.1em;line-height:1.7}
.mmx-qlist{list-style:none;padding:0;margin:0;counter-reset:q}
.mmx-qlist li{position:relative;padding:.8em 0 .8em 2.4em;border-top:1px dashed #e3dccb}
.mmx-qlist li:first-child{border-top:0}
.mmx-qlist li:before{counter-increment:q;content:counter(q);position:absolute;left:0;top:.85em;
  width:1.7em;height:1.7em;line-height:1.7em;text-align:center;background:#eef0e6;color:#6b7a4e;
  border-radius:50%;font-size:.72rem;font-weight:700}
.mmx-qlist blockquote{margin:0;color:#3a352c;line-height:1.85}
.mmx-qlist cite{display:block;margin-top:.35em;font-size:.76rem;color:var(--muted);font-style:normal}
.mmx-ask{background:#fffefa;border:1px solid var(--line);border-radius:14px;padding:16px 22px;margin:.8em 0}
.mmx-ask h3{margin-top:.2em}
.mmx-ask blockquote{margin:.4em 0;padding-left:12px;border-left:3px solid var(--gold);color:#3a352c;line-height:1.85}
.mmx-ask .src{font-size:.74rem;color:var(--muted);margin:.3em 0 0}
/* 逐章追问（details 形态，默认收起；2026-10-29 从 deep-read 合并进来） */
.mmx-ask>summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;
  align-items:center;gap:.5em;font-size:.86rem;color:#5d6b4a;font-weight:600}
.mmx-ask>summary::-webkit-details-marker{display:none}
.mmx-ask>summary:hover{color:var(--green)}
.mmx-ask[open]>summary .mmx-caret{transform:rotate(90deg)}
.mmx-askbody{margin-top:.6em;font-size:.92rem;line-height:1.9;color:#3a352c}
.mmx-askbody .mmx-askq{margin:.5em 0 .2em;font-weight:600;color:#2e2a22}
.mmx-askbody p{margin:.3em 0}
.mmx-askbody p:first-child.mmx-askq{margin-top:0}
/* 问答卡片：AI 问书 / 核心追问共用 */
.mmx-qa{margin:.9em 0;padding-left:14px;border-left:3px solid #e3dcc8}
.mmx-qa .mmx-q{margin:0 0 .3em;font-weight:650;font-size:.95rem;line-height:1.7;color:#2e2a22}
.mmx-qa .mmx-a{margin:0;color:#4a4438;line-height:1.9}
.mmx-pending{background:#f7f4ec;border:1px dashed #d8cfb8;border-radius:14px;padding:15px 20px;
  color:#6b6354;font-size:.9rem;line-height:1.85}
.mmx-pending b{color:#5a5345}

/* ── 一句话主旨 / 核心观点 / 阅读验证 / 来源边界（2026-10-29 按 outline.html 模块排序补回） ── */
.mmx-oneline{font-size:1.08rem;line-height:1.9;color:#3a352c;margin:.4em 0 0;
  padding:14px 18px;background:#fbfaf4;border-left:4px solid var(--green);border-radius:0 12px 12px 0}
.mmx-views{list-style:none;padding:0;margin:.6em 0 0;counter-reset:v}
.mmx-views li{position:relative;padding:.7em 0 .7em 1.8em;border-top:1px dashed #e3dccb;
  line-height:1.8;color:#3a352c}
.mmx-views li:first-child{border-top:0}
.mmx-views li:before{counter-increment:v;content:"观点 "counter(v);position:absolute;left:0;top:.75em;
  font-size:.7rem;font-weight:700;color:#6b7a4e;letter-spacing:.04em}
.mmx-views li b{color:#2f3a33}
.mmx-evib{background:#f7f4ec;border:1px solid var(--line);border-radius:14px;padding:14px 20px}
.mmx-evib p{margin:.2em 0 .6em;line-height:1.85;color:#4a4236}
.mmx-evib ul{margin:.3em 0 0;padding-left:1.2em;color:#5a5345}
.mmx-evib li{line-height:1.9;margin:.2em 0}
.mmx-evib b{color:#3a352c}
/* 阅读时要验证的问题 复用 .mmx-pending（虚线框占位）即可，无需新类 */

/* 空章：本书该章没有公开热门划线。渲染成静态一行——
   不做成折叠（点开是空白），也不显示「0 条」（一排 0 像页面坏了）。 */
.mmx-cn-empty{display:flex;gap:9px;align-items:baseline;padding:9px 2px;opacity:.7}
.mmx-cn-empty .mmx-name{color:#7d7668}
