:root {
    --luxe-ivory: #f5f2eb;
    --luxe-paper: #fbf8f2;
    --luxe-ink: #0f1722;
    --luxe-muted: #5c6878;
    --luxe-teal: #0d766c;
    --luxe-deep: #0a3942;
    --luxe-bronze: #b58a54;
    --luxe-border: rgba(15, 23, 42, 0.08);
    --luxe-shadow-soft: 0 24px 70px rgba(10, 18, 32, 0.08);
    --luxe-shadow-strong: 0 30px 90px rgba(10, 18, 32, 0.14);
    --luxe-frame-width: min(1480px, calc(100vw - clamp(18px, 4vw, 56px)));
}

/* Stage 22A: public homepage premium visual rescue.
   21st.dev structure references: hero, input, tabs, cards, map, and footer categories.
   Uiverse adaptations: scoped glass list card, pill button, search input surface, shiny chip. */
body.hns-home-premium {
    --hns-home-navy: #08131f;
    --hns-home-navy-2: #10283a;
    --hns-home-emerald: #0c6f62;
    --hns-home-emerald-2: #10a387;
    --hns-home-gold: #c39a5d;
    --hns-home-ivory: #f8f3e8;
    --hns-home-paper: rgba(255, 253, 248, 0.96);
    --hns-home-line: rgba(8, 19, 31, 0.11);
    --hns-home-muted: #5c6874;
    --hns-home-shadow: 0 28px 80px rgba(8, 19, 31, 0.13);
    --hns-home-shadow-strong: 0 34px 100px rgba(8, 19, 31, 0.18);
    background:
        radial-gradient(circle at 8% 8%, rgba(195, 154, 93, 0.18), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(12, 111, 98, 0.14), transparent 32%),
        linear-gradient(180deg, #f8f4eb 0%, #f4efe4 48%, #edf3ef 100%);
}

body.hns-home-premium main.site-main-shell {
    max-width: min(1560px, calc(100vw - clamp(14px, 3.4vw, 52px)));
    padding-top: clamp(1.1rem, 2vw, 1.75rem);
}

body.hns-home-premium .site-navbar {
    width: min(1560px, calc(100vw - clamp(14px, 3.4vw, 52px)));
    border-radius: 1.45rem;
    background:
        linear-gradient(135deg, rgba(8, 19, 31, 0.97), rgba(15, 56, 62, 0.93)),
        radial-gradient(circle at 82% 18%, rgba(195, 154, 93, 0.28), transparent 34%);
    box-shadow: 0 26px 86px rgba(5, 11, 19, 0.26);
}

body.hns-home-premium .site-navbar__brand-badge {
    width: 58px;
    height: 58px;
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(195, 154, 93, 0.34));
}

body.hns-home-premium .site-navbar__brand-text {
    font-size: clamp(1.05rem, 1vw + 0.82rem, 1.42rem);
    letter-spacing: -0.03em;
}

body.hns-home-premium .site-navbar__brand-meta {
    color: rgba(248, 243, 232, 0.74);
    letter-spacing: 0.16em;
}

body.hns-home-premium .site-navbar .nav-link,
body.hns-home-premium .site-navbar .auth-nav-btn,
body.hns-home-premium .site-navbar .language-switcher-toggle,
body.hns-home-premium .site-navbar .language-switcher-button,
body.hns-home-premium .site-navbar .btn {
    min-height: 46px;
    padding: 0.7rem 1.05rem;
    border-radius: 999px;
    font-weight: 850;
}

body.hns-home-premium .site-navbar .site-nav-list--public .auth-nav-btn.btn-light {
    color: var(--hns-home-navy);
    background: linear-gradient(135deg, #fffaf0, #ecd6ac);
    box-shadow: 0 16px 34px rgba(195, 154, 93, 0.24);
}

body.hns-home-premium .map-search-page {
    padding-top: 0;
    overflow: hidden;
    contain: paint;
}

body.hns-home-premium .hns-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(430px, 52vw, 650px);
    margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
    padding: clamp(1.4rem, 3.5vw, 3.8rem);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: clamp(2rem, 4vw, 3.4rem);
    background:
        radial-gradient(circle at 78% 18%, rgba(195, 154, 93, 0.34), transparent 32%),
        radial-gradient(circle at 18% 82%, rgba(16, 163, 135, 0.24), transparent 30%),
        linear-gradient(135deg, rgba(8, 19, 31, 0.98) 0%, rgba(11, 42, 55, 0.98) 54%, rgba(10, 93, 78, 0.94) 100%);
    color: #fffaf0;
    box-shadow: var(--hns-home-shadow-strong);
}

body.hns-home-premium .hns-home-hero::before,
body.hns-home-premium .hns-home-hero::after {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

body.hns-home-premium .hns-home-hero::before {
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 32%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 88px);
    opacity: 0.78;
}

body.hns-home-premium .hns-home-hero::after {
    right: -7%;
    bottom: -18%;
    width: min(48vw, 660px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 250, 240, 0.12), transparent 60%);
}

body.hns-home-premium .hns-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: center;
    max-width: none;
    margin: 0;
}

body.hns-home-premium .hns-home-hero__content {
    display: grid;
    gap: clamp(1rem, 2vw, 1.35rem);
    max-width: 830px;
}

body.hns-home-premium .hns-ui-glass-chip,
body.hns-home-premium .hns-ui-section-kicker {
    position: relative;
    width: fit-content;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f5d9a6;
    box-shadow: 0 8px 28px rgba(5, 11, 19, 0.16);
    backdrop-filter: blur(12px);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.hns-home-premium .hns-ui-glass-chip::after {
    content: '';
    position: absolute;
    top: -7px;
    right: 12px;
    width: 19px;
    height: 19px;
    background:
        linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.75) 50%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.75) 50%, transparent 52%);
    opacity: 0.8;
    transform: rotate(-18deg);
}

body.hns-home-premium .hns-home-hero__title {
    max-width: 12ch;
    color: #fffaf0;
    font-size: clamp(3.15rem, 7.3vw, 7.5rem);
    font-weight: 800;
    letter-spacing: -0.075em;
    line-height: 0.86;
    text-wrap: balance;
}

body.hns-home-premium .hns-home-hero__copy {
    max-width: 66ch;
    color: rgba(255, 250, 240, 0.78);
    font-size: clamp(1.02rem, 0.9rem + 0.5vw, 1.28rem);
    font-weight: 650;
    line-height: 1.75;
}

body.hns-home-premium .hns-home-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

body.hns-home-premium .hns-home-hero__signals span {
    padding: 0.78rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 250, 240, 0.88);
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

body.hns-home-premium .hns-home-hero__visual {
    position: relative;
    min-height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 2.4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        radial-gradient(circle at 50% 46%, rgba(16, 163, 135, 0.22), transparent 42%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 30px 80px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

body.hns-home-premium .hns-home-hero__orbit {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 48% 52% 44% 56%;
    background:
        radial-gradient(circle at 47% 15%, #f5d9a6 0 5px, transparent 6px),
        radial-gradient(circle at 22% 46%, #10a387 0 5px, transparent 6px),
        radial-gradient(circle at 68% 54%, #fffaf0 0 4px, transparent 5px),
        radial-gradient(circle at 42% 78%, #c39a5d 0 5px, transparent 6px),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
    transform: rotate(-11deg);
}

body.hns-home-premium .hns-home-hero__orbit::before {
    content: '';
    position: absolute;
    inset: 18%;
    border: 1px dashed rgba(255, 250, 240, 0.22);
    border-radius: 55% 45% 52% 48%;
}

body.hns-home-premium .hns-home-hero__market-card {
    position: absolute;
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.4rem;
    background: rgba(255, 250, 240, 0.13);
    color: #fffaf0;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

body.hns-home-premium .hns-home-hero__market-card span {
    color: #f5d9a6;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.hns-home-premium .hns-home-hero__market-card strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    letter-spacing: -0.045em;
    line-height: 0.98;
}

body.hns-home-premium .hns-home-hero__market-card small {
    color: rgba(255, 250, 240, 0.72);
    font-weight: 700;
    line-height: 1.5;
}

body.hns-home-premium .hns-home-hero__market-card--primary {
    right: 8%;
    bottom: 10%;
    width: min(76%, 310px);
}

body.hns-home-premium .hns-home-hero__market-card--stat {
    top: 10%;
    left: 9%;
    min-width: 150px;
}

body.hns-home-premium .hns-home-hero__market-card--stat span {
    color: #fffaf0;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 2.4rem;
    letter-spacing: -0.06em;
    line-height: 0.9;
}

body.hns-home-premium .hns-home-hero__market-card--routes {
    top: 34%;
    right: 8%;
    display: flex;
    flex-wrap: wrap;
    max-width: 210px;
    gap: 0.45rem;
}

body.hns-home-premium .hns-home-hero__market-card--routes span {
    padding: 0.45rem 0.6rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fffaf0;
    font-size: 0.72rem;
}

body.hns-home-premium .hns-home-command {
    position: relative;
    overflow: hidden;
    margin-bottom: clamp(1.35rem, 2.8vw, 2.25rem);
    padding: clamp(1rem, 2.4vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: clamp(1.7rem, 3vw, 2.45rem);
    background:
        radial-gradient(circle at 8% 8%, rgba(195, 154, 93, 0.16), transparent 30%),
        linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(240, 247, 243, 0.94));
    box-shadow: var(--hns-home-shadow);
    backdrop-filter: blur(22px);
}

body.hns-home-premium .hns-home-command__intro {
    display: grid;
    gap: 0.65rem;
    max-width: 820px;
}

body.hns-home-premium .hns-home-command__title,
body.hns-home-premium .hns-home-section-heading__title,
body.hns-home-premium .hns-property-showcase__title {
    color: var(--hns-home-navy);
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(1.8rem, 1.35rem + 2.2vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.96;
    text-wrap: balance;
}

body.hns-home-premium .hns-home-command__copy,
body.hns-home-premium .hns-home-section-heading__copy,
body.hns-home-premium .hns-property-showcase__copy {
    max-width: 68ch;
    color: var(--hns-home-muted);
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.08rem);
    font-weight: 650;
    line-height: 1.7;
}

body.hns-home-premium .hns-home-command .hns-ui-section-kicker,
body.hns-home-premium .hns-home-section-heading .hns-ui-section-kicker,
body.hns-home-premium .hns-property-showcase .hns-ui-section-kicker {
    border-color: rgba(12, 111, 98, 0.16);
    background: rgba(12, 111, 98, 0.08);
    color: #074e45;
    box-shadow: none;
}

body.hns-home-premium .hns-home-intent__grid,
body.hns-home-premium .search-method-band__grid {
    gap: clamp(0.8rem, 1.6vw, 1.1rem);
}

body.hns-home-premium .hns-ui-segment {
    min-height: 112px;
    padding: clamp(1rem, 1.4vw, 1.25rem);
    border: 1px solid rgba(8, 19, 31, 0.1);
    border-radius: 1.45rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 235, 0.92));
    color: var(--hns-home-navy);
    box-shadow: 0 14px 34px rgba(8, 19, 31, 0.08);
}

body.hns-home-premium .hns-ui-segment::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 48%);
    pointer-events: none;
}

body.hns-home-premium .hns-ui-segment:hover,
body.hns-home-premium .hns-ui-segment:focus-visible,
body.hns-home-premium .hns-ui-segment.is-active {
    transform: translateY(-4px);
    border-color: rgba(195, 154, 93, 0.46);
    box-shadow: 0 24px 56px rgba(8, 19, 31, 0.14);
}

body.hns-home-premium .hns-ui-segment.is-active {
    background:
        linear-gradient(135deg, rgba(8, 19, 31, 0.98), rgba(11, 77, 67, 0.95)),
        radial-gradient(circle at 88% 10%, rgba(195, 154, 93, 0.28), transparent 34%);
    color: #fffaf0;
}

body.hns-home-premium .hns-ui-segment__hint {
    display: block;
    color: rgba(92, 104, 116, 0.92);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.35;
}

body.hns-home-premium .hns-ui-segment.is-active .hns-ui-segment__hint {
    color: rgba(255, 250, 240, 0.7);
}

body.hns-home-premium .hns-market-search-card {
    position: relative;
    border-radius: 1.8rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 244, 235, 0.94)),
        radial-gradient(circle at 92% 0%, rgba(195, 154, 93, 0.16), transparent 32%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 48px rgba(8, 19, 31, 0.1);
}

body.hns-home-premium .hns-market-search-card .search-fields {
    gap: 1rem;
}

@media (min-width: 1100px) {
    body.hns-home-premium .homepage-search-composer__filters .search-fields {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.hns-home-premium .homepage-search-composer__filters .search-field--location,
    body.hns-home-premium .homepage-search-composer__filters .search-field--province,
    body.hns-home-premium .homepage-search-composer__filters .search-field--district,
    body.hns-home-premium .homepage-search-composer__filters .search-field--city,
    body.hns-home-premium .homepage-search-composer__filters .search-field--date,
    body.hns-home-premium .homepage-search-composer__filters .search-field--duration,
    body.hns-home-premium .homepage-search-composer__filters .search-field--guest,
    body.hns-home-premium .homepage-search-composer__filters .search-field--price {
        grid-column: span 2;
    }

    body.hns-home-premium .homepage-search-composer__filters .search-field--type {
        grid-column: 1 / -1;
    }
}

body.hns-home-premium .hns-market-search-card .search-field {
    padding: 0.78rem;
    border: 1px solid rgba(8, 19, 31, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 10px 24px rgba(8, 19, 31, 0.045);
}

body.hns-home-premium .hns-market-search-card .form-label {
    color: #2b3947;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.hns-home-premium .hns-market-search-card :is(.form-control, .form-select, .property-type-filter__toggle) {
    min-height: 50px;
    border: 1px solid rgba(8, 19, 31, 0.12);
    border-radius: 999px;
    background: linear-gradient(145deg, #ffffff, #fbf6ed);
    color: var(--hns-home-navy);
    font-weight: 760;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.hns-home-premium .hns-market-search-card :is(.form-control, .form-select, .property-type-filter__toggle):focus,
body.hns-home-premium .hns-market-search-card .property-type-filter__toggle[aria-expanded='true'] {
    border-color: rgba(195, 154, 93, 0.72);
    box-shadow: 0 0 0 0.22rem rgba(195, 154, 93, 0.17), 0 14px 28px rgba(8, 19, 31, 0.08);
}

body.hns-home-premium .hns-ui-primary-button,
body.hns-home-premium .hns-ui-soft-button,
body.hns-home-premium .mobile-view-toggle .btn {
    position: relative;
    isolation: isolate;
    min-height: 48px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

body.hns-home-premium .hns-ui-primary-button,
body.hns-home-premium .mobile-view-toggle .btn-primary {
    border-color: rgba(8, 19, 31, 0.08) !important;
    background: linear-gradient(135deg, var(--hns-home-navy), #0c6f62) !important;
    color: #fffaf0 !important;
    box-shadow: 0 16px 34px rgba(8, 19, 31, 0.18);
}

body.hns-home-premium .hns-ui-primary-button::before,
body.hns-home-premium .mobile-view-toggle .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(69deg, rgba(195, 154, 93, 0.95), rgba(255, 250, 240, 0.76), rgba(16, 163, 135, 0.9));
    opacity: 0;
    transition: opacity 180ms ease;
}

body.hns-home-premium .hns-ui-primary-button:hover::before,
body.hns-home-premium .hns-ui-primary-button:focus-visible::before,
body.hns-home-premium .mobile-view-toggle .btn-primary:hover::before,
body.hns-home-premium .mobile-view-toggle .btn-primary:focus-visible::before {
    opacity: 1;
}

body.hns-home-premium .hns-ui-primary-button:hover,
body.hns-home-premium .hns-ui-soft-button:hover,
body.hns-home-premium .mobile-view-toggle .btn:hover {
    transform: translateY(-2px);
}

body.hns-home-premium .hns-ui-soft-button,
body.hns-home-premium .mobile-view-toggle .btn-outline-primary {
    border-color: rgba(8, 19, 31, 0.12) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    color: var(--hns-home-navy) !important;
}

body.hns-home-premium .hns-home-section-heading {
    display: grid;
    gap: 0.65rem;
    margin: clamp(1.3rem, 2.8vw, 2.25rem) 0 clamp(0.9rem, 1.8vw, 1.35rem);
}

body.hns-home-premium .hns-ui-mobile-switch {
    border: 1px solid rgba(8, 19, 31, 0.1) !important;
    background: rgba(255, 253, 248, 0.9) !important;
    box-shadow: 0 16px 38px rgba(8, 19, 31, 0.12) !important;
    backdrop-filter: blur(18px);
}

body.hns-home-premium .hns-map-workspace {
    padding: clamp(0.75rem, 1.4vw, 1.15rem);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: clamp(1.6rem, 2.8vw, 2.45rem);
    background:
        linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(235, 243, 240, 0.94));
    box-shadow: var(--hns-home-shadow-strong);
}

body.hns-home-premium .hns-map-workspace__shell {
    grid-template-columns: minmax(380px, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(0.9rem, 1.6vw, 1.35rem);
    min-height: 720px;
    height: clamp(720px, 76vh, 880px);
}

body.hns-home-premium .homepage-results-list-panel,
body.hns-home-premium .homepage-results-map-panel {
    border: 1px solid rgba(8, 19, 31, 0.1);
    border-radius: 1.8rem;
    box-shadow: 0 22px 60px rgba(8, 19, 31, 0.1);
}

body.hns-home-premium .homepage-results-list-panel {
    padding: 1.05rem;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 244, 235, 0.94));
}

body.hns-home-premium .homepage-results-list-panel .results-header {
    padding: 0.35rem 0.2rem 0.95rem;
    border-bottom: 1px solid rgba(8, 19, 31, 0.08);
}

body.hns-home-premium .homepage-results-list-panel .results-eyebrow {
    color: #856436;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.12em;
}

body.hns-home-premium .homepage-results-list-panel .results-title {
    color: var(--hns-home-navy);
    font-size: clamp(1.25rem, 1rem + 0.72vw, 1.7rem);
    line-height: 1;
}

body.hns-home-premium .homepage-results-list-panel .results-meta {
    color: var(--hns-home-muted);
    font-weight: 700;
}

body.hns-home-premium .homepage-results-list-panel .results-pill {
    background: linear-gradient(135deg, var(--hns-home-navy), #0c6f62);
    color: #fffaf0;
}

body.hns-home-premium .property-list--compact {
    gap: 0.55rem;
    scrollbar-color: rgba(12, 111, 98, 0.52) rgba(8, 19, 31, 0.05);
}

body.hns-home-premium .property-list--compact::-webkit-scrollbar {
    width: 10px;
}

body.hns-home-premium .property-list--compact::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(8, 19, 31, 0.05);
}

body.hns-home-premium .property-list--compact::-webkit-scrollbar-thumb {
    border: 2px solid rgba(255, 253, 248, 0.9);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(195, 154, 93, 0.8), rgba(12, 111, 98, 0.8));
}

body.hns-home-premium .property-card--compact,
body.hns-home-premium .loading-card.property-card--compact {
    grid-template-columns: 74px minmax(0, 1fr) !important;
    min-height: 76px;
    gap: 0.78rem !important;
    padding: 0.55rem 0.66rem;
    border: 1px solid rgba(8, 19, 31, 0.08);
    border-radius: 1.22rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(253, 248, 238, 0.92));
    box-shadow: 0 12px 30px rgba(8, 19, 31, 0.08);
}

body.hns-home-premium .property-card--compact:hover,
body.hns-home-premium .property-card--compact:focus-visible,
body.hns-home-premium .property-card--compact.is-active {
    border-color: rgba(195, 154, 93, 0.5);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(240, 253, 249, 0.97));
    box-shadow: 0 18px 42px rgba(8, 19, 31, 0.13);
    transform: translateY(-2px);
}

body.hns-home-premium .property-card--compact .property-card-media {
    width: 74px !important;
    min-height: 62px !important;
    height: 62px !important;
    border-radius: 0.95rem;
    box-shadow: 0 10px 20px rgba(8, 19, 31, 0.12);
}

body.hns-home-premium .property-card--compact .property-card-media img,
body.hns-home-premium .property-card--compact img {
    width: 74px !important;
    height: 62px !important;
    min-height: 62px !important;
}

body.hns-home-premium .property-card-compact__title {
    color: var(--hns-home-navy);
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.08;
}

body.hns-home-premium .property-card-compact__price {
    color: #0b5c51;
    font-size: 0.84rem;
    font-weight: 950;
}

body.hns-home-premium .homepage-results-map-panel {
    background: #d5e2dc;
}

body.hns-home-premium .homepage-results-map-panel #map,
body.hns-home-premium .map-search-layout--split-list-map #map {
    min-height: 720px;
    filter: saturate(1.06) contrast(1.02);
}

body.hns-home-premium .homepage-results-map-panel .map-panel__badge {
    top: 1.1rem;
    left: 1.1rem;
    border-radius: 1.25rem;
    background: rgba(8, 19, 31, 0.82);
    color: #fffaf0;
    box-shadow: 0 18px 44px rgba(8, 19, 31, 0.22);
}

body.hns-home-premium .homepage-results-map-panel .map-ctrl-zoom-hint {
    background: rgba(8, 19, 31, 0.72);
    backdrop-filter: blur(5px);
}

body.hns-home-premium .homepage-results-map-panel .map-ctrl-zoom-hint__content {
    border-radius: 1.6rem;
    background:
        linear-gradient(135deg, rgba(8, 19, 31, 0.95), rgba(12, 111, 98, 0.9));
    box-shadow: 0 28px 72px rgba(0, 0, 0, 0.36);
}

body.hns-home-premium .empty-state {
    border: 1px dashed rgba(195, 154, 93, 0.48);
    border-radius: 1.35rem;
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(240, 253, 249, 0.88));
}

