/* ═══════════════════════════════════════════════════════════════
   RIV-LAUNCH-E09: Rivelio Design System v2 (from designer handoff)
   Source: design_handoff_rivelio_portal/prototype/*.css
   Mounted on: [data-rivelio-theme="rivelio-real-estate"]
   ═══════════════════════════════════════════════════════════════ */
/* ==========================================================================
   Rivelio Design System — Colors + Typography
   Import this file at the root of any surface that should speak the brand.

   <link rel="stylesheet" href="/path/to/colors_and_type.css" />

   All values live as CSS variables so they can be themed per-surface.
   ========================================================================== */

/* ---- Frozen, self-hosted designer font subsets ---- */
/* Self-hosted Rivelio design fonts; see manifest.json. */
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/8e3fecd2d493091c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/192773d8da73d07a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/8e3fecd2d493091c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/192773d8da73d07a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/8e3fecd2d493091c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/192773d8da73d07a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/8e3fecd2d493091c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/192773d8da73d07a.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/d0551bdf381e13e7.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/73a2d59ec347e582.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/53a7904cb880ef15.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/c03c0f7333f41c49.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/ab928953fe1f5830.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/822f3010a8190164.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/fe68c0de53e138b7.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/af71518dfa41c885.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/50a0864d184b33a0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/d361e82ed8cdec89.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/822f3010a8190164.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/fe68c0de53e138b7.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/af71518dfa41c885.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/50a0864d184b33a0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/d361e82ed8cdec89.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/822f3010a8190164.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/fe68c0de53e138b7.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/af71518dfa41c885.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/50a0864d184b33a0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/d361e82ed8cdec89.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */

/* cyrillic */

/* greek-ext */

/* greek */

/* vietnamese */

/* latin-ext */

/* latin */

/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/842459da81f909f2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/9b2d027172a3481c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/ed7393f42d27db3d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/1f3ea86e40d947e2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/ee75508933e6fd45.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/rivelio-design/4872f2a6dc9a8250.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/842459da81f909f2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/9b2d027172a3481c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/ed7393f42d27db3d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/1f3ea86e40d947e2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/ee75508933e6fd45.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/rivelio-design/4872f2a6dc9a8250.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/842459da81f909f2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/9b2d027172a3481c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/ed7393f42d27db3d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/1f3ea86e40d947e2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/ee75508933e6fd45.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/rivelio-design/4872f2a6dc9a8250.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/842459da81f909f2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/9b2d027172a3481c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/ed7393f42d27db3d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/1f3ea86e40d947e2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/ee75508933e6fd45.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/rivelio-design/4872f2a6dc9a8250.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/842459da81f909f2.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/9b2d027172a3481c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/ed7393f42d27db3d.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/1f3ea86e40d947e2.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/ee75508933e6fd45.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20BC, U+20BE-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/rivelio-design/4872f2a6dc9a8250.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



/* R13.1: locally hosted variable Golos Text, weights 400–900. */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/rivelio-design/golos-text-cyrillic-ext-70cf502d77aa23c8.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/rivelio-design/golos-text-cyrillic-17d048ca05cb1218.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/rivelio-design/golos-text-latin-ext-05befabe4813f412.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/fonts/rivelio-design/golos-text-latin-9a69d0aa4734c402.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Generated from ../tokens.json. Do not edit by hand. */
/* Rivelio design-token contract 1.1.0. */
:where([data-rivelio-theme="rivelio-real-estate"]) {
  --rv-ivory: #f5f0ea;
  --rv-sand: #e6d8cb;
  --rv-taupe: #75665a;
  --rv-teal: #49686b;
  --rv-deep: #303636;
  --rv-aqua: #d1dbd7;
  --rv-gold: #d0b58d;
  --rv-bg-elevated: #fbf9f5;
  --rv-teal-hover: #3c5658;
  --rv-teal-press: #324749;
  --rv-deep-hover: #232828;
  --rv-focus: #164e52;
  --rv-danger: #8a2e2e;
  --rv-success: #2f6250;
  --rv-warning: #725414;
  --rv-ui-border: #758079;
  --rv-paper: #fffdf9;
  --rv-muted: #586862;
  --rv-bg: var(--rv-ivory);
  --rv-bg-sand: var(--rv-sand);
  --rv-bg-deep: var(--rv-deep);
  --rv-fg: var(--rv-deep);
  --rv-fg-muted: var(--rv-taupe);
  --rv-fg-on-dark: var(--rv-ivory);
  --rv-accent: var(--rv-teal);
  --rv-accent-soft: var(--rv-aqua);
  --rv-accent-warm: var(--rv-gold);
  --rv-border: color-mix(in srgb, var(--rv-taupe) 24%, transparent);
  --rv-border-strong: var(--rv-taupe);
  --rv-border-soft: var(--rv-sand);
  --rv-font-display: Cormorant, "Times New Roman", serif;
  --rv-font-body:
    "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rv-font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --rv-fs-display: 80px;
  --rv-lh-display: 1.1;
  --rv-tr-display: 0;
  --rv-fs-h1: 56px;
  --rv-lh-h1: 1.14;
  --rv-tr-h1: 0;
  --rv-fs-h2: 40px;
  --rv-lh-h2: 1.2;
  --rv-tr-h2: 0;
  --rv-fs-h3: 28px;
  --rv-lh-h3: 1.28;
  --rv-tr-h3: 0;
  --rv-fs-h4: 20px;
  --rv-lh-h4: 1.4;
  --rv-tr-h4: 0;
  --rv-fs-lead: 20px;
  --rv-lh-lead: 1.5;
  --rv-tr-lead: 0;
  --rv-fs-body: 16px;
  --rv-lh-body: 1.625;
  --rv-tr-body: 0;
  --rv-fs-small: 14px;
  --rv-lh-small: 1.55;
  --rv-tr-small: 0;
  --rv-fs-eyebrow: 12px;
  --rv-lh-eyebrow: 1.2;
  --rv-tr-eyebrow: 0.16em;
  --rv-s-1: 4px;
  --rv-s-2: 8px;
  --rv-s-3: 12px;
  --rv-s-4: 16px;
  --rv-s-5: 24px;
  --rv-s-6: 32px;
  --rv-s-7: 48px;
  --rv-s-8: 64px;
  --rv-s-9: 96px;
  --rv-s-10: 128px;
  --rv-r-sm: 4px;
  --rv-r-md: 6px;
  --rv-r-lg: 12px;
  --rv-r-xl: 16px;
  --rv-shadow-1:
    0 1px 2px rgba(46, 51, 51, 0.04), 0 2px 8px rgba(46, 51, 51, 0.04);
  --rv-shadow-2:
    0 1px 2px rgba(46, 51, 51, 0.04), 0 8px 24px rgba(46, 51, 51, 0.06);
  --rv-shadow-3:
    0 2px 4px rgba(46, 51, 51, 0.05), 0 16px 40px rgba(46, 51, 51, 0.08);
  --rv-motion-feedback: 130ms;
  --rv-motion-local: 200ms;
  --rv-motion-layer: 260ms;
  --rv-motion-reveal: 380ms;
  --rv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --rv-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --rv-dur-quick: 160ms;
  --rv-dur-base: 220ms;
  --rv-dur-slow: 320ms;
  --rv-page-max: 1320px;
  --rv-gutter: 48px;
  --rv-focus-width: 3px;
  --rv-focus-offset: 3px;
  --rv-touch-target: 44px;
}

@media (max-width: 1079px) {
  :where([data-rivelio-theme="rivelio-real-estate"]) {
    --rv-gutter: 32px;
    --rv-fs-display: 64px;
    --rv-fs-h1: 44px;
    --rv-fs-h2: 34px;
  }
}

@media (max-width: 759px) {
  :where([data-rivelio-theme="rivelio-real-estate"]) {
    --rv-gutter: 20px;
    --rv-fs-display: 48px;
    --rv-fs-h1: 36px;
    --rv-fs-h2: 28px;
    --rv-fs-h3: 22px;
    --rv-fs-lead: 18px;
  }
}

:where([data-rivelio-theme="rivelio-real-estate"]) {
  background: var(--rv-bg);
  color: var(--rv-fg);
  font-family: var(--rv-font-body);
  font-size: var(--rv-fs-body);
  line-height: var(--rv-lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where([data-rivelio-theme="rivelio-real-estate"]) ::selection {
  background: var(--rv-aqua);
  color: var(--rv-deep);
}

.rv-container {
  max-width: var(--rv-page-max);
  margin: 0 auto;
  padding-inline: var(--rv-gutter);
}

.rv-section {
  padding-block: var(--rv-s-8);
}

.rv-section--sand {
  background: var(--rv-bg-sand);
}

.rv-h1,
.rv-h2,
.rv-h3 {
  margin: 0;
  color: var(--rv-fg);
  font-family: var(--rv-font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.rv-h1 {
  font-size: var(--rv-fs-h1);
  line-height: var(--rv-lh-h1);
}

.rv-h2 {
  font-size: var(--rv-fs-h2);
  line-height: var(--rv-lh-h2);
}

.rv-h3 {
  font-size: var(--rv-fs-h3);
  line-height: var(--rv-lh-h3);
}

.rv-lead {
  margin: 0;
  color: var(--rv-fg);
  font-size: var(--rv-fs-lead);
  line-height: var(--rv-lh-lead);
}

.rv-small {
  color: var(--rv-fg-muted);
  font-size: var(--rv-fs-small);
  line-height: var(--rv-lh-small);
}

.rv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--rv-s-2);
  color: var(--rv-fg-muted);
  font-size: var(--rv-fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--rv-tr-eyebrow);
  line-height: var(--rv-lh-eyebrow);
  text-transform: uppercase;
}

.rv-wave {
  display: inline-block;
  color: var(--rv-accent);
  line-height: 0;
}

.rv-icon {
  display: inline-flex;
  width: 1em;
  height: 1em;
  color: currentColor;
  line-height: 0;
}

.rv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rv-s-2);
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--rv-r-md);
  font: 600 14px/1 var(--rv-font-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--rv-dur-base) var(--rv-ease-out),
    border-color var(--rv-dur-base) var(--rv-ease-out),
    color var(--rv-dur-base) var(--rv-ease-out),
    transform var(--rv-dur-quick) var(--rv-ease-out);
}

.rv-button--primary {
  background: var(--rv-teal);
  color: var(--rv-fg-on-dark);
}

.rv-button--primary:hover {
  background: var(--rv-teal-hover);
}

.rv-button--secondary {
  background: transparent;
  border-color: var(--rv-deep);
  color: var(--rv-deep);
}

.rv-button--secondary:hover {
  background: var(--rv-deep);
  color: var(--rv-fg-on-dark);
}

.rv-button--ghost {
  background: transparent;
  color: var(--rv-deep);
}

.rv-button--ghost:hover {
  color: var(--rv-teal);
}

.rv-card {
  overflow: hidden;
  border: 1px solid var(--rv-border-soft);
  border-radius: var(--rv-r-lg);
  background: var(--rv-bg-elevated);
  box-shadow: var(--rv-shadow-1);
}

.rv-card__body {
  padding: var(--rv-s-5);
}

.rv-photo {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  border-radius: var(--rv-r-lg);
  background:
    linear-gradient(155deg, rgba(73, 104, 107, 0.92), rgba(209, 219, 215, 0.72)),
    var(--rv-bg-sand);
}

.rv-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/wave-pattern.svg");
  background-size: cover;
  opacity: 0.18;
  pointer-events: none;
}

.rv-photo__img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.rv-photo__label {
  position: absolute;
  right: var(--rv-s-3);
  bottom: var(--rv-s-3);
  z-index: 1;
  padding: 6px 10px;
  border-radius: var(--rv-r-sm);
  background: rgba(48, 54, 54, 0.72);
  color: var(--rv-fg-on-dark);
  font-size: 12px;
}

.rv-topbar {
  border-bottom: 1px solid var(--rv-border-soft);
  background: rgba(245, 240, 234, 0.94);
}

.rv-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rv-s-5);
  min-height: 72px;
}

.rv-topbar__logo {
  display: block;
  width: 174px;
  height: auto;
}

.rv-topbar__nav {
  display: flex;
  align-items: center;
  gap: var(--rv-s-4);
}

.rv-topbar__nav a {
  color: var(--rv-deep);
  font-size: 14px;
  text-decoration: none;
}

.rv-topbar__nav a:hover,
.rv-topbar__nav a[aria-current="page"] {
  color: var(--rv-teal);
}

.rv-footer {
  background: var(--rv-deep);
  color: var(--rv-fg-on-dark);
  padding-block: var(--rv-s-8);
}

.rv-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: var(--rv-s-6);
}

.rv-footer a {
  color: var(--rv-fg-on-dark);
}

.rv-slider {
  display: grid;
  gap: var(--rv-s-2);
}

.rv-slider input[type="range"] {
  width: 100%;
  accent-color: var(--rv-teal);
}

@media (max-width: 900px) {
  .rv-topbar__inner,
  .rv-footer__grid {
    align-items: flex-start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .rv-topbar__inner {
    display: grid;
  }

  .rv-topbar__nav {
    flex-wrap: wrap;
  }
}

:where([data-rivelio-theme="rivelio-real-estate"]) :focus-visible {
  outline: var(--rv-focus-width) solid var(--rv-focus);
  outline-offset: var(--rv-focus-offset);
}

:where([data-rivelio-theme="rivelio-real-estate"]) a {
  text-underline-offset: 3px;
}

.rv-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rv-no-js {
  display: block;
}

.rv-js-only {
  display: none;
}

.rv-status {
  padding: var(--rv-s-5);
  border: 1px solid var(--rv-border-soft);
  background: var(--rv-bg-elevated);
}

.rv-status[data-state="loading"] {
  color: var(--rv-fg-muted);
}

.rv-status[data-state="error"] {
  border-color: var(--rv-danger);
  color: var(--rv-danger);
}

.rv-status[data-state="degraded"] {
  border-color: var(--rv-warning);
}

.rv-status[data-state="success"] {
  border-color: var(--rv-success);
  color: var(--rv-success);
}

.rv-field[aria-invalid="true"] {
  border-color: var(--rv-danger);
}

.rv-field-error {
  color: var(--rv-danger);
}

:where([data-rivelio-theme="rivelio-real-estate"]) button,
:where([data-rivelio-theme="rivelio-real-estate"]) input,
:where([data-rivelio-theme="rivelio-real-estate"]) select,
:where([data-rivelio-theme="rivelio-real-estate"]) textarea,
:where([data-rivelio-theme="rivelio-real-estate"]) [role="button"] {
  min-height: var(--rv-touch-target);
}

@media (prefers-reduced-motion: reduce) {
  :where([data-rivelio-theme="rivelio-real-estate"]),
  :where([data-rivelio-theme="rivelio-real-estate"]) *,
  :where([data-rivelio-theme="rivelio-real-estate"]) *::before,
  :where([data-rivelio-theme="rivelio-real-estate"]) *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .rv-button,
  .rv-card,
  .rv-photo,
  .rv-topbar,
  .rv-footer {
    border: 1px solid CanvasText;
  }
}



/* Legacy handoff selectors consume these aliases; tokens.json supplies their values. */
body[data-rivelio-theme="rivelio-real-estate"] {
  --ivory:var(--rv-ivory); --sand:var(--rv-sand); --taupe:var(--rv-taupe);
  --teal:var(--rv-teal); --deep:var(--rv-deep); --aqua:var(--rv-aqua); --gold:var(--rv-gold);
  --bg:var(--rv-bg); --bg-elevated:var(--rv-bg-elevated); --bg-sand:var(--rv-bg-sand);
  --bg-deep:var(--rv-bg-deep); --bg-teal:var(--rv-teal);
  --fg:var(--rv-fg); --fg-muted:var(--rv-fg-muted); --fg-on-dark:var(--rv-fg-on-dark); --fg-on-teal:var(--rv-ivory);
  --accent:var(--rv-accent); --accent-soft:var(--rv-accent-soft); --accent-warm:var(--rv-accent-warm);
  --border:var(--rv-border); --border-strong:var(--rv-border-strong); --border-soft:var(--rv-border-soft);
  --teal-hover:var(--rv-teal-hover); --teal-press:var(--rv-teal-press); --deep-hover:var(--rv-deep-hover);
  --font-display:var(--rv-font-display); --font-body:var(--rv-font-body); --font-mono:var(--rv-font-mono);
  --fs-display:var(--rv-fs-display); --lh-display:var(--rv-lh-display); --tr-display:var(--rv-tr-display);
  --fs-h1:var(--rv-fs-h1); --lh-h1:var(--rv-lh-h1); --tr-h1:var(--rv-tr-h1);
  --fs-h2:var(--rv-fs-h2); --lh-h2:var(--rv-lh-h2); --tr-h2:var(--rv-tr-h2);
  --fs-h3:var(--rv-fs-h3); --lh-h3:var(--rv-lh-h3); --tr-h3:var(--rv-tr-h3);
  --fs-h4:var(--rv-fs-h4); --lh-h4:var(--rv-lh-h4); --tr-h4:var(--rv-tr-h4);
  --fs-lead:var(--rv-fs-lead); --lh-lead:var(--rv-lh-lead);
  --fs-body:var(--rv-fs-body); --lh-body:var(--rv-lh-body);
  --fs-small:var(--rv-fs-small); --lh-small:var(--rv-lh-small);
  --fs-eyebrow:var(--rv-fs-eyebrow); --lh-eyebrow:var(--rv-lh-eyebrow); --tr-eyebrow:var(--rv-tr-eyebrow);
  --s-1:var(--rv-s-1); --s-2:var(--rv-s-2); --s-3:var(--rv-s-3); --s-4:var(--rv-s-4);
  --s-5:var(--rv-s-5); --s-6:var(--rv-s-6); --s-7:var(--rv-s-7); --s-8:var(--rv-s-8);
  --s-9:var(--rv-s-9); --s-10:var(--rv-s-10);
  --r-sm:var(--rv-r-sm); --r-md:var(--rv-r-md); --r-lg:var(--rv-r-lg); --r-xl:var(--rv-r-xl);
  --shadow-1:var(--rv-shadow-1); --shadow-2:var(--rv-shadow-2); --shadow-3:var(--rv-shadow-3);
  --ease-out:var(--rv-ease-out); --ease-standard:var(--rv-ease-standard);
  --dur-quick:var(--rv-dur-quick); --dur-base:var(--rv-dur-base); --dur-slow:var(--rv-dur-slow);
  --rv-max:var(--rv-page-max); --page-max:var(--rv-page-max); --gutter:var(--rv-gutter); --gutter-sm:var(--rv-gutter);
}

/* ==========================================================================
   Base
   ========================================================================== */
html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--aqua); color: var(--deep); }

/* ==========================================================================
   Semantic type classes — use these directly or @extend.
   ========================================================================== */
.display, h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  letter-spacing: var(--tr-display);
  color: var(--fg);
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--tr-h1);
  color: var(--fg);
}

h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  letter-spacing: var(--tr-h2);
  color: var(--fg);
}

h3, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--tr-h3);
  color: var(--fg);
}

h4, .h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  color: var(--fg);
}

.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--fg);
}

p, .body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg);
}

.small, small {
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--fg-muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-eyebrow);
  line-height: var(--lh-eyebrow);
  letter-spacing: var(--tr-eyebrow);
  text-transform: uppercase;
  color: var(--fg-muted);
}

.caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-small);
  color: var(--fg-muted);
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out);
}
a:hover { border-bottom-color: var(--accent); }

/* Horizontal rule — taupe hairline */
hr, .rule {
  height: 1px;
  border: 0;
  background: var(--border);
  margin: var(--s-5) 0;
}

/* ==========================================================================
   Decorative wave-mark — the brand's punctuation glyph
   Use <span class="wave-mark" aria-hidden="true"></span>
   ========================================================================== */
.wave-mark {
  display: inline-block;
  width: 32px; height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http%3A%2F%2Fwww.w3.org/2000/svg' viewBox='0 0 32 10' fill='none' stroke='%234C6F73' stroke-width='1.25' stroke-linecap='round'><path d='M1 5 Q 5 1 9 5 T 17 5 T 25 5 T 31 5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
}

/* ==========================================================================
   Component primitives — not exhaustive, but enough to brand a page.
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color            var(--dur-base) var(--ease-out),
    border-color     var(--dur-base) var(--ease-out);
}
.btn:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--teal);
  color: var(--fg-on-teal);
}
.btn--primary:hover  { background: var(--teal-hover); }
.btn--primary:active { background: var(--teal-press); }

.btn--secondary {
  background: transparent;
  color: var(--deep);
  border-color: var(--deep);
}
.btn--secondary:hover  { background: var(--deep); color: var(--fg-on-dark); }

.btn--ghost {
  background: transparent;
  color: var(--deep);
  padding: 12px 8px;
}
.btn--ghost:hover { color: var(--teal); }

/* Fields */
.field {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--fg);
  background: var(--ivory);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur-base) var(--ease-out),
              box-shadow   var(--dur-base) var(--ease-out);
}
.field:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 2px var(--aqua);
}
.field::placeholder { color: rgba(124, 111, 97, 0.6); }
.field[type="tel"], .field[type="email"], .field[type="number"] { font-variant-numeric: tabular-nums; }
textarea.field { padding: 14px 18px; line-height: 1.5; min-height: 88px; }
select.field { padding-right: 40px; }

.field-label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--fg-muted);
  margin-bottom: 6px;
}

/* Card */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
}
.card--sand { background: var(--sand); border-color: transparent; }
.card--deep { background: var(--deep); color: var(--fg-on-dark); border-color: transparent; }

/* Chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--aqua);
  color: var(--deep);
  border-radius: var(--r-md);
  font-size: var(--fs-small);
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter-sm); }
@media (min-width: 960px) {
  .container { padding: 0 var(--gutter); }
}
.stack-2  > * + * { margin-top: var(--s-2); }
.stack-3  > * + * { margin-top: var(--s-3); }
.stack-4  > * + * { margin-top: var(--s-4); }
.stack-5  > * + * { margin-top: var(--s-5); }
.stack-6  > * + * { margin-top: var(--s-6); }
.stack-7  > * + * { margin-top: var(--s-7); }
.stack-8  > * + * { margin-top: var(--s-8); }

.text-muted  { color: var(--fg-muted); }
.text-accent { color: var(--accent); }
.text-on-dark { color: var(--fg-on-dark); }
/* ═══ rvw-* bridge: blocks.ts → design system ═══ */

/* ── rvw-* aliases (blocks.ts renders these, design system styles them) ── */
.rvw-widget {
  position: relative;
  margin: 0 0 var(--s-9, 96px);
}
.rvw-widget__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 96px 48px;
}
@media (max-width: 640px) {
  .rvw-widget__inner { padding: 56px 20px; }
}
.rvw-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.12;
  color: var(--deep);
  font-weight: 400;
  margin: 0 0 12px;
}
.rvw-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--taupe);
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.2;
}
.rvw-copy {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--taupe);
  margin: 8px 0;
}
.rvw-empty {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--taupe);
  padding: 24px 0;
  font-style: italic;
}
.rvw-form { display: flex; flex-direction: column; gap: 12px; max-width: 400px; }
.rvw-form.rvw-no-js { display: flex; flex-direction: column; gap: 12px; }
.rvw-input {
  padding: 14px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  background: var(--ivory);
  border: 1px solid var(--taupe);
  border-radius: 6px;
  color: var(--deep);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 160ms;
}
.rvw-input:focus {
  border-color: var(--teal);
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}
.rvw-button {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  border-radius: 6px;
  cursor: pointer;
  border: none;
  background: var(--teal);
  color: var(--ivory);
  transition: background 160ms;
  width: fit-content;
}
.rvw-button:hover { background: var(--teal-hover); }
.rvw-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 13px;
  margin: 4px 0;
  color: var(--taupe);
  line-height: 1.4;
}
.rvw-consent input[type="checkbox"] { margin-top: 2px; accent-color: var(--teal); }
.rvw-consent span { line-height: 1.4; }

/* ── rv-* layout classes from blocks.ts ── */
.rv-hero { padding: var(--s-9, 96px) 0; }
.rv-hero__facts {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.rv-hero__facts li span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--taupe);
  font-weight: 500;
  margin-bottom: 4px;
}
.rv-hero__facts li strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--deep);
}
.rv-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.rv-card {
  position: relative;
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  transition: transform 220ms, box-shadow 220ms;
}
.rv-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46,51,51,0.08); }
.rv-card .rv-card__link{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit;text-decoration:none}
.rv-card .rv-card__link:hover{text-decoration:none}
.rv-card:not(:has(.rv-card__photo)) .rv-card__body{padding-right:72px}
.rv-card h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.rv-card a { color: var(--teal); text-decoration: none; font-weight: 500; }
.rv-card a:hover { text-decoration: underline; }
.rv-fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rv-fact-list > div {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
}
.rv-fact-list dt { color: var(--taupe); font-size: 14px; }
.rv-fact-list dd { font-weight: 500; font-size: 14px; margin: 0; }
.rv-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.rv-chip-row span {
  background: rgba(73,104,107,0.08);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--deep);
}
.rv-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,234,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.rv-topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--deep);
  text-decoration: none;
}
.rv-topbar__mark {
  width: 36px; height: 36px;
  background: var(--deep);
  color: var(--ivory);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
}
.rv-topbar__crumbs { font-size: 13px; color: var(--taupe); }
.rv-topbar__crumbs a { color: var(--taupe); text-decoration: none; }
.rv-topbar__crumbs a:hover { color: var(--teal); }
.rv-compare {
  width: 100%;
  border-collapse: collapse;
}
.rv-compare th, .rv-compare td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  font-size: 14px;
}
.rv-footer {
  background: var(--deep);
  color: var(--ivory);
  padding: 48px;
  margin-top: auto;
}
.rv-footer strong { font-family: var(--font-display); font-size: 20px; }

/* Fix: слипшиеся лейблы */
.rv-hero__facts li span { display: inline-block; margin-right: 8px; }

/* Fix: таблица цены — форматированная дата */
.rv-price-history table td:first-child { font-size: 13px; color: var(--taupe); }

/* ═══ city.css — layout, topbar, hero, district guide, map, calculators ═══ */
/* ============================================================================
   Rivelio — City page styles (extends colors_and_type.css)
   ============================================================================ */

* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--deep); font-family: var(--font-body); }
img { display:block; max-width:100%; }
a { color: inherit; border-bottom: 0; }
button { font-family: inherit; }

/* scoped layout vars */

/* ===== Buttons additions ===== */
.btn { text-decoration: none; white-space: nowrap; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ===== Eyebrow with number ===== */
.rv-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 12px/1 var(--font-body);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--taupe);
}
.rv-eyebrow__no {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.08em;
  color: var(--teal);
  padding-right: 12px; border-right: 1px solid var(--border);
}
.rv-eyebrow-inline {
  font: 500 12px/1 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--taupe);
}

/* ===== Type shortcuts ===== */
.rv-h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4vw, 56px); line-height: 1.12;
  color: var(--deep); margin: 0; letter-spacing: -0.005em;
}
.rv-h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 28px; line-height: 1.25; margin: 0; color: var(--deep);
}
.rv-h4 {
  font-family: var(--font-body); font-weight: 600;
  font-size: 18px; line-height: 1.4; margin: 0; color: var(--deep);
}
.rv-small { font-size: 14px; line-height: 1.55; }
.rv-muted { color: var(--taupe); }

/* ===== Top bar ===== */
.rv-top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(245,240,234,0.94);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(6px);
}
.rv-top__inner {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 18px var(--rv-gutter);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px;
}
.rv-top__brand { display: flex; align-items: center; width: 140px; flex-shrink: 0; }
.rv-top__logo { height: 24px; width: 140px; flex-shrink: 0; display: block; object-fit: contain; object-position: left center; }
.rv-top__nav { display:flex; gap: 28px; align-items:center; font-size: 14px; }
.rv-top__nav a { color: var(--deep); transition: color 200ms; }
.rv-top__nav a:hover { color: var(--teal); }
.rv-top__divider { width:1px; height:16px; background: var(--border); }
.rv-top__right { display:flex; align-items:center; gap: 20px; }
.rv-top__phone { display:inline-flex; align-items:center; gap: 8px; font-size: 14px; color: var(--deep); }

/* ===== Breadcrumbs ===== */
.rv-crumbs {
  display:flex; align-items:center; gap:8px;
  font-size: 13px; color: var(--taupe); margin-bottom: 32px;
}
.rv-crumbs a { color: var(--taupe); }
.rv-crumbs a:hover { color: var(--teal); }
.rv-crumbs span:last-child { color: var(--deep); }

/* ===== HERO ===== */
.rv-hero {
  position: relative;
  max-width: var(--rv-max); margin: 0 auto;
  padding: 64px var(--rv-gutter) 96px;
}
.rv-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px; align-items: center;
}
.rv-hero__h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: var(--rv-page-h1, clamp(36px, 4.5vw, 64px)); line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 24px 0 0;
  color: var(--deep);
}
.rv-hero__accent {
  color: var(--teal);
  font-style: italic;
  font-family: "Cormorant", serif;
  font-weight: 500;
}
.rv-hero__lead {
  margin: 28px 0 0; max-width: 520px;
  font-size: 19px; line-height: 1.55; color: var(--deep);
}
.rv-hero__cta { margin-top: 36px; display:flex; gap: 16px; flex-wrap: wrap; }
.rv-hero__facts {
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.rv-hero__facts--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-hero__fact { min-width: 0; overflow-wrap: anywhere; }
.rv-hero__fact-v {
  font-family: var(--font-display); font-size: 26px; line-height: 1;
  color: var(--deep);
}
.rv-hero__fact-k {
  margin-top: 8px; font-size: 12px; color: var(--taupe);
  letter-spacing: 0.04em;
}
.rv-hero__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 640px;
}
.rv-hero__photo { grid-column: 1/3; grid-row: 1/2; }
.rv-hero__photo-sm { grid-column: 1/2; grid-row: 2/3; }
.rv-hero__photo-sm2 { grid-column: 2/3; grid-row: 2/3; }
.rv-hero__chip {
  position: absolute; left: 20px; top: 20px;
  display:inline-flex; align-items:center; gap: 8px;
  padding: 8px 14px;
  background: rgba(245,240,234,0.9);
  color: var(--deep);
  border-radius: 6px;
  font-size: 12px; letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}
.rv-hero__pattern {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 280px;
  background: url("../assets/wave-pattern.svg") right center / cover no-repeat;
  opacity: 0.32; pointer-events: none;
}

/* ===== Photo placeholder ===== */
.rv-ph {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background-color: #cbc2ad;
  background-size: cover; background-position: center;
}
.rv-ph__horizon {
  position: absolute; inset: 60% 0 0 0;
  background: linear-gradient(180deg, transparent 0%, rgba(46,51,51,0.12) 100%);
}
.rv-ph__waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.rv-ph__label {
  position: absolute; left: 14px; bottom: 14px;
  font: 500 10px/1 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,240,234,0.92);
  background: rgba(46,51,51,0.32);
  padding: 6px 10px; border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* ===== Section scaffolding ===== */
.rv-section {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 96px var(--rv-gutter);
}
.rv-section__head { margin-bottom: 56px; }
.rv-section__headGrid {
  margin-top: 24px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end;
}
.rv-section__desc { margin: 0; color: var(--taupe); font-size: 17px; line-height: 1.55; }

