/* Full-width bands share a reading measure as the navigation opens and closes. */
.home-product {
  --home-gutter: clamp(1rem, 3.5vw, 3rem);
  --home-measure: 62rem;
  --floor-inset: max(var(--home-gutter), calc((100% - var(--home-measure)) / 2));
  --floor-space: clamp(2.5rem, 6vw, 5rem);
  --floor-title: clamp(1.9rem, 4vw, 3.2rem);
  color: var(--text-color);
  background: var(--bg-surface);
  font-family: var(--font-ui);
  padding-top: var(--mley-header-height, 61px);
}
.home-product .home-floor {
  box-sizing: border-box;
  min-width: 0;
  padding: var(--floor-space) var(--floor-inset);
  margin: 0;
  background: var(--bg-surface);
}
.home-product .home-floor--tutorial,
.home-product .home-floor--news { background: var(--bg-surface-2); }
.home-floor--tutorial:has(> [hidden]) { display: none; }

.home-product-intro { margin: 0 auto 1.65rem; text-align: center; }
.home-product-brand {
  display: flex; justify-content: center; align-items: center; gap: .45rem;
  margin: 0 0 1.35rem; font: 720 clamp(1.35rem, 2vw, 1.75rem)/1.15 var(--font-ui);
  letter-spacing: -.045em;
}
.home-product-brand .project-portada__brand {
  min-width: 1.5em; min-height: 1.5em; border-radius: .4em;
  font: 750 .73em/1 var(--font-ui); letter-spacing: -.05em;
}
.home-product-brand__tagline {
  padding: .1em 0 .1em .7em; margin-inline-start: .2em; border-inline-start: 1px solid var(--border-color);
  color: var(--text-color); font-size: .75em; letter-spacing: -.035em;
}
.home-product-intro h1 {
  margin: 0 auto; max-width: 18ch; color: var(--text-color);
  font: 720 clamp(2.4rem, 5.9vw, 5.25rem)/.99 var(--font-ui);
  letter-spacing: -.055em; text-wrap: balance;
}
.home-product-intro h1 em { color: var(--brand-color); font-style: normal; }
.home-product-intro__lead, .home-library-copy p {
  margin: 1rem auto 0; max-width: 50ch; color: var(--text-muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem); line-height: 1.45; text-wrap: pretty;
}
.home-product .home-floor--hero { padding-block: clamp(2rem, 5.6vw, 5rem); }
body[data-page-kind="home"] .home-floor--hero .mley-home-search-card.card {
  margin: 0 auto; width: 100%; max-width: 56rem; view-transition-name: catalog-search;
}
body[data-page-kind="home"] .home-floor--hero .mley-home-search-card.card > .card-body {
  padding: clamp(.65rem, 1.7vw, 1.4rem);
}
.home-product .home-floor__head, .home-library-layout {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem 2rem;
}
.home-product .home-floor__head { margin-bottom: 1.5rem; }
body[data-page-kind="home"] .home-product #mley-home-catalog-heading,
.home-product .mley-article-demo__heading h2,
.home-product .home-library-copy h2 {
  margin: 0; color: var(--text-color);
  font: 700 var(--floor-title)/1.07 var(--font-ui); letter-spacing: -.045em; text-wrap: balance;
}
.home-product .mley-article-demo__heading h2 { margin-top: .3rem; }
.home-product .mley-article-demo__tagline {
  margin: 0;
  color: var(--text-color);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
}
body[data-page-kind="home"] .home-product #mley-article-demo,
body[data-page-kind="home"] .home-product #mley-home-laws {
  margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.home-product #mley-article-demo > .card-body, .home-product #mley-home-laws > .card-body { padding: 0; }