body.hns-home-premium .hns-property-showcase {
    --popular-property-gap: clamp(1rem, 2.1vw, 1.45rem);
    margin-top: clamp(1.2rem, 2.4vw, 2rem) !important;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: clamp(1.7rem, 3vw, 2.45rem);
    background:
        radial-gradient(circle at 7% 12%, rgba(195, 154, 93, 0.16), transparent 28%),
        radial-gradient(circle at 92% 4%, rgba(12, 111, 98, 0.16), transparent 32%),
        linear-gradient(145deg, rgba(255, 253, 248, 0.99), rgba(238, 245, 241, 0.94));
    box-shadow: var(--hns-home-shadow);
    overflow: hidden;
    contain: paint;
}

body.hns-home-premium .hns-property-showcase__header {
    align-items: center;
    margin-bottom: clamp(1.1rem, 2vw, 1.65rem);
}

body.hns-home-premium .hns-property-showcase__copy {
    max-width: 380px;
}

body.hns-home-premium .hns-property-showcase__viewport {
    padding: 0.3rem 0 0.85rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 111, 98, 0.45) rgba(8, 19, 31, 0.05);
}

body.hns-home-premium .hns-property-showcase__viewport::-webkit-scrollbar {
    height: 9px;
}

body.hns-home-premium .hns-property-showcase__viewport::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(8, 19, 31, 0.05);
}

body.hns-home-premium .hns-property-showcase__viewport::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(195, 154, 93, 0.85), rgba(12, 111, 98, 0.85));
}

body.hns-home-premium .hns-property-showcase__card {
    grid-template-rows: clamp(172px, 16vw, 214px) minmax(0, 1fr);
    flex-basis: clamp(300px, 27vw, 378px);
    width: clamp(300px, 27vw, 378px);
    min-height: 388px;
    border: 1px solid rgba(8, 19, 31, 0.1);
    border-radius: 1.55rem;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 20px 52px rgba(8, 19, 31, 0.12);
}

body.hns-home-premium .hns-property-showcase__card:hover,
body.hns-home-premium .hns-property-showcase__card:focus-visible {
    border-color: rgba(195, 154, 93, 0.48);
    box-shadow: 0 30px 76px rgba(8, 19, 31, 0.18);
    transform: translateY(-6px);
}

body.hns-home-premium .popular-property-card__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent, rgba(8, 19, 31, 0.52));
    pointer-events: none;
}

body.hns-home-premium .popular-property-card__views {
    background: rgba(8, 19, 31, 0.78);
    color: #fffaf0;
    border-color: rgba(255, 255, 255, 0.22);
}

body.hns-home-premium .popular-property-card__body {
    padding: 1.15rem;
    gap: 0.52rem;
}

body.hns-home-premium .popular-property-card__type {
    background: linear-gradient(135deg, rgba(12, 111, 98, 0.12), rgba(195, 154, 93, 0.16));
    color: #0b5c51;
}

body.hns-home-premium .popular-property-card__title {
    color: var(--hns-home-navy);
    font-size: 1.12rem;
    font-weight: 950;
}

body.hns-home-premium .popular-property-card__price {
    color: #0a4f46;
    font-size: 1.08rem;
}

body.hns-home-premium .site-footer {
    width: min(1560px, calc(100vw - clamp(14px, 3.4vw, 52px)));
    margin-top: clamp(2rem, 4vw, 3.5rem);
    border-radius: 2.2rem;
    background:
        radial-gradient(circle at 8% 8%, rgba(195, 154, 93, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(8, 19, 31, 0.98), rgba(13, 60, 64, 0.94));
}

body.hns-home-premium .site-footer__shell {
    padding: clamp(1.5rem, 3vw, 2.35rem);
}

body.hns-home-premium .site-footer__brand {
    font-size: clamp(1.85rem, 2.8vw, 3.25rem);
}

@media (max-width: 1099.98px) {
    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: 1fr;
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 320px;
    }

    body.hns-home-premium .hns-map-workspace__shell {
        grid-template-columns: minmax(330px, 0.42fr) minmax(0, 0.58fr);
    }
}

@media (max-width: 899.98px) {
    body.hns-home-premium .hns-home-hero {
        min-height: 0;
        border-radius: 2rem;
    }

    body.hns-home-premium .hns-home-hero__title {
        max-width: 11.5ch;
        font-size: clamp(2.6rem, 13vw, 4.6rem);
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 280px;
    }

    body.hns-home-premium .hns-home-command,
    body.hns-home-premium .hns-map-workspace,
    body.hns-home-premium .hns-property-showcase {
        border-radius: 1.45rem;
    }

    body.hns-home-premium .hns-map-workspace__shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    body.hns-home-premium .homepage-results-list-panel {
        height: auto;
    }

    body.hns-home-premium .homepage-results-map-panel,
    body.hns-home-premium .map-search-layout--split-list-map.is-map-only .homepage-results-map-panel {
        height: min(60vh, 510px);
        min-height: 380px;
    }

    body.hns-home-premium .homepage-results-map-panel #map,
    body.hns-home-premium .map-search-layout--split-list-map #map {
        min-height: 380px;
    }

    body.hns-home-premium .property-list--compact {
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    body.hns-home-premium .site-navbar {
        width: min(100% - 20px, 1560px);
        border-radius: 1.2rem;
    }

    body.hns-home-premium .site-navbar__brand-badge {
        width: 48px;
        height: 48px;
    }

    body.hns-home-premium .hns-home-hero {
        padding: 1.15rem;
    }

    body.hns-home-premium .hns-home-hero__signals span {
        width: 100%;
    }

    body.hns-home-premium .hns-home-hero__market-card--routes {
        display: none;
    }

    body.hns-home-premium .hns-market-search-card .search-field {
        padding: 0.68rem;
    }

    body.hns-home-premium .property-card--compact,
    body.hns-home-premium .loading-card.property-card--compact {
        grid-template-columns: 66px minmax(0, 1fr) !important;
        min-height: 70px;
        padding: 0.48rem;
    }

    body.hns-home-premium .property-card--compact .property-card-media,
    body.hns-home-premium .property-card--compact .property-card-media img,
    body.hns-home-premium .property-card--compact img {
        width: 66px !important;
        height: 56px !important;
        min-height: 56px !important;
    }

    body.hns-home-premium .hns-property-showcase__card {
        grid-template-rows: 154px minmax(0, 1fr);
        flex-basis: clamp(254px, 82vw, 314px);
        width: clamp(254px, 82vw, 314px);
        min-height: 342px;
    }

    body.hns-home-premium .hns-property-showcase__copy {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    body.hns-home-premium main.site-main-shell {
        max-width: calc(100vw - 18px);
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 245px;
    }

    body.hns-home-premium .hns-home-hero__market-card--primary {
        right: 5%;
        bottom: 6%;
        width: min(86%, 290px);
    }

    body.hns-home-premium .hns-home-hero__market-card--stat {
        top: 7%;
        left: 6%;
    }

    body.hns-home-premium .hns-property-showcase__header {
        display: grid;
        align-items: start;
    }
}

/* Stage 22B: thin premium homepage theme and database-driven top-viewed image strip.
   21st.dev inspiration retained as compact banner/card-strip rhythm only.
   Uiverse adaptations are scoped to premium glass cards, pill chips, input focus, and primary-button hover. */
html:has(body.hns-home-premium) {
    overflow-x: hidden;
}

body.hns-home-premium {
    --hns-home-navy: #071521;
    --hns-home-navy-2: #10293a;
    --hns-home-emerald: #0a7568;
    --hns-home-emerald-2: #16a085;
    --hns-home-gold: #b78b54;
    --hns-home-ivory: #f8f3e8;
    --hns-home-paper: rgba(255, 253, 248, 0.97);
    --hns-home-line: rgba(7, 21, 33, 0.105);
    --hns-home-muted: #596878;
    --hns-home-shadow: 0 18px 56px rgba(7, 21, 33, 0.105);
    --hns-home-shadow-strong: 0 24px 72px rgba(7, 21, 33, 0.14);
    background:
        radial-gradient(circle at 10% 0%, rgba(183, 139, 84, 0.16), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(10, 117, 104, 0.13), transparent 30%),
        linear-gradient(180deg, #f8f3e8 0%, #f4efe5 38%, #edf4f0 100%);
    overflow-x: hidden;
}

body.hns-home-premium main.site-main-shell {
    max-width: min(1500px, calc(100vw - clamp(12px, 3vw, 46px)));
    padding-top: clamp(0.8rem, 1.35vw, 1.25rem);
}

body.hns-home-premium .site-navbar {
    width: min(1500px, calc(100vw - clamp(12px, 3vw, 46px)));
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.15rem;
    background:
        linear-gradient(135deg, rgba(7, 21, 33, 0.98), rgba(13, 52, 57, 0.95)),
        radial-gradient(circle at 90% 10%, rgba(183, 139, 84, 0.22), transparent 30%);
    box-shadow: 0 18px 52px rgba(5, 11, 19, 0.22);
}

body.hns-home-premium .site-navbar__shell {
    min-height: 66px;
}

body.hns-home-premium .site-navbar__brand {
    gap: 0.75rem;
}

body.hns-home-premium .site-navbar__brand-badge {
    width: 46px;
    height: 46px;
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(183, 139, 84, 0.28));
}

body.hns-home-premium .site-navbar__brand-text {
    font-size: clamp(0.98rem, 0.82rem + 0.45vw, 1.18rem);
    letter-spacing: -0.035em;
}

body.hns-home-premium .site-navbar__brand-meta {
    color: rgba(248, 243, 232, 0.72);
    font-size: 0.62rem;
    letter-spacing: 0.16em;
}

body.hns-home-premium .site-navbar .nav-link,
body.hns-home-premium .site-navbar .auth-nav-btn,
body.hns-home-premium .site-navbar .language-switcher-toggle,
body.hns-home-premium .site-navbar .language-switcher-button,
body.hns-home-premium .site-navbar .btn {
    min-height: 38px;
    padding: 0.52rem 0.82rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 820;
}

body.hns-home-premium .site-navbar .site-nav-list--public .auth-nav-btn.btn-light {
    color: var(--hns-home-navy);
    background: linear-gradient(135deg, #fffaf0, #ead5ab);
    box-shadow: 0 12px 26px rgba(183, 139, 84, 0.22);
}

body.hns-home-premium .map-search-page {
    padding-top: 0;
}

body.hns-home-premium .hns-home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 0;
    max-height: 240px;
    margin-bottom: clamp(0.8rem, 1.35vw, 1.15rem);
    padding: clamp(0.95rem, 1.5vw, 1.28rem);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: clamp(1.15rem, 2vw, 1.75rem);
    background:
        linear-gradient(115deg, rgba(7, 21, 33, 0.97), rgba(12, 57, 61, 0.94) 60%, rgba(10, 117, 104, 0.9)),
        radial-gradient(circle at 82% 15%, rgba(183, 139, 84, 0.3), transparent 28%);
    color: #fffaf0;
    box-shadow: var(--hns-home-shadow-strong);
    contain: paint;
}

body.hns-home-premium .hns-home-hero::before {
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 36%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.026) 0 1px, transparent 1px 76px);
    opacity: 0.7;
}

body.hns-home-premium .hns-home-hero::after {
    right: -10%;
    bottom: -70%;
    width: min(34vw, 430px);
    opacity: 0.65;
}

body.hns-home-premium .hns-home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(390px, 0.72fr);
    gap: clamp(0.8rem, 2vw, 1.45rem);
    align-items: stretch;
    max-width: none;
    min-height: 150px;
}

body.hns-home-premium .hns-home-hero__content {
    display: grid;
    align-content: center;
    gap: 0.52rem;
    max-width: 700px;
    min-width: 0;
}

body.hns-home-premium .hns-ui-glass-chip,
body.hns-home-premium .hns-ui-section-kicker {
    padding: 0.42rem 0.66rem;
    border-color: rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.105);
    color: #f1d29e;
    box-shadow: 0 8px 22px rgba(5, 11, 19, 0.12);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
}

body.hns-home-premium .hns-ui-glass-chip::after {
    width: 12px;
    height: 12px;
    top: -4px;
}

body.hns-home-premium .hns-home-hero__title {
    max-width: none;
    color: #fffaf0;
    font-family: Manrope, var(--bs-body-font-family, system-ui, sans-serif);
    font-size: clamp(1.55rem, 1rem + 1.55vw, 2.55rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

body.hns-home-premium .hns-home-hero__copy {
    max-width: 56ch;
    color: rgba(255, 250, 240, 0.78);
    font-size: clamp(0.88rem, 0.82rem + 0.25vw, 1rem);
    font-weight: 650;
    line-height: 1.45;
}

body.hns-home-premium .hns-home-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
    margin-top: 0.04rem;
}

body.hns-home-premium .hns-home-hero__signals span {
    padding: 0.42rem 0.66rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.085);
    color: rgba(255, 250, 240, 0.88);
    font-size: 0.75rem;
    font-weight: 850;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

body.hns-home-premium .hns-home-hero__visual {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 0.52rem;
    min-height: 148px;
    max-height: 188px;
    padding: 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
        radial-gradient(circle at 80% 12%, rgba(183, 139, 84, 0.18), transparent 35%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 16px 42px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
    overflow: hidden;
    contain: paint;
}

body.hns-home-premium .hns-home-hero__orbit,
body.hns-home-premium .hns-home-hero__market-card {
    display: none;
}

body.hns-home-premium .hns-home-hero__visual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.1rem;
    color: rgba(255, 250, 240, 0.78);
    font-size: 0.68rem;
    font-weight: 860;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.hns-home-premium .hns-home-hero__visual-header strong {
    flex: 0 0 auto;
    padding: 0.26rem 0.48rem;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.12);
    color: #fffaf0;
    font-size: 0.66rem;
}

body.hns-home-premium .hns-home-hero__image-strip {
    position: relative;
    min-height: 108px;
    overflow: hidden;
    contain: paint;
    border-radius: 1rem;
}

body.hns-home-premium .hns-home-hero__image-strip::before,
body.hns-home-premium .hns-home-hero__image-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 3;
    width: 54px;
    pointer-events: none;
}

body.hns-home-premium .hns-home-hero__image-strip::before {
    left: 0;
    background: linear-gradient(90deg, rgba(8, 28, 36, 0.9), transparent);
}

body.hns-home-premium .hns-home-hero__image-strip::after {
    right: 0;
    background: linear-gradient(270deg, rgba(8, 28, 36, 0.9), transparent);
}

body.hns-home-premium .hns-home-hero__image-track {
    position: absolute;
    inset: 0 auto 0 0;
    display: flex;
    width: max-content;
    gap: 0.62rem;
    animation: hnsHomeHeroImageStrip 34s linear infinite;
    will-change: transform;
}

body.hns-home-premium .hns-home-hero__image-group {
    display: flex;
    gap: 0.62rem;
}

body.hns-home-premium .hns-home-hero__image-card {
    position: relative;
    flex: 0 0 clamp(148px, 13vw, 190px);
    height: 108px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

body.hns-home-premium .hns-home-hero__image-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.01);
    filter: saturate(1.04) contrast(1.02);
}

body.hns-home-premium .hns-home-hero__image-card figcaption {
    position: absolute;
    inset: auto 0 0;
    display: grid;
    gap: 0.05rem;
    padding: 1rem 0.65rem 0.55rem;
    background: linear-gradient(180deg, transparent, rgba(7, 21, 33, 0.84));
    color: #fffaf0;
}

body.hns-home-premium .hns-home-hero__image-card figcaption span {
    width: fit-content;
    padding: 0.16rem 0.38rem;
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.18);
    color: #f1d29e;
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.hns-home-premium .hns-home-hero__image-card figcaption strong {
    overflow: hidden;
    color: #fffaf0;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.hns-home-premium .hns-home-hero__image-card figcaption small {
    overflow: hidden;
    color: rgba(255, 250, 240, 0.72);
    font-size: 0.66rem;
    font-weight: 720;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@keyframes hnsHomeHeroImageStrip {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-50% - 0.31rem), 0, 0);
    }
}