/* ===== District guide ===== */
.rv-dg {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.rv-dg__item { grid-column: span 2; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rv-dg__item--featured { grid-column: span 6; }
.rv-dg__item > .rv-dg__card { grid-column: auto; flex: 1; }
.rv-dg__credit { display: block; padding: 0 4px; }
.rv-dg__card {
  grid-column: span 2;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
}
.rv-dg__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--border); }
.rv-dg__card--featured {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}
.rv-dg__photo { aspect-ratio: 16/11; position: relative; overflow: hidden; }
.rv-dg__photo > .rv-ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.rv-dg__card--featured .rv-dg__photo { aspect-ratio: auto; height: 100%; min-height: 420px; border-radius: 10px 0 0 10px; }
.rv-dg__photo-sm { aspect-ratio: 16/10; }
.rv-dg__body { padding: 28px; display:flex; flex-direction:column; gap: 14px; flex: 1; }
.rv-dg__card--featured .rv-dg__body { padding: 48px; justify-content: center; }
.rv-dg__eyebrow {
  font: 500 11px/1 var(--font-body);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal);
}
.rv-dg__blurb { margin: 0; color: var(--taupe); line-height: 1.55; }
.rv-dg__badges { display:flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rv-badge {
  display:inline-flex; align-items:center; gap: 6px;
  padding: 6px 10px 6px 8px;
  background: var(--aqua);
  color: var(--deep);
  border-radius: 4px;
  font-size: 12px;
}
.rv-dg__foot {
  margin-top: auto; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
}
.rv-dg__count {
  font-family: var(--font-display);
  font-size: 32px; line-height: 1; color: var(--deep);
}
.rv-dg__more {
  display:inline-flex; align-items: center; gap: 6px;
  color: var(--teal); font-size: 14px; font-weight: 500;
}
.rv-dg__row { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display:flex; justify-content: space-between; }

/* ===== Trust ===== */
.rv-trust__band {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.rv-trust__fact {
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.rv-trust__fact:first-child { padding-left: 0; border-left: 0; }
.rv-trust__kpi {
  font-family: var(--font-display);
  font-size: 44px; line-height: 1.05; color: var(--deep);
  margin-bottom: 8px;
}
.rv-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.rv-trust__card {
  padding: 32px 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
}
.rv-trust__n {
  font-family: var(--font-display);
  font-size: 14px; letter-spacing: 0.12em;
  color: var(--teal); margin-bottom: 24px;
}

/* ===== Map ===== */
.rv-map__frame {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  height: 640px;
}
.rv-map__canvas {
  position: relative;
  background: linear-gradient(180deg, #B8C9C7 0%, #8CA9A6 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.rv-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-map__pt {
  position: absolute;
  transform: translate(-50%, -50%);
  border: 0; background: transparent; padding: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 220ms var(--ease-out);
}
.rv-map__pt-inner {
  display: block; width: 100%; height: 100%;
  background: var(--teal);
  border: 2px solid var(--ivory);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(46,51,51,0.3);
  transition: background 220ms;
}
.rv-map__pt:hover .rv-map__pt-inner { background: var(--deep); }
.rv-map__pt.is-active .rv-map__pt-inner {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(208,181,141,0.35), 0 2px 12px rgba(46,51,51,0.3);
}
.rv-map__pt-label {
  position: absolute; left: 50%; top: calc(100% + 8px);
  transform: translateX(-50%);
  background: rgba(245,240,234,0.95);
  color: var(--deep);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px; white-space: nowrap;
  letter-spacing: 0.04em;
  opacity: 0; transition: opacity 220ms;
  pointer-events: none;
}
.rv-map__pt:hover .rv-map__pt-label,
.rv-map__pt.is-active .rv-map__pt-label { opacity: 1; }
.rv-map__legend {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: rgba(245,240,234,0.92);
  border-radius: 6px;
  font-size: 12px; color: var(--taupe);
  backdrop-filter: blur(4px);
}
.rv-map__legend-dot {
  display: inline-block;
  background: var(--teal);
  border: 1.5px solid var(--ivory);
  border-radius: 50%;
}
.rv-map__side {
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
}
.rv-map__stats {
  margin-top: 28px; padding: 20px 0;
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.rv-map__stat-k { font-size: 11px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.rv-map__badges { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Finance calculators ===== */
.rv-finance__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rv-calc {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
}
.rv-calc__head { padding: 36px 36px 24px; }
.rv-calc__body { padding: 0 36px 32px; display: flex; flex-direction: column; gap: 22px; }
.rv-calc__rows {
  margin-top: 8px; padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}
.rv-calc__rows div { display: flex; justify-content: space-between; font-size: 14px; }
.rv-calc__rows strong { font-family: var(--font-body); font-weight: 600; color: var(--deep); }

.rv-calc__result {
  padding: 32px 36px;
  background: var(--deep);
  color: var(--ivory);
}
.rv-calc__big {
  font-family: var(--font-display); font-weight: 400;
  font-size: 44px; line-height: 1.1;
  margin-top: 6px;
}
.rv-calc__big span { font-size: 18px; color: rgba(245,240,234,0.6); margin-left: 4px; }
.rv-calc__result--light { background: var(--aqua); color: var(--deep); }
.rv-calc__big--dark { color: var(--deep); }
.rv-finance-field { display: grid; gap: 8px; color: var(--taupe); font-size: 13px; }
.rv-finance-field input {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-elevated); color: var(--deep); font: inherit; font-size: 16px;
}
.rv-finance-field input:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Slider */
.rv-slider__head { display:flex; justify-content: space-between; margin-bottom: 10px; align-items: baseline; }
.rv-slider__label { font-size: 13px; color: var(--taupe); letter-spacing: 0.04em; }
.rv-slider__val { font-family: var(--font-display); font-size: 18px; color: var(--deep); }
.rv-slider__track {
  position: relative; height: 4px;
  background: var(--sand);
  border-radius: 99px;
}
.rv-slider__fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--teal);
  border-radius: 99px;
}
.rv-slider__track input {
  position: absolute; inset: -10px 0; width: 100%; height: 24px;
  appearance: none; background: transparent; cursor: pointer;
}
.rv-slider__track input::-webkit-slider-thumb {
  appearance: none;
  width: 20px; height: 20px;
  background: var(--ivory);
  border: 2px solid var(--teal);
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(46,51,51,0.15);
  cursor: grab;
}
.rv-slider__track input::-moz-range-thumb {
  width: 18px; height: 18px;
  background: var(--ivory);
  border: 2px solid var(--teal);
  border-radius: 50%;
  cursor: grab;
}

.rv-finance__foot {
  margin-top: 24px; padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  display: flex; align-items: flex-start; gap: 12px;
}

/* ===== Sticky CTA ===== */
.rv-sticky {
  position: fixed; left: 24px; right: 24px; bottom: 20px;
  z-index: 40;
  pointer-events: none;
}
.rv-sticky__inner {
  pointer-events: auto;
  max-width: 960px; margin: 0 auto;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(46,51,51,0.06), 0 16px 48px rgba(46,51,51,0.12);
  padding: 14px 16px 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.rv-sticky__left { display:flex; align-items: center; gap: 16px; min-width: 0; }
.rv-sticky__avatars { display:flex; }
.rv-sticky__av {
  display:inline-block;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ivory);
  margin-left: -8px;
}
.rv-sticky__av:first-child { margin-left: 0; }
.rv-sticky__title { font-weight: 600; font-size: 15px; color: var(--deep); }
.rv-sticky__right { display: flex; align-items: center; gap: 10px; }
.rv-sticky__x {
  background: transparent; border: 0; padding: 6px;
  color: var(--taupe); cursor: pointer; border-radius: 4px;
}
.rv-sticky__x:hover { background: var(--sand); color: var(--deep); }

/* ===== Footer ===== */
.rv-foot {
  background: var(--deep); color: var(--ivory);
  padding: 96px var(--rv-gutter) 40px;
  margin-top: 64px;
}
.rv-foot__top {
  max-width: var(--rv-max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(245,240,234,0.12);
}
.rv-foot__logo { height: 30px; width: 180px; flex-shrink: 0; display: block; object-fit: contain; object-position: left center; }
.rv-foot__tag { font-family: var(--font-display); font-size: 18px; opacity: 0.8; }
.rv-foot__cols {
  max-width: var(--rv-max); margin: 56px auto 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.rv-foot__links { margin-top: 16px; display:flex; flex-direction: column; gap: 10px; font-size: 14px; }
.rv-foot__links a { color: rgba(245,240,234,0.75); }
.rv-foot__links a:hover { color: var(--ivory); }
.rv-foot__btm {
  max-width: var(--rv-max); margin: 64px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,234,0.12);
  display: flex; justify-content: space-between; gap: 32px;
  font-size: 12px; color: rgba(245,240,234,0.55);
}
.rv-foot__legal { max-width: 520px; text-align: right; }

/* ===== Tweaks panel content spacing ===== */
body.has-sticky { padding-bottom: 120px; }

/* ===== Mobile — phone layout (≤ 640px) ===== */
@media (max-width: 640px) {
  body.has-sticky { padding-bottom: 160px; }

  /* Top bar */
  .rv-top__inner { grid-template-columns: auto auto; gap: 12px; padding: 14px 20px; }
  .rv-top__nav { display: none; }
  .rv-top__phone { display: none; }
  .rv-top__right { gap: 8px; }
  .rv-top__logo { height: 20px; width: 120px; }

  /* Hero */
  .rv-hero { padding: 32px 20px 48px; }
  .rv-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .rv-hero__h1 { font-size: var(--rv-page-h1, 36px); line-height: 1.1; }
  .rv-hero__lead { font-size: 16px; margin-top: 20px; }
  .rv-hero__cta { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 28px; }
  .rv-hero__cta .btn { width: 100%; justify-content: center; }
  .rv-hero__facts { grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; padding-top: 24px; }
  .rv-hero__facts--six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rv-hero__fact-v { font-size: 22px; }
  .rv-hero__media { height: auto; grid-template-columns: 1fr; grid-template-rows: 240px 160px 160px; gap: 10px; }
  .rv-hero__photo { grid-column: 1/2; grid-row: 1/2; }
  .rv-hero__photo-sm { grid-column: 1/2; grid-row: 2/3; }
  .rv-hero__photo-sm2 { grid-column: 1/2; grid-row: 3/4; }
  .rv-hero__pattern { display: none; }
  .rv-hero__chip { font-size: 10px; padding: 6px 10px; }
  .rv-crumbs { margin-bottom: 20px; font-size: 12px; flex-wrap: wrap; }

  /* Generic sections */
  .rv-section { padding: 56px 20px; }
  .rv-section__head { margin-bottom: 32px; }
  .rv-section__headGrid { grid-template-columns: 1fr; gap: 20px; }
  .rv-h2 { font-size: 32px !important; }
  .rv-section__desc { font-size: 15px; }

  /* District guide */
  .rv-dg { grid-template-columns: 1fr; gap: 16px; }
  .rv-dg__item, .rv-dg__item--featured { grid-column: 1 / -1; }
  .rv-dg__card, .rv-dg__card--featured { grid-column: 1 / -1; }
  .rv-dg__card--featured { grid-template-columns: 1fr; }
  .rv-dg__card--featured .rv-dg__photo { min-height: 220px; border-radius: 10px 10px 0 0; }
  .rv-dg__card--featured .rv-dg__body { padding: 28px 24px; }
  .rv-dg__body { padding: 22px; }
  .rv-dg__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .rv-dg__count { font-size: 24px; }

  /* Trust */
  .rv-trust__band {
    padding: 24px; grid-template-columns: 1fr 1fr; gap: 20px;
  }
  .rv-trust__fact { padding-left: 0; border-left: 0; padding-top: 16px; border-top: 1px solid var(--border); }
  .rv-trust__fact:first-child, .rv-trust__fact:nth-child(2) { padding-top: 0; border-top: 0; }
  .rv-trust__kpi { font-size: 28px; }
  .rv-trust__grid { grid-template-columns: 1fr; gap: 12px; }
  .rv-trust__card { padding: 24px 22px; }

  /* Map */
  .rv-map__frame { grid-template-columns: 1fr; height: auto; gap: 16px; }
  .rv-map__canvas { height: 360px; }
  .rv-map__side { padding: 24px; }
  .rv-map__pt-label { display: none; }

  /* Finance */
  .rv-finance__grid { grid-template-columns: 1fr; gap: 16px; }
  .rv-calc__head { padding: 28px 24px 20px; }
  .rv-calc__body { padding: 0 24px 24px; gap: 20px; }
  .rv-calc__result { padding: 24px; }
  .rv-calc__big { font-size: 32px; }

  /* Sticky CTA */
  .rv-sticky { left: 10px; right: 10px; bottom: 10px; }
  .rv-sticky__inner {
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 14px; border-radius: 12px;
  }
  .rv-sticky__left { gap: 12px; }
  .rv-sticky__avatars { flex-shrink: 0; }
  .rv-sticky__av { width: 32px; height: 32px; }
  .rv-sticky__title { font-size: 14px; line-height: 1.3; }
  .rv-sticky__right { justify-content: space-between; }
  .rv-sticky__right .btn--ghost.btn--sm { display: none; }
  .rv-sticky__right .btn { flex: 1; justify-content: center; padding: 10px 12px; font-size: 13px; }
  .rv-sticky__x { position: absolute; top: 8px; right: 8px; }

  /* Footer */
  .rv-foot { padding: 56px 20px 32px; }
  .rv-foot__top { flex-direction: column; align-items: flex-start; gap: 16px; }
  .rv-foot__cols { grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 32px; }
  .rv-foot__btm { flex-direction: column; gap: 12px; margin-top: 40px; }
  .rv-foot__legal { text-align: left; }

  /* Modal mobile */
  .rv-mdl { grid-template-columns: 1fr !important; border-radius: 14px 14px 0 0 !important; }
  .rv-mdl__aside { display: none; }
  .rv-mdl__main { padding: 48px 22px 24px; max-height: 94vh; }
  .rv-mdl__form { grid-template-columns: 1fr !important; }
  .rv-mdl__form > div { grid-column: 1 / -1 !important; }
  .rv-mdl__actions { flex-direction: column; align-items: stretch; }
  .rv-mdl__actions .btn { width: 100%; justify-content: center; }
}

/* Tablet (641–900) */
@media (min-width: 641px) and (max-width: 900px) {
  .rv-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .rv-hero__media { height: 420px; }
  .rv-dg { grid-template-columns: repeat(2, 1fr); }
  .rv-dg__item { grid-column: span 1; }
  .rv-dg__item--featured { grid-column: 1 / -1; }
  .rv-dg__card, .rv-dg__card--featured { grid-column: span 1; }
  .rv-dg__card--featured { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .rv-trust__band, .rv-trust__grid { grid-template-columns: repeat(2,1fr); }
  .rv-map__frame { grid-template-columns: 1fr; height: auto; }
  .rv-map__canvas { height: 420px; }
  .rv-finance__grid { grid-template-columns: 1fr; }
  .rv-foot__cols { grid-template-columns: repeat(2,1fr); }
  .rv-top__nav { gap: 16px; font-size: 13px; }
}

/* ===== Modal ===== */
.rv-mdl__backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(46,51,51,0.48);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.rv-mdl {
  position: relative;
  background: var(--ivory);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  box-shadow: 0 24px 72px rgba(46,51,51,0.22);
}
.rv-mdl__x {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  grid-area: 1 / 1 / 2 / 3;
  width: 36px; height: 36px;
  border: 0; background: rgba(245,240,234,0.9);
  color: var(--deep);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 180ms, color 180ms;
}
.rv-mdl__x:hover { background: var(--deep); color: var(--ivory); }
.rv-mdl__aside {
  grid-column: 1; grid-row: 1;
  background: var(--deep); color: var(--ivory);
  padding: 40px 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.rv-mdl__aside::after {
  content:""; position:absolute; inset:0;
  background: url("../assets/wave-pattern.svg") right bottom / cover no-repeat;
  opacity: 0.12; pointer-events: none;
}
.rv-mdl__mark { width: 40px; height: 40px; margin-bottom: 28px; filter: brightness(0) invert(1); opacity:0.85; }
.rv-mdl__tag { font-family: var(--font-display); font-size: 22px; line-height: 1.3; margin-top: 16px; max-width: 240px; }
.rv-mdl__aside-foot { margin-top: auto; padding-top: 32px; border-top: 1px solid rgba(245,240,234,0.18); position: relative; z-index: 1; }
.rv-mdl__main {
  grid-column: 2; grid-row: 1;
  padding: 52px 48px 44px;
  overflow-y: auto;
  max-height: 90vh;
}
.rv-mdl__sub { margin: 16px 0 0; color: var(--taupe); font-size: 15px; line-height: 1.6; max-width: 460px; }
.rv-mdl__form {
  margin-top: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.rv-mdl__form > div:nth-child(1),
.rv-mdl__form > div:last-child { grid-column: 1 / -1; }
.rv-mdl__form textarea { resize: vertical; font-family: inherit; }
.rv-mdl__actions {
  grid-column: 1 / -1;
  margin-top: 12px;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.rv-mdl__radios { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-mdl__radio {
  display: inline-flex; align-items: center; gap: 0;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-size: 14px;
  cursor: pointer;
  transition: all 180ms;
}
.rv-mdl__radio input { display: none; }
.rv-mdl__radio.is-on { background: var(--deep); color: var(--ivory); border-color: var(--deep); }
.rv-mdl__ok { padding: 40px 0; }
.rv-mdl__steps {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
}
.rv-mdl__step { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.rv-mdl__step-n { font-family: var(--font-display); font-size: 14px; color: var(--teal); letter-spacing: 0.12em; padding-top: 2px; }
.rv-mdl__step-t { font-weight: 600; font-size: 15px; color: var(--deep); }
.rv-mdl__step-b { margin-top: 4px; font-size: 13px; color: var(--taupe); line-height: 1.5; }

@media (max-width: 780px) {
  .rv-mdl { grid-template-columns: 1fr; max-height: 95vh; }
  .rv-mdl__aside { display: none; }
  .rv-mdl__main { padding: 56px 24px 28px; grid-column: 1; }
  .rv-mdl__form { grid-template-columns: 1fr; }
}

/* ===== Responsive fallback (1280 design width; keep above desktop) ===== */
@media (max-width: 1100px) {
  .rv-hero__grid { grid-template-columns: 1fr; }
  .rv-hero__media { height: 480px; }
  .rv-dg__card--featured { grid-template-columns: 1fr; }
  .rv-dg__card--featured .rv-dg__photo { border-radius: 10px 10px 0 0; min-height: 320px; }
  .rv-trust__grid, .rv-trust__band { grid-template-columns: repeat(2,1fr); }
  .rv-map__frame { grid-template-columns: 1fr; height: auto; }
  .rv-map__canvas { height: 480px; }
  .rv-finance__grid { grid-template-columns: 1fr; }
  .rv-foot__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ═══ pages.css — detail pages (complex/building/unit), search, compare, scenario ═══ */
/* ============================================================================
   Rivelio — shared styles for detail/search/content/compare pages
   Extends city.css. Load after city.css.
   ============================================================================ */

/* ===== Active nav link ===== */
.rv-top__nav a.is-active { color: var(--teal); border-bottom: 1px solid var(--teal); padding-bottom: 2px; }

/* ===== Page-level subhero (shorter than city hero) ===== */
.rv-phead {
  padding: 56px var(--rv-gutter) 40px;
  max-width: var(--rv-max); margin: 0 auto;
}
.rv-phead__crumbs {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px;
  font-size: 13px; color: var(--taupe); margin-bottom: 28px;
}
.rv-phead__crumbs a { color: var(--taupe); transition: color 200ms; }
.rv-phead__crumbs a:hover { color: var(--teal); }
.rv-phead__media-grid {
  margin-top: 48px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px; align-items: stretch;
}
.rv-phead__media-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rv-phead__photo { position: relative; min-height: 420px; flex: 1; overflow: hidden; border-radius: var(--r-xl); }
.rv-phead__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv-phead__photo-label {
  position: absolute; top: 16px; left: 16px; max-width: calc(100% - 32px);
  padding: 7px 10px; border-radius: 6px; background: rgba(245,240,234,.92);
  color: var(--deep); font-size: 12px; line-height: 1.35;
}
.rv-phead__facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--border-soft); border-radius: var(--r-xl); overflow: hidden;
}
.rv-phead__fact { min-width: 0; padding: 24px; }
.rv-phead__fact:nth-child(-n+4) { border-bottom: 1px solid var(--border-soft); }
.rv-phead__fact:nth-child(odd) { border-right: 1px solid var(--border-soft); }
.rv-phead__fact-label { margin-bottom: 8px; overflow-wrap: anywhere; }
.rv-phead__fact-value { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: clamp(22px, 2.5vw, 32px); }

/* ===== Unit/Complex/Building HERO layout ===== */
.rv-detail-hero {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 0 var(--rv-gutter) 80px;
  display: grid; grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}
.rv-detail-hero--text-only { grid-template-columns: minmax(0, 1fr); }
.rv-detail-hero--text-only > * { max-width: 760px; }
.rv-detail-hero__gallery {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto;
  gap: 10px;
  height: 620px;
}
.rv-detail-hero__gallery .rv-ph:nth-child(1) { grid-row: 1 / 3; }
.rv-detail-hero__gallery .rv-ph { border-radius: var(--r-lg); overflow: hidden; position: relative; }
.rv-detail-hero__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.rv-detail-hero__thumb {
  flex: 0 0 96px; height: 72px;
  border-radius: var(--r-sm); overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: border-color 180ms;
}
.rv-detail-hero__thumb:hover, .rv-detail-hero__thumb.is-active { border-color: var(--teal); }

.rv-detail-hero__info {
  position: sticky; top: 96px;
  padding: 32px; background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
}
.rv-detail-hero__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; background: rgba(73,104,107,0.08);
  border-radius: 999px;
  font-size: 12px; color: var(--teal);
  letter-spacing: 0.04em;
}
.rv-detail-hero__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.rv-detail-hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 36px; line-height: 1.12; margin: 18px 0 10px; color: var(--deep);
}
.rv-detail-hero__addr { font-size: 14px; color: var(--taupe); line-height: 1.5; margin-bottom: 24px; }
.rv-detail-hero__price { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--deep); margin-bottom: 6px; }
.rv-detail-hero__perm2 { font-size: 13px; color: var(--taupe); }
.rv-detail-hero__meta {
  margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.rv-detail-hero__meta div span:first-child { display:block; font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.rv-detail-hero__meta div span:last-child { font-size: 15px; color: var(--deep); font-weight: 500; }
.rv-detail-hero__cta { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.rv-detail-hero__update { margin-top: 14px; font-size: 12px; color: var(--taupe); display:inline-flex; align-items:center; gap:6px; }

/* ===== Specs grid (unit / complex) ===== */
.rv-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-soft);
}
.rv-specs > div {
  padding: 20px 24px;
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.rv-specs > div:nth-child(4n) { border-right: none; }
.rv-specs__k { font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.rv-specs__v { font-size: 16px; color: var(--deep); font-weight: 500; }

/* ===== Amenities grid ===== */
.rv-amenities {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: var(--border-soft);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden;
}
.rv-amenity {
  background: var(--ivory); padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.rv-amenity__icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(73,104,107,0.08); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.rv-amenity__t { font-weight: 600; font-size: 16px; color: var(--deep); }
.rv-amenity__s { font-size: 13px; color: var(--taupe); line-height: 1.55; }

/* ===== Offers by type (complex) ===== */
.rv-offers {
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  overflow: hidden;
}
.rv-offers__row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  padding: 22px 28px; align-items: center;
  border-bottom: 1px solid var(--border-soft);
  transition: background 180ms;
  cursor: pointer;
}
.rv-offers__row:last-child { border-bottom: none; }
.rv-offers__row:hover { background: var(--bg-elevated); }
.rv-offers__row--head { background: var(--bg-elevated); font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; cursor: default; }
.rv-offers__row--head:hover { background: var(--bg-elevated); }
.rv-offers__type { font-weight: 600; color: var(--deep); }
.rv-offers__price { font-family: var(--font-display); font-size: 20px; color: var(--deep); }
.rv-offers__count { color: var(--taupe); }

/* ===== Price history chart ===== */
.rv-chart {
  padding: 32px; background: var(--bg-elevated);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
}
.rv-chart__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.rv-chart__delta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; background: rgba(73,104,107,0.1);
  color: var(--teal); border-radius: 999px;
  font-size: 13px; font-weight: 500;
}
.rv-chart__svg { width: 100%; height: 220px; display: block; }
.rv-chart__labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12px; color: var(--taupe); }

/* ===== Document list ===== */
.rv-docs { border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.rv-docs__row {
  display: grid; grid-template-columns: auto 1fr auto auto;
  gap: 16px; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background 180ms;
}
.rv-docs__row:last-child { border-bottom: none; }
.rv-docs__row:hover { background: var(--bg-elevated); }
.rv-docs__icon { width: 36px; height: 36px; border-radius: 8px; background: rgba(73,104,107,0.08); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.rv-docs__name { font-weight: 500; color: var(--deep); }
.rv-docs__size { font-size: 12px; color: var(--taupe); }

/* ===== Building milestones ===== */
.rv-milestones {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  padding: 40px 0;
}
.rv-milestones::before {
  content: ""; position: absolute; top: 66px; left: 8%; right: 8%; height: 2px; background: var(--border);
  z-index: 0;
}
.rv-milestone {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 8px;
  text-align: center;
}
.rv-milestone__dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--ivory);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.rv-milestone.is-done .rv-milestone__dot { background: var(--teal); border-color: var(--teal); color: var(--ivory); }
.rv-milestone.is-current .rv-milestone__dot { background: var(--gold); border-color: var(--gold); }
.rv-milestone__m { font-family: var(--font-display); font-size: 13px; color: var(--teal); margin-bottom: 4px; letter-spacing: 0.08em; }
.rv-milestone__t { font-size: 14px; color: var(--deep); font-weight: 500; }

/* ===== Units table (building) ===== */
.rv-units-table {
  border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden;
  background: var(--ivory);
}
.rv-units-table__row {
  display: grid; grid-template-columns: 80px 1fr 1fr 1fr 1fr 1.3fr auto;
  padding: 18px 24px; align-items: center; gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
}
.rv-units-table__row:last-child { border-bottom: none; }
.rv-units-table__row--head { background: var(--bg-elevated); font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; }
.rv-units-table__id { font-family: var(--font-display); color: var(--teal); }
.rv-units-table__price { font-weight: 600; color: var(--deep); }
.rv-units-table__badge { display: inline-block; padding: 4px 10px; background: rgba(73,104,107,0.1); color: var(--teal); border-radius: 999px; font-size: 12px; }
.rv-units-table__badge--na { background: rgba(46,51,51,0.06); color: var(--taupe); }
.rv-units-table__row.is-na { opacity: 0.55; }

/* ===== SEARCH page ===== */
.rv-search {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 32px var(--rv-gutter) 80px;
  display: grid; grid-template-columns: 280px 1fr; gap: 40px;
}
.rv-search__sidebar {
  position: sticky; top: 96px;
  align-self: start;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
}
.rv-search__sidebar h4 { margin: 0 0 16px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--taupe); }
.rv-search__filter-group { border-top: 1px solid var(--border-soft); padding: 20px 0; }
.rv-search__filter-group:first-of-type { border-top: none; padding-top: 0; }

.rv-search__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; gap: 20px; flex-wrap: wrap; }
.rv-search__count { font-size: 14px; color: var(--taupe); }
.rv-search__toolbar { display: flex; gap: 12px; align-items: center; }
.rv-search__sort, .rv-search__view {
  padding: 10px 14px; background: var(--ivory);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; color: var(--deep); font-family: inherit;
  cursor: pointer;
}
.rv-search__view { display: flex; gap: 4px; padding: 4px; }
.rv-search__view button {
  width: 32px; height: 32px; border: 0; background: transparent;
  color: var(--taupe); border-radius: 4px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.rv-search__view button.is-active { background: var(--deep); color: var(--ivory); }

.rv-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.rv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(73,104,107,0.08); color: var(--teal);
  border-radius: 999px; font-size: 13px; border: 0; cursor: pointer;
  font-family: inherit;
}
.rv-chip__x { margin-left: 4px; font-size: 14px; line-height: 1; opacity: 0.7; }
.rv-chip--reset { background: transparent; color: var(--taupe); padding-left: 0; }

/* Unit card (reusable) */
.rv-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rv-cards.is-list { grid-template-columns: 1fr; }
.rv-card {
  padding: 0;
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 260ms var(--ease-out), box-shadow 260ms;
  display: flex; flex-direction: column;
}
.rv-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46,51,51,0.08); }
.rv-card__photo { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.rv-card__photo > .rv-ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.rv-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-card__badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 6px 12px; background: rgba(245,240,234,0.95); color: var(--deep);
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 999px;
}
.rv-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.rv-card__title { font-family: var(--font-display); font-size: 20px; line-height: 1.25; color: var(--deep); }
.rv-card__sub { font-size: 13px; color: var(--taupe); }
.rv-card__snapshot{font-size:12px;line-height:1.5;color:var(--taupe)}
.rv-card__facts { display: flex; gap: 14px; margin-top: 6px; font-size: 13px; color: var(--taupe); }
.rv-card__price { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: end; border-top: 1px solid var(--border-soft); }
.rv-card__price-main { font-family: var(--font-display); font-size: 22px; color: var(--deep); }
.rv-card__price-sub { font-size: 12px; color: var(--taupe); }

/* List view variant */
.rv-cards.is-list .rv-card { flex-direction: row; }
.rv-cards.is-list .rv-card__link{flex-direction:row}
.rv-cards.is-list .rv-card__photo { width: 380px; flex: 0 0 380px; aspect-ratio: auto; align-self: stretch; min-height: 280px; }
.rv-cards.is-list .rv-card__body { padding: 28px 32px; }

/* ===== COMPARE ===== */
.rv-cmp-hero {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 40px var(--rv-gutter) 80px;
}
.rv-cmp-hero__grid {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 32px; align-items: stretch;
  margin-top: 32px;
}
.rv-cmp-card {
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.rv-cmp-card__photo { height: 240px; }
.rv-cmp-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.rv-cmp-card__title { font-family: var(--font-display); font-size: 28px; color: var(--deep); }
.rv-cmp-card__sub { font-size: 14px; color: var(--taupe); }
.rv-cmp-card__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-soft); }
.rv-cmp-card__kpi-k { font-size: 11px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.08em; }
.rv-cmp-card__kpi-v { font-family: var(--font-display); font-size: 20px; color: var(--deep); margin-top: 4px; }
.rv-cmp-vs {
  align-self: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--deep); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px;
}

.rv-cmp-table { max-width: var(--rv-max); margin: 0 auto; padding: 0 var(--rv-gutter) 80px; }
.rv-cmp-table__inner { border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; background: var(--ivory); }
.rv-cmp-table__row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  padding: 18px 28px; align-items: center;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
}
.rv-cmp-table__row:last-child { border-bottom: none; }
.rv-cmp-table__row--head {
  background: var(--bg-elevated);
  font-family: var(--font-display); font-size: 18px;
  color: var(--deep);
}
.rv-cmp-table__k { color: var(--taupe); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.rv-cmp-table__v { color: var(--deep); }
.rv-cmp-table__v.is-winner { font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.rv-cmp-table__v.is-winner::before { content: "●"; font-size: 10px; color: var(--gold); }

.rv-cmp-pros {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: var(--rv-max); margin: 0 auto; padding: 0 var(--rv-gutter) 80px;
}
.rv-cmp-pros__col {
  padding: 32px;
  background: var(--ivory);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
}
.rv-cmp-pros__list { margin: 20px 0 0; padding: 0; list-style: none; }
.rv-cmp-pros__list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--border-soft);
  align-items: start;
  font-size: 15px; color: var(--deep);
}
.rv-cmp-pros__list li:last-child { border-bottom: none; }
.rv-cmp-pros__list li svg { margin-top: 2px; }
.rv-cmp-pros__list.is-cons li svg { color: #B85A3E; }
.rv-cmp-pros__list.is-pros li svg { color: var(--teal); }

/* ===== FAQ / accordion ===== */
.rv-faq { max-width: 820px; margin: 0 auto; padding: 0 var(--rv-gutter) 80px; }
.rv-faq__item {
  border-bottom: 1px solid var(--border-soft);
  padding: 24px 0;
}
.rv-faq__q {
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 20px; color: var(--deep); font-weight: 400;
}
.rv-faq__q::-webkit-details-marker { display: none; }
.rv-faq__item[open] .rv-faq__chev { transform: rotate(180deg); }
.rv-faq__a { margin-top: 16px; font-size: 15px; color: var(--taupe); line-height: 1.65; max-width: 640px; }

/* ===== SCENARIO ===== */
.rv-scenario-hero {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 80px var(--rv-gutter) 40px;
  text-align: center;
}
.rv-scenario-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6vw, 88px); line-height: 1.05;
  color: var(--deep); margin: 24px auto 24px;
  max-width: 900px; letter-spacing: -0.01em;
}
.rv-scenario-hero .rv-hero__accent { font-style: italic; color: var(--teal); }
.rv-scenario-hero__lead { font-size: 20px; color: var(--taupe); max-width: 620px; margin: 0 auto; line-height: 1.55; }
.rv-scenario-hero__kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  max-width: 800px; margin: 56px auto 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rv-scenario-hero__kpi {
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}
.rv-scenario-hero__kpi:last-child { border-right: none; }
.rv-scenario-hero__kpi-k { font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.rv-scenario-hero__kpi-v { font-family: var(--font-display); font-size: 32px; color: var(--deep); }

.rv-tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: var(--rv-max); margin: 0 auto; padding: 0 var(--rv-gutter); }
.rv-track {
  padding: 32px; background: var(--ivory);
  border: 1px solid var(--border-soft); border-radius: var(--r-lg);
  display: flex; flex-direction: column; gap: 16px;
}
.rv-track__n { font-family: var(--font-display); color: var(--teal); font-size: 14px; letter-spacing: 0.12em; }
.rv-track__kpi {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border-soft);
  display: flex; justify-content: space-between; align-items: center;
}
.rv-track__kpi-v { font-family: var(--font-display); font-size: 24px; color: var(--deep); }
.rv-track__badge {
  padding: 4px 10px; background: rgba(73,104,107,0.1); color: var(--teal);
  border-radius: 999px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}

