/* ===================================================================
   RENTALS HUB — SHARED APP SHELL (app.css)
   ===================================================================
   Source of pixel truth: scratchpad/rental-design-zip/rental-hub/*.dc.html
   (390x844 mobile-first). This file carries:
     1. Design tokens (rental-hub-ui-contract.md)
     2. The byte-identical base CSS block shared by every design screen
     3. The desktop app frame (.vm-page / .vm-app)
     4. Bottom-nav component
     5. Shared card styles (featured carousel card + compact feed card)
     6. Pills (availability / sponsored / verified), chips, hearts
     7. Filter bottom-sheet component (class-toggled, not inline styles)
     8. Project trap guards ([hidden] beats author display rules)
   Mobile overrides live at the END of the file (cascade-order trap:
   @media adds no specificity, so they must come after base rules).
   Because of that, section 15 is written ABOVE section 14: new sections
   keep counting up, but 14 always stays the last block in the file.
   =================================================================== */

/* ----------------------------------------------------------------
   1. TOKENS
   ---------------------------------------------------------------- */
:root {
    --vm-primary: #1a8917;
    --vm-primary-dark: #146812;
    --vm-primary-darker: #0f5e0d;
    --vm-accent: #8ff08b;
    --vm-tint: #eaf6ea;
    --vm-tint-soft: #f4fbf3;
    --vm-text: #111827;
    --vm-text-2: #374151;
    --vm-muted: #6b7280;
    --vm-muted-2: #9ca3af;
    --vm-border: #e6e9ec;
    --vm-border-2: #eceef0;
    --vm-chip-border: #e0e3e6;
    --vm-star: #f5a623;
    --vm-amber: #d99a1a;
    --vm-amber-bg: #fef9ec;
    --vm-amber-text: #b45309;
    --vm-amber-dot: #f59e0b;
    --vm-heart: #e0245e;
    --vm-red: #dc2626;
    --vm-canvas: #f8f9fa;
    --vm-page-bg: #e9ebee;
    --vm-font-body: 'Inter', -apple-system, sans-serif;
    --vm-font-display: 'Space Grotesk', sans-serif;
}

/* ----------------------------------------------------------------
   2. BASE BLOCK — byte-identical to the design screens
   ---------------------------------------------------------------- */
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', -apple-system, sans-serif; background: #e9ebee; }
a { color: #1a8917; text-decoration: none; }
a:hover { color: #146812; }
button { border: none; background: none; font: inherit; cursor: pointer; }
/* Form controls do NOT inherit typography from their ancestors — the UA gives
   them its own font (Arial-ish for input/select, MONOSPACE for textarea). The
   design screens never noticed because they only ever showed one text field.
   Production has a whole wizard, so the Description textarea was shipping in
   monospace. Same `font: inherit` the button rule above already uses; every
   control that wants a different size still declares its own font-size, which
   out-specifies this element selector. */
input, textarea, select { font: inherit; }
[data-noscroll]::-webkit-scrollbar { display: none; }
@keyframes vmSlide { from { transform: translateX(0); } to { transform: translateX(calc(350px - 100%)); } }
[data-cattrack]:hover { animation-play-state: paused; }

/* Project trap: an author `display:` rule beats the UA's [hidden] rule.
   Hard guard so `hidden` always actually hides. */
[hidden] { display: none !important; }

/* ----------------------------------------------------------------
   3. APP FRAME
   Design canvas is 390px; production shows a centered app frame on
   desktop (page bg #e9ebee is slightly darker than the #f8f9fa canvas).
   NOTE: unlike the design container, .vm-app does NOT set overflow:hidden
   — that would kill the sticky filter bar. Sections that need clipping
   (hero) clip themselves.
   ---------------------------------------------------------------- */
.vm-app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: var(--vm-canvas);
    color: var(--vm-text);
    font-family: var(--vm-font-body);
    box-shadow: 0 0 40px rgba(16, 24, 40, .08);
}

/* ----------------------------------------------------------------
   4. BOTTOM NAV (Explore / Messages / List FAB / Bookings / Account)
   ---------------------------------------------------------------- */
.vm-bottom-nav {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-top: 1px solid var(--vm-border-2);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 9px 8px 12px;
    z-index: 40;
    box-shadow: 0 -4px 22px rgba(16, 24, 40, .08);
}
.vm-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--vm-muted-2);
    font-size: 10px;
    font-weight: 500;
}
/* The icon sits in a fixed 52x30 box on every tab so all five labels share a
   baseline; the active tab fills that box with the green tint pill. Excludes
   the FAB, whose icon lives inside .vm-nav-fab-circle. */
