:root {
  color-scheme: light;
  --bg: #fafafa;
  --paper: #ffffff;
  --ink: #171717;
  --text: #272727;
  --muted: rgba(0, 0, 0, 0.62);
  --soft: #f1f1ee;
  --line: rgba(0, 0, 0, 0.14);
  --line-strong: rgba(0, 0, 0, 0.28);
  --accent: #e63946;
  --accent-soft: rgba(230, 57, 70, 0.14);
  --accent-line: rgba(230, 57, 70, 0.32);
  --paper-grid: rgba(0, 0, 0, 0.026);
  --max: 1180px;
  --serif: "Songti SC", "Noto Serif SC", STSong, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 17px; line-height: 1.92; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-color: rgba(0, 0, 0, 0.28); text-underline-offset: 4px; }
img { display: block; max-width: 100%; }
.progress { position: fixed; top: 0; left: 0; z-index: 50; width: 0; height: 3px; background: var(--accent); }
.topbar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(250, 250, 250, 0.94); backdrop-filter: blur(14px); }
.topbar-inner { width: min(100%, var(--max)); margin: 0 auto; padding: 13px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: 0; white-space: nowrap; }
.toplinks { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.toplinks::-webkit-scrollbar { display: none; }
.toplinks a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.toplinks a:hover { color: var(--ink); }
.page { width: min(100%, var(--max)); margin: 0 auto; padding: 54px 22px 88px; }

.landing-hero { position: relative; max-width: 100%; padding-bottom: 32px; border-bottom: 1px solid var(--line-strong); }
.landing-hero::after { content: ""; position: absolute; right: 0; bottom: -1px; width: min(38vw, 380px); height: 1px; background: var(--accent); }
.kicker { margin: 0 0 12px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(38px, 8vw, 82px); font-weight: 400; line-height: 1.06; letter-spacing: 0; }
.directory-title-hero { display: flex; flex-wrap: wrap; gap: 0 0.18em; max-width: 1080px; font-size: clamp(42px, 6.5vw, 76px); line-height: 1.08; text-wrap: balance; }
.directory-title-hero span { white-space: nowrap; }
.hero-lead { max-width: 720px; margin: 24px 0 0; color: rgba(0, 0, 0, 0.7); font-size: clamp(17px, 2vw, 21px); line-height: 1.8; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.meta span { border: 1px solid var(--line); padding: 5px 10px; color: rgba(0, 0, 0, 0.68); font-size: 12px; line-height: 1.4; background: #fff; }
.visual { margin: 0; border: 1px solid var(--line-strong); background: #fff; }
.visual img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.visual figcaption { border-top: 1px solid var(--line); padding: 10px 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.directory-visual { display: none !important; }

.directory { padding-top: 34px; }
.directory-head { margin-bottom: 14px; }
.directory-head h2 { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 800; }
.directory-head p { display: none; }
.article-list { counter-reset: article; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 0; }
.article-card { position: relative; counter-increment: article; display: grid; grid-template-rows: auto 1fr; min-height: 278px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.11); border-radius: 6px; padding: 23px; background: #fff; text-decoration: none; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.025); transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.article-card::before { content: counter(article, decimal-leading-zero); position: absolute; right: 18px; top: 12px; color: rgba(0, 0, 0, 0.055); font-family: var(--serif); font-size: 68px; line-height: 1; pointer-events: none; }
.article-card::after { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0; background: var(--accent); transition: height 180ms ease; }
.article-card:hover { transform: translateY(-2px); border-color: rgba(0, 0, 0, 0.22); background: #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, 0.05); }
.article-card:hover::after { height: 100%; }
.article-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.article-card > span:first-child { position: relative; z-index: 1; display: grid; grid-template-rows: 18px 70px 46px; gap: 14px; min-width: 0; align-content: start; }
.article-card .article-label { margin: 0; height: 18px; overflow: hidden; color: var(--muted); font-size: 11.5px; font-weight: 850; letter-spacing: 0.02em; line-height: 18px; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.article-card h3 { display: -webkit-box; margin: 0; overflow: hidden; color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 1.65vw, 24.5px); font-weight: 400; line-height: 1.24; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-wrap: balance; }
.article-card p:not(.article-label) { display: -webkit-box; margin: 0; overflow: hidden; color: rgba(0, 0, 0, 0.68); font-size: 14px; line-height: 1.62; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.article-card .read-more { position: relative; z-index: 1; align-self: end; justify-self: start; display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 22px; overflow: hidden; border: 1px solid rgba(0, 0, 0, 0.16); border-radius: 50%; color: transparent; font-size: 0; transition: border-color 180ms ease, transform 180ms ease, background 180ms ease; }
.article-card .read-more::before { content: "→"; color: rgba(0, 0, 0, 0.62); font-size: 16px; font-weight: 850; line-height: 1; transform: translateX(-1px); transition: color 180ms ease, transform 180ms ease; }
.article-card:hover .read-more { border-color: var(--accent-line); background: #fff; transform: translateX(2px); }
.article-card:hover .read-more::before { color: var(--accent); transform: translateX(1px); }
.note-band { margin-top: 34px; padding: 18px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }

.article-page { width: min(100%, var(--max)); margin: 0 auto; padding: 24px 22px 88px; }
.back-link { display: inline-flex; margin-bottom: 28px; color: var(--muted); font-size: 13px; text-decoration: none; }
.article-shell { display: grid; grid-template-columns: 204px minmax(0, 800px); gap: 70px; align-items: start; }
.article-toc { position: sticky; top: 70px; padding: 6px 0 0 18px; color: rgba(0, 0, 0, 0.54); font-size: 12.5px; line-height: 1.55; }
.article-toc::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 0; width: 1px; background: rgba(0, 0, 0, 0.12); }
.article-toc p { margin: 0 0 14px; color: rgba(0, 0, 0, 0.48); font-size: 11px; font-weight: 850; letter-spacing: 0.08em; line-height: 1.3; text-transform: uppercase; }
.article-toc a { position: relative; display: block; margin: 0 0 9px; text-decoration: none; transition: color 160ms ease, transform 160ms ease; }
.article-toc a:hover { color: var(--ink); transform: translateX(2px); }
.article-toc a.active { color: var(--ink); font-weight: 800; }
.article-toc a.active::before { content: ""; position: absolute; left: -21px; top: 0.72em; width: 7px; height: 1px; background: var(--accent); }
.article-body { min-width: 0; }
.chapter-head { display: block; margin-bottom: 34px; padding-top: 18px; border-top: 2px solid var(--ink); }
.chapter-head > div:last-child { min-width: 0; }
.chapter-no { margin: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.4; text-transform: uppercase; }
.chapter-name { margin: 0 0 10px; color: rgba(0, 0, 0, 0.58); font-size: 13px; font-weight: 800; line-height: 1.5; }
h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(30px, 5vw, 56px); font-weight: 400; line-height: 1.16; letter-spacing: 0; text-wrap: balance; }
.dek { margin: 16px 0 0; color: rgba(0, 0, 0, 0.66); font-size: 17px; line-height: 1.8; }
p { margin: 0 0 18px; }
.chapter-head + p { margin-top: 2px; font-size: 18px; line-height: 1.9; color: rgba(0, 0, 0, 0.78); }
.logic-pack { scroll-margin-top: 86px; display: grid; gap: 16px; margin: 30px 0 38px; }
.conclusion + .logic-pack { margin-top: 20px; }
.logic-pack .relation-map { margin: 0; }
.relation-map { position: relative; margin: 30px 0 38px; padding: 20px; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 6px; background-color: #fff; background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 28px 28px; box-shadow: 0 14px 32px rgba(0, 0, 0, 0.03); }
.relation-map::before { content: ""; position: absolute; left: 20px; top: -1px; width: 72px; height: 3px; background: var(--accent); }
.relation-map figcaption { margin-bottom: 16px; padding-bottom: 13px; border-bottom: 1px solid rgba(0, 0, 0, 0.09); }
.relation-map figcaption strong { display: block; max-width: 92%; color: var(--ink); font-size: 16.5px; line-height: 1.45; }
.logic-note { margin: 10px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.rel-band { margin-top: 14px; }
.rel-band + .rel-band { padding-top: 16px; border-top: 1px solid var(--line); }
.rel-band-title { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: rgba(0, 0, 0, 0.76); font-size: 14px; font-weight: 850; line-height: 1.45; }
.rel-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; flex: 0 0 auto; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 13px; font-weight: 850; line-height: 1; }
.rel-mark.is-bad { border-color: rgba(0, 0, 0, 0.28); color: rgba(0, 0, 0, 0.48); background: #f6f6f3; }
.rel-mark.is-good { border-color: var(--accent-line); color: var(--accent); background: #fff; }
.rel-flow { display: grid; gap: 8px; align-items: stretch; }
.rel-flow-three { grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr) 30px minmax(0, 1fr); }
.rel-flow-four { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); }
.rel-split { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.rel-merge { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.rel-drill { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.rel-cell { min-height: 92px; padding: 12px 13px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.rel-cell b { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.34; }
.rel-cell span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.2px; line-height: 1.48; }
.rel-cell.is-muted, .rel-cell.is-bad { background: #f7f7f4; }
.rel-cell.is-bad b::before { content: "× "; color: rgba(0, 0, 0, 0.48); }
.rel-cell.is-good, .rel-cell.is-key { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.rel-cell.is-good b::before { content: "✓ "; color: var(--accent); }
.rel-arrow { position: relative; display: grid; place-items: center; min-height: 96px; color: rgba(0, 0, 0, 0.44); font-size: 18px; font-weight: 850; }
.rel-arrow::before { content: "→"; }
.rel-return { margin-top: 9px; padding: 8px 10px; border-left: 2px solid var(--line-strong); color: var(--muted); font-size: 12.5px; line-height: 1.55; background: #fbfbfa; }
.rel-return strong { color: var(--ink); font-weight: 850; }
.rel-venn { display: grid; grid-template-columns: minmax(0, 1fr) 42px minmax(0, 0.82fr); gap: 12px; align-items: center; }
.venn-stage { position: relative; min-height: 210px; }
.venn-circle { position: absolute; top: 12px; width: 185px; height: 185px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(246, 246, 243, 0.82); }
.venn-label { position: absolute; z-index: 3; top: 84px; width: 96px; text-align: center; }
.venn-label b, .venn-core b, .venn-result b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.venn-label span, .venn-core span, .venn-result span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.venn-label span { display: none; }
.venn-left { left: 0; }
.venn-right { left: 135px; }
.venn-label-left { left: 26px; }
.venn-label-right { left: 198px; }
.venn-core { position: absolute; top: 62px; left: 118px; z-index: 2; display: grid; align-content: center; width: 108px; height: 92px; padding: 9px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, 0.96); box-shadow: inset 3px 0 0 var(--accent-soft); text-align: center; }
.venn-result { min-height: 132px; padding: 16px; border: 1px solid var(--accent-line); background: #fff; box-shadow: inset 3px 0 0 var(--accent-soft); }
.rel-matrix { display: grid; grid-template-columns: 0.78fr repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.rel-matrix-four { grid-template-columns: 0.72fr repeat(3, minmax(0, 1fr)); }
.rel-matrix > div { min-height: 72px; padding: 12px; background: #fff; }
.rel-matrix .matrix-head { color: var(--ink); font-size: 13px; font-weight: 850; line-height: 1.35; background: var(--soft); }
.rel-matrix b { display: block; color: var(--ink); font-size: 13px; line-height: 1.35; }
.rel-matrix span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-axis { display: grid; grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr); gap: 10px; align-items: stretch; }
.axis-pole { min-height: 132px; padding: 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.axis-pole.is-key, .axis-pole.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.axis-pole b { display: block; color: var(--ink); font-size: 15px; line-height: 1.35; }
.axis-pole span { display: block; margin-top: 7px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.55; }
.axis-gap { display: grid; place-items: center; color: rgba(0, 0, 0, 0.5); font-size: 12px; font-weight: 850; letter-spacing: 0.04em; line-height: 1.35; text-align: center; }
.axis-gap::before, .axis-gap::after { content: ""; display: block; width: 1px; height: 34px; background: rgba(0, 0, 0, 0.16); }
.rel-cycle-ring { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.rel-cycle-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cycle-node { position: relative; min-height: 100px; padding: 12px 13px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.cycle-node::after { content: "→"; position: absolute; top: 50%; right: -14px; transform: translateY(-50%); color: rgba(0, 0, 0, 0.44); font-weight: 850; }
.cycle-node:last-child::after { content: "↺"; right: 8px; top: auto; bottom: 6px; transform: none; }
.cycle-node.is-key, .cycle-node.is-good { border-color: var(--accent-line); background: #fff; box-shadow: inset 3px 0 0 var(--accent-soft); }
.cycle-node b { display: block; color: var(--ink); font-size: 13.5px; line-height: 1.34; }
.cycle-node span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.2px; line-height: 1.48; }
.rel-fishbone { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 0.78fr); gap: 10px; align-items: center; }
.fish-bones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fish-bone { padding: 12px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.fish-bone b, .fish-root b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.fish-bone span, .fish-root span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.fish-spine { display: grid; place-items: center; color: rgba(0, 0, 0, 0.44); font-size: 22px; font-weight: 850; }
.fish-spine::before { content: "→"; }
.fish-root { min-height: 126px; padding: 14px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.rel-pyramid { display: grid; gap: 8px; justify-items: center; }
.pyramid-level { width: var(--w, 100%); padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.pyramid-level.is-key, .pyramid-level.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.pyramid-level b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.pyramid-level span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-tree { display: grid; gap: 10px; }
.tree-root { justify-self: center; width: min(100%, 300px); padding: 12px 14px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); text-align: center; }
.tree-branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tree-leaf { padding: 12px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.tree-root b, .tree-leaf b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.tree-root span, .tree-leaf span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-funnel { display: grid; gap: 8px; justify-items: center; }
.funnel-step { width: var(--w, 100%); padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); text-align: center; }
.funnel-step.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.funnel-step b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.funnel-step span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-iceberg { display: grid; gap: 8px; }
.iceberg-top { width: 66%; margin: 0 auto; padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); text-align: center; }
.iceberg-water { display: grid; place-items: center; min-height: 26px; border-top: 1px dashed rgba(0, 0, 0, 0.32); color: var(--muted); font-size: 12px; font-weight: 850; letter-spacing: 0.04em; text-transform: uppercase; }
.iceberg-base { padding: 14px; border: 1px solid var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.iceberg-top b, .iceberg-base b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.iceberg-top span, .iceberg-base span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-stairs { display: grid; gap: 8px; }
.stair-step { width: calc(100% - var(--offset, 0px)); margin-left: var(--offset, 0px); padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.stair-step.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.stair-step b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.stair-step span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-bridge-map { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); gap: 10px; align-items: center; }
.bridge-bank { min-height: 124px; padding: 13px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.bridge-bank.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.bridge-span { display: grid; place-items: center; min-height: 72px; border-top: 2px solid rgba(0, 0, 0, 0.16); border-bottom: 2px solid rgba(0, 0, 0, 0.16); color: rgba(0, 0, 0, 0.55); font-size: 12px; font-weight: 850; line-height: 1.35; text-align: center; }
.bridge-bank b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.bridge-bank span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.rel-slices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slice { padding: 12px 14px; border: 1px solid rgba(0, 0, 0, 0.12); background: rgba(255, 255, 255, 0.92); }
.slice.is-good { border-color: var(--accent-line); background: rgba(255, 255, 255, 0.95); box-shadow: inset 3px 0 0 var(--accent-soft); }
.slice b { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; }
.slice span { display: block; margin-top: 6px; color: rgba(0, 0, 0, 0.62); font-size: 12.5px; line-height: 1.5; }
.axis-pole b, .fish-bone b, .fish-root b, .pyramid-level b, .tree-root b, .tree-leaf b, .funnel-step b, .iceberg-top b, .iceberg-base b, .stair-step b, .bridge-bank b, .slice b { font-size: 13.5px; line-height: 1.34; }
.axis-pole span, .fish-bone span, .fish-root span, .pyramid-level span, .tree-root span, .tree-leaf span, .funnel-step span, .iceberg-top span, .iceberg-base span, .stair-step span, .bridge-bank span, .slice span { font-size: 12.2px; line-height: 1.48; }
.section-title { margin: 42px 0 16px; color: var(--ink); font-size: 21px; line-height: 1.45; font-weight: 850; scroll-margin-top: 86px; }
.pull { margin: 30px 0; padding: 20px 22px; border-left: 3px solid var(--accent); background: var(--soft); color: rgba(0, 0, 0, 0.75); font-size: 16px; line-height: 1.85; }
.conclusion { margin: 28px 0 30px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: 18px 0; color: var(--ink); font-weight: 800; scroll-margin-top: 86px; }
.method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 28px 0 32px; background: var(--line); border: 1px solid var(--line); }
.method { background: #fff; padding: 20px; }
.method strong { display: block; margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.method span { display: block; color: rgba(0, 0, 0, 0.66); font-size: 14px; line-height: 1.75; }
.example-table { width: 100%; border-collapse: collapse; margin: 28px 0 34px; font-size: 14px; line-height: 1.7; }
.example-table th, .example-table td { border: 1px solid var(--line); padding: 13px 14px; text-align: left; vertical-align: top; }
.example-table th { width: 28%; background: var(--soft); color: var(--ink); font-weight: 800; }
.closing { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.source-note { margin-top: 52px; color: var(--muted); font-size: 12px; line-height: 1.8; }

@media (max-width: 1120px) {
  .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .directory-head { grid-template-columns: 1fr; gap: 8px; }
  .article-list { grid-template-columns: 1fr; }
  .article-card { min-height: 248px; }
  .article-shell { display: block; }
  .article-toc { position: sticky; top: 47px; z-index: 10; display: flex; gap: 16px; margin: -2px 0 22px; padding: 8px 0; overflow-x: auto; border-top: 1px solid rgba(0, 0, 0, 0.1); border-bottom: 1px solid rgba(0, 0, 0, 0.1); background: rgba(250, 250, 250, 0.96); white-space: nowrap; scrollbar-width: none; }
  .article-toc::-webkit-scrollbar { display: none; }
  .article-toc p { display: none; }
  .article-toc a { display: inline-flex; align-items: center; min-height: 30px; margin: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; line-height: 1.9; }
  .topbar-inner { padding: 8px 16px; }
  .toplinks { gap: 12px; font-size: 12.5px; }
  .toplinks a { min-height: 34px; }
  .page, .article-page { padding-left: 22px; padding-right: 22px; }
  .page { padding-top: 34px; padding-bottom: 58px; }
  .article-page { padding-top: 14px; padding-bottom: 58px; }
  .landing-hero { gap: 26px; padding-bottom: 30px; }
  .directory-title-hero { font-size: clamp(28px, 8vw, 42px); }
  h1 { font-size: clamp(36px, 13vw, 54px); line-height: 1.08; }
  .hero-lead { margin-top: 18px; }
  .article-card { min-height: 218px; padding: 18px; }
  .article-card::before { right: 14px; top: 10px; font-size: 56px; }
  .article-card > span:first-child { grid-template-rows: 18px 56px 43px; gap: 11px; }
  .article-card h3 { font-size: clamp(21px, 6.1vw, 23px); line-height: 1.22; }
  .article-card p:not(.article-label) { font-size: 13.5px; line-height: 1.58; }
  .article-card .read-more { width: 32px; height: 32px; margin-top: 14px; font-size: 0; }
  .article-toc { top: 41px; gap: 14px; margin-bottom: 18px; padding: 6px 0; font-size: 12.5px; }
  .article-toc a { min-height: 28px; }
  .chapter-head { margin-bottom: 20px; padding-top: 13px; }
  .chapter-no { margin-bottom: 8px; font-size: 11.5px; }
  .chapter-name { margin-bottom: 8px; font-size: 12.5px; }
  h2 { font-size: clamp(29px, 8vw, 38px); line-height: 1.18; }
  .dek { margin-top: 12px; font-size: 16px; line-height: 1.75; }
  .method-grid { grid-template-columns: 1fr; }
  .example-table { display: block; overflow-x: auto; white-space: normal; }
  .relation-map { margin: 22px 0 30px; padding: 14px; border-radius: 5px; background-size: 24px 24px; }
  .relation-map::before { left: 14px; width: 56px; height: 2px; }
  .relation-map figcaption { margin-bottom: 14px; padding-bottom: 12px; }
  .relation-map figcaption strong { font-size: 15.5px; line-height: 1.55; }
  .rel-band-title { align-items: flex-start; gap: 8px; margin-bottom: 10px; font-size: 13.5px; }
  .rel-mark { width: 20px; height: 20px; margin-top: 1px; font-size: 12px; }
  .rel-flow-three, .rel-flow-four, .rel-split, .rel-merge, .rel-drill { grid-template-columns: 1fr; }
  .logic-pack { margin: 20px 0 30px; gap: 12px; }
  .rel-cell { min-height: 0; padding: 12px; }
  .rel-cell span { margin-top: 5px; line-height: 1.5; }
  .rel-arrow { min-height: 28px; }
  .rel-arrow::before { content: "↓"; }
  .rel-venn { grid-template-columns: 1fr; gap: 8px; }
  .venn-stage { min-height: 168px; }
  .venn-circle { width: 146px; height: 146px; }
  .venn-label { top: 65px; width: 76px; }
  .venn-right { left: 108px; }
  .venn-label-left { left: 18px; }
  .venn-label-right { left: 178px; }
  .venn-core { top: 49px; left: 90px; width: 90px; height: 78px; padding: 8px; }
  .rel-axis, .rel-fishbone, .rel-bridge-map, .rel-slices { grid-template-columns: 1fr; }
  .axis-gap { min-height: 34px; }
  .axis-gap::before, .axis-gap::after { display: none; }
  .axis-gap::before { content: "↓"; display: block; width: auto; height: auto; background: none; color: rgba(0, 0, 0, 0.5); font-size: 18px; }
  .rel-cycle-ring, .rel-cycle-three, .fish-bones, .tree-branches { grid-template-columns: 1fr; }
  .cycle-node { min-height: 0; padding: 12px; }
  .cycle-node::after { content: "↓"; position: static; display: block; margin-top: 8px; transform: none; }
  .cycle-node:last-child::after { content: "↺"; position: static; }
  .fish-spine { min-height: 28px; }
  .fish-spine::before { content: "↓"; }
  .rel-matrix, .rel-matrix-four { grid-template-columns: 1fr; }
  .rel-matrix[style] { grid-template-columns: 1fr !important; }
  .rel-matrix > div { min-height: 0; padding: 11px 12px; }
  .pyramid-level { width: max(var(--w, 100%), 74%) !important; }
  .funnel-step { width: 100% !important; }
  .iceberg-top { width: 86%; }
  .stair-step { width: calc(100% - min(var(--offset, 0px), 54px)); margin-left: min(var(--offset, 0px), 54px); }
  .bridge-span { min-height: 34px; border: 0; }
  .bridge-span::before { content: "↓"; display: block; color: rgba(0, 0, 0, 0.5); font-size: 18px; }
}

@media print {
  .topbar, .progress, .article-toc, .back-link { display: none; }
  .page, .article-page { max-width: none; padding: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}
