.pw-paper .npp-diagram,.pw-paper .mtp-diagram{box-sizing:border-box;margin:8px 0 10px;padding:8px;border:1px solid #c9d8ce;border-radius:12px;background:#fbfdf8;break-inside:avoid}.npp-diagram svg,.mtp-diagram svg{display:block;width:min(100%,490px);height:auto;margin:auto}.npp-frame{fill:#f5faf3;stroke:#a7c7b0;stroke-width:2}.npp-kicker{fill:#315e4d;font:700 13px system-ui,Microsoft YaHei,sans-serif;letter-spacing:.06em}.npp-lines polyline,.npp-lines polygon{fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.npp-lines .npp-line-0{stroke:#24778d}.npp-lines .npp-line-1{stroke:#bd6a43}.npp-lines .npp-line-2{stroke:#7171b6}.npp-line-labels .npp-line-0{fill:#18586a}.npp-line-labels .npp-line-1{fill:#8a4528}.npp-line-labels .npp-line-2{fill:#494987}.npp-line-labels text{font:700 12px system-ui,Microsoft YaHei,sans-serif;text-anchor:middle}.npp-node circle{fill:#fff;stroke:#639c80;stroke-width:3}.npp-node.is-given circle{fill:#d9efc6;stroke:#4a8a61}.npp-node.is-empty circle{stroke:#d17b56;stroke-dasharray:4 3}.npp-node text{fill:#173d31;font:700 23px system-ui,Microsoft YaHei,sans-serif;text-anchor:middle}.npp-diagram figcaption,.mtp-diagram figcaption{margin:3px 5px;color:#35574a;font-size:12px;line-height:1.5}.npp-answer-key,.mtp-answer-key{display:grid;gap:3px;padding:7px 9px;border-radius:8px;background:#eaf4df;color:#244b3d}.npp-answer-key strong{font-size:12px}.mtp-grid-frame{fill:#fff;stroke:#38755e;stroke-width:3}.mtp-diagram[data-kind=sudoku] path{stroke:#8aa996;stroke-width:1.2}.mtp-diagram[data-kind=sudoku] path.is-major{stroke:#38755e;stroke-width:3}.mtp-value{fill:#244b3d;font:700 23px system-ui,Microsoft YaHei,sans-serif;text-anchor:middle}.mtp-value.is-given{fill:#2f6d50}.mtp-value.is-empty{fill:#bd674a;font-weight:600}.mtp-wall-lines{fill:#f5faf3;stroke:#397860;stroke-width:3;stroke-linejoin:round}.mtp-wall-cell circle{fill:#fff;stroke:#639c80;stroke-width:3}.mtp-wall-cell.is-given circle{fill:#d9efc6;stroke:#4a8a61}.mtp-wall-cell.is-empty circle{stroke:#d17b56;stroke-dasharray:4 3}.mtp-wall-cell text{fill:#173d31;font:700 21px system-ui,Microsoft YaHei,sans-serif;text-anchor:middle}.pw-paper li:has(.npp-diagram,.mtp-diagram){padding-bottom:2px}.pw-paper li:has(.npp-diagram,.mtp-diagram)>p:first-child{font-weight:650}@media print{.pw-paper .npp-diagram,.pw-paper .mtp-diagram{padding:5px;margin:4px 0 6px;border-color:#719982}.npp-diagram figcaption,.mtp-diagram figcaption{font-size:10px}.npp-node text{font-size:21px}}