.rv-steps { max-width: var(--rv-max); margin: 0 auto; padding: 0 var(--rv-gutter); }
.rv-steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.rv-step {
  display: flex; flex-direction: column; gap: 12px;
}
.rv-step__n {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--deep); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px;
}
.rv-step__t { font-weight: 600; font-size: 17px; color: var(--deep); }
.rv-step__s { font-size: 14px; color: var(--taupe); line-height: 1.55; }

/* ===== CONTENT (article / guide / faq) ===== */
.rv-content {
  max-width: 820px; margin: 0 auto;
  padding: 56px var(--rv-gutter) 80px;
}
.rv-content__meta {
  display: flex; gap: 20px; align-items: center;
  font-size: 13px; color: var(--taupe);
  margin-bottom: 32px;
}
.rv-content__meta span::after { content: "·"; margin-left: 20px; color: var(--border); }
.rv-content__meta span:last-child::after { content: ""; }
.rv-content h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px); line-height: 1.1;
  color: var(--deep); margin: 0 0 20px; letter-spacing: -0.005em;
}
.rv-content__dek { font-size: 20px; color: var(--taupe); line-height: 1.5; margin-bottom: 48px; max-width: 680px; }
.rv-content__summary {
  margin: 40px 0; padding: 28px 32px;
  background: var(--bg-elevated); border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16px; line-height: 1.65; color: var(--deep);
}
.rv-content h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 32px; line-height: 1.2; color: var(--deep);
  margin: 56px 0 20px; letter-spacing: -0.005em;
}
.rv-content h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--deep); margin: 40px 0 14px; }
.rv-content p { font-size: 17px; line-height: 1.7; color: var(--deep); margin: 0 0 20px; }
.rv-content__quote {
  margin: 48px 0;
  padding: 32px 40px 32px 56px; position: relative;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.rv-content__quote::before {
  content: "“"; position: absolute; top: 8px; left: 8px;
  font-family: var(--font-display); font-size: 80px; color: var(--teal); line-height: 1;
}
.rv-content__quote p { font-family: var(--font-display); font-size: 24px; line-height: 1.4; color: var(--deep); margin: 0 0 14px; }
.rv-content__quote cite { font-size: 14px; color: var(--taupe); font-style: normal; }

.rv-toc {
  padding: 28px 32px;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  margin: 40px 0;
}
.rv-toc__t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 16px; }
.rv-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.rv-toc li {
  counter-increment: toc;
  padding: 10px 0; border-bottom: 1px dashed var(--border-soft);
  font-size: 15px; color: var(--deep);
}
.rv-toc li:last-child { border-bottom: none; }
.rv-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-display); color: var(--teal); font-size: 13px;
  margin-right: 16px;
}

/* Guide steps */
.rv-guide-step {
  display: grid; grid-template-columns: 100px 1fr; gap: 32px;
  padding: 40px 0; border-top: 1px solid var(--border-soft);
}
.rv-guide-step:first-of-type { border-top: none; }
.rv-guide-step__n {
  font-family: var(--font-display); color: var(--teal);
  font-size: 42px; line-height: 1;
}
.rv-guide-step__t { font-family: var(--font-display); font-size: 26px; color: var(--deep); margin: 0 0 14px; }
.rv-guide-step__p { font-size: 16px; line-height: 1.65; color: var(--deep); margin: 0 0 20px; }
.rv-guide-step__check { margin: 16px 0 0; padding: 20px 24px; background: var(--bg-elevated); border-radius: var(--r-md); }
.rv-guide-step__check-t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 12px; }
.rv-guide-step__check ul { margin: 0; padding: 0; list-style: none; }
.rv-guide-step__check li {
  padding: 8px 0 8px 28px; position: relative;
  font-size: 14px; color: var(--deep);
}
.rv-guide-step__check li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 16px; height: 16px;
  border: 1px solid var(--border); border-radius: 4px;
}

.rv-related {
  margin: 48px 0 0; padding: 32px 0 0;
  border-top: 1px solid var(--border);
}
.rv-related__t { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 20px; }
.rv-related__list { display: flex; flex-direction: column; gap: 0; }
.rv-related__list a {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 16px; color: var(--deep); text-decoration: none;
  transition: color 180ms;
}
.rv-related__list a:hover { color: var(--teal); }
.rv-related__list a:last-child { border-bottom: none; }

/* ===== Index hub ===== */
.rv-hub {
  max-width: var(--rv-max); margin: 0 auto;
  padding: 80px var(--rv-gutter);
}
.rv-hub__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.rv-hub__intro h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.05; margin: 20px 0 0; color: var(--deep); letter-spacing: -0.01em; }
.rv-hub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rv-hub__card {
  display: grid; grid-template-rows: 180px auto;
  background: var(--ivory);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform 260ms var(--ease-out), box-shadow 260ms;
}
.rv-hub__card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(46,51,51,0.08); }
.rv-hub__card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.rv-hub__card-n { font-family: var(--font-display); font-size: 13px; color: var(--teal); letter-spacing: 0.14em; }
.rv-hub__card-t { font-family: var(--font-display); font-size: 22px; color: var(--deep); line-height: 1.2; }
.rv-hub__card-s { font-size: 13px; color: var(--taupe); line-height: 1.55; margin-top: 4px; }
.rv-hub__card-cta { margin-top: auto; padding-top: 18px; font-size: 13px; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }

/* ===== Legal ===== */
.rv-legal__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  padding-top: 32px; border-top: 1px solid var(--border-soft);
}
.rv-legal__grid h4 { margin: 0 0 12px; }
.rv-legal__grid p { margin: 0; }

/* ===== Skeleton / loading shimmer (search) ===== */
@keyframes rvShim { 0% { background-position: -200px 0; } 100% { background-position: 200px 0; } }
.rv-skel {
  background: linear-gradient(90deg, var(--bg-elevated) 0%, var(--border-soft) 50%, var(--bg-elevated) 100%);
  background-size: 400px 100%;
  animation: rvShim 1.4s linear infinite;
  border-radius: var(--r-sm);
}

/* ===== Responsive fallbacks ===== */
@media (max-width: 1100px) {
  .rv-detail-hero { grid-template-columns: 1fr; }
  .rv-search { grid-template-columns: 1fr; }
  .rv-cards { grid-template-columns: repeat(2, 1fr); }
  .rv-cards.is-list .rv-card { flex-direction: column; }
  .rv-cards.is-list .rv-card__photo { width: 100%; flex: none; height: auto; aspect-ratio: 4 / 3; }
  .rv-cmp-hero__grid { grid-template-columns: 1fr; }
  .rv-cmp-vs { justify-self: center; }
}
@media (max-width: 900px) {
  .rv-phead__media-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rv-phead__media-grid { margin-top: 36px; gap: 20px; }
  .rv-phead__photo { min-height: 320px; }
  .rv-phead__facts { grid-template-columns: minmax(0, 1fr); }
  .rv-phead__fact { padding: 20px 24px; }
  .rv-phead__fact:nth-child(odd) { border-right: 0; }
  .rv-phead__fact:not(:last-child) { border-bottom: 1px solid var(--border-soft); }
}

/* ═══ extras.css — extras v2 (застройщик, планировки, шахматка, климат, кейс...) ═══ */
/* Rivelio — extended sections (v2 content pass). Load after pages.css. */

/* ===== Photo slot overlay ===== */
.rv-ph{position:relative;overflow:hidden}
.rv-ph__over{position:absolute;inset:0;pointer-events:none;z-index:1}
.rv-ph__over > *{pointer-events:auto}
.rv-ph image-slot{font-family:var(--font-body);font-size:12px}

/* ===== Header: phone nowrap + burger ===== */
.rv-top__phone{white-space:nowrap;color:var(--deep);text-decoration:none}
.rv-top__burger{display:none;width:44px;height:44px;border:1px solid var(--border);border-radius:var(--r-md);background:transparent;color:var(--deep);cursor:pointer;align-items:center;justify-content:center}
.rv-top__drawer{border-top:1px solid var(--border-soft);background:var(--ivory);padding:8px var(--rv-gutter) 24px;max-height:calc(100vh - 72px);overflow-y:auto}
.rv-top__drawer nav{display:flex;flex-direction:column}
.rv-top__drawer nav a{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--border-soft);font-size:17px;color:var(--deep);text-decoration:none}
.rv-top__drawer nav a.is-active{color:var(--teal)}
.rv-top__drawer-foot{display:flex;flex-direction:column;gap:14px;margin-top:20px}
.rv-top__drawer-phone{display:flex;align-items:center;gap:10px;font-size:17px;color:var(--deep);text-decoration:none}
@media (max-width:1100px){
  .rv-top__inner{grid-template-columns:auto 1fr;gap:16px}
  .rv-top__nav,.rv-top__phone{display:none!important}
  .rv-top__right{justify-self:end;gap:10px}
  .rv-top__burger{display:flex}
}
@media (max-width:520px){.rv-top__cta{display:none}}

/* ===== Common ===== */
.rv-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:28px}
.rv-tab{padding:10px 18px;border-radius:999px;border:1px solid var(--border);background:transparent;font:500 14px/1 var(--font-body);color:var(--deep);cursor:pointer;transition:all var(--dur-base) var(--ease-out)}
.rv-tab:hover{border-color:var(--teal);color:var(--teal)}
.rv-tab.is-on{background:var(--deep);border-color:var(--deep);color:var(--ivory)}
.rv-cards--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.rv-sec-foot{display:flex;justify-content:center;margin-top:40px}
.rv-kv{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--border-soft);font-size:15px}
.rv-kv span:first-child{color:var(--taupe)}
.rv-kv strong{font-weight:600;color:var(--deep);text-align:right}
.rv-panel{background:var(--bg-elevated);border:1px solid var(--border-soft);border-radius:var(--r-lg);padding:32px}
.rv-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:72px;height:72px;border-radius:50%;background:rgba(245,240,234,.92);color:var(--deep);display:flex;align-items:center;justify-content:center;border:0;cursor:pointer;box-shadow:var(--shadow-2)}
.rv-caption{margin-top:10px;font-size:13px;color:var(--taupe)}

/* ===== Card extras ===== */
.rv-card__photo .rv-ph{border-radius:0}
.rv-card__meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.rv-card__tag{padding:4px 9px;border-radius:999px;background:rgba(73,104,107,.08);color:var(--teal);font-size:12px}
.rv-card__mort{font-size:12px;color:var(--teal);margin-top:4px}
.rv-card__dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:5px;z-index:2}
.rv-card__dots i{width:6px;height:6px;border-radius:50%;background:rgba(245,240,234,.55)}
.rv-card__dots i.on{background:var(--ivory)}
.rv-card__nav{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:32px;height:32px;border-radius:50%;border:0;background:rgba(245,240,234,.9);color:var(--deep);display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity var(--dur-base)}
.rv-card:hover .rv-card__nav{opacity:1}
.rv-card__nav--l{left:10px}.rv-card__nav--r{right:10px}
.rv-card__fav{position:absolute;top:12px;right:12px;z-index:2;width:44px;height:44px;border-radius:50%;border:0;background:rgba(245,240,234,.92);color:var(--deep);display:flex;align-items:center;justify-content:center;cursor:pointer}
.rv-card__fav.on{color:#B85A3E}

/* ===== Market stats ===== */
.rv-mkt{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}
.rv-bars{display:flex;flex-direction:column;gap:14px;margin-top:24px}
.rv-bar{display:grid;grid-template-columns:150px minmax(0,1fr) 110px;gap:16px;align-items:center;font-size:14px}
.rv-bar__track{height:10px;border-radius:99px;background:var(--sand);overflow:hidden}
.rv-bar__fill{height:100%;background:var(--teal);border-radius:99px}
.rv-bar__v{text-align:right;font-weight:600;color:var(--deep)}
.rv-mkt__kpis{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border-soft);border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden}
.rv-mkt__kpi{background:var(--bg-elevated);padding:28px}
.rv-mkt__kpi-v{font-family:var(--font-display);font-size:32px;color:var(--deep);line-height:1.1}
.rv-mkt__kpi-k{font-size:13px;color:var(--taupe);margin-top:8px;line-height:1.45}
.rv-mkt__delta{font-size:13px;color:var(--teal);margin-top:6px}

/* ===== Life in area ===== */
.rv-life{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px}
.rv-life>.rv-panel{min-width:0}
.rv-clim-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.rv-clim-scroll-hint{display:none}
.rv-clim{display:grid;grid-template-columns:repeat(12,1fr);gap:8px;align-items:end;height:200px;margin-top:28px}
.rv-clim__col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px;font-size:11px;color:var(--taupe)}
.rv-clim__bar{width:100%;max-width:26px;border-radius:6px 6px 2px 2px;background:var(--gold)}
.rv-clim__sea{width:100%;max-width:26px;height:4px;border-radius:2px;background:var(--teal)}
.rv-clim__t{font-weight:600;color:var(--deep);font-size:12px}
.rv-legend{display:flex;gap:18px;margin-top:16px;font-size:12px;color:var(--taupe)}
.rv-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.rv-dist{display:flex;flex-direction:column}
.rv-dist__row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid var(--border-soft)}
.rv-dist__ic{width:36px;height:36px;border-radius:50%;background:rgba(73,104,107,.08);color:var(--teal);display:flex;align-items:center;justify-content:center}
.rv-dist__n{font-size:15px;color:var(--deep)}
.rv-dist__s{font-size:12px;color:var(--taupe)}
.rv-dist__m{font-family:var(--font-display);font-size:18px;color:var(--deep);white-space:nowrap}

/* ===== Who fits ===== */
.rv-fits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.rv-fit{background:var(--bg-elevated);border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column}
.rv-fit__ph{aspect-ratio:4/3}
.rv-fit__ph .rv-ph{height:100%;border-radius:0}
.rv-fit__b{padding:22px;display:flex;flex-direction:column;gap:8px;flex:1}
.rv-fit__t{font-family:var(--font-display);font-size:20px;color:var(--deep)}
.rv-fit__s{font-size:14px;color:var(--taupe);line-height:1.55}
.rv-fit__score{margin-top:auto;padding-top:14px;display:flex;gap:4px}
.rv-fit__score i{flex:1;height:4px;border-radius:2px;background:var(--sand)}
.rv-fit__score i.on{background:var(--teal)}

/* ===== Neighbours ===== */
.rv-nb{border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden}
.rv-nb__row{display:grid;grid-template-columns:1.4fr repeat(3,1fr) 40px;gap:16px;padding:18px 24px;align-items:center;border-bottom:1px solid var(--border-soft);font-size:15px;color:var(--deep);text-decoration:none}
.rv-nb__row:last-child{border-bottom:0}
.rv-nb__row--head{background:var(--bg-elevated);font-size:12px;color:var(--taupe);text-transform:uppercase;letter-spacing:.08em}
.rv-nb__row.is-cur{background:rgba(73,104,107,.06)}
a.rv-nb__row:hover{background:var(--bg-elevated)}
.rv-nb__name{font-family:var(--font-display);font-size:18px}

/* ===== Developer ===== */
.rv-dev{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:48px;align-items:start}
.rv-dev--solo{grid-template-columns:minmax(0,420px)}
.rv-dev__logo{width:200px;height:84px;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border-soft);background:var(--bg-elevated);margin-bottom:16px}
.rv-dev__logo .rv-ph{height:100%;border-radius:0}
.rv-dev__logo .rv-ph img{box-sizing:border-box;padding:16px}
.rv-dev__logo--dark,.rv-dev__logo--dark .rv-ph{background:#191819}
.rv-dev__stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;background:var(--border-soft);border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;margin-bottom:24px}
.rv-dev__stat{background:var(--bg-elevated);padding:22px}
.rv-dev__stat-v{font-family:var(--font-display);font-size:28px;color:var(--deep)}
.rv-dev__stat-k{font-size:12px;color:var(--taupe);margin-top:6px}
.rv-dev__projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.rv-dev__p{border-radius:var(--r-md);overflow:hidden;border:1px solid var(--border-soft);background:var(--ivory)}
.rv-dev__p .rv-ph{aspect-ratio:4/3;border-radius:0}
.rv-dev__p-b{padding:12px 14px;font-size:13px}
.rv-dev__p-b strong{display:block;color:var(--deep);font-weight:600;margin-bottom:2px}
.rv-dev__p-b span{color:var(--taupe)}

/* ===== Finishing ===== */
.rv-fin{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px}
.rv-fin__photos{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:260px 200px;gap:12px}
.rv-fin__photos .rv-ph:first-child{grid-column:1/3}
.rv-fin__photos .rv-ph{height:100%}

/* ===== Surroundings ===== */
.rv-around{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:stretch}
.rv-around__map{min-height:480px;border-radius:var(--r-lg);overflow:hidden;position:relative}
.rv-around__map .rv-ph{position:absolute;inset:0}
.rv-around__cats{display:flex;flex-direction:column;gap:24px}
.rv-around__cat-t{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--taupe);margin-bottom:4px}

/* ===== Floor plans ===== */
.rv-plan{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}
.rv-plan__img{aspect-ratio:4/3;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border-soft);background:#fff}
.rv-plan__img .rv-ph{height:100%;border-radius:0}
.rv-plan__price{font-family:var(--font-display);font-size:32px;color:var(--deep);margin:6px 0 18px}
.rv-typeplans{display:grid;gap:10px;margin-top:22px}
.rv-typeplans__date{margin:0;color:var(--taupe);font-size:14px}
.rv-typeplan{border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-elevated);overflow:hidden}
.rv-typeplan summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;padding:14px 22px;cursor:pointer;color:var(--deep);font-size:17px;list-style:none}
.rv-typeplan summary::-webkit-details-marker{display:none}
.rv-typeplan summary strong{font-weight:600;white-space:nowrap}
.rv-typeplan summary:focus-visible{outline:3px solid var(--teal);outline-offset:-3px}
.rv-typeplan[open] summary{border-bottom:1px solid var(--border-soft)}
.rv-typeplan__body{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.6fr);gap:24px;padding:22px}
.rv-typeplan__image{display:block;min-width:0;aspect-ratio:4/3;border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;background:#fff}
.rv-typeplan__image img{display:block;width:100%;height:100%;object-fit:contain}
.rv-typeplan__explication dl{margin:16px 0 0}
.rv-typeplan__room{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border-soft);font-size:14px}
.rv-typeplan__room dt{color:var(--taupe)}
.rv-typeplan__room dd{margin:0;font-weight:600;white-space:nowrap}
@media (max-width:700px){.rv-typeplan__body{grid-template-columns:1fr;padding:14px}.rv-typeplan summary{padding:12px 16px}}

/* ===== Construction log ===== */
.rv-log{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.rv-log__item .rv-ph{aspect-ratio:4/3}
.rv-log__m{font-family:var(--font-display);font-size:14px;color:var(--teal);letter-spacing:.08em;margin-top:12px}
.rv-log__t{font-size:14px;color:var(--deep);margin-top:4px}

/* ===== Chessboard ===== */
.rv-chess{background:var(--bg-elevated);border:1px solid var(--border-soft);border-radius:var(--r-lg);padding:28px;overflow-x:auto}
.rv-chess__row{display:grid;grid-template-columns:48px repeat(4,minmax(64px,1fr));gap:6px;margin-bottom:6px;min-width:420px}
.rv-chess__fl{font-family:var(--font-display);font-size:14px;color:var(--taupe);display:flex;align-items:center}
.rv-chess__c{height:44px;border-radius:6px;border:0;font:500 12px/1.2 var(--font-body);cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform var(--dur-quick)}
.rv-chess__c:hover{transform:scale(1.04)}
.rv-chess__c--a{background:var(--teal);color:var(--ivory)}
.rv-chess__c--b{background:var(--gold);color:var(--deep)}
.rv-chess__c--s{background:var(--sand);color:var(--taupe);cursor:default}
.rv-chess__c.is-sel{outline:2px solid var(--deep);outline-offset:2px}
.rv-chess__c small{font-size:10px;opacity:.8}
.rv-chess-wrap{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}

/* ===== Ownership ===== */
.rv-own{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.rv-own__total{display:flex;justify-content:space-between;align-items:baseline;padding-top:18px;margin-top:6px}
.rv-own__total span{font-size:13px;color:var(--taupe);text-transform:uppercase;letter-spacing:.08em}
.rv-own__total strong{font-family:var(--font-display);font-size:28px;font-weight:400;color:var(--deep)}

/* ===== Two media ===== */
.rv-media2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.rv-media2__item{aspect-ratio:16/10;border-radius:var(--r-lg);overflow:hidden;position:relative}
.rv-media2__item .rv-ph{position:absolute;inset:0}

/* ===== Search extras ===== */
.rv-search__main{min-width:0}
.rv-search__split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start}
.rv-search__split .rv-cards{grid-template-columns:1fr}
.rv-search__map{position:sticky;top:96px;height:calc(100vh - 128px);min-height:480px;border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border-soft)}
.rv-search__map .rv-ph{position:absolute;inset:0;border-radius:0}
.rv-search__map-canvas{position:absolute;inset:0 0 72px 0}
.rv-search__map-points{position:absolute;bottom:0;left:0;right:0;max-height:72px;overflow:auto;background:var(--ivory);padding:8px 12px;display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.rv-search__map-points a{color:var(--deep);text-decoration:underline}
.rv-search__map .leaflet-popup-content{max-width:180px;overflow-wrap:anywhere;font:12px/1.4 var(--font-body)}
.rv-pin{position:absolute;transform:translate(-50%,-100%);padding:6px 10px;border-radius:999px;background:var(--ivory);color:var(--deep);font:600 12px/1 var(--font-body);box-shadow:var(--shadow-2);border:0;cursor:pointer;white-space:nowrap}
.rv-pin.is-on{background:var(--deep);color:var(--ivory)}
.rv-promo{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;padding:32px 36px;border-radius:var(--r-lg);background:var(--deep);color:var(--ivory)}
.rv-promo h3{font-family:var(--font-display);font-weight:400;font-size:26px;margin:8px 0 6px;color:var(--ivory)}
.rv-promo p{margin:0;color:rgba(245,240,234,.72);font-size:15px}
.rv-popular{display:flex;flex-wrap:wrap;gap:10px}
.rv-popular a{padding:10px 16px;border-radius:999px;border:1px solid var(--border);color:var(--deep);font-size:14px;text-decoration:none;transition:all var(--dur-base)}
.rv-popular a:hover{border-color:var(--teal);color:var(--teal)}
.rv-card--skel .rv-card__photo{background:var(--sand)}
.rv-skel-line{height:14px;border-radius:4px;margin-bottom:10px}
.rv-search__filterbtn{display:none}
.rv-pager{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:40px}
.rv-pager a,.rv-pager span{min-width:40px;height:40px;padding:0 12px;border-radius:var(--r-md);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:14px;color:var(--deep);text-decoration:none}
.rv-pager .on{background:var(--deep);color:var(--ivory);border-color:var(--deep)}
.rv-sheet-bg{position:fixed;inset:0;background:rgba(46,51,51,.5);z-index:80}
.rv-sheet{position:fixed;left:0;right:0;bottom:0;z-index:81;background:var(--ivory);border-radius:16px 16px 0 0;max-height:88vh;overflow-y:auto;padding:24px 20px 100px}
.rv-sheet__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.rv-sheet__foot{position:fixed;left:0;right:0;bottom:0;z-index:82;padding:14px 20px;background:var(--ivory);border-top:1px solid var(--border-soft);display:flex;gap:10px}
@media (max-width:1100px){
  .rv-search__sidebar{display:none}
  .rv-search__filterbtn{display:inline-flex}
  .rv-search__split{grid-template-columns:1fr}
  .rv-search__map{position:relative;top:0;height:360px;min-height:0;grid-row:1}
}

/* ===== Compare extras ===== */
.rv-cmp-pick{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--ivory);font:500 14px var(--font-body);color:var(--deep);margin-bottom:6px}
.rv-cmp-bars{display:flex;flex-direction:column;gap:22px}
.rv-cmp-bar__k{display:flex;justify-content:space-between;font-size:14px;color:var(--taupe);margin-bottom:8px}
.rv-cmp-bar__row{display:grid;grid-template-columns:120px minmax(0,1fr) 110px;gap:12px;align-items:center;font-size:13px;margin-bottom:6px}
.rv-cmp-bar__row b{font-weight:600;color:var(--deep);text-align:right}
.rv-cmp-bar__track{height:8px;background:var(--sand);border-radius:99px;overflow:hidden}
.rv-cmp-bar__fill{height:100%;border-radius:99px}
.rv-verdict{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.rv-verdict__c{padding:32px;border-radius:var(--r-lg);border:1px solid var(--border-soft);background:var(--bg-elevated)}
.rv-verdict__c h3{margin:10px 0 12px}
.rv-verdict__c p{margin:0 0 20px;font-size:15px;line-height:1.65;color:var(--deep)}

/* ===== Scenario extras ===== */
.rv-case{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:32px;align-items:stretch}
.rv-case__ph{min-height:420px;border-radius:var(--r-lg);overflow:hidden;position:relative}
.rv-case__ph .rv-ph{position:absolute;inset:0}
.rv-case__steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border-soft);border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden;margin:24px 0}
.rv-case__step{background:var(--bg-elevated);padding:20px}
.rv-case__step-v{font-family:var(--font-display);font-size:24px;color:var(--deep)}
.rv-case__step-k{font-size:12px;color:var(--taupe);margin-top:4px}
.rv-cols{display:flex;align-items:flex-end;gap:10px;height:160px;padding-top:8px}
.rv-cols__c{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;height:100%;justify-content:flex-end;font-size:11px;color:var(--taupe)}
.rv-cols__b{width:100%;border-radius:6px 6px 2px 2px;background:var(--teal)}
.rv-cols__b--inc{background:var(--gold)}
.rv-risks{display:flex;flex-direction:column;border:1px solid var(--border-soft);border-radius:var(--r-lg);overflow:hidden}
.rv-risk{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:32px;padding:24px 28px;border-bottom:1px solid var(--border-soft);background:var(--ivory)}
.rv-risk:last-child{border-bottom:0}
.rv-risk__t{font-weight:600;color:var(--deep);font-size:16px;display:flex;gap:10px;align-items:flex-start}
.rv-risk__m{font-size:15px;color:var(--taupe);line-height:1.6}
.rv-reviews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.rv-review{padding:28px;border-radius:var(--r-lg);background:var(--bg-elevated);border:1px solid var(--border-soft);display:flex;flex-direction:column;gap:16px}
.rv-review p{margin:0;font-size:15px;line-height:1.65;color:var(--deep)}
.rv-review__who{display:flex;gap:12px;align-items:center;margin-top:auto}
.rv-review__av{width:48px;height:48px;border-radius:50%;overflow:hidden;flex:0 0 48px}
.rv-review__av .rv-ph{height:100%;border-radius:50%}
.rv-review__n{font-weight:600;font-size:14px;color:var(--deep)}
.rv-review__s{font-size:12px;color:var(--taupe)}

/* ===== Content extras ===== */
.rv-read{max-width:1200px;margin:0 auto;padding:56px var(--rv-gutter) 80px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start}
.rv-read .rv-content{padding:0;max-width:760px;margin:0}
.rv-aside{position:sticky;top:104px;display:flex;flex-direction:column;gap:20px}
.rv-aside__toc{padding:24px;border-radius:var(--r-lg);background:var(--bg-elevated);border:1px solid var(--border-soft)}
.rv-aside__toc a{display:block;padding:8px 0;font-size:14px;color:var(--deep);text-decoration:none;border-bottom:1px dashed var(--border-soft)}
.rv-aside__toc a:last-child{border-bottom:0}
.rv-aside__toc a:hover{color:var(--teal)}
.rv-aside__cta{padding:24px;border-radius:var(--r-lg);background:var(--deep);color:var(--ivory)}
.rv-aside__cta h4{font-family:var(--font-display);font-weight:400;font-size:20px;margin:8px 0 10px;color:var(--ivory)}
.rv-aside__cta p{font-size:14px;color:rgba(245,240,234,.72);margin:0 0 16px;line-height:1.55}
.rv-fig{margin:36px 0}
.rv-fig__ph{aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden}
.rv-fig__ph .rv-ph{height:100%}
.rv-fig figcaption{margin-top:10px;font-size:13px;color:var(--taupe)}
.rv-table{width:100%;border-collapse:collapse;margin:28px 0;font-size:15px}
.rv-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--taupe);font-weight:500;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--bg-elevated)}
.rv-table td{padding:14px;border-bottom:1px solid var(--border-soft);color:var(--deep)}
.rv-table td:not(:first-child),.rv-table th:not(:first-child){text-align:right}
.rv-callout{margin:32px 0;padding:24px 28px;border-radius:var(--r-lg);background:rgba(73,104,107,.07);display:grid;grid-template-columns:28px 1fr;gap:14px;color:var(--deep);font-size:15px;line-height:1.6}
.rv-callout svg{color:var(--teal);margin-top:2px}
.rv-author{margin-top:48px;padding:28px;border-radius:var(--r-lg);border:1px solid var(--border-soft);display:grid;grid-template-columns:72px 1fr;gap:20px;align-items:center}
.rv-author__av{width:72px;height:72px;border-radius:50%;overflow:hidden}
.rv-author__av .rv-ph{height:100%;border-radius:50%}
.rv-author__n{font-weight:600;color:var(--deep)}
.rv-author__r{font-size:13px;color:var(--taupe);margin:2px 0 8px}
.rv-author p{margin:0;font-size:14px;color:var(--deep);line-height:1.55}
.rv-sources{margin-top:40px;padding-top:28px;border-top:1px solid var(--border)}
.rv-sources ol{margin:12px 0 0;padding-left:20px;font-size:13px;color:var(--taupe);line-height:1.7}
.rv-sources__meta{margin-top:16px;font-size:12px;color:var(--taupe);display:flex;flex-wrap:wrap;gap:6px 18px}
.rv-progress{position:fixed;left:0;top:0;height:3px;background:var(--teal);z-index:40;transition:width 80ms linear}
.rv-content__meta{flex-wrap:wrap;row-gap:6px}
.rv-content__meta span{white-space:nowrap}
.rv-faq-more{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.rv-faq-more a{padding:18px 20px;border-radius:var(--r-md);border:1px solid var(--border-soft);background:var(--bg-elevated);color:var(--deep);font-size:15px;line-height:1.4;text-decoration:none;display:flex;justify-content:space-between;gap:12px;align-items:center}
.rv-faq-more a:hover{border-color:var(--teal);color:var(--teal)}
.rv-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center;margin-bottom:24px}
.rv-guide-hero__ph{aspect-ratio:4/3;border-radius:var(--r-xl);overflow:hidden}
.rv-guide-hero__ph .rv-ph{height:100%}
.rv-guide-step__ph{aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden;margin:4px 0 20px}
.rv-guide-step__ph .rv-ph{height:100%}

