.property-map-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; }
.property-map-actions .small-button { min-height:38px; }
.property-map .leaflet-control-attribution { max-width:calc(100% - 16px); white-space:normal; text-align:right; }
.property-map .leaflet-popup-content { min-width:140px; line-height:1.5; }
.property-map .leaflet-popup-content a { color:#116d50; }

/* 2026-10-13: Фото сопровождает прокрутку только рядом с назначениями и данными квартиры.
   Высота первой колонки ограничена этими двумя строками: ниже неё начинаются описание и карта. */
.property-admin-page .property-admin-photo-column {
    grid-column:1; grid-row:1 / span 2; align-self:stretch; min-width:0;
}
.property-admin-page .property-admin-photo-panel { position:sticky; top:18px; }
@media (max-width:850px) {
    .property-admin-page .property-admin-photo-column { grid-column:auto; grid-row:auto; }
    .property-admin-page .property-admin-photo-panel { position:static; top:auto; }
}
.property-map { isolation:isolate; border:2px solid #087d5b; }

/* 2026-10-13: Тот же градиент и скорость, что у выделения в календаре, для свободных сегодня квартир. */
@property --property-map-ring-angle { syntax:'<angle>'; inherits:false; initial-value:0deg; }
.property-map-marker__availability-ring {
    width:100%; height:100%; pointer-events:none;
    background:conic-gradient(from var(--property-map-ring-angle), #fff3aa, #70e5c3, #8fbfff, #b783f0, #fff3aa);
    animation:property-map-ring-turn 2s linear infinite;
}
@keyframes property-map-ring-turn { to { --property-map-ring-angle:360deg; } }
@media (prefers-reduced-motion:reduce) { .property-map-marker__availability-ring { animation:none; } }

/* 2026-10-13: Логотип и цена помещены в одну строку; раскрывается тот же указатель с неподвижным кончиком. */
.property-map .property-map-marker { background:none; border:0; pointer-events:none; }
.property-map-marker__badge { --marker-border:#35755e; position:absolute; left:0; bottom:0; transform-origin:0 100%; pointer-events:none; }
.property-map .property-map-marker__pin { position:absolute; inset:0; z-index:0; width:100%; height:100%; overflow:hidden; pointer-events:none; filter:drop-shadow(0 3px 5px rgba(3,61,44,.25)); }
.property-map-marker__pin path { fill:#fff; stroke:var(--marker-border); stroke-width:2; stroke-linejoin:round; shape-rendering:crispEdges; }
/* 2026-10-13: Занятые на показанный период варианты имеют розовую заливку и пояснение в раскрытой метке. */
.property-map-marker__badge.is-unavailable .property-map-marker__pin path { fill:#ffe3e9; }
/* 2026-10-13: Вытянутые треугольники идут отдельным слоем под плашками и не перехватывают нажатия. */
.property-map-pointer { position:absolute; overflow:visible; pointer-events:none; --marker-border:#35755e; }
.property-map-pointer path { fill:#fff; stroke:var(--marker-border); stroke-linejoin:round; shape-rendering:crispEdges; }
.property-map-pointer.is-selected { --marker-border:#087d5b; }
.property-map-pointer.is-unavailable path { fill:#ffe3e9; }
.property-map-marker__unavailable { display:none; margin:7px 0 0; font:400 11px/1.3 Arial,sans-serif; color:#bd3348; }
.property-map-marker__badge.is-expanded .property-map-marker__unavailable { display:block; }
.property-map-attribution { margin:6px 2px 0; font:400 11px/1.3 Arial,sans-serif; color:#527466; text-align:right; }
.property-map-attribution a { color:inherit; text-decoration:underline; }
.property-map-source { clear:both; margin:12px 0 0; padding:8px 14px; text-align:center; color:#527466; font:400 11px/1.4 Arial,sans-serif; }
.property-map-source a { color:inherit; text-decoration:underline; }
.property-map-marker.is-selected .property-map-marker__badge { --marker-border:#087d5b; }
.property-map-marker.is-selected .property-map-marker__pin path { stroke-width:3; }
.property-map-marker__body { position:relative; z-index:1; overflow:hidden; border-radius:16px; padding:10px 16px; box-sizing:border-box; font:13px/1.3 Arial,sans-serif; color:#174c3b; pointer-events:auto; }
/* 2026-10-13: Логотип с увеличенной ценой образуют единую строку по центру; крестик не сдвигает её. */
.property-map-marker__header { position:absolute; display:flex; justify-content:center; align-items:center; gap:6px; height:28px; white-space:nowrap; }
.property-map .property-map-marker__header img.property-map-marker__logo { display:block; flex:0 0 auto; width:28px; height:22px; max-width:none; object-fit:contain; user-select:none; image-rendering:crisp-edges; image-rendering:pixelated; }
.property-map .property-map-marker.is-selected .property-map-marker__header img.property-map-marker__logo { width:34px; height:24px; }
.property-map-marker__price { font-weight:700; font-size:18px; color:#116d50; text-rendering:optimizeSpeed; -webkit-font-smoothing:none; }
.property-map-marker__close { display:none; position:absolute; right:7px; top:7px; z-index:2; margin:0; padding:0; min-height:24px; width:24px; border:0; box-shadow:none; background:#eff6f2; color:#35755e; border-radius:50%; font:20px/24px Arial,sans-serif; cursor:pointer; }
.property-map-marker__content { display:grid; grid-template-columns:var(--marker-photo-width,84px) minmax(0,1fr); gap:9px; opacity:0; visibility:hidden; margin-top:0; transition:opacity .12s ease; }
.property-map .property-map-marker__content img.property-map-marker__photo { width:var(--marker-photo-width,84px); height:78px; max-width:none; object-fit:cover; border-radius:8px; user-select:none; }
.property-map-marker__info strong { display:block; padding-right:24px; white-space:normal; overflow-wrap:anywhere; font-size:13px; line-height:18px; }
.property-map-marker__price-line { display:flex; flex-wrap:wrap; align-items:center; gap:0 6px; min-height:28px; margin-top:4px; }
.property-map-marker__date { white-space:nowrap; }
.property-map-marker__price-space { display:block; flex:0 0 auto; height:28px; pointer-events:none; }
.property-map-marker__info p { margin:4px 0; font-size:11px; line-height:1.25; }
.property-map-marker__info > p:not(.property-map-marker__facts) { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.property-map-marker__date, .property-map-marker__info p.property-map-marker__facts { font:400 13px/1.3 Arial,sans-serif; color:#527466; }
.property-map-marker__info small { display:block; font-size:10px; color:#647c72; }
.property-map-marker__info a { display:inline-flex; align-items:center; justify-content:center; min-height:32px; box-sizing:border-box; margin-top:4px; padding:6px 10px; border-radius:7px; background:linear-gradient(180deg,#4ca18a,#28745b); color:#fff; text-decoration:none; font:700 13px/1.3 Arial,sans-serif; }
.property-map-marker__info a:hover { background:#28745b; }
.property-map-marker__badge.is-expanded .property-map-marker__content { opacity:1; visibility:visible; }
.property-map-marker__badge.is-expanded .property-map-marker__close { display:block; }
.property-map-marker:focus-visible { outline:none; }
.property-map-marker:focus-visible .property-map-marker__pin { filter:drop-shadow(0 0 3px rgba(31,104,188,.8)); }
@media (prefers-reduced-motion:reduce) { .property-map-marker__content { transition:none; } }

/* 2026-10-13: Цена периода с числом ночей; предупреждение центрируется по всей ширине раскрытой карточки. */
.property-map-marker__quote { display:inline-flex; flex:0 1 auto; flex-wrap:wrap; min-width:0; max-width:100%; align-items:center; gap:0 6px; }
.property-map-marker__info small.property-map-marker__nights { display:inline; white-space:nowrap; font:400 12px/1.3 Arial,sans-serif; color:#527466; }
.property-map-marker__unavailable { text-align:center; }

/* 2026-10-13: Недоступная компактная метка розовая; раскрытая карточка и её указатель белые. */
.property-map-marker__badge.is-unavailable.is-expanded .property-map-marker__pin path,
.property-map-pointer.is-unavailable.is-expanded path { fill:#fff; }

/* 2026-10-13: Тень основного контура не должна окрашивать отдельный треугольник под карточкой. */
.property-map .property-map-marker__pin { filter:none; }

/* 2026-10-13: Фокус виден на карточке и не меняет оттенок треугольника тенями. */
.property-map-marker:focus-visible .property-map-marker__pin { filter:none; }
.property-map-marker:focus-visible .property-map-marker__body { outline:2px solid #1f68bc; outline-offset:-2px; }
/* 2026-10-13: Даты, число ночей и характеристики — единый шрифт 14 px; цвет доступности прежний. */
.property-map .property-map-marker__date,
.property-map .property-map-marker__info p.property-map-marker__facts,
.property-map .property-map-marker__info small.property-map-marker__nights{font:400 14px/1.35 Arial,sans-serif;color:#527466}
/* 2026-10-13: Более чёткая обводка приглашает нажать, не меняя белую/розовую заливку. */
.property-map-marker__badge.is-previewed,.property-map-pointer.is-previewed{--marker-border:#17634d}
/* 2026-10-14: Ссылка на полную страницу расположена снизу и видна только в раскрытой карточке. */
.property-map .property-map-marker__details{display:none;align-items:center;justify-content:center;min-height:24px;margin-top:6px;color:#116d50;font:400 13px/1.35 Arial,sans-serif;text-align:center;text-decoration:underline}
.property-map-marker__badge.is-expanded .property-map-marker__details{display:flex}
.property-map .property-map-marker__details:hover{color:#174c3b}
