:root {
  --bg: #f3f6f1;
  --panel: #ffffff;
  --ink: #12211c;
  --muted: #60726b;
  --line: #dce4dd;
  --green: #0f6b58;
  --green-2: #168d78;
  --gold: #b8893d;
  --blue: #2f6fed;
  --dark: #10221e;
  --red: #d92d20;
  --soft: #f7faf8;
  --sand: #fbf6e9;
  --shadow: 0 18px 46px rgba(18, 33, 28, .09);
  --shadow-strong: 0 28px 80px rgba(18, 33, 28, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(22, 141, 120, .09), transparent 28%),
    radial-gradient(circle at 96% 12%, rgba(47, 111, 237, .07), transparent 24%),
    linear-gradient(180deg, #fbfaf4, var(--bg) 340px);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { outline-color: rgba(23, 107, 93, .45); }
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(47, 111, 237, .25); outline-offset: 2px; }
button { transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), border-color .16s var(--ease); }
button:hover { transform: translateY(-1px); }
button:active { transform: translateY(0) scale(.99); }

.app-shell { min-height: 100vh; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 26px;
  background: rgba(251, 250, 244, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,107,88,.36), transparent);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 21px; letter-spacing: -.02em; }
.logo { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--green), var(--green-2)); color: white; font-weight: 900; }
.brand span { display: block; color: var(--muted); font-size: 12px; font-weight: 650; }
.site-nav { display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: white; overflow-x: auto; }
.site-nav button {
  border: 0;
  border-radius: 7px;
  padding: 9px 11px;
  color: var(--muted);
  background: transparent;
  white-space: nowrap;
  font-weight: 800;
}
.site-nav button.active { background: var(--ink); color: white; }
.header-actions { display: flex; gap: 10px; }
.btn {
  border: 0;
  border-radius: 10px;
  min-height: 40px;
  padding: 9px 14px;
  background: var(--green);
  color: white;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(15, 107, 88, .14);
}
.btn:hover { box-shadow: 0 14px 30px rgba(15, 107, 88, .20); }
.btn.dark { background: var(--dark); }
.btn.blue { background: var(--blue); }
.btn.gold { background: var(--gold); }
.btn.danger { background: var(--red); }
.btn.light { border: 1px solid var(--line); background: white; color: var(--ink); box-shadow: none; }
.btn.light:hover { border-color: rgba(15,107,88,.28); box-shadow: 0 10px 22px rgba(18,33,28,.07); }
.btn.full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1; }

.page { padding: 18px 26px 30px; animation: pageIn .38s var(--ease) both; }
.eyebrow { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .11em; font-size: 12px; font-weight: 950; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; margin-bottom: 12px; letter-spacing: -.035em; }
h2 { font-size: 28px; margin-bottom: 12px; }
h3 { font-size: 18px; margin-bottom: 8px; }
p { color: var(--muted); line-height: 1.48; }

