/* HartaMediu 2.19-r19 */
.hm1534-controls { display: grid; grid-template-columns: minmax(0,1fr) !important; align-items: start; gap: 9px; }
.hm1534-controls > .hm1534-card,
.hm1534-controls > .hm1534-layer-card[open] { grid-column: 1 / -1 !important; width: 100%; margin: 0; }
.hm1534-controls .hm1534-card-head { min-height: 60px; padding: 12px 16px; }
.hm1534-controls > .hm1534-card:not(.hm1534-layer-card) > .hm1534-card-body { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 16px; padding: 16px; }
.hm1534-controls .hm1534-card:not([open]) > .hm1534-card-body { display: none !important; }
.hm1534-controls .hm1534-card-body > label { margin: 0; min-width: 0; }
.hm1534-controls .hm1534-help { grid-column: 1 / -1; margin: 0; }
.hm1534-controls .hm1534-two-cols { grid-column: span 2; margin: 0; gap: 16px; }
.hm1534-controls .hm1534-two-cols > label { margin: 0; }
.hm1534-controls .hm1534-layer-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 22px; }
.hm1534-controls .hm1534-layer-groups fieldset { min-width: 0; }
.hm1534-layer-explanation { border-top: 1px solid #dae6e1; margin: 12px 0 0; padding-top: 12px; line-height: 1.5; color: #526a63; font-size: 13px; }
.hm1534-layer-explanation p { margin: 5px 0; }
body .hm1511-quick-actions a.hm1534-quick-map { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border: 1px solid #0d5145; border-radius: 12px; background: #0d5145; color: #fff; font: inherit; font-weight: 700 !important; line-height: 1.2; text-decoration: none; }
body .hm1511-quick-actions a.hm1534-quick-map:hover { background: #083e34; color: #fff; }
a.hm1534-quick-map:focus-visible { outline: 3px solid #76a89b; outline-offset: 3px; }
.hm1543-popup-locality { margin: 12px 0 3px; padding: 11px 0 0; border-top: 1px solid #d5e2de; }
.hm1543-popup-locality a { display: block; text-align: center; border-radius: 8px; background: #0d5145; color: white !important; padding: 10px 12px; font-weight: 700; text-decoration: none; }
.hm1543-popup-locality small { display: block; margin-top: 5px; line-height: 1.4; color: #526a63; }
.hm1543-word-export { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 14px; border: 1px solid #176b5a; border-radius: 9px; color: #0d5145; background: #fff; font-weight: 650; text-decoration: none; }
.hm1543-word-export:hover { background: #edf5f2; }
.site-header [data-toggle-layers] { display: none !important; }
@media (max-width: 800px) {
  .hm1534-controls > .hm1534-card:not(.hm1534-layer-card) > .hm1534-card-body { grid-template-columns: minmax(0,1fr); }
  .hm1534-controls .hm1534-two-cols { grid-column: 1; }
  .hm1534-controls .hm1534-layer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .hm1534-controls .hm1534-layer-groups { grid-template-columns: minmax(0,1fr); }
  .hm1534-controls .hm1534-two-cols { grid-template-columns: minmax(0,1fr); }
}
