/* web/app/app.css — layout only for the sign-in shell and the minimal desktop. Every colour, size and
   duration comes from design.css tokens; nothing here invents one. */

.app { position: relative; min-height: 100vh; min-height: 100dvh; }
/* B4 / perf F3 (round B): the legal footer is lifted above design.css's fixed, opaque `.bg` (z-index 0), under which
   it was painted on every screen; and it has no box until a screen is drawn (`data-view`): drawn at the top of the
   empty page and pushed down by the first screen, it was the page's layout shift (CLS 0.24 on a phone). Lifted, its
   12 px links stood on the background's floor grid and rising particles, and a phone's worst pixel behind «الشروط»
   read 4.3:1; on the menu bar's glass (index.html `.glass`), with the bar's hairline mirrored above it, those 1–2 px
   lines are blurred out and every link reads above 4.5:1. */
.app > .signin, .app > .desktop, .app > .legal-foot { position: relative; z-index: 1; }
.app:not([data-view]) > .legal-foot { display: none; }
.app > .legal-foot { border-top: 1px solid var(--hair); }
/* A11Y-06 (round B): no app text under 12 px — the app's own meta step, as site.css's `.site` block sets the site's */
.app { --fs-meta: 12px; }

/* ---- sign in: glass over the live desktop, centred, one column ---- */
/* `place-items: center` alone leaves the implicit column an `auto` track, which sizes to the card's
   max-content: the English shelf row («Real-estate lead + listing machine (being built)») and the English
   voice label pushed it to 415 px, `inline-size: 100%` then resolved against THAT and the 400 px card was
   laid out 16 px from the left edge of a 390 px phone, with `body { overflow-x: hidden }` clipping the rest
   so the language chip and the «n / 10» counter could not even be scrolled to (R1-5-S4a-7 / R2-5-6 /
   R4-5-S5). A `minmax(0, 1fr)` track cannot exceed the container, so the shelf label stays inside the card at
   390 px (it wraps since round B, A11Y-07, where it used to ellipsise). */
.signin { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; align-content: center; padding: 16px; }
.signin-card { inline-size: min(100%, 400px); border: 1px solid var(--hair-strong); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: var(--gap-section); animation: window-enter var(--dur-window-enter) var(--ease-window-enter) backwards; }
.signin-head { display: flex; align-items: center; gap: 8px; block-size: var(--row-28); }
.signin-head .lang { margin-inline-start: auto; }
.screen { display: flex; flex-direction: column; gap: var(--gap-grid-lg); }
.screen h1 { font-weight: 500; }
.lang { display: inline-flex; gap: 4px; }
/* drawn at 24 px; design.css derives its 44 px coarse-pointer hit area from --chip-h */
.lang .chip { --chip-h: 24px; padding-inline: 8px; font-size: var(--fs-meta); }
.center-text { text-align: center; }
/* `#ident` is `.num` — `direction: ltr; unicode-bidi: isolate` — which is right for the E.164 number a client
   types. The bilingual placeholder it used to carry («name@company.com أو 05x xxx xxxx») was reordered by that
   same LTR paragraph into «name@company.com 05أوx xxx xxxx» (R3-5-S4a-1 / R1-5-S4a-5 / R2-5-3 / R4-5-S4a-12).
   There is deliberately NO `#ident::placeholder { direction: rtl }` rule here, which is what three of the four
   reviewers proposed: `::placeholder` only accepts the `::first-line` property set, and `direction` is not in
   it — measured in Chromium, the rule changes not one pixel of the painting and `getComputedStyle(el,
   '::placeholder').direction` still answers `ltr`. The fix is in the string instead: the placeholder is now
   two examples and the house separator, with no strong-RTL character in it at all, so no reordering is
   possible in either direction. The «أو» it used to carry is in the field's own label above it. */
.signin-alt:empty { display: none; }
/* A11Y-10 (round B): a live region hidden while empty (display:none here, design.css's visibility:hidden) is not in the
   page, so a message shown and written in one step was never read. Empty, it now stays in the page, showing nothing:
   out of the flow at zero size in the card and over the desktop, in its reserved line inside a window. */
.app .line[data-state="none"] { visibility: visible; }
.app .line[data-state="none"] .dot { visibility: hidden; }
.signin-card .line[data-state="none"], .ws-line[data-state="none"] { position: absolute; inline-size: 1px; block-size: 1px; min-block-size: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* B3 / A11Y-04 (round B): a screen's heading takes the focus so it is read (app.js show(), interview.js
   focusQuestion()); it is not a control and draws no ring */
.screen h1[tabindex="-1"]:focus-visible { outline: none; }

/* method and profile choices are the same shape: an identity circle, a name, a caption */
.choice { display: flex; align-items: center; gap: 10px; inline-size: 100%; min-block-size: 56px; padding: 10px 12px; border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--card); text-align: start; transition: border-color var(--dur-hover) var(--ease-hover); }
.choice:hover { border-color: var(--hair-strong); }
.choice-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
/* A11Y-07 (round B): a choice says its whole name (English answers were cut: «Each camera as a full single-cam…»);
   it wraps, and its row grows past its minimum height */
