/* ============================================================
   FLOOR STUDIO - /en/floor-studio/ and /es/floor-studio/
   The product page's grammar (product-3d.css): a stage and an
   ink-ruled column, tracked capitals over hairline-ruled groups,
   proportional plates, face-scan swatches, a mono facts grid.
   The room photo is framed like a drawing on a board: a keyline,
   registration marks at its corners, the paper around it.
   ============================================================ */

.rv {
  --rv-info-w: clamp(360px, 30vw, 440px);
  --rv-head: 111px;           /* the topbar and masthead above the app */
  --rv-bar-h: 43px;
  --rv-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rv-title-fs: clamp(28px, 2.4vw, 40px);
}
/* zero-specificity resets, so every component class below (and the site's .btn) wins */
:where(.rv) button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
:where(.rv) button:disabled { cursor: default; opacity: 0.35; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  padding: 12px 18px; background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { left: 0; }
.rv > section { padding-block: 0; }
.rv a { color: inherit; }
.rv :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- the app: a stage and the floor's column, one screen tall ---------- */
.rv-app { border-bottom: 1.5px solid var(--line-strong); }
.rv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--rv-info-w);
  height: calc(100svh - var(--rv-head));
  min-height: 600px;
  max-height: 1180px;
}
.rv-stage-col { position: relative; min-width: 0; display: flex; flex-direction: column; }
.rv-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: 34px 40px calc(var(--rv-bar-h) + 46px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(62% 58% at 50% 46%, rgba(255, 253, 248, 0.95) 0%, rgba(251, 249, 244, 0) 72%),
    linear-gradient(var(--paper), var(--paper-deep));
}
.rv-stage-col > .screen-note {
  position: absolute; left: 0; right: 0; bottom: 10px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ink-faint);
  pointer-events: none;
}

/* ---------- the room ---------- */
.rv-frame {
  position: relative;
  flex: none;
  display: none;
  background: var(--paper-deep);
  box-shadow: 0 0 0 1px var(--line-strong), var(--float-shadow);
  touch-action: pan-y;
}
.rv[data-phase="view"] .rv-frame, .rv[data-phase="opening"] .rv-frame { display: block; }
.rv-frame::before, .rv-frame::after {
  /* registration marks: a short cross of ink outside each corner */
  content: "";
  position: absolute;
  inset: -14px;
  pointer-events: none;
  --m: var(--line-strong);
  background:
    linear-gradient(var(--m), var(--m)) 0 14px / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 14px 0 / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% 14px / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) calc(100% - 14px) 0 / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 0 calc(100% - 14px) / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) 14px 100% / 1px 9px no-repeat,
    linear-gradient(var(--m), var(--m)) 100% calc(100% - 14px) / 9px 1px no-repeat,
    linear-gradient(var(--m), var(--m)) calc(100% - 14px) 100% / 1px 9px no-repeat;
}
.rv-frame::after { display: none; }
.rv-gl, .rv-before {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.rv-before { object-fit: fill; user-select: none; -webkit-user-drag: none; }
.rv-before[hidden] { display: none; }

/* the reveal: the room as photographed first, whole, then the new floor fades in over all of it
 * at once (owner, 2026-10-12: a floor wiping up from the foot showed the room split in half) */
.rv-frame.revealing .rv-before { display: block; clip-path: none !important; }
/* a room or a floor on its way: the room as photographed, whole, and no half-drawn floor over it */
.rv.pending .rv-gl { visibility: hidden; }
.rv.pending .rv-before, .rv.pending .rv-before[hidden] { display: block; clip-path: none !important; }
.rv.pending #rv-split { display: none; }
.rv-frame.revealing .rv-gl { animation: rv-floor-in 0.9s ease 0.35s both; }
@keyframes rv-floor-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- the loader: a room opening, a floor on its way ----------
   The product page's loading language (product-3d.css, the loader and the
   status), here (owner, 2026-10-07: a sample room opened, and a floor
   loaded, with little or nothing to show for it). A room opens at once, in
   the frame it will fill, at its proportions: the gallery's picture of it,
   soft, under the frame's registration marks, sharpening when its photo has
   come; a paper tab at its foot names it over a hairline rule that red runs
   along as its files and then its floor's scans arrive; and when the floor is
   in, the room shows through and the floor rises from the foot as it always
   did. A floor on its way to a room already open takes the same tab, over
   the room as it stands, until its scans are in. The tab is the stage's one
   loading voice; the top line is for what went wrong. */
.rv-open {
  position: absolute; inset: 0;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.rv-open[hidden] { display: none; }
.rv-open.is-leaving { opacity: 0; }
.rv-open.is-room { background: var(--paper-deep); }
.rv-open-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: none;
  object-fit: fill;
  clip-path: inset(0);
  transition: filter 0.6s ease;
}
.rv-open.is-room .rv-open-photo { display: block; }
/* the gallery's picture is a quarter of the size it stands at here: softened
   until the photo itself takes its place */
