/* ═══════════════════════════════════════════════════════════════
   דלתות מגן — configurator
   Mobile first: nearly every visitor arrives on a phone, from a
   WhatsApp link or the button on the main site (PLAN.md §7).
   Logical properties throughout, so Hebrew RTL and English LTR
   share one stylesheet.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --paper:      #EFEDE8;
  --paper-up:   #F5F3EF;
  /* The wall matches the stage exactly, so the drawing has no visible edge —
     otherwise the SVG reads as a floating rectangle pasted onto the page. */
  --wall:       #F5F3EF;
  --floor:      #E6E2DA;
  /* ⚠ WARM NEAR-BLACK, NOT BLACK, AND NOW A HAIR WARMER STILL. `#171715` →
     `#1C1A17` (DESIGN-LEVEL §2): every reference in that document avoids pure
     black for body ink because a warm near-black sits in a warm-paper page
     without punching a hole in it. Measured on `--paper` (#EFEDE8) with the
     repo's own `contrast()`: **14.84:1**, against 15.34 before — still three
     times the AA floor, and nothing on this page depends on the difference. */
  --ink:        #1C1A17;
  --ink-2:      #6B6862;
  /* ⚠ A THIRD TIER, AND IT IS NOT FOR TEXT. Measured: `#9A968E` is **2.52:1**
     on `--paper` and 2.95 on white — nowhere near readable, and not meant to
     be. It exists for the things that are neither ink nor rule: a hover border
     a shade darker than `--rule`, the stroke of an icon that is deliberately
     receding. Anything that has to be READ takes `--ink-2` (4.75:1 on paper,
     5.01 on `--paper-up`, 5.55 on white) or darker.
     It is named so the next person reaching for "a lighter grey" finds one
     that has already been measured, instead of reaching for an `opacity` —
     which is a measured contrast multiplied by an unmeasured one, and is the
     mistake the section counter made and had corrected. */
  --ink-3:      #9A968E;
  --rule:       #D6D3CB;
  /* ⚠ THE COLOUR AN ELEMENT IS ACTUALLY SITTING ON, which is not always the
     page's. The swatch ring below used to name `--paper` directly, and the
     moment the choices panel became a white card every one of the seventeen
     colour chips grew a beige halo — the ring's "gap" was painted in the
     page's background over a white surface. Anything that has to match what is
     BEHIND it reads this instead, and a container that changes its background
     re-declares it.
     (`--rule` was reported as the other casualty and it is not: #D6D3CB is
     1.50:1 on white against 1.28:1 on paper, so dividers get MORE visible on
     a card, not less. Measured before changing anything.) */
  --surface:    #EFEDE8;
  --accent:     #B08D57;
  /* ⚠ AND A DARKER STEP FOR ANYTHING THAT IS READ OR THAT DRAWS A STATE.
     `--accent` is the mockup's tan and it is right for a hairline underline on
     a number nobody has to decode. It is not right for text, and it is not
     right for the border that says WHICH TILE IS SELECTED. Measured with
     `contrast()` from `js/colour.js`, against the three grounds this page
     actually uses:

                     on #fff   on #EFEDE8 (paper)  on #F5F3EF (paper-up)
       #B08D57         3.09          2.64                  2.79
       #8A6A3B         4.99          4.27                  4.51
       #7E6134         5.76          4.92                  5.20

     REALISM2.md §A2 proposes `#8A6A3B` on the strength of the white column
     alone — and the card is only white ABOVE 1100 px. Below it the panel sits
     on `--paper`, where that colour measures 4.27:1 and misses. Nearly every
     visitor arrives on a phone, so the colour is chosen on the ground the
     phone actually paints: `#7E6134` clears 4.5:1 on all three.

     The selection border takes it too. WCAG 1.4.11 asks 3:1 of a visual
     boundary that conveys STATE, and `--accent` on paper is 2.64 — so a
     selected tile on a phone would be the one control on the page whose
     "chosen" ring nobody with poor sight can find. The tan stays where it is
     decoration; this is where it means something. */
  --accent-ink: #7E6134;
  --wa:         #1EA95A;
  --warn:       #A4442E;
  /* ⚠ THE "YES" THAT TAKES SOMETHING AWAY — 27.9.2026, the owner's son: *"a
     red button that says yes and a black that says no."* A red of its own
     rather than `--warn` (which is the colour of a sentence, not of a button):
     white text on it measures 6.57:1, asserted in `npm test` the way
     `--accent-ink` is. */
  --danger:     #B42318;

  --sp: 4px;

  /* ── RADIUS IS A SCALE, NOT A NUMBER ────────────────────────────────
     `--radius: 2px` everywhere is the single clearest reason the shipped page
     read as a wireframe beside the mockup (REALISM2.md §A1). One token could
     not be right for a 340 px card and a 14 px swatch chip at the same time,
     so it was right for neither.
     ⚠ A radius is an ABSOLUTE length, so the steps are not one number scaled.
     `--r-chip` is 4px and not a proportional 10px, because 10px on a 14px
     square is a circle — and a round chip beside seventeen round swatches
     would say "colour you can pick" about a thing that is only a label. */
  --r-card: 18px;   /* the choices card, the send card, the toast */
  --r-tile: 12px;   /* option tiles */
  --r-chip: 4px;    /* the 14px swatch beside a spec row */
  --r-pill: 999px;  /* every button — see the note on `.btn` */

  /* ⚠ THE CHOICES COLUMN'S CAP, AND IT IS A TOKEN BECAUSE A SECOND READER
     ARRIVED. It was written out twice as a bare `420px` in two
     `grid-template-columns`, which was two copies of one number and survived
     only because nothing else needed it. The toast now does — it must stay
     out of that column, and a hand-written 420 beside it would be a third
     copy of a figure whose whole history is being re-measured (380 → 420,
     31.8, against every wall control's hit test). One statement, three
     readers. It is a CAP: `minmax` still collapses the track toward 300 px
     when the width is not there. */
  --panel-max: 420px;

  /* One shadow for anything that floats, rather than three hand-written ones
     that agree until somebody edits a single card. ⚠ The DOCK is deliberately
     not on it: it is pinned to the BOTTOM of the screen, so its shadow has to
     be cast upward, and a shadow pointing the other way is a different
     quantity rather than a second copy of this one. */
  --shadow-card: 0 10px 32px rgb(23 23 21 / .07), 0 2px 8px rgb(23 23 21 / .05);

  /* ⚠ `--grip-strip` IS GONE — 18.9.2026, and it cost the drawing NOTHING,
     which was measured rather than assumed. It began as 148 px of wall
     reserved out of the stage above 1100 px so that choosing a pull handle
     could not shrink the door; the PADDING that did the reserving came out on
     27.8.2026 (see the desktop block below, and the report that asked for the
     background to run to the edge), and from then on the token's only reader
     was `.grip-bar`'s own width. So removing it with the bar moves neither the
     stage nor the leaf: measured at 1100, 1280, 1440 and 1920, with a handle
     and without, both boxes are identical to the digit.
     The RULE it was written for is not gone and is restated where
     `.stage__hud` and `.quote` are laid out: anything in FLOW beside a
     flexible stage takes its height out of the drawing, which is exactly why
     those two are absolute. */

  /* ⚠ THE TOUCH FLOOR, AS A TOKEN, BECAUSE IT IS NOW A QUANTITY IN TWO PLACES.
     44 px is written into a dozen rules in this file and that was fine while
     each was independent — a button is 44 because a thumb is. It stopped being
     fine when the navigator's ROW had to be tall enough to hold its own
     circle: two numbers that must agree or the circle is squashed, which is
     exactly the shape CLAUDE.md §5 is about. The circle and the row that holds
     it read the same token; the standalone buttons keep their literal 44,
     because they are answering the thumb, not each other. */
  --tap: 44px;

  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  /* ⚠ RUBIK FIRST, THEN A FALLBACK TUNED TO RUBIK, THEN THE OLD STACK UNCHANGED
     BEHIND BOTH (28.9, the owner's son: *"change the font … apply the fonts to
     the whole text, Hebrew first"*). Rubik is local (`assets/fonts/`, declared
     in index.html's head) and is the face Peretz's own site sets every word in.
     The middle entry is the whole trick; it is declared immediately after this
     block, one rule per script, with the measurements behind it. */
  --sans: "Rubik", "Rubik Fallback",
          "Segoe UI", "Arial Hebrew", Arial, system-ui, sans-serif;
  /* ⚠ THE DISPLAY FACE — the price, the `<h1>` and the band's title (28.9). It
     was `--serif`, Georgia's stack, on the price alone, after *"pick a creative
     font for the price, something that reads rich"*; that instruction still
     governs the choice, and a high-contrast serif is still the answer to it.
     Bona Nova is that serif with Hebrew, Latin and Cyrillic — of the four
     display faces drawn on `research/fonts/contact.png` the only one that sets
     the Russian page in the same face as the Hebrew. The old stack stays behind
     it for the folder without `assets/fonts/`. Renamed rather than kept, because
     a token called `--serif` that three rules share is a statement about ONE
     role, and what those three share is the role, not the shape. */
  --display: "Bona Nova", Georgia, "Charter", "Iowan Old Style", "Times New Roman",
             "Noto Serif Hebrew", "Frank Ruehl CLM", serif;

  --ease: cubic-bezier(.33, 1, .68, 1);
}

/* ══════════════════════════════════════════════════════════════════════
   THE FALLBACK IS TUNED TO THE WEBFONT, NOT THE WEBFONT TO THE FALLBACK —
   AND SINCE 28.9 IT IS TUNED PER SCRIPT
   ══════════════════════════════════════════════════════════════════════

   `font-display: swap` paints the fallback first and swaps — and two faces with
   different metrics REFLOW on the swap unless something is done. Tuning the
   webfont to the fallback cannot be done: the fallback is Segoe UI on Windows,
   Arial Hebrew on a Mac, something else on Android. So a second family wraps a
   local Arial and stretches it onto Rubik's metrics, and the stack puts it
   directly behind Rubik: the page lays out at Rubik's metrics from the first
   frame whether or not Rubik ever arrives.

   ⚠ ONE RULE PER SCRIPT, BECAUSE ONE NUMBER COULD NOT DO IT. Rubik's Hebrew is
   NARROWER than Arial's and its Latin and Cyrillic are WIDER, so the single
   Hebrew-tuned `size-adjust` 28.8 used for Assistant (which had no Cyrillic,
   so the Russian page never swapped at all) set English and Russian 8% narrow:
   measured, 5 and 8 lines lost across the nine explainers. `size-adjust` can
   differ per `unicode-range`, so each script has its own, over exactly the
   range its Rubik file covers. Hebrew prose carries Latin-range spaces, digits
   and marks, so the Latin value was fixed first (English prose is Latin
   throughout) and the other two solved GIVEN it.

   ⚠ EVERY NUMBER HERE WAS MEASURED (`tools/_font/measure.mjs`, 28.9) against
   the real woff2 files, on the page's own nine explainer answers in each
   language. Arial is not installed where it was measured, so Arimo — Croscore's
   metric-compatible Arial, whose vertical metrics are Arial's exactly (1854 /
   434 / 67 of 2048) — stood in for it. Rubik is 935 / 250 / 0 of 1000; each
   override is Rubik's metric divided by that script's size-adjust, so the
   line box is Rubik's whichever script is on the line.

                       size-adjust  ascent   descent   line gap
     Hebrew               93.23%    100.29%   26.82%     0%
     Latin               103.55%     90.29%   24.14%     0%
     Cyrillic            103.78%     90.10%   24.09%     0%

   Verified, nine paragraphs each, wrapped at 360 px:

                          run width   line box   paragraphs whose wrap moved
     he  this face       −11.6 px      0 px       0 of 9  (61 lines)
         raw Arial      +1012.3 px    −1 px       3 lines lost
     en  this face       −34.2 px      0 px       1 of 9  (80 lines)
         raw Arial       −902.5 px    −1 px       3 lines
     ru  this face      +117.8 px      0 px       0 of 9  (86 lines)
         raw Arial       −848.1 px    −1 px       3 lines

   ⚠ ONE ENGLISH PARAGRAPH MOVES AT EVERY VALUE FROM 102.0% TO 105.0%. It is a
   paragraph on a knife edge — a letter-width distribution no uniform scale
   separates — and English is the language this page never chooses for anyone
   (§0c). Recorded, not chased.

   ⚠ AND IT IS APPROXIMATE ON ANDROID, which is worth writing down rather than
   discovering. `local("Arial")` resolves to a real Arial on Windows, macOS and
   iOS; on Android it commonly resolves to Roboto, whose metrics are close to
   Arial's but not identical. If `local()` matches nothing at all the face is
   simply skipped and the old stack applies unadjusted. */
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  size-adjust: 103.78%; ascent-override: 90.10%; descent-override: 24.09%; line-gap-override: 0%;
}
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
  size-adjust: 93.23%; ascent-override: 100.29%; descent-override: 26.82%; line-gap-override: 0%;
}
@font-face {
  font-family: "Rubik Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  size-adjust: 103.55%; ascent-override: 90.29%; descent-override: 24.14%; line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }

/* ══════════════════════════════════════════════════════════════════════
   ONE ICON FAMILY
   ══════════════════════════════════════════════════════════════════════

   ⚠ THERE WERE FIVE STROKE WEIGHTS AND FOUR SIZES. Measured: `.spec__ico` 1.4
   at 17 px, `.steps__g` 1.5 at 21, `.trust__ico` 1.6 at 16, `.btn__ico` 1.8 at
   16, `.iconbtn .btn__ico` 1.9 at 19, `.saved__ico` 1.9 at 14. Every one was a
   reasonable choice on its own and no two of them belong to the same family,
   which is what "the icons don't match" actually means when you go and look.

   ⚠ AND A CONSTANT `stroke-width` DOES NOT GIVE A CONSTANT STROKE. Every glyph
   is drawn on a 24-unit grid and rendered at 14–22 px, so a width of 1.5 comes
   out at 1.5 × size/24 — 0.9 px on the bookmark and 1.4 px on a rail circle.
   Matching the NUMBERS would still not have matched the WEIGHTS.
   `vector-effect: non-scaling-stroke` is the one declaration that fixes it:
   the stroke is laid down in device units after the transform, so 1.5 is 1.5
   px at every size. One weight, everywhere, by construction.

   ⚠ It goes on the drawn elements, not on the `<svg>` — `vector-effect` is not
   an inherited property — hence the descendant selector. */
.steps__g, .spec__ico, .trust__ico, .btn__ico, .saved__ico {
  fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
  flex: 0 0 auto;
}
.steps__g *, .spec__ico *, .trust__ico *, .btn__ico *,
.saved__ico * { vector-effect: non-scaling-stroke; }

/* THE `hidden` ATTRIBUTE HAS TO WIN.
   It is only `display: none` in the browser's own stylesheet, so ANY author
   rule that sets `display` on the same element beats it — and the page leans
   on `hidden` for two things it genuinely must not show: the dock when the
   send card is already on screen, and the grip bar's "back to original"
   button on a door nobody has dragged.
   It was defeated exactly that way. `.grip-bar__btn` was given
   `display: inline-flex` to centre its label after the button grew to 44 px,
   and from then on `#grip-home` sat there on every fresh load — 104x44,
   visible, and clickable — offering to undo a move that had not happened.
   Nothing caught it: `el.hidden` still read `true`, which is the property and
   not the picture. So the attribute is made to mean what the markup assumes,
   once, here, rather than being re-defended by every rule that sets display. */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  /* Column flex rather than a hard-coded header height: the notice strips
     appear and disappear, so any magic number is wrong half the time. */
  display: flex;
  flex-direction: column;
  min-block-size: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;   /* every numeral, always */
}

