/* Project composition. Shared primitives and section styles stay in library/.
   The neutral preset only replaces the default purple action roles. */
:root[data-vb-preset="neutral"] {
  --vb-color-accent: #252726;
  --vb-color-accent-hover: #474a48;
  --vb-color-accent-contrast: #ffffff;
  --vb-color-accent-soft: #f0f1ef;
  --vb-color-accent-on-dark: #ffffff;
  --vb-color-accent-on-dark-hover: #e1e3df;
  --vb-color-accent-on-dark-contrast: #202220;
  --vb-color-accent-soft-on-dark: #282b28;
}
:root { --vb-sticky-header-offset: 5.5rem; }
html { scroll-behavior: smooth; scroll-padding-top: var(--vb-sticky-header-offset); }
[hidden] { display: none !important; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
/* Let grid/flex tracks shrink to their available space, then fit type there.
   Words must remain intact, including inside the animated line masks. */
main :where(.vb-section *) { min-inline-size: 0; }
main :is(h1, h2, h3) { overflow-wrap: normal; word-break: normal; hyphens: none; }
.vb-container { max-width: calc(var(--vb-max-content) + var(--vb-gutter) * 2); }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 500; }
.skip-link:focus { top: 1rem; }
.livya-logo { display: block; width: 128px; height: 22px; background: currentColor; mask: url('assets/livya-logo.svg') center / contain no-repeat; }
.vbs-header-classic-bar { z-index: 50; }
.vbs-header-classic-bar__inner { min-height: 84px; }
.favorites-nav { display: flex; align-items: center; gap: .65rem; background: transparent; border: 0; padding: .65rem 0; font-size: var(--vb-fs-small); }
.heart { font-size: 1.75rem; font-family: var(--vb-font-sans); line-height: 1; }
.livya-favorites-count:empty { display: none; }
.livya-favorites-count:not(:empty) { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding-inline: .3rem; border-radius: var(--vb-radius-pill); background: var(--vb-color-accent); color: var(--vb-color-accent-contrast); font-size: .75rem; }
.hero { padding-block: clamp(2rem, 5vw, 5rem) 0; }
.hero-composition { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: end; }
.hero h1 { font-size: clamp(3.25rem, 6.5vw, calc(var(--vb-fs-display-1) * 1.22)); max-width: 15ch; line-height: 1.04; letter-spacing: var(--vb-ls-display-1); overflow-wrap: normal; }
.hero h1 span { color: var(--vb-color-ink-soft); }
.hero-copy { display: flex; flex-direction: column; gap: 1.6rem; align-items: start; max-width: 31ch; justify-self: end; padding-bottom: .25rem; }
.hero-image { grid-column: 1 / -1; width: 100%; height: clamp(320px, 36vw, 530px); margin-top: .75rem; border-radius: var(--vb-radius-card); }
.hero-image img { object-position: center 55%; }
.vb-btn { min-height: 48px; }
.text-button { border: 0; background: transparent; padding: .4rem 0; text-align: left; cursor: pointer; border-bottom: var(--vb-border-hair) solid currentColor; border-radius: 0; }
.vbs-intro-photo-pair__title { max-width: 16ch; }
.vbs-intro-photo-pair__photo { box-shadow: none; }
.vbs-intro-photo-pair__photo--front { width: 51%; aspect-ratio: 4/5; box-shadow: none; border-width: .65rem; }
.vbs-intro-photo-pair__photo--front img { object-position: 62%; }
.vbs-intro-photo-pair__pair { padding-right: 18%; padding-bottom: 10%; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: var(--vb-section-gap); margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-heading > p { max-width: 40ch; justify-self: end; }
.spaces-layout { display: grid; grid-template-columns: 1fr 3fr; gap: var(--vb-section-gap); }
.spaces-tabs { display: flex; flex-direction: column; align-items: stretch; }
.spaces-tabs button { text-align: left; display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: 1.1rem 0; background: transparent; border: 0; border-bottom: var(--vb-border-hair) solid var(--vb-color-rule); font-size: var(--vb-fs-body); color: var(--vb-color-ink-soft); }
.spaces-tabs button[aria-selected="true"] { color: var(--vb-color-accent); border-color: var(--vb-color-accent); font-weight: var(--vb-weight-strong); }
.spaces-tabs button[aria-selected="true"]::after { content: '↗'; }
.spaces-tabs button:hover { color: var(--vb-color-accent); }
.space-panel .vb-media { aspect-ratio: 3 / 2; }
.space-panel figcaption { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem; padding-top: 1.5rem; }
.space-panel figcaption p { max-width: 43ch; }
.spaces-bottom { margin-top: 2.5rem; display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.spaces-bottom > p { font-size: var(--vb-fs-small); }
.unit-range { margin-top: 1.25rem; }
.embed-shell { border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-card); overflow: hidden; background: var(--vb-color-paper); }
[class*="livya-module-container-"] { display: block; position: relative; width: 100%; height: auto; max-height: none; aspect-ratio: auto; overflow: visible; border: 0; border-radius: 0; }
.livya-module-container-plans:empty { min-height: clamp(600px, 58vw, 820px); }
.livya-integration-iframe { display: block; width: 100%; border: 0; background: #fff; color-scheme: light; }
.plans-shell .livya-integration-iframe { height: clamp(600px, 58vw, 820px); }
.neighborhood-shell .livya-integration-iframe { height: clamp(560px, 46vw, 720px); }
.embed-caption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.embed-warning { font-size: var(--vb-fs-small); color: var(--vb-color-ink-soft); padding-block: 1rem; }
.favorites-composition { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.favorites-image { aspect-ratio: 1 / 1.07; }
.favorites-image img { object-position: 63%; }
.favorites-copy { display: flex; flex-direction: column; gap: 1.5rem; align-items: start; }
.favorites-copy .vb-body { max-width: 40ch; }
.favorites-copy .vb-btn { margin-top: .5rem; }
.contact-section { background: var(--vb-color-paper-muted); margin-bottom: var(--vb-space-section-sm); }
.contact-composition { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-copy { padding-top: 1.5rem; }
.contact-eyebrow { margin-bottom: 1.5rem; font-weight: 600; }
.contact-copy .vb-display-2 { max-width: 13ch; }
.contact-copy .vb-lead { margin-top: 2rem; }
.contact-copy .vb-body { max-width: 38ch; margin-top: 1.25rem; color: var(--vb-color-ink-soft); }
.contact-selection-note { display: flex; align-items: center; gap: 1rem; border-top: var(--vb-border-hair) solid var(--vb-color-rule); margin-top: 2.5rem; padding-top: 1.5rem; max-width: 25rem; }
.lead-form { padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--vb-color-paper); border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-card); min-width: 0; }
.lead-form-heading > p { color: var(--vb-color-ink-soft); margin-top: .5rem; }
.lead-favorites { margin-block: 1.75rem; padding: 1.25rem; border: var(--vb-border-hair) solid var(--vb-color-accent); border-radius: var(--vb-radius-sm); background: var(--vb-color-accent-soft); }
.lead-favorites-summary { display: flex; gap: .875rem; align-items: start; }
.lead-favorites-icon { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; font: 1.75rem/1 var(--vb-font-sans); color: var(--vb-color-accent-contrast); background: var(--vb-color-accent); border-radius: var(--vb-radius-pill); }
.lead-favorites-title { font-weight: 600; line-height: 1.4; }
.lead-favorites-description { margin-top: .375rem; font-size: var(--vb-fs-small); color: var(--vb-color-ink-soft); }
.lead-favorites-manage { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin-top: 1rem; padding: .75rem 0 0; background: transparent; color: var(--vb-color-ink); border: 0; border-top: var(--vb-border-hair) solid var(--vb-color-rule); text-align: left; font: inherit; font-size: var(--vb-fs-small); font-weight: 600; }
.lead-favorites-manage:hover { text-decoration: underline; text-underline-offset: .25em; }
.lead-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
.lead-field { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.lead-field--full { grid-column: 1 / -1; }
.lead-field label { font-size: var(--vb-fs-small); font-weight: 600; }
.lead-field label span { font-weight: 400; color: var(--vb-color-ink-soft); }
.lead-field input, .lead-field textarea { width: 100%; min-width: 0; min-height: 48px; padding: .75rem .875rem; border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-sm); background: var(--vb-color-paper); color: var(--vb-color-ink); font: inherit; font-size: max(16px, var(--vb-fs-small)); }
.lead-field textarea { resize: vertical; }
.lead-field textarea::placeholder { color: var(--vb-color-ink-soft); opacity: 1; }
.lead-consent { display: flex; align-items: start; gap: .75rem; margin-block: 1.5rem; font-size: var(--vb-fs-small); cursor: pointer; }
.lead-consent input { flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin-top: .2rem; accent-color: var(--vb-color-accent); }
.lead-submit { width: 100%; justify-content: space-between; }
.lead-demo-note { color: var(--vb-color-ink-soft); margin-top: 1rem; }
.lead-status { margin-top: 1rem; padding: 1rem; border-left: 3px solid var(--vb-color-accent); background: var(--vb-color-accent-soft); }
@media (max-width: 1000px) {
 .contact-composition { grid-template-columns: 1fr; }
 .contact-copy .vb-display-2 { max-width: 18ch; }
 .contact-copy .vb-body { max-width: 55ch; }
 .contact-selection-note { display: none; }
}
@media (max-width: 480px) {
 .lead-fields { grid-template-columns: 1fr; }
 .lead-favorites { padding: 1rem; }
}
.vbs-cta-split-panel__panel { max-width: none; border-radius: var(--vb-radius-card); box-shadow: none; padding-block: clamp(3rem, 7vw, 6rem); }
.vbs-cta-split-panel__panel::before { content: none; }
.vbs-cta-split-panel__title { margin-top: 0; }
.vbs-cta-split-panel__actions { gap: 1.5rem; }
.footer-favorites { background: transparent; border-top: 0; border-inline: 0; padding-inline: 0; }
.vbs-footer-minimal-rule { padding-top: 0; padding-bottom: 6rem; }
.vbs-footer-minimal-rule__legal { gap: .25rem; flex-direction: column; }

/* Footer: the site navigation in full, the Livya app on the right, then the
   social profiles and the legal line on a second, quieter row. */
.vbs-footer-minimal-rule__links { row-gap: .75rem; }
.vbs-footer-minimal-rule__row > .livya-app-cta { justify-self: center; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); padding-top: clamp(1.25rem, 2.5vw, 1.75rem); border-top: var(--vb-border-hair) solid var(--vb-color-rule); }
.footer-base .vbs-footer-minimal-rule__legal { flex-direction: row; gap: .25rem .75rem; }
/* Separator drawn, not typed, as elsewhere in this footer: a glyph would be
   read aloud between the two halves of the legal line. */
.footer-base .vbs-footer-minimal-rule__legal span { display: flex; align-items: center; gap: .75rem; }
.footer-base .vbs-footer-minimal-rule__legal span::before { content: ""; width: .25rem; height: .25rem; border-radius: var(--vb-radius-pill); background-color: var(--vb-color-rule); flex: none; }
.footer-social { display: flex; align-items: center; gap: .25rem; }
.footer-social__link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--vb-radius-sm); color: var(--vb-color-ink-soft); transition: color var(--vb-dur-base) var(--vb-ease-out-soft), background-color var(--vb-dur-base) var(--vb-ease-out-soft); }
.footer-social__link:hover { color: var(--vb-color-ink); background: var(--vb-color-paper-muted); }
.footer-social__link svg { width: 19px; height: 19px; }
/* An empty or placeholder destination hides its icon rather than linking nowhere. */
.footer-social__link:not([href]), .footer-social__link[href=""], .footer-social__link[href="#"] { display: none; }