.rv-open-photo.is-soft { filter: blur(6px); }
/* the tab is a progress bar (owner, 2026-10-12): what is loading and how far, in figures,
   over a red bar that fills as the room's files and then its floor's scans arrive */
.rv-open-tab {
  position: absolute; left: 50%; bottom: 14px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 7px;
  width: min(300px, calc(100% - 28px));
  margin: 0;
  padding: 9px 12px 11px;
  background: var(--paper);
  box-shadow: 0 6px 18px -10px rgba(46, 32, 14, 0.35);
}
.rv-open-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.rv-open-row > span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rv-open-pct { flex: none; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.rv-open-bar {
  display: block; height: 3px;
  background-color: var(--line);
  background-image: linear-gradient(var(--red), var(--red));
  background-repeat: no-repeat;
  background-size: calc(var(--load, 0) * 100%) 100%;
}
/* the tab comes in rather than blinking on */
.rv-open:not(.is-room) .rv-open-tab { animation: rv-tab-in 0.25s ease both; }
@keyframes rv-tab-in { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .rv-open, .rv-open-photo, .rv-open-bar { transition: none; }
  .rv-open-tab { animation: none !important; }
}

/* before and after */
.rv-split {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 0;
  z-index: 2;
}
.rv-split[hidden] { display: none; }
.rv-split::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(20, 17, 16, 0.55);
}
.rv-split-handle {
  position: absolute; top: 50%; left: 0;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 0 0 2px var(--paper), 0 8px 22px -6px rgba(20, 17, 16, 0.6);
  cursor: ew-resize;
}
.rv-split-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.rv-tag {
  position: absolute; top: 14px;
  padding: 4px 8px 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  white-space: nowrap;
}
.rv-tag.before { right: 14px; }
.rv-tag.after { left: 14px; }
.rv.comparing .rv-frame { cursor: ew-resize; }

/* ---------- the start: a board with its corner marks, the call, sample rooms ---------- */
.rv-start {
  position: absolute;
  inset: 34px 40px calc(var(--rv-bar-h) + 46px);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vh, 64px) clamp(28px, 4.4vw, 72px) clamp(24px, 3.4vh, 40px);
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(20, 17, 16, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(20, 17, 16, 0.045) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--paper-lift);
  overflow: auto;
}
.rv[data-phase="start"] .rv-start { display: flex; }
.rv[data-phase="start"] .rv-stage { padding-bottom: calc(var(--rv-bar-h) + 46px); }
/* The start is the whole studio (owner, 2026-10-07): no floor panel beside it; top to bottom,
 * Floor Studio, the rooms in big rows of three (owner, 2026-10-08), then a photo of one's own.
 * Rows that big are taller than a laptop's screen, so the start flows with the page. */