.home-map-page {
  padding: 14px;
}
.home-grid {
  display: grid;
  grid-template-columns: 372px minmax(620px, 1fr);
  gap: 12px;
  min-height: calc(100vh - 98px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.category-tiles {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.category-tile {
  display: grid;
  gap: 5px;
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  padding: 13px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 24px rgba(18,33,28,.045);
}
.category-tile span { font-size: 20px; }
.category-tile strong { font-size: 14px; }
.category-tile small { color: var(--muted); font-weight: 800; }
.category-tile.active,
.category-tile:hover { border-color: rgba(15,107,88,.32); background: #f2faf7; box-shadow: 0 14px 30px rgba(18,33,28,.08); }
.home-panel, .panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 252, .97);
  box-shadow: var(--shadow);
}
.home-panel { padding: 14px; overflow: auto; max-height: calc(100vh - 98px); }
.home-panel h1 {
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.home-panel p { margin-bottom: 0; font-size: 14px; }
.panel-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 10px; }
.panel-title-row h2 { margin-bottom: 0; }
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #027a48;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #12b76a; box-shadow: 0 0 0 4px rgba(18,183,106,.14); }
.home-panel .summary-strip, .owner-copy .summary-strip { grid-template-columns: repeat(2, 1fr); }
.search { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 12px 0 10px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.search input { border: 0; outline: 0; padding: 0 10px; background: transparent; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 9px 0 12px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; background: white; color: var(--muted); font-size: 12px; font-weight: 750; }
.chip:hover { border-color: rgba(15,107,88,.30); background: #fbfdfb; }
.chip.active { border-color: rgba(15, 107, 88, .32); background: #e7f5f1; color: var(--green); font-weight: 950; }
.chip small { color: inherit; opacity: .7; margin-left: 4px; }
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 16px; }
.summary-pill { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 11px; }
.summary-pill:hover { border-color: rgba(15,107,88,.20); box-shadow: 0 10px 28px rgba(18,33,28,.06); }
.summary-pill strong { display: block; font-size: 20px; }
.summary-pill span { color: var(--muted); font-size: 12px; }
.quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.quick-metrics span {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}
.quick-metrics strong { display: block; color: var(--ink); font-size: 17px; line-height: 1; margin-bottom: 3px; }

.object-list { display: grid; gap: 10px; }
.object-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 9px;
  text-align: left;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.object-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  transition: background .16s var(--ease);
}
.object-card:hover { border-color: rgba(15, 107, 88, .38); box-shadow: 0 12px 28px rgba(18,33,28,.08); }
.object-card.active { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green), 0 14px 34px rgba(15,107,88,.10); }
.object-card.active::before { background: var(--green); }
.thumb {
  min-height: 76px;
  border-radius: 7px;
  background: #dfeee8;
  position: relative;
  overflow: hidden;
}
.thumb img { width: 100%; height: 100%; min-height: inherit; display: block; object-fit: cover; transition: transform .5s var(--ease); }
.object-card:hover .thumb img,
.catalog-card:hover .thumb img { transform: scale(1.045); }
.thumb.image-error::before {
  content: "Фото скоро будет";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  background: linear-gradient(135deg, #e5f2ee, #f8f2df);
}
.object-card strong { display: block; margin-bottom: 4px; }
.object-card strong, .catalog-card h3 { overflow-wrap: anywhere; }
.object-card small { display: block; color: var(--muted); line-height: 1.35; }
.object-card .meta-line { margin: 8px 0 0; }
.object-card .meta-badge { padding: 5px 7px; font-size: 11px; }
.price { color: var(--green); font-weight: 950; margin-top: 6px; }

.map {
  position: relative;
  min-height: calc(100vh - 98px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: #dfeee8;
}
.map.compact { min-height: 360px; box-shadow: none; }
.map.small { min-height: 250px; box-shadow: none; }
.yandex-map-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  filter: saturate(.92) contrast(.96);
}
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-weight: 850; background: #dfeee8; }
.map-loading::after {
  content: "";
  width: 34px;
  height: 34px;
  margin-left: 12px;
  border: 3px solid rgba(15,107,88,.16);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.map.yandex::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,33,28,.04), transparent 34%),
    linear-gradient(0deg, rgba(18,33,28,.05), transparent 24%);
}
.map-card {
  position: absolute;
  z-index: 35;
  right: 24px;
  bottom: 24px;
  width: min(380px, calc(100% - 48px));
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(18,33,28,.18);
}
.map-card .thumb { height: 130px; margin-bottom: 10px; }
.map-tools { position: absolute; z-index: 60; left: 18px; top: 18px; display: flex; gap: 8px; align-items: center; }
.map-search { border: 1px solid rgba(18,33,28,.12); border-radius: 999px; background: rgba(255,255,255,.94); padding: 10px 14px; color: var(--ink); font-weight: 850; box-shadow: 0 14px 34px rgba(18,33,28,.12); }
.map-markers { position: absolute; inset: 0; z-index: 55; pointer-events: none; }
.map-pin {
  position: absolute;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50% 50% 50% 8px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(18,33,28,.24);
  transform: translate(-50%, -100%) rotate(-45deg);
  pointer-events: auto;
}
.map-pin span { transform: rotate(45deg); }
.map-pin:hover { transform: translate(-50%, -100%) rotate(-45deg) scale(1.06); }
.map-pin.active { background: var(--gold); box-shadow: 0 0 0 5px rgba(184,137,61,.20), 0 12px 28px rgba(18,33,28,.24); }
.map-mini-popup {
  position: absolute;
  z-index: 45;
  width: 280px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 10px;
  box-shadow: 0 18px 46px rgba(18,33,28,.18);
  transform: translate(-50%, calc(-100% - 48px));
}
.map-mini-popup .thumb { min-height: 82px; border-radius: 10px; }
.map-mini-popup strong,
.map-mini-popup span,
.map-mini-popup b { display: block; }
.map-mini-popup span { color: var(--muted); font-size: 12px; line-height: 1.35; margin: 3px 0; }
.map-mini-popup b { color: var(--green); font-size: 13px; margin-bottom: 7px; }
.map-mini-popup .btn { min-height: 30px; padding: 5px 9px; font-size: 12px; }
.ymap-pin {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid white;
  border-radius: 50% 50% 50% 8px;
  background: var(--green);
  color: white;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(18,33,28,.24);
  transform: rotate(-45deg);
  cursor: pointer;
}
.ymap-pin span { transform: rotate(45deg); }
.ymaps-2-1-79-balloon { z-index: 10000 !important; }
.ymaps-2-1-79-balloon,
.ymaps-2-1-79-balloon__layout,
.ymaps-2-1-79-balloon__content { border-radius: 16px !important; font-family: Manrope, Arial, sans-serif !important; }
.ymaps-2-1-79-balloon__content { padding: 0 !important; margin-right: 0 !important; }
.ymap-balloon {
  width: 360px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 14px;
  background: white;
  box-shadow: var(--shadow-strong);
}
.ymap-balloon img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}
.ymap-balloon strong,
.ymap-balloon span,
.ymap-balloon b { display: block; }
.ymap-balloon strong { font-size: 20px; line-height: 1.15; color: var(--ink); margin-bottom: 6px; }
.ymap-balloon span { color: var(--muted); font-size: 14px; font-weight: 750; line-height: 1.35; }
.ymap-balloon b { color: var(--green); font-size: 16px; margin: 8px 0 10px; }
.ymap-balloon .btn { min-height: 34px; padding: 7px 12px; font-size: 13px; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin: 4px 0 12px; }
.catalog-head h1 { margin-bottom: 0; }
.catalog-tools { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 850; }
.catalog-card { border: 1px solid var(--line); border-radius: 12px; background: white; overflow: hidden; }
.catalog-card { animation: cardIn .34s var(--ease) both; }
.catalog-card:hover { border-color: rgba(23,107,93,.35); box-shadow: var(--shadow); transform: translateY(-2px); }
.catalog-card .thumb { min-height: 112px; border-radius: 0; }
.catalog-card .body { padding: 14px; }
.catalog-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 40px;
  font-size: 14px;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.catalog-card .price { font-size: 18px; }
