﻿/* /{operator}/{slug} — раскладка поверх компонентов (этап 5–6 группа 1B).
   Специфичность .loc-page против arcade.css `* { margin:0 }`.
   Live/CS/tariff классы (loc-st-*, cs-*, loc-tariff-*) сохранены для JS. */

body.location-page.loc-page {
  --loc-map-min: 180px;
  --loc-inset-glow: color-mix(in srgb, var(--accent) 10%, transparent);
  --loc-gap: var(--s-3);
  --loc-pad: var(--s-4);
  --loc-photo-strip-h: 200px;
  overflow-x: clip;
  max-width: 100%;
}

html:has(body.location-page.loc-page) {
  overflow-x: clip;
}

/* ── Component bridges (hero / stat / card / chip / badge) ── */
.loc-page .hero.loc-hero {
  /* page owns layout; neutralize generic .hero 2-col */
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "identity rating-m";
  gap: var(--loc-gap, var(--s-3));
  align-items: stretch;
  margin-block-end: var(--loc-gap, var(--s-3));
  padding: 0;
  border: none;
  box-shadow: none;
  background: transparent;
}
@media (min-width: 900px) {
  .loc-page .hero.loc-hero {
    grid-template-columns: minmax(0, 13fr) auto minmax(140px, 8fr);
    grid-template-areas: "identity rating map";
    padding: var(--loc-pad, var(--s-4));
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
  }
  .loc-page .hero.loc-hero .hero__content.loc-hero-identity {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
}
.loc-page .hero.loc-hero .hero__content.loc-hero-identity {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: var(--loc-pad, var(--s-4));
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.loc-page .hero.loc-hero .hero__title.loc-hero-name {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
  line-height: inherit;
}
.loc-page .loc-hero-operator .chip {
  /* chip = brand solid; keep compact in hero */
  font-size: var(--t-caption);
}
.loc-page .stat-panel.loc-infra-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  box-shadow: none;
  /* рамка снята каноном .blk > .stat-panel (stat.css); низ — разделитель перед freshness */
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  gap: 0;
}
.loc-page .stat-panel.loc-infra-grid .stat-cell.loc-infra-cell {
  flex-direction: row;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 10px;
  border-right: 1px solid var(--hairline);
  background: transparent;
}
.loc-page .stat-panel.loc-infra-grid .stat-cell.loc-infra-cell:last-child {
  border-right: none;
}
.loc-page .stat-panel.loc-infra-grid .stat-cell__n {
  font-size: inherit;
  letter-spacing: inherit;
}
.loc-page a.card.loc-nearby-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
  margin: 0;
}
.loc-page .loc-nearby-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.loc-page .loc-st-stack .blk.loc-st-pole-blk,
.loc-page .loc-st-stack .blk.loc-st-hub-blk {
  border-radius: var(--radius-card);
}
.loc-page .loc-st-meta .badge {
  /* badge component on station rows */
  vertical-align: middle;
}

html[data-theme="arcade"] .loc-page .hero.loc-hero .hero__content.loc-hero-identity {
  padding: var(--loc-pad, var(--s-4));
}
html[data-theme="arcade"] .loc-page .stat-panel.loc-infra-grid .stat-cell.loc-infra-cell {
  padding: 14px 10px;
}
html[data-theme="arcade"] .loc-page a.card.loc-nearby-item {
  padding-block: var(--s-3);
  padding-inline: var(--s-3);
}


body.location-page.loc-page .loc-main-grid,
body.location-page.loc-page .loc-main-grid .blk {
  min-width: 0;
}

/* Р•РґРёРЅС‹Р№ gutter: grid gap РІРјРµСЃС‚Рѕ margin Сѓ .blk */
body.location-page.loc-page .loc-main-grid .blk {
  margin: 0;
  border-radius: var(--radius-card);
  padding: 0;
}

/* в”Ђв”Ђ Breadcrumbs в”Ђв”Ђ */
.loc-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: var(--ls-tight);
  color: var(--fg-3);
  margin-bottom: var(--s-4);
  text-transform: uppercase;
}
.loc-breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}
.loc-breadcrumbs a:hover { text-decoration: underline; }
.loc-breadcrumbs .loc-bc-sep { opacity: 0.45; }

/* в”Ђв”Ђ Shared в”Ђв”Ђ */
body.location-page.loc-page .blk-hdr {
  padding: var(--loc-pad);
}
.loc-blk-badge {
  font-family: var(--font);
  font-size: 10px;
  color: var(--accent);
  border: 1px solid var(--hairline);
  border-radius: 3px;
  padding: 2px 7px;
  letter-spacing: 0.05em;
}
.loc-empty,
.loc-empty-lead {
  padding: var(--loc-pad);
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.5;
}
.loc-empty-lead { margin: 0 0 var(--s-3); }

.loc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-family: var(--font);
  font-size: var(--t-caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.loc-btn:active {
  transform: scale(0.98);
}
.loc-btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
}
.loc-btn-primary:hover,
.loc-btn-primary:focus-visible {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
  color: var(--accent-fg);
  box-shadow: none;
  outline: none;
}
.loc-btn-secondary {
  border-color: var(--hairline);
  color: var(--fg-2);
  background: var(--surface);
}
.loc-btn-secondary:hover,
.loc-btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
  outline: none;
}
.loc-btn-community,
.loc-btn-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.loc-btn-community:hover,
.loc-btn-community:focus-visible,
.loc-btn-accent:hover,
.loc-btn-accent:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
  box-shadow: none;
  outline: none;
}

/* Three UGC CTAs — same shell, different entity color */
.loc-btn-cta-signal {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.loc-btn-cta-signal:hover,
.loc-btn-cta-signal:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-fg);
  outline: none;
}
.loc-btn-cta-photo {
  border-color: var(--nar-air);
  color: var(--nar-air);
  background: transparent;
}
.loc-btn-cta-photo:hover,
.loc-btn-cta-photo:focus-visible {
  background: color-mix(in srgb, var(--nar-air) 18%, transparent);
  border-color: var(--nar-air);
  color: var(--nar-air);
  outline: none;
}
.loc-btn-cta-review {
  border-color: var(--dc);
  color: var(--dc);
  background: transparent;
}
.loc-btn-cta-review:hover,
.loc-btn-cta-review:focus-visible {
  background: color-mix(in srgb, var(--dc) 16%, transparent);
  border-color: var(--dc);
  color: var(--dc);
  outline: none;
}
.loc-btn-tg {
  width: 100%;
  border-color: var(--accent);
  color: var(--accent);
}
.loc-btn-tg:hover,
.loc-btn-tg:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
  box-shadow: none;
  outline: none;
}
.loc-btn.is-copied {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.loc-review-cta--block {
  width: 100%;
  text-align: center;
}

/* в”Ђв”Ђ Hero в”Ђв”Ђ */
.loc-hero, .hero.loc-hero {
  display: grid;
  gap: var(--loc-gap);
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "identity rating-m";
  align-items: stretch;
  min-width: 0;
  margin-bottom: var(--loc-gap);
}
.loc-hero-shell,
.loc-hero-mobile-row {
  display: contents;
}
.loc-hero-identity, .hero__content.loc-hero-identity {
  grid-area: identity;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: var(--loc-pad);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.loc-hero-mobile-rating {
  grid-area: rating-m;
  margin: 0;
  padding: var(--loc-pad);
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
}
.loc-hero-mobile-rating .loc-hero-rating {
  height: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
  justify-content: center;
}
.loc-hero-shell > .loc-hero-inset.loc-hero-rating,
.loc-hero-shell > .loc-hero-inset.loc-hero-map-wrap {
  display: none;
}
.loc-hero-shell > .loc-hero-inset.loc-hero-rating {
  grid-area: rating;
}
.loc-hero-shell > .loc-hero-inset.loc-hero-map-wrap {
  grid-area: map;
}
.loc-hero-operator { margin-bottom: 4px; }
.loc-hero-operator .loc-hero-op:not(.chip) {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
  color: var(--c, var(--accent));
}
.loc-hero-name {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}
.loc-hero-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 2.4vw, 22px);
  line-height: 1.35;
  color: var(--accent);
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
  text-transform: uppercase;
  min-width: 0;
  max-width: 100%;
}
.loc-hero-city {
  font-family: var(--font-display);
  font-size: clamp(14px, 2.4vw, 22px);
  line-height: 1.35;
  color: var(--accent);
  text-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
  text-transform: uppercase;
  display: block;
  min-width: 0;
  max-width: 100%;
}
.loc-hero-street {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.6vw, 15px);
  line-height: 1.4;
  color: var(--accent);
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.loc-hero-venue {
  font-family: var(--font);
  font-size: clamp(10px, 1.2vw, 13px);
  line-height: 1.4;
  color: var(--ac);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.loc-hero-addr-meta {
  display: block;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(9px, 1.1vw, 12px);
  line-height: 1.45;
  color: var(--fg-2);
  text-transform: none;
  letter-spacing: 0.02em;
  min-width: 0;
  max-width: 100%;
}
.loc-hero-agg {
  font-size: 11px;
  color: var(--ac);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.loc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-2);
}
.loc-hero-identity .loc-hero-actions {
  flex-wrap: nowrap;
  width: 100%;
  margin-top: auto;
}
.loc-hero-identity .loc-hero-actions .loc-btn {
  flex: 1 1 50%;
  min-width: 0;
  font-size: clamp(10px, 2.5vw, 12px);
}
.loc-hero-actions-desktop { display: none; }