.rv[data-phase="start"] .rv-panel { display: none; }
@media (min-width: 901px) {
  .rv[data-phase="start"] .rv-grid { grid-template-columns: minmax(0, 1fr); height: auto; max-height: none; min-height: calc(100svh - var(--rv-head)); }
  .rv[data-phase="start"] .rv-stage { padding: 18px 40px 0; overflow: visible; align-items: flex-start; flex: none; }
  /* the note follows the board and stands centered between it and the footer on every screen
   * (owner, 2026-10-08): the start's height is its content's, not the screen's */
  .rv[data-phase="start"] .rv-grid { min-height: 0; }
  .rv[data-phase="start"] .rv-stage-col > .screen-note { position: static; padding: 16px 12px; }
  .rv[data-phase="start"] .rv-start { position: relative; inset: auto; width: 100%; overflow: visible; justify-content: flex-start; gap: clamp(16px, 2.2vh, 24px);
    padding-top: clamp(20px, 2.8vh, 30px); padding-bottom: clamp(18px, 2.4vh, 26px); }
  .rv[data-phase="start"] .rv-lede { margin-top: clamp(8px, 1.3vh, 14px); }
  .rv[data-phase="start"] .rv-samples-h { margin-bottom: 10px; }
  .rv[data-phase="start"] .rv-sample { gap: 6px; }
  .rv[data-phase="start"] .rv-own-h { margin-bottom: 8px; }
  .rv[data-phase="start"] .rv-start-in { max-width: none; }
  .rv[data-phase="start"] .rv-h1 { font-size: clamp(44px, 5.4vw, 92px); }
  .rv[data-phase="start"] .rv-h1 em { display: inline; }
  .rv[data-phase="start"] .rv-samples { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px;
    /* as wide as the screen's height lets the whole board show, never wider than 90% of it
     * and never so small the rooms stop reading (owner, 2026-10-08) */
    max-width: max(560px, min(90%, calc((100svh - 575px) * 2.25 + 36px))); }
  .rv[data-phase="start"] .rv-samples .rv-sample img, .rv[data-phase="start"] .rv-samples .rv-all-box { aspect-ratio: 3 / 2; }
  .rv[data-phase="start"] .rv-samples .rv-sample > span:last-child { font-size: 12px; }
  /* the red tile's words and arrow scale with the tile, so a small tile never overflows */
  .rv[data-phase="start"] .rv-all { container-type: inline-size; }
  .rv[data-phase="start"] .rv-all-box { padding: clamp(10px, 7cqi, 28px); overflow: hidden; }
  .rv[data-phase="start"] .rv-all-box b { font-size: clamp(14px, 9.5cqi, 40px); }
  .rv[data-phase="start"] .rv-all-box svg { width: clamp(20px, 8.5cqi, 34px); height: clamp(20px, 8.5cqi, 34px); }
  .rv[data-phase="start"] .rv-own {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "h h" "cta tips" "cta note";
    column-gap: 32px;
    align-items: center;
  }
  .rv[data-phase="start"] .rv-own-h { grid-area: h; }
  .rv[data-phase="start"] .rv-own .rv-cta { grid-area: cta; }
  .rv[data-phase="start"] .rv-own .rv-tips { grid-area: tips; margin: 0; align-self: end; }
  .rv[data-phase="start"] .rv-own .rv-privacy { grid-area: note; margin: 6px 0 0; align-self: start; }
}
.rv-mark { position: absolute; width: 16px; height: 16px; pointer-events: none; }
.rv-mark.tl { top: -1px; left: -1px; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.rv-mark.tr { top: -1px; right: -1px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.rv-mark.bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.rv-mark.br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.rv-start-in { max-width: 720px; }
.rv-start .kicker { margin: 0 0 14px; }
.rv-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: clamp(46px, 5.6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}
.rv-h1 em { font-style: normal; color: var(--red); display: block; }
.rv-lede {
  margin: clamp(16px, 2.4vh, 24px) 0 0;
  max-width: 34em;
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.45;
  color: var(--ink-soft);
}
.rv-cta { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: clamp(22px, 3.6vh, 36px); }
.rv-cta .btn { margin: 0; display: inline-flex; gap: 28px; }
.rv-cta .btn svg { width: 20px; height: 20px; flex: none; }
.rv-line {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px;
  min-height: 57.7px;
  border: 2px solid var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease;
}
.rv-line svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.rv-line svg[stroke] { fill: none; }
@media (hover: hover) {
  .rv-line:hover { background: var(--ink); color: var(--paper); }
}
.rv-camera { display: none; }
.rv.touch .rv-camera { display: inline-flex; }
.rv-tips {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  margin: clamp(18px, 3vh, 28px) 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.rv-tips li { display: flex; align-items: center; gap: 8px; }
.rv-tips li::before { content: ""; width: 7px; height: 7px; background: var(--red); flex: none; }
/* the rooms come first: a gallery of five and a red tile for the rest (owner, 2026-10-06) */
.rv-samples-h {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.rv-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; max-width: 860px; }
.rv-sample { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.rv-sample img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}
.rv-sample > span:last-child { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color 0.2s ease; }
.rv-all-box {
  display: flex; flex-direction: column; justify-content: space-between;
  width: 100%; aspect-ratio: 4 / 3;
  padding: clamp(12px, 1.4vw, 18px);
  border: 1.5px solid var(--red);
  background: var(--red);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}
.rv-all-box b { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: clamp(16px, 1.6vw, 24px); line-height: 1; letter-spacing: 0.02em; }
.rv-all-box svg { width: 26px; height: 26px; align-self: flex-end; }
/* a gentle hover (owner, 2026-10-07: the old lift was too much, none at all too little): a
 * small lift and a light shadow, the room's frame and name red; the red tile turns ink, as the
 * site's red buttons do, and its words stay white */
@media (hover: hover) {
  .rv-sample:hover img, .rv-sample:hover .rv-all-box { transform: translateY(-2px); box-shadow: 0 8px 16px -10px rgba(46, 32, 14, 0.32); }
  .rv-sample:hover img { border-color: var(--red); }
  .rv-sample:not(.rv-all):hover > span:last-child { color: var(--red); }
  .rv-all:hover .rv-all-box { background: var(--ink); border-color: var(--ink); }
}
/* a photo of one's own room: after the rooms, and quieter */
.rv-own-h { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.rv-own .rv-cta { margin-top: 0; }
.rv-own .rv-line { min-height: 48px; font-size: 13px; }
.rv-own .rv-tips { margin-top: 14px; }

/* a photo dragged over the stage */
.rv-drop {
  position: absolute; inset: 12px;
  display: none;
  align-items: center; justify-content: center;
  border: 2px dashed var(--red);
  background: rgba(251, 249, 244, 0.86);
  z-index: 6;
  pointer-events: none;
}
.rv-drop span { font-size: 15px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.rv.dropping .rv-drop { display: flex; }

/* ---------- scanning ---------- */
.rv-scan {
  /* sized by the page to the frame the room will fill */
  position: relative;
  flex: none;
  z-index: 4;
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 0 0 1px var(--line-strong), var(--float-shadow);
}
.rv-scan[hidden] { display: none; }
.rv-scan-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain;
  filter: saturate(0.55) brightness(0.86);
}
.rv-scan-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(251, 249, 244, 0.13) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(251, 249, 244, 0.13) 1px, transparent 1px) 0 0 / 32px 32px;
  mix-blend-mode: screen;
}
.rv-scan-sweep {
  position: absolute; left: 0; right: 0; top: 0;
  height: 34%;
  background: linear-gradient(to bottom, rgba(160, 32, 48, 0) 0%, rgba(160, 32, 48, 0.16) 88%, rgba(160, 32, 48, 0.9) 99%, rgba(160, 32, 48, 0) 100%);
  animation: rv-sweep 2.6s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
@keyframes rv-sweep { from { transform: translateY(-100%); } to { transform: translateY(300%); } }
.rv-scan-card {
  position: absolute; left: 20px; bottom: 20px;
  width: min(340px, calc(100% - 40px));
  padding: 16px 18px 15px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--float-shadow);
}
.rv-scan-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 12px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.rv-scan-h .t { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.06em; color: rgba(251, 249, 244, 0.7); }
.rv-scan-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.rv-scan-steps li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.03em;
  color: rgba(251, 249, 244, 0.42);
  transition: color 0.3s ease;
}
.rv-scan-steps li::before {
  content: ""; width: 9px; height: 9px; flex: none;
  border: 1.5px solid currentColor;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.rv-scan-steps li.now { color: var(--paper); }
.rv-scan-steps li.now::before { border-color: var(--red); background: var(--red); animation: rv-pulse 1s ease-in-out infinite alternate; }
.rv-scan-steps li.done { color: rgba(251, 249, 244, 0.78); }
.rv-scan-steps li.done::before { background: var(--paper); border-color: var(--paper); }
@keyframes rv-pulse { from { opacity: 1; } to { opacity: 0.35; } }
.rv-scan-slow { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: rgba(251, 249, 244, 0.72); }
.rv-scan-slow:empty { display: none; }

/* ---------- status ---------- */
.rv-status {
  position: absolute; left: 50%; top: 18px;
  transform: translateX(-50%);
  z-index: 7;
  max-width: min(560px, calc(100% - 32px));
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px -12px rgba(46, 32, 14, 0.4);
}
.rv-status[hidden] { display: none; }
.rv-status::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--ink); }
.rv-status[data-kind="error"] { color: var(--red); border-color: var(--red); }
.rv-status[data-kind="error"]::before { background: var(--red); }
.rv-status[data-kind="busy"]::before { animation: rv-pulse 0.8s ease-in-out infinite alternate; }