.sr-only {
  position: absolute; inline-size: 1px; block-size: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (min-width: 1100px) {
  /* One screen, no page scroll: each column handles its own overflow. */
  body { block-size: 100dvh; overflow: hidden; }
}


/* ⚠ THE UNDERLINE IS ON THE NUMBER, NOT ON THE LINK BOX — and it moved here
   the day the handset icon arrived. `text-decoration` set on an element is
   painted across every inline descendant of it, so with the rule on
   `.bar__phone` the tan line was struck straight through the middle of the
   icon. It has always needed to be on the text rather than the box for the
   original reason too: the box grows to a 44 px thumb — it was a 104x24 target
   on one of the two actions the whole site exists to produce — and an
   underline on a 44 px box floats well below the digits it belongs to. */
.saved__ico { flex: 0 0 auto; }

/* ── nav, saved, trust ────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════
   ⚠ THE INTERFACE MIRRORS. THE DOOR DOES NOT. — PLAN.md §6.1
   ═══════════════════════════════════════════════════════════════════
   Hebrew sets `dir="rtl"` on `<html>` and every logical property in this
   file flips with it, which is the entire point of using them. A DRAWING
   must not flip. A right-hinged door is a physical fact about an object
   somebody will hang in a wall: if the picture mirrors with the stylesheet,
   the site shows one hinge side and Peretz builds the other, and the
   customer finds out when it arrives. `ASK-PERETZ.md` §1 records that this
   project already shipped the mirror of this bug once — the handing
   convention was backwards for months — and that every instrument called
   it green while it was wrong, because a mirrored door is a perfectly
   plausible door.

   Every `<svg>` on this page is a drawing in real millimetres: the stage,
   the sixty option thumbnails, the gallery, the A4 sheet, the picture that
   goes into WhatsApp. None of them contains a `<text>` element — checked,
   and the reason this can be one blanket rule rather than five selectors
   that somebody will add a sixth beside and forget.

   `npm run audit` asserts the cylinder comes out on the same side of the
   leaf in Hebrew, English and Russian. Do not delete that check. */
svg { direction: ltr; }


/* ── the step's disclosure — TRANSFORM.md §10.4 ──────────────────────
   Closed by default and quiet enough to ignore. ⚠ The 44 px touch floor
   applies to a `<summary>` like anything else: it is the control that opens
   it, and the audit measures every interactive element in the flow. The
   marker is drawn rather than left to the browser's triangle, which is a
   different glyph and a different size in every engine. */
/* `.sum-hand` — the handing asked back on the summary — was here until
   27.9.2026, when the owner's son asked for it to go (*"remove the thing that
   says to change the direction of the door"*). See the note in `buildPanel`;
   the order still carries `handingWords()`. */

.sect__exp { margin-block-start: 14px; border-block-start: 1px solid var(--rule); }
.sect__q {
  display: flex; align-items: center; gap: 8px;
  min-block-size: 44px; padding-block: 10px;
  font: 500 .86rem var(--sans); color: var(--ink-2);
  cursor: pointer; list-style: none;
}
.sect__q::-webkit-details-marker { display: none; }
.sect__q::before {
  content: ""; inline-size: 18px; block-size: 18px; flex: none;
  border: 1px solid currentColor; border-radius: 50%;
  background: no-repeat center / 3px 9px
    linear-gradient(currentColor, currentColor);
}
.sect__q::after {
  content: "⌄"; margin-inline-start: auto; transition: transform .2s var(--ease);
}
.sect__exp[open] .sect__q::after { transform: rotate(180deg); }
.sect__exp[open] .sect__q { color: var(--ink); }
.sect__a {
  margin: 0 0 12px; padding-inline-start: 26px;
  font-size: .84rem; line-height: 1.62; color: var(--ink-2);
}

/* ── the language picker ─────────────────────────────────────────────
   Three buttons rather than a menu, each written in its own script, so a
   customer who cannot read the rest of the page can still see the way out
   without opening anything. It sits in the header beside the nav — and
   unlike the nav it SURVIVES THE PHONE BREAKPOINT, because `.nav`'s three
   words are all reachable elsewhere (the works link is at the foot of the
   send card, the telephone is in the header) and a language is not. */
/* ⚠ `min-inline-size: 0` AND `overflow-x: auto` ARE THE GUARANTEE; the font
   size below is only the reason it never has to use them. A flex item's
   default `min-width: auto` refuses to shrink below its content, so a control
   holding words PUSHES the header wider and takes the whole page sideways
   with it — which is what happened, and which is also exactly how the
   navigator circles did it one screen further down. These two lines mean this
   control can never do that again, whatever a fourth language is called. */
/* ── the wall's round buttons ───────────────────────────────────────
   ⚠ 52 px, UP FROM 44 — 27.9.2026, the owner's son: *"make the undo buttons
   bigger and put a save button near them."* 44 is the floor this page keeps
   everywhere, not a size. Undo and redo were this class until 28.9, when they
   became labelled pills at the stage's foot (`.undo-pill`, below the arrows);
   the save is what is left of the round trio. */
.hud__slot--end { gap: 6px; }
.iconbtn {
  appearance: none; background: none; cursor: pointer;
  inline-size: 52px; block-size: 52px; padding: 0;
  display: inline-grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 50%;
  color: var(--ink-2);
}
.iconbtn:hover:not(:disabled) { color: var(--ink); border-color: var(--ink-3); }
/* ⚠ A DISABLED CONTROL SHOULD RECEDE, NOT LOOM. `opacity: .32` on a 44 px
   bordered disc leaves a 44 px bordered disc, and there are two of them side
   by side in the top corner of the wall — both disabled on arrival, because
   there is nothing yet to undo. On every first load they were the loudest
   thing in that corner and they meant nothing.
   The ring goes and the glyph stays. The target is still 44 px, which is what
   the audit measures and what a thumb needs; the control is still on the page
   at all times, which is what the owner's son asked for; it simply stops
   advertising itself before it can do anything. */
.iconbtn:disabled {
  cursor: default;
  border-color: transparent; background: none;
  color: var(--ink-3);
}
.iconbtn .btn__ico { inline-size: 22px; block-size: 22px; }
/* The save in the wall, in the undo pills' bronze (29.9 — see `.undo-pill`):
   a filled disc, white glyph. It is never disabled. */
.stage__hud .iconbtn {
  background: var(--accent-ink); border-color: var(--accent-ink); color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / .18), 0 0 0 3px rgb(255 255 255 / .55);
}
.stage__hud .iconbtn:hover:not(:disabled) { background: #6A5129; border-color: #6A5129; color: #fff; }
.stage__hud .iconbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.stage__hud .iconbtn .btn__ico { stroke-width: 2.1; }
/* ⚠ 44 px ON A PHONE SINCE 2.10.2026 (ours): the picker's row height, so the
   top of the wall is one line and the band beside it has the room. 44 is the
   tap floor (T14). */
@media (max-width: 1099px) {
  .stage__hud .iconbtn { inline-size: 44px; block-size: 44px; }
  .stage__hud .iconbtn .btn__ico { inline-size: 20px; block-size: 20px; }
}

.langs { display: flex; gap: 2px; align-items: center; min-inline-size: 0; overflow-x: auto; }
.lang {
  appearance: none; background: none; border: 0;
  /* ⚠ 44 BOTH WAYS. It had the height and not the width: measured on the
     English page, where `עברית` is the shortest label of the three, the button
     came out **41 x 44**. Three pixels under a floor this stylesheet keeps
     everywhere else, on the control a customer who cannot read the page needs
     to find — and invisible to the audit, whose own tap-target check is a
     single 44 that both dimensions have to clear only where it looks. */
  min-block-size: 44px; min-inline-size: 44px; padding-inline: 5px;
  /* ⚠ `--ink-2`, AND IT USED TO SAY `var(--ink-3, var(--ink-2))`. `--ink-3` did
     not exist when that was written, so the fallback was doing the whole job
     and the language buttons rendered at 4.75:1. Defining the token — three
     hundred lines away, in a commit about type — would have quietly dropped
     them to **2.52:1**, which is unreadable, on the one control a customer who
     cannot read the rest of the page needs to find.
     Nothing would have failed. It is the reason a `var(--x, fallback)` is a
     LIE about which value is in force: it reads as "prefer x" and behaves as
     "whatever x becomes, one day, in another file". Named outright now.
     Found by grepping every `--ink-3` the moment the token was added, which is
     the habit rather than the luck. */
  /* ⚠ 400 AT .75rem WITH 5 px EACH SIDE, SINCE 28.9 — it was 500 at .8rem with
     8 px. The page's face became Rubik that day, and Rubik's Latin and Cyrillic
     are wider than what these labels had been painted in: the old fallback was
     tuned to Assistant's HEBREW and drew Latin at 89%. The picker went 109.7 →
     128.3 px at 320 and `Русский` landed on the standard door (55 px²) and on
     `extra1` at 320–390 — both gated clear at every width — and the widest
     double's named reading at 1152 went 43 → 394 px². Weight first (Rubik is
     variable, so 400 is the same face lighter), then the padding, then the
     size, measured with the audit's own ink test until every gate cleared: the
     1152 readings are 17 and 18 px². The 44 px floor is the `min-` above and is
     unaffected. */
  font: 400 .75rem var(--sans); color: var(--ink-2);
  cursor: pointer; border-radius: var(--r-pill);
  border-block-end: 2px solid transparent;
}
.lang:hover { color: var(--ink); }
/* 500, not 600: the current language is marked by its ink and its underline,
   and at 600 it was the widest of the three (28.9). */
.lang.is-on { color: var(--ink); font-weight: 500; border-block-end-color: var(--ink); }
/* ⚠ ON THE SMALLEST PHONE THE CURRENT LANGUAGE'S OWN BUTTON GOES, and that
   is the one thing on this control that can be spared. The button you are
   least likely to press is the one for the language you are already reading —
   the page in front of you is the label. What stays is the way OUT, which is
   what this control is for, and both remaining buttons keep their full name in
   their own script rather than shrinking to initials nobody who is lost can
   decode. All of them stay 44 px tall and tappable.

   ⚠ AND THE REASON WRITTEN HERE HAD OUTLIVED THE THING IT MEASURED — corrected
   14.9.2026, and the rule survives on a NEW measurement rather than on the old
   one. It used to read: *"three buttons are 150 px; measured at 320x640 the
   header came to 359 and the whole page scrolled sideways by 39 px on every
   one of 81 designs… everything else in the header is load-bearing at that
   width: the brand, the telephone, the saved count."* There is no header. It
   was deleted on 27.8.2026 and these buttons now stand in the WALL beside the
   door (`.stage__hud`); the brand is desktop-only and `aria-hidden`, the
   telephone is in the trust band at the foot, and the saved count is in the
   send card. Re-measured with the button restored: the page scrolls sideways
   by **0 px** at 320, 360, 375, 390, 430, 834 and 844 in all three languages.
   The stated fault is gone.

   What it costs today is the WALL. Restored, the picker is 154 px against
   100–110, and it lands on the door: **2,697 px² at 375×667 up to 4,032 at
   360×740**, in every language, on the widest דו כנפי — against the 253 px²
   that got this control's own ground taken away on 28.8 (§0b). So the rule
   stands, its reason is the wall rather than a row that no longer exists, and
   `npm run audit`'s wall-ink sweep is what watches it now — the sideways-scroll
   check the old note cited cannot see this at all. */
/* ⚠ THE BREAKPOINT IS THE NAV'S, NOT AN ARBITRARY 400. It was `max-width:
   400px`, which is one phone wide: reported from a 412 px Android as *"on the
   top you can see that i need to scroll to view the full name of the
   language"* — three buttons plus the brand plus the telephone overflowed, the
   row scrolled, and `Русский` was cut in half.
   Tied to 1099 now, the width at which `.nav`'s three words are already
   hidden, so the rule reads as one statement: on a phone the header carries
   the brand, the way OUT of the language you are in, and the telephone. */
@media (max-width: 1099px) {
  .lang { padding-inline: 4px; font-size: .74rem; }   /* 6 px and .78rem until 28.9 — see `.lang` */
  .lang.is-on { display: none; }
  /* ⚠ AND IT IS THE ITEM THAT DOES NOT GIVE. Measured at 390 px with the
     current-language button already dropped, the header's four children came
     to exactly the viewport and flexbox took the shortfall out of the widest
     shrinkable one — `.langs`, 113 px of content in 99 px of box, so `Русский`
     was still cut in half and still scrolled. Which is what was reported; the
     earlier fix stopped the PAGE scrolling sideways and left the control
     scrolling inside itself, one layer down.
     The brand gives instead. It is the one thing up here that loses nothing by
     being 14 px narrower — `דלתות מגן` is also the tab title, the footer and
     the sheet's letterhead — where a language button that cannot be read is a
     customer who cannot get out of a language they do not speak. */
  .langs { flex: 0 0 auto; overflow-x: visible; }
  /* ⚠ AND NOTHING ELSE UP HERE MAY WRAP OR ELLIPSIS EITHER. Making `.langs`
     rigid moved the shortfall onto its neighbours, and both broke in ways that
     looked worse than the problem: the brand ellipsised to `דלתות...` and the
     telephone wrapped to `053-219-` over `7466`. A truncated business name and
     a number split across two lines are not a saving.
     So the SUBTITLE goes instead. `בונים דלת` is the page's own `<h1>` twelve
     pixels below and the browser tab's title above; it is the only thing in
     this header that is said three times. Dropping it on a phone frees the
     row without shortening one word anybody needs. */
  .brand__sub { display: none; }
  .brand__name, .bar__phone { white-space: nowrap; }
  /* ⚠ AND THE TELEPHONE KEEPS ITS HANDSET AND LOSES ITS DIGITS. Even without
     the subtitle the header ran 32 px over 390: brand 124 + languages 113 +
     telephone 137 does not fit, and one of the three had to give a whole word
     rather than a few pixels.
     The number is the one that is said elsewhere — twice, in the send card
     (`אפשר גם להתקשר`) and in the strip that appears when the page cannot
     load, which is the moment it matters most. The business NAME is said
     nowhere else up here, and a language button nobody can read is the fault
     being fixed. So the digits go and the tap target does not: the handset is
     still a 44 px `tel:` link, still labelled, and the `data-phone-text` span
     `app.js` writes into is still in the DOM and still written. */
  .bar__phone { flex: 0 0 auto; min-inline-size: 44px; justify-content: center; }
  .bar__phone [data-phone-text] {
    position: absolute; inline-size: 1px; block-size: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .saved__ico { inline-size: 19px; block-size: 19px; }
}

/* ⚠ 320 px IS A REAL PHONE AND THE HEADER DOES NOT FIT IT ON THE DEFAULTS.
   `npm run audit` measured 9 px of sideways scroll on every one of 73 designs
   at `phone-s`: the brand, two language buttons and the handset come to 281 px
   and the row's own `gap: 16` and `padding-inline: 16` take the rest.
   Nothing is dropped here — the gap gives way instead, which is the one part
   of the row that is spacing rather than content. */
@media (max-width: 400px) {
  .bar { gap: 8px; padding-inline: 12px; }
}
/* A phone has no room for three more words above the door, and every one of
   them is reachable another way — the works link is at the foot of the send
   card and the telephone is right here in the header. */
@media (max-width: 1099px) { .nav { display: none; } }

.saved__btn {
  appearance: none; background: var(--ink); color: #fff;
  border: 0; border-radius: var(--r-pill);
  min-block-size: 44px; padding-inline: 14px;
  font: 600 .82rem var(--sans); cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.saved__n {
  background: rgb(255 255 255 / .22); border-radius: var(--r-pill);
  padding: 1px 7px; font-variant-numeric: tabular-nums;
}

/* ⚠ `min-inline-size: 0` FOUR TIMES DOWN ONE CHAIN, AND THE PILL AT THE FOOT
   OF IT HAS CARRIED THE RULE — WITH ITS REASON WRITTEN OUT — SINCE THE DRAWER
   SHIPPED. It was stated at the innermost box and applied nowhere above, so
   every box between the pill and the summary card sized itself to a whole
   `summaryLine`: 631 px in Hebrew, 749 in English, 968 in Russian, against a
   256 px card on a 320 px phone.
   Measured on the live page with three saved designs, before:
     · below 1100 the DOCUMENT went 768 / 886 / 1105 px wide against the
       viewport, so the whole page — door, navigator, quote bar — could be
       dragged sideways by 448 / 566 / 785 px, and in Hebrew the drawer sat at
       x = -448, off the leading edge, with all three × buttons entirely off
       screen;
     · at 1440 the card stayed 310 px and `.send__alt` became 717, and it took
       `#spec` AND the price caveat with it — 272 -> 717 px, 445 px of the
       summary's own contents laid across the door.
   The four boxes are `.send__alt` (a grid item of the card), `.saved` (a flex
   item of that), `.saved__row` (a grid item of the list) and the pill. The
   list's track is `minmax(0, 1fr)` for the same reason CLAUDE.md §8 already
   gives about the stage: an implicit `auto` track is floored at its content's
   min-content width, so the floor has to be removed where the track is
   declared, not only on the thing inside it.
   After: no sideways scroll at 320, 360, 390, 834, 844, 1280 or 1440 in any
   of the three languages, card and `#spec` byte-identical open and shut, and
   every × on screen and hit-testable. */
.saved {
  margin: 0; padding: 10px 16px;
  inline-size: 100%; min-inline-size: 0;
  background: var(--paper-up); border-block-end: 1px solid var(--rule);
  /* Six saved designs measured 639 px of an 844 px phone screen, pushing the
     door and every control off it. The drawer is a drawer, not a page. */
  max-block-size: 40vh; overflow-y: auto;
}
.saved__none { margin: 0; font-size: .82rem; color: var(--ink-2); }
/* ⚠ THE ROWS ARE THE DOORS SINCE 29.9.2026 — the owner's son: *"show how they
   look and their price, that's it."* Each is a tile: the door drawn whole in a
   132 px box (the gallery's `.work__art`, fitted by height), the price under
   it, the × small in the picture's corner. They were pills in one column — a
   one-line summary and a price — because a price was the only part of a line
   a 320 px phone had room for (13.9: three doors of one colour read as one
   row in five of six cases). A picture tells them apart whatever they share.
   The grid is the gallery's: `minmax(132px, 1fr)`, two across on a phone and
   never one column (the dialog is widened for it under 360, below), and the
   track `minmax` rather than `auto` for §8's reason. */
.saved__list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 8px;
}
.saved__row { position: relative; min-inline-size: 0; }
.saved__open {
  appearance: none; background: none; border: 1px solid var(--rule);
  border-radius: 10px; padding: 6px; inline-size: 100%; min-block-size: 44px;
  font: 600 .86rem var(--sans); color: var(--ink); cursor: pointer;
  display: grid; gap: 4px; justify-items: stretch; text-align: center;
}
.saved__open:hover { border-color: var(--ink-3); }
.saved__art {
  display: block; block-size: 132px;
  background: var(--wall); border-radius: 8px; overflow: hidden;
}
/* The drawing never mirrors with the interface (PLAN.md §6.1). */
.saved__art svg { inline-size: 100%; block-size: 100%; display: block; }
.saved__cost { font-variant-numeric: tabular-nums; }
/* The × in the picture's corner: a 44 px target (T14) drawing a small paper
   disc, so it reads on a dark door and stays out of the way on a light one. */
.saved__drop {
  position: absolute; inset-block-start: 0; inset-inline-end: 0;
  appearance: none; border: 0; cursor: pointer; padding: 0;
  inline-size: 44px; block-size: 44px;
  display: grid; place-items: center;
  background: radial-gradient(circle, var(--paper) 0 12px, transparent 12.5px);
  color: var(--ink); font-size: 1.05rem; line-height: 1;
}

/* ── THE TRUST BAND ──────────────────────────────────────────────────
   Four claims, all confirmed from outside before they were written. The
   warranty says `אחריות` and not `אחריות מלאה` on purpose: a promise with no
   term is one nobody can be held to. ASK-PERETZ.md §9 asks for the number. */
.trust {
  flex: 0 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px;
  padding: 12px 16px;
  border-block-start: 1px solid var(--rule);
  background: var(--paper-up);
  font-size: .78rem; color: var(--ink-2);
}
.trust__i { display: inline-flex; align-items: center; gap: 6px; }
.trust__ico {
  inline-size: 18px; block-size: 18px;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .8;
}

/* ── THE BAND ON THE WALL, ABOVE 1100 ────────────────────────────────
   It used to be `display: none` here, and the reason was real: the page is
   one screen with `overflow: hidden` and `.layout` is `flex: 1`, so anything
   given HEIGHT at the foot takes it straight out of the door — the same
   mechanism by which a 70 px headline once faked a 5.2% drawing regression in
   `npm run profile`.

   `position: fixed` costs the door nothing at all, which is the same argument
   that put the grip controls in the wall. And it is placed inside the stage's
   own column rather than across the whole page, because the two panels either
   side of it scroll internally and a band laid over them would cover whatever
   the customer had scrolled to.
   ⚠ THE COLUMN'S BOX IS MEASURED, NOT GUESSED. `--stage-l` and `--stage-w`
   are published by `fitStage()` off the same rect it already reads for
   `--wall-gap`, on the same re-fit, so the box the band is placed in and the
   box that was measured are one box by construction. The fallbacks cover the
   instant before the first paint.
   ⚠ `--ink`, NOT `--ink-2`, and that is a measurement. Over the drawn floor
   `#6B6862` is 4.30:1, and over a light door's floor (`--floor: #D6D2C8`)
   it is 3.68 — under the 4.5 this page holds itself to, on the two grounds
   this band will actually sit on. `#171715` measures 13.90 and 11.89. */
@media (min-width: 1100px) {
  .trust {
    position: fixed;
    /* ⚠ THE STAGE'S FOOT, NOT THE VIEWPORT'S. `inset-block-end: 0` put the
       band on the viewport bottom — which above 1100 px is exactly where
       `.stage__bar` ends, so the four claims printed straight over the
       "הדמיה להמחשה. הדלת נמדדת ומותקנת אצלכם." note. Measured at 1280x800 the
       two boxes were identical: y 759.7-800, left 360, width 560. At 1100 the
       band also wrapped to two rows and climbed 27 px up into the drawing.
       `REALISM2.md` §B5 asked for `absolute` INSIDE the wrap; this shipped as
       `fixed` against the viewport, which is a different box. `--stage-b` is
       published off the same rect as the two lines below, on the same re-fit.
       ⚠ AND THE WIDTH FALLBACK IS `0`, NOT `100%`. Before the bundle runs — or
       if it never runs — the variables are unset, and a 100% fallback laid the
       band right across the choices card and the send card too. There is
       nothing sensible to guess: until the stage has been measured the band
       does not show, which is what it did at this width for the whole life of
       the page before this round. */
    inset-block-end: var(--stage-b, 0px);
    left: var(--stage-l, 0px);
    inline-size: var(--stage-w, 0px);
    overflow: hidden;
    z-index: 2;
    justify-content: center; gap: 4px 24px;
    padding: 10px 16px 12px;
    background: none;
    border-block-start: 0;
    color: var(--ink);
    font-size: .74rem; font-weight: 600;
    letter-spacing: .01em;
    /* A message, never a control — and it lies over the wall the grip buttons
       stand in. Without this it would swallow a drag that started low. */
    pointer-events: none;
  }
  .trust__ico { opacity: .7; }

  /* ⚠ AND OVER A PHOTOGRAPH IT NEEDS A GROUND, WHICH IT NEVER NEEDED OVER A
     DRAWING. Four claims in ink laid straight on a photographed stone floor
     read as writing ON THE FLOOR rather than as chrome over a picture, and
     that is most of the difference between a product shot and a caption.
     Contrast was never the problem — `--ink` measures 13.9:1 on the drawn
     floor and 11.6 on the photographed one — the problem is that a photograph
     has depth and the words were standing inside it.
     A scrim answers both: the room dissolves into the page at the very bottom
     instead of stopping at a ruled edge, and the words come to rest on paper.
     Only where there IS a photograph; over the drawn floor, which is already
     the page's own colour, the same gradient is a smudge. */
  .is-photo .trust {
    /* ⚠ EXACTLY THE FLOOR STRIP, AND NOT A PIXEL HIGHER. The first version was
       `padding-block-start: 30px` and a gradient over whatever height that
       produced — 60 px at 1440, which reached 14 px ABOVE the floor line and
       washed out the foot of the door, the contact shadow and the threshold:
       the three things that had just been built to make it stand on the
       ground. `--floor-b` is the ground in front of the threshold in pixels,
       published by `fitStage` off the same rect and the drawing's own
       `data-base-y`, so the scrim's top edge IS the wall/floor junction — an
       edge that is really in the picture rather than a number that looked
       about right. */
    block-size: var(--floor-b, 46px);
    padding-block: 0 6px;
    align-items: flex-end;
    background: linear-gradient(to top, var(--paper) 0%,
                                        var(--paper) 30%,
                                        transparent 100%);
  }
}

/* ── strips ───────────────────────────────────────────────── */

.strip {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 16px;
  font-size: .82rem;
  color: var(--ink-2);
  background: var(--paper-up);
  border-block-end: 1px solid var(--rule);
}
.strip strong { color: var(--ink); }
.strip--warn { color: var(--warn); }

/* ── layout ───────────────────────────────────────────────── */

/* Mobile: door, then choices, then send — one column, scrolled.
   Desktop: three zones so the whole thing fits one screen with no scrolling.
   In RTL, column 1 is the rightmost.
       [ choices ]  [ door ]  [ send ]
   PLAN.md §10.1 — the door is never the thing that gets compromised. */
.layout {
  display: grid;
  gap: 0;
  /* minmax(0, 1fr), not the implicit `auto`.
     A grid track sized `auto` is floored at its content's MIN-CONTENT width,
     and the stage's content is an SVG whose intrinsic size comes from its
     viewBox. app.js widens that viewBox to the stage's shape, so `auto` closes
     a loop: wider viewBox -> wider intrinsic size -> wider track -> wider
     stage -> wider viewBox. It settles, but it settles 67 px past the edge of
     a 320 px phone, and the symptom is a page that scrolls sideways. Caught by
     the audit, never by a unit test — this fault has no markup. */
  grid-template-columns: minmax(0, 1fr);
}
/* Same floor on the children, for the same reason. */
.stage-wrap, .panel { min-inline-size: 0; }

/* ── THE DOOR STAYS IN VIEW WHILE YOU CHOOSE ──────────────────
   On a phone the page is door, then choices, then price — so scrolling down
   to a list of seventeen colours put the door off the top of the screen, and
   a customer tapped a swatch without being able to see what it did. That is
   the one thing a configurator has to get right, and it did not.
   The stage is pinned instead. The grip bar was moved OUT of it in the markup
   for this: pinning 190 px of hint and advanced buttons alongside the door
   would have spent a quarter of the screen on the least urgent thing on it.
   Slightly shorter than it was — 92vw rather than 118vw, about 43% of a
   390x844 screen — which also means the first category is visible on arrival
   instead of a full screen of door with no sign there is anything to do.

   ⚠ THE RULE ITSELF LIVES BELOW `.stage-wrap`, NOT HERE. It used to sit at this
   point in the file, above the base rule — and the base rule re-declares
   `position: relative`. A media query adds NO specificity, so the later
   declaration won and the stage was never sticky at any width: measured
   `position: relative` at 390, 768 and 1099, with the door 78 px off the top
   of a 390x844 screen by the time the colour grid was in reach. Exactly the
   defect the paragraph above says was fixed. Search for `position: sticky`. */

@media (min-width: 1100px) {
  .layout {
    /* ⚠ TWO COLUMNS, NOT THREE. The third was `.panel--send`, and `goStep`
       has always MOVED that card into the summary step rather than leaving a
       copy beside the flow — so the track it reserved stood empty on eight
       steps out of nine and 360 px of a laptop went to nothing. With the dock
       gone (27.8.2026) the card is the only send affordance there is, and it
       belongs to the step whose job is sending. The door gets the width.
       ⚠ AND SINCE 31.8 THE CAP IS 440, NOT 360, AND THE DOOR DID NOT MOVE.
       `UX-FINDINGS` §4.1: the picture takes about 73% of the width and is
       nearly identical between steps, while the choosing — the actual task —
       has the smaller and more awkward half. Re-measured driving the flow
       forward: seven of the nine steps overflow their panel at 1440x900, the
       worst by 599 px.
       ⚠ THE PREDICTION WAS ZERO PIXELS OF DOOR AND IT WAS CHECKED. `fitStage`
       only ever WIDENS `FIT_BOX` to the stage's shape, and the crop is
       height-driven while the stage's aspect stays above the scene's (~0.536)
       — so taking width off the stage costs the leaf nothing until that
       crossing. Measured before and after at 1152, 1280, 1440 and 1920.
       ⚠ AND 420 IS WHERE THE WALL STOPS IT, NOT THE DOOR. The door is free —
       identical at 480 and at 360 — but the price chip and the grip controls
       both stand in the plaster beside the leaf, and a narrower stage is a
       narrower wall. Swept against every wall control's HIT TEST on real page
       loads at seven widths: **380 (shipped), 400 and 420 are identical** —
       the only blocked control is `#grip-rot` at 1100 and 1152, which is
       pre-existing and is in §9 — and **at 440 the chip lands on `#grip-rot`
       at 1440x900 as well**. So the widening is what the furniture can
       afford, measured, rather than the 150-200 px the review asked for.
       ⚠ THE FIRST SWEEP OF THIS WAS WRONG AND SAID SO CONFIDENTLY. It injected
       each candidate cap with `addStyleTag` after load — which never re-runs
       `fitStage`, so the chip and the grip bar were still placed against the
       PREVIOUS wall and 440 looked broken at widths where it is fine. Every
       number above comes from a real build and a real load. **A layout
       measured without the code that lays it out is not a measurement.**
       ⚠ AND IT IS A CAP, NOT A WIDTH: `minmax` still collapses the track
       toward 300 px on a narrow desktop, which is what keeps `cusp` (1099)
       from paying for it. */
    grid-template-columns: minmax(300px, var(--panel-max)) minmax(0, 1fr);
    /* Two rows: the door takes the height that is going and the note sits
       under it, both inside column 2.
       ⚠ ONLY CONSTANT THINGS MAY LIVE IN ROW 2. It is `auto`, so whatever is
       in it takes what it needs and row 1 — the stage — gets the rest. The
       grip buttons were here, and they are hidden until the door has a pull
       handle, so choosing one made row 2 taller and THE DOOR SMALLER. They
       stand in the wall now instead; the note that is left never changes. */
    grid-template-rows: minmax(0, 1fr) auto;
    flex: 1;
    min-block-size: 0;      /* lets the columns scroll instead of the page */
    overflow: hidden;
  }
  .panel--choose { grid-column: 1; grid-row: 1 / span 2; border-inline-start: 1px solid var(--rule); }
  .stage-wrap    { grid-column: 2; grid-row: 1; }
  .stage__bar    { grid-column: 2; grid-row: 2; }
  .panel--send   { grid-column: 3; grid-row: 1 / span 2; border-inline-end: 1px solid var(--rule); }

  /* Each column scrolls on its own, so a long swatch list never pushes the
     door or the send button off screen. */
  .panel { overflow-y: auto; block-size: 100%; }

  /* ⚠ AND UP HERE THE SCROLLPORT IS THE PANEL, WITH TWO OF ITS OWN CHILDREN
     PINNED OVER IT. The navigator is `position: sticky` at the panel's top
     edge and `.sect__foot` is sticky at its bottom, so the same fault the
     phone has lives here with different furniture: `keyboardGrid` focuses the
     next option, the browser scrolls it flush to an edge, and the edge has a
     bar on it. Measured, keyboard only, End and the arrows through every group
     of every step: **93 px of a 134 px lock tile behind the foot at 1280x720
     and 1440x900**, 57 at 1100, 47 of a 47 px handing pill, and 61 px of the
     first grille tile behind the rail on `Home`.

     ⚠ THE TWO BANDS ARE MEASURED, NOT DECLARED, and they are BANDS rather
     than heights on purpose. Neither is a constant — the rail is 44 px of
     circle plus its rule, and the foot is one button on a question step and a
     button plus the green send on the summary (46 px against 93 at 1100) —
     and the rail's band is not its height either: `scroll-padding` is measured
     from the scrollport's PADDING box while a sticky child rests against its
     CONTENT box, so this panel's own 22 px of block-start padding stands
     between them, and the height alone left 10 px of every tile behind the
     navigator. `fitStage` publishes both off rects it takes on the same
     re-fit, beside `--sticky-h` and `--quote-h`, so a number and the box it
     describes cannot drift. The fallbacks are today's measurements, so a page
     whose bundle never arrives is no worse than it was; and `goStep` sets
     `panel.scrollTop` by hand up here rather than scrolling into view, so
     nothing it does moves with this.

     ⚠ `.panel--choose` and not `.panel`: the send column has neither bar over
     it, and 200 px of scroll padding in a column that does not need it is a
     different fault of the same kind. */
  .panel--choose {
    scroll-padding-block: calc(var(--rail-band, 83px) + 12px) calc(var(--foot-band, 93px) + 12px);
  }
}

/* ⚠ AND THE SCROLLBAR IS THE PLATFORM'S UNTIL IT IS ASKED NOT TO BE.
   Reported off a Windows screenshot and invisible in this container: headless
   Chromium here gives an overlay bar 2 px wide, Windows gives the classic
   ~17 px one with arrow buttons at both ends — a hard grey stripe with a
   scrollbar thumb in it, rammed down the inside edge of a card that is
   supposed to be floating paper, splitting the page beside the photograph.
   Same class of thing as the text face's tuned fallback: the platform default is what
   most people actually see, and this container is the one place that never
   shows it.
   `thin` with the page's own hairline as the thumb; the track is transparent
   so the card's own surface runs behind it. `::-webkit-scrollbar` for the
   engines that ignore the standard properties, with the same two colours. */
.panel, .works, .saved__list, .bd, #choices {
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.panel::-webkit-scrollbar, .works::-webkit-scrollbar,
.saved__list::-webkit-scrollbar, .bd::-webkit-scrollbar,
#choices::-webkit-scrollbar { inline-size: 8px; block-size: 8px; }
.panel::-webkit-scrollbar-track, .works::-webkit-scrollbar-track,
.saved__list::-webkit-scrollbar-track, .bd::-webkit-scrollbar-track,
#choices::-webkit-scrollbar-track { background: transparent; }
.panel::-webkit-scrollbar-thumb, .works::-webkit-scrollbar-thumb,
.saved__list::-webkit-scrollbar-thumb, .bd::-webkit-scrollbar-thumb,
#choices::-webkit-scrollbar-thumb {
  background: var(--rule); border-radius: 999px;
}

/* ── stage ────────────────────────────────────────────────── */

.stage-wrap {
  /* No padding around the stage: the drawing carries its own wall and floor
     now, and they are meant to run to the edges of this column. Padding here
     would put a frame of page around the room. */
  padding: 0;
  background: var(--wall);
  transition: background-color .3s var(--ease);
  border-block-end: 1px solid var(--rule);
  /* The grip controls stand in the wall, absolutely, so this has to be their
     containing block. ⚠ This declaration once carried a comment saying it was
     merely restating what the phone already got from `position: sticky`. It
     was not restating it — it was OVERRIDING it, because it comes later in the
     file at equal specificity, and a media query adds none. The sticky rule
     now lives directly below, where it wins. `sticky` is itself a positioned
     value, so the grip bar keeps its containing block either way. */
  position: relative;
}

/* THE DOOR STAYS IN VIEW WHILE YOU CHOOSE — see the long note further up.
   Placed AFTER `.stage-wrap` deliberately: same specificity, so the one that
   comes last is the one that applies. */
@media (max-width: 1099px) {
  .stage-wrap { position: sticky; inset-block-start: 0; z-index: 3; }
}

@media (min-width: 1100px) {
  .stage-wrap {
    border-block-end: 0;
    block-size: 100%;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    /* ⚠ THE STRIP IS RESERVED WHETHER OR NOT THE DOOR CARRIES A HANDLE, and
       that is the point of it rather than an oversight.

       The grip controls stand in the wall beside the door, and their width
       came entirely from whatever wall happened to be left over. Between 1100
       and 1240 px there is none left over. Measured at 1100 on a sidelight the
       bar came out 0 px wide and its buttons 22, against the 44 px floor the
       same audit enforces everywhere else — so the buttons that were moved
       into the wall by request were unpressable on a 1100 px laptop, in a band
       `audit.mjs` had never opened (it steps 834 -> 1280).

       Reserving the strip ON DEMAND is the obvious fix and the one thing that
       must not happen: a strip that appears when a pull handle is chosen takes
       its width out of the door, and THE DOOR SHRINKING WHEN IT GAINS A HANDLE
       is the exact fault that put these controls in the wall to begin with.
       So the padding is unconditional. The door is fitted into what is left,
       always, and choosing a handle changes nothing about its size — which is
       what `audit.mjs` asserts, and why that assertion still passes.

       `.grip-bar` is absolutely positioned against this element, and an
       absolutely positioned box is laid out against the PADDING box — so its
       `inset-inline-start` measures from the outer edge and the bar lands
       inside the reserved strip rather than beyond it.

       ⚠ AND THE PADDING IS GONE, 27.8.2026. Reported from outside: *"on the
       right side continue the background, dont have a white stripe there."*
       That stripe was this — 148 px of `.stage-wrap` showing its own surface
       beside the drawing, on the RIGHT in Hebrew and the LEFT in English,
       because it is a logical inset. It read as a seam in the room.

       The reason for reserving it survives and is met a different way: the
       controls overlay the wall now, on their own pill, exactly as the three
       in `.stage__hud` above them do. What the reservation was protecting
       against — the door RESIZING when it gains a handle — cannot happen
       either way, because `.grip-bar` is absolute and takes no space in the
       flow. The padding was buying clear wall, not a stable door, and a pill
       buys legibility over any wall there is.
       ⚠ AND `--grip-strip: 148px` STOOD HERE UNTIL 18.9.2026. It was the last
       thing still widening the reservation, and its only job was giving the
       grip bar a sane width in the 1100–1240 band where the drawn wall is
       narrow. The bar is gone; nothing stands in that wall. */
  }
}

/* The page's heading, which was `sr-only` and is now the first thing read.
   Small and quiet: it names the page, it does not compete with the door, and
   on a phone every pixel it takes is a pixel off the stage — so below 1100 it
   is tighter still. */
/* ⚠ WEIGHT 300 AND TWICE THE SIZE, AND THIS ONE LINE IS MOST OF WHY THE PAGE
   READ AS A TOOL. Measured before: `clamp(17px, 2.2vw, 22px)` at weight 600,
   which is not a display headline — it is a large label, and a large label at
   the top of a page is the single clearest tell of an internal tool. Every
   reference in DESIGN-LEVEL §1.1 sets its hero light and large: BMW at weight
   300 and 60 px, Rivian, Heart and Atoms all on light display faces with
   negative tracking. That document calls this the highest-yield change in it,
   and it had never been made.
   Negative tracking is what keeps a light face from reading as loose at size;
   1.05 line-height because a display line has no business breathing like a
   paragraph. */
/* ⚠ CAPPED AT 44, NOT 52, AND THE CAP WAS MEASURED. `clamp(30px, 4.4vw, 52px)`
   is the size DESIGN-LEVEL asks for and it is the right size for a brochure;
   this heading sits INSIDE `.stage-wrap`, above a stage that is `flex: 1 1
   auto`, so every pixel it takes comes straight out of the drawing. Measured at
   1440x900: the stage went 794 -> 753 px and the leaf's share of the frame
   21.1% -> 20.0%. A display headline that shrinks the product is the wrong
   trade on the one page whose product is the point.
   44 costs 41 px less and still reads as display type rather than as a label,
   which was the whole complaint. The door gets the rest back in the crop. */
/* ⚠ THE BRAND MARK — IDENTITY WITHOUT THE DELETED HEADER ROW.
   See the note in index.html for why it is a mark and a name and nothing
   else. It is `absolute` so it takes NO height out of the stage: above
   1100 px the layout is one screen with `overflow: hidden` and anything given
   height above the door comes straight out of the door, which is the
   mechanism that once made a heading fake a 5% drawing regression. On a phone
   it centres over the heading instead, where there is no door to steal from
   and a corner mark would collide with the fixed navigator. */
.brand {
  position: absolute; inset-block-start: 16px; inset-inline-start: 18px;
  z-index: 4; margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink);
  pointer-events: none;
}
.brand__mark { inline-size: 22px; block-size: 27px; flex: 0 0 auto; }
.brand__name {
  font: 600 .92rem/1 var(--sans);
  letter-spacing: .01em;
}
/* ⚠ DESKTOP ONLY, AND THE AUDIT IS WHY — THIS IS THE 27.8 DELETION'S OWN
   ARGUMENT, MEASURED AGAIN. The first version of this rule put the mark in
   normal flow on a phone, centred over the heading. `npm run audit` failed it
   at `phone-s` on SEVEN steps with the same sentence each time: *"17 options
   and NONE on screen — a customer sees the question and nothing to answer it
   with."* A 320x568 screen is already spending its height on a fixed
   navigator, a sticky door and a fixed quote bar; one more row at the top was
   the amount that pushed every option below the fold.

   Which is exactly what the header's deletion note says in its own words — on
   a phone the brand name *"was 124 px of a row that could not fit the language
   it was crowding out"*. That reasoning did not stop being true because the
   mark got smaller. Above 1100 it is `absolute` and costs the door nothing, so
   it stays there and nowhere else; on a phone the identity is where the
   deletion put it, in the tab title and on the order Peretz receives. */
@media (max-width: 1099px) { .brand { display: none; } }

/* ⚠ SMALLER AND SHORTER, 27.9.2026 — the owner's son: *"the white strip with
   the main text smaller and less tall"*, and the lede under it removed. It was
   300-weight 26–44 px over a 13–15 px lede, 92–99 px of the wrap at every
   desktop width; it is one line now, and what it gives back is the budget of
   `.stage__band` (the live step's name above the door), because above 1100
   anything in this column's flow is taken out of the drawing (§0c). The verb
   is the owner's son's bold. */
