/* V31: compact floating controls, no extra banner or lost map height. */
.map-column{position:relative}
.v31-map-controls{position:absolute;z-index:16;top:14px;left:14px;right:auto;
 display:flex;align-items:flex-start;gap:8px;max-width:calc(100% - 105px);
 padding:0;border:0;background:none;pointer-events:none}
.v31-map-controls>*{pointer-events:auto}
.v31-map-controls #fit-uk{position:static!important;margin:0!important;min-height:43px;
 border:1px solid #d6e2db;border-radius:9px;background:#ffffffee;box-shadow:0 2px 8px #1b38221c;
 font-size:13px;color:#265d4d;padding:10px 12px}
.v31-map-controls .v28-insight-tools{position:static!important;display:flex;align-items:flex-start;
 flex-wrap:nowrap;gap:8px;max-width:none!important;left:auto!important;right:auto!important;
 top:auto!important;margin:0!important}
.v31-map-controls .v28-insight-tools>button{min-height:43px;white-space:nowrap;padding:10px 12px;
 font-size:13px;background:#ffffffef;box-shadow:0 2px 8px #1b38221c}
.v31-map-controls .v28-insight-tools>button[aria-pressed=true]{background:#155c50;color:#fff}
.v31-map-controls #v28-compare{display:none!important}
.v31-map-controls .v28-insight-options{position:absolute;top:49px;left:115px;z-index:40;
 max-width:320px;flex-wrap:wrap}
#v31-compare{border:1px solid #d7e4dd;border-radius:8px;background:#fff;color:#176252;
 font-weight:700;min-height:37px;padding:7px 12px;white-space:nowrap;cursor:pointer}
.v31-location-type{display:grid;gap:7px;margin:1px 0 13px;padding:6px 4px 13px;
 border-bottom:1px solid #e1e8e2}
.v31-location-type label{font-size:14px;font-weight:750;color:#203f36}
.v31-location-type select{width:100%;min-height:42px;border:1px solid #cbdcd4;
 border-radius:8px;background:#fff;color:#1d3636;padding:7px 11px;font-size:14px}
.v31-location-type small{display:none!important}
#toggle-priorities{display:inline-flex;align-items:center;justify-content:center;
 min-width:62px;min-height:35px;padding:7px 9px;border:1px solid #cbded4;
 border-radius:8px;background:#f3f8f5;color:#18644e;font-size:12px;font-weight:750;
 white-space:nowrap}
#show-priorities:not([hidden]){display:inline-flex!important;align-items:center;
 justify-content:center;position:absolute;top:69px;left:14px;z-index:18;
 min-height:43px;min-width:126px;padding:9px 12px;white-space:nowrap;font-size:13px;
 border:1px solid #bbd8c8;color:#155c50;background:#fff;box-shadow:0 2px 9px #16351f25}
#show-priorities[hidden]{display:none!important}
.shetland-inset:not(.expanded){top:139px!important;right:14px!important}
/* Hide empty introduction links without padding that pushes locations down. */
.results-filters .v28-browse-guides,.v28-browse-guides{display:none!important}
@media(max-width:1050px) and (min-width:851px){
 .v31-map-controls{gap:5px;left:10px;max-width:calc(100% - 85px)}
 .v31-map-controls .v28-insight-tools{gap:5px}
 .v31-map-controls .v28-insight-tools>button,
 .v31-map-controls #fit-uk{font-size:12px;padding:9px 8px}
}
@media(max-width:850px){
 .v31-map-controls{position:absolute;top:10px;left:10px;right:10px;
  max-width:none;justify-content:space-between;align-items:flex-start;gap:8px}
 .v31-map-controls #fit-uk{min-height:43px;width:43px;max-width:43px;
  margin:0!important;font-size:18px!important;padding:8px}
 .v31-map-controls #fit-uk span{display:none!important}
 .v31-map-controls .v28-insight-tools{display:flex;flex-direction:column;
  align-items:stretch;gap:7px;max-width:148px!important;margin-left:auto!important}
 .v31-map-controls .v28-insight-tools>button{width:148px;min-height:43px;
  font-size:12px!important;padding:8px 9px}
 .v31-map-controls .v28-insight-options{top:100px;left:auto;right:0;
  max-width:175px;flex-direction:column;flex-wrap:nowrap}
 .map-column .maplibregl-ctrl-top-right{display:none!important}
 .shetland-inset:not(.expanded){top:154px!important;right:10px!important;width:90px!important;height:106px!important}
 #v31-compare{display:none!important}
 #show-priorities:not([hidden]){top:65px;left:10px;min-width:100px}
 #toggle-priorities{min-width:67px;min-height:40px}
 .v31-location-type{padding:5px 2px 10px;margin:0 0 7px}
}