.vm-bottom-nav a:not(.vm-nav-fab) i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    font-size: 19px;
}
.vm-bottom-nav a.is-active {
    color: var(--vm-primary-dark);
    font-weight: 700;
}
.vm-bottom-nav a.is-active:not(.vm-nav-fab) i {
    background: var(--vm-tint);
    font-size: 18px;
}
.vm-bottom-nav a.vm-nav-fab {
    color: var(--vm-text-2);
    font-weight: 600;
    gap: 6px;
    margin-top: -16px;
}
.vm-nav-fab-circle {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: var(--vm-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border: 3px solid #fff;
    box-shadow: 0 8px 18px rgba(26, 137, 23, .45);
}
.vm-nav-dot {
    position: absolute;
    top: -2px;
    right: -6px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--vm-red);
    border: 2px solid #fff;
}

/* ----------------------------------------------------------------
   5. PILLS + BADGES
   ---------------------------------------------------------------- */
/* Sponsored badge (media overlay, top-left) */
.vm-badge-sponsored {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(17, 24, 39, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
}
.vm-badge-sponsored i { font-size: 8px; }

/* Video-tour badge (media overlay, bottom-right). Same dark pill as the
   sponsored badge; bottom-right is the one corner the sponsored badge, the
   heart and the availability pill all leave free. */
.vm-badge-video {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(17, 24, 39, .55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
}
.vm-badge-video i { font-size: 8px; }
/* --sm is the compact feed card: half a phone screen wide, so the words would
   run into the availability pill. Clip them to the icon rather than drop them,
   which keeps the label in the accessibility tree. */
.vm-badge-video--sm {
    bottom: 8px;
    right: 8px;
    padding: 4px 6px;
    gap: 0;
}
.vm-badge-video--sm i { font-size: 9px; }
.vm-badge-video--sm .vm-badge-video-lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
/* The desktop feed grid is 228px+ per card, wide enough for the words. */
@media (min-width: 901px) {
    .vm-badge-video--sm { padding: 4px 9px; gap: 5px; }
    .vm-badge-video--sm .vm-badge-video-lbl {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip-path: none;
    }
}

/* Availability pill (media overlay, bottom-left). Green = available now,
   amber = free from a future date. --sm is the compact feed-card variant. */
.vm-avail {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, .94);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--vm-primary-dark);
}
.vm-avail .vm-avail-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--vm-primary);
}
.vm-avail--soon { color: var(--vm-amber-text); }
.vm-avail--soon .vm-avail-dot { background: var(--vm-amber-dot); }
.vm-avail--sm {
    bottom: 8px;
    left: 8px;
    padding: 3px 8px;
    font-size: 9.5px;
}
.vm-avail--sm .vm-avail-dot { width: 5px; height: 5px; }

/* Verified check */
.vm-verified {
    color: var(--vm-primary);
    flex-shrink: 0;
}

/* Heart button (media overlay, top-right) */
.vm-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--vm-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}
.vm-heart.is-saved { color: var(--vm-heart); }
.vm-heart--sm {
    top: 9px;
    right: 9px;
    width: 31px;
    height: 31px;
}

/* ----------------------------------------------------------------
   6. CHIPS (filter bar + bottom sheet)
   ---------------------------------------------------------------- */
.vm-chip {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 15px;
    border-radius: 999px;
    border: 1px solid var(--vm-chip-border);
    background: #fff;
    color: var(--vm-text-2);
    white-space: nowrap;
}
.vm-chip.is-active {
    font-weight: 600;
    border-color: var(--vm-primary);
    background: var(--vm-tint);
    color: var(--vm-primary-dark);
}
.vm-chip--sheet {
    font-size: 12.5px;
    padding: 8px 14px;
}

/* Filters button (in the sticky bar) */
.vm-filters-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 14px;
    border-radius: 999px;
}
.vm-filters-badge {
    background: rgba(255, 255, 255, .25);
    border-radius: 999px;
    font-size: 11px;
    padding: 1px 7px;
}

/* Sticky filter bar */
.vm-filter-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 249, 250, .94);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--vm-border-2);
}
.vm-filter-bar-track {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    overflow-x: auto;
}

/* ----------------------------------------------------------------
   7. CARDS
   ---------------------------------------------------------------- */
