#chapter-map{margin:1.6rem 0;padding-block:1.1rem;border-block:1px solid var(--line);scroll-margin:1rem}
#chapter-map h3{margin:0 0 .45rem}
.cm-note{font-size:.94rem;line-height:1.45;margin:.25rem 0;color:#394c43}
.cm-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:1rem;align-items:start;margin-top:.85rem}
.cm-figure svg{display:block;width:100%;height:auto;background:#f1f6f4;border:1px solid #c9d6d1}
.cm-figure [data-region]{cursor:pointer}
.cm-figure path[data-region]{stroke:#657969;stroke-width:1.45;stroke-linejoin:round}
.cm-figure path[data-region]:hover,.cm-figure path.cm-selected{stroke:#162f26;stroke-width:4}
.cm-figure g[data-region] rect{fill:#fffef8;stroke:#657969;stroke-width:1.5}
.cm-figure g[data-region] text{pointer-events:none;font:700 30px system-ui,sans-serif;fill:#162f26}
.cm-figure g[data-region]:hover rect,.cm-figure g.cm-selected rect{fill:#173e31;stroke:#fff;stroke-width:2}
.cm-figure g[data-region]:hover text,.cm-figure g.cm-selected text{fill:#fff}
.cm-legend{display:flex;flex-wrap:wrap;gap:.35rem .8rem;font-size:.85rem;margin:.55rem 0}
.cm-legend span{display:flex;align-items:center;gap:.4rem}
.cm-legend i{display:inline-block;width:1.25rem;height:.85rem;border:1px solid #748379;flex:none}
.cm-legend i[style*="linear-gradient(90deg"]{width:3.6rem}
.cm-panel{min-width:0}
.cm-panel select{margin-top:.4rem}
.cm-total{background:#e3ebd9;margin:.7rem 0 0;padding:.7rem;font-weight:650;line-height:1.5}
.cm-list{list-style:none;margin:0;padding:0}
.cm-list li{padding:.75rem .35rem;border-bottom:1px solid var(--line)}
.cm-list li>a{font-weight:700}
.cm-list small{display:block}
.cm-amounts{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:.35rem;font-variant-numeric:tabular-nums}
@media(max-width:730px){.cm-layout{grid-template-columns:minmax(0,1fr)}}
@media print{.cm-list{max-height:none;overflow:visible}.cm-figure{print-color-adjust:exact}}