@media (min-width: 64rem) {
  .vbs-footer-minimal-rule__row > .livya-app-cta { justify-self: end; }
  .footer-base { justify-content: space-between; }
}
@media (max-width: 480px) {
  .footer-social__link { width: 36px; height: 36px; }
}
.livya-dialog { width: min(1120px, calc(100vw - 48px)); max-height: calc(100dvh - 48px); padding: clamp(1.25rem, 3vw, 2.5rem); border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-lg); color: var(--vb-color-ink); background: var(--vb-color-paper); box-shadow: var(--vb-shadow-pop); }
.livya-dialog::backdrop { background: rgb(0 0 0 / .55); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.dialog-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; font-size: 28px; border: var(--vb-border-hair) solid var(--vb-color-rule); background: transparent; border-radius: var(--vb-radius-btn); }
.dialog-intro { margin-top: .5rem; margin-bottom: 1.5rem; }
.livya-dialog .livya-integration-iframe { height: min(60dvh, 650px); min-height: 340px; border-radius: var(--vb-radius-card); }
/* Title and actions stay put; only the middle scrolls, so the bottom actions
   are reachable without scrolling — in the galleries as in the favorites. */
.livya-dialog { display: flex; flex-direction: column; }
.livya-dialog > .dialog-heading, .livya-dialog > .dialog-footer { flex: 0 0 auto; }
.dialog-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.dialog-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; align-items: center; margin-top: 0; padding-top: 1.25rem; border-top: var(--vb-border-hair) solid var(--vb-color-rule); }

