/* Radar lokali (premises.html) – prefiks prm-. Ciemny motyw RazorFlow, wersja 2 (2.10.2026). */
:root {
  --prm-ink: #060a16;
  --prm-panel: #0f1830;
  --prm-panel-2: #131f3d;
  --prm-glass: rgba(16, 24, 50, .74);
  --prm-line: rgba(148, 163, 214, .14);
  --prm-line-2: rgba(148, 163, 214, .08);
  --prm-text: #eef3ff;
  --prm-muted: #98a6c2;
  --prm-faint: #6b7894;
  --prm-violet: #7c5cff;
  --prm-violet-2: #a28dff;
  --prm-violet-soft: rgba(124, 92, 255, .16);
  --prm-cyan: #3fd6ff;
  --prm-cyan-soft: rgba(63, 214, 255, .14);
  --prm-mint: #3bd19b;
  --prm-mint-soft: rgba(59, 209, 155, .15);
  --prm-amber: #f5b54a;
  --prm-amber-soft: rgba(245, 181, 74, .15);
  --prm-rose: #ff6b86;
  --prm-rose-soft: rgba(255, 107, 134, .14);
  --prm-grad: linear-gradient(100deg, #7c5cff 0%, #5b8bff 50%, #3fd6ff 100%);
  --prm-radius: 22px;
  --prm-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --prm-display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --prm-head: "Sora", Inter, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body.prm-page {
  min-height: 100vh;
  margin: 0;
  color: var(--prm-text);
  background:
    radial-gradient(1100px 700px at 8% -12%, rgba(124, 92, 255, .20), transparent 60%),
    radial-gradient(900px 600px at 100% 0%, rgba(63, 214, 255, .10), transparent 58%),
    radial-gradient(900px 700px at 50% 110%, rgba(59, 209, 155, .06), transparent 60%),
    var(--prm-ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
}

.prm-shell { width: min(1260px, calc(100% - 28px)); margin: 18px auto 80px; display: grid; gap: 18px; }
.prm-hidden { display: none !important; }
svg { flex: 0 0 auto; }
.prm-ico, .prm-btn svg, .prm-input svg, .prm-updated svg, .prm-view-btn svg { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- nagłówek z radarem */

.prm-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: center;
  padding: 30px 32px;
  border-radius: 28px;
  border: 1px solid var(--prm-line);
  background:
    radial-gradient(600px 380px at 80% 50%, rgba(63, 214, 255, .10), transparent 70%),
    linear-gradient(145deg, rgba(20, 30, 62, .96), rgba(9, 15, 33, .97));
  box-shadow: var(--prm-shadow);
  overflow: hidden;
}

.prm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(148, 163, 214, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 214, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
  -webkit-mask-image: linear-gradient(90deg, black, transparent 75%);
  pointer-events: none;
}

.prm-hero-copy { position: relative; z-index: 1; min-width: 0; }

.prm-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  background: var(--prm-violet-soft);
  border: 1px solid rgba(124, 92, 255, .35);
  color: #cfc4ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.prm-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--prm-mint); box-shadow: 0 0 10px var(--prm-mint); }
.prm-live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--prm-mint); opacity: 0; animation: prm-ping 2.2s ease-out infinite; }

.prm-title {
  margin: 14px 0 8px;
  font-family: var(--prm-display);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 96px);
  line-height: .9;
  letter-spacing: .01em;
}

.prm-title span { background: var(--prm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(124, 92, 255, .35)); }
.prm-lead { max-width: 560px; margin: 0; color: var(--prm-muted); font-size: 15px; line-height: 1.65; }

.prm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; max-width: 600px; }

/* Kafelki liczb: sama liczba i opis. Kolor tylko tam, gdzie coś znaczy: nowe lokale (mięta),
   najlepsza ocena (bursztyn). Ikony w kolorowych kwadratach wyglądały na tle jak plamy. */
.prm-stat {
  padding: 14px 16px 13px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--prm-line);
  min-width: 0;
}

.prm-stat strong { display: block; font-family: var(--prm-display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.prm-stat span { display: block; color: var(--prm-muted); font-size: 12.5px; margin-top: 6px; line-height: 1.25; }
.prm-stat--new strong { color: var(--prm-mint); }
.prm-stat--best strong { color: var(--prm-amber); }
.prm-updated { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--prm-faint); font-size: 12.5px; }
.prm-updated svg { width: 15px; height: 15px; }

/* ---------------------------------------------------------------- mapa Polski (29.10.2026, assets/js/premises-map.js)
   Zamiast tarczy radaru z kropkami miast: prawdziwa mapa (granice PRG GUGiK + Natural Earth, SVG bez kafelków),
   lokale z całej Polski jako znaczniki z oceną, skupiska, kółka Twoich miejsc i karta lokalu. */

.prm-hero .prm-geo { position: relative; z-index: 1; min-width: 0; }
.prm-geo { position: relative; width: 100%; }

.prm-geo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.02;
  min-height: 300px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #071024;
  border: 1px solid rgba(124, 92, 255, .30);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .38), 0 0 70px rgba(124, 92, 255, .12), inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.prm-geo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 62%, rgba(4, 7, 16, .55) 100%);
}

.prm-geo-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  outline: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.prm-geo.is-zoomed .prm-geo-stage, .prm-geo.is-full .prm-geo-stage { touch-action: none; }
.prm-geo.is-drag .prm-geo-stage { cursor: grabbing; }
.prm-geo-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--prm-violet-2); }
.prm-geo-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: hidden; }