/* Inset cards (rating, map) */
.loc-hero-inset {
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
}
/* Р РµР№С‚РёРЅРі вЂ” Р±РµР· СЃРІРѕРµР№ РїРѕРґР»РѕР¶РєРё, С„РѕРЅ shell/.blk; РїСѓСЃС‚РѕР№ Рё СЃ РѕС‚Р·С‹РІР°РјРё РѕРґРёРЅР°РєРѕРІРѕ */
.loc-hero-inset.loc-hero-rating {
  background: transparent;
  box-shadow: none;
}
.loc-inset-lbl {
  display: block;
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.loc-hero-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s-3);
  min-width: 0;
  container-type: size;
  container-name: loc-rating;
}
.loc-hero-rating--compact .loc-rating-val {
  font-size: clamp(28px, 22cqh, 56px);
}
.loc-rating-val {
  font-family: var(--font-display);
  font-size: clamp(28px, 22cqh, 56px);
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 16px var(--accent), 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent);
}
.loc-rating-val--placeholder {
  opacity: 0.4;
  text-shadow: none;
}
.loc-rating-stars--empty {
  opacity: 0.4;
  color: var(--fg-3);
}
.loc-rating-stars {
  font-size: clamp(10px, 8cqh, 14px);
  letter-spacing: 2px;
  color: var(--yellow);
  margin: 6px 0;
}
.loc-rating-meta {
  font-size: clamp(8px, 6cqh, 9px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.loc-rating-cta {
  width: 100%;
  margin-top: auto;
  padding-top: var(--s-3);
}
.loc-rating-cta .loc-btn {
  width: 100%;
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 400;
  border-radius: 4px;
}

.loc-hero-map-wrap {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
}
.loc-hero-map {
  flex: 1 1 auto;
  min-height: var(--loc-map-min, 180px);
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: var(--surface-2);
}
.loc-hero-map .leaflet-container {
  height: 100%;
  min-height: var(--loc-map-min, 180px);
  background: var(--surface-2);
}
.loc-hero-map .leaflet-control-attribution {
  font-size: 10px;
  line-height: 1.2;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--fg-2);
  max-width: 100%;
}
.loc-hero-map .leaflet-control-attribution a {
  color: var(--fg-2);
}

@media (min-width: 900px) {
  .loc-hero, .hero.loc-hero {
    grid-template-columns: minmax(0, 13fr) auto minmax(140px, 8fr);
    grid-template-areas: "identity rating map";
    padding: var(--loc-pad);
    background: var(--surface);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
  }
  .loc-hero-identity, .hero__content.loc-hero-identity {
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }
  .loc-hero-mobile-rating {
    display: none;
  }
  .loc-hero-shell > .loc-hero-inset.loc-hero-rating,
  .loc-hero-shell > .loc-hero-inset.loc-hero-map-wrap {
    display: flex;
    min-height: var(--loc-map-min, 180px);
  }
  .loc-hero-h1 { font-size: clamp(18px, 2vw, 26px); }
  .loc-hero-city { font-size: clamp(18px, 2vw, 26px); }
  .loc-hero-street { font-size: clamp(11px, 1.3vw, 17px); }
  .loc-hero-actions {
    flex-wrap: nowrap;
    width: 100%;
  }
  .loc-hero-actions .loc-btn {
    flex: 1 1 33.333%;
    min-width: 0;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 400;
  }
  .loc-hero-actions-desktop {
    display: flex;
    flex: 1 1 33.333%;
    min-width: 0;
  }
  .loc-hero-actions-desktop .loc-review-cta {
    flex: 1;
    width: 100%;
    font-size: clamp(11px, 1vw, 14px);
    font-weight: 400;
  }
  .loc-hero-rating:not(.loc-hero-rating--compact) {
    width: 168px;
    padding: var(--s-3);
    align-self: stretch;
  }
  .loc-hero-rating:not(.loc-hero-rating--compact) .loc-rating-val {
    font-size: clamp(32px, 28cqh, 84px);
  }
  .loc-hero-rating:not(.loc-hero-rating--compact) .loc-rating-stars {
    font-size: clamp(10px, 8cqh, 14px);
  }
  .loc-hero-rating:not(.loc-hero-rating--compact) .loc-rating-meta {
    font-size: clamp(8px, 6cqh, 9px);
  }
}

/* в”Ђв”Ђ Main grid в”Ђв”Ђ */
.loc-main-grid {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap);
}
.loc-main-col,
.loc-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap);
  min-width: 0;
}
.loc-main-col > *,
.loc-sidebar > * {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.loc-page .blk.card.loc-infra-blk {
  padding: 0;
}
.loc-page .stat-panel.loc-infra-grid {
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .loc-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    column-gap: var(--loc-gap);
    align-items: start;
  }
  .loc-main-col {
    grid-column: 1;
  }
  .loc-sidebar {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  .loc-grid-main { grid-column: 1; }
  .loc-grid-side { grid-column: 2; }
  .loc-photos-blk .loc-photo-panel {
    display: flex;
    flex-direction: column;
  }
}

/* в”Ђв”Ђ Infrastructure в”Ђв”Ђ */
.loc-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
  min-height: 72px;
  border-bottom: 1px solid var(--hairline);
}
.loc-infra-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  border-right: 1px solid var(--hairline);
  min-width: 0;
}
.loc-infra-cell:last-child {
  border-right: none;
}
.loc-infra-ico {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: var(--accent);
  line-height: 0;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--accent) 85%, transparent));
}
.loc-infra-ico svg {
  display: block;
  width: 30px;
  height: 30px;
}
.loc-infra-copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-width: 0;
}
.loc-infra-val {
  font-family: var(--font-display);
  line-height: 1.45;
  color: var(--accent);
  text-transform: uppercase;
  text-shadow: 0 0 8px color-mix(in srgb, var(--accent) 45%, transparent);
  white-space: nowrap;
  text-align: center;
}
.loc-infra-val--edge {
  font-size: clamp(9px, 1.05vw, 12px);
}
.loc-infra-cell:first-child .loc-infra-copy {
  align-items: flex-end;
}
.loc-infra-cell:first-child .loc-infra-val {
  text-align: right;
}
.loc-infra-tariff-now {
  display: block;
  margin-top: 5px;
  font-family: var(--font);
  font-size: clamp(10px, 2.35vw, 13px);
  line-height: 1.35;
  color: var(--accent);
  letter-spacing: 0.02em;
  text-transform: none;
  text-shadow: none;
  white-space: normal;
  text-align: right;
  align-self: stretch;
  max-width: none;
}
.loc-infra-cell--conn .loc-infra-copy {
  align-items: flex-start;
}
.loc-infra-val-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  max-width: 100%;
  min-width: 0;
}
.loc-conn-line {
  display: block;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.4;
  color: inherit;
  text-transform: none;
  text-shadow: inherit;
  white-space: nowrap;
  max-width: 100%;
  text-align: left;
}
.loc-infra-cell--conn .loc-infra-val--center {
  font-size: clamp(8px, 0.95vw, 12px);
  text-align: left;
  align-self: flex-start;
}

