
:root {
  --accent: #004a99;
  --accent-bright: #007aff;
  --accent-soft: color-mix(in srgb, var(--accent) 10%, transparent);
  --bg: #ffffff;
  --page-bg: #ffffff;
  --surface: #ffffff;
  --text: #001f3f;
  --muted: #666666;
  --chip-bg: #f4f8fb;
  --border: rgba(0, 31, 63, 0.08);
  --shadow: 0 16px 40px rgba(0, 31, 63, 0.06);
  --radius: 20px;
  --card-radius: 20px;
  --brand-mark: OCEANIQ;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  /* В Telegram WebView фон часто "темнеет" из-за темы клиента.
     Здесь фон фиксируем от настроек сайта, чтобы он был белым. */
  color-scheme: light;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--page-bg);
}
html, body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  background: var(--page-bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body { padding-top: calc(10px + var(--safe-top)); padding-bottom: calc(28px + var(--safe-bottom)); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.shell-ocean { width: min(440px, calc(100% - 40px)); margin: 0 auto; display: grid; gap: 12px; }
@media (min-width: 900px) {
  .shell-ocean { width: min(1200px, calc(100% - 48px)); gap: 20px; }
}
.app-topbar-ocean {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 0 6px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--page-bg) 72%, transparent);
  padding-top: calc(8px + var(--safe-top));
  margin-top: calc(-1 * var(--safe-top));
}
.topbar-left { justify-self: start; min-width: 0; }
.topbar-right {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}
.topbar-right > .topbar-btn,
.topbar-right > .topbar-filters-pill {
  flex-shrink: 0;
}
.topbar-back {
  display: inline-flex; align-items: center; gap: 2px; padding: 8px 8px 8px 0;
  border: 0; background: transparent; color: #8e8e93; font-size: 15px; font-weight: 500;
  cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent;
}
.topbar-back svg { flex-shrink: 0; color: #aeaeb2; }
.topbar-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0; border-radius: 0; border: 0;
  background: transparent; color: var(--text); font-size: 14px; font-weight: 500;
  cursor: pointer; min-height: 44px; -webkit-tap-highlight-color: transparent;
}
.topbar-filters-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 31, 63, 0.1);
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 31, 63, 0.06);
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.topbar-filters-pill svg { opacity: 0.55; color: var(--text); }
.topbar-btn svg { opacity: 0.75; color: var(--accent); }
/* Главный экран: без hero; шапка только если есть «Написать» в Telegram (см. data-show-topbar-dm) */
body[data-catalog-mode="projects"] .hero.hero-ocean {
  display: none !important;
}
body[data-catalog-mode="projects"][data-show-topbar-dm="false"] .app-topbar-ocean {
  display: none !important;
}
body[data-catalog-mode="projects"] .shell-ocean {
  width: min(440px, calc(100% - 32px));
  gap: 0;
}
@media (min-width: 900px) {
  body[data-catalog-mode="projects"] .shell-ocean {
    width: min(1200px, calc(100% - 40px));
    gap: 16px;
  }
}
body[data-catalog-mode="projects"] .catalog.catalog-ocean {
  gap: 32px;
  padding-top: 4px;
  padding-bottom: 28px;
}
/* Экран списка юнитов — колонка как в макете, по центру на любом экране */
body[data-catalog-mode="units"] .shell-ocean {
  width: min(440px, calc(100% - 24px));
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  gap: 0;
}
@media (min-width: 900px) {
  body[data-catalog-mode="units"] .shell-ocean {
    width: min(440px, calc(100% - 24px));
    max-width: 440px;
  }
}
body[data-catalog-mode="units"] .hero.hero-ocean {
  display: block;
  margin: 0;
  padding: 2px 0 10px;
}
body[data-catalog-mode="units"] .hero.hero-ocean .hero-title-desktop,
body[data-catalog-mode="units"] .hero.hero-ocean .hero-copy-desktop,
body[data-catalog-mode="units"] .hero.hero-ocean .hero-meta {
  display: none !important;
}
body[data-catalog-mode="units"] .hero.hero-ocean .project-subtitle {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
  line-height: 1.35;
  text-align: left;
}
/* Список юнитов — одна колонка (медиа каталога ниже по файлу не должны включать сетку) */
body[data-catalog-mode="units"] .catalog.catalog-ocean {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  gap: 28px;
  padding-top: 4px;
  padding-bottom: 28px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.miniapp-badge { font-size: 12px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; background: var(--surface); }
.miniapp-badge.hidden { display: none !important; }
.hero.hero-ocean {
  position: relative; overflow: visible; border: none; border-radius: 0; padding: 0 0 8px;
  background: transparent; box-shadow: none;
}
.project-subtitle {
  margin: 0 0 16px; font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--muted); text-transform: none; line-height: 1.4;
}
.shell-ocean .hero-title-desktop {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}
.shell-ocean .hero-copy-desktop {
  display: block;
  margin: 0 0 12px;
  max-width: 52ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.hero-title-desktop { display: none; }
.hero-copy-desktop { display: none; }
@media (min-width: 900px) {
  .hero-title-desktop { display: block; margin: 0 0 8px; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); line-height: 1.15; }
  .hero-copy-desktop { display: block; margin: 0 0 12px; max-width: 52ch; color: var(--muted); line-height: 1.6; font-size: 15px; }
  .shell-ocean .hero-title-desktop,
  .shell-ocean .hero-copy-desktop { font-size: inherit; }
  .shell-ocean .hero-title-desktop { font-size: 28px; }
  .shell-ocean .hero-copy-desktop { font-size: 15px; }
}
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.hero-count { font-size: 13px; color: var(--muted); }
.hero-count strong { color: var(--text); font-weight: 700; font-variant-numeric: tabular-nums; }
.brand-row { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap: wrap; }
.brand-pill, .tag, .status-tag { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 12px; font-size: 13px; line-height: 1; border: 1px solid var(--border); }
.brand-pill, .tag { background: var(--surface); }
.status-tag { background: var(--accent-soft); color: var(--text); }
.stat-card, .glass { border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); }
.stat-card { border-radius: 20px; padding: 16px; }
.stat-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.stat-value { font-size: 24px; letter-spacing: -0.03em; }
.controls { display: grid; gap: 14px; border-radius: var(--card-radius); padding: 16px; }
@media (max-width: 899px) {
  .filters-panel:not(.filters-panel-open) { display: none; }
}
/* Выкл. в админке по умолчанию — см. body[data-show-search-filters] */
body[data-show-search-filters="false"] #toggleFilters,
body[data-show-search-filters="false"] #filtersPanel {
  display: none !important;
}
/* Фильтры только на экране юнитов внутри проекта */
body[data-catalog-mode="units"] #toggleFilters {
  display: inline-flex !important;
}
body[data-catalog-mode="units"][data-show-search-filters="false"] #filtersPanel.filters-panel-open {
  display: grid !important;
}
body[data-catalog-mode="projects"] #toggleFilters,
body[data-catalog-mode="projects"] #filtersPanel,
body[data-catalog-mode="projects"] .filters-panel {
  display: none !important;
}
/* Фильтры (юниты): только селекты — сетка 2×2 на телефоне, 4 колонки от 640px */
#filtersPanel.filters-panel-ocean {
  gap: 0;
  padding: 18px 16px 20px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  background: linear-gradient(
    165deg,
    var(--surface) 0%,
    color-mix(in srgb, var(--surface) 94%, var(--accent) 4%) 100%
  );
  box-shadow: 0 4px 28px rgba(0, 31, 63, 0.07);
}
.filters-grid {
  display: grid;
  gap: 14px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
@media (min-width: 640px) {
  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }
}
.filters-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.filters-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.25;
}
#filtersPanel.filters-panel-ocean select {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 88%, transparent);
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2370695d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px 12px;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
#filtersPanel.filters-panel-ocean select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
body[data-mini-app="true"] .filters-grid {
  gap: 12px 10px;
}
.control-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.control-group { display: grid; gap: 8px; }
.control-group label { font-size: 13px; color: var(--muted); }
input, select, textarea { width: 100%; border-radius: 16px; padding: 14px 16px; border: 1px solid var(--border); background: var(--surface); color: var(--text); outline: none; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 0.85; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.catalog.catalog-ocean {
  display: flex; flex-direction: column; gap: 36px; width: 100%; margin: 0 auto; padding-bottom: 24px;
}
@media (min-width: 640px) and (max-width: 899px) {
  .catalog.catalog-ocean {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; align-items: stretch;
  }
  body[data-catalog-mode="projects"] .catalog.catalog-ocean {
    gap: 32px 24px;
  }
}
@media (min-width: 900px) {
  .catalog.catalog-ocean {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; align-items: stretch;
  }
  body[data-catalog-mode="projects"] .catalog.catalog-ocean {
    column-gap: 28px;
    row-gap: 32px;
  }
}
.card.card-ocean {
  position: relative; overflow: hidden; border-radius: 20px; border: 1px solid var(--border);
  background: var(--surface); box-shadow: 0 10px 28px rgba(0, 31, 63, 0.08); cursor: pointer; width: 100%; max-width: 100%;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform 0.2s ease;
}
.card.card-ocean.card-project {
  border-radius: 16px;
  border: none;
  box-shadow: 0 6px 28px rgba(0, 31, 63, 0.07);
}
.card-ocean:hover { transform: translateY(-2px); }
.card-ocean .card-media {
  flex-shrink: 0;
}
.card-media {
  position: relative; border-radius: 0; overflow: hidden;
  background: #e8eef4; box-shadow: none;
}
.card-media-gradient {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 45%, transparent 55%, rgba(0,0,0,0.25) 100%);
}
.card-ocean.card-project .card-media--project-hero .card-media-gradient {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 38%,
    transparent 52%,
    rgba(0, 0, 0, 0.18) 72%,
    rgba(0, 0, 0, 0.38) 100%
  );
}
.card-ocean .card-image { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; display: block; position: relative; z-index: 0; }
.card-media--clean { border-radius: 14px 14px 0 0; overflow: hidden; }
.card-media--unit-cover {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 31, 63, 0.06);
}
.card-media--project-hero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}
/* Проект: фото на всю ширину карточки, без «белых щелей» у скругления */
.card-ocean.card-project .card-media--project-hero {
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 9;
  background: #e8eef4;
}
.card-ocean.card-project .card-media--clean .card-image,
.card-ocean.card-unit .card-media--clean .card-image,
.card-ocean.card-unit .card-media--unit-cover .card-image,
.card-ocean.card-project .card-media--project-hero .card-image {
  border-radius: 0;
}
.card-ocean.card-project .card-media--project-hero .card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: unset;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.card-ocean.card-unit .card-media--unit-cover .card-image {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}
.card-media-overlay {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2; padding: 20px 16px; text-align: center; pointer-events: none;
}
.card-media-overlay--project-brand {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14% 18px 0;
  text-align: center;
}
.overlay-brand {
  display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.35em; color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35); margin-bottom: 4px;
}
.overlay-project {
  display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.4); line-height: 1.3; max-width: 90%; margin: 0 auto;
}
.card-ocean.card-project .overlay-brand--text {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(13px, 3.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
  line-height: 1.15;
}
/* Текстовый знак OCEΛNIQ (Inter) — без PNG, чтобы Telegram WebView не ломал прозрачность */
.card-ocean.card-project .overlay-brand-wordmark {
  display: block;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(11px, 2.85vw, 14px);
  letter-spacing: 0.2em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  margin: 0 auto 10px;
  line-height: 1.2;
}
.card-ocean.card-project .overlay-project {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(9px, 2.35vw, 11px);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  max-width: 96%;
  line-height: 1.4;
}
.card-award-badge--apac {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: pre-line;
  text-align: center;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  color: #f8ecd4;
  padding: 11px 6px;
  border-radius: 4px;
  background: linear-gradient(165deg, #3d2818 0%, #1f1410 45%, #0f0a08 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 220, 150, 0.12);
  text-transform: uppercase;
  pointer-events: none;
}
.card-status-badge {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
  padding: 7px 12px; border-radius: 10px; font-size: 12px; font-weight: 600;
  background: rgba(0, 0, 0, 0.5); color: #fff; backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Бейдж срока (Q1 2026) — стекло, как в макете поверх фото юнита */
.card-ocean.card-unit .card-status-badge {
  bottom: 11px;
  left: 11px;
  padding: 9px 14px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  background: rgba(12, 18, 28, 0.42);
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.card-award-badge {
  position: absolute; top: 14px; right: 12px; z-index: 3;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-size: 9px; font-weight: 800; letter-spacing: 0.08em; color: #fff;
  padding: 10px 6px; border-radius: 6px; background: rgba(0,0,0,0.55); text-transform: uppercase;
}
.card-body { display: grid; gap: 12px; padding: 14px 14px 16px; background: var(--surface); }
.card-ocean .card-body {
  display: flex; flex-direction: column; flex: 1; min-height: 0;
  gap: 10px; padding: 14px 14px 16px; background: var(--surface);
}
.card-title { margin: 0; font-size: 19px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; color: #1a1a1a; }
.card-ocean .card-title {
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.card-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.card-desc-muted { color: var(--muted); }
.card-ocean .card-desc {
  flex-shrink: 0;
  min-height: calc(1.55em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.card-price {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--accent-bright); font-variant-numeric: tabular-nums;
}
.card-ocean .card-price { flex-shrink: 0; min-height: 1.3em; }
.card-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.card-ocean .card-chips {
  flex-shrink: 0;
  min-height: 6.25rem;
  align-content: flex-start;
  margin-top: 0;
}
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px;
  font-size: 12px; font-weight: 600; color: var(--text); background: var(--chip-bg); border: 1px solid rgba(0,74,153,0.08);
}
.chip-svg { flex-shrink: 0; color: var(--accent); opacity: 0.9; }
.card-cta {
  margin-top: 6px; width: 100%; border: 0; border-radius: 12px; padding: 15px 18px;
  background: var(--accent-bright); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
  min-height: 52px; -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.card-ocean .card-cta {
  margin-top: auto;
  flex-shrink: 0;
}
.card-ocean.card-project .card-project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 8px;
  padding: 14px 14px 14px;
  align-items: stretch;
  box-sizing: border-box;
}
.card-project-year {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 1.4em;
}
.card-project-year--status {
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 600;
  font-size: 13px;
}
.card-project-year--empty {
  opacity: 0;
}
.card-ocean.card-project .card-project-title {
  margin: 0;
  padding: 0;
  min-height: 0;
  color: #1d3557;
  font-size: clamp(20px, 4.5vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-align: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.card-ocean.card-project .card-project-desc,
.card-ocean.card-project .card-project-desc.card-desc-muted {
  color: #6b7280;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}
.card-ocean.card-project .card-project-desc {
  min-height: 0;
  max-height: calc(1.5em * 3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  text-align: start;
  text-indent: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.card-unit-chips-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 4px;
  padding: 0;
  background: transparent;
  min-height: 0;
}
.card-unit-chips-tags .chip.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 122, 255, 0.12);
  background: #e8eef5;
  font-size: 12px;
  font-weight: 600;
  color: #1d3557;
  white-space: nowrap;
  box-shadow: none;
}
.card-unit-chips-tags .chip-tag .chip-svg {
  color: #007aff;
  opacity: 0.95;
}
.card-ocean.card-unit .card-chips {
  min-height: 0;
}
.card-ocean.card-unit .card-unit-body {
  gap: 8px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.card-ocean.card-unit .card-unit-title {
  color: #1d3557;
  font-size: clamp(19px, 4.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
  min-height: 0;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}
.card-ocean.card-unit .card-unit-price {
  color: #007aff;
  font-size: clamp(20px, 4.8vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card.card-ocean.card-unit {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  cursor: pointer;
}
.card-ocean.card-unit:hover {
  transform: none;
}
.card-ocean.card-unit .card-body {
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}
.card-unit-chips-tags.card-unit-chips-tags--row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}
.card-ocean.card-unit .card-unit-chips-tags.card-unit-chips-tags--row .chip.chip-tag {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 9px 5px;
  min-width: 0;
  border-radius: 8px;
  background: #f0f4f8;
  border: 1px solid rgba(0, 31, 63, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: #1d3557;
  white-space: nowrap;
}
.card-ocean.card-unit .card-unit-chips-tags.card-unit-chips-tags--row .chip-tag .chip-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #8e9aab;
  opacity: 1;
}
.card-ocean.card-unit .card-unit-chips-tags.card-unit-chips-tags--row .chip-tag span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
@media (max-width: 360px) {
  .card-ocean.card-unit .card-unit-chips-tags.card-unit-chips-tags--row .chip.chip-tag {
    font-size: 10px;
    padding: 8px 3px;
    gap: 2px;
  }
}
.card-project-cta {
  margin-top: auto;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 0;
  background: #007aff;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 50px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.28);
}
.card-ocean.card-project .card-project-cta {
  margin-top: auto;
  margin-left: 0;
  margin-right: 0;
  border-radius: 12px;
  min-height: 48px;
  padding-block: 12px;
  box-shadow: 0 8px 22px rgba(0, 122, 255, 0.22);
}
.card-project-cta__icon {
  flex-shrink: 0;
  margin-left: 2px;
}
.card-project-cta:hover {
  filter: brightness(1.04);
}
@media (hover: none) { .card-project-cta:hover { filter: none; } }
.card-cta:hover { filter: brightness(1.04); transform: translateY(-1px); }
@media (hover: none) { .card-cta:hover, .card-ocean:hover { transform: none; } }
.catalog:not(.catalog-ocean) { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); justify-items: center; }
.card:not(.card-ocean) { position: relative; overflow: hidden; border-radius: 28px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); cursor: pointer; width: 100%; max-width: 380px; }
.card:not(.card-ocean) .card-image { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; }
.card:not(.card-ocean) .card-body { padding: 18px; }
.card:not(.card-ocean) h3 { margin: 0; font-size: 24px; font-weight: 600; }
.price { font-size: 24px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
.meta-row, .meta-grid { display: grid; gap: 10px; }
.meta-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.meta-chip { border-radius: 16px; border: 1px solid var(--border); padding: 12px; background: #f8fafc; }
.meta-chip strong { display: block; font-size: 16px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.meta-chip span { font-size: 12px; color: var(--muted); }
.featured-badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,0.86); border: 1px solid var(--border); font-size: 12px; }
.cta-button, .secondary-button, .icon-button { border: 0; cursor: pointer; min-height: 48px; -webkit-tap-highlight-color: transparent; }
.cta-button, .secondary-button { border-radius: 14px; padding: 14px 18px; transition: transform 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease; }
@media (hover: none) { .cta-button:hover, .secondary-button:hover { transform: none; } }
.cta-button { background: var(--accent); color: white; font-weight: 700; box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 32%, transparent); }
.secondary-button { background: var(--accent-soft); color: var(--text); }
.cta-button:hover, .secondary-button:hover, .icon-button:hover { transform: translateY(-1px); }
.empty { border-radius: 24px; padding: 22px; text-align: center; }
.empty h3 { margin-top: 0; font-family: inherit; font-size: 26px; font-weight: 700; }
.hidden { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 100; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(25,23,20,0.46); backdrop-filter: blur(6px); }
.modal-panel { position: absolute; inset: auto 10px 10px; max-width: 1080px; margin: 0 auto; width: calc(100% - 20px); max-height: calc(100dvh - 20px); overflow: auto; -webkit-overflow-scrolling: touch; border-radius: 28px; border: 1px solid var(--border); background: var(--surface); box-shadow: 0 30px 80px rgba(30,24,14,0.18); }
.modal-panel-ocean {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
  overflow: hidden;
}
.modal-panel-ocean .modal-panel-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-property-ocean .modal-property-close {
  display: none;
}
.modal-property-head {
  padding: 10px 18px 8px;
  flex-shrink: 0;
}
.modal-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 6px 8px 6px 0;
  margin: 0 0 4px -4px;
  border: 0;
  background: transparent;
  color: #007aff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  min-height: 40px;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
}
.modal-detail-back svg {
  flex-shrink: 0;
  color: #5ac8fa;
}
.detail-project-line {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
  line-height: 1.35;
}
.modal-property-ocean .detail-location {
  display: none !important;
}
.modal-footer-cta {
  flex-shrink: 0;
  padding: 12px 18px calc(14px + var(--safe-bottom));
  border-top: 1px solid rgba(0, 31, 63, 0.08);
  background: var(--surface);
}
.modal-property-ocean .modal-topline-ocean {
  display: none;
}
.modal-gallery-ocean {
  padding: 0 16px 0;
}
.modal-gallery-stage {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}
.modal-gallery-ocean .modal-gallery-stage img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  border: 0;
}
.modal-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.modal-gallery-dots .modal-gallery-dot {
  pointer-events: auto;
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.modal-gallery-dots .modal-gallery-dot.is-active {
  background: #fff;
  transform: scale(1.15);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.modal-property-ocean .thumbs-below-gallery {
  display: none !important;
}
.detail-brand-line {
  margin: 0 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: #8e8e93;
  line-height: 1.35;
}
.modal-body-ocean h2 {
  color: #1d3557;
  font-size: clamp(24px, 5.2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 2px;
  margin: 6px 0 0;
}
.detail-price-main { margin: 0; }
.modal-property-ocean .detail-price-main.price-lg,
.modal-property-ocean .detail-price-perm2 {
  color: #007aff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.modal-property-ocean .detail-price-perm2 {
  font-size: clamp(14px, 3.5vw, 17px);
  font-weight: 500;
}
.modal-property-ocean .detail-price-main.price-lg {
  font-size: clamp(22px, 5.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.detail-meta-bar {
  margin: 10px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.detail-meta-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.detail-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 122, 255, 0.12);
  background: #e8eef5;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.detail-meta-tag__ico {
  flex-shrink: 0;
  color: #4b5563;
  opacity: 0.95;
}
.detail-meta-tag__val {
  font-variant-numeric: tabular-nums;
}
.detail-meta-tags--grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}
.detail-meta-tags--grid .detail-meta-tag {
  flex-direction: row;
  justify-content: center;
  min-width: 0;
  padding: 9px 4px;
  border-radius: 8px;
  background: #f0f4f8;
  border: 1px solid rgba(0, 31, 63, 0.06);
  font-size: 11px;
  font-weight: 600;
  color: #1d3557;
}
.detail-meta-tags--grid .detail-meta-tag__ico {
  width: 14px;
  height: 14px;
  color: #8e9aab;
}
@media (max-width: 360px) {
  .detail-meta-tags--grid .detail-meta-tag {
    font-size: 10px;
    padding: 8px 2px;
  }
}
.detail-desc-block {
  margin-top: 16px;
  padding-bottom: 14px;
  margin-bottom: 0;
  border-bottom: 1.5px solid var(--accent-bright);
}
.detail-desc-label {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: -0.01em;
}
.detail-desc-flow {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}
.detail-description {
  margin: 0;
  display: block;
  color: inherit;
  word-break: break-word;
}
.detail-desc-flow--clamped .detail-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-read-more {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: #8e8e93;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
}
.detail-read-more:hover {
  color: var(--accent-bright);
}
.tech-box-features {
  margin-top: 14px;
  padding-top: 16px;
  border: 0;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 0;
  background: transparent;
}
.tech-box-features.hidden {
  display: none !important;
}
.tech-list-diamond {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tech-list-diamond li {
  position: relative;
  padding-left: 1.15em;
  line-height: 1.55;
  color: #374151;
  font-size: 14px;
}
.tech-list-diamond li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 0.85em;
  color: #1d3557;
  line-height: 1;
}
.tech-box-invest {
  margin-top: 0;
  padding-top: 16px;
  border: 0;
  border-top: 1px solid rgba(0, 31, 63, 0.08);
  border-radius: 0;
  background: transparent;
}
.detail-invest-label {
  margin-bottom: 10px;
}
.tech-list-invest {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.tech-list-invest .invest-li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  margin: 0;
}
.tech-list-invest .invest-li__ico {
  flex-shrink: 0;
  margin-top: 1px;
  color: #6b7280;
}
.tech-list-invest .invest-li__emoji {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.05em;
}
.tech-list-invest .invest-li__txt {
  flex: 1;
  min-width: 0;
}
.tech-list-invest .invest-li--plain {
  padding-left: 0;
}
.tech-list-invest li:not(.invest-li) {
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
  padding-left: 0;
}
.tech-list-invest li:not(.invest-li)::before {
  display: none;
}
.cta-button-fin {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  gap: 10px;
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 16px;
  font-weight: 600;
  min-height: 56px;
  background: #007aff;
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}
.cta-button-fin .cta-fin-emoji {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.cta-button-fin svg {
  flex-shrink: 0;
  opacity: 0.95;
  color: #fff;
}
.form-panel { max-width: 620px; }
.close-button { position: sticky; top: 14px; float: right; z-index: 3; margin: 14px 14px 0 0; width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--text); font-size: 26px; -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; justify-content: center; }
.modal-gallery { padding: 18px 18px 0; }
.modal-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; border: 1px solid var(--border); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow: auto; padding-bottom: 4px; }
.thumb { width: 90px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid transparent; cursor: pointer; flex: 0 0 auto; background: transparent; }
.thumb.active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-body { display: grid; gap: 18px; padding: 18px 18px 24px; }
.modal-body.modal-body-ocean {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 18px 24px;
}
.modal-body-ocean .modal-topline-ocean {
  order: -2;
}
.modal-body-ocean h2#detailTitle {
  order: -1;
  margin: 0 0 2px;
}
.modal-body-ocean .detail-price-row {
  order: 0;
  margin: 0 0 2px;
}
.modal-body-ocean .detail-meta-bar {
  order: 1;
}
.modal-body-ocean .detail-desc-block {
  order: 2;
  margin-top: 4px;
}
.modal-body-ocean .tech-box-features {
  order: 3;
}
.modal-body-ocean .tech-box-invest {
  order: 4;
}
.modal-topline { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-body h2 { margin: 0; font-size: clamp(24px, 5vw, 34px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; font-family: inherit; }
.detail-location, .detail-description, .form-header p { color: var(--muted); line-height: 1.7; margin: 0; }
.price-lg { font-size: clamp(28px, 6vw, 42px); font-weight: 900; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--accent); }
.detail-meta-chips {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 2px 0 0; min-height: 0;
}
.detail-meta-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 12px; border-radius: 10px;
  font-size: 13px; font-weight: 600; line-height: 1.2;
  color: var(--text); background: var(--chip-bg);
  border: 1px solid rgba(0, 74, 153, 0.1);
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.detail-meta-chip__ico {
  flex-shrink: 0; width: 16px; height: 16px; color: var(--accent); opacity: 0.92;
}
.detail-meta-chip__val { font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 28ch; }
.detail-meta-empty {
  display: block; font-size: 13px; color: var(--muted); line-height: 1.45; font-style: italic;
}
.meta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tech-box { border-radius: 24px; border: 1px solid var(--border); padding: 18px; background: color-mix(in srgb, var(--bg) 98%, var(--surface)); }
.tech-box h3, .form-header h2 { margin: 0 0 12px; font-family: inherit; font-size: 26px; font-weight: 700; }
.tech-box.tech-box-invest h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}
.tech-list { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.form-header { padding: 22px 22px 4px; }
.lead-form { padding: 0 22px 22px; display: grid; gap: 14px; }
.success-box { margin: 0 22px 22px; padding: 18px; border-radius: 22px; background: rgba(91, 163, 118, 0.08); border: 1px solid rgba(91, 163, 118, 0.18); }
.success-box h3 { margin-top: 0; font-family: inherit; font-size: 26px; font-weight: 700; }
@media (max-width: 820px) { .control-grid, .meta-grid, .meta-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .modal-panel { inset: auto 8px 8px; width: calc(100% - 16px); border-radius: 24px; } }
@media (max-width: 560px) { .shell { width: calc(100% - 16px); } .hero, .controls { padding: 16px; } .control-grid, .meta-grid, .meta-row { grid-template-columns: 1fr; } .card h3 { font-size: 22px; } .brand-row {align-items:flex-start; flex-direction:column;} .modal-gallery, .modal-gallery-ocean, .modal-body { padding-left: 14px; padding-right: 14px; } .modal-body.modal-body-ocean { padding-left: 14px; padding-right: 14px; } .form-header, .lead-form { padding-left: 16px; padding-right: 16px; } .success-box { margin-left: 16px; margin-right: 16px; } }

/* Мини-приложение: на всю ширину WebView, отступы = safe-area + поле, без «полосы» сбоку */
body[data-mini-app="true"] .shell.shell-ocean {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(14px, var(--safe-left));
  padding-right: max(14px, var(--safe-right));
  box-sizing: border-box;
  gap: 12px;
}
body[data-mini-app="true"] .hero { padding: 14px 16px; border-radius: 20px; }
body[data-mini-app="true"] .hero h1 { font-size: clamp(22px, 5vw, 28px); margin: 6px 0 4px; }
body[data-mini-app="true"] .hero-copy { font-size: 14px; line-height: 1.5; }
body[data-mini-app="true"] .stat-card { padding: 12px; border-radius: 16px; }
body[data-mini-app="true"] .stat-value { font-size: 20px; }
body[data-mini-app="true"] .controls { padding: 12px; border-radius: 18px; gap: 12px; }
body[data-mini-app="true"] .control-grid { gap: 8px; }
body[data-mini-app="true"] .control-group label { font-size: 12px; }
body[data-mini-app="true"] input, body[data-mini-app="true"] select { padding: 10px 12px; border-radius: 12px; font-size: 15px; }
body[data-mini-app="true"] .catalog.catalog-ocean { gap: 22px; }
body[data-mini-app="true"][data-catalog-mode="projects"] .catalog.catalog-ocean {
  display: flex !important;
  flex-direction: column !important;
  grid-template-columns: unset !important;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  padding-inline: 0;
  box-sizing: border-box;
}
body[data-mini-app="true"][data-catalog-mode="projects"] .card-ocean.card-project {
  margin-inline: 0;
  max-width: 100%;
}
body[data-mini-app="true"][data-catalog-mode="projects"] .card-ocean.card-project .card-project-body {
  padding: 12px 14px 12px;
  gap: 6px;
}
body[data-mini-app="true"][data-catalog-mode="projects"] .card-ocean.card-project .card-project-title,
body[data-mini-app="true"][data-catalog-mode="projects"] .card-ocean.card-project .card-project-desc {
  text-align: start;
  margin-inline: 0;
  padding-inline: 0;
  width: 100%;
  max-width: 100%;
}
body[data-mini-app="true"][data-catalog-mode="units"] .catalog.catalog-ocean {
  gap: 28px;
}
body[data-mini-app="true"] .card-ocean .card-title { font-size: 18px; }
body[data-mini-app="true"] .card-ocean.card-project .card-project-title {
  font-size: clamp(19px, 4.8vw, 22px);
}
body[data-mini-app="true"] .card-ocean.card-unit .card-unit-title {
  font-size: clamp(18px, 4.5vw, 22px);
}
body[data-mini-app="true"] .card-ocean.card-unit .card-unit-price {
  font-size: clamp(19px, 4.7vw, 23px);
}
body[data-mini-app="true"] .card-ocean .card-price { font-size: 20px; }
body[data-mini-app="true"] .card-ocean .card-body:not(.card-project-body) {
  padding-top: 12px;
}
body[data-mini-app="true"] .hero-title { font-size: 21px; }
body[data-mini-app="true"] .catalog { gap: 12px; }
body[data-mini-app="true"] .card:not(.card-ocean) { border-radius: 20px; max-width: 100%; }
body[data-mini-app="true"] .card:not(.card-ocean) .card-body { padding: 14px; gap: 10px; }
body[data-mini-app="true"] .card:not(.card-ocean) h3 { font-size: 18px; }
body[data-mini-app="true"] .price { font-size: 18px; }
body[data-mini-app="true"] .meta-row { gap: 8px; }
body[data-mini-app="true"] .meta-chip { padding: 10px; border-radius: 12px; }
body[data-mini-app="true"] .meta-chip strong { font-size: 14px; }
body[data-mini-app="true"] .detail-meta-tags { gap: 6px 8px; }
body[data-mini-app="true"] .detail-meta-tag { padding: 7px 10px; font-size: 11px; }
body[data-mini-app="true"] .detail-meta-tag__ico { width: 15px; height: 15px; }
body[data-mini-app="true"] .cta-button, body[data-mini-app="true"] .secondary-button { padding: 12px 16px; border-radius: 14px; font-size: 15px; }
body[data-mini-app="true"] .modal-panel { inset: auto 6px 6px; width: calc(100% - 12px); max-height: calc(100dvh - 12px); border-radius: 20px; }
body[data-mini-app="true"] .modal-body h2 { font-size: clamp(22px, 5vw, 28px); }
body[data-mini-app="true"] .price-lg { font-size: clamp(22px, 5vw, 28px); }
body[data-mini-app="true"] .form-header, body[data-mini-app="true"] .lead-form { padding-left: 16px; padding-right: 16px; }
body[data-mini-app="true"] {
  padding-top: calc(10px + var(--safe-top));
  padding-bottom: calc(24px + var(--safe-bottom));
}
body[data-mini-app="true"] .brand-pill, body[data-mini-app="true"] .tag, body[data-mini-app="true"] .status-tag { padding: 6px 10px; font-size: 12px; }
body[data-mini-app="true"][data-catalog-mode="units"] .shell.shell-ocean {
  max-width: min(440px, 100%);
  margin-left: auto;
  margin-right: auto;
}
