/* Map workspace controls */
.hm22-free-editor{border-top:1px solid #d5e4df;margin-top:18px;padding-top:16px}
.hm22-free-editor h3{font-size:16px;margin:0 0 12px;color:#123f36}
.hm22-free-editor input,.hm22-free-editor textarea,.hm22-locality-search input{box-sizing:border-box;width:100%;min-height:42px;border:1px solid #bed5cc;border-radius:8px;padding:9px 11px;font:inherit;background:#fff;color:#183c33}
.hm22-free-editor [hidden]{display:none!important}
.hm22-free-editor label,.hm22-save-project label{display:grid;gap:6px;margin:10px 0;font-size:13px}
.hm22-free-editor small,.hm22-locality-search small{display:block;color:#557068;font-size:12px;line-height:1.5;margin:8px 0}
.hm22-locality-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;border-top:1px solid #d5e4df;padding-top:12px;margin-top:10px}
.hm22-locality-search label{margin:0!important;min-width:0}.hm22-locality-search small,.hm22-search-results{grid-column:1/-1}
.hm22-search-results:empty{display:none}.hm22-search-results button{display:block;text-align:left;width:100%;padding:10px;border:1px solid #cddfd8;background:#f5faf8;color:#164b3d;border-radius:7px;margin:4px 0;font:inherit}
.hm22-search-results button:hover{background:#e4f2eb}.hm22-points-list{max-height:200px;overflow:auto;margin:8px 0}
.hm22-points-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;font-size:13px}
.hm22-points-head button,.hm22-point-row button{border:1px solid #d3ded8;border-radius:6px;background:#fff;color:#245b4b;padding:5px 8px;cursor:pointer;font:inherit}
.hm22-point-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 2px;border-bottom:1px solid #e3eae7;font-size:12px}
.hm22-point-row strong{display:block}.hm22-point-row span{overflow-wrap:anywhere;color:#56746a}
.hm22-save-project{border:1px solid #b9d7ca;background:#f4faf7;border-radius:9px;padding:12px;margin-top:14px}
.hm22-save-project summary{cursor:pointer;font-size:14px;font-weight:650}.hm22-save-project button{margin-top:10px;width:100%}
.hm22-glossary{border-top:1px solid #d4e3db;margin-top:18px;padding-top:12px}.hm22-glossary summary{font-weight:600;cursor:pointer;color:#164b3d}.hm22-glossary dl{font-size:13px;line-height:1.55;margin:10px 0}.hm22-glossary dt{font-weight:600;margin:12px 0 3px}.hm22-glossary dd{margin:0;color:#48695e}.hm22-glossary p{font-size:12px}
.hm1534-layer-actions{flex-wrap:wrap}.hm1534-layer-actions button{min-height:34px}
.hm1534-distance-legend{max-height:64%;max-width:min(440px,80%);overflow:auto}
.hm1534-distance-legend li{grid-template-columns:27px minmax(0,1fr) auto!important}
.hm22-legend-number,.hm22-number-icon span{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:2px solid var(--hm22-color,#176b5a);border-radius:50%;font:700 12px Arial,sans-serif;color:#142e25;min-width:23px;height:23px;box-sizing:border-box;box-shadow:0 1px 3px #0003}
.hm22-number-icon{background:transparent!important;border:0!important;pointer-events:none}
.hm1534-result-table-wrap td:first-child.hm22-number-cell{width:32px;font-weight:700;font-variant-numeric:tabular-nums}
.hm1534-map-toolbar{gap:12px;flex-wrap:wrap}.hm1534-map-toolbar>button{flex:0 0 auto}
[data-hm22-fit-distances]:disabled{opacity:.45;cursor:not-allowed}
/* All layer rows retain the same controls, including locked rows. */
.hm21-layer-row,.hm21-layer-body [data-hm21-native]{position:relative;padding-right:50px!important}
.hm22-layer-color{position:absolute;right:8px;top:12px;width:30px!important;height:30px!important;padding:2px!important;border:1px solid #b5cfc4!important;border-radius:7px;background:#fff;cursor:pointer}
.hm22-layer-color:disabled{opacity:.42;cursor:not-allowed}
.hm21-layer-premium input:disabled{cursor:not-allowed}.hm21-layer-status,.hm21-native-note{font-size:12px;line-height:1.4}
.hm22-public-selection #results-content>:not(.coordinates-result):not(#hm22-active-results):not(#export-actions){display:none!important}
#hm22-active-results{display:grid;gap:12px}.hm22-public-result{padding:16px;border:1px solid #d6e5df;background:#fff;border-radius:12px}
.hm22-public-result h3{font-size:15px;margin:0 0 8px}.hm22-public-result p{margin:6px 0;font-size:13px;line-height:1.5}.hm22-public-result ol{margin:0;padding-left:20px}.hm22-public-result li{padding:7px 0;font-size:13px}.hm22-public-result li small{display:block;color:#557568}.hm22-public-result .hm22-result-source{font-size:11px;color:#657e75;border-top:1px solid #e2ebe7;padding-top:8px}
@media(max-width:680px){.hm22-locality-search{grid-template-columns:1fr auto}.hm1534-distance-legend{max-width:78%;max-height:44%;font-size:11px}.hm1534-distance-legend li{gap:5px!important}.hm22-point-row{grid-template-columns:minmax(0,1fr) auto}.hm1534-map-toolbar button{min-height:38px}.hm22-free-editor .hm1534-two-cols{grid-template-columns:1fr 1fr}}

.hm1534-collapsible .hm22-amplasament-body{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px}
.hm22-amplasament-body>label{align-self:start;min-width:0}
.hm22-amplasament-body>.hm22-free-editor,.hm22-amplasament-body>.hm22-locality-search,.hm22-amplasament-body>.hm1534-help{grid-column:1/-1}
.hm22-free-editor{min-width:0}.hm22-free-editor .hm22-point-row>button:first-child{text-align:left}
@media(max-width:680px){.hm1534-collapsible .hm22-amplasament-body{grid-template-columns:1fr}.hm22-point-row{min-width:0}}