/* Station cards: each pole is a .blk; hub wraps poles in an outer .blk */
.loc-st-stack {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap, var(--s-3));
  border: none;
  margin: 0;
}
.loc-st-hub-blk .blk-hdr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.loc-st-hub-blk .loc-st-hub-title {
  font-size: 14px;
  color: var(--fg);
  letter-spacing: 0.05em;
  line-height: 1.35;
}
.loc-st-hub-blk .loc-st-hub-note {
  margin: 6px 0 0;
  padding: 0;
  font-family: var(--font-mono, var(--font));
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--muted);
  font-weight: normal;
  text-transform: none;
}
@media (min-width: 900px) {
  .loc-st-hub-blk .loc-st-hub-title {
    font-size: 16px;
  }
  .loc-st-hub-blk .loc-st-hub-note {
    font-size: 13px;
  }
}
.loc-st-hub-body {
  display: flex;
  flex-direction: column;
  gap: var(--s-2, 10px);
  padding: 8px var(--loc-pad) var(--loc-pad);
}
.loc-st-hub-body .loc-st-pole-blk {
  margin: 0;
}
.loc-st-pole-blk {
  margin: 0;
}
.loc-st-pole-blk .loc-st-row {
  border-bottom: none;
  padding: 10px 12px;
}
.loc-st-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
  padding: 10px var(--loc-pad);
  min-width: 0;
}
.loc-st-num {
  flex: 0 0 auto;
  min-width: 1.75em;
  font-family: var(--font-display);
  font-size: clamp(14px, 2.8vw, 20px);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  text-align: center;
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
}
.loc-st-num--pole {
  min-width: 3em;
  font-size: clamp(8px, 2vw, 12px);
  line-height: 1.15;
  white-space: nowrap;
  text-align: left;
}
.loc-st-num--live {
  font-size: clamp(8px, 1.85vw, 12px);
}
.loc-st-num--live-ok {
  color: var(--accent);
}
.loc-st-num--live-busy {
  color: var(--warn);
}
.loc-st-row--inactive {
  opacity: 0.42;
}
.loc-st-row--inactive .loc-st-num,
.loc-st-num--inactive {
  color: var(--fg-4);
  text-shadow: none;
}
.loc-st-row--inactive .loc-st-guns,
.loc-st-row--inactive .loc-st-id,
.loc-st-row--inactive .st-type {
  filter: grayscale(0.85);
}
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--available {
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 45%, transparent);
}
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--charging {
  /* перебивает фон и pulse из components/occupancy-dots.css */
  background: var(--live-charging) !important;
  box-shadow: 0 0 6px color-mix(in srgb, var(--live-charging) 55%, transparent);
  animation: gun-dot-charge-pulse 1.15s ease-in-out infinite !important;
  animation-play-state: running !important;
}
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--unavailable {
  /* перебивает фон точки из components/occupancy-dots.css */
  background: var(--live-idle) !important;
  box-shadow: none;
  opacity: 0.7;
}
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--faulted {
  /* перебивает фон точки из components/occupancy-dots.css */
  background: var(--live-busy) !important;
  box-shadow: 0 0 6px color-mix(in srgb, var(--live-busy) 45%, transparent);
  opacity: 1;
}
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--reserved,
.loc-st-row--live .loc-st-guns .gun-dot--live.gun-dot--busy {
  box-shadow: 0 0 6px color-mix(in srgb, var(--warn) 35%, transparent);
}
.loc-st-row--live-guns {
  align-items: center;
  padding-top: 11px;
  padding-bottom: 11px;
}
.loc-st-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  align-self: center;
  min-width: 4.75rem;
  max-width: 9.5rem;
}
.loc-st-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 6px;
  min-width: 0;
}
body.location-page.loc-page .loc-st-meta .badge-dc,
body.location-page.loc-page .loc-st-meta .badge-ac,
body.location-page.loc-page .loc-st-meta .badge-acdc,
body.location-page.loc-page .loc-st-meta .badge.badge--dc,
body.location-page.loc-page .loc-st-meta .badge.badge--ac,
body.location-page.loc-page .loc-st-meta .badge.badge--acdc {
  border-radius: 4px;
  flex-shrink: 0;
}
.loc-st-meta .loc-st-type {
  flex: 0 0 auto;
  line-height: 1;
}
.loc-st-meta .loc-st-power {
  flex: 0 1 auto;
  min-width: 0;
  text-align: left;
}
.loc-st-row--live-guns .loc-st-guns {
  align-items: stretch;
  justify-content: center;
  gap: 5px;
}
.gun-conn-chip {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 5px 7px;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  box-sizing: border-box;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--on-brand) 8%, transparent);
  background: color-mix(in srgb, var(--bg) 22%, transparent);
  font-family: var(--font);
  font-size: clamp(11px, 2.8vw, 14px);
  line-height: 1.25;
  overflow: hidden;
}
.gun-conn-chip--soc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--chip-soc, 0) * 1%);
  pointer-events: none;
  z-index: 0;
}
.gun-conn-chip--soc.gun-conn-chip--charging::before {
  background: color-mix(in srgb, var(--live-charging) 12%, transparent);
}
.gun-conn-chip--soc.gun-conn-chip--finishing::before {
  background: color-mix(in srgb, var(--live-charging) 55%, var(--ac));
}
.gun-conn-chip--soc > * {
  position: relative;
  z-index: 1;
}
.gun-conn-chip--catalog {
  border-color: color-mix(in srgb, var(--on-brand) 6%, transparent);
  background: color-mix(in srgb, var(--bg) 14%, transparent);
}
.gun-conn-chip--available {
  justify-content: center;
  padding-top: 5px;
  padding-bottom: 5px;
  border-color: color-mix(in srgb, var(--live-free) 35%, transparent);
  background: color-mix(in srgb, var(--live-free) 5%, transparent);
}
.gun-conn-chip--available .gun-chip-badges {
  margin-left: auto;
}
.gun-conn-chip--charging {
  border-color: color-mix(in srgb, var(--live-charging) 50%, transparent);
  background: color-mix(in srgb, var(--live-charging) 8%, transparent);
}
.gun-conn-chip--finishing {
  border-color: color-mix(in srgb, var(--live-charging) 55%, var(--ac));
  background: color-mix(in srgb, var(--live-charging) 50%, var(--ac));
}
.gun-conn-chip--reserved,
.gun-conn-chip--busy {
  border-color: color-mix(in srgb, var(--warn) 35%, transparent);
  background: color-mix(in srgb, var(--warn) 5%, transparent);
}
.gun-conn-chip--unavailable,
.gun-conn-chip--offline,
.gun-conn-chip--unknown {
  border-color: color-mix(in srgb, var(--on-brand) 6%, transparent);
  background: color-mix(in srgb, var(--bg) 12%, transparent);
  opacity: 0.82;
}
.gun-conn-chip--faulted {
  border-color: color-mix(in srgb, var(--live-busy) 55%, transparent);
  background: color-mix(in srgb, var(--live-busy) 10%, transparent);
  opacity: 1;
}
.gun-conn-chip--on_service {
  border-color: color-mix(in srgb, var(--warn) 45%, transparent);
  background: color-mix(in srgb, var(--warn) 8%, transparent);
  opacity: 0.95;
}
.gun-conn-chip .gun-pill {
  flex-shrink: 0;
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
}
.gun-chip-sep {
  flex-shrink: 0;
  color: color-mix(in srgb, var(--on-brand) 22%, transparent);
  font-size: 0.88em;
  user-select: none;
}
.gun-chip-badges {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.gun-live-tag {
  font-family: var(--font);
  font-size: clamp(11px, 2.8vw, 14px);
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-transform: none;
  flex: 1 1 auto;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
}
.gun-live-tag--bp .gun-live-bp {
  display: none;
  white-space: nowrap;
}
.gun-live-tag--bp .gun-live-bp--full {
  display: inline;
}
@media (max-width: 639px) {
  .gun-live-tag--bp .gun-live-bp--full {
    display: none;
  }
  .gun-live-tag--bp .gun-live-bp--md {
    display: inline;
  }
}
@media (max-width: 399px) {
  .gun-live-tag--bp .gun-live-bp--md {
    display: none;
  }
  .gun-live-tag--bp .gun-live-bp--sm {
    display: inline;
  }
}
.gun-live-tag--unavailable,
.gun-live-tag--offline,
.gun-live-tag--unknown {
  color: var(--live-idle);
  font-size: clamp(10px, 2.4vw, 12px);
  letter-spacing: 0.02em;
}
.gun-live-tag--faulted {
  color: var(--live-busy);
  font-size: clamp(10px, 2.4vw, 12px);
  letter-spacing: 0.02em;
  font-weight: 600;
}
.gun-live-tag--on_service {
  color: var(--warn);
  font-size: clamp(10px, 2.4vw, 12px);
  letter-spacing: 0.02em;
}
.gun-live-tag--nodata,
.gun-conn-chip--nodata .gun-live-tag {
  color: var(--fg-3);
  font-size: clamp(10px, 2.4vw, 12px);
}
.gun-conn-chip--nodata {
  opacity: 0.92;
}
.loc-live-freshness {
  display: flex;
  align-items: center;
  margin: 0;
  padding: var(--s-2) var(--loc-pad) var(--s-3);
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  font-family: var(--font);
  font-size: clamp(10px, 2.5vw, 12px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  line-height: 1.2;
  border-top: 1px solid var(--hairline);
}
.loc-live-freshness[hidden],
.loc-live-freshness--hidden {
  display: none;
}
.loc-live-freshness--warn {
  color: var(--warn);
}
.loc-live-freshness--stale {
  color: color-mix(in srgb, var(--err) 60%, var(--fg-3));
}
.loc-live-summary[hidden],
.loc-live-agg[hidden] {
  display: none;
}
.loc-st-list--stale .gun-live-tag,
.loc-st-list--stale .gun-live-meta {
  opacity: 0.55;
}
.loc-st-num-sub {
  display: block;
  font-size: 0.62em;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--fg-3) 55%, transparent);
  margin-top: 2px;
}
.loc-infra-tariff-now {
  white-space: nowrap;
}
/* Live dots: circles site-wide (shape); colors/pulse unchanged */
body.location-page.loc-page .gun-dot,
body.location-page.loc-page .loc-st-guns .gun-dot {
  border-radius: 50%;
}
.gun-dot--live.gun-dot--available {
  box-shadow: 0 0 6px color-mix(in srgb, var(--accent) 45%, transparent);
}
.gun-dot--live.gun-dot--charging {
  /* перебивает фон и pulse из components/occupancy-dots.css */
  background: var(--live-charging) !important;
  box-shadow: 0 0 6px color-mix(in srgb, var(--live-charging) 55%, transparent);
  animation: gun-dot-charge-pulse 1.15s ease-in-out infinite !important;
  animation-play-state: running !important;
}
/* keyframes: CSS/components/occupancy-dots.css (single canon) */
@media (prefers-reduced-motion: reduce) {
  .gun-dot--live.gun-dot--charging {
    /* перебивает pulse живой точки */
    animation: none !important;
  }
}

/* STATIONS-ROW-01: highlight pills matching ?gun= from list filter (never hide) */
.gun-conn-chip.gun-filter-match,
.gun-pill.gun-filter-match {
  outline: 2px solid var(--live-free);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--live-free) 25%, transparent);
}
.gun-dot--live.gun-dot--unavailable {
  /* перебивает фон точки из components/occupancy-dots.css */
  background: var(--live-idle) !important;
  box-shadow: none;
  opacity: 0.7;
}
.gun-dot--live.gun-dot--faulted {
  /* перебивает фон точки из components/occupancy-dots.css */
  background: var(--live-busy) !important;
  box-shadow: 0 0 6px color-mix(in srgb, var(--live-busy) 45%, transparent);
  opacity: 1;
}
.gun-dot--live.gun-dot--on_service {
  /* перебивает фон точки из components/occupancy-dots.css */
  background: var(--warn) !important;
  box-shadow: 0 0 5px color-mix(in srgb, var(--warn) 40%, transparent);
  opacity: 0.95;
}
.gun-dot--live.gun-dot--reserved,
.gun-dot--live.gun-dot--busy {
  box-shadow: 0 0 6px color-mix(in srgb, var(--warn) 35%, transparent);
}
.gun-dot--live.gun-dot--offline,
.gun-dot--live.gun-dot--unknown {
  opacity: 0.55;
}
.gun-live-tag--available {
  color: var(--live-free);
}
.gun-live-tag--charging {
  color: var(--live-charging);
  font-weight: 700;
  font-size: clamp(12px, 3vw, 15px);
}
.gun-live-tag--unavailable {
  color: var(--live-idle);
}
.gun-live-tag--faulted {
  color: var(--live-busy);
  font-weight: 600;
}
.gun-live-tag--on_service {
  color: var(--warn);
}
.gun-live-tag--finishing {
  color: color-mix(in srgb, var(--live-charging) 40%, var(--ac));
}
.gun-live-tag--reserved,
.gun-live-tag--busy {
  color: var(--warn);
}
.gun-park-badge {
  font-family: var(--font);
  font-size: clamp(8px, 2vw, 10px);
  font-weight: 700;
  line-height: 1;
  color: var(--live-busy);
  border: 1px solid color-mix(in srgb, var(--live-busy) 55%, transparent);
  border-radius: var(--radius-chip);
  padding: 1px 3px;
  letter-spacing: 0;
}
.gun-queue-badge {
  font-family: var(--font);
  font-size: clamp(7px, 1.8vw, 9px);
  font-weight: 700;
  line-height: 1;
  color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 55%, transparent);
  border-radius: var(--radius-chip);
  padding: 1px 4px;
  letter-spacing: 0;
  white-space: nowrap;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gun-live-tag--offline,
