@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--green:#173e32;--lime:#d7e9a6;--ink:#20372e;--muted:#68786f;--line:#dce3da;--paper:#f8f9f5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px 'DM Sans',Arial,sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button{border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:11px 16px}button:hover{background:#e9efdf}button:focus-visible,a:focus-visible{outline:3px solid #b77b28;outline-offset:4px}header{height:88px;padding:0 4%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--green);font-size:20px;letter-spacing:2px;font-weight:800}.brandmark{font-size:38px;line-height:1}.brand-sub{font-size:12px;letter-spacing:1.5px;border-left:1px solid #becbbd;padding-left:18px;margin-left:12px;font-weight:500}.header-actions{display:flex;gap:10px}.header-actions>button:first-child{background:transparent;border-color:transparent}.dark{background:var(--green);color:white;border-color:var(--green)}.dark:hover{background:#295a46}main{max-width:1640px;margin:auto;padding:38px 4% 0}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:#56715a;margin:0 0 14px}h1{font-family:'Manrope',Arial,sans-serif;font-size:clamp(30px,3vw,46px);letter-spacing:-1.7px;font-weight:700;margin:0 0 12px}h1 em{font:italic 1.03em Georgia,serif;color:#677a5c}.intro{margin:0;color:var(--muted)}.taxonomy{padding:12px 0 12px 28px;border-left:1px solid var(--line);display:flex;flex-direction:column;gap:9px}.taxonomy i{font-family:Georgia,serif;font-size:23px}.taxonomy span{font-size:14px;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 360px;border:1px solid var(--line);border-radius:15px;overflow:hidden;background:white}.explorer{min-width:0;background:#f2f5ee}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;border-bottom:1px solid var(--line);gap:12px;background:#fafbf7}.tabs{display:flex;gap:4px}.tabs button{font-size:14px;background:transparent;border-color:transparent;padding:10px 14px}.tabs button[aria-pressed=true]{background:var(--green);color:#fff}.toolbar>button{font-size:14px;background:transparent}.canvas{position:relative;height:590px;overflow:hidden;background:#f5f7f2}.view{width:590px;height:590px;position:relative;margin:auto;max-width:100%}.view img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.view[hidden]{display:none}.canvas-caption{position:absolute;left:25px;top:23px;z-index:2;pointer-events:none;display:flex;flex-direction:column;gap:7px}.canvas-caption span{font-size:11px;letter-spacing:2px;color:#7b8675}.canvas-caption strong{font-weight:500;font-size:15px}.hotspot{position:absolute;transform:translate(-50%,-50%);background:white;border:2px solid #fff;box-shadow:0 2px 10px #173e3230;border-radius:50%;padding:0;width:32px;height:32px;font-size:13px;font-weight:700;color:var(--green);z-index:3}.hotspot.active{background:var(--green);color:white;box-shadow:0 0 0 7px #173e3220}.hotspot span{position:absolute;left:40px;top:0;white-space:nowrap;color:var(--green);font-weight:500;background:#fffffff0;border:1px solid #dce3da;padding:6px 10px;border-radius:5px;font-size:13px;pointer-events:none}.hotspot.left span{left:auto;right:40px}.hide-labels .hotspot span{display:none}.canvas-note{position:absolute;bottom:10px;left:0;right:0;text-align:center;font-size:12px;color:#64735d;pointer-events:none}.figure-footer{display:flex;justify-content:space-between;gap:10px;padding:16px 22px;border-top:1px solid var(--line);font-size:12px;color:#66735e;background:#fafbf7}.legend-dot{display:inline-block;width:7px;height:7px;background:var(--green);border-radius:100%;margin-right:6px}.detail{border-left:1px solid var(--line);padding:28px;display:flex;flex-direction:column}.detail-top{display:flex;align-items:center;justify-content:space-between}.detail-top .eyebrow{margin:0;font-size:11px;letter-spacing:1.5px}.detail-top>span:last-child{font-size:13px;color:#7c887a}.detail h2{font-family:Georgia,serif;font-weight:400;font-size:35px;line-height:1.15;margin:27px 0 7px;letter-spacing:-.6px}.latin{font-size:14px;color:#819076;font-style:italic;margin:0 0 25px}.description{font-size:16px;line-height:1.65;color:#526351}.detail h3{font-size:12px;letter-spacing:1.5px;margin:26px 0 14px}.facts{list-style:none;padding:0;margin:0}.facts li{position:relative;padding:0 0 12px 18px;font-size:14px;line-height:1.6;color:#526351}.facts li:before{content:'';width:5px;height:5px;background:#7d9564;position:absolute;left:0;top:9px;border-radius:50%}.teaching{background:#f0f4e8;border-left:3px solid #8ba566;padding:16px;margin-top:18px}.teaching b{display:block;font-size:12px;letter-spacing:1px;margin-bottom:8px}.teaching p{margin:0;font:italic 16px/1.5 Georgia,serif}.source-link{display:block;margin:18px 0;color:#748167;font-size:12px;text-underline-offset:3px}.lesson-nav{margin-top:auto;padding-top:25px;display:flex;align-items:center;gap:16px}.lesson-nav button{padding:9px 14px}.lesson-nav button:disabled{opacity:.35;cursor:default}.lesson-nav>div{flex:1;text-align:center;font-size:12px;color:#75816d}.progress{height:3px;background:#e7eddf;margin-top:10px}.progress>div{height:3px;background:#718956;transition:width .2s}.section-label{display:flex;justify-content:space-between;margin:27px 0 16px}.section-label .eyebrow{margin:0}.section-label>span:last-child{font:italic 15px Georgia,serif;color:#76836a}#structureList{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px}#structureList button{flex:0 0 auto;font-size:14px;background:transparent;border-radius:7px;padding:12px 15px}#structureList button span{font-size:11px;color:#85927b;margin-right:8px}#structureList button[aria-pressed=true]{background:#e8efdc;border-color:#9bab84}footer{display:flex;justify-content:space-between;gap:16px;padding:26px 0;border-top:1px solid var(--line);margin-top:17px;font-size:12px;letter-spacing:.5px;color:#65775d}.muted{margin-left:12px;color:#88917f}.diagram{padding:60px 20px 35px}.diagram svg{width:100%;height:100%;overflow:visible}.diagram svg text{font-family:'DM Sans',Arial,sans-serif;fill:#294631}.diagram svg [data-id]{cursor:pointer;outline:none}.diagram svg [data-id]:hover,.diagram svg [data-id]:focus-visible{filter:brightness(1.08);stroke:#193e32;stroke-width:3px}.diagram svg [aria-pressed=true]{stroke:#153f33;stroke-width:4px}.diagram-help{text-align:center;font-size:13px;color:#607556}dialog{max-width:650px;width:calc(100% - 30px);border:1px solid var(--line);border-radius:18px;padding:36px;color:var(--ink);line-height:1.7}dialog::backdrop{background:#102d22a0;backdrop-filter:blur(4px)}dialog h2{font:32px Georgia,serif}dialog a{color:#2a684b}dialog li{margin:12px 0}.close{float:right;font-size:22px;padding:2px 12px}.presentation header,.presentation .heading,.presentation .structure-nav,.presentation footer{display:none}.presentation main{max-width:none;padding:16px}.presentation .workspace{min-height:calc(100vh - 32px);grid-template-columns:minmax(0,1fr) 410px}.presentation .canvas{height:calc(100vh - 170px);min-height:480px}.presentation .view{height:100%;width:auto;aspect-ratio:1}.presentation .detail{font-size:18px}.exit-present{position:fixed;right:25px;bottom:20px;z-index:9}.presentation .lesson-nav{margin-bottom:48px}@media(min-width:1500px){.canvas{height:660px}.view{width:660px;height:660px}}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 320px}.detail{padding:23px}.canvas{height:520px}.view{width:520px;height:520px}.brand-sub{display:none}.taxonomy{display:none}.toolbar{padding:12px}.tabs button{padding:9px}.canvas-caption{left:15px;top:15px}.figure-footer{padding:14px;flex-wrap:wrap}}@media(max-width:800px){header{height:73px}.brand{font-size:16px;gap:6px}.header-actions{gap:0}.header-actions button{font-size:13px;padding:9px}.header-actions>button:first-child{display:none}main{padding:28px 16px 0}.heading{margin-bottom:24px}.eyebrow{font-size:10px}h1{font-size:32px}.intro{font-size:14px}.workspace,.presentation .workspace{grid-template-columns:1fr}.canvas,.presentation .canvas{height:auto;min-height:0;aspect-ratio:1}.view,.presentation .view{width:100%;height:100%}.toolbar{gap:4px}.tabs{gap:0}.tabs button,.toolbar>button{font-size:12px;padding:10px 7px}.detail{border-left:0;border-top:1px solid var(--line);padding:25px}.detail h2{margin-top:20px}.lesson-nav{margin-top:15px}.canvas-caption strong{font-size:12px}.hotspot{width:27px;height:27px;font-size:11px}.hotspot span{font-size:11px;left:32px;padding:5px}.hotspot.left span{right:32px}.canvas-note{font-size:10px}.section-label>span:last-child{display:none}footer{flex-direction:column;line-height:1.6}.figure-footer{font-size:11px}.presentation .lesson-nav{margin-bottom:0}.diagram{padding:45px 15px 22px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,.toolbar,.structure-nav,.lesson-nav,footer,.exit-present{display:none!important}main{padding:0}.workspace{grid-template-columns:1fr 300px}.canvas{height:500px}.view{height:500px;width:500px}.detail{padding:16px}}