.prm-geo .g-sea { fill: #071024; }
.prm-geo .g-waves { fill: url(#prmGeoWaves); }
.prm-geo .g-grat { fill: none; stroke: rgba(63, 214, 255, .065); stroke-width: 1; vector-effect: non-scaling-stroke; }
.prm-geo .g-land { fill: #0e1630; stroke: rgba(148, 163, 214, .17); stroke-width: .8; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.prm-geo .g-woj path { fill: url(#prmGeoLand); }
.prm-geo .g-tint path { fill: #7c5cff; opacity: 0; transition: opacity .5s ease; }
.prm-geo .g-tint { transition: opacity .4s ease; }
.prm-geo.is-zoomed .g-tint { opacity: .4; }
.prm-geo .g-lakes { fill: #0a1834; stroke: rgba(63, 214, 255, .22); stroke-width: .6; vector-effect: non-scaling-stroke; }
.prm-geo .g-riv1, .prm-geo .g-riv2 { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.prm-geo .g-riv1 { stroke: rgba(63, 214, 255, .36); stroke-width: 1.15; }
.prm-geo .g-riv2 { stroke: rgba(63, 214, 255, .16); stroke-width: .8; }
.prm-geo .g-rings circle { fill: none; stroke: rgba(63, 214, 255, .17); stroke-width: 1; stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }
.prm-geo .g-rings { transition: opacity .4s ease; }
.prm-geo.is-zoomed .g-rings { opacity: 0; }
.prm-geo .g-inner { fill: none; stroke: rgba(170, 150, 255, .28); stroke-width: .9; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.prm-geo .g-glow, .prm-geo .g-edge { fill: none; stroke: url(#prmGeoEdge); stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.prm-geo .g-glow3 { stroke-width: 16; opacity: .045; }
.prm-geo .g-glow2 { stroke-width: 8; opacity: .1; }
.prm-geo .g-glow1 { stroke-width: 3.6; opacity: .28; }
.prm-geo .g-edge { stroke-width: 1.5; }
.prm-geo .g-area { fill: rgba(124, 92, 255, .11); stroke: #b6a5ff; stroke-width: 1.6; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.prm-geo .g-area-c { fill: #cdbfff; }

/* radar: obraca się wokół środka Polski (Piątek), tylko przy widoku całego kraju */
.prm-geo-sweep { position: absolute; left: 0; top: 0; width: 600px; height: 600px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .6s ease; }
.prm-geo-sweep i {
  position: absolute;
  left: -50%;
  top: -50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(63, 214, 255, 0) 0deg, rgba(63, 214, 255, 0) 250deg, rgba(63, 214, 255, .07) 310deg, rgba(63, 214, 255, .24) 357deg, rgba(150, 236, 255, .5) 359.6deg, rgba(63, 214, 255, 0) 360deg);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 55%, transparent 100%);
  mix-blend-mode: screen;
}
.prm-geo[data-state="ready"] .prm-geo-sweep i { animation: prm-spin 7s linear infinite; }
.prm-geo.is-sweep .prm-geo-sweep { opacity: .9; }

.prm-geo-labels, .prm-geo-pins { position: absolute; inset: 0; pointer-events: none; }
.prm-geo-labels { z-index: 1; }
.prm-geo-pins { z-index: 2; }

.prm-glabel { position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; will-change: transform; }
.prm-glabel.is-city { margin-top: -6px; padding-left: 8px; color: rgba(221, 229, 250, .82); font: 600 11px/12px Inter, "Segoe UI", system-ui, sans-serif; text-shadow: 0 1px 2px #050913, 0 0 7px #050913, 0 0 12px #050913; }
.prm-glabel.is-city i { position: absolute; left: -2.5px; top: 3.5px; width: 5px; height: 5px; border-radius: 50%; background: rgba(221, 229, 250, .8); box-shadow: 0 0 0 1.5px rgba(5, 9, 19, .8); }
.prm-glabel.is-city.is-big { color: #fff; font-size: 12.5px; font-weight: 700; }
.prm-glabel.is-city.is-big i { width: 6px; height: 6px; left: -3px; top: 3px; background: #fff; }
.prm-glabel.is-land { translate: -50% -50%; color: rgba(152, 166, 194, .42); font: 700 9.5px/1 Inter, system-ui, sans-serif; letter-spacing: .34em; text-transform: uppercase; }
.prm-glabel.is-sea { translate: -50% -50%; color: rgba(63, 214, 255, .5); font: italic 500 12px/1 Inter, system-ui, sans-serif; letter-spacing: .2em; }
.prm-geo.is-narrow .prm-glabel.is-sea { font-size: 10px; letter-spacing: .12em; }
.prm-glabel.is-woj { translate: -50% -50%; color: rgba(190, 175, 255, .30); font: 700 8.5px/1 Inter, system-ui, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.prm-glabel.is-land.is-v { writing-mode: vertical-rl; letter-spacing: .3em; }
.prm-glabel.is-city.at-r, .prm-glabel.is-city.at-l, .prm-glabel.is-city.at-b { padding-left: 0; }
.prm-glabel.is-city.at-r { margin-left: 16px; }
.prm-glabel.is-city.at-l { translate: calc(-100% - 16px) 0; }
.prm-glabel.is-city.at-b { margin-top: 16px; translate: -50% 0; }
.prm-glabel.is-area {
  translate: -50% 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(124, 92, 255, .88);
  color: #fff;
  font: 700 11.5px/1 var(--prm-head);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .18);
}
.prm-glabel.is-area.is-up { translate: -50% calc(-100% - 8px); }
.prm-geo.is-narrow .prm-glabel.is-area { padding: 4px 8px; font-size: 10.5px; }

/* znaczniki: kolor = ocena (jak w liście), liczba = punkty. Przycisk tylko ustawia pozycję (transform z JS),
   wygląd i powiększenie są na elemencie w środku – „scale” na przycisku przesuwałby znacznik z miejsca. */
.prm-geo .prm-gpin, .prm-geo .prm-gcl {
  --c: 59, 209, 155;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: block;
  width: var(--pin);
  height: var(--pin);
  min-height: 0;
  margin: calc(var(--pin) / -2) 0 0 calc(var(--pin) / -2);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.prm-geo { --pin: 30px; }
.prm-geo.is-narrow { --pin: 26px; }
.prm-geo .prm-gpin.t-good { --c: 63, 214, 255; }
.prm-geo .prm-gpin.t-ok { --c: 245, 181, 74; }
.prm-geo .prm-gpin.t-gone { --c: 107, 120, 148; }
.prm-geo .prm-gpin:hover, .prm-geo .prm-gcl:hover { z-index: 4; }
.prm-geo .prm-gpin.is-sel, .prm-geo .prm-gcl.is-sel { z-index: 5; }

.prm-gpin-c, .prm-gcl-c {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  pointer-events: none;
  transition: scale .18s ease, box-shadow .18s ease;
}

.prm-gpin-c {
  border: 2px solid rgba(255, 255, 255, .92);
  color: #061021;
  background: linear-gradient(150deg, #7cf2c8, #27b884);
  box-shadow: 0 0 0 4px rgba(var(--c), .16), 0 0 18px rgba(var(--c), .72), 0 6px 14px rgba(0, 0, 0, .45);
}
.prm-gpin.t-good .prm-gpin-c { background: linear-gradient(150deg, #96ecff, #23b6ea); }
.prm-gpin.t-ok .prm-gpin-c { background: linear-gradient(150deg, #ffd88a, #ee9f33); }
.prm-gpin.t-gone .prm-gpin-c { background: #36415c; color: #c9d2e6; border-color: rgba(255, 255, 255, .35); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.prm-gpin.is-hidden .prm-gpin-c { filter: grayscale(.7) brightness(.8); }
.prm-gpin-c b { position: relative; z-index: 1; margin-top: 2px; font: 400 16px/1 var(--prm-display); letter-spacing: .03em; }
.prm-geo.is-narrow .prm-gpin-c b { font-size: 14px; }
.prm-gpin-c em { position: absolute; right: -7px; top: -8px; z-index: 2; color: #ffd66b; font-size: 13px; font-style: normal; line-height: 1; text-shadow: 0 0 6px rgba(0, 0, 0, .8); }
.prm-gpin.is-near .prm-gpin-c { box-shadow: 0 0 0 3px #c9bbff, 0 0 0 7px rgba(124, 92, 255, .32), 0 0 20px rgba(var(--c), .72), 0 6px 14px rgba(0, 0, 0, .45); }
.prm-gpin:hover .prm-gpin-c, .prm-gcl:hover .prm-gcl-c { scale: 1.12; }
.prm-gpin.is-sel .prm-gpin-c { scale: 1.24; box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(124, 92, 255, .55), 0 0 30px rgba(124, 92, 255, .95), 0 8px 18px rgba(0, 0, 0, .5); }

/* błysk, gdy przejdzie po nim radar (opóźnienie liczone z kąta względem środka radaru) */
.prm-gpin-c::before, .prm-gcl-c::before {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: 3;
  border-radius: 50%;
  border: 2px solid rgba(var(--c), .95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: prm-geo-blip 7s linear infinite;
  animation-delay: var(--blip, 0ms);
}
.prm-geo.is-sweep .prm-gpin-c::before, .prm-geo.is-sweep .prm-gcl-c::before { visibility: visible; }

/* nowe od wczoraj: pulsujący pierścień */
.prm-gpin.is-new .prm-gpin-c::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(var(--c), .85);
  pointer-events: none;
  animation: prm-geo-new 2.4s ease-out infinite;
}

.prm-geo .prm-gcl {
  --c: 124, 92, 255;
  width: var(--sz, 40px);
  height: var(--sz, 40px);
  margin: calc(var(--sz, 40px) / -2) 0 0 calc(var(--sz, 40px) / -2);
}
.prm-gcl-c {
  color: #fff;
  background: conic-gradient(var(--prm-mint) 0 var(--a), var(--prm-cyan) var(--a) var(--b), var(--prm-amber) var(--b) 100%);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, .16), 0 0 24px rgba(124, 92, 255, .6), 0 8px 18px rgba(0, 0, 0, .5);
}
.prm-gcl-c::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #2a3878, #121b40 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.prm-geo.is-narrow .prm-gcl-c::after { inset: 3px; }
.prm-gcl-c b { position: relative; z-index: 1; margin-top: 2px; font: 400 20px/1 var(--prm-display); letter-spacing: .03em; }
.prm-geo.is-narrow .prm-gcl-c b { font-size: 17px; }
.prm-gcl-c small {
  position: absolute;
  right: -7px;
  top: -7px;
  z-index: 2;
  min-width: 22px;
  padding: 3px 5px 2px;
  border-radius: 999px;
  color: #061021;
  background: var(--prm-mint);
  font: 400 13px/1 var(--prm-display);
  letter-spacing: .03em;
  text-align: center;
  box-shadow: 0 0 0 2px #0b1230;
}
.prm-geo.is-narrow .prm-gcl-c small { right: -6px; top: -6px; min-width: 19px; padding: 2px 4px 1px; font-size: 11.5px; }
.prm-gcl.t-good .prm-gcl-c small { background: var(--prm-cyan); }
.prm-gcl.t-ok .prm-gcl-c small { background: var(--prm-amber); }
.prm-gcl.t-gone .prm-gcl-c small { background: #6b7894; }
.prm-gcl.is-sel .prm-gcl-c { box-shadow: 0 0 0 3px #fff, 0 0 0 8px rgba(124, 92, 255, .5), 0 0 30px rgba(124, 92, 255, .9); }

/* pod mapą: przyciski z podpisami i legenda (na mapie zostają same lokale). W pełnym ekranie – na mapie. */
.prm-geo-head { display: none; position: absolute; left: 12px; top: 12px; z-index: 4; max-width: calc(100% - 76px); pointer-events: none; }
.prm-geo-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(8, 13, 30, .74);
  border: 1px solid var(--prm-line);
  color: var(--prm-muted);
  font: 600 12px/1.2 Inter, "Segoe UI", system-ui, sans-serif;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.prm-geo-title > i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--prm-mint); box-shadow: 0 0 10px var(--prm-mint); }
.prm-geo-title b { color: #fff; font-weight: 800; }

.prm-geo-ctrl { display: flex; gap: 6px; margin-top: 10px; }
.prm-geo .prm-geo-ctrl button {
  display: inline-flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .04);
  color: var(--prm-text);
  font: 700 12.5px/1 Inter, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.prm-geo .prm-geo-ctrl button:hover { border-color: rgba(162, 141, 255, .6); background: rgba(124, 92, 255, .2); }
.prm-geo .prm-geo-ctrl button svg { flex: 0 0 auto; width: 17px; height: 17px; }
.prm-geo .prm-geo-ctrl button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prm-geo .prm-geo-ctrl :is([data-geo="in"], [data-geo="out"]) { flex: 0 0 42px; padding: 0; }
.prm-geo.is-narrow:not(.is-full) .prm-geo-ctrl :is([data-geo="in"], [data-geo="out"]) { display: none; }
/* telefon: ikona nad podpisem, jak w pasku aplikacji – podpisy mieszczą się w trzech przyciskach */
.prm-geo.is-narrow:not(.is-full) .prm-geo-ctrl button { flex-direction: column; gap: 5px; height: 56px; min-height: 56px; padding: 0 4px; font-size: 11.5px; }
.prm-geo.is-narrow:not(.is-full) .prm-geo-ctrl button svg { width: 19px; height: 19px; }
.prm-geo .prm-geo-ctrl button[data-geo="mine"] svg { color: #cdbfff; }

.prm-geo-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 10px; padding: 0 2px; color: var(--prm-muted); font-size: 11.5px; transition: opacity .2s ease; }
.prm-geo-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.prm-geo:not(.has-areas) .prm-geo-legend-area { display: none; }

/* pełny ekran: napis, przyciski (pionowo, same ikony) i legenda na mapie, z odstępem od wcięć ekranu */
.prm-geo.is-full .prm-geo-head { display: block; }
.prm-geo.is-full .prm-geo-ctrl { position: absolute; z-index: 7; top: calc(12px + env(safe-area-inset-top, 0px)); right: calc(12px + env(safe-area-inset-right, 0px)); flex-direction: column; margin: 0; }
.prm-geo.is-full .prm-geo-ctrl button { flex: none; width: 42px; padding: 0; background: rgba(10, 16, 36, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.prm-geo.is-full .prm-geo-ctrl button span { display: none; }
.prm-geo.is-full .prm-geo-legend {
  position: absolute;
  z-index: 7;
  left: calc(12px + env(safe-area-inset-left, 0px));
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  max-width: calc(100% - 24px);
  margin: 0;
  padding: 7px 12px;
  border-radius: 14px;
  border: 1px solid var(--prm-line);
  background: rgba(8, 13, 30, .76);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.prm-geo.is-full.has-card .prm-geo-legend { opacity: 0; pointer-events: none; }
.prm-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.prm-dot--top { background: var(--prm-mint); box-shadow: 0 0 8px var(--prm-mint); }
.prm-dot--good { background: var(--prm-cyan); box-shadow: 0 0 8px var(--prm-cyan); }
.prm-dot--ok { background: var(--prm-amber); box-shadow: 0 0 8px var(--prm-amber); }
.prm-dot--area { background: transparent; border: 2px dashed var(--prm-violet-2); }

.prm-geo-src { position: absolute; right: 12px; bottom: 6px; z-index: 4; color: rgba(152, 166, 194, .42); font-size: 9.5px; pointer-events: none; }
.prm-geo.is-full .prm-geo-src { bottom: calc(6px + env(safe-area-inset-bottom, 0px)); }

.prm-geo-hint, .prm-geo-msg {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  translate: -50% -50%;
  width: max-content;
  max-width: min(320px, calc(100% - 40px));
  padding: 11px 16px;
  border-radius: 16px;
  background: rgba(6, 10, 22, .9);
  border: 1px solid var(--prm-line);
  color: var(--prm-text);
  font-size: 13.5px;
  line-height: 1.45;
  text-align: center;
  pointer-events: none;
}
.prm-geo-hint { opacity: 0; transition: opacity .2s ease; }
.prm-geo-hint.is-on { opacity: 1; }

.prm-geo-loading { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: #071024; transition: opacity .4s ease; }
.prm-geo-loading span { width: 46%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(63, 214, 255, .2); background: conic-gradient(from 0deg, transparent 0 280deg, rgba(63, 214, 255, .35) 358deg, transparent 360deg); animation: prm-spin 1.6s linear infinite; }
.prm-geo:not([data-state="loading"]) .prm-geo-loading { opacity: 0; pointer-events: none; }
.prm-geo[data-state="ready"] .prm-geo-loading span { animation: none; }

/* karta lokalu: na komputerze na mapie (lewy dół), na telefonie pod mapą, w pełnym ekranie od dołu */
.prm-geo-card {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 6;
  width: min(330px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 18px;
  background: rgba(12, 19, 42, .96);
  border: 1px solid rgba(162, 141, 255, .34);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 40px rgba(124, 92, 255, .14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: prm-pop .22s ease-out both;
}
.prm-geo:not(.is-full):not(.is-narrow) .prm-geo-card { top: 12px; bottom: auto; max-height: calc(var(--fh, 600px) - 24px); }
.prm-geo.is-narrow:not(.is-full) .prm-geo-card { position: relative; left: auto; bottom: auto; width: auto; max-height: none; margin-top: 10px; }
.prm-geo.is-full.is-narrow .prm-geo-card { left: 8px; right: 8px; width: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); max-height: 58%; }

.prm-geo .prm-geo-card-x {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(6, 10, 22, .72);
  color: #fff;
  cursor: pointer;
}
.prm-geo .prm-geo-card-x svg { width: 16px; height: 16px; }

.prm-geo-card-photo { position: relative; height: 150px; background: linear-gradient(135deg, #1a2550, #0b1229); }
.prm-geo-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prm-geo-card-photo.is-broken img { display: none; }
.prm-geo-card-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(12, 19, 42, .92)); pointer-events: none; }
.prm-geo-card-body { padding: 14px; }
.prm-geo-card-photo + .prm-geo-card-body { position: relative; z-index: 1; margin-top: -34px; }
.prm-geo-card-kicker { margin: 0 40px 10px 2px; color: var(--prm-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.prm-geo-card-top { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; padding-right: 34px; }
.prm-geo-card-photo + .prm-geo-card-body .prm-geo-card-top { padding-right: 0; }
.prm-geo-card-place { display: flex; align-items: center; gap: 5px; color: var(--prm-muted); font-size: 12px; line-height: 1.3; }
.prm-geo-card-place svg { width: 13px; height: 13px; flex: 0 0 auto; }
.prm-geo-card h4 { margin: 3px 0 0; color: var(--prm-text); font: 700 14.5px/1.3 var(--prm-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.prm-geo-score {
  --c: 59, 209, 155;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  padding-top: 2px;
  border-radius: 50%;
  background: #0b1230;
  border: 3px solid rgb(var(--c));
  box-shadow: 0 0 16px rgba(var(--c), .55);
  color: #fff;
  font: 400 24px/1 var(--prm-display);
  letter-spacing: .02em;
}
.prm-geo-score.t-good { --c: 63, 214, 255; }
.prm-geo-score.t-ok { --c: 245, 181, 74; }
.prm-geo-score.t-gone { --c: 107, 120, 148; box-shadow: none; color: var(--prm-faint); }

.prm-geo-card-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 12px 0 10px; }
.prm-geo-card-facts > div { min-width: 0; padding: 8px 9px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--prm-line-2); }
.prm-geo-card-facts small { display: block; color: var(--prm-faint); font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.prm-geo-card-facts b { display: block; margin-top: 3px; color: var(--prm-text); font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prm-geo-card-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.prm-geo .prm-geo-card-cta { width: 100%; justify-content: center; }

.prm-geo-rows { display: grid; gap: 6px; }
.prm-geo .prm-geo-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 7px 10px;
  border-radius: 14px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .035);
  color: var(--prm-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.prm-geo .prm-geo-row:hover { border-color: rgba(162, 141, 255, .5); background: rgba(124, 92, 255, .12); }
.prm-geo-row .prm-geo-score { width: 38px; height: 38px; border-width: 2px; font-size: 19px; }
.prm-geo-row strong { display: block; font-size: 13.5px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prm-geo-row small { display: block; color: var(--prm-muted); font-size: 12px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* pełny ekran (mapa przeniesiona do <body>) */
html.prm-geo-lock, html.prm-geo-lock body { overflow: hidden !important; }
.prm-geo.is-full {
  position: fixed;
  inset: 0;
  z-index: 9600;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  background: #060a16;
}
.prm-geo.is-full .prm-geo-frame { height: 100%; aspect-ratio: auto; min-height: 0; border-radius: 0; border: 0; box-shadow: none; }
.prm-geo.is-full .prm-geo-frame::after { background: radial-gradient(90% 85% at 50% 50%, transparent 58%, rgba(6, 10, 22, .7) 88%, #060a16 100%); }
.prm-geo-ph { width: 100%; }

/* „Twoje miejsca”: ile lokali w zasięgu i jak daleko najbliższy z radaru */
.prm-near { margin-top: 18px; max-width: 600px; }
.prm-near:empty { display: none; }
.prm-near-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.prm-near-head strong { color: var(--prm-text); font: 700 13px/1.2 var(--prm-head); letter-spacing: .02em; }
.prm-near-head small { color: var(--prm-faint); font-size: 12px; text-align: right; }
.prm-near-list { display: grid; gap: 7px; }
.prm-near .prm-near-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 9px 12px;
  border-radius: 16px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .035);
  color: var(--prm-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.prm-near .prm-near-row:hover { border-color: rgba(162, 141, 255, .55); background: rgba(124, 92, 255, .12); }
.prm-near-pin { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px dashed var(--prm-violet-2); background: var(--prm-violet-soft); }
.prm-near-pin::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #cdbfff; }
.prm-near-main { min-width: 0; }
.prm-near-main strong { display: block; font-size: 14px; line-height: 1.3; }
.prm-near-main strong em { color: var(--prm-violet-2); font-style: normal; font-weight: 700; }
.prm-near-main small { display: block; margin-top: 2px; color: var(--prm-muted); font-size: 12.5px; line-height: 1.35; }
.prm-near-main small b { color: var(--prm-text); }
.prm-near-main small .is-zero { color: var(--prm-amber); font-weight: 700; }
.prm-near-main small .is-hit { color: var(--prm-mint); font-weight: 700; }
.prm-near-km { text-align: right; color: var(--prm-muted); font-size: 11.5px; line-height: 1.1; white-space: nowrap; }
.prm-near-km b { display: block; color: var(--prm-text); font: 400 26px/1 var(--prm-display); letter-spacing: .02em; }
.prm-near-regions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; color: var(--prm-faint); font-size: 12px; }
.prm-near .prm-near-region {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .04);
  color: var(--prm-text);
  font: 600 12.5px/1 Inter, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
}
.prm-near .prm-near-region b { color: var(--prm-mint); font-weight: 800; }
.prm-near .prm-near-region:hover { border-color: rgba(162, 141, 255, .55); }
.prm-empty .prm-btn { margin-top: 6px; }

/* karta w pełnym ekranie: z odstępem od wcięć ekranu, na telefonie niższa */
.prm-geo.is-full:not(.is-narrow) .prm-geo-card { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); left: calc(12px + env(safe-area-inset-left, 0px)); }
.prm-geo.is-full.is-narrow .prm-geo-card { max-height: 52%; }
.prm-geo.is-full.is-narrow .prm-geo-card-photo { height: 104px; }

@keyframes prm-geo-new { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes prm-geo-blip { 0% { opacity: .95; transform: scale(1); } 16% { opacity: 0; transform: scale(2.3); } 100% { opacity: 0; transform: scale(2.3); } }

/* ---------------------------------------------------------------- karty i filtry */

.prm-card {
  padding: 22px 24px;
  border-radius: var(--prm-radius);
  border: 1px solid var(--prm-line);
  background: linear-gradient(150deg, rgba(19, 29, 58, .94), rgba(11, 18, 38, .95));
  box-shadow: var(--prm-shadow);
}

.prm-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.prm-heading { margin: 0; font-family: var(--prm-head); font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.prm-caption { margin: 5px 0 0; color: var(--prm-muted); font-size: 13.5px; line-height: 1.5; }
.prm-count { color: var(--prm-faint); font-weight: 600; }

.prm-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px; min-height: 38px; }

.prm-area-chip, .prm-chip-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 5px 0 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(124, 92, 255, .22), rgba(63, 214, 255, .10));
  border: 1px solid rgba(124, 92, 255, .42);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.prm-chip-all { padding-right: 14px; background: rgba(255, 255, 255, .05); border-color: var(--prm-line); color: var(--prm-muted); }
.prm-area-chip > svg, .prm-chip-all > svg { width: 16px; height: 16px; color: var(--prm-violet-2); }
.prm-area-chip em { font-style: normal; color: #c9bfff; font-weight: 700; }

.prm-chip-x {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  color: var(--prm-text);
  cursor: pointer;
  line-height: 0;
  transition: background .15s ease, color .15s ease;
}

.prm-chip-x svg { width: 15px; height: 15px; display: block; }
.prm-chip-x:hover { background: var(--prm-rose-soft); color: var(--prm-rose); }

.prm-area-add, .prm-filter-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.prm-filter-row { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--prm-line-2); gap: 14px 20px; }
.prm-field { display: grid; gap: 7px; min-width: 0; }
.prm-label { color: var(--prm-muted); font-size: 12px; font-weight: 600; letter-spacing: .02em; }

.prm-input, .prm-select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--prm-line);
  background: rgba(4, 8, 20, .55);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.prm-input:focus-within, .prm-select:focus-within { border-color: rgba(124, 92, 255, .7); box-shadow: 0 0 0 3px rgba(124, 92, 255, .18); }
.prm-input--grow { flex: 1 1 280px; }
.prm-input svg { color: var(--prm-faint); }
.prm-input input, .prm-select select { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--prm-text); font: inherit; font-size: 14.5px; }
.prm-input input::placeholder { color: var(--prm-faint); }
.prm-input--suffix { width: 190px; }
.prm-input--suffix em { font-style: normal; color: var(--prm-faint); font-size: 13px; }
.prm-select { padding-right: 36px; }
.prm-select::after { content: ""; position: absolute; right: 15px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--prm-muted); border-bottom: 2px solid var(--prm-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.prm-select select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 4px; }
.prm-select option { background: #0f1830; color: var(--prm-text); }

.prm-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(4, 8, 20, .55); border: 1px solid var(--prm-line); }
.prm-seg button { min-width: 52px; height: 36px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--prm-muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .15s ease, color .15s ease; }
.prm-seg button:hover { color: var(--prm-text); }
.prm-seg button.is-active { background: var(--prm-grad); color: #fff; box-shadow: 0 6px 18px rgba(124, 92, 255, .35); }

.prm-toggles { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-bottom: 11px; }
.prm-toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--prm-text); font-size: 14px; cursor: pointer; user-select: none; }
.prm-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.prm-toggle-ui { position: relative; width: 40px; height: 23px; flex: 0 0 auto; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid var(--prm-line); transition: background .18s ease; }
.prm-toggle-ui::after { content: ""; position: absolute; left: 2px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: #d8def0; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .18s ease, background .18s ease; }
.prm-toggle input:checked + .prm-toggle-ui { background: var(--prm-violet); border-color: var(--prm-violet); }
.prm-toggle input:checked + .prm-toggle-ui::after { transform: translateX(17px); background: #fff; }
.prm-toggle input:focus-visible + .prm-toggle-ui { box-shadow: 0 0 0 3px rgba(124, 92, 255, .35); }
.prm-toggle--big .prm-toggle-ui { width: 52px; height: 30px; }
.prm-toggle--big .prm-toggle-ui::after { width: 24px; height: 24px; }
.prm-toggle--big input:checked + .prm-toggle-ui { background: var(--prm-mint); border-color: var(--prm-mint); }
.prm-toggle--big input:checked + .prm-toggle-ui::after { transform: translateX(22px); }

.prm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .06);
  color: var(--prm-text);
  font: inherit;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.prm-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(148, 163, 214, .32); }
.prm-btn:active { transform: translateY(1px); }
.prm-btn:disabled { opacity: .55; cursor: progress; }
.prm-btn--primary, .prm-btn--accent { background: var(--prm-grad); border-color: transparent; color: #fff; box-shadow: 0 10px 26px rgba(124, 92, 255, .32); }
.prm-btn--primary:hover, .prm-btn--accent:hover { background: var(--prm-grad); filter: brightness(1.08); border-color: transparent; }
.prm-btn--accent { background: rgba(124, 92, 255, .18); border-color: rgba(124, 92, 255, .5); box-shadow: none; }
.prm-btn--accent:hover { background: rgba(124, 92, 255, .28); filter: none; }
.prm-btn--on { background: var(--prm-mint); color: #052417; box-shadow: 0 10px 26px rgba(59, 209, 155, .3); }
.prm-btn--on:hover { background: var(--prm-mint); filter: brightness(1.05); }
.prm-btn--ghost { background: transparent; color: var(--prm-muted); }

.prm-notify {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(59, 209, 155, .08), rgba(63, 214, 255, .05));
  border: 1px solid rgba(59, 209, 155, .22);
}

.prm-notify-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--prm-mint-soft); color: var(--prm-mint); flex: 0 0 auto; }
.prm-notify-ico svg { width: 24px; height: 24px; }
.prm-notify-copy { flex: 1 1 320px; min-width: 0; }
.prm-notify-copy strong { display: block; font-family: var(--prm-head); font-size: 15px; }
.prm-notify-copy small { display: block; margin-top: 3px; color: var(--prm-muted); font-size: 13px; line-height: 1.5; }
.prm-notify-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prm-saved { color: var(--prm-muted); font-size: 13px; }
.prm-saved.is-dirty { color: var(--prm-amber); }

/* ---------------------------------------------------------------- wyniki */

.prm-results { display: grid; gap: 14px; }
.prm-results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 4px 4px 0; }
.prm-view { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--prm-line); }
.prm-view-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; color: var(--prm-muted); padding: 8px 14px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.prm-view-btn.is-active { background: var(--prm-violet-soft); color: var(--prm-text); }
.prm-loading .prm-list { opacity: .55; transition: opacity .2s ease; }

.prm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }

.prm-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 20px;
  border: 1px solid var(--prm-line);
  background: linear-gradient(160deg, rgba(20, 30, 60, .96), rgba(12, 19, 40, .97));
  box-shadow: 0 16px 40px rgba(0, 0, 0, .28);
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  animation: prm-rise .45s ease both;
}

.prm-item:hover, .prm-item:focus-visible { transform: translateY(-3px); border-color: rgba(124, 92, 255, .55); box-shadow: 0 22px 50px rgba(0, 0, 0, .4), 0 0 0 1px rgba(124, 92, 255, .25); outline: none; }
.prm-item.is-hidden { opacity: .5; }
.prm-item.is-gone { opacity: .65; }

.prm-photo { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: linear-gradient(135deg, #1a2550, #0d1430); }
.prm-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.prm-item:hover .prm-photo img { transform: scale(1.04); }
.prm-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 22, .15) 0%, transparent 35%, transparent 55%, rgba(6, 10, 22, .88) 100%); pointer-events: none; }
.prm-photo.is-empty, .prm-photo.is-broken { display: grid; place-items: center; }
.prm-photo.is-empty::before, .prm-photo.is-broken::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 214, .16) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}
.prm-photo.is-broken img { display: none; }
.prm-photo-empty { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; color: var(--prm-faint); font-size: 12.5px; }
.prm-photo-empty svg { width: 34px; height: 34px; opacity: .7; }
.prm-photo-count { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(6, 10, 22, .72); font-size: 12px; font-weight: 600; }
.prm-photo-place { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.prm-photo-place svg { width: 15px; height: 15px; color: var(--prm-cyan); }
.prm-photo-place span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prm-ring { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.prm-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.prm-ring .bg { stroke: rgba(255, 255, 255, .14); }
.prm-ring b { position: relative; font-family: var(--prm-display); font-weight: 400; line-height: 1; letter-spacing: .02em; }
.prm-ring--card { position: absolute; left: 12px; top: 12px; z-index: 2; width: 58px; height: 58px; border-radius: 50%; background: rgba(6, 10, 22, .78); box-shadow: 0 8px 20px rgba(0, 0, 0, .45); }
.prm-ring--card b { font-size: 26px; }
.prm-ring--row { width: 48px; height: 48px; }
.prm-ring--row b { font-size: 21px; }
.prm-ring--big { width: 92px; height: 92px; border-radius: 50%; background: rgba(6, 10, 22, .72); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.prm-ring--big b { font-size: 40px; }
.prm-ring.top .fg { stroke: var(--prm-mint); filter: drop-shadow(0 0 4px rgba(59, 209, 155, .7)); }
.prm-ring.good .fg { stroke: var(--prm-cyan); filter: drop-shadow(0 0 4px rgba(63, 214, 255, .7)); }
.prm-ring.ok .fg { stroke: var(--prm-amber); filter: drop-shadow(0 0 4px rgba(245, 181, 74, .7)); }
/* 20.10.2026: lokal poza Radarem – szary pierścień bez starej oceny */
.prm-ring.gone .fg { stroke: transparent; filter: none; }
.prm-ring.gone b { color: var(--prm-faint); }

.prm-new { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--prm-grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(124, 92, 255, .4); }
.prm-new--card { position: absolute; left: 80px; top: 26px; z-index: 2; }

.prm-item-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 15px 16px 16px; flex: 1; min-width: 0; }
.prm-item-body h3 { margin: 0; font-family: var(--prm-head); font-size: 16.5px; font-weight: 700; line-height: 1.32; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prm-facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.prm-fact { padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--prm-line-2); min-width: 0; }
.prm-fact small { display: flex; align-items: center; gap: 5px; color: var(--prm-faint); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.prm-fact small svg { width: 13px; height: 13px; }
.prm-fact strong { display: block; margin-top: 3px; font-size: 14.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.prm-fact em { display: block; margin-top: 1px; font-style: normal; color: var(--prm-faint); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prm-item-desc { margin: 0; color: var(--prm-muted); font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prm-item-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 2px; }

.prm-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.prm-chip svg { width: 14px; height: 14px; }
.prm-chip--ok { background: var(--prm-mint-soft); color: var(--prm-mint); }
.prm-chip--warn { background: var(--prm-amber-soft); color: var(--prm-amber); }
.prm-chip--muted { background: rgba(255, 255, 255, .07); color: var(--prm-muted); }
.prm-chip--dist { background: var(--prm-violet-soft); color: #cfc4ff; }

.prm-star {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--prm-line);
  background: rgba(255, 255, 255, .05);
  color: var(--prm-muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.prm-star svg { width: 17px; height: 17px; }
.prm-star:hover { border-color: var(--prm-amber); color: var(--prm-amber); }
.prm-star.is-on { background: var(--prm-amber-soft); border-color: rgba(245, 181, 74, .6); color: var(--prm-amber); }
.prm-star--icon { min-width: 38px; height: 38px; justify-content: center; padding: 0 9px; flex: 0 0 auto; }
.prm-star--icon span { font-size: 12px; }

/* tabela */
.prm-table-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--prm-line); background: linear-gradient(160deg, rgba(19, 29, 58, .94), rgba(11, 18, 38, .95)); }
.prm-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.prm-table th { position: sticky; top: 0; text-align: left; padding: 12px 12px; color: var(--prm-faint); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; border-bottom: 1px solid var(--prm-line); white-space: nowrap; background: rgba(12, 19, 40, .98); }
.prm-table td { padding: 11px 12px; border-bottom: 1px solid var(--prm-line-2); vertical-align: middle; }
.prm-table tr:last-child td { border-bottom: 0; }
.prm-row { cursor: pointer; transition: background .12s ease; }
.prm-row:hover, .prm-row:focus-visible { background: rgba(124, 92, 255, .07); outline: none; }
.prm-row.is-hidden, .prm-row.is-gone { opacity: .55; }
.prm-thumb { position: relative; width: 96px; height: 66px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #1a2550, #0d1430); display: grid; place-items: center; color: var(--prm-faint); }
.prm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.prm-thumb svg { width: 22px; height: 22px; opacity: .6; }
.prm-thumb.is-broken img { display: none; }
.prm-col-main { min-width: 260px; }
.prm-row-title { font-weight: 700; line-height: 1.3; }
.prm-row-place { color: var(--prm-muted); font-size: 13px; margin-top: 3px; }
.prm-row-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.prm-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.prm-num small { display: block; color: var(--prm-faint); font-size: 12px; margin-top: 2px; }
.prm-num--warn { color: var(--prm-amber); font-weight: 800; }

/* szkielet ładowania */
.prm-skel { pointer-events: none; animation: none; }
.prm-skel .prm-photo, .prm-skel .sk { background: linear-gradient(90deg, rgba(255, 255, 255, .04) 25%, rgba(255, 255, 255, .09) 37%, rgba(255, 255, 255, .04) 63%); background-size: 400% 100%; animation: prm-shimmer 1.3s ease infinite; }
.prm-skel .sk { height: 14px; border-radius: 7px; }

.prm-empty { display: grid; justify-items: center; gap: 8px; padding: 42px 24px; text-align: center; color: var(--prm-muted); border: 1px dashed var(--prm-line); border-radius: 20px; background: rgba(255, 255, 255, .02); }
.prm-empty strong { color: var(--prm-text); font-family: var(--prm-head); font-size: 17px; }
.prm-empty-ico { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--prm-cyan-soft); color: var(--prm-cyan); }
.prm-empty-ico svg { width: 34px; height: 34px; animation: prm-spin 6s linear infinite; }
.prm-error { padding: 16px; border-radius: 14px; background: var(--prm-rose-soft); color: #ffc4d0; }

/* ---------------------------------------------------------------- jak czytać */
.prm-about summary { cursor: pointer; list-style: none; }
.prm-about summary::-webkit-details-marker { display: none; }
.prm-about summary .prm-heading::after { content: " ▾"; color: var(--prm-muted); font-size: 14px; }
.prm-about details[open] summary .prm-heading::after { content: " ▴"; }
.prm-about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.prm-about-grid p { margin: 6px 0 0; color: var(--prm-muted); font-size: 13px; line-height: 1.6; }
.prm-disclaimer { margin: 14px 0 0; color: var(--prm-faint); font-size: 12px; line-height: 1.6; }

/* ---------------------------------------------------------------- szczegóły lokalu */
.prm-dialog {
  width: min(940px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 1px solid var(--prm-line);
  border-radius: 26px;
  background: linear-gradient(170deg, #101a33, #0a1225);
  color: var(--prm-text);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7);
  overflow: auto;
}

.prm-dialog::backdrop { background: rgba(3, 6, 14, .75); backdrop-filter: blur(4px); }
.prm-dialog[open] { animation: prm-pop .22s ease both; }
.prm-dialog-inner { display: grid; gap: 16px; padding-bottom: 22px; }

.prm-d-hero { position: relative; min-height: 340px; background: linear-gradient(135deg, #1a2550, #0b1229); overflow: hidden; }
.prm-d-hero img.main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prm-d-hero img.main.is-broken { display: none; }
.prm-d-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 10, 22, .35) 0%, transparent 30%, rgba(6, 10, 22, .55) 62%, rgba(10, 18, 37, 1) 100%); }
.prm-d-hero.is-empty::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(148, 163, 214, .16) 1.2px, transparent 1.2px); background-size: 20px 20px; }
.prm-d-hero-copy { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 2; display: flex; align-items: flex-end; gap: 18px; }
.prm-d-hero-copy > div { min-width: 0; }
.prm-d-place { display: flex; align-items: center; gap: 6px; color: #d7def2; font-size: 14px; font-weight: 600; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.prm-d-place svg { width: 16px; height: 16px; color: var(--prm-cyan); }
.prm-d-hero h2 { margin: 6px 0 8px; font-family: var(--prm-head); font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; text-shadow: 0 3px 16px rgba(0, 0, 0, .6); }
.prm-close { position: absolute; right: 16px; top: 16px; z-index: 3; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(6, 10, 22, .6); color: #fff; cursor: pointer; line-height: 0; backdrop-filter: blur(6px); }
.prm-close svg { width: 20px; height: 20px; display: block; }
.prm-close:hover { background: rgba(255, 107, 134, .25); }
.prm-d-credit { position: absolute; right: 16px; bottom: 14px; z-index: 2; color: rgba(215, 222, 242, .7); font-size: 11.5px; }
.prm-d-credit a { color: #c9bfff; }

.prm-d-thumbs { display: flex; gap: 8px; padding: 0 22px; margin-top: -4px; overflow-x: auto; }
.prm-d-thumb { flex: 0 0 auto; width: 82px; height: 58px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #111a33; cursor: pointer; opacity: .75; transition: opacity .15s ease, border-color .15s ease; }
.prm-d-thumb.is-active { border-color: var(--prm-violet); opacity: 1; }
.prm-d-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.prm-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 22px; }
.prm-metric { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--prm-line); min-width: 0; }
.prm-metric > span { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; }
.prm-metric > span svg { width: 21px; height: 21px; }
.prm-metric small { display: block; color: var(--prm-faint); font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.prm-metric strong { display: block; margin-top: 2px; font-family: var(--prm-display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.prm-metric em { display: block; margin-top: 3px; font-style: normal; color: var(--prm-muted); font-size: 12px; }
.m-mint > span { background: var(--prm-mint-soft); color: var(--prm-mint); }
.m-violet > span { background: var(--prm-violet-soft); color: var(--prm-violet-2); }
.m-cyan > span { background: var(--prm-cyan-soft); color: var(--prm-cyan); }
.m-amber > span { background: var(--prm-amber-soft); color: var(--prm-amber); }

.prm-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 22px; }
.prm-actions-spacer { flex: 1; }
.prm-interest-note { color: var(--prm-muted); font-size: 13px; }

.prm-section { width: auto; margin: 0 22px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--prm-line-2); min-width: 0; }
.prm-section h3 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; font-family: var(--prm-head); font-size: 15px; font-weight: 700; }
.prm-section h3 svg { width: 18px; height: 18px; }
.prm-section h3 small { color: var(--prm-faint); font-weight: 400; font-family: Inter, system-ui, sans-serif; }
.prm-section p { margin: 0; color: #d6def0; line-height: 1.65; font-size: 14.5px; }
.prm-ai { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--prm-grad); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.prm-ai svg { width: 12px; height: 12px; }
.prm-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 0 22px; width: auto; }
.prm-cols .prm-section { margin: 0; }
.prm-section ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.prm-section li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: #d6def0; font-size: 14px; }
.prm-section li > svg { width: 18px; height: 18px; margin-top: 1px; }
.prm-list-plus li > svg { color: var(--prm-mint); }
.prm-list-minus li > svg { color: var(--prm-amber); }
.prm-list-q li > svg { color: var(--prm-violet-2); }
.prm-section--plus h3 svg { color: var(--prm-mint); }
.prm-section--minus h3 svg { color: var(--prm-amber); }
.prm-section--q h3 svg { color: var(--prm-violet-2); }

.prm-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 18px; margin: 0; }
.prm-facts div { min-width: 0; }
.prm-facts dt { color: var(--prm-faint); font-size: 12px; }
.prm-facts dd { margin: 3px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.prm-facts dd small { color: var(--prm-faint); font-weight: 400; }
.prm-yes { color: var(--prm-mint); }
.prm-no { color: var(--prm-rose); }
.prm-unknown { color: var(--prm-faint); font-weight: 500; }
.prm-near { margin: 12px 0 0 !important; font-size: 13px; color: var(--prm-muted) !important; }
.prm-ai-note { margin: 0 22px; color: var(--prm-muted); font-size: 13px; line-height: 1.6; }
.prm-ai-note a { color: #c9bfff; }
.prm-ai-note.prm-gone-note { margin-top: 14px; }
.prm-dialog .prm-disclaimer { margin: 0 22px; }

/* ---------------------------------------------------------------- komunikat */
.prm-toast {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100% - 36px));
  padding: 13px 16px;
  border-radius: 16px;
  background: #121f3b;
  border: 1px solid rgba(59, 209, 155, .45);
  color: var(--prm-text);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
  font-size: 14px;
  line-height: 1.45;
  animation: prm-rise .25s ease both;
}

.prm-toast[data-kind="error"] { border-color: rgba(255, 107, 134, .6); }

/* ---------------------------------------------------------------- animacje */
@keyframes prm-spin { to { transform: rotate(360deg); } }
@keyframes prm-ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes prm-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes prm-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes prm-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes prm-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------------------------------------------------------------- tablet i telefon */
@media (max-width: 1020px) {
  .prm-hero { grid-template-columns: 1fr; }
  .prm-hero .prm-geo { max-width: 680px; justify-self: center; }
  .prm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .prm-shell { width: calc(100% - 20px); margin-top: 10px; gap: 14px; }
  .prm-hero { padding: 20px 18px 26px; border-radius: 22px; gap: 18px; }
  .prm-lead { font-size: 14px; }
  .prm-stats { gap: 8px; }
  .prm-stat { padding: 12px 12px 11px; }
  .prm-stat strong { font-size: 30px; }
  /* telefon: najpierw tytuł i liczby, zaraz potem mapa; opis pod mapą */
  .prm-hero { gap: 0; }
  .prm-hero-copy { display: contents; }
  .prm-hero-copy > * { position: relative; z-index: 1; }
  .prm-kicker { order: 1; justify-self: start; }
  .prm-title { order: 2; }
  .prm-stats { order: 3; margin-top: 14px; }
  .prm-updated { order: 4; margin-top: 10px; }
  .prm-hero .prm-geo { order: 5; max-width: none; width: calc(100% + 20px); margin: 14px -10px 0; }
  .prm-near { order: 6; margin-top: 14px; }
  .prm-lead { order: 7; margin-top: 16px; }
  .prm-geo-frame { border-radius: 20px; aspect-ratio: 1 / 1.04; }
  .prm-geo-legend { font-size: 10.5px; gap: 4px 9px; padding: 6px 10px; }
  .prm-geo-title { font-size: 11.5px; padding: 7px 11px; }
  .prm-card { padding: 16px; }
  .prm-area-add .prm-btn, .prm-area-add .prm-select { flex: 1 1 100%; }
  .prm-filter-row { gap: 14px; }
  .prm-field { flex: 1 1 100%; }
  .prm-seg { display: flex; }
  .prm-seg button { flex: 1; }
  .prm-input--suffix { width: 100%; }
  .prm-results-head { align-items: flex-start; flex-direction: column; }
  .prm-grid { grid-template-columns: 1fr; }
  .prm-dialog { width: calc(100% - 10px); max-height: calc(100vh - 10px); border-radius: 20px; }
  /* telefon: zdjęcie u góry, ocena na jego krawędzi, tytuł pod spodem (czytelny, nie na zdjęciu) */
  .prm-d-hero { min-height: 0; display: flex; flex-direction: column; background: transparent; overflow: visible; }
  .prm-d-hero img.main { position: relative; inset: auto; height: 230px; flex: 0 0 auto; border-radius: 20px 20px 0 0; }
  .prm-d-hero::after { top: 0; bottom: auto; height: 230px; border-radius: 20px 20px 0 0; background: linear-gradient(180deg, rgba(6, 10, 22, .35) 0%, transparent 40%, rgba(10, 18, 37, .92) 100%); }
  .prm-d-hero.is-empty { padding-top: 64px; background: linear-gradient(135deg, #1a2550, #0b1229); }
  .prm-d-hero.is-empty::after { display: none; }
  .prm-d-hero-copy { position: relative; left: auto; right: auto; bottom: auto; z-index: 2; margin-top: -42px; padding: 0 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .prm-d-hero-copy > div { display: contents; }
  .prm-d-hero-copy > .prm-ring { grid-row: 1 / span 2; }
  .prm-d-hero-copy .prm-d-place { grid-column: 2; padding-top: 48px; }
  .prm-d-hero-copy h2 { grid-column: 2; }
  .prm-d-hero-copy .prm-row-chips { grid-column: 1 / -1; margin-top: 4px !important; }
  .prm-d-hero h2 { text-shadow: none; }
  .prm-d-place { text-shadow: none; }
  .prm-d-credit { position: static; padding: 8px 16px 0; text-align: right; }
  .prm-ring--big { width: 76px; height: 76px; }
  .prm-ring--big b { font-size: 33px; }
  .prm-metrics, .prm-actions, .prm-d-thumbs { padding: 0 14px; }
  .prm-metrics { grid-template-columns: 1fr 1fr; gap: 8px; }
  .prm-metric { flex-direction: column; align-items: flex-start; padding: 12px; gap: 8px; }
  .prm-metric > span { width: 30px; height: 30px; border-radius: 9px; }
  .prm-metric > span svg { width: 17px; height: 17px; }
  .prm-metric small { font-size: 10.5px; }
  .prm-metric strong { font-size: 24px; }
  .prm-section, .prm-cols, .prm-ai-note, .prm-dialog .prm-disclaimer { margin-left: 14px; margin-right: 14px; }
  .prm-actions-spacer { display: none; }
  .prm-actions .prm-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .prm-live::after, .prm-empty-ico svg, .prm-geo-sweep i, .prm-gpin-c::before, .prm-gcl-c::before,
  .prm-gpin.is-new .prm-gpin-c::after, .prm-geo-card { animation: none !important; }
  .prm-geo-sweep { display: none; }
  .prm-item, .prm-row, .prm-btn, .prm-item .prm-photo img { transition: none; animation: none; }
}

/* 10.11.2026 (model v3.2 skanera): z czego składa się ocena, uwaga o czynszu */
.prm-parts { display: grid; gap: 10px; }
.prm-part { display: grid; grid-template-columns: minmax(130px, 200px) minmax(60px, 1fr) auto; align-items: center; gap: 12px; font-size: 13.5px; }
.prm-part-name { color: #d6def0; min-width: 0; }
.prm-part-bar { display: block; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.prm-part-bar i { display: block; height: 100%; border-radius: inherit; background: var(--prm-mint); }
.prm-part-bar i.mid { background: var(--prm-amber); }
.prm-part-bar i.low { background: var(--prm-rose); }
.prm-part-val { color: var(--prm-muted); font-size: 12.5px; white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.prm-section p.prm-part-note { margin-top: 12px; color: var(--prm-muted); font-size: 13px; line-height: 1.55; }
.prm-price-note { display: flex; align-items: flex-start; gap: 9px; margin: 0 22px; padding: 11px 14px; border-radius: 14px; background: var(--prm-amber-soft); color: var(--prm-amber); font-size: 13.5px; line-height: 1.5; }
.prm-price-note svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 760px) {
  .prm-price-note { margin-left: 14px; margin-right: 14px; }
}
@media (max-width: 560px) {
  .prm-part { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; }
  .prm-part-bar { grid-column: 1 / -1; grid-row: 2; }
}
/* 17.11.2026: konto próbne – jedno miasto w całości, pozostałe lokale „zamazane” (dane ukryte już na serwerze) */
.prm-limited .prm-filters > .prm-card-head, .prm-limited #areaChips, .prm-limited #areaForm, .prm-limited .prm-view { display: none; }
.prm-trial { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; border-color: rgba(124, 92, 255, .42); }
.prm-trial-copy { flex: 1 1 420px; min-width: 0; }
.prm-trial-copy .prm-heading { margin-top: 10px; }
.prm-trial-copy p { margin: 6px 0 0; max-width: 74ch; color: var(--prm-muted); font-size: 14px; line-height: 1.6; }
.prm-trial-form { margin-top: 14px; }
.prm-trial-cities { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; color: var(--prm-faint); font-size: 12px; }
.prm-trial-cities .prm-near-region { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--prm-line); background: rgba(255, 255, 255, .04); color: var(--prm-text); font: 600 12.5px/1 Inter, "Segoe UI", system-ui, sans-serif; cursor: pointer; }
.prm-trial-cities .prm-near-region b { color: var(--prm-mint); font-weight: 800; }
.prm-trial-cities .prm-near-region:hover { border-color: rgba(162, 141, 255, .55); }
.prm-limited .prm-filters .prm-filter-row { margin-top: 0; padding-top: 0; border-top: 0; }
.prm-trial-confirm, .prm-lock-confirm { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--prm-violet-soft); border: 1px solid rgba(124, 92, 255, .42); }
.prm-trial-confirm p, .prm-lock-confirm p { margin: 6px 0 0; color: var(--prm-text); font-size: 14px; line-height: 1.55; }
.prm-dialog-inner > .prm-lock-confirm { margin: 0 22px; }
.prm-d-hero--locked { min-height: 210px; }
.prm-lock-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.prm-dialog-inner > .prm-lock-actions { margin: 0 22px; }
.prm-lock-note { margin: -6px 22px 0; color: var(--prm-muted); font-size: 13.5px; line-height: 1.55; }
.prm-photo--locked { background: #0f1733; }
.prm-lock-art { position: absolute; inset: -22%; filter: blur(20px); background:
  radial-gradient(circle at 22% 36%, rgba(124, 92, 255, .6), transparent 42%),
  radial-gradient(circle at 72% 28%, rgba(63, 214, 255, .42), transparent 40%),
  radial-gradient(circle at 56% 82%, rgba(59, 209, 155, .32), transparent 46%),
  linear-gradient(135deg, #1b2550, #0f1733); }
.prm-lock-badge { position: absolute; left: 50%; top: 44%; z-index: 2; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(6, 10, 22, .74); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.prm-lock-badge svg, .prm-lock-cta svg { width: 14px; height: 14px; }
.prm-blur { filter: blur(6px); opacity: .85; user-select: none; pointer-events: none; }
.prm-blur-lines { display: grid !important; gap: 7px; overflow: visible; }
.prm-blur-lines i { display: block; height: 9px; border-radius: 6px; background: rgba(255, 255, 255, .13); filter: blur(2px); }
.prm-blur-lines i:nth-child(2) { width: 72%; }
.prm-lock-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--prm-violet-2); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.prm-list-lock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 16px; }
.prm-list-lock li { display: flex; align-items: center; gap: 8px; color: var(--prm-muted); font-size: 14px; }
.prm-list-lock svg { width: 15px; height: 15px; flex: none; color: var(--prm-violet-2); }
@media (max-width: 760px) {
  .prm-trial > .prm-btn { width: 100%; justify-content: center; }
  .prm-dialog-inner > .prm-lock-confirm, .prm-dialog-inner > .prm-lock-actions, .prm-lock-note { margin-left: 16px; margin-right: 16px; }
}