/* ---------- the stage's bar ---------- */
.rv-bar {
  position: absolute; left: 50%; bottom: 36px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  border: 1.5px solid var(--line-strong);
  background: var(--line-strong);
}
.rv-bar button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 15px;
  background: var(--paper);
  border-left: 1.5px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.rv-bar button:first-child { border-left: none; }
.rv-bar button svg { width: 16px; height: 16px; flex: none; }
.rv-bar button:hover { color: var(--red); }
.rv-bar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
/* Change room is the bar's red button: a sample room is what the page would rather a
 * visitor tries next (owner, 2026-10-08) */
.rv-bar button[data-rv-rooms] { background: var(--red); color: var(--paper); }
.rv-bar button[data-rv-rooms]:hover { background: var(--red-deep); color: var(--paper); }
.rv-bar .l-short { display: none; }
.rv:not([data-phase="view"]) .rv-bar #rv-compare,
.rv:not([data-phase="view"]) .rv-bar #rv-download { display: none; }
.rv:not([data-phase="view"]) .rv-bar button:not([hidden]) { border-left: 1.5px solid var(--line-strong); }
.rv[data-phase="start"] .rv-bar { display: none; }
.rv[data-phase="scanning"] .rv-bar, .rv[data-phase="opening"] .rv-bar { visibility: hidden; }