@keyframes hnsHomeHeroMobileFade {
    0%, 13% {
        opacity: 1;
        transform: scale(1);
    }

    18%, 95% {
        opacity: 0;
        transform: scale(1.025);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

body.hns-home-premium .hns-home-command {
    margin-bottom: clamp(0.9rem, 1.7vw, 1.45rem);
    padding: clamp(0.82rem, 1.45vw, 1.2rem);
    border-radius: clamp(1.18rem, 2vw, 1.65rem);
    background:
        radial-gradient(circle at 6% 8%, rgba(183, 139, 84, 0.13), transparent 28%),
        linear-gradient(145deg, rgba(255, 253, 248, 0.985), rgba(240, 247, 243, 0.95));
    box-shadow: var(--hns-home-shadow);
}

body.hns-home-premium .hns-home-command__intro {
    gap: 0.4rem;
    max-width: 760px;
}

body.hns-home-premium .hns-home-command__title,
body.hns-home-premium .hns-home-section-heading__title,
body.hns-home-premium .hns-property-showcase__title {
    font-size: clamp(1.25rem, 1rem + 1vw, 2rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

body.hns-home-premium .hns-home-command__copy,
body.hns-home-premium .hns-home-section-heading__copy,
body.hns-home-premium .hns-property-showcase__copy {
    font-size: 0.93rem;
    line-height: 1.55;
}

body.hns-home-premium .hns-home-intent__grid,
body.hns-home-premium .search-method-band__grid {
    gap: 0.65rem;
}

body.hns-home-premium .hns-ui-segment {
    min-height: 84px;
    padding: 0.8rem 0.9rem;
    border-radius: 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 246, 236, 0.94));
    box-shadow: 0 10px 24px rgba(7, 21, 33, 0.06);
}

body.hns-home-premium .hns-ui-segment:hover,
body.hns-home-premium .hns-ui-segment:focus-visible,
body.hns-home-premium .hns-ui-segment.is-active {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(7, 21, 33, 0.105);
}

body.hns-home-premium .hns-ui-segment__hint,
body.hns-home-premium .search-method-card__copy {
    font-size: 0.72rem;
}

body.hns-home-premium .hns-market-search-card {
    border-radius: 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 32px rgba(7, 21, 33, 0.08);
}

body.hns-home-premium .hns-market-search-card .search-fields {
    gap: 0.72rem;
}

body.hns-home-premium .hns-market-search-card .search-field {
    padding: 0.62rem;
    border-radius: 1rem;
    box-shadow: 0 8px 18px rgba(7, 21, 33, 0.036);
}

body.hns-home-premium .hns-market-search-card :is(.form-control, .form-select, .property-type-filter__toggle) {
    min-height: 44px;
    border-radius: 0.9rem;
    font-size: 0.9rem;
}

body.hns-home-premium .hns-market-search-card .form-label {
    margin-bottom: 0.34rem;
    font-size: 0.68rem;
}

body.hns-home-premium .hns-ui-primary-button,
body.hns-home-premium .hns-ui-soft-button,
body.hns-home-premium .mobile-view-toggle .btn {
    min-height: 42px;
    font-size: 0.9rem;
}

body.hns-home-premium .hns-home-section-heading {
    gap: 0.45rem;
    margin: clamp(0.9rem, 1.8vw, 1.35rem) 0 clamp(0.62rem, 1.2vw, 0.9rem);
}

body.hns-home-premium .hns-map-workspace {
    padding: clamp(0.55rem, 1vw, 0.85rem);
    border-radius: clamp(1.18rem, 2vw, 1.7rem);
    box-shadow: var(--hns-home-shadow-strong);
}

body.hns-home-premium .hns-map-workspace__shell {
    grid-template-columns: minmax(360px, 0.36fr) minmax(0, 0.64fr);
    gap: clamp(0.65rem, 1.1vw, 1rem);
    min-height: 650px;
    height: clamp(650px, 72vh, 800px);
}

body.hns-home-premium .homepage-results-list-panel,
body.hns-home-premium .homepage-results-map-panel {
    border-radius: 1.28rem;
    box-shadow: 0 16px 42px rgba(7, 21, 33, 0.09);
}

body.hns-home-premium .homepage-results-list-panel {
    padding: 0.78rem;
}

body.hns-home-premium .homepage-results-list-panel .results-header {
    padding: 0.18rem 0.1rem 0.68rem;
}

body.hns-home-premium .homepage-results-list-panel .results-title {
    font-size: clamp(1.06rem, 0.95rem + 0.45vw, 1.42rem);
}

body.hns-home-premium .property-list--compact {
    gap: 0.44rem;
}

body.hns-home-premium .property-card--compact,
body.hns-home-premium .loading-card.property-card--compact {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    min-height: 68px;
    gap: 0.62rem !important;
    padding: 0.46rem 0.55rem;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(7, 21, 33, 0.064);
}

body.hns-home-premium .property-card--compact:hover,
body.hns-home-premium .property-card--compact:focus-visible,
body.hns-home-premium .property-card--compact.is-active {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(7, 21, 33, 0.11);
}

body.hns-home-premium .property-card--compact .property-card-media,
body.hns-home-premium .property-card--compact .property-card-media img,
body.hns-home-premium .property-card--compact img {
    width: 68px !important;
    height: 54px !important;
    min-height: 54px !important;
    border-radius: 0.82rem;
}

body.hns-home-premium .property-card-compact__title {
    font-size: 0.9rem;
}

body.hns-home-premium .property-card-compact__price {
    color: #075c51;
    font-size: 0.8rem;
}

body.hns-home-premium .homepage-results-map-panel #map,
body.hns-home-premium .map-search-layout--split-list-map #map {
    min-height: 650px;
}

body.hns-home-premium .homepage-results-map-panel .map-panel__badge {
    top: 0.82rem;
    left: 0.82rem;
    border-radius: 1rem;
    background: rgba(7, 21, 33, 0.84);
}

body.hns-home-premium .hns-property-showcase {
    --popular-property-gap: clamp(0.78rem, 1.55vw, 1.15rem);
    margin-top: clamp(0.95rem, 1.8vw, 1.45rem) !important;
    padding: clamp(0.95rem, 1.8vw, 1.45rem);
    border-radius: clamp(1.18rem, 2vw, 1.65rem);
}

body.hns-home-premium .hns-property-showcase__header {
    margin-bottom: clamp(0.78rem, 1.4vw, 1.15rem);
}

body.hns-home-premium .hns-property-showcase__viewport {
    padding: 0.16rem 0 0.7rem;
    contain: paint;
}

body.hns-home-premium .hns-property-showcase__card {
    grid-template-rows: clamp(146px, 12vw, 184px) minmax(0, 1fr);
    flex-basis: clamp(270px, 23vw, 330px);
    width: clamp(270px, 23vw, 330px);
    min-height: 330px;
    border-radius: 1.22rem;
    box-shadow: 0 14px 38px rgba(7, 21, 33, 0.105);
}

body.hns-home-premium .hns-property-showcase__card:hover,
body.hns-home-premium .hns-property-showcase__card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 20px 56px rgba(7, 21, 33, 0.145);
}

body.hns-home-premium .hns-property-showcase .popular-property-card__media {
    background: linear-gradient(135deg, rgba(235, 244, 242, 0.95), rgba(255, 248, 236, 0.9));
}

body.hns-home-premium .hns-property-showcase .popular-property-card__media img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 1;
    object-fit: cover;
    filter: none !important;
    color: transparent;
    font-size: 0;
}

body.hns-home-premium .hns-property-showcase .popular-property-card__media img[src=""],
body.hns-home-premium .hns-property-showcase .popular-property-card__media img:not([src]) {
    visibility: hidden;
}

body.hns-home-premium .popular-property-card__body {
    padding: 0.92rem;
    gap: 0.4rem;
}

body.hns-home-premium .popular-property-card__title {
    font-size: 1rem;
}

body.hns-home-premium .popular-property-card__price {
    color: #074f46;
    font-size: 1rem;
}

body.hns-home-premium .site-footer {
    width: min(1500px, calc(100vw - clamp(12px, 3vw, 46px)));
    margin-top: clamp(1.35rem, 2.6vw, 2.4rem);
    border-radius: 1.45rem;
}

body.hns-home-premium .site-footer__shell {
    padding: clamp(1.05rem, 2vw, 1.65rem);
}

body.hns-home-premium .site-footer__brand {
    font-size: clamp(1.35rem, 2vw, 2.15rem);
}

body.hns-home-premium .site-footer__copy {
    max-width: 56ch;
}

body.hns-home-premium .site-footer__meta {
    padding-bottom: 1.05rem;
}

/* Stage 22C: hero image art stack correction. Pure property images only; no ad text, labels, controls, or captions. */
body.hns-home-premium .hns-home-hero {
    min-height: 166px;
    max-height: 228px;
    padding: clamp(0.82rem, 1.25vw, 1.05rem) clamp(0.95rem, 1.55vw, 1.35rem);
    background:
        radial-gradient(circle at 84% 15%, rgba(245, 211, 158, 0.2), transparent 26%),
        linear-gradient(112deg, rgba(6, 18, 29, 0.985), rgba(10, 48, 54, 0.965) 58%, rgba(7, 101, 91, 0.92));
}

body.hns-home-premium .hns-home-hero__inner {
    grid-template-columns: minmax(0, 0.86fr) minmax(430px, 0.72fr);
    align-items: center;
    min-height: 156px;
    gap: clamp(0.8rem, 2vw, 1.7rem);
    padding: 0 !important;
}

body.hns-home-premium .hns-home-hero__content {
    gap: 0.42rem;
    align-content: center;
    padding-block: 0.12rem;
}

body.hns-home-premium .hns-home-hero__title {
    max-width: 28ch;
    font-size: clamp(1.45rem, 1.04rem + 1.25vw, 2.12rem);
    line-height: 1.22;
    letter-spacing: -0.042em;
    text-wrap: balance;
}

body.hns-home-premium .hns-home-hero__copy {
    max-width: 58ch;
    font-size: clamp(0.84rem, 0.8rem + 0.16vw, 0.94rem);
    line-height: 1.42;
}

body.hns-home-premium .hns-home-hero__signals {
    gap: 0.36rem;
    margin-top: 0.08rem;
}

body.hns-home-premium .hns-home-hero__signals span {
    padding: 0.34rem 0.58rem;
    font-size: 0.68rem;
}

body.hns-home-premium .hns-home-hero__visual {
    display: block;
    justify-self: end;
    width: min(100%, 760px);
    min-height: 168px;
    max-height: 178px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
    contain: layout paint;
}

body.hns-home-premium .hns-home-hero__art-stack {
    position: relative;
    width: min(100%, 420px);
    height: 142px;
    margin-inline-start: auto;
    isolation: isolate;
}

body.hns-home-premium .hns-home-hero__art-stack::before {
    content: '';
    position: absolute;
    inset: 18px 18px 18px 36px;
    z-index: -1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(245, 211, 158, 0.2), rgba(10, 117, 104, 0.14) 42%, transparent 70%);
    filter: blur(16px);
}

body.hns-home-premium .hns-home-hero__art-image {
    position: absolute;
    display: block;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 250, 240, 0.52);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transform-origin: center center;
}

body.hns-home-premium .hns-home-hero__art-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.04) contrast(1.03);
}

body.hns-home-premium .hns-home-hero__art-image--1 {
    z-index: 4;
    right: 100px;
    top: 19px;
    width: 172px;
    height: 108px;
    transform: rotate(-3.5deg);
}

body.hns-home-premium .hns-home-hero__art-image--2 {
    z-index: 5;
    right: 8px;
    top: 2px;
    width: 154px;
    height: 102px;
    transform: rotate(5deg);
}

body.hns-home-premium .hns-home-hero__art-image--3 {
    z-index: 3;
    right: 238px;
    top: 32px;
    width: 138px;
    height: 92px;
    opacity: 0.9;
    transform: rotate(3deg) scale(0.96);
    filter: blur(0.15px);
}

body.hns-home-premium .hns-home-hero__art-image--4 {
    z-index: 2;
    right: 58px;
    top: 68px;
    width: 128px;
    height: 74px;
    opacity: 0.78;
    transform: rotate(-5deg) scale(0.94);
}

body.hns-home-premium .hns-home-hero__art-image--5 {
    z-index: 1;
    right: 294px;
    top: 0;
    width: 106px;
    height: 72px;
    opacity: 0.58;
    transform: rotate(-8deg) scale(0.92);
}

body.hns-home-premium .hns-home-hero__image-strip,
body.hns-home-premium .hns-home-hero__image-track,
body.hns-home-premium .hns-home-hero__image-group,
body.hns-home-premium .hns-home-hero__image-card,
body.hns-home-premium .hns-home-hero__visual-header {
    display: none;
}

body.hns-home-premium .hns-home-command {
    margin-top: 0;
}

body.hns-home-premium .hns-home-section-heading {
    margin-top: clamp(0.75rem, 1.4vw, 1.1rem);
}

/* Stage 22D/22E/22G: animated top-viewed image art field. Property images only; no captions, controls, labels, or ad-card text. */
body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field] {
    position: relative;
    width: min(100%, 760px);
    height: 168px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    contain: layout paint;
}

body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field]::before,
body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field]::after {
    display: none;
}

body.hns-home-premium .hns-home-hero__art-tile {
    position: absolute;
    z-index: 1;
    display: block;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: clamp(0.78rem, 1vw, 1.08rem);
    background: transparent;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(0.88);
    transform-origin: center center;
    transition: opacity 520ms ease, transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 520ms ease;
    pointer-events: none;
    will-change: opacity, transform;
}

body.hns-home-premium .hns-home-hero__art-tile.is-visible {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(1);
    animation: hnsHomeHeroArtFieldFloat 5.8s ease-in-out infinite alternate;
}

body.hns-home-premium .hns-home-hero__art-tile--entering.is-visible {
    animation: hnsHomeHeroArtFieldBloom 720ms cubic-bezier(0.2, 0.8, 0.2, 1), hnsHomeHeroArtFieldFloat 5.8s ease-in-out 720ms infinite alternate;
}

body.hns-home-premium .hns-home-hero__art-tile--leaving {
    opacity: 0;
    filter: saturate(0.9) blur(1.5px);
    transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(0.82);
}

body.hns-home-premium .hns-home-hero__art-tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.04);
    color: transparent;
    font-size: 0;
}