.catalog-card .amenities { max-height: 34px; overflow: hidden; margin: 10px 0; }
.catalog-card .btn { min-height: 38px; padding: 8px 10px; font-size: 14px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.meta-badge { border-radius: 999px; background: #eef4f1; color: #48645b; padding: 6px 8px; font-size: 12px; font-weight: 850; }
.meta-badge.accent { background: #e8f1ff; color: var(--blue); }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.amenity { border: 1px solid var(--line); border-radius: 999px; padding: 7px 9px; background: var(--sand); color: #5e4a2f; font-size: 13px; font-weight: 800; }

.reviews-page { max-width: 1180px; margin: 0 auto; }
.reviews-layout { display: grid; grid-template-columns: minmax(560px, 1fr) 360px; gap: 16px; align-items: start; }
.object-reviews-section { display: grid; grid-template-columns: minmax(520px, 1fr) 360px; gap: 18px; padding: 22px; border-top: 1px solid var(--line); background: #fffdf8; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.review-card, .review-form-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 16px;
  box-shadow: var(--shadow);
}
.review-card:hover { transform: translateY(-2px); box-shadow: 0 18px 46px rgba(18,33,28,.11); }
.review-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review-top span { color: var(--gold); letter-spacing: .05em; font-weight: 900; }
.review-card p { margin-bottom: 10px; }
.review-form-card { position: static; }
.success-note { border-radius: 10px; background: #ecfdf3; color: #027a48; padding: 10px 12px; font-weight: 850; margin-bottom: 12px; }
.empty-state {
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #cbd8d2;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  color: var(--muted);
  text-align: center;
}
.empty-state strong { color: var(--ink); font-size: 22px; }
.empty-state .btn { width: fit-content; }

.object-layout { display: grid; grid-template-columns: minmax(520px, 1fr) 420px; gap: 0; min-height: 680px; }
.viewer {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.48), transparent 28% 72%, rgba(0,0,0,.3)),
    radial-gradient(circle at 52% 45%, rgba(255,255,255,.24), transparent 17%),
    linear-gradient(105deg, #19352f 0%, #6da09a 18%, #e7e2ca 38%, #87995d 58%, #3e5c42 79%, #213a37 100%);
}
.viewer.real-panorama { background: #0f211d; }
.panorama-canvas { position: absolute; inset: 0; z-index: 1; }
.panorama-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: white; background: #0f211d; font-weight: 850; text-align: center; }
.real-panorama .viewer-bar,
.real-panorama .viewer-bottom { pointer-events: none; }
.real-panorama .glass,
.real-panorama .scene-strip { pointer-events: auto; }
.viewer-bar { position: absolute; left: 18px; right: 18px; top: 18px; z-index: 3; display: flex; justify-content: space-between; gap: 10px; }
.viewer-bottom { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 3; display: flex; justify-content: space-between; gap: 10px; align-items: end; }
.glass { border: 1px solid rgba(255,255,255,.28); border-radius: 10px; background: rgba(16,34,30,.68); color: white; padding: 11px 13px; backdrop-filter: blur(10px); }
.hotspot { position: absolute; z-index: 2; left: 52%; top: 48%; width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: rgba(199,155,75,.92); color: white; font-size: 28px; font-weight: 950; }
.scene-strip { display: flex; gap: 9px; padding: 10px; max-width: min(520px, 100%); }
.scene { width: 96px; height: 62px; border: 2px solid transparent; border-radius: 7px; background: linear-gradient(135deg, #9ec7bd, #376d62); }
.scene.active { border-color: var(--gold); }
.scene.photo-scene { background: url("./assets/panoramas/pixel-360-parking.jpeg") center / cover; }
.pnlm-container { font-family: Manrope, Arial, sans-serif; }
.pnlm-title-box { border-radius: 8px; background: rgba(16,34,30,.72); }
.pnlm-load-box { border-radius: 12px; background: rgba(16,34,30,.82); }
.tour-page {
  width: 100%;
  min-height: 100vh;
  background: #07110f;
  color: white;
  overflow: hidden;
}
.tour-viewer {
  position: relative;
  min-height: 100vh;
  background: #07110f;
  overflow: hidden;
}
.tour-viewer .panorama-canvas {
  z-index: 1;
}
.tour-photo-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.02);
}
.tour-photo-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 28% 68%, rgba(0,0,0,.54));
}
.tour-topbar,
.tour-controls,
.tour-bottom {
  position: absolute;
  z-index: 12;
}
.tour-topbar {
  left: 14px;
  top: 14px;
  display: flex;
  align-items: stretch;
  max-width: min(520px, calc(100% - 28px));
  border-radius: 0 0 12px 0;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.tour-back,
.tour-title,
.tour-controls,
.tour-info {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(6,16,14,.72);
  color: white;
  backdrop-filter: blur(14px);
}
.tour-back {
  width: 56px;
  min-height: 58px;
  border-radius: 0;
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
}
.tour-title {
  display: grid;
  align-content: center;
  min-width: 210px;
  padding: 10px 14px;
  border-left: 0;
}
.tour-title strong,
.tour-title span { display: block; }
.tour-title strong { font-size: 19px; line-height: 1.1; }
.tour-title span { margin-top: 4px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.25; }
.tour-controls {
  right: 14px;
  top: 14px;
  display: flex;
  border-radius: 0 0 0 12px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
}
.tour-controls button {
  width: 54px;
  height: 54px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.10);
  background: transparent;
  color: white;
  font-weight: 950;
  font-size: 18px;
}
.tour-controls button:last-child { border-right: 0; }
.tour-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 14px;
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.54));
  pointer-events: none;
}
.tour-scenes {
  display: flex;
  gap: 9px;
  max-width: min(560px, calc(100vw - 36px));
  padding: 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 15px;
  background: rgba(6,16,14,.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0,0,0,.28);
  pointer-events: auto;
  overflow-x: auto;
}
.tour-scene {
  flex: 0 0 104px;
  display: grid;
  gap: 6px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.82);
  padding: 0;
  text-align: left;
}
.tour-scene span {
  height: 64px;
  border: 2px solid transparent;
  border-radius: 9px;
  background: linear-gradient(135deg, #9dc8bd, #3d766a);
}
.tour-scene span.photo-scene { background: url("./assets/panoramas/pixel-360-parking.jpeg") center / cover; }
.tour-scene.active span { border-color: var(--gold); }
.tour-scene b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  padding: 0 2px;
}
.tour-info {
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  pointer-events: auto;
}
.tour-pin,
.pano-label-hotspot {
  position: absolute;
  z-index: 8;
  border: 0;
  border-radius: 999px;
  background: #ff9f1c;
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}
.tour-pin {
  padding: 8px 12px 8px 34px;
  font-weight: 950;
}
.tour-pin::before,
.pano-label-hotspot::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  left: -3px;
  top: 50%;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50% 50% 50% 8px;
  background: #ff9f1c;
  transform: translateY(-50%) rotate(-45deg);
}
.tour-pin.small { transform: scale(.9); }
.pano-label-hotspot {
  width: auto !important;
  height: auto !important;
  padding: 7px 11px 7px 32px;
  font-family: Manrope, Arial, sans-serif;
  font-size: 13px;
  font-weight: 950;
}
.pano-label-hotspot span { position: relative; z-index: 1; white-space: nowrap; }
.object-info { padding: 38px 30px; background: #fffdf8; border-left: 1px solid var(--line); }
.object-quickbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.object-quickbar span {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.object-quickbar strong { display: block; color: var(--ink); font-size: 17px; }
.location-section { display: grid; grid-template-columns: minmax(520px, 1fr) 390px; gap: 18px; padding: 22px; border-top: 1px solid var(--line); background: #fffdf8; }
.related-section { padding: 22px; border-top: 1px solid var(--line); background: #fffdf8; }
.related-grid, .featured-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.featured-strip { margin-bottom: 16px; }
.featured-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: inherit;
  text-align: left;
  padding: 10px;
  position: relative;
  overflow: hidden;
}
.featured-card::after {
  content: "";
  position: absolute;
  inset: auto 12px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(15,107,88,.34), transparent);
  opacity: 0;
  transition: opacity .16s var(--ease);
}
.featured-card .thumb { min-height: 72px; }
.featured-card strong,
.featured-card small,
.featured-card b { display: block; }
.featured-card small { color: var(--muted); margin-top: 3px; }
.featured-card b { grid-column: 1 / -1; color: var(--green); font-size: 14px; }
.featured-card:hover { border-color: rgba(15,107,88,.28); box-shadow: var(--shadow); }
.featured-card:hover::after { opacity: 1; }

.commercial-section,
.commercial-cta {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,253,248,.88)),
    radial-gradient(circle at 100% 0%, rgba(15,107,88,.10), transparent 28%);
  padding: 20px;
  box-shadow: var(--shadow);
}
.commercial-section.compact { box-shadow: none; }
.section-head,
.commercial-cta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}
.section-head h2,
.commercial-cta h2,
.section-head p,
.commercial-cta p { margin-bottom: 0; }
.commercial-cta p { max-width: 650px; }
.commercial-cta .btn { flex: 0 0 auto; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.how-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 16px;
}
.how-grid article > strong {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e7f5f1;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
}
.how-grid h3 { margin-bottom: 7px; }
.how-grid p { margin-bottom: 0; font-size: 14px; }
.contact-list { display: grid; gap: 8px; margin: 16px 0; }
.contact-item { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; background: white; padding: 11px 12px; color: var(--ink); font-weight: 850; }
.contact-item span { color: var(--muted); font-weight: 700; }
.contact-item:hover { border-color: rgba(15,107,88,.22); background: #fbfdfb; }

.owner-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.owner-copy { padding: 46px 36px; display: flex; flex-direction: column; justify-content: center; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.step-card { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 16px; }
.section-band { padding: 24px 0; }
.owner-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.pricing-grid, .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.package, .stat { border: 1px solid var(--line); border-radius: 12px; background: white; padding: 18px; }
.package { position: relative; overflow: hidden; }
.package::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -42px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(15,107,88,.06);
}
.package-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--green);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.package:hover, .stat:hover, .kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.package.best { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.package strong, .stat strong { display: block; font-size: 30px; margin: 8px 0; }
.pricing-page { max-width: 1040px; margin: 0 auto; padding-top: 18px; }
.pricing-page h1 { font-size: clamp(30px, 2.7vw, 40px); margin-bottom: 6px; }
.pricing-page h2 { font-size: 22px; margin-bottom: 4px; }
.pricing-head { display: flex; justify-content: space-between; gap: 14px; align-items: end; margin-bottom: 14px; }
.pricing-head p { margin-bottom: 0; }
.pricing-note { min-width: 170px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 10px 12px; }
.pricing-note strong { display: block; font-size: 20px; }
.pricing-note span { color: var(--muted); font-size: 13px; font-weight: 750; }
.pricing-grid.compact { gap: 10px; }
.pricing-grid.compact .package { padding: 12px; display: grid; gap: 6px; }
.pricing-grid.compact .package h3,
.pricing-grid.compact .package p { margin-bottom: 0; }
.pricing-grid.compact .package h3 { font-size: 17px; }
.pricing-grid.compact .package p { font-size: 14px; }
.pricing-grid.compact .package strong { font-size: 23px; margin: 0; }
.pricing-grid.compact .package .price { margin-top: 0; font-size: 16px; }
.pricing-grid.compact .package .btn { min-height: 34px; padding: 7px 10px; }
.calculator-panel {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 260px;
  gap: 12px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 14px;
  box-shadow: var(--shadow);
}
.calc-grid { display: grid; grid-template-columns: 1fr 170px; gap: 10px; margin-top: 10px; }
.calc-control { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: #fbfdfb; }
.calc-control span { color: var(--muted); font-weight: 800; }
.calc-control strong { font-size: 19px; }
.calc-control input[type="range"] { padding: 0; accent-color: var(--green); }
.calc-result { border-radius: 12px; background: linear-gradient(135deg, var(--green), var(--green-2)); color: white; padding: 14px; display: grid; align-content: center; gap: 7px; }
.calc-result span, .calc-result p { color: rgba(255,255,255,.82); }
.calc-result strong { font-size: 28px; line-height: 1; }
.calc-result .btn { min-height: 36px; }
.calc-result .btn { background: white; color: var(--green); }
.launch-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  padding: 12px;
}
.launch-strip h2,
.launch-strip p { margin-bottom: 0; }
.launch-strip h2 { font-size: 20px; }
.launch-strip article { display: flex; gap: 9px; align-items: center; color: var(--muted); font-weight: 750; }
.launch-strip article strong { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: #e7f5f1; color: var(--green); flex: 0 0 auto; }
.launch-strip .btn { min-width: 104px; }
.pricing-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.pricing-checks article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.88);
  padding: 14px;
}
.pricing-checks strong,
.pricing-checks span { display: block; }
.pricing-checks span { color: var(--muted); margin-top: 4px; font-size: 14px; line-height: 1.4; }

