/* Explore is a focused presentation of shared semantic analysis, independent of research controls. */
.explore-shell{max-width:1800px;margin:auto;padding:26px 3vw 18px;color:var(--ink)}
.explore-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:24px}.explore-heading>div{max-width:820px}.explore-heading h1{font:clamp(24px,2.3vw,36px)/1.18 var(--serif);letter-spacing:-.7px;margin:8px 0 10px}.explore-heading p{font-size:13px;color:var(--muted);margin:0}.explore-shell .eyebrow{font-size:10px;letter-spacing:1.8px}.explore-work-label{max-width:280px;min-width:190px;font-size:10px;color:var(--muted);display:block}.explore-shell select{font:12px system-ui;color:var(--ink);background:#ffffff80;border:1px solid var(--line);border-radius:6px;padding:9px 12px;max-width:100%}.explore-work-label select{display:block;width:100%;margin-top:6px;text-overflow:ellipsis}.explore-shell button{font:12px system-ui;color:var(--ink);cursor:pointer}.explore-shell button:focus-visible,.explore-shell select:focus-visible{outline:2px solid var(--accent);outline-offset:3px}.explore-toolbar{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:12px 0;border-block:1px solid var(--line);font-size:11px}.explore-toolbar label{display:flex;align-items:center;gap:10px;color:var(--muted)}.explore-toolbar select{max-width:300px}.explore-check input{accent-color:var(--ink);margin:0}.explore-landscape{margin-left:auto}.explore-total{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
.explore-workspace{display:grid;grid-template-columns:200px minmax(0,1fr) 285px;align-items:start;gap:22px;padding:24px 0}.explore-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.explore-section-heading h2{font:23px var(--serif);margin:0}.explore-section-heading>span:not(.eyebrow){font-size:10px;color:var(--muted)}.explore-themes{padding-top:8px}.explore-theme{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;background:transparent;border-radius:6px;padding:12px 9px;margin:2px 0;line-height:1.5!important}.explore-theme small{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.explore-theme:hover{background:#e8eee5}.explore-theme[aria-pressed=true]{border-color:#c4d1c3;background:#e4ece1;box-shadow:inset 2px 0 0 var(--theme,var(--ink))}.explore-theme-dot{width:8px;height:8px;background:var(--theme);border-radius:50%}.explore-all{grid-template-columns:1fr auto;margin-bottom:10px}.explore-theme-note{border-top:1px solid var(--line);padding-top:15px;margin-top:22px;font-size:10px;line-height:1.7;color:var(--muted)}
.explore-map-area{min-width:0}.explore-map-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding:0 2px 16px;min-height:92px}.explore-map-heading h2{font:26px/1.2 var(--serif);margin:6px 0;letter-spacing:-.4px}.explore-map-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.explore-map-tools{display:flex;gap:4px}.explore-map-tools button{border:1px solid var(--line);border-radius:5px;background:#fff9;padding:6px 10px}.explore-map{display:block;width:100%;height:auto;aspect-ratio:900/600;min-height:360px;max-height:620px;border:1px solid #d2dbcf;border-radius:14px;background:#84b4c4;box-shadow:0 12px 32px #244f5920;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.explore-map:active{cursor:grabbing}.explore-map circle[data-passage]{cursor:pointer}.explore-map circle[data-passage]:focus{stroke:#233e35;stroke-width:3;outline:none}.explore-terrain,.explore-links{pointer-events:none}.explore-links line{stroke:#fff4d6;stroke-width:1.4;stroke-dasharray:3 4;opacity:.8}.explore-map-caption{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted);padding:12px 2px 0;min-height:32px}.explore-terrain-note{font-size:10px;color:var(--muted);line-height:1.7;margin:6px 2px}
.explore-insight{border-left:1px solid var(--line);padding:8px 0 0 22px;min-width:0}.explore-insight-empty{padding:65px 8px 35px}.explore-compass{font:60px var(--serif);color:#869c87;display:block;margin-bottom:28px}.explore-insight-empty .eyebrow{display:block;line-height:1.7}.explore-insight h2{font:25px/1.25 var(--serif);margin:14px 0 8px}.explore-insight-empty p{font-size:13px;line-height:1.9;color:var(--muted)}.explore-text-button{border:0;background:transparent;padding:3px;color:var(--muted)!important}.explore-insight #explore-close{font-size:23px;line-height:1}.explore-topic-tag{display:block;border-left:3px solid var(--theme);padding-left:8px;font-size:11px;line-height:1.7;color:var(--muted)}.explore-source{font-size:10px;color:var(--muted);margin:10px 0}.explore-excerpt{max-height:40vh;overflow:auto;border-block:1px solid var(--line);padding:4px 12px 4px 0;scrollbar-width:thin}.explore-excerpt p{font:16px/1.9 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere}.explore-excerpt:focus-visible{outline:2px solid var(--accent)}.explore-reader-link{display:inline-block;font-size:11px;margin:14px 0;color:var(--ink)}.explore-related{margin-top:16px;border-top:1px solid var(--line);padding-top:8px}.explore-related h3{font:600 11px system-ui;letter-spacing:.3px}.explore-related button{display:block;text-align:left;width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px;line-height:1.7}.explore-related button:hover{color:var(--accent)}.explore-related small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.explore-related p{font-size:12px;line-height:1.7;color:var(--muted)}.explore-primary{background:var(--ink);color:var(--white)!important;border:0;border-radius:5px;padding:12px 14px;font-size:12px;margin-top:14px}
.explore-footer{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding:16px 0;font-size:10px;color:var(--muted)}.explore-footer a{font-size:11px;color:var(--muted)}.explore-footer details{max-width:520px;line-height:1.8}.explore-footer summary{cursor:pointer}.explore-empty{max-width:700px;margin:70px auto;padding:20px}.explore-empty h1{font:40px var(--serif)}.explore-empty p{line-height:1.8;color:var(--muted)}
@media(min-width:1700px){.explore-workspace{grid-template-columns:225px minmax(0,1fr) 320px;gap:28px}}
@media(max-width:1120px){.explore-workspace{grid-template-columns:175px minmax(0,1fr);gap:18px}.explore-insight{grid-column:2;border-left:0;border-top:1px solid var(--line);padding:20px 0}.explore-insight-empty{padding:20px 0}.explore-compass{display:none}.explore-excerpt{max-height:40vh}.explore-heading h1{font-size:28px}}
@media(max-width:720px){.explore-shell{padding:22px 20px}.explore-heading{display:block}.explore-heading h1{font-size:28px}.explore-work-label{margin-top:20px;max-width:100%}.explore-toolbar{gap:12px}.explore-landscape{margin-left:0}.explore-toolbar select{max-width:210px}.explore-workspace{display:flex;flex-direction:column}.explore-themes{width:100%}.explore-themes .explore-section-heading{margin-bottom:8px}.explore-theme{display:inline-grid;width:auto;max-width:100%;padding:7px 9px;margin:3px;font-size:11px!important}.explore-theme-note{margin:10px 0;font-size:10px}.explore-map-area,.explore-insight{width:100%}.explore-map{height:390px}.explore-map-heading{min-height:0;padding-top:12px}.explore-map-caption{flex-wrap:wrap}.explore-map-heading h2{font-size:24px}.explore-total{width:100%}.explore-footer{align-items:start}.explore-insight{box-sizing:border-box}}

.explore-map-label{cursor:pointer;outline:none}.explore-map-label line{stroke:#415f50;opacity:.45;pointer-events:none}.explore-map-label circle{fill:var(--theme);stroke:#fff7df;stroke-width:1;pointer-events:none}.explore-map-label rect{fill:transparent;stroke:none;pointer-events:all}.explore-map-label text{fill:#304b3d;stroke:#f5f0dc;stroke-opacity:.92;paint-order:stroke fill;stroke-linejoin:round;font-family:Georgia,serif;font-style:italic;font-weight:600;pointer-events:none}.explore-map-label:hover text,.explore-map-label:focus text{fill:#142f26;stroke:#fff9e7}.explore-map-label:focus-visible rect{stroke:var(--theme);stroke-dasharray:3 3;fill:#fff8;fill-opacity:.2}.explore-map-label[aria-pressed=true] text{fill:#142f26}

.explore-toolbar .explore-check{white-space:nowrap;flex-shrink:0;gap:7px}

/* A shallow cutaway beneath the map: equal-width parents in retained reading order. */
.explore-map{border-bottom-left-radius:0;border-bottom-right-radius:0;box-shadow:0 8px 24px #244f5918}.explore-position{display:block;width:100%;height:auto;aspect-ratio:900/50;margin-top:-1px;overflow:visible;user-select:none;-webkit-user-select:none}.explore-position text{font:12px system-ui;fill:#647263}.explore-position rect[data-position]{cursor:pointer}.explore-position rect[aria-disabled=true]{cursor:default}.explore-position rect[data-position]:hover,.explore-position rect[data-position]:focus{opacity:1;stroke:#fff4c9;stroke-width:2;outline:none}

/* Give the landscape the full workspace width, with navigation above and evidence below. */
.explore-workspace{display:flex;flex-direction:column;gap:14px;padding:14px 0}.explore-themes{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;width:100%;padding:0}.explore-themes .explore-section-heading,.explore-theme-note{display:none}.explore-theme{width:100%;margin:0;padding:8px 7px;gap:6px;font-size:11px!important;border-color:#dbe2d5;align-items:center;min-width:0}.explore-theme>span{min-width:0;overflow-wrap:anywhere}.explore-all{margin:0}.explore-map-area{width:100%}.explore-map-heading{min-height:52px;padding:0 2px 10px}.explore-map-heading h2{font-size:23px}.explore-map{height:clamp(420px,58vh,760px);min-height:0;max-height:none;aspect-ratio:auto;box-sizing:border-box}.explore-position{aspect-ratio:900/50}.explore-position rect[data-position]:hover,.explore-position rect[data-position]:focus{stroke-width:1;stroke:#fff4c9}.explore-insight{width:100%;box-sizing:border-box;border-left:0;border-top:1px solid var(--line);padding:16px 0 0;display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:28px}.explore-insight>.explore-section-heading,.explore-insight>.explore-topic-tag,.explore-insight>h2,.explore-insight>.explore-source,.explore-insight>.explore-excerpt,.explore-insight>.explore-reader-link{grid-column:1}.explore-insight>.explore-related{grid-column:2;grid-row:1/span 7;margin:0;border-top:0;border-left:1px solid var(--line);padding:0 0 0 22px}.explore-excerpt{max-height:320px}.explore-insight-empty{grid-column:1/-1;padding:6px 0}.explore-compass{display:none}.explore-insight-empty h2{margin:6px 0}.explore-insight-empty p{margin:6px 0}.explore-map-caption{padding-top:5px;min-height:20px}
@media(max-width:900px){.explore-themes{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:155px;overflow-x:auto;padding-bottom:7px}.explore-theme{display:grid;margin:0;width:100%;max-width:none}.explore-insight{display:block}.explore-insight>.explore-related{border-left:0;border-top:1px solid var(--line);padding:12px 0;margin-top:12px}.explore-map{height:clamp(360px,55vh,600px)}}

/* Compact controls and a thin matching right face for the landscape cutaway. */
.explore-shell{padding-top:12px}.explore-heading{margin-bottom:9px;gap:20px}.explore-heading>div{max-width:1000px}.explore-heading h1{font-size:clamp(20px,1.7vw,27px);letter-spacing:-.4px;margin:3px 0;line-height:1.16}.explore-heading p{display:none}.explore-work-label{max-width:240px}.explore-toolbar{padding:7px 0;gap:13px}.explore-toolbar select{padding:6px 10px}.explore-workspace{padding-top:8px;gap:8px}.explore-theme{padding:5px 6px;grid-template-columns:minmax(0,1fr) auto;gap:5px;background:color-mix(in srgb,var(--theme,var(--ink)) 11%,var(--paper));border-color:color-mix(in srgb,var(--theme,var(--ink)) 24%,var(--paper))}.explore-theme-dot{display:none}.explore-theme:hover{background:color-mix(in srgb,var(--theme,var(--ink)) 19%,var(--paper))}.explore-theme[aria-pressed=true]{background:color-mix(in srgb,var(--theme,var(--ink)) 27%,var(--paper));border-color:var(--theme,var(--ink));box-shadow:none}.explore-map-heading{min-height:36px;align-items:center;padding-bottom:6px}.explore-map-summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.explore-map-heading h2{font-size:19px;margin:0}.explore-map-heading p{margin:0;font-size:11px}.explore-landscape-frame{position:relative;width:100%;isolation:isolate}.explore-map{border-top-right-radius:0}.explore-side-face{position:absolute;left:100%;top:0;width:1.33333%;height:100%;background:linear-gradient(90deg,#9aa58b,#8b9a80);transform:skewY(59.036deg);transform-origin:top left;pointer-events:none;z-index:-1}.explore-map-label line{stroke:var(--theme);opacity:.78}.explore-map-label .explore-label-tie{opacity:.95}.explore-map [data-passage].is-hovered{opacity:1;stroke:#fff1b8;stroke-width:2.5}.explore-position [data-position].is-hovered{opacity:1;fill:#f8e6a0;stroke:#304e40;stroke-width:1}.explore-hover-ring{filter:drop-shadow(0 0 2px #244d3b)}
@media(max-width:720px){.explore-heading h1{font-size:22px}.explore-work-label{margin-top:8px}.explore-map-summary{gap:4px 10px}.explore-map-heading h2{font-size:17px}}

/* A single compact theme row at every viewport width. */
.explore-themes{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;overflow-y:hidden;gap:5px;padding-bottom:5px;scrollbar-width:thin;overscroll-behavior-x:contain}
.explore-theme{width:auto;max-width:none;white-space:nowrap;padding:6px 9px}
.explore-theme>span{overflow-wrap:normal}

/* Theme selection stays compact; the native popover supports Escape and light dismissal. */
.explore-theme-control{flex:0 1 auto;min-width:0}
.explore-theme-trigger{display:flex;align-items:center;gap:8px;max-width:340px;border:1px solid var(--line);border-radius:6px;background:var(--paper);padding:7px 10px;text-align:left;font-size:12px;color:var(--ink)}
.explore-theme-trigger>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.explore-selected-colors{display:flex;flex-shrink:0;gap:2px}
.explore-selected-colors i{display:block;width:9px;height:16px;border-radius:2px}
.explore-theme-picker{position:fixed;inset:auto;margin:0;width:min(540px,calc(100vw - 16px));box-sizing:border-box;padding:15px;border:1px solid #c7d2c1;border-radius:10px;background:var(--paper);color:var(--ink);box-shadow:0 12px 36px #243e3530;overflow-y:auto}
.explore-theme-picker::backdrop{background:transparent}
.explore-theme-picker header{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:12px}
.explore-theme-picker header strong{font:20px var(--serif)}
.explore-theme-picker header p{font:11px/1.5 system-ui;color:var(--muted);margin:4px 0 0}
.explore-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.explore-theme-options .explore-theme{width:100%;box-sizing:border-box;white-space:normal;padding:9px 10px;min-height:47px;grid-template-columns:minmax(0,1fr) auto}
.explore-theme-options .explore-theme[aria-pressed=true]{box-shadow:inset 3px 0 var(--theme,var(--ink));border-color:var(--theme,var(--ink))}
.explore-theme-options .explore-all{grid-column:1/-1;min-height:34px}
.explore-theme-options .explore-theme:focus-visible,.explore-theme-trigger:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:500px){.explore-theme-options{grid-template-columns:1fr}.explore-theme-trigger{max-width:270px}}

/* Compact document navigation and one row of map controls. */
.explore-heading{align-items:start;margin-bottom:6px}
.explore-heading>div:first-child{flex:1;min-width:0}
.explore-document-controls{display:flex;flex-direction:column;gap:5px;width:330px;max-width:100%;flex-shrink:0}
.explore-document-controls .explore-work-label,.explore-chapter-label{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:7px;max-width:none;margin:0;font-size:10px;color:var(--muted)}
.explore-document-controls select{width:100%;min-width:0;padding:5px 8px;font-size:11px;margin-top:0}
.explore-scope-actions{display:flex;gap:9px;align-items:center;justify-content:flex-end}
.explore-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;padding:6px 0}
.explore-selection-controls,.explore-display-controls{display:flex;align-items:center;gap:12px;min-width:0}
.explore-selection-controls{flex:1;flex-wrap:wrap;gap:5px 12px}
.explore-display-controls{margin-left:auto;flex-wrap:wrap;gap:10px}
#explore-focus-status{margin:0;font-size:11px;color:var(--muted)}
.explore-help-button{border:1px solid var(--line);border-radius:5px;background:#fff9;padding:6px 10px;font-size:11px}
.explore-workspace{padding-top:2px;gap:6px}
.explore-position{aspect-ratio:900/24}
.explore-map-caption{min-height:0;padding:0;font-size:10px}
/* Keep hover feedback in a reserved line so page height never changes on hover. */
.explore-map-caption{height:20px;min-height:20px;box-sizing:border-box;overflow:hidden;white-space:nowrap}
#explore-hover{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.explore-help-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 32px));max-height:85vh;padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);box-shadow:0 18px 60px #182f3b40}
.explore-help-dialog::backdrop{background:#1a34385c}
.explore-help-dialog>header{display:flex;align-items:start;justify-content:space-between;gap:15px}
.explore-help-dialog h2{font:27px var(--serif);margin:6px 0 16px}
.explore-help-dialog header button{border:0;background:transparent;font-size:26px;color:var(--muted);padding:0 4px}
.explore-help-content h3{font:20px var(--serif);margin:19px 0 8px}
.explore-help-content p{font-size:13px;line-height:1.75;margin:8px 0;color:var(--muted)}
.explore-help-content a{display:inline-block;margin-top:12px}
@media(max-width:900px){.explore-heading{display:flex;flex-direction:column;gap:9px}.explore-document-controls{width:100%;max-width:420px}.explore-document-controls .explore-work-label{margin-top:0}.explore-display-controls{margin-left:0}.explore-selection-controls{flex-basis:100%}}

/* The reading panel continues the front edge of the landscape cutaway. */
.explore-workspace{gap:0}
.explore-position{aspect-ratio:900/20}
.explore-insight{position:relative;width:100%;margin:0 0 0 1.33333%;padding:22px 26px 20px;border:0;border-top:1px solid #8c9278;border-right:3px solid #a6a58c;border-bottom:1px solid #bbb49d;border-radius:0 0 5px 5px;background:linear-gradient(180deg,#d5ccb5 0%,#e4ddca 100%);box-shadow:inset 0 4px 9px #655d3d12,0 6px 15px #504e3510;color:#394433}
.explore-insight .eyebrow,.explore-insight .explore-source,.explore-insight .explore-topic-tag{color:#66694f}
.explore-insight .explore-excerpt{border-color:#afa98e}
.explore-insight>.explore-related{border-color:#b1ad94}
.explore-insight .explore-related button{border-color:#c2bba3}
.explore-insight-empty{padding:4px 0 8px}
.explore-insight-empty p{color:#66694f}
.explore-map-caption{margin-left:1.33333%;padding-top:4px}
@media(max-width:900px){.explore-insight{padding:18px 20px}.explore-insight>.explore-related{border-color:#b1ad94}}

/* Layers exchange the map inside the original Explore cutaway. */
.explore-layer-shell{position:relative;padding-left:max(76px,3vw);min-height:650px}
.explore-layer-rail{position:absolute;left:8px;top:130px;width:58px;display:flex;flex-direction:column;gap:5px;z-index:2}
.explore-layer-rail button{display:grid;justify-items:center;gap:3px;padding:7px 1px;background:#f6f4ebd9;border:1px solid #d4d8ce;border-radius:4px;color:#5c6e69;font:9px system-ui}
.explore-layer-rail button>span{font-size:15px}.explore-layer-rail b{font-size:9px;font-weight:500}.explore-layer-rail small{display:none}
.explore-layer-rail button[aria-current=page]{background:#e1e8d9;border-color:#92a18a;box-shadow:inset 2px 0 #648574}.explore-layer-rail button:disabled{opacity:.4;cursor:not-allowed}
.explore-layer-settings,.explore-layer-about{font-size:11px;margin:6px 0;color:var(--muted)}.explore-layer-settings>summary,.explore-layer-about>summary{cursor:pointer}.explore-layer-settings[open]{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.explore-layer-settings>summary{flex-basis:100%}.explore-layer-settings>label{display:flex;align-items:center;gap:6px}.explore-layer-settings input[type=range]{width:80px}
.explore-carried-context{font-size:11px;color:#3b665b;padding:6px 0;display:flex;gap:10px;align-items:center}.explore-carried-context button{font-size:11px;padding:4px 8px}
.layer-connections .bridge-toolbar,.explore-reference-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;border-block:1px solid var(--line);padding:6px 0;margin-bottom:2px}
.explore-reference-toolbar label{display:flex;gap:8px;align-items:center}.explore-reference-toolbar select{max-width:380px;padding:5px 8px;font-size:11px}.explore-reference-toolbar span{color:var(--muted)}.explore-reference-toolbar button{font-size:11px;padding:5px 8px}
.layer-connections .bridge-map,.explore-stars-map{display:block;width:100%;height:clamp(420px,58vh,760px);min-height:0;max-height:none;box-sizing:border-box;border:1px solid #d2dbcf;border-radius:14px 0 0 0;background:#a5c4cb;box-shadow:0 8px 24px #244f5918;user-select:none}
.layer-connections .bridge-map{background:linear-gradient(135deg,#b1cbd0,#97bbc6)}.layer-connections .bridge-realm{fill:transparent;stroke:none}.layer-connections .bridge-topic-label{fill:#304b3d;stroke:#e4ece5;font-family:Georgia,serif;font-style:italic;font-size:10px}.layer-connections .bridge-contours{opacity:.8}
.explore-stars-map circle[data-explore-work]{stroke:#f6f3e6;stroke-width:1.2;cursor:pointer}.explore-stars-map circle.selected,.explore-stars-map circle[data-explore-work]:focus{stroke:#fff7db;stroke-width:3;outline:none}.explore-star-links line{stroke:#fff4d6;stroke-width:1.4;stroke-dasharray:3 4;opacity:.8}.explore-star-label{cursor:pointer;outline:none}.explore-star-label line{stroke:#637f70;stroke-width:.7;opacity:.7}.explore-star-label text{fill:#304b3d;stroke:#f5f0dc;paint-order:stroke;stroke-width:3px;font:italic 12px Georgia;pointer-events:none}.explore-star-label:focus-within text{fill:#142f26}
.layer-connections .bridge-inspection,.explore-reference-inspection{position:relative;box-sizing:border-box;display:grid;grid-template-columns:1.3fr 1fr;gap:28px;width:100%;margin:0 0 0 1.33333%;padding:22px 26px 20px;border:0;border-top:1px solid #8c9278;border-right:3px solid #a6a58c;border-bottom:1px solid #bbb49d;border-radius:0 0 5px 5px;background:linear-gradient(180deg,#d5ccb5,#e4ddca);box-shadow:inset 0 4px 9px #655d3d12,0 6px 15px #504e3510;color:#394433}
.explore-reference-inspection h2{font:24px/1.25 var(--serif);margin:8px 0}.explore-reference-inspection h3{font:18px var(--serif)}.explore-reference-inspection button{display:block;text-align:left;width:100%;padding:8px;margin:6px 0;font-size:12px;background:transparent;border:0;border-bottom:1px solid #c2bba3}.explore-reference-inspection a{font-size:12px;margin-right:12px}.explore-reference-inspection .explore-excerpt{max-height:350px;overflow:auto}.explore-reference-inspection .hint{font-size:11px;line-height:1.6}
@media(max-width:850px){.explore-layer-shell{padding-left:20px;padding-right:20px}.explore-layer-rail{position:static;width:auto;flex-direction:row;gap:5px;margin-bottom:6px}.explore-layer-rail button{display:flex;align-items:center;gap:5px;padding:5px 8px}.explore-layer-rail b{font-size:10px}.explore-reference-inspection,.layer-connections .bridge-inspection{grid-template-columns:1fr}.layer-connections .bridge-map,.explore-stars-map{height:clamp(360px,55vh,600px)}}

/* Attached bookmark tabs and a stable control row across layers. */
.explore-layer-shell .explore-heading{min-height:60px;box-sizing:border-box}
.explore-layer-shell .explore-toolbar,.layer-connections .bridge-toolbar,.explore-reference-toolbar{min-height:44px;box-sizing:border-box;margin-bottom:2px}
.explore-layer-shell [hidden]{display:none!important}
.explore-landscape-frame>.explore-layer-rail{left:auto;right:100%;top:18px;width:68px;margin:0;gap:6px;flex-direction:column;position:absolute}
.explore-layer-rail button{position:relative;display:grid;min-height:54px;padding:7px 4px 7px 11px;border:0;border-radius:0;clip-path:polygon(0 0,100% 0,100% 100%,0 100%,8px 50%);background:linear-gradient(90deg,#dedbc9,#eeeadb);box-shadow:inset 0 -1px #b8bca8,inset -3px 0 #8b9a8050;color:#5b6b60}
.explore-layer-rail button[data-explore-layer=connections]{background:linear-gradient(90deg,#cbdcdf,#e0e9e6)}
.explore-layer-rail button[data-explore-layer=references]{background:linear-gradient(90deg,#d8d6bd,#eee6c9)}
.explore-layer-rail button[aria-current=page]{color:#243f35;box-shadow:inset 0 -2px #607e6a,inset -4px 0 #607e6a;font-weight:600;filter:saturate(1.25)}
.explore-layer-rail button:hover{filter:brightness(1.04)}
.explore-layer-rail button:focus-visible{outline:0;box-shadow:inset 0 0 0 2px #365f51}
.explore-landscape-frame{view-transition-name:folio-landscape}
::view-transition-old(root),::view-transition-new(root){animation:none}
::view-transition-group(folio-landscape){animation-duration:180ms}
::view-transition-old(folio-landscape),::view-transition-new(folio-landscape){animation-duration:180ms}
@media(prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@media(max-width:850px){.explore-layer-shell{padding-left:54px}.explore-landscape-frame>.explore-layer-rail{width:46px}.explore-layer-rail button{min-height:43px;padding:8px 3px 8px 9px}.explore-layer-rail b{display:none}.explore-layer-rail button>span{font-size:19px}}

/* Upper maps follow Text's navigation vocabulary. */
.layer-connections .bridge-map,.explore-stars-map{cursor:grab;touch-action:none;-webkit-user-select:none}
.layer-connections .bridge-map:active,.explore-stars-map:active{cursor:grabbing}
.hide-contours .bridge-contours,.hide-contours .explore-nebula,.hide-theme-labels .explore-star-label,.hide-theme-labels .bridge-topic-label,.hide-theme-labels .bridge-label-leader{display:none}
.layer-references .explore-stars-map{background:#536d81}
.layer-references .explore-star-label text{fill:#f4eee4;stroke:#435a70;stroke-opacity:.85;font-size:12px}
.layer-references .explore-star-label line{stroke:#d6d8e3;opacity:.6}
.explore-stars-map circle[data-explore-work]{stroke:#fff5df;stroke-width:1;filter:drop-shadow(0 0 2px #e8e6ff)}
.layer-connections .bridge-toolbar,.explore-reference-toolbar{gap:8px 12px}
.layer-connections .bridge-toolbar .explore-theme-trigger{max-width:250px}
.layer-connections .bridge-toolbar .explore-display-controls,.explore-reference-toolbar .explore-display-controls{margin-left:auto}

.explore-layer-shell .explore-check{white-space:nowrap;gap:7px;flex-shrink:0}

/* References form the narrow right face of the existing cutaway. */
.explore-reference-position{position:absolute;left:100%;top:0;width:1.33333%;height:100%;transform:skewY(59.036deg);transform-origin:top left;overflow:visible;z-index:1;user-select:none}
.explore-reference-position [data-reference-position]{cursor:pointer;outline:none}
.explore-reference-position [data-reference-position]:focus-visible{stroke:#fff1ba;stroke-width:1;opacity:1}
.explore-layer-shell .citation-hover{opacity:1!important;fill:#f4dba3!important;stroke:#405e4b;stroke-width:1}
.explore-stars-map circle[data-explore-work]{filter:none;stroke:#e3e7e5;stroke-width:.8}

/* Citation hover status must not reflow the map page at narrow widths. */
.explore-layer-shell .bridge-status>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Shared inspection surface under every Explore layer. */
.explore-layer-shell .explore-inspection{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);align-items:start;gap:28px;padding:20px 26px;margin:0 0 0 1.33333%;width:100%;box-sizing:border-box}
.explore-inspection-primary,.explore-inspection-related{min-width:0}
.explore-inspection-primary>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.explore-layer-shell .explore-inspection h2{font:24px/1.25 var(--serif);margin:8px 0;overflow-wrap:anywhere}
.explore-layer-shell .explore-inspection h3{font:18px/1.3 var(--serif);margin:0 0 4px}
.explore-inspection h3 small{font:11px system-ui;color:#66694f}
.explore-layer-shell .explore-inspection-meta{font:11px/1.6 system-ui;color:#66694f;margin:4px 0 8px}
.explore-inspection .explore-excerpt{max-height:360px;overflow:auto;border-block:1px solid #afa98e;padding:0 12px 0 0}
.explore-inspection .explore-excerpt p{font:16px/1.85 var(--serif);white-space:pre-wrap;overflow-wrap:anywhere}
.explore-inspection-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:12px}
.explore-inspection-links a{font-size:12px;margin:0}
.explore-inspection-related{border-left:1px solid #b1ad94;padding-left:22px;display:grid;gap:20px}
.explore-inspection-list{max-height:225px;overflow:auto;scrollbar-width:thin}
.explore-layer-shell .explore-inspection button[data-inspect-kind]{display:block;width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #c2bba3;border-radius:0;padding:9px 4px;margin:0;color:inherit;font:12px/1.5 system-ui}
.explore-inspection button[data-inspect-kind] strong{display:block;font-weight:500}
.explore-inspection button[data-inspect-kind] span{display:block;font-size:11px;color:#66694f;margin-top:3px}
.explore-inspection button[data-inspect-kind]:hover{background:#f8f2de66}
.explore-layer-shell .explore-inspection button[data-inspect-clear]{display:block;width:auto;margin:0;padding:0 4px;background:transparent;border:0;font-size:23px;line-height:1}
.explore-inspection-empty{grid-column:1/-1;padding:4px 0 8px}
.explore-inspection-empty p{font-size:13px;color:#66694f}
@media(max-width:850px){.explore-layer-shell .explore-inspection{grid-template-columns:1fr;padding:18px 20px;gap:18px}.explore-inspection-related{border-left:0;border-top:1px solid #b1ad94;padding:16px 0 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:540px){.explore-inspection-related{grid-template-columns:1fr}}
/* Foundation exchanges the map surface, retaining the cutaway and locators. */
.explore-layer-rail button[data-explore-layer=foundation]{background:linear-gradient(90deg,#b8ae96,#d6cdb5);color:#514f3c}
.explore-layer-rail button[data-explore-layer=foundation] b{font-size:9px}
.foundation-map{display:block;width:100%;height:clamp(420px,58vh,760px);box-sizing:border-box;border:1px solid #979d82;border-radius:14px 0 0 0;background:#b2ac90;user-select:none;-webkit-user-select:none}
.foundation-brick{cursor:pointer;outline:none}
.foundation-stone{stroke:#6e715650;stroke-width:.8;filter:drop-shadow(0 1.4px .3px #4a4e3a40);transition:stroke .12s,fill .12s}
.foundation-brick:hover .foundation-stone,.foundation-brick:focus .foundation-stone{stroke:#eae4bd;stroke-width:1.6;filter:brightness(1.08) drop-shadow(0 1px 1px #4a4e3a40)}
.foundation-brick[aria-pressed=true] .foundation-stone{stroke:#fff4ce;stroke-width:2;fill:#dbd8b9}
.foundation-brick text{pointer-events:none;fill:#3d4a37;paint-order:stroke;font-family:system-ui,sans-serif}
.foundation-brick-tag{font-size:6.4px;letter-spacing:.6px;text-transform:uppercase;opacity:.64}
.foundation-brick-label{font-size:9px;font-weight:500}
.foundation-brick-value{font:12px Georgia,serif!important;letter-spacing:-.4px}
.foundation-theme-count{font-size:7px;opacity:.7}
.foundation-seed{font-family:Georgia,serif!important;font-style:italic;opacity:.75}
.foundation-hover{position:absolute;left:14px;bottom:12px;max-width:min(460px,70%);pointer-events:none;background:#394c3cea;color:#f3efd9;padding:8px 12px;font:11px/1.5 system-ui;border-radius:4px;box-shadow:0 3px 12px #25322025}
.foundation-hover:empty{display:none}
.foundation-toolbar{color:var(--muted);font-size:11px}





.foundation-detail{box-sizing:border-box;width:100%;margin-left:1.33333%;padding:20px 26px;background:linear-gradient(180deg,#c4b99d,#ded5bd);border-top:1px solid #8c9278;border-right:3px solid #a6a58c;border-bottom:1px solid #bbb49d;border-radius:0 0 5px 5px;color:#424b39;box-shadow:inset 0 4px 9px #655d3d12,0 6px 15px #504e3510}
.foundation-detail>header{display:flex;justify-content:space-between;gap:14px;align-items:start}
.foundation-detail h2{font:24px/1.3 var(--serif);margin:5px 0 10px}
.foundation-detail p{font:12px/1.7 system-ui;max-width:850px;margin:4px 0 12px}
.foundation-detail [data-foundation-clear]{border:0;background:transparent;padding:0 4px;font-size:24px}
.foundation-detail-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px}
.foundation-detail dl{font:12px/1.7 system-ui;margin:10px 0;max-width:550px}
.foundation-detail dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #8d826330;padding:4px 0}
.foundation-detail dd{margin:0;font-variant-numeric:tabular-nums}
.foundation-word-cloud{display:flex;flex-wrap:wrap;gap:4px 16px;align-items:baseline;justify-content:center;max-width:1000px;margin:18px auto 24px;padding:12px 28px}
.foundation-word-cloud button{font:italic var(--word-size)/1.25 Georgia,serif;border:0;background:none;color:#435d45;padding:0;cursor:pointer}
.foundation-word-cloud button:nth-child(3n){color:#7c7149}.foundation-word-cloud button:nth-child(4n){color:#5d766c}
.foundation-word-cloud button:hover{color:#243d31;text-decoration:underline;text-underline-offset:5px}
.foundation-word-histogram{display:block;width:100%;max-width:1100px;margin:15px auto 8px}
.foundation-word-histogram text{font:10px system-ui;fill:#4d5846}
.foundation-detail .foundation-detail-note{font-size:10px;color:#69684f;margin-top:16px}
.foundation-linked{opacity:1!important;fill:#b68b3e!important}
.rock-chart{display:grid;gap:10px;margin-top:7px}
.rock-chart-row{display:grid;grid-template-columns:1fr auto;gap:4px 12px;font:11px/1.4 system-ui;min-width:0}
.rock-chart-row>span{overflow-wrap:anywhere}.rock-chart-row>b{font-variant-numeric:tabular-nums;font-weight:500}
.rock-chart-row>i{grid-column:1/-1;display:block;height:5px;border-radius:3px;background:linear-gradient(90deg,#667660 var(--bar),#90856825 var(--bar))}
@media(max-width:850px){.foundation-map{height:clamp(420px,58vh,660px)}.foundation-detail{padding:18px 20px}.foundation-detail-columns{grid-template-columns:1fr;gap:12px}}

/* An opened stone occupies the map surface; source inspection stays below it. */
.foundation-frame .foundation-detail{position:absolute;z-index:4;inset:6% 7%;width:auto;margin:0;padding:24px 30px;overflow:auto;max-height:88%;border:1px solid #827e60;border-radius:12px 5px 14px 7px;background:linear-gradient(135deg,#e0dcc1,#c8bd9e);box-shadow:0 12px 36px #313c3655,inset 0 2px #f4efd1;animation:stone-open .18s ease-out}
.foundation-detail[hidden]{display:none}
.has-expanded-brick .foundation-brick{opacity:.45}
.has-expanded-brick .foundation-brick[aria-pressed=true]{opacity:1}
.has-expanded-brick .foundation-hover{display:none}
.foundation-method{font:11px/1.6 system-ui;color:#62654f;margin-top:12px}
.foundation-method summary{cursor:pointer}
.foundation-detail .foundation-word-cloud{margin:20px auto;padding:12px;min-height:150px;align-content:center}
@keyframes stone-open{from{transform:scale(.88);opacity:.3}to{transform:scale(1);opacity:1}}
@media(prefers-reduced-motion:reduce){.foundation-frame .foundation-detail{animation:none}}
@media(max-width:650px){.foundation-frame .foundation-detail{inset:4%;padding:16px}.foundation-detail h2{font-size:20px}}

.layer-beyond .explore-landscape-frame{background:#eef0ee;box-shadow:0 0 30px #e7e4f140}.explore-beyond-map{display:block;width:100%;height:auto;aspect-ratio:1500/900;user-select:none;touch-action:none;border-radius:12px;cursor:grab}.explore-beyond-map.hide-contours .hc-density{display:none}.explore-beyond-map.hide-theme-labels .hc-group,.explore-beyond-map.hide-theme-labels .hc-group-leader{display:none}.explore-beyond-map .hu-heading{fill:#73798a;letter-spacing:2px}.explore-beyond-map .hc-node>rect:not([fill]){fill:#f4f3ed;stroke:#b4bdca}.layer-beyond .explore-position{margin-top:0}.research-carried-focus{font-size:11px;color:#677566;display:inline-flex;align-items:center;gap:5px;max-width:330px}.research-locator-focus{fill:#f4e4a1!important;opacity:1!important}.beyond-toolbar{gap:10px}.beyond-toolbar>label{display:flex;align-items:center;gap:8px;font-size:12px}.beyond-toolbar select{max-width:340px}

.beyond-toolbar>label{white-space:nowrap}

.explore-focus-indicator{display:flex;align-items:center;gap:.65rem;padding:.3rem .6rem;margin:.15rem 0;color:#425750;background:#edf0e9;border-radius:4px;font-size:.78rem;flex-wrap:wrap}.explore-focus-indicator>span:nth-child(2){opacity:.75}.explore-focus-indicator button{margin-left:auto;border:0;background:transparent;cursor:pointer;font-size:1rem}

/* Focus comparisons occupy the same expanded Foundation surface. */
.foundation-compare-totals{display:flex;gap:2rem;padding:.5rem 0;color:#445445}.foundation-compare-totals b{font:600 1.5rem Georgia,serif}.foundation-compare-table,.foundation-language-table{display:grid;gap:.5rem;margin:.5rem 0 1rem}.foundation-compare-row{display:grid;grid-template-columns:minmax(160px,1fr) 100px 100px;gap:.25rem .75rem;padding:.45rem 0;border-bottom:1px solid #746d5029;font-size:.82rem}.foundation-compare-row>span>small{display:block;font-weight:400;margin-top:.3rem}.foundation-compare-row b small{display:block;font-weight:400;opacity:.75}.comparison-heading{font-size:.72rem;color:#5d654d}.foundation-compare-bars{grid-column:1/-1;display:grid;gap:3px;background:#7c765414}.foundation-compare-bars i{display:block;height:4px;background:#4b756b}.foundation-compare-bars i+i{background:#a58d51}.foundation-findings{grid-column:1/-1;font-size:.76rem;margin-top:.3rem}.foundation-findings summary{cursor:pointer;color:#3c6154}.foundation-findings>div{display:flex;flex-wrap:wrap;gap:.35rem;margin:.5rem 0}.foundation-findings button,.foundation-compare-row button{border:1px solid #7c80614d;border-radius:4px;background:#eee8ce;color:#3d5446;padding:.3rem .5rem;cursor:pointer;text-align:left}.foundation-language-row{display:grid;grid-template-columns:1fr 100px 100px 100px;gap:.3rem .75rem;font-size:.82rem;padding:.4rem 0;border-bottom:1px solid #746d5029}.foundation-no-members{grid-column:1/-1;font-size:.75rem;color:#676750}.foundation-detail h3{font-size:1rem;margin:1rem 0 .4rem}@media(max-width:650px){.foundation-compare-row{grid-template-columns:1fr 65px 65px}.foundation-language-row{grid-template-columns:1fr 65px 65px 65px;font-size:.7rem}}

.foundation-comparison-key{font-size:.75rem;display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.foundation-comparison-key i{display:inline-block;width:18px;height:4px;background:#4b756b}.foundation-comparison-key i+i{background:#a58d51}

/* Stable Explore header slots: document, shared focus, then one control row. */
.explore-layer-shell .explore-heading{height:64px;min-height:64px;margin:0;display:flex;flex-direction:row;align-items:center;gap:20px}.explore-layer-shell .explore-heading h1{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.explore-layer-shell .explore-document-controls{width:280px;flex:none}.explore-layer-shell .explore-focus-indicator{height:32px;box-sizing:border-box;margin:0;flex-wrap:nowrap;overflow:hidden}.explore-focus-indicator>span:first-child{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.explore-focus-indicator>span:nth-child(2){white-space:nowrap}.explore-layer-shell .explore-toolbar,.explore-layer-shell .bridge-toolbar,.explore-layer-shell .explore-reference-toolbar{height:48px;min-height:48px;margin:0;box-sizing:border-box;flex-wrap:nowrap;gap:8px;align-items:center}.explore-layer-shell .explore-selection-controls{flex-basis:auto;min-width:0;gap:8px}.explore-layer-shell .explore-display-controls{flex:none;margin-left:auto;gap:8px}.explore-chapter-picker{position:relative;font-size:11px}.explore-chapter-picker>summary{cursor:pointer;white-space:nowrap;padding:7px;border:1px solid var(--line);border-radius:5px}.explore-chapter-picker>div{position:absolute;z-index:12;top:100%;left:0;width:300px;padding:12px;background:var(--paper);border:1px solid var(--line);box-shadow:0 6px 20px #283b3826}.explore-chapter-picker .explore-scope-actions{margin-top:10px}.explore-layer-shell .explore-heading .explore-work-label{margin:0}.explore-layer-shell .explore-selection-controls #explore-theme-trigger{max-width:260px}.foundation-toolbar select{width:190px}
@media(max-width:1050px){.explore-layer-shell .explore-heading{height:88px;min-height:88px}.explore-layer-shell .explore-document-controls{width:230px}.explore-layer-shell .explore-toolbar,.explore-layer-shell .bridge-toolbar,.explore-layer-shell .explore-reference-toolbar{height:88px;min-height:88px;flex-wrap:wrap;align-content:center}.explore-layer-shell .explore-display-controls{width:100%;justify-content:flex-end}.explore-focus-indicator>span:nth-child(2){display:none}}
@media(max-width:650px){.explore-layer-shell .explore-heading{height:120px;min-height:120px;flex-direction:column;align-items:stretch;gap:4px;justify-content:center}.explore-layer-shell .explore-document-controls{width:100%;max-width:none}.explore-layer-shell .explore-heading h1{font-size:20px;margin:0}.explore-layer-shell .explore-work-label{max-width:none}.explore-layer-shell .explore-selection-controls #explore-theme-trigger{max-width:210px}.explore-display-controls .explore-check{font-size:10px}}

.explore-layer-shell .explore-workspace{padding-top:0}

/* Foundation: linked chapter strata above three analytical instruments. */
.foundation-cross-section{height:clamp(640px,78vh,940px);box-sizing:border-box;display:grid;grid-template-rows:auto auto minmax(220px,1fr);padding:18px 22px 0;background:linear-gradient(170deg,#c8cbb4,#d2c5a8 48%,#b7a58b);border-radius:12px 0 0 0;border:1px solid #979d82;color:#364e43;overflow:hidden}.foundation-strata{padding-bottom:10px;border-bottom:1px solid #6b74533b}.foundation-strata-key{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#5e6854;margin-bottom:10px}.foundation-band-row{display:grid;grid-template-columns:minmax(180px,28%) 1fr;align-items:center;gap:16px;margin:3px 0;min-height:35px}.foundation-band-row>button{background:transparent;border:0;text-align:left;padding:5px 8px;border-radius:5px;line-height:1.2}.foundation-band-row>button span{display:block;font:12px var(--serif);color:#324a41}.foundation-band-row>button small{display:block;font-size:9px;margin-top:2px;opacity:.8}.foundation-band-row.is-selected>button{background:#f5eed0a8;box-shadow:inset 3px 0 #4d786b}.foundation-band-track{height:23px;background:linear-gradient(90deg,#797a5b14,transparent);border-bottom:1px solid #676f4f22}.foundation-band{height:100%;display:flex;min-width:2px;box-shadow:0 2px 0 #6a69552b;transform:skewX(8deg)}.foundation-band>button{position:relative;border:0;border-right:1px solid #e3dfc270;padding:0;height:100%;min-width:2px;background:color-mix(in srgb,var(--band-color) 27%,#cbc6ad);overflow:hidden}.foundation-band>button i{display:block;height:100%;background:var(--band-color);opacity:.9}.foundation-band>button[aria-pressed=true]{outline:2px solid #f9e8a9;outline-offset:-2px}.foundation-local-caption{display:flex;align-items:center;gap:12px;min-height:40px;font-size:12px}.foundation-local-caption>span{font-weight:600;min-width:0}.foundation-local-caption small{margin-left:auto;font-size:10px;opacity:.75}.foundation-local-caption button{border:1px solid #818268;background:#e9e3c9;border-radius:4px;padding:4px 7px;white-space:nowrap}.foundation-instruments{display:grid;grid-template-columns:1fr 1fr 1fr;min-height:0;border-top:1px solid #6b745340}.foundation-instrument{overflow:auto;min-width:0;padding:12px 16px 20px;background:#ede8d153;border-right:1px solid #7f7e5e40;scrollbar-width:thin}.foundation-instrument:first-child{padding-left:0}.foundation-instrument:last-child{border-right:0}.foundation-instrument h2{position:sticky;top:-12px;margin:0 0 10px;padding:8px 0;background:#d3ccb3;z-index:1;font:20px var(--serif);color:#385447}.foundation-instrument p{font-size:11px;line-height:1.5}.foundation-instrument-total{font-size:12px!important}.foundation-instrument-total b{font:24px var(--serif)}.foundation-instrument-total span{display:block;margin-top:4px}.foundation-instrument-key{font-size:9px;color:#626c55;margin-bottom:8px}.foundation-mixture{margin:9px 0}.foundation-mixture>button{border:0;background:none;padding:0;text-align:left;font-size:11px}.foundation-mixture>small{display:block;font-size:9px;opacity:.8;margin:3px 0}.foundation-mixture>div{display:grid;gap:3px;background:#8e886016}.foundation-mixture i{height:4px;display:block}.foundation-instrument .foundation-findings{font-size:10px;margin:5px 0 10px}.foundation-instrument .foundation-findings button{font-size:10px}.foundation-word-rates{display:grid;grid-template-columns:1fr 54px 54px;gap:8px;font-size:11px;margin:8px 0 3px}.foundation-word-rates>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.foundation-word-rates:first-of-type{font-size:9px;opacity:.8}.foundation-coverage-item{padding:8px 0;border-bottom:1px solid #827d5e38}.foundation-coverage-item>strong{display:block;font-size:11px}.foundation-coverage-item>span{display:block;font-size:10px;margin-top:5px}.foundation-coverage-item p{font-size:10px;color:#626852;margin:5px 0}.foundation-outside{font-size:10px;color:#67684f}.foundation-cross-help{position:relative;margin-left:auto;font-size:11px}.foundation-cross-help summary{cursor:pointer}.foundation-cross-help p{position:absolute;right:0;top:100%;width:300px;z-index:15;background:var(--paper);padding:14px;border:1px solid var(--line);box-shadow:0 5px 20px #30423622;line-height:1.6}
@media(max-width:800px){.foundation-cross-section{height:auto;min-height:720px;padding:12px;grid-template-rows:auto auto auto}.foundation-band-row{grid-template-columns:38% 1fr;gap:8px}.foundation-band-row>button span{font-size:11px}.foundation-strata-key{flex-direction:column;gap:3px}.foundation-instruments{grid-template-columns:1fr}.foundation-instrument{max-height:340px;border-right:0;border-bottom:1px solid #7f7e5e40;padding:12px 8px}.foundation-local-caption{flex-wrap:wrap;padding:6px 0}.foundation-local-caption small{margin-left:0}.foundation-instrument:first-child{padding-left:8px}}

.foundation-tabs{display:flex;align-items:center;gap:3px;padding:3px;background:#b8bdab2b;border:1px solid #a7af9a65;border-radius:6px}.foundation-tabs [role=tab]{border:0;border-radius:4px;background:transparent;padding:6px 12px;color:#606d5c;white-space:nowrap}.foundation-tabs [aria-selected=true]{background:#e8e8d8;color:#334e42;box-shadow:0 1px 3px #3c4a3526}.foundation-tabs [role=tab]:hover{background:#eeeddfb0}

.foundation-stat-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 14px;background:#c8cbb5;border:1px solid #979d82;border-bottom:0;border-radius:12px 0 0 0}.foundation-stat-tabs{display:flex;gap:4px;flex-wrap:wrap}.foundation-stat-tabs button{border:0;background:transparent;border-radius:4px;padding:6px 9px;color:#4d6153;font-size:11px}.foundation-stat-tabs [aria-selected=true]{background:#f0ecd8;box-shadow:0 1px 3px #6a715233;color:#2e4e3f}.foundation-stat-navigation>label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:10px}.foundation-stat-navigation select{padding:5px 8px;font-size:11px}.foundation-stat-scope-note{background:#d0cbb4;padding:7px 18px;font-size:11px;color:#56634e}.foundation-stat-grid.foundation-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(100px,max-content);align-content:start;gap:12px;padding:18px;background:linear-gradient(145deg,#c2c8ae,#bcac8f);border-radius:0;overflow:auto;min-height:480px;height:clamp(480px,58vh,760px)}.foundation-stat-card{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;padding:16px;border:1px solid #8d92745e;border-radius:7px;background:linear-gradient(125deg,#ddd9bd,#c8c5a8);box-shadow:0 3px 0 #78795b24}.foundation-stat-card small{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#6a7058}.foundation-stat-card strong{font:17px var(--serif);font-weight:500}.foundation-stat-card>span{font:24px var(--serif);color:#395848}.foundation-stat-card[aria-pressed=true]{outline:2px solid #617d67}.foundation-stat-unavailable{grid-column:1/-1;font-size:13px;line-height:1.6;color:#52664e}@media(max-width:800px){.foundation-stat-navigation{flex-wrap:wrap}.foundation-stat-grid.foundation-map{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.foundation-stat-grid.foundation-map{grid-template-columns:1fr}}

.foundation-stat-navigation~.foundation-detail{top:92px;max-height:calc(100% - 110px)}

.foundation-material-label{display:flex;align-items:center;gap:7px;margin-left:auto;font-size:11px}.foundation-material-label select{padding:5px 8px;font-size:11px}.foundation-material-label+.foundation-cross-help{margin-left:4px}.foundation-direct-cloud{height:clamp(480px,58vh,760px);box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:35px 7%;background:linear-gradient(145deg,#c9ceb5,#c6b696);border:1px solid #979d82;overflow:auto}.foundation-cloud-words{display:flex;justify-content:center;align-items:baseline;align-content:center;flex-wrap:wrap;gap:10px 17px;max-width:1050px;font-family:var(--serif);font-style:italic;color:#3c5f48}.foundation-cloud-words span:nth-child(3n){color:#7c7149}.foundation-cloud-words span:nth-child(4n){color:#5d766c}.foundation-direct-cloud>p{font-size:11px;color:#626c55;margin-top:30px}.foundation-stat-scope-note~.foundation-detail{top:50px;max-height:calc(100% - 70px)}@media(max-width:650px){.foundation-cloud-words{gap:7px 10px}.foundation-cloud-words span{font-size:clamp(16px,5vw,30px)!important}.foundation-material-label{font-size:10px}}

.foundation-direct-metrics{min-height:480px;box-sizing:border-box;padding:26px 30px;background:linear-gradient(145deg,#c9ceb5,#c6b696);border:1px solid #979d82;color:#395446}.foundation-metric-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 36px;margin:0 0 30px}.foundation-metric-values>div{border-bottom:1px solid #7d82614a;padding-bottom:12px}.foundation-metric-values dt{font-size:12px;color:#5a6853}.foundation-metric-values dd{margin:7px 0;font:32px var(--serif)}.foundation-metric-values small{display:block;font-size:11px;line-height:1.7;color:#5d6855}.foundation-metric-charts{display:grid;grid-template-columns:1fr 1fr;gap:35px}.foundation-metric-charts figure{margin:0}.foundation-metric-charts figcaption{font:18px var(--serif);margin-bottom:12px}.foundation-metric-note{font-size:10px;color:#5d6855;margin-top:22px}@media(max-width:650px){.foundation-direct-metrics{padding:20px}.foundation-metric-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.foundation-metric-charts{grid-template-columns:1fr}}

.foundation-packed-host{width:100%;height:100%;min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0}.foundation-packed-cloud{display:block;width:100%;flex:1;min-height:0;overflow:visible}.foundation-packed-cloud text{transition:fill .15s;cursor:default}.foundation-packed-cloud text:hover{fill:#a47832}.cloud-layout-caption{font-size:10px;color:#626c55;margin:12px 0 0;text-align:center}.cloud-layout-status{font-size:12px;line-height:1.5;color:#66563e;max-height:130px;overflow:auto;flex-shrink:0}.cloud-word-fallback{display:flex;flex-wrap:wrap;list-style:none;gap:12px;line-height:1.7;padding:0}.cloud-word-fallback li{font:20px Georgia,serif;color:#385c48}.cloud-word-fallback small{font:11px system-ui;color:#7e7057}.foundation-direct-cloud:has([data-packed-word-cloud]){padding:24px 4% 16px}

.layer-references .explore-stars-map{background:#000}.layer-references .explore-star-label text{fill:#eee4c9;stroke:#000;stroke-width:2.8}.layer-references .explore-star-label line{stroke:#dbc598;opacity:.65}

/* Secondary map opacity lives on each pooled source surface, not every level. */
.layer-connections .bridge-contours{opacity:1}

/* Stories: article-first reading with a shared, expandable Explorer alongside. */
.story-page{max-width:1500px;margin:auto;padding:28px 36px 70px}
.story-heading{max-width:850px;margin:0 0 44px}.story-heading>a{display:block;margin-bottom:24px;font-size:13px}.story-heading h1{font-size:clamp(34px,4vw,60px);margin:12px 0 16px}.story-heading .deck{font-size:20px;max-width:690px}.story-byline{font-size:13px;color:#697467}.story-heading [data-save-status]{margin-left:14px;font-size:13px}
.story-layout{display:grid;grid-template-columns:minmax(320px,.85fr) minmax(420px,1.15fr);gap:48px;align-items:start}.story-article{max-width:650px}.story-article section{padding:18px 12px 65px 20px;border-left:2px solid transparent;scroll-margin-top:35px}.story-article section.story-active{border-left-color:#a89764}.story-article h2{font-size:29px;line-height:1.18;margin:12px 0 24px}.story-article p{font:18px/1.85 Georgia,serif;color:#354638}.story-article details{font-size:13px;margin-top:20px;color:#697063}.story-article details p{font:14px/1.65 system-ui,sans-serif}.story-article details a{display:block;margin:9px 0}.story-scene-link{font-size:13px;background:#e8ecdf;border:1px solid #c2ccb8;padding:8px 12px;border-radius:5px;color:#354f3f}
.story-context{position:sticky;top:18px;min-width:0}.story-widget{border:1px solid #c6ccbc;border-radius:9px;background:#f4f3eb;box-shadow:0 10px 30px #263e2c0c;overflow:hidden}.story-widget>header,.story-widget>footer{display:flex;align-items:center;gap:8px;padding:10px 12px}.story-widget>header>span{font-size:12px;color:#66735d;margin-right:auto}.story-widget button{font-size:12px;padding:7px 10px}.story-widget [data-follow][aria-pressed=false]{background:#f0e5c9}.story-widget-caption{padding:8px 14px;min-height:92px;border-top:1px solid #dee2d6}.story-widget-caption strong{font:19px Georgia,serif}.story-widget-caption p{font-size:12px;line-height:1.5;margin:6px 0;color:#6a7464}.story-widget iframe{display:block;width:100%;height:540px;border:0;background:#f4f3eb}.story-widget>footer{border-top:1px solid #d8dfce}.story-widget>footer a{margin-left:auto;font-size:12px}.story-widget.story-expanded{position:fixed;inset:16px;z-index:1000;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #12281dd9;max-width:none}.story-expanded iframe{height:auto;flex:1;min-height:0}.story-expanded .story-widget-caption{min-height:0}.story-map-expanded{overflow:hidden}
.story-embed>.header,.story-embed>footer,.story-embed>.skip,.story-embed #local-edition-preview{display:none}.story-embed main{padding:0}.story-embed .explore-shell{max-width:none;margin:0;padding:8px 12px 12px 36px}.story-embed .explore-heading{display:none}.story-embed .explore-focus-status{min-height:28px}.story-embed .explore-toolbar{flex-wrap:wrap;min-height:40px;gap:5px;padding:5px 0}.story-embed .explore-layer-rail{left:0;width:32px}.story-embed .explore-layer-rail button{width:32px;min-width:0;padding:9px 2px}.story-embed .explore-layer-rail b,.story-embed .explore-layer-rail small{display:none}.story-embed .explore-map,.story-embed .explore-stars-map,.story-embed .bridge-map,.story-embed .explore-beyond-map{min-height:0;max-height:calc(100vh - 115px)}.story-embed .explore-insight{font-size:13px;padding:16px}.story-embed .explore-insight h2{font-size:20px}.story-embed .explore-insight p{font-size:14px}.story-embed .explore-help-button{display:none}.story-embed .explore-selected-colors{display:none}.story-embed .explore-theme-trigger{max-width:200px;font-size:11px}.story-embed .explore-theme-trigger>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:1000px){.story-page{padding:22px 18px}.story-layout{gap:20px;grid-template-columns:minmax(280px,1fr) minmax(320px,1fr)}.story-widget iframe{height:440px}.story-widget>header{flex-wrap:wrap}.story-widget>footer{flex-wrap:wrap}}
@media(max-width:720px){.story-layout{display:flex;flex-direction:column-reverse}.story-context{position:sticky;top:0;width:100%;z-index:4}.story-heading{margin-bottom:20px}.story-widget iframe{height:225px}.story-widget-caption{min-height:0;padding:5px 10px}.story-widget-caption p{display:none}.story-widget-caption strong{font-size:15px}.story-widget>header,.story-widget>footer{padding:5px 8px}.story-article{max-width:none}.story-article section{padding-left:12px}.story-widget.story-expanded iframe{height:auto}}

.story-widget button,.story-heading [data-story-publish]{border:1px solid #bdc7b4;border-radius:5px;background:#e9edde;color:#354c3c;cursor:pointer}.story-widget button:hover,.story-heading [data-story-publish]:hover{background:#dce4d0}.story-widget button:disabled{opacity:.4;cursor:default}.story-heading [data-story-publish]{padding:9px 14px}.story-widget button:focus-visible,.story-scene-link:focus-visible{outline:2px solid #627d5b;outline-offset:2px}

.story-widget{position:static;margin:0;width:100%;max-width:none;max-height:none;padding:0;box-sizing:border-box;color:inherit}.story-widget.story-expanded{width:calc(100vw - 32px);height:calc(100dvh - 32px);max-height:none;margin:0;box-shadow:0 12px 40px #0b1d2244}.story-widget::backdrop{background:#12281dd9}

.story-embed{overflow-x:hidden}.story-embed .explore-shell{padding-right:24px}

/* Focused story evidence scenes share source identities, not the full Explorer shell. */
[data-story-network]{min-height:420px;max-height:66vh;overflow:auto;background:#f3f2e8}
.story-expanded [data-story-network]{flex:1;max-height:none;min-height:0}
.story-network-tools{display:flex;align-items:center;gap:6px;padding:8px 12px;border-bottom:1px solid #d8dccd}
.story-network-tools span{font-size:11px;color:#64705d;margin-left:auto;max-width:220px}
.story-network-canvas{padding:12px 4px;background:radial-gradient(ellipse at center,#fdfcf6,#ebeede)}
.story-evidence-map{display:block;width:100%;height:auto;min-height:240px}
.story-evidence-map text{font:12px system-ui;fill:#34483d;pointer-events:none}
.story-evidence-map .story-column-label{font-size:11px;fill:#78816f;letter-spacing:1px}
.story-evidence-map [role=button]{cursor:pointer}.story-evidence-map [role=button]:focus-visible{outline:2px solid #466f61;outline-offset:3px}
.story-network-legend{font-size:11px;color:#6d7464;padding:6px 12px;border-bottom:1px solid #d8dccd}
.story-network-detail{padding:14px;min-height:110px;font-size:13px;line-height:1.55;background:#e9e6d7}
.story-network-detail>strong,.story-network-detail>small{display:block}.story-network-detail>strong{font:19px Georgia,serif;margin:5px 0}
.story-network-detail pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}
.story-evidence-text{max-height:190px;overflow:auto;white-space:pre-line;margin:10px 0;font:15px/1.65 Georgia,serif}
.story-expanded .story-evidence-text{max-height:300px}
.story-network-actions{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;margin:10px 0}
.story-connections{display:grid;gap:5px;margin-bottom:8px}.story-connections button{text-align:left}
.story-source-cards{display:grid;gap:10px;padding:10px}.story-source-cards button{text-align:left;background:#faf9f2;padding:15px}
.story-source-cards small,.story-source-cards strong,.story-source-cards span{display:block}.story-source-cards small{color:#75816c}.story-source-cards strong{font:18px Georgia,serif;margin:8px 0}.story-source-cards span{line-height:1.5}
.story-widget-caption{min-height:100px}
@media(max-width:720px){[data-story-network]{min-height:200px;max-height:36vh}.story-network-detail{padding:10px}.story-evidence-map{min-height:190px}}

.story-expanded .story-network-canvas{max-width:1040px;margin:auto}.story-expanded .story-network-detail{max-width:1000px;margin:auto}.story-expanded .story-network-legend{text-align:center}