/* Alternative contact placement: the form sits beside the selection, inside the
   favorites popup. The authored form node is moved here, not copied. */
.dialog-columns { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.dialog-columns > .dialog-body { flex: 1 1 auto; min-height: 0; }
.favorites-contact { flex: 0 0 auto; min-width: 0; }
.favorites-contact .lead-form { padding: 0; border: 0; border-radius: 0; background: transparent; }
/* The selection is already on screen beside it; summarising it again is noise. */
.favorites-contact [data-lead-favorites] { display: none; }
.favorites-contact .lead-form-heading { margin-bottom: 1.5rem; }

@media (min-width: 64rem) {
  .favorites-dialog[data-contact-in-dialog] { width: min(1320px, calc(100vw - 48px)); }
  .favorites-dialog[data-contact-in-dialog] .dialog-columns { flex-direction: row; align-items: stretch; gap: clamp(1.25rem, 2.5vw, 2rem); }
  .favorites-dialog[data-contact-in-dialog] .favorites-contact {
    flex: 0 0 clamp(20rem, 34%, 25rem); min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    padding-inline-start: clamp(1.25rem, 2.5vw, 2rem); border-inline-start: var(--vb-border-hair) solid var(--vb-color-rule);
  }
  /* Three illustrated steps do not fit beside a form; one column reads better. */
  .favorites-dialog[data-contact-in-dialog] .favorites-tutorial { grid-template-columns: 1fr; }
  .favorites-dialog[data-contact-in-dialog] .favorites-step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .favorites-dialog[data-contact-in-dialog] .favorites-step-visual { height: 100%; min-height: 150px; }
  .favorites-dialog[data-contact-in-dialog] .favorites-visual-chip { display: none; }
}
@media (max-width: 63.999rem) {
  /* Stacked: selection then form, scrolling as one column. */
  .favorites-dialog[data-contact-in-dialog] .dialog-columns { overflow-y: auto; overscroll-behavior: contain; gap: 1.5rem; }
  .favorites-dialog[data-contact-in-dialog] .dialog-columns > .dialog-body { flex: 0 0 auto; overflow: visible; }
  .favorites-dialog[data-contact-in-dialog] .favorites-contact { padding-top: 1.5rem; border-top: var(--vb-border-hair) solid var(--vb-color-rule); }
}

/* The section keeps its copy and points at the popup instead of holding a form. */
.contact-relocated { display: flex; flex-direction: column; align-items: start; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--vb-color-paper); border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-card); }
.contact-relocated .vb-body { color: var(--vb-color-ink-soft); max-width: 38ch; }