.gun-live-tag--unknown {
  color: var(--live-idle);
}
.gun-live-meta {
  font-family: var(--font);
  font-size: clamp(11px, 2.6vw, 13px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: color-mix(in srgb, var(--live-charging) 70%, var(--fg-2));
  flex-shrink: 1;
  min-width: 0;
  white-space: nowrap;
}
.gun-live-meta--finishing {
  color: color-mix(in srgb, var(--live-charging) 40%, var(--ac));
}
.gun-live-meta--available,
.gun-live-meta--reserved,
.gun-live-meta--busy {
  color: var(--warn);
}
.loc-tariff-block {
  padding: 10px var(--loc-pad) 8px;
}
.loc-tariff-block--below {
  margin-top: 0;
  border: 1px solid var(--hairline);
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: var(--s-3) var(--s-4);
}
.loc-tariff-hdr {
  font-family: var(--font);
  font-size: clamp(9px, 2vw, 11px);
  letter-spacing: 0.08em;
  color: var(--fg-3);
  margin-bottom: 8px;
}
.loc-tariff-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc-tariff-sec-hdr {
  font-family: var(--font);
  font-size: clamp(8px, 1.85vw, 10px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--green, var(--accent));
  margin-bottom: 5px;
}
.loc-tariff-sec-body {
  border: 1px solid var(--hairline);
  background: var(--surface-2);
  border-radius: var(--radius-card);
  padding: var(--s-3) var(--s-4);
}
.loc-tariff-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--s-2) var(--s-2);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--hairline-2);
  font-family: var(--font);
  line-height: 1.3;
}
.loc-tariff-line:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}
.loc-tariff-line:first-of-type {
  padding-top: 0;
}
.loc-tariff-line-label,
.loc-tariff-line-kind {
  flex: 0 0 auto;
  font-size: clamp(8px, 1.8vw, 10px);
  letter-spacing: 0.05em;
  color: var(--fg-3);
  text-transform: lowercase;
}
.loc-tariff-line-price {
  flex: 0 0 auto;
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 700;
  color: var(--green, var(--accent));
  min-width: 0;
  word-break: break-word;
}
.loc-tariff-line-window {
  flex: 0 0 auto;
  font-size: clamp(8px, 1.7vw, 9px);
  letter-spacing: 0.02em;
  color: var(--fg-3);
  white-space: nowrap;
}
.loc-tariff-line-window::before {
  content: "В· ";
  color: var(--fg-4);
}
.loc-tariff-guns-row {
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px dashed var(--hairline);
  font-family: var(--font);
  font-size: clamp(8px, 1.65vw, 9px);
  letter-spacing: 0.03em;
  color: var(--fg-3);
  text-align: right;
}
.loc-tariff-sec--conditions .loc-tariff-sec-body {
  border-color: color-mix(in srgb, var(--ok) 35%, var(--hairline));
  background: color-mix(in srgb, var(--ok) 8%, var(--surface));
}
.loc-tariff-cond-item {
  font-family: var(--font);
  font-size: clamp(8px, 1.85vw, 10px);
  line-height: 1.4;
  color: var(--fg-2);
  padding: var(--s-1) 0;
}
.loc-tariff-cond-item::before {
  content: "в—‹ ";
  color: var(--ok);
  opacity: 0.7;
}
.loc-tariff-sec--idle .loc-tariff-sec-body {
  border-color: color-mix(in srgb, var(--warn) 35%, var(--hairline));
  background: color-mix(in srgb, var(--warn) 8%, var(--surface));
}
.loc-tariff-sec--idle .loc-tariff-line-price {
  color: var(--warn);
}
.loc-tariff-sec--idle .loc-tariff-line-kind {
  color: var(--warn);
}
.loc-tariff-idle-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font);
}
.loc-tariff-idle-price {
  font-size: clamp(11px, 2.2vw, 13px);
  font-weight: 700;
  color: var(--warn);
}
.loc-tariff-idle-window {
  font-size: clamp(8px, 1.8vw, 10px);
  color: var(--fg-3);
}
@media (max-width: 639px) {
  .loc-tariff-line {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
  }
  .loc-tariff-guns-row {
    text-align: left;
  }
}
/* legacy tariff table (lab) */
.loc-tariff-body {
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  padding: 8px 10px;
}
.loc-tariff-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loc-tariff-table-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 6px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font);
  line-height: 1.25;
  min-width: 0;
}
.loc-tariff-table-row:last-child {
  border-bottom: none;
}
.loc-tariff-table-label {
  flex: 0 0 auto;
  min-width: 4.5rem;
  font-size: clamp(8px, 1.75vw, 10px);
  letter-spacing: 0.04em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.loc-tariff-table-sep {
  flex: 0 0 auto;
  opacity: 0.35;
  font-size: clamp(8px, 1.75vw, 10px);
  color: var(--fg-3);
}
.loc-tariff-table-price {
  flex: 0 1 auto;
  font-size: clamp(10px, 2.05vw, 12px);
  font-weight: 700;
  color: var(--accent);
  min-width: 0;
  word-break: break-word;
}
.loc-tariff-table-window {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: clamp(8px, 1.65vw, 9px);
  letter-spacing: 0.02em;
  color: #8aa4c8;
  white-space: nowrap;
}
.loc-tariff-table-row .loc-tariff-guns {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(8px, 1.65vw, 9px);
  text-align: right;
}
.loc-tariff-table-meta {
  display: none;
}
@media (max-width: 639px) {
  .loc-tariff-table-row {
    flex-wrap: wrap;
  }
  .loc-tariff-table-window {
    margin-left: 0;
    flex-basis: 100%;
    padding-left: calc(4.5rem + 12px);
  }
}
.loc-tariff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 2px;
}
.loc-tariff-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  padding: 2px 0;
  font-family: var(--font);
  line-height: 1.25;
}
.loc-tariff-cell .loc-tariff-label {
  font-size: clamp(8px, 1.75vw, 10px);
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.loc-tariff-cell .loc-tariff-price {
  font-size: clamp(10px, 2.2vw, 12px);
  font-weight: 700;
  color: var(--accent);
  word-break: break-word;
}
.loc-tariff-cell .loc-tariff-window {
  font-size: clamp(8px, 1.65vw, 9px);
  color: var(--fg-3);
}
.loc-tariff-cell .loc-tariff-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  min-width: 0;
}
.loc-tariff-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--hairline);
  font-family: var(--font);
  font-size: clamp(8px, 1.8vw, 10px);
  line-height: 1.3;
}
.loc-tariff-foot--idle {
  color: var(--warn);
}
.loc-tariff-foot-label {
  color: var(--warn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.loc-tariff-foot-price {
  font-weight: 600;
  color: var(--warn);
}
.loc-tariff-foot-window {
  color: var(--fg-3);
  font-size: 0.95em;
}
.loc-tariff-foot-sep {
  opacity: 0.45;
  user-select: none;
}
.loc-tariff-extra {
  font-family: var(--font);
  font-size: clamp(8px, 1.8vw, 11px);
  color: var(--fg-3);
  padding-top: 4px;
  margin-top: 4px;
  border-top: 1px dashed var(--hairline);
  line-height: 1.35;
}
.loc-tariff-idle {
  color: var(--fg-3);
  font-size: 0.92em;
}
.loc-tariff-guns {
  color: var(--ac);
  font-size: 0.92em;
}
.loc-tariff-price {
  color: var(--accent);
  font-weight: 700;
}
.loc-tariff-window {
  color: var(--fg-3);
}
.loc-st-type {
  flex: 0 0 auto;
}
.loc-st-guns {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  overflow: visible;
}
.loc-st-guns .gun-pill {
  flex-shrink: 0;
  min-width: 0;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
}
body.location-page.loc-page .loc-st-guns .gun-dot--dc,
body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--dc {
  background: var(--yellow);
}
body.location-page.loc-page .loc-st-guns .gun-dot--ac,
body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--ac {
  background: var(--cyan);
}
.loc-st-dc-ac-leg {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  border-top: none;
  flex-wrap: nowrap;
  gap: clamp(8px, 2vw, 16px);
  overflow: hidden;
  padding: 6px 0;
  margin-top: var(--s-2, 10px);
}
body.location-page.loc-page .loc-st-dc-ac-leg .leg-item {
  font-family: var(--font-display);
  font-size: 8px;
  color: var(--fg-3);
  white-space: nowrap;
  flex-shrink: 0;
  gap: 4px;
}
body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
}
@media (min-width: 900px) {
  body.location-page.loc-page .loc-st-dc-ac-leg .leg-item {
    font-size: 8px;
  }
}
@media (max-width: 899px) {
  body.location-page.loc-page .loc-st-dc-ac-leg {
    gap: 8px;
  }
  body.location-page.loc-page .loc-st-dc-ac-leg .leg-item {
    font-size: 8px;
  }
}
.loc-st-power {
  font-family: var(--font-display);
  font-size: clamp(8px, 2vw, 11px);
  color: var(--yellow, var(--dc));
  white-space: nowrap;
}

@media (min-width: 900px) {
  .loc-infra-grid {
    min-height: 88px;
  }
  .loc-infra-ico svg {
    width: 32px;
    height: 32px;
  }
  .loc-infra-val--edge {
    font-size: clamp(12px, 1.2vw, 20px);
  }
  .loc-infra-cell--conn .loc-infra-val--center {
    font-size: clamp(10px, 1vw, 16px);
  }
  .loc-st-num {
    font-size: clamp(16px, 1.5vw, 22px);
  }
  .loc-st-num--pole {
    font-size: clamp(9px, 1vw, 12px);
  }
  .loc-st-power {
    font-size: clamp(9px, 0.85vw, 12px);
  }
}

@media (max-width: 639px) {
  .loc-infra-blk .loc-blk-badge {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    letter-spacing: 0.04em;
  }
  .loc-infra-blk .blk-hdr {
    gap: 10px;
  }
  .loc-infra-cell {
    padding: 10px 6px;
    gap: 5px;
  }
  .loc-infra-ico svg {
    width: 26px;
    height: 26px;
  }
  .loc-st-row {
    gap: 6px 8px;
    padding: 8px var(--loc-pad);
  }
  .gun-conn-chip {
    padding: 7px 9px;
    border-radius: 9px;
    font-size: clamp(11px, 3vw, 14px);
  }
  .gun-conn-chip--available {
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .gun-live-tag--charging {
    font-size: clamp(12px, 3.2vw, 15px);
  }
}

/* в”Ђв”Ђ Photos в”Ђв”Ђ */
.loc-photos-empty,
.loc-tags-empty {
  padding: var(--loc-pad) var(--loc-pad) 0;
  text-align: center;
}
.loc-photos-empty-msg {
  margin: 0;
  padding: 12px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(7px, 0.78vw, 8px);
  line-height: 1.55;
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.loc-photo-panel {
  position: relative;
  padding: var(--loc-pad) 0 0;
}
.loc-photo-carousel {
  position: relative;
  margin-left: calc(-1 * var(--loc-pad));
  margin-right: calc(-1 * var(--loc-pad));
  width: calc(100% + 2 * var(--loc-pad));
}
.loc-photo-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to right, transparent, var(--home-card));
}
.loc-photo-grid {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  height: var(--loc-photo-strip-h);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  gap: 4px;
  background: #000;
  scrollbar-width: none;
}
.loc-photo-grid::-webkit-scrollbar {
  display: none;
}
.loc-photo-carousel-hint {
  display: flex;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.45);
  opacity: 0.85;
}
.loc-photo-carousel-hint--prev {
  left: 2px;
}
.loc-photo-carousel-hint--next {
  right: 2px;
}
.loc-photo-thumb {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  width: auto;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
}
.loc-photo-thumb img {
  height: 100%;
  width: auto;
  display: block;
  border-radius: 0;
  pointer-events: none;
}
.loc-photo-more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--yellow);
}
.loc-photo-review-badge {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 2px 6px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--yellow);
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
}
.loc-photos-load-more {
  display: block;
  width: calc(100% - 2 * var(--loc-pad));
  margin: 10px var(--loc-pad) 0;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: transparent;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 9px;
  cursor: pointer;
}
.loc-photos-load-more:disabled {
  opacity: 0.6;
  cursor: wait;
}
.loc-photos-cta-wrap {
  padding: 0 var(--loc-pad) var(--loc-pad);
  margin-top: var(--loc-pad);
}
.loc-photos-add-btn {
  width: 100%;
  min-height: 44px;
}