/* -- Featured (sponsored carousel) card ------------------------- */
.vm-carousel {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    padding: 2px 20px 6px;
}
.vm-feat-card {
    flex: 0 0 318px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 10px 28px rgba(16, 24, 40, .07);
    cursor: pointer;
}
.vm-feat-card .vm-card-media { position: relative; height: 180px; }
.vm-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Placeholder keeps its own display:flex (icon centered) — don't fold it
   into the img rule above: the higher specificity would force display:block. */
.vm-card-media .vm-cover-ph {
    width: 100%;
    height: 100%;
}
.vm-feat-card .vm-card-body { padding: 14px 15px 15px; }
.vm-lister-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}
.vm-lister-row .vm-lister-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vm-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vm-lister-row .vm-verified { font-size: 12px; }
.vm-lister-row .vm-lister-kind {
    font-size: 11.5px;
    color: var(--vm-muted-2);
    white-space: nowrap;
    flex-shrink: 0;
}
.vm-feat-card .vm-card-title {
    margin: 0 0 7px;
    font-family: var(--vm-font-display);
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--vm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vm-card-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: var(--vm-muted);
}
.vm-card-meta .vm-meta-sep { color: var(--vm-chip-border); }
.vm-card-meta .vm-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.vm-card-meta .vm-rating i { color: var(--vm-star); font-size: 11px; }
.vm-card-meta .vm-rating strong { font-weight: 700; color: var(--vm-text-2); }
.vm-card-meta .vm-rating .vm-rating-count { color: var(--vm-muted-2); }
.vm-feat-card .vm-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid #f0f2f4;
}
.vm-price { font-family: var(--vm-font-display); font-weight: 700; font-size: 21px; color: var(--vm-text); }
.vm-price-period { font-size: 12px; color: var(--vm-muted-2); }
.vm-price-ask { font-size: 13px; font-weight: 600; color: var(--vm-muted); }

/* CTA buttons — solid green "Rent now" vs outline "Contact" */
.vm-btn-rent {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: var(--vm-primary);
    padding: 11px 26px;
    border-radius: 999px;
}
.vm-btn-contact {
    font-size: 14px;
    font-weight: 700;
    color: var(--vm-primary);
    border: 1px solid var(--vm-primary);
    background: #fff;
    padding: 10px 22px;
    border-radius: 999px;
}
.vm-btn-contact i { font-size: 11px; }

/* Carousel dots */
.vm-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.vm-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d1d5db;
    transition: all .25s;
}
.vm-dots span.is-active {
    width: 18px;
    background: var(--vm-primary);
}

/* -- Compact feed card (2-col grid) ----------------------------- */
.vm-feed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}
.vm-feed-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .03), 0 8px 22px rgba(16, 24, 40, .06);
    cursor: pointer;
}
.vm-feed-card .vm-card-media { position: relative; height: 128px; }
.vm-feed-card .vm-card-body { padding: 10px 11px 12px; }
.vm-feed-card .vm-lister-row { gap: 5px; margin-bottom: 5px; }
.vm-feed-card .vm-lister-name { font-size: 11px; font-weight: 500; color: var(--vm-muted); }
.vm-feed-card .vm-lister-row .vm-verified { font-size: 10px; }
.vm-feed-card .vm-card-title {
    margin: 0 0 6px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--vm-text);
    font-family: var(--vm-font-body);
    white-space: normal;
}
.vm-feed-card .vm-card-meta {
    justify-content: space-between;
    gap: 3px;
    font-size: 11px;
    margin-bottom: 9px;
}
.vm-feed-card .vm-card-meta .vm-loc i { font-size: 9px; }
.vm-feed-card .vm-rating i { font-size: 10px; }
.vm-feed-card .vm-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.vm-feed-card .vm-price { font-family: var(--vm-font-body); font-size: 14px; }
.vm-feed-card .vm-price-period { font-size: 11px; }
.vm-feed-card .vm-btn-rent {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 15px;
}
.vm-feed-card .vm-btn-contact {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
}
.vm-feed-card .vm-btn-contact i { font-size: 10px; }