/* Persistent selection and brochure actions, including inside a native gallery. */
:root { --livya-favorites-bar-height: 0px; }
body.has-favorites-bar { padding-bottom: var(--livya-favorites-bar-height); }
html:has(body.has-favorites-bar) { scroll-padding-bottom: calc(var(--livya-favorites-bar-height) + 1rem); }
.favorites-bar { position: fixed; inset: auto 0 0; z-index: 65; width: 100%; padding: .9rem 0 calc(.9rem + env(safe-area-inset-bottom, 0px)); border-top: var(--vb-border-hair) solid var(--vb-color-rule); color: var(--vb-color-ink); background: var(--vb-color-paper); box-shadow: 0 -8px 32px rgb(0 0 0 / .07); }
.favorites-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.favorites-bar-selection { display: flex; align-items: center; gap: 1.15rem; min-width: 0; }
.favorites-bar-thumbnails { display: flex; align-items: center; flex-shrink: 0; padding-left: 0; }
.favorites-bar-thumb, .favorites-bar-more { position: relative; display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border: 3px solid var(--vb-color-paper); border-radius: var(--vb-radius-sm); background: var(--vb-color-paper-muted); overflow: hidden; }
.favorites-bar-thumb + .favorites-bar-thumb, .favorites-bar-more { margin-left: -10px; }
.favorites-bar-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.favorites-bar-thumb-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--vb-color-ink-soft); }
.favorites-bar-thumb-fallback svg { width: 24px; height: 24px; }
.favorites-bar-more { font-size: .8rem; font-weight: 600; }
.favorites-bar-copy { min-width: 0; }
.favorites-bar-count { margin: 0; font: 600 1rem/1.4 var(--vb-font-sans); letter-spacing: -.02em; }
.favorites-bar-description { margin: .2rem 0 0; color: var(--vb-color-ink-soft); font: 400 .75rem/1.5 var(--vb-font-sans); }
.favorites-bar-actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.favorites-bar-actions button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; font-size: .8rem; white-space: nowrap; }
.favorites-bar-actions svg { flex-shrink: 0; width: 21px; height: 21px; }
.favorites-bar-manage { padding: .75rem 1rem; border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-btn); color: var(--vb-color-ink); background: transparent; font: inherit; }
.favorites-bar-manage:hover { background: var(--vb-color-paper-muted); }
.favorites-bar-brochure { padding: .75rem 1.1rem; }
html body.has-favorites-bar .design-panel, html body.has-favorites-bar .design-launcher { bottom: calc(var(--livya-favorites-bar-height) + 16px); }
html body.has-favorites-bar .design-panel { max-height: calc(100dvh - var(--livya-favorites-bar-height) - 32px); }
html body.has-favorites-bar .toast { bottom: calc(var(--livya-favorites-bar-height) + 24px); }
html body .livya-dialog.has-favorites-bar { max-height: calc(100dvh - var(--livya-favorites-bar-height) - 48px); margin-block: 24px auto; }
@media (max-width: 900px) {
  .favorites-bar-inner { flex-wrap: wrap; gap: .8rem; }
  .favorites-bar-selection { flex: 1 1 auto; }
  .favorites-bar-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  /* Phones reach favorites through the header heart; the bar took too much room. */
  .favorites-bar { display: none; }
  html body .livya-dialog.has-favorites-bar { max-height: calc(100dvh - var(--livya-favorites-bar-height) - 16px); margin-top: 8px; }
}

