/* A map-first workspace, with optional tools instead of a stack of boxes. */
.map-frame{position:relative}.map-zoom{position:absolute;top:.8rem;left:.8rem;display:flex;flex-direction:column;gap:3px}.map-zoom button{width:33px;height:33px;padding:0;font:1.25rem system-ui,sans-serif;background:#253028ed;color:#f0dfb9;border:1px solid #7c7958;border-radius:3px}.map-toolbar button>span{margin-left:.3rem}
.maps-main .map-page-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.map-page-heading h1{font-size:clamp(2rem,3vw,2.65rem);letter-spacing:-.025em;margin:0}.map-page-heading p:not(.eyebrow){color:var(--muted);margin:.35rem 0 0}.map-page-heading>a{font-size:.9rem;white-space:nowrap;margin-bottom:.2rem;text-underline-offset:.25em}
.map-workspace.workbench{background:none;border:0;padding:0;margin:0}.map-topline{display:flex;align-items:end;gap:1.25rem;margin-bottom:.95rem}.zone-finder{position:relative;flex:1;max-width:570px}.map-workspace .zone-finder>label{margin:0 0 .35rem;font-size:.8rem;color:var(--muted)}.zone-search-wrap{position:relative}.zone-finder input{width:100%;font:1rem system-ui,sans-serif;padding:.7rem .8rem;background:#20272b;border:1px solid #68705d;color:#f0e2c7;border-radius:4px}.zone-finder input:focus{outline:2px solid #bb9b63;outline-offset:2px}.zone-results{position:absolute;top:calc(100% + 5px);left:0;right:0;max-height:340px;overflow-y:auto;background:#20272b;border:1px solid #89744c;border-radius:4px;box-shadow:0 12px 32px #0009;z-index:5}.zone-results[hidden],.map-options[hidden],[role=tabpanel][hidden]{display:none!important}.zone-option{padding:.7rem .85rem;cursor:pointer;color:#efdec0;border-bottom:1px solid #ffffff0c;display:flex;justify-content:space-between;gap:.7rem;font-size:.95rem}.zone-option small{color:#b1b8a9;font-size:.8rem}.zone-option:hover,.zone-option[aria-selected=true]{background:#9279483d}.zone-no-results{padding:.85rem;color:#c5c3b8}.map-toolbar{display:flex;gap:.5rem;margin-left:auto}.map-toolbar button{padding:.68rem .85rem;font-size:.875rem;white-space:nowrap;border-color:#5c624f;background:#1d2527}.map-toolbar button[aria-expanded=true]{background:#ad8e4b;color:#15191c}
.map-caption{display:flex;gap:1rem;align-items:baseline;justify-content:space-between;margin:.9rem 0 .6rem}.map-caption h2{margin:0;font-size:1.35rem;color:#ecdbb9}.map-caption #map-status{font-size:.8rem;color:#b5b8aa;margin:0;text-align:right;max-width:65%}.map-stage{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:1.1rem}.map-stage.tools-open{grid-template-columns:minmax(0,1fr) 290px}.map-surface{min-width:0}.atlas canvas{border-radius:3px;box-shadow:0 9px 28px #0003}.map-workspace .atlas-readout{margin:.5rem 0;font-size:.75rem;color:#a7b1a5;flex-wrap:wrap}
.map-options{padding:0 0 0 1rem;border-left:1px solid #4f5648;min-width:0}.map-options-heading{display:flex;align-items:center;justify-content:space-between}.map-options h3{font-size:1.15rem;margin:0}.map-options-heading button{padding:.3rem .55rem;border:0;background:none;color:#b9bfb3}.map-tabs{display:flex;gap:.5rem;border-bottom:1px solid #4f5648;margin:.8rem 0 1rem}.map-tabs button{padding:.5rem .1rem;background:none;border:0;border-radius:0;color:#b3bbae;font-size:.85rem;flex:1}.map-tabs button[aria-selected=true]{color:#e3c18a;border-bottom:2px solid #d0a86b}.map-options [role=tabpanel]{font-size:.9rem}.map-options .atlas-controls{display:block}.map-options label{margin:.8rem 0;font-size:.85rem}.map-options select,.map-options input:not([type=checkbox]){font:inherit}.map-options .z-range{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.map-options .z-range label{margin:.8rem 0 0}.map-options input[type=range]{display:block;width:100%;accent-color:#c7a368}.map-options .check-label{font-size:.85rem}.map-options .tool-help{font-size:.85rem;color:#bcc0b0;line-height:1.6}.map-options #map-layers{margin:.75rem 0;display:block}.map-options #map-layers label{overflow-wrap:anywhere}.map-options .marker-form{display:block}.map-options .marker-form button{margin:.25rem .2rem .25rem 0;padding:.6rem .7rem;font-size:.8rem}.map-options #map-source{font-size:.8rem;line-height:1.6}.map-options .file-button{display:block;text-align:center;font-size:.85rem;padding:.7rem}.map-options .tool-link{display:block;margin:1rem 0}.map-options #map-example{font-size:.85rem;padding:.65rem}
.map-bottomline{display:flex;align-items:center;gap:1.25rem;font-size:.85rem;border-top:1px solid #3d443b;padding:1rem 0;margin-top:.7rem;flex-wrap:wrap}.map-bottomline>span{color:#aeb6a9;margin-right:auto}.beta-map-note{display:flex;align-items:baseline;gap:.65rem;padding:.85rem 0;color:#b6bdad;font-size:.9rem}.beta-map-note p{margin:0;line-height:1.6}.beta-map-note strong{color:#d6bc8a;font-weight:500}.beta-dot{width:7px;height:7px;border-radius:50%;background:#cfaa62;flex:none}
.mapping-main{max-width:1220px}.back-to-atlas{display:inline-block;margin-bottom:1rem;font-size:.9rem}.guide-index{display:flex;gap:1.3rem;flex-wrap:wrap;border-bottom:1px solid #5b5846;padding:.5rem 0 1.2rem;margin-bottom:2rem;font-size:.9rem}.mapping-section{margin:2.4rem 0;padding-bottom:1.6rem;border-bottom:1px solid #3d443b;scroll-margin-top:1rem}.mapping-section h2{font-size:1.6rem;color:#e5c899}.mapping-section p{max-width:84ch;line-height:1.75;color:#c9cbbd}.mapping-section .guide-source{font-size:.85rem;color:#aeb7a8;line-height:1.65}.beta-guide-hero{display:grid;grid-template-columns:290px 1fr;align-items:center;gap:1.7rem}.beta-guide-hero img{width:100%;height:auto;display:block;border-radius:4px}.beta-guide-hero h2{margin:.4rem 0}.survey-steps{padding-left:1.5rem;margin:1.8rem 0}.survey-steps li{padding-left:.5rem;margin:1.25rem 0;line-height:1.7;color:#c9cbbd;max-width:85ch}.survey-steps strong{color:#eddbba}.survey-form{max-width:820px;margin:1.3rem 0}.survey-form label{display:block;font-size:.9rem;margin:1.1rem 0}.survey-form input,.survey-form textarea{display:block;width:100%;margin-top:.45rem;background:#1d2527;border:1px solid #68705d;border-radius:3px;padding:.75rem;color:#ecdfc4;font:inherit}.survey-form input{max-width:360px}.survey-form textarea{font:14px/1.6 Consolas,monospace}.survey-form #survey-status{font-size:.85rem}.survey-form pre,.map-format{padding:1rem;background:#11191b;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 Consolas,monospace;color:#dbccb0;max-height:300px;overflow:auto}.mapping-main .paper-note{margin:1rem 0}.mapping-main .owner-upload{background:none;border:0;border-top:1px solid #665538;padding:1.5rem 0;color:#e6dabf}.mapping-main .owner-upload h2{color:#e5c899}.mapping-main .owner-upload p{color:#bcc4b4}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.map-topline{gap:.7rem}.map-toolbar button{padding:.68rem .6rem}.map-stage.tools-open{grid-template-columns:minmax(0,1fr) 250px}.map-caption{display:block}.map-caption #map-status{max-width:none;text-align:left;margin-top:.25rem}.map-page-heading>a{white-space:normal}.beta-guide-hero{grid-template-columns:220px 1fr}}
@media(max-width:760px){.maps-main .map-page-heading{display:block}.map-page-heading>a{display:inline-block;margin-top:.8rem}.map-topline{flex-wrap:wrap}.zone-finder{flex:1 1 100%;max-width:none}.map-toolbar{margin:0}.map-stage.tools-open{grid-template-columns:minmax(0,1fr)}.map-options{border-left:0;border-top:1px solid #4f5648;padding:1rem 0 0}.map-bottomline{gap:.75rem 1rem}.map-bottomline>span{flex:1 1 100%}.zone-option small{display:none}.beta-guide-hero{grid-template-columns:1fr}.beta-guide-hero img{max-width:420px}.guide-index{gap:.75rem 1rem}.map-tabs{max-width:500px}.map-options [role=tabpanel]{max-width:500px}}

/* Two reading views share a compact search strip and an expansion rail. */
.maps-main .map-page-heading{margin-bottom:1.15rem}.map-navigation{display:flex;align-items:end;gap:1.3rem;border-bottom:1px solid #625640;margin-bottom:1.35rem;padding-bottom:.85rem}.map-view-tabs{display:flex;align-items:center;gap:1rem;flex:none}.map-view-tabs button{border:0;border-radius:0;padding:.6rem 0;background:transparent;color:#aeb8ad;font-weight:500;white-space:nowrap;border-bottom:2px solid transparent}.map-view-tabs button:hover{color:#f2d49f}.map-view-tabs button[aria-selected=true]{border-bottom-color:#d0a86b;color:#efcf96}.map-navigation .map-topline{flex:1;min-width:0;gap:.65rem;margin:0;align-items:end}.map-navigation .zone-finder{max-width:none}.map-navigation .zone-finder>label{display:block;margin:0 0 .25rem;font-size:.75rem;letter-spacing:.025em;color:#aeb8ad}.map-navigation .zone-finder input{padding:.55rem .7rem;font-size:.9rem}.map-navigation .map-toolbar button{padding:.55rem .6rem;font-size:.8rem}.map-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:1.65rem;align-items:start}.map-view-area,.map-view-panel{min-width:0}.map-view-panel:focus{outline:none}.map-view-panel:focus-visible{outline:2px solid #cbb4f5;outline-offset:5px}.map-layout .map-caption{margin:0 0 .65rem}.map-layout .map-caption h2{font-size:1.35rem}.map-layout .map-caption #map-status{max-width:60%}.map-layout .map-stage.tools-open{grid-template-columns:minmax(0,1fr) 245px;gap:.8rem}.map-layout .atlas canvas{display:block;width:100%;height:auto;aspect-ratio:7/4}.map-layout .map-options{padding-left:.8rem}.map-layout .atlas-readout span:last-child{text-align:right}.map-bottomline{font-size:.8rem}.map-layout[data-view=world]+.map-bottomline{margin-top:1.3rem}.beta-map-note{font-size:.825rem;max-width:95ch}
@media(max-width:1350px){.map-navigation{gap:1rem}.map-view-tabs{gap:.85rem}.map-navigation .map-topline{flex-wrap:wrap}.map-navigation .map-toolbar{flex:1 1 100%;justify-content:flex-end}.map-navigation .zone-finder{flex:1 1 100%}.map-layout{grid-template-columns:215px minmax(0,1fr);gap:1.15rem}.map-layout .map-caption{display:block}.map-layout .map-caption #map-status{max-width:none;text-align:left;margin-top:.2rem}.map-layout .map-stage.tools-open{grid-template-columns:minmax(0,1fr)}.map-layout .map-options{border-left:0;border-top:1px solid #4f5648;padding:1rem 0 0}.map-layout .map-options .atlas-controls{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.map-layout .map-options [role=tabpanel]{max-width:none}.map-layout .map-options .map-tabs{max-width:500px}}
@media(max-width:1050px){.map-layout{grid-template-columns:190px minmax(0,1fr);gap:1rem}.map-navigation{align-items:center}.map-view-tabs{gap:.75rem}.map-navigation .zone-finder input{font-size:.85rem}.map-navigation .map-toolbar{justify-content:flex-start}.map-navigation .map-toolbar button{font-size:.75rem}.map-layout .atlas-readout span:last-child{display:none}}
@media(max-width:760px){.map-navigation{flex-wrap:wrap;gap:.55rem;padding-bottom:.9rem;margin-bottom:1rem}.map-view-tabs{gap:1.3rem;flex:1 1 100%}.map-view-tabs button{font-size:1rem;padding:.45rem 0}.map-navigation .map-topline{flex:1 1 100%}.map-navigation .zone-finder{flex:1 1 100%;max-width:none}.map-navigation .zone-finder input{font-size:1rem;padding:.6rem .7rem}.map-navigation .map-toolbar{flex:1 1 100%;justify-content:flex-start;margin-top:.2rem}.map-navigation .map-toolbar button{font-size:.8rem}.map-layout{display:flex;flex-direction:column;gap:1.2rem}.map-view-area{width:100%}.map-layout .map-options .atlas-controls{display:block}.map-layout .atlas-readout span:last-child{display:inline;text-align:left}.map-layout .map-caption h2{font-size:1.25rem}.beta-map-note{align-items:start}.beta-dot{margin-top:.65rem}}
