/* Chapter 1 publication: fixed geometry in manuscript and presentation. */
.theme-map-explorer{font:16px/1.5 var(--sans);color:var(--ex-ink,var(--ink));background:var(--ex-bg,var(--paper));position:relative;width:1280px;height:800px;overflow:hidden;box-sizing:border-box;border:1px solid var(--line);border-radius:10px}
.theme-map-explorer *{box-sizing:border-box}
.theme-map-explorer.screen-slide .explorer-heading{position:absolute;top:28px;left:28px;right:28px;margin:0;padding:0;border:0}
.theme-map-explorer.screen-slide .explorer-heading h3{font:600 32px/1.4 var(--sans)!important;margin:12px 0 8px!important;color:var(--ink)}
.theme-map-explorer.screen-slide .explorer-heading p{font:16px/1.6 var(--sans)!important;margin:0!important;color:var(--muted)!important}
.theme-map-explorer .theme-map-controls{position:absolute;right:28px;top:35px;display:flex;gap:8px;z-index:2}
.theme-map-explorer .theme-map-controls button{font:13px/1.5 var(--sans);padding:7px 12px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:var(--paper)}
.theme-map-explorer .theme-map-controls button[aria-pressed=true]{color:var(--brand);background:var(--pale);border-color:var(--brand)}
.theme-map-explorer .theme-map-label{position:absolute;color:var(--muted);font:12px/1.5 var(--sans);letter-spacing:.07em}
.theme-map-explorer .label-goals{left:28px;top:170px}.theme-map-explorer .label-maps{left:468px;top:142px}.theme-map-explorer .label-read{left:888px;top:142px}
.theme-map-explorer .theme-map-edges{position:absolute;inset:0;width:1280px;height:800px;max-width:none;pointer-events:none}
.theme-map-explorer .theme-map-edge{fill:none;stroke:var(--edge-color);stroke-width:2;opacity:.4;transition:opacity .2s}
.theme-map-explorer.has-selection .theme-map-edge{opacity:.1}.theme-map-explorer.has-selection .theme-map-edge.is-active{opacity:1;stroke-width:2.5}
.theme-map-explorer.is-flowing .theme-map-edge{stroke-dasharray:8 11;animation:theme-map-flow 3s linear infinite}
.theme-map-explorer.has-selection.is-flowing .theme-map-edge:not(.is-active){animation:none;stroke-dasharray:none}
@keyframes theme-map-flow{to{stroke-dashoffset:-57}}
.theme-map-explorer .theme-map-pillars{position:absolute;left:28px;top:204px;width:260px;display:grid;grid-template-rows:repeat(4,88px);gap:22px}
.theme-map-explorer .theme-map-pillars button{position:relative;border:1px solid var(--line);border-left:4px solid var(--node-color);border-radius:8px;background:var(--paper);color:var(--ink);text-align:left;padding:13px 14px;display:grid;grid-template-columns:27px 1fr;gap:7px 7px;align-content:center;font-family:var(--sans)}
.theme-map-explorer .theme-map-pillars small{font:600 12px/1.5 var(--sans);color:var(--node-color);align-self:center}
.theme-map-explorer .theme-map-pillars strong{font:600 18px/1.45 var(--sans)}
.theme-map-explorer .theme-map-pillars span{grid-column:1/-1;font:13px/1.55 var(--sans);color:var(--muted)}
.theme-map-explorer .theme-map-nodes{position:absolute;left:468px;top:167px;width:352px;display:grid;grid-template-rows:repeat(7,64px);gap:8px}
.theme-map-explorer .theme-map-nodes button{display:grid;grid-template-columns:32px 1fr 27px;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);padding:8px 14px}
.theme-map-explorer .theme-map-nodes b{font:600 24px/1.4 var(--sans);color:var(--brand)}
.theme-map-explorer .theme-map-nodes strong{display:block;font:600 18px/1.4 var(--sans)}
.theme-map-explorer .theme-map-nodes small{display:block;font:12px/1.5 var(--sans);color:var(--muted);margin-top:3px}
.theme-map-explorer .theme-map-nodes em{font:13px/1.5 var(--sans);color:var(--muted);font-style:normal}
.theme-map-explorer button.is-linked{border-color:var(--brand);background:var(--pale)}
.theme-map-explorer button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--brand)}
.theme-map-explorer button:focus-visible,.theme-map-explorer a:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.theme-map-explorer .theme-map-detail{position:absolute;left:864px;top:167px;width:388px;height:496px;background:var(--pale);border:1px solid var(--line);border-radius:8px;padding:24px;display:flex;flex-direction:column;gap:0}
.theme-map-explorer .theme-map-detail>small{font:12px/1.55 var(--sans);color:var(--brand);letter-spacing:.04em}
.theme-map-explorer.screen-slide .theme-map-detail h4{font:600 28px/1.45 var(--sans)!important;margin:18px 0 14px!important;color:var(--ink)}
.theme-map-explorer.screen-slide .theme-map-detail p{font:17px/1.8 var(--sans)!important;margin:0 0 18px!important;color:var(--ink)!important}
.theme-map-explorer.screen-slide .theme-map-detail .theme-map-question{font-weight:600!important;color:var(--brand)!important}
.theme-map-explorer .theme-map-detail a{font:600 15px/1.6 var(--sans);color:var(--brand);text-decoration:none;margin-top:auto;width:fit-content;border-bottom:1px solid var(--brand);padding-bottom:3px}
.theme-map-explorer .theme-map-overview{display:grid;gap:12px;margin:12px 0 24px;font:15px/1.6 var(--sans);color:var(--brand);counter-reset:step}
.theme-map-explorer .theme-map-overview span:before{counter-increment:step;content:'0' counter(step) '  ';font-weight:600;white-space:pre}
.theme-map-explorer .theme-map-tags{display:flex;flex-direction:column;gap:7px;font:13px/1.5 var(--sans);color:var(--muted);margin:0 0 14px}
.theme-map-explorer .theme-map-related{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.theme-map-explorer .theme-map-related a{font-size:15px;font-weight:400;margin:0}
.theme-map-explorer.screen-slide .theme-map-note{position:absolute;left:28px;right:28px;top:691px;font:14px/1.65 var(--sans)!important;color:var(--muted)!important;margin:0!important}
.theme-map-explorer.screen-slide>figcaption{position:absolute;left:28px;right:28px;top:746px;bottom:auto;margin:0!important;padding-top:13px;border-top:1px solid var(--line);font:13px/1.6 var(--sans)!important;color:var(--muted)}
.theme-map-explorer[data-lang=en] .theme-map-pillars strong{font-size:16px;line-height:1.3}
.theme-map-explorer[data-lang=en] .theme-map-pillars span{font-size:12px}
.theme-map-explorer[data-lang=en] .theme-map-nodes strong{font-size:16px}
.theme-map-explorer[data-lang=en] .theme-map-nodes small{font-size:10px}
.theme-map-explorer[data-lang=en] .theme-map-detail p{font-size:16px!important;line-height:1.7!important}
.theme-map-explorer[data-lang=en] .theme-map-detail h4{font-size:25px!important}
/* No repeated sources, downloads or reference-table controls in the reading view. */
.chapter-print-figure{display:none}
@media(prefers-reduced-motion:reduce){.theme-map-explorer .theme-map-edge{animation:none!important;transition:none!important;stroke-dasharray:none!important}}
@media print{
 .foundation-reading .reading-bridge{display:block!important;break-before:page}
 .foundation-reading .explorer-slide-frame,.foundation-reading .foundation-figure,.foundation-reading .slide-launcher,.foundation-reading .osdi-canonical-source{display:none!important}
 .foundation-reading .chapter-print-figure{display:block!important;width:100%;height:auto;margin:16px 0;break-inside:avoid}
 .foundation-reading .reading-bridge>p{display:none}
 .foundation-reading .reading-tools,.foundation-reading .reading-progress{display:none!important}
 .foundation-reading a{color:inherit;text-decoration:none}
}