.home-catalog-switch {
  display: inline-grid; grid-template-columns: repeat(2, 1fr); position: relative; isolation: isolate;
  padding: 3px; border-radius: 12px; background: var(--bg-surface-3);
}
.home-catalog-switch::before {
  content: ""; position: absolute; inset: 3px auto 3px 3px; width: calc((100% - 6px) / 2);
  background: var(--bg-surface); border-radius: 9px; box-shadow: 0 1px 3px var(--border-color);
  transition: transform .22s ease-out; z-index: -1;
}
.home-catalog-switch:has([data-home-catalog-link="reglamentos"][aria-current])::before { transform: translateX(100%); }
.home-catalog-switch a {
  display: grid; min-height: 44px; place-items: center; padding: 0 1rem; border-radius: 9px;
  color: var(--text-muted); font-weight: var(--weight-semibold); text-decoration: none;
}
#mley-home-laws .home-catalog-switch a:is([aria-current], :hover, :focus) { color: var(--text-color); text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  #mley-home-laws .home-catalog-switch a:not([aria-current]):hover { color: var(--accent-color); }
}
#mley-home-laws .home-catalog-switch a:focus-visible { outline: 2px solid var(--accent-color); outline-offset: -2px; }
@media (max-width: 600px) {
  #mley-home-laws .home-floor__head { align-items: stretch; flex-direction: column; gap: .85rem; margin-bottom: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-catalog-switch::before { transition: none; }
}
.home-product .home-floor--tutorial:has(> [hidden]) + .home-floor--catalog { border-top: 1px solid var(--border-color); }
.home-product .home-floor--news { padding-inline: 0; }
.home-floor--news > [data-updates-floor],
.home-floor--news .mley-home-carousel > :not(.mley-home-carousel-track) { margin-inline: var(--floor-inset); }
.home-floor--news .mley-updates { view-transition-name: catalog-updates; }
.home-floor--news .mley-home-carousel-track { gap: .5rem; padding-inline: 0; }
.home-floor--news .mley-home-carousel-slide {
  flex: 0 0 clamp(12rem, 73%, 16rem); border-radius: .8rem; background: var(--bg-surface);
}
.home-floor--news .mley-catalog-update a { justify-content: center; gap: .25rem; padding: .65rem .85rem; }
.home-floor--news .mley-catalog-update h4 {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.home-floor--news .mley-catalog-update a:focus-visible,
.home-floor--news .mley-home-carousel-track:focus-visible { outline-offset: -2px; }
.mley-home-carousel__button[hidden],
[data-carousel-rotation] [data-play-icon],
[data-carousel-rotation].is-paused [data-pause-icon] { display: none; }
[data-carousel-rotation].is-paused [data-play-icon] { display: inline; }
.home-product .home-floor--library {
  display: block; position: relative; margin: 0; border: 0; border-radius: 0;
  background: color-mix(in srgb, var(--brand-color) 7%, var(--bg-surface));
}
.home-product .home-floor--library[hidden] { display: none; }
.home-library-copy { flex: 1 1 20rem; }
.home-library-copy p { max-width: 39ch; margin-inline: 0; }
.home-library-copy .btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1.25rem; padding-inline: 1.25rem; }
.home-library-example {
  flex: 1 1 15rem; max-width: 22rem; display: grid; grid-template-columns: auto 1fr;
  gap: 1.15rem .85rem; align-items: center; padding: clamp(1rem, 3vw, 1.75rem);
  border: 1px solid var(--border-color); border-radius: 1rem; background: var(--bg-surface);
}
.home-library-example__icon { color: var(--brand-color); }
.home-library-example small { display: block; color: var(--text-muted); }
.home-library-example strong { display: block; font-size: 1.35rem; }
.home-library-example ul {
  grid-column: 1 / -1; list-style: none; display: flex; flex-wrap: wrap; gap: .45rem;
  padding: .85rem 0 0; margin: 0; border-top: 1px solid var(--border-color);
}
.home-library-example li { color: var(--text-muted); font-size: var(--text-small); }
.home-library-example li + li::before { content: '·'; padding-inline-end: .45rem; }
.home-product .home-product-footer { margin: 0; padding: .75rem var(--floor-inset); }
.home-product :is(a, button, [tabindex="0"]):focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }

@media (min-width: 1081px) {
  .home-product { --home-measure: min(62rem, calc(100vw - 280px - 2 * var(--home-gutter))); }
  /* The server-rendered header already identifies guests before the sidebar script runs. */
  body[data-page-kind="home"]:is(:has(> [data-guest-header]), .mley-sidebar-collapsed) #panel {
    --home-sidebar-width: 0px;
    margin-left: 0 !important;
  }
  body[data-page-kind="home"].mley-dof-reader-open:not(.mley-dof-reader-full) #panel {
    width: auto;
  }
}
@media (min-width: 1081px) and (prefers-reduced-motion: no-preference) {
  body[data-page-kind="home"]:has(.home-product) #panel { transition-property: none; }
  body[data-page-kind="home"]:has(.home-product) #panel.mley-sidebar-moving { transition-property: margin-left, width; }
}
@media (max-width: 480px) {
  .home-product-intro { margin-bottom: 1.1rem; }
  .home-product-brand { margin-bottom: .9rem; }
  .home-library-example { max-width: none; }
  .home-product .mley-about-footer { column-gap: .75rem; }
}

/* The first article loads without opening a floating window or taking focus. */
.mley-demo-document {
  width: 100%; height: 100%; min-height: 0; overflow: hidden; text-align: start; box-shadow: none;
  color: var(--text-color); background: var(--bg-surface); border-color: var(--border-color);
}
.mley-demo-document .modal-title { display: flex; align-items: baseline; gap: .5rem; }
.mley-demo-document .modal-title .text-muted { overflow: hidden; text-overflow: ellipsis; font-weight: var(--weight-regular); }
.mley-demo-document__text { width: 100%; min-height: 0; overflow: auto; overscroll-behavior: contain; }
.mley-demo-document__text .text-right:first-child { display: none; }
.mley-demo-document__text [data-action="display-modal"] { color: var(--accent-color); background: var(--surface-accent); }
/* The gallery positions one live workspace over the selected snap point. */
.home-product .home-floor--tutorial { padding-inline: 0; }
[data-demo-gallery] {
  scroll-margin-top: calc(var(--mley-header-height, 61px) + 1rem);
  --gallery-card: min(82cqi, 71rem);
  --gallery-edge: calc((100cqi - var(--gallery-card)) / 2);
  --gallery-gap: clamp(.75rem, 1.6cqi, 1.6rem);
}
.home-product [data-demo-gallery] .mley-article-demo__heading {
  display: flex; align-items: center; justify-content: space-between; text-align: start;
  margin: 0 var(--gallery-edge) clamp(1.2rem, 2.8cqi, 2.3rem);
}
[data-demo-gallery] .mley-article-demo__heading > div { max-width: none; padding: 0; }
.home-product [data-demo-gallery] .mley-article-demo__dismiss { position: static; flex-shrink: 0; min-height: 44px; }
[data-demo-gallery] .mley-article-demo__layout { display: block; }
[data-demo-gallery] .mley-article-demo__track {
  display: grid; position: relative; grid-template-columns: repeat(var(--demo-count, 1), var(--gallery-card)) max(0px, calc(100cqi - var(--gallery-card) - var(--gallery-edge) - var(--gallery-gap)));
  gap: var(--gallery-gap); padding: 3px 0 5px var(--gallery-edge); overflow: auto hidden;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline-start: var(--gallery-edge);
  scrollbar-width: none; overflow-anchor: none; isolation: isolate;
}
[data-demo-gallery] .mley-article-demo__track::-webkit-scrollbar { display: none; }
[data-demo-gallery] .mley-article-demo__track::after { content: ""; grid-row: 1; grid-column: -2; }
[data-demo-gallery].is-carousel .mley-article-demo__panel {
  grid-row: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.5fr);
  padding: 0; min-width: 0; overflow: hidden; position: relative; isolation: isolate;
  background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: clamp(1.1rem, 2.5cqi, 2rem);
}
[data-demo-gallery].is-carousel .mley-gallery-card {
  z-index: auto; scroll-snap-align: start; scroll-snap-stop: normal;
}
[data-demo-gallery] .mley-gallery-card:not(.is-current) { cursor: pointer; }
[data-demo-gallery] .mley-gallery-visual > .mley-article-demo__stage { grid-area: 1 / 1; }
[data-demo-gallery] [data-demo-preview] { pointer-events: none; }
[data-demo-gallery] .mley-gallery-visual [data-demo-reader] { z-index: 1; }
[data-demo-gallery] .mley-gallery-visual .mley-article-demo__empty { z-index: 2; }
[data-demo-gallery] .mley-gallery-visual .mley-article-demo__stage { touch-action: auto; }
[data-demo-gallery] .mley-gallery-visual .modal-body { overscroll-behavior-x: auto; }
[data-demo-gallery] [data-demo-cue] { animation: none; }
[data-demo-gallery] [data-demo-preview-cue] {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--accent-color), 0 0 0 5px var(--accent-color-soft);
}
[data-demo-gallery] .mley-article-demo__guide {
  align-self: center; min-width: 0; padding: clamp(1.25rem, 3.3cqi, 3.4rem);
}
[data-demo-gallery].is-carousel .mley-article-demo__card-heading { display: block; margin: 0; }
[data-demo-gallery].is-carousel .mley-article-demo__card-heading :is(h3,strong) {
  display: block; margin: 0; color: var(--text-color); text-wrap: balance;
  font: 700 clamp(1.65rem, 3.2cqi, 3.1rem)/1.04 var(--font-ui); letter-spacing: -.044em;
}
[data-demo-gallery] .mley-article-demo__guide > p {
  margin: 1rem 0 0; color: var(--text-muted); font-size: clamp(.93rem, 1.2cqi, 1.06rem); line-height: 1.48;
}
[data-demo-gallery] .mley-article-demo__actions { margin-top: 1.25rem; }
[data-demo-gallery] .mley-article-demo__actions :is(a,button) { min-height: 44px; }
[data-demo-gallery] .mley-article-demo__status { position: absolute; grid-area: 1 / 2; z-index: 3; inset: auto 0 0; background: var(--bg-surface); }
[data-demo-gallery] .mley-article-demo__status:empty { display: none; }
[data-demo-gallery] .mley-article-demo__status:not(:empty) { padding: .65rem 1.25rem; }
.mley-gallery-visual {
  --demo-reader-height: clamp(22rem, 34cqi, 29rem);
  display: grid; grid-row: 1; grid-column: 2; align-items: center; min-width: 0;
  padding: clamp(.8rem, 2.4cqi, 2.35rem);
  --gallery-backdrop: linear-gradient(155deg, var(--bg-surface-2), color-mix(in srgb, var(--accent-color) 10%, var(--bg-surface-2)));
  background: var(--gallery-backdrop);
}
[data-gallery-tool="share"] .mley-gallery-visual, [data-gallery-tool="save"] .mley-gallery-visual {
  --gallery-backdrop: linear-gradient(145deg, var(--bg-surface-2), color-mix(in srgb, var(--brand-color) 12%, var(--bg-surface-2)));
}
[data-demo-gallery] .mley-gallery-visual > .mley-article-demo__stage {
  width: 100%; min-width: 0; height: var(--demo-reader-height); min-height: var(--demo-reader-height);
}
[data-demo-gallery] .mley-article-demo__empty:has([data-demo-document]:not([hidden])) {
  padding: 0; border: 0; background: transparent;
}
[data-demo-gallery] .mley-article-demo__empty:has([data-demo-document]:not([hidden])) > :not([data-demo-document]) { display: none; }
[data-demo-gallery] .is-pdf :is(.mley-article-demo__pdf, iframe) { width: 100%; height: 100%; min-height: 0; border: 0; }
[data-demo-gallery] .mley-gallery-controls {
  display: flex; align-items: center; justify-content: center; gap: .45rem; width: fit-content;
  margin: 1rem auto 0; padding: .1rem .35rem; border-radius: 2rem; background: var(--bg-surface);
}
.mley-gallery-controls button { min-width: 44px; min-height: 44px; font-size: 1.05rem; }
.mley-gallery-controls [data-demo-progress] { color: var(--text-color); white-space: nowrap; font-size: .83rem; font-variant-numeric: tabular-nums; }
.mley-gallery-time { display: block; width: 2.6rem; height: 3px; overflow: hidden; border-radius: 1rem; background: var(--border-color); }
.mley-gallery-time > span { display: block; height: 100%; background: var(--accent-color); transform: scaleX(0); transform-origin: left; }
[data-demo-play] span { display: inline-block; width: .68rem; height: .75rem; border-inline: .2rem solid currentColor; }
[data-demo-play][data-paused] span { width: 0; height: 0; border: solid transparent; border-width: .38rem 0 .38rem .62rem; border-left-color: currentColor; }
[data-gallery-tool="read"] {
  --gallery-poster-light: url("../tutorial/read-light.04c667593e7a.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/read-dark.84e0a1f753a9.webp?v=20261108-reader-window");
}
[data-gallery-tool="pdf"] {
  --gallery-poster-light: url("../tutorial/pdf-light.d838aa9bcf59.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/pdf-dark.6edeff5df2e7.webp?v=20261108-reader-window");
}
[data-gallery-tool="references"] {
  --gallery-poster-light: url("../tutorial/references-light.177f28579178.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/references-dark.5c76c087c179.webp?v=20261108-reader-window");
}
[data-gallery-tool="share"] {
  --gallery-poster-light: url("../tutorial/share-light.92505dec9166.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/share-dark.0dbb2de24459.webp?v=20261108-reader-window");
}
[data-gallery-tool="minimize"] {
  --gallery-poster-light: url("../tutorial/minimize-light.926c0ba8a39f.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/minimize-dark.c86ffc5b4e93.webp?v=20261108-reader-window");
}
[data-gallery-tool="save"] {
  --gallery-poster-light: url("../tutorial/save-light.e26f1f6f84ac.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/save-dark.c344bc47795f.webp?v=20261108-reader-window");
}
[data-gallery-tool="laws"] {
  --gallery-poster-light: url("../tutorial/laws-light.35fdc17710bc.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/laws-dark.304e254e006b.webp?v=20261108-reader-window");
}
[data-gallery-tool="articles"] {
  --gallery-poster-light: url("../tutorial/articles-light.f2c7c7957c7c.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/articles-dark.17e664e4f5f1.webp?v=20261108-reader-window");
}
[data-gallery-tool="pin"] {
  --gallery-poster-light: url("../tutorial/pin-light.c0e7ebd5300c.webp?v=20261108-reader-window");
  --gallery-poster-dark: url("../tutorial/pin-dark.fd1870f36772.webp?v=20261108-reader-window");
}
.mley-gallery-visual { position: relative; }
.mley-gallery-visual { overflow: hidden; }
/* A cold card has a cover only until its own content has painted once. */
.mley-gallery-card .mley-gallery-visual:not(.is-ready)::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--gallery-poster-light) center / contain no-repeat, var(--gallery-backdrop);
}
:root[data-theme="dark"] .mley-gallery-card .mley-gallery-visual:not(.is-ready)::before {
  background-image: var(--gallery-poster-dark), var(--gallery-backdrop);
}