/* в”Ђв”Ђ Action modals (Photos + Community Signals) в”Ђв”Ђ */
body.loc-modal-open,
body.loc-upload-modal-open {
  overflow: hidden;
}
.loc-action-modal,
.loc-upload-modal,
.loc-cs-modal,
.loc-review-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.loc-action-modal[hidden],
.loc-upload-modal[hidden],
.loc-cs-modal[hidden],
.loc-review-modal[hidden] {
  display: none;
}
.loc-action-modal-backdrop,
.loc-upload-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.loc-action-modal-panel,
.loc-upload-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(92vh, 720px);
  overflow: auto;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: var(--home-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.loc-action-modal-close,
.loc-upload-modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.loc-action-modal-title,
.loc-upload-modal-title {
  margin: 0;
  padding: 16px 44px 0 16px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--yellow);
  text-transform: uppercase;
}
.loc-upload-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.loc-upload-success-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--accent);
}
.loc-upload-success-body {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-2);
}
.loc-upload-success-close {
  width: 100%;
  min-height: 44px;
}

/* в”Ђв”Ђ Photo upload form (modal content) в”Ђв”Ђ */
.loc-photo-upload-body {
  padding: var(--loc-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loc-upload-loading,
.loc-upload-blocked {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--fg-2);
}
.loc-upload-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
}
.loc-upload-hint--sub {
  opacity: 0.88;
}
.loc-upload-file-label {
  display: block;
  cursor: pointer;
}
.loc-upload-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.loc-upload-file-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px dashed var(--hairline);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.loc-upload-file-count {
  margin: 10px 0 8px;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--fg-2);
}
.loc-upload-thumb-grid {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}
.loc-upload-thumb-item {
  position: relative;
}
.loc-upload-thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--hairline);
}
.loc-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.loc-upload-thumb-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--yellow);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.loc-upload-progress {
  margin: 4px 0 12px;
}
.loc-upload-progress-label {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--green, var(--accent));
}
.loc-upload-progress-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.loc-upload-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green, var(--accent));
  transition: width 0.35s ease;
}
.loc-upload-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.loc-upload-file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-size: 11px;
  word-break: break-word;
}
.loc-upload-file-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.loc-upload-turnstile {
  min-height: 65px;
}
.loc-upload-submit {
  width: 100%;
  min-height: 44px;
}
.loc-upload-refresh {
  align-self: flex-start;
  border: none;
  background: transparent;
  padding: 0;
  color: var(--ac);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.loc-upload-banner {
  margin: 0;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.45;
}
.loc-upload-banner--success {
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.loc-upload-banner--error,
.loc-upload-banner--warn {
  border: 1px solid rgba(255, 200, 0, 0.35);
  color: var(--yellow);
}
.loc-upload-banner--info {
  border: 1px solid var(--hairline);
  color: var(--fg-2);
}
.loc-lightbox-cap a {
  color: var(--yellow);
  text-decoration: underline;
}

/* в”Ђв”Ђ Tags aggregate в”Ђв”Ђ */
.loc-tag-agg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--loc-gap);
  padding: var(--loc-pad);
}
@media (min-width: 640px) {
  .loc-tag-agg-grid { grid-template-columns: repeat(3, 1fr); }
}
.loc-tag-agg-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.loc-tag-agg-cell--positive {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.loc-tag-agg-cell--negative {
  border-color: rgba(255, 80, 80, 0.35);
  color: var(--brand-cs);
}
.loc-tag-agg-count {
  font-family: var(--font-display);
  font-size: 10px;
  text-shadow: 0 0 8px currentColor;
}

/* в”Ђв”Ђ Community Signals вЂ” two independent blocks в”Ђв”Ђ */
body.location-page.loc-page {
  --cs-chip-font: var(--font);
  --cs-chip-size-agg: 11px;
  --cs-chip-size-form: 10px;
  --cs-chip-size-success: 10px;
  --cs-chip-lh: 1.32;
  --cs-chip-min: 9.25rem;
}

.loc-cs-agg-blk .cs-agg-body {
  padding: var(--loc-pad);
}
.loc-cs-agg-blk .cs-agg-empty {
  margin: 0;
  padding: 12px 8px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(7px, 0.78vw, 8px);
  line-height: 1.55;
  color: var(--accent);
  text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 35%, transparent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.loc-cs-agg-blk .cs-agg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: stretch;
}
@media (max-width: 899px) {
  .loc-cs-agg-blk .cs-agg-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.loc-cs-agg-blk .cs-agg-chip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 var(--cs-chip-min);
  max-width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  background: rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
@media (max-width: 899px) {
  .loc-cs-agg-blk .cs-agg-chip {
    flex: unset;
    max-width: none;
    height: 100%;
  }
}
.loc-cs-agg-blk .cs-agg-label {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--cs-chip-font);
  font-size: var(--cs-chip-size-agg);
  font-weight: 600;
  line-height: var(--cs-chip-lh);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
}
.loc-cs-agg-blk .cs-agg-chip--pos {
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  color: var(--green, var(--accent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 10%, transparent);
}
.loc-cs-agg-blk .cs-agg-chip--neg,
.loc-cs-agg-blk .cs-agg-chip--warn {
  border-color: rgba(255, 80, 80, 0.38);
  color: var(--brand-cs);
  box-shadow: 0 0 12px rgba(255, 80, 80, 0.1);
}
.loc-cs-agg-blk .cs-agg-count {
  font-family: var(--font-display);
  font-size: 9px;
  line-height: 1;
  text-shadow: 0 0 8px currentColor;
  white-space: nowrap;
}
.loc-cs-agg-blk .cs-agg-meta {
  flex: 0 0 auto;
  align-self: center;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.loc-cs-cta-wrap {
  padding: 0 var(--loc-pad) var(--loc-pad);
}
.loc-cs-add-btn {
  width: 100%;
  min-height: 44px;
}
.loc-cs-add-btn[hidden] {
  display: none;
}
.cs-edit-btn[hidden] {
  display: none;
}
.cs-edit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.loc-cs-agg-blk .cs-agg-chip--mine {
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.35);
}
.cs-agg-mine-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 12px;
  color: var(--yellow);
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.45));
}
.cs-agg-mine-mark-svg {
  display: block;
  width: 12px;
  height: 10px;
}
.cs-mine-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-mine-legend[hidden] {
  display: none;
}
.cs-mine-legend-label {
  color: var(--fg-2);
}
.cs-edit-btn {
  width: 100%;
  min-height: 44px;
  margin-bottom: 10px;
}
.cs-form-cooldown {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--muted);
}
.loc-cs-modal-body {
  padding: var(--loc-pad);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-form-hint {
  margin: 0 0 8px;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-form-loading {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.cs-form-counter {
  margin: 0 0 10px;
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.cs-form-chips,
.cs-success-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  align-items: stretch;
}
@media (max-width: 899px) {
  .cs-form-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cs-form-chip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 calc(var(--cs-chip-min) - 0.5rem);
  max-width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 4px;
  font-family: var(--cs-chip-font);
  font-size: var(--cs-chip-size-form);
  font-weight: 600;
  line-height: var(--cs-chip-lh);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
@media (max-width: 899px) {
  .cs-form-chip {
    flex: unset;
    max-width: none;
    height: 100%;
  }
}
.cs-form-chip--pos:not(.is-on) {
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 7%, transparent);
}
.cs-form-chip--neg:not(.is-on),
.cs-form-chip--warn:not(.is-on) {
  border-color: rgba(255, 80, 80, 0.28);
  box-shadow: 0 0 10px rgba(255, 80, 80, 0.07);
}
.cs-form-chip-label,
.cs-success-chip-label {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
}
.cs-signal-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}
.cs-form-chip-label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.cs-success-chip-label {
  display: block;
}
.cs-form-chip--pos.is-on {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  color: var(--green, var(--accent));
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.cs-form-chip--neg.is-on,
.cs-form-chip--warn.is-on {
  border-color: rgba(255, 80, 80, 0.6);
  color: var(--brand-cs);
  background: rgba(255, 80, 80, 0.08);
}
.cs-form-error {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--brand-cs);
}
.cs-turnstile {
  margin: 12px 0;
  min-height: 65px;
}
.cs-submit {
  width: 100%;
  min-height: 44px;
}
.cs-success {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.cs-success-title {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green, var(--accent));
}
.cs-success-lead {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 10px;
  color: var(--muted);
}
.cs-success-close {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}
.cs-success-chip {
  box-sizing: border-box;
  flex: 1 1 calc(var(--cs-chip-min) - 0.5rem);
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 4px;
  font-family: var(--cs-chip-font);
  font-size: var(--cs-chip-size-success);
  font-weight: 600;
  line-height: var(--cs-chip-lh);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
}
.cs-success-chip--pos.is-on {
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  color: var(--green, var(--accent));
}
.cs-success-chip--neg.is-on,
.cs-success-chip--warn.is-on {
  border-color: rgba(255, 80, 80, 0.5);
  color: var(--brand-cs);
}

/* ── Review CTA + modal form ── */
.loc-review-cta-wrap {
  padding: var(--s-3) var(--s-4) var(--s-4);
  max-width: 100%;
  box-sizing: border-box;
}
.loc-review-cta-wrap--inline {
  padding: var(--s-3) var(--loc-pad, var(--s-4)) var(--s-4);
}
.loc-review-cta-blk .loc-form-sub-lead {
  margin: 0;
  padding: var(--s-3) var(--s-4) 0;
}
.loc-review-add-btn,
.loc-photos-add-btn,
.loc-cs-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding-inline: var(--s-3);
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}
.loc-review-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.loc-review-photo-open {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.loc-review-photo-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-control, 4px);
  border: 1px solid var(--hairline);
}
.loc-review-photo-pick {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.loc-review-photo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-control, 4px);
  background: var(--surface-2, transparent);
  color: var(--fg-2);
  font-family: var(--font);
  font-size: var(--t-caption, 12px);
  cursor: pointer;
}
.loc-review-photo-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.loc-review-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.loc-review-photo-previews img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--hairline);
}
.loc-review-turnstile-slot {
  min-height: 0;
  overflow: hidden;
  opacity: 0.85;
  transform: scale(0.92);
  transform-origin: top left;
  max-width: 100%;
}
.loc-review-modal-place {
  margin: 0;
  padding: 8px 16px 0;
  font-family: var(--font);
  font-size: var(--t-caption, 12px);
  line-height: 1.45;
  color: var(--fg-2);
}
.loc-review-form-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.loc-review-q {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-body, 15px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.4;
}
.loc-star-field--modal .loc-star-input {
  justify-content: center;
  gap: 8px;
}
.loc-star-field--modal .loc-star-btn {
  font-size: 36px;
  color: var(--fg-3);
}
.loc-star-field--modal .loc-star-btn.is-on {
  color: var(--accent);
}
.loc-comment-field--modal .loc-comment-input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.loc-review-form-hint {
  text-align: center;
}
.loc-review-form-body .loc-submit-review {
  width: 100%;
  min-height: 48px;
}
.loc-review-form-body .loc-form-meta {
  text-align: center;
}