body.hns-home-premium .hns-home-hero__art-tile--static {
    opacity: 1;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--1 {
    left: 18%;
    top: 35%;
    z-index: 4;
    width: 126px;
    height: 84px;
    --hns-home-hero-rotate: -5deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--2 {
    left: 43%;
    top: 24%;
    z-index: 6;
    width: 144px;
    height: 94px;
    --hns-home-hero-rotate: 4deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--3 {
    left: 70%;
    top: 38%;
    z-index: 5;
    width: 118px;
    height: 78px;
    --hns-home-hero-rotate: -2deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--4 {
    left: 29%;
    top: 73%;
    z-index: 3;
    width: 104px;
    height: 70px;
    --hns-home-hero-rotate: 7deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--5 {
    left: 58%;
    top: 75%;
    z-index: 2;
    width: 112px;
    height: 72px;
    --hns-home-hero-rotate: -7deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--6 {
    left: 88%;
    top: 68%;
    z-index: 4;
    width: 92px;
    height: 62px;
    --hns-home-hero-rotate: 3deg;
}

body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--7 {
    left: 9%;
    top: 70%;
    z-index: 1;
    width: 88px;
    height: 58px;
    --hns-home-hero-rotate: 8deg;
}

body.hns-home-premium .hns-home-hero--art-hidden .hns-home-hero__inner {
    grid-template-columns: minmax(0, 1fr);
}

body.hns-home-premium .hns-home-hero--art-hidden .hns-home-hero__content {
    max-width: 760px;
}

@keyframes hnsHomeHeroArtFieldBloom {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(0.78);
        filter: saturate(0.9) blur(2px);
    }

    100% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(1);
        filter: saturate(1.05) blur(0);
    }
}

@keyframes hnsHomeHeroArtFieldFloat {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(1);
    }

    100% {
        transform: translate3d(calc(-50% + var(--hns-home-hero-float-x, 3px)), calc(-50% + var(--hns-home-hero-float-y, -3px)), 0) rotate(var(--hns-home-hero-rotate, 0deg)) scale(1.018);
    }
}

@media (max-width: 1099.98px) {
    body.hns-home-premium .hns-home-hero {
        max-height: none;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 138px;
        max-height: 168px;
        width: min(100%, 560px);
    }

    body.hns-home-premium .hns-map-workspace__shell {
        grid-template-columns: minmax(330px, 0.4fr) minmax(0, 0.6fr);
    }
}

@media (max-width: 899.98px) {
    body.hns-home-premium .hns-home-hero {
        padding: 0.9rem;
        border-radius: 1.25rem;
    }

    body.hns-home-premium .hns-home-hero__title {
        max-width: 22ch;
        font-size: clamp(1.35rem, 6.2vw, 2rem);
    }

    body.hns-home-premium .hns-home-hero__copy {
        font-size: 0.84rem;
    }

    body.hns-home-premium .hns-home-hero__image-card {
        flex-basis: 142px;
        height: 96px;
    }

    body.hns-home-premium .hns-home-hero__image-strip {
        min-height: 96px;
    }

    body.hns-home-premium .hns-map-workspace__shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    body.hns-home-premium .homepage-results-list-panel {
        height: auto;
    }

    body.hns-home-premium .homepage-results-map-panel,
    body.hns-home-premium .map-search-layout--split-list-map.is-map-only .homepage-results-map-panel {
        height: min(58vh, 500px);
        min-height: 360px;
    }

    body.hns-home-premium .homepage-results-map-panel #map,
    body.hns-home-premium .map-search-layout--split-list-map #map {
        min-height: 360px;
    }

    body.hns-home-premium .property-list--compact {
        overflow: visible;
    }
}

@media (max-width: 767.98px) {
    body.hns-home-premium main.site-main-shell {
        max-width: calc(100vw - 18px);
        padding-top: 0.62rem;
    }

    body.hns-home-premium .site-navbar {
        width: min(100% - 18px, 1500px);
        border-radius: 1rem;
    }

    body.hns-home-premium .site-navbar__shell {
        min-height: 60px;
    }

    body.hns-home-premium .site-navbar__brand-badge {
        width: 40px;
        height: 40px;
    }

    body.hns-home-premium .hns-home-hero {
        max-height: 190px;
        padding: 0.78rem;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(128px, 0.44fr);
        gap: 0.55rem;
        min-height: 132px;
    }

    body.hns-home-premium .hns-home-hero__content {
        gap: 0.36rem;
    }

    body.hns-home-premium .hns-ui-glass-chip {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__title {
        font-size: clamp(1.18rem, 5vw, 1.58rem);
        line-height: 1.02;
    }

    body.hns-home-premium .hns-home-hero__copy {
        max-width: 28ch;
        font-size: 0.76rem;
        line-height: 1.34;
    }

    body.hns-home-premium .hns-home-hero__signals {
        gap: 0.28rem;
    }

    body.hns-home-premium .hns-home-hero__signals span {
        width: auto;
        padding: 0.28rem 0.42rem;
        font-size: 0.62rem;
    }

    body.hns-home-premium .hns-home-hero__signals span:nth-child(2) {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 0;
        max-height: 0;
        padding: 0;
        border-radius: 0;
    }

    body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field] {
        height: 0;
    }

    body.hns-home-premium .hns-home-hero__visual-header {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__image-strip {
        min-height: 116px;
        border-radius: 0.82rem;
    }

    body.hns-home-premium .hns-home-hero__image-track,
    body.hns-home-premium .hns-home-hero__image-group {
        gap: 0;
    }

    body.hns-home-premium .hns-home-hero__image-track {
        inset: 0;
        width: 100%;
        display: block;
        animation: none;
        transform: none !important;
        will-change: auto;
    }

    body.hns-home-premium .hns-home-hero__image-group {
        display: none;
        width: 100%;
        height: 100%;
    }

    body.hns-home-premium .hns-home-hero__image-group:first-child {
        display: block;
    }

    body.hns-home-premium .hns-home-hero__image-card {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        max-width: 100%;
        flex-basis: auto;
        height: 116px;
        border-radius: 0.82rem;
        opacity: 0;
        animation: hnsHomeHeroMobileFade 24s ease-in-out infinite;
        animation-delay: calc(var(--hns-hero-card-index, 0) * 4s);
        will-change: opacity, transform;
    }

    body.hns-home-premium .hns-home-hero__image-card:first-child {
        opacity: 1;
    }

    body.hns-home-premium .hns-home-hero__image-card figcaption {
        padding: 0.8rem 0.48rem 0.44rem;
    }

    body.hns-home-premium .hns-home-hero__image-card figcaption span,
    body.hns-home-premium .hns-home-hero__image-card figcaption small {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__image-card figcaption strong {
        font-size: 0.68rem;
    }

    body.hns-home-premium .hns-home-command,
    body.hns-home-premium .hns-map-workspace,
    body.hns-home-premium .hns-property-showcase {
        border-radius: 1.05rem;
    }

    body.hns-home-premium .hns-market-search-card .search-field {
        padding: 0.54rem;
    }

    body.hns-home-premium .property-card--compact,
    body.hns-home-premium .loading-card.property-card--compact {
        grid-template-columns: 62px minmax(0, 1fr) !important;
        min-height: 64px;
        padding: 0.42rem;
    }

    body.hns-home-premium .property-card--compact .property-card-media,
    body.hns-home-premium .property-card--compact .property-card-media img,
    body.hns-home-premium .property-card--compact img {
        width: 62px !important;
        height: 50px !important;
        min-height: 50px !important;
    }

    body.hns-home-premium .hns-property-showcase__card {
        grid-template-rows: 142px minmax(0, 1fr);
        flex-basis: clamp(244px, 80vw, 292px);
        width: clamp(244px, 80vw, 292px);
        min-height: 318px;
    }

    body.hns-home-premium .hns-property-showcase__viewport {
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }

    body.hns-home-premium .hns-property-showcase__viewport .popular-properties-marquee__track {
        animation: none !important;
        transform: none !important;
        will-change: auto;
    }

    body.hns-home-premium .hns-property-showcase__viewport .popular-properties-marquee__group[aria-hidden="true"] {
        display: none;
    }

    body.hns-home-premium .hns-property-showcase__card {
        scroll-snap-align: start;
    }
}

@media (max-width: 575.98px) {
    body.hns-home-premium .hns-home-hero {
        max-height: 184px;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 118px;
    }

    body.hns-home-premium .hns-home-hero__signals span:nth-child(3) {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__image-card {
        flex-basis: auto;
    }

    body.hns-home-premium .hns-property-showcase__header {
        display: grid;
        align-items: start;
    }
}

@media (max-width: 1099.98px) {
    body.hns-home-premium .hns-home-hero {
        min-height: 166px;
        max-height: 210px;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
        min-height: 132px;
        align-items: center;
    }

    body.hns-home-premium .hns-home-hero__visual {
        min-height: 122px;
        max-height: 138px;
    }

    body.hns-home-premium .hns-home-hero__art-stack {
        width: min(100%, 318px);
        height: 132px;
    }

    body.hns-home-premium .hns-home-hero__art-image--1 {
        right: 74px;
        top: 22px;
        width: 138px;
        height: 92px;
    }

    body.hns-home-premium .hns-home-hero__art-image--2 {
        right: 4px;
        top: 9px;
        width: 124px;
        height: 84px;
    }

    body.hns-home-premium .hns-home-hero__art-image--3 {
        right: 170px;
        top: 38px;
        width: 110px;
        height: 74px;
    }

    body.hns-home-premium .hns-home-hero__art-image--4 {
        right: 46px;
        top: 76px;
        width: 104px;
        height: 62px;
    }

    body.hns-home-premium .hns-home-hero__art-image--5 {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body.hns-home-premium .hns-home-hero {
        min-height: 150px;
        max-height: 190px;
        padding: 0.76rem;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 112px;
        min-height: 126px;
        gap: 0.58rem;
    }

    body.hns-home-premium .hns-home-hero__content {
        gap: 0.3rem;
    }

    body.hns-home-premium .hns-home-hero__title {
        max-width: 20ch;
        font-size: clamp(1.08rem, 4.65vw, 1.48rem);
        line-height: 1.08;
    }

    body.hns-home-premium .hns-home-hero__copy {
        max-width: 28ch;
        font-size: 0.73rem;
        line-height: 1.34;
    }

    body.hns-home-premium .hns-home-hero__signals {
        gap: 0.24rem;
    }

    body.hns-home-premium .hns-home-hero__signals span {
        padding: 0.24rem 0.38rem;
        font-size: 0.58rem;
    }

    body.hns-home-premium .hns-home-hero__signals span:nth-child(2) {
        display: inline-flex;
    }

    body.hns-home-premium .hns-home-hero__visual {
        width: 112px;
        min-height: 112px;
        max-height: 120px;
        overflow: visible;
    }

    body.hns-home-premium .hns-home-hero__art-stack {
        width: 112px;
        height: 116px;
    }

    body.hns-home-premium .hns-home-hero__art-image--1 {
        right: 28px;
        top: 32px;
        width: 76px;
        height: 58px;
        border-radius: 0.72rem;
        transform: rotate(-4deg);
    }

    body.hns-home-premium .hns-home-hero__art-image--2 {
        right: 0;
        top: 12px;
        width: 70px;
        height: 54px;
        border-radius: 0.7rem;
        transform: rotate(5deg);
    }

    body.hns-home-premium .hns-home-hero__art-image--3 {
        right: 44px;
        top: 8px;
        width: 58px;
        height: 46px;
        border-radius: 0.65rem;
        opacity: 0.72;
    }

    body.hns-home-premium .hns-home-hero__art-image--4,
    body.hns-home-premium .hns-home-hero__art-image--5 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    body.hns-home-premium .hns-home-hero {
        min-height: 150px;
        max-height: 188px;
    }

    body.hns-home-premium .hns-home-hero__inner {
        grid-template-columns: minmax(0, 1fr) 92px;
        min-height: 122px;
    }

    body.hns-home-premium .hns-home-hero__signals span:nth-child(3) {
        display: none;
    }

    body.hns-home-premium .hns-home-hero__visual,
    body.hns-home-premium .hns-home-hero__art-stack {
        width: 92px;
        height: 106px;
        min-height: 106px;
    }

    body.hns-home-premium .hns-home-hero__art-image--1 {
        right: 22px;
        top: 34px;
        width: 64px;
        height: 50px;
    }

    body.hns-home-premium .hns-home-hero__art-image--2 {
        width: 58px;
        height: 46px;
    }

    body.hns-home-premium .hns-home-hero__art-image--3 {
        right: 38px;
        width: 48px;
        height: 38px;
    }
}

@media (max-width: 1099.98px) {
    body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field] {
        width: min(100%, 318px);
        height: 132px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--1 {
        width: 104px;
        height: 70px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--2 {
        width: 116px;
        height: 76px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--3 {
        width: 96px;
        height: 64px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--4,
    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--5,
    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--6,
    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--7 {
        width: 78px;
        height: 52px;
    }
}

@media (max-width: 767.98px) {
    body.hns-home-premium .hns-home-hero__visual {
        padding: 0;
    }

    body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field] {
        width: 112px;
        height: 116px;
        min-height: 116px;
        border-radius: 0.88rem;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--1 {
        left: 27%;
        top: 36%;
        width: 58px;
        height: 42px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--2 {
        left: 69%;
        top: 28%;
        width: 62px;
        height: 44px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--3 {
        left: 44%;
        top: 70%;
        width: 52px;
        height: 38px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--4 {
        left: 82%;
        top: 66%;
        width: 46px;
        height: 34px;
    }

    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--5,
    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--6,
    body.hns-home-premium .hns-home-hero__art-tile--static.hns-home-hero__art-tile--7 {
        display: none;
    }
}

@media (max-width: 575.98px) {
    body.hns-home-premium .hns-home-hero__art-stack[data-hns-home-hero-art-field] {
        width: 92px;
        height: 106px;
        min-height: 106px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.hns-home-premium .hns-home-hero__image-track {
        animation: none;
        transform: none;
    }

    body.hns-home-premium .hns-home-hero__image-card {
        animation: none;
    }

    body.hns-home-premium .hns-home-hero__image-card:not(:first-child) {
        opacity: 0;
    }

    body.hns-home-premium .hns-home-hero__art-tile,
    body.hns-home-premium .hns-home-hero__art-tile.is-visible,
    body.hns-home-premium .hns-home-hero__art-tile--entering.is-visible {
        animation: none;
        transition: none;
        will-change: auto;
    }

    body.hns-home-premium .hns-ui-segment:hover,
    body.hns-home-premium .hns-ui-segment:focus-visible,
    body.hns-home-premium .hns-ui-segment.is-active,
    body.hns-home-premium .hns-ui-primary-button:hover,
    body.hns-home-premium .hns-ui-soft-button:hover,
    body.hns-home-premium .mobile-view-toggle .btn:hover,
    body.hns-home-premium .property-card--compact:hover,
    body.hns-home-premium .property-card--compact:focus-visible,
    body.hns-home-premium .hns-property-showcase__card:hover,
    body.hns-home-premium .hns-property-showcase__card:focus-visible {
        transform: none;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    --page-bg: #f1eee7;
    --page-bg-rgb: 241, 238, 231;
    --surface: #ffffff;
    --surface-rgb: 255, 255, 255;
    --surface-muted: #f7f4ee;
    --line: rgba(15, 23, 42, 0.09);
    --text: #162231;
    --text-main: #0f1722;
    --text-soft: #5c6878;
    --brand: #0d766c;
    --brand-rgb: 13, 118, 108;
    --brand-dark: #0a3942;
    --accent: #b58a54;
    --header-bg-start: #0d141d;
    --header-bg-end: #173845;
    --header-text: #f6f7fb;
    --header-text-rgb: 246, 247, 251;
    --btn-primary-bg: #0d766c;
    --btn-primary-bg-rgb: 13, 118, 108;
    --btn-primary-text: #f6f7fb;
    --theme-radius-button: 999px;
    --shadow-soft: var(--luxe-shadow-soft);
    --shadow-strong: var(--luxe-shadow-strong);
    --radius-xl: 1.75rem;
    --radius-lg: 1.15rem;
    font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
}

body.section-admin,
body.section-provider,
body.section-seller,
body.route-public-dashboard,
body.route-public-wallet,
body.route-public-saved-properties {
    --page-bg: #edf2f6;
    --page-bg-rgb: 237, 242, 246;
}

body::before,
body::after {
    content: '';
    position: fixed;
    pointer-events: none;
    z-index: 0;
    filter: blur(14px);
}

body::before {
    top: -9rem;
    left: -5rem;
    width: clamp(220px, 34vw, 520px);
    height: clamp(220px, 34vw, 520px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(181, 138, 84, 0.18), rgba(181, 138, 84, 0) 68%);
}

body::after {
    right: -7rem;
    bottom: 8rem;
    width: clamp(240px, 28vw, 460px);
    height: clamp(240px, 28vw, 460px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 118, 108, 0.16), rgba(13, 118, 108, 0) 70%);
}

.site-navbar,
.site-footer,
.site-main-shell,
.provider-landing-main {
    position: relative;
    z-index: 1;
}

a {
    color: var(--brand-dark);
    text-underline-offset: 0.18em;
}

a:hover,
a:focus {
    color: var(--brand);
}

h1,
h2,
.display-6,
.search-title,
.results-title,
.app-page-title,
.site-footer__brand,
.provider-landing-profile-name,
.property-price-display,
.dashboard-stat-card__value,
.provider-request-summary-value,
.provider-marketplace-results__count {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.04em;
}

h3,
.app-card-title,
.provider-landing-profile-headline,
.dashboard-action-card__label {
    letter-spacing: -0.02em;
}

.site-main-shell {
    max-width: var(--luxe-frame-width);
}

main.site-main-shell {
    padding-top: clamp(1rem, 1.8vw, 1.6rem);
    padding-bottom: clamp(2rem, 3vw, 3rem);
}

main.site-main-shell > .alert {
    margin-bottom: 1rem;
}

.text-muted,
.text-secondary,
.small.text-muted,
.small.text-secondary {
    color: var(--text-soft) !important;
}

.site-navbar {
    width: var(--luxe-frame-width);
    margin: clamp(12px, 2vw, 20px) auto 0;
    padding: 0.8rem 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.65rem;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.94), rgba(21, 57, 67, 0.88));
    box-shadow: 0 28px 80px rgba(6, 13, 22, 0.22);
    backdrop-filter: blur(22px) saturate(150%);
    overflow: visible;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.site-navbar::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(1.65rem - 1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 40%);
    pointer-events: none;
}

.site-navbar.is-scrolled {
    box-shadow: 0 22px 64px rgba(6, 13, 22, 0.26);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-navbar__shell,
.site-footer__shell,
.site-footer__meta {
    width: min(100%, calc(100% - clamp(18px, 4vw, 44px)));
}

.site-navbar__shell {
    display: flex;
    align-items: center;
    gap: 0.9rem 1.35rem;
}

.site-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
}

.site-navbar__brand-badge {
    width: 54px;
    height: 54px;
    border-radius: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(181, 138, 84, 0.24));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 30px rgba(9, 18, 29, 0.25);
}

.site-navbar__brand-logo {
    max-width: 40px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-navbar__brand-initials {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.site-navbar__brand-copy {
    display: grid;
    gap: 0.18rem;
}

.site-navbar__brand-text {
    font-size: 1.22rem;
    color: #f7fafc;
}

.site-navbar__brand-meta {
    color: rgba(246, 247, 251, 0.66);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-navbar .nav-link,
.site-navbar .btn,
.site-navbar .auth-nav-btn {
    min-height: 42px;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.site-navbar .nav-link {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(246, 247, 251, 0.86);
    border-color: rgba(255, 255, 255, 0.06);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.site-navbar .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
}

.site-navbar .site-nav-list--public .auth-nav-btn.btn-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 244, 238, 0.94));
    border-color: rgba(255, 255, 255, 0.54);
    box-shadow: 0 14px 28px rgba(7, 14, 26, 0.14);
}

.site-navbar .navbar-toggler {
    width: 46px;
    height: 46px;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
}

.site-footer {
    width: var(--luxe-frame-width);
    margin: clamp(2rem, 4vw, 4rem) auto 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(10, 18, 30, 0.95), rgba(22, 58, 69, 0.9));
    box-shadow: 0 28px 90px rgba(7, 14, 26, 0.18);
    overflow: hidden;
    color: #f7fafc;
}

.site-footer__shell {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: clamp(1.6rem, 3.4vw, 2.8rem);
}

.site-footer__intro,
.site-footer__column {
    position: relative;
}

.site-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(246, 247, 251, 0.86);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-footer__brand {
    margin: 1rem 0 0.6rem;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 0.98;
}

.site-footer__copy {
    margin: 0;
    color: rgba(246, 247, 251, 0.72);
    line-height: 1.8;
    max-width: 54ch;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-footer__column {
    padding: 1.15rem;
    border-radius: 1.45rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__column-title {
    margin: 0 0 0.85rem;
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__link-list {
    display: grid;
    gap: 0.55rem;
}

.site-footer__link {
    color: rgba(246, 247, 251, 0.82);
    text-decoration: none;
}

.site-footer__link:hover,
.site-footer__link:focus {
    color: #ffffff;
}

.site-footer__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0 clamp(1.2rem, 2vw, 1.6rem);
    color: rgba(246, 247, 251, 0.62);
    font-size: 0.86rem;
    line-height: 1.6;
}

.summary-card,
.detail-card,
.property-card,
.app-card,
.provider-review-card,
.provider-service-card,
.provider-public-card,
.provider-landing-section-card,
.provider-landing-cta-card,
.provider-landing-profile-card,
.admin-action-group-card,
.dashboard-action-card,
.provider-request-summary-card,
.provider-review-summary-card,
.commission-summary-card,
.report-summary-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82)),
        linear-gradient(135deg, rgba(13, 118, 108, 0.04), rgba(181, 138, 84, 0.03));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease, border-color 0.42s ease;
}

.summary-card::after,
.detail-card::after,
.property-card::after,
.app-card::after,
.provider-review-card::after,
.provider-service-card::after,
.provider-public-card::after,
.provider-landing-section-card::after,
.provider-landing-cta-card::after,
.provider-landing-profile-card::after,
.admin-action-group-card::after,
.dashboard-action-card::after,
.provider-request-summary-card::after,
.provider-review-summary-card::after,
.commission-summary-card::after,
.report-summary-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(280px circle at var(--pointer-x, 50%) var(--pointer-y, 0%), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 62%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.summary-card > *,
.detail-card > *,
.property-card > *,
.app-card > *,
.provider-review-card > *,
.provider-service-card > *,
.provider-public-card > *,
.provider-landing-section-card > *,
.provider-landing-cta-card > *,
.provider-landing-profile-card > *,
.admin-action-group-card > *,
.dashboard-action-card > *,
.provider-request-summary-card > *,
.provider-review-summary-card > *,
.commission-summary-card > *,
.report-summary-card > * {
    position: relative;
    z-index: 1;
}

.summary-card:hover,
.summary-card:focus-within,
.detail-card:hover,
.detail-card:focus-within,
.property-card:hover,
.property-card:focus-within,
.app-card:hover,
.app-card:focus-within,
.provider-review-card:hover,
.provider-service-card:hover,
.provider-public-card:hover,
.provider-landing-section-card:hover,
.provider-landing-cta-card:hover,
.provider-landing-profile-card:hover,
.admin-action-group-card:hover,
.dashboard-action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(13, 118, 108, 0.16);
}

.summary-card:hover::after,
.detail-card:hover::after,
.property-card:hover::after,
.app-card:hover::after,
.provider-review-card:hover::after,
.provider-service-card:hover::after,
.provider-public-card:hover::after,
.provider-landing-section-card:hover::after,
.provider-landing-cta-card:hover::after,
.provider-landing-profile-card:hover::after,
.admin-action-group-card:hover::after,
.dashboard-action-card:hover::after {
    opacity: 1;
}

.btn,
.app-button,
.google-auth-button,
.property-card-actions .btn,
.contact-action-grid .btn {
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.btn:hover,
.btn:focus,
.app-button:hover,
.app-button:focus {
    transform: translateY(-2px);
}

.btn-primary,
.app-button-primary {
    background: linear-gradient(135deg, var(--luxe-teal), var(--luxe-deep));
    border-color: rgba(10, 57, 66, 0.34);
    box-shadow: 0 16px 38px rgba(10, 57, 66, 0.18);
}

.btn-outline-primary,
.btn-outline-secondary,
.app-button-secondary {
    background: rgba(255, 255, 255, 0.84);
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 14px 32px rgba(10, 18, 32, 0.06);
}

.form-control,
.form-select,
textarea.form-control {
    border-radius: 1rem;
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
    border-color: rgba(13, 118, 108, 0.3);
    box-shadow: 0 0 0 0.26rem rgba(13, 118, 108, 0.1), 0 14px 32px rgba(10, 18, 32, 0.06);
    background: rgba(255, 255, 255, 0.96);
}

.alert,
.app-alert {
    border-radius: 1.35rem;
    border-color: rgba(255, 255, 255, 0.56);
    box-shadow: var(--shadow-soft);
}

.page-action-row {
    gap: 0.8rem;
}

.app-page-header {
    padding: clamp(1.55rem, 2.4vw, 2.45rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at top right, rgba(181, 138, 84, 0.18), rgba(181, 138, 84, 0) 32%),
        linear-gradient(135deg, rgba(9, 18, 30, 0.95), rgba(19, 57, 67, 0.9));
    box-shadow: var(--shadow-strong);
}

.app-page-header::after {
    inset: auto auto -42% -8%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(13, 118, 108, 0.22), rgba(13, 118, 108, 0) 70%);
}

.app-page-header .app-page-title,
.app-page-header .app-page-subtitle,
.app-page-header .eyebrow-badge,
.app-page-header .status-pill,
.app-page-header .app-badge {
    color: #f7fafc;
}

.app-page-header .app-page-subtitle {
    color: rgba(247, 250, 252, 0.72);
}

.app-page-header .eyebrow-badge,
.app-page-header .app-badge,
.app-page-header .status-pill {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.14);
}

.app-card-title {
    font-size: 1.12rem;
}

.app-card-subtitle {
    color: var(--text-soft);
}

.app-data-table thead th {
    background: rgba(244, 247, 249, 0.92);
}

.dashboard-action-card {
    display: grid;
    gap: 0.5rem;
    align-content: start;
    min-height: 172px;
    padding: 1.1rem;
    text-decoration: none;
}

.dashboard-action-card__label {
    color: var(--text-main);
    font-size: 1.04rem;
    font-weight: 800;
}

.dashboard-action-card__description {
    color: var(--text-soft);
    line-height: 1.65;
}

.dashboard-action-card__cta {
    margin-top: auto;
    color: var(--brand-dark);
    font-weight: 800;
}

.dashboard-stat-card__value,
.provider-request-summary-value,
.seller-count-value {
    color: var(--text-main);
    line-height: 0.92;
}

body.route-public-index .site-main-shell {
    max-width: min(1540px, calc(100vw - clamp(14px, 3vw, 40px)));
}

.map-discovery-page .map-search-page {
    padding: clamp(0.75rem, 1.8vw, 1.25rem) 0 2rem;
}

.map-discovery-page .homepage-default-banner.search-panel-card,
.map-discovery-page .search-panel-card,
.map-discovery-page .homepage-ad-slider {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 244, 238, 0.84));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.map-discovery-page .search-panel-card {
    padding: clamp(1.2rem, 1.8vw, 1.8rem);
}

.map-discovery-page .search-panel-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.85fr);
    align-items: stretch;
    gap: 1.2rem;
}

.map-discovery-page .search-panel-copy,
.map-discovery-page .search-helper {
    padding: 1.1rem 1.2rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.map-discovery-page .search-title {
    margin-top: 0.75rem;
    font-size: clamp(2.3rem, 3.5vw, 4.5rem);
    line-height: 0.94;
    max-width: 10ch;
}

.map-discovery-page .search-copy,
.map-discovery-page .search-helper,
.map-discovery-page .search-actions-copy {
    font-size: 1rem;
    line-height: 1.75;
}

.map-discovery-page .search-helper strong {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.map-discovery-page .search-trust-row span {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.map-discovery-page .search-fields {
    gap: 0.9rem;
}

.map-discovery-page .search-field {
    gap: 0.45rem;
}

.map-discovery-page .search-actions {
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top-color: rgba(15, 23, 42, 0.08);
}

.map-discovery-page .map-search-layout {
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 246, 248, 0.86));
    box-shadow: var(--shadow-strong);
}

.map-discovery-page .results-panel {
    padding: clamp(1.2rem, 1.6vw, 1.65rem);
    background: linear-gradient(180deg, rgba(251, 249, 245, 0.92), rgba(245, 247, 249, 0.84));
    border-right-color: rgba(15, 23, 42, 0.07);
}

.map-discovery-page .results-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1.2rem;
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

.map-discovery-page .results-pill,
.map-discovery-page .map-only-results-pill {
    background: linear-gradient(135deg, #0f1822, #17414d);
    box-shadow: 0 16px 34px rgba(10, 18, 32, 0.16);
}

.map-discovery-page .active-filter-chip {
    background: rgba(13, 118, 108, 0.08);
    border-color: rgba(13, 118, 108, 0.16);
    color: var(--brand-dark);
}

.map-discovery-page .property-list {
    gap: 1rem;
}

.map-discovery-page .property-card {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 0;
    border-radius: 1.45rem;
    cursor: pointer;
}

.map-discovery-page .property-card-media,
.map-discovery-page .property-card img,
.map-discovery-page .loading-media {
    width: 210px;
    min-height: 180px;
    height: 100%;
}

.map-discovery-page .property-card .card-body,
.map-discovery-page .loading-card .card-body {
    padding: 1.05rem 1.15rem 1.05rem 0;
}

.map-discovery-page .property-price-chip {
    top: 14px;
    left: 14px;
    background: rgba(10, 18, 30, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 30px rgba(10, 18, 32, 0.18);
}

.map-discovery-page .property-facts span {
    background: rgba(13, 118, 108, 0.06);
    border: 1px solid rgba(13, 118, 108, 0.08);
}

.map-discovery-page .map-panel {
    background: #d8e7ea;
}

.map-discovery-page #map {
    filter: saturate(1.08) contrast(1.02);
}

.map-panel__badge {
    top: 1rem;
    left: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 1.1rem;
    background: rgba(10, 18, 30, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(10, 18, 32, 0.16);
    backdrop-filter: blur(16px);
}

.property-marker {
    filter: drop-shadow(0 8px 14px rgba(10, 18, 32, 0.18));
}

.property-marker__label {
    color: #071f3f;
    -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.96);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95),
        1px 0 0 rgba(255, 255, 255, 0.95),
        0 -1px 0 rgba(255, 255, 255, 0.95),
        -1px 0 0 rgba(255, 255, 255, 0.95),
        0 2px 3px rgba(7, 31, 63, 0.28);
}

.property-marker__pin {
    background: linear-gradient(180deg, #2274f2 0%, #0f4ab7 100%);
    box-shadow: 0 8px 16px rgba(15, 74, 183, 0.32);
}

.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: linear-gradient(135deg, var(--luxe-teal), var(--luxe-deep));
}

.property-marker__count {
    color: #ffffff;
}

.property-marker.is-active .property-marker__label,
.property-marker.is-active .property-marker__count,
.property-popup__nav-button,
.property-popup__action {
    background: linear-gradient(135deg, #1b69e0, #0f4ab7);
}

.property-marker.is-active .property-marker__pin {
    background: linear-gradient(180deg, #3a87ff 0%, #0f4ab7 100%);
}

.property-marker.is-active .property-marker__label {
    background: transparent;
    color: #071f3f;
    -webkit-text-stroke: 0.35px rgba(255, 255, 255, 0.98);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98),
        1px 0 0 rgba(255, 255, 255, 0.98),
        0 -1px 0 rgba(255, 255, 255, 0.98),
        -1px 0 0 rgba(255, 255, 255, 0.98),
        0 2px 3px rgba(7, 31, 63, 0.3);
}

.property-popup,
.leaflet-popup-content-wrapper {
    border-radius: 1.2rem;
}

/* Stage 13 Correction 11: mobile Leaflet property preview keeps map popups compact and touch-friendly. */
@media (max-width: 767.98px) {
    .map-discovery-page .homepage-results-map-panel .mobile-map-property-preview__card {
        border-color: rgba(255, 255, 255, 0.84);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 22px 48px rgba(10, 18, 32, 0.24);
    }

    .map-discovery-page .homepage-results-map-panel .mobile-map-property-preview__action,
    .map-discovery-page .homepage-results-map-panel .mobile-map-property-preview__nav-button {
        background: linear-gradient(135deg, #1b69e0, #0f4ab7);
    }

    .map-discovery-page .homepage-results-map-panel .property-map-popup.leaflet-popup,
    .map-discovery-page .homepage-results-map-panel .property-map-popup .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 24px) !important;
    }

    .map-discovery-page .homepage-results-map-panel .property-map-popup .leaflet-popup-content {
        width: auto !important;
        max-width: calc(100vw - 44px) !important;
        margin: 0.58rem;
    }

    .map-discovery-page .homepage-results-map-panel .property-map-popup .leaflet-popup-close-button {
        width: 36px;
        height: 36px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        color: #0b1d2d;
        font-size: 1.4rem;
        font-weight: 800;
        line-height: 34px;
        box-shadow: 0 8px 20px rgba(11, 29, 45, 0.16);
    }

    .map-discovery-page .homepage-results-map-panel .property-popup--mobile {
        width: min(326px, calc(100vw - 48px));
    }

    .map-discovery-page .homepage-results-map-panel .property-popup--mobile .property-popup__image {
        height: clamp(92px, 25vw, 112px);
        margin-bottom: 0.58rem;
        border-radius: 0.95rem;
        object-fit: cover;
    }

    .map-discovery-page .homepage-results-map-panel .property-popup--mobile .property-popup__title {
        display: -webkit-box;
        overflow: hidden;
        color: #0b1d2d;
        font-size: 0.98rem;
        font-weight: 900;
        line-height: 1.22;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .map-discovery-page .homepage-results-map-panel .property-popup--mobile .property-popup__action--mobile {
        width: 100%;
        min-height: 44px;
        border-radius: 0.9rem;
        font-size: 0.92rem;
        font-weight: 900;
    }
}

.route-public-property .site-main-shell {
    max-width: min(1500px, calc(100vw - clamp(18px, 4vw, 46px)));
}

.property-detail-shell .detail-card,
.property-detail-shell .summary-card {
    border-radius: 1.7rem;
}

.property-gallery-stage {
    min-height: clamp(320px, 46vw, 620px);
}

.property-gallery-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-thumbnail-strip {
    gap: 0.7rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.74);
}

.property-gallery-thumb {
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.property-gallery-thumb.is-active,
.property-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(13, 118, 108, 0.24);
    box-shadow: 0 14px 30px rgba(10, 18, 32, 0.12);
}

.property-price-display {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--text-main);
    line-height: 0.94;
}

.property-context-note,
.booking-estimate,
.provider-inquiry-selected-service,
.provider-coming-soon,
.provider-review-empty,
.provider-service-empty-state,
.app-empty-state,
.empty-state {
    border-radius: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.74), rgba(255, 255, 255, 0.9));
}

.property-feature-grid {
    gap: 0.85rem;
}

.property-feature-pill {
    padding: 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(247, 244, 238, 0.72);
}

.property-feature-pill strong {
    font-size: 1.15rem;
}

.amenity-grid,
.contact-action-grid {
    gap: 0.75rem;
}

.contact-action-grid {
    display: grid;
}

.booking-sidebar {
    position: sticky;
    top: calc(104px + 1rem);
}

.favorite-toggle-btn {
    min-height: 3rem;
    width: 100%;
}

.auth-page-shell .summary-card,
.route-admin-login .login-card {
    border-radius: 2rem;
}

.route-public-login main.site-main-shell,
.route-public-register main.site-main-shell,
.route-public-register-provider main.site-main-shell,
.route-provider-login main.site-main-shell,
.route-admin-login main.site-main-shell {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

body.auth-page--landing-context.route-public-login main.site-main-shell,
body.auth-page--landing-context.route-public-register main.site-main-shell {
    min-height: 100vh;
    display: block;
    align-items: initial;
}

.auth-hero-card {
    background: linear-gradient(160deg, rgba(9, 18, 30, 0.96), rgba(20, 66, 74, 0.9));
    color: #ffffff;
}

.auth-hero-card .eyebrow-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.auth-hero-card .text-secondary,
.auth-hero-card .credential-label,
.auth-hero-card .auth-feature-list,
.auth-hero-card a {
    color: rgba(247, 250, 252, 0.78) !important;
}

.auth-hero-card a:hover,
.auth-hero-card a:focus {
    color: #ffffff !important;
}

.login-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 239, 0.88));
}

.auth-divider {
    position: relative;
    text-align: center;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 0.9rem;
    background: rgba(248, 245, 239, 0.96);
}

.provider-marketplace-page,
.provider-profile-page {
    gap: 1.75rem;
}

.provider-marketplace-hero,
.provider-profile-hero {
    background: linear-gradient(135deg, rgba(9, 18, 30, 0.95), rgba(20, 66, 74, 0.9));
    color: #ffffff;
}

.provider-marketplace-hero .text-muted,
.provider-profile-hero .text-muted,
.provider-profile-hero .provider-service-area,
.provider-profile-hero .provider-public-card__eyebrow {
    color: rgba(247, 250, 252, 0.74) !important;
}

.provider-public-grid,
.provider-profile-services-grid,
.provider-landing-public-summary-grid {
    gap: 1.2rem;
}

.provider-public-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.provider-public-card .card-body,
.provider-profile-section .card-body,
.provider-profile-hero .card-body {
    padding: clamp(1.15rem, 2vw, 1.55rem);
}

.provider-rating-chip {
    background: rgba(13, 118, 108, 0.08);
    border-color: rgba(13, 118, 108, 0.16);
    color: var(--brand-dark);
}

.provider-service-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 1rem;
}

