.project-history{margin:0 0 22px;padding:22px 24px;background:#102b3d;color:#eff7fa;border-radius:9px}
.history-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px}.history-heading h2{font:1.8rem/1.15 Georgia,serif;margin:5px 0 8px}.history-heading p{margin:0;color:#c2d5de;font-size:.9rem;line-height:1.5}.history-kicker{font:700 .7rem/1.4 Arial,sans-serif;letter-spacing:.12em;color:#96cbdc}
.version-switch{display:grid;gap:6px;min-width:245px;font-size:.8rem;color:#c2d5de}.version-switch select{background:#fff;color:#102b3d;border-color:#8cadbd;font-size:.875rem;min-height:42px}.version-switch small{font-size:.75rem;max-width:310px;line-height:1.45}
.roadmap-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none}.roadmap-step{position:relative;border-top:1px solid #567383;padding:17px 0 0}.roadmap-step:before{content:'';position:absolute;top:-5px;left:0;width:9px;height:9px;border-radius:50%;background:#8bd5c8;border:2px solid #102b3d}.roadmap-step.pending:before{background:#102b3d;border:2px solid #829aa7}.roadmap-step.pending{border-top-style:dashed}.roadmap-state{font-size:.65rem;font-weight:700;letter-spacing:.1em;color:#a4dbd2}.pending .roadmap-state{color:#c4cfd5}.roadmap-step h3{font:1.3rem/1.25 Georgia,serif;margin:8px 0}.roadmap-step p{font-size:.8rem;line-height:1.55;color:#c4d5df;margin:5px 0}.roadmap-step .roadmap-model{color:#fff}.roadmap-step a,.roadmap-step button{display:inline-block;color:#c1eeff;font-size:.8rem;text-decoration:underline;text-underline-offset:4px;margin-top:10px;padding:0;min-height:24px;text-align:left}.roadmap-step a:focus-visible,.roadmap-step button:focus-visible{outline-color:#b7edff}.history-details{font-size:.8rem;color:#c4d5df;margin-top:17px;border-top:1px solid #3b5666;padding-top:12px;line-height:1.6}.history-details summary{cursor:pointer}.history-details p{max-width:930px;margin:9px 0 0}.history-details a{color:#c1eeff}.history-details code{font-size:.75rem}.history-links{display:flex;gap:14px;flex-wrap:wrap}
/* Map and controls are a single top panel; the catalog gets all three columns. */
.discovery-controls{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,.85fr);gap:22px;align-items:start;margin-bottom:25px}.discovery-controls .workspace{margin:0;padding:22px;min-height:340px}.discovery-controls .workspace h2{font:1.5rem/1.2 Georgia,serif;margin:0 0 18px}.discovery-controls .filters{grid-template-columns:1fr 1fr}.discovery-controls .search-field{grid-column:1/-1}.discovery-controls .catalog-toolbar{display:block}.discovery-controls #weights-open{padding:12px 0 0;text-align:left}.discovery-controls .map-column{position:static;min-width:0}.discovery-controls #atlas-map-panel>summary{font-size:1.3rem;padding:15px 17px 10px}.discovery-controls #map-summary{display:inline;font-size:.75rem;margin-left:10px}.discovery-controls .map-panel-body{padding:0 12px 12px}.discovery-controls #map-frame{max-width:400px;margin:0 auto}.discovery-controls #map{height:auto;max-height:265px}.discovery-controls .map-controls{margin-bottom:8px}.discovery-controls .map-help{font-size:.75rem;margin:8px 4px}.discovery-controls .map-credits{font-size:.75rem}.discovery-controls .map-credits>summary{min-height:0}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.results-heading{margin-top:0}
@media(min-width:1200px){.discovery-controls .workspace{min-height:405px}.discovery-controls .filters{grid-template-columns:1.4fr 1fr 1fr}.discovery-controls .search-field{grid-column:auto}}
@media(max-width:1050px){.discovery-controls{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr);gap:16px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.history-heading h2{font-size:1.6rem}.roadmap-track{gap:18px}.roadmap-step h3{font-size:1.2rem}}
@media(max-width:720px){.history-heading{display:block}.version-switch{margin-top:15px;min-width:0;max-width:380px}.project-history{padding:19px}.roadmap-track{grid-template-columns:1fr;gap:0}.roadmap-step{border-top:0;border-left:1px solid #567383;margin-left:4px;padding:0 0 20px 20px}.roadmap-step:last-child{padding-bottom:0}.roadmap-step:before{left:-5px;top:4px}.roadmap-step.pending{border-left-style:dashed}.roadmap-step h3{margin:4px 0}.roadmap-step p{margin:3px 0}.roadmap-step a,.roadmap-step button{margin-top:5px}.discovery-controls{grid-template-columns:1fr;gap:14px}.discovery-controls .workspace{min-height:0;padding:18px}.discovery-controls #map-frame{max-width:360px}.discovery-controls #map{max-height:260px}}
@media(max-width:560px){.project-grid{grid-template-columns:1fr}.discovery-controls .filters{grid-template-columns:1fr}.discovery-controls #map-summary{display:block;margin:4px 0 0}.history-heading h2{font-size:1.55rem}}
.discovery-controls #map-frame{max-width:320px}.discovery-controls #map{max-height:none}
.dialog-version-switch{display:flex;align-items:center;gap:9px;font:12px/1.4 Arial,sans-serif;color:var(--muted);flex-shrink:0}.dialog-version-switch select{font-size:12px;min-height:36px;padding:6px 9px;max-width:230px;width:auto}#project-dialog>.dialog-version-switch{padding:12px 70px 12px 24px;border-bottom:1px solid var(--line)}.mini-dialog-head{flex-wrap:wrap}.mini-dialog-head>div{flex:1;min-width:180px}.mini-dialog-head .dialog-version-switch{margin-left:auto}.code-header{flex-wrap:wrap;gap:10px}
@media(max-width:560px){.mini-dialog-head .dialog-version-switch{margin:8px 0 0;align-items:start;flex-direction:column;gap:3px}.dialog-version-switch select{max-width:205px}#project-dialog>.dialog-version-switch{padding-left:15px}}
/* Keep the history useful without pushing the actual catalog off the screen. */
.project-history{padding:17px 20px;margin-bottom:18px}.history-heading{margin-bottom:13px}.history-heading h2{font-size:1.5rem}.history-heading p{font-size:.8125rem}.roadmap-step{padding-top:11px}.roadmap-step h3{font-size:1.15rem;margin:5px 0}.roadmap-step p{font-size:.775rem;margin:3px 0}.roadmap-step .roadmap-model{display:inline;margin-right:9px}#roadmap-pages-date,#roadmap-directions-date{display:inline;font-size:.72rem}.roadmap-step a,.roadmap-step button{display:block;margin-top:7px;min-height:20px}.history-details{margin-top:11px;padding-top:8px}#roadmap-phases>summary{display:none;cursor:pointer;color:#c1eeff;font-size:.825rem}.discovery-controls .workspace{min-height:0}.discovery-controls .filters{grid-template-columns:1fr 1fr}.discovery-controls .search-field{grid-column:1/-1}.discovery-controls #map-frame{max-width:280px}
@media(max-width:720px){#roadmap-phases>summary{display:list-item;padding:3px 0}#roadmap-phases[open]>.roadmap-track{margin-top:16px}.roadmap-step{padding-top:0}.project-history{padding:18px}.history-heading h2{font-size:1.5rem}.version-switch{margin-top:12px}.discovery-controls .filters{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.discovery-controls .filters{grid-template-columns:1fr}}