/* ---------- the floor's column ---------- */
.rv-panel {
  border-left: 1.5px solid var(--line-strong);
  padding: clamp(20px, 3.4vh, 40px) var(--gutter) clamp(20px, 3vh, 34px) clamp(24px, 2.4vw, 40px);
  overflow-y: auto;
  min-height: 0;
  scrollbar-width: thin;
}
.rv-panel > * { min-width: 0; }
.rv-kicker { font-size: 12px; letter-spacing: 0.12em; margin: 0 0 12px; }
.rv-kicker .dot { color: var(--ink-soft); padding-inline: 2px; }
.rv-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: var(--rv-title-fs);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 0.98;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.rv-title em { font-style: normal; color: var(--red); }
/* the floor's heart: the products card's own (porcemall.css, .card-fav), out of the corner of a
 * face and beside the floor's name, centered on its first line (owner, 2026-10-08) */
.rv-head { display: flex; align-items: flex-start; gap: 16px; }
.rv-head .rv-title { flex: 1 1 auto; min-width: 0; }
.rv-panel .rv-fav { position: static; flex: none; width: 34px; height: 34px; margin-top: calc(var(--rv-title-fs) * 0.49 - 17px); }
.rv-panel .rv-fav svg { width: 16px; height: 16px; }
.rv .settle { animation: rv-settle 0.45s var(--rv-ease); }
@keyframes rv-settle { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.rv-panel .field { border-top: none; padding: 0; }
.rv-panel .field + .field, .rv-panel .rv-another + .field { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
/* color and size are one choice: no rule between them (owner, 2026-10-08) */
.rv-panel #rv-f-colors + .field { border-top: none; padding-top: 0; }
.rv-panel .field[hidden] { display: none; }
.rv-panel .field-label { font-size: 12px; margin-bottom: 9px; }
.rv-panel .field-label .hint { font-size: 11.5px; }

/* colors of the series: the chip is the face scan */
.rv .swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.rv .swatch { text-align: center; min-width: 0; }
.rv .swatch .chip {
  display: block; height: 40px;
  background-size: cover; background-position: center;
  border: 1.5px solid var(--ink);
  margin-bottom: 6px;
  outline: 2px solid transparent; outline-offset: 0;
  transition: transform 0.45s var(--rv-ease), outline-color 0.4s ease, outline-offset 0.45s var(--rv-ease), box-shadow 0.3s ease;
}
.rv .swatch .swatch-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.3s ease; }
.rv .swatch.active .chip { outline-color: var(--ink); outline-offset: 3px; }
.rv .swatch.active .swatch-label { color: var(--red); }
@media (hover: hover) {
  .rv .swatch:not(.active):hover .chip { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(46, 32, 14, 0.35); }
  .rv .swatch:not(.active):hover .swatch-label { color: var(--red); }
}

/* sizes: each plate the tile's true shape */
.rv .sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; align-items: end; }
.rv .size-opt { display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; min-width: 0; }
.rv .size-opt .plate {
  display: block;
  height: calc(44px * var(--ph, 1));
  width: calc(44px * var(--pw, 1));
  min-width: 6px;
  border: 1.5px solid var(--ink);
  background: var(--paper-deep);
  transition: background 0.15s ease;
}
.rv .size-opt .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em; color: var(--ink-soft); white-space: nowrap; }
.rv .size-opt:not(:disabled):hover .plate { background: var(--paper-lift); }
.rv .size-opt:not(:disabled):hover .lbl { color: var(--red); }
.rv .size-opt.active .plate { background: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.rv .size-opt.active .lbl { color: var(--ink); font-weight: 600; }

/* segmented bars: finish, direction, joint width */
.rv .seg { display: flex; border: 1.5px solid var(--ink); }
.rv .seg button {
  flex: 1;
  min-height: 38px;
  padding: 0 8px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.15s ease, color 0.15s ease;
}
.rv .seg button + button { border-left: 1.5px solid var(--ink); }
/* a joint width the floor's group does not offer (page.js) */
.rv .seg button[hidden] { display: none; }
.rv .seg button[hidden] + button { border-left: 0; }
.rv .seg.mono button { font-family: var(--font-mono); font-weight: 600; letter-spacing: 0.04em; font-size: 12px; }
.rv .seg button:hover { color: var(--red); }
.rv .seg button.active, .rv .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.rv-another { width: 100%; margin-top: 14px; min-height: 48px; font-size: 12.5px; }
.rv-another svg { width: 18px; height: 18px; }

/* the lays, drawn */
/* two to five, by the floor's group: page.js orders them and hides the others */
.rv .lays { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1.5px solid var(--ink); }
.rv .lays button[hidden] { display: none; }
.rv .lays button {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 9px 2px 7px;
  min-width: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.rv .lays button + button { border-left: 1.5px solid var(--ink); }
.rv .lays svg { width: 26px; height: 26px; }
.rv .lays .lbl { font-size: 9.5px; font-weight: 700; font-stretch: 78%; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; max-width: 100%; overflow: hidden; }
.rv .lays button:hover { color: var(--red); }
.rv .lays button.active, .rv .lays button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* grout */
.rv .grouts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin-bottom: 10px; }
.rv .grouts button {
  height: 30px;
  background: var(--sw);
  border: 1.5px solid var(--ink);
  outline: 2px solid transparent; outline-offset: 0;
  transition: outline-color 0.3s ease, outline-offset 0.35s var(--rv-ease), transform 0.35s var(--rv-ease);
}
.rv .grouts button:hover { transform: translateY(-2px); }
.rv .grouts button.active, .rv .grouts button[aria-pressed="true"] { outline-color: var(--ink); outline-offset: 2px; }

/* the tile size check */
.rv-scale { display: grid; grid-template-columns: 38px 1fr 38px; align-items: center; gap: 10px; }
.rv-scale button {
  height: 38px; border: 1.5px solid var(--ink);
  font-family: var(--font-mono); font-size: 18px; line-height: 1;
}
.rv-scale button:hover { background: var(--ink); color: var(--paper); }
.rv-scale input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; margin: 0; }
.rv-scale input[type="range"]::-webkit-slider-runnable-track { height: 1.5px; background: var(--ink); }
.rv-scale input[type="range"]::-moz-range-track { height: 1.5px; background: var(--ink); }
.rv-scale input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7.25px; background: var(--red); border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--red); border-radius: 0; }
.rv-scale input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: var(--red); border: 2px solid var(--paper); box-shadow: 0 0 0 1.5px var(--red); border-radius: 0; }
.rv-note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
#rv-scale-note { padding-left: 12px; border-left: 2px solid var(--red); }