body.provider-landing-public {
    --page-bg: #e9e3d8;
    --page-bg-rgb: 233, 227, 216;
}

.provider-landing-cover {
    min-height: clamp(300px, 40vw, 460px);
    border-radius: 0 0 2.5rem 2.5rem;
}

.provider-landing-shell {
    width: min(100%, calc(100% - clamp(12px, 3vw, 28px)));
    margin-top: -7.4rem;
}

.provider-landing-profile-card,
.provider-landing-section-card,
.provider-landing-cta-card,
.provider-landing-public__unavailable-card {
    border-radius: 1.8rem;
}

.provider-landing-profile-card__body {
    gap: clamp(1.2rem, 2vw, 2rem);
    align-items: end;
}

.provider-landing-profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-landing-stat-card {
    background: rgba(255, 255, 255, 0.76);
}

.provider-landing-public-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 380px);
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: start;
}

.provider-landing-inquiry {
    top: calc(104px + 1rem);
}

.provider-landing-powered-by {
    margin-top: 1.25rem;
    color: var(--text-soft);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.provider-inquiry-form {
    background: rgba(255, 255, 255, 0.74);
}

[data-ui-reveal] {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition-delay: 0s !important;
}

[data-ui-reveal].is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

body.js-ready [data-ui-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1), transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--ui-delay, 0ms);
}

