/* Upload and setup page. Logical properties only (RTL-safe). */
[hidden] { display: none !important; }
.new-page {
  --n-paper: #f4f5f7; --n-ink: #1d1f23; --n-soft: #565c68; --n-line: #d8dbe0; --n-accent: #c62828; --n-card: #ffffff;
  --n-fill: #c62828; --n-top: #d63636; --n-deep: #a92020; --n-btn-top: #ffffff; --n-btn-bottom: #f3f4f6; --n-btn-edge: rgb(29 31 35 / 0.26);
  --n-soft-bg: #f7f8fa; --n-ok: #1b7a3a; --n-ok-bg: #e6f4ea; --n-meter: #e3e6ea; --n-shadow: rgb(29 31 35 / 0.5);
  margin: 0; min-block-size: 100dvh; background: var(--n-paper); color: var(--n-ink);
}
@media (prefers-color-scheme: dark) {
  .new-page { --n-paper: #121417; --n-ink: #eceef1; --n-soft: #a2a8b3; --n-line: #353a42; --n-card: #1e2126; --n-accent: #ff6b6b;
    --n-fill: #d23232; --n-top: #d93838; --n-deep: #b92a2a; --n-btn-top: #2d3138; --n-btn-bottom: #24272d; --n-btn-edge: rgb(236 238 241 / 0.22);
    --n-soft-bg: #181b1f; --n-ok: #7fd69a; --n-ok-bg: #1f3a29; --n-meter: #33373e; --n-shadow: rgb(0 0 0 / 0.7); }
}
.visually-hidden {
  position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link { position: absolute; inset-inline-start: 12px; inset-block-start: -60px; background: var(--n-ink); color: var(--n-paper); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip-link:focus { inset-block-start: 12px; }
.nmain { max-inline-size: 760px; margin-inline: auto; padding-block: 24px 64px; padding-inline: 16px; }
/* the step bar: one line, a tick for the steps behind, labels only on the current step of a phone (app.css has its own .steps for the landing: reset here) */
.new-page .steps { list-style: none; display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; padding: 0; margin: 0 0 20px; grid-template-columns: none; counter-reset: s; }
.new-page .step { counter-increment: s; position: static; padding: 0; border: 0; flex: none; display: flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--n-soft); font-size: 0.85rem; font-weight: 700; }
.new-page .step:not(:last-child) { flex: 1 1 auto; }
.new-page .step:not(:last-child)::after { content: ""; flex: 1 1 14px; min-inline-size: 14px; block-size: 2px; border-radius: 1px; background: var(--n-line); }
.new-page .step::before { content: counter(s); position: static; flex: none; inline-size: 26px; block-size: 26px; border-radius: 50%; border: 1.5px solid var(--n-btn-edge); background: var(--n-card); color: inherit; font-family: inherit; line-height: 1; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; }
.new-page .step[aria-current="step"] { color: var(--n-ink); }
.new-page .step[aria-current="step"]::before { background: var(--n-fill); color: #fff; border-color: var(--n-fill); }
.new-page .step.is-done::before { content: "\2713"; background: var(--n-ink); color: var(--n-paper); border-color: var(--n-ink); }
@media (max-width: 40em) {                        /* a phone: only the current step keeps its word (the others stay for a screen reader) */
  .new-page .step:not([aria-current="step"]) > span { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.panel h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 8px; }
.panel h1:focus { outline: none; }
.lead { color: var(--n-soft); margin-block: 0 18px; font-size: 1.05rem; }
.notice { background: var(--n-card); border: 1px solid var(--n-line); border-inline-start: 4px solid var(--n-accent); padding: 12px 14px; border-radius: 10px; }
.notice a { color: var(--n-accent); font-weight: 600; margin-inline-start: 6px; }
.paid-note { margin-block-end: 14px; }                       /* ?paid=1 and no plan waiting (new.js paidWithoutPlan): air before the drop zone */
.drop {
  border: 2px dashed var(--n-line); border-radius: 18px; padding: 28px 16px; text-align: center; background: var(--n-card);
  display: grid; justify-items: center; gap: 10px; transition: border-color 0.15s, background 0.15s;
}
.drop.is-over { border-color: var(--n-accent); }
.drop-icon { inline-size: 56px; block-size: 56px; color: var(--n-soft); }
.drop-text { margin: 0; font-weight: 600; }
.drop-actions { display: grid; gap: 12px; justify-items: center; inline-size: 100%; }
.drop-actions .btn { inline-size: min(100%, 22rem); min-block-size: 54px; font-size: 1.05rem; }
@media (min-width: 40em) { .drop-actions { grid-auto-flow: column; justify-content: center; } .drop-actions .btn { inline-size: auto; min-inline-size: 13rem; } }
#panel-upload:not(.is-gate) > :is(h1, .lead) { text-align: center; }
#panel-upload h1 { font-weight: 820; letter-spacing: -0.03em; line-height: 1.08; }
.drop { border-radius: 22px; }
.one-note { margin-block: 0 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; min-block-size: 44px;
  padding-inline: 18px; border-radius: 12px; border: 1px solid var(--n-line); background: transparent; color: inherit; cursor: pointer;
}
.btn { background: linear-gradient(var(--n-btn-top), var(--n-btn-bottom)); border-color: var(--n-btn-edge); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 1px 2px rgb(29 31 35 / 0.12); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover:not(:disabled) { background: var(--n-btn-bottom); transform: translateY(-1px); }
.btn:active:not(:disabled) { transform: translateY(1px); box-shadow: inset 0 1px 2px rgb(0 0 0 / 0.15); }
.btn-primary { background: linear-gradient(var(--n-top), var(--n-fill)); border-color: var(--n-deep); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 1px 2px rgb(120 16 16 / 0.35), 0 6px 14px -8px rgb(198 40 40 / 0.6); }
.btn-primary:hover:not(:disabled) { background: linear-gradient(var(--n-fill), var(--n-deep)); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover:not(:disabled) { transform: none; } }
.btn-lg { min-block-size: 52px; padding-inline: 26px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
:is(.btn, .p-door, input):focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
.drop input:focus-visible + .drop-icon { outline: 3px solid var(--n-accent); }
/* the chosen file as one row: picture, name, the way to another one (the "plans used up" screen and the kept errors show it) */
.preview { margin: 16px 0 0; display: flex; gap: 12px; align-items: center; padding-block: 8px; padding-inline: 8px 14px; background: var(--n-card); border: 1px solid var(--n-line); border-radius: 20px; }
.preview img { flex: none; inline-size: 52px; block-size: 44px; object-fit: contain; background: #fff; border: 1px solid var(--n-line); border-radius: 10px; }
.preview-name { flex: 1 1 auto; min-inline-size: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-change { flex: none; display: inline-flex; align-items: center; min-block-size: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.preview-change:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
.waiting-plan { margin-block-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }   /* a plan of an earlier visit waits (new.js showWaitingPlan): the line, then the one button */
.waiting-plan[hidden] { display: none; }
.waiting-plan .notice { margin: 0; align-self: stretch; }
.waiting-plan:not([hidden]) + .drop { margin-block-start: 20px; }   /* the waiting plan stands above the drop zone (new.js waitingFirst) */
.row { margin-block: 20px 8px; }
.error { color: #b3261e; font-weight: 600; }
@media (prefers-color-scheme: dark) { .error { color: #ffb4ab; } }
.fine { color: var(--n-soft); font-size: 0.88rem; }
.credits-back { color: var(--n-ink); font-weight: 600; }
.reading { display: grid; justify-items: center; gap: 10px; padding-block: 20px; }
.reading-plan {
  inline-size: min(320px, 80vw); aspect-ratio: 4 / 3; border: 2px solid var(--n-ink); border-radius: 6px; position: relative; overflow: hidden;
  background:
    linear-gradient(var(--n-ink), var(--n-ink)) 40% 0 / 2px 60% no-repeat,
    linear-gradient(var(--n-ink), var(--n-ink)) 0 55% / 40% 2px no-repeat,
    linear-gradient(var(--n-ink), var(--n-ink)) 70% 100% / 2px 45% no-repeat,
    linear-gradient(var(--n-ink), var(--n-ink)) 100% 40% / 30% 2px no-repeat;
}
.scan { position: absolute; inset-inline: 0; block-size: 30%; background: linear-gradient(transparent, rgba(198, 40, 40, 0.25), transparent); animation: scan 2.2s ease-in-out infinite; }
@keyframes scan { from { inset-block-start: -30%; } to { inset-block-start: 100%; } }
.reading-status { font-weight: 600; margin: 0; }
.reading-time { color: var(--n-soft); margin: 0; font-variant-numeric: tabular-nums; }
/* The e-mail gate (new.js makeGate): the waiting screen's text and the button that opens the e-mail window again; the window itself is the e-mail link's dialog or Clerk's. */
.read-gate { display: grid; justify-items: center; gap: 12px; margin-block: 4px 10px; text-align: center; }
.read-gate[hidden] { display: none; }
.read-gate-title { margin: 0; font-weight: 600; font-size: 1.1rem; max-inline-size: 36ch; text-wrap: balance; }
.read-gate-lead { margin: 0; max-inline-size: 36ch; line-height: 1.45; text-wrap: balance; }
.read-gate .btn { min-block-size: 44px; max-inline-size: 100%; }
/* The e-mail window was closed unsigned (email-gate.js closed): one line and one "Sign in" button, full width and pinned to the foot of the screen, so that it is in view whatever sits above it
   (the plan frame, the bar and the clock push the block to the fold of a phone, and under a browser's own bars below it - live case 2026-11-17). */
.read-gate.is-back { position: sticky; inset-block-end: 12px; z-index: 3; box-sizing: border-box; inline-size: 100%; max-inline-size: 420px; margin-inline: auto; padding: 14px; border: 1px solid var(--n-line); border-radius: 12px; background: var(--n-card); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16); }
.read-gate.is-back .btn { inline-size: 100%; }
.read-gate .btn[hidden] { display: none; }                 /* a link was sent: no button at all (email-gate.js paint) */
.read-gate.is-sign .read-gate-lead { font-weight: 700; font-size: 1.1rem; max-inline-size: none; }   /* the heading of the way back: "Sign in with e-mail" */
#read-img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: contain; background: #ffffff; }
/* The live reading (read-live.js): the uploaded image, faint, and the plan drawn over it piece by piece. Lines are drawn
   in with stroke-dashoffset (pathLength 1), the rest fades in; each piece's delay is set by the script. */
.reading-plan.is-live { inline-size: min(560px, 100%); aspect-ratio: 4 / 3; max-block-size: 62vh; background: #ffffff; border-color: var(--n-line); }
.reading-plan.is-live .scan { display: none; }
.reading-plan.is-live.is-looking .scan { display: block; }
.live { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.live-img { opacity: 0.3; }
.live .lw { stroke: #1d1f23; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 1; animation: live-draw 0.45s ease-out forwards; }
.live .lo { stroke: #ffffff; stroke-linecap: butt; opacity: 0; animation: live-show 0.3s ease-out forwards; }
.live .lo.is-door { stroke: #fbe3e3; }
.live .lr { fill: rgb(198 40 40 / 0.07); stroke: rgb(198 40 40 / 0.5); stroke-width: 1.5px; vector-effect: non-scaling-stroke; opacity: 0; animation: live-show 0.5s ease-out forwards; }
.live .lf { fill: rgb(29 31 35 / 0.06); stroke: #565c68; stroke-width: 1.2px; vector-effect: non-scaling-stroke; opacity: 0; animation: live-show 0.35s ease-out forwards; }
.live .ll { fill: #a92020; font-family: inherit; font-weight: 600; text-anchor: middle; dominant-baseline: middle; opacity: 0; animation: live-show 0.5s ease-out forwards; paint-order: stroke; stroke: #ffffff; }
@keyframes live-draw { to { stroke-dashoffset: 0; } }
@keyframes live-show { to { opacity: 1; } }
/* The progress bar: forward only, from real signals (read-live-state.js progressTarget / nextProgress); a soft shimmer
   runs along it so it is visibly alive between steps. */
.read-bar { inline-size: min(560px, 100%); block-size: 8px; border-radius: 4px; background: var(--n-line); overflow: hidden; position: relative; }
.read-bar-fill { display: block; block-size: 100%; inline-size: 0; border-radius: inherit; background: linear-gradient(90deg, var(--n-deep), var(--n-top)); transition: inline-size 0.9s linear; position: relative; overflow: hidden; }
.read-bar-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.45), transparent); transform: translateX(-100%); animation: bar-shine 1.8s ease-in-out infinite; }
@keyframes bar-shine { to { transform: translateX(100%); } }
/* Only while another tab reads the plan (new.js showPaying, `elsewhere`): a short fill that slides to and fro, no percentage. While the price is shown
   nothing is read and the bar is hidden (.is-unpaid below). */
.read-bar.is-waiting .read-bar-fill { inline-size: 38%; transition: none; animation: bar-wait 1.7s ease-in-out infinite alternate; }
@keyframes bar-wait { from { transform: translateX(0); } to { transform: translateX(163%); } }
:root[dir="rtl"] .read-bar.is-waiting .read-bar-fill { animation-name: bar-wait-rtl; }
@keyframes bar-wait-rtl { from { transform: translateX(0); } to { transform: translateX(-163%); } }
.reading-pct { margin: 0; color: var(--n-soft); font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.reading-note { margin: 0; color: var(--n-soft); text-align: center; max-inline-size: 40ch; }
.reading-found { margin: 0; color: var(--n-ink); font-variant-numeric: tabular-nums; text-align: center; }
.reading-fun { margin: 0; color: var(--n-soft); font-style: italic; text-align: center; max-inline-size: 36ch; }
/* Waiting for the payment: the plan "being read" and the payment side by side on wide screens, one under the other on phones. */
.nmain:has(.read-grid.is-paying) { max-inline-size: 1040px; }
.read-grid.is-paying { display: grid; gap: 14px; align-items: start; }
@media (min-width: 56em) { .read-grid.is-paying { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; } .pay-jump { display: none; } }
/* the card of the plan that is "prepared" while the payment is asked (board A5 / A5d): a phone - the small plan, the words and the bar in a row, the offer
   right under it, so that the price and the pack buttons stay on the first screen (owner 2026-10-31); a wide screen - the big plan on the left */
.read-grid.is-paying .read-main { background: var(--n-card); border: 1px solid var(--n-line); border-radius: 22px; padding: 14px 16px; display: grid; align-content: center; }
.read-grid.is-paying .reading { padding: 0; gap: 4px 14px; justify-items: stretch; align-items: center; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "plan status" "plan bar"; }
.read-grid.is-paying .reading-plan { grid-area: plan; inline-size: 64px; aspect-ratio: 1; border-width: 2px; }
.read-grid.is-paying .reading-status { grid-area: status; align-self: end; font-size: 1rem; font-weight: 800; }
.read-grid.is-paying .read-bar { grid-area: bar; align-self: start; inline-size: 100%; margin-block-start: 6px; }
@media (min-width: 56em) {
  .read-grid.is-paying .read-main { padding: 28px; }
  .read-grid.is-paying .reading { grid-template-columns: minmax(0, 1fr); grid-template-areas: "plan" "status" "bar"; justify-items: center; gap: 12px; }
  .read-grid.is-paying .reading-plan { inline-size: min(320px, 100%); aspect-ratio: 4 / 3; }
  .read-grid.is-paying .reading-status { align-self: center; }
  .read-grid.is-paying .read-bar { inline-size: min(280px, 100%); margin-block-start: 0; }
}
/* The price is shown and nothing is read yet (.is-unpaid, new.js showPaying): the picture stands still, no scan band, no bar, no status - a plaque says that
   the reading waits for the payment. */
.read-grid.is-unpaid .scan { display: none; }
.pay-ready { grid-area: ready; min-inline-size: 0; }
.pay-ready-title { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.pay-ready-text { margin: 4px 0 0; color: var(--n-soft); font-size: 0.95rem; line-height: 1.4; }
.read-grid.is-unpaid .reading { grid-template-areas: "plan ready"; }
/* a phone, the picture of the visitor's own plan is there (new.js send): it must read as THEIR plan, so it takes the whole width of the card, the whole plan
   (object-fit: contain of #read-img), the plaque under it (owner 2026-11-05: a 64 px patch looked as if nothing had been uploaded). The height is capped by
   the screen so the pack buttons stay on the first screen; no picture (#read-img hidden: a plan of an earlier visit) - the small blueprint beside the plaque, as before */
@media (max-width: 55.99em) {
  .read-grid.is-unpaid .reading:has(#read-img:not([hidden])) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "plan" "ready"; gap: 10px; }
  .read-grid.is-unpaid .reading:has(#read-img:not([hidden])) .reading-plan { inline-size: 100%; aspect-ratio: auto; block-size: min(170px, 21dvh); }
}
@media (min-width: 56em) {
  .read-grid.is-unpaid .reading { grid-template-areas: "plan" "ready"; }
  .pay-ready { text-align: center; max-inline-size: 38ch; }
  .pay-ready-title { font-size: 1.2rem; }
  .pay-ready-text { margin-block-start: 6px; font-size: 1rem; }
}
@media (max-width: 55.99em) and (max-height: 700px) { .read-grid.is-paying .pay { order: -3; } .read-grid.is-paying .pay-below { order: -2; } }
.pay { background: var(--n-card); border: 1px solid var(--n-line); border-radius: 22px; padding: 20px 16px; display: grid; gap: 14px; align-content: start; box-shadow: 0 30px 60px -40px var(--n-shadow); }
@media (min-width: 56em) { .pay { padding: 30px; } }
.pay:focus, .pay-title:focus { outline: none; }
.pay-title { margin: 0; font-size: clamp(1.6rem, 7vw, 2.1rem); font-weight: 820; letter-spacing: -0.03em; line-height: 1.1; }
.pay-title em { display: block; color: var(--n-accent); font-style: normal; }
.pay-lead { margin: 0; color: var(--n-soft); font-size: 1.02rem; line-height: 1.5; }
.pay-packs { display: grid; gap: 12px; }
.pay-packs .btn { inline-size: 100%; min-block-size: 56px; }
.pay-trust { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--n-soft); font-size: 0.85rem; font-weight: 600; }
.pay-trust svg { flex: none; inline-size: 16px; block-size: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-status { margin: 0; font-weight: 600; color: var(--n-ink); }
/* the free first reading (new.js paintFree): the card has no payment in it */
.pay.is-free .pay-trust { display: none; }
.pay-seats { margin: 0; font-weight: 600; }
.free-terms, .free-mail, .free-tick { margin: 0; text-align: center; }
.free-mail, .free-tick { font-weight: 600; }
.free-terms a { color: var(--n-accent); text-decoration: underline; text-underline-offset: 2px; margin-inline: 0; font-weight: 600; }
.pay-support { margin: 0; line-height: 1.5; }
.pay-support a { color: var(--n-ink); font-weight: 700; text-underline-offset: 3px; }
/* the browser did not open the payment tab: the one red button is the way to it, the first pack goes white (one red button per screen) */
.pay.has-link .pay-packs .btn-primary { background: linear-gradient(var(--n-btn-top), var(--n-btn-bottom)); border-color: var(--n-btn-edge); color: inherit; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), 0 1px 2px rgb(29 31 35 / 0.12); }
.pay.is-elsewhere > :not(.pay-status) { display: none; }
.pay-below { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; }
.pay-cancel, .pay-prices { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0; border: 0; background: none; color: var(--n-ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pay-cancel:focus-visible, .pay-prices:focus-visible, .pay-support a:focus-visible, .pay-title:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
.pay-note { margin: 0; }
.pay-note.is-sub { display: none; }   /* a subscription is picked on the choice screen: "You pay once" would be wrong (new.js paintPayNote) */
.read-grid.is-paying > :is(.pay-below, .pay-note) { grid-column: 1 / -1; }
.plan2d-wrap { position: relative; background: #ffffff; border: 1px solid var(--n-line); border-radius: 14px; padding: 8px; }
.plan2d { display: block; inline-size: 100%; block-size: min(62dvh, 560px); }
.p-room { fill: #eceef1; stroke: none; }
.p-wall { fill: #1d1f23; }
.p-low { fill: #8b919b; }
.p-cut { fill: none; stroke: #1d1f23; stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.cut-note, #floors-note { margin-block: 0 14px; }
.cut-note p { margin-block: 0 10px; }
.cut-title { font-weight: 600; }
.cut-note .row { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.p-label { fill: #565c68; font-family: system-ui, sans-serif; }
.p-door { cursor: pointer; }
.p-door:focus { outline: none; }
/* Doors as pins: a white pin with a faint red rim to choose; an entrance filled red; the main entrance ringed as well. */
.p-door-hit { fill: #ffffff; stroke: rgba(198, 40, 40, 0.55); stroke-width: 2; vector-effect: non-scaling-stroke; transition: fill 0.15s; }
.p-door-line { stroke: rgba(198, 40, 40, 0.45); stroke-width: 110; stroke-linecap: round; }
.p-door-touch { fill: transparent; }
.p-door-hit { filter: drop-shadow(0 1px 1.5px rgb(29 31 35 / 0.25)); }
.p-door-n { fill: #8f1d1d; font-weight: 700; font-family: system-ui, sans-serif; pointer-events: none; }
.p-door-ring { fill: none; stroke: #c62828; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.p-door:hover .p-door-hit { fill: #fbe3e3; }
.p-door:focus-visible .p-door-hit { stroke: #1d1f23; stroke-width: 3; }
.p-door.is-entry .p-door-hit { fill: #c62828; stroke: #a92020; }
.p-door.is-entry .p-door-line { stroke: #c62828; }
.p-door.is-entry .p-door-n { fill: #fff; }
.p-room.is-changed { fill: #fbe9e9; }
/* A room's size: a small pill under its name, a button like the dimension labels. */
.p-rsize { cursor: pointer; }
.p-rsize:focus { outline: none; }
.p-rsize-pill { fill: rgb(255 255 255 / 0.9); stroke: #b9bec7; stroke-width: 1; vector-effect: non-scaling-stroke; }
.p-rsize-text { fill: #3b4049; font-family: system-ui, sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; user-select: none; }
.p-rsize:hover .p-rsize-pill { fill: #ffffff; stroke: #565c68; }
.p-rsize:focus-visible .p-rsize-pill { stroke: #c62828; stroke-width: 3; }
/* The entrances under the plan: chips, the main one red. */
.entries { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block: 12px 4px; min-block-size: 40px; }
.entries-empty { margin: 0; color: var(--n-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; padding-inline: 14px 4px; border-radius: 999px; background: var(--n-card); border: 1px solid var(--n-line); font-weight: 600; }
.chip.is-main { border-color: var(--n-deep); background: linear-gradient(var(--n-top), var(--n-fill)); color: #fff; }
.chip-badge { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: rgb(255 255 255 / 0.22); }
.chip-act, .chip-x { font: inherit; font-size: 0.85rem; color: inherit; background: transparent; border: 0; border-radius: 999px; min-block-size: 32px; min-inline-size: 32px; padding-inline: 8px; cursor: pointer; }
.chip-act { color: var(--n-accent); font-weight: 600; }
.chip-x { font-size: 1.15rem; line-height: 1; color: var(--n-soft); }
.chip.is-main .chip-x { color: #fff; }
.chip-act:hover, .chip-x:hover { background: rgb(29 31 35 / 0.07); }
.chip.is-main .chip-x:hover { background: rgb(255 255 255 / 0.18); }
:is(.chip-act, .chip-x, .quiet-link, .p-rsize):focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
/* A room's size, typed: a card under the plan. */
.room-edit { margin-block: 12px; padding: 14px 16px; background: var(--n-card); border: 1px solid var(--n-line); border-radius: 14px; box-shadow: 0 6px 20px -12px rgb(29 31 35 / 0.35); }
.room-edit-title { margin: 0 0 10px; font-weight: 700; }
.room-edit-fields { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.room-field { display: grid; gap: 4px; color: var(--n-soft); font-size: 0.9rem; }
.room-input { display: inline-flex; align-items: center; gap: 6px; color: var(--n-ink); font-weight: 600; }
.room-input input { inline-size: 7.5em; min-block-size: 44px; box-sizing: border-box; font: inherit; font-size: max(16px, 1rem); font-variant-numeric: tabular-nums; padding-inline: 10px; border: 1px solid var(--n-btn-edge); border-radius: 10px; background: var(--n-paper); color: inherit; }
.room-edit .fine { margin-block: 10px; }
.room-edit-row { display: flex; flex-wrap: wrap; gap: 10px; }
/* What changed, with Undo. */
.fixes { margin-block: 12px; padding: 12px 16px; border-radius: 14px; background: var(--n-card); border: 1px solid var(--n-line); border-inline-start: 4px solid var(--n-accent); }
.fixes-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fixes-title { margin: 0; font-size: 1rem; }
.fixes-list { margin: 6px 0 0; padding-inline-start: 1.1em; color: var(--n-ink); }
.fixes-list li { margin-block: 2px; font-variant-numeric: tabular-nums; }
.fixes-also { display: block; color: var(--n-soft); font-size: 0.88rem; }
.p-room { cursor: pointer; }
.btn-sm { min-block-size: 36px; padding-inline: 12px; border-radius: 10px; font-size: 0.92rem; }
/* Continue, and beside it the quiet "Something's off?" (owner: not a big button, but there). */
.go-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
/* "Choose entrance", a door marked: Next stays in view at the foot of the screen. A tall plan (62dvh) pushes it below the fold, and a visitor on a phone tapped the plan
   24 times looking for the way on (visit review 2026-11-18). Where Next already fits the bar is just its row; the bar is paper-coloured and as wide as the column. */
.go-row:has(> #btn-next:not([hidden], :disabled)) { position: sticky; inset-block-end: 0; z-index: 5; margin: 12px -16px 0; padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--n-paper); }
@media (max-width: 40em) { .go-row:has(> #btn-next:not([hidden], :disabled)) { border-block-start: 1px solid var(--n-line); } #btn-next { min-inline-size: 11rem; } }
/* what a tap on a door did, when it added another entrance (new.js paintEntries) */
.entry-added { margin-block: 0 8px; }
.quiet-link { font: inherit; font-size: 0.95rem; color: var(--n-soft); background: none; border: 0; padding: 8px 2px; min-block-size: 44px; cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.quiet-link:hover { color: var(--n-ink); text-decoration-color: currentColor; }
/* "Something's off?": the image with a brush, a note, Read again. */
.reread h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: 0 0 6px; }
.reread h2:focus { outline: none; }
.paint-wrap { background: #ffffff; border: 1px solid var(--n-line); border-radius: 14px; padding: 8px; }
.paint { display: block; inline-size: 100%; block-size: auto; max-block-size: 60dvh; object-fit: contain; touch-action: none; cursor: crosshair; border-radius: 8px; }
.paint-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block-start: 8px; }
.paint-hint { display: inline-flex; align-items: center; gap: 8px; color: #565c68; font-size: 0.9rem; margin-inline-end: auto; }
@media (max-width: 30em) { .paint-hint { flex-basis: 100%; } }
.paint-dot { inline-size: 14px; block-size: 14px; border-radius: 50%; background: #e0218a; opacity: 0.6; }
.reread-label { display: block; font-weight: 600; margin-block: 14px 6px; }
.reread-note { box-sizing: border-box; inline-size: 100%; font: inherit; font-size: max(16px, 1rem); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--n-btn-edge); background: var(--n-card); color: inherit; resize: vertical; }
.reread-note:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 1px; }
.reread-price { margin-block: 8px 0; }
.reread-row { display: flex; flex-wrap: wrap; gap: 10px; }
#reread-result { margin-block: 0 14px; }
/* Dimension lines: the plan is always drawn on #ffffff, so these use literal ink colours like the other .p-* classes. */
.p-dim-line, .p-dim-tick { fill: none; stroke: #1d1f23; vector-effect: non-scaling-stroke; }
.p-dim-line { stroke-width: 1; }
.p-dim-tick { stroke-width: 2; }
.p-dim { cursor: pointer; }
.p-dim:focus { outline: none; }
.p-dim-hit { fill: transparent; }
.p-dim-pill { fill: #ffffff; stroke: #565c68; stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.p-dim-text { fill: #1d1f23; font-family: system-ui, sans-serif; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; user-select: none; }
.p-dim:hover .p-dim-pill { fill: #eceef1; }
.p-dim:focus-visible .p-dim-pill { stroke: #c62828; stroke-width: 3; }
/* The editor sits over the label (left/top/width/height are set from script). 16px minimum: iOS zooms in on smaller text. */
.dim-input {
  position: absolute; box-sizing: border-box; margin: 0; padding-block: 0; padding-inline: 8px;
  font: inherit; font-size: max(16px, 1rem); font-weight: 600; font-variant-numeric: tabular-nums; text-align: center;
  border: 2px solid #1d1f23; border-radius: 999px; background: #ffffff; color: #1d1f23; box-shadow: none;
  -moz-appearance: textfield; appearance: textfield;
}
.dim-input::-webkit-inner-spin-button, .dim-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* The two steps of the check (new.js setStage): the doors are touched on the first, the sizes on the second; metres | feet beside the plan. */
.plan2d:not(.is-sizes) .p-room { cursor: default; }
.p-door.is-static { cursor: default; pointer-events: none; }
.units-row { display: flex; align-items: center; gap: 12px; margin-block: 0 12px; }
.units-label { color: var(--n-soft); font-weight: 600; }
.units-seg { display: inline-flex; border: 1px solid var(--n-btn-edge); border-radius: 12px; overflow: hidden; }
.units-btn { min-block-size: 44px; min-inline-size: 60px; padding-inline: 14px; font: inherit; font-weight: 700; border: 0; background: var(--n-card); color: inherit; cursor: pointer; }
.units-btn + .units-btn { border-inline-start: 1px solid var(--n-btn-edge); }
.units-btn[aria-pressed="true"] { background: linear-gradient(var(--n-top), var(--n-fill)); color: #fff; }
.units-btn:focus-visible { outline: 3px solid var(--n-accent); outline-offset: -3px; }
.size-note { margin-block: 2px 4px; min-block-size: 1.4em; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .scan { animation: none; inset-block-start: 35%; }
  .live .lw, .live .lo, .live .lr, .live .lf, .live .ll { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .read-bar-fill { transition: none; }
  .read-bar-fill::after { animation: none; display: none; }
  .read-bar.is-waiting .read-bar-fill { animation: none; }
}

/* Pill buttons on the pay and "plans used up" screens (boards A4, A5, D1); the one red button gets a soft lift */
:is(.drop, .pay, .gate) .btn, #err-topup, #err-choose, #err-retry { border-radius: 999px; }
:is(.drop, .pay, .gate) .btn-primary, #err-choose { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 10px 24px -12px rgb(198 40 40 / 0.7); }
#err-topup, #err-choose, #err-retry { min-block-size: 52px; padding-inline: 26px; font-size: 1.05rem; }
#err-topup { background: linear-gradient(var(--n-top), var(--n-fill)); border-color: var(--n-deep); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 10px 24px -12px rgb(198 40 40 / 0.7); }   /* short of credits: the way to them is the one red button */
/* the consent box on the card: a soft panel with a red ring when the pack was pressed without the tick (offer.css pulses it) */
.pay .soon-consent { margin: 0; padding: 10px 12px; border: 2px solid transparent; border-radius: 14px; background: var(--n-soft-bg); font-size: 0.9rem; }
.pay .soon-consent.is-needed { border-color: var(--n-accent); }
.pay .soon-consent-box { inline-size: 22px; block-size: 22px; margin-block-start: 0; }
/* "You already agreed" beside a tick that came back after a sign-in or payment page (new.js, pay.restored): a sibling right under the consent box */
.pay .soon-consent-done { margin-block: -6px 0; padding-inline-start: 12px; font-size: 0.9rem; color: var(--n-ok); font-weight: 650; }
.pay .soon-consent-done[hidden] { display: none; }
/* what the page says after a refusal or a failed reading: a card, not loose red text; the credits that came back, a plan that does not count */
#upload-error { margin-block: 14px 0; padding: 12px 14px; background: var(--n-card); color: var(--n-ink); border: 1px solid var(--n-line); border-inline-start: 4px solid #b3261e; border-radius: 14px; }
.credits-back { display: flex; align-items: center; gap: 10px; margin-block: 12px 0; padding: 12px 14px; background: var(--n-card); border: 1px solid var(--n-line); border-radius: 14px; font-size: 0.95rem; }
.credits-back::before { content: "\21BB"; flex: none; font-size: 1.1rem; }
#upload-error[hidden] + .credits-back[hidden] { display: none; }
#err-topup, #err-choose, #err-retry { margin-block-start: 12px; }
#panel-upload > .fine:last-child { margin-block-start: 14px; }

/* Plus beside the packs on the payment card: Pro at its full price (new.js paintPay) */
.pay-pro { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--n-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pay-pro:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }

/* A PDF chosen on the upload step (pdf-plan.js): "Opening your PDF…", and for a PDF of several pages the choice of the page - a card per page,
   a small picture and its number. Arrow keys move between the cards, a tap or Enter chooses (one page is one plan). */
.pdf-status { margin-block: 14px 0; text-align: center; }
#panel-upload.is-pdf > :is(.lead, .drop) { display: none; }
.pdf-pick { min-inline-size: 0; overflow-wrap: anywhere; margin-block: 4px 0; padding: 16px 14px; background: var(--n-card); border: 1px solid var(--n-line); border-radius: 22px; }
.pdf-pick-title { margin: 0 0 4px; font-size: 1.3rem; font-weight: 820; letter-spacing: -0.02em; line-height: 1.15; }
.pdf-pick-title:focus { outline: none; }
.pdf-pick-lead { margin: 0 0 14px; color: var(--n-soft); }
.pdf-pages { list-style: none; margin: 0 0 14px; padding: 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 12px;
  max-block-size: min(60vh, 30rem); overflow-y: auto; overscroll-behavior: contain; }
.pdf-item { min-inline-size: 0; }
/* a card is one column that may shrink below its picture (a canvas has a size of its own, 300 px before it is drawn): no card, and so no page, grows wider than a phone */
.pdf-page, .pdf-pic { grid-template-columns: minmax(0, 1fr); }
.pdf-thumb { min-inline-size: 0; }
.pdf-page, .pdf-pic { display: grid; gap: 8px; justify-items: center; inline-size: 100%; min-block-size: 44px; padding: 10px; background: var(--n-soft-bg); border: 1.5px solid var(--n-line);
  border-radius: 18px; color: inherit; font: inherit; cursor: pointer; transition: border-color 0.15s, transform 0.15s ease; }
.pdf-page:hover, .pdf-pic:hover { border-color: var(--n-accent); transform: translateY(-1px); }
.pdf-page:active, .pdf-pic:active { transform: translateY(1px); }
.pdf-page:focus-visible, .pdf-pic:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
.pdf-thumb { display: grid; place-items: center; inline-size: 100%; block-size: 7.5rem; background: #fff; border: 1px solid var(--n-line); border-radius: 10px; overflow: hidden; }
.pdf-thumb canvas { inline-size: auto; block-size: auto; max-inline-size: 100%; max-block-size: calc(7.5rem - 2px); opacity: 0; transition: opacity 0.15s; }
.is-drawn canvas { opacity: 1; }
.pdf-num { font-weight: 700; font-size: 0.92rem; }
.pdf-pic[aria-pressed="true"] { border-color: var(--n-accent); box-shadow: inset 0 0 0 1.5px var(--n-accent); }
.pdf-pic[aria-pressed="true"] .pdf-num::before { content: "\2713\00a0"; color: var(--n-accent); }
.pdf-soon { margin: 0 0 14px; color: var(--n-soft); font-size: 0.92rem; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pdf-actions .btn { min-block-size: 44px; }
.pdf-link { display: inline-block; margin-block-start: 6px; min-block-size: 44px; padding-inline: 4px; background: none; border: 0; color: var(--n-soft); font: inherit; font-size: 0.92rem; text-decoration: underline; cursor: pointer; }
.pdf-link:hover { color: var(--n-ink); }
.pdf-link:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; border-radius: 6px; }
.pdf-pages[aria-busy="true"] { opacity: 0.55; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .pdf-page, .pdf-pic, .pdf-thumb canvas { transition: none; } :is(.pdf-page, .pdf-pic):is(:hover, :active) { transform: none; } }

/* The purchase choice on the payment card (subscriptions on only; new.js paintChoice, purchase-screen.js; the owner's mock of 2026-11-05): two cards with a radio
   - one-time credits and Plus / Pro -, one tick, one button. The class .is-choice is on the card only then, so the screen of the packs is untouched. */
.pay.is-choice { gap: 10px; padding: 14px; }
@media (min-width: 56em) { .pay.is-choice { gap: 14px; padding: 30px; } }
.pay.is-choice .pay-title { font-size: clamp(1.35rem, 6vw, 1.9rem); line-height: 1.15; }
.pay.is-choice .pay-packs { gap: 10px; }
.read-grid:has(.pay.is-choice) .pay-prices { display: none; }   /* "See Plus and Pro": they are on the card */
.buy-choice { display: grid; gap: 10px; min-inline-size: 0; }
.buy-choice button:not(.btn) { font: inherit; color: inherit; cursor: pointer; }   /* the confirm button is a .btn: its own colour (white on red) and weight */
.opt { border: 1.5px solid var(--n-line); border-radius: 16px; background: var(--n-card); overflow: hidden; min-inline-size: 0; }
.opt.is-on { border-color: var(--n-accent); box-shadow: 0 0 0 1px var(--n-accent); }
.opt-head { inline-size: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; background: none; border: 0; text-align: start; }
.opt-head:focus-visible, .pack-btn:focus-visible, .switch button:focus-visible, .swap:focus-visible, .opt-details summary:focus-visible { outline: 3px solid var(--n-accent); outline-offset: 2px; }
.opt-dot { inline-size: 20px; block-size: 20px; border-radius: 50%; border: 2px solid var(--n-line); display: grid; place-items: center; }
.opt.is-on .opt-dot { border-color: var(--n-accent); }
.opt.is-on .opt-dot::after { content: ""; inline-size: 10px; block-size: 10px; border-radius: 50%; background: var(--n-accent); }
.opt-main { min-inline-size: 0; }
.opt-name { font-weight: 800; display: block; line-height: 1.2; }
.opt-sub { color: var(--n-soft); font-size: 0.84rem; display: block; line-height: 1.3; }
.opt-price { font-weight: 900; font-size: 1.1rem; white-space: nowrap; text-align: end; line-height: 1.15; }
.opt-price small { display: block; font-weight: 600; font-size: 0.72rem; color: var(--n-soft); }
.opt-tag { display: inline-block; margin-inline-start: 6px; padding: 1px 7px; border-radius: 99px; background: var(--n-ok-bg); color: var(--n-ok); font-size: 0.7rem; font-weight: 800; vertical-align: 1px; }
.opt-more { padding: 0 12px 6px; }
.opt:not(.is-on) .packs, .opt:not(.is-on) .switch { display: none; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 0 6px; }
.pack-btn { min-block-size: 44px; border: 1.5px solid var(--n-line); border-radius: 10px; background: var(--n-card); font-size: 0.85rem; font-weight: 700; padding: 4px; }
.pack-btn.is-on { border-color: var(--n-accent); }
.switch { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; margin: 0 0 6px; border-radius: 99px; background: var(--n-soft-bg); border: 1px solid var(--n-line); }
.switch button { min-block-size: 32px; padding: 0 12px; border: 0; border-radius: 99px; background: none; color: var(--n-soft); font-size: 0.8rem; font-weight: 700; }
.switch button.on { background: var(--n-card); color: var(--n-ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.16); }
.opt-details { border-block-start: 1px solid var(--n-line); }
.opt-details summary { min-block-size: 40px; display: flex; align-items: center; justify-content: space-between; font-size: 0.9rem; font-weight: 700; cursor: pointer; list-style: none; }
.opt-details summary::-webkit-details-marker { display: none; }
.opt-details summary::after { content: ""; inline-size: 8px; block-size: 8px; margin-inline-end: 4px; border-inline-end: 2px solid var(--n-soft); border-block-end: 2px solid var(--n-soft); transform: rotate(45deg); transition: transform 0.15s; }
.opt-details[open] summary::after { transform: rotate(225deg); }
.ticks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; font-size: 0.9rem; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; line-height: 1.3; }
.ticks li::before { content: "\2713"; color: var(--n-ok); font-weight: 900; }
.ticks li.no { color: var(--n-soft); }
.ticks li.no::before { content: "\2013"; color: var(--n-soft); }
.cmp { inline-size: 100%; border-collapse: collapse; margin: 0 0 6px; font-size: 0.86rem; }
.cmp th, .cmp td { padding: 7px 4px; border-block-end: 1px solid var(--n-line); text-align: center; font-weight: 700; }
.cmp tbody th { text-align: start; font-weight: 500; color: var(--n-soft); }
.cmp thead th { font-weight: 800; }
.cmp [data-col] { inline-size: 64px; }
.cmp .on { background: var(--n-ok-bg); color: var(--n-ok); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-block-end: 0; }
.swap { background: none; border: 0; padding: 0; margin: 0 0 6px; min-block-size: 36px; color: var(--n-ink); font-size: 0.9rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.buy-nudge { margin: -4px 0 0; color: var(--n-accent); font-size: 0.85rem; font-weight: 700; }
.buy-go { min-block-size: 54px; display: block; text-align: center; line-height: 1.2; padding-block: 8px; }
.buy-go-main { font-weight: 800; }
.buy-go-small { display: block; font-weight: 600; font-size: 0.76rem; opacity: 0.9; }
@media (max-width: 55.99em) {
  /* a phone: everything above the button is a little tighter while the choice is on screen, so that "Confirm and view your plan" stays on the first screen
     (375 x 812, blocks folded, the line about analytics shown) - the picture lower, the card's gaps and the tick's text smaller */
  .nmain:has(.pay.is-choice) { padding-block-start: 12px; }
  .nmain:has(.pay.is-choice) .steps { margin-block-end: 10px; }
  .read-grid.is-unpaid:has(.pay.is-choice) .read-main { padding: 10px 12px; }
  .read-grid.is-unpaid:has(.pay.is-choice) .reading:has(#read-img:not([hidden])) { gap: 6px; }
  .read-grid.is-unpaid:has(.pay.is-choice) .reading:has(#read-img:not([hidden])) .reading-plan { block-size: min(92px, 12dvh); }
  .read-grid.is-unpaid:has(.pay.is-choice) .pay-ready-text { margin-block-start: 2px; font-size: 0.88rem; line-height: 1.3; }
  .pay.is-choice { gap: 6px; padding: 12px; }
  .pay.is-choice .pay-title { font-size: 1.2rem; }
  .pay.is-choice .buy-choice { gap: 8px; }
  .pay.is-choice .opt-more { padding-block-end: 4px; }
  .pay.is-choice .switch { margin-block-end: 4px; }
  .pay.is-choice .soon-consent { padding: 8px 10px; font-size: 0.78rem; line-height: 1.3; }
  .pay.is-choice .soon-consent-box { inline-size: 20px; block-size: 20px; }
  .opt-head { padding-block: 8px; }
  .opt-details summary { min-block-size: 36px; }
  .pack-btn { min-block-size: 40px; }
  .buy-go { min-block-size: 50px; }
}