.stage__h1 {
  margin: 0; padding: 8px 16px 2px;
  /* ⚠ `--display` since 28.9, at 400 — Bona Nova has no 300, and a weight the
     face does not have is a weight the browser invents. */
  font: 400 clamp(18px, 1.6vw, 24px)/1.15 var(--display);
  letter-spacing: 0;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.stage__h1 strong { font-weight: 700; }
@media (max-width: 1099px) {
  .stage__h1 { padding: 10px 14px 4px; }
}

/* ── THE BAND ABOVE THE DOOR — 27.9.2026 ──────────────────────────────
   The live step's name, big, and under it what is chosen in its first group
   (the owner's son: *"above the door the name of the section we are at, big —
   moved from the panel … between the section name and the door, the name of
   the thing now selected — e.g. '2 panels'"*). Written by `markSteps`.
   ⚠ ABOVE 1100 IT IS IN THE FLOW, so every pixel of it comes out of the
   drawing (§0c): its budget is the 60-odd pixels the title gave back in the
   same round, and `npm run audit` holds the leaf to no smaller than it was
   before the title shrank, less 4 px. Each line is ONE line in every language
   (ellipsis rather than a wrap), so the band — and with it the door — is the
   same height on every step. */
/* ⚠ ON THE PHOTOGRAPH SINCE 28.9.2026 — the owner's son: *"The header of the
   section needs to be on the image and closer to the door, in some good font —
   that also goes for the little text below that shows the current option."*
   It was a flow item between the `<h1>` and the stage, and above 1100 every
   pixel of it came out of the drawing. Now it is absolute in `.stage-wrap`,
   placed by `placeBand` (js/app.js) off the frame's settled box: its FOOT 8 px
   above the casing's head, centred across on the door — physical, like the
   frame it is read from; the drawing does not mirror. It takes no height, so
   the stage gets the band's ~52–63 px back and the door grows with it.
   ⚠ IT NEVER LANDS ON THE CASING BECAUSE THE CROP MAKES ROOM FOR IT, not
   because it is pushed: the crop gives the wall over the tallest door exactly
   what the band needs at each viewport (`fitCrop` in js/app.js, the table
   there; `FIT_TRIM.top` in js/renderer.js is the floor below 1100).
   ⚠ AND IT NEVER LANDS ON THE WALL'S CONTROLS, because it is given only the
   free span between them on its own rows (`--band-w`) and its centre is moved
   off the door's only as far as that span requires (`--band-l`). On a phone
   the controls stand on those rows over most doors — the language picker in
   one top corner, the save in the other — so there the band is the room
   between them, and an option's name too long for it ends in an ellipsis. */
.stage__band {
  position: absolute; z-index: 4;
  inset-block-start: var(--band-top, 0px);
  left: var(--band-l, 16px);
  inline-size: max-content;
  max-inline-size: var(--band-w, calc(100% - 32px));
  display: grid; justify-items: center; gap: 0;
  padding: 0;
  text-align: center;
  pointer-events: none;
}
.band__title, .band__now {
  margin: 0; max-inline-size: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.band__title {
  /* `--display` since 28.9 (*"the header of the section … in some good font"*),
     at 700: Bona Nova's two weights are 400 and 700, and a 600 would be matched
     to the 700 anyway — the rule says what is painted.
     ⚠ BIGGER SINCE 29.9 (the owner's son: *"The text above the door bigger,
     especially the one that represents the option that is now chosen"*):
     22–30 px → 26–36 px. */
  font: 700 clamp(26px, 2.5vw, 36px)/1.1 var(--display);
  letter-spacing: 0; color: var(--ink);
}
/* ⚠ THE OPTION'S LINE IN THE TITLE'S OWN FACE SINCE 29.9 — his answer in chat:
   Bona Nova, not Rubik; 700 at three quarters of the title (13–15 px → 19–27),
   and in `--ink`, not `--ink-2`: "especially" the chosen option. Its phone
   size below is unchanged; the face and the ink carry to it. The door gives
   the taller band its wall through `fitCrop` (js/app.js), which reads the
   band's own height — so nothing here is a number the crop has to be told. */
.band__now {
  font: 700 clamp(19px, 1.9vw, 27px)/1.2 var(--display);
  color: var(--ink); min-block-size: 1.2em;
}
/* ⚠ ON A PHONE IT IS ONE LINE, AND SINCE 28.9 IT TOO STANDS ON THE PICTURE at
   the same anchor — the stage no longer gives up a line for it (`--band-h` is
   gone from `.stage`'s phone rules), so the door has those 30 px back. The
   title then the option, the way the two lines read above 1100, in the
   interface's direction. */
@media (max-width: 1099px) {
  .stage__band {
    display: flex; justify-content: center; align-items: baseline; gap: 8px;
    padding: 0; overflow: hidden; white-space: nowrap;
  }
  /* The option's name gives way before the step's: where the free span is
     short (the controls stand level with the band), the second part ends in
     an ellipsis first and the title keeps its whole width while it can. */
  /* The phone's one line keeps its 28.9 size and height (29.9, ours): the
     sizes and line-heights are restated here because the desktop's changed
     under them; only the option's face and ink follow the desktop's. */
  /* ⚠ BIGGER ON A PHONE SINCE 2.10.2026 (ours, CLAUDE.md §0a — *"looking really
     good on the phone"*): the title 1.02 → 1.2 rem, the option .86 → 1 rem,
     still one line; the option's name yields first. */
  .band__title { font-size: 1.2rem; font-weight: 700; line-height: 1.15; flex: 0 0 auto; max-inline-size: 100%; }
  .band__now { font-size: 1rem; line-height: 1.35; flex: 0 1 auto; min-inline-size: 0; min-block-size: 0; }
  /* Russian and English step titles run a third longer than the Hebrew (the
     extra lock's is 20 characters in Russian), and at 1.2 rem it was newly
     cut at 390 — so those two scripts take 1.08 rem: measured (2.10), the
     titles cut are then exactly the ones cut at 1.02 (ru pz and xlock at 320,
     xlock at 360; en pz at 320), each by 1–3 px more; Hebrew is cut nowhere. */
  html:not([lang="he"]) .band__title { font-size: 1.08rem; }
  .band__now:not(:empty)::before { content: '·'; margin-inline-end: 8px; color: var(--ink-3); }
}

/* ── THE TWO ARROWS BESIDE THE DOOR — 27.9.2026 ───────────────────────
   Absolute in the wall at the door's mid-height, 8 px outside the casing on
   either side (`--frame-left`, `--frame-right`, `--frame-mid`, published by
   `fitStage` off the frame's settled box) and held inside the wrap where the
   wall is narrower than the arrow. Absolute for `.stage__hud`'s reason:
   nothing in the flow here. The way on is on the interface's inline end —
   the left in Hebrew — and the chevrons mirror with it; the door does not.
   Hidden (box kept) on the summary, where there is no group to step through.
   ⚠ REMADE 2.10.2026 — the owner's son: *"Remake the arrows around the door,
   make them bigger and more noticeable."* They were 44 px (the floor), a 1 px
   `--rule` ring, paper at 86 %, no shadow, a 20 px chevron at 2.2, 8 px off
   the casing. Now (ours, CLAUDE.md §0a): a 60 px paper disc at 92 % on a soft
   shadow, no ring, a 26 px chevron at 3 in ink, 12 px off the casing;
   hovered or pressed it inverts (ink disc, paper chevron); focus wears the
   page's ring. 52 px and 8 px on a phone. ⚠ AND 56 px FROM 1100 TO 1199:
   the wall there beside the widest double is 137 px and the navigator column
   takes 56 + 12 of it — 60 + 12 more does not fit, and 56 at 12 still
   touched the column by one pixel (56 px², Hebrew, `halfextra2`, measured
   2.10), so that band keeps the old 8 px gap too. Two numbers, `--arrow` and `--arrow-gap`, read by
   the four positions below. */
.stage-wrap { --arrow: 60px; --arrow-gap: 12px; }
@media (min-width: 1100px) and (max-width: 1199px) { .stage-wrap { --arrow: 56px; --arrow-gap: 8px; } }
@media (max-width: 1099px) { .stage-wrap { --arrow: 52px; --arrow-gap: 8px; } }
.stage__arrow {
  position: absolute; z-index: 4;
  inset-block-start: var(--frame-mid, 45%);
  transform: translateY(-50%);
  inline-size: var(--arrow); block-size: var(--arrow); padding: 0;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  box-shadow: 0 2px 10px rgb(0 0 0 / .28);
  color: var(--ink); cursor: pointer;
  transition: background-color .12s var(--ease), color .12s var(--ease);
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .stage__arrow { background: var(--paper); }
}

/* ── UNDO YOU CAN SEE, AT THE STAGE'S FOOT — 28.9.2026 ──────────────────
   The owner's son: *"The undo option rethought: not noticeable on pc and in
   the way on the phone — more noticeable, but not colliding with the door."*
   Two labelled pills, paper on ink, 8 px inside the stage's bottom-right
   corner — physically right in every language, the picker's side.
   ⚠ PAINTED FROM THE FIRST PAINT SINCE 29.9, GREYED WHILE DISABLED — the
   owner's son: *"At the tutorial's fourth step the undo button is not shown
   yet, so it looks strange — available but greyed out at the start, because
   there isn't something to go back to; that also goes for the other button
   next to it."* Until then a disabled pill took no room and painted nothing,
   so the tour's fourth cut-out opened over an empty 44 × 44 corner. Both
   pills stand there from load now, and the group needs no placeholder box:
   its shape is settled before the tour opens and never changes on a tap.
   `placeUndo` (js/app.js) publishes `--undo-b` and
   `--undo-r` off the stage's rect and picks the shape: `row`, `stack` (redo
   above undo), `iconrow` or `icon` (the glyph alone, the word in
   `aria-label`/`title`), the first that touches neither the door, an arrow
   nor the price — standing above the trust band's words where they reach the
   corner. Since 2.10 the RESET is the group's third pill and its outermost:
   first in the markup, so the row and the stack both start at the corner with
   it and undo and redo keep their old order beside it (it was "the undo is
   always the one in the corner"). Below 1100 the three are discs, no words
   (the owner's son, 2.10). Absolute, for `.stage__hud`'s reason. */
.stage__undo {
  position: absolute; z-index: 4;
  inset-block-end: var(--undo-b, 8px);
  right: var(--undo-r, 8px);
  display: flex; gap: 6px; align-items: flex-end; flex-direction: row;
  pointer-events: none;
}
html:not([dir="rtl"]) .stage__undo { flex-direction: row-reverse; }
.stage__undo[data-mode="stack"], .stage__undo[data-mode="icon"],
html:not([dir="rtl"]) .stage__undo[data-mode="stack"],
html:not([dir="rtl"]) .stage__undo[data-mode="icon"] { flex-direction: column-reverse; }
.undo-pill {
  pointer-events: auto; appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-block-size: 44px; min-inline-size: 44px; padding: 0 16px 0 13px;
  border: 0; border-radius: var(--r-pill, 999px);
  background: var(--ink); color: var(--paper);
  font: 600 .9rem/1 var(--sans); white-space: nowrap;
  box-shadow: 0 4px 14px rgb(0 0 0 / .22);
}
.undo-pill .btn__ico { inline-size: 19px; block-size: 19px; }
.undo-pill:hover { filter: brightness(1.25); }
.undo-pill:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
/* ⚠ BRONZE, 29.9.2026 — the owner's son: *"make them more noticeable, make
   them a different color … on both phone and pc."* The pills were ink, the
   same ink as the navigator column beside them; they are the page's bronze
   now (`--accent-ink`, #7E6134) with white — 6.1:1 — and a thin paper halo so
   they hold on the photograph. No other control on the wall wears it: the
   navigator is ink, the send green, the arrows paper. The save above wears
   it too (`.stage__hud .iconbtn` below), so the three read as one set. */
.undo-pill {
  background: var(--accent-ink); color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / .22), 0 0 0 3px rgb(255 255 255 / .55);
}
.undo-pill:hover { filter: none; background: #6A5129; }
.undo-pill:focus-visible { outline-color: var(--ink); }
.undo-pill .btn__ico { stroke-width: 2.1; }
/* A DISABLED PILL IS GREYED, NOT HIDDEN (29.9, above): the ink at .45 over the
   picture, paper letters, no shadow and no halo, the arrow cursor, and no
   hover — still `disabled`, because there is nothing to press (it is not an
   option refused for a reason, so §8's `aria-disabled` rule is not its rule).
   Ours, reversible in a line. */
.undo-pill:disabled, .undo-pill:disabled:hover {
  background: color-mix(in srgb, var(--ink) 45%, transparent); color: var(--paper);
  box-shadow: none; filter: none; cursor: default;
}
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .undo-pill:disabled, .undo-pill:disabled:hover { background: var(--ink-3); }
}
.stage__undo[data-mode="icon"] .undo-pill,
.stage__undo[data-mode="iconrow"] .undo-pill { padding: 0; inline-size: 44px; }
.stage__undo[data-mode="icon"] .undo-pill__w,
.stage__undo[data-mode="iconrow"] .undo-pill__w { display: none; }
.stage__arrow:hover, .stage__arrow:active { background: var(--ink); color: var(--paper); }
.stage__chev {
  inline-size: 26px; block-size: 26px;
  fill: none; stroke: currentColor; stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 1099px) { .stage__chev { inline-size: 23px; block-size: 23px; } }
.stage__arrow--prev { left: max(4px, calc(var(--frame-left, 30%) - var(--arrow-gap) - var(--arrow))); }
.stage__arrow--next { left: min(calc(100% - var(--arrow) - 4px), calc(var(--frame-right, 70%) + var(--arrow-gap))); }
[dir="rtl"] .stage__arrow--prev { left: min(calc(100% - var(--arrow) - 4px), calc(var(--frame-right, 70%) + var(--arrow-gap))); }
[dir="rtl"] .stage__arrow--next { left: max(4px, calc(var(--frame-left, 30%) - var(--arrow-gap) - var(--arrow))); }
[dir="rtl"] .stage__chev { transform: scaleX(-1); }
.stage-wrap[data-step="sum"] .stage__arrow { visibility: hidden; }

.stage {
  /* The door is never allowed off-screen — seeing it is the product.
     Height rather than width decides how big the door comes out, because the
     drawing is far taller than it is wide. A flat 52vh therefore gave a phone
     a door filling half the screen and a tablet — same fraction of a much
     shorter, much wider screen — a small door adrift in a large room. Tracking
     the width instead keeps the door at about half the stage on both, and the
     bounds stop a landscape phone from handing the whole viewport to it. */
  block-size: clamp(54vh, 118vw, 74vh);
  transition: background-color .3s var(--ease);
}
/* ⚠ AFTER the rule it overrides, not before it. A media query adds no
   specificity, so the mobile height sat above this for one build and lost to
   it silently — the stage measured 460 px where the override says 359, and
   nothing about the page looked broken.
   Shorter than it was, because the stage is pinned now: at 118vw the door
   filled a phone on arrival with no sign that there was anything to do below
   it, and once stuck it left 317 px for the choices. At 92vw it is about 43%
   of a 390x844 screen, the first category shows on arrival, and there is room
   for three rows of swatches under it. */
/* ⚠ 100vw, UP FROM 92, AND THE BUDGET IS WHY. The old number was chosen when
   the strip above the door cost 130 px — an 84 px navigator plus a 48 px title
   band — and at 118vw the door filled the screen on arrival with no sign there
   was anything to do below it. Both of those are gone: the navigator is 62 and
   the band is 0.
   Counted at 390x844: 62 + 390 = 452 of 844, leaving 392 for the question and
   62 of that to the quote bar — **330 px of question visible on arrival**,
   against 291 before. So the door grows by 31 px AND the customer sees more of
   what they are answering. The two are not in tension here; the chrome was
   simply taking both. */
@media (max-width: 1099px) {
  /* ⚠ MINUS THE BAND, since 27.9.2026: the band above the door (the step's
     name and what is chosen) is one line in the sticky block, and it is taken
     out of the door rather than out of the question under it — at 320x568 the
     answers already arrive below the fold (§9), and a sticky block 30 px
     taller would have pushed them further. The door shrinks by that line. */
  .stage { block-size: clamp(40vh, 100vw, 56vh); }
}
@media (min-width: 1100px) {
  .stage { block-size: auto; flex: 1 1 auto; min-block-size: 0; }
}

/* ⚠ `.layout[data-light="true"] { --wall: #E4E0D7; --floor: #D6D2C8 }` WAS
   HERE, AND IT IS GONE. It sank the wall and the floor a shade behind a pale
   door so a white leaf would not vanish into a white room.
   Reported from outside: *"there are some colors that the surrounding changes
   color. the backround and the things around the door needs no change no
   matter what."* The whole job of this screen is comparing colours, and a
   ground that shifts under the swatch makes every comparison a lie — cream on
   a light wall and cream on a darkened wall are two different colours to the
   eye and neither is the colour of the door. It is the reason a paint shop
   paints its walls one flat grey.
   The silhouette of a pale door is the DRAWING's problem, and the drawing
   already solves it: a painted frame, the reveal ramping in black at falling
   alpha, and the casing's shadow on the plaster. Those hold on any colour,
   because they describe the object rather than the backdrop.
   See the matching note in app.js, where the attribute stopped being copied
   onto `.layout`. The SVG still carries its own `data-light`, which the
   moulding reads; that is a fact about the paint and it stays. */

/* ── PHOTO-MODE: THE ROOM BECOMES A PHOTOGRAPH ────────────────────────────
 *
 * `PHOTOREAL.md` §1. The door stays the live SVG and the room behind it
 * becomes `assets/room.webp`, composited as a CSS background on the stage —
 * NOT as an `<image>` inside the drawing. That choice is the whole feature:
 *
 *   · every instrument reads the SVG, and `?bare=1` goes on photographing a
 *     pure drawing with no change of any kind. `recreate`, `corpus`,
 *     `against`, `profile`, `collide` and `mottle` cannot tell this shipped;
 *   · `render(state)` stays pure and byte-stable, so T12 still holds;
 *   · and the drawn wall, floor and sconces stay in the SVG as the automatic
 *     fallback. `armRoom` in app.js adds `.is-photo` inside the image's own
 *     `load` handler, so a missing file, a blocked request or a browser that
 *     cannot decode WebP all end at the same place — the drawn room, which is
 *     the page exactly as it shipped before the photograph existed.
 *
 * ⚠ THE STYLESHEET NEVER NAMES THE FILE. `index.html`'s `#room-src` owns the
 * URL and `js/app.js` sets `background-image` from it, so the cache stamp is
 * written in one place. What is here is the PLACEMENT, and it is driven by
 * three lengths `fitStage` publishes from the same rects it already reads —
 * because the picture has to be scaled about its own FLOOR LINE and `cover`
 * scales about the centre. */
.is-photo .stage {
  background-repeat: no-repeat;
  /* The fallbacks are `100% auto`, which is a valid pair that covers the
     width — `cover` cannot be one half of the two-value form, and an invalid
     `background-size` drops the whole declaration and tiles the picture at its
     natural size. `fitStage` always sets all three before the class goes on,
     so these are for the impossible case only, and they are still a picture. */
  background-size: var(--photo-w, 100%) var(--photo-h, auto);
  background-position: 50% var(--photo-y, 0);
}
/* ⚠ NO FADE-IN, AND THAT IS DELIBERATE. The obvious flourish is to cross-fade
   the room as it arrives, and the only element that could carry it is `.stage`
   — which contains the DOOR, so fading it fades the product, and animating
   opacity on the largest element on the page buys a compositor layer for it.
   `GUIDED-FLOW.md` §3 rules out exactly this trade for the light sweep and the
   sconce brighten. With `<link rel="preload">` in the head the picture is
   usually decoded before the first paint anyway, so the case being animated is
   the rare one. */
/* ⚠ AND THE PICTURE GETS AN EDGE, above 1100 where there is a header band over
   it. The page's paper and the photograph's plaster are within a few points of
   each other, so the top of the room arrived as an accidental tonal step —
   reported off a 1920 screenshot as the headline band and the picture running
   into one another. A hairline says the picture starts here on purpose, which
   is also the honest thing for a rendering to say.
   Only where there IS something above it: below 1100 the `<h1>` is `.sr-only`
   and the stage's neighbour is the navigator, which already carries its own
   `border-block-end`. Two rules stacked would be a two-pixel bar. */
@media (min-width: 1100px) {
  .is-photo .stage { border-block-start: 1px solid var(--rule); }
}

/* ⚠ The drawn room goes only once the photograph is up, and this selector is
   the whole of it: `#backdrop` is the group holding the wall, the floor, its
   texture, the warm pool, the falloff, both sconces and the skirting shadow.
   Scoped to `.stage`, so the thirty doors in the gallery and the order sheet
   keep their drawn room — a tile 120 px wide has no business carrying an
   82 KB photograph of a hallway, and the sheet is a document. */
.is-photo .stage #backdrop { display: none; }

/* ── THE SEAM ─────────────────────────────────────────────────────────────
 * `PHOTOREAL.md` §2.2: "the shadow is the glue". The shapes are in the drawing
 * at zero opacity on every door (see `#shadow` in renderer.js for why that is
 * the safe way to do it); these three rules are the only thing that turns them
 * up, and they exist only where there is a photograph for them to sit on. */
/* ⚠ .30 AND .58 UNTIL 14.9.2026, AND TOGETHER THEY PUT A SECOND SHADOW UNDER
   THE DOOR THAT NOTHING CAST. Peretz: *"the area beneath the door and between
   the 2 sides of the frame looks weird, take a screenshot of it and redesign
   this area."*
   Screenshotted and measured, at 1440 x 900 x3 on the photographic room, as a
   luminance profile straight down from the leaf's foot in leaf-width units,
   each reading divided by the floor's own tone well outside the doorway:

     below the foot   0.00  0.04  0.08  0.12  0.16  0.24
     shipped          0.31  0.51  0.38  0.79  0.95  1.07
     bare drawing     0.40  0.73  0.84  0.98  1.08  1.17
     these values     0.32  0.55  0.56  0.84  0.97  1.07

   The shipped row is NOT MONOTONIC. It lightens from 0.31 to 0.51 and then
   goes back DOWN to 0.38 before recovering — a dark ring 0.08 of a leaf width
   below the door, separate from the contact and darker than the band above
   it. A shadow that deepens as it moves away from the thing casting it has no
   physical reading at all, and that ring is what makes the area read as a
   smudge rather than as a door standing in a doorway. It also blurred out
   PAST the frame's returns onto the open floor either side, which is a shadow
   in front of a piece of frame that is nearer the viewer than the leaf.

   ⚠ THE BARE DRAWING WAS ALREADY RIGHT and is not touched. Its row is
   monotonic and it matches the corpus: the three measured doors with no
   threshold read 0.76, 0.79 and 0.33 at the contact and recover to their
   floor within about 0.10 of a leaf width (d116, d113, d128, each normalised
   to its own floor the same way). So the fault was never in `render` — it was
   in how far these two CSS terms turned up shapes the drawing emits at
   `opacity="0"`, which is why the fix is here and why all 52 bare comparison
   sheets come back byte-identical from it.
   The terms still do their job: the contact line sits at 0.32 against the
   bare drawing's 0.40, so the foot is still darkened for the photographic
   floor — which is the whole reason they exist, the drawn room's shadow
   having read as nothing on the warmer stone. They are simply no longer
   turned up past the point where the blur makes its own second shadow. */
.is-photo .stage [data-seam="pool"]    { opacity: .10; }
.is-photo .stage [data-seam="contact"] { opacity: .16; }
/* The casing stands proud of the plaster and drops a shadow onto it. On the
   drawn wall 0.22 was enough — the wall was #F5F3EF and almost anything showed
   on it. On the photograph's warmer, darker plaster the same shadow reads as
   nothing, and the door's outer edge becomes a hard vector line against soft
   grain, which at 2x is the most visible tell left in the composite. It also
   does a second job the drawn room never needed: it is what keeps a WHITE
   door's silhouette off a wall it nearly matches. */
.is-photo .stage [data-seam="casing"] { opacity: .34; }

/* The floor in the photograph is polished porcelain; the one it replaces was
   matte paper. `render` masks the reflection to about 900 mm of floor and
   fades it out, and that shape is right for both — what changes is how much
   of the door the surface throws back. */
.is-photo .stage g[mask] use { opacity: .2; }

.door-svg {
  /* Fills the stage rather than sitting fitted inside it. The door itself is
     drawn at exactly the size a fitted SVG would have chosen — app.js widens
     the viewBox by precisely the amount that would otherwise be letterbox —
     so the extra area shows more room, never a bigger door. */
  inline-size: 100%; block-size: 100%;
  display: block;
  /* The drawing NEVER mirrors with the interface. A right-hinged door is a
     physical fact; flipping it would mean ordering the wrong door.
     PLAN.md §6.1 */
  direction: ltr;
}

/* There was a `transition: fill .22s` on every rect, path and circle in the
   drawing here. It never ran once: paint() replaces the stage's innerHTML, so
   every element is brand new and has no previous fill to animate from. What it
   did do was ask the style engine to track transitions on a few hundred nodes
   on every colour change. The stage background still fades, because that
   element survives the swap.  */

.stage__bar {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding-block: 8px 10px;
  /* It carried the stage's background when it lived inside it. It is its own
     element now, so it has to say so, or it reads as a hole between the door
     and the choices. */
  background: var(--wall);
  border-block-end: 1px solid var(--rule);
}
@media (min-width: 1100px) { .stage__bar { border-block-end: 0; } }
.stage__note {
  margin: 0;
  text-align: center;
  font-size: .72rem; color: var(--ink-2);
}
/* ⚠ ON A PHONE THIS IS THE FIRST THING UNDER THE DOOR, and it is fine print.
   Seen by walking the guide: with the headline gone the caveat became the top
   of the scrolling half — two lines of legal text between the drawing and the
   question a customer is being asked. It stays (it is one sentence from
   `js/share.js`, so the page and the WhatsApp message cannot promise two
   different things) and it stops shouting: narrower measure so it wraps
   deliberately rather than filling the width, a smaller size, and the room
   above and below it that says "this is an aside". */
@media (max-width: 1099px) {
  .stage__bar { padding-block: 6px 8px; }
  .stage__note {
    font-size: .66rem; line-height: 1.4;
    max-inline-size: 34rem; padding-inline: 18px;
  }
  /* ⚠ AND SINCE 2.10.2026 IT IS NOT HERE AT ALL ON A PHONE — the owner's son
     answered that the note goes UNDER THE OPTIONS: `placePanelOrder` moves it
     into the live step, after the answers and the step's own explanation and
     before the explainer. The bar it leaves is empty and goes with it, so the
     first thing under the door is the question again. */
  .stage__bar:not(:has(.stage__note)) { display: none; }
  /* ⚠ A MEASURE IN rem, NEVER ch: a `ch` is the face's own "0", so a 42ch box
     changes WIDTH when Rubik swaps in for its fallback, and the note rewrapped
     2 → 3 lines in English at 390 on every step — 15 of 684 readings in the
     audit's type block (2.10, its first run). 34rem moves no line in any of
     the three languages at 320–390. */
  .sect__body > .stage__note {
    margin: 12px 0 0; padding: 0; text-align: start; max-inline-size: 34rem;
    font-size: .7rem; line-height: 1.45;
  }
  /* the step's explanation under its answers (2.10, ours — `placePanelOrder`) */
  .sect__body > .sect__lede { margin: 14px 0 0; }
  /* and step 01's gallery pill after its tiles, before the explanation */
  .sect__body > .works-open { margin-block: 14px 0; }
}
.pills--compact .pill {
  min-block-size: 36px; padding: 6px 18px; font-size: .82rem;
}

/* ── THE WALL IS THE CHROME ──────────────────────────────────────────
   Three things stand on the wall above the door: the language buttons, the
   price, and undo/redo. Asked for with three circles drawn on a screenshot.

   ⚠ ABSOLUTE, AND FOR A MEASURED REASON. Above 1100 px `.stage-wrap` is a flex
   column and `.stage` is `flex: 1 1 auto`, so anything in the FLOW up here
   takes its height out of the DOOR; a row of chrome in the flow would cost the
   drawing ~60 px at every desktop size. The grip controls used to stand in
   this wall for the same reason, with `--grip-strip` reserved even when they
   were empty — both went on 18.9.2026, and the rule they demonstrated is why
   this element and `.quote` are written the way they are.

   ⚠ AND IT DOES NOT COVER THE LEAF. `pointer-events: none` on the strip with
   `auto` back on the three slots, so the middle of the row — which passes over
   the door's head on a narrow screen — never eats a drag aimed at the handle.
   It used to share this wall with the grip bar — that was centred at 50% and
   this sits at the top, so they never met in the same band. The bar is gone
   and the whole wall is this element's and `.quote`'s. */
.stage__hud {
  position: absolute;
  /* ⚠ THE TOP OF THE DRAWING, NOT OF THE WRAP. The wrap opens with the page's
     `<h1>`, so a plain `0` put these three controls on top of the heading
     instead of on the wall. `--stage-top` is published by `fitStage` off the
     same two rects it already reads. The fallback is for the instant before
     the first paint, and for a page whose bundle never arrives. */
  inset-block-start: var(--stage-top, 0px);
  inset-inline: 8px;
  z-index: 4;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
  padding-block-start: 6px;
  pointer-events: none;
}
/* ⚠ THE LANGUAGE PICKER STANDS TOP-RIGHT IN EVERY LANGUAGE — 28.9.2026. It is
   the row's START slot, and a row starts on the right in Hebrew and on the
   left in English and Russian, so the picker changed walls with the language
   — and since the price moved to the LEFT of the door (physically, it is
   pinned to the drawing), in English and Russian the two would have stood in
   one corner. A left-to-right row runs the other way here, so the picker is
   on the physical right whatever the page's direction, and the undo and save
   on the left (§9's note on two controls pinned by rules that mirror
   differently is why this is stated rather than left to the direction). */
html:not([dir="rtl"]) .stage__hud { flex-direction: row-reverse; }
/* …and the slot the price now shares a wall with keeps the SAVE outermost, as
   Hebrew always had it: in Russian at 320 px, with the slot on the left and its
   own row running left-to-right, the save became the innermost of the three and
   put 263 px² of its glyph on the door (measured by the audit's wall-ink check
   the day the picker moved). */
html:not([dir="rtl"]) .hud__slot--end { flex-direction: row-reverse; }
/* ⚠ EACH SLOT CARRIES ITS OWN GROUND. The wall is nearly the same colour as
   the paper, so on a wide screen these three read as if they were painted on
   it — which is what was drawn. On a 390 px phone the door is tall and the
   band of wall above its head is only ~165 px, so the price lands ON the
   lintel: dark text on a dark frame. A surface behind each slot costs nothing
   where there is wall and rescues it where there is door. */
/* ⚠ AND THE GROUND IS ONLY AS STRONG AS IT HAS TO BE. It was `--paper` at full
   strength with a shadow under it, which on a wide screen — where these sit on
   400 px of clear plaster — read as two chips stuck onto the picture. A wash
   of the paper at 78 % keeps the rescue where the door really is in the way
   and lets the wall through where it is not. The shadow goes: a 2 px drop
   under a pill on a flat wall is the one thing in this room lit from a
   direction the drawing does not share. */
.hud__slot {
  pointer-events: auto; min-inline-size: 0;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  border-radius: var(--r-pill, 999px);
  padding: 2px 8px;
}
/* ⚠ `color-mix` IS NOT UNIVERSAL, AND THE FALLBACK HAS TO BE THE OPAQUE ONE,
   not none: a browser that drops the declaration above keeps the line before
   it, so an old engine gets the solid pill it always had rather than dark text
   on a dark lintel. Declaration order IS the fallback here — there is no
   `@supports` because the failure mode of the modern value is cosmetic and the
   failure mode of no value at all is unreadable. */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .hud__slot { background: var(--paper); }
}
/* ⚠ AND BELOW 1100 THE GROUND GOES ENTIRELY, BECAUSE IT WAS SITTING ON THE
   DOOR. Zooming a 320 px screenshot showed two white notches bitten out of the
   top corners of the casing; measured with `#frame`, the two slots overlap the
   drawn frame by **253 px² and 154 px²** at 320x568 (1 and 0 at 390, 0 on a
   desktop). It is the pill's BOX and not its contents: the slot runs to y=116
   and the frame's head starts at y=105, while the words and glyphs inside stop
   at y≈92 — comfortably clear.

   The ground was added when the PRICE was up here and landed on a dark lintel.
   The price left the wall for the quote bar, and the two controls that remain
   sit above the door's head at every width, so there is nothing left for it to
   rescue and a real thing for it to spoil.

   ⚠ Capping the slots to `--wall-gap` instead is REFUSED, and it is refused
   with a receipt: it was tried and reverted, because at 390 px the gap is
   ~90 px, the cap wrapped `Русский` onto two lines, and the pill grew DOWN over
   the leaf — the same fault, larger. */
@media (max-width: 1099px) {
  .hud__slot { background: none; padding-inline: 4px; }
}
/* ⚠ NOT CAPPED TO `--wall-gap`, AND THAT WAS THE FIRST TRY. Capping the two
   side slots to the measured gap beside the DOOR is the right instinct for
   `.grip-bar`, which hangs at mid-height where the door really is in the way.
   Up here it is wrong: this row sits in the band ABOVE the door's head, where
   the full width of the stage is wall. On a 390 px phone the gap is ~90 px, so
   the cap wrapped `English` and `Русский` onto two lines and the pill grew
   down over the leaf — the exact thing the cap was meant to prevent.
   The flex row's own `space-between` is what keeps the three apart, and
   `nowrap` is what stops any of them growing downward instead of sideways. */
.hud__slot--end { display: flex; justify-content: flex-end; }
.hud__slot--start, .hud__slot--end { flex: 0 0 auto; }
.stage__hud .langs { flex-wrap: nowrap; }
.stage__hud .lang { white-space: nowrap; }

/* The language buttons lose their pill chrome up here — on a wall they are
   text, not a toolbar. */
.stage__hud .langs { justify-content: flex-start; }

/* ══════════════════════════════════════════════════════════════════════
   THE QUOTE BAR — what it costs, and the way to send it
   ══════════════════════════════════════════════════════════════════════

   ⚠ ONE ELEMENT, TWO PLACEMENTS. Written phone-first, because the phone is
   where nearly every customer arrives and because the desktop placement is
   the override that has to come LAST — CLAUDE.md §8: a media query adds no
   specificity, and this file has been bitten three times by a rule inside one
   sitting above the base rule it means to beat.

   ⚠ AND STILL EXACTLY ONE PRICE ON THE PAGE. It moved WHOLE — label, figure,
   chevron and breakdown — and `#price` is still the only `[data-price]` the
   configurator paints. The audit's "every copy agrees" check therefore still
   has one reading to make, which is the state CLAUDE.md §0c records. */
.quote {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 6;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  /* The notch, the home indicator, and the 8 px this bar wants anyway. */
  padding: 7px 14px calc(7px + env(safe-area-inset-bottom, 0px));
  background: var(--paper-up);
  /* Anything inside that has to match what is BEHIND it reads `--surface`,
     and this bar is not the page's ground — see the note on the token. */
  --surface: var(--paper-up);
  border-block-start: 1px solid var(--rule);
  box-shadow: 0 -6px 22px rgb(23 23 21 / .06);
}
/* ⚠ THE PRICE IS THE ONE THING IN THIS BAR THAT DOES NOT YIELD — 11.9.2026.
   All three children were `flex: 0 0 auto` except this one, which had no
   `flex` at all: `0 1 auto` with `min-inline-size: 0`, so it absorbed a
   hundred per cent of any deficit. Measured after engaging (the send's label
   grows from "У меня вопрос" to "Отправить в WhatsApp" once somebody walks a
   step) at 320x568 in RUSSIAN: available 284 px, send 169.2 + way-on 88.4 =
   257.6, leaving this box **26.4 px for a 57.8 px figure**. Text overflow is
   visible by default, so ₪3,195 rendered in full and 23.4 px of it was
   painted UNDER the green pill, which comes later in the DOM. 360x740 24.1 px,
   375x667 9.1 px; 390 and up clear it.

   ⚠ AND IT IS THE SAME MECHANISM `send__toggle` BELOW ALREADY RECORDS, one
   box out. That note says a shrunk toggle "LOOKED fixed while the real tap
   target was 23 px"; the floor put on it there is 44 px and the figure is
   57.8, so the spill simply moved up to the grid cell. A floor under the
   wrong box.

   ⚠ AND THE COMPRESSION BLOCK BELOW WAS FITTED TO ONE LANGUAGE. `max-width:
   359px` drops the caption and shrinks the figure — which is why 320 came out
   LESS broken than 360 and 375, where the deficit is 34.1 and 19.1 px with no
   compression at all. A threshold measured in Hebrew and applied to Russian.
   So the fix is not another breakpoint: the price keeps its content width at
   every width, and the SEND yields instead (see `.quote__send`).

   `flex-basis: auto` here is the figure's own width, so a five-digit door
   (₪11,295, 67 px at this size) takes what it needs rather than being told.
   ⚠ The grid inside did NOT stop the caption setting the box's width, as this
   note used to say — Russian's 152 px caption set it at every width. Below
   1100 the caption now yields; see the rule after `.sect__foot`, 27.9. */
.quote__price {
  position: relative;
  flex: 0 0 auto;
  display: grid; gap: 0;
  /* CLAUDE.md §8: never a bare `auto` track. An implicit column sizes to its
     widest item and refuses to shrink, which is how the old wall pill grew
     into the undo/redo circles at 320-353 px. */
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  min-inline-size: 0;
}
/* ⚠ THE CAPTION OVER THE FIGURE ("מחיר משוער") WENT ON 28.9.2026 — the
   owner's son: *"Remove the 'מחיר משוער' text above the price."* Its rules
   went with it (a rule for a class nothing emits reads as load-bearing); the
   A4 sheet keeps the words in its own fine print. */
/* ⚠ 44 px, LIKE EVERYTHING ELSE THAT CAN BE TAPPED, and 44 px WIDE as well as
   tall. An earlier version let this shrink to `min-inline-size: 0` and the
   figure still rendered — text overflow is visible by default — so it LOOKED
   fixed while the real tap target was 23 px. The floor is a floor: the
   padding gives way, the box does not. */
.quote__price .send__toggle {
  min-block-size: 44px; min-inline-size: 44px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 0;
}
.quote__price .send__figure {
  font: 400 1.45rem/1.05 var(--display);
  letter-spacing: .005em;
  font-variant-numeric: lining-nums tabular-nums;
}
/* ⚠ THE BREAKDOWN OPENS UPWARD DOWN HERE. It is pinned to the foot of the
   screen, so a popover hanging off the bottom of its own button is a popover
   nobody can read. `inset-block-end: 100%` is the same rule the other way up,
   and it is inside the base (phone) block on purpose — the wall placement
   below turns it back over. */
.quote .bd {
  position: absolute; inset-inline-start: 0; inset-block-end: 100%;
  inline-size: max-content; max-inline-size: min(22rem, 86vw);
  margin-block-end: 10px;
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-card, 10px);
  padding: 10px 12px; box-shadow: 0 8px 26px rgb(0 0 0 / .12);
  max-block-size: 46vh; overflow-y: auto;
  z-index: 1;
}
/* ⚠ QUIET. This is the part of the 27.8 instruction that survives: what was
   removed was a full-width GREEN bar offering to send a half-built door, and
   nothing here is green. It is a line of ink on paper with a hairline round
   it — present on every step, loud on none. The one green button on the site
   is still the summary's. */
/* ⚠ SOLID GREEN, BECAUSE THIS IS THE ONE ACTION THE SITE EXISTS TO PRODUCE.
   Reported from outside, 30.8.2026, looking at the shipped page: it was the
   QUIETEST thing on screen — a `--surface` pill with a hairline border and
   ink text, outweighed by `הבא` in the panel beside it and by half the
   chrome. On the bar that carries the price, the button that sends the door
   to Peretz should be the loudest element, not a ghost of one.
   `--wa` rather than ink or accent: the green send button is a decision taken
   from outside and recorded as not-to-be-re-litigated, and `.btn--wa` in the
   flow already wears it. A customer should not have to learn two shapes for
   the same action, which is the argument the phone bar's own note makes a few
   rules down.

   ⚠ AND THE ONE NUMBER AGAINST IT, MEASURED RATHER THAN LEFT TO BE FOUND:
   white on `--wa` is **3.05:1**, under the 4.5 normal-size text wants. That is
   not introduced here — `.btn--wa` in the flow is white on the same green at
   16 px and has shipped that way — so this inherits an existing exception
   rather than opening a new one, and the green itself was settled from
   outside. Two things follow. The label goes from 12.8 px to 14 and stays at
   600, because if the ratio is fixed the only lever left is size. And it is
   written down here rather than discovered later: fixing the contrast means
   fixing `--wa` ITSELF, once, for both buttons — darkening this one alone
   would put two different greens on one screen for one action, which is worse
   than the ratio. */
/* ⚠ AND THIS IS THE CHILD THAT YIELDS, BECAUSE ITS MEANING IS SAID TWICE.
   11.9.2026. Something in this row has to give on a 320 px phone — three
   controls at their natural widths want 315 px of a 284 px row in Russian —
   and of the three this is the only one whose job survives being narrowed: it
   is a green pill carrying the WhatsApp mark, so the brand is said by the
   glyph and the verb is said by the first word of the label. The price is a
   fact that has to be read whole, and the way on is the step's primary action
   with a word `markSteps` writes into it.

   ⚠ THE LABEL TRUNCATES RATHER THAN VANISHING, and that is the decision.
   Dropping it below a breakpoint was the other fix and is refused for the
   reason the breakpoint above already failed: it would be a width fitted to
   whichever language happened to be measured, and it would take the label
   away from Hebrew and English at widths where theirs fit comfortably. An
   ellipsis bites only where the row genuinely cannot hold the words, in
   whatever language, and the verb is what survives in all three — "שלחו…",
   "Send on…", "Отправить в…". A longer string invented later degrades the
   same way instead of climbing over the price.

   The spans need no `display` change: a flex item is blockified, so these
   `display: inline` labels are already block boxes and `text-overflow` reaches
   them. `white-space: nowrap` is inherited from the pill. */
/* ⚠ 48 px, .95 rem AT 700, A 20 px MARK SINCE 2.10.2026 — *"Make the WhatsApp
   button bigger and more present"* (it was 44 px, .875 rem at 600, 17 px).
   Still "שלחו" (his 27.9 word, for space). 48 is under the way on's 52, so
   the bar keeps its 67 px and `--quote-h` does not move (asserted). */
.quote__send {
  flex: 0 1 auto;
  min-inline-size: 0;
  display: inline-flex; align-items: center; gap: 7px;
  min-block-size: 48px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--r-pill, 999px);
  background: var(--wa);
  color: #fff; text-decoration: none;
  font-size: .95rem; font-weight: 700; white-space: nowrap;
  box-shadow: 0 1px 2px rgb(23 23 21 / .18);
}
.quote__send > span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; }
.quote__send:hover { filter: brightness(1.05); }
.quote__send .quote__ico { opacity: 1; }
.quote__send:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.quote__ico { inline-size: 17px; block-size: 17px; flex: 0 0 auto; opacity: .85; }
.quote__send .quote__ico { inline-size: 20px; block-size: 20px; }

/* ── THE WAY BACK AND THE WAY ON, IN THE BAR, ON A PHONE ONLY ───────
   27.9.2026, the owner's son: back and next "moved to the bottom of the page
   and be seen at all times". Two ICON arrows in one group, 4 px apart: the
   group takes the room the worded way on took (73-88 px measured; two 44 px
   arrows and the gap are 92), and a worded back beside a worded next would
   want more than a 320 px phone's row. Each is 44 px across and keeps
   `.btn`'s 52 px height, because at 320 px the way on's 52 px is what set the
   bar's 67 px and `--quote-h` feeds every fold check: the bar must not move.
   The chevron mirrors with the INTERFACE (chrome mirrors; the door never
   does). A disabled arrow is hidden but keeps its box, so the send and the
   price never shift between steps. */