/* the estimate */
.rv .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-block: 1px solid var(--line); container-type: inline-size; }
.rv .facts > div { padding: 9px 4px 9px; text-align: center; }
.rv .facts > div + div { border-left: 1px solid var(--line); }
.rv .facts .v { display: block; font-family: var(--font-mono); font-size: clamp(16px, 6cqi, 22px); font-weight: 600; line-height: 1.35; white-space: nowrap; }
.rv .facts .k { display: block; margin-top: 2px; font-size: clamp(9px, 3cqi, 10.5px); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; color: var(--ink-soft); }
.rv-room {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 12px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}
.rv-room input {
  width: 128px;
  padding: 7px 10px 6px;
  border: 1.5px solid var(--ink);
  border-radius: 0;
  background: var(--paper-lift);
  font-family: var(--font-mono); font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  text-align: right;
  color: var(--ink);
}
.rv-room input::placeholder { color: var(--ink-faint); font-weight: 400; }
.rv-room input:focus { outline: 2px solid var(--red); outline-offset: 1px; }
#rv-est-note { font-size: 12.5px; }
.rv:not([data-phase="view"]) .rv-view-only { display: none !important; }

/* the order code and the product page */
.rv-panel .rv-code-field { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.rv .order-code { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); }
.rv .order-code .code { font-size: 16px; font-weight: 600; letter-spacing: 0.06em; }
.rv .order-code .copy-btn { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 1px; transition: color 0.15s ease, border-color 0.15s ease; }
.rv .order-code .copy-btn:hover { color: var(--red); border-color: var(--red); }
/* the floor's own page: the site's red button (owner, 2026-10-08) */
.rv-panel .rv-product { margin-top: 18px; color: var(--paper); }
.rv-product svg { width: 18px; height: 18px; flex: none; }

/* the column settles in once */
.rv-panel > * { animation: rv-rise 0.7s var(--rv-ease) both; }
.rv-panel > *:nth-child(2) { animation-delay: 0.06s; }
.rv-panel > *:nth-child(3) { animation-delay: 0.12s; }
.rv-panel > *:nth-child(4) { animation-delay: 0.18s; }
.rv-panel > *:nth-child(5) { animation-delay: 0.24s; }
.rv-panel > *:nth-child(n + 6) { animation-delay: 0.3s; }
@keyframes rv-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- how it works ---------- */
.rv-privacy { margin: clamp(22px, 2.4vw, 32px) 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--ink-faint); }