/* -- Avatars + placeholder cover -------------------------------- */
.vm-avatar {
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.vm-avatar--26 { width: 26px; height: 26px; }
.vm-avatar--17 { width: 17px; height: 17px; }
.vm-avatar--56 { width: 56px; height: 56px; margin: 0 auto 9px; }
.vm-avatar-fallback {
    border-radius: 999px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}
.vm-avatar-fallback.vm-avatar--26 { font-size: 12px; display: inline-flex; }
.vm-avatar-fallback.vm-avatar--17 { font-size: 9px; display: inline-flex; }
.vm-avatar-fallback.vm-avatar--56 { font-size: 22px; display: flex; }

/* Neutral gray cover placeholder (no Unsplash for API data) */
.vm-cover-ph {
    background: var(--vm-border-2);
    color: var(--vm-muted-2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vm-cover-ph i { font-size: 30px; }
.vm-feed-card .vm-cover-ph i { font-size: 22px; }

/* -- Trusted agent card ------------------------------------------ */
.vm-agents-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 20px 4px;
}
.vm-agent-card {
    flex-shrink: 0;
    width: 158px;
    background: #fff;
    border: 1px solid var(--vm-border-2);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
    padding: 15px 14px;
    text-align: center;
}
/* Agency names run long ("Buea Tech Rentals" already overflows 158px), so the
   name wraps to two lines instead of ellipsing. The reserved min-height keeps
   every card's View button on the same baseline when names mix 1 and 2 lines. */
.vm-agent-card .vm-agent-name-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-height: 34px;
}
.vm-agent-card .vm-agent-name {
    font-weight: 700;
    font-size: 13.5px;
    line-height: 1.25;
    color: var(--vm-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vm-agent-card .vm-verified {
    font-size: 11px;
    margin-top: 2px;
    flex-shrink: 0;
}
.vm-agent-card .vm-agent-sub {
    font-size: 11.5px;
    color: var(--vm-muted-2);
    margin: 2px 0 10px;
}
.vm-agent-card .vm-agent-view {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vm-primary);
    border: 1px solid var(--vm-primary);
    border-radius: 999px;
    padding: 7px 0;
}

/* ----------------------------------------------------------------
   8. FILTER BOTTOM SHEET (class-toggled — never inline styles)
   ---------------------------------------------------------------- */
.vm-sheet-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 60;
}
.vm-sheet-backdrop.is-open { display: block; }
.vm-sheet {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) translateY(110%);
    bottom: 0;
    width: 100%;
    max-width: 480px;
    max-height: 82vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px 22px 0 0;
    z-index: 61;
    transition: transform .32s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, .25);
}
.vm-sheet.is-open { transform: translateX(-50%) translateY(0); }
.vm-sheet-head {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 12px 18px 10px;
    border-bottom: 1px solid #f0f2f4;
    z-index: 1;
}
.vm-sheet-grab {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: #d1d5db;
    margin: 0 auto 12px;
}
.vm-sheet-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vm-sheet-title-row h3 {
    margin: 0;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 18px;
}
.vm-sheet-reset { font-size: 13px; font-weight: 600; color: var(--vm-muted); }
.vm-sheet-body { padding: 18px 18px 8px; }
.vm-sheet-label {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--vm-text);
}
.vm-sheet-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.vm-sheet-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}
.vm-sheet-price-row .vm-price-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vm-primary);
}
.vm-sheet input[type="range"] {
    width: 100%;
    accent-color: var(--vm-primary);
    margin-bottom: 22px;
}
.vm-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 0 22px;
}
.vm-toggle-row .vm-toggle-title { margin: 0; font-size: 13px; font-weight: 700; color: var(--vm-text); }
.vm-toggle-row .vm-toggle-sub { margin: 2px 0 0; font-size: 11.5px; color: var(--vm-muted-2); }
.vm-toggle {
    width: 46px;
    height: 27px;
    border-radius: 999px;
    background: #d1d5db;
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.vm-toggle .vm-toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    background: #fff;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.vm-toggle.is-on { background: var(--vm-primary); }
.vm-toggle.is-on .vm-toggle-knob { transform: translateX(19px); }
.vm-sheet-foot {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 18px 18px;
    border-top: 1px solid #f0f2f4;
}
.vm-sheet-apply {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

/* ----------------------------------------------------------------
   9. FEED EXTRAS (empty state, load more)
   ---------------------------------------------------------------- */
.vm-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 34px 16px;
    background: #fff;
    border: 1px dashed var(--vm-chip-border);
    border-radius: 16px;
}
.vm-empty i { font-size: 26px; color: var(--vm-muted-2); margin-bottom: 10px; display: block; }
.vm-empty p { margin: 0 0 12px; font-size: 13.5px; color: var(--vm-muted); }
.vm-empty a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 999px;
}
.vm-load-more {
    display: block;
    margin: 16px auto 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--vm-primary);
    border: 1px solid var(--vm-primary);
    background: #fff;
    padding: 10px 26px;
    border-radius: 999px;
}
.vm-feed-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 28px 0;
    font-size: 13px;
    color: var(--vm-muted-2);
}

