.overview-page{--overview-ready:#238359;--overview-ready-soft:#e8f4ec;--map-paper:#fffdf8;--map-stroke:#d0dbd4;--map-label:#19382d;--map-empty:#adbdaf;--map-needed:#94601c;--map-missing:#c53d46;--map-earlier:#e3b23c;--map-earlier-stroke:#a37613;--map-needed-soft:#f7eddb;--map-new:#287852;--map-old:#8b6629;--map-complete-line:#b6d6c1}
.overview-page[data-theme=dark]{--overview-ready:#85d6aa;--overview-ready-soft:#203e30;--map-paper:#141e19;--map-stroke:#3a5144;--map-label:#e0f0e6;--map-empty:#667a6b;--map-needed:#e6bd76;--map-missing:#f18b90;--map-earlier:#edc76b;--map-earlier-stroke:#d6ad50;--map-needed-soft:#3c3321;--map-new:#9ad9b4;--map-old:#e7c48e;--map-complete-line:#446e55}
.overview-main{max-width:1540px;margin:auto;padding:22px 32px 60px}.overview-back{font-size:12px;color:var(--muted)}.overview-main a:hover{color:var(--overview-ready)}
.overview-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:24px 0 28px}.overview-hero .eyebrow{margin:0 0 7px;font-size:11px}.overview-hero h1{font-size:34px;line-height:1.25;margin:0 0 8px;letter-spacing:-.03em}.overview-intro{margin:0;color:var(--muted);font-size:14px}.overview-counts{display:flex;gap:28px}.overview-stat{display:block;min-width:0;max-width:150px}.overview-stat strong{font-size:29px;line-height:1.2;display:block;font-weight:550;color:var(--map-label)}.overview-stat span{display:block;font-size:12px;margin-top:5px}.overview-stat small{display:block;color:var(--muted);font-size:11px;margin-top:3px;line-height:1.5}
.atlas-toolbar{position:sticky;top:var(--atlas-header-height,74px);z-index:15;background:var(--map-paper);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0 11px}.directory-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}.map-breadcrumb{display:flex;align-items:center;gap:9px;min-width:0}.map-breadcrumb h2{font-size:15px;margin:0;font-weight:500}.map-breadcrumb>span{font-size:12px;color:var(--muted)}.map-breadcrumb button{font-size:14px;border:0;background:none;padding:6px 0;min-height:44px;color:var(--overview-ready)}.directory-controls{display:flex;gap:8px;align-items:center}.directory-controls input,.directory-controls select,.directory-controls button{font-size:12px;padding:9px 12px;min-height:42px;border:1px solid var(--line);border-radius:6px;background:var(--map-paper);color:var(--ink)}.directory-controls input{width:245px}.directory-controls select{width:180px;max-width:180px;text-overflow:ellipsis}.directory-controls button{white-space:nowrap;color:var(--muted)}
.overview-filters{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0 11px}.overview-filters button{display:flex;align-items:center;gap:9px;min-height:36px;border:1px solid var(--line);background:var(--map-paper);color:var(--muted);border-radius:20px;padding:5px 13px;font-size:12px}.overview-filters button strong{font-weight:550;font-variant-numeric:tabular-nums}.overview-filters button[data-filter=complete]{color:var(--overview-ready)}.overview-filters button[data-filter^=missing]{color:var(--map-missing)}.overview-filters button[aria-pressed=true]{background:var(--overview-ready-soft);border-color:var(--overview-ready);color:var(--map-label)}.overview-filters button:disabled{opacity:.5;cursor:wait}.map-caption{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted)}.map-caption p{margin:0}#readiness{color:var(--overview-ready)}
.atlas-explanation{padding:18px 0 12px;color:var(--muted);font-size:12px;display:flex;flex-wrap:wrap;column-gap:25px;row-gap:5px;align-items:center}.atlas-explanation p{margin:0}.atlas-explanation #coverage{font-weight:500;color:var(--map-label);width:100%}.atlas-explanation>span{display:flex;align-items:center;gap:6px}.atlas-explanation>span .missing{margin-left:8px}.version-sample{font-size:11px;color:var(--map-old);padding:0 5px;margin-left:7px;background:var(--map-needed-soft);border-radius:3px}.map-view-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:8px 0 0}.map-view-bar>p{font-size:12px;color:var(--muted);margin:0}.map-tools{display:flex;align-items:center;flex-shrink:0;gap:3px}.map-tools button{border:1px solid var(--line);background:var(--map-paper);border-radius:5px;color:var(--ink);min-height:36px;min-width:36px;font-size:12px;padding:5px 9px}.map-tools output{font-size:11px;color:var(--muted);min-width:40px;text-align:center;font-variant-numeric:tabular-nums}.map-tools button:disabled{opacity:.45;cursor:default}.map-tools button:hover:enabled{background:var(--overview-ready-soft)}
.map-frame{position:relative;width:100%;overflow:hidden;margin-top:5px;background:var(--map-paper)}.content-map{display:block;width:100%;height:auto;touch-action:pan-y;user-select:none;-webkit-user-select:none;font-family:inherit;overflow:hidden}.content-map:focus-visible{outline:2px solid var(--overview-ready);outline-offset:-3px}.map-link{fill:none;stroke:var(--map-stroke);stroke-width:1.2}.map-trunk{stroke-width:1;stroke-opacity:.65}.complete-link{stroke:var(--map-complete-line)}.story-link{stroke-dasharray:2 3}.map-node{cursor:pointer;outline:none}.map-hit{fill:transparent;stroke:none}.map-underline{fill:none;stroke:var(--map-stroke);stroke-width:.8}.map-junction{fill:var(--map-paper);stroke:var(--map-empty);stroke-width:1.2}.map-label{fill:var(--map-label);font-weight:500;pointer-events:none}.map-availability{pointer-events:none;font-weight:500}.map-availability.complete{fill:var(--overview-ready)}.map-availability.needs-work{fill:var(--map-missing)}.map-availability.unverified{fill:var(--muted)}.map-resource-label{fill:var(--muted);pointer-events:none}.map-light{fill:var(--map-paper);stroke:var(--map-empty);stroke-width:1.3}.map-light.on{fill:var(--overview-ready);stroke:var(--overview-ready)}.map-light.missing{fill:var(--map-earlier);stroke:var(--map-earlier-stroke);stroke-width:1.25;opacity:0.95}.map-frame[data-active-filter="missing-music"] .map-resource-lights>g:nth-child(1) .map-light.missing,.map-frame[data-active-filter="missing-video"] .map-resource-lights>g:nth-child(2) .map-light.missing{fill:var(--map-missing);stroke:var(--map-missing);stroke-width:1.5;opacity:1}.map-light.unknown{fill:var(--map-paper);stroke:var(--map-empty);stroke-dasharray:1.5 2}.map-story-tag{outline:none}.map-story-meta{fill:var(--muted)}
.map-node.is-selected>.map-underline,.map-node:hover>.map-underline,.map-node:focus-visible>.map-underline{stroke:var(--overview-ready);stroke-width:2}.map-node.is-selected>.map-label,.map-node:focus-visible>.map-label{fill:var(--overview-ready)}.map-node:focus-visible>.map-junction{stroke-width:3}.map-category-ring{fill:var(--map-paper);stroke:var(--map-stroke);stroke-width:3}.map-category-progress{fill:none;stroke:var(--overview-ready);stroke-width:3;stroke-linecap:round}.map-category-code{fill:var(--overview-ready);text-anchor:middle;font-weight:500}.map-category-meta{fill:var(--muted);font-size:11px}.map-category:hover .map-category-ring,.map-category:focus-visible .map-category-ring,.map-category.is-located .map-category-ring{stroke:var(--overview-ready);stroke-width:4}.map-root-disc{fill:var(--overview-ready-soft);stroke:var(--overview-ready);stroke-width:1}.map-root-halo{fill:none;stroke:var(--map-stroke);stroke-width:1}.map-root-title{fill:var(--map-label);text-anchor:middle;letter-spacing:-.6px;font-weight:550}.map-root-meta{fill:var(--muted);text-anchor:middle;}.map-root:focus-visible .map-root-disc,.map-root:hover .map-root-disc{stroke-width:3}
.resource-dot{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:11px;height:11px;border:1.4px solid var(--map-empty);border-radius:50%;vertical-align:middle;font-style:normal}.resource-dot.on{background:var(--overview-ready);border-color:var(--overview-ready)}.resource-dot.missing{background:var(--map-missing);border-color:var(--map-missing)}.resource-dot.unknown{background:transparent;border-color:var(--map-empty);border-style:dashed}.resource-dot.small{width:calc(11px * .95);height:calc(11px * .95);border-width:1px}.overview-legend{display:flex;flex-wrap:wrap;align-items:center;gap:7px 22px;font-size:12px;color:var(--muted);padding:16px 0 0;border-top:1px solid var(--line)}.overview-legend>span{display:flex;align-items:center;gap:6px}.overview-availability,.overview-status{font-size:12px;color:var(--muted);margin:8px 0}.overview-status{margin-bottom:28px}.overview-empty{padding:20px 0 35px;text-align:center;font-size:14px}
.map-selection{position:fixed;right:24px;top:100px;z-index:40;width:370px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 190px);overflow:auto;background:var(--map-paper);border:1px solid var(--line);box-shadow:0 10px 40px #102a221c;border-radius:10px;padding:24px;scroll-margin:20px}.selection-close{position:absolute;right:9px;top:7px;background:none;border:0;font-size:26px;line-height:1;min-height:40px;min-width:40px;color:var(--muted)}.selection-heading{padding-right:25px}.selection-heading>span{font-size:11px;color:var(--muted)}.selection-heading h3{font-size:19px;font-weight:550;line-height:1.5;margin:4px 0 14px}.selection-content>p{font-size:12px;color:var(--muted);margin:15px 0 10px}.overview-resource-links{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.overview-resource-links a{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:var(--overview-ready-soft);color:var(--overview-ready);border:1px solid var(--map-complete-line);font-weight:500;text-decoration:none;transition:background 0.15s ease}.overview-resource-links a:hover{background:var(--overview-ready);color:var(--map-paper)}.overview-resource-links>span{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:transparent;color:var(--muted);border:1px dashed var(--line);font-size:11px}.selection-stories{border-top:1px solid var(--line)}.selection-stories button{display:flex;align-items:flex-start;gap:9px;text-align:left;width:100%;background:none;border:0;border-bottom:1px solid var(--line);padding:12px 0;color:var(--ink)}.selection-stories .resource-dot{margin-top:7px}.selection-stories strong{display:block;font-size:13px;font-weight:500;line-height:1.6}.selection-stories small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.map-selection:focus{outline:none}
.overview-library{border-top:1px solid var(--line);padding:12px 0}.overview-library>summary{display:flex;gap:15px;align-items:center;cursor:pointer;min-height:48px}.overview-library>summary:before{content:'＋';font-size:18px;color:var(--muted)}.overview-library[open]>summary:before{content:'−'}.overview-library h2{font-size:18px;font-weight:500;display:inline;margin:0}.overview-library>summary>span{font-size:12px;color:var(--muted)}.overview-song-list{columns:2;column-gap:40px;padding:8px 0 20px}.overview-song{border-bottom:1px solid var(--line);padding:10px 0;min-width:0;break-inside:avoid}.overview-song>a{font-size:13px;font-weight:500}.overview-song p{font-size:11px;color:var(--muted);margin:3px 0 0;overflow-wrap:anywhere}.overview-song small{font-size:11px;color:var(--muted)}.overview-films{padding:10px 0 20px}.overview-film{display:flex;gap:22px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line)}.overview-film h3{font-size:14px;font-weight:500;margin:0}.overview-film p{font-size:12px;color:var(--muted);margin:0}.overview-film a{color:var(--overview-ready)}.overview-footer{font-size:12px;margin-top:15px;padding:20px 0;color:var(--muted)}
@media(max-width:1050px){.overview-hero{align-items:flex-start;gap:20px}.overview-counts{gap:16px}.directory-heading{align-items:flex-start;flex-direction:column;gap:4px}.directory-controls{width:100%}.directory-controls label:first-child{flex:1}.directory-controls input{width:100%}}
@media(max-width:700px){.overview-main{padding:18px 18px 40px}.overview-hero{display:block;padding:16px 0 20px}.overview-hero h1{font-size:29px}.overview-intro{font-size:13px}.overview-counts{gap:15px;margin-top:21px;justify-content:space-between}.overview-stat{max-width:100px;flex:1}.overview-stat strong{font-size:25px}.overview-stat span{font-size:11px}.overview-stat small{font-size:10px}.atlas-toolbar{padding-top:5px}.directory-heading{gap:3px}.directory-controls{flex-wrap:wrap;gap:7px}.directory-controls label:first-child{flex-basis:100%}.directory-controls input{font-size:14px}.directory-controls label:nth-child(2){flex:1;min-width:0}.directory-controls select{width:100%;max-width:none}.directory-controls button{font-size:12px}.overview-filters{gap:5px;margin-bottom:8px}.overview-filters button{padding:4px 10px;gap:6px;font-size:11px;min-height:32px}.map-caption{font-size:11px;flex-wrap:wrap;gap:3px}.atlas-explanation{font-size:11px;padding:14px 0 9px;gap:4px}.map-view-bar{align-items:flex-start;flex-direction:column;gap:8px}.map-tools{align-self:flex-end}.map-view-bar>p{font-size:11px}.map-selection{right:12px;left:12px;top:auto;bottom:80px;width:auto;max-width:none;max-height:60dvh;padding:23px 20px}.selection-heading h3{font-size:18px}.overview-song-list{columns:1}.overview-film{display:block}.overview-film p{margin-top:4px}.overview-footer{flex-direction:column;gap:8px}.overview-library>summary{flex-wrap:wrap;gap:4px 12px}}
/* The catalogue is a single radial canvas; its camera handles all navigation. */
.overview-hero{padding:16px 0 20px}.overview-hero h1{font-size:29px}.overview-hero .eyebrow{margin-bottom:4px}.overview-stat strong{font-size:25px}.overview-stat small{font-size:10px}.atlas-explanation{padding:12px 0 8px}.atlas-explanation #coverage{width:auto;margin-right:8px}.atlas-explanation>p:nth-child(2){display:none}
.map-frame{height:clamp(590px,72vh,900px);margin-top:8px;border:1px solid var(--line);border-radius:9px;background-color:var(--map-paper);background-image:radial-gradient(var(--map-stroke) .6px,transparent .6px);background-size:22px 22px;isolation:isolate}.content-map{width:100%;height:100%;touch-action:none;cursor:grab}.content-map:active{cursor:grabbing}.map-view-bar{position:absolute;top:13px;left:15px;right:15px;margin:0;z-index:12;align-items:center;pointer-events:none}.map-view-bar>p{padding:7px 9px;background:var(--map-paper);border-radius:4px;font-size:11px}.map-view-bar .map-tools{pointer-events:auto;background:var(--map-paper);padding:3px;border:1px solid var(--line);border-radius:6px;box-shadow:0 2px 8px #153b2508}.map-tools button{border:0;min-width:36px;min-height:36px;font-size:13px}.map-tools #map-zoom-in,.map-tools #map-zoom-out{font-size:19px}.map-tools #map-fit,.map-tools #map-fullscreen{border-left:1px solid var(--line);border-radius:0;font-size:11px}.map-tools output{font-size:11px;min-width:40px}
.map-orbits ellipse{fill:none;stroke:var(--map-stroke);stroke-width:1;stroke-dasharray:3 12;opacity:.3;pointer-events:none;vector-effect:non-scaling-stroke}.map-link{stroke-width:1.05;stroke-opacity:.8;vector-effect:non-scaling-stroke}.map-trunk{stroke-width:2;stroke-opacity:.72}.map-root-title{letter-spacing:-.8px}.map-root-meta{}.map-root-disc{stroke-width:1.2}.map-root-halo{stroke-dasharray:3 8}.map-category-meta{font-size:11px}.map-category-code{}.map-category .map-label{font-weight:550}.map-node:hover .map-label,.map-node.is-selected .map-label{fill:var(--overview-ready)}.map-underline{stroke-width:1}.map-availability{font-weight:500}.map-frame .map-selection{z-index:30}
.map-minimap{position:absolute;left:15px;bottom:15px;width:178px;background:var(--map-paper);border:1px solid var(--line);border-radius:6px;z-index:11;overflow:hidden;box-shadow:0 2px 8px #153b2508}.map-minimap>svg{display:block;width:100%;height:auto;cursor:crosshair;touch-action:none}.map-minimap>span{display:block;text-align:center;font-size:10px;color:var(--muted);padding:0 3px 5px}.map-minimap path{fill:none;stroke:var(--map-stroke);stroke-width:.7}.map-minimap circle{fill:var(--muted);opacity:.8}.map-mini-window{fill:color-mix(in srgb,var(--blue) 9%,transparent);stroke:var(--blue);stroke-width:1.2;pointer-events:none}
.map-frame:fullscreen,.map-frame.is-expanded{width:100vw;height:100dvh;min-height:100dvh;max-height:none;border:0;border-radius:0;margin:0;background-color:var(--map-paper)}.map-frame.is-expanded{position:fixed;inset:0;z-index:80}.map-frame:fullscreen .map-selection{top:80px}.map-frame:fullscreen .map-view-bar{top:18px}
@media(max-width:700px){.overview-hero{padding:10px 0 15px}.overview-hero h1{font-size:27px}.overview-hero .eyebrow{display:none}.overview-counts{margin-top:16px}.overview-stat strong{font-size:22px}.overview-stat small{display:none}.atlas-explanation{gap:5px 12px}.atlas-explanation #coverage{width:100%}.map-frame{height:590px;min-height:590px}.map-view-bar{top:9px;left:9px;right:9px;gap:4px;align-items:flex-start}.map-view-bar>p{font-size:10px;padding:4px 6px}.map-tools{align-self:flex-end}.map-tools button{min-height:34px;min-width:33px;padding:4px 7px}.map-minimap{left:10px;bottom:10px;width:130px}.map-minimap>span{font-size:9px}.map-frame:fullscreen .map-selection{top:auto;bottom:16px}.map-frame:fullscreen .map-view-bar{top:10px}}

.map-frame .overview-empty{position:absolute;top:calc(50% + 65px);left:50%;transform:translateX(-50%);z-index:13;width:min(420px,90%);padding:12px;background:var(--map-paper);font-size:13px}
.map-frame{overflow:clip}.content-map{position:absolute;inset:0}.map-view-bar{position:sticky;top:calc(var(--atlas-header-height,74px) + var(--atlas-toolbar-height,140px) + 9px);left:auto;right:auto;margin:13px 15px 0;min-height:44px}.map-frame:fullscreen .map-view-bar,.map-frame.is-expanded .map-view-bar{position:absolute;top:15px;left:15px;right:15px;margin:0}
@media(max-width:700px){.map-view-bar{margin:9px 9px 0}.map-frame:fullscreen .map-view-bar,.map-frame.is-expanded .map-view-bar{top:9px;left:9px;right:9px}}
.map-frame{isolation:auto}

/* Give the canvas the screen; keep the directory controls close to one line. */
.overview-main{max-width:none;padding:8px 16px 60px}
.overview-hero{padding:6px 0 10px;gap:20px;min-height:56px}
.overview-heading{display:flex;align-items:center;gap:18px;min-width:0}
.overview-heading h1{font-size:23px;white-space:nowrap;margin:0}
.overview-counts{gap:22px;margin:0;align-items:center}
.overview-stat{display:flex;align-items:baseline;gap:6px;max-width:none}
.overview-stat strong{font-size:21px;line-height:1.2}
.overview-stat span{font-size:12px;margin:0;white-space:nowrap}
.overview-stat small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.atlas-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:5px;padding:6px 0}
.directory-heading{grid-column:1/-1;min-height:36px;gap:12px}
.map-breadcrumb button{min-height:36px}
.directory-controls input,.directory-controls select,.directory-controls button{min-height:36px;padding:6px 10px}
.directory-controls input{width:220px}
.directory-controls select{width:160px;max-width:160px}
.overview-filters{margin:0;gap:5px;align-items:center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;min-width:0}
.overview-filters button{min-height:30px;padding:3px 10px;gap:7px;flex-shrink:0;white-space:nowrap}
.map-caption{align-items:center;font-size:11px;gap:12px;flex-wrap:nowrap}
.map-caption #directory-results{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.map-caption #readiness{white-space:nowrap}
.map-frame{height:max(560px,calc(100dvh - var(--atlas-map-top,210px) - 70px));min-height:560px;margin-top:6px;border-radius:7px}
.map-view-bar{margin:10px 12px 0;top:calc(var(--atlas-header-height,74px) + var(--atlas-toolbar-height,86px) + 8px);min-height:40px;gap:8px}
.map-view-bar>p{font-size:12px;line-height:1.5}
.map-tools button{min-height:36px}
.map-tools #map-readable{border-left:1px solid var(--line);border-radius:0;font-size:12px}
.map-tools #map-fit,.map-tools #map-fullscreen{font-size:12px}
.map-tools button[aria-pressed=true]{background:var(--overview-ready-soft);color:var(--map-label);font-weight:650}
.map-label{font-weight:600}
.map-resource-label{fill:var(--map-label)}
.map-category-meta{font-size:14px}
.map-minimap{width:142px;left:12px;bottom:12px}
.overview-notes{font-size:12px;color:var(--muted);margin:7px 0 12px}
.overview-notes>summary{cursor:pointer;min-height:32px;padding:5px 0;width:fit-content}
.overview-notes .atlas-explanation{padding:6px 0 8px}
.overview-notes .overview-legend{padding-top:10px}
.overview-notes .overview-status{margin-bottom:10px}
@media(min-width:1600px){.overview-main{padding-inline:20px}}
@media(max-width:1050px){
  .overview-hero{gap:12px}.overview-counts{gap:14px}.overview-stat span{font-size:11px}
  .map-breadcrumb{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .directory-heading{display:block}.directory-controls{width:100%}.directory-controls label:first-child{flex:1;min-width:0}.directory-controls input{width:100%}
  .atlas-toolbar{grid-template-columns:minmax(0,1fr)}.map-caption{grid-column:1/-1;justify-content:flex-end}
}
@media(max-width:700px){
  .overview-main{padding:5px 8px 40px}
  .overview-hero{display:flex;flex-wrap:wrap;gap:5px;padding:3px 2px 8px;min-height:0}
  .overview-heading{width:100%;justify-content:space-between;flex-direction:row-reverse;gap:10px}
  .overview-heading h1{font-size:clamp(19px,5.8vw,22px)}.overview-back{font-size:11px}
  .overview-counts{width:100%;justify-content:space-between;gap:7px;margin:0}
  .overview-stat{max-width:none;flex:0 1 auto;gap:4px}.overview-stat strong{font-size:19px}.overview-stat span{font-size:10px}.overview-stat small{display:block}
  .atlas-toolbar{gap:4px;padding:5px 1px}
  .directory-controls{flex-wrap:nowrap;gap:5px}
  .directory-controls label:first-child{flex:1 1 0;min-width:0}
  .directory-controls label:nth-child(2){flex:0 0 103px;min-width:0}
  .directory-controls input,.directory-controls select,.directory-controls button{min-height:36px;font-size:12px;padding:5px 7px}
  .directory-controls select{width:100%;max-width:103px}.directory-controls button{flex:0 0 auto;font-size:11px}
  .overview-filters{gap:5px;margin:0;padding-bottom:1px}.overview-filters button{font-size:11px;min-height:30px;padding:3px 9px}
  .map-caption{font-size:11px;justify-content:space-between}.map-caption #directory-results{position:static;width:auto;height:auto;clip:auto;max-width:49%;overflow:hidden;text-overflow:ellipsis}.map-caption #readiness{font-size:10px}
  .map-frame{height:max(520px,calc(100dvh - var(--atlas-map-top,260px) - 70px));min-height:520px;margin-top:5px}
  .map-view-bar{margin:7px 7px 0;gap:5px;flex-direction:column-reverse;align-items:stretch}
  .map-view-bar>p{font-size:11px;width:fit-content;padding:3px 6px;max-width:100%}
  .map-view-bar .map-tools{align-self:flex-end;gap:1px;padding:2px}
  .map-tools button{min-height:36px;min-width:31px;padding:4px 6px}.map-tools output{min-width:34px;font-size:10px}
  .map-tools #map-readable,.map-tools #map-fit,.map-tools #map-fullscreen{font-size:11px}
  .map-minimap{width:104px;bottom:9px;left:9px}.map-minimap>span{font-size:9px}
  .map-frame:fullscreen,.map-frame.is-expanded{height:100dvh;min-height:100dvh}
}

/* The landing view is the complete atlas, with plain labels and no version boxes. */
.overview-hero{min-height:44px;padding:3px 0 7px}
.map-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.map-frame{height:calc(100dvh - var(--atlas-map-top,190px) - 70px);min-height:360px}
.map-view-bar{position:absolute;top:8px;left:10px;right:10px;margin:0;min-height:36px;flex-direction:row;align-items:center}
.map-view-bar>p{font-size:11px;padding:4px 6px;margin:0}
.map-tools #map-fit{border-radius:0;font-size:12px}
.map-frame[data-view=all] .map-minimap{display:none}
.map-story-hit{fill:transparent;stroke:none}
.version-sample{background:transparent;color:var(--map-label);padding:0 3px;border:0}
.map-label,.map-resource-label{paint-order:stroke fill;stroke:var(--map-paper);stroke-width:1.8;stroke-linejoin:round}
.map-label{font-weight:600}
.map-resource-label{fill:var(--map-label);font-weight:450}
.map-link{stroke-width:.65;stroke-opacity:.64}
.map-trunk{stroke-width:1.3;stroke-opacity:.85}
.map-underline{stroke-width:.55}
.map-field.is-complete .map-underline{stroke:var(--map-complete-line)}
.map-category-ring,.map-category-progress{stroke-width:1.35}
.map-category:hover .map-category-ring,.map-category:focus-visible .map-category-ring{stroke-width:2}
.map-root-title{letter-spacing:-.5px}
@media(min-width:1200px){
  .atlas-toolbar{display:flex;align-items:center;gap:12px;padding:6px 0}
  .directory-heading{display:contents}
  .map-breadcrumb{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .directory-controls{order:2;width:auto;margin-left:auto;flex-shrink:0}
  .directory-controls input{width:170px}.directory-controls select{width:145px;max-width:145px}
  .overview-filters{flex:1;min-width:0;order:1}
}
@media(max-width:700px){
  .overview-hero{padding:3px 2px 7px;min-height:0}
  .map-frame{height:calc(100dvh - var(--atlas-map-top,215px) - 70px);min-height:360px}
  .map-view-bar{top:7px;left:7px;right:7px;margin:0;min-height:36px;flex-direction:row}
  .map-view-bar>p{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .map-view-bar .map-tools{margin-left:auto;align-self:auto}
  .map-selection{max-height:48dvh}
}
.map-frame:fullscreen,.map-frame.is-expanded{height:100dvh;min-height:100dvh}
.map-read-key{color:var(--muted);background:var(--map-paper);padding:3px 6px;line-height:1.4}
.map-category .map-label{font-weight:700}
.map-field .map-label{font-weight:500}
.map-read-key>p{font-size:11px;margin:0 0 2px}
.map-lamp-key{display:flex;gap:10px;align-items:center;font-size:10px;color:var(--map-label)}
.map-key-compact{display:none}.map-lamp-key>span:last-child{padding-left:10px;border-left:1px solid var(--line)}
.map-lamp-divider{stroke:var(--map-stroke);stroke-width:.6}
@media(max-width:700px){.map-read-key{padding:0;flex-shrink:0}.map-read-key>p{display:none}.map-lamp-key{display:flex;flex-direction:column;align-items:flex-start;gap:0;font-size:9px}.map-key-wide{display:none}.map-key-compact{display:inline}.map-lamp-key>span:last-child{padding-left:0;border:0}.map-view-bar{justify-content:space-between}}
.map-light.story.on.earlier{fill:var(--map-earlier);stroke:var(--map-earlier-stroke)}
.resource-dot.square{border-radius:0}
.resource-dot.on.earlier{background:var(--map-earlier);border-color:var(--map-earlier-stroke)}
.map-story-tag:hover .map-light,.map-story-tag:focus-visible .map-light,.map-story-tag.is-selected .map-light{stroke:var(--map-label);stroke-width:2}
.map-lamp-key .resource-dot{width:10px;height:10px;border-width:1px;margin-right:3px}
.map-lamp-key .resource-dot:not(:first-child){margin-left:4px}
.map-lamp-key .resource-dot.small{width:calc(10px * .95);height:calc(10px * .95);margin-right:2px;margin-left:0}
@media(max-width:700px){.map-lamp-key .resource-dot{width:8px;height:8px;margin-right:2px}.map-lamp-key .resource-dot:not(:first-child){margin-left:2px}.map-lamp-key .resource-dot.small{width:calc(8px * .95);height:calc(8px * .95);margin-right:1px;margin-left:0}}
/* Three slim progress strips keep the totals above the complete atlas. */
.overview-hero{gap:24px;padding-block:5px 8px}
.overview-progress-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;width:min(820px,70%);align-items:start}
.overview-progress{min-width:0;font-variant-numeric:tabular-nums}
.progress-heading{display:flex;align-items:baseline;justify-content:space-between;gap:6px;line-height:1.5}
.progress-heading h2{font-size:13px;font-weight:600;color:var(--map-label);margin:0}
.progress-total{font-size:11px;color:var(--muted)}
.progress-numbers{display:flex;justify-content:space-between;gap:4px 8px;flex-wrap:wrap;font-size:11px;line-height:1.7;color:var(--muted)}
.progress-numbers>span{white-space:nowrap}.progress-numbers strong{font-weight:650;color:var(--map-label)}
.progress-numbers .progress-completed,.progress-completed strong{color:var(--overview-ready)}
.progress-track{display:flex;align-items:center;gap:7px;height:14px}
.progress-track progress{display:block;appearance:none;-webkit-appearance:none;border:0;border-radius:3px;height:4px;min-width:0;width:100%;flex:1;background:var(--map-stroke);overflow:hidden}
.progress-track progress::-webkit-progress-bar{background:var(--map-stroke);border-radius:3px}
.progress-track progress::-webkit-progress-value{background:var(--overview-ready);border-radius:3px}
.progress-track progress::-moz-progress-bar{background:var(--overview-ready);border-radius:3px}
.progress-track progress:not([value])::-webkit-progress-bar{background:var(--map-stroke)}
.progress-track progress:not([value])::-moz-progress-bar{background:var(--map-stroke)}
.progress-percent{font-size:10px;color:var(--muted);min-width:36px;text-align:right;white-space:nowrap}
.collection-counts{justify-content:flex-start;flex-wrap:wrap;width:auto;gap:22px;padding-block:5px 8px}
@media(max-width:1050px){.overview-progress-group{width:68%;gap:18px}.overview-heading{gap:12px}}
@media(max-width:700px){
  .overview-hero{gap:6px;padding-block:3px 7px}
  .overview-progress-group{width:100%;gap:12px}
  .progress-heading h2{font-size:12px}.progress-total{font-size:10px;line-height:1.5}
  .progress-numbers{font-size:10px;gap:0 4px;line-height:1.6}
  .progress-track{gap:5px;height:13px}.progress-percent{font-size:9px;min-width:31px}
  .collection-counts{width:auto;justify-content:flex-start;gap:16px}
}
@media(max-width:360px){.overview-progress-group{gap:8px}.progress-heading{flex-direction:column;align-items:flex-start;gap:0}.progress-numbers{flex-direction:column;align-items:flex-start}}


/* Keep every map control outside the drawing viewport, at every zoom level. */
.overview-directory .map-frame{display:grid;grid-template-rows:auto minmax(0,1fr) auto;isolation:isolate;overflow:hidden}
.overview-directory .map-frame .map-view-bar{position:relative;inset:auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:3px 12px;margin:0;min-height:38px;padding:3px 8px;border-bottom:1px solid var(--line);background:var(--map-paper);z-index:1;pointer-events:auto}
.overview-directory .map-frame .map-read-key{display:flex;align-items:center;min-width:0;padding:0;background:none}
.overview-directory .map-view-bar #map-guidance{display:block;position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.overview-directory .map-frame .map-lamp-key{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;font-size:10px;line-height:1.4;white-space:nowrap}
.overview-directory .map-frame .map-tools{align-self:auto;margin-left:auto;padding:0;border:0;box-shadow:none;background:none}
.overview-directory .map-frame .map-tools button{min-height:30px;min-width:30px;padding:3px 7px;font-size:11px}
.overview-directory .map-frame .map-tools #map-zoom-in,.overview-directory .map-frame .map-tools #map-zoom-out{font-size:17px}
.overview-directory .map-frame .map-tools output{min-width:34px;font-size:10px}
.map-canvas{position:relative;min-width:0;min-height:0;overflow:hidden;isolation:isolate;background-color:var(--map-paper);background-image:radial-gradient(var(--map-stroke) .6px,transparent .6px);background-size:22px 22px}
.map-canvas .content-map{position:absolute;inset:0;display:block;width:100%;height:100%;touch-action:none;overflow:hidden}
.map-canvas .overview-empty{top:50%;transform:translate(-50%,-50%);border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 28px rgba(16,42,34,0.1);padding:18px 24px}
.map-canvas .map-selection{position:absolute;top:14px;right:14px;bottom:auto;left:auto;z-index:30;width:356px;max-width:calc(100% - 28px);max-height:calc(100% - 28px);padding:20px 20px 18px;border-radius:12px;box-shadow:0 12px 32px rgba(16,42,34,0.14)}
.selection-heading>span{font-size:11px;font-weight:600;color:var(--overview-ready)}
.selection-heading h3{font-size:18px;font-weight:650;line-height:1.35;margin:4px 0 12px;color:var(--map-label)}
.selection-heading h3 a{color:inherit;text-decoration:none}
.selection-heading h3 a:hover{color:var(--overview-ready);text-decoration:underline;text-underline-offset:3px}
.selection-stories button,.selection-stories a.selection-story-link{display:flex;align-items:flex-start;gap:9px;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;border-radius:6px;padding:10px 8px;margin:0 -8px;width:calc(100% + 16px);transition:background 0.15s ease}
.selection-stories button:hover,.selection-stories a.selection-story-link:hover{background:var(--overview-ready-soft);color:var(--ink)}
.selection-stories a.selection-story-link:hover strong{color:var(--overview-ready)}
.overview-page{background-color:var(--map-paper);color:var(--map-label);min-height:100dvh}
.overview-page[data-theme=dark] .directory-controls input,.overview-page[data-theme=dark] .directory-controls select,.overview-page[data-theme=dark] .directory-controls button,.overview-page[data-theme=dark] .overview-filters button{background:#1a2620;border-color:var(--map-stroke);color:var(--map-label)}
.overview-page[data-theme=dark] .overview-filters button[aria-pressed=true]{background:var(--overview-ready-soft);border-color:var(--overview-ready);color:var(--overview-ready)}
.overview-page[data-theme=dark] .map-selection{background:#18241e;border-color:var(--map-stroke);box-shadow:0 14px 36px rgba(0,0,0,0.45)}
.overview-directory .map-frame .map-navigation{position:relative;margin:0;padding:0;border-top:1px solid var(--line);background:var(--map-paper);font-size:10px;z-index:1}
.map-navigation>summary{width:fit-content;min-height:26px;padding:5px 9px;cursor:pointer;color:var(--muted);line-height:1.5}
.overview-directory .map-frame .map-navigation:not([open]){display:none}
.overview-directory .map-frame .map-navigation>summary{display:none}
.overview-directory .map-frame .map-minimap{position:relative;inset:auto;display:block;width:112px;max-width:calc(100% - 18px);margin:0 9px 6px;border-radius:4px;box-shadow:none;z-index:auto}
.overview-directory .map-frame .map-minimap>svg{display:block;width:100%;height:auto}
.overview-directory .map-frame .map-minimap>span{font-size:9px;padding-bottom:3px}
.overview-directory .map-frame:has(.map-navigation[open]){min-height:460px}
.overview-directory .map-frame:fullscreen,.overview-directory .map-frame.is-expanded{height:100dvh;min-height:100dvh;grid-template-rows:auto minmax(0,1fr) auto}
.map-group{fill:var(--map-paper);fill-opacity:.82;stroke:var(--map-stroke);stroke-width:.8;vector-effect:non-scaling-stroke;pointer-events:none;transition:opacity 0.2s ease,fill-opacity 0.2s ease,stroke 0.2s ease}
.map-group.is-selected{fill:var(--overview-ready-soft);fill-opacity:0.28;stroke:var(--overview-ready);stroke-width:1.4}
.map-group.is-dimmed{opacity:0.32}
.map-node.is-dimmed{opacity:0.16;transition:opacity 0.2s ease}
.map-node.is-dimmed:hover,.map-node.is-dimmed:focus-visible{opacity:0.75}
.map-link.is-dimmed{stroke-opacity:0.12;transition:stroke-opacity 0.2s ease}
.map-link.is-highlighted{stroke:var(--overview-ready);stroke-opacity:0.92;stroke-width:1.45}
.map-frame[data-filtered="true"] .map-field:not(.is-dimmed)>.map-underline{stroke:var(--overview-ready);stroke-width:1.25}
.map-tooltip{position:absolute;z-index:35;pointer-events:none;background:var(--map-label);color:var(--map-paper);font-size:11px;line-height:1.45;padding:5px 9px;border-radius:6px;box-shadow:0 6px 16px rgba(0,0,0,0.18);white-space:normal;max-width:340px;width:max-content}
@media(max-width:700px){
  .overview-directory .map-frame .map-view-bar{gap:3px 7px;padding:3px 5px}
  .overview-directory .map-frame .map-lamp-key{font-size:9px;gap:7px}
  .overview-directory .map-frame .map-tools{gap:1px}
  .overview-directory .map-frame .map-tools button{min-width:28px;padding-inline:5px;font-size:10px}
  .overview-directory .map-frame .map-tools output{min-width:32px}
  .map-canvas .map-selection{top:auto;left:10px;right:10px;bottom:10px;width:auto;max-width:none;max-height:56%;padding:16px 16px 14px}
}