/* ---------- the floor picker ---------- */
html.rv-locked { overflow: hidden; }
.rv-picker {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(820px, 100%);
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  padding: 0;
  border: none;
  border-left: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.rv-picker[open] { display: flex; animation: rv-sheet 0.5s var(--rv-ease); }
.rv-picker::backdrop { background: rgba(20, 17, 16, 0.5); animation: rv-fade 0.35s ease; }
@keyframes rv-sheet { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
:where(.rv-picker) button { font: inherit; color: inherit; background: none; border: none; padding: 0; cursor: pointer; }
.rv-picker :focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.rv-pk-head { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter) 16px; border-bottom: 1.5px solid var(--ink); }
.rv-pk-head h2 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: 1; }
.rv-pk-close { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); }
.rv-pk-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.rv-pk-close:hover { background: var(--ink); color: var(--paper); }
.rv-pk-search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); padding: 0 12px; background: var(--paper-lift); transition: border-color 0.16s ease; }
.rv-pk-search:hover, .rv-pk-search:focus-within { border-color: var(--ink); }
.rv-pk-search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.rv-pk-search input { flex: 1; min-width: 0; border: none; background: transparent; padding: 10px 0 9px; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
/* one box: the border darkens on focus, and neither the box nor the field draws a ring (owner, 2026-10-08) */
.rv-pk-search input:focus, .rv-pk-search input:focus-visible { outline: none; box-shadow: none; }

/* The floor picker is a page of its own over the studio, the header under it too (owner,
 * 2026-10-08): a head with the title, the search and the X, then the All products page's
 * filter bar and cards, in porcemall.css's own classes (.pfil, .pcards, .pcard). Only what
 * a dialog changes is said here: the bar sticks to the top of the picker's scroll, not
 * under the masthead, and the card is a button. */
.rv-pick { inset: 0; width: 100%; border-left: none; }
.rv-pick[open] { animation: rv-fade 0.3s ease; }
.rv-pick-head { flex: none; background: var(--paper); border-bottom: 1.5px solid var(--line-strong); }
.rv-pick-head .wrap { display: flex; align-items: center; gap: 24px; height: 74px; }
.rv-pick-head h2 { margin: 0 auto 0 0; font-size: clamp(22px, 2vw, 30px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.rv-pick-head .rv-pk-search { width: min(380px, 40vw); height: 40px; }
.rv-pick-head .rv-pk-search input { padding-block: 0; }
.rv-pk-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: clip; overscroll-behavior: contain; }
.rv-pk-body > .wrap { padding-bottom: clamp(40px, 5vw, 72px); }
.rv-pick .pfil { --pfil-top: 0px; }
.rv-pick .pcard-link { width: 100%; text-align: left; }
.rv-pick .pcard-link:focus-visible { outline: none; }
.rv-pick .pcard-link:focus-visible .pcard-media { outline: 2px solid var(--red); outline-offset: 3px; }
/* the floor in the room now, ringed as the products page rings the colorway on show */
.rv-pick .pcard.current .pcard-media { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Favorites, the bar's last button (page.js): a menu button's box and capitals, the heart
 * before the word and the count after it in the options' mono; on, the box is inked as a
 * menu with a pick is, and the heart is filled red as a saved card's is (owner, 2026-10-08) */
.rv-pick .pfil-fav-btn svg { width: 13px; height: 13px; flex: none; }
.rv-pick .pfil-fav-btn[aria-pressed="true"] svg { color: var(--red); fill: currentColor; }
.rv-pick .pfil-fav-n { flex: none; font-family: var(--font-mono); font-size: 10px; font-weight: 400; letter-spacing: 0; opacity: 0.55; }
.rv-pick .pfil-none b { color: var(--ink); }

/* ---------- every room: the menu the red tile opens ---------- */
/* a sheet on the right, two rooms to a row, scrolling (owner, 2026-10-08) */
.rv-rooms { width: min(680px, 100%); }
.rv-rm-grid {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 22px 16px;
  padding: 20px var(--gutter) 28px;
}
.rv-rm-own { padding: 16px var(--gutter) 22px; border-top: 1.5px solid var(--ink); }
.rv-rm-own .rv-line { width: 100%; min-height: 48px; font-size: 13px; }

/* ---------- no WebGL ---------- */
.rv.no-gl .rv-upload, .rv.no-gl .rv-camera { opacity: 0.4; pointer-events: none; }

/* ---------- short desks ---------- */
@media (min-width: 901px) and (max-height: 820px) {
  .rv { --rv-title-fs: 28px; }
  .rv-title { margin-bottom: 12px; }
  .rv .swatch .chip { height: 32px; }
  .rv .size-opt .plate { height: calc(36px * var(--ph, 1)); width: calc(36px * var(--pw, 1)); }
  .rv-h1 { font-size: clamp(40px, 5vw, 76px); }
}

/* ---------- tablets and phones: the stage over the column ---------- */
@media (max-width: 900px) {
  .rv { --rv-head: 0px; }
  .rv-grid { grid-template-columns: 1fr; height: auto; min-height: 0; max-height: none; }
  .rv-stage { padding: 14px 12px 14px; min-height: 0; flex: none; }
  .rv[data-phase="view"] .rv-stage, .rv[data-phase="scanning"] .rv-stage, .rv[data-phase="opening"] .rv-stage { min-height: 56vw; }
  .rv-start {
    position: relative; inset: auto;
    width: 100%;
    padding: 28px 22px 24px;
  }
  .rv[data-phase="start"] .rv-stage { padding: 14px 12px; }
  .rv-frame::before { inset: -10px; }
  .rv-bar { position: static; transform: none; margin: 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }

  /* up to five buttons on a phone, sharing the width (Compare and Save wait for a floor, and
   * leave no gap: owner, 2026-10-13): the icon over a short word, so Spanish fits too */
  .rv-bar button { flex-direction: column; justify-content: center; gap: 4px; padding: 0 4px; height: 52px; font-size: 10px; letter-spacing: 0.04em; }
  .rv[data-phase="start"] .rv-bar { display: none; }
  .rv-bar .l-long { display: none; }
  .rv-bar .l-short { display: inline; }
  .rv-stage-col > .screen-note { position: static; padding: 10px 12px 4px; }
  .rv[data-phase="start"] .rv-stage-col > .screen-note { padding: 0 12px 14px; }
  .rv-panel { border-left: none; border-top: 1.5px solid var(--line-strong); margin-top: 14px; padding: 22px 20px 30px; overflow: visible; }
  .rv-panel > * { animation: none; }
  .rv .swatches, .rv .sizes { grid-template-columns: repeat(4, 1fr); }
  .rv-picker { width: 100%; border-left: none; }
  /* a phone: the title and the X on one line, the search full width under them, and the
   * products page's phone bar, FILTER and the count over its drawer; no view switch here,
   * so the bar ends on the count */
  .rv-pick-head .wrap { flex-wrap: wrap; height: auto; gap: 10px 16px; padding-block: 12px; }
  .rv-pick-head .rv-pk-search { order: 3; width: 100%; }
  .rv-pick .pfil-foot { grid-template-columns: auto var(--pfil-g) 1px minmax(0, 1fr); }
  .rv-pick .pfil-foot::after { content: none; }
  .rv-rm-grid { gap: 18px 12px; }
  .rv .seg button, .rv .lays button, .rv-scale button { min-height: 44px; }
  .rv-tag { top: 10px; }
  .rv-tag.before { right: 10px; }
  .rv-tag.after { left: 10px; }
}
@media (max-width: 560px) {
  .rv-h1 { font-size: clamp(40px, 13vw, 58px); }
  /* the two photo buttons side by side (owner, 2026-10-13) */
  .rv-cta { flex-wrap: nowrap; gap: 10px; }
  .rv-cta .btn, .rv-cta .rv-line { flex: 1 1 0; min-width: 0; width: auto; }
  .rv-own .rv-line { padding: 8px 14px; gap: 10px; font-size: 12px; letter-spacing: 0.1em; line-height: 1.25; text-align: left; }
  .rv-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rv .lays .lbl { font-size: 8.5px; }
  .rv-scan-card { left: 10px; bottom: 10px; width: calc(100% - 20px); padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv *, .rv *::before, .rv *::after, .rv-picker, .rv-picker * { animation: none !important; transition: none !important; }
}

/* ---------- no floor yet: the room as photographed and the call to choose one (owner, 2026-10-07) ---------- */
.rv-nofloor { display: none; }
.rv.no-floor .rv-nofloor { display: block; }
.rv.no-floor .rv-panel > :not(.rv-nofloor) { display: none !important; }
.rv-nofloor-p { margin: 12px 0 22px; color: var(--ink-soft); line-height: 1.45; }
.rv-nofloor-btn { margin: 0; width: 100%; display: inline-flex; justify-content: space-between; gap: 18px; }
.rv-nofloor-btn svg { width: 20px; height: 20px; flex: none; }
.rv.no-floor .rv-gl { visibility: hidden; }
/* the whole photo, never the before and after split's half (owner, 2026-10-08) */
.rv.no-floor .rv-before, .rv.no-floor .rv-before[hidden] { display: block; clip-path: none !important; }
.rv.no-floor .rv-bar #rv-compare, .rv.no-floor .rv-bar #rv-download { display: none; }
.rv-own .rv-privacy { margin-top: 12px; }
/* the strip under the board ends at the footer, so the screen note sits centered in it (owner, 2026-10-08) */
.rv-page .site-foot { margin-top: 0; }

/* the gallery holds seven rooms and All rooms: rows of three show five of them, and a wide
 * screen takes rows of four and all seven, so the board fills its width (owner, 2026-10-08) */
.rv-samples > .rv-sample:nth-child(n + 6):not(.rv-all) { display: none; }
@media (min-width: 1400px) and (min-height: 820px) {
  .rv[data-phase="start"] .rv-samples { grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: max(640px, min(100%, calc((100svh - 575px) * 3 + 54px))); }
  .rv-samples > .rv-sample:nth-child(n + 6):not(.rv-all) { display: flex; }
}
.rv-pk-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