body.js-ready [data-ui-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

body.js-ready .site-navbar,
body.js-ready .site-footer {
    opacity: 0;
    transform: translateY(-14px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-ready .site-navbar,
body.page-ready .site-footer {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .site-navbar,
    .site-footer,
    .site-main-shell {
        width: min(100%, calc(100% - 1rem));
    }

    .site-navbar {
        border-radius: 1.4rem;
    }

    .site-navbar__collapse {
        margin-top: 0.7rem;
        padding: 0.85rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(16px);
    }

    .site-footer__shell,
    .site-footer__meta,
    .site-navbar__shell {
        width: calc(100% - 1.25rem);
    }

    .site-footer__shell,
    .site-footer__links,
    .provider-landing-public-layout,
    .provider-landing-profile-card__body,
    .provider-landing-profile-stats,
    .app-grid-2,
    .app-grid-3,
    .app-grid-4 {
        grid-template-columns: 1fr;
    }

    .app-page-header {
        gap: 1.1rem;
    }

    .page-action-row {
        width: 100%;
    }

    .page-action-row .btn,
    .page-action-row form {
        flex: 1 1 100%;
    }

    .provider-landing-shell {
        margin-top: -5.8rem;
    }

    .provider-landing-cover {
        min-height: clamp(220px, 58vw, 300px);
        border-radius: 0 0 1.85rem 1.85rem;
    }

    .provider-landing-avatar {
        transform: translateY(-2.5rem);
        margin-bottom: -2.5rem;
    }

    .provider-landing-profile-actions {
        width: 100%;
        flex-direction: column;
    }

    .provider-landing-profile-actions .btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 899.98px) {
    .map-discovery-page .search-panel-intro {
        grid-template-columns: 1fr;
    }

    .map-discovery-page .mobile-view-toggle {
        position: fixed;
        left: 50%;
        bottom: 1rem;
        transform: translateX(-50%);
        width: min(360px, calc(100vw - 1rem));
        margin: 0;
        padding: 0.4rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 999px;
        background: rgba(10, 18, 30, 0.86);
        box-shadow: 0 22px 54px rgba(7, 14, 26, 0.26);
        backdrop-filter: blur(18px);
        z-index: 1105;
    }

    .map-discovery-page .mobile-view-toggle .btn {
        min-height: 44px;
    }

    body.route-public-index {
        padding-bottom: 5.5rem;
    }

    .map-discovery-page .results-panel,
    .map-discovery-page .map-panel {
        border-radius: 1.7rem;
    }

    .map-discovery-page .property-card,
    .map-discovery-page .loading-card {
        grid-template-columns: 1fr;
    }

    .map-discovery-page .property-card-media,
    .map-discovery-page .property-card img,
    .map-discovery-page .loading-media {
        width: 100%;
        min-height: 230px;
    }

    .map-discovery-page .property-card .card-body,
    .map-discovery-page .loading-card .card-body {
        padding: 1rem;
    }

    .ai-chatbot-shell {
        bottom: calc(var(--ai-chatbot-edge-offset) + 5rem);
    }
}

@media (max-width: 767.98px) {
    .site-navbar,
    .site-footer,
    .site-main-shell {
        width: min(100%, calc(100% - 0.75rem));
    }

    .site-navbar__brand-badge {
        width: 48px;
        height: 48px;
        border-radius: 1rem;
    }

    .site-navbar__brand-text {
        font-size: 1.08rem;
    }

    .site-footer__meta {
        flex-direction: column;
    }

    .app-page-header {
        padding: 1.3rem;
        border-radius: 1.55rem;
    }

    .property-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-sidebar,
    .provider-landing-inquiry {
        position: static;
    }

    .route-public-login main.site-main-shell,
    .route-public-register main.site-main-shell,
    .route-public-register-provider main.site-main-shell,
    .route-provider-login main.site-main-shell,
    .route-admin-login main.site-main-shell {
        display: block;
        min-height: 0;
    }

    body.auth-page--landing-context.route-public-login main.site-main-shell,
    body.auth-page--landing-context.route-public-register main.site-main-shell {
        min-height: 100vh;
    }

    .auth-page-shell {
        gap: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body.js-ready [data-ui-reveal],
    body.js-ready .site-navbar,
    body.js-ready .site-footer {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Stage 13 Correction 2: preserve Stage 10 polish while keeping search text legible. */
.map-discovery-page .map-search-layout--list-first {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    overflow: visible;
}

.map-discovery-page .map-search-layout--list-first .results-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
    overflow: visible;
}

.map-discovery-page .map-search-layout--list-first .map-panel {
    position: relative;
    top: auto;
    height: clamp(420px, 54vh, 620px);
    min-height: 420px;
    border-radius: 1.5rem;
}

.map-discovery-page .map-search-layout--list-first #map {
    min-height: 420px;
}

.map-discovery-page .homepage-search-composer .search-kicker,
.map-discovery-page .listing-intent-band .search-kicker,
.map-discovery-page .search-method-band .search-kicker,
.map-discovery-page .district-filter-card .search-kicker,
.map-discovery-page .popular-properties-marquee .search-kicker {
    background: rgba(0, 94, 151, 0.1);
    color: #073d5f;
}

.map-discovery-page .listing-intent-card:not(.is-active),
.map-discovery-page .search-method-card:not(.is-active) {
    color: #102033;
}

.map-discovery-page .listing-intent-card:not(.is-active) .listing-intent-card__title,
.map-discovery-page .search-method-card:not(.is-active) .search-method-card__title {
    color: #102033;
    text-shadow: none;
}

.map-discovery-page .search-method-card:not(.is-active) .search-method-card__copy {
    color: #40556a;
}

.map-discovery-page .listing-intent-card.is-active,
.map-discovery-page .search-method-card.is-active,
.map-discovery-page .listing-intent-card.is-active .listing-intent-card__title,
.map-discovery-page .search-method-card.is-active .search-method-card__title,
.map-discovery-page .search-method-card.is-active .search-method-card__copy {
    color: #ffffff;
}

@media (max-width: 899.98px) {
    .map-discovery-page .map-search-layout--list-first {
        display: block;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .map-discovery-page .map-search-layout--list-first.is-list-only .map-panel {
        display: none;
    }

    .map-discovery-page .map-search-layout--list-first.is-map-only .popular-properties-marquee {
        display: none;
    }
}

/* Stage 10 premium real-estate CRM polish. Uiverse-inspired but fully scoped to existing project surfaces. */
:root {
    --stage10-navy: #0b1220;
    --stage10-slate: #334155;
    --stage10-emerald: #0f766e;
    --stage10-gold: #b58a54;
    --stage10-paper: rgba(255, 255, 255, 0.92);
    --stage10-line: rgba(15, 23, 42, 0.11);
    --stage10-focus: rgba(181, 138, 84, 0.42);
    --stage10-shadow: 0 22px 60px rgba(15, 23, 42, 0.11);
}

body.section-public .btn,
body.section-admin .btn,
body.section-seller .btn,
body.section-provider .btn,
body.section-public .app-button,
body.section-admin .app-button,
body.section-seller .app-button,
body.section-provider .app-button,
body.section-public .property-inquiry-submit,
body.section-public .property-offer-submit {
    min-height: 42px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

body.section-public .btn:hover,
body.section-admin .btn:hover,
body.section-seller .btn:hover,
body.section-provider .btn:hover,
body.section-public .app-button:hover,
body.section-admin .app-button:hover,
body.section-seller .app-button:hover,
body.section-provider .app-button:hover,
body.section-public .property-inquiry-submit:hover,
body.section-public .property-offer-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

body.section-public .btn-primary,
body.section-admin .btn-primary,
body.section-seller .btn-primary,
body.section-provider .btn-primary,
body.section-public .app-button-primary,
body.section-admin .app-button-primary,
body.section-seller .app-button-primary,
body.section-public .property-inquiry-submit,
body.section-public .property-offer-submit {
    border-color: rgba(15, 118, 110, 0.88);
    background: linear-gradient(135deg, var(--stage10-emerald), #0a3942);
    color: #fff;
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.2);
}

body.section-public .btn-outline-secondary,
body.section-admin .btn-outline-secondary,
body.section-seller .btn-outline-secondary,
body.section-provider .btn-outline-secondary,
body.section-public .app-button-secondary,
body.section-admin .app-button-secondary,
body.section-seller .app-button-secondary {
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: var(--stage10-navy);
}

body.section-public .btn-danger,
body.section-admin .btn-danger,
body.section-seller .btn-danger,
body.section-admin .app-button-danger,
body.section-seller .app-button-danger {
    border-color: rgba(185, 28, 28, 0.88);
    background: linear-gradient(135deg, #b91c1c, #7f1d1d);
    color: #fff;
}

body.section-public :is(a, button, input, select, textarea, [tabindex]):focus-visible,
body.section-admin :is(a, button, input, select, textarea, [tabindex]):focus-visible,
body.section-seller :is(a, button, input, select, textarea, [tabindex]):focus-visible,
body.section-provider :is(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--stage10-focus);
    outline-offset: 3px;
    box-shadow: 0 0 0 0.18rem rgba(181, 138, 84, 0.18);
}

body.section-public :is(.form-control, .form-select),
body.section-admin :is(.form-control, .form-select),
body.section-seller :is(.form-control, .form-select),
body.section-provider :is(.form-control, .form-select),
.property-inquiry-input,
.property-offer-input {
    min-height: 44px;
    border: 1px solid rgba(15, 23, 42, 0.13);
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.88);
    color: var(--stage10-navy);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body.section-public :is(.form-control, .form-select):focus,
body.section-admin :is(.form-control, .form-select):focus,
body.section-seller :is(.form-control, .form-select):focus,
body.section-provider :is(.form-control, .form-select):focus,
.property-inquiry-input:focus,
.property-offer-input:focus {
    border-color: rgba(181, 138, 84, 0.72);
    box-shadow: 0 0 0 0.2rem rgba(181, 138, 84, 0.14), 0 12px 26px rgba(15, 23, 42, 0.08);
}

.map-discovery-page .homepage-compact-banner,
.map-discovery-page .homepage-search-composer,
.route-public-property .property-detail-root .summary-card,
.route-public-property .detail-card,
.route-public-dashboard .seller-crm-summary,
.route-public-dashboard .customer-crm-summary,
.section-admin .summary-card,
.section-seller .summary-card {
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: var(--stage10-shadow);
}

.map-discovery-page .homepage-compact-banner {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, 0.94), rgba(10, 57, 66, 0.86)),
        radial-gradient(circle at 84% 12%, rgba(181, 138, 84, 0.35), transparent 34%);
    color: #fff;
}

.map-discovery-page .homepage-compact-banner__title,
.map-discovery-page .search-kicker {
    color: inherit;
}

.map-discovery-page .homepage-search-composer,
.map-discovery-page .listing-intent-card,
.map-discovery-page .search-method-card,
.map-discovery-page .search-panel-card,
.map-discovery-page .district-filter-card,
.map-discovery-page .results-panel,
.map-discovery-page .map-panel {
    border-color: rgba(15, 23, 42, 0.09);
}

.map-discovery-page .listing-intent-card,
.map-discovery-page .search-method-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 244, 238, 0.92));
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.map-discovery-page .listing-intent-card:hover,
.map-discovery-page .search-method-card:hover,
.map-discovery-page .listing-intent-card.is-active,
.map-discovery-page .search-method-card.is-active {
    transform: translateY(-2px);
    border-color: rgba(181, 138, 84, 0.48);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.map-discovery-page .property-card {
    border-radius: 1.45rem;
    background: var(--stage10-paper);
    box-shadow: 0 15px 38px rgba(15, 23, 42, 0.08);
}

.map-discovery-page .property-card:hover,
.map-discovery-page .property-card:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.map-discovery-page .property-card img {
    filter: saturate(1.04) contrast(1.02);
}

.route-public-property .property-detail-root > .empty-state,
.app-empty-state,
.report-empty-state,
.crm-dashboard-empty {
    border: 1px dashed rgba(181, 138, 84, 0.34);
    border-radius: 1.3rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 242, 0.92));
    color: var(--stage10-slate);
}

.route-public-property .property-inquiry-card,
.route-public-property .property-offer-card,
.route-public-property .booking-form-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 250, 0.72));
}

.route-public-property .property-inquiry-card::before,
.route-public-property .property-offer-card::before,
.route-public-property .booking-form-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--stage10-gold), var(--stage10-emerald));
}

.route-public-property .property-inquiry-card__eyebrow,
.route-public-property .property-offer-card__eyebrow {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 0.32rem 0.68rem;
    background: rgba(181, 138, 84, 0.12);
    color: #7c5b31;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.property-inquiry-submit.is-loading,
.property-offer-submit.is-loading,
.route-public-property #bookingForm button[type='submit']:disabled {
    position: relative;
    opacity: 0.86;
    cursor: progress;
}

.property-inquiry-submit.is-loading::after,
.property-offer-submit.is-loading::after,
.route-public-property #bookingForm button[type='submit']:disabled::after {
    content: '';
    width: 0.85rem;
    height: 0.85rem;
    margin-left: 0.55rem;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 999px;
    animation: stage10-ui-spin 0.8s linear infinite;
}

@keyframes stage10-ui-spin {
    to { transform: rotate(360deg); }
}

.property-inquiry-alert,
.property-offer-alert,
.route-public-property #bookingFormAlert,
main.site-main-shell > .alert {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.section-admin .app-page-header,
.section-seller .app-page-header,
.route-public-dashboard .app-page-header,
.route-public-inquiries .app-page-header,
.route-public-viewings .app-page-header,
.route-public-offers .app-page-header,
.route-public-deals .app-page-header {
    background:
        linear-gradient(135deg, rgba(11, 18, 32, 0.96), rgba(10, 57, 66, 0.9)),
        radial-gradient(circle at right top, rgba(181, 138, 84, 0.36), transparent 35%);
    color: #fff;
    box-shadow: var(--stage10-shadow);
}

.section-admin .app-page-header .app-page-title,
.section-admin .app-page-header .app-page-subtitle,
.section-seller .app-page-header .app-page-title,
.section-seller .app-page-header .app-page-subtitle,
.route-public-dashboard .app-page-header .app-page-title,
.route-public-dashboard .app-page-header .app-page-subtitle,
.route-public-inquiries .app-page-header .app-page-title,
.route-public-inquiries .app-page-header .app-page-subtitle,
.route-public-viewings .app-page-header .app-page-title,
.route-public-viewings .app-page-header .app-page-subtitle,
.route-public-offers .app-page-header .app-page-title,
.route-public-offers .app-page-header .app-page-subtitle,
.route-public-deals .app-page-header .app-page-title,
.route-public-deals .app-page-header .app-page-subtitle {
    color: #fff;
}

.section-admin .eyebrow-badge,
.section-seller .eyebrow-badge,
.route-public-dashboard .eyebrow-badge,
.route-public-inquiries .eyebrow-badge,
.route-public-viewings .eyebrow-badge,
.route-public-offers .eyebrow-badge,
.route-public-deals .eyebrow-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #fde68a;
    border-color: rgba(255, 255, 255, 0.18);
}

.admin-control-board-card,
.dashboard-stat-card,
.crm-kpi-card,
.crm-pipeline-card,
.crm-dashboard-panel,
.crm-activity-panel,
.seller-crm-card,
.customer-crm-card,
.seller-inquiry-card,
.seller-viewing-card,
.seller-offer-card,
.seller-deal-card,
.customer-inquiry-card,
.customer-viewing-card,
.customer-offer-card,
.customer-deal-card,
.admin-inquiry-card,
.admin-viewing-card,
.admin-offer-card,
.admin-deal-card {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.admin-control-board-card:hover,
.dashboard-stat-card:hover,
.crm-kpi-card:hover,
.crm-pipeline-card:hover,
.crm-dashboard-panel:hover,
.crm-activity-panel:hover,
.seller-crm-card:hover,
.customer-crm-card:hover,
.seller-inquiry-card:hover,
.seller-viewing-card:hover,
.seller-offer-card:hover,
.seller-deal-card:hover,
.customer-inquiry-card:hover,
.customer-viewing-card:hover,
.customer-offer-card:hover,
.customer-deal-card:hover,
.admin-inquiry-card:hover,
.admin-viewing-card:hover,
.admin-offer-card:hover,
.admin-deal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(181, 138, 84, 0.24);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.section-admin .table-responsive,
.section-seller .table-responsive,
.section-public .table-responsive,
.report-table-shell {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.82);
}