/* ----------------------------------------------------------------
   10. TOAST — canonical fallback (.vm-toast)
   The hub grew TWO toast conventions before this block existed:
     - class-toggled: wizard/bookings use `.is-visible`, listing uses
       `.is-show` (base hidden via opacity:0 in their own page CSS);
     - append-only: account/chat append a bare `.vm-toast` with no reveal
       class and remove it on a timer (visible by default).
   This canonical block therefore ships VISIBLE-BY-DEFAULT styling (works
   for the append-only pages and for any future page that loads only
   app.css) and honors BOTH reveal classes. Page CSS keeps its local
   hidden-base rules, which win over this base by load order — app.css is
   always the FIRST stylesheet on every rentals page (verified in all 7
   HTML heads); the `.vm-toast.is-*` reveal rules below out-specify any
   single-class base, so a revealed toast can never stay hidden.
   ---------------------------------------------------------------- */
.vm-toast {
    position: fixed;
    left: 50%;
    bottom: 84px;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 999px;
    z-index: 90;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    max-width: 86%;
    text-align: center;
}
.vm-toast.is-show,
.vm-toast.is-visible { opacity: 1; }
.vm-toast--success { background: var(--vm-primary-dark); }
.vm-toast--error { background: var(--vm-red); }
.vm-toast--info { background: #374151; }

/* ----------------------------------------------------------------
   11. HERO HEADLINE + SEARCH (.vm-hero-*) — hub home
   The city selector lives INSIDE the search bar (it used to be a separate
   glass pill below it). [data-open-city] still opens the filter sheet.
   ---------------------------------------------------------------- */
.vm-hero-head { position: relative; padding: 30px 20px 0; }
.vm-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--vm-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.vm-hero-eyebrow i { font-size: 11px; }
.vm-hero-title {
    margin: 0;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 31px;
    line-height: 1.08;
    letter-spacing: -.7px;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, .38);
    text-wrap: balance;
}
.vm-searchbar {
    margin-top: 20px;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    padding: 5px 5px 5px 6px;
    box-shadow: 0 16px 36px rgba(6, 38, 6, .32);
}
.vm-searchbar-city {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--vm-primary-dark);
    font-weight: 700;
    font-size: 12.5px;
    white-space: nowrap;
}
.vm-searchbar-city .vm-searchbar-city-i { font-size: 12px; }
.vm-searchbar-city .vm-searchbar-city-caret { font-size: 9px; opacity: .55; }
.vm-searchbar-divider {
    width: 1px;
    height: 22px;
    background: #e5e7eb;
    flex-shrink: 0;
}
.vm-searchbar-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13.5px;
    color: var(--vm-text);
    background: transparent;
    min-width: 0;
    padding: 0 11px;
}
.vm-searchbar-go {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 14px rgba(26, 137, 23, .5);
}

/* ----------------------------------------------------------------
   12. HOW IT WORKS / ABOUT (.vm-hiw) — hub home, dark green band
   Two tab panels (rent / earn) share one step-timeline layout. The
   panels hide with the `hidden` attribute, which beats the flex
   display thanks to the [hidden] guard in section 2.
   ---------------------------------------------------------------- */
.vm-hiw {
    position: relative;
    overflow: hidden;
    background: linear-gradient(168deg, #0d420c 0%, #062605 100%);
    padding: 34px 20px 28px;
    margin-top: 6px;
}
.vm-hiw-glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}
.vm-hiw-glow--a {
    top: -96px;
    right: -76px;
    width: 270px;
    height: 270px;
    background: radial-gradient(circle, rgba(143, 240, 139, .17) 0%, transparent 68%);
}
.vm-hiw-glow--b {
    bottom: -130px;
    left: -90px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(26, 137, 23, .3) 0%, transparent 70%);
}
.vm-hiw-inner { position: relative; }
.vm-hiw-overline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 11px;
    color: var(--vm-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.vm-hiw-overline i { font-size: 11px; }
.vm-hiw-title {
    margin: 0 0 10px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 25px;
    line-height: 1.14;
    letter-spacing: -.5px;
    color: #fff;
    text-wrap: balance;
}
.vm-hiw-lede {
    margin: 0 0 20px;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .72);
    text-wrap: pretty;
}
.vm-hiw-tabs {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 24px;
}
.vm-hiw-tab {
    flex: 1;
    padding: 10px 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: transparent;
    color: rgba(255, 255, 255, .7);
}
.vm-hiw-tab.is-active {
    font-weight: 700;
    background: #fff;
    color: #0d420c;
}
.vm-hiw-panel {
    display: flex;
    flex-direction: column;
}
.vm-hiw-step {
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
}
.vm-hiw-step:last-child { padding-bottom: 0; }
.vm-hiw-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    align-self: stretch;
}
.vm-hiw-num {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(143, 240, 139, .13);
    border: 1px solid rgba(143, 240, 139, .32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 15px;
    color: var(--vm-accent);
}
.vm-hiw-line {
    flex: 1;
    width: 2px;
    margin-top: 8px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(143, 240, 139, .34), rgba(143, 240, 139, .1));
}
.vm-hiw-main { padding-top: 4px; }
.vm-hiw-main h3 {
    margin: 0 0 5px;
    font-family: var(--vm-font-display);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}