/* ===== Responsive ===== */
@media (max-width:1100px){
  .rv-cards--3,.rv-fits,.rv-log,.rv-reviews{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-mkt,.rv-life,.rv-dev,.rv-fin,.rv-around,.rv-plan,.rv-chess-wrap,.rv-case,.rv-read{grid-template-columns:1fr}
  .rv-aside{position:static}
  .rv-nb__row{grid-template-columns:1.4fr 1fr 40px}
  .rv-nb__row > :nth-child(3),.rv-nb__row > :nth-child(4){display:none}
}
@media (max-width:640px){
  .rv-cards--3,.rv-fits,.rv-log,.rv-reviews,.rv-own,.rv-media2,.rv-verdict,.rv-faq-more,.rv-dev__projects,.rv-guide-hero{grid-template-columns:1fr}
  .rv-bar{grid-template-columns:100px minmax(0,1fr) 80px;font-size:13px}
  .rv-clim{gap:8px;min-width:520px}
  .rv-clim-scroll-hint{display:block;margin:8px 0 0}
  .rv-risk{grid-template-columns:1fr;gap:8px}
  .rv-promo{grid-template-columns:1fr}
  .rv-case__steps{grid-template-columns:1fr}
  .rv-dev__stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
  .rv-cmp-bar__row{grid-template-columns:90px minmax(0,1fr) 90px}
}

/* ============ Mobile pass (v2.1) ============ */
@media (max-width:1100px){
  .rv-detail-hero,.rv-search,.rv-read,.rv-cmp-hero__grid,.rv-hero__grid,.rv-map__frame,.rv-finance__grid{grid-template-columns:minmax(0,1fr)!important}
  .rv-detail-hero > *,.rv-search > *,.rv-read > *,.rv-section > *,.rv-hero__grid > *{min-width:0}
  .rv-detail-hero__info{position:static}
  .rv-detail-hero__gallery{height:auto;grid-template-rows:260px 180px}
  .rv-detail-hero__gallery .rv-ph{min-height:0}
  .rv-specs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-specs > div:nth-child(4n){border-right:1px solid var(--border-soft)}
  .rv-specs > div:nth-child(2n){border-right:none}
  .rv-legal__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-amenities{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-tracks,.rv-steps__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .rv-cmp-pros{grid-template-columns:minmax(0,1fr)}
  .rv-search__toolbar{flex-wrap:wrap}
}
@media (max-width:640px){
  .rv-section,.rv-phead,.rv-hero,.rv-cmp-hero,.rv-cmp-table,.rv-cmp-pros,.rv-read,.rv-search,.rv-hub{padding-left:20px!important;padding-right:20px!important}
  .rv-detail-hero{padding:0 20px 48px;gap:24px}
  .rv-detail-hero__gallery{grid-template-columns:1fr 1fr;grid-template-rows:240px 120px}
  .rv-detail-hero__gallery .rv-ph:nth-child(1){grid-row:auto;grid-column:1/3}
  .rv-detail-hero__info{padding:24px}
  .rv-detail-hero__title{font-size:26px}
  .rv-detail-hero__price{font-size:32px}
  .rv-specs,.rv-legal__grid,.rv-amenities,.rv-tracks,.rv-steps__grid,.rv-trust__grid{grid-template-columns:minmax(0,1fr)!important}
  .rv-specs > div{border-right:none!important}
  .rv-trust__band{grid-template-columns:1fr 1fr!important;padding:20px!important;gap:16px!important}
  .rv-trust__kpi{font-size:24px!important}
  .rv-scenario-hero__kpis{grid-template-columns:minmax(0,1fr)}
  .rv-scenario-hero__kpi{border-right:none;border-bottom:1px solid var(--border)}
  .rv-scenario-hero__kpi:last-child{border-bottom:none}
  .rv-scenario-hero h1{font-size:40px}
  .rv-milestones{grid-template-columns:minmax(0,1fr);gap:18px;padding:12px 0}
  .rv-milestones::before{display:none}
  .rv-milestone{flex-direction:row;align-items:center;gap:14px;text-align:left}
  .rv-milestone__dot{margin:0;flex:0 0 24px}
  .rv-offers__row{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;padding:18px 20px}
  .rv-offers__row > :nth-child(2),.rv-offers__row > :nth-child(4){grid-column:1;font-size:13px;color:var(--taupe)}
  .rv-offers__row > :nth-child(5){display:none}
  .rv-offers__row--head{display:none}
  .rv-units-table{overflow-x:auto}
  .rv-units-table__row{min-width:640px}
  .rv-cmp-table__inner{overflow-x:auto}
  .rv-cmp-table__row{grid-template-columns:110px minmax(120px,1fr) minmax(120px,1fr);padding:14px 16px;font-size:14px;min-width:380px}
  .rv-cmp-card__photo{height:180px}
  .rv-cmp-card__title{font-size:22px}
  .rv-nb{overflow-x:auto}
  .rv-docs__row{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;padding:16px}
  .rv-docs__size{display:none}
  .rv-dev__stats{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}
  .rv-dev__stat{padding:14px}
  .rv-dev__stat-v{font-size:22px}
  .rv-fin__photos{grid-template-rows:200px 150px}
  .rv-around__map{min-height:280px}
  .rv-chess-wrap,.rv-own{grid-template-columns:minmax(0,1fr)}
  .rv-table{display:block;overflow-x:auto;white-space:nowrap}
  .rv-table--responsive{overflow:visible;white-space:normal;border-collapse:separate;border-spacing:0}
  .rv-table--responsive thead{display:none}
  .rv-table--responsive tbody,.rv-table--responsive tr{display:block}
  .rv-table--responsive tr{padding:14px 0;border-bottom:1px solid var(--border-soft)}
  .rv-table--responsive td{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:7px 0!important;border:0!important;text-align:right!important;overflow-wrap:anywhere}
  .rv-table--responsive td::before{content:attr(data-label);flex:0 0 42%;text-align:left;color:var(--taupe);font-size:12px;text-transform:uppercase;letter-spacing:.04em}
  .rv-content h1{font-size:32px}
  .rv-content h2{font-size:26px}
  .rv-content p{font-size:16px}
  .rv-content__dek{font-size:17px}
  .rv-guide-step{grid-template-columns:minmax(0,1fr);gap:8px}
  .rv-guide-step__n{font-size:32px}
  .rv-content__quote{padding:28px 8px 20px 36px}
  .rv-content__quote p{font-size:19px}
  .rv-author{grid-template-columns:56px minmax(0,1fr);padding:20px}
  .rv-author__av{width:56px;height:56px}
  .rv-search__head{flex-direction:column;align-items:stretch}
  .rv-search__toolbar{width:100%}
  .rv-search__sort{flex:1;min-width:0}
  .rv-cards.is-list .rv-card{flex-direction:column}
  .rv-cards.is-list .rv-card__photo{width:100%;flex:none;min-height:0;aspect-ratio:4/3}
  .rv-promo{padding:24px}
  .rv-case__ph{min-height:260px}
  .rv-hub__intro,.rv-hub__grid{grid-template-columns:minmax(0,1fr)}
  .rv-foot__cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .rv-sticky__right .btn{min-height:44px}
  /* Touch targets ≥44px */
  .rv-search__view button,.rv-card__fav,.rv-card__nav{width:44px!important;height:44px!important}
  .rv-card__nav{opacity:1}
  .rv-chip,.rv-tab,.rv-popular a{min-height:44px;display:inline-flex;align-items:center}
  .rv-pager a,.rv-pager span{min-width:44px;height:44px}
  .btn--sm{min-height:44px}
  .rv-chess__c{height:48px}
  .rv-sticky__x{width:44px;height:44px;display:flex;align-items:center;justify-content:center}
  .rv-crumbs a,.rv-phead__crumbs a{padding:10px 0}
  .rv-map__pt{min-width:44px;min-height:44px}
}

/* E09 shared lead dialog. The handoff's rv-mdl composition is reused on all pages. */
body.rv-lead-open{overflow:hidden}
.rv-lead-dialog[hidden],.rv-lead-dialog [hidden]{display:none!important}
.rv-lead-dialog{z-index:90}
.rv-lead-dialog .rv-mdl__x{width:44px;height:44px}
.rv-lead-dialog .rv-mdl__form{grid-template-columns:repeat(2,minmax(0,1fr))}
.rv-lead-dialog .rv-mdl__field{display:flex;flex-direction:column;gap:8px;min-width:0}
.rv-lead-dialog .rv-mdl__field:has(textarea),.rv-lead-dialog .rv-mdl__consent,.rv-lead-dialog .rv-mdl__actions,.rv-lead-dialog .rv-mdl__feedback{grid-column:1/-1}
.rv-lead-dialog .rv-mdl__field label{font-size:13px;font-weight:600;color:var(--deep)}
.rv-lead-dialog .rv-mdl__field input,.rv-lead-dialog .rv-mdl__field textarea{width:100%;min-height:48px;padding:12px 14px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--bg-elevated);font:inherit;color:var(--deep)}
.rv-lead-dialog .rv-mdl__field textarea{min-height:88px}
.rv-lead-dialog .rv-mdl__field [aria-invalid="true"]{border-color:#8A2E2E}
.rv-lead-dialog .rv-mdl__consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5;color:var(--deep)}
.rv-lead-dialog .rv-mdl__consent input{width:20px;height:20px;min-width:20px;margin:0;accent-color:var(--teal)}
.rv-lead-dialog .rv-mdl__feedback{margin:0;color:#8A2E2E;font-size:14px}
.rv-lead-dialog .rv-mdl__ok{padding:32px 0}
.rv-lead-dialog .rv-mdl__ok p{margin:12px 0 24px}
.rv-lead-dialog__trap{position:absolute!important;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
@media(max-width:780px){
  .rv-lead-dialog{align-items:flex-end;padding:0}
  .rv-lead-dialog .rv-mdl{max-height:94dvh;border-radius:16px 16px 0 0;grid-template-columns:minmax(0,1fr)}
  .rv-lead-dialog .rv-mdl__main{max-height:94dvh;overflow-y:auto;padding:60px 22px max(28px,env(safe-area-inset-bottom))}
  .rv-lead-dialog .rv-mdl__form{grid-template-columns:minmax(0,1fr)}
  .rv-lead-dialog .rv-mdl__actions .btn{width:100%;justify-content:center}
}

/* Catalog filters use the same GET form as the desktop sidebar. */
.rv-search__filter-sheet-head,.rv-search__sheet-backdrop{display:none}
.rv-cards[role="tabpanel"][hidden]{display:none!important}
.rv-card--skel .rv-card__photo.rv-skel{background:linear-gradient(90deg,var(--bg-elevated),var(--border-soft),var(--bg-elevated));background-size:400px 100%}
.rv-tab{display:inline-flex;align-items:center;min-height:44px}
.rv-top__nav a{display:inline-flex;align-items:center;min-height:44px}
.rv-sticky__x{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
.rv-micro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:8px}
.rv-micro{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);min-height:220px;overflow:hidden;border:1px solid var(--border-soft);border-radius:var(--r-lg);background:var(--bg-elevated)}
.rv-micro__photo{position:relative;min-height:220px}
.rv-micro__photo .rv-ph{position:absolute;inset:0}
.rv-micro__body{padding:24px 28px;align-self:center}
.rv-micro__body .rv-h3{margin:0 0 12px}
.rv-micro__body p{margin:0 0 12px}
.rv-district-project__photo-label{position:absolute;z-index:1;left:12px;bottom:12px;padding:4px 8px;background:rgba(48,54,54,.85);color:var(--ivory);font-size:12px}
.rv-district-project__link{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--teal);font-weight:600;text-decoration:none}
.rv-district-project__link:hover{text-decoration:underline}
@media(max-width:900px){.rv-micro-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:640px){.rv-micro{grid-template-columns:minmax(0,1fr)}.rv-micro__photo{min-height:180px}}
.rv-geo-map__districts{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 20px}
.rv-geo-map__districts a{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 14px;border:1px solid var(--border);border-radius:var(--r-md);color:var(--deep);text-decoration:none;background:var(--bg-elevated)}
.rv-geo-map__districts a[aria-current=true]{background:var(--deep);color:var(--ivory)}
.rv-geo-map__districts a span{font-family:var(--font-display)}
.rv-geo-map__frame{min-width:0}
.rv-geo-map__frame>div{min-width:0;min-height:0}
.rv-geo-map__canvas,.rv-geo-map__fallback{position:relative;width:100%;height:100%;min-height:440px;overflow:hidden;border:1px solid var(--border-soft);border-radius:var(--r-lg);background:var(--aqua)}
.rv-geo-map__fallback{display:flex;align-items:center;justify-content:center;padding:32px;text-align:center;font-size:18px;color:var(--deep)}
.rv-geo-map__notice{position:absolute;z-index:500;left:16px;bottom:16px;max-width:min(340px,calc(100% - 32px));margin:0;padding:10px 14px;border-radius:var(--r-md);background:var(--ivory);color:var(--deep);font-size:13px;line-height:1.4}
.rv-geo-map__canvas--failed .leaflet-pane{display:none}
.rv-geo-map__side{min-height:0;padding:32px}
.rv-geo-map__count{margin:12px 0 20px;font-family:var(--font-display);font-size:28px;line-height:1.2}
.rv-geo-map__items{display:grid;align-content:start;gap:8px;overflow:auto;min-height:0;flex:1}
.rv-geo-map__item{padding:14px 0;border-bottom:1px solid var(--border-soft)}
.rv-geo-map__item a{display:block;color:var(--deep);font-weight:600;text-decoration:none}
.rv-geo-map__item a:hover{text-decoration:underline}
.rv-geo-map__item span{display:block;margin-top:6px;font-size:12px;color:var(--taupe)}
.rv-geo-map__side>.btn{margin-top:20px;align-self:flex-start}
@media(max-width:1100px){.rv-geo-map__frame{height:auto}.rv-geo-map__canvas,.rv-geo-map__fallback{height:420px}.rv-geo-map__items{max-height:320px}}
@media(max-width:640px){.rv-geo-map__canvas,.rv-geo-map__fallback{height:350px;min-height:350px}.rv-geo-map__side{padding:24px}.rv-geo-map__districts{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px}.rv-geo-map__districts a{flex:none}}
html:has(.rv-sticky:not([hidden])){scroll-padding-bottom:150px}
.portal-page:has(.rv-sticky:not([hidden])){padding-bottom:150px}
@media(max-width:640px){
  html:has(.rv-sticky:not([hidden])){scroll-padding-bottom:210px}
  .portal-page:has(.rv-sticky:not([hidden])){padding-bottom:210px}
}
.rv-search__sheet-backdrop[hidden]{display:none!important}
.rv-search__filter-close{width:44px;height:44px;border:0;background:transparent;color:var(--deep);font-size:28px;cursor:pointer}
@media(max-width:1100px){
  body.rv-filter-open{overflow:hidden}
  .rv-search__sidebar.is-open{display:block;position:fixed;inset:auto 0 0;z-index:82;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:16px 16px 0 0;padding:24px 20px max(24px,env(safe-area-inset-bottom));box-shadow:0 -20px 60px rgba(46,51,51,.18)}
  .rv-search__sidebar.is-open .rv-search__filter-sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
  .rv-search__sidebar.is-open .rv-search__filter-sheet-head h3{font-size:24px}
  .rv-search__sheet-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:81;background:rgba(46,51,51,.5)}
}