.section-admin .app-data-table thead th,
.section-seller .app-data-table thead th,
.report-table thead th {
    background: #f8fafc;
    color: var(--stage10-navy);
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-admin .app-data-table tbody tr:hover,
.section-seller .app-data-table tbody tr:hover,
.report-table tbody tr:hover {
    background: rgba(240, 253, 250, 0.74);
}

.status-pill,
.property-deal-status-badge,
.badge[class*='text-bg-'] {
    border-radius: 999px;
    font-weight: 850;
    letter-spacing: 0.02em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.crm-report-filter-card,
.report-filter-card,
.admin-deal-filters,
.admin-offer-filters,
.seller-deal-filters {
    border-radius: 1.45rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
}

.seller-crm-summary,
.customer-crm-summary,
.simple-dashboard-card {
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.simple-dashboard-card:hover,
.simple-dashboard-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

@media (max-width: 991.98px) {
    .crm-dashboard-columns,
    .property-offer-grid,
    .property-inquiry-grid,
    .property-offer-amount-row {
        grid-template-columns: 1fr !important;
    }

    .section-admin .page-action-row,
    .section-seller .page-action-row,
    .section-public .page-action-row,
    .crm-dashboard-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 575.98px) {
    body.section-public .btn,
    body.section-admin .btn,
    body.section-seller .btn,
    body.section-provider .btn,
    body.section-public .app-button,
    body.section-admin .app-button,
    body.section-seller .app-button,
    .property-inquiry-submit,
    .property-offer-submit {
        width: 100%;
        justify-content: center;
    }

    .map-discovery-page .homepage-compact-banner,
    .map-discovery-page .homepage-search-composer,
    .route-public-property .property-detail-root .summary-card,
    .section-admin .app-page-header,
    .section-seller .app-page-header,
    .route-public-dashboard .app-page-header {
        border-radius: 1.25rem;
    }

    .section-admin .table-responsive,
    .section-seller .table-responsive,
    .section-public .table-responsive,
    .report-table-shell {
        margin-inline: -0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-discovery-page .listing-intent-card,
    .map-discovery-page .search-method-card,
    .map-discovery-page .property-card,
    .admin-control-board-card,
    .dashboard-stat-card,
    .crm-kpi-card,
    .crm-pipeline-card,
    .seller-crm-card,
    .customer-crm-card,
    body.section-public .btn,
    body.section-admin .btn,
    body.section-seller .btn,
    body.section-provider .btn {
        transition: none !important;
        transform: none !important;
    }

    .property-inquiry-submit.is-loading::after,
    .property-offer-submit.is-loading::after,
    .route-public-property #bookingForm button[type='submit']:disabled::after {
        animation: none !important;
    }
}

/* Stage 20B: premium admin CRM command center polish. Scoped to admin-only body classes. */
body.section-admin.hns-admin-command-center {
    --hns-admin-bg: #eef3f1;
    --hns-admin-panel: rgba(255, 255, 255, 0.9);
    --hns-admin-panel-strong: #ffffff;
    --hns-admin-ink: #0b1724;
    --hns-admin-muted: #5f6f7d;
    --hns-admin-navy: #091521;
    --hns-admin-slate: #16283a;
    --hns-admin-emerald: #0f766e;
    --hns-admin-gold: #b58a54;
    --hns-admin-line: rgba(12, 28, 42, 0.1);
    --hns-admin-shadow: 0 24px 70px rgba(8, 18, 30, 0.1);
    background:
        radial-gradient(circle at 12% 0%, rgba(181, 138, 84, 0.16), transparent 30%),
        radial-gradient(circle at 94% 6%, rgba(15, 118, 110, 0.14), transparent 32%),
        linear-gradient(180deg, #f6f3ec, var(--hns-admin-bg));
}

body.section-admin.hns-admin-command-center .site-main-shell {
    width: min(1560px, calc(100vw - clamp(18px, 3.5vw, 54px)));
    max-width: none;
}

body.section-admin.hns-admin-command-center .hns-crm-hero,
body.section-admin.hns-admin-command-center .app-page-header.hns-crm-hero {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.65rem;
    background:
        linear-gradient(135deg, rgba(7, 16, 27, 0.98), rgba(18, 45, 58, 0.94)),
        radial-gradient(circle at right top, rgba(181, 138, 84, 0.34), transparent 35%);
    box-shadow: 0 28px 80px rgba(7, 16, 27, 0.22);
    overflow: hidden;
}

body.section-admin.hns-admin-command-center .hns-crm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.46;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    pointer-events: none;
}

body.section-admin.hns-admin-command-center .hns-crm-hero > * {
    position: relative;
    z-index: 1;
}

body.section-admin.hns-admin-command-center .hns-crm-hero__summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    gap: 0.65rem;
    min-width: min(100%, 410px);
}

body.section-admin.hns-admin-command-center .hns-crm-hero__summary span {
    display: grid;
    gap: 0.1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

body.section-admin.hns-admin-command-center .hns-crm-hero__summary strong {
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 1.75rem;
    letter-spacing: -0.05em;
    line-height: 1;
}

body.section-admin.hns-admin-command-center .hns-filter-panel,
body.section-admin.hns-admin-command-center .hns-table-panel,
body.section-admin.hns-admin-command-center .summary-card,
body.section-admin.hns-admin-command-center .app-card,
body.section-admin.hns-admin-command-center .admin-offer-card,
body.section-admin.hns-admin-command-center .admin-deal-card,
body.section-admin.hns-admin-command-center .report-hub-card,
body.section-admin.hns-admin-command-center .crm-pipeline-card,
body.section-admin.hns-admin-command-center .crm-dashboard-panel,
body.section-admin.hns-admin-command-center .crm-activity-panel {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.35rem;
    background: var(--hns-admin-panel);
    box-shadow: var(--hns-admin-shadow);
    backdrop-filter: blur(18px) saturate(140%);
}

body.section-admin.hns-admin-command-center .hns-filter-panel {
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.08), transparent 32%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
}

body.section-admin.hns-admin-command-center .form-control,
body.section-admin.hns-admin-command-center .form-select,
body.section-admin.hns-admin-command-center textarea.form-control {
    border-color: rgba(12, 28, 42, 0.13);
    border-radius: 0.9rem;
    background-color: rgba(255, 255, 255, 0.94);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

body.section-admin.hns-admin-command-center .form-control:focus,
body.section-admin.hns-admin-command-center .form-select:focus,
body.section-admin.hns-admin-command-center textarea.form-control:focus {
    border-color: rgba(15, 118, 110, 0.58);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.14), 0 10px 24px rgba(8, 18, 30, 0.07);
    transform: translateY(-1px);
}

body.section-admin.hns-admin-command-center .btn,
body.section-admin.hns-admin-command-center .app-button,
body.section-admin.hns-admin-command-center .crm-dashboard-button {
    border-radius: 999px;
    font-weight: 850;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background-color 170ms ease, filter 170ms ease;
}

body.section-admin.hns-admin-command-center .btn-primary,
body.section-admin.hns-admin-command-center .hns-ui-action,
body.section-admin.hns-admin-command-center .crm-dashboard-button:not(.crm-dashboard-button--ghost) {
    border-color: rgba(15, 118, 110, 0.2);
    background: linear-gradient(135deg, #0f766e, #0a3942);
    color: #fff;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.section-admin.hns-admin-command-center .btn:hover,
body.section-admin.hns-admin-command-center .btn:focus-visible,
body.section-admin.hns-admin-command-center .app-button:hover,
body.section-admin.hns-admin-command-center .app-button:focus-visible,
body.section-admin.hns-admin-command-center .crm-dashboard-button:hover,
body.section-admin.hns-admin-command-center .crm-dashboard-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(8, 18, 30, 0.14);
}

body.section-admin.hns-admin-command-center .btn:active,
body.section-admin.hns-admin-command-center .app-button:active,
body.section-admin.hns-admin-command-center .crm-dashboard-button:active {
    transform: translateY(0) scale(0.99);
}

body.section-admin.hns-admin-command-center .badge,
body.section-admin.hns-admin-command-center .status-pill,
body.section-admin.hns-admin-command-center .app-badge,
body.section-admin.hns-admin-command-center .crm-activity-action,
body.section-admin.hns-admin-command-center .property-deal-status-badge {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.035em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

body.section-admin.hns-admin-command-center .hns-table-panel .table-responsive,
body.section-admin.hns-admin-command-center .table-responsive {
    border-radius: 1.15rem;
    border-color: rgba(12, 28, 42, 0.08);
    overflow: auto;
}

body.section-admin.hns-admin-command-center .hns-table-table thead th,
body.section-admin.hns-admin-command-center .app-data-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f7faf9;
    color: var(--hns-admin-navy);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

body.section-admin.hns-admin-command-center .hns-table-table tbody tr,
body.section-admin.hns-admin-command-center .app-data-table tbody tr {
    transition: background-color 160ms ease, transform 160ms ease;
}

body.section-admin.hns-admin-command-center .hns-table-table tbody tr:hover,
body.section-admin.hns-admin-command-center .app-data-table tbody tr:hover {
    background: rgba(236, 253, 245, 0.72);
}

body.section-admin.hns-admin-command-center .app-empty-state,
body.section-admin.hns-admin-command-center .crm-dashboard-empty {
    border: 1px dashed rgba(15, 118, 110, 0.28);
    border-radius: 1.15rem;
    background:
        radial-gradient(circle at top right, rgba(181, 138, 84, 0.12), transparent 34%),
        rgba(240, 253, 250, 0.78);
    color: var(--hns-admin-muted);
}

body.section-admin.hns-admin-command-center .crm-kpi-card {
    min-height: 154px;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 22px 48px rgba(8, 18, 30, 0.14);
}

body.section-admin.hns-admin-command-center .admin-control-board-card,
body.section-admin.hns-admin-command-center .dashboard-stat-card,
body.section-admin.hns-admin-command-center .crm-kpi-card,
body.section-admin.hns-admin-command-center .crm-pipeline-card,
body.section-admin.hns-admin-command-center .crm-dashboard-panel,
body.section-admin.hns-admin-command-center .crm-activity-panel,
body.section-admin.hns-admin-command-center .admin-offer-card,
body.section-admin.hns-admin-command-center .admin-deal-card,
body.section-admin.hns-admin-command-center .report-hub-card {
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, filter 190ms ease;
}

body.section-admin.hns-admin-command-center .admin-control-board-card:hover,
body.section-admin.hns-admin-command-center .dashboard-stat-card:hover,
body.section-admin.hns-admin-command-center .crm-kpi-card:hover,
body.section-admin.hns-admin-command-center .crm-pipeline-card:hover,
body.section-admin.hns-admin-command-center .crm-dashboard-panel:hover,
body.section-admin.hns-admin-command-center .crm-activity-panel:hover,
body.section-admin.hns-admin-command-center .admin-offer-card:hover,
body.section-admin.hns-admin-command-center .admin-deal-card:hover,
body.section-admin.hns-admin-command-center .report-hub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(181, 138, 84, 0.26);
    box-shadow: 0 30px 70px rgba(8, 18, 30, 0.14);
}

body.section-admin.hns-admin-command-center .admin-offer-eyebrow,
body.section-admin.hns-admin-command-center .admin-deal-eyebrow,
body.section-admin.hns-admin-command-center .report-hub-hero__eyebrow,
body.section-admin.hns-admin-command-center .crm-dashboard-eyebrow {
    color: var(--hns-admin-gold);
    font-weight: 950;
    letter-spacing: 0.12em;
}

body.section-admin.hns-admin-command-center .admin-deal-meta,
body.section-admin.hns-admin-command-center .admin-offer-meta,
body.section-admin.hns-admin-command-center .crm-pipeline-row,
body.section-admin.hns-admin-command-center .crm-dashboard-action-item,
body.section-admin.hns-admin-command-center .crm-activity-item {
    border: 1px solid rgba(12, 28, 42, 0.07);
    background: rgba(248, 250, 252, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.section-admin.hns-admin-command-center .alert {
    border-radius: 1.1rem;
    border-width: 1px;
    box-shadow: 0 16px 36px rgba(8, 18, 30, 0.08);
}

@media (max-width: 767.98px) {
    body.section-admin.hns-admin-command-center .site-main-shell {
        width: min(100%, calc(100vw - 18px));
    }

    body.section-admin.hns-admin-command-center .hns-crm-hero__summary {
        grid-template-columns: 1fr;
        width: 100%;
    }

    body.section-admin.hns-admin-command-center .hns-filter-panel .card-body,
    body.section-admin.hns-admin-command-center .hns-table-panel .card-body {
        padding: 1rem !important;
    }

    body.section-admin.hns-admin-command-center .table-responsive {
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.section-admin.hns-admin-command-center *,
    body.section-admin.hns-admin-command-center *::before,
    body.section-admin.hns-admin-command-center *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }

    body.section-admin.hns-admin-command-center .btn:hover,
    body.section-admin.hns-admin-command-center .app-button:hover,
    body.section-admin.hns-admin-command-center .crm-dashboard-button:hover,
    body.section-admin.hns-admin-command-center .admin-control-board-card:hover,
    body.section-admin.hns-admin-command-center .dashboard-stat-card:hover,
    body.section-admin.hns-admin-command-center .crm-kpi-card:hover,
    body.section-admin.hns-admin-command-center .crm-pipeline-card:hover,
    body.section-admin.hns-admin-command-center .admin-offer-card:hover,
    body.section-admin.hns-admin-command-center .admin-deal-card:hover {
        transform: none !important;
    }
}

/* Stage 13 Correction 3: final homepage contrast and list-first card refinements. */
.map-discovery-page .listing-intent-card:not(.is-active),
.map-discovery-page .search-method-card:not(.is-active) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94)) !important;
    color: #102033 !important;
}

.map-discovery-page .listing-intent-card:not(.is-active) .listing-intent-card__title,
.map-discovery-page .search-method-card:not(.is-active) .search-method-card__title {
    color: #102033 !important;
    text-shadow: none !important;
}

.map-discovery-page .search-method-card:not(.is-active) .search-method-card__copy {
    color: #40556a !important;
}

.map-discovery-page .listing-intent-card.is-active {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.02)),
        linear-gradient(135deg, var(--listing-accent, #0f766e), var(--listing-accent-strong, #0b3b4a)) !important;
    color: #ffffff !important;
}

.map-discovery-page .search-method-card.is-active {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
        linear-gradient(135deg, var(--method-accent, #0f766e), var(--method-accent-strong, #0b3b4a)) !important;
    color: #ffffff !important;
}

.map-discovery-page .listing-intent-card.is-active .listing-intent-card__title,
.map-discovery-page .search-method-card.is-active .search-method-card__title,
.map-discovery-page .search-method-card.is-active .search-method-card__copy {
    color: #ffffff !important;
    text-shadow: 0 1px 1px rgba(5, 15, 28, 0.22) !important;
}

.map-discovery-page .listing-intent-card__status,
.map-discovery-page .search-method-card__status {
    background: rgba(255, 255, 255, 0.96) !important;
    color: #102033 !important;
}

.map-discovery-page .map-search-layout--list-first {
    gap: clamp(1rem, 2vw, 1.5rem);
}

.map-discovery-page .map-search-layout--list-first .results-panel {
    max-height: clamp(680px, 78vh, 900px);
    overflow-y: auto;
    border-radius: 1.65rem;
}

.map-discovery-page .map-search-layout--list-first .map-panel {
    height: clamp(440px, 54vh, 620px);
    min-height: 440px;
}

.map-discovery-page .map-search-layout--list-first #map {
    min-height: 440px;
}

.map-discovery-page .property-list {
    gap: 1.15rem;
}

.map-discovery-page .property-card {
    grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) !important;
    gap: 1rem !important;
    align-items: stretch;
    padding: 0.85rem;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.98);
}

.map-discovery-page .property-card-media {
    width: 100% !important;
    min-height: 205px !important;
    border-radius: 1.3rem;
    background: #eef6f8;
}

.map-discovery-page .property-card-media::after {
    display: none !important;
}

.map-discovery-page .property-card img {
    width: 100% !important;
    min-height: 205px !important;
    border-radius: inherit;
    filter: none !important;
}

.map-discovery-page .property-card .card-body {
    padding: 0.35rem 0.35rem 0.35rem 0 !important;
    gap: 1rem;
}

.map-discovery-page .property-card h3 {
    font-size: clamp(1.05rem, 0.98rem + 0.28vw, 1.22rem);
    line-height: 1.22;
}

.map-discovery-page .property-description,
.map-discovery-page .property-location,
.map-discovery-page .property-address {
    line-height: 1.5;
}

.map-discovery-page .property-price-chip {
    right: auto;
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    justify-content: flex-start;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.94);
    color: #073d5f;
    text-align: left;
}

.map-discovery-page .property-card-footer {
    flex-wrap: wrap;
    align-items: center;
}

.map-discovery-page .property-card-actions {
    justify-content: flex-start;
}

.map-discovery-page .property-card-actions .btn,
.map-discovery-page .search-action-group .btn,
.map-discovery-page .search-method-band__reset {
    white-space: nowrap;
}

.map-discovery-page .popular-property-card__media img {
    filter: none !important;
}

.map-discovery-page .popular-property-card__views {
    background: rgba(255, 255, 255, 0.94);
    color: #073d5f;
}

@media (max-width: 899.98px) {
    .map-discovery-page .map-search-layout--list-first .results-panel {
        max-height: none;
        overflow: visible;
    }

    .map-discovery-page .property-card {
        grid-template-columns: 1fr !important;
        padding: 0.75rem;
    }

    .map-discovery-page .property-card .card-body {
        padding: 0.15rem 0.1rem 0.25rem !important;
    }
}

@media (max-width: 575.98px) {
    .map-discovery-page .listing-intent-card,
    .map-discovery-page .search-method-card {
        justify-content: flex-start;
    }
}