.vm-hiw-main p {
    margin: 0 0 9px;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .66);
    text-wrap: pretty;
}
.vm-hiw-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(143, 240, 139, .1);
    border: 1px solid rgba(143, 240, 139, .24);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--vm-accent);
}
.vm-hiw-tag i { font-size: 10px; }
.vm-hiw-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.vm-hiw-stat { text-align: center; }
.vm-hiw-stat + .vm-hiw-stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.vm-hiw-stat-n {
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}
.vm-hiw-stat-l {
    font-size: 10.5px;
    color: rgba(255, 255, 255, .6);
    margin-top: 2px;
}
.vm-hiw-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--vm-accent);
    font-size: 13px;
    font-weight: 700;
}
.vm-hiw-link:hover { color: #fff; }
.vm-hiw-link i { font-size: 11px; }

/* ----------------------------------------------------------------
   13. SITE FOOTER (.vm-foot) — hub home only
   A mobile port of the site's dark `modern-footer`. Deliberately NOT
   `css/footer.css`: that file is a desktop grid AND it declares an
   unscoped `.form-group { display:flex }` that breaks forms on any page
   loading it. The slate palette below exists nowhere else in the hub, so
   it is scoped to local custom properties rather than global tokens.
   ---------------------------------------------------------------- */
.vm-foot {
    --f-bg: #0f172a;
    --f-bg-2: #1e293b;
    --f-head: #f1f5f9;
    --f-link: #cbd5e1;
    --f-muted: #94a3b8;
    --f-line: rgba(148, 163, 184, .2);
    --f-line-soft: rgba(148, 163, 184, .14);
    --f-fill: rgba(255, 255, 255, .06);
    position: relative;
    background: var(--f-bg);
    color: var(--f-muted);
    font-family: var(--vm-font-body);
    margin-top: 8px;
    padding-bottom: 92px; /* fixed bottom-nav clearance for the whole page */
    overflow: hidden;
}
/* Base `a:hover` turns links dark green — invisible on this navy. */
.vm-foot a { color: var(--f-link); }
.vm-foot a:hover { color: var(--vm-accent); }
.vm-foot-rule {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--vm-primary) 10%, var(--vm-primary) 90%, transparent);
}
.vm-foot h5 {
    margin: 0 0 12px;
    font-family: var(--vm-font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--f-head);
}

/* Newsletter */
.vm-foot-news {
    position: relative;
    overflow: hidden;
    margin: 22px 16px 32px;
    padding: 30px 24px;
    border-radius: 22px;
    background: linear-gradient(145deg, var(--f-bg-2) 0%, var(--f-bg) 100%);
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .05);
    text-align: center;
}
.vm-foot-news-glow {
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 137, 23, .22) 0%, transparent 65%);
    pointer-events: none;
}
.vm-foot-news-title {
    position: relative;
    margin: 0 0 7px;
    font-family: var(--vm-font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--f-head);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}
.vm-foot-news-title i { color: var(--vm-primary); font-size: 17px; }
.vm-foot-news-sub {
    position: relative;
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--f-muted);
}
.vm-foot-news-row {
    position: relative;
    display: flex;
    gap: 8px;
    background: var(--f-fill);
    border: 1px solid var(--f-line);
    border-radius: 999px;
    padding: 5px 5px 5px 15px;
}
.vm-foot-news-input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--f-head);
    font-size: 13px;
    font-family: inherit;
}
.vm-foot-news-input::placeholder { color: var(--f-muted); }
.vm-foot-news-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--vm-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 9px 16px;
}
.vm-foot-news-btn i { font-size: 11px; }
.vm-foot-news-meta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
    font-size: 10.5px;
    color: var(--f-muted);
}
.vm-foot-news-meta i { color: var(--vm-primary); }

