/* PIPV Harta Firme - widget styles.
   Everything is scoped under .pipv-harta so the host theme is never touched,
   and no theme rule can reach inside the widget.

   ORIGINALLY generated by tools/build_css.py from data/orig-style.css, but it has
   been hand-edited since (pin logo flood, full-width break-out). Re-running the
   generator would discard those. Edit THIS file; the generator is history now. */

.pipv-harta {
  --ink: #19302c;
  --muted: #677a76;
  --green: var(--pipv-accent, #123c35);
  --green-2: var(--pipv-accent-soft, #286858);
  --surface: #fff;
  --line: #dce7e1;
  --paper: #eef3ef;
  --shadow: 0 18px 55px rgba(25, 48, 44, .16);
  width: 100%;
  margin: 0 auto;
  color: var(--ink);
}

/* Full-width mode. The host theme puts the shortcode inside its content column
   (hello-elementor caps main.site-main at the Elementor kit's container width), which
   left the map floating in a ~14% margin on each side. The negative margins pull the
   widget back out to the viewport, leaving exactly --pipv-gutter free per side.
   `50%` resolves against the parent column, `50vw` against the viewport, so the two
   cancel whatever that column happens to be. Requires no ancestor with overflow:hidden. */
.pipv-harta.pipv-is-full {
  width: calc(100vw - var(--pipv-gutter, 5vw) * 2);
  max-width: none;
  margin-left: calc(50% - 50vw + var(--pipv-gutter, 5vw));
  margin-right: calc(50% - 50vw + var(--pipv-gutter, 5vw));
}

/* At the sidebar's stacking breakpoint (820px, see the layout media query below) the
   theme's own padding is already the whole gutter - going wider than the column just
   makes the text hug the edge. */
@media (max-width: 820px) {
  .pipv-harta.pipv-is-full {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.pipv-harta *,
.pipv-harta *::before,
.pipv-harta *::after { box-sizing: border-box; }

.pipv-harta .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pipv-harta .pipv-widget {
  width: 100%;
  height: min(var(--pipv-height, 680px), calc(100vh - 10vh));
  min-height: var(--pipv-min-height, 520px);
  position: relative;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--pipv-sidebar, 360px);
  overflow: hidden;
  border: 1px solid rgba(25, 48, 44, .12);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.pipv-harta .pipv-map-pane {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #cdd8d2;
}
.pipv-harta .pipv-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-width: 0;
  min-height: 0;
}
.pipv-harta .pipv-map-pane.is-loading::after {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  padding: 7px 11px;
  content: "Loading satellite map…";
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  color: #19302c;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 14px rgba(25, 48, 44, .14);
  font-size: 11px;
  font-weight: 750;
  transform: translateX(-50%);
}
.pipv-harta .pipv-map-pane.is-ready::after { display: none; }
.pipv-harta .pipv-map-error {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  display: none;
  max-width: 300px;
  padding: 11px 13px;
  border: 1px solid rgba(171, 102, 43, .28);
  border-radius: 10px;
  color: #70431f;
  background: rgba(255, 249, 235, .96);
  box-shadow: 0 5px 18px rgba(25, 48, 44, .18);
  font-size: 12px;
}
.pipv-harta .pipv-map-error.is-visible { display: block; }
.pipv-harta .pipv-layer-switcher {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: flex;
  padding: 4px;
  border: 1px solid rgba(25, 48, 44, .14);
  border-radius: 10px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 5px 18px rgba(25, 48, 44, .18);
}
.pipv-harta .pipv-layer-button {
  padding: 8px 11px;
  border: 0;
  border-radius: 7px;
  color: #677a76;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.pipv-harta .pipv-layer-button.is-active {
  color: #fff;
  background: var(--green);
}
.pipv-harta .leaflet-container {
  width: 100%;
  height: 100%;
  color: var(--ink);
  font: 14px/1.4 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #cdd8d2;
}
.pipv-harta .leaflet-pane,
.pipv-harta .leaflet-tile,
.pipv-harta .leaflet-marker-icon,
.pipv-harta .leaflet-marker-shadow,
.pipv-harta .leaflet-tile-container,
.pipv-harta .leaflet-overlay-pane svg,
.pipv-harta .leaflet-overlay-pane canvas {
  position: absolute;
  top: 0;
  left: 0;
}
.pipv-harta .leaflet-tile-container { pointer-events: none; }
.pipv-harta .leaflet-marker-icon,
.pipv-harta .leaflet-marker-shadow { display: block; }
.pipv-harta .leaflet-control { position: relative; z-index: 800; pointer-events: auto; }
.pipv-harta .leaflet-top,
.pipv-harta .leaflet-bottom { position: absolute; z-index: 1000; pointer-events: none; }
.pipv-harta .leaflet-top { top: 0; }
.pipv-harta .leaflet-bottom { bottom: 0; }
.pipv-harta .leaflet-left { left: 0; }
.pipv-harta .leaflet-right { right: 0; }
.pipv-harta .leaflet-top .leaflet-control { margin-top: 10px; }
.pipv-harta .leaflet-bottom .leaflet-control { margin-bottom: 10px; }
.pipv-harta .leaflet-left .leaflet-control { float: left; margin-left: 10px; }
.pipv-harta .leaflet-right .leaflet-control { float: right; margin-right: 10px; }
.pipv-harta .leaflet-top.leaflet-left { top: 18px; left: 18px; }
.pipv-harta .leaflet-control-zoom {
  overflow: hidden;
  border: 1px solid rgba(25, 48, 44, .16) !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 18px rgba(25, 48, 44, .18) !important;
}
.pipv-harta .leaflet-control-zoom a {
  width: 36px !important;
  height: 36px !important;
  color: var(--green) !important;
  border: 0 !important;
  background: #fff !important;
  font-size: 23px !important;
  line-height: 35px !important;
}
.pipv-harta .leaflet-control-zoom a:hover { background: #edf5f0 !important; }
.pipv-harta .leaflet-control-attribution { padding: 2px 5px !important; background: rgba(255,255,255,.88) !important; font-size: 9px; }
.pipv-harta .leaflet-popup-content-wrapper,
.pipv-harta .leaflet-popup-tip { background: #fff; }
.pipv-harta .leaflet-popup-content-wrapper { border-radius: 13px; box-shadow: 0 10px 28px rgba(25, 48, 44, .2); }
.pipv-harta .leaflet-popup-content { min-width: 190px; margin: 15px 16px; }
.pipv-harta .pipv-popup-category { margin-bottom: 4px; color: var(--green-2); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.pipv-harta .pipv-popup-name { color: var(--green); font-size: 16px; font-weight: 800; }
.pipv-harta .pipv-popup-location { margin-top: 4px; color: var(--muted); font-size: 12px; }
.pipv-harta .pipv-popup-description { max-height: 250px; margin-top: 10px; overflow-y: auto; padding-right: 4px; color: #29443f; font-size: 12px; line-height: 1.48; white-space: pre-wrap; }
.pipv-harta .pipv-popup-link { display: inline-block; margin-top: 10px; color: var(--green-2); font-size: 11px; font-weight: 800; text-decoration: none; }
.pipv-harta .pipv-popup-link:hover { text-decoration: underline; }
.pipv-harta .pipv-pin,
.pipv-harta .pipv-pin * {
  box-sizing: border-box;
}
.pipv-harta .pipv-pin {
  width: 52px;
  height: 64px;
  position: relative;
  display: block;
  overflow: visible;
  transform: none !important;
  filter: drop-shadow(0 5px 5px rgba(25, 48, 44, .28));
}
.pipv-harta .pipv-pin::after {
  position: absolute;
  bottom: 3px;
  left: 15px;
  z-index: 0;
  width: 22px;
  height: 22px;
  content: "";
  background: var(--pin-color, #286858);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: none !important;
}
.pipv-harta .pipv-pin-head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  /* The logo plate is deliberately wider than the circle — hidden lets the circle
     crop it, so the artwork floods the bubble instead of floating inside it. */
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--pin-color, #286858);
  transform: none !important;
}
.pipv-harta .pipv-pin-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  transform: none !important;
}
/* With a real logo the plate grows past the circle's 46px interior and the head
   crops it, so the artwork reaches the edge. Initials keep the smaller plate —
   they need the coloured ring around them to stay readable. */
.pipv-harta .pipv-pin-logo.has-image {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}
.pipv-harta .pipv-logo-frame {
  width: 100%;
  height: 100%;
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  clip-path: none !important;
  transform: none !important;
  color: var(--logo-color, var(--green));
  background: transparent;
  line-height: 1 !important;
}
.pipv-harta .pipv-logo-frame.has-image { background: #fff; }
.pipv-harta .pipv-logo-initials {
  position: relative !important;
  z-index: 0 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  line-height: 1 !important;
  transform: none !important;
}
.pipv-harta .pipv-logo-frame img[data-logo-image] {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
  margin: 0 !important;
  padding: 1px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  clip-path: none !important;
  transform: none !important;
  background: #fff !important;
  opacity: 0;
}
.pipv-harta .pipv-logo-frame img[data-logo-image].is-ready { opacity: 1; }
.pipv-harta .pipv-avatar .pipv-logo-frame {
  color: #fff;
  background: transparent;
}
.pipv-harta .pipv-avatar .pipv-logo-frame.has-image {
  color: var(--avatar-color, var(--green));
  background: #fff;
}
.pipv-harta .pipv-pin-stack {
  position: relative;
  width: 68px;
  height: 52px;
  filter: drop-shadow(0 5px 5px rgba(25, 48, 44, .28));
}
.pipv-harta .pipv-pin-stack-avatar {
  position: absolute;
  top: 5px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--avatar-color, var(--green));
  box-shadow: 0 1px 5px rgba(25,48,44,.2);
}
.pipv-harta .pipv-pin-stack-avatar:nth-child(1) { left: 0; z-index: 3; }
.pipv-harta .pipv-pin-stack-avatar:nth-child(2) { left: 14px; z-index: 2; }
.pipv-harta .pipv-pin-stack-avatar:nth-child(3) { left: 28px; z-index: 1; }
.pipv-harta .pipv-pin-stack-avatar .pipv-logo-frame { color: #fff; }
.pipv-harta .pipv-pin-stack-avatar .pipv-logo-frame.has-image { color: var(--avatar-color, var(--green)); background: #fff; }
.pipv-harta .pipv-pin-stack-count {
  position: absolute;
  right: -4px;
  top: -2px;
  z-index: 5;
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 2px 7px rgba(25,48,44,.25);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.pipv-harta .pipv-stack-popup { min-width: 205px; }
.pipv-harta .pipv-stack-popup-title { margin-bottom: 7px; color: var(--green); font-size: 12px; font-weight: 850; }
.pipv-harta .pipv-stack-company {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border: 0;
  color: var(--green);
  text-align: left;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
}
.pipv-harta .pipv-stack-company:hover { color: var(--green-2); }
.pipv-harta .pipv-stack-company-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  background: var(--avatar-color, var(--green));
  font-size: 8px;
  font-weight: 850;
}
.pipv-harta .pipv-county-label {
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 999px;
  color: #fff;
  background: rgba(18, 60, 53, .88);
  box-shadow: 0 6px 18px rgba(25, 48, 44, .24);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pipv-harta .pipv-county-mask-path,
.pipv-harta .pipv-county-border-underlay,
.pipv-harta .pipv-county-border-halo,
.pipv-harta .pipv-county-border-main,
.pipv-harta .pipv-county-label {
  opacity: 0;
  animation: countyFadeIn .72s cubic-bezier(.16, 1, .3, 1) forwards;
}
.pipv-harta .pipv-county-mask-path { animation-delay: 40ms; }
.pipv-harta .pipv-county-border-underlay { animation-delay: 70ms; }
.pipv-harta .pipv-county-border-halo { animation-delay: 105ms; }
.pipv-harta .pipv-county-border-main {
  animation-delay: 145ms;
  filter: drop-shadow(0 0 4px rgba(241, 196, 93, .32));
}
.pipv-harta .pipv-county-label { animation-delay: 210ms; }

@keyframes countyFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }}
.pipv-harta .pipv-connection-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pipv-harta .pipv-connection-path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .98;
  visibility: hidden;
  filter: drop-shadow(0 1px 2px rgba(25, 48, 44, .42));
}
.pipv-harta .pipv-connection-path.is-visible { visibility: visible; }
.pipv-harta .pipv-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.pipv-harta .pipv-sidebar-header { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.pipv-harta .pipv-kicker {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.pipv-harta .pipv-kicker strong { color: var(--green); font-size: 13px; }
.pipv-harta h2 {
  margin: 8px 0 17px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.pipv-harta .pipv-controls {
  margin: 0;
  padding: 8px 10px 9px;
  border: 1px dashed #cbdad2;
  border-radius: 9px;
  background: #f7faf7;
  color: var(--muted);
  font-size: 10px;
}
.pipv-harta .pipv-controls summary {
  color: var(--green-2);
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pipv-harta .pipv-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  margin-top: 8px;
}
.pipv-harta .pipv-controls {
  margin-top: 12px;
  padding: 9px 12px 10px;
  border-style: solid;
  background: rgba(255,255,255,.72);
  box-shadow: 0 7px 22px rgba(25,48,44,.08);
}
.pipv-harta .pipv-controls[open] summary { margin-bottom: 2px; }
.pipv-harta .pipv-controls .pipv-controls-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}
.pipv-harta .pipv-control-row > span:first-child { font-weight: 750; }
.pipv-harta .pipv-options { display: flex; flex-wrap: wrap; gap: 4px; }
.pipv-harta .pipv-option,
.pipv-harta .pipv-option {
  padding: 4px 7px;
  border: 1px solid #cbdad2;
  border-radius: 5px;
  color: var(--green-2);
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}
.pipv-harta .pipv-option.is-active,
.pipv-harta .pipv-option.is-active { color: #fff; border-color: var(--green); background: var(--green); }
.pipv-harta .pipv-search-wrap { position: relative; margin-bottom: 10px; }
.pipv-harta .pipv-search-wrap::before { position: absolute; top: 50%; left: 13px; content: "⌕"; color: var(--muted); font-size: 21px; line-height: 1; transform: translateY(-55%); }
.pipv-harta .pipv-search,
.pipv-harta .pipv-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--ink);
  background: #fbfdfb;
}
.pipv-harta .pipv-search { padding: 12px 12px 12px 38px; }
.pipv-harta .pipv-select { padding: 10px; font-size: 12px; }
.pipv-harta .pipv-search:focus,
.pipv-harta .pipv-select:focus { border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(40,104,88,.12); }
.pipv-harta .pipv-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pipv-harta .pipv-reset {
  display: block;
  margin: 10px 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--green-2);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}
.pipv-harta .pipv-reset:hover { text-decoration: underline; }
.pipv-harta .pipv-result-label { padding: 14px 24px 8px; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.pipv-harta .pipv-active-slot {
  flex: 0 0 auto;
  padding: 0 10px 9px;
  border-bottom: 1px solid rgba(220,231,225,.78);
  background: #fff;
}
.pipv-harta .pipv-active-slot[hidden] { display: none; }
.pipv-harta .pipv-active-slot-label {
  padding: 2px 11px 6px;
  color: var(--green-2);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pipv-harta .pipv-active-slot button.pipv-card {
  border-color: #c7ddd3;
  background: #f4faf7;
  box-shadow: 0 5px 16px rgba(25,48,44,.07);
}
.pipv-harta .pipv-list { min-height: 0; flex: 1; overflow: auto; padding: 7px 10px 15px; overscroll-behavior: contain; }
.pipv-harta button.pipv-card {
  width: 100%;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: start;
  gap: 11px;
  padding: 13px 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  visibility: visible;
  opacity: 1;
  font: inherit;
  line-height: normal;
}
.pipv-harta button.pipv-card:hover,
.pipv-harta button.pipv-card.is-active { border-color: var(--line); background: #f8fbf8; }
.pipv-harta .pipv-avatar { width: 40px; height: 40px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: #fff; background: var(--avatar-color, var(--green)); font-size: 12px; font-weight: 850; }
.pipv-harta .pipv-card-name { display: block; overflow: hidden; color: var(--green); font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.pipv-harta .pipv-card-description { display: -webkit-box; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 11px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pipv-harta .pipv-card-meta { display: flex; gap: 7px; margin-top: 6px; color: var(--muted); font-size: 10px; }
.pipv-harta .pipv-card-meta span:first-child { color: var(--green-2); font-weight: 750; }
.pipv-harta .pipv-card-arrow { padding-top: 6px; color: #9cafaa; font-size: 19px; line-height: 1; }
.pipv-harta .pipv-empty { padding: 28px 14px; color: var(--muted); font-size: 13px; text-align: center; }

@media (max-width: 820px) {
.pipv-harta html {
    min-width: 0;
    min-height: 100%;
    padding: 0;
    overflow-x: hidden;
  }
.pipv-harta body {
    min-width: 0;
    min-height: 100%;
    padding: 12px;
    overflow-x: hidden;
  }
.pipv-harta .pipv-shell { max-width: none; }
.pipv-harta .pipv-widget {
    height: calc(100svh - 24px);
    min-height: 700px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 44%) minmax(0, 56%);
    border-radius: 16px;
  }
.pipv-harta .pipv-map-pane,
.pipv-harta .pipv-sidebar { min-height: 0; }
.pipv-harta .pipv-sidebar {
    height: 100%;
    border-top: 1px solid var(--line);
  }
.pipv-harta .pipv-sidebar-header { padding: 15px 16px 11px; }
.pipv-harta .pipv-kicker { gap: 8px; font-size: 11px; }
.pipv-harta .pipv-kicker strong { font-size: 12px; white-space: nowrap; }
.pipv-harta h2 {
    margin: 5px 0 11px;
    font-size: 24px;
    line-height: 1.06;
  }
.pipv-harta .pipv-search-wrap { margin-bottom: 8px; }
.pipv-harta .pipv-search {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
  }
.pipv-harta .pipv-select {
    min-height: 42px;
    padding: 8px 9px;
    font-size: 14px;
  }
.pipv-harta .pipv-reset {
    min-height: 34px;
    margin-top: 5px;
    padding: 6px 0 2px 12px;
  }
.pipv-harta .pipv-result-label { padding: 8px 16px 6px; }
.pipv-harta .pipv-active-slot { padding: 0 8px 7px; }
.pipv-harta .pipv-active-slot-label { padding: 1px 10px 5px; }
.pipv-harta .pipv-list {
    padding: 4px 8px max(14px, env(safe-area-inset-bottom));
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
  }
.pipv-harta button.pipv-card {
    min-height: 64px;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    touch-action: manipulation;
  }
.pipv-harta .pipv-card-name {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
.pipv-harta .pipv-card-description { -webkit-line-clamp: 1; }
.pipv-harta .pipv-card-meta { flex-wrap: wrap; row-gap: 2px; }
.pipv-harta .pipv-card-arrow { padding-top: 5px; }
.pipv-harta .pipv-connection-layer { display: none; }
.pipv-harta .pipv-layer-switcher {
    top: 10px;
    right: 10px;
    max-width: calc(100% - 72px);
  }
.pipv-harta .pipv-layer-button {
    min-height: 40px;
    padding: 7px 9px;
    touch-action: manipulation;
  }
.pipv-harta .leaflet-top.leaflet-left { top: 10px; left: 10px; }
.pipv-harta .leaflet-control-zoom a {
    width: 40px !important;
    height: 40px !important;
    line-height: 39px !important;
  }
.pipv-harta .leaflet-control-attribution {
    max-width: calc(100% - 12px);
    line-height: 1.15;
    white-space: normal;
  }
.pipv-harta .leaflet-popup-content-wrapper { max-width: calc(100vw - 32px); }
.pipv-harta .leaflet-popup-content {
    width: min(300px, calc(100vw - 70px)) !important;
    min-width: 0;
    margin: 12px 13px;
  }
.pipv-harta .pipv-popup-name { font-size: 15px; }
.pipv-harta .pipv-popup-description {
    max-height: min(200px, 28svh);
    font-size: 12px;
    -webkit-overflow-scrolling: touch;
  }
.pipv-harta .pipv-popup-location { font-size: 11px; }
.pipv-harta .pipv-popup-link { min-height: 32px; padding-top: 6px; }
.pipv-harta .pipv-stack-popup {
    width: min(260px, calc(100vw - 80px));
    min-width: 0;
  }
.pipv-harta .pipv-stack-company {
    min-height: 44px;
    padding: 8px 0;
    touch-action: manipulation;
  }
.pipv-harta .pipv-map-error {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-width: none;
  }
.pipv-harta .pipv-map-pane.is-loading::after {
    top: 60px;
    max-width: calc(100% - 32px);
    text-align: center;
    white-space: nowrap;
  }
.pipv-harta .pipv-controls { margin-top: 10px; }}

@media (max-width: 520px) {
.pipv-harta html,
.pipv-harta body {
    min-height: 100%;
    padding: 0;
    background: #fff;
  }
.pipv-harta .pipv-widget {
    height: 100svh;
    min-height: 640px;
    grid-template-rows: minmax(280px, 42%) minmax(0, 58%);
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
.pipv-harta .pipv-sidebar-header { padding: 12px 12px 8px; }
.pipv-harta .pipv-kicker { font-size: 10px; }
.pipv-harta .pipv-kicker strong { font-size: 11px; }
.pipv-harta h2 {
    margin: 4px 0 9px;
    font-size: 21px;
  }
.pipv-harta .pipv-search { min-height: 42px; }
.pipv-harta .pipv-filter-row { gap: 6px; }
.pipv-harta .pipv-select { min-height: 40px; padding-right: 5px; padding-left: 7px; font-size: 12px; }
.pipv-harta .pipv-reset { min-height: 30px; margin-top: 2px; font-size: 10px; }
.pipv-harta .pipv-result-label { padding: 6px 12px 4px; }
.pipv-harta .pipv-active-slot { padding-right: 5px; padding-bottom: 5px; padding-left: 5px; }
.pipv-harta .pipv-active-slot-label { padding-left: 8px; }
.pipv-harta .pipv-list { padding-right: 5px; padding-left: 5px; }
.pipv-harta button.pipv-card {
    min-height: 60px;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    gap: 8px;
    padding: 8px;
  }
.pipv-harta .pipv-avatar { width: 38px; height: 38px; }
.pipv-harta .pipv-card-name { font-size: 12px; }
.pipv-harta .pipv-card-description { font-size: 10px; }
.pipv-harta .pipv-card-meta { gap: 5px; margin-top: 4px; font-size: 9px; }
.pipv-harta .pipv-controls {
    margin: 8px;
    border-radius: 8px;
  }
.pipv-harta .pipv-controls .pipv-controls-body { grid-template-columns: 1fr; }
.pipv-harta .pipv-control-row { align-items: flex-start; }
.pipv-harta .pipv-layer-switcher { top: 8px; right: 8px; padding: 3px; }
.pipv-harta .pipv-layer-button { min-height: 38px; padding: 6px 8px; font-size: 10px; }
.pipv-harta .leaflet-top.leaflet-left { top: 8px; left: 8px; }
.pipv-harta .leaflet-control-zoom a {
    width: 38px !important;
    height: 38px !important;
    line-height: 37px !important;
  }
.pipv-harta .leaflet-popup-content-wrapper { border-radius: 11px; }
.pipv-harta .leaflet-popup-content {
    width: min(286px, calc(100vw - 62px)) !important;
    margin: 11px 12px;
  }
.pipv-harta .pipv-popup-description { max-height: min(170px, 26svh); }
.pipv-harta .pipv-county-label { padding: 3px 7px; font-size: 9px; }}

@media (max-width: 360px) {
.pipv-harta .pipv-widget { grid-template-rows: minmax(270px, 40%) minmax(0, 60%); }
.pipv-harta .pipv-sidebar-header { padding-right: 9px; padding-left: 9px; }
.pipv-harta .pipv-filter-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pipv-harta .pipv-select { padding-right: 2px; padding-left: 5px; font-size: 11px; }
.pipv-harta .pipv-layer-button { padding-right: 6px; padding-left: 6px; font-size: 9px; }
.pipv-harta .leaflet-popup-content { width: calc(100vw - 58px) !important; }}