.choice-name { font-size: var(--fs-row); line-height: var(--lh-row); font-weight: 500; white-space: normal; overflow-wrap: anywhere; }
.choice-sub { font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-2); }
.choice .glyph { inline-size: 32px; block-size: 32px; border-radius: var(--r-circle); border: 1px solid var(--hair); background: var(--input); display: grid; place-items: center; flex: none; }
.choice .glyph svg { inline-size: 16px; block-size: 16px; fill: none; stroke: var(--text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---- desktop ---- */
.desktop { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
/* (A11Y-06, round B: 12 px, was 10 — and the profile circle's initials, design.css's 10 px avatar-sm) */
.menubar .identity .wordmark { font-size: var(--fs-caption); }
.menubar .avatar-sm { font-size: var(--fs-caption); }
/* A11Y-01/02 (round B): a column never outgrows the area (a 320 px track in a 320 px phone's 288 px made the page 336) */
.desktop-area { position: relative; flex: 1; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--gap-section); align-content: start; }
.desktop-area .window { max-inline-size: 560px; }
@media (min-width: 1100px) {
  .desktop-area { display: block; }
  .desktop-area .window { position: absolute; inline-size: 520px; }
  #win-package { inset-block-start: 40px; inset-inline-start: 48px; }
  #win-security { inset-block-start: 96px; inset-inline-start: 616px; }
}
@media (max-width: 480px) {
  .desktop-area { padding: 12px 16px; }
  /* `#status-sessions` and the «·» that introduces it go together — the separator used to stay behind and the
     line ended on a dangling dot (R4-5-S4a-1). The whole clause goes when an anonymous desktop has put a
     «تسجيل الدخول» chip in the same 390 px bar: «مختوم» earns no room beside a way in, and a crushed
     `.status-line` painted its glyphs on top of the clock (design.css's `overflow: hidden` is the other half
     of that fix, for a bar that runs out of room some other way). */
  .menubar .status-line #status-sessions, .menubar .status-line .sep { display: none; }
  .menubar:has(#anon-signin) .status-line { display: none; }
  /* And the identity pill yields before anything leaves the phone. Hiding the status line was not enough in
     ARABIC: the six items measured 118 + 64 + 61 + 100 + 22 px with four 8 px gaps and 20 px of padding =
     417 px against a 390 px viewport, because «تسجيل الدخول» is 33 px wider than «Sign in» (English measured
     384 and never showed it). `body { overflow-x: hidden }` then made those 27 px unreachable and
     `k1-quote-ar-390.png` shipped 399 px wide — a picture of the clipping, not of the screen (P1). This is
     the treatment `web/command/command.css`'s own 480 px block already uses on the partners' bar for the same
     defect (R1-5-S5-4): the pill shrinks and ellipsises rather than pushing the profile circle off the edge,
     so the mark, the clock, the language switch and the way in all stay reachable. */
  .menubar .identity { min-inline-size: 0; overflow: hidden; flex: 0 1 auto; }
  /* `direction: ltr` on the wordmark so the ellipsis eats its END: «Empire MAX» is a Latin run, and inside the
     RTL bar its box's inline end is the LEFT, which clipped the head of the name and drew «…RE MAX». */
  .menubar .identity .wordmark { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
  /* (round B) with a 12 px wordmark and 44 px touch controls (A11Y-06/09) no phone has room for it — «M-PIRE AG…» at
     most — so the pill is the mark, and the name stays in the page for a reader (the card and wider screens print it) */
  .menubar .identity .wordmark { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
}
.window.is-dragging { transition: none; }
.window.is-zoomed { max-inline-size: none; }
@media (min-width: 1100px) { .desktop-area .window.is-zoomed { inline-size: calc(100% - 96px); inset-inline-start: 48px !important; } }
/* biometric success dissolves the sign-in (design §6): 1.05 scale, 12 px blur */
.signin-card.is-dissolving { animation: dissolve var(--dur-env) var(--ease-env) forwards; }
@keyframes dissolve { to { opacity: 0; transform: scale(1.05); filter: blur(12px); } }
/* the profile circle's popover hangs from the menu bar at the inline end */
.profile-menu { position: absolute; inset-block-start: 36px; inset-inline-end: 10px; }
/* A11Y-12 (round B): a --text ring on the focused item (its darker fill alone was 1.2:1) */
.profile-menu .popover-row:focus-visible { outline: 2px solid var(--text); outline-offset: -2px; }
.window-body .rows { border: 1px solid var(--hair); border-radius: var(--r-card); padding-inline: 12px; background: var(--card); }
.window-body .rows:empty { display: none; }
.row-actions { display: inline-flex; align-items: center; gap: 8px; }
.row-taps { display: inline-flex; gap: 4px; }

/* ================= lane K1: the interview, the workspace ================= */

/* ---- the interview: the sign-in card's shape, one question per screen ---- */
.iv-card .screen { gap: var(--gap-grid-lg); }
.iv-progress { display: flex; align-items: center; gap: 10px; }
/* the dim-gold progress rule — this screen's one gold, and it is not text, so it carries no contrast duty */
.iv-rule { flex: 1; block-size: 2px; border-radius: var(--r-pill); background: var(--hair-strong); overflow: hidden; }
.iv-rule i { display: block; block-size: 100%; inline-size: 0; background: var(--accent); transition: inline-size var(--dur-open) var(--ease-open); }
#iv-step { font-variant-numeric: tabular-nums; }
#iv-progress-note:empty { display: none; }
#iv-title { font-weight: 600; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; text-wrap: balance; }
/* the interview, 2026-09-23: a wider card, the question as the hero, the options as a two-column grid of keyed rows,
   an endowed progress rule, an intro line on the first question, the picked type as the eyebrow, a slide-in per question */
.iv-card { inline-size: min(100%, 560px); }
/* B1 (round B): the card is shown with its first question (interview.js adopt(), never half-drawn), and the question's
   own slide-in below is the entrance; the sign-in card's 400 ms window-enter stacked on it held the question's first
   paint back half a second (lab, phone: painted 2.35 s → 1.87 s), so this card does not play it */
.iv-card { animation: none; }
.iv-intro { color: var(--text-2); }
.iv-intro[hidden], .iv-context[hidden] { display: none; }
.iv-context { color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
:lang(ar) .iv-context { letter-spacing: 0; }
#iv-options { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) {
  #iv-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #iv-options > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
#iv-options > li { list-style: none; min-inline-size: 0; }
.choice-key { flex: none; margin-inline-start: auto; inline-size: 22px; block-size: 22px; border-radius: 6px; border: 1px solid var(--hair); color: var(--text-2); font-size: var(--fs-meta); line-height: 20px; text-align: center; }
.choice-opt.is-picked { border-color: var(--accent); background: rgba(228, 196, 106, .10); }
.choice-opt.is-picked .dot { background: var(--accent); }
.choice-opt.is-picked .choice-key { border-color: var(--accent); color: var(--accent); }
.iv-enter { animation: iv-in 360ms var(--ease-open) both; --iv-dx: -14px; }
html[dir="rtl"] .iv-enter { --iv-dx: 14px; }
@keyframes iv-in { from { opacity: 0; transform: translateX(var(--iv-dx)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .iv-enter { animation: none; } .choice-opt { transition: none; } }
#iv-options:empty { display: none; }
/* an answer is a row: a dot and the label, at the 44 px touch height, never an identity circle */
.choice-opt { min-block-size: var(--row-44); gap: 10px; }
.choice-opt .dot { flex: none; }
/* a shelf row carries the type's own line under its name (R3-20): 11 px --text-2, the row grows past the
   44 px minimum to hold it and the dot rides with the first line instead of the middle of two */
.choice-opt-sub { align-items: flex-start; }
.choice-opt-sub .dot { margin-block-start: 6px; }
.choice-opt-sub .choice-sub { white-space: normal; }
.choice-opt-sub .choice-name { white-space: normal; }
.iv-pencil { inline-size: 16px; block-size: 16px; flex: none; color: var(--text-2); }
.iv-pencil svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.iv-card .cluster { gap: var(--gap-grid); }
#iv-voice svg { inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
#iv-voice[aria-pressed="true"] { border-color: var(--amber); }
/* The voice button carries a whole sentence — «Record (transcription comes later — you type it)» measures
   370 px in English — and `.btn` is `white-space: nowrap`, so at 390 px it ran 17 px past the phone: the two
   stills `k1-interview-field-en-390.png` and `k1-interview-material-en-390.png` came out exactly 390 wide
   because `body { overflow-x: hidden }` cut the tail off before the shutter, so the defect was invisible in
   the evidence and only the renderer's own measurement found it (P2). The button never exceeds its card at any
   width, and on a phone it wraps inside it instead of leaving it: the whole sentence is kept, the 38 px btn-lg
   height is a floor rather than a fixed size, and the 44 px touch floor is untouched. The Arabic label is
   shorter and fitted at 390 already, which is why only the English pair overflowed. */
#iv-voice { max-inline-size: 100%; }
@media (max-width: 480px) {
  #iv-voice { inline-size: 100%; white-space: normal; block-size: auto; min-block-size: 38px; padding-block: 8px; line-height: var(--lh-body); }
}

/* ---- the workspace: nine windows tile, they do not float ---- */
.ws-stale, .ws-line { padding: 6px 24px 0; }
@media (max-width: 480px) { .ws-stale, .ws-line { padding-inline: 16px; } }
.desktop-area.is-workspace { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--gap-section); align-content: start; align-items: start; }
@media (min-width: 1100px) {
  .desktop-area.is-workspace { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
  .desktop-area.is-workspace .window { position: static; inline-size: auto; max-inline-size: none; inset: auto; }
  .desktop-area.is-workspace .window.is-zoomed { grid-column: 1 / -1; }
}
.desktop-area.is-workspace .window { max-inline-size: none; }
.desktop-area.is-workspace .window-body { max-block-size: 520px; }
/* F-N10 (round D): on a phone the board is one column and the page scrolls; the Quote window — the contract he reads and
   accepts — held its rows in a 520 px box that scrolled inside the scrolling page. Below two columns it grows to its content. */
/* (W-10, round E: the Package window too — its invoices and the cancellation block were behind an inner scroll on a phone) */
@media (max-width: 720px) { .desktop-area.is-workspace #win-quote .window-body, .desktop-area.is-workspace #win-package .window-body { max-block-size: none; } }
/* F-A11 (round D): a window opened from a link or a row (openQuote, openDemoWindow: scrollIntoView) was scrolled flush with the
   top of the screen, its bar cut by the edge — the lights' 44 px squares measured 44 × 31 on the Quote window. The scroll leaves
   the bar and the hit areas above it on the screen. */
.desktop-area .window { scroll-margin-block-start: 24px; }
/* One BOARD window on the desktop (the quote a client meets before he has anything else) reads as a document.
   `.is-solo .window` matched Package and Security too, so all three stretched to 760 px on the one screen
   where the quote is meant to be the whole subject (R4-5-S4a-2); the two account windows keep their tiles. */
/* (A11Y-01/02, round B: `inline-size: 100%` — auto margins size a grid item to its content: 369 px in a 288 px column) */
.desktop-area.is-solo #win-quote { grid-column: 1 / -1; inline-size: 100%; max-inline-size: 760px; margin-inline: auto; }
.desktop-area.is-solo #win-quote .window-body { max-block-size: none; }
/* a window's Waiting panels stack: two columns inside a 380 px tile elide both of them */
#win-waiting .panels { grid-template-columns: minmax(0, 1fr); }

/* A row that needs him: a 2 px rule on its inline start and its state word in full text colour. The rule is
   a hairline by default — gold is arbitrated once for the whole BOARD (workspace.js goldOwner()), and only
   that one row adds .is-gold-row, so a screen never shows the signal twice (design §2, spec §6.1). */
.row.is-needed { border-inline-start: 2px solid var(--hair-strong); padding-inline-start: 8px; }
.row.is-needed.is-gold-row { border-inline-start-color: var(--accent); }
.row-state { font-size: var(--fs-meta); white-space: nowrap; }
/* A row whose caption sits on its own line. 44 px is now the MINIMUM, not a cap: the caption used to be
   `nowrap` + `ellipsis`, and inside a 380-520 px window tile it lost its end — which under RTL is the START
   of an LTR isolate, so «الاستحقاق 2026-09-22 14:51» printed as «الاستحقاق 14:51…», a plausible wrong date on
   the panel headed «ما ننتظره منك» (R3-5-S4a-5), and the English Studio row lost the time the cut arrived
   while the Arabic twin kept it (R3-5-S4a-8). A second 11 px line inside the same row is what this row shape
   was built for; the list still scans mechanically because every row still starts at 44 px. */
.row.row-stacked { align-items: center; block-size: auto; min-block-size: var(--row-44); padding-block: 4px; }
.row-col { display: flex; flex-direction: column; min-width: 0; }
.row-col .row-name { line-height: var(--lh-body); }
/* `overflow-wrap: anywhere` stays — it is the net for a pasted URL in a revise note, and it is not what broke
   «Episod / e 3 · / 36:12 · / today / 17:35» on `desktop-en-390.png` and `k1-workspace-en-390.png` (P3). Both
   `anywhere` and `break-word` break inside a word only when the word cannot fit the line, and the line was
   110 px wide because the row's third column had taken the rest. The geometry is the defect; the rule below
   fixes it, and the meta line is now one unbroken line at 390 in both languages. */
.row-sub-line { font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-2); overflow-wrap: anywhere; }
/* A phone gives the row's actions their own line. `.row` is `auto minmax(0, 1fr) auto` and the third column is
   sized by its content, so «Waiting on you» + «Approve» + «Revise» — 33 % wider than «بانتظارك» + «اعتمد» +
   «عدّل» — squeezed the title/meta column to about 110 px at 390: the title ellipsised to nothing readable and
   the meta line broke mid-word, while the Arabic sibling laid the same row out correctly (P3). Below 480 px the
   value cell drops under the name instead of competing with it, so the English row reads the same as the
   Arabic one and nothing is cut. */
@media (max-width: 480px) {
  .row.row-stacked { grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: 4px; }
  .row.row-stacked > .row-value { grid-column: 2; text-align: start; white-space: normal; }
  .row.row-stacked .row-actions { flex-wrap: wrap; }
}
.row-link { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--hair-strong); }
.row-link[aria-pressed="true"] { font-weight: 500; text-decoration-color: var(--text-2); }
.ws-compose { gap: 6px; }
.ws-compose .cluster { flex-wrap: nowrap; }
.ws-compose .input { flex: 1; min-inline-size: 0; }

/* the pipeline: chips in a row, the last one is where he approves */
.ws-flow { align-items: center; }
.ws-step { cursor: default; }
.ws-step-final { border-color: var(--text-2); }
.ws-quote-actions { padding-block-start: var(--u); }
/* the click-to-accept block (R1.4): a real checkbox at the 44 px target, its label beside it, the two
   document versions as links, and one caption that says why the buttons are closed */
.ws-accept { gap: var(--gap-grid); }
.ws-check { display: flex; align-items: flex-start; gap: 10px; min-block-size: var(--row-44); padding-block: 4px; cursor: pointer; }
/* the tick is --text, never --accent: this screen's one gold is the monthly figure, and a checkbox is not
   a demand (design §2). The state is the box itself plus the line under the pair, never colour alone. */
.ws-check-box { inline-size: 20px; block-size: 20px; margin: 12px 0 0; accent-color: var(--text); flex: none; }
.ws-check-text { display: flex; flex-direction: column; gap: 2px; padding-block-start: 10px; min-width: 0; }
.ws-check-label { font-size: var(--fs-body); line-height: var(--lh-body); }
.ws-legal-link { text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--text-2); }
.ws-legal-link:hover { text-decoration-color: currentColor; }
.ws-accept-note:empty { display: none; }
/* Fix round A (A5): the quote is a contract read on a phone, so its rows WRAP instead of cutting with «…» — the build
   term, the VAT clause and both Arabic VAT labels were cut on the screen where he ticks the consent (audit 1: 9 rows
   in Arabic and 8 in English at 390). Names wrap; below 480 px the figures move under their name, never beside it. */
#win-quote .row { block-size: auto; min-block-size: var(--row-36); padding-block: 6px; align-items: start; }
#win-quote .row .row-name, #win-quote .row .row-sub-line { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
#win-quote .row > .dot { margin-block-start: 7px; }
@media (max-width: 480px) {
  #win-quote .row { grid-template-columns: auto minmax(0, 1fr); row-gap: 4px; }
  #win-quote .row > .row-value { grid-column: 2; text-align: start; white-space: normal; }
  #win-quote .row .amounts { justify-content: flex-start; flex-wrap: wrap; }
}
/* the Package window's money rows say their whole name too (an invoice row read «EM-2026-000001 · …رض التجريبي») */
#pkg-money .row { block-size: auto; min-block-size: var(--row-36); padding-block: 6px; }
#pkg-money .row .row-name, #pkg-money .row .row-sub-line { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
/* D-2 (round F): at 320 `anywhere` broke an invoice row inside its type name and its number; each is one run, so the name
   wraps at « · » only (workspace.js renderPackage: `ws-inv-no` is also `.num`, its own LTR isolate) */
#pkg-money .row .ws-inv-no, #pkg-money .row .ws-inv-kind { white-space: nowrap; overflow-wrap: normal; }
/* D-2 · F-A17 (round G): the separator is the type name's own `::before`, standing in a 2ch start padding; the list is
   pulled 2ch toward the start inside a clipping box, so an item that wraps to the start of a line has its separator
   clipped — no «·» dangling at a line's end or start — and on one line it sits between the number and the name (the number
   is wrapped in `.ws-inv-item`, which keeps the page's direction: `.num` itself is LTR, its inline start the wrong side) */
#pkg-money .ws-inv-title { display: block; overflow: hidden; }
#pkg-money .ws-inv-list { display: flex; flex-wrap: wrap; margin-inline-start: -2ch; }
#pkg-money .ws-inv-list > .ws-inv-item, #pkg-money .ws-inv-list > .ws-inv-kind { position: relative; padding-inline-start: 2ch; }
#pkg-money .ws-inv-list > .ws-inv-kind::before { content: '·'; content: '·' / ''; position: absolute; inset-inline-start: 0; inline-size: 2ch; text-align: center; }
/* P-35 (round I): a separate charge's name carries the partner's label («رسم منفصل: <label>», up to 120 characters) — one
   nowrap run would be clipped by the title's box at 320, so it wraps between words (never inside one); it stays its own flex
   item, so it still starts a line of its own after the number when it does not fit beside it */
#pkg-money .row .ws-inv-kind.is-separate { white-space: normal; overflow-wrap: break-word; min-inline-size: 0; }
/* W-58b · L-B2 (round M): a last part's name («الجزء الأخير من الاشتراك (29 من 31 يومًا)») and L-B5's «(سُحب الإشعار)» wrap the same way */
#pkg-money .row .ws-inv-kind.is-part { white-space: normal; overflow-wrap: break-word; min-inline-size: 0; }
/* F1 a11y (round M, re-audit 1l): a line of « · »-joined parts (ui.js dots() / row() / rowS()). Inline by default — the dot is drawn
   between the parts and a row's own ellipsis still applies. Where the line may wrap (a meta line, a window's subtitle, a caption,
   and the rows of the Package, Quote and Security windows, whose names wrap) the list is /i/'s: flex-wrapped, pulled 2ch toward the
   start inside a clipping box, each part's «·» its own ::before in a 2ch start padding — a part that begins a line has its dot
   clipped, so no «·» begins or ends a line at 320–390. `content: '·' / ''` keeps the dot out of what a screen reader hears. */
/* M-A5 (round N, re-audit 1m): the text « · » (ui.js dotItems, a `.dots-sep` INSIDE the part it precedes) is laid out at font-size 0 —
   not display: none — so a copy of the line (innerText, the selection) carries the separators; no glyph is drawn, nothing moves,
   and aria-hidden keeps it from the AT. The drawn dot is the following part's own ::before, as before. */
.dots-sep { font-size: 0; line-height: 0; white-space: pre; }
.dots-item + .dots-item::before { content: ' · '; content: ' · ' / ''; }
.dots-wrap, #pkg-money .row-name > .dots, #win-quote .row-name > .dots, #win-security .row-name > .dots, #pkg-rows .row-name > .dots { display: block; overflow: hidden; }
.dots-wrap > .dots-list, #pkg-money .row-name > .dots > .dots-list, #win-quote .row-name > .dots > .dots-list, #win-security .row-name > .dots > .dots-list, #pkg-rows .row-name > .dots > .dots-list { display: flex; flex-wrap: wrap; align-items: baseline; margin-inline-start: -2ch; }
.dots-wrap .dots-item, #pkg-money .row-name > .dots .dots-item, #win-quote .row-name > .dots .dots-item, #win-security .row-name > .dots .dots-item, #pkg-rows .row-name > .dots .dots-item { position: relative; padding-inline-start: 2ch; min-inline-size: 0; }
.dots-wrap .dots-item + .dots-item::before, #pkg-money .row-name > .dots .dots-item + .dots-item::before, #win-quote .row-name > .dots .dots-item + .dots-item::before, #win-security .row-name > .dots .dots-item + .dots-item::before, #pkg-rows .row-name > .dots .dots-item + .dots-item::before { content: '·'; content: '·' / ''; position: absolute; inset-inline-start: 0; inline-size: 2ch; text-align: center; }
/* D-6 (round H): an open invoice's value is its amount, then its Pay button. Wide, the button stands UNDER the amount, so the
   value column is the amount's width, as on a paid row (beside it, the button took the title's room and the number and the
   type broke onto two lines); on a phone (the stacked row) both sit under the caption at the start, side by side */
#pkg-money .ws-inv-value { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 6px; }
@media (max-width: 480px) { #pkg-money .ws-inv-value { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; } }
/* (round B) the Security window's rows too — a phone cut the password row at «لا كلمة مرور · يكفي رمز أ…» (audit area
   5) — and the Package window's own rows, his workspaces by their names, which elided a long business name at any
   width (A11Y-01/02) */
#win-security .row, #pkg-rows .row { block-size: auto; min-block-size: var(--row-36); padding-block: 6px; }
#win-security .row .row-name, #pkg-rows .row .row-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
/* the one line that says what is due at acceptance (A5) — a rule above it, never a second gold */
#win-quote .ws-due { border-top-color: var(--hair-strong); }
.ws-vat-when { margin: 0; }
/* the demo's material (A2): a field of its own above the acceptance */
.ws-material { gap: 6px; }
.ws-material-input { inline-size: 100%; min-block-size: 64px; resize: vertical; font: inherit; }
/* the account to transfer to (D2): the IBAN selects whole, left to right */
.ws-iban { user-select: all; letter-spacing: .02em; }
/* the one-line legal footer under the desktop (terms · privacy · refunds · AI disclosure) */
.legal-foot { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 24px 16px; font-size: var(--fs-meta); line-height: var(--lh-meta); color: var(--text-2); }
.legal-foot a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: currentColor; }
.legal-foot a:hover { color: var(--text); }
@media (max-width: 480px) { .legal-foot { padding-inline: 16px; } }

/* two amounts on one line: USD primary, SAR beside it (R2.4) */
.amounts { display: inline-flex; align-items: baseline; gap: 8px; justify-content: flex-end; }
.amount { display: inline-flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.amount .num { direction: ltr; unicode-bidi: isolate; }
.amount .unit { font-size: var(--fs-meta); color: var(--text-2); }
.amount-2 { color: var(--text-2); }
.amounts.is-gold .amount:first-child { color: var(--accent); }

/* the cancellation confirm window floats above the tiles (it out-specifies the workspace's static rule) */
.desktop-area .window.window-confirm { position: fixed; inset-block-start: 20vh; inset-inline-start: 50%; inset-inline-end: auto; transform: translateX(-50%); inline-size: min(420px, calc(100% - 32px)); max-inline-size: none; margin-inline: 0; z-index: 25; }
html[dir="rtl"] .desktop-area .window.window-confirm { transform: translateX(50%); }
.window-confirm .window-body { gap: var(--gap-grid-lg); max-block-size: none; }

/* A11Y-09, the app's part (round B): on a touch pointer each control outside running text owns a 44 × 44 px square.
   design.css's insets are measured from the border box, but a pseudo-element sits in the padding box: a 24 px chip got
   42, a window light 22 × 42 (and ran off its 36 px bar). Here the insets count the border, and the lights stand on a
   44 px pitch in a 44 px bar, their outer halves held by the bar's padding and the gap after them. */
@media (pointer: coarse) {
  .chip::before { inset: calc((var(--chip-h) - var(--target)) / 2 - 1px); }
  button.avatar::before { inset: calc((var(--avatar) - var(--target)) / 2 - 1px); }
  /* the bar holds each square: 44 px tall, language chips drawn 44 px wide, 12 px clear around the profile circle */
  .menubar { block-size: calc(var(--target) + 1px); padding-inline: 12px; }   /* (+ its 1 px bottom rule) */
  .menubar .lang .chip { min-inline-size: var(--target); justify-content: center; }
  .menubar .avatar { margin-inline-start: 4px; }
  .profile-menu { inset-block-start: calc(100% + 4px); }
  .window-bar { block-size: var(--target); padding-inline-start: 16px; }
  .window-lights { gap: 30px; margin-inline-end: 8px; }
  .window-light::before { inset: -16px; }
}
/* A phone's bar takes a second line when those controls do not fit on one — under 360 px, and the Arabic anonymous bar
   at 360–368 px, where «تسجيل الدخول» beside them squeezed the pill to 26 px and cut the mark — rather than clip a
   control or widen the page (A11Y-01/02). One line stays 45 px tall; the first line's 44 px targets stay on the screen
   (10 px above its row, which is never under the language chips' 24 px) and two lines' targets do not meet (16 px). */
@media (pointer: coarse) and (max-width: 480px) {
  .menubar { flex-wrap: wrap; block-size: auto; min-block-size: calc(var(--target) + 1px); padding-block: 10px 6px; row-gap: 16px; }
}
/* A window bar on a phone: with 12 px text (A11Y-06) and the lights on their 44 px pitch the subtitle no longer fits
   beside the name — «Your crew and the numbers» was cut at 320–390 — so it takes a line of its own under the name */
@media (max-width: 480px) {
  .window-bar { block-size: auto; min-block-size: var(--row-36); padding-block: 4px; }
  .window-title { flex-wrap: wrap; }
  .window-sub { white-space: normal; overflow: visible; text-overflow: clip; }
}
@media (pointer: coarse) and (max-width: 480px) { .window-bar { min-block-size: var(--target); } }
/* F-A6 (round C): …and at every width — at 768 the Security window's subtitle «الجهات والأدوار على هذا الحساب» was cut at
   149 of 162 px (two columns of 3xx px). A subtitle is never cut: the bar grows by a line instead. Same specificity as the
   touch rules above and below so a touch screen keeps its 44 px bar (the three lights' hit squares, A11Y-09). */
.window-bar { block-size: auto; min-block-size: var(--row-36); padding-block: 4px; }
.window-title { flex-wrap: wrap; }
.window-sub { white-space: normal; overflow: visible; text-overflow: clip; }
@media (pointer: coarse) { .window-bar { block-size: auto; min-block-size: var(--target); } }

/* ---- B-03 / F12 (round C): an empty board window is one line ---- */
/* The bar is the whole window: the name, the line that says what is not there (the subtitle's slot, workspace.js
   arrangeWindows), and «افتح». The body is `hidden` as well (workspace.js sets it), so this rule is the look, not the gate. */
.desktop-area .window.is-empty .window-body { display: none; }
.desktop-area .window.is-empty .window-bar { border-bottom: 0; }
.desktop-area .window.is-empty .window-resize { display: none; }
.window-expand { flex: none; margin-inline-start: auto; }
.window-expand[hidden] { display: none; }
/* B-01: the first invoice's row and the sample's line on the ordering card */
.ws-sample-what { font-size: var(--fs-row); line-height: var(--lh-row); }
.ws-counter-scope, .ws-refund-account .caption { margin-block-start: 4px; }
/* D-1 (round F): the partner-note caption is the last line of its card (`.rows`, which pads only its sides) — it sat on the
   card's bottom edge and under the dot; it takes the rows' own block padding (6px) and starts at their text (the 6px dot
   + the row's 8px gap) */
.rows > .ws-counter-scope { padding-inline-start: 14px; padding-block-end: 6px; }

/* ================================================================================================================
   ROUND R (2026-11-10) — additions only. Everything ABOVE this line is round N's stylesheet, byte for byte (the look
   rule: no rule, token, keyframe, radius, gradient, backdrop-filter or motion of round N is deleted or rewritten;
   worker/test/fix_round_r_app.test.js holds this file to it). What follows carries the functional and Floor fixes of
   rounds P and Q onto round N's look, each drawn with round N's own tokens and recipes and named by its finding id.
   A rule here that re-declares a property of a round N rule does it for the reason written beside it, and the
   picture stays round N's except where its note says so.
   ================================================================================================================ */

/* ---- I2-4 (round P's integration): the progress rule's fill moves by transform, not by its inline size ----
   The Floor: nothing animates a box property. The fill stands at the rule's full width and is scaled by the script
   (interview.js setRule: transform: scaleX) from the reading start — the left in English, the right in Arabic. The same
   gold, the same length, the same 200 ms ease (--dur-open / --ease-open, zero under reduced motion): the picture is
   round N's. */
.iv-rule i { inline-size: 100%; transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--dur-open) var(--ease-open); }
[dir="rtl"] .iv-rule i { transform-origin: 100% 50%; }

/* ---- I2-7 (round P's integration): the app's skip link, in round N's own recipe ----
   Round N's skip link is the site's (site.css `.s-skip`): a gold pill fixed above the page, brought down the moment it has the
   focus, the house's ring around it. The app's link (index.html #skip — round P's A11Y-2, an element round N's app did not have)
   wears that recipe here, sized by the tokens: 44 px tall (--target), the row's type. It answers a press (the Floor: an
   :active state) and never prints (round Q, a11y_perf: it was laid out at the foot of every printed screen). Scoped to the
   app's page — the site keeps site.css's own rule, and nothing on a drawn screen changes: the link is off the screen until
   the first Tab. */
.app > .s-skip { position: fixed; z-index: 100; inset-block-start: calc(env(safe-area-inset-top, 0px) + 10px); inset-inline-start: 12px; display: inline-flex; align-items: center; min-block-size: var(--target); padding: 10px 16px; border-radius: var(--r-pill); background: var(--gold); color: var(--ink); font-size: var(--fs-row); line-height: var(--lh-row); font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-hover) var(--ease-hover); }
.app > .s-skip:focus, .app > .s-skip:focus-visible { transform: none; outline: 2px solid var(--text); outline-offset: 2px; transition: none; }
.app > .s-skip:active { background: var(--gold-hi); }
@media print { .app > .s-skip { display: none !important; } }

/* ---- I2-8 (round P's integration): the legal colophon is the page's <footer> ----
   design.css gives the app's colophon its 44 px rows on a touch pointer by the selector `nav.legal-foot` (so the legal pages'
   own <footer class="legal-foot"> is left alone). The colophon is a <footer> now — the contentinfo landmark — with the same
   classes, so the same two declarations follow it here, on the app's page alone: drawn exactly as round N drew it. */
@media (pointer: coarse) {
  .app > footer.legal-foot { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .app > footer.legal-foot a { display: flex; align-items: center; min-block-size: var(--target); }
}

/* ---- I2-11 (round P's integration): the interview's answer field is a textarea ----
   A sentence wraps inside it and the field grows with it (sized by its content; interview.js fitField where the browser has no
   field-sizing), up to 40 % of the screen, then it scrolls inside; a link with no spaces breaks anywhere rather than running
   past the field. It keeps round N's field look — the classes `input input-lg`, their fill, radius, hairline and type — and
   at rest it is round N's field to the pixel: one 24 px line (--lh-card) + 9 px above and below + the two hairlines = the
   44 px of `.input-lg` (--row-44), the text on the same baseline the <input> drew it on. */
.iv-answer { block-size: auto; min-block-size: var(--row-44); max-block-size: 40vh; padding-block: 9px; line-height: var(--lh-card); resize: none; field-sizing: content; overflow-wrap: anywhere; overflow-y: auto; }

/* ---- I2-6 (round P's integration, A11Y-11): no « · » begins or ends a line of a caption ----
   A caption paragraph's own list — a static caption the dictionary writes as the plain dots list (i18n.js fill) — wraps the
   way round N's `.dots-wrap` does (the four rules above, M-A5 · F1), so its «·» never hangs at a line's edge; ui.js say()
   writes the wrapping list itself. The dot stands in the 2ch slot round N gives it in every wrapping list. (Since round Q's
   words the sign-in's and the door's captions are sentences with no «·»: the rule is the net under any caption that keeps one.) */
p.caption > .dots { display: block; overflow: hidden; }
p.caption > .dots > .dots-list { display: flex; flex-wrap: wrap; align-items: baseline; margin-inline-start: -2ch; }
p.caption > .dots .dots-item { position: relative; padding-inline-start: 2ch; min-inline-size: 0; }
p.caption > .dots .dots-item + .dots-item::before { content: '·'; content: '·' / ''; position: absolute; inset-inline-start: 0; inline-size: 2ch; text-align: center; }

/* ---- F6 (round Q, re-audit 1o · the Floor): the first screen a browser without scripts draws (index.html <noscript>) ----
   A new element, drawn with round N's recipes: the sign-in card's glass over the layered ground (the card's own entrance
   plays — it is CSS), the mark and the wordmark of the card's head, the door's question at the question's own size
   (#iv-title's), one sentence at the reading size, the house's buttons. It is lifted above the fixed ground like every
   screen, and the legal colophon — which round N hides until a script has drawn a screen — is shown under it, since no
   script will. A browser running scripts never builds any of this. */
.app .ns-door { position: relative; z-index: 1; }
.app:has(.ns-door) > .legal-foot { display: flex; }
.ns-half { display: flex; flex-direction: column; gap: var(--gap-grid); }
.ns-title { font-weight: 600; font-size: clamp(22px, 3.2vw, 30px); line-height: 1.25; text-wrap: balance; }
.ns-line { font-size: var(--fs-card); line-height: var(--lh-card); color: var(--text-2); text-wrap: pretty; }
.ns-actions { display: flex; flex-wrap: wrap; gap: var(--gap-grid); }
/* one control, both languages: the two labels side by side, a hairline between them */
.ns-bi > span:not(:last-child) { margin-inline-end: var(--u); padding-inline-end: 10px; border-inline-end: 1px solid var(--hair-strong); }

/* ---- F5 (round Q, re-audit 1o · the Floor): every control of the app answers a press ----
   Round N draws a hover and a focus on its controls and no pressed state. Each control takes one here, in round N's own
   ladder, one step past its hover — a fill one step down (a primary button, a choice, a code box, a menu row, the profile
   circle), the hairline at full text (a secondary button, a chip, a field, a window light), a tick box that gives — so
   nothing is restyled at rest, on hover or under focus. (`button.chip`: the pipeline's chips are list items, not controls. A
   disabled button takes no press, so no rule here needs to exclude one.) */
.app .btn-primary:active { background: var(--raised); }
.app .btn-secondary:active { border-color: var(--text); background: var(--hair); }
.app .btn-tertiary:active { color: var(--text); background: var(--hair); }
.app button.chip:active { border-color: var(--text); background: var(--hair); }
.app button.chip[aria-pressed="true"]:active { background: var(--control-hover); border-color: transparent; }
.app .choice:active { border-color: var(--text-2); background: var(--raised); }
.app .input:active { border-color: var(--text-2); }
.app .input:focus:active { border-color: var(--text); }
.app .code-box:active { background: var(--raised); }
.app .ws-check-box:active { transform: scale(.9); }
.app .window-bar .window-light:active { border-color: var(--text); }
.app .row-link:active { text-decoration-color: var(--text); }
.app button.avatar:active { background: var(--raised); }
.app .popover-row:active { background: var(--raised); }
.app .legal-foot a:active, .app .ws-legal-link:active { color: var(--text); text-decoration-color: var(--hair-strong); }
/* a press is answered at once: the control's 120 ms colour fade plays on the way back, not on the way in (the skip link's own
   idiom, site.css S6: «in place the moment it has the focus») */
.app .btn:active, .app button.chip:active, .app .choice:active, .app .input:active, .app .code-box:active, .app .window-bar .window-light:active, .app .popover-row:active { transition: none; }

/* ---- F8 (round Q, re-audit 1o): the anonymous bar's profile circle holds the person glyph (app.js renderDesktop0) ----
   Round N drew a lone «·» in it — a dot that said nothing. The glyph is the sign-in's own «someone else» (ui.js GLYPH.person),
   drawn the way round N draws a glyph in a circle (app.css `.choice .glyph svg`): a hairline stroke in the circle's own colour. */
.app .avatar svg { inline-size: 12px; block-size: 12px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.app .avatar svg path { vector-effect: non-scaling-stroke; }

/* ---- The buyer's note (round Q, re-audit 1o): the Security window's address rows (app.js .row-addr) ----
   Beside a long e-mail address the label «البريد موثق» stood one letter per line at 1280 in Arabic: the address's `auto`
   column took the row and left the label a letter wide. On an address row the label takes its one-line width, up to 60 % of
   the row, and the address the rest, wrapping anywhere at the row's end. A short address is drawn where round N drew it. */
#win-security .row.row-addr { grid-template-columns: auto fit-content(60%) minmax(0, 1fr); }
#win-security .row.row-addr > .row-value { min-inline-size: 0; white-space: normal; overflow-wrap: anywhere; }

/* ---- A11Y-20 (round Q, re-audit 1o): a Messages line is read whole, and no « · » begins or ends one of its lines ----
   The Messages rows take round N's own recipe for a row that says its whole name (the Security and Package rows above:
   the row grows past its 36 px, the name wraps) and the sender and his line are round N's wrapping dots list (workspace.js:
   dots({ wrap }), `.dots-wrap`) — a part that begins a line has its «·» clipped. Round N cut a long line with «…». */
#win-messages .row:not(.row-stacked) { block-size: auto; min-block-size: var(--row-36); padding-block: 6px; }
#win-messages .row .row-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }

/* ---- F14 (round Q, re-audit 1o · the Floor): a sentence is read at 16 px on the app's public screens ----
   The door, the interview and the sign-in — the two cards a visitor meets before he has an account — carried their
   sentences at 12 and 13 px: the door's seven option lines (17–21 words each) and its instruction, the card's notes, the
   ways-in lines, the card's own message line. On those two cards a sentence takes round N's card step (--fs-card 16 px on
   its 24 px line): the caption paragraphs, an option's or a method's line and — so a name is never smaller than the line
   under it — its name, and the message line (its dot rides with the first line). Labels, the eyebrow, the wordmark, the
   keys, the chips and every figure keep round N's sizes; the board's windows are not touched. */
.signin-card p.caption, .signin-card .choice-name, .signin-card .choice-sub, .signin-card .line { font-size: var(--fs-card); line-height: var(--lh-card); }
.signin-card .line { min-block-size: var(--lh-card); }
.signin-card .line .dot, .signin-card .choice-opt-sub .dot { margin-block-start: 9px; }

/* ---- A11Y-3 (round P, re-audit 1n · the Floor: a visible, instant focus ring): the six code boxes ----
   Round N marks the focused box by its hairline alone (1 px, faded in over 120 ms) and removes the outline. Under
   :focus-visible the box takes the house's ring — round N's own, the one every button and field already wears (design.css
   `:focus-visible`: 2 px in the text colour, 2 px off) — at once. The box's fill, size and hairline are untouched. */
.app .code-box:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; transition: none; }

/* ---- A11Y-7 (round P, re-audit 1n): the legal colophon is in the page — and in the accessibility tree — at the load event ----
   Round N gives the colophon no box until a script has drawn a screen (B4, round B: drawn at the top of the empty page and
   pushed down by the first screen, it was the page's layout shift). It has its box from the first paint now, and the empty
   page holds the screen's place instead: a spacer one screen tall stands where the screen will be, so the colophon starts
   below the fold and the screen that replaces the spacer (each is at least one screen tall) never moves it in view. What is
   drawn does not change: the first paint is the ground, as it was, and every screen is where it was. */
.app:not([data-view])::before { content: ""; display: block; min-block-size: 100vh; min-block-size: 100dvh; }
.app:not([data-view]) > .legal-foot { display: flex; }
/* …and without scripts no screen will ever be drawn: the scripts-off screen (F6) stands where the spacer would — the spacer goes;
   where :has() is missing the screen is laid over it instead */
.app:has(.ns-door)::before { display: none; }
@supports not selector(:has(*)) { .app .ns-door { position: absolute; inset-block-start: 0; inset-inline: 0; } }

/* ---- A11Y-1 (round P, re-audit 1n · the Floor: 44 px targets under touch): the two document links of the acceptance label ----
   design.css hangs a 44 px band on each link as a pseudo-element (round B). On a link split over two lines the band hangs
   from one fragment and misses the other (the link measured 1 × 1 at its centre at 320–390), and two links on two lines
   overlap their bands. On a touch pointer each link is one 44 px box of its own in its sentence, and its band is that box;
   on a mouse nothing changes. */
@media (pointer: coarse) {
  .app .ws-legal-link { display: inline-flex; align-items: center; min-block-size: var(--target); }
  .app .ws-legal-link::before { inset-block: 0; }
}

/* ---- A11Y-4 (round P, re-audit 1n · the Floor: no text is cut): a row of the board says its whole name ----
   Round N cut a row's name with «…» in the windows its own fix had not reached: the hold's reason in Holds at every width, the
   invoice's number in Waiting («فاتورة …026-000014» at 1280), an item's title beside its buttons in Studio and Waiting. Round
   N's own recipe for a row that says its whole name (the Quote, Package and Security rows above — round B, fix round A) reaches
   those rows here, and nothing else moves: a name that fits is drawn where it was, in a row of the height it had (measured row
   by row against round N at 24 widths from 320 to 1920, AR and EN).
   · a row whose caption sits on its own line already grows (round N's `.row.row-stacked`): its name wraps
   · a one-line row with no button is round N's recipe as it stands: 36 px at rest, the name wraps, its « · » parts are the
     wrapping dots list
   (A one-line row that holds a button is not reached by these rules: the last rule of this block is its own.) */
.desktop-area .row.row-stacked .row-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) { block-size: auto; min-block-size: var(--row-36); padding-block: 6px; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) .row-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) .row-name > .dots { display: block; overflow: hidden; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) .row-name > .dots > .dots-list { display: flex; flex-wrap: wrap; align-items: baseline; margin-inline-start: -2ch; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) .row-name > .dots .dots-item { position: relative; padding-inline-start: 2ch; min-inline-size: 0; }
.desktop-area .row:not(.row-stacked):not(:has(.btn)) .row-name > .dots .dots-item + .dots-item::before { content: '·'; content: '·' / ''; position: absolute; inset-inline-start: 0; inline-size: 2ch; text-align: center; }
/* …and where a tile of the board is narrower than the desktop's narrowest (380 px: the 1100 px grid above) — two columns at
   702–821 px of screen (tiles of 320–379 px), three at 1036–1099 (320–341 px) — a tile is a phone's window, and a row with its
   caption on a line of its own is laid out as round N lays it out on a phone (the 480 px rules above: `.row.row-stacked`,
   `#pkg-money .ws-inv-value`): its value under its name, not beside it. Beside a pair of amounts or a word and two buttons the
   name's column was 3–110 px wide there: an invoice's number was cut by its box («EM-2026-0000» at 768) and the English Studio
   row stood one letter per line, 396 px tall. From 822 px to 1035 px, and from 1100 px, nothing changes. */
@media (min-width: 702px) and (max-width: 821px), (min-width: 1036px) and (max-width: 1099px) {
  .desktop-area.is-workspace .row.row-stacked { grid-template-columns: auto minmax(0, 1fr); align-items: start; row-gap: 4px; }
  .desktop-area.is-workspace .row.row-stacked > .row-value { grid-column: 2; text-align: start; white-space: normal; }
  .desktop-area.is-workspace .row.row-stacked .row-actions { flex-wrap: wrap; }
  .desktop-area.is-workspace #pkg-money .ws-inv-value { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
}
/* …and the one-line row with its buttons beside its name (the Sample's «ما رأيك؟» · «What do you think?», cut at «What do you
   t…» on a 320–360 px phone and in a 320 px tile) grows with its name too — the name wraps, the row is as tall as what it holds —
   wherever that leaves a row whose name fits exactly as round N draws it: on a mouse at every width (its 32 px buttons stand
   inside the 36 px row), and on a touch screen where the window is too narrow for the name (under 380 px, and in the narrow
   tiles). On a touch screen from 380 px it is round N's row, untouched: 36 px, its 44 px buttons hanging 9 px past it. */
@media (pointer: fine), (pointer: none), (max-width: 379px), (min-width: 702px) and (max-width: 821px), (min-width: 1036px) and (max-width: 1099px) {
  .desktop-area .row:not(.row-stacked):has(> .row-actions) { block-size: auto; min-block-size: var(--row-36); }
  .desktop-area .row:not(.row-stacked):has(> .row-actions) > .row-name { padding-block: 6px; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
}

/* ---- The Floor (nothing is cut, 320–1920): the signed-in bar on a window narrower than 360 px with a mouse ----
   Round N lets a phone's bar take a second line when its controls do not fit on one (the touch rules above: under 360 px);
   a desktop window that narrow kept the bar on one line, and the English status line was cut by its box — «Secure conne»
   at 320 px, the line's 119.8 px squeezed to 92.5 (to 110 at 340; from 351 px the five items and their gaps fit). There
   the bar takes the second line too, at the mouse's own sizes — the profile circle, then the language chips, go under the
   status line; the line wraps exactly where round N's started to squeeze. One line is still 32 px and is drawn as it was,
   to the pixel: round N centres the controls in the 31 px above the rule, and 3.5 px above and below the 24 px line centres
   them on the same rows (4 px and 3 px moved the mark half a pixel down: measured). The anonymous bar is not reached:
   round N hides its status line beside the «Sign in» chip (the 480 px rules above), nothing in it is cut, and its 28 px
   chip would have made a wrapping one-line bar 36 px tall. */
@media (pointer: fine) and (max-width: 359px), (pointer: none) and (max-width: 359px) {
  .menubar:not(:has(#anon-signin)) { flex-wrap: wrap; block-size: auto; min-block-size: 32px; padding-block: 3.5px; row-gap: 4px; }
}

/* F14 (round Q's QA, carried in round R by the lead at the merge — RB2's proposal 1): a read sentence in the Quote window (the
   `ws-read` hook workspace.js's SENTENCE sets beside `.caption`) is set at round N's card size, 16 px on 24, in the caption's
   quiet colour; labels and captions of a few words keep round N's caption size */
.caption.ws-read { font-size: var(--fs-card); line-height: var(--lh-card); }