/* E12: actual floor populations and complete semantic unit table. */
.rv-chess__row { grid-template-columns: 72px repeat(var(--chess-columns, 4), 84px); min-width: max-content; }
.rv-chess__c { text-decoration: none; }
.rv-chess__c--s { cursor: pointer; }
.rv-units-table-scroll { overflow-x: auto; max-width: 100%; }
table.rv-units-table { width: 100%; min-width: 700px; border-collapse: collapse; font-size: 14px; }
table.rv-units-table th { background: var(--bg-elevated); color: var(--taupe); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
table.rv-units-table th, table.rv-units-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.rv-chess-wrap [hidden] { display: none !important; }
body[data-rivelio-theme] .rv-service:has(.rv-lot-decision) { max-width: 1208px; }
/* Buyer decision page: existing Rivelio typography, surfaces and controls. */
.rv-lot-decision { max-width: 1160px; color: var(--deep); }
.rv-lot-decision__date { max-width: 72ch; color: var(--taupe); }
.rv-lot-decision__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 24px 0 32px; border-block: 1px solid var(--border-soft); padding: 8px 0; }
.rv-lot-decision__nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.rv-lot-decision__overview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 40px; align-items: start; }
.rv-lot-decision__overview > * { min-width: 0; scroll-margin-top: 100px; }
.rv-lot-decision .rv-detail-hero__info { position: static; padding: 24px; }
body[data-rivelio-theme] .rv-lot-decision .rv-detail-hero__price { font-family: var(--font-body); font-size: clamp(26px, 3vw, 38px); font-variant-numeric: tabular-nums; line-height: 1.25; overflow-wrap: anywhere; }
.rv-lot-decision__plan img { display: block; width: 100%; height: auto; max-height: 620px; object-fit: contain; }
.rv-lot-decision__plan figure { margin: 0; }
.rv-lot-decision__plan figcaption { font-size: 14px; color: var(--taupe); margin-top: 16px; }
.rv-lot-facts { margin: 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.rv-lot-facts dt { color: var(--taupe); font-size: 14px; }
.rv-lot-facts dd { margin: 3px 0 0; font-size: 18px; }
.rv-lot-facts small { display: block; font-size: 12px; color: var(--taupe); }
.rv-lot-price-context { border-top: 1px solid var(--border-soft); padding-top: 16px; margin-bottom: 24px; }
.rv-lot-price-context__values { display: grid; gap: 12px; }
.rv-lot-price-context__values dt { font-size: 14px; color: var(--taupe); }
.rv-lot-price-context__values dd { margin: 4px 0 0; font-size: 18px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rv-lot-section { padding: 40px 0; border-top: 1px solid var(--border-soft); scroll-margin-top: 100px; }
.rv-lot-section > p { max-width: 75ch; }
.rv-lot-section__answer { font-size: 22px; }
.rv-lot-decision details > summary { cursor: pointer; min-height: 44px; padding: 10px 0; }
.rv-lot-decision .rv-finance-section { padding: 0; margin-top: 24px; }
.rv-lot-decision .rv-finance__header .rv-eyebrow-inline { display: none; }
.rv-lot-alternatives { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 28px; }
.rv-lot-alternatives article { min-width: 0; border-top: 1px solid var(--border-soft); padding-top: 20px; }
.rv-lot-decision__source { border-top: 1px solid var(--border-soft); padding: 24px 0; }
.rv-lot-decision__source a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 24px; }
.rv-lot-decision a:focus-visible, .rv-lot-decision summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
@media (max-width: 760px) {
 .rv-lot-decision__overview { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .rv-lot-decision .rv-detail-hero__info { padding: 20px; }
 .rv-lot-decision__nav { gap: 0 18px; margin-bottom: 24px; }
 .rv-lot-alternatives { grid-template-columns: minmax(0, 1fr); }
 .rv-lot-section { padding: 28px 0; }
}

.rv-service .rv-lot-decision .rv-detail-hero__info > h2 { margin-top: 0; }
.rv-lot-decision__date { font-size: 14px; }
@media (max-width: 760px) { .rv-lot-decision__nav { font-size: 14px; gap: 0 14px; } }

.rv-lot-decision .rv-plan--compact { grid-template-columns: minmax(0, 1fr); gap: 12px; }

.rv-lot-decision .rv-document__summary {padding-left:1.25rem}
.rv-lot-decision .rv-document__summary-group + .rv-document__summary-group {margin-top:12px}

/* Dated complex decisions inherit the approved portal type and surface roles. */
body[data-rivelio-theme] .rv-service:has(.rv-complex-decision) { max-width: 1320px; }
.rv-complex-decision { color: var(--deep); }
.rv-complex-decision__clock { max-width: 80ch; color: var(--taupe); margin-bottom: 24px; }
.rv-complex-decision__overview { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 40px; align-items: start; }
.rv-complex-decision__overview > * { min-width: 0; }
.rv-complex-decision__overview .rv-detail-hero__gallery { min-height: 400px; }
.rv-complex-decision__summary { padding: 24px; background: var(--bg-elevated); }
.rv-complex-decision__summary:only-child { grid-column: 1 / -1; max-width: 760px; }
.rv-complex-decision__summary > a { display: flex; width: fit-content; align-items: center; min-height: 44px; margin-top: 12px; }
.rv-complex-decision__summary .btn { width: 100%; }
.rv-complex-decision__location { margin-top: 0; }
.rv-complex-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; margin: 24px 0; }
.rv-complex-facts dt { font-size: 14px; color: var(--taupe); }
.rv-complex-facts dd { margin: 6px 0 0; }
.rv-complex-decision__from > a { font-size: clamp(24px,2.5vw,32px); font-variant-numeric: tabular-nums; }
.rv-complex-decision small { display: block; font-size: 14px; line-height: 1.55; font-weight: 400; color: var(--taupe); margin-top: 6px; }
.rv-complex-decision__nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 32px 0 0; border-block: 1px solid var(--border-soft); padding: 8px 0; }
.rv-complex-decision__nav a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 5px; }
.rv-complex-section { border-bottom: 1px solid var(--border-soft); padding: 40px 0; scroll-margin-top: 100px; }
.rv-complex-section > p { max-width: 80ch; }
.rv-complex-section h2 { margin-top: 0; }
.rv-complex-scroll { overflow-x: auto; max-width: 100%; margin: 24px 0; }
.rv-complex-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; text-align: left; }
.rv-complex-table caption { text-align: left; margin-bottom: 16px; }
.rv-complex-table th,.rv-complex-table td { padding: 16px; border-bottom: 1px solid var(--border-soft); vertical-align: top; min-width: 135px; }
.rv-complex-table th { font-weight: 500; }
.rv-complex-table thead th { background: var(--bg-elevated); }
.rv-complex-table td { font-size: 14px; }
.rv-complex-table th:first-child { min-width: 190px; }
.rv-complex-starts { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; margin-block: 24px; }
.rv-complex-starts > div { border-top: 1px solid var(--border-soft); padding-top: 16px; }
.rv-complex-starts dd { margin: 8px 0; }
.rv-complex-starts dd > a { font-size: 24px; font-variant-numeric: tabular-nums; }
.rv-complex-room-share { max-width: 700px; margin-block: 24px; }
.rv-complex-room-share > div { display: grid; grid-template-columns: minmax(130px,1.3fr) minmax(60px,2fr) minmax(40px,.5fr); align-items: center; gap: 16px; padding: 8px 0; }
.rv-complex-room-share meter { width: 100%; height: 16px; accent-color: var(--teal); }
.rv-complex-room-share strong { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.rv-complex-decision details > summary { cursor: pointer; min-height: 44px; padding: 12px 0; }
.rv-complex-decision .rv-complex-offers .rv-section__head { margin-bottom: 24px; }
.rv-complex-decision .rv-complex-offers .rv-section__head h2 { font-size: 28px; }
.rv-complex-decision .rv-eyebrow { display: none; }
.rv-complex-no-lots { max-width: 75ch; }
.rv-complex-retained-evidence { margin-block: 32px; }
.rv-complex-retained-evidence__photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.rv-complex-retained-evidence__photos figure { margin: 0; min-width: 0; }
.rv-complex-retained-evidence__photos img { display: block; width: 100%; height: 280px; object-fit: contain; background: var(--bg-elevated); }
.rv-complex-retained-evidence__photos figcaption { margin-top: 16px; font-size: 16px; }
.rv-complex-retained-evidence__photos figcaption span { display: block; margin-top: 8px; color: var(--taupe); font-size: 14px; }
.rv-complex-decision a:focus-visible,.rv-complex-decision summary:focus-visible,.rv-complex-scroll:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
@media(max-width:760px) {
 .rv-complex-decision__overview { grid-template-columns: minmax(0,1fr); gap: 24px; }
 .rv-complex-decision__overview .rv-detail-hero__gallery { min-height: 280px; }
 .rv-complex-decision__summary { padding: 20px; }
 .rv-complex-section { padding-block: 32px; }
 .rv-complex-facts { gap: 16px; }
 .rv-complex-decision__nav { gap: 4px 16px; margin-top: 24px; }
 .rv-complex-table th,.rv-complex-table td { padding: 12px; }
 .rv-complex-room-share > div { grid-template-columns: minmax(115px,1.3fr) minmax(40px,1fr) 42px; gap: 8px; font-size: 14px; }
 .rv-complex-starts { grid-template-columns: minmax(0,1fr); }
 .rv-complex-retained-evidence__photos { grid-template-columns: minmax(0,1fr); }
 .rv-complex-retained-evidence__photos img { height: auto; }
}


/* Contextual enquiries stay readable within narrow price and plan panels. */
.rv-conversion-action { margin: 18px 0 10px; }
.rv-conversion-action .btn, .rv-detail-hero__cta [data-rivelio-intent] { white-space: normal; max-width: 100%; min-height: 44px; text-align: center; overflow-wrap: anywhere; }

/* R13.1: Golos Text metrics matched to Arial-compatible Liberation Sans.
   UPEM 1000; xHeight 530; hhea ascent 980, descent -220, lineGap 0. */
@font-face{font-family:"Golos Text Fallback";src:local("Arial"),local("Liberation Sans");font-weight:400;font-style:normal;size-adjust:100.3179%;ascent-override:97.6894%;descent-override:21.9303%;line-gap-override:0.0000%;}
@font-face{font-family:"Golos Text Fallback";src:local("Arial Bold"),local("Liberation Sans Bold");font-weight:500 900;font-style:normal;size-adjust:100.3179%;ascent-override:97.6894%;descent-override:21.9303%;line-gap-override:0.0000%;}
body[data-rivelio-theme="rivelio-real-estate"]{--font-body:"Golos Text","Golos Text Fallback",system-ui,-apple-system,"Segoe UI",sans-serif;}

/* E11 catalog: GET controls, keyboard/map linkage, honest loading. */
.rv-search__input{width:100%;padding:10px 12px;margin:8px 0;border:1px solid var(--border);border-radius:8px;background:transparent;font:14px var(--font-body)}
.rv-search__sort-form{display:flex;align-items:center;gap:8px;min-width:0}
.rv-card.is-map-active{outline:2px solid var(--teal);outline-offset:2px}
.rv-price-pin{border:1px solid var(--teal);background:var(--ivory);color:var(--deep);border-radius:20px;box-shadow:0 3px 12px #0002;display:grid;place-items:center;font:12px var(--font-body);white-space:nowrap}
.rv-price-pin.is-active{background:var(--teal);color:var(--ivory);z-index:1000!important}
.rv-map-status{position:absolute;top:12px;left:12px;right:12px;background:var(--ivory);padding:12px;z-index:500;font-size:13px;border-radius:8px}
.rv-search__map>p{position:absolute;bottom:76px;left:8px;right:8px;background:var(--ivory);padding:8px;font-size:10px;z-index:450}
[hidden]{display:none!important}
@media(max-width:560px){.rv-search__sort-form{flex:1}.rv-search__sort-form .rv-search__sort{width:100%}.rv-search__sort-form button{padding:8px}.rv-search__view a{width:44px;height:44px;display:grid;place-items:center}}

/* E11 comparison composition from compare.html. */
.rv-cmp-select{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;margin-bottom:32px}
.rv-cmp-select>label{grid-row:1}.rv-cmp-select>select{grid-row:2}.rv-cmp-select>button{grid-column:3;grid-row:2}
.rv-cmp-hero__grid{position:relative}.rv-cmp-vs{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;display:grid;place-items:center;background:var(--deep);color:var(--ivory);border-radius:50%;font:14px var(--font-body)}
.rv-cmp-card__photo{position:relative}.rv-cmp-card__photo img{width:100%;height:100%;object-fit:cover}.rv-cmp-media-label{position:absolute;bottom:12px;left:12px;padding:4px 8px;border-radius:8px;background:var(--ivory);font-size:11px}
.rv-cmp-scroll{overflow:auto;max-height:75vh;border:1px solid var(--border-soft);border-radius:var(--r-lg)}
.rv-cmp-matrix{width:100%;border-collapse:collapse;font:14px/1.5 var(--font-body);table-layout:fixed;background:var(--ivory)}
.rv-cmp-matrix th,.rv-cmp-matrix td{text-align:left;padding:20px 24px;vertical-align:top;border-bottom:1px solid var(--border-soft);overflow-wrap:anywhere}
.rv-cmp-matrix thead th{position:sticky;top:0;background:#faf7f2;z-index:2}.rv-cmp-matrix th{font-weight:500}.rv-cmp-matrix small{display:block;margin-top:6px;font-size:11px;color:var(--taupe)}
.rv-cmp-matrix .is-better{color:var(--teal);font-weight:600}.rv-cmp-winner{color:var(--gold,#b39974)}
.rv-cmp-scale{display:grid;grid-template-columns:160px minmax(0,1fr) 50px;gap:16px;align-items:center;margin:16px 0;font-size:13px}.rv-cmp-scale meter{width:100%;accent-color:var(--teal)}
.rv-cmp-facts{padding:32px}.rv-cmp-facts h4{font-size:13px;margin:24px 0 12px}.rv-cmp-facts ul{padding-left:20px;font-size:14px}.rv-cmp-facts li{margin-bottom:12px}
.rv-cmp-cta{text-align:center;background:var(--deep);color:var(--ivory);border-radius:var(--r-lg);padding:64px 24px}.rv-cmp-cta h2{color:var(--ivory)}
.rv-cmp-conclusion{grid-template-columns:1fr 1fr}
@media(max-width:768px){.rv-cmp-vs{display:none}.rv-cmp-matrix th,.rv-cmp-matrix td{padding:12px;font-size:12px}.rv-cmp-matrix small{font-size:10px}.rv-cmp-select{grid-template-columns:1fr 1fr}.rv-cmp-select>button{grid-row:3;grid-column:1/-1}.rv-cmp-scale{grid-template-columns:110px minmax(0,1fr) 30px;gap:8px}.rv-cmp-conclusion{grid-template-columns:1fr}.rv-cmp-hero__grid{gap:16px}}

.rv-scenario-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
@media(max-width:1100px){.rv-scenario-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.rv-scenario-steps{grid-template-columns:1fr}.rv-life{grid-template-columns:1fr}.rv-cmp-card__kpis{grid-template-columns:1fr!important}}

.rv-cmp-hero__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-cmp-card,.rv-cmp-facts{min-width:0}.rv-cmp-facts .rv-small{line-height:1.6}.rv-cmp-faq details{padding:20px 0;border-bottom:1px solid var(--border-soft)}
@media(max-width:560px){.rv-cmp-hero__grid{grid-template-columns:1fr}}
.rv-yield-chart-row{font-size:12px;margin:14px 0}.rv-yield-chart-row span,.rv-yield-chart-row strong{display:block;margin:6px 0}.rv-yield-chart-bar{height:12px;border-radius:2px;background:var(--teal)}.rv-yield-chart-bar.is-negative{background:#ac735b}
.rv-cmp-select>label:nth-of-type(2){grid-column:2}.rv-cmp-select>select:nth-of-type(2){grid-column:2}
.rv-cmp-faq details{padding:20px 0;border-bottom:1px solid var(--border-soft)}
.rv-scenario-nav{display:flex;gap:24px;justify-content:center;flex-wrap:wrap;margin:24px 0;font-size:14px}.rv-scenario-nav a{border-bottom:1px solid var(--teal)}
.rv-cmp-select label{font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.portal-page--compare .rv-phead .rv-hero__h1{max-width:none;font-size:var(--rv-page-h1,64px)}
.rv-cmp-pair>.btn{display:flex;margin:24px auto 0}.rv-cmp-card__body>label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--taupe)}
@media(max-width:560px){.rv-cmp-vs{display:grid;position:static;transform:none;justify-self:center;grid-row:2}.rv-cmp-hero__grid:has(.rv-cmp-vs)>article:last-child{grid-row:3}}
.portal-shell__skip-link{position:absolute;left:-9999px;z-index:1000}.portal-shell__skip-link:focus{left:20px;top:20px;padding:12px;background:var(--ivory);color:var(--deep);border:1px solid var(--teal)}
.portal-page--scenario .rv-fits{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:768px){.portal-page--scenario .rv-fits{grid-template-columns:1fr}}
.rv-cmp-scale meter{height:12px}.rv-cmp-scale meter::-webkit-meter-bar{background:var(--sand);border:0;border-radius:2px}.rv-cmp-scale meter::-webkit-meter-optimum-value{background:var(--teal)}.rv-cmp-scale:nth-child(2) meter::-webkit-meter-optimum-value{background:var(--gold)}

/* Detail pages use the designer's sections rather than generic widget cards. */
body[data-rivelio-theme] :is(.portal-page--complex,.portal-page--building,.portal-page--unit) .rvw-widget {
  background: transparent; border: 0; border-radius: 0; box-shadow: none; margin: 0;
}
body[data-rivelio-theme] :is(.portal-page--complex,.portal-page--building,.portal-page--unit) .rvw-widget__inner {
  display: block;
}
.rv-detail-hero__gallery:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.rv-plan__img { display: block; color: inherit; }
.rv-typeplans .rv-plan { margin-top: 24px; }
.rv-typeplans .rv-plan[hidden] { display: none; }
.rv-typeplans .rv-plan__img img { object-fit: contain; }
.rv-typeplans .rv-tabs { overflow-x: auto; }
.rv-typeplans .rv-tabs[hidden] { display: none; }
.rv-typeplans .rv-tab { flex: 0 0 auto; cursor: pointer; }
@media(max-width:640px) { .rv-log { grid-template-columns:minmax(0,1fr) !important; } }
.rv-typeplans .rv-tabs { flex-wrap: nowrap; padding-bottom: 6px; }
.rv-chess__c--a small { color: var(--ivory); opacity: .88; }
.rv-chess-wrap [data-p-cta] { display: flex; width: 100%; justify-content: center; }

/* Ривелио4: source/pages.css + source/extras.css; authored data and real media. */
.portal-page--editorial .rv-content{
max-width: 820px; margin: 0 auto;
  padding: 56px var(--rv-gutter) 80px;
}
.rv-content__meta{
display: flex; gap: 20px; align-items: center;
  font-size: 13px; color: var(--taupe);
  margin-bottom: 32px;
}
.rv-content__meta span::after{ content: "·"; margin-left: 20px; color: var(--border); }
.portal-page--editorial .rv-content__meta span:last-child::after{ content: ""; }
.portal-page--editorial .rv-content h1{
font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px,4.5vw,56px); line-height: 1.1;
  color: var(--deep); margin: 0 0 20px; letter-spacing: -0.005em;
}
.rv-content__dek{ font-size: 20px; color: var(--taupe); line-height: 1.5; margin-bottom: 48px; max-width: 680px; }
.portal-page--editorial .rv-content__summary{
margin: 40px 0; padding: 28px 32px;
  background: var(--bg-elevated); border-left: 3px solid var(--teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 16px; line-height: 1.65; color: var(--deep);
}
.rv-content h2{
font-family: var(--font-display); font-weight: 400;
  font-size: 32px; line-height: 1.2; color: var(--deep);
  margin: 56px 0 20px; letter-spacing: -0.005em;
}
.rv-content h3{ font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--deep); margin: 40px 0 14px; }
.portal-page--editorial .rv-content p{ font-size: 17px; line-height: 1.7; color: var(--deep); margin: 0 0 20px; }
.portal-page--editorial .rv-content__quote{
margin: 48px 0;
  padding: 32px 40px 32px 56px; position: relative;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.rv-content__quote::before{
content: "“"; position: absolute; top: 8px; left: 8px;
  font-family: var(--font-display); font-size: 80px; color: var(--teal); line-height: 1;
}
.rv-content__quote p{ font-family: var(--font-display); font-size: 24px; line-height: 1.4; color: var(--deep); margin: 0 0 14px; }
.portal-page--editorial .rv-content__quote cite{ font-size: 14px; color: var(--taupe); font-style: normal; }

.portal-page--editorial .rv-toc{
padding: 28px 32px;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  margin: 40px 0;
}
.rv-toc__t{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 16px; }
.portal-page--editorial .rv-toc ol{ margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.portal-page--editorial .rv-toc li{
counter-increment: toc;
  padding: 10px 0; border-bottom: 1px dashed var(--border-soft);
  font-size: 15px; color: var(--deep);
}
.rv-toc li:last-child{ border-bottom: none; }
.portal-page--editorial .rv-toc li::before{
content: counter(toc,decimal-leading-zero);
  font-family: var(--font-display); color: var(--teal); font-size: 13px;
  margin-right: 16px;
}

/* Guide steps */
.rv-guide-step{
display: grid; grid-template-columns: 100px 1fr; gap: 32px;
  padding: 40px 0; border-top: 1px solid var(--border-soft);
}
.rv-guide-step:first-of-type{ border-top: none; }
.portal-page--editorial .rv-guide-step__n{
font-family: var(--font-display); color: var(--teal);
  font-size: 42px; line-height: 1;
}
.rv-guide-step__t{ font-family: var(--font-display); font-size: 26px; color: var(--deep); margin: 0 0 14px; }
.portal-page--editorial .rv-guide-step__p{ font-size: 16px; line-height: 1.65; color: var(--deep); margin: 0 0 20px; }
.portal-page--editorial .rv-guide-step__check{ margin: 16px 0 0; padding: 20px 24px; background: var(--bg-elevated); border-radius: var(--r-md); }
.portal-page--editorial .rv-guide-step__check-t{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 12px; }
.portal-page--editorial .rv-guide-step__check ul{ margin: 0; padding: 0; list-style: none; }
.portal-page--editorial .rv-guide-step__check li{
padding: 8px 0 8px 28px; position: relative;
  font-size: 14px; color: var(--deep);
}
.rv-guide-step__check li::before{
content: ""; position: absolute; left: 0; top: 11px;
  width: 16px; height: 16px;
  border: 1px solid var(--border); border-radius: 4px;
}

.rv-related{
margin: 48px 0 0; padding: 32px 0 0;
  border-top: 1px solid var(--border);
}
.rv-related__t{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--taupe); margin-bottom: 20px; }
.portal-page--editorial .rv-related__list{ display: flex; flex-direction: column; gap: 0; }
.portal-page--editorial .rv-related__list a{
display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border-soft);
  font-size: 16px; color: var(--deep); text-decoration: none;
  transition: color 180ms;
}
.rv-related__list a:hover{ color: var(--teal); }
.portal-page--editorial .rv-related__list a:last-child{ border-bottom: none; }

/* ===== Content extras ===== */
.portal-page--editorial .rv-read{max-width:1200px;margin:0 auto;padding:56px var(--rv-gutter) 80px;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:64px;align-items:start}
.portal-page--editorial .rv-read .rv-content{padding:0;max-width:760px;margin:0}
.portal-page--editorial .rv-aside{position:sticky;top:104px;display:flex;flex-direction:column;gap:20px}
.portal-page--editorial .rv-aside__toc{padding:24px;border-radius:var(--r-lg);background:var(--bg-elevated);border:1px solid var(--border-soft)}
.portal-page--editorial .rv-aside__toc a{display:block;padding:8px 0;font-size:14px;color:var(--deep);text-decoration:none;border-bottom:1px dashed var(--border-soft)}
.portal-page--editorial .rv-aside__toc a:last-child{border-bottom:0}
.portal-page--editorial .rv-aside__toc a:hover{color:var(--teal)}
.portal-page--editorial .rv-aside__cta{padding:24px;border-radius:var(--r-lg);background:var(--deep);color:var(--ivory)}
.portal-page--editorial .rv-aside__cta h4{font-family:var(--font-display);font-weight:400;font-size:20px;margin:8px 0 10px;color:var(--ivory)}
.portal-page--editorial .rv-aside__cta p{font-size:14px;color:rgba(245,240,234,.72);margin:0 0 16px;line-height:1.55}
.portal-page--editorial .rv-fig{margin:36px 0}
.portal-page--editorial .rv-fig__ph{aspect-ratio:16/9;border-radius:var(--r-lg);overflow:hidden}
.portal-page--editorial .rv-fig__ph .rv-ph{height:100%}
.portal-page--editorial .rv-fig figcaption{margin-top:10px;font-size:13px;color:var(--taupe)}
.portal-page--editorial .rv-table{width:100%;border-collapse:collapse;margin:28px 0;font-size:15px}
.portal-page--editorial .rv-table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--taupe);font-weight:500;padding:12px 14px;border-bottom:1px solid var(--border);background:var(--bg-elevated)}
.portal-page--editorial .rv-table td{padding:14px;border-bottom:1px solid var(--border-soft);color:var(--deep)}
.portal-page--editorial .rv-table td:not(:first-child),.rv-table th:not(:first-child){text-align:right}
.portal-page--editorial .rv-callout{margin:32px 0;padding:24px 28px;border-radius:var(--r-lg);background:rgba(73,104,107,.07);display:grid;grid-template-columns:28px 1fr;gap:14px;color:var(--deep);font-size:15px;line-height:1.6}
.portal-page--editorial .rv-callout svg{color:var(--teal);margin-top:2px}
.portal-page--editorial .rv-author{margin-top:48px;padding:28px;border-radius:var(--r-lg);border:1px solid var(--border-soft);display:grid;grid-template-columns:72px 1fr;gap:20px;align-items:center}
.portal-page--editorial .rv-author__av{width:72px;height:72px;border-radius:50%;overflow:hidden}
.portal-page--editorial .rv-author__av .rv-ph{height:100%;border-radius:50%}
.portal-page--editorial .rv-author__n{font-weight:600;color:var(--deep)}
.portal-page--editorial .rv-author__r{font-size:13px;color:var(--taupe);margin:2px 0 8px}
.portal-page--editorial .rv-author p{margin:0;font-size:14px;color:var(--deep);line-height:1.55}
.portal-page--editorial .rv-sources{margin-top:40px;padding-top:28px;border-top:1px solid var(--border)}
.portal-page--editorial .rv-sources ol{margin:12px 0 0;padding-left:20px;font-size:13px;color:var(--taupe);line-height:1.7}
.portal-page--editorial .rv-sources__meta{margin-top:16px;font-size:12px;color:var(--taupe);display:flex;flex-wrap:wrap;gap:6px 18px}
.portal-page--editorial .rv-progress{position:fixed;left:0;top:0;height:3px;background:var(--teal);z-index:40;transition:width 80ms linear}

.portal-page--editorial .rv-section--content_summary{max-width:none;padding:0!important;margin:0;background:transparent;border:0}
.portal-page--editorial .rv-section--content_summary>.rvw-widget{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;display:block}
.portal-page--editorial .rv-read{padding:56px 48px 80px}
.portal-page--editorial .rv-read>*{min-width:0}
.portal-page--editorial .rv-crumbs{display:flex;flex-wrap:wrap;gap:12px;color:var(--taupe);font-size:13px;margin:0 0 28px}
.portal-page--editorial .rv-crumbs a{color:inherit;text-decoration:none}
.portal-page--editorial .rv-content>.rv-eyebrow-inline{margin:0 0 20px}
.portal-page--editorial .rv-content .rv-eyebrow-inline{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--taupe)}
.portal-page--editorial .rv-content__summary .rv-eyebrow-inline{margin-bottom:12px}
.portal-page--editorial .rv-content .rv-content__dek{font-size:20px;line-height:1.5;color:var(--taupe);margin:0 0 24px;max-width:680px}
.portal-page--editorial .rv-content .rv-content__lead{font-size:19px;line-height:1.65}
.portal-page--editorial .rv-content__meta{flex-wrap:wrap;row-gap:6px}
.portal-page--editorial .rv-content__meta span{white-space:normal}
.portal-page--editorial .rv-fig img{width:100%;height:100%;object-fit:cover;display:block}
.portal-page--editorial .rv-content a{color:var(--teal);overflow-wrap:anywhere}
.portal-page--editorial .rv-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin:28px 0}
.portal-page--editorial .rv-table-scroll .rv-table{margin:0;min-width:500px}
.portal-page--editorial .rv-table caption{text-align:left;font-size:13px;color:var(--taupe);padding:0 0 12px}
.portal-page--editorial .rv-table td,.rv-table th{white-space:normal;text-align:left}
.portal-page--editorial .rv-table .rv-num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.portal-page--editorial .rv-content h2,.rv-guide-step{scroll-margin-top:104px}
.portal-page--editorial .rv-content h2:focus,.rv-guide-step:focus{outline:2px solid var(--teal);outline-offset:6px}
.portal-page--editorial .rv-guide-step h2{margin:0 0 14px;font-size:26px}
.portal-page--editorial .rv-guide-step p{font-size:16px;line-height:1.65}
.portal-page--editorial .rv-content .rv-content__snapshot,.rv-content .rv-content__disclaimer{font-size:12px;color:var(--taupe);line-height:1.7;margin:12px 0 20px}
.portal-page--editorial .rv-author__av{background:var(--aqua,#A9B8AD);display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--deep)}
.portal-page--editorial .rv-author__av img{width:100%;height:100%;object-fit:cover}
.portal-page--editorial .rv-author p{font-size:14px;line-height:1.55;margin:0}
.portal-page--editorial .rv-sources ol{font-size:13px;line-height:1.7}
.portal-page--editorial .rv-aside__toc ol{list-style:none;margin:0;padding:0}
.portal-page--editorial .rv-aside__toc li:last-child a{border:0}
.portal-page--editorial .rv-aside__toc p{font-size:14px;line-height:1.55;color:var(--taupe);margin-bottom:16px}
.portal-page--editorial .rv-aside__toc a[aria-current]{color:var(--teal);font-weight:600}
.portal-page--editorial .rv-aside__cta .rv-eyebrow-inline{color:rgba(245,240,234,.55);font-size:11px;letter-spacing:.12em;text-transform:uppercase}
.portal-page--editorial .rv-faq-more{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.portal-page--editorial .rv-faq-more a{padding:18px 20px;border-radius:6px;border:1px solid var(--border-soft);background:var(--bg-elevated);color:var(--deep);font-size:15px;line-height:1.4;text-decoration:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.portal-page--editorial .rv-content__links{list-style:none;padding:0;margin:20px 0;display:grid;gap:12px}
.portal-page--editorial .rv-callout__icon{color:var(--teal);font-size:20px}
@media(max-width:1100px){.portal-page--editorial .rv-read{grid-template-columns:minmax(0,1fr)}.portal-page--editorial .rv-aside{position:static}.portal-page--editorial .rv-content{max-width:760px}}
@media(max-width:640px){.portal-page--editorial .rv-read{padding:36px 20px 64px;gap:40px}.portal-page--editorial .rv-content h1{font-size:32px}.portal-page--editorial .rv-content h2{font-size:26px}.portal-page--editorial .rv-content p{font-size:16px}.portal-page--editorial .rv-content .rv-content__dek{font-size:17px}.portal-page--editorial .rv-guide-step{grid-template-columns:minmax(0,1fr);gap:16px;padding:32px 0}.portal-page--editorial .rv-guide-step__n{font-size:32px}.portal-page--editorial .rv-faq-more{grid-template-columns:minmax(0,1fr)}.portal-page--editorial .rv-author{grid-template-columns:56px minmax(0,1fr);padding:20px}.portal-page--editorial .rv-author__av{width:56px;height:56px}.portal-page--editorial .rv-author p{font-size:14px}.portal-page--editorial .rv-content__quote{padding:28px 8px 20px 36px}.portal-page--editorial .rv-content__quote p{font-size:19px}.portal-page--editorial .rv-content .rv-content__snapshot,.rv-content .rv-content__disclaimer{font-size:12px}}

.portal-page--editorial .rv-fig--plan img{object-fit:contain;background:var(--bg-elevated)}

body.rv-favorites-open { overflow: hidden; }
.rv-favorites-dialog[hidden] { display: none !important; }
.rv-favorites-dialog { z-index: 100; }
.rv-favorites-panel { display: block; max-width: 740px; }
.rv-favorites-list { padding: 0; list-style: none; }
.rv-favorites-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rv-border, #e7e3da); }
.rv-favorites-list a { color: inherit; }
.rv-favorites-panel .rv-mdl__main { max-height: 85dvh; overflow: auto; }
.rv-favorites-panel .rv-mdl__x { z-index: 1; }
.rv-detail-hero__info [data-rivelio-favorite].on { color: var(--rv-gold, #8b693c); }
@media (max-width: 640px) {
 .rv-favorites-label { display: none; }
 .rv-favorites-list li { align-items: flex-start; }
 .rv-promo { grid-template-columns: minmax(0,1fr) !important; gap: 20px !important; }
 .rv-promo .btn { width: 100%; justify-content: center; }
}
@media (max-width: 780px) {
 .rv-favorites-dialog { align-items: flex-end; padding: 0; }
 .rv-favorites-panel { border-radius: 16px 16px 0 0; max-height: 94dvh; }
 .rv-favorites-panel .rv-mdl__main { padding: 60px 22px max(28px,env(safe-area-inset-bottom)); max-height: 94dvh; }
 .rv-favorites-panel .rv-mdl__x { width: 44px; height: 44px; }
}

/* E15: readable functional text and keyboard access, retaining the handoff palette. */
body[data-rivelio-theme="rivelio-real-estate"] .rv-foot__cols .rv-eyebrow-inline,
body[data-rivelio-theme="rivelio-real-estate"] .rv-foot__btm,
body[data-rivelio-theme="rivelio-real-estate"] .rv-aside__cta .rv-eyebrow-inline,
body[data-rivelio-theme="rivelio-real-estate"] .rv-geo-cta .rv-eyebrow,
body[data-rivelio-theme="rivelio-real-estate"] .rv-geo-cta .rv-eyebrow__no { color:#c5c6bf!important; }
body[data-rivelio-theme="rivelio-real-estate"] .rv-calc__result .rv-muted { color:#625245; }
body[data-rivelio-theme="rivelio-real-estate"] .rv-chess__c small {opacity:1;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-chess__c--s,
body[data-rivelio-theme="rivelio-real-estate"] .rv-chess__c--s small {color:#625245;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-units-table tr {opacity:1!important;}
body[data-rivelio-theme="rivelio-real-estate"] figcaption a {text-decoration:underline;}
body[data-rivelio-theme="rivelio-real-estate"] a[aria-label="Плитка"],
body[data-rivelio-theme="rivelio-real-estate"] a[aria-label="Список"],
body[data-rivelio-theme="rivelio-real-estate"] a[aria-label="Карта"] {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-chess__c--a small {opacity:1;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-geo-cta__inner .rv-eyebrow span {color:#c5c6bf!important;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-chess__c--b small {color:#413629;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-units-table .rv-card__tag {color:#625245!important;}
body[data-rivelio-theme="rivelio-real-estate"] .rv-detail-hero__thumb {padding:0;overflow:hidden;}



[data-rivelio-theme="rivelio-real-estate"] .rvw-widget,
[data-rivelio-widget] {
  font-family: var(--rv-font-sans);
  color: var(--rv-ink);
}

.rvw-widget {
  background: var(--rv-ivory);
  border: 1px solid var(--rv-sand);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-sm);
}

.rvw-widget__inner {
  display: grid;
  gap: var(--rv-space-3);
  padding: var(--rv-space-5);
}

.rvw-eyebrow {
  margin: 0;
  color: var(--rv-teal);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rvw-title {
  margin: 0;
  font-family: var(--rv-font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.rvw-copy,
.rvw-widget__fallback,
.rvw-widget__meta {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.rvw-button {
  width: max-content;
  max-width: 100%;
  border: 0;
  border-radius: var(--rv-radius-sm);
  background: var(--rv-teal);
  color: var(--rv-white);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.rvw-button:focus-visible,
.rvw-input:focus-visible {
  outline: 3px solid var(--rv-gold);
  outline-offset: 2px;
}

.rvw-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rv-space-2);
}

.rvw-input {
  min-width: min(18rem, 100%);
  border: 1px solid var(--rv-clay);
  border-radius: var(--rv-radius-sm);
  padding: 0.75rem 0.875rem;
  font: inherit;
}

.rvw-widget--degraded {
  background: var(--rv-mist);
}

@media (max-width: 759px) {
  .rvw-widget__inner {
    padding: var(--rv-space-4);
  }

  .rvw-button {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-rivelio-widget] *,
  [data-rivelio-widget] *::before,
  [data-rivelio-widget] *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


[data-rivelio-widget="rivelio-lead-modal"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_lead_modal .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_lead_modal .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-sticky-cta"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_sticky_cta .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_sticky_cta .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-contact-panel"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_contact_panel .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_contact_panel .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-consultation-form"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_consultation_form .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_consultation_form .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-search-filters"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_search_filters .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_search_filters .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-search-results"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_search_results .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_search_results .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-unit-card"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_unit_card .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_unit_card .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-no-js-facets"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_no_js_facets .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_no_js_facets .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-skeletons"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_skeletons .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_skeletons .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-gallery"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_gallery .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_gallery .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-map"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_map .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_map .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-price-history"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_price_history .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_price_history .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-detail-facts"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_detail_facts .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_detail_facts .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-amenities"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_amenities .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_amenities .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-offers-by-type"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_offers_by_type .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_offers_by_type .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-legal-disclosures"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_legal_disclosures .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_legal_disclosures .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-mortgage-calculator"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_mortgage_calculator .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_mortgage_calculator .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-affordability-calculator"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_affordability_calculator .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_affordability_calculator .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-compare-table"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_compare_table .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_compare_table .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-compare-pros-cons"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_compare_pros_cons .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_compare_pros_cons .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-compare-faq"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_compare_faq .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_compare_faq .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-scenario-wizard"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_scenario_wizard .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_scenario_wizard .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-content-toc"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_content_toc .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_content_toc .rvw-widget__meta {
  color: var(--rv-clay);
}



[data-rivelio-widget="rivelio-related-links"] {
  --rvw-accent-local: var(--rv-teal);
}

.rivelio_related_links .rvw-widget__inner {
  border-left: 3px solid var(--rv-gold);
}

.rivelio_related_links .rvw-widget__meta {
  color: var(--rv-clay);
}

/* E16: prototype sections own their surfaces; legacy widget frames add a second box. */
body[data-rivelio-theme="rivelio-real-estate"] .rvw-widget {
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
body[data-rivelio-theme="rivelio-real-estate"] :is(.portal-page--search,.portal-page--compare) [data-block] {
  padding:0;
}

/* R01 — a shared, opaque sticky header and the complete designer footer. */
html{scroll-padding-top:calc(var(--rv-header-height,84px) + 20px)}
[id]{scroll-margin-top:calc(var(--rv-header-height,84px) + 20px)}
.rv-portal-header{position:sticky;top:0;z-index:40;background:var(--ivory,#f5f0ea);backdrop-filter:none;border-bottom:1px solid var(--border-soft,#e6d8cb)}
.rv-portal-header .rv-top__inner{display:flex;align-items:center;gap:28px;padding:14px var(--rv-gutter,48px);max-width:1416px;margin:auto}
.rv-portal-header .rv-top__brand{width:156px;flex-shrink:0}
.rv-top__brand img{display:block;width:156px;height:48px}
.rv-portal-header .rv-top__nav{gap:26px;white-space:nowrap}
.rv-portal-header .rv-top__right{margin-left:auto;gap:14px}
.rv-portal-header .rv-top__cta{display:inline-flex;white-space:nowrap;min-height:44px}
.rv-portal-header .rv-top__phone{white-space:nowrap;font-size:13px}
.rv-portal-header .rv-top__favorites{padding:8px;min-width:44px;min-height:44px}
.rv-city{position:relative;flex-shrink:0;font-size:14px;color:var(--deep)}
.rv-city summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;min-height:44px;border-bottom:1px solid var(--teal);padding:0 4px}
.rv-city summary::-webkit-details-marker{display:none}
.rv-city[open] summary svg{transform:rotate(180deg)}
.rv-city__options{position:absolute;top:calc(100% + 12px);left:0;width:216px;padding:12px;background:var(--elevated,#fbf9f5);border:1px solid var(--border);border-radius:var(--r-md,10px);box-shadow:0 12px 30px #30363618;z-index:45}
.rv-city__options p{font-size:12px;color:var(--taupe);padding:6px 12px;margin:0}
.rv-city__options a{display:block;padding:12px;color:var(--deep);text-decoration:none;border-radius:6px}
.rv-city__options a:hover,.rv-city__options a[aria-current=true]{background:var(--aqua,#d1dbd7)}
.rv-portal-footer .rv-foot__brand img{width:200px;height:62px;display:block}
.rv-portal-footer .rv-foot__description{max-width:620px;margin:20px 0 36px;color:#f5f0eab8;font-size:14px;line-height:1.7}
.rv-portal-footer .rv-foot__cols{grid-template-columns:repeat(4,minmax(0,1fr));gap:40px}
.rv-portal-footer .rv-foot__col h2{font-family:var(--font-body,"Golos Text",sans-serif);font-size:12px;color:var(--gold);font-weight:500;margin:0 0 18px}
.rv-portal-footer .rv-foot__links{gap:14px;line-height:1.6}
.rv-portal-footer .rv-foot__links a{color:var(--ivory);text-decoration:none}
.rv-portal-footer .rv-foot__links a:hover{text-decoration:underline;text-underline-offset:4px}
.rv-portal-footer .rv-foot__links span{color:#f5f0eab8;font-size:14px}
.rv-favorites-brand{margin-bottom:24px;display:inline-block}
.rv-favorites-brand img{width:168px;height:52px}
.rv-mdl__mark{width:136px!important;height:44px!important;object-fit:contain}
.rv-service{max-width:860px;margin:auto;padding:64px 24px 88px;line-height:1.8}
.rv-service h1{font-family:var(--font-display,Cormorant,serif);font-size:clamp(36px,4vw,56px);line-height:1.15;margin-bottom:24px}
.rv-service h2{font-family:var(--font-display,Cormorant,serif);font-size:28px;margin-top:32px;margin-bottom:12px}
.rv-service a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.rv-service__cards{display:grid;gap:20px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:32px}
.rv-service__card{display:block;padding:24px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--elevated)}
.rv-service__card h2{font-size:25px;margin:0 0 12px}
.rv-service__card p{color:var(--taupe);margin:0;font-size:14px}
.rv-city-notice{background:var(--aqua);padding:12px 18px;border-radius:8px;margin-bottom:24px}
@media(max-width:1240px){.rv-portal-header .rv-favorites-label{display:none}.rv-portal-header .rv-top__inner{gap:22px}}
@media(max-width:1100px){.rv-portal-header .rv-top__nav,.rv-portal-header .rv-top__phone{display:none}.rv-portal-header .rv-top__burger{display:flex}.rv-portal-header .rv-top__inner{padding:12px 24px}.rv-portal-header .rv-top__drawer{max-height:calc(100dvh - var(--rv-header-height,100px))}}
@media(max-width:768px){.rv-portal-footer .rv-foot__cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.rv-portal-header .rv-top__inner{gap:16px}.rv-top__brand img{width:136px;height:42px}.rv-portal-header .rv-top__brand{width:136px}.rv-service__cards{grid-template-columns:1fr}}
@media(max-width:520px){.rv-portal-header .rv-top__inner{display:grid;grid-template-columns:minmax(112px,1fr) auto 44px;gap:8px 12px;padding:10px 20px}.rv-portal-header .rv-top__brand{width:124px}.rv-top__brand img{width:124px;height:38px}.rv-portal-header .rv-top__right{display:contents}.rv-portal-header .rv-top__burger{grid-column:3;grid-row:1}.rv-portal-header .rv-top__cta{grid-column:1 / 3;grid-row:2;display:flex!important;justify-content:center;font-size:13px}.rv-portal-header .rv-top__favorites{grid-column:3;grid-row:2}.rv-city{font-size:13px}.rv-city__options{left:auto;right:-48px}.rv-portal-footer .rv-foot__cols{grid-template-columns:1fr;gap:30px}.rv-portal-footer .rv-foot__btm{gap:16px}.rv-portal-footer .rv-foot__legal{text-align:left}.rv-service{padding:40px 20px 64px}}

.rv-catalog{padding:38px 0 64px;color:var(--deep)}
.rv-catalog__heading{margin-bottom:32px}.rv-catalog__heading h1{font-size:clamp(38px,5vw,64px);margin:12px 0 28px}
.rv-catalog__modes,.rv-catalog__chips,.rv-catalog__toolbar nav{display:flex;flex-wrap:wrap;gap:10px}
.rv-catalog__modes a,.rv-catalog__chip,.rv-catalog__toolbar nav a{border:1px solid var(--border);border-radius:24px;padding:10px 18px;text-decoration:none;color:inherit;font-size:14px}
.rv-catalog__modes [aria-current],.rv-catalog__toolbar [aria-current]{background:var(--deep);color:var(--ivory)}
.rv-catalog__layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.rv-catalog__filters{padding:20px;background:var(--white,#fff);border:1px solid var(--border);border-radius:10px}
.rv-catalog__filters summary{font-weight:600;cursor:pointer;font-size:18px;margin-bottom:18px}
.rv-catalog__filters form{display:grid;gap:16px}.rv-catalog__filters fieldset{border:0;padding:0;margin:0;min-width:0;display:grid;gap:8px}
.rv-catalog__filters legend{font-weight:600;font-size:14px;margin-bottom:10px}
.rv-catalog__filters label,.rv-catalog__toolbar label{display:grid;gap:6px;font-size:13px}
.rv-catalog__filters input:not([type=checkbox]),.rv-catalog select,.rv-mdl__field select{width:100%;min-width:0;border:1px solid var(--border);border-radius:5px;padding:10px;background:var(--ivory);color:var(--deep);font:inherit}
.rv-catalog .rv-catalog__check{display:flex;align-items:center;gap:8px}.rv-catalog__check small{margin-left:auto;color:var(--taupe)}
.rv-catalog__range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rv-catalog__filters .btn{justify-content:center;white-space:normal}
.rv-catalog__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:22px}
.rv-catalog__toolbar form{display:flex;align-items:end;gap:8px}.rv-catalog__toolbar .btn{padding:10px;font-size:13px}
.rv-catalog__chips{margin:18px 0 24px}.rv-catalog__purpose{font-size:14px;line-height:1.6}
.rv-catalog .rv-pager{flex-wrap:wrap;gap:8px}.rv-catalog .rv-pager a{min-width:36px;padding:9px 12px}
.rv-catalog__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0 30px}
.rv-catalog__results .rv-catalog__cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.rv-catalog-card{min-width:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:var(--white,#fff);transition:box-shadow .2s}
.rv-catalog-card:hover,.rv-catalog-card:focus-within,.rv-catalog-card.is-map-active{box-shadow:0 8px 24px #30363618}
.rv-catalog-card__link{display:block;height:100%;color:inherit;text-decoration:none}.rv-catalog-card img{width:100%;height:210px;object-fit:cover;display:block}
/* Use the same face for Cyrillic and Latin card titles; Cinzel has no Cyrillic. */
.rv-catalog-card__body{padding:22px}.rv-catalog-card h3{font-family:Cormorant,"Times New Roman",serif;font-weight:400;font-size:28px;line-height:1.15;margin:12px 0}
.rv-catalog-card p{font-size:13px;line-height:1.6;margin:8px 0}.rv-catalog-card__location{color:var(--teal);letter-spacing:.08em}.rv-catalog-card__facts{color:var(--taupe)}
.rv-catalog-card__price{font-size:20px;font-weight:600;margin-top:18px}.rv-catalog-card small{font-size:12px;color:var(--taupe)}
.rv-catalog__results .rv-catalog__cards--list{grid-template-columns:1fr}.rv-catalog__cards--list .rv-catalog-card__link{display:grid;grid-template-columns:240px 1fr}.rv-catalog__cards--list img{height:100%;min-height:220px}
.rv-catalog__collections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:26px 0}
.rv-catalog__collections a{padding:28px;border:1px solid var(--border);border-radius:8px;background:var(--mist,#dce7e3);text-decoration:none;color:inherit}
.rv-catalog__collections h3{font-family:var(--font-display,'Cormorant Garamond',serif);font-size:30px;font-weight:400;margin:0 0 12px}.rv-catalog__collections p{font-size:14px;line-height:1.6}.rv-catalog__collections span{font-size:13px}
.rv-catalog-collections{padding:48px 0}.rv-catalog-collections>header{margin-bottom:24px}
.rv-home__search{grid-template-columns:repeat(3,minmax(0,1fr)) auto!important}.rv-home__search [data-catalog-custom]{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}.rv-home__search [data-catalog-custom][hidden]{display:none}
.rv-mdl__field [data-catalog-custom] label{margin-top:10px}.rv-catalog [hidden],.rv-mdl [hidden]{display:none!important}
@media(max-width:1100px){.rv-catalog__layout{grid-template-columns:230px minmax(0,1fr);gap:20px}.rv-catalog-card__body{padding:18px}.rv-catalog__cards,.rv-catalog__collections{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-home__search{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:768px){.rv-catalog__layout{grid-template-columns:1fr}.rv-catalog__filters form{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-catalog__cards,.rv-catalog__results .rv-catalog__cards,.rv-catalog__collections{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-catalog__cards--list .rv-catalog-card__link{grid-template-columns:180px 1fr}.rv-catalog-card h3{font-size:25px}}
@media(max-width:560px){.rv-catalog__filters form,.rv-catalog__cards,.rv-catalog__results .rv-catalog__cards,.rv-catalog__collections{grid-template-columns:1fr}.rv-catalog__cards--list .rv-catalog-card__link{display:block}.rv-catalog__cards--list img{height:210px}.rv-home__search{grid-template-columns:1fr!important}.rv-catalog__toolbar form{flex-wrap:wrap}.rv-catalog__toolbar{align-items:stretch}.rv-catalog__heading h1{font-size:38px}.rv-catalog__modes a{padding:10px 14px}.rv-catalog__filters form{gap:20px}}

/* R03: shared help and compact intent forms in the existing Rivelio palette. */
.rv-help{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;padding:56px;border-radius:var(--r-lg);background:var(--deep);color:var(--ivory);margin:48px 0}
.rv-help .rv-eyebrow-inline,.rv-help .rv-h2{color:var(--ivory)}
.rv-help .rv-h2{margin:18px 0 24px;font-size:clamp(32px,3.4vw,50px)}
.rv-help__intro>p:not(.rv-eyebrow-inline){line-height:1.6;max-width:470px;color:rgba(245,240,234,.8)}
.rv-help__intro>span{display:block;margin-top:24px;font-size:13px;color:rgba(245,240,234,.7)}
.rv-help__actions{display:grid;gap:24px}.rv-help__actions>div{padding-bottom:24px;border-bottom:1px solid rgba(245,240,234,.2)}.rv-help__actions>div:last-child{padding-bottom:0;border:0}
.rv-help__actions h3{color:var(--ivory);font-size:20px;margin:0 0 6px}.rv-help__actions p{font-size:14px;line-height:1.5;color:rgba(245,240,234,.8);margin:0 0 14px}
.rv-help__actions .btn--secondary{border-color:rgba(245,240,234,.45);color:var(--ivory);background:transparent}.rv-help__actions .btn--secondary:hover{background:rgba(245,240,234,.08)}
.rv-home__help{max-width:1320px;margin:auto;padding:0 40px}
.rv-lead-dialog[hidden],.rv-lead-dialog [hidden]{display:none!important}
.rv-lead-dialog .rv-mdl{width:min(940px,100%);grid-template-columns:220px minmax(0,1fr);max-height:92dvh;overflow:hidden}
.rv-lead-dialog .rv-mdl__main{padding:48px 36px 36px;overflow-y:auto;overscroll-behavior:contain;max-height:92dvh;scroll-padding-top:64px;min-width:0}
.rv-lead-dialog .rv-mdl__aside{padding:48px 28px}.rv-lead-dialog .rv-mdl__aside p{font-family:var(--font-display);font-size:26px;color:var(--ivory);margin-top:24px}
.rv-lead-dialog h2{font-size:clamp(30px,3vw,44px);line-height:1.15;margin-right:16px}
.rv-lead-dialog .rv-mdl__sub{line-height:1.5;margin:16px 0 24px}
.rv-lead-dialog .rv-mdl__form{gap:18px}.rv-lead-dialog .rv-lead-wide{grid-column:1/-1}
.rv-lead-dialog select{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--bg-elevated);font:inherit;color:var(--deep)}
.rv-lead-context{padding:14px 16px;background:var(--aqua);border-radius:var(--r-md);font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.rv-lead-choice{border:1px solid var(--border-strong);border-radius:var(--r-md);background:var(--bg-elevated);min-width:0}
.rv-lead-choice>summary{padding:14px 16px;cursor:pointer;min-height:48px;font-size:14px;font-weight:600}.rv-lead-choice>summary span{font-weight:400;color:var(--taupe)}
.rv-lead-choice fieldset{border:0;margin:0;padding:8px 16px 16px;max-height:260px;overflow:auto;min-width:0}
.rv-lead-choice fieldset label{display:flex;gap:10px;align-items:flex-start;font-size:14px;font-weight:400;line-height:1.4;min-height:44px;padding:10px 0}
.rv-lead-choice fieldset input[type=checkbox],.rv-lead-extra-grid input[type=checkbox]{width:20px;height:20px;min-width:20px;min-height:20px;padding:0;margin:0;accent-color:var(--teal)}
.rv-lead-extra-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:12px 16px 18px}.rv-lead-extra-grid fieldset{grid-column:1/-1;padding:0}
.rv-lead-dialog [data-catalog-custom],.rv-lead-time{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rv-lead-dialog .rv-lead-hint{font-size:12px;line-height:1.5;margin:0;color:var(--taupe)}
.rv-lead-dialog .rv-mdl__field>.rv-mdl__field{display:contents}.rv-lead-dialog .rv-mdl__actions .btn{min-height:48px}
/* The lower reminder follows document flow: it cannot cover fields or the keyboard. */
.rv-sticky{position:relative!important;inset:auto!important;transform:none!important;margin:28px auto;max-width:100%;width:100%;z-index:auto;box-shadow:none}
html:has(.rv-sticky:not([hidden])){scroll-padding-bottom:24px}.portal-page:has(.rv-sticky:not([hidden])){padding-bottom:0}
body.rv-lead-open .rv-sticky{visibility:hidden}
@media(max-width:900px){.rv-help{gap:36px;padding:36px;grid-template-columns:minmax(0,1fr)}.rv-home__help{padding:0 24px}}
@media(max-width:780px){.rv-lead-dialog{padding:0;align-items:flex-end}.rv-lead-dialog .rv-mdl{grid-template-columns:minmax(0,1fr);max-height:94dvh}.rv-lead-dialog .rv-mdl__aside{display:none}.rv-lead-dialog .rv-mdl__main{padding:60px 22px max(28px,env(safe-area-inset-bottom));max-height:94dvh}.rv-lead-dialog .rv-mdl__form{grid-template-columns:minmax(0,1fr)}.rv-lead-dialog .rv-mdl__x{position:absolute;top:10px;right:12px;width:44px;height:44px;background:var(--ivory);z-index:2}.rv-help{padding:28px 22px;margin:32px 0}.rv-help__actions .btn{width:100%;justify-content:center}.rv-lead-extra-grid{grid-template-columns:minmax(0,1fr)}}

/* R04: complete responsive galleries, including one- and two-frame layouts. */
.rv-detail-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.rv-detail-hero > *, [data-rivelio-gallery] { min-width: 0; }
.rv-detail-hero--text-only { grid-template-columns: minmax(0, 1fr); }
.rv-detail-hero__gallery--1 { grid-template-columns: minmax(0, 1fr); }
.rv-detail-hero__gallery--2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr; }
.rv-detail-hero__gallery--2 .rv-ph:nth-child(1) { grid-row: auto; }
.rv-gallery__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; color: var(--taupe); font-size: 14px; line-height: 1.5; }
[data-gallery-caption] { overflow-wrap: anywhere; }
.rv-gallery__caption [data-gallery-count] { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.rv-gallery__controls { display: flex; gap: 8px; margin-top: 4px; }
.rv-detail-hero__thumb:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 1100px) { .rv-detail-hero { grid-template-columns: minmax(0, 1fr); } }
.rv-detail-hero__gallery--1 { grid-template-rows: minmax(0, 1fr); }
.rv-detail-hero__gallery--1 .rv-ph:nth-child(1),
.rv-detail-hero__gallery--2 .rv-ph:nth-child(1) { grid-row: auto; grid-column: auto; }
@media (max-width: 1100px) {
  .rv-detail-hero__gallery--1, .rv-detail-hero__gallery--2 { height: 340px; grid-template-rows: minmax(0, 1fr); }
}

.rv-freshness { max-width: var(--rv-page-max); margin: 0 auto 32px; padding: 0 var(--rv-gutter); color: var(--taupe); font-size: 13px; line-height: 1.6; }
.rvw-widget__inner .rv-freshness, .rv-content .rv-freshness, .rv-home__wrap .rv-freshness { padding: 0; max-width: none; }
.rv-freshness summary { cursor: pointer; width: fit-content; }
.rv-freshness summary span { margin-left: 16px; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.rv-freshness > div { max-width: 900px; padding: 12px 20px; margin-top: 12px; border: 1px solid var(--border-soft); border-radius: var(--r-sm); background: var(--bg-elevated); }
.rv-around > div, .rv-specs > div { min-width: 0; }
.rv-dist__s, .rv-specs__v { overflow-wrap: anywhere; }
@media (max-width: 640px) { .rv-freshness { padding: 0 20px; } .rv-freshness summary span { display: block; margin-left: 0; } }

/* R06: useful project cards and local choices, using the accepted portal palette. */
.rv-catalog-card__link{height:100%;display:flex;flex-direction:column}
.rv-catalog-card__body{flex:1;display:flex;flex-direction:column}
.rv-catalog-card__summary{font-size:15px;line-height:1.5;margin:12px 0;color:var(--deep)}
.rv-catalog-card__price{margin-top:auto;padding-top:18px}
.rv-catalog-card__facts:empty{display:none}
.rv-catalog-card__link:focus-visible,.rv-living :focus-visible{outline:3px solid var(--gold);outline-offset:-3px}
[data-rivelio-district-catalog] .rv-section__head{margin-bottom:32px}
[data-rivelio-district-catalog] .rv-catalog__cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.rv-dg__count{font-family:var(--font-body);font-size:14px!important;line-height:1.5}
.rv-catalog-collections{padding:32px 0}
.rv-living form{display:grid;grid-template-columns:minmax(200px,1fr) 2fr auto;align-items:end;gap:24px;padding:32px;border:1px solid var(--border-soft);border-radius:var(--r-lg);background:var(--bg-elevated)}
.rv-living select{display:block;width:100%;margin-top:10px;padding:12px;border:1px solid var(--border-soft);border-radius:var(--r-sm);background:var(--ivory);color:var(--deep)}
.rv-living fieldset{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;gap:12px}
.rv-living legend{margin-bottom:12px;font-weight:500}.rv-living fieldset label{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;border:1px solid var(--border-soft);border-radius:var(--r-sm);padding:10px;font-size:14px}
.rv-living small{color:var(--taupe);font-size:12px}.rv-living>p{margin-top:16px}
.rv-geo-pin{border:1px solid var(--teal);border-radius:7px;background:var(--ivory);color:var(--deep);box-shadow:0 3px 12px #30363620;text-align:center;line-height:34px;font-size:12px;font-family:var(--font-body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 7px}
.rv-geo-map__canvas .leaflet-tile-pane{filter:saturate(.55)}
.rv-home__listings .rv-catalog-card__body{padding:24px}.rv-home__listings .rv-catalog-card img{width:100%;height:270px;object-fit:cover}
@media(max-width:1100px){.rv-living form{grid-template-columns:1fr 2fr}.rv-living .btn{justify-self:start}}
@media(max-width:640px){.rv-living form{grid-template-columns:1fr;padding:22px;gap:20px}.rv-home__listings .rv-catalog-card img{height:230px}}

/* Complex detail extensions use the established detail grids and portal palette. */
.rv-complex-specs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:32px 0 0;border-top:1px solid var(--rv-line,#ddd2c7)}
.rv-complex-specs>div{padding:22px 24px;border-right:1px solid var(--rv-line,#ddd2c7);border-bottom:1px solid var(--rv-line,#ddd2c7);min-width:0}
.rv-complex-specs dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--rv-taupe,#857567);margin-bottom:10px}
.rv-complex-specs dd{margin:0;line-height:1.65;overflow-wrap:anywhere}
.rv-complex-legal{margin-top:24px}.rv-complex-legal summary{cursor:pointer}.rv-complex-legal p{overflow-wrap:anywhere}
.rv-complex-context{display:flex;flex-wrap:wrap;gap:12px 28px;margin-top:24px}
.rv-complex-rooms{border:1px solid var(--rv-line,#ddd2c7);border-radius:8px;overflow:hidden;margin-top:28px}
.rv-complex-rooms>a{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:22px 28px;text-decoration:none;border-bottom:1px solid var(--rv-line,#ddd2c7)}
.rv-complex-rooms>a:last-child{border:0}.rv-complex-rooms>a:hover{background:#e6edeb}
.rv-complex-offers__filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px;margin:28px 0 20px}
.rv-complex-offers__filters label{display:grid;gap:8px;flex:1 1 180px;font-size:13px}
.rv-complex-offers__filters select{min-width:0;width:100%;padding:13px 12px;border:1px solid #d3c7bc;border-radius:6px;background:#fbf8f4;color:inherit;font:inherit;min-height:48px}
.rv-complex-offers__filters>a{padding:12px 0}.rv-complex-offers__count{margin:16px 0 24px}
.rv-complex-offers__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.rv-offer-card{border:1px solid #ded4c9;border-radius:8px;overflow:hidden;display:flex;flex-direction:column;background:#fbf8f4;min-width:0}
.rv-offer-card__plan{display:block;background:white;position:relative;aspect-ratio:4/3;border-bottom:1px solid #ded4c9}
.rv-offer-card__plan img{width:100%;height:100%;object-fit:contain;padding:18px;box-sizing:border-box}
.rv-offer-card__plan>span{position:absolute;bottom:10px;right:12px;background:rgba(245,240,234,.94);padding:5px 10px;font-size:12px;border-radius:4px}
.rv-offer-card__body{padding:24px;display:flex;flex-direction:column;gap:18px;flex:1}
.rv-offer-card__main{display:block;text-decoration:none;flex:1}.rv-offer-card__main h3{font-family:var(--rv-font-display,'Cormorant Garamond',serif);font-size:28px;line-height:1.2;margin:0 0 12px;overflow-wrap:anywhere}
.rv-offer-card__facts{font-weight:600;margin:0 0 12px}.rv-offer-card__placement{font-size:13px;margin:0 0 14px;color:#776b61}.rv-offer-card__description{font-size:14px;line-height:1.65;margin:0 0 18px;color:#776b61}
.rv-offer-card__price{font-size:21px;font-weight:600;margin:0 0 6px}.rv-offer-card__details{font-size:13px;display:block;margin-top:18px}
.rv-offer-card__body>.btn{width:100%;box-sizing:border-box;white-space:normal;text-align:center}
.rv-complex-offers__pages{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:28px 0}.rv-complex-offers__pages a{padding:10px 0}
.rv-complex-offers__pages+ .btn{margin-top:10px}
.rv-plan-viewer{width:min(1100px,94vw);height:min(900px,92dvh);max-height:92dvh;max-width:94vw;box-sizing:border-box;padding:24px;border:1px solid #d6cbbf;border-radius:12px;background:#f5f0ea;color:#2e3333;overflow:hidden}
.rv-plan-viewer::backdrop{background:rgba(30,40,40,.75)}.rv-plan-viewer[open]{display:flex;flex-direction:column;gap:16px}
.rv-plan-viewer header{display:flex;align-items:center;gap:20px;justify-content:space-between}.rv-plan-viewer h2{font-size:24px;margin:0;overflow-wrap:anywhere}
.rv-plan-viewer button{cursor:pointer;border:1px solid #cbbfb3;border-radius:5px;background:#fbf8f4;color:#2e3333;padding:9px 13px;font:inherit;min-height:44px}
.rv-plan-viewer__tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.rv-plan-viewer__canvas{overflow:auto;flex:1;min-height:0;background:white;touch-action:pan-x pan-y}
.rv-plan-viewer__canvas img{display:block;max-width:none;height:auto;object-fit:contain;min-height:100%}.rv-plan-viewer-open{overflow:hidden}
@media(max-width:1100px){.rv-complex-offers__cards{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-complex-specs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.rv-complex-offers__cards,.rv-complex-specs{grid-template-columns:1fr}.rv-complex-specs>div{padding:18px 0;border-right:0}.rv-complex-rooms>a{padding:18px 16px;gap:12px}.rv-complex-rooms>a>span:last-child{font-size:13px}.rv-offer-card__body{padding:20px}.rv-complex-offers__filters{display:grid;grid-template-columns:1fr;width:100%}.rv-complex-offers__pages{gap:12px;font-size:13px}.rv-plan-viewer{padding:14px}.rv-plan-viewer h2{font-size:18px}.rv-plan-viewer__tools{gap:8px}.rv-plan-viewer button{font-size:13px;padding:8px 11px}}

/* Offer detail and alternatives share the existing detail palette and typography. */
.rv-unit-favorite{position:absolute!important;top:24px;right:24px;min-width:44px;min-height:44px}
.portal-shell--unit .rv-detail-hero__title{padding-right:48px;overflow-wrap:anywhere}
.portal-shell--unit .rv-hero__h1,.portal-shell--unit .rv-specs__v{overflow-wrap:anywhere}
.portal-shell--unit .rv-phead__crumbs>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.rv-gallery__preview{position:absolute;inset:0;display:block;cursor:zoom-in}
.rv-gallery__preview:focus-visible{outline:3px solid var(--teal);outline-offset:-4px}
.rv-unit-alternatives{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.rv-unit-alternative{border:1px solid var(--rv-line,#ded4c9);border-radius:8px;overflow:hidden;text-decoration:none;display:flex;flex-direction:column;min-width:0;background:#fbf8f4}
.rv-unit-alternative>img{width:100%;height:240px;object-fit:cover;background:#fff}.rv-unit-alternative>img.rv-unit-alternative__plan{object-fit:contain;padding:16px;box-sizing:border-box}
.rv-unit-alternative>div{padding:24px}.rv-unit-alternative h3{font-size:28px;line-height:1.2;overflow-wrap:anywhere}.rv-unit-alternative p{line-height:1.65}.rv-unit-alternative strong{font-size:22px}
.rv-unit-alternative__comparison{font-size:13px;border-top:1px solid #ded4c9;padding-top:14px}.rv-unit-alternative:focus-visible{outline:2px solid var(--teal);outline-offset:3px}
.rv-plan-viewer [data-media-download]{padding:10px;min-height:44px;box-sizing:border-box;font-size:13px}
@media(max-width:1100px){.rv-unit-alternatives{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.rv-unit-alternatives{grid-template-columns:1fr}.rv-unit-alternative>div{padding:20px}.rv-unit-favorite{top:20px;right:20px}.portal-shell--unit .rv-plan{min-width:0}.rv-plan-viewer__tools{gap:6px}}

/* Shared maps and living data follow the portal spacing and palette. */
[data-rivelio-map-section] [hidden]{display:none!important}
.rv-choice-map{position:relative;height:450px;min-width:0;border-radius:8px;background:#dce7e6;overflow:hidden}
.rv-choice-map__status{position:absolute;z-index:2;left:16px;bottom:36px;right:16px;background:#fbf8f4;padding:12px;font-size:13px;border-radius:6px;pointer-events:none}
.rv-choice-pin{border:1px solid #fbf8f4;border-radius:20px;background:#456567;color:white;padding:9px 13px;font:600 12px/1.2 Arial,sans-serif;max-width:180px;box-shadow:0 2px 8px #233b3a33;cursor:pointer;white-space:normal}
.rv-choice-pin--project{background:#2d4141;border:2px solid white}.rv-choice-pin:focus-visible{outline:3px solid #856a4c;outline-offset:3px}
.rv-choice-pin--place{min-width:32px;min-height:32px;padding:6px;border-radius:50%;font-size:14px}.rv-choice-pin--place.rv-choice-pin--project{border-radius:8px;font-size:11px}
.rv-choice-map .maplibregl-ctrl-attrib{font-size:10px}.rv-choice-map .maplibregl-popup-content{background:#fbf8f4;border-radius:6px;padding:15px;max-width:250px}.rv-choice-map .maplibregl-popup-content a{color:#456567;font-weight:600}
.rv-map-filters{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.rv-map-filters button,.rv-place button,.rv-geo-map__item button{font:inherit;border:1px solid #d8d0c5;background:transparent;color:#456567;border-radius:20px;padding:8px 12px;cursor:pointer;font-size:13px}
.rv-map-filters button[aria-pressed=true]{background:#456567;color:white}
.rv-surroundings__layout{display:grid;grid-template-columns:1.15fr 1fr;gap:28px}.rv-surroundings__list{max-height:450px;overflow:auto;overscroll-behavior:contain;padding:0 12px}.rv-surroundings__list>section{margin-bottom:24px}.rv-surroundings__list>section>h3{font:500 24px/1.4 var(--font-serif,Georgia,serif)}
.rv-place{display:grid;grid-template-columns:1fr auto;gap:6px 12px;padding:14px 0;border-bottom:1px solid #ded4c9;min-width:0}.rv-place h3{font:600 14px/1.5 var(--font-sans,Arial,sans-serif);margin:0;overflow-wrap:anywhere}.rv-place p{font-size:12px;color:#746b5f;margin:3px 0}.rv-place a{color:#456567;text-decoration:none}.rv-place__route{font-size:12px;grid-column:1 / -1}.rv-map-selected{outline:2px solid #456567;outline-offset:2px}
.rv-destinations{margin-top:28px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.rv-destinations>h3{grid-column:1 / -1;font-size:28px}.rv-map-source{font-size:12px;color:#746b5f;margin-top:20px}.rv-map-source summary{cursor:pointer;min-height:30px}.rv-map-source p{max-width:900px}
.rv-geo-map__item{display:grid;grid-template-columns:1fr auto;gap:8px}.rv-geo-map__item span{grid-column:1 / -1}.rv-geo-map>[data-map-reset]{margin-top:16px}
.rv-catalog[data-rivelio-map-section] .rv-catalog-map{display:block;height:auto}.rv-catalog[data-rivelio-map-section] .rv-catalog-map>p{font-size:12px;color:#746b5f}.rv-catalog[data-rivelio-map-section] .rv-catalog__cards{margin-top:24px}
.rv-living>.rv-everyday,.rv-living>.rv-city-routes,.rv-living>.rv-climate{margin-top:64px;padding-top:40px;border-top:1px solid #ded4c9}
.rv-everyday h3,.rv-city-routes h3,.rv-climate__region h3{font:500 30px/1.4 var(--font-serif,Georgia,serif);margin-bottom:16px}.rv-everyday__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.rv-everyday__grid>div{padding:20px;border:1px solid #ded4c9;border-radius:8px}.rv-everyday__grid h4{font-size:18px}.rv-everyday__grid a{display:block;color:#456567;font-size:13px;margin-top:12px;overflow-wrap:anywhere}
.rv-city-routes>details{border-bottom:1px solid #ded4c9;padding:16px 0}.rv-city-routes summary{cursor:pointer;color:#456567}.rv-city-routes .rv-destinations{margin-top:16px}
.rv-climate__region{padding:28px;background:#fbf8f4;border:1px solid #ded4c9;border-radius:8px;margin-top:24px}.rv-climate__region[hidden]{display:none!important}.rv-climate__region>svg{width:100%;height:auto;max-height:340px;margin-top:20px}.rv-climate__region h4{font-size:20px;margin-top:32px}.rv-climate-grid{stroke:#ded4c9;stroke-width:1}.rv-climate-axis{font:12px Arial,sans-serif;fill:#746b5f}.rv-climate-line{fill:none;stroke-width:3}.rv-climate-line--air{stroke:#a2754b}.rv-climate-line--water{stroke:#456567;stroke-dasharray:7 4}.rv-climate-dot--air{fill:#a2754b}.rv-climate-dot--water{fill:#456567}.rv-rain-bar{fill:#b9ced0}
.rv-climate__legend{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:13px}.rv-climate__legend-air{color:#795132}.rv-climate__legend-water{color:#456567}.rv-climate__months{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}.rv-climate__months button{min-height:36px;min-width:40px;border:1px solid #ded4c9;border-radius:5px;background:transparent;color:#456567;cursor:pointer}.rv-climate__months button:focus-visible,.rv-climate__months button:hover{background:#dce7e6;outline:2px solid #456567}.rv-climate__value{font-size:13px;min-height:36px;margin-top:12px;line-height:1.6}.rv-climate__table-wrap{overflow:auto;max-width:100%}.rv-climate table{border-collapse:collapse;font-size:12px;width:100%;min-width:580px}.rv-climate td,.rv-climate th{padding:9px;text-align:left;border-bottom:1px solid #ded4c9}
@media(max-width:800px){.rv-surroundings__layout{grid-template-columns:1fr}.rv-choice-map{height:360px}.rv-surroundings__list{max-height:none;padding:0}.rv-destinations,.rv-everyday__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rv-climate__region{padding:18px}}
@media(max-width:480px){.rv-choice-map{height:300px}.rv-destinations,.rv-everyday__grid{grid-template-columns:1fr}.rv-choice-pin{max-width:125px;font-size:11px}.rv-map-filters button{padding:9px}}

/* One compact, optional finance workspace per buyer page. */
body[data-rivelio-theme] .rv-finance-section{margin:48px auto;scroll-margin-top:100px}
.rv-finance{border:1px solid var(--rv-border,#d7d0c6);border-radius:12px;background:var(--rv-paper,#faf8f4);overflow:hidden}
.rv-finance>summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;cursor:pointer;list-style:none}
.rv-finance>summary::-webkit-details-marker{display:none}
.rv-finance__title{display:block;font-family:var(--rv-font-display,Georgia,serif);font-size:30px;line-height:1.2;margin:6px 0}
.rv-finance__intro{display:block;color:var(--rv-muted,#736a62);font-size:14px}
.rv-finance__expand{font-size:30px;color:#49686b}
.rv-finance[open] .rv-finance__expand{transform:rotate(45deg)}
.rv-finance__inner{padding:0 32px 32px;border-top:1px solid #ddd5cb}
.rv-finance__tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}
.rv-finance__tabs button{padding:10px 16px;border:1px solid #cfc7bc;border-radius:24px;background:transparent;color:#303939;cursor:pointer;font:inherit;font-size:14px}
.rv-finance__tabs button[aria-pressed=true]{background:#49686b;border-color:#49686b;color:white}
.rv-finance__form{max-width:920px;margin:0 auto}
.rv-finance__form h3{font-family:var(--rv-font-display,Georgia,serif);font-size:28px;margin:0 0 8px}
.rv-finance__form p{line-height:1.55;margin:8px 0 20px}
.rv-finance__fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:24px 0}
.rv-finance__field label,.rv-finance__range label{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.rv-finance__field input{width:100%;box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid #bdb3a7;border-radius:6px;background:#fffdf9;color:#303939;font:inherit;font-size:16px}
.rv-finance__field input[aria-invalid=true]{border-color:#a43232}
.rv-finance__field small,.rv-finance__range small{display:block;min-height:18px;font-size:12px;line-height:1.5;color:#746a60;margin:6px 0}
.rv-finance__error{display:block;color:#a43232;font-size:13px;line-height:1.5}
.rv-finance__range{align-self:center}.rv-finance__range input{width:100%;accent-color:#49686b;min-height:36px}.rv-finance__range output{float:right;font-weight:400}
.rv-finance .btn{white-space:normal;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere;text-align:center}
.rv-finance__buttons{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}
.rv-finance__status{font-size:14px;color:#746a60}
.rv-finance__result{background:#deebe6;border-radius:8px;padding:24px;margin:24px 0}
.rv-finance__result>output{display:block;font-family:var(--rv-font-display,Georgia,serif);font-size:36px;line-height:1.2;overflow-wrap:anywhere}
.rv-finance__result ul{padding-left:20px;line-height:1.8}
.rv-finance__form fieldset{border:0;border-top:1px solid #ddd5cb;padding:16px 0 0;margin:24px 0}
.rv-finance__form legend{padding:0 10px 0 0;font-weight:600}
.rv-finance__method{font-size:13px;color:#746a60;margin-top:24px}.rv-finance__method summary{cursor:pointer}.rv-finance__method p{margin:12px 0}
.rv-finance:not([data-finance-ready]) .rv-finance__forms,.rv-finance:not([data-finance-ready]) .rv-finance__tabs{display:none}
.rv-finance [hidden],.rv-lead-finance[hidden]{display:none!important}
.rv-lead-finance{padding:16px;background:#deebe6;border-radius:8px}
.rv-lead-finance p{white-space:pre-line;font-size:13px;line-height:1.6;margin:10px 0}
.rv-finance :focus-visible{outline:2px solid #49686b;outline-offset:4px}
@media(max-width:640px){.rv-finance>summary{padding:20px;gap:12px}.rv-finance__title{font-size:25px}.rv-finance__inner{padding:0 20px 20px}.rv-finance__fields{grid-template-columns:1fr;gap:14px}.rv-finance__tabs{gap:6px}.rv-finance__tabs button{padding:9px 12px;font-size:13px}.rv-finance__result{padding:18px}.rv-finance__result>output{font-size:30px}.rv-finance__buttons>.btn{width:100%;text-align:center;justify-content:center}}

/* R11: a single owner of each section's spacing and the designer's 1320/48/20 grid. */
:root{--rv-gutter:48px;--rv-section-space:96px;--rv-card-space:24px;--rv-section-head-space:56px}
[data-rivelio-theme="rivelio-real-estate"]{--rv-gutter:48px}
body[data-rivelio-theme] .rv-portal-header .rv-top__inner{max-width:var(--rv-max,1320px)}
body[data-rivelio-theme] .portal-page__body{width:100%;max-width:var(--rv-max,1320px);margin-inline:auto;padding:var(--rv-section-space) var(--rv-gutter,48px);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--rv-section-space)}
body[data-rivelio-theme] .portal-page__body>[data-block]:not(.rv-portal-footer){width:100%;max-width:none;margin:0!important;padding:0!important;min-width:0}
body[data-rivelio-theme] .portal-page>[data-block]:not(.rv-portal-footer){padding-inline:0!important}
body[data-rivelio-theme] [data-block]>.rvw-widget{margin:0}
body[data-rivelio-theme] .portal-page>[data-block] :is(.rv-hero,.rv-phead,.rv-read){padding-bottom:0}
body[data-rivelio-theme] .portal-page__body>.rv-finance-section,body[data-rivelio-theme] .portal-page__body>.rv-help{margin:0!important;max-width:none;width:100%;min-width:0}
body[data-rivelio-theme] [data-block]>.rvw-widget>.rvw-widget__inner{display:block;max-width:none;margin:0;padding:0!important;border:0;background:transparent}
body[data-rivelio-theme] .portal-page__body .rv-section__head{margin-bottom:var(--rv-section-head-space)}
body[data-rivelio-theme] .portal-page__body .rv-section__head>.rv-eyebrow-inline{margin:0 0 20px}
body[data-rivelio-theme] .portal-page__body .rv-section__head .rv-muted{margin:16px 0 0}
body[data-rivelio-theme] .portal-page>.rv-help,body[data-rivelio-theme] .rv-catalog>.rv-help{width:calc(min(100vw,var(--rv-max,1320px)) - var(--rv-gutter,48px) - var(--rv-gutter,48px));max-width:none;margin:var(--rv-section-space) auto}
body[data-rivelio-theme] .portal-page--search>.portal-search-shell,body[data-rivelio-theme] .portal-page--search>.portal-stack{max-width:var(--rv-max,1320px);padding-inline:var(--rv-gutter,48px);margin:auto}
body[data-rivelio-theme] .portal-page--search .rvw-widget__inner{padding:0!important;border:0}
body[data-rivelio-theme] .portal-stack>[data-block]:not(.rv-portal-footer){padding-inline:0!important}
body[data-rivelio-theme] .rv-home__wrap{width:100%;max-width:var(--rv-max,1320px);padding-inline:var(--rv-gutter,48px);margin-inline:auto}
body[data-rivelio-theme] .rv-home__help{max-width:var(--rv-max,1320px);padding-inline:var(--rv-gutter,48px)}
body[data-rivelio-theme] .rv-home__help .rv-help{margin:var(--rv-section-space) 0}
body[data-rivelio-theme] .rv-home__section{padding-block:var(--rv-section-space)}
body[data-rivelio-theme] .rv-home__search button{background:var(--teal,#49686b);border-radius:var(--r-sm,6px)}
body[data-rivelio-theme] .rv-catalog-card__body,body[data-rivelio-theme] .rv-offer-card__body{padding:var(--rv-card-space)}
body[data-rivelio-theme] .rv-catalog-card__body h3,body[data-rivelio-theme] .rv-offer-card__main h3{font-size:28px;line-height:1.25;overflow-wrap:anywhere}
body[data-rivelio-theme] .btn{max-width:100%;min-height:44px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
body[data-rivelio-theme] .rv-crumbs{flex-wrap:wrap}
body[data-rivelio-theme] :is(.rv-phead,.rv-hero,.rv-read,.rv-service) :is(h1,h2,h3){overflow-wrap:anywhere}
body[data-rivelio-theme] :is(.rv-detail-hero__info,.rv-aside){top:calc(var(--rv-header-height,84px) + 20px)}
body[data-rivelio-theme] .rv-section:empty,body[data-rivelio-theme] .portal-stack:empty{display:none}
body[data-rivelio-theme] .rv-catalog__heading h1{font-size:var(--rv-page-h1,64px);line-height:1.08}
@media(min-width:1101px){body[data-rivelio-theme] .portal-page--city .rv-hero__h1{overflow-wrap:normal}body[data-rivelio-theme] .portal-page--city .rv-hero__copy{min-width:auto}}
@media(max-width:1100px){body[data-rivelio-theme] :is(.rv-detail-hero__info,.rv-aside){position:static}body[data-rivelio-theme] .rv-home__section-head{gap:24px}}
@media(max-width:640px){:root{--rv-gutter:20px;--rv-section-space:56px;--rv-card-space:20px;--rv-section-head-space:32px}body[data-rivelio-theme] .portal-page__body{padding-inline:20px}body[data-rivelio-theme] .rv-portal-header .rv-top__inner{padding-inline:20px}body[data-rivelio-theme] .rv-help{padding:28px 22px}body[data-rivelio-theme] .rv-home__section-head h2{font-size:36px}body[data-rivelio-theme] .rv-catalog-card__body h3,body[data-rivelio-theme] .rv-offer-card__main h3{font-size:26px}}

body[data-rivelio-theme] .rv-home__listing:last-child,body[data-rivelio-theme] .rv-home__guide:last-child{display:block}
@media(max-width:640px){[data-rivelio-theme="rivelio-real-estate"]{--rv-gutter:20px}}
@media(max-width:640px){body[data-rivelio-theme] .rv-catalog__heading h1{font-size:var(--rv-page-h1,36px)}}
@media(max-width:1100px){body[data-rivelio-theme] .rv-portal-footer .rv-foot__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body[data-rivelio-theme] .rv-portal-footer .rv-foot__cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}}
/* Footer is chrome: catalog/compare section resets must not strip its original padding. */
body[data-rivelio-theme] .rv-portal-footer{padding:96px var(--rv-gutter,48px) 40px!important}
@media(max-width:640px){body[data-rivelio-theme] .rv-portal-footer{padding:56px 20px 32px!important}}

/* R12: native, crawlable direct selection of every offer page. */
.rv-complex-offers__pages{flex-wrap:wrap}
.rv-complex-offers__page-picker{flex:1 0 100%;min-width:0}
.rv-complex-offers__page-picker summary{cursor:pointer;padding:12px 0;text-underline-offset:4px}
.rv-complex-offers__page-picker ol{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:8px;list-style:none;padding:0;margin:12px 0 0}
.rv-complex-offers__page-picker a{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--border);border-radius:var(--r-sm,6px);color:var(--deep);text-decoration:none}
.rv-complex-offers__page-picker a[aria-current=page]{background:var(--teal);color:var(--ivory)}
.rv-tool-nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:24px 0}
.rv-tool-example,.rv-tool-method,.rv-tool-next{margin:32px 0;max-width:850px}
.rv-tool-example h2,.rv-tool-method h2,.rv-tool-next h2{font-size:30px}
.rv-finance--tool{padding:32px;margin:32px 0}
.rv-finance--tool .rv-finance__form{padding-top:0}
.rv-tool-schedule{margin-top:24px}.rv-tool-schedule__scroll{overflow:auto;margin-top:16px}.rv-tool-schedule table{width:100%;border-collapse:collapse}.rv-tool-schedule th,.rv-tool-schedule td{padding:10px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap}
@media(max-width:640px){.rv-finance--tool{padding:22px}.rv-tool-schedule th,.rv-tool-schedule td{font-size:12px;padding:8px}}
/* Utility prose links must not override the shared button/card colors. */
.rv-service .btn{text-decoration:none}
.rv-service .btn--primary{color:var(--ivory,#f5f0ea)}
.rv-service .rv-offer-card__main,.rv-service .rv-offer-card__plan,.rv-service .rv-service__card{color:inherit;text-decoration:none}
.rv-detail-hero__meta.rv-detail-hero__meta--compact{display:flex;flex-wrap:wrap;gap:14px 28px;padding:16px;background:#e6eeeb;border-radius:6px}
.rv-detail-hero__meta--compact>div{flex:1;min-width:110px}
.rv-offer-card__project-image{display:block;width:100%}
.rv-offer-card__plan[data-rivelio-experiment]{min-height:0;overflow:hidden}
.rv-offer-card__plan[data-rivelio-experiment] img{position:absolute;inset:0;width:100%;height:100%}
.rv-offer-card__plan[data-rivelio-experiment] .rv-offer-card__project-image{position:absolute;inset:0;height:100%}
.rv-offer-card__plan--project img{object-fit:cover}
.rv-offer-card__plan-action{position:absolute;bottom:10px;right:12px;background:rgba(245,240,234,.97);color:var(--rv-ink,#2e3837);padding:5px 10px;font-size:12px;border-radius:4px;text-decoration:none}
.rv-offer-card__plan-action:focus-visible{outline:2px solid var(--rv-sea,#456a6c);outline-offset:3px}
.rv-service--curated{max-width:1280px}
.rv-service--curated>.rv-muted{max-width:850px}
/* Full-population facts stay in a native explanation alongside the selection. */
.rv-landing-statistics summary{cursor:pointer;min-height:44px;padding:12px 0;text-underline-offset:4px}
.rv-landing-statistics__values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin:24px 0}
.rv-landing-statistics__values>div{min-width:0;padding-bottom:12px;border-bottom:1px solid var(--border)}
.rv-landing-statistics__values dt{color:var(--rv-muted,#586862);font-size:14px;line-height:1.5}
.rv-landing-statistics__values dd{margin:6px 0 0;font-size:18px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
@media(max-width:640px){.rv-landing-statistics__values{grid-template-columns:1fr;gap:16px}}

/* R13: page heading roles share a scale; the accepted home hero keeps its own. */
body[data-rivelio-theme="rivelio-real-estate"] :is(button,input,select,textarea){font-family:var(--rv-font-body,"Golos Text",sans-serif)}
body[data-rivelio-theme="rivelio-real-estate"]{--rv-page-h1:clamp(36px,4.5vw,64px);--rv-section-h2:clamp(32px,3.5vw,48px)}
body[data-rivelio-theme].portal-shell--unit,body[data-rivelio-theme].portal-shell--building,body[data-rivelio-theme].portal-shell--scenario{--rv-page-h1:clamp(36px,4vw,56px)}
body[data-rivelio-theme].portal-shell--article,body[data-rivelio-theme].portal-shell--guide,body[data-rivelio-theme].portal-shell--faq,.portal-page--editorial{--rv-page-h1:clamp(32px,4vw,56px);--rv-section-h2:32px}
body[data-rivelio-theme] .portal-page .rv-h2{font-size:var(--rv-section-h2);line-height:1.12}
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__main>h2{font-size:32px;line-height:1.15}
.rv-catalog__modes{margin-bottom:24px}
.rv-catalog__heading>.rv-freshness{margin-block:0 32px}
.rv-foot__inner{max-width:var(--rv-max,1320px);margin-inline:auto}
.rv-pagination{display:grid;gap:16px;margin:28px 0;color:var(--deep)}
.rv-pagination__position{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.rv-pagination__actions{display:flex;gap:20px}
.rv-pagination__actions a{padding:12px 0;text-underline-offset:4px}
.rv-pagination__numbers{display:flex;align-items:center;gap:6px;list-style:none;padding:0;margin:0;flex-wrap:wrap}
.rv-pagination__numbers a{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 8px;border:1px solid var(--border);border-radius:var(--r-sm,6px);color:var(--deep);text-decoration:none}
.rv-pagination__numbers a[aria-current=page]{background:var(--teal);border-color:var(--teal);color:var(--ivory)}
.rv-pagination__gap{min-width:20px;text-align:center}
.rv-location-card{max-width:620px;min-width:0;padding:24px;border:1px solid var(--border);border-radius:var(--r-sm,6px);background:var(--surface,#faf8f5)}
.rv-location-card h3{font:400 28px/1.2 var(--font-display,"Cormorant",serif);margin:0 0 12px;overflow-wrap:anywhere}
.rv-location-card p{margin:0 0 20px;color:var(--muted)}
.rv-location-card .btn{white-space:normal;text-align:center}
.rv-choice-pin{font-family:var(--font-body,"Golos Text",sans-serif)}
.rv-choice-pin--group span{display:block;font-size:11px;line-height:20px;white-space:nowrap}
.rv-map-group-list{display:grid;gap:4px;max-height:300px;overflow-y:auto;max-width:260px}
.rv-map-group-list button{background:none;border:0;text-align:left;color:var(--deep);font:inherit;padding:10px 8px;cursor:pointer;white-space:normal}
.rv-map-group-list button:hover,.rv-map-group-list button:focus-visible{background:var(--mist,#e0e9e5);outline:2px solid var(--teal);outline-offset:-2px}
.rv-developer__intro{max-width:1000px;margin-bottom:32px}
.rv-developer__intro--with-logo{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;align-items:start}
.rv-developer__intro .rv-h2{margin:12px 0 20px}
.rv-developer__logo{padding:16px;min-height:100px;border:1px solid var(--border);border-radius:6px;background:var(--surface,#faf8f5);display:flex;align-items:center;justify-content:center}
.rv-developer__logo--dark{background:#191819}
.rv-developer__logo img{width:100%;height:72px;object-fit:contain}
.rv-developer__description{font:400 17px/1.6 var(--font-body);max-width:720px;margin:0 0 16px}
.rv-developer__website{display:inline-block;margin-bottom:12px;color:var(--teal);text-underline-offset:4px}
.rv-developer__projects>.rv-h3{margin:0 0 24px;font-size:28px}
.rv-developer__count{font:400 14px/1.5 var(--font-body);color:var(--muted);display:inline-block;margin-left:14px}
.rv-developer[data-developer-count="1"] .rv-catalog__cards{max-width:420px;grid-template-columns:1fr}
.rv-developer[data-developer-count="2"] .rv-catalog__cards{max-width:880px;grid-template-columns:repeat(2,minmax(0,1fr))}
.rv-developer__card{position:relative;min-width:0}
.rv-developer__card>.rv-catalog-card{height:100%}
.rv-developer__current{position:absolute;z-index:1;left:12px;top:12px;background:var(--teal);color:var(--ivory);padding:6px 10px;border-radius:4px;font:500 12px/1.4 var(--font-body)}
@media(max-width:759px){
 body[data-rivelio-theme="rivelio-real-estate"]{--rv-page-h1:36px;--rv-section-h2:32px}
 body[data-rivelio-theme].portal-shell--unit,body[data-rivelio-theme].portal-shell--building,body[data-rivelio-theme].portal-shell--scenario{--rv-page-h1:36px}
 body[data-rivelio-theme].portal-shell--article,body[data-rivelio-theme].portal-shell--guide,body[data-rivelio-theme].portal-shell--faq,.portal-page--editorial{--rv-page-h1:32px}
 .rv-catalog__modes{margin-bottom:18px}
 .rv-catalog__heading>.rv-freshness{margin-bottom:28px}
 body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__main>h2{font-size:30px}
 .rv-pagination__numbers{gap:4px}
 .rv-developer__intro--with-logo{grid-template-columns:1fr;gap:20px}
 .rv-developer__logo{width:180px}
 .rv-developer__description{font-size:16px}
 .rv-developer[data-developer-count="2"] .rv-catalog__cards{grid-template-columns:1fr}
}
/* R13.10–11: stable source plan selection and readable room legends. */
body[data-rivelio-theme] .rv-unit-plan__rooms{margin-top:28px;min-width:0}
body[data-rivelio-theme] .rv-unit-plan__rooms h3{font:600 16px/1.5 var(--font-body);margin:0 0 14px}
body[data-rivelio-theme] .rv-unit-plan__rooms dl{margin:0}
body[data-rivelio-theme] .rv-unit-plan__rooms .rv-small{margin-top:16px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice{display:grid;gap:28px;margin-top:24px;min-width:0}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice.is-ready{grid-template-columns:230px minmax(0,1fr);align-items:start}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__desktop,body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__mobile{display:none}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice.is-ready .rv-plan-choice__desktop{display:block;min-width:0}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__caption{font-size:14px;font-weight:600;margin:0 0 14px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__list{display:grid;gap:8px;max-height:680px;overflow-y:auto;overflow-x:hidden;padding:2px 6px 2px 2px;position:relative;scrollbar-gutter:stable}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab{display:grid;gap:4px;text-align:left;width:100%;padding:14px 16px;border:1px solid var(--rv-border,#ded2c4);border-radius:8px;background:var(--rv-surface,#faf8f4);color:var(--rv-ink,#303837);font:inherit;line-height:1.45;cursor:pointer}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab span{font-size:14px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab strong{font-size:16px;font-weight:600}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab small{font-size:12px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab.is-on{background:#48686b;color:#fff;border-color:#48686b}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__tab:focus-visible{outline:2px solid #48686b;outline-offset:2px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__content{display:grid;gap:28px;min-width:0}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__panel{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:24px;align-items:start;min-width:0}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__panel[hidden]{display:none}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__image{display:grid;gap:12px;padding:14px;background:#fff;border:1px solid var(--rv-border,#ded2c4);border-radius:8px;min-width:0;text-decoration:none}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__image img{display:block;width:100%;height:auto;max-height:650px;object-fit:contain}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__image span{font-size:13px;color:#48686b;text-align:center}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description{min-width:0;padding:24px;background:var(--rv-surface,#faf8f4);border:1px solid var(--rv-border,#ded2c4);border-radius:8px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description h3{font-family:var(--font-display,"Cormorant",serif);font-size:28px;font-weight:400;line-height:1.2;margin:0 0 24px;overflow-wrap:anywhere}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description h4{font-size:15px;font-weight:600;line-height:1.5;margin:0 0 12px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description dl{margin:0 0 20px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__room{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-bottom:1px solid var(--rv-border,#ded2c4);padding:10px 0;font-size:14px;line-height:1.5}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__room dt{margin:0;overflow-wrap:anywhere}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__room dd{margin:0;font-weight:600;white-space:nowrap}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__number{color:#827465;font-size:12px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__areas{display:grid;gap:10px;font-size:13px;line-height:1.5;margin:20px 0}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__areas>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}
body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__areas strong{white-space:nowrap}
@media(max-width:1200px){body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__panel{grid-template-columns:minmax(0,1fr)}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description{padding:22px}}
@media(max-width:768px){body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice.is-ready{grid-template-columns:minmax(0,1fr);gap:20px}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice.is-ready .rv-plan-choice__desktop{display:none}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice.is-ready .rv-plan-choice__mobile{display:grid;gap:10px;font-size:14px;font-weight:600}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__mobile select{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid var(--rv-border,#ded2c4);border-radius:6px;font:inherit;font-weight:400;background:#faf8f4;color:#303837}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description{padding:20px}body[data-rivelio-theme="rivelio-real-estate"] .rv-plan-choice__description h3{font-size:26px}}

/* Route cards share the marker icon and keep the primary walking journey visible. */
[data-rivelio-theme] .rv-geographic-icon{display:block;width:24px;height:24px;flex:none;pointer-events:none}
[data-rivelio-theme] .rv-place .rv-place__pin{display:flex;align-items:center;justify-content:center;align-self:start;width:44px;height:44px;padding:9px;border-radius:12px;color:var(--color-primary,#456567);background:#e4eeeb;border-color:#cfdbd6;flex:none}
[data-rivelio-theme] .rv-place .rv-place__pin:hover{background:#d5e4df}
[data-rivelio-theme] .rv-place .rv-place__pin:focus-visible{outline:2px solid #456567;outline-offset:3px}
[data-rivelio-theme] .rv-choice-pin--place .rv-geographic-icon{width:20px;height:20px}
[data-rivelio-theme] .rv-choice-pin{font-family:var(--font-sans,Arial,sans-serif)}
[data-rivelio-theme] .rv-place__metric{font-weight:500;font-size:14px;color:#304444;line-height:1.5}
[data-rivelio-theme] .rv-place__note{line-height:1.5;max-width:42em}
[data-rivelio-theme] .rv-primary-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin:28px 0;padding:24px;border:1px solid #cfdbd6;border-radius:8px;background:#e4eeeb}
[data-rivelio-theme] .rv-primary-routes>h3{grid-column:1/-1;font:500 28px/1.25 var(--font-serif,Georgia,serif);margin:0}
[data-rivelio-theme] .rv-place--primary{border:0;padding:4px 0}
[data-rivelio-theme] .rv-primary-routes .rv-place:only-of-type{grid-column:1/-1}
[data-rivelio-theme] .rv-primary-routes .rv-place h3{font-size:16px}
[data-rivelio-theme] .rv-destinations .rv-place{align-content:start}
@media(max-width:600px){[data-rivelio-theme] .rv-primary-routes{grid-template-columns:1fr;padding:18px;gap:14px}[data-rivelio-theme] .rv-primary-routes>h3{font-size:24px}}
/* R13.15: the mortgage workspace and its fields are visible before JS loads. */
.rv-finance--open .rv-finance__header{padding:28px 32px}
.rv-finance--open .rv-finance__header h2{font-size:30px;line-height:1.2;margin:6px 0}
.rv-finance--open:not([data-finance-ready]) .rv-finance__forms,.rv-finance--open:not([data-finance-ready]) .rv-finance__tabs{display:block}
.rv-finance--open:not([data-finance-ready]) .rv-finance__tabs{display:flex}
.rv-finance__tabs button:disabled{cursor:wait}
.rv-mortgage-result{background:var(--rv-paper,#faf8f4);border:1px solid var(--rv-border,#d7d0c6);border-radius:10px;padding:20px;margin:20px 0 24px}
.rv-mortgage-result>output{display:block;font-family:var(--rv-font-display,Georgia,serif);font-size:36px;line-height:1.2;color:#49686b}
.rv-mortgage-result>p{font-size:13px;line-height:1.55}
.rv-mortgage-result dl{margin:20px 0}.rv-mortgage-result dl>div{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid #ddd5cb;padding:10px 0;font-size:14px}
.rv-mortgage-result dt{color:var(--rv-muted,#736a62)}.rv-mortgage-result dd{margin:0;text-align:right;font-weight:600;overflow-wrap:anywhere}
.rv-mortgage-result__scroll{overflow:auto;max-height:330px;max-width:100%;margin-top:12px}.rv-mortgage-result table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}
.rv-mortgage-result th,.rv-mortgage-result td{padding:8px;border-bottom:1px solid #ddd5cb;text-align:right;white-space:nowrap}.rv-mortgage-result summary{cursor:pointer;font-weight:600;font-size:14px}
@media(max-width:640px){.rv-finance--open .rv-finance__header{padding:20px}.rv-finance--open .rv-finance__header h2{font-size:25px}.rv-mortgage-result{padding:16px}.rv-mortgage-result>output{font-size:30px}.rv-mortgage-result dl>div{font-size:13px}}
.rv-finance__field select{width:100%;box-sizing:border-box;min-height:48px;padding:10px 14px;border:1px solid #bdb3a7;border-radius:6px;background:#fffdf9;color:#303939;font:inherit;font-size:16px;white-space:normal}
.rv-mortgage-assumptions{display:grid;gap:12px;margin:18px 0;font-size:14px;line-height:1.5}.rv-mortgage-assumptions label{display:flex;align-items:flex-start;gap:10px}.rv-mortgage-assumptions input{flex:0 0 18px;width:18px;height:18px;margin-top:2px;accent-color:#49686b}.rv-mortgage-assumptions [hidden]{display:none!important}

/* R14: architectural editorial composition; shared task surfaces stay compact. */
body[data-rivelio-theme="rivelio-real-estate"] {
  --rv-ink: var(--rv-deep);
  --rv-card-radius: 12px;
  --font-serif: var(--rv-font-display);
  --font-sans: var(--rv-font-body);
  --rv-layer-nav: 30;
  --rv-layer-dialog: 50;
  --rv-layer-feedback: 60;
  --rv-page-h1: clamp(36px, 4.2vw, 60px);
  --rv-section-h2: clamp(32px, 3.4vw, 48px);
  caret-color: var(--rv-focus);
  accent-color: var(--rv-teal);
}
body[data-rivelio-theme] :is(h1,h2,h3) { text-wrap: balance; }
body[data-rivelio-theme] :is(p,dd) { text-wrap: pretty; }
body[data-rivelio-theme] :is(output,td,.rv-catalog-card__price,.rv-offer-card__price) { font-variant-numeric: tabular-nums; }
body[data-rivelio-theme] :is(button,input,select,textarea) { font-family: var(--rv-font-body); }
body[data-rivelio-theme] :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea) {
  border-color: var(--rv-ui-border);
  border-radius: var(--rv-r-md);
  caret-color: var(--rv-focus);
}
body[data-rivelio-theme] ::placeholder { color: var(--rv-muted); opacity: 1; }
body[data-rivelio-theme] :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid var(--rv-focus); outline-offset: 3px;
}
body[data-rivelio-theme] :is(.btn--secondary,.rv-catalog__modes a,.rv-catalog__toolbar nav a,.rv-catalog__chip,.rv-map-filters button,.rv-geo-map__item button,.rv-place__pin) { border-color: var(--rv-ui-border); }
body[data-rivelio-theme] :is(input,select,textarea)[aria-invalid=true] { border-color: var(--rv-danger); }
body[data-rivelio-theme] :is(button,.btn,select,summary) { min-height: 44px; }
body[data-rivelio-theme] button:disabled { opacity: .6; cursor: not-allowed; }
body[data-rivelio-theme] a { text-underline-offset: .22em; }
body[data-rivelio-theme] :is(.rv-plan-choice__list,.rv-map__side,.rv-catalog__filters) {
  scrollbar-width: thin; scrollbar-color: var(--rv-teal) transparent;
}
body[data-rivelio-theme] :is(.rv-catalog-card,.rv-offer-card,.rv-location-card,.rv-service__card) {
  border-radius: var(--rv-card-radius); box-shadow: none;
}
body[data-rivelio-theme] .rv-catalog-card { background: var(--rv-paper); }
body[data-rivelio-theme] .rv-catalog-card__link { overflow: hidden; }
body[data-rivelio-theme] .rv-catalog-card img { aspect-ratio: 1.75; height: auto; object-fit: cover; }
body[data-rivelio-theme] .rv-catalog-card__body { padding: 24px; }
body[data-rivelio-theme] .rv-catalog-card h3 { font-family: var(--rv-font-display); font-size: 28px; line-height: 1.2; margin: 12px 0 16px; }
body[data-rivelio-theme] .rv-catalog-card__location { letter-spacing: .025em; }
body[data-rivelio-theme] .rv-catalog-card__price { border-top: 1px solid var(--rv-border); margin-top: auto; padding-top: 18px; }
body[data-rivelio-theme] .rv-catalog-card__summary { margin-bottom: 24px; }
body[data-rivelio-theme] .rv-catalog__cards--list .rv-catalog-card img { height: 100%; aspect-ratio: auto; }
body[data-rivelio-theme] .rv-catalog__heading > .rv-eyebrow-inline { display: none; }
body[data-rivelio-theme] .rv-catalog__heading h1 { margin-top: 0; }
body[data-rivelio-theme] .rv-catalog__layout { grid-template-columns: 240px minmax(0,1fr); }
body[data-rivelio-theme] .rv-catalog__filters { border: 0; padding: 24px; background: var(--rv-paper); }
body[data-rivelio-theme] .rv-catalog__filters :is(label,legend) { font-size: 14px; }
body[data-rivelio-theme] .rv-catalog__check { min-height: 44px; }
body[data-rivelio-theme] .rv-catalog__toolbar > p { margin-block: 0; }
body[data-rivelio-theme] .rv-catalog__toolbar nav { margin-left: auto; }
body[data-rivelio-theme] .rv-catalog__modes { margin-bottom: 24px; }
body[data-rivelio-theme] .rv-catalog__heading > .rv-freshness { margin-bottom: 32px; }
body[data-rivelio-theme] .rv-phead { margin-bottom: 32px; }
body[data-rivelio-theme] .rv-phead > .rv-eyebrow { display: none; }
body[data-rivelio-theme] .rv-phead .rv-hero__h1 { margin-top: 20px; font-family: var(--rv-font-display); font-size: var(--rv-page-h1); line-height: 1.08; }
body[data-rivelio-theme] .rv-phead .rv-hero__lead { max-width: 75ch; margin-top: 20px; font-size: 18px; line-height: 1.65; }
body[data-rivelio-theme] .rv-detail-hero { gap: 32px; grid-template-columns: minmax(0,1.5fr) minmax(320px,1fr); align-items: start; }
body[data-rivelio-theme] .rv-detail-hero__gallery { height: 480px; }
body[data-rivelio-theme] .rv-detail-hero__gallery--3 { grid-template-rows: repeat(2,minmax(0,1fr)); }
body[data-rivelio-theme] .rv-detail-hero__gallery .rv-ph { min-height: 0; }
body[data-rivelio-theme] .rv-detail-hero__info { background: var(--rv-paper); padding: 28px; border-radius: 12px; }
body[data-rivelio-theme] .rv-detail-hero__title { font-family: var(--rv-font-display); font-size: 34px; line-height: 1.15; }
body[data-rivelio-theme] .rv-detail-hero__price { font-family: var(--rv-font-display); font-size: 42px; line-height: 1.2; }
body[data-rivelio-theme] .rv-detail-hero__thumb { width: 80px; height: 60px; flex: 0 0 80px; }
body[data-rivelio-theme] .rv-gallery__caption { padding-top: 12px; color: var(--rv-muted); font-size: 13px; }
body[data-rivelio-theme] .rv-section__head { margin-bottom: 28px; }
body[data-rivelio-theme] .rv-section__head > .rv-eyebrow { display: none; }
body[data-rivelio-theme] .rv-section__headGrid { align-items: start; }
body[data-rivelio-theme] .rv-section__desc { color: var(--rv-muted); }
body[data-rivelio-theme] .rv-complex-passport { display: grid; grid-template-columns: minmax(220px,.4fr) minmax(0,1fr); gap: 24px 48px; }
body[data-rivelio-theme] .rv-complex-passport > .rv-section__head { grid-column: 1; grid-row: 1 / 4; }
body[data-rivelio-theme] .rv-complex-passport > :not(.rv-section__head) { grid-column: 2; }
body[data-rivelio-theme] .rv-complex-passport .rv-read__body { max-width: 75ch; margin: 0; }
body[data-rivelio-theme] .rv-complex-specs { grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--rv-border); margin: 0; }
body[data-rivelio-theme] .rv-complex-specs > div { border-inline: 0; padding: 20px 16px 20px 0; }
body[data-rivelio-theme] .rv-complex-specs dt { color: var(--rv-muted); font-size: 13px; letter-spacing: .02em; text-transform: none; }
body[data-rivelio-theme] .rv-complex-specs dd { font-size: 16px; line-height: 1.6; }
body[data-rivelio-theme] .rv-complex-rooms { display: flex; flex-wrap: wrap; gap: 12px; border: 0; }
body[data-rivelio-theme] .rv-complex-rooms a { display: grid; gap: 16px; min-width: 180px; flex: 1; padding: 24px; border: 1px solid var(--rv-border); border-radius: 12px; background: var(--rv-paper); }
body[data-rivelio-theme] .rv-complex-rooms a > span:first-child { font: 400 28px/1.2 var(--rv-font-display); }
body[data-rivelio-theme] .rv-offer-card { background: var(--rv-paper); }
body[data-rivelio-theme] .rv-offer-card__description { color: var(--rv-muted); }
body[data-rivelio-theme] .rv-offer-card__main { display: flex; flex-direction: column; }
body[data-rivelio-theme] .rv-offer-card__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rv-border); }
body[data-rivelio-theme] :is(.rv-card__title,.rv-dg__card h3) { font: 400 28px/1.2 var(--rv-font-display); }
body[data-rivelio-theme] .rv-card { border-radius: 12px; box-shadow: none; }
body[data-rivelio-theme] .rv-developer__intro { max-width: none; padding-bottom: 32px; border-bottom: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-developer__intro--with-logo { grid-template-columns: 180px minmax(0,1fr); gap: 40px; align-items: start; }
body[data-rivelio-theme] .rv-developer__intro .rv-eyebrow-inline { display: none; }
body[data-rivelio-theme] .rv-developer__intro .rv-h2 { margin-top: 0; }
body[data-rivelio-theme] .rv-developer__logo { border: 0; min-height: 128px; border-radius: 12px; }
body[data-rivelio-theme] .rv-developer__count { display: block; font: 400 14px/1.5 var(--rv-font-body); color: var(--rv-muted); margin-top: 8px; }
body[data-rivelio-theme] .rv-plan-choice__description { border: 0; background: transparent; padding: 8px 0; }
body[data-rivelio-theme] .rv-plan-choice__image { border: 0; border-radius: 12px; padding: 20px; }
body[data-rivelio-theme] .rv-plan-choice__tab { border-radius: 8px; border-color: transparent; background: transparent; }
body[data-rivelio-theme] .rv-plan-choice__tab:hover { border-color: var(--rv-ui-border); }
body[data-rivelio-theme] .rv-plan-choice__tab.is-on { border-color: var(--rv-teal); background: var(--rv-teal); }
body[data-rivelio-theme] .rv-primary-routes { background: #e4eeeb; border: 0; border-radius: 12px; padding: 28px; }
body[data-rivelio-theme] .rv-surroundings__layout { gap: 32px; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); }
body[data-rivelio-theme] .rv-map-filters { gap: 8px; margin-block: 24px; }
body[data-rivelio-theme] .rv-map-filters button { min-height: 44px; }
body[data-rivelio-theme] .rv-surroundings__list { padding:0 12px 0 0; max-height:480px; }
body[data-rivelio-theme] .rv-place__metric { font-variant-numeric: tabular-nums; }
body[data-rivelio-theme] .rv-finance { background: var(--rv-paper); border: 0; border-radius: 16px; }
body[data-rivelio-theme] .rv-finance__header { border-bottom: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-finance__header .rv-eyebrow-inline { display: none; }
body[data-rivelio-theme] .rv-finance__intro { max-width: 65ch; }
body[data-rivelio-theme] .rv-finance__field small { color: var(--rv-muted); }
body[data-rivelio-theme] .rv-finance__result { border: 0; border-top: 1px solid var(--rv-border); background: #e4eeeb; padding: 28px; border-radius: 12px; }
body[data-rivelio-theme] .rv-mortgage-result { background: #e4eeeb; border: 0; padding: 24px; }
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl { background: var(--rv-paper); border: 0; border-radius: 16px; box-shadow: var(--rv-shadow-1); }
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__main { padding: 32px; }
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__sub { color: var(--rv-muted); max-width: 60ch; }
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__field label { font-weight: 500; }
body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__hint { color: var(--rv-muted); }
body[data-rivelio-theme] .rv-mdl__feedback { border-radius: 8px; padding: 16px; }
body[data-rivelio-theme] .rv-mdl__ok { padding-block: 24px; }
body[data-rivelio-theme] .rv-favorites-list { padding: 0; margin-block: 24px; list-style: none; }
body[data-rivelio-theme] .rv-favorites-list li { padding-block: 16px; border-bottom: 1px solid var(--rv-border); }
body[data-rivelio-theme].portal-shell--city .rv-hero__copy > .rv-eyebrow { display: none; }
body[data-rivelio-theme].portal-shell--city .rv-hero__grid { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 48px; align-items: center; }
body[data-rivelio-theme].portal-shell--city .rv-hero__h1 { font-size: var(--rv-page-h1); line-height: 1.08; }
body[data-rivelio-theme].portal-shell--city .rv-hero__lead { font-size: 18px; line-height: 1.65; max-width: 65ch; }
body[data-rivelio-theme].portal-shell--city .rv-hero__media { grid-template-rows: 320px 180px; }
body[data-rivelio-theme] .rv-hero__fact-v { font-size: 30px; line-height: 1.2; }
body[data-rivelio-theme] .rv-hero__fact-k { text-transform: none; letter-spacing: .01em; font-size: 13px; }
body[data-rivelio-theme] .rv-phead__facts { border: 0; background: var(--rv-paper); border-radius: 12px; }
body[data-rivelio-theme] .rv-phead__fact { padding: 24px; }
body[data-rivelio-theme] .rv-phead__fact-label { text-transform: none; letter-spacing: .02em; }
body[data-rivelio-theme] .rv-phead__photo { border-radius: 12px; }
body[data-rivelio-theme] .rv-living form { border: 0; border-radius: 12px; background: #e4eeeb; }
body[data-rivelio-theme] .rv-read { grid-template-columns: minmax(0,740px) minmax(220px,280px); gap: 64px; justify-content: center; }
body[data-rivelio-theme] .rv-content > .rv-eyebrow-inline { display: none; }
body[data-rivelio-theme] .rv-content > h1 { font-family: var(--rv-font-display); line-height: 1.12; }
body[data-rivelio-theme] .rv-content :is(p,li) { font-size: 18px; line-height: 1.8; }
body[data-rivelio-theme] .rv-content .rv-content__meta { font-size: 13px; gap: 12px; margin-block: 24px 32px; }
body[data-rivelio-theme] .rv-content h2 { margin-block: 48px 20px; }
body[data-rivelio-theme] .rv-fig__ph { border-radius: 12px; overflow: hidden; }
body[data-rivelio-theme] .rv-aside { padding-top: 40px; }
body[data-rivelio-theme] .rv-aside__toc { border: 0; border-top: 1px solid var(--rv-border); border-radius: 0; background: transparent; padding: 24px 0; }
body[data-rivelio-theme] .rv-aside__toc a { display: inline-block; padding-block: 10px; }
body[data-rivelio-theme] .rv-aside__toc a[aria-current] { font-weight: 600; color: var(--rv-ink); }
body[data-rivelio-theme] .rv-content__quote { border: 0; background: transparent; padding: 24px 32px; }
body[data-rivelio-theme] .rv-author { border-radius: 0; border: 0; border-top: 1px solid var(--rv-border); background: transparent; padding: 32px 0; }
body[data-rivelio-theme] .rv-progress { width: 100%; transform: scaleX(0); transform-origin: left; transition: none; }
body[data-rivelio-theme] .rv-service > .rv-muted { font-size: 18px; line-height: 1.7; max-width: 65ch; }
body[data-rivelio-theme] .rv-service__card { padding: 28px; border: 0; border-top: 1px solid var(--rv-border); background: transparent; border-radius: 0; }
body[data-rivelio-theme] .rv-service__card h2 { font-size: 28px; }
body[data-rivelio-theme] .rv-service__card p { font-size: 15px; }
body[data-rivelio-theme] .rv-service__cards { gap: 24px 40px; }
body[data-rivelio-theme] .rv-error-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
body[data-rivelio-theme] .rv-service--error { min-height: 55vh; }
body[data-rivelio-theme] .rv-choice-pin__visual { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
body[data-rivelio-theme] .rv-cmp-card { border-radius: 12px; background: var(--rv-paper); box-shadow: none; }
body[data-rivelio-theme] .rv-cmp-card__title { font-family: var(--rv-font-display); font-size: 28px; }
body[data-rivelio-theme] .rv-cmp-table__k { text-transform: none; letter-spacing: .015em; }
body[data-rivelio-theme] .rv-status { max-width: 760px; padding: 40px; background: var(--rv-paper); border-radius: var(--rv-card-radius); }
body[data-rivelio-theme] .rv-status h2 { margin-bottom: 16px; }
body[data-rivelio-theme] .rv-motion-rule { position: absolute; inset: 0 8px auto; height: 2px; background: var(--rv-teal); transform-origin: left; pointer-events: none; }
.rv-home__search { position: relative; }
.rv-home__architecture { display: none; }
body[data-rivelio-theme] .rv-portal-header { z-index: var(--rv-layer-nav); }
body[data-rivelio-theme] .rv-portal-header .rv-city__options { background: var(--rv-paper); border: 0; border-radius: 12px; box-shadow: var(--rv-shadow-3); }
body[data-rivelio-theme] .rv-portal-footer .rv-foot__top { align-items: center; }
body[data-rivelio-theme] .rv-portal-footer .rv-foot__tag { font-size: 22px; max-width: 360px; line-height: 1.3; }
body[data-rivelio-theme] .rv-portal-footer .rv-foot__description { max-width: 65ch; }
body[data-rivelio-theme] .rv-portal-footer .rv-foot__links a { display: inline-flex; min-height: 44px; align-items: center; }
body[data-rivelio-theme] .rv-portal-footer .rv-foot__links { gap: 6px; }
.rv-navigation-open { overflow: hidden; }
@media(min-width:1101px) {
  body[data-rivelio-theme] .rv-catalog__filters { position: sticky; top: calc(var(--rv-header-height,76px) + 20px); max-height: calc(100dvh - var(--rv-header-height,76px) - 40px); overflow: auto; scrollbar-gutter: stable; }
}
@media(max-width:1100px) {
  body[data-rivelio-theme] .rv-read { grid-template-columns: minmax(0,1fr); }
  body[data-rivelio-theme] .rv-aside { padding-top: 0; }
  body[data-rivelio-theme].portal-shell--city .rv-hero__grid { grid-template-columns: minmax(0,1fr); }
  body[data-rivelio-theme].portal-shell--city .rv-hero__copy { max-width: 75ch; }
  body[data-rivelio-theme] .rv-portal-header .rv-top__drawer { position: fixed; top: var(--rv-header-height,76px); inset-inline: 0; bottom: 0; max-height: none; overflow: auto; padding: 32px var(--rv-gutter); background: var(--rv-paper); border: 0; }
  body[data-rivelio-theme] .rv-top__drawer nav { display: grid; gap: 12px; }
  body[data-rivelio-theme] .rv-top__drawer nav a { font: 400 34px/1.3 var(--rv-font-display); padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--rv-border); }
  body[data-rivelio-theme] .rv-top__drawer-foot { margin-top: 32px; }
  body[data-rivelio-theme] .rv-detail-hero { grid-template-columns: minmax(0,1fr); }
  body[data-rivelio-theme] .rv-detail-hero__info { position: static; }
}
@media(max-width:768px) {
  body[data-rivelio-theme] .rv-content :is(p,li) { font-size: 16px; line-height: 1.75; }
  body[data-rivelio-theme].portal-shell--city .rv-hero__media { grid-template-rows: 240px 140px; }
  body[data-rivelio-theme] .rv-service__card { padding: 24px 0; }
  body[data-rivelio-theme] .rv-complex-passport { display: block; }
  body[data-rivelio-theme] .rv-complex-passport .rv-section__head { margin-bottom: 24px; }
  body[data-rivelio-theme] .rv-complex-specs { grid-template-columns: minmax(0,1fr); }
  body[data-rivelio-theme] .rv-complex-rooms a { min-width: 130px; padding: 20px; }
  body[data-rivelio-theme] .rv-developer__intro--with-logo { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body[data-rivelio-theme] .rv-developer__logo { width: 180px; min-height: 100px; }
  body[data-rivelio-theme] .rv-lead-dialog .rv-mdl__main { padding: 24px; }
  body[data-rivelio-theme] .rv-finance__result { padding: 20px; }
  body[data-rivelio-theme] .rv-catalog__layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body[data-rivelio-theme] .rv-catalog__filters { padding: 18px; }
  body[data-rivelio-theme] .rv-catalog__filters summary { margin-bottom: 0; }
  body[data-rivelio-theme] .rv-catalog__filters[open] summary { margin-bottom: 18px; }
  body[data-rivelio-theme] .rv-detail-hero { gap: 24px; }
  body[data-rivelio-theme] .rv-detail-hero__gallery { height: 340px; }
  body[data-rivelio-theme] .rv-phead .rv-hero__lead { font-size: 16px; }
  body[data-rivelio-theme] .rv-detail-hero__info { padding: 22px; }
  body[data-rivelio-theme] .rv-detail-hero__title { font-size: 30px; }
  body[data-rivelio-theme] .rv-detail-hero__price { font-size: 36px; }
  body[data-rivelio-theme] .rv-catalog-card h3 { font-size: 26px; }
  body[data-rivelio-theme] .rv-catalog-card__body { padding: 20px; }
  body[data-rivelio-theme] .rv-status { padding: 24px; }
}
@media(max-width:700px) {
  body[data-rivelio-theme] .rv-detail-hero__gallery { grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); height: 300px; }
  body[data-rivelio-theme] .rv-detail-hero__gallery [data-gallery-main] { grid-column: 1; grid-row: 1; }
  body[data-rivelio-theme] .rv-detail-hero__gallery [data-gallery-side] { display: none; }
}
@media(max-width:560px) {
  .rv-home__hero::before,.rv-home__hero::after { display: none; }
  .rv-home__hero { background: var(--rv-ivory); min-height: 0; }
  .rv-home__hero .rv-home__hero-inner { padding-block: 32px 28px; }
  .rv-home__hero h1 { font-size: 44px; line-height: 1.05; margin-top: 0; margin-bottom: 20px; }
  .rv-home__hero p { font-size: 16px; margin-bottom: 20px; }
  .rv-home__architecture { display: block; width: 100%; height: 140px; object-fit: cover; object-position: 62% 50%; border-radius: 10px; margin-bottom: 20px; }
  .rv-home__search label { padding-block: 8px; min-height: 48px; }
}
@media(prefers-reduced-motion:reduce) {
  body[data-rivelio-theme] { scroll-behavior: auto; }
  body[data-rivelio-theme] *,body[data-rivelio-theme] *::before,body[data-rivelio-theme] *::after { animation: none!important; transition-duration: 0s!important; scroll-behavior: auto!important; }
}

body[data-rivelio-theme] .rv-gallery__status { display:block; min-height:0; font-size:14px; color:var(--rv-muted); }
body[data-rivelio-theme] .rv-gallery__status:empty { display:none; }

body[data-rivelio-theme] .rv-place__note { color:var(--rv-muted); }
body[data-rivelio-theme] .rv-gallery__controls button { min-width:44px; }

body[data-rivelio-theme] .rv-help { display:block; padding:40px; border-radius:16px; }
body[data-rivelio-theme] .rv-help .rv-eyebrow-inline { display:none; }
body[data-rivelio-theme] .rv-help .rv-h2 { font-size:36px; line-height:1.15; margin:0 0 20px; max-width:30ch; }
body[data-rivelio-theme] .rv-help__intro { margin-bottom:32px; }
body[data-rivelio-theme] .rv-help__intro>p { max-width:65ch; }
body[data-rivelio-theme] .rv-help__actions { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
body[data-rivelio-theme] .rv-help__actions>div { border:0; padding:0; display:flex; flex-direction:column; align-items:start; }
body[data-rivelio-theme] .rv-help__actions .btn { margin-top:auto; }
@media(max-width:768px) { body[data-rivelio-theme] .rv-help { padding:28px 24px; } body[data-rivelio-theme] .rv-help .rv-h2 { font-size:32px; } body[data-rivelio-theme] .rv-help__actions { grid-template-columns:1fr; } }
body[data-rivelio-theme] .rv-top__fallback { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px var(--rv-gutter,24px); max-width:1416px; margin:auto; flex-wrap:wrap; }
body[data-rivelio-theme] .rv-top__fallback nav { display:flex; gap:24px; }
body[data-rivelio-theme] .rv-top__fallback a { display:inline-flex; align-items:center; min-height:44px; }
body[data-rivelio-theme] .rv-gallery__fallback { display:flex; flex-direction:column; gap:12px; padding-block:16px; }

body[data-rivelio-theme] .rv-plan-choice__state { color:var(--rv-muted); font-size:14px; margin-block:0 16px; }
body[data-rivelio-theme] .rv-plan-choice__state:empty { display:none; }

body[data-rivelio-theme] .rv-choice-map { border-radius:12px; height:480px; }
body[data-rivelio-theme] .rv-choice-pin--place { width:44px; min-width:44px; height:44px; min-height:44px; display:flex; align-items:center; justify-content:center; padding:10px; }
body[data-rivelio-theme] .rv-choice-map .maplibregl-ctrl-group,body[data-rivelio-theme] .rv-choice-map .maplibregl-ctrl-group button { width:44px; }
body[data-rivelio-theme] .rv-choice-map .maplibregl-ctrl-group button { height:44px; }
body[data-rivelio-theme] .rv-surroundings__list>section>h3 { font:400 28px/1.2 var(--rv-font-display); margin-block:0 24px; }
body[data-rivelio-theme] .rv-place { padding-block:20px; }
body[data-rivelio-theme] .rv-place h3 { font:600 15px/1.5 var(--rv-font-body); }
body[data-rivelio-theme] .rv-place__route { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
body[data-rivelio-theme] .rv-map-source { color:var(--rv-muted); font-size:13px; }
body[data-rivelio-theme] .rv-map-source summary { min-height:44px; }
body[data-rivelio-theme] .rv-destinations { grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
body[data-rivelio-theme] .rv-climate-axis { font-family:var(--rv-font-body); }
body[data-rivelio-theme] .rv-climate__months button { min-width:44px; border-color:var(--rv-ui-border); }
@media(max-width:800px) { body[data-rivelio-theme] .rv-surroundings__layout { grid-template-columns:1fr; } body[data-rivelio-theme] .rv-surroundings__list { max-height:none; padding:0; } body[data-rivelio-theme] .rv-choice-map { height:360px; } body[data-rivelio-theme] .rv-destinations { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:480px) { body[data-rivelio-theme] .rv-choice-map { height:320px; } body[data-rivelio-theme] .rv-destinations { grid-template-columns:1fr; } }
/* Finish review: keep task identity and action ahead of extended detail. */
body[data-rivelio-theme] .rv-ui-arrow { display:inline-block; vertical-align:middle; flex:none; width:18px; height:18px; margin-inline-start:6px; }
body[data-rivelio-theme] .rv-gallery__controls .rv-ui-arrow { margin:0; }
body[data-rivelio-theme] .rv-detail-intro { max-width:var(--rv-max); margin:32px auto 0; padding:0 var(--rv-gutter); font-size:18px; line-height:1.65; }
body[data-rivelio-theme] .rv-detail-intro > p { max-width:75ch; margin:0; }
body[data-rivelio-theme] .rv-detail-hero__summary { min-width:0; }
body[data-rivelio-theme] .rv-cmp-card > .rv-cmp-card__title { margin:0; padding:24px; }
body[data-rivelio-theme] .rv-content__summary { border-left:0; border:1px solid var(--rv-border); border-radius:12px; background:var(--rv-paper); }
@media(max-width:1100px) {
 body[data-rivelio-theme] .rv-detail-hero { grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important; gap:24px; }
 body[data-rivelio-theme] .rv-detail-hero__gallery { height:320px; }
 body[data-rivelio-theme] .rv-detail-hero__info { padding:20px; }
 body[data-rivelio-theme] .rv-detail-hero__cta { margin-top:16px; }
 body[data-rivelio-theme] .rv-detail-hero__secondary { margin-top:24px; }
 body[data-rivelio-theme] .rv-cmp-pair .rv-cmp-hero__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:16px; }
 body[data-rivelio-theme] .rv-cmp-pair .rv-cmp-hero__grid > article:last-child { grid-row:auto; }
 body[data-rivelio-theme] .rv-cmp-vs { display:none; }
 body[data-rivelio-theme] .rv-cmp-card__photo { height:150px; }
 body[data-rivelio-theme] .rv-cmp-card__photo img { height:100%; object-fit:cover; }
 body[data-rivelio-theme] .rv-cmp-card > .rv-cmp-card__title { font-size:28px; padding:16px; min-height:100px; }
 body[data-rivelio-theme] .rv-cmp-card__body { padding:16px; }
 body[data-rivelio-theme] .rv-cmp-card__kpis { display:block; }
}
@media(max-width:700px) {
 body[data-rivelio-theme] .rv-detail-hero { grid-template-columns:minmax(0,1fr)!important; gap:20px; }
 body[data-rivelio-theme] .rv-detail-hero__info:has(.rv-detail-hero__summary) { display:contents; }
 body[data-rivelio-theme] .rv-detail-hero__summary { grid-row:1; background:var(--rv-paper); padding:20px; border-radius:12px; }
 body[data-rivelio-theme] .rv-detail-hero__media { grid-row:2; }
 body[data-rivelio-theme] .rv-detail-hero__secondary { grid-row:3; margin:0; padding:20px; }
 body[data-rivelio-theme] .rv-detail-hero__gallery { height:180px; }
 body[data-rivelio-theme].portal-shell--complex .rv-detail-hero__title { display:none; }
 body[data-rivelio-theme] .rv-detail-intro { font-size:16px; }
 body[data-rivelio-theme] .rv-cmp-card__photo { height:100px; }
 body[data-rivelio-theme] .rv-cmp-card > .rv-cmp-card__title { font-size:26px; padding:12px; min-height:112px; }
 body[data-rivelio-theme] .rv-cmp-card__body { padding:12px; }
 body[data-rivelio-theme] .rv-cmp-card__body select { width:100%; font-size:14px; }
 body[data-rivelio-theme] .rv-cmp-card__kpi-v { font-size:20px; }
}

body[data-rivelio-theme] .rv-plan-choice__number { color:var(--rv-muted); }
body[data-rivelio-theme] .rv-plan-choice__tab.is-on .rv-plan-choice__number { color:inherit; }
body[data-rivelio-theme] .rv-cmp-winner { color:var(--rv-teal); display:inline-flex; vertical-align:middle; }
body[data-rivelio-theme] .rv-cmp-cta p { color:var(--rv-ivory); }

/* The route pin is a control, so its boundary uses the interactive contrast role. */
body[data-rivelio-theme] .rv-place .rv-place__pin { border-color: var(--rv-ui-border); }
/* Dated primary-source drawings retain their aspect ratio on narrow screens. */
.rv-service--dated-source-lot .rv-dated-plan { margin: 24px 0; }
.rv-service--dated-source-lot .rv-dated-plan img { width: 100%; height: auto; object-fit: contain; }
.rv-service--dated-source-lot .rv-dated-plan figcaption { margin-top: 12px; }

/* Reviewed developer pages reuse the approved portal cards and typography. */
.rv-service--developer,.rv-service--developer-index{max-width:1280px}
.rv-service--developer .rv-catalog-card__link{text-decoration:none}
.rv-service--developer .rv-passport{margin:0 0 24px}
.rv-service--developer .rv-passport>div{padding:16px 0;border-bottom:1px solid var(--rv-border,#ded6cc)}
.rv-service--developer .rv-passport dt{font-weight:500}
.rv-service--developer .rv-passport dd{margin:8px 0 0;max-width:70ch}
.rv-service--developer .rv-service__sources{margin:28px 0}
.rv-service--developer .rv-service__sources a{overflow-wrap:anywhere}
/* Dated programme comparison and the existing preliminary calculator. */
.rv-finance__mode{grid-column:1/-1}
.rv-service--mortgage{max-width:1120px}
.rv-mortgage__lead,.rv-mortgage__source-note,.rv-mortgage__answer p,.rv-mortgage__intents p,.rv-mortgage__programme p,.rv-mortgage__programme li{max-width:72ch}
.rv-mortgage__nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin:32px 0 24px;padding:16px 0;border-block:1px solid var(--rv-border,#ded6cc)}
.rv-mortgage__nav [aria-current]{font-weight:600}
.rv-mortgage__source-note{font-size:15px;line-height:1.6;color:var(--rv-text-secondary,#62574d)}
.rv-mortgage__intents>section,.rv-mortgage__answer{margin:36px 0}
.rv-mortgage__programme,.rv-mortgage__estimate{margin-top:48px;padding-top:28px;border-top:1px solid var(--rv-border,#ded6cc)}
.rv-mortgage__programme h3{font-family:var(--font-body,'Golos Text',sans-serif);font-size:18px;font-weight:600;margin:28px 0 12px}
.rv-mortgage__terms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 32px;margin:24px 0}
.rv-mortgage__terms dt{font-size:14px;color:var(--rv-text-secondary,#62574d)}
.rv-mortgage__terms dd{margin:6px 0 0;line-height:1.55;font-variant-numeric:tabular-nums}
.rv-mortgage__estimate{scroll-margin-top:110px}
@media(max-width:600px){.rv-mortgage__terms{grid-template-columns:1fr;gap:18px}.rv-mortgage__nav{gap:12px 18px}.rv-mortgage__programme,.rv-mortgage__estimate{margin-top:36px}}

.rv-schedule-inputs>section{margin:24px 0}.rv-schedule-inputs h4{font:600 16px var(--font-body,'Golos Text',sans-serif)}
.rv-finance .rv-schedule__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;border:0;border-bottom:1px solid var(--rv-border,#ded6cc);padding:16px 0 24px;margin:16px 0;min-width:0}
.rv-schedule__row legend{font-size:15px;font-weight:600;padding:0 0 12px}.rv-schedule__row label{display:block;font-size:14px;font-weight:500;margin-bottom:6px}.rv-schedule__row input,.rv-schedule__row select{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #758079;border-radius:6px;font:inherit;background:#fffdf9;color:#293b36}.rv-schedule__row button{justify-self:start;align-self:end}
@media(max-width:600px){.rv-finance .rv-schedule__row{grid-template-columns:1fr}}
body[data-rivelio-theme] .rv-favorites-list li > div { flex: 1; min-width: 0; }
body[data-rivelio-theme] .rv-favorites-list [data-collection-remove] { flex: 0 0 auto; white-space: nowrap; min-height: 44px; }
body[data-rivelio-theme] .rv-personal-compare-action { display: grid; gap: 8px; justify-items: start; margin-block: 12px; }
body[data-rivelio-theme] [data-compare-feedback] { max-width: 44ch; }
body[data-rivelio-theme] .rv-personal-compare-scroll { max-width: 100%; max-height: 70vh; max-height: min(70svh, 760px); overflow: auto; margin-block: 24px; }
body[data-rivelio-theme] .rv-personal-compare-scroll table { border-collapse: separate; border-spacing: 0; width: max-content; min-width: 100%; }
body[data-rivelio-theme] .rv-personal-compare-scroll caption { text-align: start; margin-block-end: 16px; }
body[data-rivelio-theme] .rv-personal-compare-scroll th,
body[data-rivelio-theme] .rv-personal-compare-scroll td { min-width: 220px; max-width: 260px; padding: 16px 20px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rv-border); overflow-wrap: anywhere; }
body[data-rivelio-theme] .rv-personal-compare-scroll th:first-child { position: sticky; left: 0; z-index: 1; min-width: 160px; max-width: 180px; background: var(--rv-bg, #f5f1e9); }
body[data-rivelio-theme] .rv-personal-compare-scroll thead th { position: sticky; top: 0; z-index: 2; background: var(--rv-bg, #f5f1e9); }
body[data-rivelio-theme] .rv-personal-compare-scroll thead th:first-child { z-index: 3; }
body[data-rivelio-theme] .rv-personal-compare-scroll thead button { display: block; margin-block-start: 12px; white-space: nowrap; min-height: 44px; }
@media (max-width: 600px) { body[data-rivelio-theme] .rv-personal-compare-scroll th:first-child { min-width: 124px; max-width: 140px; padding-inline: 12px; } }
body[data-rivelio-theme] .rv-service--personal-compare { max-width: 1360px; }
body[data-rivelio-theme] .rv-saved-search-widget { margin-block: 20px; max-width: 720px; }
body[data-rivelio-theme] .rv-saved-search-widget form,
body[data-rivelio-theme] .rv-saved-search-item form { display: grid; gap: 12px; margin-block: 20px; max-width: 680px; }
body[data-rivelio-theme] .rv-saved-search-widget label,
body[data-rivelio-theme] .rv-saved-search-item label { display: block; margin-block-end: 6px; }
body[data-rivelio-theme] .rv-saved-search-widget input,
body[data-rivelio-theme] .rv-saved-search-widget select,
body[data-rivelio-theme] .rv-saved-search-item input { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--rv-border); border-radius: 10px; color: inherit; background: transparent; font: inherit; }
body[data-rivelio-theme] .rv-saved-search-item { padding-block: 24px; border-bottom: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-saved-search-item h2 { overflow-wrap: anywhere; }
body[data-rivelio-theme] .rv-saved-search-widget form > button,
body[data-rivelio-theme] .rv-saved-search-item form > button { justify-self: start; }

/* Private named collections inherit portal fields, buttons and typography. */
body[data-rivelio-theme] .rv-named-collection-control { margin: 16px 20px; max-width: 100%; font-size: .875rem; }
body[data-rivelio-theme] .rv-named-collection-control summary,
body[data-rivelio-theme] .rv-named-create summary { cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
body[data-rivelio-theme] .rv-named-collection-control form,
body[data-rivelio-theme] .rv-named-create form,
body[data-rivelio-theme] .rv-named-collection > form { display: grid; gap: 12px; margin-block: 20px; max-width: 680px; }
body[data-rivelio-theme] .rv-named-collection-control label,
body[data-rivelio-theme] .rv-named-create label,
body[data-rivelio-theme] .rv-named-collection label { display: grid; gap: 8px; }
body[data-rivelio-theme] .rv-named-collection-control input,
body[data-rivelio-theme] .rv-named-collection-control select,
body[data-rivelio-theme] .rv-named-create input,
body[data-rivelio-theme] .rv-named-collection input { width: 100%; min-width: 0; font: inherit; color: inherit; background: transparent; border: 1px solid var(--rv-border); border-radius: 10px; padding: 10px 12px; }
body[data-rivelio-theme] .rv-named-collection-control button,
body[data-rivelio-theme] .rv-named-create button,
body[data-rivelio-theme] .rv-named-collection form button { justify-self: start; }
body[data-rivelio-theme] .rv-named-collection-control [hidden] { display: none !important; }
body[data-rivelio-theme] .rv-named-create { margin-top: 32px; }
body[data-rivelio-theme] .rv-named-collection { padding-block: 32px; border-bottom: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-named-collection h2 { overflow-wrap: anywhere; }
body[data-rivelio-theme] .rv-named-items { list-style: none; padding: 0; margin-block: 24px; }
body[data-rivelio-theme] .rv-named-items li { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-block: 16px; border-top: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-named-items li > div { min-width: 0; overflow-wrap: anywhere; }
body[data-rivelio-theme] .rv-named-items button { flex: none; }
body[data-rivelio-theme] .rv-named-items p { margin-block: 6px; }
body[data-rivelio-theme] .rv-detail-hero__secondary > .rv-named-collection-control { margin: 16px 0; }
body[data-rivelio-theme] .rv-lead-personal { min-width: 0; padding-block: 16px; border-block: 1px solid var(--rv-border); }
body[data-rivelio-theme] .rv-lead-personal h3 { margin: 0 0 12px; }
body[data-rivelio-theme] .rv-lead-personal p { line-height: 1.5; }
body[data-rivelio-theme] .rv-lead-personal dl { display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 2fr); gap: 6px 12px; margin-block: 16px; font-size: .875rem; }
body[data-rivelio-theme] .rv-lead-personal dd { margin: 0; }
body[data-rivelio-theme] .rv-lead-personal ul { padding-inline-start: 20px; line-height: 1.5; }
body[data-rivelio-theme] .rv-lead-personal li { margin-block: 8px; }
body[data-rivelio-theme] .rv-lead-personal,
body[data-rivelio-theme] [data-rivelio-lead-receipt] { overflow-wrap: anywhere; }
body[data-rivelio-theme] .rv-lead-personal [hidden] { display: none !important; }
@media (max-width: 480px) {
 body[data-rivelio-theme] .rv-named-items li { flex-wrap: wrap; }
 body[data-rivelio-theme] .rv-named-collection-control button { max-width: 100%; white-space: normal; }
}

/* Building roster and dated facts extend the existing property dossier. */
.rv-dossier{margin-block:32px;max-width:100%}
.rv-dossier>h3{margin:0 0 12px;font-size:28px;line-height:1.2}
.rv-dossier>p{max-width:70ch}
.rv-dossier__scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.rv-dossier__table{width:100%;min-width:680px;border-collapse:collapse;font-size:16px;line-height:1.55;font-variant-numeric:tabular-nums}
.rv-dossier__table th,.rv-dossier__table td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--rv-border);overflow-wrap:break-word}
.rv-dossier__table thead th{font-weight:500;color:var(--rv-muted)}
.rv-dossier__table tbody th{font-weight:500;min-width:140px}
.rv-dossier__table th:first-child{padding-left:0}
.rv-dossier__table td:last-child{padding-right:0;min-width:160px}
.rv-dossier__table a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
.rv-dossier__table .rv-dossier__source{text-decoration:underline}
.rv-dossier__scroll:focus-visible{outline:2px solid var(--rv-focus);outline-offset:4px}
.rv-dossier__scroll-hint{display:none}
.rv-dossier__history{margin-top:24px;border-top:1px solid var(--rv-border)}
.rv-dossier__history summary{padding:16px 0;cursor:pointer;min-height:44px}
.rv-dossier__history li{margin-block:12px;max-width:70ch}
@media(max-width:700px){.rv-dossier__scroll-hint{display:block;font-size:14px;color:var(--rv-muted)}.rv-dossier__table{min-width:680px}.rv-dossier>h3{font-size:26px}}

/* Site-plan geometry belongs to the exact uncropped image canvas. */
.rv-site-plan{margin-block:40px;max-width:100%}
.rv-site-plan>h3{margin:0 0 20px;font-size:28px;line-height:1.2}
.rv-site-plan__figure{margin:0;min-width:0}
.rv-site-plan__figure h4{margin:0 0 12px;font-size:20px}
.rv-site-plan__help,.rv-site-plan__status,.rv-site-plan figcaption>p{max-width:70ch}
.rv-site-plan__canvas{position:relative;max-width:100%;background:var(--rv-bg);isolation:isolate}
.rv-site-plan__canvas>img{display:block;width:100%;height:auto;object-fit:contain}
.rv-site-plan__canvas>[data-site-plan-overlay]{position:absolute;inset:0;pointer-events:none}
.rv-site-plan [hidden]{display:none!important}
.rv-site-plan__canvas svg{display:block;width:100%;height:100%;overflow:hidden}
.rv-site-plan__target{pointer-events:all;cursor:pointer;outline:none}
.rv-site-plan__target circle,.rv-site-plan__target polygon{fill:var(--rv-teal);fill-opacity:.22;stroke:var(--rv-ink);stroke-width:2;transition:fill-opacity 140ms ease-out,stroke-width 140ms ease-out}
.rv-site-plan__target:hover circle,.rv-site-plan__target:hover polygon,.rv-site-plan__target:focus-visible circle,.rv-site-plan__target:focus-visible polygon,.rv-site-plan__target.is-highlighted circle,.rv-site-plan__target.is-highlighted polygon{fill-opacity:.6;stroke-width:4}
.rv-site-plan__links{list-style:none;padding:0;margin:16px 0;display:flex;flex-wrap:wrap;gap:8px 24px}
.rv-site-plan__links a,.rv-site-plan__full,.rv-site-plan__continue a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}
.rv-site-plan__links a:focus-visible,.rv-site-plan__full:focus-visible,.rv-site-plan__continue a:focus-visible,.rv-site-plan summary:focus-visible{outline:2px solid var(--rv-focus);outline-offset:4px}
.rv-site-plan__links [data-site-plan-highlight]{text-decoration:underline;text-decoration-thickness:2px}
.rv-site-plan__status{margin:12px 0}
.rv-site-plan__version{padding-block:16px;border-top:1px solid var(--rv-border)}
.rv-site-plan__version>summary{cursor:pointer;min-height:44px;font-size:20px;padding-block:8px}
.rv-site-plan__notice{padding-block:12px}
@media(prefers-reduced-motion:reduce){.rv-site-plan__target circle,.rv-site-plan__target polygon{transition:none}}

/* Versioned documents use the existing legal section and typography. */
.rv-managed-documents{margin-top:32px;min-width:0}
.rv-document{padding:24px 0;border-bottom:1px solid var(--line);min-width:0}
.rv-document h4{margin:0 0 8px;overflow-wrap:anywhere}
.rv-document__scope{margin:0 0 16px;color:var(--teal)}
.rv-document__meta{margin:0 0 16px}
.rv-document__meta>div{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(0,2fr);gap:12px;padding:6px 0}
.rv-document__meta dt{color:var(--muted)}
.rv-document__meta dd{margin:0;overflow-wrap:anywhere}
.rv-document__download{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;color:var(--teal);text-decoration:underline;text-underline-offset:4px}
.rv-document__notice{padding:16px 0;color:var(--muted)}
@media(max-width:600px){.rv-document__meta>div{grid-template-columns:1fr;gap:3px}.rv-document{padding:20px 0}}
