/* Loaded after map-mobile: a compact region-first control, not another full panel. */
.region-drill-bar{position:absolute;top:6px;left:60px;right:12px;z-index:640;max-width:620px;margin-inline:auto;background:#fffffff5;border:1px solid #c3cec7;border-radius:9px;padding:6px 10px;box-shadow:0 2px 9px #0002;color:#173c37}
.region-drill-row{display:flex;align-items:end;gap:8px}.region-drill-row label{flex:1;font-size:11px;line-height:1.3}.region-drill-row select{margin:3px 0 0;min-height:44px;font-size:14px}.region-drill-row button{min-height:44px;border:1px solid #bdc9bf;border-radius:6px;background:#f3f6f0;padding:6px 10px;font-size:12px;white-space:nowrap}.region-drill-bar>p{font-size:11px;line-height:1.5;margin:4px 0 0}.region-drill-help{border:0;padding:0;margin:2px 0 0}.region-drill-help>summary{font-size:10px;min-height:44px;cursor:pointer}.region-drill-help>p{font-size:11px;line-height:1.7;max-height:110px;overflow:auto;margin:4px 0}.region-drill-label{font:600 12px/1.3 Tahoma,Arial;background:#fffef1e8;border:1px solid #d4c6a6;color:#173c37;box-shadow:none;padding:3px 5px;white-space:nowrap}
.atlas-restored.region-drill-active .map-floating-tools{top:100px}.atlas-restored.region-drill-active .map-notice{display:none}
@media(max-width:799px){.region-drill-bar{top:4px;left:6px;right:6px;padding:4px 7px}.region-drill-row label{font-size:10px}.region-drill-row select{font-size:16px;min-height:44px}.region-drill-row button{min-height:44px}.region-drill-bar>p{font-size:10px}.region-drill-help>summary{min-height:44px}.region-drill-label{font-size:10px;padding:2px 4px}.atlas-restored.mobile-map-ready .mobile-map-expand{top:100px;max-width:130px}.atlas-restored.mobile-map-ready .leaflet-top{top:96px}.atlas-restored.mobile-map-ready .map-launch-card{top:60%;max-height:40%;overflow:auto}.atlas-restored.mobile-map-ready .region-drill-bar{z-index:640}}

/* The initial local atlas must not be blocked by an imagery launch overlay. */
.atlas-restored .map-launch-card.inline-basemap-launch{position:static;inset:auto;transform:none;width:100%;max-width:none;max-height:none;margin:8px 0;padding:10px;background:#f5f8f2;box-shadow:none;border:1px solid #d3ded3;border-radius:6px;text-align:start}
.atlas-restored .inline-basemap-launch .launch-compass,.atlas-restored .inline-basemap-launch h3,.atlas-restored .inline-basemap-launch>p{display:none}
.atlas-restored .inline-basemap-launch small{display:block;font-size:11px;line-height:1.6}.atlas-restored .inline-basemap-launch button{min-height:44px;width:100%}
/* v25: always-visible background choice, alongside—not inside—data menus. */
.region-drill-row label{min-width:0}.region-drill-row select{width:100%;min-width:0}.region-drill-row .direct-basemap-choice{flex:.85}
#direct-basemap-notice{font-size:10px;line-height:1.35;color:#455a57;margin:3px 0 0}
.atlas-restored.region-drill-active .map-floating-tools{top:130px}
@media(max-width:799px){.region-drill-row{gap:4px}.region-drill-row button{font-size:10px;padding:4px}.region-drill-row select{padding:4px;font-size:16px}.atlas-restored.mobile-map-ready .mobile-map-expand{top:140px}.atlas-restored.mobile-map-ready .leaflet-top{top:136px}#direct-basemap-notice{font-size:10px}}
/* v26, based on iOS feedback: physical sides avoid RTL expand/zoom collision. */
.region-drill-label{background:#fffdf1f2;text-shadow:0 1px 0 #fff;border-color:#c7b98f}
.atlas-restored.region-drill-active .map-floating-tools{top:var(--region-control-bottom,140px)}
@media(max-width:799px){
 .atlas-restored.mobile-map-ready .mobile-map-expand{inset-inline:auto;left:auto;right:8px;top:var(--region-control-bottom,140px);max-width:130px;min-height:44px}
 .atlas-restored.mobile-map-ready .leaflet-top{top:var(--region-control-bottom,140px)}
 .atlas-restored.mobile-map-ready .leaflet-top.leaflet-left{left:0;right:auto}
 .atlas-restored.mobile-map-ready .region-drill-label{font-size:11px;line-height:1.3;padding:2px 4px}
}
@media(max-width:799px) and (max-height:500px){
 .atlas-restored.mobile-map-ready .leaflet-control-zoom{display:flex}
 .atlas-restored.mobile-map-ready .leaflet-control-zoom a{display:block;flex:none;border-bottom:0}
 .atlas-restored.mobile-map-ready .leaflet-control-zoom a+a{border-inline-start:1px solid #ccc}
}

/* Explicit line metrics keep region labels compact regardless of inherited page leading. */
.leaflet-tooltip.region-drill-label,.leaflet-tooltip.region-drill-label>span{line-height:1.3}
.unified-commodity-row[hidden]{display:none!important}.unified-commodity-row{display:flex;gap:8px;align-items:end;margin-top:5px;border-top:1px solid #d6dfd7;padding-top:4px}.unified-commodity-row label{flex:1;min-width:0;font-size:11px}.unified-commodity-row select{width:100%;min-height:44px;font-size:16px;margin:2px 0 0}.unified-commodity-row button{min-height:44px;border:1px solid #bdc9bf;border-radius:6px;background:#f3f6f0;padding:5px 10px;font-size:12px}.commodity-filter-help{font-size:12px;line-height:1.6}
.commodity-empty-state{font-size:11px;line-height:1.35;margin:3px 0;color:#664b21}.commodity-empty-state[hidden]{display:none!important}
/* v38 — anchored, restrained cartographic region names; green never means availability. */
.atlas-restored.atlas-workbench .leaflet-tooltip.region-drill-label{font:600 12px/1.5 Tahoma,Arial,sans-serif;color:#14513f;background:#f8fff7ed;border:1px solid #b5d5bf;border-radius:7px;padding:3px 8px;box-shadow:0 1px 4px #123d3812;text-shadow:none;white-space:nowrap;pointer-events:none}
.atlas-restored.atlas-workbench .leaflet-tooltip.region-drill-label-selected{font-size:14px;font-weight:700;color:#fff;background:#145b46f2;border-color:#0f4938;padding:6px 12px;box-shadow:0 2px 8px #123d3825}
@media(max-width:799px){.atlas-restored.atlas-workbench .leaflet-tooltip.region-drill-label{font-size:11px;padding:2px 6px}.atlas-restored.atlas-workbench .leaflet-tooltip.region-drill-label-selected{font-size:13px;padding:5px 10px}}