/* Empty favorites: three quiet, illustrated steps in the active brand. */
.favorites-dialog [hidden] { display: none !important; }
.favorites-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding: 1.25rem; margin-top: 1.5rem; background: var(--vb-color-paper-muted); border-radius: var(--vb-radius-sm); color: var(--vb-color-ink-soft); font-size: var(--vb-fs-small); }
.favorites-feedback p { margin: 0; }
.favorites-empty { margin-top: 2rem; }
.favorites-empty-heading { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.75rem; }
.favorites-empty-symbol { display: grid; place-items: center; flex: 0 0 72px; height: 72px; border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: 50%; background: var(--vb-color-paper-muted); }
.favorites-empty-symbol svg { width: 44px; height: 44px; }
.favorites-empty-eyebrow { margin: 0 0 .45rem; color: var(--vb-color-ink-soft); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.favorites-empty-heading h3 { margin: 0; font-family: var(--vb-font-display); font-size: clamp(1.55rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.15; }
.favorites-empty-description { margin: .6rem 0 0; color: var(--vb-color-ink-soft); font-size: var(--vb-fs-small); line-height: 1.6; }
.favorites-tutorial { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.favorites-step { min-width: 0; overflow: hidden; border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-card); background: var(--vb-color-paper); }
.favorites-step-visual { position: relative; height: clamp(150px, 16vw, 190px); overflow: hidden; isolation: isolate; background: var(--vb-color-paper-sunk); }
.favorites-tutorial-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.favorites-step-visual--explore .favorites-tutorial-photo { object-position: center 48%; }
.favorites-step-visual--heart .favorites-tutorial-photo { object-position: 45% center; }
.favorites-visual-label { position: absolute; inset: auto 0 0; padding: 2rem 1rem .9rem; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / .58)); font-size: .75rem; font-weight: 500; }
.favorites-visual-chip { position: absolute; left: .75rem; top: .75rem; display: flex; gap: .45rem; align-items: center; padding: .5rem .65rem; border-radius: var(--vb-radius-sm); background: var(--vb-color-paper); color: var(--vb-color-ink); font-size: .62rem; box-shadow: var(--vb-shadow-card); }
.favorites-visual-chip svg { width: 17px; height: 17px; }
.favorites-demo-heart { position: absolute; top: 1.2rem; right: 1.2rem; display: grid; place-items: center; width: 48px; height: 48px; color: var(--vb-color-ink); background: var(--vb-color-paper); border-radius: 50%; box-shadow: 0 0 0 7px rgb(255 255 255 / .28), var(--vb-shadow-card); }
.favorites-demo-heart svg { width: 25px; height: 25px; }
.favorites-demo-pointer { position: absolute; top: 3.1rem; right: -.1rem; width: 46px; height: 54px; filter: drop-shadow(0 3px 3px rgb(0 0 0 / .16)); }
.favorites-step-visual--collection { display: grid; place-items: center; padding: 1rem 1.5rem; background: var(--vb-color-paper-muted); }
.favorites-demo-selection { width: 100%; max-width: 240px; padding: .85rem; border: var(--vb-border-hair) solid var(--vb-color-rule); border-radius: var(--vb-radius-sm); background: var(--vb-color-paper); transform: rotate(-4deg); box-shadow: var(--vb-shadow-card); }
.favorites-demo-selection-title { display: flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 600; }
.favorites-demo-selection-title svg { width: 13px; height: 13px; }
.favorites-demo-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: .3rem; margin-top: .7rem; }
.favorites-demo-thumbnails img { width: 100%; height: 54px; object-fit: cover; border-radius: 2px; }
.favorites-demo-selection-rule { display: block; width: 60%; height: 3px; margin-top: .65rem; background: var(--vb-color-rule); border-radius: 2px; }
.favorites-demo-selection-rule--short { width: 40%; margin-top: .35rem; }
.favorites-demo-saved { position: absolute; right: .65rem; bottom: .75rem; display: flex; align-items: center; gap: .3rem; padding: .5rem .65rem; border-radius: var(--vb-radius-sm); background: var(--vb-color-ink); color: var(--vb-color-paper); font-size: .6rem; box-shadow: var(--vb-shadow-card); }
.favorites-demo-saved svg { width: 15px; height: 15px; }
.favorites-step-copy { position: relative; padding: 1.3rem 1.15rem 1.4rem; }
.favorites-step-number { display: block; margin-bottom: .8rem; font-size: .7rem; color: var(--vb-color-ink-soft); font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.favorites-step-copy h4 { margin: 0; font: 600 clamp(.95rem, 1.3vw, 1.075rem)/1.35 var(--vb-font-sans); letter-spacing: -.025em; }
.favorites-step-copy p { margin: .55rem 0 0; font-size: .8rem; line-height: 1.65; color: var(--vb-color-ink-soft); }
.favorites-dialog[data-favorites-state="empty"] .dialog-footer { padding-top: 1.5rem; border-top: var(--vb-border-hair) solid var(--vb-color-rule); }
.favorites-dialog[data-favorites-state="empty"] [data-continue-exploring] { padding: .85rem 1.15rem; background: var(--vb-color-accent); color: var(--vb-color-accent-contrast); border: var(--vb-border-hair) solid var(--vb-color-accent); border-radius: var(--vb-radius-btn); text-decoration: none; }
.favorites-dialog[data-favorites-state="empty"] [data-continue-exploring]:hover { background: var(--vb-color-accent-hover); }
@media (max-width: 640px) {
  .favorites-empty { margin-top: 1.5rem; }
  .favorites-empty-heading { gap: .85rem; align-items: flex-start; }
  .favorites-empty-symbol { flex-basis: 48px; height: 48px; }
  .favorites-empty-symbol svg { width: 32px; height: 32px; }
  .favorites-empty-heading h3 { font-size: 1.5rem; }
  .favorites-empty-eyebrow { font-size: .6rem; }
  .favorites-tutorial { grid-template-columns: 1fr; }
  .favorites-step { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .favorites-step-visual { height: 100%; min-height: 172px; }
  .favorites-step-copy { padding: 1rem .9rem; }
  .favorites-step-number { margin-bottom: .45rem; }
  .favorites-step-copy p { font-size: .75rem; }
  .favorites-visual-chip { display: none; }
  .favorites-step-visual--collection { padding: .65rem; }
  .favorites-demo-selection { padding: .65rem; }
  .favorites-demo-thumbnails img { height: 44px; }
  .favorites-demo-saved { right: .35rem; left: .35rem; justify-content: center; font-size: .52rem; padding-inline: .3rem; }
  .favorites-demo-heart { top: 1rem; right: 1rem; width: 40px; height: 40px; }
  .favorites-demo-pointer { top: 2.5rem; }
  .favorites-visual-label { padding: 1.5rem .65rem .75rem; font-size: .65rem; }
}
.spinner { position: absolute; z-index: 2; top: 50%; left: 50%; margin: -16px 0 0 -16px; width: 32px; height: 32px; border: 2px solid var(--vb-color-rule); border-top-color: var(--vb-color-accent); border-radius: 50%; animation: livya-spin 900ms linear infinite; pointer-events: none; }
@keyframes livya-spin { to { transform: rotate(360deg); } }
.panel-about { margin-top: 12px; font-size: 12px; color: #5c625b; }
.panel-about summary { cursor: pointer; }
.panel-about p { margin-top: 8px; }
/* Presentation controls use their own quiet, neutral palette. */
.design-panel, .design-launcher, .toast { --control-ink: #202420; --control-paper: #ffffff; --control-rule: #e1e4df; color: var(--control-ink); background: var(--control-paper); font: 13px/1.5 system-ui, sans-serif; letter-spacing: normal; text-transform: none; }
.design-panel { position: fixed; z-index: 70; right: 24px; bottom: 24px; width: 280px; max-height: calc(100dvh - 32px); overflow: auto; padding: 18px; border: 1px solid var(--control-rule); border-radius: 12px; box-shadow: 0 12px 50px #0002; }
.design-panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.design-panel-heading strong { font-size: 15px; font-weight: 600; }
.panel-close { width: 32px; height: 32px; border: 0; background: transparent; font-size: 24px; line-height: 1; }
.layout-control { padding: 0; border: 0; margin: 0 0 16px; }
.layout-control legend, .preset-label { display: block; margin-bottom: 7px; font-size: 12px; color: #555d54; }
.layout-options { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border-radius: 6px; background: #f1f3ef; }
.layout-options button { border: 0; background: transparent; padding: 8px; border-radius: 4px; font-size: 12px; }
.layout-options button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 4px #0002; font-weight: 600; }
#brand-preset { width: 100%; border: 1px solid var(--control-rule); border-radius: 6px; background: #fff; padding: 10px; font: inherit; }
.preset-palette { display: flex; overflow: hidden; height: 24px; border: 1px solid var(--control-rule); border-radius: 4px; margin-top: 12px; }
.preset-palette i { flex: 1; background: var(--vb-color-paper); }
.preset-palette i:nth-child(2) { background: var(--vb-color-paper-muted); }
.preset-palette i:nth-child(3) { background: var(--vb-color-accent); }
.preset-palette i:nth-child(4) { background: var(--vb-color-ink); }
.panel-note { color: #5c625b; font-size: 12px; margin-top: 10px; }
.panel-actions { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--control-rule); }
.panel-actions button { background: transparent; border: 0; padding: 6px 0; font-size: 12px; }
.panel-actions button:hover { text-decoration: underline; }
.design-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 70; display: flex; align-items: center; gap: 32px; padding: 14px 18px; border: 1px solid var(--control-rule); border-radius: 8px; box-shadow: 0 4px 20px #0002; font-weight: 600; }
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 200; max-width: min(90vw, 30rem); padding: 12px 20px; border: 1px solid var(--control-rule); border-radius: 8px; box-shadow: 0 4px 20px #0002; }
[data-layout="immersive"] .hero { padding: 0; }
[data-layout="immersive"] .hero-composition { position: relative; min-height: min(840px, 90svh); max-width: none; padding: clamp(2rem, 7vw, 7rem) var(--vb-gutter); align-content: end; overflow: hidden; isolation: isolate; }
[data-layout="immersive"] .hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; margin: 0; border-radius: 0; }
[data-layout="immersive"] .hero-composition::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .78), rgb(0 0 0 / .22) 80%); }
[data-layout="immersive"] .hero h1, [data-layout="immersive"] .hero h1 span, [data-layout="immersive"] .hero-copy p { color: #ffffff; }
[data-layout="immersive"] .hero-copy { padding-bottom: .5rem; }
[data-layout="immersive"] .hero .vb-btn { background: var(--vb-color-paper); border-color: var(--vb-color-paper); color: var(--vb-color-ink); }
[data-layout="immersive"] .vbs-intro-photo-pair__copy { order: 2; }
[data-layout="immersive"] .spaces-layout { grid-template-columns: 1fr; }
[data-layout="immersive"] .spaces-tabs { flex-direction: row; gap: 2rem; }
[data-layout="immersive"] .spaces-tabs button { min-width: 0; flex: 1; }
[data-layout="immersive"] .space-panel .vb-media { aspect-ratio: 2 / 1; }
[data-layout="immersive"] .favorites-composition { grid-template-columns: 1fr 1.3fr; }
[data-layout="immersive"] .favorites-copy { grid-column: 1; grid-row: 1; }
[data-layout="immersive"] .favorites-image { grid-column: 2; aspect-ratio: 5/4; }
@media (max-width: 62rem) {
 .vbs-header-classic-bar__inner { min-height: 72px; gap: 1.25rem; }
 .favorites-nav { margin-left: auto; }
 .vbs-header-classic-bar__disclosure { margin-left: 0; }
 .hero-composition { grid-template-columns: 1fr; gap: 1.5rem; }
 .hero-copy { justify-self: start; max-width: 46ch; }
 .hero h1 { max-width: none; }
 .hero-image { height: 420px; }
 [data-layout="immersive"] .hero-composition { min-height: 720px; gap: 1.5rem; }
 [data-layout="immersive"] .hero-copy { max-width: 38ch; }
 .section-heading { grid-template-columns: 1fr 1fr; }
 .spaces-layout { grid-template-columns: 1fr; }
 .spaces-tabs { flex-direction: row; gap: 1.5rem; }
 .spaces-tabs button { flex: 1; }
 .favorites-composition, [data-layout="immersive"] .favorites-composition { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 40rem) {
 .favorites-label { display: none; }
 .livya-logo { width: 104px; height: 20px; }
 .hero-image { height: 340px; }
 .hero h1 { font-size: clamp(2.7rem, 11vw, calc(var(--vb-fs-display-1) * 1.2)); }
 .hero-copy { gap: 1.25rem; }
 .design-panel { right: 12px; bottom: 12px; width: min(280px, calc(100vw - 24px)); }
 .design-launcher { right: 12px; bottom: 12px; }
 [data-layout="immersive"] .hero-composition { min-height: 650px; padding-block: 4rem; }
 .vbs-intro-photo-pair__copy { order: 0 !important; }
 .section-heading, .space-panel figcaption { grid-template-columns: 1fr; gap: 1.5rem; }
 .section-heading > p { justify-self: start; }
 .spaces-tabs, [data-layout="immersive"] .spaces-tabs { gap: 1rem; }
 .spaces-tabs button { font-size: var(--vb-fs-small); align-items: start; }
 .spaces-tabs button::after { display: none; }
 .space-panel .vb-media, [data-layout="immersive"] .space-panel .vb-media { aspect-ratio: 4/3; }
 .spaces-bottom, .embed-caption { align-items: start; flex-direction: column; gap: 1rem; }
 .favorites-composition, [data-layout="immersive"] .favorites-composition { grid-template-columns: 1fr; }
 .favorites-image, [data-layout="immersive"] .favorites-image { grid-column: 1; aspect-ratio: 4/3; }
 [data-layout="immersive"] .favorites-copy { grid-row: 2; }
 .livya-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 1rem; }
 .livya-dialog .livya-integration-iframe { min-height: 300px; height: 55dvh; }
 .plans-shell .livya-integration-iframe { height: 640px; }
 .neighborhood-shell .livya-integration-iframe { height: 620px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