/* ── Review form (legacy shared bits) ── */
.loc-form-sub {
  margin: 0;
  font-size: 12px;
  color: var(--fg);
}
.loc-form-consent {
  margin: var(--s-2) 0 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--fg-3);
}

.loc-form-consent a {
  color: var(--fg-2);
  text-decoration: underline;
}

.loc-form-consent a:hover {
  color: var(--green, var(--accent));
}

.loc-privacy-note {
  margin: 0;
  font-size: 10px;
  line-height: 1.55;
  color: var(--fg-3);
}
.loc-form-meta {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.loc-form-or {
  text-align: center;
  font-size: 10px;
  color: var(--fg-3);
  text-transform: uppercase;
}
.loc-form-lead {
  margin: 0;
  padding: 0 var(--loc-pad);
  font-size: 13px;
  font-weight: 600;
}
.loc-form-sub-lead {
  margin: 0;
  padding: 0 var(--loc-pad);
  font-size: 11px;
  color: var(--fg-3);
}
.loc-form-tg-intro {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.loc-form-tg-why {
  margin: 0;
  font-size: 11px;
  color: var(--fg-3);
}
.loc-tg-widget {
  min-height: 44px;
}
.loc-logged-in-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.loc-logged-in-name {
  font-size: 12px;
}
.loc-logout-btn {
  background: none;
  border: none;
  color: var(--fg-3);
  font-size: 11px;
  cursor: pointer;
  text-decoration: underline;
}
.loc-field-label {
  display: block;
  font-size: 11px;
  margin-bottom: 6px;
}
.loc-field-hint {
  margin: 0 0 8px;
  font-size: 10px;
  color: var(--fg-3);
}
.loc-req { color: var(--warn); }
.loc-star-input {
  display: flex;
  gap: 4px;
}
.loc-star-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--fg-3);
  padding: 0;
}
.loc-star-btn.is-on {
  color: var(--warn);
}
.loc-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.loc-tag-chip {
  border: 1px solid var(--home-bdr, var(--border));
  background: transparent;
  color: inherit;
  font-size: 10px;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 2px;
}
.loc-tag-chip.is-on.positive {
  border-color: var(--accent);
  color: var(--accent);
}
.loc-tag-chip.is-on.negative {
  border-color: var(--brand-cs);
  color: var(--brand-cs);
}
.loc-comment-input,
.loc-visit-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--home-bg, var(--bg));
  border: 1px solid var(--home-bdr, var(--border));
  color: inherit;
  font: inherit;
  padding: 8px;
}
.loc-char-count {
  display: block;
  text-align: right;
  font-size: 10px;
  color: var(--fg-3);
}
.loc-turnstile-wrap {
  min-height: 65px;
}
.loc-submit-review {
  width: 100%;
}
.loc-form-success-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--accent);
}
.loc-form-success-body {
  margin: 0 0 12px;
  font-size: 12px;
}
.loc-form-success-photo {
  margin: 0 0 12px;
  font-size: 11px;
  color: var(--fg-3);
}
.loc-form-done-btn {
  margin-top: 8px;
  background: none;
  border: none;
  color: var(--fg-3);
  cursor: pointer;
  font-size: 11px;
  text-decoration: underline;
}
.loc-form-error,
.loc-form-loading {
  margin: 0;
  font-size: 12px;
  color: var(--fg-3);
}

/* в”Ђв”Ђ Reviews в”Ђв”Ђ */
.loc-reviews-list {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap);
  padding: var(--loc-pad);
}
.loc-review-card {
  padding: var(--s-3);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.12);
}
.loc-review-card[hidden] { display: none; }
.loc-review-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--s-2);
}
.loc-review-avatar { font-size: 22px; line-height: 1; }
.loc-review-who {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.loc-review-author {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.loc-review-time {
  font-size: 10px;
  color: var(--fg-3);
}
.loc-review-stars {
  flex-shrink: 0;
  color: var(--yellow);
  letter-spacing: 1px;
  font-size: 12px;
}
.loc-review-photo-mark {
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: 10px;
  cursor: pointer;
  padding: 0;
}
.loc-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s-2);
}
.loc-review-tag {
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid;
}
.loc-review-tag--positive {
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
}
.loc-review-tag--negative {
  border-color: rgba(255, 80, 80, 0.35);
  color: var(--brand-cs);
}
.loc-review-text {
  margin: 0 0 var(--s-3);
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
}
.loc-review-foot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.loc-review-helpful,
.loc-review-more {
  border: 1px solid var(--hairline);
  background: transparent;
  color: var(--fg-2);
  font-family: var(--font);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 3px;
  cursor: not-allowed;
  opacity: 0.7;
}
.loc-reviews-more {
  display: block;
  width: calc(100% - var(--loc-pad) * 2);
  margin: 0 var(--loc-pad) var(--loc-pad);
  padding: 12px;
  border: 1px dashed var(--hairline);
  background: transparent;
  color: var(--accent);
  font-family: var(--font);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: 4px;
}
.loc-reviews-more:hover { border-color: var(--accent); }

/* в”Ђв”Ђ Nearby в”Ђв”Ђ */
.loc-nearby-list {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap);
  padding: var(--loc-pad);
}
.loc-nearby-empty {
  font-size: 12px;
  color: var(--fg-2);
  margin: 0;
}
.loc-nearby-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--s-3);
  align-items: center;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  text-decoration: none;
  color: inherit;
}
a.card.loc-nearby-item {
  /* card component owns surface/padding; keep grid */
  padding-block: var(--s-3);
  padding-inline: var(--s-3);
}
.loc-nearby-item:hover {
  background: color-mix(in srgb, var(--accent) 3%, transparent);
  border-color: var(--accent);
}
.loc-nearby-body { min-width: 0; }
.loc-nearby-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-nearby-addr {
  display: block;
  font-size: 10px;
  color: var(--fg-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.loc-nearby-body--solo .loc-nearby-title {
  font-size: 12px;
}
.loc-nearby-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 10px;
  min-width: 72px;
  justify-content: flex-end;
}
.loc-nearby-rating { color: var(--yellow); white-space: nowrap; }
.loc-nearby-dist {
  margin-left: auto;
  color: var(--fg-2);
  white-space: nowrap;
}

/* в”Ђв”Ђ Lightbox в”Ђв”Ђ */
.loc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
  touch-action: none;
  overscroll-behavior: none;
}
html.loc-lightbox-open,
html.loc-lightbox-open body {
  overflow: hidden;
  overscroll-behavior: none;
}
.loc-lightbox[hidden] { display: none; }
.loc-lightbox-stage {
  max-width: min(960px, 100%);
  width: 100%;
  text-align: center;
}
.loc-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
}
.loc-lightbox-cap {
  margin: var(--s-3) 0 0;
  font-size: 12px;
  color: var(--fg-2);
}
.loc-lightbox-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-5);
  margin-top: var(--s-2);
}
.loc-lightbox-counter {
  margin: 0;
  min-width: 4.5rem;
  font-size: 12px;
  color: var(--fg-2);
}
.loc-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: transparent;
  color: var(--on-brand);
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.loc-lightbox-prev,
.loc-lightbox-next {
  position: static;
  border: none;
  background: transparent;
  box-shadow: none;
  color: var(--on-brand);
  font-size: 28px;
  line-height: 1;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
}

body.reduced-fx .loc-btn-primary:hover,
body.reduced-fx .loc-btn-primary:focus-visible,
body.reduced-fx .loc-btn-community:hover,
body.reduced-fx .loc-btn-community:focus-visible,
body.reduced-fx .loc-btn-accent:hover,
body.reduced-fx .loc-btn-accent:focus-visible {
  box-shadow: none;
}
body.reduced-fx .loc-rating-val:not(.loc-rating-val--placeholder),
body.reduced-fx .loc-infra-val,
body.reduced-fx .loc-infra-breakdown:not(.loc-infra-breakdown--split) .loc-infra-breakdown-val,
body.reduced-fx .loc-conn-line,
body.reduced-fx .loc-tag-agg-count {
  text-shadow: none;
}
body.reduced-fx .loc-cs-agg-blk .cs-agg-count {
  text-shadow: none;
}

/* ============================================================
   TESLA LIGHT / DARK вЂ” location page skin only
   Layout, font-size, grid вЂ” Р±РµР· РёР·РјРµРЅРµРЅРёР№ (СЃРј. backlog).
   ============================================================ */

html[data-theme="light"] body.location-page.loc-page,
html[data-theme="dark"] body.location-page.loc-page {
  --loc-inset-glow: transparent;
  --home-text: var(--fg);
  --home-text-mid: var(--fg-2);
  --home-text-dim: var(--fg-3);
  --home-card: var(--surface);
  --home-bdr: var(--hairline);
  --home-bg: var(--bg);
  --home-bg-glow: transparent;
  --cs-chip-font: var(--font);
  --muted: var(--fg-3);
}

html[data-theme="light"] body.location-page.loc-page .page-wrap,
html[data-theme="dark"] body.location-page.loc-page .page-wrap {
  color: var(--fg);
}

html[data-theme="light"] body.location-page.loc-page .page-wrap .blk,
html[data-theme="dark"] body.location-page.loc-page .page-wrap .blk {
  background: var(--surface);
  border-color: var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}

html[data-theme="light"] body.location-page.loc-page .page-wrap .blk-hdr,
html[data-theme="dark"] body.location-page.loc-page .page-wrap .blk-hdr {
  border-bottom-color: var(--hairline);
}

html[data-theme="light"] body.location-page.loc-page .page-wrap .blk-title,
html[data-theme="dark"] body.location-page.loc-page .page-wrap .blk-title {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-3);
  text-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-identity,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-identity,