/* Company */
.vm-foot-brand { padding: 0 20px; }
/* An <a> to the site home page, same as the header lockup. */
.vm-foot-lockup {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 12px;
    text-decoration: none;
}
.vm-foot-lockup:hover { color: inherit; }
.vm-foot-lockup img {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    padding: 3px;
}
.vm-foot-name {
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 16px;
    color: var(--f-head);
}
.vm-foot-tagline { font-size: 11px; color: var(--f-muted); }
.vm-foot-blurb {
    margin: 0 0 16px;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--f-muted);
}
.vm-foot-social {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
}
.vm-foot-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(26, 137, 23, .12);
    border: 1px solid rgba(26, 137, 23, .35);
    color: var(--vm-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* Link columns */
.vm-foot-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 0 20px 24px;
}
.vm-foot-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vm-foot-links a { font-size: 13px; }
.vm-foot-links a i {
    color: var(--vm-primary);
    font-size: 11px;
    margin-right: 6px;
}

/* Get in touch */
.vm-foot-touch { padding: 0 20px 22px; }
.vm-foot-touch-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vm-foot-touch-row {
    display: flex;
    gap: 11px;
    align-items: flex-start;
}
.vm-foot-touch-row > i {
    color: var(--vm-primary);
    font-size: 14px;
    margin-top: 2px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.vm-foot-touch-row strong {
    display: block;
    color: var(--f-head);
    font-size: 12.5px;
}
.vm-foot-touch-row span,
.vm-foot-touch-row a { font-size: 12px; color: var(--f-muted); }

/* Features bar */
.vm-foot-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
    margin: 0 16px 20px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--f-line-soft);
    border-radius: 16px;
}
.vm-foot-feature {
    display: flex;
    gap: 11px;
    align-items: center;
}
.vm-foot-feature-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 11px;
    background: rgba(26, 137, 23, .13);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vm-foot-feature-icon i { color: var(--vm-accent); font-size: 15px; }
.vm-foot-feature-main { line-height: 1.3; }
.vm-foot-feature-main strong {
    display: block;
    color: var(--f-head);
    font-size: 12px;
}
.vm-foot-feature-main span { font-size: 10.5px; color: var(--f-muted); }

/* Accepted payments */
.vm-foot-pay { padding: 0 20px 22px; text-align: center; }
.vm-foot-pay h5 {
    margin-bottom: 12px;
    font-family: var(--vm-font-body);
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--f-muted);
}
.vm-foot-pay-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.vm-foot-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--f-link);
    background: var(--f-fill);
    border: 1px solid var(--f-line);
    border-radius: 999px;
    padding: 7px 12px;
}
.vm-foot-pill i { color: var(--vm-primary); }

/* Bottom bar */
.vm-foot-bottom {
    border-top: 1px solid var(--f-line);
    margin: 0 16px;
    padding: 18px 4px 4px;
    text-align: center;
}
.vm-foot-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    margin-bottom: 14px;
}
.vm-foot-legal a { font-size: 12px; }
.vm-foot-locale {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 14px;
}
.vm-foot-locale span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--f-fill);
    border: 1px solid var(--f-line);
    color: var(--f-link);
    font-size: 12px;
    border-radius: 999px;
    padding: 7px 13px;
}
.vm-foot-locale span i { font-size: 11px; }
.vm-foot-copy { margin: 0; font-size: 11.5px; color: var(--f-muted); }
.vm-foot-copy i { color: var(--vm-primary); font-size: 10px; }

/* ----------------------------------------------------------------
   15. HOME STRUCTURE (.vm-hero-frame / .vm-cat-* / .vm-sec-* / .vm-earn-*)
   Numbered 15 but placed BEFORE 14 on purpose: 14 must stay the last
   block in the file (cascade-order trap), so every new section lands
   above it no matter what number it carries.

   These declarations were lifted verbatim out of rentals/index.html's
   structural style="" attributes. Nothing here is a redesign: same
   declarations, same values. Inline styles cannot be media-queried and
   outrank every stylesheet rule without !important, so the desktop
   layer (desktop.css, >= 901px) could not touch these nodes until they
   became classes. Hub home only.
   ---------------------------------------------------------------- */

