:root{--ink:#183f42;--teal:#23776c;--paper:#fafbf5}.geo-svg{max-width:100%;margin:auto}.geo-svg svg{width:100%;height:auto;display:block}.diagram-caption{padding:6px 20px 18px;margin:0;color:#506b66;font-size:.86rem;line-height:1.6}.chapter-visual{background:#f5f8ee;border-bottom:1px solid #d5e2cf}.explorer{margin:4px 20px 24px;padding:22px;background:white;border:1px solid #cedbd1;border-radius:15px}.explorer h3{margin-top:0}.explorer label{font-weight:700;display:block;margin-top:12px}.explorer input[type=range]{width:100%;accent-color:#23776c;min-height:36px}.explorer output{display:block;padding:12px;border-radius:8px;background:#edf4e9;font-weight:800;text-align:center}.bearing-model{max-width:300px;margin:auto}.bearing-model text,.lat-model text{font-family:system-ui,sans-serif;font-size:16px;fill:#183f42}.lat-model{width:100%;max-height:340px}.question-diagram{margin:16px 0}.question-diagram:empty{display:none}.question-diagram .geo-svg{max-width:760px;background:#fff;border:1px solid #d5e2cf;border-radius:12px;padding:8px}.geo-focus{background:#eaf3e5}.fieldwork-note{border-left:4px solid #d98735;padding:10px 20px;background:#fff7e8}@media(max-width:600px){.explorer{margin:3px 10px 16px;padding:14px}.question-diagram .geo-svg{padding:0}.geo-svg{overflow-x:auto}.question-diagram svg{min-width:520px}.chapter-visual>.geo-svg svg{min-width:500px}.chapter-visual>.geo-svg{overflow-x:auto}}@media print{.explorer{display:none}}