.quote__nav { flex: 0 0 auto; display: flex; gap: 4px; }
.quote__chev {
  inline-size: 20px; block-size: 20px;
  fill: none; stroke: currentColor; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.quote__back .quote__chev { transform: scaleX(-1); }
html[dir="rtl"] .quote__next .quote__chev { transform: scaleX(-1); }
html[dir="rtl"] .quote__back .quote__chev { transform: none; }
.quote__arrow:disabled { visibility: hidden; }

/* ── THE WAY ON, IN THE BAR, ON A PHONE ONLY ─────────────────────────
   See the note in index.html for the measurement that put it here. Solid ink
   like the one in the flow, because it is the same action and a customer
   should not have to learn two shapes for it.
   ⚠ HIDDEN WHEN DISABLED rather than greyed. It is disabled on exactly one
   step — the summary, where there is nowhere to go — and a dead button beside
   the send on the screen whose whole job is sending is a distraction with no
   purpose. Since 27.9 it keeps its box when hidden (`.quote__arrow:disabled`),
   so the price and the send do not move on the summary. */
.quote__next {
  flex: 0 0 auto;
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
/* ⚠ THE "not above 1100" HALF OF THIS RULE IS NOT HERE, AND THAT IS THE POINT.
   It was, and it lost: `.btn { display: flex }` is defined eight hundred lines
   FURTHER DOWN this file at the same specificity, and a media query adds none.
   CLAUDE.md §8 states it in as many words and this is the fifth time the file
   has been bitten by it — the sticky stage, the stage's height, the order
   sheet's phone cap, the deleted dock's body padding, and now this. Measured
   the way the others were: the button was on screen at 1440x900, in the wall,
   under the send, in a full-page screenshot taken for another reason.
   The override lives beside `.btn`, after it. Search for `quote__next`. */

/* ⚠ BELOW 360 px THE CAPTION GOES AND THE FIGURE STAYS. Measured on the old
   wall pill and still true here: `מחיר משוער` is the caption, the figure is
   the fact, and a caption that wraps to two lines grows the bar's height on
   the screen with the least of it. */
@media (max-width: 359px) {
  .quote { padding-inline: 10px; gap: 8px; }
  .quote__price .send__figure { font-size: 1.25rem; }
  /* ⚠ KEPT AT .8 rem UNDER 360 ON 2.10, when the send became .95 rem at 700
     everywhere else: at 320 in Russian the row has no spare at all (the
     price, the send and the two arrows), and a bigger label would only
     ellipsise sooner. It is still 48 px and 700 here. */
  .quote__send { padding: 0 11px; font-size: .8rem; }
}

/* ── ≥1100 px · THE PRICE AND THE SEND STAND ON THE PHOTOGRAPH, LEFT OF THE
   DOOR, HIGH ────────────────────────────────────────────────────────────
   ⚠ MOVED 28.9.2026 — the owner's son: *"The price bigger and not on a white
   thing but directly on the image … Move the WhatsApp button with the price to
   the left of the door, between the door and the lamp, on the higher end."*
   It was a paper card at the door's top-right corner (27.9, his *"move to near
   the door, at the up right corner"*) and under the right-hand lamp before
   that (28.8, his circle) — every placement his, and he is the one moving it.
   So: NO GROUND. No card, no border, no shadow; the figure in `--display` at
   2.4 rem, and the send under it as a line of ink with the WhatsApp mark.
   Anchored PHYSICALLY, like everything pinned to the drawing (§0c — the
   drawing does not mirror): its right edge 8 px outside the casing's LEFT edge
   (`--frame-left`, published by `fitStage` off the frame's settled box), its
   top level with the casing's head (`--frame-top`) or 8 px under the wall's
   chrome where that reaches lower (`--hud-b`, the tall doubles). The text is
   set toward the door — flush right in every language.
   ⚠ INK ON A PHOTOGRAPH IS A CONTRAST QUESTION, and it was measured, not
   assumed: `npm run audit` samples the picture under the figure's box and the
   send's with the element hidden and holds the darkest of it to 4.5:1 against
   `--ink` at every desktop viewport. The wall there is the lamp-lit plaster
   left of the door (see the audit for the readings); no wash was needed. */
@media (min-width: 1100px) {
  .quote {
    position: absolute;
    inset-block-start: max(var(--frame-top, 12%), calc(var(--hud-b, 0px) + 8px));
    inset-block-end: auto;
    inset-inline: auto;
    right: calc(100% - var(--frame-left, 38%) + 8px);
    transform: none;
    flex-direction: column; align-items: flex-end; gap: 0;
    padding: 0;
    background: none;
    --surface: var(--paper);
    border: 0; border-radius: 0; box-shadow: none;
    text-align: right;
  }
  /* The column's cross axis follows the writing direction, and the door is on
     the right in every language — so in Hebrew "flush right" is the START. */
  html[dir="rtl"] .quote { align-items: flex-start; }
  .quote__price { justify-items: end; }
  html[dir="rtl"] .quote__price { justify-items: start; }
  .quote__price .send__figure { font-size: 2.4rem; line-height: 1; color: var(--ink); }
  /* Back the right way up: there is a whole wall below it here.
     ⚠ AND "A WHOLE WALL" WAS NOT MEASURED, AND ON HALF THE DESKTOP SHAPES IT
     IS NOT THERE — 13.9.2026. `46vh` is a guess at the room under the chip;
     the room is a fact, and `fitStage` publishes it as `--bd-room` off the
     anchor's own rect. On a 1280x720 laptop, one +₪200 colour and nothing
     else, the column ran 25 px past the foot of the window and took the
     `סה״כ` row with it — and above 1100 `body` is `100dvh; overflow: hidden`,
     so that row was not below the fold, it was unreachable by any gesture.
     `--bd-gap` is the margin, said ONCE and subtracted where it is applied.
     The `max()` is a floor: a screen too short to hold four rows under the
     price gets a small overhang rather than a popover of zero height.
     ⚠ It hangs off `.quote__price`, whose box is the FIGURE's since the
     caption went (28.9), so `left: 50%` centres it on the figure. And where
     the wall left of a wide door is narrower than half the breakdown, the
     stage's edge would cut it: `placeBreakdown` (js/app.js) moves it inboard
     by exactly that much (`--bd-shift`), and the audit names every reading
     where it did. */
  .quote .bd {
    --bd-gap: 8px;
    inset-block-end: auto; inset-block-start: 100%;
    /* ⚠ `left`, NOT `inset-inline-start` — 14.9.2026. A LOGICAL inset with a
       PHYSICAL transform does not centre anything: in RTL `inset-inline-start`
       resolves to `right`, and the popover sat its own half-width off its
       anchor (145.6 px at 1440×900, straight onto the door). `left: 50%` is
       measured from the anchor's left edge in both directions. */
    inset-inline: auto; left: 50%;
    transform: translateX(calc(-50% + var(--bd-shift, 0px)));
    margin-block-end: 0; margin-block-start: var(--bd-gap);
    max-block-size: max(132px, min(46vh, calc(var(--bd-room, 100vh) - var(--bd-gap) - 12px)));
    text-align: start;
  }
  /* ⚠ A GREEN PILL SINCE 2.10.2026 — the owner's son: *"Make the WhatsApp
     button bigger and more present."* Until then it was a line of ink with an
     underline, 44 px tall (28.9: "quiet is a matter of colour and weight");
     now the page's green with white words, 48 px, 700 at 1 rem, a 20 px mark,
     its edge flush with the figure's, on a soft shadow so it stands off the
     plaster (ours, CLAUDE.md §0a). The words are on the green, not on the
     picture, so the contrast that matters is white on `--wa` — 3.05:1, the
     exception recorded at the foot of the quote bar's note above and the
     summary's own button's; the FIGURE above it keeps its ≥ 4.5:1 on the
     picture. Where the wall left of the door cannot hold it on one line it
     WRAPS (two lines, never under 1 rem) rather than shrinking or running
     off the stage — `max-inline-size` is that wall.
     ⚠ NO GAP ABOVE IT, MEASURED: in English and Russian the navigator column
     stands under the price on the same wall and was already at its limit
     (`placeSteps`), so every pixel the price grows comes off the column's
     room. An 8 px margin put the column on the price at 1100–1152 (en) and
     1280 (ru, `halfextra2`); with none, the pill adds 4 px over the old line
     (48 against 44) and the readings left are named in the audit. */
  .quote__send {
    min-block-size: 48px; padding: 6px 18px; gap: 8px;
    background: var(--wa); color: #fff; border: 0;
    border-radius: var(--r-pill, 999px);
    box-shadow: 0 2px 8px rgb(0 0 0 / .22);
    font-size: 1rem; font-weight: 700; line-height: 1.2;
    white-space: normal; text-align: start;
    max-inline-size: max(140px, calc(var(--frame-left, 38%) - 16px));
  }
  .quote__send > span { overflow: visible; text-overflow: clip; }
  .quote__send .quote__ico { inline-size: 20px; block-size: 20px; }
  .quote__send:hover { filter: brightness(1.05); }
}

/* ⚠ `.grip-bar`, `.grip-live`, `.grip-bad` AND THE FOCUS RING STOOD HERE —
   REMOVED 18.9.2026 with the feature they dressed.
   The bar was an absolutely-positioned pill in the wall holding a hint and two
   buttons; `.grip-live` gave the handle `cursor: grab` and `touch-action:
   none` so a finger dragging it moved the handle instead of scrolling;
   `.grip-bad` was a colour matrix that kept the modelling and threw away every
   channel but red, because a tint does not show on metal; and the ring was
   drawn on `[data-chrome="focus"]` rather than by the browser, because
   Chromium's own outline traced the 44 px touch PAD and put a box across half
   the door — reported from outside twice, as "the hit box shows as huge" and
   as "lines left behind".
   None of it has a subject: nothing on this page positions a handle now.
   ⚠ TWO THINGS THE DELETION MUST NOT TAKE WITH IT, and both are above:
   `.stage__hud` and `.quote` are absolute for the SAME measured reason the bar
   was — above 1100 px `.stage-wrap` is a flex column and `.stage` is
   `flex: 1 1 auto`, so anything in FLOW there takes its height out of the
   DRAWING, and a control that merely appeared once cost the leaf 23,021
   pixels. That rule is why they are written the way they are. */

/* ── panel ────────────────────────────────────────────────── */

/* minmax(0, 1fr) here for the same reason as on .layout: `.panel` is a grid,
   its implicit column is `auto`, and `auto` is floored at its content's
   min-content width. One long category row was enough to push the whole panel
   52 px past a 320 px screen — the panel measured 320 and its scrollWidth 372,
   which is the signature of exactly this. */
.panel {
  padding: 20px 16px 32px;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 26px; align-content: start;
}
@media (min-width: 1100px) { .panel { padding: 22px 20px 28px; } }

/* ── the cabinet, two deep ────────────────────────────────────
   Level one is four SECTIONS — how it looks, its glass, its handles, its
   measurements. Level two is the categories inside one of them. Level three
   is the options.

   The two levels have to look like two levels or the fold reads as a bug, and
   the cheapest way to say so is the type: a section is a heading in sentence
   case at reading size, a category is the small letter-spaced caps this panel
   already used. Indentation alone would not do it — at 320px there is not
   enough width to indent with. */
.panel--choose { gap: 0; }

/* ── THE CHOICES, AS A CARD ─────────────────────────────────────────
   From the mockup. Measured before it was written: applying this to
   `.panel--choose` ITSELF, with no wrapper element, moves the door by ZERO
   pixels at 1100, 1280 and 1536 — the grid track is `minmax(300px, 420px)`
   and a margin on a grid item comes out of the item, never out of the stage's
   `1fr`. So `audit.mjs`'s "the door keeps its size" assertion is untouched by
   construction rather than by luck.
   `--surface` is re-declared because the card IS a different surface; see the
   note at the top of this file about the seventeen beige haloes.

   ⚠ AND IT IS NOT PURE WHITE ANY MORE, BECAUSE THE ROOM IS A PHOTOGRAPH.
   Measured at 1440, 1280 and 1680 with `tools/_bright.mjs`: the photographed
   wall's 99th percentile is **237** and a `#fff` card is **255**, so the
   loudest thing on the page was a 360x860 rectangle of screen-white standing
   beside a warm room — and DESIGN-LEVEL §1.2's whole argument is that the
   product is the only thing allowed to pull the eye.
   ⚠ THE FIX IS TEMPERATURE, NOT BRIGHTNESS, and the numbers say why. Dropping
   all the way to `--paper-up` (243) costs the card's internal dividers a tenth
   of their contrast — `--rule` measures 1.496:1 on white and 1.350 on
   paper-up, and CLAUDE.md records that white figure as exactly the reason a
   card keeps its structure. #FDFBF7 is 251: four points of brightness, all of
   the warmth, `--rule` holding at 1.447 and `--ink-2` at 5.37:1. The card
   stops reading as SCREEN and starts reading as PAPER, which was the real
   complaint — every other surface on this page is warm and this was the one
   neutral. */
@media (min-width: 1100px) {
  .panel--choose {
    --surface: #FDFBF7;
    background: var(--surface);
    border: 1px solid var(--rule);
    border-inline-start: 1px solid var(--rule);
    border-radius: var(--r-card);
    margin: 14px;
    block-size: calc(100% - 28px);
    box-shadow: var(--shadow-card);
  }
}

/* ── 01 02 03 04 ────────────────────────────────────────────────────
   A counter, not a field on SECTIONS and not a hand-written digit in the
   template: the number is a fact about POSITION, and a stored one goes stale
   the first time somebody reorders the list — which is the whole failure this
   file keeps paying for. Reordering SECTIONS renumbers these for free.
   They are `::before` on the head, so they are decoration and never reach the
   accessible name; a screen reader gets the title, which is what it wants. */
/* ── THE NAVIGATOR ──────────────────────────────────────────────────
   Four chips, numbered by the same counter the headings use so the two can
   never disagree about which section is which. A table of contents, not a
   progress bar — see the note in app.js about why a progress bar here cannot
   be honest. */
/* ── THE SPEC TABLE ─────────────────────────────────────────────────
   From the mockup. One row per fact, label on the right, value on the left.
   On a PHONE it collapses to the single line (`#summary`) instead — six rows
   of table is a lot of a 390 px screen to spend on something the customer
   already chose.

   ⚠ AND "A PHONE" USED TO MEAN "ANYTHING UNDER 1100 px", WHICH IS THE LAYOUT'S
   BREAKPOINT AND NOT THIS QUESTION'S. The argument above is about a 390 px
   screen and it was applied to an 834 px iPad and a 1024 px one, where there
   is no shortage of room at all — so the widest screens in the phone layout
   got the LEAST scannable form of the door, on the one step whose lede says
   בדקו שהכול נכון, check that everything is right.

   What the line actually reads, default door, Hebrew:
     חום-אפור כהה (רב בריח 7126D) · ללא חלון · ללא ידית משיכה · רותם ·
     סטנדרטית · סטנדרטי · ניקל · ימין, פנימה
   Nine values, no labels, and two of them are `סטנדרטית · סטנדרטי` side by
   side — the size and the משקוף, one letter apart. A customer asked to check
   that everything is right cannot tell which of those is the frame, and
   `רותם` does not say whether it is the lock or the grip. The table answers
   all three with a label and an icon, which is exactly why it exists above
   1100 and why it is the thing a desktop customer proof-reads.

   ⚠ THE 700 IS MEASURED, NOT PICKED, AND IT IS DELIBERATELY NOT LOWERED TO
   THE PHONE. Measured on the default door landing at the summary, in all
   three languages: the table is **282 px at every width from 375 up** and
   costs 244 px over the line at 834 and 223 px at 390 — so it is not much
   cheaper on a phone than on a tablet, and the decision to spend that budget
   on a 390 px screen has already been taken, the other way, on purpose. At
   700 the card's measure is 598 px, 42% wider than the 420 px column
   (`--panel-max`) the table was drawn for and is asserted in above 1100, and
   700 clears the largest phone in portrait (430) by a wide margin — this file
   records what a gate with no margin is worth.
   ⚠ **282 px IS THE DEFAULT DOOR AND NOT THE TABLE.** `specRows` emits up to
   fifteen; the loudest buildable door measures **twelve rows, 423 px**, and
   that figure is the same at 600, 700, 768, 834 and 1024 — the table's height
   does not depend on width at all, which is why the height gate below exists.
   No row wraps at any width from 375 up in any language; at 320 and 360 one
   or two do (423 → 464 px in Russian).
   `npm run audit` asserts that EXACTLY ONE of the two is on screen at every
   viewport, and which one. */
/* ⚠ SINCE 27.9.2026 IT IS A GRID OF PICTURES, NOT A TABLE — the owner's son:
   *"show the icons of all the things the person chose in each section instead
   of the text, clicking one takes them to that section."* Everything above is
   the history of the table this replaced (its 700 px swap with the one-line
   summary included, which is gone: the pictures read at every width, and
   `#summary` is visually hidden everywhere — the audit's form check asserts
   exactly that). One tile per spec row: the step tile's own glyph at 56 px,
   the option's short name under it, a hairline card that is a 44 px+ button
   to the step. Auto-filled at 84 px: two across at 320 and in the desktop's
   column (236 px beside the navigator), three at 390. Measured on the default
   door's eight tiles, whole above the pinned send on arrival: 1280×720 4
   (the table showed 3 of its 8 rows), 1100×800 6 (5), 1440×900 8 (7),
   1920×918 8 (7). The price is the phone: 294 px of grid at 390 and 395 at
   320, where the one-line run took 59 and 79 — the send there is in the
   fixed quote bar and never leaves the screen. */
.spec {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px; margin: 4px 0 14px;
}
.spec__row {
  display: grid; justify-items: center; align-content: start; gap: 4px;
  min-block-size: 44px; padding: 8px 4px 8px;
  border: 1px solid var(--rule); border-radius: var(--r-tile);
  background: none; appearance: none; -webkit-appearance: none;
  font: inherit; color: var(--ink); text-align: center;
}
button.spec__row { cursor: pointer; }
button.spec__row:hover { border-color: var(--ink-3); }
button.spec__row:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.spec__art { inline-size: 56px; block-size: 56px; display: grid; place-items: center; }
.spec__art svg { inline-size: 100%; block-size: 100%; }
.spec__art .spec__ico { inline-size: 28px; block-size: 28px; stroke: var(--ink-2); }
/* The colour is its own swatch — the chart's rectangle — rather than a glyph. */
.spec__swatch {
  inline-size: 48px; block-size: 36px; border-radius: 8px;
  background: var(--chip); border: 1px solid rgb(0 0 0 / .22);
}
.spec__name {
  font-size: .74rem; line-height: 1.25; color: var(--ink);
  max-inline-size: 100%; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}

/* ── THE NAVIGATOR, AS CIRCLES ──────────────────────────────────────
   From the mockup: an outlined circle per section joined by a hairline, the
   number and the label beneath, the active one ringed in the accent.
   ⚠ IT IS STILL A TABLE OF CONTENTS. No ticks, no filled connector running up
   to "where you are", no `3 מתוך 4` — every one of those is a claim about
   PROGRESS, and progress here cannot be honest: `nowLabel` falls back to
   `list[0]`, so all four sections carry a value on first paint and any
   state-derived indicator reads 4/4 before the customer has touched anything.
   Measured, and written down in REDESIGN.md §4. */
/* ⚠ NINE CIRCLES WHERE THERE WERE FOUR, AND THEY MUST SCROLL RATHER THAN PUSH.
   Measured the moment the flow landed: the row overflowed a 390 px phone by
   54 px and took the whole PAGE sideways with it — every one of the audit's
   option clicks reported "page scrolls sideways by 54px", which is the one
   thing CLAUDE.md §8's `minmax(0, 1fr)` note is about in a different costume.
   `overflow-x: auto` on the row confines it; `min-inline-size: 0` is what
   actually lets a flex item shrink below its content, and without it the rule
   above does nothing. Scroll-snap so a flick lands on a circle rather than
   between two. */
.steps {
  position: relative;
  display: flex; gap: 4px; align-items: center;
  padding: 8px 0 9px;
  border-block-end: 1px solid var(--rule);
  margin-block-end: 4px;
  min-inline-size: 0;
  /* ⚠ AND A MINIMUM HEIGHT, BECAUSE `overflow-x: auto` COLLAPSED IT TO NOTHING.
     Measured on desktop before this line: `.steps` came out **21 px** tall and
     each 44 px circle inside it **44 x 23** — half-moons across the top of the
     card, and the 44 px touch floor broken on the one viewport nobody had
     measured it at.
     The cause is a spec rule, not a typo: `overflow-x: auto` with
     `overflow-y: visible` computes `overflow-y: auto`, so this row is a scroll
     container in BOTH axes — and a scroll container's automatic minimum size in
     the block axis is ZERO. As a grid item in an auto-sized row it therefore
     contributed no content height at all, and the flex column inside each step
     shrank the circle to fit what was left.
     Two lines fix it and both are needed: a floor here, and `flex: 0 0 auto` on
     the circle so it can never be the thing that gives. */
  min-block-size: calc(var(--tap) + 17px);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
  scroll-padding-inline: 14px;
  overscroll-behavior-inline: contain;
  /* ⚠ IT ALWAYS SCROLLS, AND NOTHING SAID SO. Reported off a 1920 screenshot:
     the row of circles is cut at the edge with no sign there is more of it.
     Measured in the choices card at that width — 310 px of room against
     424 px of circles, so **3 of 9 are off the end** — and the row cannot
     simply be made to fit: nine circles at the 44 px tap floor (T14) need
     428 px and the card is capped at 360.
     So the row fades at both ends instead. It is a permanent fade rather than
     one switched on by a class, because the overflow is permanent: nine
     circles exceed the rail at EVERY viewport this app has, from 320 px
     (320 available) to 1680 (360). A conditional class would be a second
     statement of a fact that is simply always true.
     `scrollbar-width: none` above is why it needs one at all — the row hides
     its scrollbar so the door is not framed by a grey stripe, and hiding the
     affordance is what left nothing. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 18px,
                    #000 calc(100% - 18px), transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0, #000 18px,
                    #000 calc(100% - 18px), transparent 100%);
}
.steps::-webkit-scrollbar { display: none; }
.steps__step { scroll-snap-align: center; }

/* ⚠ AND IT STICKS TO THE TOP OF THE PANEL, which four folded sections never
   needed and nine steps do. Found by the audit: after jumping to a late step
   the page scrolls, the navigator goes off the top, and the only way back to
   step 01 is to scroll up hunting for it — Playwright reported the dock
   intercepting the click, which is the same fault seen from below.
   A flow's table of contents has to be reachable from anywhere in the flow,
   or it is not navigation. `--surface` behind it so the step's content does
   not show through as it passes underneath. */
.steps {
  position: sticky;
  inset-block-start: 0;
  z-index: 3;
  /* ⚠ TRANSPARENT SINCE 27.9.2026: its dark ground is drawn by the panel
     (the column's stripe above 1100, a fixed strip below it) — see "THE
     NAVIGATOR IS A DARK COLUMN" further down. */
  background: none;
}

/* ⚠ ON A PHONE IT IS FIXED, NOT STICKY, AND THAT IS THE WHOLE POINT.
   Reported from outside: *"on the phone i want the steps to be on the top no
   matter what, right now it starts at the bottom and getting to the top and
   then slides to the top, and there are this in between."*

   Measured at 390x844 before this rule, the navigator's top edge by scroll
   position: 687, 487, 187, 0. Sticky pins an element at the top of the
   SCROLLPORT only once the scroll has carried it there, and this one starts
   below a sticky stage — so it spent the whole middle of that journey drifting
   ACROSS the door, which is the "in between" and is exactly what the first
   screenshot shows.

   Fixed from the first paint instead. `.bar` is pushed down by its height so
   the brand, the language buttons and the telephone are not covered at rest;
   everything else scrolls underneath. `--steps-h` is one number in two places
   and it is here, not measured in script: a JavaScript-published height would
   make the page's top depend on the bundle having run. */
@media (max-width: 1099px) {
  /* ⚠ 62, DOWN FROM 84. The row lost the number line under each circle, and
     this is the number that has to follow it — it reserves the fixed strip's
     height on `body` and pins `.stage-wrap` under it, so leaving it at 84
     would have opened a 22 px band of nothing between the navigator and the
     door. It is deliberately NOT measured in script: a JavaScript-published
     height would make the top of the page depend on the bundle having run.
     8 px above the circle, 9 below, 1 for the rule = 62. */
  :root { --steps-h: 62px; }
  .steps {
    position: fixed;
    inset-block-start: 0; inset-inline: 0;
    z-index: 6;
    padding-inline: 14px;
    margin-block-end: 0;
    border-block-end: 0;
  }
  /* ⚠ THE ROW'S DARK GROUND IS A STRIP OF ITS OWN, AND THAT IS FOR THE FADE —
     27.9.2026. The row keeps its geometry (62 px, `--steps-h`, nine scrolling
     44 px targets) and takes the column's look: ink, the live step a white
     square. Painted on the row itself, the ink would be faded out at both ends
     by the row's own `mask` (the "there is more this way" cue, which nine 44 px
     targets in 390 px still need) and the page would show through at the
     corners. So the ground is a fixed strip under it, owned by the panel so it
     goes wherever the panel goes (hidden with it in bare mode, removed with it
     on the order sheet, hidden with `#choices` on a page that cannot start),
     and only the icons fade into it. */
  .panel--choose::before {
    content: ''; position: fixed; z-index: 5;
    inset-block-start: 0; inset-inline: 0; block-size: var(--steps-h);
    background: var(--ink);
    pointer-events: none;
  }
  /* ⚠ THE PADDING MOVED TO `body` BECAUSE THE BAR IT WAS ON IS DELETED.
     Something has to reserve the fixed strip's height or the first thing in
     the document sits under it. And now something has to reserve the quote
     bar's at the other end, or the last option on every step — and the whole
     foot of the summary card — sits behind it. `--quote-h` is measured and
     published by `fitStage`; the fallback is for the instant before the first
     paint and for a page whose bundle never arrives, and it is deliberately a
     little generous rather than a little short. */
  body {
    padding-block-start: var(--steps-h);
    padding-block-end: calc(var(--quote-h, 62px) + env(safe-area-inset-bottom, 0px));
  }
  /* The door pins UNDER the navigator rather than behind it. */
  .stage-wrap { inset-block-start: var(--steps-h); }
  /* ⚠ AND CLEAR THE DOOR, NOT ONLY THE NAVIGATOR. This said
     `calc(var(--steps-h) + 8px)`, which clears the fixed strip at the top and
     stops there — but `.stage-wrap` is STICKY immediately below that strip, so
     the heading a customer had just asked for landed 388 px behind the drawing
     at 390x844 (323 at 320x568). Measured, on every step, on every jump.
     `--sticky-h` is the wrap's own measured height, published by `fitStage` off
     the same rect it already reads. The fallback is what the old rule did, so a
     page whose bundle never arrives is no worse than it was.

     ⚠ AND IT IS `scroll-padding` ON THE SCROLLPORT NOW, NOT `scroll-margin` ON
     `.sect` — SAME NUMBER, AND IT WAS ONLY EVER PROTECTING ONE ELEMENT.
     `scroll-margin` is a property of the thing being scrolled to, so this
     cleared the door for the step card and for nothing else, and `goStep` is
     not the only thing on this page that scrolls something into view.
     `keyboardGrid` calls `items[next].focus()` with no `preventScroll`, so the
     browser scrolls each newly focused OPTION into view — and "into view"
     means flush against the edge of the scrollport, which here is 62 px of
     fixed navigator plus a sticky door at one end and a fixed quote bar at the
     other. Measured, keyboard only, arrowing through every group of every step
     at eight viewports: the focused option was hidden on **7 of 8 steps at
     every width below 1100**, usually entirely — a 44 px colour swatch with
     44 px of it behind the door at 320x568, a 134 px lock tile with all 134
     behind it, 71 px behind the quote bar at 390. The ring went with it.

     A mouse never meets this: nothing scrolls when you click what you can
     already see. `scroll-padding` on the scrollport is the same arithmetic
     said once, in the one place that applies to every scroll into view —
     `goStep`'s heading, a tab, an arrow key, and whatever scrolls next. */
  :root {
    scroll-padding-block-start: calc(var(--steps-h) + var(--sticky-h, 0px) + 14px);
    scroll-padding-block-end: calc(var(--quote-h, 62px) + 14px);
  }

  /* ⚠ THE HEADLINE IS VISUALLY HIDDEN ON A PHONE, AND IT COSTS 86 px BACK.
     It was made visible from the mockup — a page that had a heading only a
     screen reader could find — and on a desktop that was right and stays.
     On a 390 px screen it is a 30 px display line in a band of its own colour
     between the navigator and the door: **86 px of the most expensive strip on
     the page**, a hard horizontal seam across the top of the room, and a
     sentence that tells a customer arriving from a WhatsApp link something
     they already know.

     What replaces it is not nothing: step 01 is `מבנה הדלת` with a lede
     explaining what is being asked, the tab says `בונים דלת — דלתות מגן`, and
     the door itself is on screen. On a phone the door is the scarce thing.

     ⚠ `.sr-only`, NOT `display: none`. `.stage-wrap` names this element in
     `aria-labelledby`, so removing it from the accessibility tree would
     silently unlabel the region AND leave the document with no `<h1>` at all
     — which is the exact fault the mockup was pointing at. */
  .stage__h1 {
    position: absolute; inline-size: 1px; block-size: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
}
/* `.steps::before` (the connector behind the circles) and `.steps::after` (the
   same line in accent, scaled to where you are) stood here until 27.9.2026.
   The owner's son asked for the navigator to be *"all … a black rectangle, and
   then the section that i am in will turn white and be square"*, and a
   hairline on ink says nothing; what is behind you is the checks now. */
.steps__step {
  position: relative; z-index: 1;
  flex: 1 1 0; min-inline-size: var(--tap);
  display: inline-flex; align-items: center; justify-content: center;
  min-block-size: var(--tap);
  padding: 0 2px;
  background: none; border: 0;
  cursor: pointer;
}
.steps__c {
  inline-size: var(--tap); block-size: var(--tap);
  /* ⚠ NEVER THE THING THAT GIVES. Without this the circle is a flex item with
     the default `flex-shrink: 1`, and when the row was collapsing (see the
     note on `.steps` above) it was the circle that absorbed the whole
     shortfall: 44 x 23 on every desktop viewport. */
  flex: 0 0 auto;
  display: grid; place-items: center;
  /* ⚠ A SQUARE ON INK, NOT A RING ON PAPER — 27.9.2026 (see the note on the
     dark column below). The mark is `--paper` on the column's `--ink`, 14.84:1;
     the live step's square is `--surface` with the mark in ink. The 44 px
     target is the square's own box, unchanged. */
  border: 0; border-radius: var(--r-tile);
  background: none;
  color: var(--paper);
  transition: background .12s var(--ease), color .12s var(--ease);
}
.steps__g { inline-size: 21px; block-size: 21px; }

/* ── ⚠ NINE CIRCLES HAVE TO FIT, AND THEY DID NOT ────────────────────
   Reported from outside, 30.8.2026: *"when i scroll down the options, the
   categories above look weird and overlap."* Measured before this block, with
   the row at its natural size against the space it is given:

       phone  390 px wide, content 456  ->  66 px hidden
       desk   310 px wide, content 428  -> 118 px hidden, ~2.7 circles

   So the row was ALWAYS overflowing and the last circles were sliced down
   their middles at the panel's edge. A half-circle butted against a cut is
   exactly what "weird and overlap" describes, and the sticky background —
   which is opaque and was never the problem — made the slice look like one
   layer sitting on another.

   The row is a table of contents for NINE things (eight steps and the
   summary), and one you must drag sideways to read is not much of one. So the
   overflow is taken out of the SPACING — every gap and the 2 px of padding
   each step carried — which is 32 px of the desktop's 118 and enough to close
   the phone's 66 on its own.

   ⚠ WHAT IS NOT DONE HERE, AND WHY, IS THE MORE USEFUL HALF. The circles were
   also shrunk, on a fine pointer only, to buy the rest. The audit refused it
   at six viewports and the change was backed out — see the block below. The
   desktop row therefore still scrolls, and closing that properly is a
   decision above CSS rather than a number to nudge. */
.steps { gap: 0; }
/* ⚠ AND ON A TOUCH SCREEN THE ROW STILL SCROLLS, BECAUSE NINE 44 px TARGETS
   DO NOT FIT IN 390 px AND 44 IS NOT NEGOTIABLE. This block first tried to
   close the phone gap the same way — padding down, let the steps share what
   is left — and `npm run audit` caught it within the minute: `steps__step:
   42x44` at 390 and `34x44` at 320, nine times each. 9 x 44 = 396 against a
   374 px content box is arithmetic, not a layout bug, and the thing that has
   to give is the ROW's completeness, never the target. So the circles hold
   their 44, the row keeps its scroll, and the active step is carried into
   view by `markSteps` (`scrollIntoView`, inline: nearest) so nobody has to
   drag it. `flex: 0 0 auto` states the floor as a floor: with `1 1 0` the
   min was being read as a suggestion and the steps came out 2 px under it. */
/* ⚠ AND THE CIRCLES KEEP THEIR 44 px AT EVERY WIDTH, WHICH IS WHY THIS BLOCK
   IS SHORTER THAN IT WAS. The first attempt closed the overflow by shrinking
   the circle to 30 px wherever a mouse was doing the aiming, on the reasoning
   that the 44 px floor is a floor for thumbs and WCAG 2.5.8 asks only 24 for a
   pointer. `npm run audit` refused it — and not only on the phone, which was
   the case being argued about, but at `cusp`, `narrow-d`, `laptop`, `wide` and
   `wide-short` as well: this project asserts 44 at EVERY viewport, deliberately
   and everywhere, and that assertion is not mine to reinterpret from inside a
   CSS file. It was backed out rather than argued with.

   What survives is the part that costs nothing: the gaps and the 2 px of
   per-step padding, 32 px of the desktop's 118 and enough to close the phone
   on its own. The desktop panel still cannot show nine 44 px circles in 310 px
   — that is arithmetic — so the row keeps its scroll there and `markSteps`
   keeps carrying the active step into view. Fixing the rest needs a decision
   above CSS: a wider panel, a wrapped row, or a rail that shows the current
   step with its neighbours instead of all nine. Recorded, not guessed at. */
.steps__step { padding: 0; }

/* ⚠ AND WHERE IT STILL SCROLLS, THE CUT IS MADE TO LOOK LIKE A CUT.
   Nine 44 px circles cannot fit a 310 px panel and the target is not
   negotiable, so the row goes on scrolling there. What was wrong was never
   the scrolling — it was that the last circle ended in a straight vertical
   slice with nothing to say why, which reads as one layer sitting on top of
   another rather than as "there is more this way".
   A soft fade at both inline ends says it instead. It is the standard
   affordance and it is free of the usual objection here: the strip's own
   background IS `--surface`, the same colour as the card behind it, so what
   the fade reveals at the very edge is the card — not a hole. 18 px, which is
   under half a circle: enough to round the cut, not enough to hide a step.
   `mask` fails closed — an unsupported browser gets today's hard edge and
   nothing else changes. */
@supports (mask-image: linear-gradient(#000, #000)) {
  .steps {
    mask-image: linear-gradient(to right, transparent 0, #000 18px,
                                #000 calc(100% - 18px), transparent 100%);
  }
}
/* ⚠ `.steps__l`, `.steps__n` AND `.steps__t` ARE GONE — the number under each
   circle and the title beside it. Both were measured out, not tidied away:
   the number said the same thing as the `NN ⁄ 08` the live step already
   prints, for 24 px of a phone's most expensive strip; and the title only ever
   showed above 1100 px, where nine of them do not fit a 310 px column
   (measured `scrollWidth` 429), so a desktop customer read nine truncated
   words. The button's accessible name is set in `app.js` and is now its only
   text — see the note there. */
.steps__step:hover .steps__c { background: rgb(255 255 255 / .12); color: #fff; }
/* ⚠ THE LIVE STEP IS A WHITE SQUARE — 27.9.2026, the owner's son: *"the section
   that i am in will turn white and be square."* `--surface` (the card's
   #FDFBF7 above 1100, the page's paper below) with the mark in `--ink`. It was
   an accent ring on a paper disc, and the ring behind you (`is-done`) went with
   the fill it belonged to; the accent is not spent on the navigator any more
   (`npm test`'s allow-list says so). */
.steps__step.is-on .steps__c {
  background: var(--surface); color: var(--ink);
}
/* ⚠ AND ON INK THE PAGE'S FOCUS RING IS INVISIBLE — `:focus-visible` is a 2 px
   `--ink` outline, the colour of the ground. The paper ring, 2 px off the
   square, is what a keyboard user sees here. */
.steps__step:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }

/* ── THE CHECK ON A STEP YOU HAVE LEFT — 27.9.2026 ────────────────────
   The owner's son: *"the icons of sections that the user has chosen or skipped
   need a checkmark."* `markSteps` puts `is-visited` on a step the customer has
   LEFT by a gesture (`visited` in app.js — never derived from the door, which
   carries a value on every step from the first paint). An 18 px disc at the
   square's top corner on the inline-end side: paper with an ink rim and tick,
   so it reads on the ink ground and on the live white square alike. */
.steps__v {
  position: absolute; z-index: 2;
  inset-block-start: -4px; inset-inline-end: -4px;
  inline-size: 18px; block-size: 18px;
  display: none; pointer-events: none;
}
.steps__step.is-visited .steps__v { display: block; }
/* A step that is not there has no mark (2.10.2026 — the window's designs,
   `grd`, present only with a window): `markSteps` sets `hidden`, and the
   page-wide `[hidden] { display: none !important }` above outranks the
   button's `inline-flex`. */
/* ⚠ AND THE DESIGNS' MARK IS TIED TO THE WINDOW'S — the owner's son: *"an icon
   next to the window one, basically a subsection."* A 2 px paper line across
   the boundary between the glass square and the designs square, clear of both
   glyphs (each 21 px in a 44 px square, so 11.5 px of margin): on the phone's
   row, where the squares touch, 12 px centred on the boundary; in the desktop
   column, across its gap (`--steps-gap`, 6 px or tightened) and 6 px into each
   margin. The designs always follow the glass, so the line hangs off the
   designs' INLINE-START (the row) or TOP (the column) edge — right in Hebrew,
   left in English, by the logical property alone. */
.steps__step[data-step="grd"]::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  background: var(--paper); border-radius: 1px;
  inset-block-start: calc(50% - 1px); block-size: 2px;
  inset-inline-start: -6px; inline-size: 12px;
}
@media (min-width: 1100px) {
  .stage-wrap > .steps .steps__step[data-step="grd"]::before {
    inset-inline-start: calc(50% - 1px); inline-size: 2px;
    inset-block-start: calc(-1 * var(--steps-gap, 6px) - 6px);
    block-size: calc(var(--steps-gap, 6px) + 12px);
  }
  /* ⚠ AND IN THE COLUMN THE DESIGNS' MARK STANDS BESIDE THE WINDOW'S, where
     the wall holds it (`placeSteps` decides, 2.10.2026 — a stacked eleventh
     mark had no room on most glazed doors under 1440). Out of the flow, level
     with the glass mark (`--grd-top` is its offset), past the column's
     inline-end edge — the door's side in both directions — in a 56 px tab of
     the column's ink whose two inline-start corners are square, so the tab
     and the column read as one piece. The squares stand 12 px apart (6 of the
     column's padding, 6 of the tab's), and the tie crosses that gap and 6 px
     into each margin: 24 px, level with their middles. The visited check sits
     on the square's corner, as it does in the column. */
  .stage-wrap > .steps[data-grd="beside"] .steps__step[data-step="grd"] {
    position: absolute; z-index: 1;
    inset-block-start: calc(var(--grd-top, 0px) - 6px);
    inset-inline-start: 100%;
    flex: none; box-sizing: border-box;
    inline-size: calc(var(--tap) + 12px); block-size: calc(var(--tap) + 12px);
    min-inline-size: 0; min-block-size: 0;
    padding: 6px;
    background: var(--ink);
    border-start-start-radius: 0; border-end-start-radius: 0;
    border-start-end-radius: var(--r-card); border-end-end-radius: var(--r-card);
    box-shadow: 0 6px 18px rgb(0 0 0 / .18);
  }
  .stage-wrap > .steps[data-grd="beside"] .steps__step[data-step="grd"]::before {
    inset-block-start: calc(50% - 1px); block-size: 2px;
    inset-inline-start: -12px; inline-size: 24px;
  }
  .stage-wrap > .steps[data-grd="beside"] .steps__step[data-step="grd"] .steps__v {
    inset-block-start: 2px; inset-inline-end: 2px;
  }
}
.steps__vg { inline-size: 18px; block-size: 18px; display: block; }
.steps__vg circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.steps__vg path {
  fill: none; stroke: var(--ink); stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.panel--choose { counter-reset: sect; }
.sect__head { counter-increment: sect; }
.sect__head::before {
  content: counter(sect, decimal-leading-zero);
  font: 600 11px/1 var(--mono);
  letter-spacing: .06em;
  /* ⚠ AND NO `opacity`. It was `--ink-2` at .65, which is a measured contrast
     multiplied by an unmeasured one — 0.65 of anything cannot be checked with
     `contrast()` because the value that reaches the eye depends on the ground.
     `--accent-ink` is chosen against the two grounds this counter actually
     sits on (4.92:1 on paper, 5.76:1 on the white card) and then left alone. */
  color: var(--accent-ink);
  align-self: center;
  min-inline-size: 1.6em;
}

/* ══════════════════════════════════════════════════════════════════════
   THE STEP, AS A CARD OF TYPE
   ══════════════════════════════════════════════════════════════════════

   ⚠ `.sect__where`, `.sect__title`, `.sect__lede` AND `.sect__foot` HAD NO
   RULES AT ALL. The flow replaced the accordion and brought four new elements
   with it; the stylesheet kept the accordion's — `.sect__head`, `.sect__sub`,
   `.sect__now`, all of which the flow deleted — and never gained the new ones.
   So the eyebrow, the question, its explanation and the two buttons that carry
   a customer through the whole page rendered at browser defaults, and the
   step's own `<h2>` was 1rem/600: the same size as the group label under it.
   Nothing failed; the page simply had no typographic hierarchy on the surface
   the entire flow happens on.

   ⚠ AND THE ACCORDION'S BORDERS WENT WITH THEM. A rule above and below `.sect`
   drew a box round the single live step — correct when four sections were
   stacked and needed separating, meaningless when there is exactly one on
   screen. */

.sect__head {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; inline-size: 100%;
  font: inherit; color: inherit; text-align: start; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  min-block-size: 68px; padding: 12px 2px;
}
.sect__head:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

/* Clearance for the navigator's jump. The fixed step strip is what a
   heading can land behind now — the dock that used to cover the foot of
   the screen is gone. */
@media (max-width: 1099px) {
  .sect__head { scroll-margin-block: 8px calc(78px + 12px + env(safe-area-inset-bottom, 0px)); }
}

/* The text block takes the space it needs; the line beside it yields.
   It was the other way round — `.sect__now` grew and this shrank — which is
   backwards, because `.sect__now` is the one designed to be cut short and this
   one is not. With the priorities swapped the description fits on one line at
   every width above 320px instead of orphaning its last word. */
.sect__text { flex: 1 1 auto; min-inline-size: 0; display: grid; gap: 2px; }
/* The eyebrow: the step's position in words on a question, the summary's
   subtitle on the last step. Small, lightly tracked, and the one place
   `--accent-ink` is spent as text.

   ⚠ IT WAS SET IN `--mono` AT .14em, AND THE MOMENT ITS CONTENT BECAME A
   SENTENCE THAT STOPPED BEING TYPOGRAPHY AND BECAME A SUBSTITUTION. Reported
   from outside as "the summary's eyebrow renders oddly" — one step, low
   stakes. It was on all nine, and the cause is bigger than the symptom:

     · `--mono` is `ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas,
       monospace` and NOT ONE OF THOSE FACES CARRIES HEBREW. Chromium picks a
       face per glyph, so the line came out in two typefaces at once — the
       numerals in the monospace face the token asks for, the Hebrew words in
       whatever last-resort face the machine happens to have. Measured at
       1280x720 on the real page: the string `שלב 1 מתוך 8` is 95.58 px wide
       in `--mono` and 80.44 px in `--sans`, and the control is the digits,
       which the mono stack DOES cover — `11118888` is 55.47 against 43.33.
       Two different widths for the same string is two different faces.
     · AND .14em ON HEBREW IS NOT TRACKING, IT IS A GAP. Same string, same
       face: 80.44 px tracked against 61.06 px untracked. Thirty-two per cent
       of the line was letter-spacing, on a script that takes almost none.

   ⚠ THE TOKEN IS NOT AT FAULT AND IS NOT CHANGED. `--mono` exists to give
   prices, codes and dimensions tabular figures, and it does that correctly.
   What was wrong is that `NN ⁄ 08` — a Latin code, which is what the mono
   voice was chosen for — became `שלב 1 מתוך 8`, a sentence, when the slash
   was found to read backwards in an RTL column (see `markSteps`). The
   treatment did not follow the content. Four more slots still set Hebrew in
   `--mono` and are recorded in CLAUDE.md §9 rather than swept up here: they
   are captions at .6-.66rem where the substitution is small and the tabular
   figures beside it are the point. This one is 11.5 px, tracked, in the
   accent ink, on every screen. */
.sect__where {
  margin: 0 0 10px;
  font: 600 .72rem/1.2 var(--sans);
  /* The eyebrow keeps a voice — it is still the smallest, driest line on the
     step — but at the counter's .06em rather than a Latin code's .14em, which
     is the same value `.sect__head::before` already uses for the one thing on
     this page that IS still a bare numeral. */
  letter-spacing: .06em;
  color: var(--accent-ink);
}
/* ⚠ AND THE RING ON IT IS OURS, AND ONLY FOR THE KEYBOARD. The heading carries
   `tabindex="-1"` and `goStep` focuses it, because that is what announces the
   new step to a screen reader — and a programmatic focus can bring the
   browser's own outline with it: a hard black box round the biggest line on
   the page, after a tap. Seen in a walk-through screenshot before anybody
   could report it. `:focus-visible` keeps the ring where it earns its place —
   a keyboard user has to know where they are — and takes it off the tap. */
.sect__title:focus { outline: none; }
.sect__title:focus-visible {
  outline: 2px solid var(--accent-ink); outline-offset: 6px;
  border-radius: 3px;
}

/* The question itself. ⚠ HIDDEN FROM 27.9 TO 28.9, AND SHOWN AGAIN — on 27.9
   the owner's son moved the step's name above the door (*"the name of the
   section we are at, big — moved from the panel"*) and this `<h2>` was kept
   only for `goStep`'s focus and a screen reader; on 28.9: *"The title of the
   section also above the options."* So both: the band over the door and this,
   in the band's own face and weight, smaller — it heads the answers, it does
   not compete with the door. Kept compact on purpose: every pixel of it comes
   out of what a phone shows under the door (the audit's answer-on-screen
   clauses read it). */
.sect__title {
  margin: 0 0 6px;
  font: 700 clamp(19px, 1.5vw, 22px)/1.2 var(--display);
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}
@media (max-width: 1099px) {
  .sect__title { font-size: 1.12rem; margin-block-end: 4px; }
}
/* ⚠ EXCEPT ON A SCREEN UNDER 500 px TALL — a phone on its side, a laptop at
   200 %. Measured the day it was shown: at 844×390 the steps that showed an
   answer went 5 → 0, at 640×360 2 → 0 — the title's 25 px was the margin they
   had. There the band over the door, which stays in the sticky block and is
   always on screen, is the only place it is read; the `<h2>` goes back to
   visually hidden (still focused by `goStep`, still heard). Ours to have
   decided, named in CLAUDE.md §0a. */
@media (max-width: 1099px) and (max-height: 499px) {
  .sect__title {
    position: absolute; inline-size: 1px; block-size: 1px; margin: 0;
    padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}
/* What the question means, for the customer who does not already know. Capped
   at a readable measure rather than run to the full width of a 380 px card. */
.sect__lede {
  margin: 0 0 22px;
  font: 400 .94rem/1.55 var(--sans);
  color: var(--ink-2);
  max-inline-size: 42ch;
}

/* ═══════════════════════════════════════════════════════════════════
   ⚠ A GUIDED FLOW WHOSE LIVE STEP SHOWS NO OPTIONS IS NOT GUIDED.
   ═══════════════════════════════════════════════════════════════════
   Measured at 320x568, on ALL EIGHT question steps: the first tile's top sat
   68 px below the fold — 92 px on משקוף, whose explanation runs to four lines.
   A customer saw a door, a question, and nothing to answer it with. At 390
   every step passes, which is exactly why looking at a phone had not found it:
   390 is the phone people test on and 320 is the one they own.

   ⚠ AND THE FOLD IS NOT `innerHeight`. The quote bar is FIXED over the bottom
   67 px, so a tile that ends behind it is as unreachable as one below the
   screen. Measuring against the viewport said "1 px short" where the truth was
   68 — the first version of the new audit check made exactly that mistake and
   was corrected before it was believed.

   The budget at 320x568, all of it measured rather than assumed:

     rail            62      fixed
     stage          318      56vh
     eyebrow         24      13.8 + 10 margin
     question        35      25.3 + 10
     explanation     69      46.6 + 22   (69.9 + 22 on משקוף)
     field header    23
     quote bar       67      fixed
     ------------------------------------
                    598 of 568, before a single tile

   So about 114 px has to come from somewhere, and the memo's rule 4 says
   where: *the door may shrink to make the answer visible; it may not be
   cropped and it may not lose its room.* 79 px from the stage (56vh → 42vh)
   and 35 from the type, and the door is still 239 px tall on a 568 px screen.

   ⚠ AND THE MARGIN MATTERS AS MUCH AS THE FIX. A first pass landed Hebrew and
   English one pixel clear on משקוף and left RUSSIAN 23 px short, because that
   step's explanation runs to four lines there and three in the other two. Two
   languages agreeing by a pixel is not a measurement — see the last line here
   for where the extra came from.

   ⚠ SCOPED BY HEIGHT, NOT BY WIDTH. A 390x844 phone has room and must not pay
   for this; a 320x568 one has none.

   ⚠ AND IT CARRIED `and (orientation: portrait)` UNTIL 12.9.2026, WHICH
   EXCLUDED THE SCREENS THAT NEEDED IT MOST AND NOTHING ELSE. The reason
   written here for that clause was *"it keeps a tablet held sideways out of
   it — 1024x700 matches both the width and the height test and has plenty of
   room."* Both halves are false, and each was measured rather than argued:

   · **The tablets it names are already excluded by the HEIGHT test.** Every
     tablet in landscape that anybody owns is taller than 700 px — 1024x768 is
     768, and portrait ones are 1024, 1112, 1366. `max-height: 700px` has been
     keeping them out on its own the whole time, so the orientation clause was
     never load-bearing for its stated purpose. (Where a landscape tablet IS
     short — 1024x600 — it wants this rule, and now gets it: the band left for
     the question goes 131 → 215 px.)
   · **1024x768 does not have plenty of room.** Measured 11.9: the band
     between the stage and the quote bar is 205 px against a 320x568 phone's
     200, on 4.3x the screen area, and 0 of the grip step's 9 tiles are whole.
     That case is NOT fixed here — it fails `max-height: 700px` honestly — and
     it is in CLAUDE.md §9 with its cause, which is `.stage`'s `clamp(40vh,
     100vw, 56vh)` pinning the door at its MAXIMUM wherever `100vw` runs past
     `56vh`, i.e. exactly where the screen is shortest.

   So what the clause actually did was exclude **a phone held sideways**, and
   measured on the grip step that is the worst arrival in the whole app:

     | | stage | band | the step's own QUESTION |
     |---|---|---|---|
     | 568x320 | 179 | 8 | behind the quote bar |
     | 667x375 | 210 | 32 | behind the quote bar |
     | 740x360 | 202 | 25 | behind the quote bar |
     | 844x390 | 218 | 38 | behind the quote bar |
     | 932x430 | 241 | 56 | behind the quote bar |

   On arrival a customer who turns their phone sideways sees a rail, a room, a
   65 x 157 px door and a price — **and `שלב 3 מתוך 8` with no question under
   it**. That is worse than the 320x568 case this block was written for, where
   the question at least renders.

   ⚠ **AND ROTATING DOES NOT BUY A BIGGER DOOR, WHICH IS THE OBJECTION TO
   SHRINKING IT HERE AND IT DOES NOT SURVIVE A MEASUREMENT.** The crop is
   height-driven (§3), so the leaf's size is set by the stage's HEIGHT: at
   390x844 portrait the leaf is 120 x 290 px and at 844x390 it is **65 x 157**.
   Landscape is already the worst place on this site to look at a door. Rule 4
   applies at full strength — *the door may shrink to make the answer visible.*
   After: 667, 740, 844 and 932 all show the question. **Every portrait
   viewport is byte-identical**, checked at six of them, and 1024x768 is
   untouched.

   ⚠ AFTER the rules it overrides, all four of them (`.stage`'s two blocks
   above, and `.sect__where` / `.sect__title` / `.sect__lede` directly above).
   §8, five times in this file and twice by me. */
@media (max-width: 1099px) and (max-height: 700px) {
  .stage { block-size: clamp(36vh, 100vw, 42vh); }
  .sect__where { margin-block-end: 3px; }
  .sect__title { margin-block-end: 4px; }
  /* ⚠ AND SMALLER, WHICH IS THE ONE PLACE THIS ROUND TOUCHES TYPE SIZE — the
     RUSSIAN page is why. Measured at 320 on משקוף: the explanation runs to
     three lines in Hebrew and English (70 px) and FOUR in Russian (93 px), and
     23 px is exactly the amount by which the Russian page failed a check the
     other two passed. Worse, they passed it by ONE pixel, which is not a pass,
     it is a coincidence waiting for a copy edit.
     A secondary explanation at 13.8 px on a 320 px screen is ordinary
     typography; a question a customer cannot answer is not. Note what this
     does NOT do: it does not shorten anybody's copy — every word survives, in
     all three languages, and the `<details>` explainer under it is untouched. */
  .sect__lede  { margin-block-end: 10px; font-size: .86rem; }
  .field__body { padding-block: 2px 14px; }
}
/* What is inside, for a customer who does not yet know which of the four
   holds the thing they came to change. */
/* WRAPS, where the line below it truncates — and the difference is the whole
   point. This text is STATIC: it comes from the SECTIONS table and says what
   is inside the section, so it reads the same on every visit. Truncating it
   to "חלון, סוג זכוכי…" hides the last item of a list whose entire job is to
   tell a customer which of the four headings holds the thing they came to
   change, and buys nothing in return.
   It got `nowrap` because the rule was written by copying the one below,
   whose reasoning — a row that changes height as the selection changes makes
   the list jump under the finger — is true of a line that CHANGES and false
   of one that cannot. Measured before it was believed: clipped by 6px at
   1280 and 1680, and by 17px at 320. */
.sect__sub {
  font-size: .74rem; color: var(--ink-2);
  /* If it does have to take two lines on a narrow column, break them evenly
     rather than leaving one word stranded underneath. */
  text-wrap: balance;
}
/* The choices made inside, so a closed section still answers its own
   question. Truncates rather than wrapping: a row that changes height as the
   selection changes makes the list jump under the finger. */
.sect__now {
  /* 5rem so it always shows something — cut short is useful, absent is not. */
  flex: 0 1 auto; min-inline-size: 5rem;
  font-size: .78rem; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: end;
}
.sect.is-open .sect__now { visibility: hidden; }
.sect__body { padding-block-end: 8px; }

/* Inset from the section's own rule, so the nesting is visible at a glance
   even with every category closed. */
.sect__body .field { margin-inline-start: 10px; }
.sect__body .field:first-child { border-block-start: 1px solid var(--rule); }
.sect__body .field:last-child { border-block-end: 0; }

.field { border-block-end: 1px solid var(--rule); }

.field__head {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; inline-size: 100%;
  font: inherit; color: inherit; text-align: start; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  /* 56, not 44: this is the primary control of the page now, and the tap
     target guidance is a floor rather than a target. */
  min-block-size: 56px; padding: 8px 2px;
}
/* Inset, because a full-width row's outline would otherwise be clipped by
   the panel's own edge on the narrow layout. */
.field__head:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }

.field__title {
  margin: 0;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); font-weight: 600;
  flex: 0 0 auto;
}
/* The current choice, which is the whole reason a closed row is useful.
   It truncates rather than wrapping: a row that changes height as the
   selection changes makes the list jump under the finger. */
.field__now {
  flex: 1 1 auto; min-inline-size: 0;
  font-size: .84rem; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-align: end;
}
.field__chev {
  flex: 0 0 auto; inline-size: 10px; block-size: 10px;
  border-inline-end: 2px solid var(--ink-2); border-block-end: 2px solid var(--ink-2);
  transform: rotate(45deg); transition: transform .16s ease;
  margin-block-end: 4px;
}
/* DOWN when open, not sideways. The closed state points along the reading
   direction — "there is more this way" — and the open state has to turn
   through a right angle to mean "and here it is". It was rotate(-135deg),
   which is the same corner pointing the other way along the SAME axis: two
   states that differ only in which way a horizontal arrow faces, which is
   how a chevron ends up meaning nothing. */
.field.is-open .field__chev { transform: rotate(-45deg); margin-block: 4px 0; }
.field.is-open .field__title { color: var(--ink); }

.field__body { padding-block: 4px 20px; }
.field__hint { margin: 10px 0 0; font-size: .78rem; color: var(--ink-2); }
/* Why something in this group is unavailable, said once at the foot of the
   group as well as on the tile — the tile's own line is four characters wide
   at 78px and cannot carry a sentence. */
.field__note { margin: 10px 0 0; font-size: .78rem; color: var(--warn); }

.sect.is-open > .sect__head .field__chev { transform: rotate(-45deg); margin-block: 4px 0; }

@media (prefers-reduced-motion: reduce) { .field__chev { transition: none; } }

/* ── THE GALLERY OF REAL DOORS ────────────────────────────────────── */

/* The opener sits above the navigator, so it is the first thing in the panel
   and the first offer the page makes.
   ⚠ ON THE ACCENT, 27.9.2026 — the owner's son: *"the button with the ready
   doors needs to be more apparent, still in the palette."* It was a paper
   card with a hairline border, quieter than every tile under it. The ground
   is `--accent`, the palette's own tan, and the text is `--ink` on it —
   **5.62:1**, asserted in `npm test` beside the accent's allow-list, which
   names this selector and why. `--accent-ink` as text on this ground would
   be 1.86:1; the count takes `--ink` too. Still not the send: no green, no
   verb about the order. */
.works-open {
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  inline-size: 100%; min-block-size: 56px;
  margin-block-end: 12px; padding: 10px 14px;
  background: var(--accent);
  border: 1px solid var(--accent); border-radius: var(--r-tile);
  font: inherit; color: var(--ink); text-align: start; cursor: pointer;
}
.works-open:hover { border-color: var(--ink); }
.works-open__t { font-weight: 600; font-size: .92rem; }
.works-open__n { font-size: .78rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
/* ⚠ AND ON A PHONE IT SHOWS ON THE FIRST STEP ONLY. See the note in
   `markSteps` for why: it is an offer about where to START, and on a phone it
   was standing between the door and the question on all nine steps. The
   attribute is set by the script; the fallback when it is unset — a page whose
   bundle never ran — is to SHOW it, because there is no flow then either and
   the gallery is one of the few things that still works.
   ⚠ The two base rules for `__t` and `__n` stood AFTER this block until
   27.9.2026, so the phone's `font-weight: 500` below lost to them by source
   order (§8, a media query adds no specificity) — they are above it now. */
@media (max-width: 1099px) {
  .panel--choose[data-live]:not([data-live="fit"]) .works-open { display: none; }
  /* ⚠ AND ON THE STEP WHERE IT DOES SHOW IT IS A PILL, NOT A CARD. Accounted
     for pixel by pixel at 320x568, on arrival, on step 01: rail 62 + door 239 +
     illustration note 45 + panel padding 20 + **this box 56** + gaps 12 + the
     question block 105 puts the first size tile at y=571 with the fold — the
     top of the fixed quote bar — at 501. It is the only step with this box on
     it, and it is the only step at 320 that arrives with no answer in view.
     So it is a pill at the 44 px tap floor — which is a floor, so this is as
     short as it may legally be. Since 27.9 it keeps the accent ground: shorter
     is about the height, and "more apparent" is about the colour.
     ⚠ 16 px is all that buys, and it does not close the gap: see CLAUDE.md's
     open list for the arrival measurement and what closing it would cost. */
  .works-open {
    min-block-size: var(--tap); margin-block-end: 8px;
    padding: 4px 14px; border-radius: var(--r-pill);
  }
  .works-open__t { font-weight: 600; font-size: .86rem; }
}

.works {
  /* ⚠ ONE HEIGHT, NAMED. The dialog's cap and the grid's cap inside it are the
     SAME quantity minus the head — and they were written as `88dvh` in one
     rule and `calc(88dvh - 118px)` in another, so changing the dialog's height
     silently left the grid sized for the old one. CLAUDE.md §5. The 118 is the
     head and lede above the grid; it is still hand-derived, and it is now the
     only hand-derived number of the two. */
  --works-h: 88dvh;
  inline-size: min(1000px, 94vw);
  max-block-size: var(--works-h);
  padding: 0;
  /* A hairline even in forced colours: every other floating surface on this
     page has one, and without it the dialog has no edge against its own
     backdrop when the author colours are thrown away. */
  border: 1px solid transparent; border-radius: var(--r-card);
  /* Its own surface, re-declared: anything inside that has to match what is
     BEHIND it reads `--surface`, and this is a white card over a dim
     backdrop rather than the page's paper. */
  --surface: #fff;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.works::backdrop { background: rgb(23 23 21 / .55); }
.works__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px 10px;
}
.works__h { margin: 0; font-size: 1.05rem; }
.works__x {
  appearance: none; background: none; border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  min-inline-size: 44px; min-block-size: 44px;
  font: inherit; color: var(--ink); cursor: pointer;
}
.works__x:hover { border-color: var(--ink-2); }
.works__lede { margin: 0; padding: 0 18px 12px; font-size: .82rem; color: var(--ink-2); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 12px;
  /* ⚠ TOP PADDING, because this box scrolls and `:focus-visible` draws its ring
     2 px OUTSIDE the button. With `padding: 0 18px 18px` the ring on every
     tile in the first row was clipped away by the scroll container's own edge
     — the whole top row of a keyboard walk looked unfocused. */
  padding: 4px 18px 18px;
  /* This box is the scroll container, so it is also the observer's root — see
     `buildWorks`. A door is drawn when it comes within a screen of here and
     thrown away again when it leaves. */
  max-block-size: calc(var(--works-h) - 118px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ⚠ AT 320 px THIS GALLERY SHOWED **TWO** OF PERETZ'S THIRTY DOORS, AND THE
   WIDTH THAT DID IT IS CHROME'S, NOT OURS. A modal `<dialog>` carries a UA
   `margin: 19px` and `max-inline-size: calc(100% - 38px)`, and `max-` beats
   the `inline-size: min(1000px, 94vw)` declared above — so on a 320 px screen
   the dialog is **282**, not the 300.8 this file asks for, and our own rule is
   inert at exactly the width it matters at. Measured 12.9.2026, computed
   styles off the live dialog.

   What that costs, and it is all margin rather than tiles: 320 px of screen,
   less 38 of UA margin, less 36 of the grid's own padding, leaves **244** for
   the doors. Two columns of the 132 minimum plus the 12 gap want **276**. So
   it fell to one column and a customer scrolled fifteen screens to see thirty
   doors — while a 360 px phone, 12% wider, got two columns and three times as
   many on screen. An `auto-fill` cliff, the shape §9 already records for the
   option grids.

   | | dialog | for the doors | columns | on screen |
   |---|---|---|---|---|
   | 320, as it was | 282 | 244 | **1** | **2 of 30** |
   | 320, now | 308 | 284 | **2** | **4 of 30** |
   | 360, untouched | 322 | 286 | 2 | 6 of 30 |

   ⚠ **THE 132 MINIMUM IS NOT TOUCHED, AND THAT IS THE WHOLE POINT.** The tile
   comes out at **135 px — the size it already ships at on a 360 px phone** —
   so nothing here rests on a judgement about how small a door may be drawn and
   still be chosen from. Dropping the minimum instead was measured and refused:
   at a 105 px art box the closest pair of Peretz's doors differ on **0.48% of
   pixels**, and §0b records 0.45% (`ella` against `barblack`) as the figure
   that meant *a customer comparing two products was looking at the same
   picture*. Six doors nobody can tell apart is worse than two they can.

   Both halves are load-bearing: at the 18 px grid padding the reclaimed margin
   leaves 272 and it stays one column. `inline-size` is restated because with
   only `max-inline-size` widened our own `94vw` becomes the binding constraint
   and lands at 301 — one pixel short of the 276 + 24 it needs, which is a
   coincidence rather than a margin. AFTER the rules it overrides — §8. */
@media (max-width: 359px) {
  .works {
    margin-inline: 6px;
    inline-size: calc(100% - 12px);
    max-inline-size: calc(100% - 12px);
  }
  .works__grid { padding-inline: 12px; }
}

.work {
  appearance: none; -webkit-appearance: none;
  display: grid; gap: 6px;
  padding: 8px 8px 10px;
  background: var(--paper-up);
  border: 1px solid var(--rule); border-radius: var(--r-tile);
  font: inherit; color: inherit; cursor: pointer;
  transition: border-color .12s var(--ease);
}
.work:hover { border-color: var(--accent); }
/* ⚠ A FIXED BOX WHETHER OR NOT THE DOOR INSIDE IT HAS BEEN DRAWN YET. The art
   is filled in and emptied again as the grid scrolls, and a cell that
   collapsed when its door was thrown away would move every tile below it —
   which moves them through the observer, which redraws them. A lazy grid that
   reflows is a lazy grid that thrashes. */
.work__art {
  display: block; block-size: 132px;
  background: var(--wall);
  border-radius: 8px; overflow: hidden;
}
/* The drawing never mirrors with the interface, here as on the stage: a
   right-hinged door is a physical fact. PLAN.md §6.1 */
.work__art svg { inline-size: 100%; block-size: 100%; display: block; }
.work__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.work__name {
  font-size: .74rem; color: var(--ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.work__price { font-size: .78rem; font-weight: 600; white-space: nowrap; }

/* Bare mode photographs the drawing and no page around it. The dialog draws
   nothing until it is opened and the opener is inside the panel, which is
   hidden already — but anything added to the page joins this list the same
   day, which is the rule that stopped a headline faking a 5.2% regression. */
/* ── the confirm dialog — 27.9.2026 ──────────────────────────────
   It replaced the lever-against-bar dialog of 20.9 (`.clash`): the same card —
   the width of a sentence, the gallery's surface and backdrop, centred by the
   UA's own dialog rules — with two forms. Yes/no for a tap that would take
   something away: yes the `--danger` red with white text, no the ink pill
   (*"a red button that says yes and a black that says no"*). One button for an
   arrow with nowhere to go. No animation: nothing for `.is-bare` or
   `prefers-reduced-motion` to kill (T9, T13), and a modal that appears at once
   is the honest shape for a question. */
.confirm {
  inline-size: min(420px, 92vw);
  padding: 22px 22px 18px;
  border: 1px solid transparent; border-radius: var(--r-card);
  --surface: #fff;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.confirm::backdrop { background: rgb(23 23 21 / .55); }
.confirm__p { margin: 0 0 16px; font-size: 1rem; line-height: 1.5; }
.confirm__row { display: flex; justify-content: flex-end; gap: 10px; }
/* 44 px on both axes, the floor. `.btn` is defined further down this file,
   so the dialog's own class goes in front (higher specificity) rather than
   trusting source order (§8). */
.confirm .confirm__yes, .confirm .confirm__no, .confirm .confirm__ok {
  min-block-size: 44px; min-inline-size: 72px;
}
.confirm .confirm__yes { background: var(--danger); color: #fff; border-color: var(--danger); }
.confirm .confirm__no, .confirm .confirm__ok { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.is-bare .works, .is-bare .works-open, .is-bare .confirm { display: none; }

/* ── THE SHARE SHEET — 25.11.2026 (js/app.js `openShareSheet`) ─────────
   Under the share button above 700 px (the script writes top/left), a sheet
   from the bottom on a phone. The link in full, selectable, with a copy that
   says it copied; WhatsApp in the send button's green; the system share last. */
.sharesheet {
  inline-size: min(380px, 92vw);
  padding: 16px 18px 18px;
  border: 1px solid var(--rule); border-radius: var(--r-card);
  background: #fff; color: var(--ink);
  box-shadow: 0 18px 48px rgb(23 23 21 / .22);
}
.sharesheet::backdrop { background: rgb(23 23 21 / .28); }
.sharesheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 4px; }
.sharesheet__h { margin: 0; font: 700 1.1rem/1.3 var(--sans); }
.sharesheet__x { inline-size: 40px; block-size: 40px; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--ink); cursor: pointer; }
.sharesheet__lede { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--ink-2); }
.sharesheet__link { display: flex; gap: 8px; margin-block-end: 10px; }
.sharesheet__link { align-items: stretch; }
.sharesheet__url { flex: 1 1 auto; min-inline-size: 0; min-block-size: 46px; padding: 11px 12px; border: 1px solid var(--rule);
  border-radius: 12px; background: var(--paper); color: var(--ink); font: 600 .92rem/1.35 var(--sans);
  overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; cursor: text; text-align: left; }
.sharesheet__url:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.sharesheet .sharesheet__copy { flex: none; min-block-size: 46px; min-inline-size: 92px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sharesheet .sharesheet__copy.is-done { background: var(--wa); border-color: var(--wa); color: #fff; }
.sharesheet .sharesheet__wa, .sharesheet .sharesheet__more {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  inline-size: 100%; min-block-size: 50px; margin-block-start: 8px; text-decoration: none; font-weight: 700;
}
.sharesheet .sharesheet__wa { border-color: var(--wa); }
.sharesheet .sharesheet__more { background: #fff; color: var(--ink); border: 1px solid var(--rule); }
.sharesheet .sharesheet__more[hidden] { display: none; }
@media (max-width: 699px) {
  .sharesheet {
    inline-size: 100%; max-inline-size: 100%; margin: auto 0 0; inset-block-end: 0;
    border-radius: var(--r-card) var(--r-card) 0 0; border-block-end: 0;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
  }
}
.is-bare .sharesheet { display: none; }

/* ── THE FIRST-VISIT TOUR — 28.9.2026 (js/tour.js) ──────────────────
   A modal dialog over the whole viewport with no ground of its own: the scrim
   is the SVG under it (ink at .8 since 29.9 — *"more black"*; .6 before — cut
   out over the live target and over the language picker), the callout a
   paper card placed by the script, the arrows white lines from its edge to
   each cut-out. Its fade is the one animation it has, and it goes under
   reduced motion and in bare mode with every other (T9, T13). */
.tour {
  position: fixed; inset: 0; margin: 0; padding: 0; border: 0;
  inline-size: 100vw; block-size: 100vh; max-inline-size: none; max-block-size: none;
  background: transparent; overflow: hidden; color: var(--ink);
}
.tour::backdrop { background: transparent; }
.tour__scrim, .tour__arrows {
  position: absolute; inset: 0; inline-size: 100%; block-size: 100%;
  pointer-events: none;
}
.tour__arrow { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }   /* a path since 10.10 (js/tour.js `pointer`) */
.tour__card {
  position: absolute; inline-size: min(300px, calc(100vw - 32px));
  padding: 16px 16px 12px; border-radius: var(--r-card);
  background: var(--paper); box-shadow: 0 10px 30px rgb(0 0 0 / .28);
  animation: tourIn .25s var(--ease) both;
}
.tour__n { margin: 0 0 4px; font: 600 .72rem var(--sans); color: var(--ink-2); letter-spacing: .04em; }
.tour__t { margin: 0 0 12px; font: 400 .98rem/1.5 var(--sans); }
.tour__row { display: flex; justify-content: space-between; gap: 10px; }
.tour .tour__skip, .tour .tour__next { min-block-size: 44px; min-inline-size: 72px; }
.tour .tour__skip { background: none; color: var(--ink); border-color: var(--rule); }
.tour .tour__next { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@keyframes tourIn { from { opacity: 0; } }
/* ⚠ SMALLER ON A NARROW PHONE (29.9): with the picker in a cut-out of its own
   at the top-right, a 320 × 568 screen's options step has one free place for
   the callout — over the door, between the picker's cut-out and the options'
   — and the card at full size was taller than it (203 px in Russian against
   ~170). The words come down a size there; the buttons keep their 44 px. */
@media (max-width: 400px) {
  .tour__card { padding: 12px 12px 10px; }
  .tour__n { margin-block-end: 2px; }
  .tour__t { margin-block-end: 8px; font-size: .88rem; line-height: 1.4; }
}
/* THE PICKER WHILE THE TOUR HOLDS IT (29.9, js/tour.js): the same `#langs`,
   moved into the dialog and anchored where its slot stood — `top` and `right`
   are written by the script. Above the scrim, in its own cut-out; its slot's
   ground and its buttons' look come with it (`.hud__slot`, `.lang`). */
/* ⚠ `.hud__slot` IN THE SELECTOR since 25.11.2026: the globe picker's own
   `.hud__slot--start:has(.globe) { position: relative }` (23.11) is as specific
   as the plain `.tour .tour__langs` and comes later, so the picker stayed in the
   flow, a full-width block with its pill at the start: in English and Russian
   it covered «עיצובים» and the share, which the tour's last steps point at. */
.tour .hud__slot.tour__langs, .tour .tour__langs { position: absolute; z-index: 2; margin: 0; }
/* …and its slot on the wall held by an empty box of its size meanwhile
   (30.9: without it the save slid into the picker's corner), unseen. */
.tour__stand { visibility: hidden; }
.is-bare .tour { display: none; }

/* ── the save's two dialogs — 28.9.2026 ─────────────────────────────
   The confirm dialog's card and backdrop (they carry `.confirm`, so the bare
   rule above covers them too, and they animate as little as it does). The
   save dialog is three stacked choices — the first the ink primary, the list
   a quiet outline carrying its count, then a plain close — and the list is
   the drawer's own rows (`.saved`, above) in a wider card. */
.savedlg__col { display: grid; gap: 10px; }
.savedlg .savedlg__save, .savedlg .savedlg__list, .savedlg .savedlg__close {
  min-block-size: 48px; justify-content: center;
}
.savedlg .savedlg__save { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.savedlg .savedlg__list { background: none; color: var(--ink); border-color: var(--rule); }
.savedlg .savedlg__close { min-block-size: 44px; background: none; border-color: transparent; color: var(--ink-2); }
.saved-dlg { inline-size: min(560px, 94vw); }
.saved-dlg .saved {
  padding: 0; margin-block-end: 14px;
  background: none; border: 0;
  max-block-size: 60vh;
}
/* ⚠ TWO ACROSS ON A 320 PHONE TOO — the gallery's fix, for the gallery's
   reason: a modal dialog's UA `max-inline-size: calc(100% - 38px)` leaves 282
   of 320, less 44 of padding is 238, and two 132 tiles and a gap want 272 —
   one column. 6 px of margin and 12 of padding give 284. After the rules it
   overrides (§8). */
@media (max-width: 359px) {
  .saved-dlg {
    margin-inline: 6px; padding-inline: 12px;
    inline-size: calc(100% - 12px); max-inline-size: calc(100% - 12px);
  }
}

/* ── swatches ─────────────────────────────────────────────── */

/* ── COLOURS AS CIRCLES ─────────────────────────────────────────────
   From the mockup, and it earns its place: seventeen labelled tiles is a wall
   of text to read before choosing something you choose by LOOKING. Circles put
   the whole range on one glance.
   ⚠ THE NAME AND THE RAL DO NOT DISAPPEAR, they move. Peretz orders by the
   number on the manufacturer's sheet, so losing it would cost something real —
   it is on the swatch's `title`, in the spec table beside the price, and in
   the order. What is dropped is only its repetition seventeen times over.
   Every chip is 44 px, which is the floor this file enforces everywhere, and
   the accessible name still carries both. */
.swatches {
  display: grid;
  /* 50, up from 46, because the chip grew from 40 to 44 and its selected ring
     stands 4 px outside that — 44 + 2 gap + 2 ring = 48, which a 46 px track
     would clip on the one control this page asks you to choose by LOOKING.
     Measured at the narrowest layout the audit opens (320 px, minus the
     panel's 32 px of padding and the field's 10 px inset): four to a row where
     there were five, so seventeen colours take five rows instead of four. */
  /* ⚠ 64 SINCE 14.9.2026, up from 50: the chip is a 64 px rectangle carrying
     its code rather than a 44 px circle. What it costs, measured on the live
     page at four widths — the track, then swatches per row, rows, and the
     block's height:

       320   278px    4 -> 3 per row    5 -> 6 rows    323 -> 425 px
       360   318px    5 -> 4            4 -> 5         269 -> 363
       390   348px    5 -> 4            4 -> 5         269 -> 363
      1280   340px    5 -> 4            4 -> 5         269 -> 363

     One fewer to a row and one more row everywhere, and about 100 px of
     height. That is the price of putting the manufacturer's code on every
     swatch — the thing Peretz orders by, and the thing that was in the
     tooltip and nowhere a customer reading the page could see. */
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
}

.swatch {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; padding: 0;
  font: inherit; color: inherit; text-align: start;
  cursor: pointer;
  display: grid; place-items: center;
  min-block-size: 44px;
}

/* ⚠ A RECTANGLE CARRYING ITS CODE, 14.9.2026 — it was a 44 px circle and the
   code was `display: none`. Peretz asked for the colour options to be
   rectangles with the code inside them; it is what he orders by, and until now
   it lived in the tooltip and the accessible name and nowhere on the page.
   The code sits in a BAND at the foot rather than on the colour, and that is
   measured: across the seventeen, ten read better in white ink and seven in
   dark, sixteen clear 4.5 comfortably — and ירוק מרווה (#7A8272) tops out at
   3.99 white / 3.94 dark. No ink works on a mid-tone. The band is the panel's
   own surface with the page's own ink, which is the pairing every other label
   uses, so the contrast is the same on all seventeen instead of one ink for
   ten and another for seven, and the colour above it is left alone.
   Radius 8 rather than 50%: a circle has no straight foot to put a band on,
   and the swatches are the one control on this page a customer chooses by
   LOOKING — the colour wants the area a rectangle gives it. */
.swatch__chip {
  --ring: transparent;
  display: grid; grid-template-rows: 1fr auto;
  inline-size: 64px; block-size: 52px;
  background: var(--chip);
  border: 1px solid rgb(0 0 0 / .22);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--ring);
  transition: box-shadow .12s var(--ease);
}
.swatch__code {
  grid-row: 2;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono); font-size: .58rem; line-height: 1.6;
  letter-spacing: .02em;
  text-align: center;
  border-block-start: 1px solid rgb(0 0 0 / .14);
}
.swatch__name, .swatch__meta { display: none; }
/* The gap-ring construction is already the mockup's. What changes is only its
   colour — the same move as the tile border, for the same measured reason. */
.swatch.is-selected .swatch__chip { --ring: var(--accent-ink); }
.swatch:hover .swatch__chip { --ring: var(--rule); }
.swatch.is-selected:hover .swatch__chip { --ring: var(--accent-ink); }

.swatch__name { font-size: .82rem; line-height: 1.25; }
/* `--sans` since 28.9: it held Hebrew in `--mono`, which has none (§9, closed). */
.swatch__meta {
  font-family: var(--sans); font-size: .66rem; color: var(--ink-2);
}

/* ── tiles: windows, grilles, sizes ───────────────────────── */

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}
.tiles--sq { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }

/* A heading INSIDE the tile grid, splitting a long list into halves — the face
   designs are panels and stripes and there are twenty of them. `1 / -1` so it
   takes a whole row whatever the column count settles at; without it the
   heading becomes a grid cell and the tiles flow round it. */
.opts__sub {
  grid-column: 1 / -1;
  margin-block: 6px 0;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2);
}
.opts__sub:first-child { margin-block-start: 0; }

.tile {
  appearance: none; -webkit-appearance: none;
  background: none; padding: 10px 8px 12px;
  font: inherit; color: inherit; text-align: center;
  cursor: pointer;
  border: 1px solid var(--rule);
  border-radius: var(--r-tile);
  display: grid; gap: 3px; justify-items: center;
  min-block-size: 44px;
  /* the check badge is drawn against this box */
  position: relative;
  transition: border-color .12s var(--ease), box-shadow .12s var(--ease);
}
.tile:hover { border-color: var(--ink-2); }
.tile.is-selected { border-color: var(--accent-ink); box-shadow: inset 0 0 0 1px var(--accent-ink); }

/* ── THE CHECK BADGE ────────────────────────────────────────────────
   From the mockup. A ring alone says "this one is different"; a tick says
   "this one is chosen", and on a grid of sixteen grille patterns that is a
   real difference.
   ⚠ `content: ''` WITH THE TICK AS A BACKGROUND IMAGE, not `content: '✓'`.
   Generated text content is not reliably kept out of the accessibility tree —
   several screen readers announce it — and the state is already carried
   properly by `aria-checked` on the `role="radio"`. A background image cannot
   be announced by anything. It is also `pointer-events: none`, because the
   badge sits over the corner of a 44 px target and must not eat a tap.
   The disc is `--accent-ink` rather than `--accent`: see the note at the top
   of this file — the tan measures 2.64:1 on paper and a white tick on it
   would be a mark nobody with poor sight can read. */
.tile.is-selected::after {
  content: '';
  position: absolute; inset-block-start: -6px; inset-inline-end: -6px;
  inline-size: 18px; block-size: 18px;
  border-radius: 50%;
  background: var(--accent-ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.3 4.8 8.5 9.4 3.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 12px 12px no-repeat;
  pointer-events: none;
}
/* An unavailable option is dimmed to .55, and a badge saying "chosen" on a
   tile the rules are about to move you off would be the page contradicting
   itself. `markGroup` can leave a tile both selected and blocked. */
.tile.is-blocked::after { display: none; }

.tile__art { display: block; block-size: 54px; color: var(--ink-2); }
.tile.is-selected .tile__art { color: var(--ink); }
.glyph { block-size: 54px; inline-size: auto; display: block; }
.glyph--sq { inline-size: 38px; }
/* Hardware is chosen at arm's length in a shop, so its tile gets the room a
   door outline does not need: a door glyph is a rectangle either way, but a
   swan-neck and a cushion knob are only different if you can see them. */
.tiles--hw { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.tiles--hw .tile__art, .glyph--hw { block-size: 74px; }
/* ⚠ `.glyph__dim` IS GONE, 27.9.2026, AND ITS RULE WITH IT. It set `--mono` on
   the משקוף section's three dimension figures, so a number on the drawing and a
   number under it read as the same kind of thing. The owner's son took the
   figures off — *"it's better to not show a number than show a false one"* —
   and a rule for a class nothing emits is dead code that reads as load-bearing.
   The section's part NAMES keep `.glyph__lbl`, which takes the page's own sans:
   they are words, and `--mono` has no Hebrew in it (§9). */

.tile__name {
  font-size: .78rem; line-height: 1.2;
  /* ⚠ A WORD NEVER LEAVES ITS TILE (28.9). Rubik's Cyrillic is wider than the
     system sans the Russian page was always painted in, and three names are one
     word wider than an 80 px grille tile — "Геометрические", "Переплетённые",
     "Виноградная": measured, names outside their tile went 4 → 6 of 15 at 320,
     390, 768 and 1024 px. `hyphens: auto` breaks them where the language says
     (the page carries `lang`; Chrome on Android and Safari hyphenate Russian),
     and `overflow-wrap: anywhere` is the backstop where no dictionary is
     installed, as in headless Linux: an ugly break inside the tile beats clean
     text across the next one. Hebrew and English names are single short words
     and never reach either rule. */
  hyphens: auto; overflow-wrap: anywhere;
}
/* `--sans` since 28.9: it held Hebrew in `--mono`, which has none (§9, closed). */
.tile__meta { font-family: var(--sans); font-size: .62rem; color: var(--ink-2); }
/* ⚠ ONE LINE, AND NOT RED. `דורש חלון` was `--warn` at three wrapped lines,
   which did two things to a grid of tiles: it made the reason the LOUDEST
   colour on a page whose accent is tan, and it doubled the height of the tiles
   carrying it — so a row of five stood at five different heights and the grid
   read as broken rather than as calm.
   A blocked tile is not an error. It is a tile whose turn has not come, and it
   is still clickable: tapping it repairs the conflict rather than refusing.
   So the reason is stated the way a caption is — one line, ellipsised, in the
   secondary ink — and the ROW keeps its shape. */
.tile__why {
  /* `--sans` since 28.9: `--mono` has no Hebrew, and this is a Hebrew sentence (§9, closed). */
  font-family: var(--sans); font-size: .6rem; color: var(--ink-2);
  inline-size: 100%;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Unavailable, but never `disabled`: still focusable, still clickable, and it
   says why. Clicking repairs the conflict rather than refusing.
   ⚠ `.7`, NOT `.55`. At 55% a blocked tile's own artwork was fainter than the
   hairline round it, so a grid where half the options are blocked — the grille
   list on a solid door, which is what a customer meets on step 05 — read as a
   page still loading. It has to look unavailable, not absent. */
.tile.is-blocked { opacity: .7; }
.tile.is-blocked .tile__meta { display: none; }

/* ⚠ AND EVERY TILE IN A ROW IS THE SAME HEIGHT, BY CONSTRUCTION RATHER THAN BY
   LUCK. The grid stretches its items, so a row is as tall as its tallest tile
   and the SHORT ones were the ragged part: a tile with a one-word name sat
   with its artwork floating in the middle of a box sized by a three-word
   neighbour. `align-content: start` inside each tile pins the artwork to the
   top, so the pictures line up across the row whatever the words below do —
   which is the only alignment a customer comparing sixteen grilles is using. */
.tile { align-content: start; }

/* ── pills ────────────────────────────────────────────────── */

.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  appearance: none; -webkit-appearance: none;
  font: inherit; cursor: pointer;
  padding: 10px 16px; min-block-size: 44px;
  background: var(--paper-up);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  transition: border-color .12s var(--ease), background-color .12s var(--ease);
}
.pill:hover { border-color: var(--ink-2); }
.pill.is-selected {
  border-color: var(--accent-ink); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--accent-ink);
}

/* ── the send block ───────────────────────────────────────── */

/* ⚠ WHITE, AND IT RE-DECLARES `--surface` FOR THE SAME REASON THE CHOICES
   CARD DOES. Nothing inside it draws a ring in the page's background today,
   but the token exists precisely so that the next thing added here does not
   repeat the seventeen-beige-haloes bug described at the top of this file.
   `--rule` needs no re-measuring on the change: #D6D3CB is 1.50:1 on white
   against 1.28:1 on paper, so the dividers get MORE visible, not less. */
.send {
  --surface: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 20px 18px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  display: grid; gap: 12px;
}

.send__price { display: grid; gap: 2px; }
.send__label {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
/* Light and large, from the mockup: a price is the biggest thing on the card
   and it does not have to shout as well. 300 falls back to 400 in a face with
   no light weight (Arial Hebrew has none), which is a smaller figure than the
   one it replaces rather than a broken one. */
.send__figure {
  font-size: 2.2rem; font-weight: 300; line-height: 1.1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.send__incl { font-size: .78rem; color: var(--ink-2); }

/* ── the price opens ──────────────────────────────────────────────────
   The figure is a button now (see index.html). It must not LOOK like one: a
   price with a border round it reads as an action, and the action here is
   secondary to the number. So the button is bare, and the only affordance is
   the chevron — plus a real focus ring, because a control nobody can see is
   still a control somebody has to reach. */
.send__toggle {
  display: flex; align-items: baseline; gap: 8px;
  background: none; border: 0; padding: 0;
  inline-size: 100%; text-align: start; cursor: pointer;
  color: inherit; font: inherit;
  /* A 44px floor without pushing the figure around: the figure is already
     ~38px tall at 2.2rem/1.1, and 4px of block padding clears the target. */
  padding-block: 3px;
}
.send__toggle:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.send__chev {
  inline-size: 9px; block-size: 9px; flex: none;
  border-inline-end: 1.5px solid var(--ink-2);
  border-block-end:  1.5px solid var(--ink-2);
  transform: rotate(45deg); transform-origin: 60% 60%;
  transition: transform .18s var(--ease);
}
.send__toggle[aria-expanded="true"] .send__chev { transform: rotate(225deg); }

.bd {
  inline-size: 100%;
  margin-block: 6px 2px;
  font-size: .82rem;
}
/* ⚠ `border-collapse` WAS DECLARED ON THE DIV, WHERE IT DOES NOTHING —
   13.9.2026. `.bd` is the popover (`<div class="bd" id="breakdown">`) and
   `.bd__t` is the table inside it, so the property sat on a box it cannot
   apply to and the table kept the default `separate` with 2 px of
   `border-spacing`. Measured on the live page: the `<th>` and the `<td>` of
   every row are 2 px apart, and each draws its OWN `border-block-end`, so the
   rule under every line of the column was two segments with a nick between
   them — in the one table on this site a customer is told to read down.
   It also has to be collapsed for the sticky total below: uncollapsed, that
   row's top rule and the previous row's bottom rule are two hairlines 2 px
   apart rather than the single line a bill's foot is.
   ⚠ `inline-size: 100%` above is left where it is on purpose. `.quote .bd`
   sets `max-content` at higher specificity so it has never applied, and the
   table is already exactly that width — moving it would change a shipped
   layout to say something it already says. */
.bd__t { border-collapse: collapse; }
.bd th, .bd td {
  padding-block: 5px; text-align: start; font-weight: 400;
  border-block-end: 1px solid var(--rule);
}
.bd th { color: var(--ink-2); }
/* Tabular, and end-aligned, so the column can actually be added up by eye —
   which is the entire reason this table exists. */
.bd td {
  text-align: end; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* ⚠ THE BOTTOM LINE DOES NOT SCROLL AWAY — 13.9.2026. Whenever the column is
   taller than its own cap it is cut at the BOTTOM (`scrollTop` is 0 on every
   shape measured, so the cut is never at the top), and the row the cut takes
   is always the last one: the total. That is the row the table exists for —
   the whole point of a breakdown is that a customer can add the column up and
   arrive at the figure on the chip — so the one row that cannot be allowed to
   go missing was the one that always did. Measured at 320x568, in all three
   languages: ONE +₪200 colour is enough. 8 rows want 290 px against a 46vh
   cap of 261, and `סה״כ` / `Total` / `Итого` is the only row hidden.
   Sticky, so the components scroll behind a bottom line that stays put — and
   the half-row cut behind it is then an honest cue that there is more, which
   is the other half of what was wrong: nothing said the list continued.
   No JS, nothing to publish, and a no-op when the column fits. */
.bd__total th, .bd__total td {
  font-weight: 600; color: var(--ink); border-block-end: 0;
  padding-block-start: 7px;
  position: sticky; inset-block-end: 0;
  background: var(--paper);
  border-block-start: 1px solid var(--rule);
}

/* The size band, under the name and above the price. Small and quiet: it is a
   fact a customer checks once against a tape measure, not something to read on
   every tile. Tabular so the two figures line up down a column of tiles. */
.tile__band {
  font-size: .66rem; color: var(--ink-2); line-height: 1.25;
  font-variant-numeric: tabular-nums;
}

/* The bar's length, under its tiles. Reads as one control rather than three
   buttons: label above, minus / value / plus in a row, the value tabular so it
   does not jog as it changes. 44px on both buttons — the touch floor is a
   floor, and this is the newest control on the page. */
.blen { grid-column: 1 / -1; margin-block-start: 10px; }
.blen__label {
  display: block; font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-2); margin-block-end: 5px;
}
.blen__row { display: flex; align-items: center; gap: 10px; }
.blen__b {
  inline-size: 44px; block-size: 44px; flex: none;
  border: 1px solid var(--rule); border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink);
  font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.blen__b:disabled { opacity: .35; cursor: default; }
.blen__b:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.blen__v {
  font-variant-numeric: tabular-nums; font-size: .95rem;
  min-inline-size: 5.5ch; text-align: center;
}

/* The stripes' count, under the face tiles — drawn only while a stripe tile
   is on (29.9.2026). Same visual family as the bar's length stepper — they are
   the two places on the page where a number is chosen rather than a picture.
   ⚠ GONE WITH THE DIRECTION PILLS, 29.9: `.stripes__dirs`, `.stripes__dir`,
   `.stripes__ico` (the pills' window pictures) and `.stripes__why` (the
   control's own sentence) — the two stripe TILES choose the direction and a
   greyed tile carries its reason, as every tile does. A rule for a class
   nothing emits reads as load-bearing (§3, the משקוף's `.glyph__dim`). */
.stripes { grid-column: 1 / -1; margin-block-start: 12px; display: grid; gap: 8px; }
.stripes__label {
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-2);
}
/* ⚠ AND THE CHOSEN ONE LOOKS CHOSEN. The tight pill carries `is-on` and
   `aria-pressed`, and until 23.9 nothing in this stylesheet read either. The
   same ring a chosen tile wears. */
.stripes__tight.is-on {
  border-color: var(--accent-ink); background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--accent-ink);
}
.stripes__tight { justify-self: start; }
.stripes__cost { font-size: .78rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ── THE משקוף CONTROL — a section and six choices ─────────────────────
   Peretz's "square C" (the frame cut through, seen from above) over three
   rows of two pills, one row per part. The diagram is `mashkofGlyph`, the
   same drawing the tiles used, grown to the width of the column and redrawn
   from the state on every paint; the rows are `role="radiogroup"`s so a
   screen reader hears "קאנט חיצוני: רחב, +₪250" and not six unrelated
   buttons. Pills reuse `.pill` and its selected ring, at the 44 px floor. */
.mkc { display: grid; gap: 10px; }
.mkc__art { justify-self: center; inline-size: min(100%, 300px); }
/* ⚠ ON A PHONE THE ROWS COME FIRST AND THE SECTION FOLLOWS. Drawn first, as
   Peretz described it, the section is ~220 px tall at 390 px and the fold
   band between the sticky door and the quote bar is 200–320 px (§9): every
   one of the six choices landed below the fold and `npm run audit` said so
   at once — "6 options and NONE on screen". The 29.8 rule is that the
   question AND an answer are on screen, and the thing taking the room here
   is the diagram, not the door. So below 1100 px the diagram takes `order`
   after the rows and is capped a little smaller; a customer ticks a part and
   the section under the rows redraws to show what they ticked. Above 1100
   px the column has room for both in his order. */
@media (max-width: 1099px) {
  .mkc__art { order: 1; inline-size: min(100%, 260px); margin-block-start: 4px; }
}
.mkc__art .glyph {
  block-size: auto; inline-size: 100%;   /* the viewBox sets the aspect */
  color: var(--ink-2);
}
.mkc__row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center; gap: 8px;
}
.mkc__part { font-size: .82rem; font-weight: 600; min-inline-size: 0; }
.mkc__opt {
  display: grid; gap: 1px; justify-items: center;
  padding: 6px 12px; min-inline-size: 84px; min-block-size: 44px; line-height: 1.2;
}
.mkc__opt-t { font-size: .82rem; }
.mkc__opt-p { font-size: .68rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mkc__opt.is-selected .mkc__opt-p { color: var(--ink); }
/* Under 360 px the two Russian pills are 217 px between them and the part's
   name was left 67 px — three lines of "Внутренний кант". The name takes a
   line of its own there and the pills sit under it. */
@media (max-width: 359px) {
  .mkc__row { grid-template-columns: auto auto; justify-content: start; }
  .mkc__part { grid-column: 1 / -1; }
}

/* Blocked, not disabled — see `markGroup` and `.tile.is-blocked`, whose 0.7
   this matches so that a blocked pill and a blocked tile read as one thing.
   `aria-disabled` rather than `disabled` keeps it focusable and clickable, and
   the pointer stays a pointer because the click DOES something: it performs
   the repair the sentence beside it describes. */
.pill.is-blocked { opacity: .7; }

.send__spec {
  margin: 0; padding-block: 8px;
  border-block: 1px solid var(--rule);
  font-size: .82rem; color: var(--ink-2);
}

.send__lead { margin: 0; font-size: .92rem; }

.btn {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 52px; padding: 12px 18px;
  /* ⚠ A PILL, LIKE EVERY OTHER BUTTON ON THE PAGE. `.saved__btn`,
     `.saved__open`, `.grip-bar__btn` and `.steps__step` were all already
     999px, so the square corners left the site's PRIMARY call to action as
     the one button shaped unlike the rest of them. This is the shape changing
     to match what shipped, not the mockup's near-black pill arriving: the
     green is settled from outside (REDESIGN.md §4) and is untouched. */
  border-radius: var(--r-pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: filter .12s var(--ease);
}
.btn:active { filter: brightness(.94); }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { filter: brightness(1.05); }
/* ⚠ THE SUMMARY'S SEND IS BIG — 27.9.2026, the owner's son: *"the WhatsApp
   button big, saying 'הזמינו את הדלת דרך נציג'"*. Full width of the card and
   56 px, the green it has (the 3.05:1 of white on `--wa` is the recorded
   exception at the foot of the quote bar's note; 17 px/700 is the size lever
   that note names). The bar's quiet "שלחו" is untouched. */
#wa-btn { inline-size: 100%; min-block-size: 56px; font-size: 1.06rem; font-weight: 700; }

/* ── AND THE TELEPHONE UNDER IT, BIG ──────────────────────────────────
   The digits come from `PHONE_DISPLAY` (`app.js`), never from this file or the
   markup. A 44 px row, ink on the card, the number at reading size and
   `direction: ltr` so "053-219-7466" is never reordered by a Hebrew line. */
.send__tel {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 44px; padding-inline: 8px;
  color: var(--ink); text-decoration: none;
  font-size: 1.25rem; font-weight: 700; letter-spacing: .02em;
}
.send__tel [data-phone-text] { direction: ltr; unicode-bidi: isolate; }
.send__tel:hover [data-phone-text] { text-decoration: underline; text-underline-offset: .2em; }
.send__tel-ico {
  inline-size: 20px; block-size: 20px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* The send button carries BOTH its labels and shows one.
   `שלחו את הדלת בוואטסאפ` is true only while there is a door to send. With the
   app down the same button opens a WhatsApp saying the page did not load, and
   promising a door over that message is the dead `href="#"` bug again one
   layer up — it works, and it is not what it says.
   The swap itself lives in the single degraded stylesheet inside the
   `<noscript>` in index.html, so it happens for scripting-off and for a thrown
   `init()` from one set of rules. Only the resting state is here. */
/* ⚠ THE RESTING STATE IS THE HONEST ONE, AND IT USED TO BE THE OTHER WAY.
   `.wa__off` was hidden here, so the markup default read "שלחו את הדלת
   בוואטסאפ" — send the door — over an `href` that is `FALLBACK_TEXT`: "the
   page didn't load for me, so I have no code to send." Label and href said
   opposite things on EVERY page load until `paint()` ran. Measured at 390x844
   over a local server: 594 ms of that on Regular 3G gzipped, 1,094 ms on Slow
   3G, and unbounded when the bundle stalls. A tap inside that window reports
   a failure that did not happen — and `share.js` says that message "is also
   the only way we ever hear that the page failed for somebody".
   So the page rests on the truth and `paint()` upgrades it: `is-live` goes on
   `<html>` once there is a real door to send. One direction, and the state
   before JavaScript is the state that is true before JavaScript. */
/* ⚠ THE THIRD STATE — A DOOR NOBODY HAS TOUCHED ASKED A QUESTION — RETIRED
   29.9.2026. The owner's son: *"Change the 'יש לי שאלה' text on the WhatsApp
   button near the price to 'הזמינו את הדלת'."* A button reading "order the
   door" over a message reading "I have a question" is §0's worst failure, so
   the question left BOTH sends and the message (`js/share.js` opens with the
   order on every door); `is-untouched` is gone with it. Two states remain,
   resting and live, and one swap on top: above 1100 the quiet send by the
   price says "הזמינו את הדלת" (`.wa__order`); on a phone the bar keeps
   "שלחו" (27.9, its room). The live labels are still gated on `is-live`,
   because before the script runs the honest label is `.wa__off`. */
.wa__on { display: none; }
.wa__off { display: inline; }
.wa__order { display: none; }
html.is-live .wa__on { display: inline; }
html.is-live .wa__off { display: none; }
@media (min-width: 1100px) {
  html.is-live .quote__send .wa__on { display: none; }
  html.is-live .quote__send .wa__order { display: inline; }
}

.btn--ghost {
  background: none; color: var(--ink);
  border-color: var(--rule);
  min-block-size: 44px; font-weight: 400; font-size: .88rem;
}
.btn--ghost:hover { border-color: var(--ink-2); }

/* ⚠ AND HERE IS THE OTHER HALF, AFTER `.btn`, WHERE IT WINS. Above 1100 the
   card has a sticky foot of its own and the wall is not a place for a verb. */
@media (min-width: 1100px) { .quote__next, .quote__nav { display: none; } }

/* ── THE FOOT OF A STEP: the way on, and the way back ────────────────
   ⚠ `.sect__foot` HAD NO RULES, so two buttons that carry a customer through
   nine screens were stacked in source order at browser defaults, and the
   forward one — `class="btn sect__next"`, a `.btn` with no modifier — had a
   transparent background and a transparent border. The primary action of every
   step was invisible chrome with a word in it.

   ⚠ AND IT IS ALLOWED TO BE A PRIMARY, which is worth stating because this
   page has exactly one other: the green send. They never share a screen. The
   summary step has no `.sect__next` at all (it is the end of the road), so the
   dark pill and the green pill are never both in front of a customer.
   ⚠ AND SINCE 31.8 THE GREEN PILL IS IN THIS BAR, on the summary only. The
   foot held a Back button and nothing else on the one step whose job is
   sending — measured on the live page, the 228x51 send sat 154 px below the
   fold at 1280x720 and 202 px below at 320x568. It takes the room the way
   `.sect__next` does everywhere else, so the pinned bar means the same thing
   on all nine steps. The sentence above still holds: the dark pill is not on
   this step, so the two primaries still never share a screen. */
.sect__foot {
  display: flex; align-items: center; gap: 10px;
  margin-block-start: 26px;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--rule);
}
/* The way on takes the room; the way back takes what it needs. */
.sect__next { flex: 1 1 auto; }
.sect__back { flex: 0 0 auto; }
/* ⚠ THE SKIP IS A DESKTOP CONTROL AND IT IS HIDDEN EVERYWHERE ELSE — added
   14.9.2026. It goes straight to the summary for a customer who is happy with
   the door as it stands. Below 1100 the navigator is a fixed row of circles at
   the top of the screen and its NINTH is the summary — 44 x 44 at y=8, on
   every screen a customer ever sees — so the skip is already there in the one
   form a phone has room for. The quote bar has none: since 27.9 it holds the
   price, the send and two arrows (back and next), and at 320 px its 300 px
   row is spoken for; a fifth control there comes out of the send.
   `display: none` and not `visibility`, so it takes no room in the flex row
   and the two buttons that were there keep the layout they were measured in. */
.sect__skip { flex: 0 0 auto; display: none; }
@media (min-width: 1100px) { .sect__skip:not([hidden]) { display: inline-flex; } }
/* The summary's way on is the send, so it takes the room the same way.
   ⚠ AND SINCE 27.9 THE WHOLE ROW: the send is full width (the owner's son,
   *"big"*), so on the summary the foot wraps — the send on its own row first,
   the way back and the telephone sharing the second. */
.sect__foot .btn--wa { flex: 1 0 100%; order: -1; margin-block: 0; }
.sect--sum .sect__foot { flex-wrap: wrap; row-gap: 6px; }
.sect__foot .send__tel { flex: 1 1 auto; justify-content: flex-end; }
.sect__next:not(:disabled) {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.sect__next:not(:disabled):hover { filter: brightness(1.35); }
/* Disabled only at the very end of the flow, where there is nowhere to go.
   Ghost rather than dimmed-solid: a faded dark slab still reads as the loudest
   thing on the card, which is the opposite of what "you cannot press this"
   should look like. */
.sect__next:disabled {
  background: none; color: var(--ink-2);
  border-color: var(--rule); cursor: default;
}
.sect__back:disabled { opacity: .45; cursor: default; }

/* ⚠ AND THE ONE IN THE QUOTE BAR DOES NOT TAKE THE ROOM, which the one in the
   flow does. Same class, two homes, and the line above — `.sect__next { flex:
   1 1 auto }` — reaches both at equal specificity, so whichever is written
   LATER wins. Measured before this line existed: at 1099x800 the bar's way on
   came out **836 px wide**, eating the slack that the price and the send were
   spaced by. In the flow it should fill the row; in a bar of three it is one
   of three. Written here rather than up with the rest of `.quote__next` for
   exactly the reason the display rule is here: after, not before. */
.quote__next { flex: 0 0 auto; }
/* The arrows' size, after `.btn` for the same reason: `.btn`'s padding and
   width would otherwise win at equal specificity. The height is `.btn`'s. */
.quote__arrow { inline-size: 44px; min-inline-size: 44px; padding: 0; }
.quote__back { background: none; color: var(--ink); border-color: var(--rule); }

/* ⚠ BELOW 1100 A STEP HAS NO FOOT — 27.9.2026. Its back and next live in the
   quote bar, seen at all times (see `.quote__nav`); the foot held nothing
   else on a phone (the skip is desktop-only, and the summary's green send
   stays in its own card below 1100 — `placeSend`). After the base rule,
   because a media query adds no specificity (§8). Above 1100 the sticky foot
   is untouched. */
@media (max-width: 1099px) { .sect__foot { display: none; } }

/* ⚠ BELOW 1100 THE PRICE'S BOX IS THE FIGURE, AND IT DOES NOT YIELD — 27.9,
   restated 28.9.2026. On 27.9 the CAPTION yielded here ("ОРИЕНТИРОВОЧНАЯ ЦЕНА"
   was 152 px and set the box's width at every width, cutting the one-word send
   to "Отправ…" at 360-390); the caption itself went on 28.9 (*"Remove the
   'מחיר משוער' text above the price"*), so what is left of the rule is its
   floor: the column's minimum IS the figure (`minmax(min-content, 1fr)` — a
   bare `minmax(0, 1fr)` let the box go to 13.6 px under a 57.8 px figure when
   it was falsified), and the one-word send keeps its width. Where even that
   does not fit, the row overflows the bar, which the audit asserts against.
   After the base rules (§8). */
@media (max-width: 1099px) {
  .quote__price { flex: 0 1 auto; min-inline-size: min-content;
                  grid-template-columns: minmax(min-content, 1fr); }
  .quote__send { flex-shrink: 0; }
}

/* ⚠ AND ON A DESKTOP THE FOOT IS PINNED TO THE BOTTOM OF THE CARD, because it
   was falling off the bottom of the screen. Measured at 1440x900 on the
   colour step and again on the window step: the card scrolls inside its own
   column, the two buttons are the last thing in it, and the primary action of
   the step was simply below the fold on the commonest laptop height — a
   customer had to scroll a list of grilles to the end to find out how to leave
   it. Sticky costs nothing: the card already scrolls internally, so the foot
   rides at its edge instead of at the end of its content.
   Below 1100 it stays in the flow — the PAGE scrolls there, the quote bar is
   already pinned at the foot of the screen, and a second pinned row above it
   would be two bars of chrome over the one thing being chosen. */
@media (min-width: 1100px) {
  .sect__foot {
    position: sticky; inset-block-end: 0; z-index: 2;
    margin-block-start: 26px;
    /* ⚠ AND IT RUNS TO THE BOTTOM OF THE SCROLLPORT. Pinned at
       `inset-block-end: 0` it stops at the padding box, so the card's own
       28 px of bottom padding stayed BELOW it and a row of tiles scrolled
       through that gap under the buttons — a strip of moving artwork beneath a
       pinned bar, which reads as a rendering fault rather than as a scroll.
       The padding moves off the card and into the foot, so the two cannot
       disagree: the card ends where the foot ends. */
    padding-block: 14px 26px;
    background: var(--surface);
  }
  .panel--choose { padding-block-end: 0; }

  /* ── THE RAIL TAKES THE WHOLE CARD, AND IT NEARLY FITS NOW ──────────
     ⚠ NINE 44 px CIRCLES ARE 396 px AND THAT IS ARITHMETIC. The gaps and the
     per-step padding already came out on 30.8 (32 px of the desktop's 118),
     the circles cannot shrink — 44 is asserted at every viewport and the one
     attempt to soften it was refused at six — and the summary cannot leave
     the rail without making it unreachable from anywhere but the last step.

     What was left was the CARD'S OWN PADDING, 20 px each side, which the row
     of circles had no reason to respect: it is a navigator across the top of
     the card, and its rule already reads as an edge-to-edge divider. Bleeding
     it through takes the track from **350 to 390**, so the overflow falls
     from **46 px and two clipped circles to 6 px and one** — measured
     identically at 1100, 1152, 1280, 1440 and 1920, because the column is
     capped and the rail is therefore the same width at all of them.

     ⚠ AND THE LAST 6 px CANNOT BE HAD HERE. 392 is the card inside its own
     margins and 396 is the row; the four pixels are in the card treatment and
     the two in its border. That is why the `mask` fade stays — it now says
     "one circle further" instead of "two and a half". */
  .steps { margin-inline: -20px; }

  /* ── AND WHEN THERE IS MORE BELOW, THE FOOT SAYS SO ─────────────────
     ⚠ THE PAGE DOES NOT SCROLL UP HERE AND THE PANEL DOES. `.layout` is
     `overflow: hidden` above 1100 — one screen, two columns, each scrolling
     inside itself — so the window has no scrollbar, and on a platform with
     overlay scrollbars neither does the column. Measured at 1440x900 driving
     the flow forward: the lock step hides 599 px, glass 543, grip 393. Three
     of the eight question steps hide more than half a screen of the thing the
     step is FOR.

     Same device as the navigator's, which was added for the same report one
     screen up: a soft fade saying "there is more this way".

     ⚠ IT SITS ABOVE THE FOOT, NOT ON THE PANEL. A `mask-image` on the scroll
     container fades its BOTTOM EDGE — and the bottom edge up here is the
     sticky foot, so the obvious version fades out the way forward and, on the
     summary, the send button. The gradient is a pseudo-element riding on top
     of the foot's own leading edge instead, painting the strip of list that
     is about to disappear under it.

     ⚠ AND IT IS CONDITIONAL: `[data-more]` is set from the panel's own
     scrollHeight in `js/app.js`. The rail's fade is permanent because nine
     circles overflow at every width; a step panel does not, and a fade under
     a finished list promises content that is not there. */
  .panel--choose[data-more] .sect__foot::before {
    content: ''; position: absolute; inset-inline: 0;
    inset-block-end: 100%; block-size: 26px;
    background: linear-gradient(to top, var(--surface), transparent);
    pointer-events: none;
  }
}

/* ══════════════════════════════════════════════════════════════════════
   THE NAVIGATOR IS A DARK COLUMN ON THE DOOR-FACING EDGE — 27.9.2026
   ══════════════════════════════════════════════════════════════════════
   The owner's son: *"the icons would look better if they were [vertical] and
   on the left of the place where you choose options … i want it all to be a
   black rectangle, and then the section that i am in will turn white and be
   square."* On the Hebrew page the choices are on the right and the door on
   the left, so "the left of the place where you choose" is the panel's
   door-facing edge — `inline-end`, which is the right-hand edge in English and
   Russian, where the panel is on the left. One rule, mirroring with the
   interface (the panel is chrome, not drawing).
   ⚠ ABOVE 1100 ONLY. A phone keeps its fixed row of nine (62 px, `--steps-h`)
   dressed the same way, ink with a white square: a 56 px column down a 320 px
   screen leaves no room for two tiles side by side — a decision recorded as
   ours in CLAUDE.md §0a, for him to reverse in a line.
   HOW. `.panel--choose` stays the scroller — everything that measures or
   scrolls it (the sticky foot, `markMore`, `goStep`, the audit's tap sweep)
   keeps its box — and becomes a two-column grid: the step in the first, the
   navigator in a 56 px second column spanning every row, sticky at the top,
   its nine 44 px targets stacked 6 px apart (9 × 44 + 8 × 6 = 444 px, inside
   the 690+ px panel of every desktop VIEW, so the column never scrolls and
   `markSteps`' self-scroll has nothing to do up here — it stays for the phone
   row). The ink ground is the PANEL's background, a 56 px stripe at the
   inline-end edge: a scroll container's own background does not scroll with
   its content, so the column is ink from the card's top to its foot whatever
   the step's length, and the nav itself is transparent. The card's inline-end
   padding moves into the column's gap. */
/* ⚠ AND SINCE 28.9 IT STANDS ON THE PHOTOGRAPH, NOT ON THE PANEL — the owner's
   son: *"The rectangle with the icons needs to be not endless, but just the
   size it needs to host all the section icons, a little separated from the
   options choosing thing, the image needs to be behind it — on the image and
   not on some white thing."* The 27.9 column above was the panel's second grid
   column with the PANEL's background painting the ink, so the ink ran the
   card's whole height whatever the step, and the panel's scrollbar — on the
   door-facing edge in RTL — ran down it on any step long enough to scroll.
   Now `placeNav` (js/app.js) carries `.steps` into `.stage-wrap` above 1100
   and this places it there:
     · on the stage's edge that faces the panel — `inset-inline-start`, since
       the panel is the grid's first column in both directions — 12 px off it;
     · centred on the door's mid-height, its height its content: 44 px
       targets 6 px apart inside 10 px of ink, 9 × 44 + 8 × 6 + 20 = 464 px,
       which no desktop `VIEW` stage is shorter than — and moved DOWN only
       where the centred place is under the wall's other furniture on its side
       (`--steps-top`, computed in `fitStage`);
     · its own ink, `--r-card` corners, the photograph round it.
   ⚠ THE WALL IS ARITHMETIC. The column (56) and its gap (12) share the wall
   on that side with the arrow (44, at 8 px off the casing): 120 px. The wall
   is 140–150 px at 1100–1200 on the standard door and fits; the widest double
   at 1100 has 73 and does not — the audit gates the standard door at every
   width and every door from 1280 up, and NAMES the readings that overlap.
   The panel goes back to one column, and `scrollbar-gutter: stable` reserves
   the scrollbar's lane on every step, so the tiles no longer shift sideways
   between a step that scrolls and one that does not. */
@media (min-width: 1100px) {
  .panel--choose { scrollbar-gutter: stable; }
  .stage-wrap > .steps {
    position: absolute;
    inset-inline-start: 12px;
    /* `fitStage` publishes the top: the door's mid-height less half the
       column, or 8 px under the wall chrome on its side where that is lower
       (see `--steps-top` there). Before the first fit, centred on the stage. */
    inset-block-start: var(--steps-top, calc(50% - 257px));
    z-index: 4;
    /* ⚠ THE GAPS GIVE, NEVER THE TARGETS — 28.9, with the price's move. In
       English and Russian at 1100–1152 the price stands in the column's own
       x-range and the room between it and the trust band is 436–450 px against
       the column's 464; `placeSteps` then tightens these two lengths (6 → no
       less than 2, 10 → no less than 6) by exactly the shortfall. Nine 44 px
       targets stay nine 44 px targets. */
    flex-direction: column; align-items: center; gap: var(--steps-gap, 6px);
    margin: 0; padding: var(--steps-pad, 10px) 6px;
    inline-size: 56px;
    background: var(--ink);
    border: 0; border-radius: var(--r-card);
    box-shadow: 0 6px 18px rgb(0 0 0 / .18);
    min-block-size: 0; overflow: visible;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* `.btn--undo` and its `is-off` twin are GONE, and so are the two icon circles
   that replaced them (28.9: `.undo-pill` at the stage's foot). The 23,021-pixel
   lesson that made `is-off` necessary still holds — nothing in the flow — and
   the pills are absolute for exactly that reason. */
.btn__ico {
  inline-size: 18px; block-size: 18px;
  stroke-linecap: round; stroke-linejoin: round;
}

.send__alt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  /* ⚠ THIS ONE IS LOAD-BEARING AND ITS REASON IS 2,800 LINES AWAY, BESIDE
     `.saved`. It is a grid item of the send card, so without it the card's
     implicit `auto` track is floored at this row's min-content — and the
     saved-designs drawer hangs in here carrying a whole `summaryLine`. With it
     missing, opening the drawer widened `#spec` from 272 to 717 px and dragged
     the document 785 px past a 320 px phone. Measured 13.9. */
  min-inline-size: 0;
}
.send__code { font-size: .78rem; color: var(--ink-2); }
.send__code b { font-family: var(--mono); color: var(--ink); direction: ltr; display: inline-block; }

.send__fine { margin: 0; font-size: .72rem; color: var(--ink-2); }
.send__fine a { color: inherit; }

/* ── proof ────────────────────────────────────────────────── */

.proof { margin: 0; font-size: .85rem; color: var(--ink-2); }
.proof a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: .25em; }

/* ⚠ A HARD-CODED `padding-block-end: 78px` STOOD HERE, LEFT OVER FROM THE
   DELETED DOCK, AND IT WOULD HAVE BEATEN THE MEASURED ONE. Two `body` rules in
   two `@media (max-width: 1099px)` blocks, same specificity, and this one is
   further down the file — so the cascade would have taken 78 px and quietly
   ignored `--quote-h`. That is CLAUDE.md §8's "a media query adds no
   specificity" for the fourth time in this stylesheet, and this time it was
   already sitting in the file waiting.
   The reservation lives with the fixed strips it reserves for, up beside
   `--steps-h`. Nothing is needed here. */

/* ── toast ────────────────────────────────────────────────── */

.toast {
  position: fixed; inset-block-end: 16px;
  inset-inline: 16px;
  margin-inline: auto; max-inline-size: 26rem;
  background: var(--ink); color: var(--paper);
  padding: 12px 16px; border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  font-size: .86rem; text-align: center;
  z-index: 50;
  /* ⚠ THE TOAST USED TO EAT THE SEND BUTTON. It is `fixed` at the bottom with
     a higher `z-index` than `.dock`, so on a phone it covered the whole green
     bar: `elementFromPoint` at the centre of `.dock__send` returned the toast,
     and a tap did nothing for the four seconds it was up. Repair toasts fire
     on every cross-axis click, so the site's one call to action was dead for a
     large share of the time a customer spends exploring.
     It is a message, not a control — nothing in it is ever clicked. */
  pointer-events: none;
}
/* ⚠ ON A PHONE IT HANGS OFF THE FOOT OF THE DOOR, NOT THE FOOT OF THE SCREEN,
   AND THE MEASUREMENT IS WHY. Sitting above the quote bar it cleared the price
   and the send — which is what it was moved there for — and then covered the
   only other thing a one-column layout has down there: the ANSWERS. Measured
   on the real page, driving the repair a customer meets most often (a square
   window onto a two-panel door with a pull bar, which changes two things and
   so speaks two sentences):

       320x568   2 of 2 option tiles on screen covered
       390x844   3 of 3 covered — including `rect`, THE TILE JUST TAPPED
       1440x900  0 of 15 covered

   So for the whole dwell — 2000 + 55·chars, about eight seconds on a
   two-sentence repair in Russian — the customer could not see the options, or
   which one was selected, on the step whose options had just changed. The
   desktop had the answer all along: there the toast lands over the DOOR and
   never over the panel, because the columns are side by side.
   Below 1100 the door is above the flow rather than beside it, so the same
   placement is `100dvh` less the rail and the stage's own measured height —
   its bottom edge sits exactly on the stage's foot, over the threshold, which
   is the least informative band of the drawing and never where a repair
   changes anything. `--sticky-h` is published by `fitStage` off the rect it
   already reads, so this cannot drift from the stage it is measured against.
   ⚠ NO `transform` HERE: the entry animation animates one, and a static
   translate would be flown in from 8px past it. */
@media (max-width: 1099px) {
  .toast {
    inset-block-end: calc(100dvh - var(--steps-h) - var(--sticky-h, 320px));
  }
}
/* ⚠ AND THE DESKTOP'S OWN VERSION OF THE SAME FAULT, WHICH THE CHECK WRITTEN
   FOR THE PHONE FOUND AT TWO WIDTHS. The toast is centred on the VIEWPORT, and
   the choices column stands at the inline-start edge — so the centring is only
   clear of it while the stage is wide. Measured on the same repair, panel card
   against toast box: `cusp` 1100 **64 px INTO the panel**, `narrow-d` 1152
   **38 px in** (two grille tiles, `arch` and `vine`, covered at both), against
   +26 px of daylight at 1280, +106 at 1440, +226 at 1680 and +346 at 1920.
   Pre-existing, and the same shape as §9's price chip over `#grip-rot`: the two
   narrowest desktops are where this layout runs out of room first.
   So the toast is centred on the STAGE rather than on the window — which is
   what it was already doing everywhere it looked right, and is now true by
   construction rather than by having enough width. It reads the panel's own
   cap, so the day that cap moves the toast moves with it.
   After: `cusp` +146 px clear, `narrow-d` +172, and at 1440 the box centres on
   the door (302–718 against a stage of 0–1020) instead of drifting toward the
   panel. Nothing below 1100 is touched — there the panel is not a column. */
@media (min-width: 1100px) {
  .toast { inset-inline-start: calc(var(--panel-max) + 16px); }
}

/* ── reduced motion ───────────────────────────────────────────
   ⚠ THE RULE IS STATED ONCE, AT THE FOOT OF THIS FILE, AND IT USED TO BE
   STATED TWICE. There were two `prefers-reduced-motion` blocks — this one at
   .01ms and another eight hundred lines down at .001ms — and the second won,
   which is to say the first was decoration. Two statements of one rule is the
   §5 shape, and in a kill switch it is worse than usual: somebody reading THIS
   one would have believed they had seen the whole of it. Search for
   `prefers-reduced-motion`. */

/* ── forced colours: this UI is hairlines, so guard it ────── */

@media (forced-colors: active) {
  .swatch__chip { forced-color-adjust: none; }
  /* ⚠ `.tile.is-selected` JOINS THIS LIST THE DAY ITS RING BECOMES A COLOUR.
     Forced colours throw every author colour away, so a selected tile whose
     only mark is a `--accent-ink` border and an `--accent-ink` disc has NO
     mark at all in that mode. The badge's tick is a background image, which
     forced colours also drop. An outline is the one thing the mode keeps. */
  .pill.is-selected, .tile.is-selected,
  .swatch.is-selected .swatch__chip { outline: 2px solid CanvasText; }
}


/* ── THE ORDER SHEET ─────────────────────────────────────────────────
   `?sheet=1` on the same page. Hidden entirely otherwise, so it costs a
   normal visit one empty element and nothing else. */
.sheet { display: none; }

/* ⚠ `padding: 0` IS IN THIS LIST BECAUSE IT COST A SECOND SHEET OF PAPER, AND
   THE COMMENT TWELVE LINES DOWN NEARLY CAUGHT IT. Below 1100 px `body`
   reserves the two FIXED bars — `padding-block: var(--steps-h)` for the
   navigator and `var(--quote-h)` for the quote bar, **62 px each**. Sheet mode
   deletes both: `.layout` takes the rail with it and the line below names the
   quote bar explicitly, on the stated grounds that *"a printed order sheet
   with a fixed WhatsApp bar across the foot of every page is the kind of thing
   nobody notices until it is on paper."* That is exactly right about the BAR.
   **The reservation for the bar stayed** — §5's family, the object removed and
   the space held for it left behind.

   ⚠ AND A PRINTED PAGE ALWAYS MATCHES THAT MEDIA QUERY. A4 inside a 12 mm
   `@page` margin lays out at 186 mm = **703 css px**, so the phone rules are
   the rules on paper, every time, at every screen size the customer used.

   Measured 12.9.2026 by printing real PDFs, a glazed door with ironwork:

     | | sheet | + 32.8 mm of reservation | A4 has 273 mm | pages |
     |---|---|---|---|---|
     | Hebrew  | 194.5 mm | 227.3 | fits | 1 |
     | English | 246.3 mm | **279.1** | 6.1 over | **2** |
     | Russian | 251.1 mm | **283.9** | 10.9 over | **2** |

   The sheet is BILINGUAL — every row prints the customer's language over the
   Hebrew Peretz reads — so an English or Russian order is inherently taller
   (rows 16.1 and 16.5 mm against Hebrew's 10.1). Hebrew fits either way, which
   is why nobody saw it: the language Peretz builds in is the one that never
   spilled. Without the reservation both fit with 22 mm to spare.
   `.sheet` carries its own `padding: 14mm 0`, so the document's air was never
   this rule's job — three stacked margins put 42.4 mm of white above the first
   line of an order form. */
.is-sheet body { background: #fff; display: block; block-size: auto; overflow: visible; padding: 0; }
/* Everything the configurator is, gone. The list is explicit rather than
   `body > *` because `#sheet` and the live regions have to survive it, and a
   rule that hides everything and then un-hides three things is two rules that
   have to agree. */
.is-sheet .bar, .is-sheet .saved, .is-sheet .strip, .is-sheet .layout,
.is-sheet .trust, .is-sheet .toast, .is-sheet .works,
.is-sheet .works-open { display: none !important; }
/* ⚠ The quote bar is a child of `.stage-wrap`, which is inside `.layout` — so
   `.is-sheet .layout` already takes it. Named anyway, because the line above
   is a hand-kept list and the next element added to the page may not be
   inside `.layout`; a printed order sheet with a fixed WhatsApp bar across the
   foot of every page is the kind of thing nobody notices until it is on paper. */
.is-sheet .quote { display: none !important; }
.is-sheet .sheet { display: block; }

.sheet {
  inline-size: min(190mm, 96vw);
  margin: 0 auto; padding: 14mm 0;
  color: var(--ink);
}
.sheet__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding-block-end: 8px;
  border-block-end: 2px solid var(--ink);
}
/* An <h1>, because `.is-sheet` hides `.layout` and with it the page's only
   heading — the printed document had none at all. Sized here rather than
   inherited, so it does not arrive at the browser's 2em default. */
.sheet__brand { margin: 0; font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.sheet__sub { font-size: .78rem; color: var(--ink-2); }
/* ⚠ `direction: ltr` MOVED ONTO THE CODE ITSELF. On the whole row it reordered
   the Hebrew label around the Latin digits, so the sheet printed
   `DM-P4040481 :קוד` — label, colon and all, on the wrong side. The code is
   Latin and must not mirror; the word in front of it is Hebrew and must. */
.sheet__code { font-family: var(--mono); font-size: .9rem; }
.sheet__code b { font-size: 1.05rem; }

/* ⚠ THE DRAWING FLOATS, AND IT WAS A GRID COLUMN — WHICH RESERVED THE
   DRAWING'S HALF OF THE PAGE FOR THE WHOLE HEIGHT OF THE DOCUMENT. Same
   defect as `padding: 0` twenty lines up, one level down and with the object
   still present: a two-column grid gives the spec 94 mm of a 186 mm page for
   its entire length, so below the elevation's foot the spec went on wrapping
   in a narrow column with **92 mm of blank paper beside it** — and ran off
   the bottom of the sheet.
   ⚠ AND IT ONLY SHOWS IN A LANGUAGE PERETZ DOES NOT READ. Every row prints
   the customer's language over the Hebrew gloss, so a Russian row is two
   lines before it wraps at all; Hebrew's spec column is 142 mm against
   Russian's 239 and has never come near the foot. Measured 12.9.2026 on real
   A4 PDFs, a דו כנפי with a square window and ironwork — the door with the
   longest values in the range, because its סורג row names two panels:

     | | Hebrew | English | Russian |
     |---|---|---|---|
     | grid, as it was | 179.6 mm · 1 page | 270.8 · 1 | **281.5 · 2 pages** |
     | grid, widest דו כנפי | 178.9 · 1 | 270.8 · 1 | **287.2 · 3 pages** |
     | float | 178.9 · 1 | 260.2 · 1 | **266 · 1** |

   Every door × language in the range now prints on one page. `float` and not
   a second grid track, because the whole point is that the spec must stop
   being a column the moment the drawing ends, and a grid column does not
   end — it is exactly as long as its row. `inline-start`, so the elevation
   sits on the leading edge in all three languages and the sheet mirrors with
   the interface the way the rest of the page does.
   The 44% is the grid's own `1fr` of `1fr 1.15fr` to within a millimetre
   (81.9 mm of 186), so the drawing is the size it has always printed at and
   nothing about the picture moved. */
.sheet__body {
  display: block;
  padding-block: 8mm;
}
.sheet__art {
  /* `margin: 0` first because this is a <figure> and the UA gives it 1em on
     all four sides. It used to be its own rule thirty lines DOWN, which would
     have silently reset the two margins below — a media query adds no
     specificity but a later rule of equal specificity still wins, and that is
     §8's trap in its plainest form. Folded in here so there is one statement
     of this element's box. */
  margin: 0; float: inline-start; inline-size: 44%;
  margin-inline-end: 10mm; margin-block-end: 6mm;
}
/* Two columns is an A4 layout, and this page is opened on a phone before it is
   ever printed — measured at 390 px, the spec column comes out about 170 px
   wide and every value wraps to four lines, including the colour name and its
   manufacturer code. A sheet that cannot be proof-read on the device it was
   sent to is a sheet nobody checks before ordering from it.
   ⚠ AFTER the rule it overrides — §8, the fourth time in this file. A float
   here would put the elevation beside two rows and the rest underneath it on
   a 390 px screen, which is the narrow-column wrap this block exists to end. */
@media (max-width: 700px) {
  .sheet__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6mm; }
  .sheet__art { float: none; inline-size: auto; margin: 0; }
}
/* ⚠ THE HEBREW GLOSS, SHOWN ONLY ON A SHEET BUILT IN ANOTHER LANGUAGE.
   `dir="rtl"` on the element itself rather than a rule here, because a
   Hebrew line inside an LTR sheet has to lay itself out right-to-left and
   nothing else on that page does. Quiet enough to be a footnote and legible
   enough to order from: this is the line Peretz reads. */
.sheet__he {
  display: block; direction: rtl; text-align: start;
  font-size: .74rem; color: var(--ink-2); margin-block-start: 1px;
}

.sheet__art svg {
  inline-size: 100%; block-size: auto; max-block-size: 150mm;
  display: block;
}
/* ⚠ AFTER the rule it overrides, not before it — THE THIRD TIME THIS FILE HAS
   BEEN BITTEN BY EXACTLY THIS. A media query adds no specificity, so a
   `.sheet__art svg` inside one that sits ABOVE the base `.sheet__art svg`
   loses to it at every width. That is how the phone cap shipped dead: computed
   `max-block-size` read `150mm` (566.9 px) rather than the `60vh` (506.4 px on
   a 390x844 phone) it was written for, so the elevation ran 60 px taller than
   intended and pushed the handing row and the price further below the fold —
   on a sheet whose own note says it has to be proof-readable on the device it
   was sent to. Its sibling in the same block, `.sheet__body`, worked, because
   ITS base rule comes earlier; that is why the miss read as nearly-right.
   The other two occurrences are recorded at `position: sticky` and at the
   stage's height. Search this file for "AFTER the rule it overrides". */
@media (max-width: 700px) {
  .sheet__art svg { max-block-size: 60vh; }
}
.sheet__dims {
  margin-block-start: 4px; text-align: center;
  /* `--sans` since 28.9: `--mono` has no Hebrew (§9, closed); the figures stay tabular. */
  font-family: var(--sans); font-size: .8rem; color: var(--ink-2);
}
/* ⚠ `block`, AND IT WAS `grid; gap: 0` — WHICH IS THE WHOLE REASON THE FLOAT
   ABOVE DOES ANYTHING. A grid container establishes a block formatting
   context, and a BFC root does not flow around a float: it is placed beside
   it and NARROWED, for its entire height, which is precisely the two-column
   behaviour the float was put in to end. With this left as a grid the
   elevation floated and the sheet came out byte-identical — 281.5 mm and two
   pages on a Russian דו כנפי, exactly as before. The change is invisible
   otherwise: the gap was 0 and every row is its own grid, so nothing about
   this element was using the grid it declared. */
.sheet__spec { display: block; }
/* ⚠ THE LABEL COLUMN HAS TO SURVIVE A LANGUAGE THAT COMPOUNDS. It was a flat
   `7.5em`, sized by eye against Hebrew, where every label on this sheet is one
   short word — `משקוף`, `פרזול`, `פתיחה`. Russian writes the same field as
   `Дополнительный замок`: one word longer than the whole column and with no
   space in it to break at, so it did not wrap, it OVERFLOWED — the label ran
   straight over its own value and the sheet read `Дополнительныйефовый замок`.
   The price row did the same over `₪10,825`.
   Sized to the longest label the three languages actually produce —
   `Дополнительный` — rather than to a guess, and `break-word` kept as the
   backstop for whatever the fourth language turns out to be. Measured on the
   rendered A4 sheet: the value column keeps 218 px, and the longest value
   Hebrew or Russian puts in it wraps to two lines at most. */
.sheet__row {
  display: grid; grid-template-columns: 10.4em minmax(0, 1fr) auto;
  align-items: baseline; gap: 8px;
  padding: 6px 0; border-block-end: 1px solid var(--rule);
  font-size: .88rem;
}
.sheet__row--wide { grid-template-columns: 10.4em minmax(0, 1fr); }
.sheet__k {
  font-weight: 600; color: var(--ink-2);
  min-inline-size: 0; overflow-wrap: break-word; hyphens: auto;
}
/* ⚠ THE GLOSS ALIGNS WITH ITS VALUE, NOT WITH ITS OWN DIRECTION — and it only
   started mattering when the rows below the elevation got the full measure.
   `.sheet__he` is `direction: rtl` so its glyphs order correctly, and
   `text-align: start` then resolves against THAT direction: the right-hand
   edge. In a 94 mm column that lands the Hebrew roughly under its own value;
   in the 186 mm rows that now run under the float it threw the line Peretz
   reads **90 mm across the page**, so the value and its gloss read as two
   unrelated columns. Seen in the rendered PDF, not computed — no measurement
   here says anything is wrong.
   Scoped to a ROW on purpose: `.sheet__foot`'s caveat is a whole Hebrew
   SENTENCE with nothing above it to align to, and flush-left would start it
   at the end a Hebrew reader finishes on. That one keeps its own direction. */
.sheet__row .sheet__he { text-align: left; }
.sheet__v small { display: block; font-size: .74rem; color: var(--ink-2); }
.sheet__chip {
  inline-size: 16px; block-size: 16px; border-radius: var(--r-chip);
  background: var(--chip); border: 1px solid rgb(0 0 0 / .28);
  align-self: center;
}
/* The two warnings the screen carries in `.strip` and the sheet used to hide:
   that the price is a placeholder, and that the rules had to change the door
   on the way in. Both matter more on a document somebody orders from than on
   a screen they are still playing with. */
.sheet__warn { display: block; margin-block-start: 4px; color: var(--warn); }
.sheet__note { display: block; margin-block-start: 4px; color: var(--warn); }
.sheet__foot {
  padding-block-start: 6px; border-block-start: 1px solid var(--rule);
  font-size: .76rem; color: var(--ink-2);
}

@media print {
  /* A4 with the browser's own margins; the sheet sets its own measure. */
  @page { size: A4 portrait; margin: 12mm; }
  .sheet { inline-size: auto; padding: 0; }
  /* Chromium drops backgrounds when printing unless the page asks. The colour
     chip beside the paint row IS the fact on that row, so it has to survive —
     without this it prints as an empty outline and the sheet says nothing
     about the colour except its name. */
  .sheet__chip { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .sheet__art svg { max-block-size: 140mm; }
  /* ⚠ 4 px BETWEEN PRINTED ROWS, NOT 6 — 28.9.2026. Rubik (the page's own face
     since that day) is 3.5–3.8% wider in Latin and Cyrillic than the face the
     sheet had been laid out in, and three values each took one more line
     (5.8 mm a line): English "Window" and "Frame", Russian "Остекление". The
     widest glazed double went 265.1 → 276.5 mm in English (two pages, new) and
     277.5 → 283.9 in Russian (past the 280 ceiling of its named exemption).
     The levers §9 protects were left alone — the 8 mm body padding, the 12 mm
     page margin, the 140 mm elevation — and so was the text's size: shrinking
     it to .85rem put English at exactly 273.0 of 273, a page with nothing to
     spare. Two pixels off each row's top and bottom, on paper only, puts EVERY
     door in every language on ONE page, the Russian double at 270.2 mm — which
     it had not been since the keypad row arrived on 30.8, so its exemption in
     the audit is gone. The screen keeps its 6 px. */
  .sheet__row { padding-block: 4px; }
}

/* ── bare mode: the stage only, for tools/compare.mjs ─────── */
/* ⚠ `.stage__h1` IS IN THIS LIST, and leaving it out cost a false alarm.
   The headline lives INSIDE `.stage-wrap` (it has to; above 1100 px a heading
   beside `.layout` takes its height out of the door), and `.stage-wrap` is the
   one page element bare mode KEEPS. So the headline stayed, the stage lost
   70 px, the door was drawn smaller, and `npm run profile`'s bead-against-face
   measurement — a 5% difference read across a handful of pixels — reported the
   upper panel at -5.2% against -0.9% before. Nothing about the drawing had
   changed; there were simply fewer pixels to measure it in.
   Bare mode exists so the harness photographs THE DRAWING and no page around
   it. Anything added to the stage wrap belongs here the same day. */
.is-bare .bar, .is-bare .strip, .is-bare .panel, .is-bare .stage__bar,
.is-bare .stage__h1, .is-bare .steps, .is-bare .trust, .is-bare .saved,
.is-bare .stage__hud, .is-bare .quote, .is-bare .stage__band, .is-bare .stage__arrow, .is-bare .stage__undo,
/* ⚠ `.brand` JOINS THE LIST THE DAY IT IS ADDED, which is the standing rule
   for anything put inside `.stage-wrap` — the one page element `?bare=1`
   keeps. Bare mode exists so the harnesses photograph THE DRAWING and no page
   around it, and a brand mark left in would have printed itself onto every
   `corpus-*`, `recreate-*` and `against-*` sheet: 110 comparisons against
   photographs, each with a wordmark over the wall. CLAUDE.md records the last
   time something was added to this wrap and not to this line — the headline,
   which cost the drawing 70 px and faked a 5.2% regression in `npm run
   profile` before anyone worked out the door had not moved at all. */
.is-bare .brand { display: none; }
.is-bare .layout { display: block; block-size: 100dvh; }
.is-bare .stage-wrap { block-size: 100dvh; padding: 0; border: 0; }
/* Natural framing, not the full-bleed room: app.js leaves the viewBox alone
   in bare mode, so the SVG keeps its intrinsic aspect and every tool that
   clips a fraction of `#stage svg` still lands on the door. */
.is-bare .stage { block-size: 100dvh; display: grid; place-items: center; }
.is-bare .door-svg {
  inline-size: auto; block-size: auto;
  max-inline-size: 100%; max-block-size: 100dvh;
}

/* ══════════════════════════════════════════════════════════════════════
   MOTION
   ══════════════════════════════════════════════════════════════════════

   ⚠ READ THE KILL SWITCH FIRST. It is at the TOP of this block on purpose:
   `?bare=1` is what `npm run sheets`, `recreate`, `corpus`, `against`,
   `profile` and `collide` photograph, and an animation running during a
   screenshot makes all 110 committed sheets NON-DETERMINISTIC — the same
   commit producing a different image every run, every photograph comparison
   drifting, and the byte-identical check that proves the leaf did not move
   failing at random. This rule shipped in the same commit as the first
   animation, not after it.

   THE ONE IDEA: the DOOR is a physical object being assembled; the INTERFACE
   is paper. The door moves at 260–420 ms with weight; the interface at
   120–200 ms and is barely noticed. If they move at the same speed the whole
   page reads as one flat surface and the illusion thirty photographs paid for
   is spent for nothing.

   ⚠ NO BOUNCE, ANYWHERE. A steel door that boings is a cartoon, and
   `PLAN.md` §7's generic-tells checklist exists to stop exactly this. */

.is-bare *,
.is-bare *::before,
.is-bare *::after {
  animation: none !important;
  transition: none !important;
}
/* ⚠ AND `animation-delay`, WHICH WAS MISSING AND HID THE SEND BUTTON.
   `revealSend` carries a 180 ms delay and `both`, so under reduce the DURATION
   collapsed to nothing and the DELAY did not — leaving the green button at
   `opacity: 0` for a fifth of a second, on the one screen whose whole job is
   sending, for exactly the customer who asked the browser to stop moving
   things. Measured: `document.getAnimations()` reported one animation still
   "running" under reduce, and it was that one, sitting in its delay phase.
   Fixing `revealSend` alone would have left the trap armed for the next
   delayed animation anybody writes, so the kill switch takes the delay too.
   Same addition on `.is-bare` above, and for the same reason: a screenshot
   taken during a delay is a screenshot of a hidden element. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* Slower to leave, longer to settle, no overshoot. `--ease` (fast out, no
   bounce) stays the interface's; this is the door's. */
:root { --ease-fit: cubic-bezier(.2, .7, .3, 1); }

/* ── M1 · the door assembles on load ─────────────────────────────────
   Peretz: "the start door needs to be with nothing, only the door, no mashkof
   no keyhole, just hole." This satisfies that sentence LITERALLY, IN TIME,
   without inventing an un-orderable state: the first frame is a bare leaf, and
   the frame and the fittings arrive over 900 ms. `ASK-PERETZ.md` §13 settled
   that a door without a cylinder cannot be ORDERED; nothing here disagrees —
   the state underneath is a real door throughout.
   Once, on first paint, which is why it is a class the script removes. */
.is-arriving #frame     { animation: fitPart .42s var(--ease-fit) .22s both; }
.is-arriving #hardware  { animation: fitPart .36s var(--ease-fit) .52s both; }
@keyframes fitPart { from { opacity: 0; transform: translateY(-6px); } }

/* ── M2 · the colour cross-fades ─────────────────────────────────────
   `PLAN.md` §7, decided long ago and never built: NEVER INTERPOLATE HUE. A CSS
   colour transition on a fill passes through the midpoint of two hues, so
   anthracite → sage goes through mud and reads as a rendering bug. The leaf is
   simply faded in over the outgoing paint, which never leaves the palette
   because there is nothing between two opacities. */
#stage[data-changed="colour"] #leaf { animation: paintOn .32s var(--ease-fit) both; }
@keyframes paintOn { from { opacity: 0; } }

/* ── M3, M5, M6, M7 · the parts are FITTED ───────────────────────────
   Each keyed off the field that owns it, so changing the colour does not
   re-animate the panel. See `stampChange` in js/app.js for why the stamp
   exists and why diffing the drawing was refused. */
#stage[data-changed="detail"] [data-detail],
#stage[data-changed="stripeCount"] [data-detail="strips"],
#stage[data-changed="stripeDir"] [data-detail="strips"],
#stage[data-changed="stripeTight"] [data-detail="strips"] {
  animation: fitPart .30s var(--ease-fit) both;
}
#stage[data-changed="window"] #glazing,
#stage[data-changed="grille"] #glazing,
#stage[data-changed="grilleTone"] #glazing { animation: openUp .36s var(--ease-fit) both; }
@keyframes openUp { from { opacity: 0; transform: scaleY(.94); } }

#stage[data-changed="handle"] [data-hw="handle"],
#stage[data-changed="handleLen"] [data-hw="handle"],
/* The horizontal bow, 26.9.2026 — its own field, offered the same way. */
#stage[data-changed="grab"] [data-hw="bow"] {
  animation: offerUp .28s var(--ease-fit) both;
}
@keyframes offerUp { from { opacity: 0; transform: translateX(6px); } }

/* Four fittings change together, and the point is that they change TOGETHER —
   instantly, nobody sees that they moved as one. */
#stage[data-changed="pirzul"] [data-hw="lock"],
#stage[data-changed="lockset"] [data-hw="lock"],
#stage[data-changed="speciallock"] [data-hw="lock"],
/* The pull handle's finish, 20.9.2026: it repaints the bar AND the bell, and
   they change together the way the lock furniture does under the פרזול. */
#stage[data-changed="handleFinish"] [data-hw="handle"],
#stage[data-changed="handleFinish"] [data-hw="bow"],
#stage[data-changed="handleFinish"] [data-hw="bell"] {
  animation: replate .30s var(--ease-fit) both;
}
@keyframes replate { from { opacity: 0; } }

/* The frame is its own choice now, so it gets its own arrival. */
#stage[data-changed="mashkof"] #frame { animation: fitPart .32s var(--ease-fit) both; }

/* ── AND THE TWO SMALLEST FITTINGS, WHICH HAD NO CUE AT ALL ──────────
   ⚠ THE פעמון AND THE עינית ARRIVED ON 30.8, AFTER EVERY RULE ABOVE WAS
   WRITTEN, AND NOTHING STAMPED THEM. Tapping either changed the door and the
   eye had no idea where to look — which is `UX-FINDINGS` §4.3 exactly:
   *"picking a lock swaps a small piece of hardware I have to hunt for"*, and
   these two are the smallest pieces on the leaf. A 30 mm viewer on a 950 mm
   door is 3% of its width.

   ⚠ AND A PLAIN FADE IS NOT ENOUGH AT THAT SIZE, which is why this is not
   `replate`. Something appearing from nothing at 3% of the leaf reads as a
   rendering hiccup; a brief overshoot reads as an arrival. It peaks at 1.18
   and settles — no bounce, no second swing (`PLAN.md` §7 bans a door that
   boings, and this is the fitting on it, not the door).

   ⚠ `transform-box: fill-box` IS LOAD-BEARING HERE AND NOWHERE ABOVE. Every
   other stamp animates opacity or translate; a SCALE in SVG resolves its
   origin against the whole viewBox unless told otherwise, so without this the
   ring would grow from the corner of the scene and fly in across the door. */
#stage[data-changed="bell"] [data-hw="bell"],
#stage[data-changed="peephole"] [data-hw="peephole"] {
  transform-box: fill-box; transform-origin: 50% 50%;
  animation: spotOn .38s var(--ease-fit) both;
}
@keyframes spotOn {
  from { opacity: 0; transform: scale(.55); }
  62%  { opacity: 1; transform: scale(1.18); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── M8 · the step transition ────────────────────────────────────────
   Direction is the whole information: a flow whose steps cross-fade has no
   forward and no back. ⚠ LOGICAL, not left/right — the interface mirrors and
   the direction of travel has to mirror with it. */
.sect.is-live { animation: stepIn .22s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
[dir="rtl"] .sect.is-live { animation-name: stepInRtl; }
@keyframes stepInRtl { from { opacity: 0; transform: translateX(-14px); } }

/* ── M9, M10, M11, M12, M13 · the interface ──────────────────────────
   Quick, light, and mostly unnoticed. */
.steps__c {
  transition: border-color .2s var(--ease), background .2s var(--ease),
              transform .2s var(--ease);
}
/* The current circle stands a hair proud of the row — 4% is under two pixels
   on a 44 px disc, which is exactly enough to find at a glance and not enough
   to notice as an animation. */
.steps__step.is-on .steps__c { transform: scale(1.04); }

/* ── THE TILE CONFIRMS THE PICK BEFORE THE DOOR DOES ─────────────────
   A tap on a tile has two answers: the ring, which is instant, and the door,
   which takes a redraw. The badge is what makes the first one feel deliberate
   rather than accidental — it arrives with a small overshoot, the way a
   physical switch does, and it is over in 180 ms.
   `transform` and `opacity` only, on a 18 px pseudo-element that already
   carries `pointer-events: none`. */
.tile.is-selected::after { animation: badgePop .18s var(--ease) both; }
@keyframes badgePop {
  from { opacity: 0; transform: scale(.4); }
  60%  { opacity: 1; transform: scale(1.12); }
  to   { opacity: 1; transform: scale(1); }
}
.tile { transition: border-color .14s var(--ease), box-shadow .14s var(--ease); }

/* ── M14 · THE REVEAL, ONCE, ON REACHING THE END ─────────────────────
   `GUIDED-FLOW.md` §3.4 asks for a flourish when the last step commits: a
   light sweep, the sconces brightening, a breath on the whole door, and the
   price counting up.

   What is built is the BREATH and nothing else, and the three omissions are
   each a decision rather than a shortfall:
   · the price count-up is banned by name and would show, for ~400 ms, a number
     that is not the price of anything;
   · the light sweep would be a white band travelling over the WALL as well as
     the leaf, because the stage is one box — a shimmer, which is the visual
     grammar of "still loading";
   · the sconces cannot brighten on `transform`/`opacity` alone (a `filter`
     would do it, at the cost of a compositor layer on the largest element on
     the page), and the performance budget for this round says transform and
     opacity only.

   What is left is the thing the moment actually needs: the door leans in by
   1.5% and settles. It is a CSS transform on the `<svg>` and never a viewBox
   change — `fitStage` owns the viewBox and would fight it, which
   `GUIDED-FLOW.md` §3.5 predicted before either existed.

   ⚠ ONCE. The class is set the first time the summary becomes live and never
   again — a flourish that replays every time somebody edits a choice and comes
   back is not a flourish, it is a tic. `js/app.js` holds the latch. */
.is-reveal #stage .door-svg { animation: revealBreath .9s var(--ease-fit) both; }
@keyframes revealBreath {
  from { transform: scale(1); }
  40%  { transform: scale(1.015); }
  to   { transform: scale(1); }
}
/* And the green button arrives rather than appearing: the one control the
   whole page exists to produce, given a beat of its own at the one moment it
   is the answer. */
.is-reveal .btn--wa { animation: revealSend .5s var(--ease-fit) .18s both; }
@keyframes revealSend {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
}

/* ⚠ THE PRICE DOES NOT COUNT UP. `PLAN.md` §7's generic-tells checklist bans
   count-up numbers by name, and there is a harder reason: for ~400 ms the page
   would display a number that is not the price of anything, on a site whose
   entire promise is that the figure on screen is real. It settles instead. */
.send__figure { transition: opacity .16s var(--ease); }

.bd { animation: fitPart .24s var(--ease) both; }

/* ⚠ THE TOAST MUST NOT SWALLOW THE SEND BUTTON. It sat over the dock at
   z-index 50 with pointer-events auto and killed the site's one call to action
   for four seconds at a time. Animating it is not permitted to re-open that. */
.toast { animation: toastUp .2s var(--ease) both; pointer-events: none; }
@keyframes toastUp { from { opacity: 0; transform: translateY(8px); } }

/* The cheapest thing that makes a page feel like a product on a phone.
   ⚠ 120 ms SINCE 2.10.2026, and it keeps the tile's own border and shadow
   transitions: this rule came after `.tile`'s (M-section above) and REPLACED
   them, so a selected tile's ring snapped on. And NO PRESS UNDER
   `prefers-reduced-motion` — the global block there only shortens a
   transition, it would still have shrunk the tile (T9). */
.swatch, .pill { transition: transform .12s var(--ease); }
.tile { transition: border-color .14s var(--ease), box-shadow .14s var(--ease), transform .12s var(--ease); }
.tile:active, .swatch:active, .pill:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
  .tile:active, .swatch:active, .pill:active { transform: none; }
}

/* ── ≥1280 · THE DOOR TAKES THE EMPTY COLUMN ─────────────────────────
   `REALISM2.md` stage F. The mockup runs the drawing full bleed with the
   price and choices cards FLOATING over it, and this is not that — read on.

   What the flow changed underneath it: `.panel--send` now lives inside the
   summary STEP, so the third column stands empty at every step but the last.
   That is the same fault stage F was written for, measured at 1536x1024 as
   "the choices column is 918 px tall and its content ends at 304 — 614 px of
   blank", arriving from the other direction. The door takes it.

   ⚠ WHY NOT THE FLOATING OVERLAY, WHICH IS WHAT THE MOCKUP DRAWS. §6 of that
   file makes the overlay conditional on twelve viewport x size measurements,
   and its own last paragraph is the instruction for when they will not settle:
   THE OVERLAY YIELDS, NOT THE CONTROLS. The condition is not the container any
   more — that is healthy, 6/6 at 1280 and 1680 — it is that the overlay was
   specified against a three-column CABINET that no longer exists, and its one
   hard requirement is re-deriving `--wall` from the floating card's inner edge
   because the grip controls stand in that strip. Spanning the track needs none
   of that: the stage's padding box is still the wall, `fitStage` still
   measures the box the bar sits in, and the house rule that the published
   number and the box are the same box by construction is untouched.
   Recorded rather than quietly skipped. A door that is 360 px wider is most of
   what the overlay was for; the rest is a composition, and it deserves a fresh
   look rather than the tail of a long session. */
@media (min-width: 1280px) {
  /* ⚠ 420 ABOVE 1280 TOO, AND IT WAS 380. One number rather than two: the
     limit is the WALL, and the wall is narrowest in proportion at the
     narrowest desktop, so a bigger cap up here would only widen the gap
     between what the two breakpoints promise. Same measurement behind it —
     the door is identical to a tenth of a pixel at 1280, 1440 and 1920. */
  .layout { grid-template-columns: minmax(300px, var(--panel-max)) minmax(0, 1fr) 0; }
  .stage-wrap { grid-column: 2 / span 2; }
  .stage__bar { grid-column: 2 / span 2; }
  /* The send card is inside the summary step now, so column 3 has nothing to
     hold. Zeroed rather than removed from the template: `.panel--send` is
     still addressed by `grid-column: 3` above, and a rule pointing at a track
     that does not exist is the kind of silence this stylesheet has paid for. */
  .panel--send { display: none; }
  .sect--sum .panel--send { display: block; border: 0; }
}

/* ── the door saved to us (dlatot-magen fork, 28.9.2026) ─────────────
   `.final-cta` sits in the send card under the lead sentence; `#final` is the
   dialog (the `.confirm` surface, wider, with a form); `.strip--saved` is the
   calm line a saved link arrives with. */
.final-cta { display: grid; gap: 6px; margin-block: 4px 12px; }
.final-cta[hidden] { display: none; }
.btn--final { background: var(--ink); color: var(--paper); inline-size: 100%; }
.btn--final:hover { filter: brightness(1.25); }
.btn--final svg { flex: 0 0 auto; }
.final-cta__sub { margin: 0; text-align: center; font-size: .8rem; color: var(--ink-2); }

.final {
  inline-size: min(460px, 94vw);
  max-block-size: 92vh; overflow-y: auto;
  padding: 22px 22px 18px;
  border: 1px solid transparent; border-radius: var(--r-card);
  --surface: #fff;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.final::backdrop { background: rgb(23 23 21 / .55); }
.final__form, .final__done { display: grid; gap: 12px; }
.final__form[hidden], .final__done[hidden] { display: none; }
.final__h { margin: 0; font-size: 1.25rem; font-weight: 700; }
.final__lede { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.final__f { display: grid; gap: 4px; font-size: .84rem; font-weight: 600; min-inline-size: 0; }
.final__f input, .final__link {
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink);
  min-block-size: 46px; padding: 8px 12px; inline-size: 100%; box-sizing: border-box;
  border: 1px solid var(--rule); border-radius: 10px; background: #fff;
}
.final__f input:focus, .final__link:focus { outline: 2px solid var(--accent-ink); outline-offset: 1px; }
.final__f input[aria-invalid="true"] { border-color: var(--danger); background: #FFF6F5; }
.final__pair { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
@media (max-width: 380px) { .final__pair { grid-template-columns: 1fr; } }
.final__hp { position: absolute; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; opacity: 0; }
.final__err { margin: 0; font-size: .86rem; color: var(--danger); }
.final__fine { margin: 0; font-size: .76rem; line-height: 1.45; color: var(--ink-2); }
.final__row { display: flex; justify-content: flex-end; gap: 10px; }
.final .final__cancel, .final .final__go { min-block-size: 46px; min-inline-size: 96px; }
.final .final__cancel { background: none; color: var(--ink); border-color: var(--rule); }
.final .final__go { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.final .final__go:disabled { opacity: .6; cursor: progress; }
.final__link { font-size: .92rem; text-align: center; }
.final__stack { display: grid; gap: 8px; }
.final__stack .btn { inline-size: 100%; min-block-size: 46px; }
.final__stack .btn[hidden] { display: none; }

.saved__h { margin: 4px 0 6px; font-size: .74rem; font-weight: 600; color: var(--ink-2); letter-spacing: .02em; }
.saved__h[hidden] { display: none; }
.saved__list--final { margin-block-end: 8px; }
.saved__list--final:empty { display: none; }
a.saved__open { text-decoration: none; }
.saved__row--final .saved__open { border-color: var(--ink-3); }
.saved__link { display: inline-flex; align-items: center; justify-content: center; }

.strip--saved { color: var(--ink); background: #F3EEE4; }
.strip--saved[hidden] { display: none; }

.is-bare .final, .is-bare .final-cta, .is-bare .strip--saved { display: none; }

/* ── dlatot-magen fork, 28.9.2026 (second round): the header ────────────
   The brand is the family's own shield mark and a link home. The top bar at the
   header's other end holds "My designs" and "Save the door and get a link" on
   every step. Since 8.10 the top bar stands in the wall's own row
   (`.stage__hud`), in the slot upstream gave the floppy — see below.
   ⚠ THE BRAND STAYS IN THE HEADER STRIP: the wall begins ~37 px down and the
   language picker sits at its top corner, on the brand's side in Hebrew. At
   42 px the mark hung 17 px into the picker; 30 px from the top at 4 clears it. */
.brand { pointer-events: auto; text-decoration: none; gap: 8px; inset-block-start: 4px; }
.brand__mark { inline-size: auto; block-size: 30px; filter: drop-shadow(0 1px 3px rgb(42 30 22 / .18)); }
.brand__name { font: 700 1.12rem/1 "Frank Ruhl Libre", Georgia, serif; letter-spacing: 0; }
html:not([lang="he"]) .brand__name { font-family: "Playfair Display", Georgia, serif; font-size: 1.04rem; letter-spacing: .01em; }
.brand:hover .brand__name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ⚠ THE TOP BAR IS IN THE WALL'S ROW — 8.10.2026, merging upstream's 29.9–2.10
   round. Upstream moved the language picker onto the wall's top corner, which
   is where this bar stood (absolute, top inline-end) in English and Russian,
   and moved the phone's band down the wall, which is where it stood on a
   phone. Measured after the merge: the save pill over the picker by 161x15 px
   on a 1440 desktop and 100x38 on a 390 phone. So the bar now lives in
   `.hud__slot--end`, the slot upstream gave the floppy: one row, the picker at
   one end and "My designs · Save" at the other, at every width and in every
   language, and the save outermost as the floppy was. The floppy itself stays
   in the DOM (app.js writes its glyph) and is hidden. */
.topbar { display: flex; align-items: center; gap: 8px; }
/* upstream runs the slot right-to-left in EN/RU to keep the save outermost;
   the bar is one child of it, so it does the same inside */
html:not([dir="rtl"]) .topbar { flex-direction: row-reverse; }
/* the slot's wash is for bare glyphs on the wall; these are pills of their own */
.hud__slot--end:has(.topbar) { background: none; padding: 0; }
.topbar__tiny { display: none; }
.topbar__mine, .topbar__save {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; gap: 8px;
  min-block-size: 44px; padding: 0 16px;
  font: 600 .86rem/1 var(--sans); white-space: nowrap;
  border-radius: var(--r-pill); cursor: pointer;
}
.topbar__mine { background: #fff; color: var(--ink); border: 1px solid var(--rule); }
.topbar__mine:hover { border-color: var(--ink-2); }
.topbar__save { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.topbar__save:hover { filter: brightness(1.25); }
.topbar__save[hidden] { display: none; }
.topbar__mine svg, .topbar__save svg { flex: 0 0 auto; }
.topbar__n {
  display: inline-grid; place-items: center;
  min-inline-size: 22px; block-size: 22px; padding: 0 6px; box-sizing: border-box;
  border-radius: var(--r-pill); background: var(--ink); color: var(--paper);
  font-size: .76rem; font-variant-numeric: tabular-nums;
}
.topbar__n[hidden] { display: none; }
.topbar__short { display: none; }
@media (max-width: 1439px) {
  .topbar__long { display: none; }
  .topbar__short { display: inline; }
}
@media (max-width: 1279px) {
  .topbar__lbl { display: none; }
  .topbar__mine { padding-inline: 13px; }
}
/* ⚠ BELOW 420 THE SAVE IS UPSTREAM'S FLOPPY. On a phone the step's band
   (`placeBand`) shares this row over most doors and takes only the wall left
   between the slots: the worded pair (151 px in Hebrew, 187 in Russian) left it
   a sliver at 390 and, in Russian, crossed the door's centre so the band was
   not shown at all. The floppy is 52 px, the size the band was measured
   against; it opens the same save-to-us dialog (`data-open-final`). With the
   bookmark beside it the band keeps its title at 320–390 in every language. */
#save-hud { display: none; }
@media (max-width: 419px) {
  .hud__slot .topbar__save { display: none; }
  .hud__slot #save-hud { display: inline-grid; }
  .topbar__mine { min-block-size: 44px; min-inline-size: 44px; padding: 0 10px; gap: 6px; justify-content: center; }
  .topbar__lbl { display: none; }
  .topbar__n { min-inline-size: 20px; block-size: 20px; font-size: .72rem; padding: 0 5px; }
}


/* "My designs": a centred dialog, like the save's */
.mine { inline-size: min(520px, 94vw); }
.mine[open] { display: grid; gap: 10px; }
.mine__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mine__x {
  appearance: none; background: none; border: 0; cursor: pointer;
  min-inline-size: 44px; min-block-size: 44px; margin-inline-end: -10px;
  font-size: 1.7rem; line-height: 1; color: var(--ink-2);
}
.mine__x:hover { color: var(--ink); }
.mine__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.mine__list:empty { display: none; }
.mine .saved__h { margin: 4px 0 0; }
.mine .saved__open { min-block-size: 76px; border-radius: 14px; padding: 6px 12px; gap: 12px; }
.mine .saved__open:hover { border-color: var(--ink-2); }
.saved__thumb { inline-size: 34px; block-size: 64px; object-fit: contain; flex: 0 0 auto; }
.saved__thumb:not([src]) { visibility: hidden; }
.mine__save { inline-size: 100%; margin-block-start: 4px; }

/* ── Russian fixes ───────────────────────────────────────────────────────
   1. "Начните с готовых образцов" + "30 дверей, которые мы установили" did
   not fit one row of the panel: the title wrapped to three lines, and the
   grid had sized its row from the unwrapped height (a percentage width is
   indefinite while tracks are sized), so the text spilled out of the pill. An
   auto width sizes the row at the real width; the count wraps under the
   title when both do not fit. */
.panel--choose > .works-open { inline-size: auto; flex-wrap: wrap; row-gap: 2px; }
.works-open__t { flex: 1 1 auto; }
/* 2. The step's foot: «‹ Назад» · «К итогу» · «Далее ›» squeezed the way on
   into a two-line circle. No label wraps; if the row is still too short the
   buttons wrap as a row. */
.sect__foot { flex-wrap: wrap; row-gap: 8px; }
/* not the summary's green send: its sentence is long and is meant to wrap */
.sect__foot .btn:not(.btn--wa) { white-space: nowrap; }
.sect__next { min-inline-size: max-content; }
/* Russian's long label is the longest; measured to reach the title at 1440. */
@media (max-width: 1535px) {
  html[lang="ru"] .topbar__long { display: none; }
  html[lang="ru"] .topbar__short { display: inline; }
}
/* A pre-existing 1 px sideways scroll on phones (summary step, seen upstream
   too). `clip`, not `hidden`: it makes no scroll container, so the sticky door
   keeps working. */
html, body { overflow-x: clip; }

/* "My designs" rows: the door's name over the date it was saved, the price at the end */
.saved__what--two { display: grid; gap: 2px; white-space: normal; }
.saved__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved__when { font-size: .74rem; font-weight: 400; color: var(--ink-2); }

/* The summary's print and share pair (20.11.2026) sit with the copy. */
.send__alt #print-btn, .send__alt #share-btn { white-space: nowrap; }

/* ── THE CUSTOMER'S SHEET (`?sheet=1&np=1`): our shield beside the name, no
   prices anywhere (20.11.2026). */
.sheet__mark { display: none; }
.sheet--clean .sheet__top > div:first-child {
  display: grid; grid-template-columns: auto 1fr; column-gap: 4mm; align-items: center;
}
.sheet--clean .sheet__mark {
  display: block; grid-row: span 2; inline-size: auto; block-size: 18mm;
}
.sheet--clean .sheet__brand { font: 700 1.6rem/1.1 "Frank Ruhl Libre", Georgia, serif; align-self: end; }
html:not([lang="he"]) .sheet--clean .sheet__brand { font-family: "Playfair Display", Georgia, serif; }
.sheet--clean .sheet__sub { align-self: start; }

/* ── READY STRIPE DESIGNS (`stripePresets()`, 20.11.2026) ──────────────
   A sideways row of door cards under the strips, scroll-snapping, one and a
   half cards wider than the column so the next one shows it is a row. */
.presets { margin-block-start: 6px; }
.presets__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 118px; gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-block: 4px 10px; padding-inline: 2px;
  scrollbar-width: thin;
}
.preset { scroll-snap-align: start; display: grid; gap: 4px; justify-items: center; }
.preset__btn {
  appearance: none; -webkit-appearance: none;
  display: grid; grid-template-rows: 150px auto auto; gap: 4px; justify-items: center;
  inline-size: 100%; padding: 6px 6px 8px;
  background: var(--paper-up); border: 1px solid var(--rule); border-radius: var(--r-tile);
  font: inherit; color: var(--ink); text-align: center; cursor: pointer;
}
.preset__btn:hover { border-color: var(--ink-2); }
.preset__btn.is-on { border-color: var(--accent-ink); box-shadow: 0 0 0 2px var(--accent-ink) inset; }
.preset__btn:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.preset__art { inline-size: 100%; block-size: 150px; display: block; overflow: hidden; }
.preset__art svg { inline-size: 100%; block-size: 100%; display: block; }
.preset__name { font-size: .74rem; line-height: 1.25; }
.preset__price { font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.preset__photo { font-size: .72rem; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ── THE MAKER SWITCH ON THE WALL (`buildBrandWall()`, 22.11.2026) ────────
   A segmented pill on the door's axis just above its head, under the step's
   band — absolute like the band, placed by `placeBand` (`--bw-top/-l`), given
   its wall by `fitCrop` (`brandRoom`). Never wraps: four names in one row. */
.band__brand {
  position: absolute; z-index: 4;
  inset-block-start: var(--bw-top, 0px); left: var(--bw-l, 16px);
  display: flex; flex-wrap: nowrap; gap: 2px; inline-size: max-content;
  padding: 3px;
  background: rgb(255 255 255 / .62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgb(28 26 23 / .10); border-radius: var(--r-pill);
  box-shadow: 0 2px 10px rgb(28 26 23 / .08);
}
.bw__b {
  appearance: none; -webkit-appearance: none;
  min-block-size: 36px; padding: 4px 14px;
  border: 0; border-radius: var(--r-pill); background: transparent;
  font: 500 .86rem/1.1 var(--sans); color: var(--ink-2);
  white-space: nowrap; cursor: pointer;
}
.bw__b:hover { color: var(--ink); }
.bw__b.is-on { background: var(--ink); color: #fff; font-weight: 600; }
.bw__b:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
@media (max-width: 1099px) {
  .band__brand { padding: 2px; }
  .bw__b { min-block-size: 30px; padding: 2px 9px; font-size: .74rem; }
}
@media (max-width: 359px) { .bw__b { padding: 2px 6px; font-size: .68rem; } }
.is-bare .band__brand, .is-sheet .band__brand { display: none; }

/* ══ THE ROUND OF 23.11.2026 (David's list, from the tablet) ═══════════════
   Overrides, kept together at the end so the measured rules above stay as
   they were. Each block names the line it answers. */

/* "remove 'design your door'": the page's heading stays, for a screen reader */
.stage__h1 {
  position: absolute !important; inline-size: 1px; block-size: 1px; margin: 0; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* "remove 'the door itself'. Keep the oversize or standard": the band says
   only the choice of the step on screen */
.band__title { display: none !important; }
.band__now { font-size: clamp(17px, 1.5vw, 22px); }
@media (max-width: 1099px) {
  .band__now { font-size: .98rem; }
  .band__now:not(:empty)::before { content: none; }
}

/* "move this [the maker switch] to the top and also add logos to it": a row
   of its own at the top of the wall, in the flow, centred */
.band__brand {
  position: relative; inset: auto; left: auto; z-index: 4;
  align-self: center; margin: 10px auto 8px; flex: 0 0 auto;
  gap: 4px; padding: 4px;
  background: #fff;
}
.bw__b {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-block-size: 44px; padding: 4px 14px;
}
.bw__logo { display: block; block-size: 28px; inline-size: auto; flex: 0 0 auto; }
/* a logo that spells its maker's name: the name is for a screen reader, and
   outside Hebrew it shows beside the logo of the chosen maker */
.bw__name--logo { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not([lang="he"]) .bw__b.is-on .bw__name--logo { position: static; inline-size: auto; block-size: auto; clip-path: none; }
.bw__logo--dm { block-size: 30px; }
.bw__logo--hosem { block-size: 22px; }
.bw__b.is-on { background: var(--ink); color: #fff; }
.bw__b.is-on .bw__logo { filter: invert(1) grayscale(1) brightness(1.6); }
.bw__b.is-on .bw__logo--dm { filter: none; }
.bw__b.is-on:has(.bw__logo--dm) { background: var(--ink); }
@media (max-width: 1099px) {
  .band__brand { margin: 6px auto 4px; }
  .bw__b { min-block-size: 38px; padding: 2px 10px; gap: 6px; }
  .bw__logo { block-size: 22px; }
  .bw__logo--dm { block-size: 24px; }
  .bw__logo--hosem { block-size: 17px; }
}
@media (max-width: 480px) {
  .bw__b { padding: 2px 7px; }
  .bw__name:not(.sr-only) { font-size: .7rem; }
}
.is-bare .band__brand, .is-sheet .band__brand { display: none; }

/* "remove the arrows" beside the door */
.stage__arrow { display: none !important; }

/* "remove this all text": the four claims under the door and the drawing note */
.trust, #draw-caveat, .stage__note { display: none !important; }

/* "just keep the reset - just the icon actually" (it asks before it resets) */
#undo-btn, #redo-btn { display: none !important; }
.undo-pill--reset { padding: 0; inline-size: 44px; }
.undo-pill--reset .undo-pill__w { display: none; }

/* the top bar: «עיצובים» and the share button; the globe beside them */
.topbar__share {
  appearance: none; -webkit-appearance: none; display: inline-grid; place-items: center;
  inline-size: 44px; block-size: 44px; padding: 0; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink); cursor: pointer;
}
.topbar__share:hover { filter: brightness(1.25); }
.topbar__share:focus-visible, .globe:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.topbar__mine .topbar__lbl { display: inline !important; }
.hud__slot--start:has(.globe) { background: none; padding: 0; position: relative; }
.globe {
  appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 6px;
  min-block-size: 44px; padding: 0 12px; border-radius: var(--r-pill);
  background: #fff; color: var(--ink); border: 1px solid var(--rule);
  font: 600 .78rem/1 var(--sans); letter-spacing: .04em; cursor: pointer;
}
.globe:hover { border-color: var(--ink-2); }
.globe__menu {
  position: absolute; z-index: 20; inset-block-start: calc(100% + 6px); inset-inline-start: 0;
  display: grid; min-inline-size: 140px; padding: 6px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-tile);
  box-shadow: 0 8px 24px rgb(0 0 0 / .16);
}
html:not([dir="rtl"]) .globe__menu { inset-inline-start: auto; inset-inline-end: 0; }
.globe__menu[hidden] { display: none; }
.globe__menu .lang {
  appearance: none; -webkit-appearance: none; display: block; inline-size: 100%;
  min-block-size: 44px; padding: 0 12px; text-align: start;
  background: none; border: 0; border-radius: var(--r-tile);
  font: 500 .95rem/1 var(--sans); color: var(--ink); cursor: pointer;
}
.globe__menu .lang:hover { background: var(--paper); }
.globe__menu .lang.is-on { font-weight: 700; background: var(--paper); }

/* "move this [the price] to the side, right side, the opposite side from
   where you are choosing": the panel is on the inline start, so the price
   stands at the door's inline end. In Hebrew that was already the case (the
   left); in English and Russian it moves to the door's right. */
@media (min-width: 1100px) {
  html:not([dir="rtl"]) .quote {
    right: auto; left: calc(var(--frame-right, 62%) + 8px);
    align-items: flex-start; text-align: left;
  }
  html:not([dir="rtl"]) .quote__price { justify-items: start; }
  html:not([dir="rtl"]) .quote__send { max-inline-size: max(140px, calc(100% - var(--frame-right, 62%) - 16px)); }
}

/* the step rail: taller, and each mark names its step beside it */
.steps__l { display: none; }
@media (min-width: 1100px) {
  .stage-wrap > .steps { align-items: stretch; padding-inline: 6px; inline-size: max-content; }
  .stage-wrap > .steps .steps__step {
    justify-content: flex-start; gap: 10px; padding-inline-end: 12px; min-block-size: 48px;
  }
  .stage-wrap > .steps .steps__l {
    display: block; font: 500 .84rem/1.1 var(--sans); color: var(--paper); white-space: nowrap;
  }
  .stage-wrap > .steps .steps__step.is-on .steps__l { font-weight: 700; }
  .stage-wrap > .steps .steps__step.is-on { background: rgb(255 255 255 / .1); border-radius: var(--r-tile); }
}

/* the panel: no "start from ready designs" (it is in «עיצובים» now), and a
   compact head, so the choices are on screen at once */
.works-open { display: none !important; }
.sect__lede { display: none; }
.sect__where { margin: 0 0 2px; }
.sect__title { margin-block-end: 8px; }

/* the summary: a plain list, the order button, the phone, and nothing else */
.spec { display: grid; grid-template-columns: 1fr; gap: 0; margin: 4px 0 16px; border-block-start: 1px solid var(--rule); }
.spec__row {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; justify-items: start;
  gap: 12px; min-block-size: 48px; padding: 6px 4px;
  border: 0; border-block-end: 1px solid var(--rule); border-radius: 0; text-align: start;
}
.spec__art { inline-size: 36px; block-size: 36px; }
.spec__art .spec__ico { inline-size: 22px; block-size: 22px; }
.spec__swatch { inline-size: 30px; block-size: 22px; border-radius: 4px; }
.spec__lbl { font-size: .8rem; color: var(--ink-2); }
.spec__name { font-size: .88rem; font-weight: 600; -webkit-line-clamp: 2; text-align: end; justify-self: end; max-inline-size: 22ch; }
button.spec__row:hover { background: var(--paper); }
.send__lead, .send__alt, .send__fine, .proof, .sect--sum .sect__exp { display: none !important; }

/* «עיצובים»: two tabs over two grids */
.designs__tabs { display: flex; gap: 6px; padding: 0 18px 12px; }
.designs__tab {
  appearance: none; -webkit-appearance: none; min-block-size: 40px; padding: 0 16px;
  border: 1px solid var(--rule); border-radius: var(--r-pill); background: none;
  font: 600 .86rem/1 var(--sans); color: var(--ink-2); cursor: pointer;
}
.designs__tab.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.designs__pane[hidden], .designs__mine[hidden] { display: none; }
.work-cell { position: relative; display: grid; }
.work__tools { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; display: flex; gap: 4px; }
.work__tool {
  appearance: none; -webkit-appearance: none; display: grid; place-items: center;
  inline-size: 32px; block-size: 32px; padding: 0; border: 1px solid var(--rule); border-radius: var(--r-pill);
  background: rgb(255 255 255 / .9); color: var(--ink); font: 600 1rem/1 var(--sans); cursor: pointer;
}
.work__tool:hover { border-color: var(--ink); }
.work--add { place-content: center; justify-items: center; min-block-size: 180px; border-style: dashed; text-align: center; }
.work--add .work__plus { font: 300 2.4rem/1 var(--sans); color: var(--ink-2); }
.work--add .work__name { white-space: normal; font-size: .82rem; color: var(--ink); }
.designs__empty { grid-column: 1 / -1; margin: 4px 0 0; font-size: .86rem; color: var(--ink-2); }

/* the wall's old save (the floppy) opened the form that is gone */
#save-hud { display: none !important; }

/* the phone's row of steps, on a tablet held upright: the names under the
   marks too (the row grows from 62 to 78 px; `--steps-h` carries it) */
@media (min-width: 700px) and (max-width: 1099px) {
  :root { --steps-h: 78px; }
  .steps .steps__step { flex-direction: column; gap: 2px; }
  .steps .steps__c { block-size: 44px; }
  .steps .steps__l {
    display: block; font: 500 .68rem/1.1 var(--sans); color: var(--paper);
    white-space: nowrap; max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis;
  }
  .steps .steps__step.is-on .steps__l { font-weight: 700; }
}

/* the side of the door: outside / inside, in the middle of the wall's top row */
.view-toggle {
  pointer-events: auto; flex: 0 0 auto;
  display: flex; gap: 2px; padding: 3px;
  background: rgb(255 255 255 / .86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgb(28 26 23 / .10); border-radius: var(--r-pill);
  box-shadow: 0 2px 10px rgb(28 26 23 / .10);
}
.vt__b {
  appearance: none; -webkit-appearance: none; min-block-size: 36px; padding: 0 14px;
  border: 0; border-radius: var(--r-pill); background: none;
  font: 600 .84rem/1 var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap;
}
.vt__b.is-on { background: var(--ink); color: #fff; }
.vt__b:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.is-bare .view-toggle, .is-sheet .view-toggle { display: none; }
@media (max-width: 480px) {
  .vt__b { min-block-size: 34px; padding: 0 10px; font-size: .76rem; }
  .topbar__mine .topbar__lbl { display: none !important; }
  .globe { padding: 0 10px; }
}
/* the open language menu stands over the price and the order button */
.stage__hud:has(.globe__menu:not([hidden])) { z-index: 30; }

/* «מבפנים»: the door from the flat stands on a plain drawn wall — the
   photograph is the stairwell, and its lamps belong outside */
.is-inside .stage { background-image: none !important; }
.is-inside .stage #backdrop { display: inline; }
.is-inside .stage [data-room="sconce"], .is-inside .stage [data-room="lamp-wash"], .is-inside .stage [data-room="pool"] { display: none; }


/* ══ THE ROUND OF 24.11.2026 (David's list) ═══════════════════════════════ */

/* "next to the logos, put 'Choose your manufacturer' big so it's clear it's
   an action": the words beside the pill; the pill itself is `.bw__set` */
.band__brand {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px;
  inline-size: auto; max-inline-size: calc(100% - 16px);
  padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.bw__ask { font: 700 clamp(1.05rem, 1.5vw, 1.4rem)/1.15 var(--display); color: var(--ink); white-space: nowrap; }
.bw__set {
  display: flex; flex-wrap: nowrap; gap: 4px; padding: 4px;
  background: #fff; border: 1px solid rgb(28 26 23 / .10); border-radius: var(--r-pill);
  box-shadow: 0 2px 10px rgb(28 26 23 / .08);
}
@media (max-width: 1099px) { .bw__ask { font-size: 1.05rem; } }

/* "let's make the price next to the door … the price itself BIG and then the
   sub items also visible but smaller, also mention the +17%": a card on the
   wall at the door's inline end (the side away from the panel), square, the
   figure first, the lines under it, the order button at its foot. */
.pi { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.pi__r { display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
         font: 500 .8rem/1.25 var(--sans); color: var(--ink-2); }
.pi__r--base { color: var(--ink); }
.pi__n { flex: 1 1 0; min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pi__v { flex: 0 0 auto; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.pi__maker { margin: 6px 0 0; padding-block-start: 6px; border-block-start: 1px solid rgb(28 26 23 / .16);
             font: 600 .74rem/1.3 var(--sans); color: var(--ink-2); }
.pi__maker.is-on { color: var(--accent-ink); }
.quote__items, .wprice { display: none; }
@media (min-width: 1100px) {
  .quote, html[dir="rtl"] .quote, html:not([dir="rtl"]) .quote {
    align-items: stretch; text-align: start; gap: 8px;
    padding: 14px 16px 16px;
    background: rgb(255 255 255 / .82);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border: 1px solid rgb(28 26 23 / .14);
    box-shadow: 6px 6px 0 rgb(28 26 23 / .12);
  }
  html[dir="rtl"] .quote {
    right: calc(100% - var(--frame-left, 38%) + 14px); left: auto;
    inline-size: clamp(170px, calc(var(--frame-left, 38%) - 28px), 270px);
  }
  html:not([dir="rtl"]) .quote {
    left: calc(var(--frame-right, 62%) + 14px); right: auto;
    inline-size: clamp(170px, calc(100% - var(--frame-right, 62%) - 28px), 270px);
  }
  .quote .quote__price, html[dir="rtl"] .quote .quote__price, html:not([dir="rtl"]) .quote .quote__price { justify-items: start; }
  .quote__price .send__figure { font: 700 clamp(2.6rem, 3.6vw, 3.5rem)/1 var(--display); }
  .quote__items { display: block; }
  .quote .quote__send, html:not([dir="rtl"]) .quote .quote__send {
    max-inline-size: none; justify-content: center; border-radius: 0; margin-block-start: 4px;
  }
}
@media (max-width: 1099px) {
  .wprice {
    display: block; position: absolute; z-index: 3;
    inset-block-start: var(--frame-top, 20%);
    max-block-size: calc(var(--frame-bot, 90%) - var(--frame-top, 20%) - 64px); overflow: hidden;
    padding: 7px 8px 8px;
    background: rgb(255 255 255 / .84);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border: 1px solid rgb(28 26 23 / .14);
    box-shadow: 3px 3px 0 rgb(28 26 23 / .12);
  }
  html[dir="rtl"] .wprice {
    right: calc(100% - var(--frame-left, 38%) + 8px);
    inline-size: min(210px, calc(var(--frame-left, 38%) - 14px));
  }
  html:not([dir="rtl"]) .wprice {
    left: calc(var(--frame-right, 62%) + 8px);
    inline-size: min(210px, calc(100% - var(--frame-right, 62%) - 14px));
  }
  .wprice__fig { display: block; margin-block-end: 5px; font: 700 clamp(1.5rem, 6.4vw, 2.2rem)/1 var(--display);
                 color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
  .wprice .pi { gap: 2px; }
  .wprice .pi__r { font-size: .66rem; gap: 4px; }
  .wprice .pi__n { white-space: normal; }
  .wprice .pi__maker { font-size: .62rem; margin-block-start: 4px; padding-block-start: 4px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .wprice .pi__r { font-size: .78rem; }
  .wprice .pi__maker { font-size: .72rem; }
}
.is-bare .wprice, .is-sheet .wprice { display: none !important; }

/* "a row or grid with premade designs … Not the full design of the door":
   the ready strip designs, a grid of leaf outlines (square, like the card) */
.sdes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.sdes__c { display: grid; }
.sdes__b {
  appearance: none; -webkit-appearance: none; position: relative;
  display: grid; gap: 4px; justify-items: center; align-content: start;
  padding: 10px 6px 8px; background: var(--paper-up, #fff); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 0; cursor: pointer; text-align: center;
}
.sdes__b:hover { border-color: var(--ink-2); }
.sdes__b.is-on { border-color: var(--accent-ink); box-shadow: 0 0 0 2px var(--accent-ink) inset; }
.sdes__b:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.sdes__art { display: block; block-size: 84px; }
.sdes__art svg { block-size: 100%; inline-size: auto; display: block; }
.sdes__name { font: 500 .74rem/1.2 var(--sans); }
.sdes__price { font: 600 .72rem/1 var(--sans); color: var(--ink-2); }
.tag-pop {
  position: absolute; inset-block-start: 0; inset-inline-start: 0; z-index: 1;
  padding: 3px 6px; background: var(--ink); color: #fff;
  font: 700 .6rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
}
.sdes__b.is-off { opacity: .42; cursor: not-allowed; }
.stripes--design .blen__row, .stripes--design .stripes__tight { display: none; }
@media (max-width: 1099px) { .wprice .pi__n { overflow-wrap: anywhere; } }

/* ── THE WINDOW DESIGN'S COLOUR, 25.11.2026 ─────────────────────────────
   David: "if you click on it it will just open above it a color round circles
   to pick". The chip row floats above the chosen tile (`placeTonePop` in
   js/app.js), square like the rest of his UI; only the chips are round,
   because he asked for circles. The dot on the chosen tile is its colour. */
.tonepop {
  position: fixed; z-index: 45;
  display: grid; gap: 6px; justify-items: center;
  padding: 8px 10px 10px;
  background: #fff; color: var(--ink);
  border: 1px solid var(--ink-3);
  box-shadow: 0 10px 28px rgb(23 23 21 / .18);
}
.tonepop[hidden] { display: none; }
.tonepop::after {
  content: ''; position: absolute; inset-block-start: 100%; left: var(--ax, 50%);
  inline-size: 12px; block-size: 12px; margin-left: -6px; margin-top: -6px;
  background: #fff; border: solid var(--ink-3); border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.tonepop.is-below::after {
  inset-block-start: auto; bottom: 100%; margin-top: 0; margin-bottom: -6px;
  border-width: 1px 0 0 1px;
}
.tonepop__t { font: 500 .74rem/1.2 var(--sans); color: var(--ink-2); white-space: nowrap; }
.tonepop__row { display: flex; gap: 6px; }
.tonepop__c {
  appearance: none; -webkit-appearance: none; background: none; border: 0;
  inline-size: 42px; block-size: 42px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: inset 0 0 0 2px transparent;
}
.tonepop__c.is-on { box-shadow: inset 0 0 0 2px var(--accent-ink); }
.tonepop__c:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.tonepop__chip {
  inline-size: 30px; block-size: 30px; border-radius: 50%;
  background: var(--chip); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .22);
}
.tile__tone {
  position: absolute; inset-block-end: 7px; inset-inline-end: 7px;
  inline-size: 14px; block-size: 14px; border-radius: 50%;
  background: var(--chip); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--accent-ink);
}
.tonepop__chip { display: grid; place-items: center; }
.tonepop__chip svg { inline-size: 30px; block-size: 30px; }
