.map-contents{position:absolute;z-index:620;inset-inline-end:14px;top:65px;width:235px;max-height:calc(100% - 135px);overflow:auto;background:white;color:#203d37;border:1px solid #d7e3dd;border-radius:12px;box-shadow:0 5px 22px #163f3520;font-size:13px}.map-contents>summary{padding:12px 14px;font-weight:750;cursor:pointer;background:#f2f7f4}.map-contents-body{padding:0 12px 12px}.map-contents-group{border-bottom:1px solid #e6ede8;padding:8px 0}.map-contents-group>label{display:flex;align-items:center;gap:9px;font-weight:650;cursor:pointer;min-height:30px}.map-contents input[type=checkbox]{width:18px;height:18px;accent-color:#17684e}.map-contents details>summary{padding:6px 0;font-size:12px;cursor:pointer;color:#4c645b}.map-contents p{font-size:12px;line-height:1.65;margin:5px 0}.map-contents-actions{display:flex;gap:7px;margin-top:10px}.map-contents button{min-height:38px;border:1px solid #bed2c6;border-radius:7px;background:#f6f9f7;color:#174f3b;padding:6px 10px;cursor:pointer}.map-contents-actions button{flex:1}.map-search-finish{width:100%;margin-top:8px}.contents-warning{border-inline-start:3px solid #b67e24;padding-inline-start:8px}.map-contents .direct-basemap-choice{position:static;display:flex;flex-wrap:wrap;box-shadow:none;margin:0;padding:0;max-width:100%}.map-contents ul{padding:0;list-style:none;max-height:160px;overflow:auto}.map-contents li{display:flex;gap:7px;padding:3px}.contents-swatch{width:14px;height:14px;display:inline-block;border:2px solid;flex-shrink:0}.map-contents-active .workbench-legend-toggle,.map-contents-active .registry-comparison-legend,.map-contents-active .candidate-colour-legend{display:none!important}.map-contents-active .workbench-intro{display:none}.map-contents-active .workbench-rail{max-width:350px}.map-contents-active .national-study-scope-note{font-size:12px;line-height:1.6}.map-contents-active .workbench-tabs{flex-wrap:wrap}.map-contents button:focus-visible,.map-contents summary:focus-visible{outline:3px solid #73a88c;outline-offset:2px}
@media(max-width:799px){.map-contents{top:10px;inset-inline-end:10px;width:205px;max-height:45%;font-size:12px}.map-contents>summary{padding:9px 12px}.map-contents-body{padding:0 10px 10px}.map-contents-group{padding:4px 0}.map-contents-active.workbench-open .map-contents{max-height:25%}.map-contents-active .workbench-rail{max-width:none}}
/* Compact contents and an on-demand detail drawer. */
.atlas-workbench.map-contents-active .explorer-workspace{grid-template-columns:minmax(0,1fr)}
.atlas-workbench.map-contents-active .explorer-stage{grid-column:1}
.atlas-workbench.map-contents-active .workbench-rail{position:absolute;inset-inline-start:0;top:0;bottom:0;width:320px;max-width:calc(100% - 32px);display:none;z-index:800;box-shadow:0 5px 24px #123d3820}
.atlas-workbench.map-contents-active.workbench-open .workbench-rail{display:flex}
.atlas-workbench.map-contents-active .workbench-close{display:block;font-size:13px;border-radius:8px;min-width:42px}
.atlas-workbench.map-contents-active .workbench-head{padding:10px 12px}
.atlas-workbench.map-contents-active .workbench-head strong{font-size:15px}
.atlas-workbench.map-contents-active .workbench-head>span{display:none}
.atlas-workbench.map-contents-active .workbench-content{padding:12px}
.atlas-workbench.map-contents-active .workbench-tabs{padding:0 8px 6px;grid-template-columns:repeat(5,minmax(0,1fr))}
.atlas-workbench.map-contents-active .workbench-tabs button{font-size:11px;min-height:38px}
.atlas-workbench .map-contents details{position:static;margin:0;padding:0;border:0;background:none;box-shadow:none;border-radius:0;min-height:0}
.atlas-workbench .map-contents-group{margin:0;padding:5px 0}
.atlas-workbench .map-contents-group>label{margin:0;padding:0;min-height:28px;font-size:13px;line-height:1.4}
.atlas-workbench .map-contents details>summary{margin:0;padding:3px 0;font-size:11px;line-height:1.4;min-height:24px;background:none}
.atlas-workbench .map-contents>summary{padding:10px 12px;font-size:13px;min-height:40px;background:#f2f7f4}
.atlas-workbench .map-contents .direct-basemap-choice{display:block;font-size:12px}
.atlas-workbench .map-contents .direct-basemap-choice select{width:100%;min-height:34px}
.atlas-workbench .map-contents{max-height:calc(100% - 125px);top:55px}
.atlas-workbench .map-contents .contents-warning{margin-top:8px;font-size:11px}
.atlas-workbench .national-study-filters .national-study-scope-note{display:none}
.atlas-workbench .study-guidance .national-study-scope-note{display:block}
@media(max-width:799px){.atlas-workbench.map-contents-active .workbench-rail{top:auto;bottom:var(--wb-dock);width:100%;max-width:none;height:55dvh;max-height:55%;border-radius:16px 16px 0 0}.atlas-workbench .map-contents{top:10px;width:205px;max-height:calc(100% - 90px)}.atlas-workbench.map-contents-active.workbench-open .map-contents{max-height:calc(45% - 20px)}.atlas-workbench .map-contents .map-contents-actions button{min-height:40px}}
.atlas-workbench .explorer-stage>.map-search-finish{position:absolute;inset-inline-end:14px;bottom:65px;z-index:850;width:auto;max-width:calc(100% - 28px);min-height:42px;background:#176458;color:#fff;border:1px solid #fff;border-radius:9px;padding:8px 14px;box-shadow:0 3px 15px #123d3830;font-size:13px;cursor:pointer}
.atlas-workbench .explorer-stage>.map-search-finish[hidden]{display:none}
@media(max-width:799px){.atlas-workbench .explorer-stage>.map-search-finish{bottom:18px;inset-inline-end:10px;font-size:12px}.atlas-workbench .map-contents:not([open]){width:190px}}
/* v55: mobile contents are a compact tool, never a full-height map cover. */
.atlas-workbench .map-contents{top:62px;padding:0;margin:0;box-sizing:border-box}
.map-contents-close-label{display:none}
.map-contents[open]>.contents-warning{margin:0;padding:7px 10px;background:#fffaf0;border-top:1px solid #e6dfce;font-size:11px;line-height:1.45}
.atlas-workbench .map-contents>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;cursor:pointer}
.atlas-workbench .map-contents>summary::-webkit-details-marker{display:none}
.atlas-workbench .map-contents>summary::after{content:'▾';font-size:13px}
.atlas-workbench .map-contents[open]>summary::after{display:none}
.atlas-workbench .map-contents[open] .map-contents-close-label{display:inline-block;flex:none;font-size:11px;font-weight:600;color:#27634f}
.atlas-workbench .map-contents-notes section{border-top:1px solid #e3eae5;padding:8px 0}
.atlas-workbench .map-contents-notes strong{font-size:12px}
@media(max-width:799px){
 .atlas-workbench .map-contents,.atlas-workbench .map-contents:not([open]){top:62px;inset-inline-end:auto;left:auto;right:10px;width:174px;max-width:calc(100% - 112px);max-height:none;overflow:visible;border-radius:10px}
 .atlas-workbench .map-contents>summary{min-height:44px;height:44px;padding:8px 10px;font-size:12px;line-height:1.35;box-sizing:border-box;border-radius:10px}
 .atlas-workbench .map-contents[open],.atlas-workbench.map-contents-active.workbench-open .map-contents[open]{width:min(320px,calc(100% - 80px));max-width:none;height:min(260px,45%);max-height:min(260px,45%);overflow:hidden}
 .atlas-workbench .map-contents[open]>summary{border-radius:10px 10px 0 0;border-bottom:1px solid #dce7df}
 .atlas-workbench .map-contents-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:4px;padding:4px 8px;box-sizing:border-box;position:absolute;inset:44px 0 38px;height:auto;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .atlas-workbench .map-contents-group{padding:0;margin:0;border:0;min-width:0}
 .atlas-workbench .map-contents-group>label{min-height:44px;padding:5px 7px;gap:7px;font-size:12px;border:1px solid #dce7df;border-radius:8px;background:#f7faf7;box-sizing:border-box}
 .atlas-workbench .map-contents input[type=checkbox]{width:19px;height:19px;flex:none;margin:0}
 .atlas-workbench .map-contents .map-contents-extra{min-height:44px}
 .atlas-workbench .map-contents .map-contents-extra>summary{min-height:44px;padding:7px 3px;font-size:11px;line-height:1.5;box-sizing:border-box}
 .atlas-workbench .map-contents-extra[open]{grid-column:1/-1}
 .atlas-workbench .map-contents-actions{grid-column:1/-1;margin:0;gap:5px}
 .atlas-workbench .map-contents .map-contents-actions button{min-height:44px;padding:6px;font-size:12px}
 .atlas-workbench .map-contents[open]>.contents-warning{position:absolute;inset:auto 0 0;height:38px;min-height:38px;box-sizing:border-box;padding:5px 9px;margin:0;font-size:10px;line-height:1.35;overflow:auto}
 .atlas-workbench .map-contents .direct-basemap-choice select{min-height:44px;font-size:16px}
 .atlas-workbench .map-contents #direct-basemap-notice{font-size:11px;line-height:1.55}
}
@media(max-width:799px) and (max-height:500px){
 .atlas-workbench .map-contents[open],.atlas-workbench.map-contents-active.workbench-open .map-contents[open]{width:min(400px,calc(100% - 120px));height:min(160px,60%);max-height:min(160px,60%)}
 .atlas-workbench .map-contents-body{grid-template-columns:repeat(4,minmax(0,1fr));bottom:30px}
 .atlas-workbench .map-contents-extra{grid-column:span 2}
 .atlas-workbench .map-contents[open]>.contents-warning{height:30px;min-height:30px}
}
/* Named reserve boundaries: community snapshot, visually distinct from licence outlines. */
.protected-reserve-boundary{pointer-events:stroke!important}
.protected-reserve-label{border:1px solid #ac4781;background:#fff5fc;color:#73204e;border-radius:5px;box-shadow:0 1px 5px #25122235;padding:3px 7px;max-width:185px;white-space:normal;text-align:center;font:700 12px/1.45 Arial,sans-serif;cursor:pointer;pointer-events:auto}
.protected-reserve-label::before{display:none}
.protected-reserve-popup{line-height:1.7;font-size:13px;color:#253c35}
.protected-reserve-popup h3{color:#832054}
.protected-reserve-popup a{color:#7c2154;text-decoration:underline}
.map-contents .protected-reserves-panel label{display:block;font-size:12px}
.map-contents .protected-reserves-panel select{display:block;width:100%;max-width:100%;min-height:44px;margin:5px 0;font-size:14px;border:1px solid #c9b2c2;border-radius:6px;background:white;color:#592244}
.map-contents .protected-reserves-panel a{color:#842657;font-size:11px;text-decoration:underline}
.map-contents .protected-reserves-panel p{font-size:11px;line-height:1.6}
.map-contents .map-contents-group:has([data-map-layer=protected]) span{color:#842657}
@media(max-width:799px){.map-contents .protected-reserves-panel select{font-size:16px}.protected-reserve-label{font-size:11px;max-width:145px}.atlas-workbench .protected-reserves-panel:not([open]){grid-column:auto}.atlas-workbench .protected-reserves-panel[open]{grid-column:1/-1}}
.atlas-workbench .leaflet-tooltip.protected-reserve-label{left:0;right:auto;width:max-content;max-width:185px}
@media(max-width:799px){.atlas-workbench .leaflet-tooltip.protected-reserve-label{max-width:145px}}

/* The complete dated complex catalogue is independent of map/commodity filters. */
.map-contents .mining-complexes-panel label{display:block;font-size:12px;margin:5px 0}
.map-contents .mining-complexes-panel input,.map-contents .mining-complexes-panel select{display:block;width:100%;max-width:100%;min-height:44px;font-size:14px;border:1px solid #aac6c8;border-radius:6px;background:white;color:#173f44;padding:6px}
.map-contents .mining-complexes-panel p,.map-contents .mining-complexes-panel a{font-size:11px;line-height:1.65}
.map-contents .mining-complexes-panel a{color:#006b75;text-decoration:underline}
.mining-complex-detail{background:#eff8f8;border:1px solid #c5dada;border-radius:6px;padding:8px;overflow-wrap:anywhere;font-size:12px}
.mining-complex-detail h3{font-size:13px;margin:0 0 7px}.mining-complex-detail dl{margin:0}.mining-complex-detail dt{font-weight:700}.mining-complex-detail dd{margin:0 0 7px}
@media(max-width:799px){.map-contents .mining-complexes-panel input,.map-contents .mining-complexes-panel select{font-size:16px}.atlas-workbench .mining-complexes-panel:not([open]){grid-column:auto}.atlas-workbench .mining-complexes-panel[open]{grid-column:1/-1}}

/* v61: same checkbox-row style as the other Contents items; catalogue content is not a spatial layer. */
.atlas-workbench .map-contents-catalogue-row>label>span{min-width:0}
.atlas-workbench .map-contents-catalogue-row small{display:block;font-size:10px;font-weight:400;line-height:1.25;color:#536c5f}
.atlas-workbench .map-contents .mining-complexes-panel[hidden]{display:none!important}
.atlas-workbench .map-contents .mining-complexes-panel[data-controlled-catalogue]{grid-column:1/-1;min-width:0}

.complex-approx-marker{display:grid;place-items:center;background:#fff7df;color:#8c4800;border:2px dashed #9a5500;border-radius:50%;box-shadow:0 1px 4px #0008;font:bold 23px/1 system-ui;direction:ltr}.complex-approx-label{font-size:13px;max-width:250px;white-space:normal;text-align:center;color:#513000;border-color:#bc8c45}.complex-location-popup{max-height:min(390px,55vh);overflow:auto;font-size:13px;line-height:1.65}.complex-location-popup h3{font-size:15px;line-height:1.5}.complex-locations-panel p{font-size:12px;line-height:1.6}.complex-locations-panel select{width:100%;min-height:44px;max-width:100%;font:inherit}.complex-locations-panel label{display:block;font-size:12px}