html[data-theme="light"] body.location-page.loc-page .hero__content.loc-hero-identity,
html[data-theme="dark"] body.location-page.loc-page .hero__content.loc-hero-identity,
html[data-theme="light"] body.location-page.loc-page .loc-hero-mobile-rating,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-mobile-rating {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-operator .loc-hero-op:not(.chip),
html[data-theme="dark"] body.location-page.loc-page .loc-hero-operator .loc-hero-op:not(.chip) {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  opacity: 1;
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-venue,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-venue,
html[data-theme="light"] body.location-page.loc-page .loc-hero-addr-meta,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-addr-meta {
  font-family: var(--font);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-agg,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-agg {
  font-family: var(--font);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--accent);
}

html[data-theme="light"] body.location-page.loc-page .loc-empty,
html[data-theme="dark"] body.location-page.loc-page .loc-empty,
html[data-theme="light"] body.location-page.loc-page .loc-empty-lead,
html[data-theme="dark"] body.location-page.loc-page .loc-empty-lead {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .loc-infra-cell,
html[data-theme="dark"] body.location-page.loc-page .loc-infra-cell,
html[data-theme="light"] body.location-page.loc-page .loc-st-row,
html[data-theme="dark"] body.location-page.loc-page .loc-st-row,
html[data-theme="light"] body.location-page.loc-page .loc-st-dc-ac-leg,
html[data-theme="dark"] body.location-page.loc-page .loc-st-dc-ac-leg {
  border-color: var(--hairline);
}

html[data-theme="light"] body.location-page.loc-page .loc-nearby-item,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-item {
  border-color: var(--hairline);
}

html[data-theme="light"] body.location-page.loc-page .loc-nearby-title,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-title {
  font-family: var(--font);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg);
}

html[data-theme="light"] body.location-page.loc-page .loc-nearby-addr,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-addr,
html[data-theme="light"] body.location-page.loc-page .loc-nearby-empty,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-empty {
  font-family: var(--font);
  text-transform: none;
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .loc-nearby-dist,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-dist {
  font-family: var(--font-num);
  font-weight: 500;
  color: var(--fg-3);
}

html[data-theme="light"] body.location-page.loc-page .loc-tag-agg-cell--negative,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-agg-cell--negative {
  border-color: rgba(216, 71, 56, 0.35);
  color: var(--err);
}

html[data-theme="light"] body.location-page.loc-page .loc-review-tag--negative,
html[data-theme="dark"] body.location-page.loc-page .loc-review-tag--negative {
  border-color: rgba(216, 71, 56, 0.35);
  color: var(--err);
}

html[data-theme="light"] body.location-page.loc-page .loc-review-helpful,
html[data-theme="dark"] body.location-page.loc-page .loc-review-helpful,
html[data-theme="light"] body.location-page.loc-page .loc-review-more,
html[data-theme="dark"] body.location-page.loc-page .loc-review-more {
  font-family: var(--font);
  letter-spacing: 0;
  text-transform: none;
}

/* Community Signals вЂ” flat Tesla chips (no CRT / glow) */
html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-empty,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-empty,
html[data-theme="light"] body.location-page.loc-page .loc-photos-empty-msg,
html[data-theme="dark"] body.location-page.loc-page .loc-photos-empty-msg {
  font-family: var(--font);
  font-weight: 700;
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-empty,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-empty {
  color: var(--fg);
}
html[data-theme="light"] body.location-page.loc-page .loc-photos-empty-msg,
html[data-theme="dark"] body.location-page.loc-page .loc-photos-empty-msg {
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip {
  background: var(--surface-2);
  border-radius: var(--r-s);
  box-shadow: none;
  text-transform: none;
  letter-spacing: 0;
}

html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--pos,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--pos {
  border-color: rgba(30, 156, 74, 0.35);
  color: var(--ok);
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--neg,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--neg,
html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--warn,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-chip--warn {
  border-color: rgba(216, 71, 56, 0.35);
  color: var(--err);
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-label,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-label {
  font-family: var(--font);
  font-weight: 600;
  text-transform: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-count,
html[data-theme="dark"] body.location-page.loc-page .loc-cs-agg-blk .cs-agg-count {
  font-family: var(--font-num);
  font-weight: 600;
  text-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .cs-form-counter,
html[data-theme="dark"] body.location-page.loc-page .cs-form-counter,
html[data-theme="light"] body.location-page.loc-page .cs-form-hint,
html[data-theme="dark"] body.location-page.loc-page .cs-form-hint,
html[data-theme="light"] body.location-page.loc-page .cs-form-loading,
html[data-theme="dark"] body.location-page.loc-page .cs-form-loading,
html[data-theme="light"] body.location-page.loc-page .cs-success-lead,
html[data-theme="dark"] body.location-page.loc-page .cs-success-lead,
html[data-theme="light"] body.location-page.loc-page .cs-review-cta-note,
html[data-theme="dark"] body.location-page.loc-page .cs-review-cta-note {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .cs-form-chip,
html[data-theme="dark"] body.location-page.loc-page .cs-form-chip,
html[data-theme="light"] body.location-page.loc-page .cs-success-chip,
html[data-theme="dark"] body.location-page.loc-page .cs-success-chip {
  background: var(--surface-2);
  border-color: var(--hairline);
  border-radius: var(--r-s);
  font-family: var(--font);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

html[data-theme="light"] body.location-page.loc-page .cs-form-chip--pos.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-form-chip--pos.is-on {
  border-color: rgba(30, 156, 74, 0.5);
  color: var(--ok);
  background: rgba(30, 156, 74, 0.08);
}

html[data-theme="light"] body.location-page.loc-page .cs-form-chip--neg.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-form-chip--neg.is-on,
html[data-theme="light"] body.location-page.loc-page .cs-form-chip--warn.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-form-chip--warn.is-on {
  border-color: rgba(216, 71, 56, 0.5);
  color: var(--err);
  background: rgba(216, 71, 56, 0.08);
}

html[data-theme="light"] body.location-page.loc-page .cs-success-title,
html[data-theme="dark"] body.location-page.loc-page .cs-success-title {
  font-family: var(--font);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ok);
  text-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .cs-success-chip--pos.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-success-chip--pos.is-on {
  border-color: rgba(30, 156, 74, 0.35);
  color: var(--ok);
}

html[data-theme="light"] body.location-page.loc-page .cs-success-chip--neg.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-success-chip--neg.is-on,
html[data-theme="light"] body.location-page.loc-page .cs-success-chip--warn.is-on,
html[data-theme="dark"] body.location-page.loc-page .cs-success-chip--warn.is-on {
  border-color: rgba(216, 71, 56, 0.35);
  color: var(--err);
}

html[data-theme="light"] body.location-page.loc-page .cs-form-error,
html[data-theme="dark"] body.location-page.loc-page .cs-form-error {
  color: var(--err);
}

html[data-theme="light"] body.location-page.loc-page .loc-form-sub,
html[data-theme="dark"] body.location-page.loc-page .loc-form-sub,
html[data-theme="light"] body.location-page.loc-page .loc-form-lead,
html[data-theme="dark"] body.location-page.loc-page .loc-form-lead,
html[data-theme="light"] body.location-page.loc-page .loc-form-sub-lead,
html[data-theme="dark"] body.location-page.loc-page .loc-form-sub-lead,
html[data-theme="light"] body.location-page.loc-page .loc-field-label,
html[data-theme="dark"] body.location-page.loc-page .loc-field-label,
html[data-theme="light"] body.location-page.loc-page .loc-field-hint,
html[data-theme="dark"] body.location-page.loc-page .loc-field-hint,
html[data-theme="light"] body.location-page.loc-page .loc-form-consent,
html[data-theme="dark"] body.location-page.loc-page .loc-form-consent,
html[data-theme="light"] body.location-page.loc-page .loc-privacy-note,
html[data-theme="dark"] body.location-page.loc-page .loc-privacy-note {
  font-family: var(--font);
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg-2);
}

html[data-theme="light"] body.location-page.loc-page .loc-form-success-title,
html[data-theme="dark"] body.location-page.loc-page .loc-form-success-title {
  font-family: var(--font);
  font-weight: 600;
  color: var(--ok);
  text-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-tag-chip.is-on.positive,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-chip.is-on.positive {
  border-color: rgba(30, 156, 74, 0.5);
  color: var(--ok);
}

html[data-theme="light"] body.location-page.loc-page .loc-tag-chip.is-on.negative,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-chip.is-on.negative {
  border-color: rgba(216, 71, 56, 0.5);
  color: var(--err);
}

html[data-theme="light"] body.location-page.loc-page .loc-tag-chip,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-chip {
  font-family: var(--font);
  border-radius: var(--r-s);
}

html[data-theme="light"] body.location-page.loc-page .loc-comment-input,
html[data-theme="dark"] body.location-page.loc-page .loc-comment-input,
html[data-theme="light"] body.location-page.loc-page .loc-visit-input,
html[data-theme="dark"] body.location-page.loc-page .loc-visit-input {
  background: var(--surface-2);
  border-color: var(--hairline);
  border-radius: var(--r-s);
  font-family: var(--font);
}

html[data-theme="light"] body.location-page.loc-page .loc-hero,
html[data-theme="dark"] body.location-page.loc-page .loc-hero,
html[data-theme="light"] body.location-page.loc-page .hero.loc-hero,
html[data-theme="dark"] body.location-page.loc-page .hero.loc-hero {
  background: transparent;
  border: none;
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-breadcrumbs,
html[data-theme="dark"] body.location-page.loc-page .loc-breadcrumbs {
  font-family: var(--font);
  color: var(--fg-3);
}
html[data-theme="light"] body.location-page.loc-page .loc-breadcrumbs a,
html[data-theme="dark"] body.location-page.loc-page .loc-breadcrumbs a {
  color: var(--fg);
  font-weight: 500;
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-h1,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-h1,
html[data-theme="light"] body.location-page.loc-page .loc-hero-city,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-city,
html[data-theme="light"] body.location-page.loc-page .loc-hero-street,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-street {
  font-family: var(--font);
  font-weight: 700;
  text-shadow: none;
  color: var(--fg);
}
html[data-theme="light"] body.location-page.loc-page .loc-hero-venue,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-venue {
  font-family: var(--font);
  font-weight: 500;
  text-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-inset,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-inset {
  border-color: var(--hairline);
  background: var(--surface-2);
  box-shadow: var(--shadow-1);
}
html[data-theme="light"] body.location-page.loc-page .loc-hero-inset.loc-hero-rating,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-inset.loc-hero-rating {
  background: transparent;
  box-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-inset-lbl,
html[data-theme="dark"] body.location-page.loc-page .loc-inset-lbl,
html[data-theme="light"] body.location-page.loc-page .loc-rating-meta,
html[data-theme="dark"] body.location-page.loc-page .loc-rating-meta {
  font-family: var(--font);
  font-weight: 600;
  text-shadow: none;
  color: var(--fg-3);
}
html[data-theme="light"] body.location-page.loc-page .loc-rating-val,
html[data-theme="dark"] body.location-page.loc-page .loc-rating-val {
  font-family: var(--font-num);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-rating-stars,
html[data-theme="dark"] body.location-page.loc-page .loc-rating-stars {
  color: var(--dc);
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-rating-stars--empty,
html[data-theme="dark"] body.location-page.loc-page .loc-rating-stars--empty {
  color: var(--fg-3);
}

html[data-theme="light"] body.location-page.loc-page .loc-hero-map,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-map,
html[data-theme="light"] body.location-page.loc-page .loc-hero-map .leaflet-container,
html[data-theme="dark"] body.location-page.loc-page .loc-hero-map .leaflet-container {
  background: var(--surface-3);
}

html[data-theme="light"] body.location-page.loc-page .loc-infra-ico,
html[data-theme="dark"] body.location-page.loc-page .loc-infra-ico {
  color: var(--accent);
  filter: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-infra-val,
html[data-theme="dark"] body.location-page.loc-page .loc-infra-val,
html[data-theme="light"] body.location-page.loc-page .loc-conn-line,
html[data-theme="dark"] body.location-page.loc-page .loc-conn-line {
  font-family: var(--font-num);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-st-num,
html[data-theme="dark"] body.location-page.loc-page .loc-st-num {
  font-family: var(--font-num);
  font-weight: 700;
  color: var(--fg);
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-st-power,
html[data-theme="dark"] body.location-page.loc-page .loc-st-power {
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--fg);
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-st-guns .gun-pill,
html[data-theme="dark"] body.location-page.loc-page .loc-st-guns .gun-pill {
  border: none;
  background: transparent;
  color: var(--fg-2);
}
html[data-theme="light"] body.location-page.loc-page .gun-conn-chip,
html[data-theme="dark"] body.location-page.loc-page .gun-conn-chip {
  font-family: var(--font);
  border-color: var(--hairline);
  background: var(--surface-2);
  border-radius: 8px;
}
html[data-theme="light"] body.location-page.loc-page .gun-conn-chip--charging,
html[data-theme="dark"] body.location-page.loc-page .gun-conn-chip--charging {
  border-color: color-mix(in srgb, var(--live-charging) 45%, transparent);
  background: color-mix(in srgb, var(--live-charging) 8%, transparent);
}
html[data-theme="light"] body.location-page.loc-page .gun-conn-chip--available,
html[data-theme="dark"] body.location-page.loc-page .gun-conn-chip--available {
  border-color: color-mix(in srgb, var(--live-free) 35%, transparent);
  background: color-mix(in srgb, var(--live-free) 6%, transparent);
}
html[data-theme="light"] body.location-page.loc-page .gun-chip-sep,
html[data-theme="dark"] body.location-page.loc-page .gun-chip-sep {
  color: var(--fg-3);
}
html[data-theme="light"] body.location-page.loc-page .loc-st-guns .gun-dot--dc,
html[data-theme="dark"] body.location-page.loc-page .loc-st-guns .gun-dot--dc,
html[data-theme="light"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--dc,
html[data-theme="dark"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--dc {
  background: var(--dc);
}
html[data-theme="light"] body.location-page.loc-page .loc-st-guns .gun-dot--ac,
html[data-theme="dark"] body.location-page.loc-page .loc-st-guns .gun-dot--ac,
html[data-theme="light"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--ac,
html[data-theme="dark"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-dot--ac {
  background: var(--ac);
}
html[data-theme="light"] body.location-page.loc-page .gun-live-tag,
html[data-theme="dark"] body.location-page.loc-page .gun-live-tag {
  font-family: var(--font-num);
  text-transform: none;
  letter-spacing: 0;
}
html[data-theme="light"] body.location-page.loc-page .gun-live-tag--available,
html[data-theme="dark"] body.location-page.loc-page .gun-live-tag--available {
  color: var(--live-free);
}
html[data-theme="light"] body.location-page.loc-page .gun-live-tag--charging,
html[data-theme="dark"] body.location-page.loc-page .gun-live-tag--charging {
  color: var(--live-charging);
}
html[data-theme="light"] body.location-page.loc-page .gun-live-tag--faulted,
html[data-theme="dark"] body.location-page.loc-page .gun-live-tag--faulted {
  color: var(--live-busy);
}
html[data-theme="light"] body.location-page.loc-page .gun-conn-chip--faulted,
html[data-theme="dark"] body.location-page.loc-page .gun-conn-chip--faulted {
  border-color: color-mix(in srgb, var(--live-busy) 45%, transparent);
  background: color-mix(in srgb, var(--live-busy) 8%, transparent);
}
html[data-theme="light"] body.location-page.loc-page .gun-live-tag--on_service,
html[data-theme="dark"] body.location-page.loc-page .gun-live-tag--on_service {
  color: var(--warn);
}
html[data-theme="light"] body.location-page.loc-page .loc-tariff-block,
html[data-theme="dark"] body.location-page.loc-page .loc-tariff-block {
  font-family: var(--font);
}
html[data-theme="light"] body.location-page.loc-page .loc-tariff-line-price,
html[data-theme="dark"] body.location-page.loc-page .loc-tariff-line-price,
html[data-theme="light"] body.location-page.loc-page .loc-tariff-price,
html[data-theme="dark"] body.location-page.loc-page .loc-tariff-price {
  font-family: var(--font-num);
  color: var(--fg);
}
html[data-theme="light"] body.location-page.loc-page .loc-tariff-sec-hdr,
html[data-theme="dark"] body.location-page.loc-page .loc-tariff-sec-hdr {
  color: var(--accent);
}
html[data-theme="light"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-item,
html[data-theme="dark"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-item {
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
@media (max-width: 899px) {
  html[data-theme="light"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-item,
  html[data-theme="dark"] body.location-page.loc-page .loc-st-dc-ac-leg .leg-item {
    font-size: 8px;
  }
}

html[data-theme="light"] body.location-page.loc-page .loc-blk-badge,
html[data-theme="dark"] body.location-page.loc-page .loc-blk-badge {
  font-family: var(--font-num);
  font-weight: 600;
  text-shadow: none;
  color: var(--fg);
  border-color: var(--hairline);
}

html[data-theme="light"] body.location-page.loc-page .loc-tag-agg-cell--positive,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-agg-cell--positive {
  border-color: rgba(30, 156, 74, 0.35);
  color: var(--ok);
}
html[data-theme="light"] body.location-page.loc-page .loc-tag-agg-count,
html[data-theme="dark"] body.location-page.loc-page .loc-tag-agg-count {
  font-family: var(--font-num);
  font-weight: 600;
  text-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-review-tag--positive,
html[data-theme="dark"] body.location-page.loc-page .loc-review-tag--positive {
  border-color: rgba(30, 156, 74, 0.35);
  color: var(--ok);
}
html[data-theme="light"] body.location-page.loc-page .loc-review-stars,
html[data-theme="dark"] body.location-page.loc-page .loc-review-stars {
  color: var(--dc);
}
html[data-theme="light"] body.location-page.loc-page .loc-review-photo-mark,
html[data-theme="dark"] body.location-page.loc-page .loc-review-photo-mark {
  color: var(--accent);
}
html[data-theme="light"] body.location-page.loc-page .loc-review-card,
html[data-theme="dark"] body.location-page.loc-page .loc-review-card {
  background: var(--surface-2);
}
html[data-theme="light"] body.location-page.loc-page .loc-reviews-more,
html[data-theme="dark"] body.location-page.loc-page .loc-reviews-more {
  font-family: var(--font);
  font-weight: 500;
  color: var(--accent);
}
html[data-theme="light"] body.location-page.loc-page .loc-reviews-more:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-reviews-more:hover {
  border-color: var(--accent);
}
html[data-theme="light"] body.location-page.loc-page .loc-nearby-item:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-item:hover {
  background: var(--surface-2);
  border-color: var(--fg-4);
}
html[data-theme="light"] body.location-page.loc-page .loc-nearby-rating,
html[data-theme="dark"] body.location-page.loc-page .loc-nearby-rating {
  color: var(--dc);
}
html[data-theme="light"] body.location-page.loc-page .loc-photo-more,
html[data-theme="dark"] body.location-page.loc-page .loc-photo-more {
  font-family: var(--font-num);
  font-weight: 600;
  color: var(--fg);
}

html[data-theme="light"] body.location-page.loc-page .loc-btn,
html[data-theme="dark"] body.location-page.loc-page .loc-btn {
  font-family: var(--font);
  text-shadow: none;
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-btn-primary,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
}
html[data-theme="light"] body.location-page.loc-page .loc-btn-primary:hover,
html[data-theme="light"] body.location-page.loc-page .loc-btn-primary:focus-visible,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-primary:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-primary:focus-visible {
  background: var(--accent-hov);
  border-color: var(--accent-hov);
  color: var(--accent-fg);
  box-shadow: none;
}

html[data-theme="light"] body.location-page.loc-page .loc-btn-secondary,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-secondary {
  border-color: var(--hairline);
  color: var(--fg-2);
  background: var(--surface);
}
html[data-theme="light"] body.location-page.loc-page .loc-btn-secondary:hover,
html[data-theme="light"] body.location-page.loc-page .loc-btn-secondary:focus-visible,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-secondary:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
  box-shadow: none;
}
html[data-theme="light"] body.location-page.loc-page .loc-btn-secondary.is-copied,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-secondary.is-copied {
  border-color: var(--ok);
  color: var(--ok);
  background: color-mix(in srgb, var(--ok) 10%, transparent);
}

html[data-theme="light"] body.location-page.loc-page .loc-btn-community,
html[data-theme="light"] body.location-page.loc-page .loc-btn-accent,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-community,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-accent {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
html[data-theme="light"] body.location-page.loc-page .loc-btn-community:hover,
html[data-theme="light"] body.location-page.loc-page .loc-btn-community:focus-visible,
html[data-theme="light"] body.location-page.loc-page .loc-btn-accent:hover,
html[data-theme="light"] body.location-page.loc-page .loc-btn-accent:focus-visible,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-community:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-community:focus-visible,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-accent:hover,
html[data-theme="dark"] body.location-page.loc-page .loc-btn-accent:focus-visible {
  border-color: var(--accent);
  color: var(--accent-fg);
  background: var(--accent);
  box-shadow: none;
}

/* Tesla Light desktop вЂ” РєРѕРЅС‚СЂР°СЃС‚ РєР°СЂС‚РѕС‡РµРє РЅР° СЃРІРµС‚Р»РѕРј С„РѕРЅРµ */
@media (min-width: 900px) {
  html[data-theme="light"] body.location-page.loc-page .loc-hero-identity,
  html[data-theme="light"] body.location-page.loc-page .loc-hero-mobile-rating,
  html[data-theme="light"] body.location-page.loc-page .loc-main-grid .blk {
    border-color: var(--hairline);
    box-shadow: var(--shadow-2);
  }

  html[data-theme="light"] body.location-page.loc-page .loc-hero-inset.loc-hero-map-wrap {
    background: var(--surface-3);
    border-color: var(--hairline);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  }
}

/* stations list shell — tbl-card frame; inner .blk keep live structure */
.loc-page .tbl-card.loc-st-list-wrap {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: none;
  box-shadow: none;
}
.loc-page .tbl-card.loc-st-list-wrap .loc-st-stack {
  display: flex;
  flex-direction: column;
  gap: var(--loc-gap, var(--s-3));
  margin: 0;
}