.work-shell { display: grid; grid-template-columns: 252px 1fr; min-height: calc(100vh - 69px); background: linear-gradient(180deg, #f7faf8, var(--soft)); }
.work-side { position: sticky; top: 69px; height: calc(100vh - 69px); background: linear-gradient(180deg, #0e241f, #0b1714); color: white; padding: 18px; overflow: auto; }
.work-title { padding: 12px 13px; border-radius: 12px; margin-bottom: 12px; color: white; background: rgba(255,255,255,.10); font-size: 20px; font-weight: 850; }
.work-title span { display: block; color: rgba(255,255,255,.54); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.side-profile,
.side-note {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  padding: 12px;
  margin-bottom: 14px;
}
.side-profile strong,
.side-profile span,
.side-note strong,
.side-note span { display: block; }
.side-profile span,
.side-note span { color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.35; margin-top: 4px; }
.side-note { margin-top: 18px; }
.work-nav { display: block; width: 100%; border: 0; border-radius: 10px; margin-bottom: 6px; padding: 11px 13px; background: transparent; color: #d4e3de; text-align: left; font-weight: 800; }
.work-nav:hover { background: rgba(255,255,255,.07); transform: none; }
.work-nav.active { background: rgba(255,255,255,.14); color: white; }
.work-main { padding: 22px; min-width: 0; }
.work-main h1 { font-size: clamp(30px, 2.8vw, 44px); }
.work-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.work-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  border: 1px solid rgba(15,107,88,.14);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,253,248,.92)),
    radial-gradient(circle at 100% 0%, rgba(15,107,88,.11), transparent 30%);
  padding: 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.work-hero p { max-width: 760px; margin-bottom: 0; }
.work-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px; box-shadow: 0 12px 28px rgba(18,33,28,.045); }
.kpi.accent { border-color: rgba(15,107,88,.24); background: linear-gradient(135deg, #ffffff, #effaf6); }
.kpi strong { display: block; font-size: 26px; }
.progress-line { height: 7px; border-radius: 999px; background: #e8efeb; overflow: hidden; margin-top: 10px; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), var(--green-2)); }
.owner-object-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.owner-object-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(18,33,28,.05);
}
.owner-object-card .thumb { min-height: 104px; border-radius: 12px; }
.owner-object-card p { font-size: 13px; margin-bottom: 0; }
.card-topline { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 5px; }
.card-topline strong { line-height: 1.2; }
.owner-workspace {
  display: grid;
  grid-template-columns: minmax(560px, 1fr) 360px;
  gap: 14px;
  margin-bottom: 14px;
}
.active-tour-card,
.next-actions,
.setup-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 12px 30px rgba(18,33,28,.05);
}
.active-tour-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px;
}
.active-tour-card .thumb { min-height: 190px; border-radius: 14px; }
.active-tour-card .card-topline strong { font-size: 24px; }
.active-tour-card p { margin-bottom: 12px; }
.workspace-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 4px;
}
.workspace-stats span {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}
.workspace-stats b { display: block; color: var(--ink); font-size: 20px; line-height: 1; margin-bottom: 4px; }
.active-tour-card .btn-row { margin-top: 14px; }
.next-actions { padding: 16px; }
.next-actions h2 { font-size: 22px; }
.action-list { display: grid; gap: 8px; margin-top: 12px; }
.action-list button {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 12px;
  text-align: left;
}
.action-list button:hover { border-color: rgba(15,107,88,.28); background: #f2faf7; transform: none; }
.action-list strong,
.action-list span { display: block; }
.action-list span { color: var(--muted); font-size: 13px; margin-top: 3px; }
.owner-setup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.setup-card { padding: 14px; }
.setup-card strong,
.setup-card span { display: block; }
.setup-card strong { margin-bottom: 4px; }
.setup-card span { color: var(--muted); font-size: 13px; }
.setup-card.done { border-color: rgba(15,107,88,.24); background: #f2faf7; }
.setup-card.active { border-color: rgba(47,111,237,.34); box-shadow: 0 12px 30px rgba(47,111,237,.10); }
.owner-builder { margin-top: 4px; }
.owner-flow, .admin-health {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.flow-step,
.admin-health article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  padding: 13px;
  box-shadow: 0 10px 24px rgba(18,33,28,.045);
}
.flow-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 10px;
  align-items: center;
}
.flow-step strong {
  grid-row: span 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef4f1;
  color: var(--muted);
}
.flow-step span,
.admin-health strong { font-weight: 950; }
.flow-step small,
.admin-health small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.flow-step.done strong { background: var(--green); color: white; }
.flow-step.active { border-color: rgba(47,111,237,.36); box-shadow: 0 12px 30px rgba(47,111,237,.10); }
.flow-step.active strong { background: var(--blue); color: white; }
.admin-health article { display: grid; gap: 7px; align-content: start; }
.admin-health .status { width: fit-content; }
table { width: 100%; border-collapse: collapse; background: white; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: white; }
.table-wrap table { min-width: 760px; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: #fbfbfd; }
tr:hover td { background: #fbfdfb; }
.table-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 10px; }
.table-actions span { margin-right: auto; color: var(--muted); font-weight: 850; }
.table-actions .btn { min-height: 36px; }
.table-wrap input[type="checkbox"] { width: 18px; height: 18px; padding: 0; accent-color: var(--green); }
.status { display: inline-flex; border-radius: 999px; padding: 5px 8px; font-weight: 900; font-size: 12px; white-space: nowrap; }
.live { background: #ecfdf3; color: #027a48; }
.wait { background: #fff6ed; color: #93370d; }
.draft { background: #f2f4f7; color: #475467; }
.reject { background: #fef3f2; color: var(--red); }
.builder-grid { display: grid; grid-template-columns: minmax(520px, 1fr) 360px; gap: 14px; }
.builder-scene { min-height: 520px; border-radius: 12px; }
.upload-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.upload-card { border: 1px dashed #b9cbc4; border-radius: 14px; background: #fbfdfb; padding: 14px; min-height: 130px; display: grid; align-content: center; gap: 6px; color: var(--muted); }
.upload-card strong { color: var(--ink); }
.builder-panel,
.ops-panel,
.profile-card,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(18,33,28,.05);
}
.profile-layout {
  display: grid;
  grid-template-columns: 320px minmax(480px, 760px);
  gap: 14px;
  align-items: start;
}
.profile-card {
  background:
    linear-gradient(145deg, rgba(15,107,88,.96), rgba(18,33,28,.96));
  color: white;
}
.profile-card strong,
.profile-card span { display: block; }
.profile-card span,
.profile-card p { color: rgba(255,255,255,.72); }
.profile-card .progress-line { background: rgba(255,255,255,.18); }
.profile-card .progress-line span { background: white; }
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) 300px;
  gap: 14px;
  margin-bottom: 14px;
}
.table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.table-head h2 { margin-bottom: 0; }
.ops-list { display: grid; gap: 10px; margin: 14px 0; }
.ops-list div {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 12px;
}
.ops-list strong { display: block; font-size: 24px; color: var(--green); }
.ops-list span { color: var(--muted); font-weight: 750; }
.admin-filterbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  margin-bottom: 12px;
}
.tariff-rules { margin-top: 14px; }
.table-link {
  border: 0;
  border-radius: 999px;
  background: #e7f5f1;
  color: var(--green);
  padding: 7px 10px;
  font-weight: 900;
}
.review-grid { display: grid; grid-template-columns: minmax(480px, 1fr) 360px; gap: 14px; margin-top: 14px; }
.checklist { display: grid; gap: 10px; }
.check-item { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.check-item:last-child { border-bottom: 0; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
label { color: var(--muted); font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; background: white; color: var(--ink); transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease); }
input:focus, select:focus, textarea:focus { border-color: rgba(15,107,88,.46); box-shadow: 0 0 0 4px rgba(15,107,88,.08); }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,45,32,.08); }

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  max-width: min(360px, calc(100vw - 32px));
  border: 1px solid rgba(15,107,88,.22);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  color: var(--ink);
  padding: 13px 16px;
  box-shadow: var(--shadow-strong);
  font-weight: 850;
  animation: toastIn .24s var(--ease) both;
  backdrop-filter: blur(12px);
}

@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.auth-screen {
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(520px, 640px);
  min-height: calc(100vh - 73px);
  background:
    radial-gradient(circle at 90% 10%, rgba(47,111,237,.10), transparent 28%),
    #f7f4ed;
}
.auth-visual {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background:
    linear-gradient(90deg, rgba(16,24,40,.72), rgba(16,24,40,.20)),
    linear-gradient(105deg, #19352f 0%, #6da09a 23%, #e7e2ca 45%, #87995d 65%, #213a37 100%);
}
.auth-visual.compact { justify-content: flex-start; gap: 42px; }
.auth-copy { max-width: 680px; }
.auth-copy h1 { font-size: clamp(34px, 3.6vw, 52px); max-width: 620px; }
.auth-copy p { color: rgba(255,255,255,.76); max-width: 580px; }
.auth-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.auth-points span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.10); padding: 8px 10px; color: rgba(255,255,255,.86); font-size: 13px; font-weight: 850; }
.auth-preview {
  width: min(420px, 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  padding: 16px;
  backdrop-filter: blur(12px);
}
.preview-top { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.preview-top span { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.22); }
.preview-top strong { flex: 1; }
.preview-top em { border-radius: 999px; background: rgba(255,255,255,.16); padding: 5px 8px; color: rgba(255,255,255,.78); font-style: normal; font-size: 12px; font-weight: 850; }
.preview-metrics { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 4px 8px; align-items: end; }
.preview-metrics b { font-size: 28px; line-height: 1; }
.preview-metrics span,
.auth-preview small { color: rgba(255,255,255,.68); font-weight: 750; }
.auth-preview .progress-line { background: rgba(255,255,255,.18); margin: 16px 0 10px; }
.auth-preview .progress-line span { background: white; }
.auth-form { display: flex; align-items: center; padding: 34px; background: rgba(255,255,255,.72); }
.auth-card { width: 100%; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.96); padding: 18px; box-shadow: var(--shadow-strong); }
.auth-form-grid { display: grid; grid-template-columns: 1fr 280px; gap: 16px; align-items: stretch; }
.auth-form-grid.single { grid-template-columns: 1fr; }
.auth-card h2 { font-size: 30px; margin-bottom: 6px; }
.auth-card > .auth-form-grid { margin-bottom: 16px; }
.signup-inline {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.signup-inline h3 { margin: 8px 0 6px; }
.signup-inline p { margin-bottom: 0; font-size: 14px; }
.signup-mini-form { display: grid; gap: 8px; align-content: center; }
.signup-mini-form .btn { color: var(--green); }
.register-card { max-width: 760px; margin: 0 auto; }
.register-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.register-head h2,
.register-head p { margin-bottom: 0; }
.register-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 280px;
  gap: 16px;
  align-items: stretch;
}
.register-summary {
  border: 1px solid rgba(15,107,88,.18);
  border-radius: 18px;
  background: #f2faf7;
  padding: 16px;
}
.register-summary strong { display: block; margin: 8px 0; font-size: 30px; }
.register-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

@media (max-width: 1120px) {
  .home-grid, .object-layout, .location-section, .owner-hero, .work-shell, .auth-screen { grid-template-columns: 1fr; }
  .catalog-grid, .steps, .pricing-grid, .stats-grid, .kpis, .builder-grid, .summary-strip, .owner-benefits, .upload-board, .review-grid, .calculator-panel, .calc-grid, .launch-strip, .reviews-layout, .reviews-grid, .object-reviews-section, .category-tiles, .related-grid, .featured-strip, .pricing-checks, .owner-flow, .admin-health, .how-grid, .owner-object-grid, .admin-dashboard-grid, .profile-layout, .owner-workspace, .owner-setup { grid-template-columns: repeat(2, 1fr); }
  .object-info { border-left: 0; border-top: 1px solid var(--line); }
  .work-side { position: static; height: auto; }
  .work-hero { align-items: flex-start; flex-direction: column; }
  .work-actions { justify-content: flex-start; }
  .admin-filterbar { grid-template-columns: 1fr; }
  .auth-visual { min-height: 420px; }
  .auth-form-grid { grid-template-columns: 1fr; }
  .signup-inline { grid-template-columns: 1fr; }
  .register-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { background: #f7faf8; }
  .site-header { position: static; align-items: flex-start; flex-direction: column; padding: 12px; gap: 10px; }
  .brand { font-size: 18px; }
  .logo { width: 36px; height: 36px; border-radius: 9px; }
  .site-nav { width: 100%; }
  .site-nav button { padding: 8px 10px; font-size: 14px; }
  .header-actions { width: 100%; }
  .header-actions .btn { flex: 1; }
  .page { padding: 12px; }
  .home-map-page { padding: 10px; }
  .catalog-grid, .steps, .pricing-grid, .stats-grid, .kpis, .builder-grid, .summary-strip, .owner-benefits, .upload-board, .review-grid, .calculator-panel, .calc-grid, .launch-strip, .reviews-layout, .reviews-grid, .object-reviews-section, .category-tiles, .related-grid, .featured-strip, .pricing-checks, .object-quickbar, .owner-flow, .admin-health, .how-grid, .owner-object-grid, .admin-dashboard-grid, .profile-layout, .owner-workspace, .owner-setup { grid-template-columns: 1fr; }
  .review-form-card { position: static; }
  .search { grid-template-columns: 1fr; }
  .hero-actions, .catalog-head, .catalog-tools, .panel-title-row, .section-head, .commercial-cta { align-items: stretch; flex-direction: column; }
  .home-grid { gap: 10px; min-height: auto; }
  .home-grid .map { order: -1; }
  .map { min-height: 430px; border-radius: 14px; }
  .map.compact { min-height: 320px; }
  .viewer, .object-layout { min-height: 520px; }
  .home-panel { max-height: none; }
  .home-panel h1 { font-size: 24px; }
  .quick-metrics { grid-template-columns: repeat(3, 1fr); }
  .object-card { grid-template-columns: 76px 1fr; }
  .catalog-card .thumb { min-height: 170px; }
  .catalog-card .btn-row,
  .object-info .btn-row { flex-direction: column; }
  .object-info { padding: 22px 16px; }
  .object-reviews-section,
  .location-section,
  .related-section { padding: 16px; }
  .scene { width: 72px; height: 48px; }
  .viewer-bottom, .viewer-bar { left: 12px; right: 12px; }
  .viewer-bottom { justify-content: center; bottom: 12px; }
  .scene-strip { width: min(100%, 360px); gap: 7px; padding: 8px; justify-content: center; }
  .scene { flex: 1 1 0; width: auto; min-width: 0; max-width: 78px; height: 46px; }
  .ymap-balloon { width: 280px; grid-template-columns: 82px 1fr; }
  .ymap-balloon img { width: 82px; height: 82px; }
  .work-main { padding: 12px; overflow: hidden; }
  .work-side { padding: 12px; overflow: hidden; }
  .side-note { display: none; }
  .work-nav { display: inline-flex; width: auto; margin: 0 6px 8px 0; padding: 9px 11px; }
  .work-hero { padding: 16px; border-radius: 16px; }
  .work-main h1 { font-size: 30px; line-height: 1.06; }
  .work-hero p { font-size: 14px; }
  .work-actions,
  .work-actions .btn { width: 100%; }
  .admin-filterbar { grid-template-columns: 1fr; }
  .table-head { align-items: stretch; flex-direction: column; }
  .table-head .btn { width: 100%; }
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .table-wrap tr {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(18,33,28,.045);
  }
  .table-wrap tr + tr { margin-top: 10px; }
  .table-wrap tr:first-child { display: none; }
  .table-wrap td {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-bottom: 1px solid var(--line);
    padding: 11px 12px;
    font-size: 14px;
  }
  .table-wrap td:last-child { border-bottom: 0; }
  .table-wrap td::before {
    color: var(--muted);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .objects-admin-table td:nth-child(1)::before,
  .objects-owner-table td:nth-child(1)::before { content: "Объект"; }
  .objects-admin-table td:nth-child(2)::before,
  .objects-owner-table td:nth-child(2)::before { content: "Категория"; }
  .objects-admin-table td:nth-child(3)::before,
  .objects-owner-table td:nth-child(3)::before { content: "Точки"; }
  .objects-admin-table td:nth-child(4)::before,
  .objects-owner-table td:nth-child(4)::before { content: "Просмотры"; }
  .objects-admin-table td:nth-child(5)::before { content: "Владелец"; }
  .objects-owner-table td:nth-child(5)::before { content: "Действие"; }
  .users-table td:nth-child(1)::before { content: "Владелец"; }
  .users-table td:nth-child(2)::before { content: "Контакт"; }
  .users-table td:nth-child(3)::before { content: "Объекты"; }
  .users-table td:nth-child(4)::before { content: "Точки"; }
  .balance-table td:nth-child(1)::before { content: "Дата"; }
  .balance-table td:nth-child(2)::before { content: "Операция"; }
  .balance-table td:nth-child(3)::before { content: "Точки"; }
  .balance-table td:nth-child(4)::before { content: "Сумма"; }
  .reviews-table td:nth-child(1)::before { content: "Выбор"; }
  .reviews-table td:nth-child(2)::before { content: "Имя"; }
  .reviews-table td:nth-child(3)::before { content: "Объект"; }
  .reviews-table td:nth-child(4)::before { content: "Оценка"; }
  .reviews-table td:nth-child(5)::before { content: "Отзыв"; }
  .reviews-table td:nth-child(6)::before { content: "Дата"; }
  .reviews-table td:nth-child(5) {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .table-actions { align-items: stretch; flex-direction: column; }
  .table-actions span { margin-right: 0; }
  .table-actions .btn { width: 100%; }
  .owner-object-card { grid-template-columns: 1fr; }
  .owner-object-card .thumb { min-height: 150px; }
  .active-tour-card { grid-template-columns: 1fr; padding: 14px; }
  .active-tour-card .thumb { min-height: 180px; }
  .workspace-stats { grid-template-columns: 1fr; }
  .auth-screen { min-height: auto; }
  .auth-form { order: -1; }
  .auth-visual { min-height: auto; padding: 22px 16px; gap: 24px; }
  .auth-copy h1 { font-size: 30px; }
  .auth-points { margin-top: 14px; }
  .auth-preview { padding: 14px; }
  .auth-form { padding: 14px; }
  .auth-card { border-radius: 18px; padding: 14px; }
  .register-head,
  .register-actions { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .toast { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .tour-viewer { min-height: 100svh; }
  .tour-topbar {
    left: 0;
    top: 0;
    max-width: calc(100% - 116px);
    border-radius: 0 0 14px 0;
  }
  .tour-back {
    width: 48px;
    min-height: 50px;
    font-size: 36px;
  }
  .tour-title {
    min-width: 0;
    padding: 8px 11px;
  }
  .tour-title strong { font-size: 16px; }
  .tour-title span { font-size: 12px; }
  .tour-controls {
    top: 0;
    right: 0;
    border-radius: 0 0 0 14px;
  }
  .tour-controls button {
    width: 38px;
    height: 50px;
    font-size: 14px;
  }
  .tour-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }
  .tour-scenes {
    width: 100%;
    max-width: none;
    padding: 8px;
    gap: 8px;
  }
  .tour-scene { flex-basis: 86px; }
  .tour-scene span { height: 52px; }
  .pnlm-controls-container { transform: scale(.86); transform-origin: left top; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
