.memory-banner{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:26px 30px;border-radius:14px;background:#eaf0e5;border:1px solid #dce5d5}.memory-banner h2{font:600 26px/1.7 'SimSun',serif;margin-top:6px}.memory-banner p{font-size:13px}.memory-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.memory-tabs button{background:#fff;border:1px solid var(--border);border-radius:9px;text-align:left;padding:15px 20px;color:var(--ink);font-weight:600}.memory-tabs small{display:block;font-size:10px;font-weight:400;letter-spacing:1px;color:var(--muted);margin-top:4px}.memory-tabs button[aria-pressed=true]{border-color:#30715b;background:#e7eee3;box-shadow:inset 0 0 0 1px #30715b}.memory-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.tract-card h3{margin:0}.tract-card .secondary{font-size:11px;padding:8px 12px}.tract-svg{height:auto!important;width:100%;margin:15px auto 0;max-height:460px}.tract-svg text,.root-figure text{font:12px 'Microsoft YaHei',sans-serif;fill:#47675a}.tract-svg .tract-small,.root-figure .tract-small{font-size:10px}.memory-explain h2{font-size:23px;margin:10px 0}.memory-explain>p{font-size:12px}.memory-explain ol{padding:0;list-style:none;margin:18px 0}.memory-explain li{display:flex;gap:13px;align-items:center;border-bottom:1px solid #edf1e9;padding:8px 0;font-size:12px}.memory-explain li span{font:16px Georgia,serif;color:#a2b4a2}.memory-controls{display:flex;gap:9px;margin:12px 0}.memory-controls button{background:#edf1e9;padding:8px 13px;border-radius:5px;color:#456e58;font-size:12px}.memory-controls [aria-pressed=true]{background:#286c57;color:#fff}.memory-answer{background:#f6f2e8;border-left:3px solid #c5a368;padding:15px;font-size:13px;min-height:115px}.memory-answer p{font-size:12px;color:#776d54}.memory-mnemonic{padding:10px 0;color:#367156}.memory-compare{margin-top:22px}.memory-compare>p{font-size:12px}.compare-scroll{overflow-x:auto;margin:20px 0}.memory-compare table{width:100%;border-collapse:collapse;font-size:12px;min-width:640px}.memory-compare th{font-size:10px;font-weight:400;color:#6c8574;text-align:left;background:#eef3e9}.memory-compare td,.memory-compare th{padding:13px;border-bottom:1px solid #e5ecdf;line-height:1.8}.memory-compare td:first-child{width:86px}.memory-compare td button{padding:5px 11px;background:#e7eee1;border-radius:4px;color:#286c57}.root-figure{height:auto!important;width:100%;min-height:170px}.memory-mnemonic:before{content:'记忆线索 / ';font-size:10px;letter-spacing:1px;color:#8c9d8c}.memory-compare .pill{white-space:nowrap}@media(max-width:1000px){.memory-grid{grid-template-columns:1fr}.tract-svg{max-height:430px}.memory-banner{padding:20px}.memory-banner .pill{display:none}}@media(max-width:600px){.memory-tabs{gap:6px}.memory-tabs button{padding:12px 8px;font-size:11px}.memory-tabs small{font-size:9px}.memory-banner h2{font-size:23px}.memory-explain h2{font-size:21px}.memory-compare .pill{display:none}}
.case-evidence .root-figure,.case-evidence .tract-svg{height:auto;max-height:410px}.case-evidence .root-figure{min-height:180px}.case-evidence figure{display:flex;flex-direction:column;justify-content:center}.memory-answer p{line-height:1.9}
.diagram-open{display:block;background:transparent;color:#286c57;font-size:11px;padding:5px 0;text-decoration:underline;text-underline-offset:3px}.diagram-dialog{width:min(1000px,94vw);max-width:94vw;max-height:91vh;padding:24px;border:1px solid #dce5d4;border-radius:14px;color:var(--ink);background:#fbfcf8}.diagram-dialog::backdrop{background:#19382d88;backdrop-filter:blur(3px)}.diagram-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:14px}.diagram-dialog-head p{font-size:11px}.diagram-dialog-head button{white-space:nowrap;font-size:12px}.diagram-zoom-controls{display:flex;align-items:center;gap:10px;margin:14px 0;font-size:12px}.diagram-zoom-controls button{font-size:11px;padding:8px 12px}.diagram-zoom-scroll{max-height:65vh;overflow:auto;background:#f1f5eb;border-radius:9px}.diagram-zoom-art{width:100%;padding:15px}.diagram-zoom-art svg{height:auto!important;width:100%!important;max-height:none!important;max-width:none!important;margin:0}.diagram-zoom-art .tract-svg{max-height:none!important}@media(max-width:500px){.diagram-dialog{padding:16px}.diagram-dialog-head b{font-size:13px}.diagram-zoom-controls{gap:7px}.diagram-zoom-controls button{padding:7px 9px}}