/* Stage 13 Correction 4: split compact result list + real Leaflet map. */
.map-discovery-page .map-search-layout--split-list-map {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.map-discovery-page .homepage-results-shell {
    display: grid;
    grid-template-columns: minmax(360px, 0.39fr) minmax(0, 0.61fr);
    gap: clamp(1rem, 1.8vw, 1.35rem);
    align-items: stretch;
    min-height: 680px;
    height: clamp(680px, 74vh, 840px);
    margin-bottom: clamp(1.1rem, 2.2vw, 1.65rem);
}

.map-discovery-page .homepage-results-list-panel,
.map-discovery-page .homepage-results-map-panel {
    min-width: 0;
    min-height: 0;
    height: 100%;
    border: 1px solid rgba(203, 213, 225, 0.86);
    border-radius: 1.75rem;
    background: rgba(248, 252, 255, 0.97);
    box-shadow: 0 22px 52px rgba(11, 29, 45, 0.11);
}

.map-discovery-page .homepage-results-list-panel {
    display: flex;
    flex-direction: column;
    padding: 0.9rem;
    overflow: hidden !important;
    border-right: 1px solid rgba(203, 213, 225, 0.86);
}

.map-discovery-page .homepage-results-list-panel .results-header {
    flex: 0 0 auto;
    gap: 0.75rem;
    margin-bottom: 0.7rem;
    padding-bottom: 0.75rem;
}

.map-discovery-page .homepage-results-list-panel .results-title {
    margin-bottom: 0.2rem;
    font-size: clamp(1rem, 0.95rem + 0.24vw, 1.18rem);
    line-height: 1.15;
}

.map-discovery-page .homepage-results-list-panel .results-meta {
    font-size: 0.8rem;
    line-height: 1.35;
}

.map-discovery-page .homepage-results-list-panel .results-pill {
    min-width: auto;
    min-height: 2.1rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
}

.map-discovery-page .homepage-results-list-panel .active-filter-row {
    flex: 0 0 auto;
    min-height: 0;
    margin-bottom: 0.65rem;
}

.map-discovery-page .property-list--compact {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.1rem 0.35rem 0.1rem 0.05rem;
    gap: 0.52rem;
    scrollbar-width: thin;
}

.map-discovery-page .property-card--compact,
.map-discovery-page .loading-card.property-card--compact {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    min-height: 70px;
    gap: 0.72rem !important;
    align-items: center;
    padding: 0.48rem;
    border-radius: 1.125rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 24px rgba(11, 29, 45, 0.075);
}

.map-discovery-page .property-card--compact .property-card-media {
    width: 76px !important;
    min-height: 62px !important;
    height: 62px !important;
    border-radius: 0.875rem;
    overflow: hidden;
}

.map-discovery-page .property-card--compact .property-card-media::after {
    display: none !important;
}

.map-discovery-page .property-card--compact .property-card-media img,
.map-discovery-page .property-card--compact img {
    width: 76px !important;
    height: 62px !important;
    min-height: 62px !important;
    object-fit: cover;
    border-radius: inherit;
    filter: none !important;
}

.map-discovery-page .property-card--compact .card-body,
.map-discovery-page .property-card-compact__body {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.55rem !important;
    align-items: center;
    min-width: 0;
    padding: 0 !important;
}

.map-discovery-page .property-card-compact__content {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.map-discovery-page .property-card-compact__type {
    color: #0f766e;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.map-discovery-page .property-card-compact__title {
    margin: 0;
    overflow: hidden;
    color: var(--home-navy, #0b1d2d);
    font-size: 0.9rem;
    font-weight: 850;
    letter-spacing: -0.02em;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-discovery-page .property-card-compact__title a {
    color: inherit;
    text-decoration: none;
}

.map-discovery-page .property-card-compact__meta {
    margin: 0;
    overflow: hidden;
    color: #5b6b7a;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.18;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.map-discovery-page .property-card-compact__price {
    color: #073d5f;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.1;
}

.map-discovery-page .property-card-compact__price small {
    color: #607083;
    font-size: 0.68rem;
    font-weight: 800;
}

.map-discovery-page .property-card-compact__actions {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    justify-content: center;
    width: auto;
}

.map-discovery-page .property-card-compact__actions .btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 46px;
    min-height: 1.85rem;
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.map-discovery-page .homepage-results-map-panel {
    position: relative;
    top: auto;
    overflow: hidden !important;
    background: #dbeafe;
}

.map-discovery-page .homepage-results-map-panel #map,
.map-discovery-page .map-search-layout--split-list-map #map {
    width: 100%;
    height: 100%;
    min-height: 680px;
}

.map-discovery-page .map-search-layout--split-list-map .popular-properties-marquee {
    margin-top: 0;
}

@media (max-width: 1099.98px) {
    .map-discovery-page .homepage-results-shell {
        grid-template-columns: minmax(320px, 0.43fr) minmax(0, 0.57fr);
    }
}

@media (max-width: 899.98px) {
    .map-discovery-page .homepage-results-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
        gap: 1rem;
    }

    .map-discovery-page .homepage-results-list-panel {
        height: auto;
        max-height: none;
        overflow: visible !important;
        padding: 0.85rem;
    }

    .map-discovery-page .property-list--compact {
        overflow: visible;
        padding: 0;
    }

    .map-discovery-page .homepage-results-map-panel,
    .map-search-layout--split-list-map.is-list-only .homepage-results-map-panel {
        display: block !important;
        height: min(58vh, 480px);
        min-height: 360px;
        margin-top: 0;
    }

    .map-search-layout--split-list-map.is-map-only .homepage-results-list-panel,
    .map-search-layout--split-list-map.is-map-only .popular-properties-marquee {
        display: none !important;
    }

    .map-discovery-page .homepage-results-map-panel #map,
    .map-discovery-page .map-search-layout--split-list-map #map {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .map-discovery-page .property-card--compact,
    .map-discovery-page .loading-card.property-card--compact {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        gap: 0.6rem !important;
        min-height: 74px;
        padding: 0.45rem;
    }

    .map-discovery-page .property-card--compact .property-card-media,
    .map-discovery-page .property-card--compact .property-card-media img,
    .map-discovery-page .property-card--compact img {
        width: 72px !important;
        height: 64px !important;
        min-height: 64px !important;
    }

    .map-discovery-page .property-card--compact .card-body,
    .map-discovery-page .property-card-compact__body {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.4rem !important;
    }

    .map-discovery-page .property-card-compact__actions {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* Stage 13 Correction 5: ultra compact homepage rows - image, title, price only. */
.map-discovery-page .property-list--compact {
    gap: 0.36rem;
}

.map-discovery-page .property-card--compact,
.map-discovery-page .loading-card.property-card--compact {
    grid-template-columns: 58px minmax(0, 1fr) !important;
    min-height: 54px;
    gap: 0.55rem !important;
    padding: 0.32rem 0.4rem;
    border-radius: 0.95rem;
}

.map-discovery-page .property-card--compact:hover,
.map-discovery-page .property-card--compact:focus-visible,
.map-discovery-page .property-card--compact.is-active {
    border-color: rgba(15, 118, 110, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(238, 253, 250, 0.96));
    box-shadow: 0 12px 26px rgba(11, 29, 45, 0.12);
    outline: none;
}

.map-discovery-page .property-card--compact .property-card-media {
    width: 58px !important;
    min-height: 48px !important;
    height: 48px !important;
    border-radius: 0.75rem;
}

.map-discovery-page .property-card--compact .property-card-media img,
.map-discovery-page .property-card--compact img {
    width: 58px !important;
    height: 48px !important;
    min-height: 48px !important;
}

.map-discovery-page .property-card--compact .card-body,
.map-discovery-page .property-card-compact__body {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
}

.map-discovery-page .property-card-compact__content {
    gap: 0.16rem;
}

.map-discovery-page .property-card-compact__type,
.map-discovery-page .property-card-compact__meta,
.map-discovery-page .property-card-compact__actions {
    display: none !important;
}

.map-discovery-page .property-card-compact__title {
    font-size: 0.86rem;
    line-height: 1.08;
}

.map-discovery-page .property-card-compact__price {
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .map-discovery-page .property-card--compact,
    .map-discovery-page .loading-card.property-card--compact {
        grid-template-columns: 58px minmax(0, 1fr) !important;
        min-height: 58px;
        gap: 0.55rem !important;
        padding: 0.36rem 0.42rem;
    }

    .map-discovery-page .property-card--compact .property-card-media,
    .map-discovery-page .property-card--compact .property-card-media img,
    .map-discovery-page .property-card--compact img {
        width: 58px !important;
        height: 50px !important;
        min-height: 50px !important;
    }
}

/* Stage 13 Correction 6: prevent the mobile List/Map switch from becoming a fixed full-height overlay. */
@media (max-width: 899.98px) {
    .map-discovery-page .mobile-view-toggle {
        position: sticky !important;
        top: calc(var(--map-search-fixed-header-height, 64px) + 0.35rem) !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        z-index: 30 !important;
        display: flex !important;
        align-items: center;
        width: min(100%, 19rem) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto 0.85rem !important;
        padding: 0.22rem !important;
        gap: 0.25rem !important;
        border: 1px solid rgba(203, 213, 225, 0.82) !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 10px 24px rgba(11, 29, 45, 0.12) !important;
        transform: none !important;
        backdrop-filter: blur(14px);
    }

    .map-discovery-page .mobile-view-toggle .btn {
        display: inline-flex !important;
        flex: 1 1 0 !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-width: 0 !important;
        min-height: 36px !important;
        height: 36px !important;
        max-height: 36px !important;
        padding: 0.35rem 0.75rem !important;
        border-radius: 999px !important;
        font-size: 0.88rem !important;
        font-weight: 850 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        box-shadow: none;
    }

    .map-discovery-page .mobile-view-toggle .btn-primary {
        box-shadow: 0 8px 18px rgba(0, 119, 190, 0.18) !important;
    }

    .map-discovery-page .mobile-view-toggle .visually-hidden {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    body.route-public-index {
        padding-bottom: max(env(safe-area-inset-bottom), 0px);
    }
}

/* Stage 13 Correction 7: mobile switch scrolls normally and only the active panel is visible. */
@media (max-width: 899.98px) {
    .map-discovery-page .mobile-view-toggle {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        z-index: auto !important;
        display: flex !important;
        width: min(100%, 19rem) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 auto 0.85rem !important;
        transform: none !important;
    }

    .map-discovery-page .map-search-layout--split-list-map.is-list-only .homepage-results-list-panel {
        display: flex !important;
    }

    .map-discovery-page .map-search-layout--split-list-map.is-list-only .homepage-results-map-panel {
        display: none !important;
    }

    .map-discovery-page .map-search-layout--split-list-map.is-map-only .homepage-results-list-panel {
        display: none !important;
    }

    .map-discovery-page .map-search-layout--split-list-map.is-map-only .homepage-results-map-panel {
        display: block !important;
        height: min(58vh, 480px);
        min-height: 360px;
        margin-top: 0;
    }

    .map-discovery-page .map-search-layout--split-list-map.is-map-only .popular-properties-marquee {
        display: block !important;
        margin-top: clamp(1rem, 3vw, 1.35rem);
    }
}

/* Stage 13 Correction 9: keep real Leaflet controls compact and show full-map Ctrl-scroll guidance. */
.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint {
    position: absolute;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(2px);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 0s linear 160ms;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint__content {
    width: min(92%, 30rem);
    padding: clamp(1.1rem, 2.8vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.86);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
    text-align: center;
    transform: translateY(8px) scale(0.98);
    transition: transform 160ms ease;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint__shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint strong {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.15;
    font-weight: 900;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint span:last-child {
    display: block;
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    font-weight: 650;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint.is-visible {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint.is-visible .map-ctrl-zoom-hint__content {
    transform: translateY(0) scale(1);
}

.map-discovery-page .homepage-results-map-panel .leaflet-control-zoom.homepage-map-zoom-center {
    margin: 10px 0 0 10px !important;
    border: 2px solid rgba(0, 0, 0, 0.18) !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14) !important;
}

.map-discovery-page .homepage-results-map-panel .leaflet-control-zoom.homepage-map-zoom-center a,
.map-discovery-page .homepage-results-map-panel .leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 30px !important;
    text-align: center !important;
    box-shadow: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint,
    .map-discovery-page .homepage-results-map-panel .map-ctrl-zoom-hint__content {
        transition: none;
    }
}

/* Stage 20C: Premium Real-Estate Portal Suite. Scoped to customer, seller, and provider portal body classes only. */
body.hns-portal-suite {
    --hns-portal-bg: #f4f7f3;
    --hns-portal-panel: rgba(255, 255, 255, 0.92);
    --hns-portal-panel-strong: #ffffff;
    --hns-portal-ink: #0b1724;
    --hns-portal-muted: #5f6f7d;
    --hns-portal-line: rgba(12, 28, 42, 0.1);
    --hns-portal-emerald: #0f766e;
    --hns-portal-emerald-strong: #0a4f49;
    --hns-portal-gold: #b58a54;
    --hns-portal-navy: #091521;
    --hns-portal-shadow: 0 22px 60px rgba(8, 18, 30, 0.1);
    --hns-portal-soft-shadow: 0 14px 34px rgba(8, 18, 30, 0.075);
    background:
        radial-gradient(circle at 10% -4%, rgba(181, 138, 84, 0.16), transparent 30%),
        radial-gradient(circle at 92% 2%, rgba(15, 118, 110, 0.13), transparent 34%),
        linear-gradient(180deg, #faf6ed 0%, var(--hns-portal-bg) 42%, #edf5f2 100%);
    color: var(--hns-portal-ink);
}

body.hns-portal-suite .site-main-shell {
    width: min(1500px, calc(100vw - clamp(18px, 4vw, 58px)));
    max-width: none;
}

body.hns-portal-suite .app-page-header,
body.hns-portal-suite .simple-dashboard-header,
body.hns-portal-suite .auth-page-shell .auth-hero-card,
body.hns-portal-suite .auth-page-shell .login-card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.6rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.9)),
        radial-gradient(circle at right top, rgba(15, 118, 110, 0.12), transparent 38%);
    box-shadow: var(--hns-portal-shadow);
    overflow: hidden;
}

body.hns-portal-suite .app-page-header::before,
body.hns-portal-suite .simple-dashboard-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 118, 110, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(181, 138, 84, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
    pointer-events: none;
}

body.hns-portal-suite .app-page-header > *,
body.hns-portal-suite .simple-dashboard-header > * {
    position: relative;
    z-index: 1;
}

body.hns-portal-suite .app-page-title,
body.hns-portal-suite .app-card-title,
body.hns-portal-suite h1,
body.hns-portal-suite h2 {
    color: var(--hns-portal-navy);
    letter-spacing: -0.035em;
}

body.hns-portal-suite .app-page-subtitle,
body.hns-portal-suite .app-card-subtitle,
body.hns-portal-suite .text-muted,
body.hns-portal-suite .text-secondary {
    color: var(--hns-portal-muted) !important;
}

body.hns-portal-suite .eyebrow-badge,
body.hns-portal-suite .seller-crm-eyebrow,
body.hns-portal-suite .customer-crm-eyebrow,
body.hns-portal-suite .customer-offer-eyebrow,
body.hns-portal-suite .customer-deal-eyebrow,
body.hns-portal-suite .seller-offer-eyebrow,
body.hns-portal-suite .seller-deal-eyebrow {
    border: 1px solid rgba(181, 138, 84, 0.22);
    background: rgba(255, 250, 235, 0.92);
    color: #8a622f;
    font-weight: 950;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

body.hns-portal-suite .summary-card,
body.hns-portal-suite .app-card,
body.hns-portal-suite .seller-crm-summary,
body.hns-portal-suite .customer-crm-summary,
body.hns-portal-suite .simple-dashboard-card,
body.hns-portal-suite .seller-crm-card,
body.hns-portal-suite .customer-crm-card,
body.hns-portal-suite .customer-inquiry-card,
body.hns-portal-suite .customer-viewing-card,
body.hns-portal-suite .customer-offer-card,
body.hns-portal-suite .customer-deal-card,
body.hns-portal-suite .seller-inquiry-card,
body.hns-portal-suite .seller-viewing-card,
body.hns-portal-suite .seller-offer-card,
body.hns-portal-suite .seller-deal-card,
body.hns-portal-suite .provider-service-card,
body.hns-portal-suite .provider-service-summary-card,
body.hns-portal-suite .provider-lead-summary-card,
body.hns-portal-suite .provider-service-list-card {
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    border-radius: 1.35rem !important;
    background: var(--hns-portal-panel) !important;
    box-shadow: var(--hns-portal-soft-shadow) !important;
    backdrop-filter: blur(18px) saturate(140%);
}

body.hns-portal-suite .seller-crm-summary,
body.hns-portal-suite .customer-crm-summary,
body.hns-portal-suite .dashboard-action-panel,
body.hns-portal-suite .provider-service-dashboard-card,
body.hns-portal-suite .provider-landing-summary-card,
body.hns-portal-suite .provider-lead-dashboard-card,
body.hns-portal-suite .custom-domain-dashboard-card,
body.hns-portal-suite .referral-code-card {
    padding: clamp(1rem, 2.2vw, 1.4rem);
}

body.hns-portal-suite .seller-crm-header,
body.hns-portal-suite .customer-crm-header,
body.hns-portal-suite .app-card-header,
body.hns-portal-suite .dashboard-section-header {
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(12, 28, 42, 0.08);
}

body.hns-portal-suite .seller-crm-grid,
body.hns-portal-suite .customer-crm-grid,
body.hns-portal-suite .dashboard-stat-grid,
body.hns-portal-suite .app-grid,
body.hns-portal-suite .provider-service-summary-grid,
body.hns-portal-suite .provider-lead-summary-grid,
body.hns-portal-suite .provider-request-summary-grid {
    gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

body.hns-portal-suite .seller-crm-card,
body.hns-portal-suite .customer-crm-card,
body.hns-portal-suite .app-stat-card,
body.hns-portal-suite .provider-request-summary-card,
body.hns-portal-suite .provider-service-summary-card,
body.hns-portal-suite .provider-lead-summary-card {
    min-height: 132px;
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, filter 190ms ease;
}

body.hns-portal-suite .seller-crm-card strong,
body.hns-portal-suite .customer-crm-card strong,
body.hns-portal-suite .provider-request-summary-value,
body.hns-portal-suite .wallet-amount-text,
body.hns-portal-suite .display-6 {
    color: var(--hns-portal-navy);
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.055em;
}

body.hns-portal-suite .simple-dashboard-grid,
body.hns-portal-suite .dashboard-action-grid,
body.hns-portal-suite .provider-service-list {
    gap: clamp(0.8rem, 1.8vw, 1.1rem);
}

body.hns-portal-suite .simple-dashboard-card,
body.hns-portal-suite .dashboard-action-card,
body.hns-portal-suite .app-action-card {
    position: relative;
    min-height: 150px;
    padding: 1.1rem;
    border-radius: 1.3rem;
    text-decoration: none;
    transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease, background-color 190ms ease;
}

body.hns-portal-suite .dashboard-action-card--primary,
body.hns-portal-suite .simple-dashboard-card:hover,
body.hns-portal-suite .app-action-card:hover {
    border-color: rgba(15, 118, 110, 0.22) !important;
    background:
        radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 36%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 253, 250, 0.92)) !important;
}

body.hns-portal-suite .summary-card:hover,
body.hns-portal-suite .app-card:hover,
body.hns-portal-suite .simple-dashboard-card:hover,
body.hns-portal-suite .seller-crm-card:hover,
body.hns-portal-suite .customer-crm-card:hover,
body.hns-portal-suite .customer-inquiry-card:hover,
body.hns-portal-suite .customer-viewing-card:hover,
body.hns-portal-suite .customer-offer-card:hover,
body.hns-portal-suite .customer-deal-card:hover,
body.hns-portal-suite .seller-inquiry-card:hover,
body.hns-portal-suite .seller-viewing-card:hover,
body.hns-portal-suite .seller-offer-card:hover,
body.hns-portal-suite .seller-deal-card:hover,
body.hns-portal-suite .provider-service-card:hover,
body.hns-portal-suite .dashboard-action-card:hover {
    transform: translateY(-3px);
    border-color: rgba(181, 138, 84, 0.26) !important;
    box-shadow: 0 28px 68px rgba(8, 18, 30, 0.13) !important;
}

body.hns-portal-suite .btn,
body.hns-portal-suite .app-button,
body.hns-portal-suite .customer-offer-withdraw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 850;
    min-height: 2.55rem;
    transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease, background-color 170ms ease, filter 170ms ease;
}

body.hns-portal-suite .btn-primary,
body.hns-portal-suite .app-button-primary,
body.hns-portal-suite .customer-offer-withdraw-button {
    border-color: rgba(15, 118, 110, 0.2) !important;
    background: linear-gradient(135deg, var(--hns-portal-emerald), var(--hns-portal-emerald-strong)) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.hns-portal-suite .btn-outline-secondary,
body.hns-portal-suite .app-button-secondary {
    border-color: rgba(12, 28, 42, 0.13) !important;
    background: rgba(255, 255, 255, 0.82) !important;
    color: var(--hns-portal-ink) !important;
}

body.hns-portal-suite .btn:hover,
body.hns-portal-suite .btn:focus-visible,
body.hns-portal-suite .app-button:hover,
body.hns-portal-suite .app-button:focus-visible,
body.hns-portal-suite .customer-offer-withdraw-button:hover,
body.hns-portal-suite .customer-offer-withdraw-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(8, 18, 30, 0.14);
}

body.hns-portal-suite .btn:active,
body.hns-portal-suite .app-button:active,
body.hns-portal-suite .customer-offer-withdraw-button:active {
    transform: translateY(0) scale(0.99);
}

body.hns-portal-suite .btn:disabled,
body.hns-portal-suite .btn.disabled,
body.hns-portal-suite .app-button:disabled {
    filter: grayscale(0.22);
    opacity: 0.68;
    transform: none;
    box-shadow: none;
}

body.hns-portal-suite .form-control,
body.hns-portal-suite .form-select,
body.hns-portal-suite textarea.form-control {
    border-color: rgba(12, 28, 42, 0.13);
    border-radius: 0.95rem;
    background-color: rgba(255, 255, 255, 0.94);
    min-height: 2.7rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

body.hns-portal-suite .form-control:hover,
body.hns-portal-suite .form-select:hover,
body.hns-portal-suite textarea.form-control:hover {
    border-color: rgba(15, 118, 110, 0.28);
}

body.hns-portal-suite .form-control:focus,
body.hns-portal-suite .form-select:focus,
body.hns-portal-suite textarea.form-control:focus {
    border-color: rgba(15, 118, 110, 0.58);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.14), 0 10px 24px rgba(8, 18, 30, 0.07);
    transform: translateY(-1px);
}

body.hns-portal-suite .badge,
body.hns-portal-suite .status-pill,
body.hns-portal-suite .app-badge,
body.hns-portal-suite .chat-link-badge {
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.035em;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

body.hns-portal-suite .alert,
body.hns-portal-suite .app-alert {
    border-width: 1px;
    border-radius: 1.12rem;
    box-shadow: 0 16px 36px rgba(8, 18, 30, 0.08);
}

body.hns-portal-suite .app-alert-info,
body.hns-portal-suite .alert-info {
    border-color: rgba(15, 118, 110, 0.18);
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.94), rgba(255, 251, 235, 0.8));
    color: #17423d;
}

body.hns-portal-suite .app-empty-state,
body.hns-portal-suite .provider-service-empty-state {
    border: 1px dashed rgba(15, 118, 110, 0.28);
    border-radius: 1.2rem;
    background:
        radial-gradient(circle at top right, rgba(181, 138, 84, 0.12), transparent 34%),
        rgba(240, 253, 250, 0.78);
    color: var(--hns-portal-muted);
}

body.hns-portal-suite .table-responsive {
    max-width: 100%;
    border: 1px solid rgba(12, 28, 42, 0.08);
    border-radius: 1.15rem;
    overflow: auto;
}

body.hns-portal-suite .app-data-table thead th,
body.hns-portal-suite .table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f7faf9;
    color: var(--hns-portal-navy);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.hns-portal-suite .app-data-table tbody tr,
body.hns-portal-suite .table tbody tr {
    transition: background-color 160ms ease;
}

body.hns-portal-suite .app-data-table tbody tr:hover,
body.hns-portal-suite .table tbody tr:hover {
    background: rgba(236, 253, 245, 0.72);
}

body.hns-portal-suite .seller-property-thumb,
body.hns-portal-suite .provider-service-card__image {
    border-radius: 1rem;
    box-shadow: 0 10px 22px rgba(8, 18, 30, 0.12);
}

body.hns-portal-suite .customer-offer-meta,
body.hns-portal-suite .customer-deal-meta,
body.hns-portal-suite .seller-offer-meta,
body.hns-portal-suite .seller-deal-meta,
body.hns-portal-suite .crm-dashboard-action-item,
body.hns-portal-suite .wallet-withdrawal-note,
body.hns-portal-suite .provider-service-admin-note {
    border: 1px solid rgba(12, 28, 42, 0.07);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body.hns-portal-suite .page-action-row,
body.hns-portal-suite .provider-service-card__actions {
    align-items: center;
    gap: 0.55rem;
}

@media (max-width: 767.98px) {
    body.hns-portal-suite .site-main-shell {
        width: min(100%, calc(100vw - 18px));
    }

    body.hns-portal-suite .app-page-header,
    body.hns-portal-suite .simple-dashboard-header {
        padding: 1.05rem !important;
        border-radius: 1.25rem;
    }

    body.hns-portal-suite .page-action-row,
    body.hns-portal-suite .provider-service-card__actions,
    body.hns-portal-suite .d-flex.flex-wrap.gap-2 {
        width: 100%;
    }

    body.hns-portal-suite .summary-card .card-body,
    body.hns-portal-suite .app-card .card-body {
        padding: 1rem !important;
    }

    body.hns-portal-suite .table-responsive {
        margin-inline: -0.15rem;
    }

    body.hns-portal-suite .btn,
    body.hns-portal-suite .app-button,
    body.hns-portal-suite .customer-offer-withdraw-button {
        width: 100%;
        min-height: 2.75rem;
    }
}

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

    body.hns-portal-suite .summary-card:hover,
    body.hns-portal-suite .app-card:hover,
    body.hns-portal-suite .simple-dashboard-card:hover,
    body.hns-portal-suite .dashboard-action-card:hover,
    body.hns-portal-suite .btn:hover,
    body.hns-portal-suite .app-button:hover {
        transform: none !important;
    }
}