@container (max-width: 760px) {
  .home-product [data-demo-gallery] .mley-article-demo__heading { margin-inline: .8rem; gap: .5rem; }
  .home-product [data-demo-gallery] .mley-article-demo__heading h2 { font-size: clamp(1.45rem,6cqi,2rem); }
  [data-gallery-tool="read"] {
    --gallery-poster-light: url("../tutorial/read-light.mobile.791a8c723281.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/read-dark.mobile.f78c5529369b.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="pdf"] {
    --gallery-poster-light: url("../tutorial/pdf-light.mobile.29f230f19da1.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/pdf-dark.mobile.d541d5821bc2.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="references"] {
    --gallery-poster-light: url("../tutorial/references-light.mobile.9ba2e69ada39.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/references-dark.mobile.2cdfa8184f09.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="share"] {
    --gallery-poster-light: url("../tutorial/share-light.mobile.8a8e0d0379bb.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/share-dark.mobile.5f1ef0d2ccba.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="minimize"] {
    --gallery-poster-light: url("../tutorial/minimize-light.mobile.ad126b6c7279.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/minimize-dark.mobile.d6e1dabf95dc.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="save"] {
    --gallery-poster-light: url("../tutorial/save-light.mobile.6586e922b2da.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/save-dark.mobile.c19a4e17ba5d.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="laws"] {
    --gallery-poster-light: url("../tutorial/laws-light.mobile.3cf4e839a9b3.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/laws-dark.mobile.f96af8f1d965.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="articles"] {
    --gallery-poster-light: url("../tutorial/articles-light.mobile.db3c2e66a258.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/articles-dark.mobile.bc43ede5df65.webp?v=20261108-reader-window");
  }
  [data-gallery-tool="pin"] {
    --gallery-poster-light: url("../tutorial/pin-light.mobile.9e04812b0d21.webp?v=20261108-reader-window");
    --gallery-poster-dark: url("../tutorial/pin-dark.mobile.ccaac87378b9.webp?v=20261108-reader-window");
  }
  [data-demo-gallery] .mley-article-demo__track { --gallery-card: 88cqi; --gallery-edge: clamp(.4rem, 2cqi, .8rem); --gallery-gap: .55rem; }
  [data-demo-gallery].is-carousel .mley-article-demo__panel { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; }
  [data-demo-gallery] .mley-article-demo__guide { align-self: start; padding: 1.15rem 1.1rem .85rem; }
  [data-demo-gallery].is-carousel .mley-article-demo__card-heading :is(h3,strong) { font-size: clamp(1.35rem, 5.2cqi, 1.95rem); }
  [data-demo-gallery] .mley-article-demo__guide > p { margin-top: .45rem; font-size: .9rem; }
  [data-demo-gallery] .mley-article-demo__actions { margin-top: .4rem; gap: .25rem .7rem; }
  [data-demo-gallery] .mley-gallery-visual { grid-area: 2 / 1; padding: .9rem .45rem; --demo-reader-height: clamp(17rem, 42svh, 24rem); }
  [data-demo-gallery] .mley-article-demo__status { grid-area: 2 / 1; }
}
/* The original map fills the gallery's visual column, including on a narrow card. */
[data-demo-gallery] :is([data-gallery-tool="laws"], [data-gallery-tool="articles"]) .mley-gallery-visual {
  padding: 0; align-items: stretch; --gallery-backdrop: var(--bg-surface);
}
[data-demo-gallery] .mley-gallery-visual > .mley-article-demo__stage.is-map { height: 100%; }
[data-demo-gallery] .is-map :is(.mley-article-demo__maps, iframe) {
  width: 100%; height: 100%; min-height: 0; max-height: none; border: 0; display: block;
}

.home-catalog-viewport { position: relative; overflow-x: clip; }
.home-catalog-viewport > [hidden] { display: none; }
.home-catalog-viewport > .is-leaving { position: absolute; inset: 0 0 auto; pointer-events: none; }
[data-catalog-switch-status]:empty { margin: 0; }