/* -- Hero frame ------------------------------------------------- */
.vm-hero-frame { position: relative; height: 460px; overflow: hidden; }
.vm-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* opacity 0 is the SHIPPED initial value: home.js sets inline
   opacity:1 once the loop actually plays, which still wins. */
.vm-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;
}
.vm-hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(9, 50, 8, 0.66) 0%, rgba(9, 50, 8, 0.24) 34%, rgba(20, 104, 18, 0.46) 78%, rgba(20, 104, 18, 0.88) 100%);
}

/* -- Hero top bar (mobile brand lockup + account button) --------- */
.vm-hero-topbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 0;
}
/* It is an <a> to the site home page. Every string inside sets its own
   colour, so a:hover can't reach them, but pin it anyway so a future
   global link restyle can't tint the lockup. */
.vm-hero-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.vm-hero-brand:hover { color: inherit; }
.vm-hero-logo {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: block;
    background: #fff;
    padding: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.vm-hero-brand-text { line-height: 1; }
.vm-hero-word {
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    letter-spacing: -.3px;
}
.vm-hero-word span { color: var(--vm-accent); }
.vm-hero-strap { font-size: 10px; color: rgba(255, 255, 255, .8); margin-top: 2px; }
.vm-hero-acct {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
/* The inline color used to beat the global `a:hover` (dark green).
   Restate it so the lift doesn't hand hover back to that rule. */
.vm-hero-acct:hover { color: #fff; }

/* -- Sliding category photo tiles ------------------------------- */
.vm-cat-strip { position: absolute; left: 0; right: 0; bottom: 18px; overflow: hidden; }
.vm-cat-track {
    display: flex;
    gap: 11px;
    width: max-content;
    padding: 0 20px;
    animation: vmSlide 16s ease-in-out infinite alternate;
}
.vm-cat-tile {
    position: relative;
    width: 104px;
    height: 112px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
    cursor: pointer;
}
.vm-cat-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-cat-fade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(9, 50, 8, .55) 100%);
}
.vm-cat-label {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 28, 16, .42);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    padding: 5px 10px;
    color: #fff;
}
.vm-cat-label i { font-size: 11px; }
.vm-cat-label span { font-size: 11px; font-weight: 600; }

/* -- Content sections -------------------------------------------
   `.vm-sec` carries no mobile declaration of its own (every section's
   padding differs); it is the shared hook desktop.css keys off. The
   padding lives on the modifiers.
   ---------------------------------------------------------------- */
.vm-sec--featured { padding: 18px 0 4px; }
.vm-sec--feed { padding: 14px 20px 22px; }
.vm-sec--agents { padding: 26px 0 4px; }
.vm-sec--earn { padding: 18px 20px 26px; }

.vm-sec-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 14px;
}
/* Full-bleed sections (their track scrolls edge to edge) pad the
   heading row instead of the section. */
.vm-sec--featured .vm-sec-head { padding: 0 20px; margin-bottom: 13px; }
.vm-sec--agents .vm-sec-head { padding: 0 20px; }

.vm-sec-title {
    margin: 0;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--vm-text);
}
.vm-sec-note { font-size: 11px; color: var(--vm-muted-2); }
.vm-sec-note--count { font-size: 12px; color: var(--vm-muted); }

/* -- Earn CTA panel --------------------------------------------- */
.vm-earn-panel {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(120deg, #1a8917 0%, #0f5e0d 100%);
    padding: 22px;
    box-shadow: 0 8px 22px rgba(26, 137, 23, .28);
}
.vm-earn-blob { position: absolute; border-radius: 999px; }
.vm-earn-blob--a {
    right: -24px;
    top: -24px;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, .08);
}
.vm-earn-blob--b {
    right: 26px;
    bottom: -30px;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, .06);
}
.vm-earn-inner { position: relative; }
.vm-earn-title {
    margin: 0 0 7px;
    font-family: var(--vm-font-display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #fff;
}
.vm-earn-copy {
    margin: 0 0 16px;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .9);
    max-width: 250px;
}
.vm-earn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--vm-primary-dark);
    font-size: 14px;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 999px;
}
.vm-earn-btn:hover { color: var(--vm-primary-dark); }

/* ----------------------------------------------------------------
   14. MOBILE OVERRIDES — keep at END of file (cascade-order trap)
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
    .vm-app { box-shadow: none; }
    body { background: var(--vm-canvas); }
}
