/* ===========================================================================
   One rule about where things go in this file, and it is load-bearing.

   NEW RULES GO AT THE END. Existing rules are edited in place.

   Several sessions work on this product at once and most of them touch this
   stylesheet. A file where new work only ever lands at the bottom almost
   never conflicts, because two branches appending are two branches editing
   different lines. On 6 Nov 2026 this branch sat under two merges in a row
   and auto-merged through both of them without a single conflict in here,
   while the same two merges conflicted in CONTEXT.md every time. That is the
   convention working, not luck.

   Why it is worth a rule rather than a preference: resolving a conflict in a
   stylesheet by keeping both sides drops a closing brace whenever the
   ======= marker falls inside a rule, because each side is then a fragment
   rather than a block. That happened in October, three braces went missing,
   and the broken file reached production. Typecheck does not read CSS, the
   build does not parse it, the page still loads, and the only symptom is that
   every rule after the break is swallowed by the unclosed one above it.

   AMENDED 18 Nov 2026, because the advice above is sound, was not enough, and
   the sentence that used to sit here -- "NOTHING CATCHES IT" -- is no longer
   true.

   The convention protects against CONFLICTS. It does not protect against a
   clean MIS-MERGE, which is what happened: two branches each appended, one
   side's final line was a lone `}`, and git's three-way merge treated the two
   copies of that line as one shared context line and emitted it once. Neither
   merge reported a conflict in this file. An append cannot conflict -- and two
   appends to one file tail can still lose a brace, which is worse, because
   nobody is asked to look at it.

   Two things changed as a result. `check:framing` now counts braces in every
   stylesheet under `public/`, names the line each unclosed block opened on,
   and fails if a `.css` file exists there that its list does not name. And
   this file now ends with a unique sentinel line, so two concurrent appends
   conflict loudly rather than quietly.

   So the rule stands -- new rules at the end -- but "it appended cleanly" is
   not evidence that it merged correctly. Only the assembled file is.

   So after any merge or conflict resolution in this file, two checks:

     grep -o '{' public/app.css | wc -l
     grep -o '}' public/app.css | wc -l

   They must MATCH EACH OTHER. That is the whole invariant. Do not check them
   against a remembered total: grep counts braces inside comments too, so this
   very block adds one of each by printing those two commands, and every rule
   anyone appends moves the number again. A total is stale the day it is
   written down; equality is not.

   And balanced is not the same as correct, because a brace that is balanced
   and in the wrong place passes that count and still eats the rules below it.
   The check that actually tests what you care about is to load a page and ask
   the browser what it built:

     const s = [...document.styleSheets].find(s => s.href.endsWith('app.css'));
     s.cssRules.length;
     s.cssRules[s.cssRules.length - 1].cssText;

   If the last rule in the file is there, and applies, nothing above it was
   swallowed, because an unclosed rule takes everything after it. One command,
   and it proves the whole stylesheet rather than its brace arithmetic.

   The two @import rules below must stay first. A comment may precede them,
   which is why this block is allowed to be here, but a style rule may not.
   =========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Mukta:wght@300;400;500;600;700&display=swap');
@import url('/a/758a8405ed9f/tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin: 0;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font: inherit; color: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.band { padding: 92px 0; }
.band--light { background: var(--toran-white); }
.band--ground { background: var(--toran-surface); }
.band--sand { background: var(--toran-sand); }
.band--dark { background: var(--toran-teal-deep); color: var(--toran-white); }
.band--plum { background: var(--toran-plum); color: var(--toran-white); }
/* The garland is the wordmark's other half, so it carries the same ink as the
   type beside it rather than a colour of its own. On the deep-teal chrome
   that is white; every light surface leaves `--mark` unset and gets the brand
   teal. Gold stayed on the mark here for a long time and the result was a
   two-colour lockup nobody had chosen: a gold object next to a white word.
   Gold is still the accent on these surfaces — the ticks, the state label,
   the Add time button — it is just not the logo. */
.band--dark, .band--plum, .side, .appbar, .foot, .cmp__us { --mark: var(--toran-white); }
.band--dark p, .band--plum p { color: var(--toran-sand); }
/* A light card inside a dark band inherits the band's white text, which puts
   white on white. Every light surface resets to ink. */
.band--dark .card, .band--plum .card,
.band--dark table.data, .band--plum table.data,
.band--dark .review, .band--plum .review,
.band--dark .preview__page, .band--plum .preview__page { color: var(--text); --mark: var(--brand); }
.band--dark .card p, .band--plum .card p { color: var(--text-muted); }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--toran-muted); margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.band--dark .eyebrow, .band--plum .eyebrow { color: var(--toran-gold); }

.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--toran-sand); color: var(--toran-amber-deep);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--brand); color: #fff;
}
.btn:hover { background: var(--brand-deep); }
/* Any class that sets `display` beats the user agent's `[hidden]`, which is
   how a "Use" button stayed on screen in a picker that had hidden it and how
   the image picker's drop zone sat above the photo it had just accepted.
   Both were a one-rule fix; this is the rule, stated once for the two
   classes in this file that script toggles with `hidden`. */
.btn[hidden], .ip__empty[hidden] { display: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { background: var(--text); color: #fff; }
.btn--gold { background: var(--toran-gold); color: var(--toran-teal-deep); }
.btn--gold:hover { background: var(--toran-gold-light); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.card {
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px;
}
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.muted { color: var(--text-subtle); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* ---- site header ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1180px; margin: 0 auto; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--text-muted); }
.nav__links a:hover { color: var(--text); }
/* .nav__links a outranks .btn on specificity, so the CTA has to win it back
   or it renders ink-soft on teal, about 1.2:1 and invisible. */
.nav__links a.btn { color: #fff; }
.nav__links a.btn:hover { color: #fff; }
/* ---- the lockup ----

   One lockup, built once. There used to be eight, each assembled by hand at
   its call site out of a `mark(N)` and a `<span>`, with N picked per site:
   24, 26, 28, 30, 32. They drifted, and two of them were plainly wrong — the
   sidebar's resolved to `display:block` because the rail's link rule (now
   `.side__nav a`, then `.side a`) outranks a bare
   `.brandmark`, so its `gap` never applied and the garland sat on the text
   baseline 4.5px high; the rest ran a visible gap of ~14px where the brand's
   own lockup uses 3.4px.

   So the wordmark's size is the only number, set on `.brandmark`, and the
   garland and the gap are derived from it in the proportions of
   brand/logo/toran-lockup.svg: garland 0.71 of the word's size, gap 0.18.
   Setting font-size on the span instead would break that, so don't. */
.brandmark {
  display: flex; align-items: center; gap: 0.18em; text-decoration: none;
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  letter-spacing: -0.025em;
}
.brandmark span { font-size: 1em; }
/* Optical, not geometric. "toran" is lowercase with no descenders, so its
   line box carries empty space under the baseline that the word never uses,
   and centring the two boxes leaves the garland reading high. A ninth of the
   word's size settles it — in em, so it holds at every size rather than only
   at the one it was eyeballed on. */
.brandmark svg { height: 0.71em; width: auto; transform: translateY(0.09em); }

/* ---- the Templates dropdown ----

   Opens on hover and on :focus-within, with no JavaScript, because the
   marketing pages load none and one menu is not worth a script on every page.
   The trigger is a real link, so a touch screen (where hover never fires) still
   gets to /templates on a tap. */
.navdrop { position: relative; }
.navdrop__btn { display: inline-flex; align-items: center; gap: 7px; }
.navdrop__caret {
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.navdrop__menu {
  position: absolute; z-index: 60; top: 100%; left: 50%; margin-top: 15px;
  transform: translateX(-50%); width: 580px; padding: 18px;
  background: var(--toran-white); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(12, 59, 54, .16);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .13s ease;
}
/* The 15px gap to the header is dead space the pointer has to cross, and
   crossing it would close the menu. This bridges it without moving anything. */
.navdrop__menu::before { content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.navdrop:hover .navdrop__menu,
.navdrop:focus-within .navdrop__menu { opacity: 1; visibility: visible; pointer-events: auto; }
.navdrop__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.navdrop__label {
  margin: 0 0 8px; padding: 0 10px;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-subtle);
}
.navdrop__col a { display: block; padding: 7px 10px; border-radius: 10px; text-decoration: none; }
.navdrop__col a:hover { background: var(--toran-surface); }
.navdrop__col strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.navdrop__col span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--text-subtle); }
.navdrop__all {
  display: block; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--brand); text-align: center;
}

/* ---- BURGER-MENU BLOCK (added 12 Nov 2026) ----

   The phone's navigation. Above 860px none of this renders: the control is
   `display: none` and the real links are in the header, so the desktop
   header is byte-for-byte what it was.

   The panel is positioned against `.nav`, not against the control, so it
   spans the full width of the header rather than hanging off a 44px button
   near the left edge. `.nav` is `position: sticky`, which is a positioned
   element, so it is already the containing block and nothing had to be
   added to it. */
.burger { display: none; position: static; }
.burger > summary {
  display: flex; align-items: center; justify-content: center;
  /* 44px, which is the floor for a touch target, and square so the icon is
     optically centred rather than centred in a letterbox. */
  width: 44px; height: 44px; margin-left: -10px;
  border-radius: 12px; cursor: pointer; color: var(--text-muted);
  list-style: none;
}
/* The disclosure triangle, in both spellings. Without the second one Safari
   draws it beside the icon. */
.burger > summary::-webkit-details-marker { display: none; }
.burger > summary::marker { content: none; }
/* And the gold "+" this stylesheet hangs off every `details summary` for the
   marketing FAQ, which is the same trap `.qrdl` is commented for and which
   this one walked straight into: it rendered as "= +" beside the wordmark.
   Three selectors, not one, because `details[open] summary::after` is a
   DESCENDANT selector at (0,1,2) and a `.burger > summary::after` child
   selector is (0,1,1), so the open state wins unless it is matched in kind. */
.burger > summary::after, .burger[open] > summary::after,
.burger[open] summary::after { content: none; }
.burger > summary:hover { background: var(--toran-surface); color: var(--text); }
.burger > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.burger[open] > summary { background: var(--toran-surface); color: var(--text); }

.burger__menu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--toran-white); border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(12, 59, 54, .13);
  /* The gutter is the header's own, plus whatever a notched phone needs in
     landscape -- the same max() the dashboard's main column uses. */
  padding: 10px max(20px, env(safe-area-inset-right))
           calc(12px + env(safe-area-inset-bottom))
           max(20px, env(safe-area-inset-left));
  /* Taller than the screen is possible in landscape, so it scrolls rather
     than running off the bottom with Contact unreachable.

     `100%` is the `.burger` control's own height, which is what sits above
     this panel *inside the header* -- but not what sits above the header.
     The sticky offer bar does too, and on a phone that is 56px, so the
     panel's own bottom was 56px below the fold and its last rows could not
     be reached by scrolling it: the scroll ran out before the overflow did.
     Nobody saw it while the panel was nine short rows. It became visible on
     17 Nov 2026, when Features became eight feature rows from
     `data/feature-sections.ts` and the panel grew past the screen.
     `--offerbar-h` is the bar's own variable and is `0px` when the offer
     has lapsed, so this corrects itself on 1 Mar 2027. */
  max-height: calc(100vh - var(--offerbar-h) - 100%); overflow-y: auto;
}
.burger__menu a {
  display: flex; align-items: center; min-height: 44px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text); font-size: 16px;
}
.burger__menu a:active { background: var(--toran-surface); }
.burger__menu a:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

/* Sign in. First row, its own treatment, and the only one with a second
   line -- see marketingNav() in views/layout.ts for why it is not just
   another link in the list. */
.burger__in {
  flex-direction: column; align-items: flex-start !important;
  gap: 2px; background: var(--toran-sand); min-height: 56px !important;
}
.burger__in strong { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--brand-deep); }
.burger__in span { font-size: 13px; color: var(--text-muted); }
.burger__rule { height: 1px; background: var(--border); margin: 10px 12px; }

/* ---- the panel's three tiers (18 Nov 2026) ----
   Pulkit at 412px: *"in mobile it's horrendous."* Sixteen rows of identical
   weight. The note in `marketingNav()` carries the reasoning; these are the
   rules that draw it.

   **Tier one, the 2x2 grid.** Four destinations in the width one row used.
   `.burger__menu a` is a 44px flex ROW, so each tile re-declares the
   direction rather than inheriting a label and a sub-line side by side. The
   sub-line is 11.5px and exists to tell Templates from Guides at a glance;
   it is not a sentence and must never wrap, hence the short strings. */
.burger__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
  margin: 10px 0 2px;
}
.burger__grid a {
  flex-direction: column; align-items: flex-start !important;
  justify-content: center; gap: 1px;
  min-height: 58px; padding: 10px 12px;
  background: var(--toran-surface); border: 1px solid var(--border);
}
.burger__grid a strong {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  color: var(--text); letter-spacing: -0.02em;
}
.burger__grid a span { font-size: 11.5px; color: var(--text-subtle); }

/* **Tier two, the disclosure.** Eight feature rows are what made the panel
   longer than the screen. Closed they are one row; open, the panel scrolls
   as it always could. The gold "+" this stylesheet hangs off every
   `details summary` is cancelled in kind -- see the note at
   `.burger > summary::after` for why the selector is this shape -- and a
   chevron that answers the state replaces it. */
.burger__sub > summary {
  display: flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 12px; margin-top: 6px;
  border-radius: 10px; cursor: pointer; list-style: none;
  font-size: 16px; color: var(--text);
}
.burger__sub > summary::-webkit-details-marker { display: none; }
.burger__sub > summary::marker { content: none; }
.burger__sub > summary::after, .burger__sub[open] > summary::after { content: none; }
.burger__sub > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.burger__sub[open] > summary { background: var(--toran-surface); }
/* The count, so the row says how much is behind it before it is opened. */
.burger__n {
  margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 999px;
  background: var(--toran-sand); color: var(--brand-deep);
  font-size: 11px; font-weight: 600; text-align: center;
}
.burger__sub > summary > span:first-child { position: relative; }
/* The chevron, drawn with a border rather than a glyph so it matches the
   weight of the burger's own three strokes. */
.burger__sub > summary > span:first-child::after {
  content: ''; position: absolute; top: 50%; right: -16px;
  width: 6px; height: 6px; margin-top: -4px;
  border-right: 1.7px solid var(--text-subtle);
  border-bottom: 1.7px solid var(--text-subtle);
  transform: rotate(45deg); transition: transform .14s ease;
}
.burger__sub[open] > summary > span:first-child::after {
  transform: rotate(-135deg); margin-top: -1px;
}
.burger__subin { padding: 2px 0 6px 10px; border-left: 1px solid var(--border); margin-left: 12px; }
.burger__subin a { min-height: 40px; padding: 8px 12px; font-size: 15px; color: var(--text-muted); }

/* **Tier three, the small print.** About, Help and Contact are not
   decisions and do not deserve a 44px row each. One wrapped line, with the
   hit area kept at 44px by the padding rather than by the text. */
.burger__more { display: flex; flex-wrap: wrap; gap: 0 4px; }
.burger__more a { min-height: 40px; padding: 8px 12px; font-size: 14px; color: var(--text-muted); }

@media (max-width: 860px) {
  .burger { display: block; }
  /* Three flex children now, and `justify-content: space-between` would
     centre the wordmark between the control and the CTA. An auto margin
     eats the free space first, so the control and the wordmark stay a pair
     on the left and Sign up stays hard right. */
  .brandmark { margin-right: auto; }
}
/* ---- end burger-menu block ---- */

/* ---- templates page ----------------------------------------------------
   Rebuilt 16 Nov 2026. The eleven occasion sections and their 33 swatch
   cards are gone -- see the note on the route in `routes/content.ts` -- and
   with them `.tsec`, `.tcard` and all five of its parts. What is left is the
   occasion rows at the bottom of the page and the grid the eight variant
   cards sit in; the cards themselves are `.samplecard`, the home page's. */

/* The six variant cards stay two across on a phone, where `.grid--3` would
   otherwise stack them. They are a comparison -- the same invitation with one
   thing changed -- and a column of six nearly-identical cards is a scroll
   rather than a comparison. It is also 1,500px of phone page: measured at
   375x812, one across put this band at 2,610px and two across at 1,100px.
   The three designs above keep the full width, because those are the product
   and are meant to be looked at rather than compared. */
.tvar { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .tvar.grid--3 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .tvar .samplecard__foot { padding: 12px 13px 14px; display: block; }
  .tvar .samplecard__foot strong { font-size: 14px; }
  .tvar .samplecard__foot em { font-size: 12px; line-height: 1.45; }
  .tvar .samplecard__go { font-size: 12px; display: inline-block; margin-top: 8px; }
  .tvar .samplecard__chrome em { font-size: 10px; }
}

/* The header is sticky, so an anchor landing flush with the top of the
   viewport lands underneath it. This is the header's height plus a little
   air. Still here because the nav dropdown's eleven items jump to these ids
   and every one of the eleven still has a row to land on. */
.occs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 36px; }
.occs--tight { grid-template-columns: repeat(4, 1fr); }
.occ { padding: 18px 0; border-top: 1px solid var(--border); scroll-margin-top: 78px; }
.occ__name { font-size: 20px; font-weight: 600; }
.occ__hint { margin: 6px 0 0; }
.occ__link { margin: 8px 0 0; }
@media (max-width: 1000px) { .occs--tight { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .occs, .occs--tight { grid-template-columns: 1fr; } }



/* ---- hero ----
   Scoped to `.hero--split`, which is the marketing page's hero and the only
   other `.hero` in this codebase, because the one that is NOT the marketing
   page is every couple's invitation.

   `doc()` links this stylesheet on every page in the product, tenant sites
   included, and `src/routes/tenant.ts` also calls its hero section `.hero`.
   `.hero p` is (0,1,1) and beats `.hero-eyebrow` (0,1,0) in tenant.css, so
   these four lines were rewriting four paragraphs on every live invitation:
   the eyebrow, the "Next Ceremony" label, the date and the venue all came
   out at 18px with a 620px cap and a 30px bottom margin, instead of
   12/11/28/13px with the margins the card was designed around. The date,
   which should be the second-largest line on the card, rendered the same
   size as the venue label, and the whole hero below the names collapsed
   into one flat band. `.hero h1` did the same to the names' margins.

   Checked rather than assumed: on a rendered invitation these two are the
   only app.css selectors that match anything and are not also declared in
   tenant.css, apart from the bare element resets tenant.css already
   overrides. So scoping them closes the leak completely. The marketing hero
   carries both classes (`src/views/marketing.ts:68`) and is unaffected. */
.hero--split { text-align: center; padding: 96px 0 100px; background: var(--toran-white); }
.hero--split h1 { font-size: clamp(40px, 6vw, 76px); margin: 18px 0 20px; }
.hero--split p { max-width: 620px; margin: 0 auto 30px; font-size: 18px; color: var(--text-muted); }
.hero--split .row { justify-content: center; }

/* ---- the live demo ---- */
.demo { display: grid; grid-template-columns: 470px 1fr; gap: 56px; align-items: center; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-subtle);
}
.field input, .field select, .field textarea {
  padding: 14px 16px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--toran-surface); font-size: 16px; font-weight: 400; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border: 2px solid var(--brand); padding: 13px 15px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--toran-surface); font-size: 14px; cursor: pointer; user-select: none;
}
.chip[aria-pressed="true"], .chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }

.preview { border-radius: 22px; overflow: hidden; background: var(--toran-teal-deep); }
.preview__bar { display: flex; align-items: center; gap: 8px; padding: 13px 18px; }
.preview__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--toran-gold); }
.preview__url { margin-left: 10px; font-size: 12px; color: var(--toran-sand); }
.preview__page {
  background: #fff; padding: 52px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.preview__names { font-family: var(--font-display); font-weight: 600; font-size: 56px; letter-spacing: -0.025em; color: var(--text); }
.preview__meta { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.preview__foot { padding: 12px; text-align: center; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--toran-gold-pale); }

/* ---- 01 has to end before the fold ----
   Pulkit, 12 Nov 2026: at 1440x900 section 01 ran 1,645px, so the preview
   card and the "try it with your names" form -- the proof and the ask -- were
   both under the fold. Most of that came out of the copy, which is where it
   should come from. These three rules are the rest of it.

   The band keeps its own padding rather than the global 92px: air you scroll
   past is cheap and air on the one band that must end at 900px is not. The
   phone override at 860px below still wins, by source order, so a small
   screen keeps the 52px every other band gets there. */
.band--fold { padding: 48px 0 52px; }
/* Three children, not two, so the phone can put the card between the
   heading and the bullets -- which is what "one fold" means on a 375px
   screen, where nothing fits beside anything. On a laptop the heading and
   the body stack in the first column and the card spans both rows, which
   is the two-column layout it has always had.

   The columns are 1fr 460px rather than the global 470px 1fr: a 46px
   heading in a 470px column wrapped to four lines and cost 179px by
   itself. Prose wide, card fixed, which is also section 02's shape. */
.demo--fold { grid-template-columns: 1fr 460px; }
.demo--fold .demo__head { grid-column: 1; grid-row: 1; margin-bottom: 14px; }
.demo--fold .demo__body { grid-column: 1; grid-row: 2; }
.demo--fold .preview { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 860px) {
  .demo--fold, .demo--fold .demo__head,
  .demo--fold .demo__body, .demo--fold .preview { grid-column: 1; }
  .demo--fold .demo__head { grid-row: 1; }
  .demo--fold .preview { grid-row: 2; }
  .demo--fold .demo__body { grid-row: 3; }
}
/* The bullets are five one-line claims now, not five paragraphs, so 12px of
   leading between them reads as a list rather than as prose. */
.plan--tight { gap: 10px; }
/* M5: the chip row above was 6px off this button, which made a filled
   "Make this mine" read as a fourth, larger template chip, and put the
   "about ten minutes" note close enough to look like part of the control.
   A control and the action that commits it get a gap that no pixel budget
   is allowed to take back. */
.demo__go { margin-top: 20px; gap: 20px; align-items: center; }

/* ---- 05: three roles against what each can do ----
   A permissions model is a comparison, so it is drawn as one. Narrower than
   the big .cmp table and with no column of its own to sell, because the
   thing being compared here is three roles the reader already owns rather
   than us against somebody else. */
.rolegrid { width: 100%; border-collapse: collapse; }
.rolegrid th, .rolegrid td { padding: 11px 14px; text-align: center; vertical-align: middle; }
.rolegrid thead th {
  font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--text-subtle); border-bottom: 1px solid var(--border);
}
.rolegrid tbody th {
  text-align: left; font-weight: 400; font-size: 15px; color: var(--text-muted);
  padding-left: 22px;
}
.rolegrid tbody tr + tr th, .rolegrid tbody tr + tr td { border-top: 1px solid var(--border); }
.rolegrid tbody td:last-child { padding-right: 22px; }

/* ---- 05 on a phone: one block per role, not six rows across ----
   A visitor here is choosing which role to give their planner, so they read
   down one role rather than across six capabilities -- which is also the
   shape that fits 320px without anything leaving the screen. Hidden on a
   laptop, where the table says it better in a quarter of the height.

   Yes and no are the same drawn marks the table uses (`cell()`, which
   carries its own `aria-label`), and the no rows are also dimmed and
   struck-through in weight rather than in hue: the state must never be
   carried by colour alone. */
.rolecards { display: none; gap: 18px; padding: 4px 20px 18px; }
.rolecard__h {
  margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-subtle);
  border-bottom: 1px solid var(--border); padding-bottom: 7px;
}
.rolecard__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rolecard__li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; line-height: 1.45; color: var(--text-muted);
}
/* `flex-shrink: 0` so a long capability wrapping to three lines cannot
   squeeze the mark into an ellipse, which is what happens to an inline SVG
   in a flex row at 320px. */
.rolecard__li .ci { flex: 0 0 auto; margin-top: 1px; }
.rolecard__li.is-no { color: var(--text-subtle); }
.rolecard__li.is-no span { text-decoration: line-through; text-decoration-thickness: 1px; }

/* ---- "also in the price": the film and the printed card ----
   This was two pictures side by side with their words under them, one idea
   made of two demonstrations. **It is two numbered bands as of 17 Nov 2026**
   -- `#video-invite` and `#pdf-invite`, each in band 01's treatment -- so
   the grid and the per-tile type that laid the pair out are deleted rather
   than left behind: see the [PLAIN] block at the end of this file and the
   note in views/marketing.ts. `.pair` itself stays because `#included`
   still carries the class, and the two demos below are still the two demos.
   */
.pair { padding: 44px 0; }

/* The film. 9:16, because that is what the product renders and a letterboxed
   phone film in a 16:9 box would be a picture of the wrong product. Capped by
   height rather than width: at 1440 the column is wide enough that a full
   9:16 would be 700px tall on its own and push the band off the screen. */
.filmdemo__stage {
  position: relative; margin: 0 auto;
  width: min(100%, 158px); aspect-ratio: 1080 / 1920;
  max-height: 280px;
  border-radius: 16px; overflow: hidden;
  background: var(--toran-teal-deep);
  border: 1px solid var(--border);
}
.filmdemo__canvas { display: block; width: 100%; height: 100%; }
/* The poster is the stage's own background plus three lines, so there is no
   second request and nothing for the largest paint to wait on. It goes when
   the film starts and comes back when it ends. */
.filmdemo__poster {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; text-align: center; color: var(--toran-white);
}
.filmdemo[data-state="playing"] .filmdemo__poster { display: none; }
.filmdemo__badge {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--toran-gold);
}
.filmdemo__name { font-family: var(--font-display); font-size: 25px; }
.filmdemo__sub { font-size: 12.5px; opacity: .78; max-width: 22ch; line-height: 1.45; }

/* The card. A5 is 1:1.414, and the frame is the browser's own PDF viewer
   showing the file itself rather than a drawing of it. */
.pdfdemo { margin: 0 auto; width: min(100%, 198px); }
.pdfdemo__frame {
  display: block; width: 100%; aspect-ratio: 1 / 1.414; max-height: 280px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--toran-white);
}

@media (max-width: 860px) {
  /* Stacked, not a sideways track. The roles band on 16 Nov is the whole
     argument against putting content a reader must see behind a horizontal
     scroll, and these two are 236px and 300px wide -- they fit a phone
     column on their own. */
  .filmdemo__stage { max-height: 300px; }
  .pdfdemo__frame { max-height: 300px; }
}

/* ---- a drawn mark on the occasion chips ----
   See src/data/occasion-icons.ts for why these are hand-written paths, and
   for the two occasions that have no mark at all. The chip has to lay out
   the same either way, so the gap belongs to the icon rather than to the
   chip: a chip with no icon is a chip with no gap. */
.chip--occ { display: inline-flex; align-items: center; }
.chip__ic { flex: 0 0 auto; margin-right: 7px; margin-left: -2px; color: var(--brand); }
.chip--occ:hover .chip__ic { color: inherit; }

/* ---- 03: the address and the code, drawn rather than described ----
   The address used to be a line of prose inside a card. It is the one thing
   a couple picks for themselves, so it gets the browser bar it lives in.

   ## Why this is `.addrbar` and not `.addr` (12 Nov 2026)

   It was `.addr` for one day, and that day it broke the dashboard header.

   The dashboard has had `<span class="addr">` since `a2e849d`, the original
   overview build: a bare inline address inside `.sub-line`, with no box and
   no children. This block arrived on 12 Nov 2026 in `56445b2` under the same
   name, and being unscoped it landed on that span too — which gave the
   couple's live web address a grey fill, a 1px border, a 12px radius and
   `margin-top: 22px`, so it read as an empty text input, and the 22px pushed
   `.sub-line`'s flex line to 77.6px tall. `.sub-line` aligns `normal`, i.e.
   stretch, so the Copy control and the `·` separator stretched with it: the
   copy pill measured **62.3 x 79.6** at 1440 and read as a floating disc.

   Two different components cannot share one name. This one is the newcomer
   and it is the one with children already namespaced (`__dot`, `__url`), so
   it is the one that moved. The dashboard keeps the name it has had all
   along, and the rules that are genuinely about it stay scoped under
   `.sub-line` further down this file. */
.addrbar {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 14px 18px; border-radius: 12px;
  background: var(--toran-surface); border: 1px solid var(--border);
}
.addrbar__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--toran-gold); flex: 0 0 auto; }
/* ## One line, always (17 Nov 2026)
 *
 * Pulkit: the chip must fit on one line. It did not. The address shown is
 * `toran.ink/sample/aarti-and-rohan` -- 32 characters -- set at 25px in the
 * display face inside a column that is a third of an 1180px wrap, so about
 * 353px. It needed roughly 420px and `overflow-wrap: anywhere` broke it
 * mid-word onto a second line, which is the worst way for a web address to
 * fail: a reader cannot tell whether the break is part of the address.
 *
 * So `nowrap`, and the size comes from the viewport instead of a fixed 25px.
 * The column is a fixed fraction of the wrap, so a `vw`-based size tracks it
 * without a container query: 1.75vw is 22.4px at 1280 and 20.6px at 1180,
 * where the string measures inside the column, and it is clamped at both
 * ends so it neither disappears on a phone nor outgrows the chip on a
 * 27-inch monitor. `min-width: 0` is what actually lets a nowrap child
 * shrink inside a flex row; without it the chip itself overflows the card.
 *
 * Measured rather than reasoned: see the note in CONTEXT.md for the widths
 * this was checked at. */
.addrbar__url {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(14px, 1.75vw, 22px);
  letter-spacing: -0.02em; color: var(--text-subtle);
  white-space: nowrap; min-width: 0;
  overflow: hidden; text-overflow: ellipsis;
}
.addrbar__url strong { color: var(--brand); font-weight: 600; }

/* The QR is a real code for a real address, so it is given the white quiet
   zone a scanner needs rather than being tinted to match the band. */
.qrcard { display: flex; flex-direction: column; align-items: center; }
.qrcard__code {
  width: 240px; max-width: 100%; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 12px;
}
.qrcard__code svg { display: block; width: 100%; height: auto; }

/* A table that is wider than the phone scrolls sideways inside its card,
   rather than being clipped by the card's overflow:hidden. */
.tblscroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* The example replies table: the count on an invitation is a number and
   belongs under a right-aligned column, like every other head count in the
   product. */
.repl__n { text-align: right; }

.counts { display: flex; gap: 30px; }
.counts div { text-align: center; }
.counts b { display: block; font-family: var(--font-display); font-size: 34px; color: var(--brand); font-weight: 600; }
.counts span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); }

/* ---- dashboard showcase ---- */
.showcase { display: grid; grid-template-columns: 430px 1fr; gap: 60px; align-items: start; }
.step { display: flex; gap: 18px; padding: 24px; border-radius: 14px; border-left: 3px solid transparent; opacity: .55; }
.step.is-on { background: var(--brand); opacity: 1; border-left-color: var(--toran-gold); }
.step b { font-size: 12px; letter-spacing: 0.14em; color: var(--toran-sand); }
.step.is-on b { color: var(--toran-gold); }
.step h3 { font-size: 25px; font-weight: 600; color: #fff; }
.step p { margin: 6px 0 0; font-size: 16px; }

/* ---- reviews ---- */
/* The home page band, built to hold ten to fifteen and still look right
   holding one. See src/views/reviews.ts.

   Three or fewer: centred and wrapping. It used to be `column-count: 3`,
   which fills left to right, so a single quote sat in the left third of a
   full-width plum band with two thirds of empty colour beside it, reading as
   a section that had failed to load. The first real testimonial will arrive
   on its own, so that was the case this had to handle best and handled worst.

   Four or more: `.reviews--rail` turns the same cards into a native
   scroll-snap row. Fifteen cards wrapped would be three screens of plum with
   the price pushed below all of it; a rail shows three at a time, keeps the
   band one screen tall, and needs no JavaScript to scroll. */
.reviews { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.reviews--rail {
  flex-wrap: nowrap; justify-content: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  /* The half-visible next card is the affordance; a scrollbar track across a
     plum band is furniture. Nothing is reachable only by dragging it: the
     container is focusable, so the arrow keys scroll it. */
  scrollbar-width: none; overscroll-behavior-x: contain;
  padding-bottom: 4px;
}
.reviews--rail::-webkit-scrollbar { display: none; }
.reviews--rail > .review { flex: 0 0 340px; max-width: 340px; scroll-snap-align: start; }
.reviews--rail:focus-visible { outline: 2px solid var(--toran-gold); outline-offset: 6px; border-radius: 22px; }
.reviews__hint { margin: 14px 0 0; font-size: 13px; color: var(--toran-sand); opacity: .6; }
.review {
  flex: 1 1 300px; max-width: 380px;
  background: #fff; border-radius: 22px; padding: 28px;
  color: var(--text); margin: 0;
  display: flex; flex-direction: column;
}
.review blockquote { margin: 0 0 18px; font-family: var(--font-display); font-size: 21px; line-height: 1.3; letter-spacing: -0.025em; }
/* The attribution sits at the foot whatever the quote's length, so a row of
   cards has its names on one line instead of stepping up and down. */
.review__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review__by strong { display: block; font-size: 14px; font-weight: 600; }
.review__by span span { display: block; font-size: 12.5px; color: var(--text-subtle); }
.avatar {
  width: 44px; height: 44px; border-radius: 999px; background: var(--toran-sand);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 600; font-size: 17px; color: var(--toran-teal-deep); flex-shrink: 0;
}
.stars { display: flex; gap: 3px; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plans--two { grid-template-columns: 1.3fr 1fr; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: 38px; border-radius: 22px; background: var(--toran-surface); border: 1px solid var(--border); }
.plan--featured { background: var(--toran-teal-deep); border-color: var(--toran-gold); color: #fff; }
.plan--featured li, .plan--featured .muted { color: var(--toran-sand); }
.plan--note { background: var(--toran-sand); border-color: transparent; }
.plan .price { font-family: var(--font-display); font-weight: 600; font-size: 52px; letter-spacing: -0.025em; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; }
.plan .btn { margin-top: auto; }
.tick { flex-shrink: 0; margin-top: 3px; }

/* ---- footer ---- */
.foot { background: var(--toran-teal-deep); color: #fff; padding: 68px 0 46px; }
.foot a { color: var(--toran-sand); text-decoration: none; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--toran-gold); font-family: var(--font-body); }
/* Four columns now, not three: 76px between them overflowed a 1240px
   wrap once Pricing moved into a decision-stage group of its own. */
.foot__cols { display: flex; gap: 54px; flex-wrap: wrap; }
/* The policy links: present, because a payment gateway checks that they
   are, and quiet, because nobody arrives looking for them. */
.foot__legal {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px;
}
.foot__legal a { font-size: 13px; color: var(--toran-sand); opacity: .72; }
.foot__legal a:hover { opacity: 1; }
.foot__col { display: flex; flex-direction: column; gap: 13px; }
.rule { height: 1px; background: var(--brand); margin: 40px 0 24px; }

/* ===========================================================================
   MARKETING, 17 Nov 2026: a band head that uses the width, a free badge,
   and the /pricing page.

   Appended at the end of the marketing region rather than threaded into the
   blocks above, which are a measured set with their own notes beside them.
   =========================================================================== */

/* ---- .bandhead: a heading and its lede, side by side ----
 *
 * This is the fix for the thing Pulkit photographed twice on /templates:
 * *"all of them stop at the halfway mark of the page ... there is a lot of
 * wasted white space on the right-hand side. The text should use the space
 * rather than cutting off."*
 *
 * ## What was actually wrong, and what the fix is not
 *
 * `.wrap` is 1180px. Almost every heading and paragraph on /templates and
 * several on the home page carried a hardcoded inline `max-width` between
 * 640px and 900px, so a sentence wrapped three times inside the left half of
 * an 1180px band and the right half was empty. That is what he saw.
 *
 * **The fix is not full-bleed prose.** A paragraph set across the whole
 * 1180px is 150-odd characters a line, which is unreadable, and swapping one
 * bad extreme for the other would come straight back as more feedback. The
 * measure exists for a reason; what was wrong is that it was *fixed* and
 * ignored the container, leaving the band half empty.
 *
 * So the heading and the lede become two columns of one row. The band is
 * filled edge to edge, and each column's own line length stays around 55 to
 * 65 characters, which is the measure a reader wants. Nothing is capped in
 * pixels: the columns are fractions of whatever width they are given, so
 * this is right at 1180 and right at 900 without a second number.
 *
 * It stacks below 900px, where two columns of 300px would be worse than one
 * of 620px, and the heading keeps its own measure there via the `ch` unit —
 * relative to the type, not to a guess about the screen.
 */
.bandhead {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px 48px; align-items: start; margin: 0 0 30px;
}
.bandhead__h {
  font-size: clamp(30px, 3.1vw, 42px); line-height: 1.12;
  margin: 0; letter-spacing: -0.02em;
}
/* The lede sits on the heading's baseline block rather than at the top of
   its column: a 42px heading and a 17px paragraph aligned at their tops read
   as two unrelated things in two boxes. 6px is the optical match. */
.bandhead__lede { margin: 6px 0 0; color: var(--text-subtle); font-size: 17px; }
.bandhead__lede p { color: inherit; }
@media (max-width: 900px) {
  .bandhead { grid-template-columns: 1fr; gap: 12px; }
  /* 34ch, not a pixel figure. One column on a phone is already the measure;
     on a 900px tablet it stops the heading running the full width. */
  .bandhead__h { max-width: 34ch; }
}

/* ---- .freetag: the badge that says a thing costs nothing ----
 * The band it was built for had demonstrated a film and a printed card
 * beautifully and never once used the word "free". Gold on deep teal,
 * because it is the one label on the page that is making a claim about
 * money and it should read as a stamp rather than as a caption. */
.freetag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  margin: 14px 0 0; padding: 4px 11px; border-radius: 999px;
  background: var(--toran-teal-deep); color: var(--toran-gold);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
/* Inside a heading rather than above the media, which is where it was until
   17 Nov 2026 and where it read as a caption, after attention had moved on.
   `align-self` and the top margin above are for the block form it no longer
   has; both are overridden where it sits in an `h2`. */
.vshow__h .freetag {
  margin: 0 0 0 10px; vertical-align: 4px;
  font-size: 12px; letter-spacing: .1em;
}

/* ---- /pricing ----
 * Its own page since 17 Nov 2026; `toran.ink/pricing` was a 404. The bands
 * reuse `.bandhead`, `.card` and `.grid--3`, so this is the page's own
 * furniture and nothing more. */
.pricehero { padding: 54px 0 48px; }
/* The figure and the sentence that qualifies it, side by side. `1.05fr 1fr`
   rather than `1fr 1fr`: the price column holds one very wide glyph run and
   the prose column holds prose, so an even split wraps "₹2,999 ₹1,999" while
   leaving the right column short. */
.pricehero__in {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px 52px;
  align-items: center;
}
.pricehero__fig, .pricehero__say { min-width: 0; }
@media (max-width: 900px) {
  .pricehero__in { grid-template-columns: 1fr; gap: 18px; align-items: start; }
}
.pricehero__h {
  font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em;
  margin: 12px 0 14px;
}
/* "for 24 months" is part of the price and not a subtitle, so it sits on the
   same line block at a size that reads as the unit on a price tag. */
.pricehero__for {
  display: block; font-size: clamp(17px, 1.7vw, 22px); font-weight: 500;
  letter-spacing: 0; color: var(--text-subtle); margin-top: 4px;
}
.pricehero__lede { max-width: 62ch; font-size: 18px; color: var(--text-subtle); margin: 0; }
.pricehero__act { margin-top: 26px; }
.pricehero__note { margin: 14px 0 0; }

/* The three included products. `align-content: start` so a short card does
   not stretch its badge away from its heading. */
.incl__one { display: flex; flex-direction: column; gap: 8px; }
.incl__tag {
  align-self: flex-start; padding: 4px 11px; border-radius: 999px;
  background: var(--toran-teal-deep); color: var(--toran-gold);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.incl__n { font-size: 23px; font-weight: 600; margin: 4px 0 0; color: var(--brand); }
.incl__c { margin: 0; }
.incl__after { margin: 22px 0 0; }

/* Free, free, and the one paid thing. The paid column is the teal one: it is
   the answer to the question the band asks, and a reader scanning three
   identical cards has to read all three to find it. */
.fp__one { display: flex; flex-direction: column; gap: 10px; }
.fp__h { font-size: 20px; font-weight: 600; margin: 0; color: var(--brand); }
.fp__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fp__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--text-subtle); }
.fp__list li svg { flex: 0 0 auto; margin-top: 3px; }
.fp__one--paid { background: var(--toran-teal-deep); border-color: var(--toran-gold); color: #fff; }
.fp__one--paid .fp__h { color: var(--toran-gold); }
.fp__one--paid .fp__p { color: var(--toran-sand); }
.fp__one--paid strong { color: #fff; }
.fp__one--paid .was, .fp__one--paid .was::after { color: var(--toran-sand); }
.fp__p { margin: 0; }
.fp__one--paid .btn { align-self: flex-start; margin-top: 4px; }

/* The questions a price raises. Not a `<details>`: a disclosure widget hides
   the answers from a crawler that does not run scripts, and from a reader in
   a hurry, which is every reader a pricing page gets. */
.prq__one { display: flex; flex-direction: column; gap: 5px; }
.prq__q { font-size: 18px; font-weight: 600; margin: 0; }
.prq__a, .prq__l { margin: 0; }
.pricefoot__act { margin-top: 24px; }
/* `.bandhead__lede` sets its colour, so on a dark band it would be ink on
   deep teal. Same correction `.band--dark p` already makes for prose. */
.band--dark .bandhead__lede, .band--plum .bandhead__lede { color: var(--toran-sand); }

/* Three across is right for the two ×3 grids above; two of the three bands
   on this page are prose-weight, so they go to one column earlier than the
   home page's picture grids do. */
@media (max-width: 1000px) {
  .incl.grid--3, .fp.grid--3, .prq.grid--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .incl.grid--3, .fp.grid--3, .prq.grid--3 { grid-template-columns: 1fr; }
  .pricehero { padding: 32px 0 30px; }
}

/* ---- app shell ---- */
/* ---- the dashboard fills the viewport, and only ever scrolls inside ----
 *
 * An application's navigation does not scroll away. The sidebar used to go
 * up with the page, so halfway down the Design editor the only thing left of
 * the nav was the billing box, and getting to Guests meant scrolling back to
 * the top first.
 *
 * The fix is one locked column on <body>, not a sticky sidebar. Sticky fixes
 * the sidebar and leaves the page scrolling underneath it, which means the
 * two panes of the editor still scroll as one long document and the phone
 * still scrolls the app bar off. A flex column that is exactly the viewport
 * tall, with the panes as the only scroll containers, fixes both at once and
 * is the same rule on a phone and a laptop.
 *
 * `min-height: 0` on the scrollers is the part that is easy to leave out: a
 * flex item's automatic minimum size is its content, so without it the shell
 * grows past the viewport and the body scrollbar comes straight back.
 *
 * `dvh` after `vh` so a phone whose address bar is showing gets the real
 * height rather than 100vh of which the bottom is behind the browser chrome;
 * a browser that does not know `dvh` keeps the `vh` line above it.
 *
 * Only `.is-app`, set by `shell()`. The marketing site and a couple's own
 * wedding site are documents and must keep scrolling like documents.
 */
.is-app { height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }
.is-app .appbar { flex: none; }
.is-app .shell { flex: 1 1 auto; min-height: 0; }
.is-app .renew { flex: none; }
/* The rail itself does not scroll; its links do, and its foot stays put.
   That is what lets the account menu open upward from the foot without
   either being clipped or pushing itself off the bottom of the screen -- see
   the note on `.acct` further down. */
.is-app .side { min-height: 0; overflow: hidden; }
.is-app .side__nav,
.is-app .main { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }

.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { background: var(--toran-teal-deep); color: #fff; padding: 28px 18px; display: flex; flex-direction: column; }
/* `.side__nav a` sets display:block and font-size:16px and outranks a bare
   `.brandmark`, which is why the sidebar lockup was laid out as inline text
   rather than as a flex row. Both are taken back here. The link rule is
   scoped to the nav rather than to `.side`, because the account menu in the
   foot is full of anchors that want nothing to do with it. */
.side .brandmark { display: flex; font-size: 21px; padding: 0 10px; color: #fff; }
/* The lockup and the collapse control, one row. The 22px that used to hang
   off `.side .brandmark` lives here now, so the control sits on the lockup's
   baseline row rather than 22px above the links on its own. */
.side__top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; flex: none; padding-bottom: 22px;
}
.railtog { display: flex; margin: 0; }
.railtog button {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; padding: 0; cursor: pointer;
  border-radius: 9px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07); color: var(--toran-sand);
}
.railtog button:hover { background: rgba(255,255,255,.14); color: #fff; }
.railtog button:focus-visible { outline: 2px solid var(--toran-gold); outline-offset: 2px; }
.side__nav { display: flex; flex-direction: column; gap: 6px; flex: 0 1 auto; }
/* Flex, not block, since 12 Nov 2026: every row is an icon and a label now.
   `position: relative` is for the collapsed state, where the label becomes a
   1px off-screen box and should be anchored to its own row rather than to
   whatever happens to be positioned up the tree. */
.side__nav a {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 8px; text-decoration: none;
  color: var(--toran-sand); font-size: 16px;
}
/* 20px, the bottom bar's size, so the two surfaces draw one icon set. `flex:
   none` because a label that wraps must not squeeze the glyph. */
.side__nav a > svg { width: 20px; height: 20px; flex: none; }
.side__nav a > span { min-width: 0; }
.side__nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.side__nav a.is-on { background: var(--brand); color: #fff; }
/* The foot is pinned to the bottom of the rail and never scrolls, so the
   menu it opens is always on screen. */
.side__foot { margin-top: auto; flex: none; padding-top: 16px; }
/* The padding is published as custom properties because the editor's sticky
   head has to know it: it pulls itself out to the scrollport's real edges so
   nothing scrolls past above it. See [HDR-4]. Change the numbers here and the
   head follows; there are no copies of them. */
.main {
  --main-pad-top: 44px; --main-pad-x: 48px;
  padding: var(--main-pad-top) var(--main-pad-x);
  background: var(--toran-surface);
}

/* ---- the phone's chrome, from A2m ----
   Both are display:none until 860px, so the desktop shell is untouched: the
   sidebar is still the only navigation above that width and neither of these
   contributes a box. Everything that makes them appear lives in the one
   media block below. */
.appbar, .tabbar { display: none; }

.appbar {
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 20px; background: var(--toran-teal-deep); color: #fff;
  position: sticky; top: 0; z-index: 30;
}
/* The phone bar runs the lockup one step down. One number, and the garland
   and the gap follow it. */
.appbar .brandmark { color: #fff; font-size: 19px; }
/* Which wedding, as plain text. The switcher said this until 6 Nov 2026 and
   has moved into the More sheet; on a phone, with no rail, something still
   has to name the thing being edited. Deliberately not a control: every
   place a tap could go is already a tab. */
.appbar__where {
  flex: 0 1 auto; min-width: 0; font-size: 13px; color: var(--toran-sand);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* The bar itself. `env(safe-area-inset-bottom)` is why `shell()` asks doc()
   for viewport-fit=cover: without cover the inset resolves to 0 and the bar
   would sit under the home indicator on an iPhone. The side insets matter in
   landscape on a notched phone, where 0 would put the end tabs under the
   rounded corner. */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  align-items: stretch; justify-content: center; gap: 2px;
  background: var(--bg-raised); border-top: 1px solid var(--border);
  padding: 6px max(10px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
}
/* `flex: 1 1 0` up to a cap: on a phone the five tabs divide the width
   (69px each at 375px), and on a tablet they stop at 140px and cluster in
   the middle instead of stretching to a fifth of 860px each. */
.tab, .tabmore { max-width: 140px; }
.tab {
  flex: 1 1 0; min-width: 0; min-height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 5px 2px; border-radius: 10px; text-decoration: none;
  color: var(--text-subtle); font-size: 11px; font-weight: 500; line-height: 13px;
}
.tab svg { width: 22px; height: 22px; flex-shrink: 0; }
.tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab.is-on, .tabmore.is-on > .tab, .tabmore[open] > .tab { color: var(--brand); font-weight: 600; }
.tab:active { background: var(--toran-surface); }

/* More is a <details>, not a script. It gives the open/close toggle, the
   keyboard handling and the aria wiring for free, and these pages load three
   scripts for real work — a menu is not worth a fourth. Tapping More again
   closes it, which on a phone is the thumb staying where it already is. */
.tabmore { flex: 1 1 0; min-width: 0; position: relative; }
.tabmore > .tab { list-style: none; cursor: pointer; }
.tabmore > .tab::-webkit-details-marker { display: none; }
.tabmore > .tab::marker { content: ""; }
/* The FAQ accordion hangs a gold "+" off every `details summary` on the
   marketing pages. This one is a tab, not an accordion row. */
.tabmore > .tab::after, .tabmore[open] > .tab::after { content: none; }
.moresheet {
  position: absolute; bottom: calc(100% + 8px); right: 0;
  width: min(264px, calc(100vw - 28px));
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px;
  box-shadow: 0 18px 44px rgba(12, 59, 54, .22);
}
/* ---- [HDR-6] the Event slot, the centre of the phone bar ----------------
   (12 Nov 2026.) Pulkit redesigned the bar for the phone and only the phone:
   Home, Guest list, **Event**, Budget, More, with the centre opening a sheet
   carrying the website, the PDF and the film.

   ## The treatment: a chip, not a raised circle

   The common idiom for a centre slot is a big circular button lifted out of
   the bar. It was tried and it is wrong here. This product's register is
   quiet -- the whole bar is 11px labels and 1.7px line icons on white -- and
   a floating disc in the middle of it reads as a different product's button
   that someone pasted in. It also breaks the one thing the bar does well:
   five slots that are obviously the same kind of thing.

   So Event stays a slot the same size as the other four, and earns its place
   with a tint behind the icon only: the glyph sits on `--brand-tint` in the
   brand colour while the others are grey line icons on nothing. Open or on
   one of its three pages, the chip fills with the brand and the glyph turns
   white. The label is the same 11px as the rest and never changes weight at
   rest, which is what keeps it from shouting.

   Nothing moves when it opens, and nothing is taller than the bar, so the
   bar's own height and safe-area padding are untouched. */
.tabevent { flex: 1 1 0; min-width: 0; position: relative; }
.tabevent > .tab { list-style: none; cursor: pointer; }
.tabevent > .tab::-webkit-details-marker { display: none; }
.tabevent > .tab::marker { content: ""; }
/* The marketing FAQ's gold "+" hangs off every `details summary` in this
   stylesheet. This is a tab, like `.tabmore` above. */
.tabevent > .tab::after, .tabevent[open] > .tab::after { content: none; }
/* The chip. `flex: none` so it keeps its shape in a column that is also
   holding an 11px label, and the icon is centred in it rather than sized by
   it. */
.tabevent > .tab > svg {
  box-sizing: content-box;
  padding: 3px 8px; border-radius: 999px;
  background: var(--brand-tint); color: var(--brand);
}
.tabevent[open] > .tab > svg,
.tabevent.is-on > .tab > svg { background: var(--brand); color: var(--toran-white); }
/* The label follows the chip only once this is where you are, so the resting
   state is one quiet accent and not two. */
.tabevent.is-on > .tab, .tabevent[open] > .tab { color: var(--brand); font-weight: 600; }

/* ---- the sheet itself ----
   From the bottom, small, three rows and nothing else. Centred on the slot
   rather than pinned to an edge, because this slot is in the middle of the
   bar and a sheet hanging off one side of it points at the wrong thing;
   `translateX(-50%)` with `left: 50%`, then clamped by `max-width` so it
   cannot reach past the viewport at 320.

   `margin-inline: auto` plus the `max-width` is what keeps it inside the
   screen; there is no safe-area term here because the bar below it already
   carries `env(safe-area-inset-bottom)` and this sits on top of the bar, not
   on the screen edge. */
.eventsheet {
  position: absolute; bottom: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  width: max-content; max-width: min(260px, calc(100vw - 28px));
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 14px; padding: 8px;
  box-shadow: 0 18px 44px rgba(12, 59, 54, .22);
}
/* Rows carry the rail's icons, so the sheet and the rail agree about what
   these three things look like as well as what they are called. `.acct__menu`
   gives the 44px row, the hover and the radius; this only has to place the
   icon and stop the label wrapping. */
.eventsheet a { display: flex; align-items: center; gap: 10px; }
.eventsheet a > svg { width: 20px; height: 20px; flex: none; }
.eventsheet a > span { min-width: 0; white-space: nowrap; }
.eventsheet a.is-on { color: var(--brand); font-weight: 600; }

/* Rows, the account block and the old billing box all used to be described
   here. The rows are `.acct__menu` now, shared with the rail's menu so the
   two surfaces cannot offer a role different things, and the billing box is
   gone -- see `.renew`. */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-head h1 { font-size: 38px; font-weight: 600; }
/* The editor's head, pinned, because Save lives in it. `--bg` is `.main`'s
   own background, so content scrolling underneath is covered rather than
   showing through. Below the sticky head is the tab strip, which is
   navigation and is allowed to scroll away. */
.page-head--sticky {
  position: sticky; top: 0; z-index: 30;
  padding: 14px 0 12px; background: var(--bg);
}

/* ---- [HDR-4] nothing scrolls past above the pinned head ------------------
   (12 Nov 2026.) Pulkit, scrolling the editor: *"this panel is visible from
   far, like it's overflowing. I don't know what to call this but it looks
   weird."*

   The head was opaque and above the panel in the stacking order -- both of
   the usual suspects were already right, and measured so: background
   `rgb(244,247,246)`, `z-index: 30`, and a hit-test across its whole band
   found nothing of the panel showing through at any scroll offset.

   **The gap was above it, not behind it.** `.main` is the scroll container
   and carries `padding-top`, and that padding scrolls away with the content.
   `top: 0` pins the head to the scrollport's content edge, which is *below*
   that padding, so the head parked at y=56 and left a 56px window at the top
   of the viewport with the panel sliding through it. Measured at 1440: with
   `.main` scrolled 600px, `elementFromPoint` at y=2, 14 and 28 returned
   `.blk__head` -- "The card", then "Functions", then "Venues" as it scrolled.
   Three layers on screen at once, which is what "looks weird" was.

   So the head pulls itself out to the scrollport's real edges: up over the
   top padding and sideways into the gutters, with the same values added back
   as padding so its content does not move. Its painted box now starts at the
   very top of the scrollport and spans its full width, and `top: 0` pins
   that box rather than the inset one.

   No magic numbers: both values come from `--main-pad-top` / `--main-pad-x`,
   which `.main` sets and this inherits, so the responsive paddings at 1100px
   carry through on their own.

   Not applied below 860px, and it must not be: there `.main` has
   `padding-top: 0` -- there is no strip to cover -- and `.page-head` already
   has its own full-bleed treatment for the phone's white band, which this
   would fight. Verified at 375: no leak above the head there either.

   **This did not exist before today.** The head became `position: sticky`
   when Save was pinned on 12 Nov 2026; before that it scrolled with the page
   and there was nothing to scroll behind. */
@media (min-width: 861px) {
  .page-head--sticky {
    /* `top` is offset by the same amount as the pull-up, and it has to be.
       A sticky offset resolves against the scrollport's CONTENT edge, which
       is already below `.main`'s top padding -- measured: with `top: 0` and
       the pull-up alone the box still parked at y=56 and the strip stayed
       open. Moving `top` up by the padding pins the box at the scrollport's
       real top, where its own padding then covers the strip. */
    top: calc(-1 * var(--main-pad-top, 0px));
    margin-top: calc(-1 * var(--main-pad-top, 0px));
    margin-inline: calc(-1 * var(--main-pad-x, 0px));
    padding-top: calc(var(--main-pad-top, 0px) + 14px);
    padding-inline: var(--main-pad-x, 0px);
  }
}

table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
table.data th {
  text-align: left; padding: 13px 24px; background: var(--toran-surface);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-subtle);
}
table.data td { padding: 15px 24px; border-top: 1px solid var(--border); font-size: 16px; font-weight: 400; vertical-align: middle; }
table.data tr:first-child td { border-top: 0; }

.tag { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; }
.tag--yes { background: var(--toran-sand); color: var(--toran-teal-deep); }
.tag--wait { background: var(--toran-amber-soft); color: var(--toran-amber-deep); }
.tag--no { background: var(--toran-surface); color: var(--text-subtle); border: 1px solid var(--border); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.kpi b { display: block; font-family: var(--font-display); font-size: 38px; font-weight: 600; letter-spacing: -0.025em; }
.kpi span { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); }

/* The header's one-line status: address, live state, days to the first
   ceremony. Separated by dots rather than stacked, because it is a caption,
   not three facts worth three lines. */
.sub-line { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 6px 0 0;
  font-size: 15px; color: var(--text-subtle); }
.sub-line .dotsep::before { content: "\00b7"; margin-right: 8px; }
.sub-line .is-live { color: var(--brand); font-weight: 500; }
.sub-line .is-draft { color: var(--toran-amber-deep); font-weight: 500; }
/* The address is the one item on this line that is not a caption about the
   page -- it is the couple's own web address, the string they chose and the
   thing they will paste into WhatsApp. The line around it stays
   `--text-subtle`; this reads as content, at the same size, so it is the
   address rather than a note about the address. Weight and colour only: it
   is deliberately NOT given a box, because a box on this line is what made
   it read as an empty input in the first place. */
.sub-line .addr { color: var(--text); font-weight: 500; }

.kpi em { display: block; margin-top: 6px; font-size: 14px; font-style: normal;
  color: var(--text-subtle); }
.kpi b.accent { color: var(--brand); }

/* The only red on the screen, and only when money is genuinely due inside
   thirty days. A card that is always red is furniture, and gets read as
   furniture. */
.kpi--due { background: var(--toran-ruby); border-color: var(--toran-ruby); }
.kpi--due span, .kpi--due em { color: rgba(255,255,255,.82); }
.kpi--due b { color: #fff; }

/* What the account holds: bought, left, ends. One row, three facts, on
   /app/billing. Not `.kpi` -- a 38px display figure is the right weight for
   "214 guests" and the wrong one for a sentence like "1 year 11 months",
   which has to wrap at 320px rather than shrink.

   Near the end it changes colour and nothing else: no border grows, nothing
   starts flashing. This is a wedding, and the product already has exactly
   one thing that shouts, which is `renewal()`'s band in the chrome. */
.term { display: flex; flex-wrap: wrap; gap: 14px 34px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px;
  margin-bottom: 4px; }
.term__item { min-width: 0; }
.term__item span { display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-subtle); }
.term__item b { display: block; margin-top: 4px; font-family: var(--font-display);
  font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
/* Inside CLOSE_DAYS: sand and amber, the same pair the `wait` tag and the
   thirty-day band use, so "soon" looks like one thing across the product. */
.term--close { background: var(--toran-amber-soft); border-color: var(--toran-amber-soft); }
.term--close .term__item b { color: var(--toran-amber-deep); }
.term--over { background: var(--toran-surface); }
.term--over .term__item b { color: var(--text-subtle); }

.grid--wide { grid-template-columns: 1.55fr 1fr; }

.card-title { font-size: 22px; font-weight: 600; }
.card-link { font-size: 15px; color: var(--brand); text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Ceremony bars. Name, track and count each get a fixed lane so the bars
   start and end on the same two verticals however long the names are. */
.cbars { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.cbar { display: grid; grid-template-columns: 112px 1fr 44px; align-items: center; gap: 14px; }
.cbar__name { font-size: 16px; }
.cbar__track { height: 11px; border-radius: 999px; background: var(--toran-sand); overflow: hidden; }
.cbar__track i { display: block; height: 100%; border-radius: 999px; background: var(--brand); }
.cbar__n { text-align: right; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }

.feed-row { padding: 12px 0 12px 14px; border-left: 3px solid var(--brand); }
.feed-row + .feed-row { margin-top: 4px; }
.feed-row--warn { border-left-color: var(--toran-amber); }
.feed-text { margin: 0; font-size: 16px; }
.feed-when { margin: 2px 0 0; font-size: 14px; color: var(--text-subtle); }

/* `!important` because /app/rsvps sets grid-template-columns inline, one
   column per ceremony, and inline beats a media query. Four ceremonies gave
   four 72px columns on a 375px phone. One authoritative rule per breakpoint,
   never two in the same block fighting each other — that is the shape of the
   bug this file has already had once. */
@media (max-width: 900px) {
  .kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .grid--wide { grid-template-columns: 1fr; }
}

/* The phone layout, from the A2m artboard. Two small counts sit side by side
   and anything carrying a rupee figure takes the full width — ₹11,83,000 in
   38px Fraunces is about 200px, so in a half-width card it blew the grid out
   past the viewport. The order is the artboard's: what you act on first. */
@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr 1fr !important; gap: 10px; margin-bottom: 18px; }
  .kpi { min-width: 0; padding: 16px; }
  .kpi--due, .kpi--wide { grid-column: 1 / -1; }
  .kpi--due { order: 1; }
  .kpi--wide { order: 2; }

  /* A2m's card metrics. The desktop card is 22px of padding around a 38px
     number with a caption under it, which on a phone is 175px of card for one
     digit and turns the overview into a column of near-empty boxes. These are
     the artboard's numbers: 16px padding, a 28px figure, a 10px label. The
     whole KPI block drops from about 500px to about 240px, so the ceremony
     card is on screen without scrolling. */
  .kpi span { font-size: 10px; }
  .kpi b { font-size: 28px; line-height: 34px; }
  .kpi em { font-size: 13px; margin-top: 3px; }
  .grid { gap: 12px; }
  .card { padding: 18px; }
  /* A2m sets the card heading in the body face at 16px, not 22px display.
     At this width a 22px Fraunces heading reads as a page title and competes
     with the real one in the header band. */
  .card-title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: 0; }
  .card-link { font-size: 14px; }
  /* .spread stacks on a phone so a heading and its paragraph do not fight
     over 375px. A card heading and its "See all" are not that: they are a
     title and a 14px link, they fit on one line, and stacking them spends a
     row on nothing. */
  .card > .spread { flex-direction: row; align-items: center; }
  .feed-row { padding: 10px 0 10px 12px; }
  .feed-text { font-size: 15px; }
  .feed-when { font-size: 13px; }
  .sub-line { font-size: 14px; }

  .cbars { margin-top: 14px; gap: 11px; }
  .cbar { grid-template-columns: 62px 1fr 34px; gap: 10px; }
  .cbar__name, .cbar__n { font-size: 14px; }
  .cbar__track { height: 9px; }
  /* The address is the least useful thing on a phone and the longest. */
  .sub-line .addr { display: none; }
  /* .addr is still the first child while hidden, so the separator has to be
     killed on whatever now leads the line. */
  .sub-line .addr + .dotsep::before { content: none; margin: 0; }
}

.bar { display: flex; height: 11px; border-radius: 999px; overflow: hidden; background: var(--border); }
.bar i { display: block; }
.bar .paid { background: var(--brand); }
.bar .due { background: var(--toran-amber); }

.notice { padding: 15px 18px; border-radius: 8px; background: var(--toran-sand); color: var(--toran-amber-deep); font-size: 14px; }
.notice--bad { background: #FBE9E9; color: var(--toran-ruby); }

/* ---- onboarding ---- */
.ob { max-width: 600px; margin: 56px auto; background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 36px; }
.ob__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
/* The progress pips. `flex: 1 1 0` with a cap rather than a fixed 22px,
   because the step count is no longer fixed either: seven of them at 22px
   plus "5 of 7" plus Skip for now came to ~300px inside a 268px row at
   375, so the head wrapped to two lines and "Back" broke with it. Measured
   17 Nov 2026, on the step that took the flow from five to seven.

   Sharing the space instead means the row holds however many steps there
   are, and `max-width` keeps five from looking like a loading bar. */
.ticks { display: flex; gap: 5px; align-items: center; flex: 0 1 auto; min-width: 0; }
.ticks i {
  flex: 1 1 0; min-width: 6px; max-width: 22px;
  height: 3px; border-radius: 999px; background: var(--border);
}
.ticks i.on { background: var(--brand); }
.ask { padding: 16px 20px; border-radius: 14px; background: var(--toran-surface); font-size: 18px; color: var(--text); margin-bottom: 22px; }

/* ---- tenant site ---- */
.site-hero { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; background: #fff; }
.site-hero h1 { font-size: clamp(44px, 9vw, 96px); font-weight: 600; }
.site-hero .meta { letter-spacing: 0.14em; text-transform: uppercase; font-size: 14px; color: var(--text-muted); margin-top: 12px; }
.ev { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 40px 0; border-top: 1px solid var(--border); }
.ev iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; }

@media (max-width: 860px) {
  .band { padding: 52px 0; }
  .wrap { padding: 0 20px; }
  .demo, .showcase, .ev { grid-template-columns: 1fr; gap: 26px; }
  .grid--3, .grid--2, .plans, .plans--two { grid-template-columns: 1fr !important; }
  .hero--split { padding: 40px 0 48px; }
  /* Side-by-side CTAs overflow a 390px screen. Stack and fill. */
  .hero--split .row, .band .row { width: 100%; }
  .hero--split .btn, .band--ground .btn { flex: 1 1 100%; }
  .row.keep-row .btn { flex: 0 0 auto; }
  .review { flex-basis: 300px; }
  /* ---- the four groups get lanes (18 Nov 2026) ----
     Pulkit at 412px, on the footer: the second column starts at a different
     x in each row, so nothing shares a lane. It did. `flex-wrap` sizes each
     group to its own content and then packs them, so PRODUCT (the widest
     labels) pushed BEFORE YOU BUY to x=137 while GUIDES pushed COMPANY to
     x=181 -- two "columns" that were never columns, only two pairs that
     happened to wrap two to a line.

     A grid is the fix and the only fix: two equal tracks, so column two
     starts at the same x in both rows whatever the labels say. `minmax(0,
     1fr)` rather than `1fr` because a long link ("Budgeting by ceremony")
     would otherwise push its track past its share -- `1fr` is `minmax(auto,
     1fr)` and `auto` floors at the content.

     Desktop is untouched: above 860px this is still the flex row with 54px
     between four groups on one line. */
  .foot__cols {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
    /* It is a flex item of the `.spread` that stacks above it, so without
       this it is sized to its own content (290px of a 372px column) and the
       two tracks are narrower than they need to be for no reason. */
    width: 100%;
  }
  /* ---- the dashboard on a phone, rebuilt against A2m ----
     The sidebar is gone, not reflowed. It used to become a strip that
     scrolled sideways across the top with the first item already cut off
     mid-word, which is not a navigation anyone can use. A2m replaces it with
     a top app bar and a bottom tab bar. */
  .appbar { display: flex; }
  .tabbar { display: flex; }
  .side { display: none; }
  .shell { grid-template-columns: 1fr; min-height: 0; }
  /* A grid item's min-width is auto, so a wide child sizes the whole column
     to its own content and drags the page sideways. The nav strip that first
     did this is gone, but a table or a long title would do it again; the
     column has to be told it may be narrower than what is inside it. */
  .shell > * { min-width: 0; }
  /* The gutter is A2m's 20px, plus whatever the device needs in landscape.
     The bottom pad clears the fixed bar: 48px tab + 12px padding + the home
     indicator, and the bar's own inset is already inside that env() call.
     Measured at 375px: the bar is 61px with no inset, so 84 leaves 22px of
     air under the last card rather than tucking it behind the bar. */
  .main {
    padding: 0 max(20px, env(safe-area-inset-right)) calc(84px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }

  /* A2m's header: a white band under the app bar carrying the name, the
     one-line status and the two actions. It is full-bleed, so it pulls back
     out through .main's gutter rather than asking the routes for different
     markup. */
  .page-head {
    flex-direction: column; align-items: stretch; gap: 14px;
    margin: 0 0 18px; padding: 22px 0 18px;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    background: var(--bg-raised); border-bottom: 1px solid var(--border);
  }
  .page-head h1 { font-size: 28px; line-height: 34px; }
  /* ## A row of actions, however many there are (17 Nov 2026)

     This said `flex-wrap: nowrap` with `flex: 1 1 0`, under the comment
     *"Two actions, each half the width... Nothing in the app puts more than
     two in this row."* Three rows in the app use it and **it was correct for
     none of them**: /app/guests has four, /app/budget has four, and
     /app/design has a button beside a four-control cluster. Two of the three
     were corrected one at a time with `row--acts`, and the third broke
     anyway -- written an hour after that class existed, by the same hand
     that wrote it.

     That is the argument for fixing the default rather than adding a third
     opt-in. `nowrap` plus a zero basis is not a general rule with two
     exceptions; it is one special case installed as the default, and a rule
     you have to remember to opt out of is a rule that will be forgotten. A
     row should be sane because it is a row.

     So: it may wrap, and a button is sized from its own label before it
     shares what is left. Two buttons still sit side by side and still fill
     the width. Four wrap when four will not fit. A child that is not a
     button -- `.edstat` on /app/design -- takes a line of its own instead of
     eating the one button's width.

     `row--acts` survives as what it should always have been: not a fix, but
     the refinement that the three exports are equal peers and the one real
     action gets a line to itself. */
  .page-head > .row { width: 100%; gap: 9px; flex-wrap: wrap; }
  .page-head > .row > .btn { flex: 1 1 auto; min-width: 0; }
  .page-head > .btn { width: 100%; }
  .page-head .btn--sm { padding: 13px 14px; font-size: 15px; }

  table.data { display: block; overflow-x: auto; }

  /* Keep the one CTA; drop only the secondary links. A nav with nothing in it
     leaves the phone with no way into the product. */
  .nav__links a:not(.btn) { display: none; }
  .nav__links .navdrop { display: none; }
  .nav__in { padding: 12px 20px; }

  /* .spread is a two-up row by default. On a phone it has to stack, or a
     heading and its paragraph fight over the same 375px. */
  .spread { flex-direction: column; align-items: flex-start; }
  .spread.keep-row { flex-direction: row; align-items: center; }

  /* `.hero--split`, not `.hero`: see the note at the hero block above.
     These two reached every couple's invitation as well, and the
     `!important` meant nothing in tenant.css could have argued with it. */
  .hero--split h1 { font-size: 38px !important; }
  .hero--split p { font-size: 16px; }
  .band h1 { font-size: 34px !important; }
  .band h2 { font-size: 30px !important; }
  .band h3 { font-size: 20px !important; }
  /* Nothing may push the page sideways on a phone. */
  body { overflow-x: hidden; }
  .preview__names { font-size: 32px; }
  .showcase { grid-template-columns: 1fr !important; }
  .demo { grid-template-columns: 1fr !important; }
  .reviews { column-count: 1; }
  .ob { margin: 20px 12px; padding: 22px; border-radius: 14px; }
  .plan .price { font-size: 42px; }
  .reviews { margin-right: -20px; padding-right: 20px; }
}

/* ---- conversion furniture ---- */
.trust {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border);
}
.trust div { text-align: center; }
.trust b {
  display: block; font-family: var(--font-display); font-size: 30px;
  font-weight: 600; letter-spacing: -0.025em; color: var(--brand);
}
.trust span {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-subtle);
}

details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; float: right; color: var(--toran-amber);
  font-family: var(--font-body); font-weight: 400;
}
details[open] summary::after { content: '−'; }

/* A phone shows one screen at a time, so the CTA has to travel with them.
   Hidden on desktop, where the sticky header already carries one. */
.stickycta { display: none; }
@media (max-width: 860px) {
  .stickycta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--border);
  }
  .stickycta .btn { width: 100%; }
  /* Leave room so the bar never covers the footer's last line. */
  .foot { padding-bottom: 120px; }
  .trust { gap: 26px 32px; margin-top: 30px; }
  .trust b { font-size: 24px; }
}

/* An 820px block inside an 1180px wrap needs the auto margin or it reads as
   misaligned against every centred section above it. */
.faq { max-width: 820px; margin: 0 auto; }

/* ---- comparison table ---- */
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: 22px; overflow: hidden; min-width: 720px;
}
/* 10px, not 13px. Six rows at 13 plus the header block and the closing
   button still ran past a 900px screen; at 10 the whole section is seen
   whole, which is the only state in which it does its job. */
.cmp th, .cmp td { padding: 10px 20px; text-align: center; vertical-align: middle; }
.cmp thead th {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  letter-spacing: -0.025em; color: var(--text);
  background: var(--toran-surface); border-bottom: 1px solid var(--border);
  padding-top: 14px; padding-bottom: 14px;
}
.cmp tbody th {
  text-align: left; font-family: var(--font-body); font-size: 16px;
  font-weight: 400; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.cmp tbody td { border-bottom: 1px solid var(--border); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }

/* The column we are selling. Gold rails, so it reads as the answer without
   shouting over the rows themselves. */
.cmp__us { background: var(--toran-teal-deep); color: #fff; }
.cmp thead .cmp__us {
  background: var(--toran-teal-deep); color: #fff;
  border-bottom: 1px solid var(--toran-gold);
}
.cmp__logo { display: block; margin: 0 auto 6px; }
.cmp tbody td.cmp__us { border-bottom-color: rgba(255,255,255,.12); }

.ci { display: inline-block; }
.ci--yes { color: var(--brand); }
.cmp__us .ci--yes { color: var(--toran-gold); }
.ci--no { color: var(--toran-ruby); opacity: .72; }
.ci--part { color: var(--toran-amber); }

.cmp__cost th, .cmp__cost td {
  background: var(--toran-surface); padding-top: 14px; padding-bottom: 14px;
}
.cmp__cost td.cmp__us { background: var(--toran-teal); }
.cmp__cost td.cmp__us .muted { color: var(--toran-sand); }
.cmp__cost strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }

/* ---- the phone: four columns, kept (18 Nov 2026) ----

   From 12 Nov this became one card per row below 860px, on the reasoning
   that *"a 4-column table cannot be read on a 375px screen, and making it
   scroll sideways just hides half the argument."* The second half of that
   is still true and nothing here reintroduces a sideways scroll. The first
   half was wrong, and nine rows proved it: nine cards, each repeating
   Toran / PDF card / Spreadsheet down its own side, came to 1,665px at
   412px -- five screens of a table whose entire point is that you can see
   three answers to one question at once. Pulkit: *"This also makes it a
   table which is readable in mobile."*

   **What makes four columns fit.** The three answer columns carry a tick,
   a cross or a dash: 44px each is generous for a glyph and a touch target
   it does not need. So the label gets `1fr` of a fixed layout and the three
   answers get 60px, 64px and 64px -- 188px of answers, 184px of label at
   412 and 147px at 375. The label is 13px at 1.3, which wraps the longest
   row ("A reply per ceremony, with head counts, out as a spreadsheet") to
   four lines inside its own column. Four lines in a cell is a table. A
   180px card is not.

   The header's two long titles lose their sub-lines to `data-short`, the
   same device the ledger above uses: "Printed cards / plus courier" is
   "Printed", and the courier is said in the cost row underneath anyway.

   The cost row is the one row with prose in the answer columns, so it alone
   drops to 11px with the qualifier under the figure. It is also why the
   table keeps a `.cmp-scroll` with `overflow-x: auto` rather than
   `visible`: if a future price string refuses to wrap, a scroll is a worse
   outcome than a cut-off one but not a broken one. Measured at 412 and 375:
   nothing overflows, so the scroller never engages.

   Measured at 412px: 1,665px -> 486px, and the whole argument is on one
   screen and a half instead of five. */
@media (max-width: 860px) {
  .cmp {
    min-width: 0; border-radius: 16px;
    /* Fixed, so the three answer columns are the same width on every row
       and the eye can run straight down one. With `auto` the cost row's
       price strings sized the columns and the ticks above them stopped
       lining up. */
    table-layout: fixed;
  }
  .cmp th, .cmp td { padding: 9px 6px; }
  .cmp thead th {
    font-size: 12.5px; letter-spacing: -0.01em; line-height: 1.2;
    padding-top: 10px; padding-bottom: 10px;
  }
  /* The one-word versions. `font-size: 0` kills the long title and its
     sub-line without changing the cell's box; see the ledger's note. */
  .cmp thead th[data-short] { font-size: 0; }
  .cmp thead th[data-short]::before {
    content: attr(data-short); display: block; font-size: 12.5px; line-height: 1.2;
  }
  .cmp thead th[data-short] br, .cmp thead th[data-short] span { display: none; }
  .cmp__logo { width: 20px; height: auto; margin-bottom: 3px; }
  /* The label column takes what the three answers leave. */
  .cmp tbody th {
    font-size: 13px; line-height: 1.3; padding-left: 12px; padding-right: 8px;
  }
  .cmp thead th:first-child { width: auto; }
  .cmp thead th:nth-child(2) { width: 60px; }
  .cmp thead th:nth-child(3), .cmp thead th:nth-child(4) { width: 64px; }
  /* The per-cell labels are the header row's job again. */
  .cmp tbody td::before { content: none; }
  .cmp__cost th { font-size: 13px; }
  /* 11.5px is where "to ₹4,000" -- the longest string in the row -- is
     54.3px against the 56px a 64px column leaves. Measured. */
  .cmp__cost strong { font-size: 11.5px; letter-spacing: -0.02em; line-height: 1.3; }
  /* The struck price above the charged one, not beside it: "₹2,999 ₹1,999"
     is 85px against a 46px column and ran straight over the next one.
     `width: max-content` so the strike is the length of the price and not
     of the column. */
  .cmp__cost .was { display: block; width: max-content; margin: 0 auto; font-size: 10.5px; }
  /* ---- the three qualifiers go, and nothing is lost ----
     "once, two years, nothing renews · ₹1,000 off until 28 Feb 2027" in a
     46px column is ten lines of two-word orphans. Each of the three is
     already said in full, in body type, within a screen of this table:
     the Toran one by the offer bar at the top of every marketing page and
     by the pricing band below; "each, plus courier. 300 guests is ₹15,000
     up" and "once, and unchangeable after" by this band's OWN lede, which
     reads *"Three hundred printed cards is fifteen thousand rupees and a
     week of courier. A PDF cannot be changed and cannot take a reply."*
     So this is a duplicate being dropped at the width where it cannot be
     read, not a fact being hidden. Above 860px all three stay. */
  .cmp__cost td .tiny { display: none; }
  .cmp__cost td { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 380px) {
  .cmp th, .cmp td { padding: 9px 4px; }
  .cmp tbody th { font-size: 12.5px; padding-left: 9px; }
  .cmp thead th:nth-child(2) { width: 54px; }
  .cmp thead th:nth-child(3), .cmp thead th:nth-child(4) { width: 58px; }
  .cmp__cost strong { font-size: 11px; }
}

/* ---- auth pages ---- */
.authwrap {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
  background: var(--toran-surface);
}
/* Sign-in and sign-up carry the dark panel of selling points beside the card;
   the invitation page and the expired-link page do not, because somebody
   accepting an invitation has already been sold the product by whoever sent
   it. Without a second child the two-column grid left the card pinned to the
   left half of a 1440px screen. One column when it is on its own. */
.authwrap:not(:has(.authside)) { grid-template-columns: 1fr; }
.authcard {
  width: 100%; max-width: 420px; justify-self: center; align-self: center;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: 22px; padding: 36px; margin: 40px 24px;
}
.authside {
  background: var(--toran-teal-deep); color: #fff;
  padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;
}

/* "Signed in as ... · Sign out", for the pages that sit outside the app
   shell and can still be a dead end. /checkout is the one that proved it:
   see the note at the markup in routes/billing.ts.

   The button carries 7px of vertical padding it does not visually need, so
   the hit area clears 24px on a phone rather than being a 12.5px line of
   text. It is a secondary escape hatch and deliberately not a 44px block --
   a button that shouts on the page somebody is deciding to pay on is the
   wrong kind of help. */
.whoami {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: center; gap: 0 8px;
  margin: 0 0 18px; font-size: 12.5px; color: var(--text-subtle);
}
.whoami b { font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.whoami form { margin: 0; }
.whoami button {
  font: inherit; color: var(--brand); background: none; border: 0;
  padding: 7px 2px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.whoami button:hover { color: var(--text); }
.whoami button:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 1px; border-radius: 3px;
}

.authsep {
  display: flex; align-items: center; gap: 14px;
  margin: 20px 0; color: var(--text-subtle); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.authsep::before, .authsep::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.btn--google { width: 100%; background: #fff; color: var(--text); border-color: var(--border); }
.btn--google:hover { background: var(--toran-surface); color: var(--text); }
.btn--google.is-off { opacity: .55; cursor: not-allowed; }

.pw { position: relative; }
.pw input { padding-right: 68px; }
.pw__toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; cursor: pointer; padding: 6px 10px;
  font-size: 13px; font-weight: 600; color: var(--brand); border-radius: 6px;
}
.pw__toggle:hover { background: var(--toran-surface); }
.pw__meter { height: 3px; border-radius: 999px; background: var(--border); margin-top: 8px; overflow: hidden; }
.pw__meter i { display: block; height: 100%; width: 0; transition: width .15s ease, background .15s ease; }

.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }

@media (max-width: 860px) {
  .authwrap { grid-template-columns: 1fr; min-height: auto; }
  .authcard { margin: 20px 16px; padding: 26px; border-radius: 14px; }
  /* The value prop goes below the form on a phone; the form is why they came. */
  .authside { padding: 36px 24px; order: 2; }
  .authside h2 { font-size: 26px !important; }
}

/* ---- reorderable ceremony chips ---- */
.chip--drag {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: grab; user-select: none; background: var(--toran-white);
}
.chip--drag:active { cursor: grabbing; }
.chip--drag:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.chip--drag.is-dragging { opacity: .45; }
.chip--drag.is-over { box-shadow: -3px 0 0 var(--toran-amber); }

/* Six dots. The universal "this moves" affordance. */
.grip {
  width: 8px; height: 13px; flex-shrink: 0; opacity: .45;
  background-image: radial-gradient(currentColor 1px, transparent 1px);
  background-size: 4px 4px; background-position: 0 1px;
  color: var(--text-subtle);
}
.chip--drag:hover .grip { opacity: .8; }
.chip__x { cursor: pointer; padding: 0 2px; color: var(--text-subtle); }
.chip__x:hover { color: var(--toran-ruby); }

/* ---- onboarding step 3: one block per ceremony ---- */
.evrow {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px 18px; margin: 0 0 12px; min-width: 0;
}
.evrow legend {
  padding: 0 8px; font-family: var(--font-display);
  font-size: 18px; font-weight: 600; letter-spacing: -0.025em;
}
.evrow__grid {
  display: grid; grid-template-columns: 1fr 140px; gap: 12px;
}
/* The venue is the long one, so it gets its own full-width line rather than
   wrapping out of a flex row and reading as an orphan. */
.evrow__venue { grid-column: 1 / -1; }
.evrow input { width: 100%; }

@media (max-width: 560px) {
  .evrow__grid { grid-template-columns: 1fr 1fr; }
}

/* ---- custom date picker ---- */
.dp { position: relative; }
.dp__native {
  position: absolute; opacity: 0; pointer-events: none;
  width: 0; height: 0; padding: 0; border: 0;
}
.dp__field {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 14px 16px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--toran-surface);
  font-size: 16px; font-weight: 400; color: var(--text);
  cursor: pointer; text-align: left;
}
.dp__field:hover { border-color: var(--brand); }
.dp__field:focus-visible { outline: none; border: 2px solid var(--brand); padding: 13px 15px; }
.dp__field.is-empty { color: var(--text-subtle); }
.dp__icon {
  width: 16px; height: 16px; flex-shrink: 0; opacity: .6;
  background: currentColor;
  -webkit-mask: var(--cal) center / contain no-repeat;
  mask: var(--cal) center / contain no-repeat;
}
:root {
  --cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3h10a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M2 6.5h12M5.5 1.5v3M10.5 1.5v3' stroke='black' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dp__pop {
  position: absolute; z-index: 70; top: calc(100% + 8px); left: 0;
  width: 280px; padding: 14px; border-radius: 14px;
  background: var(--toran-white); border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(12, 59, 54, .16);
}
.dp__pop--up { top: auto; bottom: calc(100% + 8px); }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dp__head strong { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.dp__nav {
  width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--border);
  background: none; cursor: pointer; font-size: 17px; line-height: 1; color: var(--text);
}
.dp__nav:hover { background: var(--toran-surface); }
.dp__dow, .dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp__dow span {
  text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em;
  color: var(--text-subtle); padding-bottom: 6px;
}
.dp__day {
  aspect-ratio: 1; border: 0; background: none; border-radius: 8px; cursor: pointer;
  font-size: 14px; color: var(--text);
}
.dp__day:hover { background: var(--toran-sand); }
.dp__day.is-today { box-shadow: inset 0 0 0 1px var(--toran-amber); }
.dp__day.is-on { background: var(--brand); color: #fff; font-weight: 600; }
.dp__pad { aspect-ratio: 1; }
.dp__foot { display: flex; justify-content: space-between; margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--border); }
.dp__link { background: none; border: 0; cursor: pointer; font-size: 13px;
  font-weight: 600; color: var(--brand); padding: 4px; }
.dp__link[data-clear] { color: var(--text-subtle); }

@media (max-width: 420px) { .dp__pop { width: calc(100vw - 72px); } }

/* ---- image picker ---- */
.ip {
  border: 1px dashed var(--border); border-radius: 14px;
  background: var(--toran-surface); overflow: hidden; position: relative;
}
.ip.is-over { border-color: var(--brand); background: var(--toran-sand); }
.ip__empty {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 26px 20px; cursor: pointer; color: var(--text-subtle); text-align: center;
}
.ip__empty strong { font-size: 16px; font-weight: 600; color: var(--text); }
.ip__empty:hover { background: var(--toran-sand); }
/* The library is the primary action and gets the only button in the box.
   It used to be a small link under a dashed target that opened the operating
   system's file dialog, which is how someone wanting the photo they already
   uploaded ends up in Finder uploading it again. */
.ip__primary {
  margin-top: 6px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--brand); background: var(--brand); color: #fff;
  font-size: 13.5px; font-weight: 600;
}
.ip__primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.ip__primary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Uploading stays one tap away, as the sentence under the button. */
.ip__alt { margin-top: 2px; line-height: 1.5; }
.ip__up-open {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--brand); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
/* `overflow: hidden` because the preview is a framed surface now. ADR 0047.
   `.framed` zooms the picture by `1 / max(w, h)` and shifts its origin, so
   an uncropped-looking box would otherwise let a tight crop paint over the
   caption under it. The figure clips; the caption is not scaled. */
.ip__preview { margin: 0; overflow: hidden; }
.ip__preview img {
  width: 100%; max-height: 260px; object-fit: cover; display: block;
  background: var(--toran-surface);
}
.ip__preview figcaption {
  display: flex; gap: 8px; padding: 10px 12px; background: var(--toran-white);
  border-top: 1px solid var(--border);
}
.ip__preview button {
  background: none; border: 0; cursor: pointer; font-size: 13px;
  font-weight: 600; color: var(--brand); padding: 4px 8px; border-radius: 6px;
}
.ip__preview button:hover { background: var(--toran-surface); }
.ip__remove { color: var(--toran-ruby) !important; }
.ip__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--border); }
.ip__bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s ease; }
.ip__err { margin: 0; padding: 10px 12px; color: var(--toran-ruby); background: #FBE9E9; }

.ip__lib-open {
  background: none; border: 0; cursor: pointer; padding: 6px 10px; margin-top: 2px;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--brand);
  text-decoration: underline; text-underline-offset: 3px;
}
.ip__lib-open:hover { background: var(--toran-white); text-decoration: none; }

/* The multi-select field: chosen photos in pick order, numbered, with a "+"
   at the end. The number is the point — a gallery is an ordered thing, and
   the person has to be able to see the order they built. */
.ip__strip {
  display: flex; flex-wrap: wrap; gap: 8px; padding: 12px;
  background: var(--toran-white);
}
.ip__cell {
  position: relative; width: 84px; height: 84px; border-radius: 10px;
  overflow: hidden; border: 1px solid var(--border); background: var(--toran-surface);
}
.ip__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip__cell > i {
  position: absolute; left: 5px; bottom: 5px; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 999px; background: var(--brand); color: #fff;
  font-style: normal; font-size: 11px; font-weight: 600; line-height: 19px;
  text-align: center;
}
.ip__cell-x {
  position: absolute; top: 3px; right: 3px; width: 22px; height: 22px;
  border: 0; border-radius: 999px; cursor: pointer; padding: 0;
  background: rgba(12, 59, 54, .72); color: #fff; font-size: 15px; line-height: 22px;
}
.ip__cell-x:hover { background: var(--toran-ruby); }
/* Crop, on the cell. ADR 0047.
 *
 * A gallery is the one picker that does NOT open the framer on the way in:
 * twenty photographs would be twenty modals, so the offer moves onto the
 * tile. Bottom-right, away from the order badge and the remove button,
 * because all three live on an 84px square. */
.ip__cell-k {
  position: absolute; right: 3px; bottom: 3px; border: 0; cursor: pointer;
  padding: 0 6px; height: 19px; border-radius: 999px;
  background: rgba(12, 59, 54, .72); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 19px; letter-spacing: .02em;
}
.ip__cell-k:hover { background: var(--brand); }
/* A tile whose photograph has been positioned says so, or the only way to
   find out is to open all twenty. */
.ip__cell.is-cropped .ip__cell-k { background: var(--brand); }
.ip__cell--add {
  display: grid; place-items: center; cursor: pointer; padding: 0;
  border-style: dashed; color: var(--brand); font-size: 24px;
}
.ip__cell--add:hover { background: var(--toran-sand); }

/* ---- the media picker overlay ---- */

/* One overlay serves the inline fields and, per ADR 0008, the editor's card
   and gallery blocks. It is a sheet on a phone and a dialog on a laptop,
   which is the same markup and one media block: the inline panel this
   replaced could not be made usable at 375px inside a dashed box. */
.pk { position: fixed; inset: 0; z-index: 90; display: flex; }
.pk[hidden] { display: none; }
.pk__scrim { position: absolute; inset: 0; background: rgba(12, 59, 54, .42); }
/* Stop the page behind from scrolling under the sheet. */
html.pk-open, html.pk-open body { overflow: hidden; }

.pk__panel {
  position: relative; margin: auto; display: flex; flex-direction: column;
  width: min(720px, calc(100vw - 40px)); max-height: min(720px, calc(100vh - 56px));
  background: var(--bg-raised); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(12, 59, 54, .32);
}
.pk__panel:focus { outline: none; }
.pk__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 20px 22px 14px; border-bottom: 1px solid var(--border);
}
.pk__title { font-size: 24px; font-weight: 600; }
.pk__usage { margin: 3px 0 0; }
.pk__x {
  flex: 0 0 auto; width: 36px; height: 36px; margin: -4px -6px 0 0;
  display: grid; place-items: center; cursor: pointer;
  background: none; border: 0; border-radius: 999px; color: var(--text-subtle);
}
.pk__x:hover { background: var(--toran-surface); color: var(--text); }
.pk__body { overflow-y: auto; padding: 16px 22px; -webkit-overflow-scrolling: touch; }
.pk__say { margin: 8px 0; }
.pk__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 12px;
}
.pk__item {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 0; cursor: pointer; text-align: left; overflow: hidden;
  background: none; border: 2px solid var(--border); border-radius: 12px;
}
.pk__item:hover { border-color: var(--brand); }
.pk__item:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pk__item.is-on { border-color: var(--brand); background: var(--toran-sand); }
.pk__item img {
  width: 100%; aspect-ratio: 1; object-fit: cover; display: block;
  background: var(--toran-surface);
}
.pk__item span {
  padding: 0 7px 7px; font-size: 11px; line-height: 14px; color: var(--text-subtle);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* Empty until something is picked, so an unselected tile carries no chrome. */
.pk__tick {
  position: absolute; top: 7px; right: 7px; min-width: 24px; height: 24px;
  padding: 0 6px; border-radius: 999px; font-style: normal;
  font-size: 12px; font-weight: 600; line-height: 24px; text-align: center;
}
.pk__item.is-on .pk__tick { background: var(--brand); color: #fff; }
.pk__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 22px; border-top: 1px solid var(--border);
}
.pk__use[disabled] { opacity: .45; pointer-events: none; }
.pk__bar { position: relative; }
.pk__err { border-radius: 0; }

@media (max-width: 860px) {
  /* A sheet, not a dialog: full width, pinned to the bottom, and tall enough
     that the grid is the thing on screen rather than the furniture. The top
     inset keeps it clear of the notch, the bottom one of the home indicator. */
  .pk__panel {
    width: 100%; margin: auto 0 0;
    max-height: calc(100vh - 44px - env(safe-area-inset-top));
    border-radius: 18px 18px 0 0;
  }
  .pk__head { padding: 16px 18px 12px; }
  .pk__title { font-size: 20px; }
  .pk__body { padding: 14px 18px; }
  .pk__grid { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
  .pk__foot {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    flex-direction: row;
  }
  .pk__foot .btn { flex: 1 1 0; }
}

/* ---- media library (/app/media) ---- */

/* `position: relative` so the shared `.ip__bar` that imagepicker.js appends
   on submit pins to the bottom edge of this form rather than to the page. */
.ml-upload {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 20px; margin-bottom: 22px;
}
.ml-upload__say { display: flex; flex-direction: column; gap: 2px; margin-right: auto; }
.ml-upload__say strong { font-size: 16px; font-weight: 600; }
.ml-upload__file { flex: 0 1 280px; min-width: 0; font-size: 14px; }
.ml-upload__file::file-selector-button {
  margin-right: 10px; padding: 9px 14px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); background: var(--toran-surface);
  font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--brand);
}
.ml-upload__file::file-selector-button:hover { background: var(--toran-sand); }
.ml-upload .ip__err { margin-top: 12px; flex: 1 1 100%; border-radius: 8px; }

/* `auto-fill` with a floor, not a fixed count: the grid is the one page whose
   right answer is "as many as fit", and it has to survive the sidebar
   disappearing at 860px without a second rule. */
.ml-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 18px; align-items: start;
}
.ml-item {
  margin: 0; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
}
.ml-item__shot { display: block; }
.ml-item__shot img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  background: var(--toran-surface);
}
.ml-item__body { display: flex; flex-direction: column; gap: 5px; padding: 13px 14px 14px; }
.ml-item__name {
  font-size: 15px; font-weight: 600; line-height: 19px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ml-item__edit > summary {
  list-style: none; cursor: pointer; margin-top: 4px;
  font-size: 13px; font-weight: 600; color: var(--brand);
}
.ml-item__edit > summary::-webkit-details-marker { display: none; }
.ml-item__edit .field label { font-size: 12px; }
.ml-item__edit .field input { padding: 10px 12px; font-size: 15px; }
.ml-item__del {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--toran-ruby);
}
.ml-item__del:hover { text-decoration: underline; }

@media (max-width: 860px) {
  /* Two across at 375px. A one-column library of 4:3 tiles is 280px of
     scrolling per photograph, which turns twelve photos into a page nobody
     reaches the bottom of. */
  .ml-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ml-item__body { padding: 10px 11px 12px; gap: 4px; }
  .ml-item__name { font-size: 14px; }
  /* The uploader stacks: a file input and a button side by side at 375px put
     the native "Choose file" control half off the screen. */
  .ml-upload { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .ml-upload__say { margin-right: 0; }
  .ml-upload__file { flex: 1 1 auto; }
  .ml-upload .btn { width: 100%; }
}

.site-hero__photo {
  width: 190px; height: 190px; border-radius: 999px; object-fit: cover;
  margin: 0 auto 8px; box-shadow: 0 10px 40px rgba(12, 59, 54, .18);
}
@media (max-width: 560px) { .site-hero__photo { width: 140px; height: 140px; } }

/* ---- the waiting card ---- */
.loadwrap {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: var(--toran-surface);
}
.loadcard {
  background: var(--toran-white); border-radius: 22px;
  padding: 40px 48px; text-align: center;
  box-shadow: 0 18px 50px rgba(12, 59, 54, .10);
}
.loadring {
  width: 96px; height: 96px; margin: 0 auto 22px;
  display: grid; place-items: center; position: relative;
}
/* A gold arc sweeping over a faint track.
   This used to be the background of `.loadring` itself, masked to a ring —
   and a mask applies to an element's children too, so the hole punched in
   the middle took the mark with it. The spinner has been an empty ring
   since it was written; nobody saw it, because there was nothing to see.
   The arc gets its own layer so the mask stops at its own edges. */
.loadring::before {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background:
    conic-gradient(var(--toran-gold) 0deg 90deg, var(--toran-sand) 90deg 360deg);
  -webkit-mask: radial-gradient(closest-side, transparent 85%, #000 86%);
  mask: radial-gradient(closest-side, transparent 85%, #000 86%);
  animation: loadspin 1.1s linear infinite;
}
@keyframes loadspin { to { transform: rotate(360deg); } }

.loadtext {
  font-family: var(--font-display); font-weight: 500; font-size: 22px;
  letter-spacing: var(--tracking-tight); color: var(--text);
}
.loaddots i {
  font-style: normal; opacity: .25;
  animation: loaddot 1.2s infinite;
}
.loaddots i:nth-child(2) { animation-delay: .2s; }
.loaddots i:nth-child(3) { animation-delay: .4s; }
@keyframes loaddot { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }

/* Respect the system setting. A spinning ring is exactly what this is for. */
@media (prefers-reduced-motion: reduce) {
  .loadring::before, .loaddots i { animation: none; }
}

/* ---- sample site banner ---- */
.samplebar {
  position: sticky; top: 0; z-index: 80;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 20px; background: var(--toran-teal-deep); color: #fff;
  font-family: var(--font-body); font-size: 14px;
}
.samplebar__home {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; text-decoration: none; font-family: var(--font-display);
  font-size: 17px; letter-spacing: .02em; white-space: nowrap;
}
.samplebar__home:hover { color: var(--toran-gold); }
.samplebar__arrow { font-size: 14px; opacity: .65; }
.samplebar__home:hover .samplebar__arrow { opacity: 1; }
.samplebar__tag {
  padding: 3px 10px; border-radius: 999px; background: var(--toran-gold);
  color: var(--toran-teal-deep); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.samplebar__text { color: var(--toran-sand); flex: 1 1 240px; }
/* `wrap`, because this row grew from three designs to six. `.samplebar` has
   wrapped since it was written, so the row drops to its own line, but its own
   contents did not: at 375 the five other designs plus "Make mine" measured
   386px against a 375px viewport and the whole page scrolled sideways. Found
   at 375 on 18 Nov 2026 while adding four more sample weddings, and present
   on the existing sample too — a sample page is the one place a horizontal
   scrollbar cannot be explained away, because the page is the argument. */
.samplebar__links { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; }
.samplebar__links a { color: var(--toran-sand); text-decoration: none; font-size: 14px; }
.samplebar__links a:hover { color: #fff; }
.samplebar__cta {
  padding: 8px 16px; border-radius: 999px;
  background: var(--toran-gold); color: var(--toran-teal-deep) !important;
  font-weight: 600;
}
@media (max-width: 560px) {
  .samplebar { font-size: 13px; padding: 9px 16px; gap: 10px; }
  .samplebar__text { flex-basis: 100%; order: 3; font-size: 12px; }
  .samplebar__home { font-size: 15px; }
}

/* ---- hero bullets, Zola's pattern: three objections, not a subheadline ---- */
.herolist {
  list-style: none; padding: 0; margin: 22px auto 30px; max-width: 560px;
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.herolist li { display: flex; gap: 11px; align-items: flex-start; font-size: 17px; color: var(--text-muted); }
.herolist .tick { margin-top: 4px; }
.hero--split h1 em { font-style: normal; font-weight: 300; color: var(--brand); }

.chip--occ {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-muted); cursor: default; background: var(--toran-white);
}
.chip--occ svg { color: var(--toran-amber); }

@media (max-width: 860px) {
  .herolist { margin: 18px 0 24px; }
  .herolist li { font-size: 15px; }
}

/* ---- sample site cards: browser chrome so they read as sites, not cards ---- */
.samplecard {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden; transition: transform .12s ease;
}
.samplecard:hover { transform: translateY(-3px); border-color: var(--brand); }
.samplecard__chrome {
  display: flex; align-items: center; gap: 5px; padding: 9px 12px;
  background: var(--toran-surface); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.samplecard__chrome i {
  width: 7px; height: 7px; border-radius: 999px; background: var(--border);
}
.samplecard__chrome em {
  font-style: normal; margin-left: 8px; font-size: 11px; color: var(--text-subtle);
  /* An address bar truncates; it does not wrap. On a 160px phone column the
     variant cards' label ran to two lines and put 18px on each of six cards,
     and a two-line address bar is the one detail that stops the chrome
     reading as chrome. */
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.samplecard__page {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 44px 18px; text-align: center; min-height: 150px;
}
.samplecard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px;
}
.samplecard__foot strong { display: block; font-size: 16px; }
.samplecard__foot em {
  font-style: normal; display: block; font-size: 13px;
  color: var(--text-subtle); margin-top: 3px;
}
.samplecard__go { font-size: 14px; font-weight: 600; color: var(--brand); flex-shrink: 0; }
.plan__two { columns: 2; column-gap: 26px; }
.plan__two li { break-inside: avoid; margin-bottom: 12px; }
@media (max-width: 860px) { .plan__two { columns: 1; } }

/* ---- split hero: the copy, and the moment of sharing ---- */
.hero--split { text-align: left; }
.hero__grid {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 64px; align-items: center;
}
.hero--split h1 { font-size: clamp(38px, 4.6vw, 62px); margin: 14px 0 0; }
.hero--split .herolist { margin-left: 0; }
.hero--split .row { justify-content: flex-start; }
.hero--split p { margin-left: 0; }

/* The Hinglish line. Only one competitor in fourteen does this, and it is
   the strongest cultural signal available for the price of one line. */
.hinglish {
  font-family: var(--font-display); font-style: italic;
  font-size: 19px; color: var(--toran-amber-deep); margin: 0;
}

/* ---- the WhatsApp thread ----
   The survey's clearest finding: every competitor shows you the card. The
   one that shows the card *arriving* reframes the purchase from "a website"
   to "the thing that ends the nagging". It animates, because the point is
   the moment, and a still image is not a moment. */
.wa {
  border-radius: 26px; overflow: hidden; background: #ECE5DD;
  box-shadow: 0 24px 60px rgba(12, 59, 54, .18);
  border: 9px solid #10211C;
}
.wa__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px; background: #075E54; color: #fff;
}
.wa__avatar {
  width: 30px; height: 30px; border-radius: 999px; flex-shrink: 0;
  background: #25D366; color: #0B3D2E; display: grid; place-items: center;
}
.wa__who { flex: 1; min-width: 0; }
.wa__who strong { display: block; font-size: 13.5px; font-weight: 600; }
.wa__who em {
  font-style: normal; display: block; font-size: 10.5px; opacity: .78;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa__icons { display: flex; gap: 12px; opacity: .85; flex-shrink: 0; }

.wa__body {
  padding: 10px 10px 14px; display: flex; flex-direction: column; gap: 6px;
  background-color: #ECE5DD;
  background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 15px 15px;
  min-height: 390px;
}
.wa__day {
  align-self: center; background: #fff; border-radius: 6px;
  padding: 3px 10px; font-size: 10px; color: #667; margin-bottom: 2px;
  box-shadow: 0 1px 1px rgba(0,0,0,.06);
}

/* The bubble is sized by its text, and the timestamp floats so it sits at
   the end of the last line the way WhatsApp's does. Absolutely positioning
   it meant every line reserved 56px of right padding, which forced short
   messages to wrap for no reason. */
.wa__msg {
  align-self: flex-start; width: fit-content; max-width: 84%;
  background: #fff; border-radius: 9px 9px 9px 2px;
  padding: 6px 10px 6px 10px; font-size: 13px; line-height: 1.5; color: #111;
  box-shadow: 0 1px 1px rgba(0,0,0,.09);
}
.wa__msg::after { content: ''; display: block; clear: both; }
.wa__msg--me {
  align-self: flex-end; background: #DCF8C6;
  border-radius: 9px 9px 2px 9px;
}
.wa__time {
  float: right; margin: 7px 0 -2px 10px;
  font-size: 9.5px; color: #8a9499; white-space: nowrap;
}
.wa__time--me { color: #6a9c7a; }

/* the link preview card */
.wa__link { padding: 5px 5px 4px; max-width: 78%; width: auto; }
.wa__preview {
  display: block; background: #fff; border-radius: 6px;
  padding: 16px 12px 14px; text-align: center;
}
.wa__preview-top { display: block; margin-bottom: 7px; }
.wa__preview strong {
  display: block; font-family: var(--font-display);
  font-size: 21px; font-weight: 600; color: var(--text); letter-spacing: -0.02em;
}
.wa__preview em {
  font-style: normal; display: block; font-size: 9px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-subtle);
  margin-top: 4px;
}
.wa__count {
  display: flex; justify-content: center; gap: 4px; align-items: baseline;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.wa__count b {
  font-family: var(--font-display); font-size: 17px;
  font-weight: 600; color: var(--brand);
}
.wa__count s {
  text-decoration: none; font-size: 8px; color: var(--text-subtle);
  text-transform: uppercase; letter-spacing: .08em; margin-right: 6px;
}
.wa__url { display: block; padding: 5px 5px 0; font-size: 10.5px; color: #3f8f6d; }
.wa__link .wa__time { margin: 2px 5px 2px 10px; }

/* typing indicator */
.wa__typing {
  align-self: flex-start; background: #fff; border-radius: 9px 9px 9px 2px;
  padding: 10px 12px; display: flex; gap: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,.09);
}
.wa__typing i {
  width: 6px; height: 6px; border-radius: 999px; background: #b6bec2;
  animation: waType 1.3s infinite;
}
.wa__typing i:nth-child(2) { animation-delay: .18s; }
.wa__typing i:nth-child(3) { animation-delay: .36s; }
@keyframes waType {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.wa__rsvp {
  align-self: center; display: flex; align-items: center; gap: 7px;
  margin-top: 6px; padding: 5px 12px; border-radius: 999px;
  background: rgba(7, 94, 84, .1); font-size: 10.5px; color: #075E54;
}
.wa__rsvp-dot {
  width: 6px; height: 6px; border-radius: 999px; background: #25D366;
  animation: waPulse 1.8s infinite;
}
@keyframes waPulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* Everything after the first message starts hidden and is revealed in
   sequence by landing.js. With JS off, or reduced motion, it is all just
   visible, which is the correct fallback rather than an empty box. */
.wa.is-animating [data-step] { opacity: 0; transform: translateY(6px); }
.wa.is-animating [data-step].is-in {
  opacity: 1; transform: none;
  transition: opacity .28s ease, transform .28s ease;
}
.wa.is-animating .wa__typing { display: none; }
.wa.is-animating .wa__typing.is-in { display: flex; }

@media (prefers-reduced-motion: reduce) {
  .wa.is-animating [data-step] { opacity: 1; transform: none; }
  .wa__typing i, .wa__rsvp-dot { animation: none; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero--split { text-align: center; }
  .hero--split .herolist { margin-left: auto; margin-right: auto; }
  .hero--split .row { justify-content: center; }
  .hero__phone { max-width: 330px; margin: 0 auto; }
}

/* ---- savings slider ---- */
.slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 4px; border-radius: 999px; background: var(--toran-teal);
  outline: none; margin: 14px 0 10px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--toran-gold); cursor: grab; border: 0;
}
.slider::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--toran-gold); cursor: grab; border: 0;
}
.slider:active::-webkit-slider-thumb { cursor: grabbing; }

/* ---- trust strip ---- */
.trustrow {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.trustrow__item { display: flex; gap: 10px; align-items: flex-start; }
.trustrow__item strong { display: block; font-size: 15px; }
.trustrow__item em {
  font-style: normal; display: block; font-size: 13px;
  color: var(--text-subtle); margin-top: 2px;
}
@media (max-width: 980px) {
  .trustrow { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 560px) { .trustrow { grid-template-columns: 1fr; } }

/* The month-and-year jump. The title is a button now, so it needs to stop
   looking like a button and start looking like the heading it replaced. */
.dp__title {
  border: 0; background: none; padding: 4px 8px; border-radius: 6px;
  font-family: var(--font-display); font-size: 17px; font-weight: 600;
  color: var(--text); cursor: pointer;
}
.dp__title:hover { background: var(--toran-sand); }
.dp__title:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.dp__months {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px 0 2px;
}
.dp__month {
  padding: 12px 0; border: 0; border-radius: 8px; background: none;
  font-size: 14px; color: var(--text); cursor: pointer;
}
.dp__month:hover { background: var(--toran-sand); }
.dp__month.is-today { box-shadow: inset 0 0 0 1px var(--border); }
.dp__month.is-on { background: var(--brand); color: #fff; }
.dp__month:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }


/* ================================================================
   Desktop lives at the bottom of this file on purpose.

   The first attempt put it beside the other layout rules, around line 300,
   and only half of it worked: `max-width` applied because nothing else sets
   it, while every font-size was silently overridden by the base rules a
   hundred lines further down. Same specificity, later wins, and a media
   query buys no precedence at all.
   ================================================================ */

/* ---- the desktop pass ----

   The phone layout was rebuilt against A2m and came out well; the desktop one
   had not been touched since A2 and read, correctly, as the phone's type
   scale stretched across 1192 pixels. The h1 and the KPI numbers were 38px on
   both, which fills a card at 375 and floats in a 262px box at 1440, and the
   whole page fitted one screen with dead air under it.

   Three things, none of them structural:

   1. A ceiling on the measure. Past 1472 the page gains margin, not width;
      without it a 27 inch monitor gets a 1700px line of body copy.
   2. Display sizes that belong to the width they are shown at.
   3. Weight where the mobile layout already puts it. On a phone the red Due
      card is full width and dominates; on desktop it was one of four equal
      boxes, so the most urgent number on the page read as the least.
*/
@media (min-width: 1100px) {
  .main {
    width: 100%; max-width: 1472px; margin-inline: auto;
    --main-pad-top: 56px; --main-pad-x: clamp(48px, 4vw, 72px);
    padding: var(--main-pad-top) var(--main-pad-x);
  }

  .page-head { margin-bottom: 34px; }
  .page-head h1 { font-size: 46px; }
  .sub-line { font-size: 16px; }

  /* Not four equal columns. The two counts are small numbers that need little
     room; money needs more, and the money that is actually due needs most. */
  .kpis { grid-template-columns: 1fr 1fr 1.2fr 1.4fr; gap: 20px; margin-bottom: 34px; }
  .kpi { padding: 26px 28px; }
  .kpi b { font-size: 44px; }
  .kpi em { font-size: 15px; margin-top: 8px; }
  .kpi--due b { font-size: 52px; }

  .grid--wide { gap: 24px; }
  .grid--wide > .card { padding: 30px 32px; }
  .card-title { font-size: 26px; }

  /* The panels were ending well short of the fold with nothing under them.
     Letting the rows breathe fills the page honestly, rather than padding it. */
  .cbars { margin-top: 24px; gap: 18px; }
  .cbar { grid-template-columns: 136px 1fr 52px; gap: 18px; }
  .cbar__name { font-size: 17px; }
  .cbar__track { height: 13px; }
  .cbar__n { font-size: 18px; }

  .feed-row { padding: 15px 0 15px 16px; }
  .feed-row + .feed-row { margin-top: 6px; }
}

/* A sidebar sized for a laptop looks mean beside 1472px of content. */
@media (min-width: 1440px) {
  .shell { grid-template-columns: 276px 1fr; }
  .side { padding: 32px 20px; }
}

/* ---- the rail, collapsed (12 Nov 2026) ----------------------------------

   Pulkit asked for a rail that collapses to icons. `railToggle` in
   src/views/layout.ts carries why it is a form and a cookie rather than a
   script and localStorage; this is what the two classes it sets do.

   **It has to sit below the 1440px block above.** `.shell--thin` and `.shell`
   are both one class, so they have identical specificity and a media query
   adds none: put this before that block and `grid-template-columns: 276px`
   silently wins back the width on exactly the screens Pulkit uses. Measured
   that way round first, which is how the rule ended up here with a comment
   on it.

   72px, not 64: the row is a 20px glyph inside 11px of padding, which is 42px
   of tap target, and 72 leaves 15px of rail either side of it so the icons
   read as a column rather than as something pressed against an edge. */
.shell--thin { grid-template-columns: 72px 1fr; }
.side--thin { padding: 28px 12px; }

/* ---- [HDR-7] ...and uncollapsed again on a phone, which has no rail ------
   (12 Nov 2026.) The same specificity-ordering trap the comment above
   describes for the 1440px block, one breakpoint down, and it had shipped.

   `toran_rail` is a cookie on the browser, not a setting per screen. Collapse
   the rail on a laptop, open the dashboard on a phone, and the server still
   renders `.shell--thin`. The phone block at `max-width: 860px` sets
   `.shell { grid-template-columns: 1fr }`, but both selectors are one class
   and that block sits ~1,100 lines EARLIER, so `72px 1fr` won. The rail is
   `display: none` there, so it leaves the grid and `.main` takes the first
   track: **measured at 375, `.main` was 72px wide with 102px of its own
   horizontal overflow.** The whole dashboard in a 72px column.

   It is not reachable from a phone alone, which is why it survived a day --
   you have to collapse the rail somewhere else first, and the cookie lasts a
   year. Nothing on a phone can clear it.

   Reset here rather than by wrapping the block above in a `min-width` query:
   one rule, next to the rule it corrects, in the order that makes it win. */
@media (max-width: 860px) {
  .shell--thin { grid-template-columns: 1fr; }
}

/* The garland keeps its place and the wordmark goes; the control drops under
   it, because side by side in 48px of content box they would each get 24. */
.side--thin .side__top { flex-direction: column; gap: 10px; padding-bottom: 18px; }
.side--thin .side__top .brandmark { padding: 0; }
.side--thin .side__top .brandmark span { display: none; }

.side--thin .side__nav a { justify-content: center; padding: 11px 0; gap: 0; }
/* The label, off-screen rather than deleted: it is still the link's
   accessible name, so a screen reader reads "Guest list" with the rail shut.
   The declarations are `.vh`'s, written out because the class cannot be
   applied conditionally by a stylesheet. */
.side--thin .side__nav a > span,
.side--thin .acct > summary > span {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* A "Coming soon" row is a word and nothing else -- there is no icon that
   means it -- so collapsed it is not drawn rather than drawn blank. `SOON` is
   empty today; this is here so the next thing announced before it ships does
   not put an unlabelled 42px hole in a shut rail. */
.side--thin .side__nav .soon { display: none; }

/* The account control is the one thing in here that cannot become an icon
   and keep working: its panel is a list of 44px text rows, and in a 48px
   content box it is unreadable. So collapsed it steps out of the rail to the
   right.

   That needs `overflow: visible`, which `.is-app .side` sets to hidden. The
   hidden there stops the *rail* scrolling; the scrolling it was protecting
   belongs to `.side__nav`, which has its own `overflow-y: auto` and its own
   `min-height: 0` and keeps both. Measured at 1440x900 with the menu open:
   the panel is 248px at x=80..328, fully on screen, and
   `document.documentElement.scrollWidth` is unchanged at the viewport width.

   `.is-app .side--thin`, not `.side--thin`: the rule being taken back is
   `.is-app .side`, which is two classes. Written as one it loses silently --
   the panel measures 248px wide and fully on screen in the box model and is
   simply not painted, which is how it was found. */
.is-app .side--thin { overflow: visible; }
.side--thin .acct { position: relative; }
.side--thin .acct > summary { justify-content: center; padding: 9px 6px; }
/* The chevron pointed up at a panel that is now to the side, and there is no
   room for it beside the avatar either. */
.side--thin .acct > summary > svg { display: none; }
.side--thin .acct__menu--rail {
  position: absolute; left: calc(100% + 10px); bottom: 0;
  width: 248px; margin-bottom: 0; z-index: 60;
}

/* ---- the design editor ----

   Blocks on the left, the real site on the right. The preview is an iframe of
   /s/:slug?preview=1, not a drawing of it, so it cannot drift from what a
   guest sees. Sticky because the block list is short and the page it previews
   is long; scrolling the list should not scroll the thing you are judging. */
/* ## The preview's width is a size, so the viewport sets it (17 Nov 2026)

   `minmax(320px, 420px) 1fr` paid the panel its 420 before the preview got
   anything, and the preview's content is a 390px phone. So between 1001 --
   the first pixel of this layout -- and about 1180 the frame was squeezed
   below 390: measured 230px at 1020, 270 at 1060, 350 at 1140. The couple
   composed against a site narrower than any phone has ever been, under a
   button that says Phone, which is exactly the "convincing lie" the note on
   `.editor__stage` already refuses for Desktop. And at 1000 the one-column
   layout gives the frame its full 390, so dragging a window one pixel wider
   took 160px off it.

   Pulkit, 17 Nov 2026: *"things should respond to user viewport."* A second
   breakpoint would have papered over the cliff and left the same mistake one
   pixel further along, so the track says what it wants instead.

   `100%` in a track resolves against the grid's own inline size, so the
   panel now takes what is left after the preview's minimum, clamped to the
   320-420 it always had. `--ed-pv-min` is that minimum: the 390px frame, its
   two borders, and the gap. One number, derived, in one place.

   Continuous, measured: at a 713px content box (a 1001px window) the panel
   is at its 320 floor and the preview is 369; by 1024 the preview is 392 and
   stays there; past about 1124 the panel is back at its full 420 and every
   further pixel goes to the preview. No jump anywhere in between, and the
   grid's minimum can no longer exceed its container, so there is nothing to
   overflow. */
.editor {
  --ed-pv-min: calc(390px + 2px + 24px);
  display: grid;
  grid-template-columns: clamp(320px, calc(100% - var(--ed-pv-min)), 420px) 1fr;
  gap: 24px; align-items: start;
}
.editor__panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.editor__preview {
  /* ## Its height comes from where it is pinned (17 Nov 2026)

     Was `calc(100vh - 140px)` with `min-height: 520px`. 520 was a floor that
     did not know how tall the window was: at 1280x500 the preview was 520px
     in a 500px viewport, pinned, so 44px of it sat below the fold with no
     way to reach it -- a sticky box cannot be scrolled to. And 140 was two
     numbers hiding in one, right only while `--main-pad-top` was 56.

     A sticky `top` resolves against the scrollport's CONTENT edge, which is
     below `.main`'s own top padding -- the same fact `[HDR-4]` is built on.
     So this box is pinned `--main-pad-top + --ed-pv-top` from the top of the
     window, and the room it has is what is left of the window after that,
     less the same gap again so it does not sit on the bottom edge.

     Every term is read rather than guessed: the padding from the property
     `.main` publishes, the offset from the one place the offset is set.
     Change either and the height follows. `dvh` for the reason `.is-app`
     gives. Measured at 1280x768: pinned at y=80, 664 tall, bottom at 744 --
     24px of air, the same 24 at every window height down to 400. */
  --ed-pv-top: 24px;
  position: sticky; top: var(--ed-pv-top);
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; background: #fff;
  height: calc(100dvh - var(--main-pad-top, 0px) - var(--ed-pv-top) * 2);
  /* A column of two: the device bar, then the stage taking whatever is left.
     See `.editor__stage` for the hardcoded 45px this replaced. */
  display: flex; flex-direction: column;
}
.editor__preview iframe { width: 100%; height: 100%; border: 0; display: block; }

.blks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.blk {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--toran-surface);
}
/* The row is a header plus a panel now, so the three-column grid that used
   to sit on .blk moved down to the header. */
.blk__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px;
}
.blk__open {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  text-align: left; cursor: pointer; min-width: 0;
}
.blk__open:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.blk__chev {
  width: 8px; height: 8px; flex: none;
  border-right: 1.6px solid var(--text-subtle); border-bottom: 1.6px solid var(--text-subtle);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .14s ease;
}
.blk__open[aria-expanded="true"] .blk__chev { transform: rotate(-135deg) translate(-2px, -2px); }
.blk.is-dragging { opacity: .4; }
.blk[data-on="0"] { background: transparent; }
.blk[data-on="0"] .blk__body { opacity: .5; }
.blk__grip { cursor: grab; color: var(--text-subtle); font-size: 15px; line-height: 1; user-select: none; }
.blk:active .blk__grip { cursor: grabbing; }
.blk__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.blk__body strong { font-size: 15px; font-weight: 600; }
.blk__what { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
/* Said out loud, because the renderer has always dropped an empty section and
   an editor that does the same silently just looks broken. */
.blk__empty { font-size: 12px; color: var(--toran-amber-deep); margin-top: 2px; }

.blk__acts { display: flex; align-items: center; gap: 4px; }
.blk__mv {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 13px; line-height: 1; color: var(--text);
}
.blk__mv:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.blk__mv:disabled { opacity: .3; cursor: default; }

/* A switch, built from a button so it is a real control: focusable, operable
   from a keyboard, and announced by its role and aria-checked. */
.blk__on {
  width: 44px; height: 26px; margin-left: 4px; padding: 3px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--toran-hairline); cursor: pointer;
  display: flex; align-items: center; transition: background .14s ease;
}
.blk__on i { width: 18px; height: 18px; border-radius: 999px; background: #fff;
  display: block; transition: transform .14s ease; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.blk__on[aria-checked="true"] { background: var(--brand); border-color: var(--brand); }
.blk__on[aria-checked="true"] i { transform: translateX(18px); }
.blk__on:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* One column on anything narrow. A side-by-side editor needs a side.
   The override that used to be here -- `grid-template-columns: 1fr` and a
   `static` preview after the panel -- is replaced by `[MOBILE-5]` at the end
   of this file, which pins the preview to the top instead. It is replaced
   rather than extended because `position: static` is the defect: it put the
   live preview between 2,596px and 6,482px below the control driving it. */
@media (prefers-reduced-motion: reduce) {
  .blk__on, .blk__on i { transition: none; }
}

/* A slider with its value beside it. (11 Nov 2026.)

   One control in the panel so far -- how strongly a garland of the couple's
   own colour is painted. A range rather than a number box because it is a
   "until it looks right" decision and the preview repaints as it is dragged;
   the output is there so the control can be read as well as dragged.

   The thumb and track are the browser's. Dressing a range properly means
   four vendor pseudo-elements and a different set per engine, and this is
   one slider in one panel: the box it sits in is ours, the rest is the
   platform's, and the platform's is accessible. */
.rng { display: block; margin-top: 14px; }
.rng__row { display: flex; align-items: center; gap: 10px; }
.rng__row input[type="range"] { flex: 1 1 auto; min-width: 0; accent-color: var(--brand); }
.rng__out {
  flex: none; min-width: 42px; text-align: right;
  font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--text-subtle);
}

/* ---- the card's settings, above the block list ---- */
.cardset { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.cardset__h { font-size: 18px; font-weight: 600; margin: 0 0 2px; }
/* ---- a group of controls inside one row's panel ----
   Stronger than `.cardset__label` on purpose: the labels are all one size
   and weight, which is what made fifteen of them read as a single
   undifferentiated list. This is the only thing in the panel allowed to
   outrank them. */
.cardset__grp {
  margin: 22px 0 10px; font-size: 13px; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--text);
  font-family: var(--font-display);
}
.cardset__grp:first-of-type { margin-top: 4px; }
.cardset__label {
  display: block; margin: 16px 0 7px;
  font-size: 11px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-muted);
}
/* Two names side by side, because they are one decision. Stacks on a narrow
   panel rather than squeezing two 60-character fields into half a column. */
.cardset__pair { display: flex; flex-wrap: wrap; gap: 8px; }
.cardset__pair > .cardset__in { flex: 1 1 140px; min-width: 0; }
.cardset__in {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 10px; background: #fff; font-size: 15px;
}
.cardset__in:focus { outline: none; border-color: var(--brand); }
.cardset__pick { margin-bottom: 2px; }
/* A pick-one row. aria-pressed carries the state, so the styling follows the
   thing a screen reader is already reading rather than a parallel class. */
.chips--pick .chip { cursor: pointer; font-size: 13.5px; padding: 7px 14px; }
.chips--pick .chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---- a palette of their own ----
   Two swatches, each with the hex beside it. The swatch is what a phone can
   actually use and the hex is what a stationer hands you on a piece of paper;
   they are one field with two faces, kept in step by editor.js. */
.cardset__pal {
  display: grid; gap: 12px; margin: 2px 0 16px; padding: 14px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--toran-surface);
}
.cardset__pal[hidden] { display: none; }
.pal { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
/* A colour input draws its own chrome in every browser and none of it matches
   anything here, so the swatch is the control with the chrome clipped off. */
.pal__dab {
  width: 46px; height: 46px; padding: 0; border: 1px solid var(--border);
  border-radius: 10px; background: none; cursor: pointer; flex: none;
  -webkit-appearance: none; appearance: none;
}
.pal__dab::-webkit-color-swatch-wrapper { padding: 0; }
.pal__dab::-webkit-color-swatch { border: 0; border-radius: 9px; }
.pal__dab::-moz-color-swatch { border: 0; border-radius: 9px; }
.pal__dab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.pal__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pal__l {
  font-size: 11px; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-subtle);
}
.pal__hex {
  width: 9.5em; padding: 6px 9px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; font-size: 13.5px; font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.pal__hex:focus { outline: none; border-color: var(--brand); }

/* ---- the swatch on the input's row (item 9, 12 Nov 2026) ----

   `.pal` is a swatch beside a stack of three, so the swatch can align with
   the top of the stack and nothing else: measured at 1440x900, a 46px
   swatch starting level with the label and ending 26px into the 36px input.

   Here the label is above both and the swatch is the input's own row.
   `align-items: stretch` rather than a height, so the two boxes are exactly
   equal whatever the input's padding becomes -- a number here would be a
   second place that decides how tall a text input is. */
.pal--row {
  grid-template-columns: auto 1fr;
  align-items: stretch;
  column-gap: 10px; row-gap: 6px;
}
.pal--row .pal__l { grid-column: 1 / -1; }
.pal--row .pal__dab { width: 36px; height: auto; align-self: stretch; border-radius: 8px; }
.pal--row .pal__dab::-webkit-color-swatch { border-radius: 7px; }
.pal--row .pal__dab::-moz-color-swatch { border-radius: 7px; }
.pal--row .pal__hint { grid-column: 1 / -1; }

/* A second row of chips under the one that reveals it: the gradient styles
   under Background. Indented and quieter, so it reads as "inside Gradient"
   rather than as a fourth background. */
.chips--sub {
  margin-top: 8px; padding-left: 12px;
  border-left: 2px solid var(--toran-hairline);
}
.chips--sub .chip { font-size: 12.5px; padding: 6px 12px; }
#cardGradient[hidden] { display: none; }

/* The header's link labels. The same .pf rows a block panel uses, so there is
   one field style in this editor rather than two. */
.navlabels { display: flex; flex-direction: column; gap: 8px; }

/* ---- preview: desktop or phone ----
   The frame is narrowed, never scaled. A scaled-down desktop render would
   show the desktop layout at phone size, which is a convincing lie about
   what a guest sees; at 390px the site's own media queries fire. */
.editor__device {
  display: flex; gap: 6px; align-items: center; padding: 10px 12px;
  border-bottom: 1px solid var(--border); background: var(--toran-surface);
}
.editor__device .chip { cursor: pointer; font-size: 13px; padding: 6px 14px; }
.editor__device .chip[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Draft or published, said above the frame instead of inside it. The document
   used to carry this as a sticky bar, which in here covered the top of the
   hero — the thing the preview exists to show. */
.editor__state {
  margin: 0 0 0 auto; display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: var(--text-subtle); min-width: 0;
}
.editor__state a { color: var(--brand); font-weight: 600; white-space: nowrap; }
.editor__dot {
  width: 7px; height: 7px; border-radius: 999px; flex: none;
  background: var(--warning); box-shadow: 0 0 0 3px var(--warning-tint);
}
.editor__dot.is-live { background: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }

/* Saved / Saving… / a save failed, mirrored off `#edState` in the page head.
   Hidden here by default: above 1000px the head is pinned and says this
   already, and two copies of one sentence in one viewport is noise. Shown by
   `[MOBILE-5]`, where the head scrolls and this bar does not. */
.editor__save {
  display: none; flex: none; margin-left: 10px;
  font-size: 12.5px; color: var(--text-subtle); white-space: nowrap;
}
.editor__save[data-phase="failed"],
.editor__save[data-phase="signedout"],
.editor__save[data-phase="toolong"] { color: var(--warning); font-weight: 600; }

/* At phone width the bar would wrap the buttons; the note drops under them.
   `[MOBILE-5]` overrides this: once the bar is the only chrome permanently on
   screen, a second row of it costs more than the sentence is worth. */
@media (max-width: 560px) {
  .editor__device { flex-wrap: wrap; }
  .editor__state { margin-left: 0; width: 100%; }
}
/* ## The stage is what is left, not a guess at it (16 Nov 2026)

   This was `height: calc(100% - 45px)`, where 45 was a hardcoded guess at
   the device bar's height. The bar has never been 45px. It is 55.8 at
   1440x900, 91 below 560px -- where `.editor__device` wraps and the
   Draft/Published line drops to its own row -- and 65 in short landscape.
   `.editor__preview` is `overflow: hidden`, so every pixel of that error
   clipped the bottom of the frame: measured 44.0px at 320, 360, 375, 390,
   412 and 430, 18 in landscape, and 8.8 on the laptop Pulkit is happy with.
   docs/17-editor-on-a-phone.md D3.

   A custom property would have let the number be set per band, which is the
   same mistake with more places to be wrong. The preview is a flex column
   now and the stage takes the remainder, so the bar can be any height at any
   width and nothing is clipped. There is no number left to get wrong. */
.editor__stage {
  flex: 1 1 auto; min-height: 0;
  display: flex; justify-content: center;
  background: var(--toran-surface);
  /* For `.ed-wait`, which has to sit over the frame rather than beside it. */
  position: relative;
}
.editor__stage iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.editor__preview.is-phone .editor__stage iframe {
  width: 390px; max-width: 100%;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}

/* ## Desktop means a desktop viewport (11 Nov 2026)

   The two buttons over the preview say Desktop and Phone, and until today
   both of them rendered a phone. The panel takes its share of the window, so
   the frame is about 600px wide at 1440 -- below the 900px at which the
   guest stylesheet puts the header links behind a burger. Measured: frame
   innerWidth 603, `.nav-menu` display none, `.nav-toggle` display block, on
   a 1440px screen. Pulkit, on that burger: a phone pattern on a desktop.

   The frame was narrowed rather than scaled on purpose, and the note on the
   Phone button still holds -- a zoomed-out desktop render would show the
   wrong layout convincingly. That is the argument for Phone and it is the
   argument *against* what Desktop was doing: a narrowed frame shows the
   phone layout convincingly, under a button that says Desktop.

   So Desktop lays the page out at `--desk-w` and scales the result down to
   the column, which is a small true picture rather than a large wrong one.
   Phone is unchanged: 390px, 1:1, no transform, its own media queries. The
   scale is set by editor.js, which is the only thing that can measure the
   column; without it both custom properties fall back to 1 and the frame
   fills the stage exactly as it did before. */
.editor__preview:not(.is-phone) .editor__stage { justify-content: flex-start; overflow: hidden; }
.editor__preview:not(.is-phone) .editor__stage iframe {
  /* The stage is a flex row, so a frame asked for 1100px in a 600px column
     shrinks to 600 and the transform then scales *that* -- measured: a
     computed width of 602.8px under a `--desk-w` of 1100px, which is the
     phone layout at 55%. The frame is sized by this rule, not by the box
     it is in. */
  flex: none;
  width: var(--desk-w, 100%);
  height: calc(100% / var(--desk-scale, 1));
  transform: scale(var(--desk-scale, 1));
  transform-origin: top left;
}

/* ---- the preview, while it is loading ------------------------------- *
   A language switch is a real round trip to the server (the words are the
   server's), and between the navigation committing and the HTML arriving the
   iframe holds an empty document: the pane is white and says nothing. On
   11 Nov 2026 that was reported as the preview breaking on Both. It was not
   breaking, it was loading without saying so.

   `editor.js` adds this after 160ms, not immediately, so a switch that is
   already over does not get a second flicker to explain the first.

   Over the frame rather than instead of it: the frame keeps its size, so
   nothing in the pane moves when this comes and goes. */
.ed-wait {
  position: absolute; inset: 0; z-index: 2;
  display: none; place-items: center;
  background: var(--toran-surface);
}
.editor__stage.is-waiting .ed-wait { display: grid; }
.ed-wait__t {
  font-size: 13px; color: var(--text-subtle);
  /* The pane it covers is a page, so it reads as one rather than as chrome. */
  font-family: var(--font-display); letter-spacing: 0.01em;
}
@media (prefers-reduced-motion: no-preference) {
  /* It only ever shows when the wait is long enough to notice, so arriving
     gently is what keeps it from being the flash it exists to remove. */
  .editor__stage.is-waiting .ed-wait { animation: edWaitIn 140ms ease-out both; }
  @keyframes edWaitIn { from { opacity: 0; } to { opacity: 1; } }
}


/* ---- a block's own panel -------------------------------------------- *
   Server-rendered and hidden rather than fetched on open: every one of
   these is small, and a panel that arrives over the network is a panel
   that can fail to arrive. */
.blk__panel {
  padding: 2px 14px 14px; border-top: 1px solid var(--border); margin: 0 0 0 0;
}
.blk__panel[hidden] { display: none; }
.pf-intro { font-size: 12.5px; color: var(--text-subtle); line-height: 1.5; margin: 12px 0 14px; }
.pf-note { font-size: 12px; color: var(--text-subtle); line-height: 1.5; margin: 8px 0 0; }
/* The video cover's two affordances (12 Nov 2026, ADR 0020).

   The cover is taken from the film, so the panel's job is to say what
   happened and keep the picker within reach rather than in the way --
   Pulkit asked for the picker to go, and the privacy reason it exists means
   it cannot. `.pf-more` is that demotion: a disclosure, shut by default, so
   a couple who wants nothing does nothing.

   `.pf-link` is a button that reads as a sentence, because what it does is
   one: "use the film's own picture instead" is not a noun on a control, it
   is the end of the line it sits in. */
.pf-link {
  font: inherit; color: var(--brand); background: none; border: 0; padding: 0;
  text-decoration: underline; cursor: pointer;
}
.pf-more { margin-top: 8px; }
.pf-more > summary {
  font-size: 12px; color: var(--text-subtle);
  cursor: pointer; list-style: revert; padding: 2px 0;
}
.pf-more[open] > summary { margin-bottom: 4px; }
.pf-group {
  border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  margin-top: 10px; background: var(--surface, #fff);
}
/* What a ceremony op just did, on the row it did it to. (11 Nov 2026.)

   Add, move and remove are form posts, so each one is a page load, and the
   editor scrolls `main` rather than the document -- nothing is restored and
   you arrive at the top with the thing you changed far below. The sentence
   is the message and the row is the signpost; `editor.js` scrolls here and
   adds `is-flash` for a couple of seconds.

   The ring is the only part that fades. The sentence stays until the next
   load, because a message that removes itself is one you can miss twice. */
.pf-flash {
  margin: 0 0 10px; font-size: 12.5px; line-height: 1.45;
  color: var(--brand); font-weight: 600;
}
.pf-group[data-flash] { border-color: var(--brand); }
.is-flash { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
/* On the element that keeps the attribute, not on `.is-flash` -- a
   transition declared by the class only exists while the class does, so it
   would fade in and snap off. */
[data-flash] { transition: box-shadow .25s ease; }
@media (prefers-reduced-motion: reduce) { [data-flash] { transition: none; } }

.pf-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pf-row > .pf { flex: 1 1 140px; min-width: 0; }
.pf { display: block; margin-top: 10px; }
.pf-row > .pf:first-child, .pf-group > .pf:first-child { margin-top: 0; }
.pf__l {
  display: block; font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-subtle); margin-bottom: 5px;
}
.pf__i {
  width: 100%; padding: 9px 10px; font: inherit; font-size: 13.5px;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: inherit;
}
.pf__i:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.pf-list { list-style: none; margin: 0; padding: 0; }
.pf-list li {
  display: flex; justify-content: space-between; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--border); font-size: 13px;
}
.pf-list li:last-child { border-bottom: 0; }
.pf-list span { color: var(--text-subtle); }

@media (prefers-reduced-motion: reduce) { .blk__chev { transition: none; } }
.pf__t { resize: vertical; min-height: 120px; line-height: 1.55; font-family: inherit; }
.pf-pick { margin-top: 12px; }
.pf-pick .pf__l { margin-bottom: 7px; }
.cardset__music { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cardset__up { margin: 0; }
.cardset__drop {
  background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px;
  color: var(--text-subtle); text-decoration: underline; cursor: pointer;
}
.cardset__drop:hover { color: var(--toran-rust, #a4432b); }
.cardset__switch {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
}
.cardset__switch span { display: flex; flex-direction: column; gap: 3px; }
.cardset__switch .blk__on { flex: none; margin-top: 2px; }

/* ---------------------------------------------------------------------------
   The wedding's own structure, in the design tab's block panels.

   Settings was a flat stack of cards, and once Functions and the reply form
   joined it the page became longer than everything else on it put together.
   Three group headings give it a spine. Deliberately not tabs: a tab strip
   inside a settings page hides half the page behind a click and turns "where
   is the thing I came for" into a guess.

   .set__h is the group heading. Rows rather than a table on purpose. A table of functions wants six columns
   (name, date, time, venue, replies, actions) and the front-end rule here is
   that nothing may exceed the viewport at 375px. A row that stacks is the one
   shape that keeps every control reachable on a phone without a scroller.
   --------------------------------------------------------------------------- */

/* Sits above a group of cards, in the sidebar's own label voice so it reads
   as structure rather than as another card's title. */
.set__h {
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; color: var(--toran-gold); margin: 30px 0 0;
}
.page-head + .set__h { margin-top: 4px; }

.setup-list { list-style: none; margin: 0; padding: 0; counter-reset: fn; }
.setup-row {
  border-bottom: 1px solid var(--border); padding: 13px 0;
  display: flex; flex-direction: column; gap: 10px;
}
.setup-row:last-child { border-bottom: 0; }
.setup-row__main {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.setup-row__main strong { font-size: 14.5px; font-weight: 600; }
.setup-row__meta { flex: none; text-align: right; }
.setup-row__acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* The reorder pair. 32px square, which is the smallest a thumb reliably hits,
   and a real <button> inside its own form so it works with JS off. */
.setup-move {
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--border); background: var(--toran-white);
  color: var(--text-subtle); font-size: 13px; line-height: 1;
}
.setup-move:hover:not(:disabled) { border-color: var(--brand); color: var(--brand); }
.setup-move:disabled { opacity: .35; cursor: default; }

.setup-link { color: var(--brand); font-weight: 600; text-decoration: none; }
.setup-link:hover { text-decoration: underline; }
/* Remove is a link, not a button, and it is the quietest thing in the row.
   Deleting a ceremony destroys replies guests have already given, so it must
   never be the control the eye lands on first. */
.setup-link--quiet { color: var(--text-subtle); font-weight: 500; margin-left: auto; }
.setup-link--quiet:hover { color: var(--danger); }

/* The second press. Red, and it says how many replies it is about to take. */
.setup-danger {
  border: 1px solid var(--danger); border-radius: 12px;
  padding: 13px 14px; background: color-mix(in srgb, var(--danger) 5%, transparent);
}
.setup-danger p { margin: 0 0 4px; }
.setup-danger p:last-of-type { margin-bottom: 0; }
.setup-danger__go { background: var(--danger); border-color: var(--danger); color: #fff; }
.setup-danger__go:hover { background: var(--danger); filter: brightness(.92); }

.setup-add { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.setup-add__h {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--text-muted); margin: 0 0 10px;
}

/* ---- the add form, folded ----
   At the top of the Functions panel now, and shut, so six empty fields are
   not sitting above three real ceremonies. A `<details>` rather than a
   button and a class: the form inside is a real post, so the thing that
   opens it must work before any script does.

   `--fold` drops the top border and margin the flat version carried, since
   it is no longer a section appended to the end of a list. */
.setup-add--fold { margin-top: 0; padding-top: 0; border-top: 0; margin-bottom: 14px; }
.setup-add--fold > .setup-add__h { margin: 0; }
.setup-add__sum {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px;
  padding: 11px 12px; cursor: pointer; list-style: none;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-raised);
}
.setup-add__sum::-webkit-details-marker { display: none; }
.setup-add__sum::after {
  content: '+'; margin-left: auto; font-size: 16px; line-height: 1;
  color: var(--text-muted);
}
.setup-add--fold[open] > .setup-add__sum { border-radius: 10px 10px 0 0; }
.setup-add--fold[open] > .setup-add__sum::after { content: '\2212'; }
.setup-add__sum:hover { border-color: var(--brand); }
.setup-add__sum:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.setup-add__hint { font-size: 12.5px; color: var(--text-muted); }
.setup-add--fold[open] > form,
.setup-add--fold[open] > .pf-flash {
  border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 10px 10px; padding: 14px 12px; margin-top: 0;
}

.setup-checks { display: flex; flex-direction: column; gap: 2px; }
.setup-check {
  display: flex; align-items: flex-start; gap: 11px; cursor: pointer;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.setup-check:last-child { border-bottom: 0; }
.setup-check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--brand); }
.setup-check span { display: flex; flex-direction: column; gap: 2px; }
.setup-check strong { font-size: 14px; font-weight: 600; }

@media (max-width: 560px) {
  .setup-row__main { flex-direction: column; gap: 4px; }
  .setup-row__meta { text-align: left; }
}

/* "What they told you" — the guest list's foot. Messages are prose, so they
   get a quotation's measure and not a table cell. */
.told-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.told {
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: 12px; padding: 13px 15px;
}
.told__msg {
  margin: 7px 0 0; padding-left: 12px; border-left: 2px solid var(--toran-gold);
  font-size: 14px; line-height: 1.55; color: var(--text);
}
.told__qs { display: grid; gap: 7px; margin-top: 10px; }
.told__q { display: flex; flex-direction: column; gap: 1px; }



/* ---- budget: a section per ceremony ----
   The guest list's shape applied to money. One block per ceremony, then one
   for spend that covers more than one day, then the sum of the two.

   .bsec is deliberately not .card: a card has a border and a shadow, and six
   of them stacked reads as six unrelated things. A section is a heading with
   its own figures and its own table, separated by a rule, which reads as one
   document with parts. */
.bsec { padding: 22px 0 26px; border-top: 1px solid var(--border); }
.bsec:first-of-type { border-top: 0; padding-top: 4px; }
.bsec__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.bsec__head h3 {
  margin: 0; font-size: 21px; font-weight: 600; font-family: var(--font-display);
}
.bsec__head p { margin: 3px 0 0; }

/* Four figures across, each one a label over a number. auto-fit rather than a
   fixed count because Overdue is only there when there is some, and three
   figures should fill the row rather than leave a gap where it would be. */
.bsec__figs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px 18px; margin: 16px 0 12px;
}
.bfig { display: flex; flex-direction: column; gap: 1px; }
.bfig b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }

/* The arithmetic, shown rather than asserted. Wraps on a phone, where the
   plus signs end up at the start of a line, which still reads as a sum. */
.badds { margin-top: 22px; background: var(--toran-surface); border: 0; }
.badds__sum {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; margin-top: 12px;
}
.badds__sum span { display: flex; flex-direction: column; font-variant-numeric: tabular-nums; }
.badds__sum em {
  font-style: normal; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-subtle);
}
.badds__sum i { font-style: normal; color: var(--text-subtle); padding-bottom: 1px; }
.badds__total { font-weight: 600; }
.badds__total em { color: var(--brand); }

@media (max-width: 560px) {
  .bsec__head { flex-direction: column; gap: 10px; }
  .bsec__figs { grid-template-columns: 1fr 1fr; }
  .bfig b { font-size: 17px; }
}

/* The whole-wedding card's header. `.card > .spread` forces a row even on a
   phone, which is right for a heading and a short caption and wrong for a
   heading beside a form: at 375px the title wrapped to two lines and the Set
   button landed under the input. Same specificity as that rule and later in
   the file, so it wins without !important. */
@media (max-width: 560px) {
  .card > .btot__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btot__head form { width: 100%; }
  .btot__head form input { flex: 1; min-width: 0; }
}

/* ---- The guest list, a section per ceremony ----------------------------
   Appended at the end of the file on purpose: two other sessions were in
   app.css the same afternoon, and a block at the bottom that touches nothing
   above it is the one shape that cannot collide with theirs. Everything here
   is new; no existing selector is changed. */
.cx { margin: 0 0 40px; scroll-margin-top: 20px; }
.cx__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 16px; margin: 0 0 14px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cx__name {
  font-family: var(--font-display); font-size: 27px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0; line-height: 1.2;
}
.cx__when { margin: 3px 0 0; font-size: 14px; color: var(--text-subtle); }

/* The picker. A <details>, so the open/close costs no script, and closed by
   default because five ceremonies each listing everyone not yet invited is a
   very long page nobody asked for. */
.cx__add { margin-top: 12px; }
.cx__add > summary {
  cursor: pointer; color: var(--brand); list-style: none;
  padding: 7px 0; font-weight: 500;
}
.cx__add > summary::-webkit-details-marker { display: none; }
.cx__add > summary::before { content: "+ "; font-weight: 600; }
.cx__add[open] > summary::before { content: "– "; }

/* Columns rather than one long strip: 60 names in a single column is 60
   lines of scrolling inside a page that already scrolls. */
.cx__picks {
  display: grid; gap: 2px 18px; max-height: 300px; overflow: auto;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

@media (max-width: 560px) {
  .cx__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cx__name { font-size: 22px; }
  .cx__picks { grid-template-columns: 1fr; max-height: 240px; }
}
/* ---------------------------------------------------------------------------
   The three tabs of /app/design.

   Pulkit asked for tabs and said he may reorder them, so the strip is
   generated from one array in src/views/design-tabs.ts and nothing here knows
   a position. Anchors, not buttons: each tab is a real URL, so Back works and
   a tab can be linked to from helper text elsewhere in the product.

   One line at 320px is the constraint that sets every number below. Three
   labels, 13px, flex: 1 1 0 under a shared row: "Event settings", "The
   invitation" and "Go live" fit with the padding they have and no more, so
   the row never wraps into a second line pretending to be a second strip.
   "Event settings" replaced "Your wedding" on 6 Nov 2026 and is now the
   longest of the three. Measured in the browser at 320px: 76.6px of text in
   80px of available width, against 75.3px for "The invitation" and 36.5px
   for "Go live". It fits, with 3.4px to spare rather than the 4.7px the old
   label left. That is the whole budget. A fourth tab does not fit, and
   neither does a label longer than this one.
   --------------------------------------------------------------------------- */
.dtabs {
  display: flex; gap: 4px; margin: 0 0 22px;
  padding: 4px; border-radius: 12px;
  background: color-mix(in srgb, var(--toran-ink) 5%, transparent);
}
.dtab {
  flex: 1 1 0; min-width: 0; text-align: center;
  padding: 10px 6px; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; line-height: 1.2;
  color: var(--text-subtle); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background .12s ease, color .12s ease;
}
.dtab:hover { color: var(--text); }
/* The active tab is a raised card out of the trough, which is the one
   treatment that reads as "you are here" without a second colour. */
.dtab.is-on {
  background: var(--toran-white); color: var(--brand);
  box-shadow: 0 1px 2px rgba(16, 32, 28, .07), 0 0 0 1px rgba(16, 32, 28, .04);
}
.dtab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* The sentence under the strip. Each tab says what it holds, in its own
   words, rather than the strip carrying three hints and growing tall. */
.tabintro {
  margin: -8px 0 18px; font-size: 14px; line-height: 1.6;
  color: var(--text-subtle); max-width: 68ch;
}
.tabintro a { color: var(--brand); font-weight: 600; }

@media (max-width: 420px) {
  .dtab { font-size: 12.5px; padding: 10px 4px; }
}

/* ---------------------------------------------------------------------------
   Tab 3: the WhatsApp message and the sending list.

   A drafter: one message, one link, copy it or open WhatsApp with it. The
   panel under the box shows the finished text with {link} resolved, which is
   also what the clipboard fallback selects when the browser refuses to copy
   for us.
   --------------------------------------------------------------------------- */
.sharebox {
  width: 100%; font: inherit; font-size: 14.5px; line-height: 1.6;
  padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--toran-white); color: var(--text);
  resize: vertical; min-height: 180px;
}
.sharebox:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }

/* ---- Where it lives: the address and the QR, side by side (11 Nov 2026) ---

   Item 18. They are one thing in two forms — a link to paste and a square to
   photograph — and stacked in separate sections with a heading each they read
   as two unrelated features.

   A grid, not a `.row`. Two flex children wrap when their content happens to
   make them, which here meant the QR dropping below the address at some
   widths and not others depending on how long the couple's slug is. A grid
   has one breakpoint and it is written down.

   `align-items: start` so the shorter card does not stretch to the taller
   one: these are two cards, not two halves of one. The 900px breakpoint is
   where the address field plus its `.slug.toran.ink` suffix stops fitting in
   half the column — measured, not guessed; below it they stack and the cards
   keep their own full-width behaviour.

   **That `start` was written in this comment and `stretch` was written in the
   rule, for a day (11 -> 12 Nov 2026), and the rule won.** Item 3 of Pulkit's
   review: the Where it lives card "wastes ~600px". It was not padding and it
   was not min-height; the address card was being stretched to the height of
   the QR card beside it, which is tall because it holds a 150px square, the
   scans-to line, a download split button and a colour picker. Measured at
   1440x900 before the fix: both cards 420px, the address card's own content
   ending at 215px, so 206px of empty card. At 1024x900, where `.qr` wraps and
   the QR card grows to 586px, the same card was 586px with 352px empty. The
   fix is the one word the comment already claimed, which is why this
   paragraph is here: a comment that describes the intention is not a test. */
.livegrid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px; align-items: start;
}
/* Both cards already carry an inline `margin-top: 14px` from the heading
   above them, which in a grid means both tracks start level; nothing here
   needs to add or remove it. At the stacked breakpoint the gap is 0 and those
   same margins are the spacing between them. */
@media (max-width: 900px) {
  .livegrid { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* The address itself, at the top of the Where it lives card (item 3,
   12 Nov 2026). The card used to hold only the field that *changes* the
   address and no sight of the address, on the tab whose job is handing it
   out. src/views/share-sections.ts carries why the link and the copy button
   only exist once the site is published.

   `overflow-wrap: anywhere` rather than `break-all`: a slug can be 48
   characters and this lives in half a column at 900px, so it has to be able
   to break -- but only where it must, so `https://priya-and-raj.toran.ink`
   stays one line wherever it fits. Same choice as `.qrdl__dl em`. */
.liveaddr__row {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
}
.liveaddr__url {
  flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 500;
  color: var(--text); overflow-wrap: anywhere;
}
a.liveaddr__url { color: var(--brand); text-decoration: none; }
a.liveaddr__url:hover { text-decoration: underline; }
.liveaddr__copy { flex: none; }
/* Empty until the button has an answer, and it must take no room while it is
   empty -- an 18px gap under the address on every load, waiting for a click
   that may never come, is furniture. */
.liveaddr__say:empty { display: none; }
.liveaddr__say { margin: 8px 0 0; color: var(--text-subtle); }

/* The QR card's own body: the code, what it scans to, and how to get it.
   Wraps rather than grids, because there are only two things in it and the
   image has a fixed size — flex-wrap is the simpler tool and the one that
   does the right thing in half a column. */
.qr { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
.qr__img {
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  flex: none;
}
.qr__side { flex: 1 1 200px; min-width: 0; }

/* One Download, and the vector tucked behind a chevron (item 17).

   Pulkit: *"what is the diff between download for whatsapp and print.. just
   download is cool. add this type of options"*, pointing at the copy menu.
   Two equal buttons made a couple choose a file format before they could have
   the thing; now Download is the PNG and the press gets its vector from the
   disclosure beside it.

   It reads as a split button, which is a control people already know. The
   chevron's summary is sized and bordered to sit flush against `.btn--sm`
   rather than inheriting the pill `.cpy > summary` wears in the page head,
   because here it is half of a pair and there it is the whole control. */
/* The row is the panel's containing block, not the 32px chevron inside it.

   Measured at 375px on 11 Nov 2026 with the chevron as the anchor: the panel
   is 290px, the chevron sits about 176px from the left of a 375px screen, and
   `right: 0` against the chevron put the panel's left edge at **-114px**.
   `document.documentElement.scrollWidth` stayed 375 the whole time, so the
   page looked fine and a third of the menu was simply off the side of the
   screen with no way to reach it. A no-overflow check is not a
   does-it-fit check.

   Anchoring to `.qr__get` fixes it at every width rather than at a
   breakpoint: the row spans the card, so `right: 0` lands on the card's
   content edge and `max-width: 100%` is the card's width. Same conclusion
   `.dp__pop` reached on a 375px phone, by the same measurement. */
.qr__get {
  position: relative; display: flex; align-items: stretch; gap: 6px;
  margin-top: 14px;
}
.qrdl { position: static; display: inline-flex; }
.qrdl > summary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; cursor: pointer; list-style: none;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--toran-white); color: var(--text-subtle);
}
.qrdl > summary::-webkit-details-marker { display: none; }
.qrdl > summary::marker { content: ""; }
/* The marketing FAQ hangs a gold "+" off every `details summary` in this
   stylesheet and `details[open] summary::after` is a DESCENDANT selector, so
   an open ancestor reaches in here too. Both are named, exactly as `.cpy`
   names them a few hundred lines down. */
.qrdl > summary::after, .qrdl[open] > summary::after,
.qrdl[open] summary::after { content: none; }
.qrdl > summary:hover { border-color: var(--brand); color: var(--brand); }
.qrdl > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.qrdl[open] > summary { border-color: var(--brand); color: var(--brand); }
.qrdl[open] > summary svg { transform: rotate(180deg); }

/* Right-aligned, not left: this sits in the right-hand card of `.livegrid`,
   so a panel growing rightwards would leave the card and then the page. */
.qrdl__menu {
  position: absolute; z-index: 70; top: calc(100% + 8px); right: 0;
  width: 290px; max-width: 100%; padding: 8px; border-radius: 14px;
  background: var(--toran-white); border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(12, 59, 54, .16);
  text-align: left;
}
/* `.qrdl__menu .qrdl__dl`, qualified, for the reason written out in full over
   `.cpy__item`: this panel also carries `.acct__menu`, whose plain `a` rule
   is (0,1,1) and beats a bare class at (0,1,0), so unqualified it would win
   `padding: 0 12px` and draw a 44px row where a two-line one belongs. */
.qrdl__menu .qrdl__dl {
  display: flex; align-items: center; width: 100%;
  min-height: 44px; padding: 9px 12px; border-radius: 10px;
  font: inherit; text-align: left; color: var(--text); text-decoration: none;
}
.qrdl__menu .qrdl__dl:hover { background: var(--toran-surface); }
.qrdl__menu .qrdl__dl:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.qrdl__dl strong { display: block; font-size: 15px; font-weight: 500; }
.qrdl__dl em {
  display: block; font-style: normal; font-size: 12px; color: var(--text-subtle);
  margin-top: 1px; overflow-wrap: anywhere;
}

/* The colour of the dots (item 19). The garland's own `.pal` swatch-and-hex
   pair, which is what Pulkit asked for — "the same hex picker" — so there is
   nothing here but the spacing around it and the live verdict underneath.

   `.qrink__say` is the one new thing: the measured contrast ratio and whether
   it clears the floor, rewritten by share.js as the swatch moves. It carries
   a colour so a refusal is visible without reading, and it is `role=status`
   so it is also audible. */
.qrink {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--toran-hairline);
  display: flex; flex-direction: column; gap: 12px;
}
.qrink .pal { align-items: start; }
.qrink__say { margin: 2px 0 0; font-variant-numeric: tabular-nums; }
.qrink__say.is-bad { color: var(--danger); }

/* {name} and {link}. Monospace so they read as something to be replaced
   rather than as words the couple is meant to leave alone. */
.tok {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em; padding: 1px 5px; border-radius: 5px;
  background: var(--brand-tint); color: var(--text);
}

/* ---- Go live, in two columns (11 Nov 2026) -------------------------------

   Pulkit, item 20 of the 11 Nov review: the message editor on the left and a
   WhatsApp-style phone preview on the right. `.sharepv` -- a grey panel of
   plain text labelled "What you are sending" -- is what this replaces, and it
   is gone rather than kept beside the phone: two previews of one message, one
   of them a picture of the other, is worse than either alone.

   `minmax(0, …)` on both tracks because a grid child's default `min-width:
   auto` is its content, and the left column holds a textarea and the right a
   fixed-aspect phone. Without it the longest unbroken line in the message
   pushes the grid wider than the card.

   The phone's column is a fixed 330px, which is the width the marketing hero
   caps it at, so the two are literally the same object at the same size. The
   editor takes what is left. Below 1080px -- where 330px of phone leaves the
   textarea too narrow to judge a line break in -- the grid becomes one column
   and the phone goes underneath, which on an actual phone is a picture of a
   phone on a phone. Faintly absurd and still right: the alternative is hiding
   the preview from the couples who do this on the device they will send it
   from. */
.sharegrid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px);
  gap: 26px; align-items: start; margin-top: 16px;
}
.sharegrid__edit, .sharegrid__pv { min-width: 0; }

/* ---- one column, in reading order: the picture, the words, the preview ----
 *
 * Onboarding's step 6 only. Pulkit, 18 Nov 2026: *"Make this section better,
 * it's very difficult to understand this whole screen, like what is
 * happening. Maybe we can move the phone outside the preview, push the image
 * part above."*
 *
 * Side by side, the step was a squeezed textarea next to a phone mock with
 * three paragraphs of explanation around them and the picture control
 * stranded at the bottom of the far column -- so the one thing a couple
 * wanted to change was the last thing they could find. Stacked, the screen
 * is three things in the order they happen: choose the picture, write the
 * words, see what lands. The phone is the last of the three rather than the
 * frame the other two sit beside.
 *
 * The Go live panel keeps its two columns, where the width is there and the
 * couple already knows the screen. */
.sharegrid--stack { grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sharegrid--stack .sharegrid__pv { max-width: 420px; }
@media (max-width: 1080px) {
  .sharegrid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  /* Centred, and capped, so it does not stretch into a tablet-shaped phone. */
  .sharegrid__pv { max-width: 360px; }
}

/* The dashboard's copy of the marketing phone.

   Everything structural is `.wa`'s own, from the hero. This modifier changes
   four things and no more: a quieter shadow (a card inside a card does not
   want 60px of drop), a bubble that may use nearly the whole width because
   the frame is 330px rather than 360 and the message is long, no minimum body
   height because there is exactly one message in it, and a slightly smaller
   radius so it sits inside a 14px card corner without fighting it. */
.wa--pv { border-radius: 22px; border-width: 8px; box-shadow: 0 10px 26px rgba(12, 59, 54, .13); }
.wa--pv .wa__body { min-height: 0; padding: 10px 9px 13px; }
.wa--pv .wa__msg { max-width: 94%; }
.wa--pv .wa__link { max-width: 94%; }
.wa--pv .wa__preview { padding: 13px 11px 12px; }

/* The message itself, inside the bubble and under the link card.

   `pre-wrap` keeps the couple's own line breaks, including the blank ones
   between their paragraphs — which matters twice over: WhatsApp keeps them
   too, so a preview that collapsed them would be lying, and this element is
   what share.js selects when the clipboard refuses. `overflow-wrap: anywhere`
   rather than `word-break: break-word` so a long URL wraps inside a 300px
   bubble without breaking ordinary words. */
.wa__text {
  display: block; white-space: pre-wrap; overflow-wrap: anywhere;
  font-size: 13px; line-height: 1.5; color: #111;
  padding: 7px 5px 0;
}
/* The link card's sentence: the real og:description, which is prose and so
   does not want the uppercase letter-spaced treatment `.wa__preview em` gives
   the marketing mock's date line. */
/* Qualified by the panel. `.wa__preview em` is (0,1,1) and a bare class is
   (0,1,0), so unqualified this loses and the og:description renders in the
   uppercase, letter-spaced treatment the marketing mock gives its date line.
   The same arithmetic that is written out over `.cpy__item` and `.qrdl__dl`;
   it caught this one too, in the browser, three rules after being described. */
.wa__preview .wa__pvtext {
  text-transform: none; letter-spacing: 0; font-size: 11px;
  line-height: 1.45; color: var(--text-subtle); margin-top: 6px;
}

/* A guest who added themselves from the invitation link.
   A quiet word, not a warning: somebody replying to a wedding invitation is
   the product working. It is here so the couple can scan the column and know
   which rows they vouched for, because a caterer is paid against that total. */
.self-mark {
  display: inline-block; margin-left: 7px; vertical-align: 1px;
  font-size: 10.5px; letter-spacing: .04em; white-space: nowrap;
  padding: 2px 7px; border-radius: 999px;
  background: var(--brand-tint); color: var(--text-subtle);
}

/* ---- the account switcher ----------------------------------------------
   Drawn only for somebody who is on more than one wedding, which is a
   planner, a sibling helping with two, and almost nobody else. A couple with
   one wedding never sees it and the shell is byte-for-byte what it was.

   Reference: FERMAT's brand switcher, which is a searchable grid of cards.
   Borrowed: the grid, the per-account card, the search. Not borrowed: the
   scale. That one holds two hundred brands and needs to; this holds up to
   six weddings, so the cards are wide enough to carry two names in the
   display face rather than shrinking to a logo and a label.

   In the sidebar it sits under the brandmark on the deep teal, so its own
   colours are the dark-band ones. On a phone it moves into the app bar and
   the menu drops as a sheet. */
.swx { position: relative; margin: 0 0 14px; }
.swx > summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 12px; border-radius: 12px; list-style: none;
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.1);
}
.swx > summary::-webkit-details-marker { display: none; }
/* The FAQ accordion on the marketing page puts a +/- on every `details
   summary` in the stylesheet. This one has a chevron of its own, and the two
   together read as a control with two states and two affordances. Found by
   looking at the rendered page, not the rule. */
.swx > summary::after, .swx[open] > summary::after { content: none; }
.swx > summary:hover { background: rgba(255,255,255,.12); }
.swx > summary:focus-visible { outline: 2px solid var(--toran-gold); outline-offset: 2px; }
.swx > summary i {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px;
  background: var(--toran-gold); color: var(--toran-teal-deep);
  display: grid; place-items: center; font-style: normal;
  font-size: 13px; font-weight: 600;
}
.swx > summary span {
  flex: 1 1 auto; min-width: 0; font-size: 14px; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.swx > summary svg { flex: 0 0 auto; color: var(--toran-sand); transition: transform .14s ease; }
.swx[open] > summary svg { transform: rotate(180deg); }

/* In the rail the panel is **in flow**, not floating over it: it is as wide
   as the rail's content box and it pushes the navigation down while it is
   open.

   That is not a compromise, it is the only thing that works here. `.side` is
   `overflow: auto` so the navigation can scroll on a short screen, and an
   overflow box clips its absolutely-positioned descendants -- a 330px panel
   in a 248px rail came out sliced down the middle, which is how this was
   found. The alternatives were a `position: fixed` panel with a hard-coded
   top (brittle the first time the brandmark changes height) or a script to
   measure it (a script, for a menu). A rail-width panel needs neither, and a
   switcher inside a navigation rail being rail-width is what every app with
   one does anyway. */
.swx__menu {
  margin-top: 8px;
  background: var(--toran-white); color: var(--text);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18); padding: 12px;
}
.swx__head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 2px 10px; font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-subtle);
}
.swx__head span {
  background: var(--toran-sand); color: var(--brand-deep);
  border-radius: 999px; padding: 2px 8px; letter-spacing: 0; font-size: 11px;
}
.swx__find {
  width: 100%; margin-bottom: 10px; padding: 9px 12px; font: inherit;
  font-size: 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--toran-surface); color: var(--text);
}
.swx__find:focus { outline: none; border-color: var(--brand); background: #fff; }

/* One column up to two weddings, two columns beyond, so three or six
   weddings read as a grid and two do not read as a broken one. */
/* Capped and scrollable, so six weddings cannot push the navigation off the
   bottom of a laptop screen. */
.swx__grid {
  display: grid; gap: 7px; max-height: 320px; overflow-y: auto;
  /* `minmax(0, 1fr)`, not the implicit `auto`. An auto track is sized to the
     widest item's max-content, so the longest couple's name made its own card
     wider than the panel and pushed the tick out of sight, while every
     shorter card sat correctly inside. The ellipsis on the name only works
     once the track can actually be narrower than the text. */
  grid-template-columns: minmax(0, 1fr);
}
.swx__card { margin: 0; }
.swx__card[hidden] { display: none; }
/* `.swx__face` is the same card with no form under it: the marketing page
   draws the switcher as a picture, and a submit button that submits
   nothing is a dead control. Added to the existing selectors rather than
   given rules of its own, so the picture cannot drift from the thing. */
.swx__card button, .swx__card .swx__face {
  width: 100%; display: flex; align-items: center; gap: 9px; text-align: left;
  /* `start`, so a two-line name does not shove the avatar off centre on one
     card and leave it centred on the next. */
  align-items: flex-start;
  padding: 9px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--toran-white); cursor: pointer; font: inherit;
}
.swx__card button:hover { border-color: var(--brand); background: var(--toran-surface); }
.swx__card button:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.swx__card i {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 10px;
  background: var(--toran-sand); color: var(--brand-deep);
  display: grid; place-items: center; font-style: normal;
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
}
.swx__card span { flex: 1 1 auto; min-width: 0; }
/* Two lines, then clip. The couple's names are the content of this card and
   the rail is 212px wide, so "Vikram & Anjali" truncating to "Vikram & ..."
   loses the half of it that tells two weddings apart. Wrapping costs a row
   of height; truncating costs the answer. */
.swx__card strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-family: var(--font-display); font-size: 15.5px;
  font-weight: 600; line-height: 1.22; color: var(--text);
  overflow: hidden; overflow-wrap: anywhere;
}
.swx__card em { display: block; font-style: normal; font-size: 12px; color: var(--text-subtle); }
.swx__card.is-on button, .swx__card.is-on .swx__face { border-color: var(--brand); background: var(--toran-sand); }
.swx__card.is-on i { background: var(--brand); color: #fff; }
/* The tick on the wedding you are already on. A border, not a glyph, so it
   needs no font and no second colour. */
.swx__card u {
  flex: 0 0 auto; width: 13px; height: 8px; margin: 7px 3px 0 0;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg) translateY(-3px); text-decoration: none;
}

/* ---- people ------------------------------------------------------------
   `/app/people` was a stack of cards -- avatar, name, address, a role tag,
   a select and up to three buttons each -- plus a five-dot meter above
   them. Pulkit, 6 Nov 2026: *"this is too complicated. keep it simple,
   table like name email role delete option simple"*. It is `table.data`
   now, which already scrolls sideways below 860px, so `.ppl`, `.ppl__row`,
   `.ppl__who` and `.ppl__meter` are gone with the cards and only these two
   are left. */
.ppl__act { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ppl__act select, td .ppl__act + * select { font-size: 13px; }
td select {
  font: inherit; font-size: 13px; padding: 7px 10px; max-width: 100%;
  border: 1px solid var(--border); border-radius: 9px; background: #fff;
}
/* An invitation nobody has accepted holds one of the five places, so it is
   in the table and in the count. Amber, because the palette reserves amber
   for pending and this is the only pending thing on the page. */
.ppl__pending > td { background: var(--toran-amber-soft); }

/* The app bar does not clip, so there the panel is an overlay again: it
   hangs off the right edge, over the page, rather than pushing the whole
   dashboard down the screen on a phone. */
@media (max-width: 860px) {
  .appbar .swx { position: static; margin: 0; flex: 0 1 auto; min-width: 0; }
  .appbar .swx > summary { background: rgba(255,255,255,.1); }
  .appbar .swx > summary span { max-width: 34vw; }
  /* Anchored to the **bar**, not to the control. `.appbar` is sticky, so it
     is already a containing block; hanging the panel off the control's own
     right edge put a 347px panel at x = -27 on a 375px phone, because the
     control sits in the middle of the bar. Pinned to both gutters instead,
     it cannot be wrong at any width. */
  .appbar .swx__menu {
    position: absolute; z-index: 60; left: 14px; right: 14px; width: auto;
    top: calc(100% + 6px); margin-top: 0;
    box-shadow: 0 18px 44px rgba(12,59,54,.28);
  }
}

/* ---- the history, on /app/people ---------------------------------------
   A list, not a table. Three columns of very different weight — when, what,
   who — and a table gives them equal headings and equal borders, which makes
   scanning for "the thing that went missing" harder rather than easier.

   A row Toran support wrote is marked, in amber rather than the brand green,
   because it is the one row on this page the couple did not cause. */
.hist { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.hist__row {
  display: grid; grid-template-columns: 112px 1fr auto; gap: 14px;
  align-items: baseline; padding: 11px 16px; background: var(--toran-white);
  font-size: 14px;
}
.hist__row + .hist__row { border-top: 1px solid var(--border); }
.hist__when { color: var(--text-subtle); font-size: 12.5px; }
.hist__what { min-width: 0; overflow-wrap: anywhere; }
.hist__what strong { font-weight: 600; }
.hist__who { color: var(--text-subtle); font-size: 12.5px; text-align: right; }
.hist__row--toran { background: var(--toran-amber-soft); }
.hist__row--toran .hist__who { color: var(--warning-text); font-weight: 600; }

@media (max-width: 560px) {
  /* The timestamp leads, the actor tucks under what they did. Three columns
     at 375px gives the middle one about nine characters. */
  .hist__row { grid-template-columns: 1fr; gap: 3px; padding: 12px 14px; }
  .hist__who { text-align: left; }
}

/* `.sudo`, the amber support band, was deleted on 6 Nov 2026 at Pulkit's
   request. The reasoning, and where its exit went, is in the note that
   replaced `supportBanner()` in src/views/layout.ts. `.swx__card--sudo`
   below is a different thing and stays: it marks a support row inside the
   switcher. */

/* A wedding reached as support, in the switcher: marked before it is
   clicked, not only after. */
.swx__sub {
  margin: 12px 2px 7px; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-subtle);
}
.swx__grid + .swx__sub { margin-top: 14px; }
.swx__card--sudo button { border-color: #EBD9B4; background: var(--toran-amber-soft); }
.swx__card--sudo i { background: var(--toran-amber); color: #fff; }
.swx__card--sudo em { color: var(--warning-text); font-weight: 600; }

/* The price card's feature list has always carried .plan__two and has never
   been in two columns. `columns: 2` does nothing on a flex container, and
   `.plan ul { display: flex }` is (0,1,1) against the class's (0,1,0), so it
   wins wherever it sits in the file — reordering would not have helped.
   Noticed when the list grew from eleven items to fourteen and ran off the
   bottom of the card. */
.plan ul.plan__two { display: block; }


/* ---- which row of the editor is which part of the page (6 Nov 2026) ----
   Appended rather than placed beside the other `.blk` rules, per the rule at
   the top of this file. They belong next to them by subject and at the end
   by convention, and the convention is what keeps two sessions out of each
   other's lines.

   Two states, because they answer two different questions. `is-marked` is
   the cursor: this row and that section are the same thing, said while you
   are pointing at either of them. `is-open` is the choice you have made, and
   it is held — the matching section in the preview stays ringed for as long
   as the panel is open, which is what stops a tall panel from being a set of
   controls for something you cannot find. */
.blk.is-marked { border-color: var(--brand); }
/* ---- the rows that are always there ----
   The header and the card (and the garland, once it moves). The same row as
   every other, minus the three verbs that do not apply to them: no grip, no
   arrows, no switch. So the head drops from a three-column grid to one
   column, because the outer two have nothing to hold.

   A sibling `ul` rather than entries in `ol#edBlocks`, because `read()`
   turns that list's children into the saved block list. */
.blks--fixed { margin-bottom: 8px; }
.blk--fixed > .blk__head { grid-template-columns: 1fr; }

.blk.is-open {
  border-color: var(--brand); background: var(--brand-tint);
  box-shadow: inset 3px 0 0 var(--brand);
}

/* The row's own trip to the preview, on a screen too narrow to hold both.
   Hidden above 1000px, where opening a row has already moved the preview
   beside it; below that the preview is a screen and a half further down. */
.blk__see {
  display: none; width: 100%; margin: 12px 0 2px; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
  font: inherit; font-size: 13px; color: var(--brand); font-weight: 600;
  cursor: pointer; text-align: center;
}
@media (max-width: 1000px) { .blk__see { display: block; } }

/* ---- you, at the foot of the rail --------------------------------------
   Pulkit, 6 Nov 2026, with a crop of the billing box that used to be here:
   *"mak eht ename of hte logged inperson show here clicking it shos things
   Settings settings as in the dashboard settings, invite new users, right
   billing, these all things"*.

   **It opens upward, in flow, at the rail's own width**, and that is not a
   preference. `.side` used to be the scroll container, and an overflow box
   clips absolutely-positioned descendants -- the trap that came out as a
   330px switcher panel sliced down the middle of a 248px rail. So the rail
   no longer scrolls: `.side__nav` does and `.side__foot` is pinned, which
   also means the control is on screen whatever the links are doing. The
   panel is laid out above the summary with `column-reverse` rather than
   floated over anything, so nothing can clip it and nothing needs a z-index
   fought out against `.main`.

   The same panel is the body of the More sheet on a phone, from the same
   function, so the two surfaces cannot start offering a role different
   things. Only the box around it differs: a white card hanging off the rail
   here, `.moresheet`'s own sheet there. */
.acct { display: flex; flex-direction: column-reverse; }
.acct > summary {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 9px 11px; border-radius: 12px; list-style: none;
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.1);
}
.acct > summary::-webkit-details-marker { display: none; }
.acct > summary::marker { content: ""; }
/* The marketing FAQ hangs a gold "+" off every `details summary` in this
   stylesheet. This one has a chevron of its own. */
.acct > summary::after, .acct[open] > summary::after { content: none; }
.acct > summary:hover { background: rgba(255,255,255,.12); }
.acct > summary:focus-visible { outline: 2px solid var(--toran-gold); outline-offset: 2px; }
/* Pointing at where the panel will appear, which is up. */
.acct > summary svg { flex: 0 0 auto; color: var(--toran-sand); transform: rotate(180deg); transition: transform .14s ease; }
.acct[open] > summary svg { transform: none; }

/* The who-block: the control in the dark rail, and the same thing standing
   still at the head of the phone's light sheet. One shape, two palettes. */
.acct > summary, .acct__who { display: flex; align-items: center; gap: 10px; }
.acct > summary > i, .acct__who > i {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px;
  background: var(--toran-gold); color: var(--toran-teal-deep);
  display: grid; place-items: center; font-style: normal;
  font-size: 13px; font-weight: 600;
}
.acct > summary > span, .acct__who > span { flex: 1 1 auto; min-width: 0; }
.acct > summary strong, .acct__who strong {
  display: block; font-size: 14px; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acct > summary em, .acct__who em {
  display: block; font-style: normal; font-size: 11.5px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.acct > summary strong { color: #fff; }
.acct > summary em { color: var(--toran-sand); }
.acct__who {
  padding: 12px 10px; margin-top: 6px; border-top: 1px solid var(--border);
}
.acct__who strong { color: var(--text); }
.acct__who em { color: var(--text-subtle); }

/* The panel body. Shared; the box around it is not. */
.acct__menu { max-height: min(62vh, 460px); overflow-y: auto; overscroll-behavior: contain; }
.acct__menu--rail {
  background: var(--toran-white); color: var(--text);
  border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  padding: 8px; margin-bottom: 8px;
}
.acct__menu a,
.acct__out button {
  display: flex; align-items: center; width: 100%; min-height: 44px;
  padding: 0 12px; border-radius: 10px; text-decoration: none;
  font: inherit; font-size: 15px; font-weight: 400; text-align: left;
  color: var(--text); background: none; border: 0; cursor: pointer;
}
.acct__menu a:hover, .acct__out button:hover { background: var(--toran-surface); }
.acct__menu a[aria-current] { background: var(--toran-surface); color: var(--brand); font-weight: 600; }
.acct__mail {
  margin: 2px 2px 6px; padding: 0 12px; font-size: 11.5px;
  color: var(--text-subtle); overflow-wrap: anywhere;
}
.acct__swx, .acct__out {
  margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--border);
}

/* The marketing FAQ's `details[open] summary::after` is a **descendant**
   selector, not a child one, so opening this menu hangs a gold "−" off
   every summary inside it -- which, with the switcher nested in here, is a
   second affordance on a control that already has a chevron. The existing
   `.swx` guard does not catch it: `.swx > summary::after` is (0,1,2) and
   `details[open] summary::after` is (0,1,3), so the FAQ wins until an open
   ancestor is named. Both menus that can hold a nested `<details>` name one
   here. Found by looking at the rendered pixels; it does not show in the
   rule.
   See also: the same trap cost the switcher a stray "+" on 5 Nov 2026. */
.acct[open] summary::after,
.tabmore[open] summary::after { content: none; }

/* The switcher was built for the dark rail and now opens inside a white
   card. One override rather than a second component: the rule about who
   gets a switcher at all stays in `switcherFor()`, and this is only paint. */
.acct__menu .swx { margin: 0; }
.acct__menu .swx > summary {
  background: var(--toran-surface); border-color: var(--border);
}
.acct__menu .swx > summary:hover { background: var(--toran-sand); }
.acct__menu .swx > summary span { color: var(--text); }
.acct__menu .swx > summary svg { color: var(--text-subtle); }
.acct__menu .swx > summary i { background: var(--brand); color: #fff; }
.acct__menu .swx__menu { box-shadow: none; background: var(--toran-surface); }

/* ---- the site is about to stop being served -----------------------------
   The shape the support band `.sudo` had before it was removed, and for the
   reason it had it: a product should have one place that means "pay
   attention". This is now the only one.

   It replaces the permanent LIVE / Add time box that used to sit in the foot
   of the rail on every page for two years to say something that is true on
   about thirty days of them. `src/lib/renewal.ts` holds the thresholds and
   the argument; this only paints what that decides. Calm sand from thirty
   days out, amber inside seven and once it has passed. */
.renew {
  position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 20px; font-size: 13.5px; line-height: 1.45;
  background: var(--toran-sand); color: var(--toran-teal-deep);
  border-bottom: 1px solid var(--border);
}
.renew span { flex: 1 1 320px; min-width: 0; }
/* What an editor or a viewer gets instead of a button they cannot use. */
.renew b { flex: 0 0 auto; font-weight: 600; color: var(--text-subtle); }
.renew .btn { flex: 0 0 auto; }
.renew--warn {
  background: var(--toran-amber); color: #fff; border-bottom-color: transparent;
}
.renew--warn b { color: #fff; }
.renew--warn .btn {
  background: #fff; color: var(--toran-amber-deep); border-color: #fff;
}
.renew--warn .btn:hover { background: var(--toran-amber-soft); }

@media (max-width: 860px) {
  /* The app bar is sticky at the top; with a band above it, both need to
     stack rather than overlap. */
  .renew { position: static; gap: 10px; padding: 10px 20px 12px; }
  /* The sentence takes the row and the button wraps under it at its own
     width. Stretched to 100% it made a twenty-days-out notice 99px tall on
     a 812px screen, which is a twelfth of the phone given over to something
     that is not urgent yet. The second line is prose, so it does fill. */
  .renew b { flex: 1 1 100%; }
  .renew .btn { flex: 0 0 auto; }
  /* The sheet grows upward from the bar and now carries the account block
     as well as the rail's overflow, so it needs a ceiling of its own. */
  .moresheet { max-height: min(74vh, 560px); }
}


/* ---- the copy control in the overview header (6 Nov 2026) --------------
   Pulkit wanted the link copyable from where it is written, with the QR and
   the WhatsApp message behind the same control.

   **The same `<details>` as `.acct`**, so this product has one menu
   behaviour and not two: open, close, Escape and focus are the browser's.
   It borrows `.acct__menu` for the rows, exactly as `.moresheet` does, and
   supplies only its own position.

   **Absolute, not in flow, and that is the opposite of `.swx__menu` on
   purpose.** The switcher goes in flow because it lives in a 248px rail
   where a floating panel has nowhere to be. The page head is full width, so
   this has room, and pushing the whole page down every time somebody opens
   a copy menu would be worse than either. The precedent followed here is
   `.dp__pop`, which is absolute at z-index 70 inside the same
   `overflow-y: auto` `.main` and has worked since the date picker shipped. */
.cpy { position: relative; display: inline-flex; vertical-align: baseline; }
.cpy > summary {
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
  list-style: none; padding: 1px 8px 2px; margin: -1px 0;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--toran-white); color: var(--text-subtle);
  font-size: 13px; line-height: 1.5;
}
.cpy > summary::-webkit-details-marker { display: none; }
.cpy > summary::marker { content: ""; }
/* The marketing FAQ hangs a gold "+" off every `details summary` in this
   stylesheet, and `details[open] summary::after` is a DESCENDANT selector,
   so an open ancestor reaches in here too. Both are named. */
.cpy > summary::after, .cpy[open] > summary::after,
.cpy[open] summary::after { content: none; }
.cpy > summary:hover { border-color: var(--brand); color: var(--brand); }
.cpy > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cpy[open] > summary { border-color: var(--brand); color: var(--brand); }

.cpy__menu {
  position: absolute; z-index: 70; top: calc(100% + 8px); left: 0;
  width: 300px; padding: 8px; border-radius: 14px;
  background: var(--toran-white); border: 1px solid var(--border);
  box-shadow: 0 14px 40px rgba(12, 59, 54, .16);
  text-align: left;
}
/* `.acct__menu` gives the rows their height and hover. These are buttons
   carrying two lines rather than one-line links, so the height is their
   content and the padding is their own.

   `.cpy__dl` is the download row: the one row here that is an `<a>`, and the
   reason this is a selector list rather than one more class on the anchor.
   It cannot wear `.cpy__item`, because that class is what the click handler
   in copy.js keys on and it would answer "Could not copy." over a download
   that worked. So it needs the row style under its own name -- and under the
   panel's, because this panel also carries `.acct__menu`, whose plain `a`
   rule is (0,1,1) and beats a bare `.cpy__dl` at (0,1,0). Unqualified, that
   rule wins `padding: 0 12px` and draws one 44px row between two 54px ones.
   Naming the panel makes it (0,2,0). Same arithmetic that cost `.ppl-table`
   a day on 6 Nov 2026; it does not show up in either rule on its own.

   `text-decoration: none` is set here rather than inherited from
   `.acct__menu a`, which happens to supply it today: the day somebody stops
   sharing that class the row should not sprout an underline. */
.cpy__item,
.cpy__menu .cpy__dl {
  display: flex; align-items: center; width: 100%;
  min-height: 44px; padding: 9px 12px; border-radius: 10px;
  font: inherit; text-align: left; color: var(--text);
  text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.cpy__item:hover,
.cpy__menu .cpy__dl:hover { background: var(--toran-surface); }
.cpy__item:focus-visible,
.cpy__menu .cpy__dl:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.cpy__item strong, .cpy__dl strong { display: block; font-size: 15px; font-weight: 500; }
.cpy__item em, .cpy__dl em {
  display: block; font-style: normal; font-size: 12px; color: var(--text-subtle);
  margin-top: 1px; overflow-wrap: anywhere;
}
/* ---- [HDR-2] "Edit it on Go live": the one second line that is a link ----
   (12 Nov 2026.) Every other second line in this menu is an `<em>` in
   `--text-subtle` that DESCRIBES the row above it -- a filename, "An image,
   to paste into a card". This one is an action, so it has to look like a
   different kind of thing or nobody can tell which of the grey lines are
   clickable.

   It takes the brand colour and an underline, which is this product's link
   idiom, and it keeps `.cpy__item em`'s size and position so the row still
   reads as a title with a line under it rather than growing a second row.
   The arrow is the "this goes somewhere" mark; `::after` so it is not in the
   accessible name, which is already "Edit it on Go live".

   It is NOT `.cpy__alt`: copy.js takes the first `.cpy__alt` in the menu as
   its "Open the QR code" fallback and would have taken this instead.

   **Qualified by the panel, for the reason `.cpy__dl` is.** This panel also
   wears `.acct__menu`, whose plain `a` rule is (0,1,1) and beats a bare
   `.cpy__edit` at (0,1,0). Unqualified it lost every declaration here and
   rendered as 15px body-coloured text with no underline -- measured, after
   writing it that way first. Naming the panel makes it (0,2,0). Third time
   this exact arithmetic has cost something in this file; see the note on
   `.cpy__dl` above and `.ppl-table` on 6 Nov 2026. */
.cpy__menu .cpy__edit {
  display: block; margin: -4px 0 4px; padding: 2px 12px 6px;
  font-size: 12px; color: var(--brand); font-weight: 500;
  text-decoration: underline; text-underline-offset: 2px;
}
.cpy__menu .cpy__edit::after { content: " \2192"; text-decoration: none; }
.cpy__menu .cpy__edit:hover { color: var(--toran-teal-deep); }
.cpy__menu .cpy__edit:focus-visible {
  outline: 2px solid var(--brand); outline-offset: -2px; border-radius: 6px;
}

/* The field the link lands on, clear of the sticky head above it. Without
   this the anchor scrolls `#shareMsg` to y=0, which is underneath the head.
   See [HDR-4] for what that head is and why it is opaque. */
#shareMsg { scroll-margin-top: 96px; }

/* The message, visible where it is copied.

   Clamped to five lines: enough that the opening line and the first
   ceremonies answer "is this the one I wrote", few enough that the panel is
   still a menu. The clamp is visual only -- the whole message is in the DOM,
   which is what lets the copy fallback reveal and select it. */
.cpy__pv {
  margin: 2px 2px 4px; padding: 9px 12px 10px;
  border-radius: 10px; background: var(--toran-surface);
}
.cpy__pvb {
  margin: 0; font-size: 12px; line-height: 1.55; color: var(--text-subtle);
  /* The couple's own line breaks, including the blank ones between their
     paragraphs. Nothing is collapsed here: this element is what gets
     selected when the clipboard refuses, so it has to hold the message
     exactly. */
  white-space: pre-line; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5;
  overflow: hidden;
}
/* Opened out when nothing automatic was allowed and this becomes the thing
   to select, because what they copy has to be what they can see. Capped and
   scrollable so a seven-function message cannot push the panel off screen. */
.cpy__pv.is-full .cpy__pvb {
  display: block; -webkit-line-clamp: none;
  max-height: 40vh; overflow-y: auto; color: var(--text);
}

/* Empty until something has happened, so it takes no room until it speaks. */
.cpy__say { margin: 0; padding: 0 12px; font-size: 12.5px; color: var(--text-subtle); }
.cpy__say:not(:empty) { padding: 8px 12px 4px; }
.cpy__raw {
  width: 100%; margin-top: 8px; min-height: 92px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 12.5px; resize: vertical;
}

@media (max-width: 860px) {
  /* `.addr` is hidden at this width and this control is what now leads the
     line, so it keeps its place rather than following the address out. The
     panel is pinned to the left gutter instead of to the control, for the
     reason the app bar's switcher is: at 375px a 300px panel hung off a
     control that sits mid-line starts off the screen. */
  .cpy__menu { left: 0; width: min(300px, calc(100vw - 48px)); }
}
.cpy__alt {
  display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: var(--toran-surface); color: var(--brand);
  font-size: 13px; font-weight: 500; text-decoration: none;
}
.cpy__alt:hover { background: var(--toran-sand); }
.cpy__alt[hidden] { display: none; }

/* A radio or checkbox beside a sentence long enough to wrap.

   `.row` wraps by default, which is right everywhere else and wrong here: the
   sentence was pushed onto its own line under the control, so the control and
   the thing it controls stopped reading as a pair. This is the consent choice
   on /thanks, where that pairing is the whole point. */
.optline { display: flex; align-items: flex-start; gap: 10px; flex-wrap: nowrap; }
.optline > input { margin-top: 3px; flex: 0 0 auto; }
.optline > span { flex: 1 1 auto; min-width: 0; }

/* ---- the one featured quote beside checkout ----

   One quote, centred, as large as it deserves. The panel is narrow and dark
   and its job is to carry somebody over the line, so this is built for
   exactly one — which is also the first real state it will ever be in.
   Zero quotes render no markup at all and none of this applies. */
.qfeature {
  margin: 26px 0 0; padding: 26px 24px 24px; border-radius: 18px; text-align: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
}
.qfeature blockquote {
  margin: 16px 0 0; font-family: var(--font-display); font-size: 22px;
  line-height: 1.34; letter-spacing: -0.02em; color: #fff;
  /* Their words, with the line breaks they typed. */
  white-space: pre-line; overflow-wrap: anywhere;
}
.qfeature figcaption { margin-top: 16px; font-size: 13px; color: var(--toran-sand); }
.qfeature figcaption strong { font-weight: 600; }
.qfeature figcaption span {
  margin-left: 8px; padding-left: 8px; border-left: 1px solid currentColor; opacity: .75;
}

/* The face, or the initial in its place.

   Identical geometry either way, so a row with no photograph reads as a
   choice rather than as an image that failed to load. A photograph is only
   ever one a real couple sent us under a permission of its own; there are no
   stock faces in this product. */
.qface {
  display: inline-grid; place-items: center; border-radius: 999px;
  background: var(--toran-sand); color: var(--toran-teal-deep);
  font-family: var(--font-display); font-weight: 600; flex-shrink: 0;
  overflow: hidden;
}
.qface--photo { object-fit: cover; display: inline-block; }
.review__by .qface { font-size: 17px; }

/* The refund, given the weight it has earned. For an unknown brand asking
   ₹1,999 it is the strongest honest thing on the page, and it was a sentence
   at the bottom of a paragraph. */
.refundblock {
  margin-top: 22px; padding: 18px 20px; border-radius: 14px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--toran-gold);
}
.refundblock strong {
  display: block; font-family: var(--font-display); font-size: 19px;
  font-weight: 600; color: #fff;
}
.refundblock p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--toran-sand); }

/* ---- a row of panel fields sits on one line (6 Nov 2026) ----
   Pulkit, on the Name and Role boxes in a person's row: "align these 2
   boxes". Only the FIRST field in a row had its top margin cleared, so
   every field after it in the same row hung 10px lower than the one before.

   `.pf-row` is a flex row with `gap: 10px`, and `gap` already spaces the
   fields when they wrap onto their own lines at a narrow panel width — so
   the margin was doing nothing the gap was not already doing, except
   knocking the row out of alignment. */
.pf-row > .pf { margin-top: 0; }
/* ---- the hidden native date input stays hidden ---- */
/* `.dp__native` is added to an input that already carries a page's own field
   class, and in the design panel that class is `.pf__i`, which is further
   down this file. Same specificity, so `.pf__i` was winning `width`, `padding`
   and `border` on a node that is meant to have none of them. Only `opacity: 0`
   was keeping the browser's own control out of sight, one declaration away
   from the native picker reappearing on top of the branded button.

   Appended here, after every field class, so it wins on order the way this
   file's convention intends. `!important` is not needed and is not used: the
   rule is last, which is the whole point of the append-only rule above. */
input.dp__native {
  position: absolute; opacity: 0; pointer-events: none;
  width: 0; height: 0; min-width: 0; padding: 0; margin: 0;
  border: 0; background: none; clip-path: inset(50%);
}

/* ---- the auth card on a narrow phone (6 Nov 2026) ----------------------
   Pulkit, from a Pixel: the payment card on `/checkout` is cut off at the
   right edge, "₹1,999" is clipped mid-number and the heading stops at
   "One payment, then you're i".

   It is not the grid failing to collapse. `.authwrap` does go to one column
   at 860px and that rule is applying — measured, not assumed. There are two
   separate defects under it, and only the second one clips.

   **One, on every auth page: the gutter is not being honoured.** `.authcard`
   is `width: 100%` with `margin: 20px 16px` on a `justify-self: center` grid
   item. A percentage width resolves against the whole grid area and the
   margins are then added outside it, so the margin box is 32px wider than
   the screen; the browser clamps the overhang and the card renders flush to
   both edges. At 412px it measured 412 wide at left 0 — the 16px gutters the
   rule asks for were simply gone, on `/signup`, `/signin`, `/checkout` and
   the invitation page alike. Size the card to the space that is actually
   free and centre it with auto margins instead. It is now 380 at left 16.

   **Two, on `/checkout` only: a hard 352px floor.** The price row is
   `.spread.keep-row`, `nowrap` by deliberate exception to the phone rule
   that stacks `.spread`. "₹1,999" at 34px display is 107px that cannot break
   at any width, which gave the whole card a min-content width of 352px.
   Below about 348px the card is physically wider than the screen and the
   excess is clipped — silently, because `body { overflow-x: hidden }` a few
   hundred lines above turns it into clipping rather than a scrollbar. That
   is the reported symptom, and it is why `scrollWidth === clientWidth` reads
   clean on a page that is visibly cut off: on a phone that test cannot fail.
   Measured before the fix: 32px past the viewport at 320, 12px at 340, clean
   at 360 and above. The other three auth pages never hit this because their
   cards have no unbreakable 107px word in them.

   Why widths below 360 are worth fixing when the phone is 412: Android's
   display-size setting is widely used and shrinks the reported CSS viewport,
   so a 412px device routinely reports 360 or less.

   Let the price drop under its own label below 400px. It is the one number
   on the page; it does not need to share a line with its caption. 400 is
   chosen so nothing changes at 412 while 390, 375, 360 and 320 gain room.

   Measured after: no element past the viewport on any of the four auth pages
   at any width from 320 to 900 in 20px steps, and 1440 is byte-identical to
   before — the card is still 460 in a 720px column with the price beside the
   label. */
@media (max-width: 860px) {
  .authcard { width: calc(100% - 32px); margin-left: auto; margin-right: auto; }
}
@media (max-width: 400px) {
  .authcard .card .spread.keep-row {
    flex-direction: column; align-items: flex-start; gap: 4px;
  }
}

/* `.row` is `flex-wrap: wrap`, so at 320px the tick and its line of copy in
   the feature list became two rows and each bullet rendered as a tick
   floating above its own text. They are a glyph and its label, not two
   items: keep them together and let the label take the slack. */
@media (max-width: 860px) {
  .authcard .card li.row { flex-wrap: nowrap; }
  .authcard .card li.row > span { min-width: 0; }
}
/* The people table, on a phone (6 Nov 2026).
   `table.data` is `display: block; overflow-x: auto` below 860px, which is
   right for the guest list and wrong here: at 375px the four columns put
   Remove off the right edge behind a sideways scroll nobody finds, and the
   name wrapped to two lines to make room for it. The cards this replaced
   stacked instead, for that same reason, and the reason did not go away
   with them.

   So below 560px the rows stack: who they are on one line, what you can do
   about them on the next. Same markup, same table on a laptop. */
@media (max-width: 560px) {
  /* Every selector here is qualified with the element, because the rules it
     has to beat are `table.data td` and `table.data { overflow-x: auto }`,
     which carry an element each: `.ppl-table td` is (0,1,1) against their
     (0,1,2) and loses however late it sits in the file. The symptom was a
     rule drawn between the name, the address and the role of the same
     person -- `table.data td`'s own `border-top`, still winning. */
  table.ppl-table,
  table.ppl-table tbody,
  table.ppl-table tr,
  table.ppl-table td { display: block; }
  table.ppl-table { overflow-x: visible; }
  table.ppl-table thead { display: none; }
  table.ppl-table tr { padding: 13px 16px; border-top: 1px solid var(--border); }
  table.ppl-table tbody tr:first-child { border-top: 0; }
  table.ppl-table td { border: 0; padding: 0; }
  table.ppl-table td:nth-child(2) { color: var(--text-subtle); overflow-wrap: anywhere; }
  table.ppl-table td:nth-child(3) { margin-top: 6px; }
  table.ppl-table td.ppl__act:not(:empty) { margin-top: 10px; }
  table.ppl-table td select { width: 100%; }
}

/* ---- the time half of the same control ---- */
/* Shares `.dp`, `.dp__field`, `.dp__pop`, `.dp__foot` and `.dp__link` with the
   date picker, so the two sit in one row looking like one component. Only the
   inside of the popup differs: a scrolling list of common times grouped by
   `partOfDay`'s own boundaries, and an exact-minute panel behind one link,
   because a muhurat is computed rather than rounded and `clockText` has a
   branch for it. */
.dp__icon--clock {
  -webkit-mask-image: var(--clock);
  mask-image: var(--clock);
}
:root {
  --clock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='6' fill='none' stroke='black' stroke-width='1.4'/%3E%3Cpath d='M8 4.6V8l2.4 1.6' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* The list scrolls inside the popup rather than making the popup tall: at
   half-hour steps a full day is 48 rows, and a popup that long would run off
   any screen and flip above on every open. */
.dp__pop--time { max-height: 320px; overflow-y: auto; overscroll-behavior: contain; }
.dp__part {
  position: sticky; top: -14px; z-index: 1;
  margin: 8px -14px 2px; padding: 6px 14px 4px;
  background: var(--toran-white);
  font-size: 11px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-subtle);
}
.dp__part:first-child { margin-top: -4px; }
.dp__time {
  display: block; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: none; cursor: pointer; text-align: left;
  font: inherit; font-size: 14px; color: var(--text);
}
.dp__time:hover { background: var(--toran-sand); }
.dp__time.is-on { background: var(--brand); color: #fff; font-weight: 600; }

/* The exact-minute panel. Two native selects on purpose: the keyboard and a
   screen reader get them for free, and a custom listbox here would be a
   second thing to keep accessible for no gain. */
.dp__exact {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 4px 8px; align-items: center;
}
.dp__exactl { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-subtle); }
.dp__sel {
  width: 100%; padding: 8px 6px; font: inherit; font-size: 14px;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
}
.dp__ampm { display: flex; gap: 4px; }
.dp__half {
  padding: 8px 9px; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; cursor: pointer; font: inherit; font-size: 13px; color: var(--text-subtle);
}
.dp__half.is-on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.dp__set {
  width: 100%; margin-top: 10px; padding: 9px 12px; border: 0; border-radius: 8px;
  background: var(--brand); color: #fff; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
}


/* ---- the card's look: one box, the tools nested inside it (6 Nov 2026) ----
   Pulkit, with the two chip rows stacked in a screenshot: "where are we on
   merging these?? i want like a these and inside it all the tools".

   THEME, a bordered "Your colours" card, BACKGROUND and PHOTOGRAPH were four
   controls in three groupings running flat down the panel, each reading as
   its own subject. They are one box now with two questions in it, and each
   question's dependent tools nested under it rather than stacked after it.

   The rule down the left of a nested group is the whole explanation: it says
   "this belongs to the thing above" in a way a flat stack of labels cannot.
   Indent alone was not enough to read as nesting at this width — measured
   against the panel's other groups, which are also indented by their own
   padding. */
.look {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 14px; margin-top: 8px; background: var(--toran-surface);
}
.look__q + .look__q {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
}
.look__sub {
  margin-top: 12px; padding-left: 14px;
  /* `--border`, not `--brand-tint`. The tint is #F2E9D9 on the box's own
     #F4F7F6 ground, which measured as very nearly the same colour and read
     as no rule at all — the nesting is the entire explanation here, so it
     has to be visible. This is the same hairline the panel uses everywhere
     else, which is what makes it read as structure rather than decoration. */
  border-left: 2px solid var(--border);
}
.look__sub[hidden] { display: none; }

/* ---- framing the hero photograph, 16 Nov 2026 ----
   A flat list of fields, deliberately. It sits inside the photograph's own
   nested group today; the editor's shape is under research for the phone and
   a set of labelled fields is the thing that survives being moved, where a
   bespoke two-pane cropper would not.

   The separating rule is above the group rather than around it, because the
   questions in it are about the photograph above and not a subject of their
   own. */
.photoset { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.photoset[hidden] { display: none; }
/* A thumb worth aiming at with a thumb. The browser default is 12-14px on a
   phone, which is under every touch-target guideline there is and these four
   are the controls a couple drags most. The track grows with it or the thumb
   sits on a hairline. */
@media (max-width: 860px) {
  .photoset .rng__row input[type="range"] { height: 34px; }
  .photoset .rng__out { font-size: 16px; }
}
/* The palette pair is a nested group now, so it drops the card it used to
   draw for itself — a box inside a box inside a box. */
.look__sub.cardset__pal { border-radius: 0; background: none; padding: 0 0 0 14px; }

/* A control that is moot right now. The three ground chips mean nothing
   while a photograph covers them; that was a sentence under them while the
   chips stayed bright, which is the same bug as a chip that repaints
   nothing — it is drawn, so it looks like it works. Dimmed rather than
   `disabled`, because a couple has to be able to reach the row to find out
   why it went quiet, and a disabled button takes no focus. */
.chips.is-moot { opacity: .45; }
.chips.is-moot .chip { cursor: default; }
#cardGradient.is-moot { opacity: .45; }


/* ---- tap targets on a phone (6 Nov 2026) -------------------------------
   The 6 Nov design audit measured roughly a dozen controls under 44px, the
   worst a 17px tick box and a 19px-tall Remove. Re-measured on this branch
   against the current build, every interactive element on every dashboard
   page at 375px, with the enclosing `<label>` counted as the target where a
   tick has one. 44px is the floor.

   **Two techniques, and which one is used where is a judgement, not a
   preference.** A control that is already a box — a chip, a switch, a tick
   row, a disclosure — is simply given `min-height: 44px`, because growing it
   is what it wanted anyway. A small control sitting in running layout — a
   `See all` beside a card title, a `Remove` at the end of a row — is given a
   transparent `::after` that extends the *hit area* to 44px while the
   painted box stays where the design put it. Inflating those visually would
   push the layouts they sit in around for no gain; a thumb does not care
   where the border is drawn, only where the tap lands.

   **One thing deliberately left alone: links inside a sentence.** `email us`
   on `/app/billing` is 41x20 and stays that way. WCAG 2.5.8 exempts inline
   links for the obvious reason — a 44px tap target inside a paragraph either
   overlaps the line above or tears the paragraph open. The rule is "a
   control that stands on its own", not "every anchor".

   All of it is inside the 860px block, so nothing on a desktop moves. */
@media (max-width: 860px) {
  /* Boxes that simply wanted to be bigger. */
  .chip { min-height: 44px; display: inline-flex; align-items: center; }
  .check { min-height: 44px; align-items: center; }
  details > summary.small { min-height: 44px; display: flex; align-items: center; }

  /* The block list's move buttons. 30x30 in a row with `gap: 4px`, so making
     them square at 44 would add 28px to a row that is already tight. Full
     height, a little more width, and the rest of the target taken from the
     gap around them. */
  .blk__mv { width: 36px; height: 44px; }

  /* The on/off switch is 44x26 and has to *stay* 26 tall — a pill twice that
     height stops reading as a switch. The hit area grows instead. */
  .blk__on { position: relative; }
  .blk__on::after { content: ''; position: absolute; inset: -9px -2px; }

  /* Small standalone controls: hit area only, painted box unchanged. */
  .card-link, .ip__up-open, .cpy > summary, button.tiny, a.tiny { position: relative; }
  .card-link::after, .ip__up-open::after, .cpy > summary::before,
  button.tiny::after, a.tiny::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
  /* `.cpy > summary` already has an `::after` pinned to `content: none` to
     keep the marketing FAQ's gold "+" out of it, so this one borrows
     `::before` rather than quietly reviving that selector. */

  /* The lockup in the app bar is a link home and the only way back from a
     deep page. */
  .appbar .brandmark { min-height: 44px; display: inline-flex; align-items: center; }
}

/* The rest of the under-44 controls, after the first pass. `.blk__on`'s
   overlay is given explicit dimensions rather than `inset`, because `inset`
   computes to `auto` and cannot then be read back when checking the result —
   a rule that cannot be measured is a rule nobody will notice breaking. */
@media (max-width: 860px) {
  .blk__mv { position: relative; }
  .blk__mv::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 44px; height: 44px; transform: translate(-50%, -50%);
  }
  .blk__on::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: 48px; height: 44px; transform: translate(-50%, -50%);
  }
  .dtab { min-height: 44px; display: inline-flex; align-items: center; }
  .ip__primary { min-height: 44px; }
  .pf__i { min-height: 44px; }
}


/* ---- the guest list on a phone (6 Nov 2026) ----------------------------
   `table.data` is `display: block; overflow-x: auto` below 860px. That is
   the right answer for a table you *read* and the wrong one for a table you
   *act on*, because the action lives in the last column and the last column
   is exactly what goes off the edge. Measured at 375: the rows are wider
   than the 335px content column, and what is off-screen by default is the
   RSVP tag, `Invite link` and `Remove` — which is the entire reason a couple
   opens this page on a phone. The only affordance is a thin scrollbar under
   the card.

   So below 560px the row becomes a card, following the same pattern and the
   same reasoning `.ppl-table` already uses on `/app/people`:

     Meena Agarwal · Jain
     Bride's side · 2 heads
     [ Coming ]              Invite link  Remove

   The name leads because that is what you are scanning for. Side and heads
   are detail and share a line. The answer and the two things you can do
   about it are the bottom line, where a thumb is.

   The row is a wrapping flex rather than a stack of blocks, because the last
   line has to hold two items at opposite ends and a block cannot do that
   without another wrapper in the markup.

   **Every selector is qualified with its element**, for the reason the
   `.ppl-table` block below records: the rules being beaten are
   `table.data td` and `table.data { overflow-x: auto }`, which carry an
   element each, so an unqualified class is (0,1,1) against (0,1,2) and loses
   however late it sits in the file. */
@media (max-width: 560px) {
  table.gx-table, table.gx-table tbody { display: block; }
  table.gx-table { overflow-x: visible; }
  table.gx-table thead { display: none; }
  table.gx-table tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px;
    padding: 12px 16px; border-top: 1px solid var(--border);
  }
  table.gx-table tbody tr:first-child { border-top: 0; }
  table.gx-table td { display: block; border: 0; padding: 0; font-size: 15px; }

  /* The name takes its own line. */
  table.gx-table td:nth-child(1) { flex: 1 1 100%; }
  /* Side and heads share the next one, with a separator drawn rather than
     written, so the markup stays a table on a laptop. */
  table.gx-table td:nth-child(2),
  table.gx-table td:nth-child(3) { flex: 0 0 auto; color: var(--text-subtle); }
  table.gx-table td:nth-child(3)::before { content: '·'; margin-right: 8px; }
  /* The heads cell is a bare number, and a bare number on its own line reads
     as "2 what?". It is always a number — `head_count ?? party_size` — so a
     unit can be appended unconditionally. The side cell above it can be an
     em dash when nobody recorded one; that is left as it is, because it says
     the same thing the desktop table says and inventing a way to hide it
     costs more than the noise it saves. */
  table.gx-table td:nth-child(3)::after { content: ' heads'; }
  /* The answer and the actions, on one line, at opposite ends. */
  table.gx-table td:nth-child(4) { flex: 0 0 auto; margin-top: 8px; }
  table.gx-table td:nth-child(5) {
    flex: 0 0 auto; margin-left: auto; margin-top: 8px;
    display: flex; align-items: center; gap: 14px; white-space: nowrap;
  }
  table.gx-table td:nth-child(5) form { margin: 0; }
  /* Both of these were bare text a thumb could not land on: 65x27 and 40x19.
     Hit area only — the painted link stays the size the row was designed
     around. */
  table.gx-table td:nth-child(5) a,
  table.gx-table td:nth-child(5) button { position: relative; }
  table.gx-table td:nth-child(5) a::after,
  table.gx-table td:nth-child(5) button::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
}


/* ---- the budget on a phone (6 Nov 2026) --------------------------------
   Same sideways-scroll problem as the guest list, but it earns a different
   card, because the two pages are for different things. The guest list is a
   list you *act on* — one tap per row — so its card leads with the name and
   puts the action under a thumb. The budget is a set of numbers you *read*:
   what is committed, what is paid, what is still owed, and whether anything
   is late. Measured at 375, the rows are 754px inside a 335px column and
   what is off-screen is PAID, PENDING, STATUS and Remove — so everything
   except the vendor, its category and the figure you already agreed.

   **Which is why this one gets labels and the guest list does not.** Hiding
   a table's header is free when the cells say what they are — a name, a
   side, a Yes. Three money figures in a row with the header gone are three
   indistinguishable amounts, and reading "paid" as "pending" on a wedding
   budget is a real mistake to hand somebody. The labels are drawn in CSS
   from the same column positions the hidden `<thead>` names, so they cannot
   drift from the data under them the way a hand-written label would.

   Shape:

     Rathore Tent House and Decorators
     Overdue · 16 Nov
     Decor
     COMMITTED ₹7,12,000  PAID ₹7,12,000  PENDING —
     [ Settled ]                                  Remove */
@media (max-width: 560px) {
  table.bx-table, table.bx-table tbody { display: block; }
  table.bx-table { overflow-x: visible; }
  table.bx-table thead { display: none; }
  table.bx-table tr {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px;
    padding: 12px 16px; border-top: 1px solid var(--border);
  }
  table.bx-table tbody tr:first-child { border-top: 0; }
  table.bx-table td { display: block; border: 0; padding: 0; }

  /* Vendor, and the due date it already carries, on their own line. */
  table.bx-table td:nth-child(1) { flex: 1 1 100%; }
  /* Category under it, quietly. */
  table.bx-table td:nth-child(2) { flex: 1 1 100%; color: var(--text-subtle); }

  /* The three figures, each with the column name it lost when the header
     went. Tabular figures so the amounts line up as they wrap. */
  table.bx-table td:nth-child(3),
  table.bx-table td:nth-child(4),
  table.bx-table td:nth-child(5) {
    flex: 0 0 auto; margin-top: 6px; font-variant-numeric: tabular-nums;
  }
  table.bx-table td:nth-child(3)::before { content: 'Committed '; }
  table.bx-table td:nth-child(4)::before { content: 'Paid '; }
  table.bx-table td:nth-child(5)::before { content: 'Pending '; }
  table.bx-table td:nth-child(3)::before,
  table.bx-table td:nth-child(4)::before,
  table.bx-table td:nth-child(5)::before {
    display: block; font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--text-subtle); font-weight: 600;
  }

  /* The verdict, and the one thing you can do, on the last line. */
  table.bx-table td:nth-child(6) { flex: 0 0 auto; margin-top: 10px; }
  table.bx-table td:nth-child(7) { flex: 0 0 auto; margin-left: auto; margin-top: 10px; }
  table.bx-table td:nth-child(7) form { margin: 0; }
  /* Remove measured 52x21. Hit area only. */
  table.bx-table td:nth-child(7) button { position: relative; }
  table.bx-table td:nth-child(7) button::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
}

/* The side and category cells used to hold a literal em dash when there was
   nothing to say. On a desktop table that is right — a blank cell in a grid
   of cells reads as a rendering fault. Once the row is a card the same dash
   costs a whole line per guest and per vendor to say nothing.

   So the markup now emits an empty cell and the dash is drawn here, which
   means it can be drawn only where it helps. `:empty` is exact: it matches a
   cell with no text and no children, which is precisely the case the dash
   was standing in for. */
table.gx-table td:nth-child(2):empty::before,
table.bx-table td:nth-child(2):empty::before {
  content: '—'; color: var(--text-subtle);
}
@media (max-width: 560px) {
  table.gx-table td:nth-child(2):empty,
  table.bx-table td:nth-child(2):empty { display: none; }
  /* With the side gone the separator would lead the line. */
  table.gx-table td:nth-child(2):empty + td::before { content: none; }
}


/* ---- the app bar in landscape on a notched phone (6 Nov 2026) ----------
   The dashboard asks `doc()` for `viewport-fit=cover`, so it paints into the
   notch and `env(safe-area-inset-*)` resolves to real numbers. `.tabbar`,
   `.main` and `.page-head` all take the side insets through `max()`. The app
   bar was the one that did not: a flat `padding: 8px 20px`.

   Measured at 844x390 with the side insets forced to 44px — a notched phone
   held sideways, notch on the left — the brandmark painted from x=20 and the
   wedding name ran to x=824, both inside the 44px band the hardware eats.
   The tab bar underneath was correct in the same screenshot, which is what
   made it obvious: the bottom of the screen respected the notch and the top
   did not.

   So the logo — which is the only way back to Home from a deep page —
   and the name of the wedding you are editing were the two things under the
   camera housing. `max()` keeps the 20px gutter everywhere the inset is 0,
   which is every phone in portrait and every phone without a notch. */
.appbar {
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

/* The photo picker is a full-width sheet with an 18px gutter and insets for
   top and bottom only, so its title, its grid and its buttons had the same
   problem in the same orientation. */
@media (max-width: 860px) {
  .pk__head, .pk__body, .pk__foot {
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }
}

/* ---- a ceremony's own controls, under its fields (6 Nov 2026) ----
   The ceremonies moved out of a tab of their own and into the Functions
   block's panel, so each row now carries its words and its controls
   together. This is the line under the fields: where it sits, how many
   have answered, and how to remove it.

   The reply count sits beside Remove rather than on the guest list because
   it is the reason Remove is dangerous — guest_events is ON DELETE CASCADE,
   so deleting a ceremony deletes every reply to it. */
.cact {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
}
.cact__n { margin-left: auto; }
.cact .setup-link { margin-left: 10px; }
/* ---- a control that only shows after saving says so (6 Nov 2026) ----
   Nine controls in this panel cannot repaint the preview, each for a real
   reason: a date is formatted on the server, a map link has to be chased
   through Google, the language swaps strings the server rendered. Every
   reason was written down — in editor.js, next to the code, where a couple
   is never going to read it. So Pulkit changed one, saw nothing happen, and
   reported the editor as broken. Five times in a day, three of them on
   controls working exactly as designed.

   Quiet on purpose. It is a fact about when the change appears, not a
   warning, and it sits on nine controls at once — at `--text-subtle` and
   10.5px it is findable when you are looking at that control and invisible
   when you are not. The louder half is the Save button, which changes to
   "Save to see it" the moment one of them is touched. */
.waits {
  display: inline-block; margin-left: 8px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .04em;
  text-transform: none; color: var(--text-subtle); white-space: nowrap;
}
.waits::before { content: '↻ '; }
/* The row version is a sentence, so it gets its own line under the fields
   rather than sitting beside a label. */
.waits--row { display: block; margin-top: 8px; margin-left: 0; }
/* On a label that is already uppercase and letter-spaced, the marker should
   not inherit either or it reads as part of the label. */
.cardset__label .waits, .pf__l .waits { text-transform: none; letter-spacing: .02em; }

/* ===========================================================================
   ADD A MODULE (ADR 0009)

   The library under the block list, and the two verbs a module row has that
   a section row does not. A section is the wedding's own structure and can
   only be moved and hidden; a module is something the couple added, so it
   can also be duplicated and deleted. The kind decides which buttons exist,
   which is why Delete can never appear on a row holding somebody else's
   reply.
   =========================================================================== */

.addmod { margin: 18px 0 4px; }
.addmod__h {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin: 0 0 4px;
}
.addmod__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.addmod__one {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.addmod__one:hover { border-color: var(--brand); background: var(--brand-tint); }
.addmod__one:disabled { opacity: 0.5; cursor: default; }
.addmod__one strong { font-size: 13px; font-weight: 600; }
.addmod__one span { font-size: 12px; color: var(--text-subtle); line-height: 1.4; }
.addmod__full { margin: 6px 0 0; }

/* The two verbs a module has and a section does not, at the foot of its
   panel rather than in the row's action strip: they are rarer than move and
   hide, and Delete beside the on/off switch is a misclick with no undo. */
.blk__own {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.blk__own button {
  font: inherit;
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-subtle);
  cursor: pointer;
}
.blk__own button:hover { border-color: var(--brand); color: var(--text); }
.blk__own button:disabled { opacity: 0.5; cursor: default; }
.blk__del:hover { border-color: var(--danger); color: var(--danger); }

/* Between the click and the reload. The server replaces this row a moment
   later; it exists so the list shows what is about to happen. */
.blk--pending { opacity: 0.55; pointer-events: none; }

/* Skeleton tiles in the photo picker, while the library is on its way.
   (6 Nov 2026. Pulkit: "Photos module is taking too long to load.")

   The panel opens synchronously and `/app/media.json` does not, so on a cold
   cache the dialog was a title, two buttons and a white gap. These fill that
   gap with the shape of the grid that is coming, so the panel opens at the
   size it will keep instead of jumping when the real tiles arrive.

   `aspect-ratio: 1` matches `.pk__item img` exactly; the 2px transparent
   border matches `.pk__item`'s, so the grid does not shift by four pixels at
   the swap. The shimmer is a moving gradient rather than a pulsing opacity,
   because a pulse at this size reads as a thing blinking at you.

   `prefers-reduced-motion` gets a flat tile. A shimmer is decoration; the
   information is the shape, and that survives without it. */
.pk__skel {
  aspect-ratio: 1;
  border: 2px solid transparent;
  border-radius: 12px;
  background-color: var(--toran-surface);
  background-image: linear-gradient(100deg,
    transparent 20%,
    color-mix(in srgb, var(--border) 55%, transparent) 42%,
    transparent 64%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  /* Shares `toran-skel` with every other skeleton -- see the loading-states
     section at the foot of this file. It used to carry its own identical
     copy of the keyframe. */
  animation: toran-skel 1.25s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .pk__skel { animation: none; background-image: none; }
}

/* The music upload, while it is uploading.
   (6 Nov 2026. Pulkit uploaded the same MP3 twice because nothing on screen
   said the first one was in flight.)

   A 16MB cap on an Indian mobile connection is long enough that silence is
   indistinguishable from failure, and the button is the thing he was looking
   at when he decided it had failed, so the state belongs on the button. */
.mup { position: relative; }
/* The label *is* the button here, and it carried an inline `cursor:pointer`
   that beat the busy cursor below. The cursor lives here now, both states. */
.mup__btn { cursor: pointer; }
.mup__btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.mup__spin {
  display: inline-block; width: 12px; height: 12px; margin-right: 7px;
  vertical-align: -1px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 30%, transparent);
  border-top-color: currentColor;
  animation: mup-spin 0.7s linear infinite;
}
@keyframes mup-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  /* Still a disc, still clearly not the idle state, just not turning. */
  .mup__spin { animation-duration: 3s; }
}

/* "Take it down", under the published card on Go live. (6 Nov 2026.)

   A disclosure rather than a button, so the sentence about every QR code
   already printed is read before the control to press exists. Styled quietly
   on purpose: this is the least-used control on the tab and should not
   compete with Publish, which is the one a couple is usually looking for. */
.pubdown { border-top: 1px solid var(--border); padding-top: 10px; }
.pubdown > summary {
  cursor: pointer; color: var(--text-subtle); width: fit-content;
  list-style: none;
}
.pubdown > summary::-webkit-details-marker { display: none; }
.pubdown > summary::before { content: '▸ '; }
.pubdown[open] > summary::before { content: '▾ '; }
.pubdown > summary:hover { color: var(--text); }
.pubdown > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* The music button's position grid. (6 Nov 2026, Pulkit's 3x3 of dots.)

   Nine dots in the proportion of a page, so the grid reads as the screen it
   is choosing a corner of rather than as a keypad: wider than tall, which is
   what a laptop is. The dot is small and the button around it is not — the
   hit area is the whole cell, because a 6px target is a 6px target however
   nice it looks. */
.posgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  width: 168px; aspect-ratio: 4 / 3; padding: 6px; margin: 2px 0 0;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--toran-surface);
}
.posgrid__dot {
  display: grid; place-items: center; padding: 0; cursor: pointer;
  background: none; border: 0; border-radius: 6px;
}
.posgrid__dot i {
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--text-subtle) 55%, transparent);
  transition: transform .12s ease, background-color .12s ease;
}
.posgrid__dot:hover i { background: var(--text-subtle); transform: scale(1.25); }
.posgrid__dot.is-on i {
  background: var(--brand); transform: scale(1.75);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.posgrid__dot:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
@media (prefers-reduced-motion: reduce) { .posgrid__dot i { transition: none; } }

/* The garland picker. (6 Nov 2026 — 58 ornaments, not 3.)

   A flat chip row held three and cannot hold 58. Groups across the top,
   ornaments below, each drawn at the size it is: nobody picks a garland from
   a list of names. Filtering is a class on the wrapper, so there is no
   request and the panel keeps its scroll.

   The tiles are the same CSS-mask trick the page uses, which means the
   picker shows the real thing rather than a thumbnail of it, and adding an
   ornament adds a tile with no second asset to make. */
/* A column, so the "Show more" disclosure can be written before the grid --
   which the sibling selector below needs -- and drawn after it, which is
   where a reader expects it. See src/lib/ornpick.ts for why not `:has()`. */
.ornpick { display: flex; flex-direction: column; margin: 2px 0 14px; }
.ornpick__groups { order: 0; }
.ornpick__grid { order: 1; }
.ornpick__more { order: 2; }
.ornpick__groups { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ornchip {
  padding: 4px 10px; font-size: 11.5px; line-height: 1.5; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--text-subtle);
}
.ornchip:hover { border-color: var(--brand); color: var(--text); }
.ornchip.is-on { background: var(--toran-sand); border-color: var(--brand); color: var(--text); }
.ornchip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.ornpick__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  /* No `max-height` and no `overflow`: this grid used to be a 308px window
     over 1,175px of tiles, which is 867px of scrolling inside a panel that
     already scrolled. The garland has its own row now, so the grid renders
     at its natural height in the panel's own scroll, and picking a group --
     which the picker now does for you on load and on a pick out of All --
     keeps that height at 274px or less. */
  gap: 7px; padding: 8px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--toran-surface);
}
.ornpick__o {
  display: grid; place-items: center; height: 46px; padding: 0; cursor: pointer;
  background: #fff; border: 2px solid var(--border); border-radius: 9px;
}
.ornpick__o:hover { border-color: var(--brand); }
.ornpick__o:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ornpick__o[aria-pressed="true"] {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--brand) 22%, transparent);
}
/* The ornament itself: the SVG as a mask over the brand ink, exactly as the
   page paints it, so what is picked is what appears. */
.ornpick__o i {
  display: block; width: 100%; height: 30px;
  background-color: var(--text);
  -webkit-mask-image: var(--o); mask-image: var(--o);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-size: auto 100%; mask-size: auto 100%;
  -webkit-mask-position: top center; mask-position: top center;
}
/* The raster pair are pictures, not silhouettes, so they are shown as one. */
.ornpick__o--art i {
  background-color: transparent; -webkit-mask-image: none; mask-image: none;
  background-image: var(--o); background-repeat: repeat-x;
  background-size: auto 100%; background-position: top center;
}
.ornpick__o--none { font-size: 11.5px; color: var(--text-subtle); }
.ornpick__o--none span { line-height: 1; }

/* Group filtering.
   Done in JS, which sets `.is-off` on the tiles that do not match. The first
   version enumerated the groups in CSS -- one rule per group name -- and the
   very next group added (Music, for the sitars) filtered to an empty grid,
   because nobody remembers a list in a stylesheet when adding a motif to a
   generator. A rule that rots the first time it is used is the wrong rule.
   "None" is never hidden: it is the way back out. */
.ornpick__o.is-off { display: none; }

/* ---- "Show more" (item 8, 12 Nov 2026) ----

   The grid was 1,177px under *All* -- 65 tiles, the height of the whole
   panel again. Pulkit offered an inner scroller or a show-more; the
   scroller is the 867px-inside-3,983px thing that was deleted the day
   before, so this is the show-more.

   **It works with no JavaScript**, which is why it is a `<details>` and not
   a button, and why the tiles past the cap are hidden rather than absent:
   `ornpick__o--more` is still in the one grid, still filtered by group,
   still focusable the moment the disclosure is open.

   The cap applies only under *All*. Every group fits on a screen already --
   measured 12 Nov: the tallest is Pattern at 276px -- so `.is-all` gates
   it, and `showGroup()` in editor.js maintains that class. With no script
   the class stays, because *All* is what the server renders. */
/* Two caps, one per filter state (12 Nov 2026).

   *All* hides everything past the fifteenth tile overall. A **group** hides
   everything past the fifteenth tile of that group -- which did not exist
   until the Artwork group arrived with 30 in it and rendered at 541px with
   no "Show more", reintroducing through a chip exactly the full-height
   grid that item 8 removed.

   `:not(.is-off)` on the reveal so the group filter still wins over it: a
   tile hidden because it is in another family stays hidden when the
   disclosure opens. */
.ornpick.is-all .ornpick__o--more { display: none; }
.ornpick:not(.is-all) .ornpick__o--gmore { display: none; }
.ornpick .ornpick__more[open] ~ .ornpick__grid .ornpick__o--more:not(.is-off),
.ornpick .ornpick__more[open] ~ .ornpick__grid .ornpick__o--gmore:not(.is-off) {
  display: grid;
}
/* Shown when there is something behind it, and not otherwise. With no
   script `is-all` is what the server renders, so the control is there for
   the one state a couple without JavaScript can be in. */
.ornpick__more { display: none; }
.ornpick.is-all .ornpick__more,
.ornpick.has-more .ornpick__more { display: block; }
.ornpick__more { margin-top: 8px; }
.ornpick__more > summary {
  display: inline-block; width: fit-content; cursor: pointer;
  padding: 4px 10px; font-size: 11.5px; line-height: 1.5;
  border: 1px solid var(--border); border-radius: 999px;
  background: #fff; color: var(--text-subtle);
  list-style: none;
}
.ornpick__more > summary::-webkit-details-marker { display: none; }
.ornpick__more > summary::marker { content: ''; }
.ornpick__more > summary:hover { border-color: var(--brand); color: var(--text); }
.ornpick__more > summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* One control, two words, whichever is true. */
.ornpick__more-b { display: none; }
.ornpick__more[open] .ornpick__more-a { display: none; }
.ornpick__more[open] .ornpick__more-b { display: inline; }

/* ---- "Coming soon": the invitation as a PDF and as a video ----

   Pulkit, 11 Nov 2026, renaming Design to "Event website": *"coz later we
   will add like pdf and video so yes"*, then *"btw put two things but write
   coming soon in it"* and *"not clickable"*.

   The markup is a `<span>` with no href and no tabindex -- see `SOON` in
   `src/views/layout.ts` for why that is the shape, and CONTEXT.md's
   amendment to the dead-control rule for why this is allowed to exist at all
   when a greyed-out Google button was not.

   Styled here rather than by reaching for the link rules, because the point
   is that it does not look like one: no hover, no focus ring, `cursor:
   default`, and dimmer than its neighbours in both surfaces. "Coming soon"
   is a real element, not a `title` -- a title is invisible on a phone, which
   is where the More sheet lives.

   It wraps rather than truncating. The rail is 212px of usable width at
   860px and the row is well inside that, but a translated "Coming soon" is
   not, and a second line is better than a clipped promise. The rail does not
   narrow below 860px -- it is `display: none` and the More sheet takes over
   -- so the sheet's 224px is the real floor. */
.soon {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  cursor: default;
}
.soon em {
  font-style: normal; font-size: 10.5px; font-weight: 500;
  letter-spacing: .055em; text-transform: uppercase; white-space: nowrap;
}
/* In the rail, over the deep teal. */
.side__nav .soon {
  padding: 11px 14px; font-size: 16px; color: rgba(255, 255, 255, .42);
}
.side__nav .soon em { color: rgba(255, 255, 255, .34); }
/* In the More sheet, on white. `.acct__menu a` gives its rows a 44px tap
   target; these are not taps, but a row of a different height in the middle
   of that list reads as a mistake, so they match it. */
.moresheet .soon {
  min-height: 44px; padding: 0 12px; font-size: 15px;
  align-items: center; color: var(--text-subtle);
}
.moresheet .soon em { color: var(--text-subtle); opacity: .78; }
/* ---- the choices box appears only when it means something (11 Nov 2026) ----

   Pulkit, on "CHOICES, IF YOU PICKED 'PICK ONE'" sitting under every answer
   type: *"this option should appear dynamically as per the above selection..
   rn its confusing."*

   CSS only, and no JavaScript anywhere in this. `option:checked` tracks the
   user's current selection, so `:has()` on the row re-evaluates the moment
   the select changes -- which is the whole reason this did not need a script
   and did not need the editor's panel listener either.

   ## Why the rule is negative

   The obvious shape -- hide the box, show it when Pick one is chosen -- fails
   the wrong way. A browser without `:has()` would drop the showing rule, keep
   the hiding rule, and leave a couple with no way to type a list of choices
   at all. Written as "hide it when the answer is NOT Pick one", the whole
   thing is one rule: an engine that cannot evaluate it drops it and renders
   exactly what shipped before today. Fail-open, by construction. */
.pf-kindrow:has(select[name="kind"] option:checked:not([value="choice"])) ~ .pf-ifchoice {
  display: none;
}

/* A module's `select`, for a list too long to be chips. (11 Nov 2026.)

   The Garland module offers all 62 drawn ornaments. As chips that is a wall,
   and as the card's tile grid it is 62 masked SVGs in every garland's panel
   on a page that may hold forty modules. It is a `<select>`, grouped by the
   library's own groups, and the thumbnail is the preview: picking one
   repaints the band on the page beside it, which is the thing this editor
   exists to do.

   `.pf__i` already gives it the box, the border and the focus ring, so this
   only undoes the one thing a select does differently -- a height that comes
   from the browser's own control rather than from the padding. */
.pf__sel {
  appearance: none; -webkit-appearance: none;
  line-height: 1.35; padding-right: 30px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 14px center, right 9px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* The occasion chips on the home page became links on 11 Nov 2026.

   They were eight hand-typed spans with `cursor: default` -- three of them
   naming occasions the product does not have, and none of them going
   anywhere. They are now generated from OCCASION_GROUPS and each one jumps to
   that occasion's section on /templates, so they need what a link in a chip
   needs: no underline, the pointer, and the brand on hover, matching
   `.chip--jump` on the templates page rather than inventing a second look.

   The 44px floor is only on phones, and it is the tap-target rule in
   CONTEXT.md rather than a preference: eleven of these wrap into four rows on
   a 375px screen, and a 38px pill beside another 38px pill is the shape that
   gets mis-tapped. On a laptop the pointer does not need it and the band stays
   the height it was. */
.chip--occ { cursor: pointer; text-decoration: none; }
.chip--occ:hover,
.chip--occ:focus-visible { border-color: var(--brand); color: var(--brand); }

@media (max-width: 860px) {
  .chip--occ { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---- the expense form, /app/budget ------------------------------------
   Pulkit, 11 Nov 2026, with a screenshot: *"why is there a dropdown if
   nothing in dropdown"*, and separately that the form does not line up.

   ## The row did not line up, and nudging would not have fixed it

   Measured before the change, at 1280: in the second row "Total agreed",
   "Paid so far" and "Balance due on" had their labels at y=618 and their
   controls at y=644, and "Which ceremony" had its label at y=565 and its
   control at y=591 -- **53px higher than the other three**.

   Nothing was wrong with that field. The row was `.row`, which is
   `align-items: center` overridden to `flex-end` inline, and flex-end lines
   boxes up by their *bottom* edge. "Which ceremony" carries a sentence of
   helper text under its select, so it is 135px tall against the others' 82;
   bottom-aligned, its top edge floats up by exactly the difference, 53px --
   the helper's 38px plus the field's 15px gap. Any field that ever grows
   taller than its neighbours does the same thing, so this was not that
   field's problem and would have come back the next time one of them gained
   a hint.

   A grid with `align-items: start` is the rule rather than the nudge. Every
   cell begins on the row's top line, so labels agree by construction and a
   field that is taller simply extends downwards. The columns are explicit
   rather than `auto-fit`, because Vendor and Category span two of them and
   a track count that changes with the container makes a span mean different
   things at different widths. */
.expf__grid {
  display: grid; align-items: start;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
}
.expf__grid .expf__wide { grid-column: span 2; }
/* Two up, then one. The four money-and-date fields stop being readable in a
   quarter of a tablet long before the form stops fitting. */
@media (max-width: 880px) {
  .expf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .expf__grid { grid-template-columns: minmax(0, 1fr); }
  .expf__grid .expf__wide { grid-column: auto; }
}

/* One chevron on the form, not two.

   Category was an `<input list>` and Which ceremony a `<select>`, so Chrome
   drew a solid black triangle on one -- and only while the pointer was over
   it -- and its own thin grey chevron on the other, for two controls doing
   the same job eighteen pixels apart. Both are selects now and both get the
   project's chevron, the same two gradients `.pf__sel` uses in the editor,
   so the form has one arrow and the page has one idea of what a list looks
   like.

   `background-origin: border-box` is not decoration: the focus rule swaps
   1px of border for 1px of padding, and without it the chevron would step
   sideways by a pixel every time the control is focused. */
.expf select {
  appearance: none; -webkit-appearance: none;
  line-height: 1.6; padding-right: 42px;
  background-origin: border-box;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 18px center, right 13px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

/* Edit, beside Remove, in an expense row.

   Pulkit: *"how to add edit expense delete as well"*. Two actions in the
   cell that held one, laid out rather than stacked, because `td` is a block
   and the form inside it is too. The phone rules further up turn every `td`
   into a block; this rule is later in the file and ties on specificity, so
   it wins there as well, which is what keeps the pair on one line at 375. */
table.bx-table td.bx-act {
  display: flex; align-items: center; gap: 14px;
}
.bx-act form { margin: 0; }

/* A 44px hit area for Edit on a phone, matching the one Remove already has
   a few rules above. The text measures about 24x21; the target does not. */
@media (max-width: 560px) {
  table.bx-table td.bx-act { justify-content: flex-end; }
  .bx-act a { position: relative; }
  .bx-act a::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
}
/* ---- the library's tiles for a file that is not a photograph ----

   A song had been drawn as an `<img>` with an MP3 in its src, which renders
   as the browser's broken-image glyph: the one thing on the page that says
   out loud that we are confused about our own file.

   The icon box takes the same 4/3 as `.ml-item__shot img`, so one audio tile
   in a grid of photographs does not change the row's height. `color` rather
   than `fill`, because the glyphs are stroked in `currentColor`. */
.ml-item__icon {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 4 / 3;
  background: var(--toran-surface); color: var(--toran-ink-soft);
}
.ml-item__icon svg { width: 34%; max-width: 72px; height: auto; }
/* The native control, kept inside the tile's width. `preload="none"` on the
   element is what keeps thirty of these free; this only stops the widget
   pushing the tile wider than the grid column. */
.ml-item__play { width: 100%; height: 34px; margin-top: 2px; }
/* ===========================================================================
   THE ARTICLE PAGE  (/guides/<slug>)                          added 11 Nov 2026

   Long-form reading, which is a different problem from every other page in
   this stylesheet. The marketing bands are scanned; an article is *read*, on a
   phone, for four to six minutes. So this block is mostly typography, and the
   three numbers that matter are the measure, the leading and the step between
   heading and body.

   **Measure.** 34em at the body size, which lands at 62-68 characters a line.
   Wider reads as a wall and the eye loses the line return; narrower breaks
   Devanagari badly, because Mukta sets wider than a Latin face at the same
   size and a 45-character measure in Hindi is three words a line.

   **Leading is 1.72, not the 1.6 the token scale gives.** `--leading-body` is
   tuned for cards and short blocks. At this measure and for this long, 1.6 is
   measurably tighter than comfortable; Devanagari needs more again, which is
   why `--leading-deva` exists at 165%, and an article that may be part Hindi
   takes the looser of the two rather than switching mid-page.

   **Everything is fluid between 360px and the measure**, with no breakpoint
   for the body text at all. A breakpoint on type size is a step change in the
   middle of a paragraph the moment somebody rotates a phone.

   No JavaScript. The contents list is anchors, and that is the whole feature.
   =========================================================================== */

.art {
  /* 672px. In `rem`, deliberately, and this was a bug before it was a decision:
     written as `34em` it resolved against the WRAPPER's inherited 16px rather
     than the 19.5px the body text is actually set at, which gave a 544px column
     and about 45 characters a line -- visibly too narrow, and nothing in the
     declaration said so. `rem` is the one length here that does not depend on
     where it is written. At 19.5px this lands at 62-66 characters. */
  --art-measure: 42rem;
  background: var(--toran-white);
  padding: 0 0 clamp(56px, 9vw, 96px);
}

/* The shared gutter. 22px on a phone rather than the .wrap 24px: at 360px
   those two pixels either side are a word every few lines over a long read. */
.art__m {
  max-width: var(--art-measure);
  margin-inline: auto;
  padding-inline: 22px;
}
/* Things that are allowed to break the measure: the hero, tables, callouts.
   Still bounded, or a table on a 27in screen becomes unreadable for the
   opposite reason. */
.art__w { max-width: 47rem; margin-inline: auto; padding-inline: 22px; }

/* ---- the head ---------------------------------------------------------- */

.art__head { padding: clamp(40px, 7vw, 76px) 0 0; }

.art__kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--text-label); font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--brand); margin: 0 0 18px;
}
.art__kicker::before { content: ''; width: 26px; height: 1px; background: currentColor; flex: 0 0 auto; }

.art h1 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  /* 35px on a 360px phone, 54px at 1280 and up -- the --text-3xl step.
     The slope is solved for those two points rather than guessed, because a
     guessed one does not do what the floor in the clamp implies: written as
     `clamp(34px, 2rem + 2.4vw, 54px)` the preferred value is already 40.6px at
     360px, so the 34px floor is dead code and a six-word headline took six
     lines and most of a phone screen. A clamp floor only engages if the
     preferred value can actually fall below it. */
  font-size: clamp(35px, 1.72rem + 2.07vw, 54px);
  line-height: 1.07;
  letter-spacing: var(--tracking-tight);
  margin: 0;
  /* Balanced headlines, where supported: a two-word orphan line on a 40px
     serif heading is the single ugliest thing on a page like this. */
  text-wrap: balance;
}

/* The standfirst. Sized between h2 and body so the eye has a rung between the
   headline and the first paragraph instead of a cliff. */
.art__lede {
  font-size: clamp(19px, 1.05rem + .55vw, 23px);
  line-height: 1.5;
  color: var(--text-muted);
  margin: 22px 0 0;
  text-wrap: pretty;
}

.art__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 26px 0 0;
  font-size: var(--text-xs); color: var(--text-subtle);
}
.art__meta b { font-weight: var(--font-weight-medium); color: var(--text-muted); }
.art__dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; }

/* The ornament rule, from the drawn library. One 2KB SVG painted as a mask, so
   it takes the brand colour rather than shipping a coloured raster -- the same
   trick `.hero-orn--drawn` uses on a tenant site, for the same reason. */
.art__orn {
  /* The tiles are designed to repeat along x -- each carries its motif and the
     connecting line, which is how `.hero-orn--drawn` uses them. Centred with
     `no-repeat` you get one 52px tile floating in the middle of the page,
     which reads as a stray glyph rather than a rule. Repeated inside a fixed
     180px band it is what it is meant to be: a short ornamental divider. */
  width: 180px; height: 30px;
  margin: clamp(30px, 5vw, 44px) auto 0;
  background-color: color-mix(in srgb, var(--toran-amber) 42%, transparent);
  -webkit-mask-image: var(--orn); mask-image: var(--orn);
  -webkit-mask-repeat: repeat-x; mask-repeat: repeat-x;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: auto 100%; mask-size: auto 100%;
}
@supports not (mask-image: url(x.svg)) {
  .art__orn { background-color: transparent; border-top: 1px solid var(--border); height: 1px; width: 180px; }
}

/* ---- the prose --------------------------------------------------------- */

.art__body { padding: clamp(34px, 5vw, 48px) 0 0; }

/* TAMIL, MADE EXPLICIT RATHER THAN LEFT TO THE BROWSER.

   `/guides/toran-bandhanwar-thoranam` quotes the Tamil தோரணம், and Mukta —
   the body face, which carries Latin and Devanagari — has no Tamil glyphs.
   Measured on 12 Nov 2026 the word rendered correctly anyway, with irregular
   per-glyph advances and zero-width combining marks, because the browser fell
   back silently to a system face. That is luck, not a decision: on a device
   whose default fallback has no Tamil it is four tofu boxes, on a page whose
   whole subject is getting somebody's tradition right.

   So the fallback is named. These are system fonts on Android, Windows, macOS
   and most Linux desktops respectively — **nothing is downloaded**, and the
   only thing this rule changes is which face the browser reaches for when
   Mukta cannot draw the glyph. Scoped to `.art__body` rather than put on
   `--font-body`, because the marketing page is another session's file and a
   global stack change is not mine to make.

   Devanagari needs nothing here: Mukta covers तोरण, and it was measured
   rendering in Mukta rather than in a fallback. */
.art__body, .art__lede, .art__t {
  font-family: var(--font-body), 'Noto Sans Tamil', 'Nirmala UI',
    'Tamil Sangam MN', Latha, sans-serif;
}

.art__body p,
.art__body li {
  font-size: clamp(17px, .98rem + .3vw, 19.5px);
  /* Looser than --leading-body (160%) on purpose. See the block comment. */
  line-height: 1.72;
  color: var(--text-muted);
  text-wrap: pretty;
}
.art__body p { margin: 0 0 1.15em; }
.art__body > *:last-child { margin-bottom: 0; }

.art__body h2 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(25px, 1.4rem + 1.5vw, 34px);
  line-height: 1.18;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  /* Asymmetric by a lot. A heading belongs to what follows it, and equal
     space above and below makes a long article read as disconnected slabs. */
  margin: clamp(44px, 6vw, 64px) 0 .5em;
  scroll-margin-top: 90px;
  text-wrap: balance;
}
.art__body h3 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  font-size: clamp(20px, 1.1rem + .6vw, 24px);
  line-height: 1.3; color: var(--text);
  margin: clamp(30px, 4vw, 40px) 0 .45em;
  scroll-margin-top: 90px;
}

.art__body strong { color: var(--text); font-weight: var(--font-weight-semibold); }
.art__body em { font-style: italic; }

/* Links in prose. Underlined, because colour alone is not a link cue and this
   is body copy rather than a control. The offset keeps it off the descenders
   of Devanagari, which hang lower than Latin.

   `:not(.btn)` is load bearing and was a real defect, not a precaution. The
   in-article CTA lives inside `.art__body`, so `.art__body a` at (0,1,1) beat
   `.btn` at (0,1,0) and painted the button's label `--brand` on a `--brand`
   pill: teal on teal, a button with no text on it, and nothing in either rule
   to suggest it. Any control that ends up in the prose has the same problem,
   so the exclusion is on the class rather than on this one component. */
.art__body a:not(.btn) {
  color: var(--brand); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--brand) 40%, transparent);
}
.art__body a:not(.btn):hover { text-decoration-color: currentColor; }

.art__body ul, .art__body ol { margin: 0 0 1.3em; padding-left: 1.15em; }
.art__body li { margin-bottom: .5em; }
.art__body li::marker { color: var(--toran-amber); }
.art__body ul ul { margin: .5em 0 0; }

/* A definition-ish run of short labelled points. Lighter than a <table> and it
   does not need a horizontal scroller on a phone. */
.art__pts { margin: 0 0 1.3em; }
.art__pt {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.art__pt:last-child { border-bottom: 1px solid var(--border); }
.art__pt b {
  display: block; font-family: var(--font-display);
  font-size: clamp(17px, 1rem + .25vw, 19px); font-weight: var(--font-weight-semibold);
  color: var(--text); margin-bottom: 5px; line-height: 1.3;
}
.art__pt span { display: block; font-size: var(--text-sm); line-height: 1.62; color: var(--text-muted); }

/* ---- the pull-outs ----------------------------------------------------- */

/* A checkable fact. Sand fill, amber rule, no icon. Used where a number in the
   prose is one somebody might reasonably want to verify. */
.art__fact {
  background: var(--toran-sand);
  border-left: 3px solid var(--toran-amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 22px;
  margin: clamp(30px, 4vw, 40px) 0;
}
.art__fact p { margin: 0; color: var(--toran-teal-deep); }
.art__fact p + p { margin-top: .8em; }
.art__fact b { color: var(--toran-teal-deep); }

/* Where we are honest about not knowing something. Deliberately plainer than
   the fact box -- it is a caveat, not a highlight. */
.art__note {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: clamp(30px, 4vw, 40px) 0;
  background: var(--toran-surface);
}
.art__note p { margin: 0; font-size: var(--text-sm); line-height: 1.6; }
.art__note p + p { margin-top: .7em; }
.art__note b { display: block; font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle); margin-bottom: 7px; }

/* ---- tables ------------------------------------------------------------ */

/* Scrolls rather than squashes. A three-column price comparison at 360px has
   to go somewhere, and a 9px font is not where. */
.art__tw { margin: clamp(30px, 4vw, 40px) 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.art__t { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
/* The minimum is per COLUMN, not per table, and that is the whole trick.

   A single `min-width` on the table cannot know how many columns it holds: set
   for the three-column price table (420px) it let the four-column ceremony
   table squeeze every column to about 100px on a 390px phone, which turned one
   sentence into a nine-line vertical ribbon and a row 300px tall. Per cell, the
   table's own minimum becomes columns x 8rem and scales itself: ~432px for
   three columns, ~624px for four. Both then scroll horizontally inside
   `.art__tw`, which is the correct outcome -- a table that scrolls is readable
   and a table that squeezes is not. */
.art__t th, .art__t td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); min-width: 8rem; }
/* The row label does not need as much; it is one or two words. */
.art__t tbody th { min-width: 6rem; }
.art__t thead th {
  font-family: var(--font-body); font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold); letter-spacing: .04em;
  text-transform: uppercase; color: var(--text-subtle);
  border-bottom: 1px solid var(--text-subtle);
}
.art__t tbody th { font-weight: var(--font-weight-semibold); color: var(--text); }
.art__t td { color: var(--text-muted); }
.art__t tr.is-us { background: color-mix(in srgb, var(--toran-sand) 55%, transparent); }
.art__t tr.is-us th, .art__t tr.is-us td { color: var(--toran-teal-deep); }
/* `.art__body .art__tcap`, not `.art__tcap`, and the extra class is the whole
   point: the rule above sets `.art__body p` at the reading size, which is two
   classes, so a one-class caption rule lost the cascade and every table
   caption in the set has been rendering at 19.5px — the same size as the
   prose it is a footnote to. Pre-existing; found while adding the charts,
   which share this class, and fixed here because a source line set as loudly
   as the body text stops reading as a source line. */
.art__body .art__tcap,
.art__tcap { font-size: var(--text-xs); color: var(--text-subtle); margin: 10px 0 0; line-height: 1.55; }

/* ---- photographs ------------------------------------------------------- */

/* Hotlinked from Unsplash. docs/decisions/0015-hotlinked-article-images.md.

   `aspect-ratio` from the attributes plus `height:auto` is what holds the
   page still while a third party's CDN gets round to us. The `width` and
   `height` on the element are the exact pixels we asked the CDN to crop to,
   so the ratio is correct by construction rather than by measurement -- the
   browser reserves the right box before a byte arrives and the paragraph
   under the image never jumps.

   The sand background is not styling either: it is what a reader sees in the
   gap, and on a slow connection that gap is the page. Grey would read as
   broken; the sand reads as the page. */
.art__fig {
  margin: clamp(30px, 4vw, 42px) 0;
}
.art__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--toran-sand);
}
/* Portraits are narrowed rather than cropped. At the full measure a 4:5 image
   is taller than a laptop viewport and the reader loses the paragraph it was
   illustrating; cropping it to landscape would throw away the subject, which
   on a vertical photograph is usually the whole of it. */
.art__fig--tall { max-width: 27rem; margin-inline: auto; }

/* ---- the lead photograph ---------------------------------------------- */

/* Directly under the standfirst, above the contents list, and the widest
   thing on the page.

   The reason it exists is a measurement, not a preference: on production on
   12 Nov 2026 the first image on `/guides/griha-pravesh-invitation` was at
   y=1,411 with the h1 at y=186 — nearly two screens of unbroken text on a
   768px viewport — and `/guides/haldi-and-mehndi` put its first of five at
   y=1,580 in a 9,035px page. Every article opened with a wall of text, so a
   reader who opened one and read the top saw no pictures, and reported that
   there were none. That report was a fair description of the product.

   `aspect-ratio` from the attributes rather than a fixed height: the box is
   correct before a byte arrives, which matters more here than anywhere else
   on the page because a reflow in the first screen is the one a reader sees
   happen. */
.art__lead {
  margin: clamp(26px, 4vw, 36px) 0 0;
  max-width: 47rem;
}
.art__lead img {
  display: block; width: 100%; height: auto;
  aspect-ratio: attr(width) / attr(height);
  border-radius: var(--radius-md);
  background: var(--toran-sand);
  object-fit: cover; max-height: 60vh;
}
/* `max-height` plus `object-fit` is the one rule here that is doing real
   work. A portrait lead at the full measure is 1,170px tall, which is more
   than a laptop viewport: the reader would have to scroll past a poster to
   reach the first sentence, which is the same defect as the wall of text with
   a nicer texture. Capped at 60vh it is emphatically the opening image and
   still leaves the contents list and the first heading reachable. */
.art__lead figcaption {
  display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline;
  font-size: var(--text-xs); line-height: 1.5; color: var(--text-subtle);
  margin: 9px 0 0;
}
.art__fig figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 10px;
  font-size: var(--text-xs);
  line-height: 1.55;
  color: var(--text-subtle);
}
.art__figcap { flex: 1 1 18rem; color: var(--text-muted); }
/* The credit sits at the quiet end of the line. It is an obligation we took
   on voluntarily (ADR 0013 §2), not a design element, and it should look
   like neither an apology nor a feature. */
.art__cred { margin-left: auto; }
.art__cred a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.art__cred a:hover { color: var(--text-muted); }

/* ---- charts ------------------------------------------------------------ */

/* Hand-written SVG. No chart library -- see the note on the `chart` block in
   views/article.ts, and the two-dependency rule in CLAUDE.md.

   Nothing here encodes data in colour alone. Every bar carries its own value
   as text beside it, the second series is hatched as well as tinted, and the
   categories are labelled down the left rather than in a legend you have to
   match by eye. In greyscale it says the same thing. */
.art__chart {
  margin: clamp(30px, 4vw, 42px) 0;
  padding: 22px 22px 18px;
  background: var(--toran-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.art__ctitle {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 14px;
}
/* Divs and percentages, not SVG — the reason is in the note on `chart()` in
   views/article.ts. The short version: a fixed-viewBox SVG scales its own
   type, so a label that reads at 12px in a 708px column renders at about 6px
   in a 331px one. Here the bar scales and the text does not, because the
   text is ordinary text. */
.art__crows { display: flex; flex-direction: column; gap: 14px; }
.art__crow {
  display: grid;
  /* The label column is bounded at both ends: wide enough for "Digital
     Invite" on one line, never more than a third of a phone. */
  grid-template-columns: minmax(4.5rem, 8.5rem) 1fr;
  align-items: center;
  gap: 4px 12px;
}
.art__cbars { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
/* A fixed track plus a FIXED value column, and the second half is the part
   that is easy to get wrong. With the value column set to `auto` each row's
   track would be a different width — the ₹3,000 row wider than the ₹60,000
   row — and bars in different rows would no longer be to the same scale,
   which is the one thing a bar chart has to get right. A fixed column keeps
   every track identical and keeps the longest label on the page. */
.art__cbar {
  display: grid; grid-template-columns: 1fr 4.6rem;
  align-items: center; gap: 8px; min-width: 0;
}
/* The "not stated" rows carry a sentence rather than a figure, so they give
   the text the whole row instead of the value column. They have no bar to
   keep to scale, which is exactly why they can. */
.art__cbar--none { grid-template-columns: auto 1fr; }

/* Category labels. Right-aligned so they sit against the bars they name. */
.art__cl {
  font-size: var(--text-xs); line-height: 1.3; color: var(--text-muted);
  text-align: right; overflow-wrap: anywhere;
}
.art__cl.is-us { color: var(--toran-teal-deep); font-weight: var(--font-weight-semibold); }

.art__cfill {
  height: 16px; border-radius: 2px; flex: 0 0 auto;
  background: var(--toran-teal-deep); opacity: .78;
}
.art__cfill.is-us { opacity: 1; }
/* The second series is hatched as well as tinted. The hatch is the
   accessibility feature rather than the decoration: it is what separates the
   two series in greyscale, or for a reader who cannot separate the hues. */
.art__cfill--b {
  opacity: 1; background: var(--toran-amber-soft);
  background-image: repeating-linear-gradient(45deg,
    var(--toran-amber) 0 2px, transparent 2px 6px);
}

/* The value, beside its bar. Real text, so a crawler indexes it and a reader
   never has to estimate a length against an axis. */
.art__cv {
  font-size: var(--text-xs); font-weight: var(--font-weight-semibold);
  color: var(--text); white-space: nowrap;
}
/* "Not stated" is a different claim from zero, and it is set to look like a
   caveat rather than a quantity. */
.art__cnone {
  width: 34px; height: 16px; flex: 0 0 auto; border-radius: 2px;
  border: 1px dashed var(--border);
}
.art__cv--none { font-weight: var(--font-weight-regular); font-style: italic; color: var(--text-subtle); }

/* On a phone the label column was taking 8.5rem out of a 331px column and
   leaving the bars about 110px to say everything in. Stacked, the label gets
   a line of its own and the bars get the full width, which is the right way
   round: the label is three words and the bar is the data. */
@media (max-width: 560px) {
  .art__crow { grid-template-columns: 1fr; gap: 6px; }
  .art__cl { text-align: left; font-weight: var(--font-weight-semibold); color: var(--text); }
}

.art__ckey { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 14px; }
.art__ckeyi { display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--text-xs); color: var(--text-muted); }
.art__csw { width: 13px; height: 13px; border-radius: 2px; background: var(--toran-teal-deep); opacity: .78; }
.art__csw--b { opacity: 1; background: var(--toran-amber-soft);
  background-image: repeating-linear-gradient(45deg, var(--toran-amber) 0 2px, transparent 2px 6px); }


/* ---- drawn figures: product screens and diagrams ----------------------- */

/* The counterpart to `.art__fig` above, and the reason there are two blocks
   rather than one: a photograph is a rectangle of somebody else's bytes with
   a credit line, and these are markup of ours with a kicker saying what kind
   of thing the reader is looking at. See `data/article-figures.ts` for why the
   drawings exist at all, and why they are not the marketing page's `.wa` and
   `.preview` rules reused.

   The visual language IS deliberately the marketing page's -- chrome bar,
   three dots, pill tags, sand-tinted chat -- because a reader who has seen the
   front door should recognise these as the same product. What is not shared is
   the CSS, so that retuning a hero band cannot silently restyle an article. */

.art__sfc { margin: clamp(30px, 4vw, 42px) 0; }

.art__sfct {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px;
  font-size: var(--text-sm); font-weight: var(--font-weight-semibold);
  color: var(--text); margin: 0 0 12px;
}

/* The provenance line. Small, muted and always present: a reader who cannot
   tell a mock-up from a screenshot has been misled whether or not anybody
   meant it. */
.art__sfck {
  font-size: var(--text-xs); font-weight: var(--font-weight-regular);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-subtle);
}

.art__sfcd { font-size: var(--text-sm); line-height: 1.5; }

/* THE CASCADE TRAP, AND WHY FIVE SELECTORS BELOW ARE WRITTEN TWICE.

   `.art__body p` is (0,2,0) and beats any single-class rule, so a `<p>` inside
   a figure comes out as 19.5px article prose with a 1.15em bottom margin. That
   trap had already cost `.art__tcap` once — see the pair of selectors on it
   above — and these figures use five `<p>` classes: `.sfc__lbl`, `.sfc__foot`,
   `.sfc__pt`, `.sfc__pf` and `.sfc__quote`. Each is therefore written as
   `.art__body .x, .x`, which matches the weight rather than fighting it.

   A sixth `<p>` class added to a figure needs the same pair, or it will
   silently render as prose. A single blanket reset would not do: it would
   outrank the five rules themselves. */

/* ---- the frame --------------------------------------------------------- */

.sfc {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--toran-white); overflow: hidden;
}

.sfc__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; background: var(--toran-sand);
  border-bottom: 1px solid var(--border);
}
.sfc__dots { display: inline-flex; gap: 5px; flex: 0 0 auto; }
.sfc__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--border);
  display: block; }
.sfc__url {
  font-size: var(--text-xs); color: var(--text-subtle);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.sfc__body { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.sfc__body--flush { padding: 0; gap: 0; }

/* A footnote inside the drawing. Distinct from `.art__tcap`, which is the
   figure's caption and sits outside the frame. */
.art__body .sfc__foot, .sfc__foot {
  font-size: var(--text-xs); line-height: 1.5; color: var(--text-subtle);
  margin: 6px 0 0; padding: 10px 16px 12px;
}
.art__body .sfc__body .sfc__foot, .sfc__body .sfc__foot { padding: 4px 0 0; }
/* A flush body has no padding of its own — it holds a table that must reach
   the frame — so its footnote has to carry its own, or it sits hard against
   the border with its descenders on the edge. */
.art__body .sfc__body--flush .sfc__foot,
.sfc__body--flush .sfc__foot { padding: 10px 12px 12px; }

/* ---- the chat surface -------------------------------------------------- */

.sfc--chat { background: var(--toran-sand); }
.sfc__wa { padding: 14px; display: flex; flex-direction: column; gap: 8px; }

/* The label above each state. Not a heading: these name two conditions of the
   same message, which is the comparison the figure is making. */
.art__body .sfc__lbl, .sfc__lbl {
  font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle); margin: 4px 0 0;
}

.sfc__bub {
  display: block; align-self: flex-end; max-width: 23rem;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: 14px 14px 4px 14px; padding: 9px 11px;
}
.sfc__bub--me { background: color-mix(in srgb, var(--toran-teal) 12%, var(--toran-white)); }
.sfc__bub--wide { max-width: 30rem; }

.sfc__txt { display: block; color: var(--text-muted); word-break: break-all;
  font-size: var(--text-xs); }
.sfc__time { display: block; text-align: right; font-size: 11px;
  color: var(--text-subtle); margin-top: 4px; }

/* The grey box. A blank band and the hostname under it, which is exactly what
   WhatsApp draws when a page carries no preview tags -- the article's whole
   complaint, and the one thing in the figure that has to look dull on
   purpose. */
.sfc__grey {
  display: block; border-radius: 9px; overflow: hidden; margin-bottom: 6px;
  border: 1px solid var(--border); background: var(--bg-raised);
}
.sfc__grey i { display: block; height: 54px; background: var(--border); opacity: .55; }
.sfc__grey em {
  display: block; padding: 7px 9px; font-style: normal;
  font-size: var(--text-xs); color: var(--text-subtle);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* The same slot with the tags set. The picture is a flat tint rather than a
   photograph: a third-party image request inside a figure about what arrives
   on a bad connection would be its own joke, and the shape is the point. */
.sfc__prev {
  display: block; border-radius: 9px; overflow: hidden; margin-bottom: 6px;
  border: 1px solid var(--border); background: var(--toran-white);
}
.sfc__prev-img {
  display: block; height: 68px;
  background: linear-gradient(118deg, var(--toran-plum-deep), var(--toran-ruby) 58%, var(--toran-amber) 100%);
}
.sfc__prev-t { display: block; padding: 8px 9px 0; font-weight: var(--font-weight-semibold);
  color: var(--text); font-size: var(--text-xs); }
.sfc__prev-d { display: block; padding: 3px 9px 0; color: var(--text-muted);
  font-size: 11px; line-height: 1.45; }
.sfc__prev-u { display: block; padding: 4px 9px 8px; color: var(--text-subtle);
  font-size: 11px; }

/* ---- numbered annotations --------------------------------------------- */

/* A line of the thing, with its note in the margin. On a phone the margin is
   gone and the note sits above the line instead, which is why this is a grid
   and not a float: a floated note next to a 320px line is a two-word column. */
.sfc__line {
  display: grid; grid-template-columns: 1fr; gap: 3px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
}
.sfc__line:last-of-type { border-bottom: 0; }
.sfc__line b { color: var(--text); font-weight: var(--font-weight-semibold); }
.sfc__sub { color: var(--text-muted); font-size: var(--text-xs); }
/* One grid row of flowing prose, for the lines that are sentences rather than
   fields. Without it a `<b>` inside a line is a direct child of the grid and
   becomes a row of its own, which breaks a sentence into three stacked
   fragments — exactly what it did on the WhatsApp figure first time. */
.sfc__lt { display: block; }
.sfc__lt b { display: inline; }

.sfc__mk {
  display: flex; align-items: baseline; gap: 7px; order: -1;
  font-size: var(--text-xs); color: var(--text-subtle);
}
.sfc__mk i {
  flex: 0 0 auto; width: 16px; height: 16px; border-radius: 50%;
  background: var(--toran-amber-soft); color: var(--toran-amber-deep);
  font-style: normal; font-size: 10px; font-weight: var(--font-weight-semibold);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---- pills ------------------------------------------------------------- */

.sfc__tag {
  display: inline-block; flex: 0 0 auto; padding: 3px 9px;
  border-radius: var(--radius-pill); font-size: 11px;
  font-weight: var(--font-weight-semibold); white-space: nowrap;
  background: var(--bg-raised); color: var(--text-muted);
}
/* Never colour alone: each pill carries its own words, so the figure reads
   the same in greyscale and the colour is confirmation rather than the
   message. */
.sfc__tag--yes { background: color-mix(in srgb, var(--toran-teal) 16%, transparent);
  color: var(--toran-teal-deep); }
.sfc__tag--no { background: color-mix(in srgb, var(--toran-ruby) 14%, transparent);
  color: var(--toran-ruby); }
.sfc__tag--wait { background: color-mix(in srgb, var(--toran-amber) 20%, transparent);
  color: var(--toran-amber-deep); }

/* ---- the URL anatomy --------------------------------------------------- */

.sfc--anat { padding: 4px 0 0; }
.sfc__arow { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.sfc__arow--bad { background: color-mix(in srgb, var(--toran-ruby) 4%, transparent); }
.sfc__anatl {
  display: block; font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle); margin-bottom: 7px;
}
/* The address itself. `break-all` rather than a scroller, because the whole
   point is reading it left to right to the first slash, and a reader who has
   to drag it sideways has lost the comparison. */
.sfc__url--big {
  display: block; white-space: normal; overflow: visible; word-break: break-all;
  font-size: var(--text-sm); line-height: 1.7;
}
.sfc__url--big em { font-style: normal; color: var(--text-subtle); }
.sfc__url--big b {
  color: var(--toran-teal-deep); font-weight: var(--font-weight-semibold);
  background: color-mix(in srgb, var(--toran-amber) 22%, transparent);
  border-radius: 3px; padding: 1px 3px;
  box-shadow: inset 0 -2px 0 var(--toran-amber-deep);
}
.sfc__arow--bad .sfc__url--big b {
  color: var(--toran-ruby);
  background: color-mix(in srgb, var(--toran-ruby) 14%, transparent);
  box-shadow: inset 0 -2px 0 var(--toran-ruby);
}
.sfc__aft { display: block; margin-top: 7px; font-size: var(--text-xs);
  line-height: 1.55; color: var(--text-muted); }
.sfc__aft b { color: var(--text); font-weight: var(--font-weight-semibold); }

/* ---- file endings ------------------------------------------------------ */

.sfc--files { padding: 4px 0; }
.sfc__file {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 16px; border-bottom: 1px solid var(--border);
}
.sfc--files .sfc__file:last-child { border-bottom: 0; }
.sfc__file--bad { background: color-mix(in srgb, var(--toran-ruby) 4%, transparent); }
.sfc__fn { flex: 1 1 14rem; min-width: 0; word-break: break-all; color: var(--text-muted);
  font-size: var(--text-xs); }
.sfc__fn b { color: var(--text); font-weight: var(--font-weight-semibold);
  background: color-mix(in srgb, var(--toran-amber) 22%, transparent); border-radius: 3px;
  padding: 1px 3px; }
.sfc__file--bad .sfc__fn b { color: var(--toran-ruby);
  background: color-mix(in srgb, var(--toran-ruby) 14%, transparent); }
/* The truncation trick, drawn rather than described: the name is clipped and
   its own ending is off the edge, which is the thing a reader cannot work out
   from the rule alone. */
.sfc__file--clip .sfc__fn { white-space: nowrap; overflow: hidden; word-break: normal; }
.sfc__file--clip .sfc__fn i { font-style: normal; color: var(--text-subtle); }

/* ---- tables inside a screen ------------------------------------------- */

.sfc__tbl { width: 100%; border-collapse: collapse; font-size: var(--text-xs); }
.sfc__tbl th, .sfc__tbl td {
  padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.sfc__tbl thead th {
  font-size: 10px; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-subtle); font-weight: var(--font-weight-semibold);
  background: var(--toran-sand);
}
.sfc__tbl td { color: var(--text-muted); }
.sfc__tbl tbody tr:last-child td { border-bottom: 0; }
.sfc__num { text-align: right; }
.sfc__tbl .sfc__num b { color: var(--text); }

/* ---- rows and section strips ------------------------------------------ */

.sfc__kpi {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sfc__kpi em { font-style: normal; font-size: var(--text-xs);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--text-subtle); }
.sfc__kpi b { font-size: var(--text-lg); color: var(--text); }

.sfc__sec, .sfc__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.sfc__sec {
  font-weight: var(--font-weight-semibold); color: var(--text);
  padding: 8px 0 7px; border-bottom: 1px solid var(--border);
}
.sfc__sec--on {
  background: color-mix(in srgb, var(--toran-amber) 14%, transparent);
  color: var(--toran-amber-deep); margin-top: 6px;
  padding: 8px 10px 7px; border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border-bottom: 1px solid var(--toran-amber);
}
.sfc__row { font-size: var(--text-xs); color: var(--text-muted);
  padding: 5px 10px; }
.sfc__sec i, .sfc__row i { font-style: normal; flex: 0 0 auto; }

/* ---- panes ------------------------------------------------------------- */

.sfc--panes {
  border: 0; background: none; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.sfc--panes-2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.sfc__pane {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--toran-white); padding: 13px 14px;
  display: flex; flex-direction: column; gap: 9px;
}
.sfc__pane--on { border-color: var(--toran-amber);
  background: color-mix(in srgb, var(--toran-amber) 6%, var(--toran-white)); }
.art__body .sfc__pt, .sfc__pt {
  margin: 0; font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; font-weight: var(--font-weight-semibold);
  color: var(--toran-teal-deep);
}
.art__body .sfc__pf, .sfc__pf { margin: auto 0 0; font-size: var(--text-xs); line-height: 1.5;
  color: var(--text-subtle); }

/* An invitation line, set in the display face. Four of these read as four
   invitations rather than four definitions, which is what the reader is
   choosing between. */
.art__body .sfc__quote, .sfc__quote {
  margin: 0; font-family: var(--font-display); font-size: var(--text-sm);
  line-height: 1.6; color: var(--text);
}

.sfc__two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sfc__side { display: flex; flex-direction: column; gap: 5px; }
.sfc__side em {
  font-style: normal; font-size: 10px; letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle);
}
.sfc__side i {
  font-style: normal; font-size: var(--text-xs); padding: 5px 8px;
  border-radius: var(--radius-sm); background: var(--toran-sand); color: var(--text-muted);
}
.sfc__strip {
  display: block; font-size: 11px; padding: 5px 8px; border-radius: var(--radius-sm);
  background: var(--bg-raised); color: var(--text-subtle); text-align: center;
}

.sfc__bands { display: flex; flex-direction: column; gap: 5px; }
.sfc__band {
  font-style: normal; font-size: var(--text-xs); padding: 6px 9px;
  border-radius: var(--radius-sm); color: var(--text-muted);
}
.sfc__band--a { background: color-mix(in srgb, var(--toran-teal) 13%, transparent); }
/* Hatched, not merely a second colour: the two sides have to be distinguishable
   in greyscale and by anybody who cannot separate teal from amber. */
.sfc__band--b {
  background: color-mix(in srgb, var(--toran-amber) 16%, transparent);
  background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--toran-amber-deep) 24%, transparent) 0 2px, transparent 2px 6px);
}

.sfc__pile { display: block; position: relative; }
.sfc__pile em {
  display: block; font-style: normal; font-size: var(--text-xs);
  color: var(--text-muted); margin-top: 6px; text-align: center;
}
.sfc__half { display: inline-block; width: 50%; height: 34px; vertical-align: top; }
.sfc__half--a { background: color-mix(in srgb, var(--toran-teal) 13%, transparent);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.sfc__half--b {
  background: color-mix(in srgb, var(--toran-amber) 16%, transparent);
  background-image: repeating-linear-gradient(45deg, color-mix(in srgb, var(--toran-amber-deep) 24%, transparent) 0 2px, transparent 2px 6px);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---- the page-order stack and the fold ------------------------------- */

.sfc--stack, .sfc--two {
  border: 0; background: none; display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.sfc__phone {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--toran-white); padding: 12px;
  display: flex; flex-direction: column; gap: 7px;
}
.sfc__phone--bad { border-color: color-mix(in srgb, var(--toran-ruby) 40%, var(--border)); }

.sfc--stack .sfc__band, .sfc__wband {
  display: block; font-style: normal; font-size: var(--text-xs); line-height: 1.5;
  padding: 10px 11px; border-radius: var(--radius-sm);
  background: var(--toran-sand); color: var(--text-muted);
}
.sfc__band--hero, .sfc__wband--names {
  background: linear-gradient(118deg, color-mix(in srgb, var(--toran-plum-deep) 10%, var(--toran-sand)), color-mix(in srgb, var(--toran-amber) 18%, var(--toran-sand)));
  text-align: center; padding: 16px 11px;
}
.sfc__band--hero b, .sfc__wband--names b {
  display: block; font-family: var(--font-display); font-size: var(--text-lg);
  color: var(--text); font-weight: var(--font-weight-regular);
}
.sfc__band--hero em, .sfc__wband--names em {
  display: block; font-style: normal; font-size: var(--text-xs);
  color: var(--text-muted); margin-top: 3px;
}
.sfc__band--last { opacity: .72; }

/* The fold. A dashed rule with a word on it, which is the only honest way to
   draw "and the rest is below this" in a figure that is not itself a phone. */
.sfc__foldline {
  display: flex; align-items: center; gap: 9px; margin: 3px 0;
  font-size: 10px; letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--toran-ruby);
}
.sfc__foldline::before, .sfc__foldline::after {
  content: ''; flex: 1 1 auto; height: 0;
  border-top: 1px dashed color-mix(in srgb, var(--toran-ruby) 55%, transparent);
}
.sfc__foldline i { font-style: normal; flex: 0 0 auto; }

.sfc__aside {
  border-left: 2px solid var(--toran-amber); padding: 2px 0 2px 14px;
  display: flex; flex-direction: column; gap: 7px; align-self: start;
}

/* ---- one function card ------------------------------------------------- */

.sfc--fn { border: 0; background: none; }
.sfc__card {
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--toran-white); padding: 4px 16px;
}
/* Paired, for the same cascade reason as the five `<p>` classes above: the
   `.sfc__line b` rule is (0,2,0) and would otherwise hold this at semibold. */
.sfc__line b.sfc__fname, .sfc__fname {
  font-family: var(--font-display); font-size: var(--text-lg);
  color: var(--text);
}
/* `justify-self`, because a `<b>` is a grid item of `.sfc__line` and would
   otherwise stretch the tint across the whole card. */
.sfc__hi {
  justify-self: start;
  background: color-mix(in srgb, var(--toran-amber) 22%, transparent);
  border-radius: 3px; padding: 1px 4px;
}

/* The one width worth a query. Two columns of panes at 320px is two columns of
   four words; the side-by-side split diagram is the only figure that has to
   stay two-up to make its comparison, and it is narrow enough to survive. */
@media (max-width: 520px) {
  /* The table is the one figure that does not fit a phone: five columns of
     `nowrap` are 504px inside a 329px frame, and `.sfc` clips rather than
     scrolls, so the Phone column would simply not be there and nothing would
     say so. That is the exact shape the marketing session flagged — a table
     inside a card with no scroller is invisible breakage — so the cells wrap
     here instead. Wrapping is better than a scroller for this one: the figure
     is `aria-hidden`, so a scrollable region inside it is reachable by a
     keyboard and useless to a screen reader. */
  .sfc__tbl th, .sfc__tbl td { padding: 8px 7px; white-space: normal; }
  .sfc__tbl { table-layout: fixed; }
  .sfc__bub, .sfc__bub--wide { max-width: 100%; }
  .sfc__two { gap: 6px; }
}

/* ---- contents ---------------------------------------------------------- */

.art__toc {
  margin: clamp(30px, 4vw, 40px) 0 0;
  padding: 20px 22px;
  background: var(--toran-surface);
  border-radius: var(--radius-sm);
}
.art__toc b {
  display: block; font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle); margin-bottom: 12px;
}
.art__toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.art__toc li { margin: 0 0 9px; padding-left: 26px; position: relative; font-size: var(--text-sm); line-height: 1.5; }
.art__toc li:last-child { margin-bottom: 0; }
.art__toc li::before {
  counter-increment: toc; content: counter(toc);
  position: absolute; left: 0; top: 0;
  font-size: var(--text-xs); color: var(--toran-amber);
  font-variant-numeric: tabular-nums;
}
.art__toc a { color: var(--text-muted); text-decoration: none; }
.art__toc a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ---- the in-article CTA ------------------------------------------------ */

/* Once, mid-article, and it has to earn the interruption: it says what the
   product does about the thing the section just described, not "sign up now".
   Teal on white rather than a dark band, so it reads as part of the page
   instead of an advertisement dropped into it. */
.art__cta {
  margin: clamp(38px, 5vw, 52px) 0;
  padding: 24px 26px;
  background: linear-gradient(180deg, var(--toran-white), var(--toran-surface));
  border: 1px solid var(--border);
  border-top: 2px solid var(--brand);
  border-radius: var(--radius-sm);
}
.art__cta h3 {
  font-family: var(--font-display); font-size: clamp(19px, 1.05rem + .5vw, 22px);
  font-weight: var(--font-weight-semibold); color: var(--brand);
  margin: 0 0 8px; line-height: 1.28;
}
.art__cta p { font-size: var(--text-sm); line-height: 1.6; color: var(--text-muted); margin: 0 0 16px; }
.art__cta .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.art__cta .art__price { font-size: var(--text-xs); color: var(--text-subtle); }

/* ---- the foot ---------------------------------------------------------- */

.art__end { margin: clamp(48px, 7vw, 72px) 0 0; padding-top: clamp(30px, 4vw, 40px); border-top: 1px solid var(--border); }
.art__end h2 {
  font-family: var(--font-display); font-size: clamp(26px, 1.5rem + 1.4vw, 36px);
  font-weight: var(--font-weight-semibold); letter-spacing: var(--tracking-tight);
  line-height: 1.15; margin: 0 0 12px; text-wrap: balance;
}
.art__end p { font-size: clamp(16px, .95rem + .2vw, 18px); line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; }

/* Related reading. Two up on a wide screen, stacked on a phone. */
.art__rel { margin: clamp(44px, 6vw, 64px) 0 0; }
.art__rel > b {
  display: block; font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle); margin-bottom: 16px;
}
.art__rels { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.art__rl {
  display: block; text-decoration: none; padding: 18px 20px;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color .15s, transform .15s;
}
.art__rl:hover { border-color: var(--brand); transform: translateY(-1px); }
.art__rl i {
  display: block; font-style: normal; font-size: var(--text-label);
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  color: var(--toran-amber-deep); margin-bottom: 8px;
}
.art__rl strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(17px, 1rem + .25vw, 19px); font-weight: var(--font-weight-semibold);
  color: var(--text); line-height: 1.32;
}

/* ---- the listing page -------------------------------------------------- */

/* Rebuilt 12 Nov 2026. The page was a plain list of links with nothing else on
   it; now that every article carries a lead photograph there is material to
   build a page out of, and not one asset was made for this one.

   The constraint that shaped it is in the header of `guidesPage()`: nothing
   here may hide a link from a crawler that does not run scripts. So there is
   no JavaScript, no disclosure widget and no filter — the grouping is four
   headings and four grids, which a reader and a crawler resolve the same way.
   Everything below is layout. */

.gl__top { padding-bottom: 0; }
.gl__top h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 2.2rem + 2.2vw, 54px);
  font-weight: var(--font-weight-semibold); letter-spacing: var(--tracking-tight);
  line-height: 1.08; max-width: 18ch; margin: 14px 0 0; text-wrap: balance;
}
.gl__lede {
  max-width: 62ch; font-size: clamp(16px, .95rem + .3vw, 18px);
  line-height: 1.65; color: var(--text-muted); margin: 18px 0 0;
}

/* Four anchors, not a nav bar and not tabs. A reader arrives with one of about
   four questions and this answers "which of these is mine" without scrolling;
   in the markup it is four ordinary in-page links, which is the whole reason
   it is allowed to exist on a page with this brief. */
.gl__jump {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 26px 0 0; padding: 0;
}
.gl__jump a {
  display: inline-block; text-decoration: none;
  padding: 7px 15px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); background: var(--toran-white);
  font-size: var(--text-sm); color: var(--text-muted);
  transition: border-color .15s, color .15s;
}
.gl__jump a:hover { border-color: var(--brand); color: var(--brand); }

.gl__main { padding-top: 20px; }

/* A shelf. The heading is a real heading because the four groups are the
   page's actual structure and a screen reader should hear them as such. */
.gl__group { margin-top: clamp(44px, 6vw, 72px); }
.gl__group:first-child { margin-top: clamp(26px, 3vw, 34px); }
.gl__ghead {
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto; gap: 4px 20px;
  align-items: baseline;
}
.gl__ghead h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 1.35rem + 1vw, 31px);
  font-weight: var(--font-weight-semibold); letter-spacing: var(--tracking-tight);
  color: var(--text); line-height: 1.18; margin: 0;
}
.gl__ghead p {
  font-size: var(--text-sm); line-height: 1.6; color: var(--text-subtle);
  margin: 8px 0 0; max-width: 62ch; grid-column: 1;
}
.gl__count {
  font-size: var(--text-xs); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-subtle);
  grid-column: 2; grid-row: 1; white-space: nowrap;
}

/* A real list, not a run of divs. `list-style: none` on a `ul` can remove it
   from the accessibility tree in Safari, which is why the shelf carries
   `aria-labelledby` and the count is in the heading block rather than being
   inferred from the list. */
.gl { display: grid; gap: 18px; margin-top: 30px; list-style: none; padding: 0; }
.gl__card { margin: 0; }
.gl__card > a {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; overflow: hidden;
  background: var(--toran-white); border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.gl__card > a:hover {
  border-color: var(--brand); box-shadow: 0 2px 16px rgb(22 84 79 / .08);
  transform: translateY(-2px);
}
/* Fixed ratio from the attributes, so nineteen lazy thumbnails cannot shuffle
   the grid as they arrive. The sand fill is the loading state: an empty box
   the colour of the page reads as deliberate, a grey one reads as broken. */
.gl__card img {
  display: block; width: 100%; height: auto; aspect-ratio: 520 / 360;
  object-fit: cover; background: var(--toran-sand);
  border-bottom: 1px solid var(--border);
}
.gl__body {
  display: block; padding: clamp(18px, 2.4vw, 24px);
  flex: 1 1 auto;
}
.gl__card h3 {
  font-family: var(--font-display); font-size: clamp(20px, 1.15rem + .7vw, 25px);
  font-weight: var(--font-weight-semibold); letter-spacing: var(--tracking-tight);
  color: var(--text); line-height: 1.22; margin: 0 0 9px; text-wrap: balance;
}
.gl__card p {
  font-size: var(--text-sm); line-height: 1.6; color: var(--text-muted);
  margin: 0; max-width: 54ch;
}

/* Three up on a wide screen, two in the middle, one on a phone. Three rather
   than two because nineteen cards in two columns is ten rows of scrolling and
   the shelf headings stop doing their job. */
@media (min-width: 720px) { .gl { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .gl { grid-template-columns: repeat(3, 1fr); } }

/* Print, because a budget article is one people hand to a parent. Drops the
   chrome and the calls to action and keeps the words. */
@media print {
  .nav, .foot, .art__cta, .art__end, .art__rel, .art__toc, .art__orn { display: none !important; }
  .art, .art__body p, .art__body li { color: #000; background: #fff; }
  .art__m, .art__w { max-width: none; padding: 0; }
  /* The photographs go. They are hotlinked, so on a printed page they are
     either a wait or a blank rectangle, and the article was written to work
     without them. The charts stay -- they carry numbers the prose refers to,
     and they are already drawn to read in one colour. The credits go with
     the photographs, because a credit for an absent image is a puzzle. */
  .art__fig { display: none !important; }
  .art__chart { break-inside: avoid; border-color: #999; background: #fff; }
  /* The drawn figures stay, on the same test the charts pass and the
     photographs fail: they are our own markup, so there is nothing to wait
     for and nothing to leave a blank rectangle, and every one of them carries
     words the prose refers to. Tints print as tints and the tags carry their
     own labels, so none of them depends on the colour surviving. */
  .art__sfc { break-inside: avoid; }
  .sfc, .sfc__pane, .sfc__phone, .sfc__card { border-color: #999; }
}

/* ── /about, the founder's story ─────────────────────────────────────────
   A letter, set like one: one column, a measure stopping near 62 characters,
   real paragraph spacing. No grid, no icon, no pull quote -- each of those is
   a device that says "company", and the one thing this page has to carry is
   that a person wrote it. Type is the brand's: Fraunces and Mukta, as
   everywhere else. The body is a step up from the page default because this
   is the only page here somebody reads rather than scans.

   `.story__sign` is the identity footing and nothing else now. It carried a
   112px portrait disc until #148 moved the photograph to the head of the
   letter; `.story__face` was the rule for that disc and is gone with it,
   dead since 16 Nov 2026 and removed the same day. */
.story { padding: 72px 0 84px; }
.story__col { max-width: 620px; margin: 0 auto; }
.story__col h1 {
  font-family: var(--font-display); font-size: 52px; font-weight: 600;
  line-height: 1.1; margin: 14px 0 30px;
}
/* `:not(.eyebrow)`: `.story__col p` is (0,1,1) against the eyebrow's (0,1,0),
   so without it the eyebrow is set at 19px in the body colour and stops being
   one. Same trap as `.nav__links a` outranking `.btn`. */
.story__col p:not(.eyebrow) {
  font-size: 19px; line-height: 1.75; color: var(--text-muted);
  margin: 0 0 24px;
}
.story__col p.story__lede { font-size: 22px; color: var(--text); }
.story__col .eyebrow { justify-content: flex-start; }

.story__sign {
  display: flex; align-items: center; gap: 20px;
  margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--border);
}
.story__col p.story__who { font-size: 14px; line-height: 1.6; margin: 0; }
.story__who a { color: var(--brand); }

/* The short version on the home page, directly under the price, where the
   doubt is. Same column and measure as the long one, so the two read as one
   voice. */
.whyme { max-width: 620px; margin: 0 auto; text-align: left; }
.whyme p:not(.eyebrow) { font-size: 17px; line-height: 1.72; color: var(--text-muted); margin: 0 0 18px; }


@media (max-width: 860px) {
  .story { padding: 44px 0 56px; }
  .story__col h1 { font-size: 34px; margin: 10px 0 22px; }
  .story__col p:not(.eyebrow) { font-size: 17px; line-height: 1.72; margin: 0 0 20px; }
  .story__col p.story__lede { font-size: 19px; }
  .story__sign { display: block; }
  .whyme p:not(.eyebrow) { font-size: 16px; }
}

/* Both sign-offs sign in the same hand, and this is last in the file on
   purpose. `.story__col p:not(.eyebrow)`, `.whyme p:not(.eyebrow)` and this
   are all (0,2,1), so the later rule wins -- and the mobile block above
   restates the prose size, which is why a name rule written before it was
   overridden on a phone and only on a phone. One size at both widths: 26px
   display type is a signature at 375px as well as at 1280px. */
.story__col p.story__name,
.whyme p.story__name {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  line-height: 1.2; color: var(--text); margin: 0 0 6px;
}
.whyme p.story__name { margin-top: 26px; }
/* ---- the video invitation (11 Nov 2026) ----

   Two columns on a laptop, stacked on a phone: the film on one side and the
   one control on the other. A 9:16 frame, because that is what the film is
   and a letterboxed 16:9 box with a vertical video in it looks like a
   mistake somebody made rather than a format somebody chose.

   `.film__empty` is what fills the frame before anything has been made. It is
   deliberately not a spinner or a grey rectangle: it says how long the film
   is and how many cards are in it, which is the answer to "what am I about to
   get" — the question somebody has before they press the button, not after.
   The <video> sits on top of it and covers it the moment it has a source. */
.film {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 720px) {
  .film { grid-template-columns: 1fr; gap: 20px; }
  /* `width`, not `max-width`, and the difference is the whole frame.
     `margin: 0 auto` on a grid item turns off the default stretch and makes
     it shrink to fit its content -- and every child of this box is absolutely
     positioned, so its content is nothing. It measured **2px wide**, which is
     its two borders: on a phone the film had no frame at all. Pre-existing
     since 11 Nov and found at 375px while checking the storyboard. */
  /* 16 Nov 2026: 170px rather than 240 until there is something to watch.
     Every card in the sorter is now a picture of its own slide, so a
     full-width frame above them was a screenful of scrolling between a
     couple and the thing they came to edit. It grows to 260 the moment a
     film exists, because then it is a player and not a preview. */
  .film__phone { width: min(170px, 100%); max-width: none; margin: 0 auto; }
  .film.has-film .film__phone { width: min(260px, 100%); }
}

.film__phone {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: var(--toran-teal-deep, #0C322E);
  border: 1px solid var(--line, #e3e7e3);
}
.film__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}
/* No source yet: a <video> with no src still draws its own control bar, which
   sat across the "26s / 8 cards" card looking like a player that had failed
   to load something. Hidden entirely until video.js gives it a blob URL,
   which is also when it gets its controls. */
.film__video:not([src]) { display: none; }
/* Gone the moment there is a film to show. The two were stacked on top of
   each other otherwise, so "8 cards" sat across the last frame's QR. */
.film__video[src] + .film__empty { display: none; }
.film__empty {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  color: var(--toran-gold, #C6A670);
  font-family: var(--font-display);
}
.film__empty span { font-size: 34px; }
.film__empty em { font-style: normal; font-size: 13px; opacity: .72; letter-spacing: .08em; }

/* Play, on the film itself.

   There was a Preview button beside the frame and a <video> inside it, which
   is two ways to watch the same thing and one of them a control somewhere
   else. The frame is the film, so the control sits on the frame -- and it
   goes the moment a rendered file exists, because then the <video> has its
   own. */
.film__play {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  width: 44px; height: 44px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(10, 32, 28, .62);
  color: var(--toran-white, #fff);
  backdrop-filter: blur(3px);
  z-index: 2;
}
.film__play:hover { background: rgba(10, 32, 28, .78); }
.film__play.is-playing svg { display: none; }
.film__play.is-playing::before {
  content: ''; width: 14px; height: 14px; border-radius: 2px;
  background: currentColor;
}
.film.has-film .film__play { display: none; }

.film__track {
  height: 6px; border-radius: 99px; overflow: hidden;
  background: var(--line, #e3e7e3);
}
.film__track > i {
  display: block; height: 100%; width: 0;
  background: var(--toran-gold, #C6A670);
  /* A width transition, so a progress bar that updates every sixth frame
     still reads as movement rather than as a thing that jumps. */
  transition: width .18s linear;
}
.film__stage[hidden], .film__out[hidden] { display: none; }

/* ---- the storyboard editor (12 Nov 2026) ----

   Pulkit: "I cannot edit anything… what was in my mind was a storyboard —
   six or seven slides… think of it as a PPT, that type of editable." So the
   right column is a list of the film, one row per slide, and the left column
   is the film itself.

   The live preview is a canvas at the film's own 1080x1920 scaled by CSS. It
   sits under the <video>, which covers it once there is a rendered file;
   `video.js` hides the canvas rather than a sibling selector doing it,
   because the canvas comes FIRST in the markup (so it is behind) and CSS
   cannot select backwards.

   `.sb__fact` against `.sb__field` is the whole design of this panel, and
   the difference is load-bearing rather than decorative: a field is a thing
   the couple writes, a fact is a thing the data says, and ADR 0012 refuses to
   let the second become the first. A fact is therefore printed, not
   disabled -- a disabled input says no and nothing else, where a printed
   value with "Change on Event website" beside it says where to go. */
.film__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
.film__canvas[hidden] { display: none; }
/* The "26s / 8 slides" card is what fills the frame before anything is in
   it, and the live preview is now something in it -- so it goes the moment
   the canvas is painting, exactly as it already went for a rendered film.
   A general sibling rather than the adjacent one the <video> rule uses,
   because the <video> sits between them. Without this the opening card was
   drawn straight over "8 slides" and read as a rendering fault. */
.film__canvas:not([hidden]) ~ .film__empty { display: none; }
/* A rendered film covers the preview. Same rule the empty card already had.
   `[hidden]` needs saying because `.film__video` sets `display: block`, which
   beats the browser's own `[hidden] { display: none }` -- so the <video> went
   on covering the canvas while the preview played. */
.film__video[src] { z-index: 1; }
.film__video[hidden] { display: none; }

/* ---- the slide sorter (16 Nov 2026, ADR 0025) ----

   The storyboard was a stack of forms: one row per slide with every field of
   that slide open underneath it. Pulkit: it *"looks bad"*, and what he asked
   for was *"a PPT and a storyboard… clicking a slide opens its editor"*.

   So the list is a **slide sorter** — a wrapping grid of 9:16 cards, each one
   a real frame of the film painted by the same `paintFrame` the encoder
   uses, with the fields moved into a dialog that opens when a card is
   tapped. `repeat(auto-fill, minmax(124px, 1fr))` is the whole of the
   responsive story and it is deliberately one rule rather than two layouts:
   two cards across at 320px, three from 375 up, eight at 1440, and no
   horizontal scrolling at any width. A filmstrip that scrolls sideways was
   the alternative and it hides slides off the edge of a phone, which is the
   one screen where the couple is composing: the point of a sorter is that
   the whole film is in front of you at once.

   104px is the measured floor rather than a taste: three across at 375 and
   two at 320, which is where this product's narrow end is. On a laptop the
   floor goes up to 136 -- the column there is 744px wide and ten cards at
   104 would leave the sorter looking like a contact sheet rather than a
   film. */
.sb {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
}
@media (min-width: 861px) {
  .sb { grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); }
}
/* The fields are hidden ONLY once the script is running and can show them
   again in the dialog. `.sb--live` is added by `video.js`, never by the
   server: with the script blocked the page is the form it has always been,
   which is ADR 0005's own rule applied to its editor. */
.sb--live .sb__body { display: none; }

.sb__slide {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-raised);
  overflow: hidden;
  display: flex; flex-direction: column;
}
/* A slide left out of the film keeps its card, dimmed: a couple switches one
   off to see the film without it, and having the card disappear would make
   switching it back a hunt. */
.sb__slide[data-on="0"] { opacity: .55; }
.sb__slide.is-dragging { opacity: .4; }
.sb__slide.is-at { border-color: var(--brand); }

.sb__open {
  display: block; width: 100%;
  margin: 0; padding: 0; border: 0;
  background: none; color: inherit; font: inherit;
  text-align: left; cursor: pointer;
}
.sb__open:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }

.sb__thumb {
  display: block; position: relative;
  aspect-ratio: 9 / 16;
  background: var(--toran-teal-deep, #0C322E);
  border-bottom: 1px solid var(--border);
}
.sb__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* What is in the frame before the first paint, and for ever if the script
   never arrives: the slide's name, set like the film's own lettering. */
.sb__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 8px; text-align: center;
  font-family: var(--font-display); font-size: 13px;
  color: var(--toran-gold, #C6A670);
}
.sb__thumb.has-cv .sb__ph { display: none; }
/* A slide that makes no scene: switched off, an empty slide of their own, a
   fifth ceremony. It says so rather than showing a black rectangle. */
.sb__slide.is-blank .sb__thumb::after {
  content: 'Not in the film';
  position: absolute; inset: auto 0 10px;
  text-align: center; font-size: 11px; letter-spacing: .04em;
  color: var(--toran-gold, #C6A670); opacity: .75;
}

/* ---- the card, after the simplification (16 Nov 2026, ADR 0029) ----

   Pulkit, looking at the sorter he had just been given: *"this is so
   complicated!!!! make it simpler"*. Each card carried a title, a sentence,
   two arrows and an include switch, so nine slides were thirty-seven
   controls and nine sentences before the couple had done anything.

   A card is now a picture of the slide and its name. Everything else is in
   the dialog the card opens -- which is where it belongs anyway, because
   each of those controls is a decision about one slide and is made while
   looking at that slide. */
/* `flex-wrap` so `[WHY-1]`'s sentence takes a line of its own. Without it
   the reason sat beside the slide's name in the same row and squeezed it:
   measured, "Where it is" rendered as "W...". */
.sb__cap { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 8px 9px; align-items: baseline; }
.sb__n {
  flex: 0 0 auto;
  font-family: var(--font-display); font-size: 12px;
  color: var(--text-subtle);
}
.sb__cap strong {
  font-size: 12.5px; line-height: 1.25; min-width: 0;
  /* One line. Cards sit in a grid and a two-line name on one of them makes
     that row taller than the others, which reads as the card being special
     rather than the name being long. */
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* A slide left out of the film: dimmed, and said in words on the thumbnail
   by `.is-blank`. There is no control here to show its state, so the state
   has to be legible without one. */
.sb__slide[data-on="0"] .sb__cap strong { text-decoration: line-through; }

/* Saving says so here, and Undo appears beside it only when there is
   something to undo. */
.sb__state {
  margin: 0; min-height: 20px;
  display: flex; align-items: center; gap: 10px;
}
.sb__undo {
  position: relative;
  font: inherit; font-size: 12px; line-height: 1;
  padding: 6px 10px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-raised); color: inherit; cursor: pointer;
}
.sb__undo[hidden] { display: none; }
.sb__len { margin-left: auto; }

/* ---- the controls that moved into the dialog ---- */
.sb__place {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding-top: 4px; border-top: 1px solid var(--border);
}
.sb__moves { display: flex; gap: 6px; margin-left: auto; }
.sb__place button {
  position: relative;
  font: inherit; font-size: 12px; line-height: 1;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  cursor: pointer;
  color: inherit;
}
.sb__place button[disabled] { opacity: .35; cursor: default; }
.sb__on[aria-checked="true"] {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--toran-white);
}
.sb__why { margin: 0; }

/* ---- a slide's look: its ground and its photograph (ADR 0029) ---- */
.sb__look { display: flex; flex-direction: column; gap: 6px; }
/* `[hidden]` has to beat the `display` above, which it does not by default.
   These blocks are hidden until `video.js` reveals them; see the comment on
   `.sb__jsonly` in views/video-storyboard.ts. */
.sb__jsonly[hidden] { display: none; }
.sb__grounds { display: flex; gap: 8px; flex-wrap: wrap; }
/* A chip is a little card rather than a dot: the three roles it paints --
   the ground, the type on it and the rule -- are what the slide will
   actually look like, so the chip shows all three. The hexes come from the
   film document; nothing here knows a colour. */
.sb__g {
  position: relative;
  width: 44px; height: 30px; padding: 0;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--g-bg, var(--toran-teal-deep, #0C322E));
  cursor: pointer;
}
.sb__g::before {
  content: ''; position: absolute; left: 9px; right: 9px; top: 10px;
  height: 2px; border-radius: 2px; background: var(--g-ink, #fff);
}
.sb__g::after {
  content: ''; position: absolute; left: 14px; right: 14px; top: 17px;
  height: 2px; border-radius: 2px; background: var(--g-gold, #C6A670);
}
.sb__g[aria-checked="true"] {
  outline: 2px solid var(--brand); outline-offset: 2px;
}
.sb__g[hidden] { display: none; }

.sb__photoacts { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.sb__photoacts button {
  position: relative;
  font: inherit; font-size: 12px; line-height: 1;
  padding: 8px 11px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-raised); color: inherit; cursor: pointer;
}
.sb__scrim { display: flex; flex-direction: column; gap: 4px; }
.sb__scrim input { width: 100%; }

/* The film's music. One row. */
.sb__songrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* `.sb__musicpick` dressed itself here -- its own border, background,
   padding, radius and 13px font -- from the days when it was a bare control
   on a bare row. 17 Nov 2026 it became a `.btn.btn--ghost` beside an upload
   that is one too, and those five properties sit later in this file than
   `.btn`, so they won: a pale 9px-radius pill next to a dark-bordered one,
   which is most of what "this is very hidden" looked like.
   The declarations are gone rather than overridden, so there is one answer
   to what this button looks like. The class stays -- [MOBILE-2] at the end
   of this file hangs the 44px tap target on it -- and `position: relative`
   stays with it, because that target is an `::after` which needs it. */
.sb__musicpick { position: relative; }

/* ---- one slide's editor ----

   A `<dialog>`: a full-height sheet on a phone and a centred panel on a
   laptop, which is one element, one code path and six lines of difference.
   `showModal()` brings the focus trap, Escape and the backdrop with it. */
.sbd {
  border: 0; padding: 0;
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  border-radius: 16px;
  background: var(--bg-raised);
  color: inherit;
  box-shadow: 0 24px 60px rgba(8, 26, 22, .28);
}
.sbd::backdrop { background: rgba(8, 26, 22, .45); }
.sbd__bar {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.sbd__num { font-family: var(--font-display); font-size: 12px; color: var(--text-subtle); }
.sbd__done {
  position: relative;
  margin-left: auto;
  font: inherit; font-size: 13px;
  padding: 8px 14px;
  border: 1px solid var(--brand-deep); border-radius: 8px;
  background: var(--brand-deep); color: var(--toran-white);
  cursor: pointer;
}
.sbd__body {
  padding: 13px;
  display: grid; gap: 14px;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: start;
}
/* The slide's own preview, inside the dialog.

   **The reported spill did not reproduce, and that is worth writing down
   rather than quietly fixing something else.** The report was that the
   preview hangs past the modal's left edge over the sorter behind it.
   Measured on the merged build at 320, 375, 390, 430, 1280, 1440 and 1920,
   with the dialog open: the panel is 440 wide and the preview's left edge is
   13px *inside* it at every one of them -- which is this rule's own padding.
   What is next to the panel at that point is the sorter card showing through
   the backdrop, which in a screenshot reads as one card in two places.

   So the box is hardened rather than repaired. `<canvas width="270">` is an
   intrinsic width and a `124px` grid track is a *track* size: the default
   `minmax(auto, …)` minimum would let a replaced element refuse to shrink
   below its own width, and `paintInto` happens to resize the canvas to its
   CSS box on the first paint, which is what keeps this honest today. It
   should not depend on a painter having run, so: `min-width: 0` here, and
   the canvas keeps a width of its own below. Either alone leaves the other
   free to come back.

   The part of the report that did reproduce is the emptiness underneath --
   a 440x350 panel holding one text field. That is fixed by what is in the
   dialog now rather than by a rule here: the slide's colour, its
   photograph, where it sits in the film and whether it is in the film at
   all have all moved in beside the words. */
.sbd__prev {
  position: relative;
  min-width: 0;
  aspect-ratio: 9 / 16;
  border-radius: 10px; overflow: hidden;
  background: var(--toran-teal-deep, #0C322E);
  touch-action: none;   /* the focal drag is a pointer gesture */
}
.sbd__prev canvas { width: 100%; height: 100%; display: block; }
/* Where the crop is anchored. A ring rather than a dot, so the face under
   it is still visible while it is being placed -- the same handle the
   card's own focal control uses. */
.sbd__focal {
  position: absolute; width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 99px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .4);
  pointer-events: none; z-index: 2;
}
.sbd__focal[hidden] { display: none; }
.sbd__prev.is-blank canvas { visibility: hidden; }
.sbd__prev.is-blank::after {
  /* The reason `video.js` worked out, not a fixed string. There is room for
     a sentence here -- this is the big preview, not the 150px card. */
  content: attr(data-why);
  padding: 0 18px; text-align: center; line-height: 1.5;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--toran-gold, #C6A670);
}
.sbd__fields { min-width: 0; }

.sb__body { display: flex; flex-direction: column; gap: 10px; }
.sb__bodyacts { margin: 2px 0 0; }
.sb__bodyacts button {
  position: relative;
  font: inherit; font-size: 12px;
  padding: 7px 10px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg-raised); color: inherit; cursor: pointer;
}
.sb__field { display: flex; flex-direction: column; gap: 3px; }
.sb__lab {
  font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  opacity: .62;
}
.sb__field input {
  font: inherit;
  padding: 8px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  color: inherit;
  width: 100%;
}
/* `.sb__fact` against `.sb__field` is the whole design of this panel, and
   the difference is load-bearing rather than decorative: a field is a thing
   the couple writes, a fact is a thing the data says, and ADR 0012 refuses
   to let the second become the first. A fact is therefore printed, not
   disabled -- a disabled input says no and nothing else, where a printed
   value with "Change on Event website" beside it says where to go. */
.sb__fact { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.sb__fact strong { font-size: 14px; }
.sb__fact a { opacity: .7; }
.sb__checks { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sb__check { display: flex; align-items: center; gap: 6px; font-size: 13px; }

/* A track in the picker: a mark where a thumbnail would be. The tile is
   otherwise the photograph tile, because choosing a song and choosing a
   picture are the same gesture over the same library. */
.pk__note {
  display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1;
  font-size: 30px; line-height: 1;
  color: var(--toran-gold, #C6A670);
  background: var(--toran-teal-deep, #0C322E);
}

/* ================= loading states (11 Nov 2026) =================

   Pulkit, 11 Nov 2026: "add a skeleton loading as nothing shows that things
   are loading", and then "our product lacks skeleton loading a lot". Both
   true. The waiting card and one real skeleton already existed and were used
   in four places in the whole product; this section is the shared vocabulary
   so the fifth place does not get hand-rolled again.

   Three different problems, three different answers, and the difference
   matters more than the CSS:

     a skeleton    for content on its way into a region that is already on
                   screen. It is a *shape*, so a table skeleton looks like
                   rows and a card skeleton looks like a card.
     a bar         for a full-page navigation. There is nothing to skeleton:
                   the next page is server-rendered and arrives whole, so the
                   honest signal is "your tap registered, the page is coming".
     the card      for a form that is doing real work, and `.loadjob` under
                   it for work measured in tens of seconds.

   Everything here honours `prefers-reduced-motion`: a shimmer is decoration,
   the shape is the information, and the shape survives without it. */

/* ---- the shared shimmer ----

   One gradient, one keyframe, every skeleton. The picker's `.pk__skel`
   predates this and now shares the keyframe rather than carrying its own
   copy; its geometry (`aspect-ratio: 1`, the 2px border that stops the grid
   shifting four pixels at the swap) stays its own, because that is tuned to
   `.pk__item` and nothing else.

   A moving gradient rather than a pulsing opacity: a pulse at tile size
   reads as a thing blinking at you. */
.skel,
.ml-item__shot:not(.is-ready) img {
  /* **Translucent ink, not `--toran-surface`.** The picker's skeleton uses
     the surface colour and gets away with it because the picker panel is
     white. The dashboard's own ground is `--toran-surface`, so the first
     version of this drew eight tiles that measured 219x164 and were the
     exact colour of the page behind them -- invisible, and only caught
     because the screenshot looked empty. A shared skeleton has to read on a
     white card and on the page ground both, so the base is a wash of ink
     over whatever is behind it and the sweep is a light one over that. */
  background-color: color-mix(in srgb, var(--text) 9%, transparent);
  background-image: linear-gradient(100deg,
    transparent 22%,
    color-mix(in srgb, var(--toran-white) 62%, transparent) 44%,
    transparent 66%);
  background-size: 260% 100%;
  background-repeat: no-repeat;
  animation: toran-skel 1.25s ease-in-out infinite;
}
@keyframes toran-skel {
  from { background-position: 150% 0; }
  to   { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .skel,
  .ml-item__shot:not(.is-ready) img { animation: none; background-image: none; }
}

/* ---- the shapes ----

   `.skel-set` is the block the helper inserts. While it is there the region's
   own children are hidden rather than removed, so their listeners and form
   state survive the wait -- which is the whole reason the helper does not
   stash them in a fragment. */
.is-skel > *:not(.skel-set) { display: none !important; }
/* The region handed to the helper is often a grid or a flex row -- the photo
   grid, the KPI strip -- and a block dropped into one of those becomes a
   single item in it, so a skeleton of eight tiles got laid out inside one
   208px cell. Measured at 375px on 11 Nov 2026. Both of these are ignored
   when the parent is an ordinary block, so this costs nothing to carry. */
.skel-set { display: block; grid-column: 1 / -1; flex: 1 1 100%; min-width: 0; }

/* rows, for a table. Deliberately not a <table>: this is furniture, it is
   aria-hidden, and a fake table in the accessibility tree is worse than no
   table. The widths are uneven on purpose -- a column of identical grey bars
   reads as a loading graphic, uneven ones read as text that has not arrived. */
.skel-rows { display: flex; flex-direction: column; gap: 1px; }
.skel-row {
  display: flex; gap: 14px; align-items: center;
  padding: 13px 14px; border-bottom: 1px solid var(--border);
}
.skel-cell { height: 13px; border-radius: 4px; flex: 1 1 auto; }
.skel-cell--sm { flex: 0 0 56px; }
.skel-cell--md { flex: 0 0 96px; }

/* cards, for a grid of them */
.skel-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 18px; align-items: start;
}
.skel-card {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  background: #fff;
}
.skel-card__shape { height: 13px; border-radius: 4px; }
.skel-card__shape--title { height: 17px; width: 62%; }
.skel-card__shape--short { width: 40%; }

/* tiles, for a grid of photographs */
.skel-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr));
  gap: 18px;
}
.skel-tile { aspect-ratio: 4 / 3; border-radius: 14px; }

/* lines, for a paragraph or a stack of figures */
.skel-lines { display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 13px; border-radius: 4px; width: var(--w, 100%); }

/* ---- navigation ----

   A 3px bar across the top of the viewport, over the app bar and the rail.
   It only ever appears 400ms after the tap, for the same reason `pending.js`
   waits: a bar that flashes for 150ms reads as a glitch. It is deliberately
   NOT the waiting card -- a full-screen white card between two dashboard
   pages is heavier than the thing it is covering for.

   Indeterminate, because the browser does not tell us how far along a
   navigation is and a bar that pretends to know is a bar that lies. Under
   reduced motion it sits still at a third of the width: present, honest,
   not moving. */
.navprog {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  z-index: 200; background: color-mix(in srgb, var(--toran-gold) 18%, transparent);
  pointer-events: none;
}
.navprog i {
  display: block; height: 100%; width: 34%;
  background: var(--toran-gold);
  animation: navprog 1.15s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes navprog {
  from { transform: translateX(-100%); }
  to   { transform: translateX(394%); }
}
@media (prefers-reduced-motion: reduce) {
  .navprog i { animation: none; }
}
/* The link that was tapped. Not a spinner on it: the bar is the progress and
   two moving things for one action is noise. Just enough that a thumb coming
   off the glass can see which row it hit. */
.side__nav a[aria-busy="true"],
.tabbar a[aria-busy="true"] { opacity: .62; }

/* ---- a long job ----

   The waiting card, plus a bar that moves, for work measured in tens of
   seconds rather than hundreds of milliseconds -- the video invitation being
   the case this was written for. Over a few seconds a static message starts
   to read as a hang, and progress that moves is the difference between
   waiting and wondering.

   The label says what is happening for the person. Never what the computer
   is doing: a couple does not care whose processor is busy. */
.loadjob { margin: 22px auto 0; width: min(280px, 72vw); }
.loadjob__track {
  height: 6px; border-radius: 999px; overflow: hidden;
  background: var(--toran-sand);
}
.loadjob__fill {
  height: 100%; width: 0; border-radius: 999px;
  background: var(--toran-gold);
  transition: width .4s ease;
}
@media (prefers-reduced-motion: reduce) {
  .loadjob__fill { transition: none; }
}
/* Indeterminate: a job that cannot say how far along it is gets a sweep
   rather than a fill frozen at zero, which reads as stuck. */
.loadjob__fill--idle {
  width: 38%;
  animation: navprog 1.5s cubic-bezier(.4, 0, .2, 1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .loadjob__fill--idle { animation: none; }
}
.loadjob__note {
  margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--muted);
}

/* A button that is waiting on its own handler, where the waiting card would
   be too much furniture or the page does not load `pending.js`. The editor's
   music uploader got here first (`.mup__btn`, 6 Nov 2026); this is the same
   state for any button, and the two now look alike. */
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* The phone, matching what each shape stands in for. `.ml-grid` and the card
   grids go to two columns at 860px; a skeleton that keeps three while the
   real grid has two is furniture of the wrong shape, which is the one thing
   furniture must not be. */
@media (max-width: 860px) {
  .skel-tiles, .skel-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .skel-card { padding: 13px; }
  .skel-row { gap: 10px; padding: 11px 12px; }
  /* Four columns of furniture in 335px is four slivers. The guest table drops
     to its own card layout below 860px for the same reason. */
  .skel-cell--md { flex: 0 0 64px; }
  .skel-cell--sm { flex: 0 0 40px; }
}

/* ---------------------------------------------------------------------------
   The editor's save state, undo and redo (12 Nov 2026, ADR 0013)
   ---------------------------------------------------------------------------
   Auto-save turned the head's one button into three things: a pair of history
   buttons, a sentence about the save, and the button itself. They sit in one
   row so the head's `.row` keeps treating them as a single action, and the
   pair is grouped because Undo and Redo are one control with two directions.

   The sentence is the load-bearing part. It is the only thing on the page
   that tells a couple who presses nothing whether their words are kept, so it
   is given a fixed minimum width -- it changes between "Saved" and "Not saved
   -- trying again" and a row that re-flows on every save is a row nobody can
   read. `tabular-nums` is not needed; the width is. */
.edstat { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.edstat__hist { display: flex; gap: 4px; }
.edstat__say {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-muted); min-width: 7.5em;
}
/* The three states a couple has to do something about, and the two they do
   not. "Saving…" stays the quiet grey of the resting state on purpose: it is
   the state the editor is in for a second after every keystroke, and a colour
   that flashes on every word typed is a colour that means nothing by the end
   of a sentence. */
.edstat__say[data-phase="failed"],
.edstat__say[data-phase="signedout"],
.edstat__say[data-phase="toolong"] { color: var(--toran-amber-deep); }

/* The phone. The head is already two rows there, so the sentence drops under
   the buttons rather than squeezing them. */
@media (max-width: 700px) {
  .edstat__say { min-width: 0; }
}

/* ---------------------------------------------------------------------------
   Editing a custom reply-form question (12 Nov 2026, item 12)
   ---------------------------------------------------------------------------
   A question's own form, under its row in "Your own questions". A disclosure
   rather than four open boxes per question: the panel this sits in was
   4,547px tall this morning and item 25 spent the day getting it to 1,606px,
   and twelve questions' worth of open forms would put it straight back.

   The summary is styled as the quiet link beside it ("Remove") rather than as
   a button, because the two are the same kind of offer about the same row and
   a button next to a link would say one of them was the bigger act. */
.qedit { margin-top: 6px; }
.qedit__sum {
  display: inline-block; cursor: pointer; list-style: none;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-muted); padding: 2px 0;
}
.qedit__sum::-webkit-details-marker { display: none; }
.qedit__sum::before { content: '+ '; }
.qedit[open] > .qedit__sum::before { content: '\2212 '; }
.qedit__sum:hover { color: var(--toran-teal-deep); text-decoration: underline; }
.qedit__sum:focus-visible { outline: 2px solid var(--toran-teal); outline-offset: 2px; }
.qedit > form { margin-top: 10px; }

/* ============================================================================
   THE TWO PREVIEWS -- items M2 and M3, 12 Nov 2026
   ----------------------------------------------------------------------------
   Both boxes used to be drawings of the product. They are the product now:
   an iframe of `/card`, which is the tenant renderer and `tenant.css`. So
   there is no card styling here at all, and there must not be -- the whole
   fix is that this page no longer has an opinion about what an invitation
   looks like. What is below is a window: a size, a clip and a scale.

   ## Why a fixed-width frame and a transform, rather than a narrow frame

   A 460px-wide iframe would make the card render its own phone layout, and
   the preview would then be showing a different page from the one beside the
   words. A 1,120px frame scaled down shows the desktop invitation made
   small, which is what a preview of a website is, and it keeps the pixel
   geometry that `.hero--grad-lamplight` is drawn against the same in the
   preview as on the real page.

   `--pv-scale` is set by landing.js from the box's own width so the picture
   follows the column; the value here is the one that fits the 460px column
   at 1440x900, so with no JavaScript at all the preview is still right at
   the width this page was designed for.
   ========================================================================= */
.preview__page--live {
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  background: #fff;
  /* The frame is 920px tall and scaled by `--pv-scale`, so this is exactly
     what is left of it. Not a fixed 378px, which is what it was first: at
     375x812 the column is 335px wide, the scale falls to 0.299, and a fixed
     box left **103px of white** under the card and put 54px on the height of
     section 01. Measured at 375x812 against main -- 1,482px against 1,427px
     -- which is the kind of regression a desktop-only check never sees. */
  height: calc(920px * var(--pv-scale, .4107));
}
.preview__frame,
.samplecard__frame {
  width: 1120px;
  height: 920px;
  border: 0;
  display: block;
  transform: scale(var(--pv-scale, .4107));
  transform-origin: top left;
  /* A picture, not a document. A swipe over it scrolls the page, a tab skips
     it, and a screen reader is told about the invitation by the words beside
     it rather than by a second copy of the card read aloud. */
  pointer-events: none;
}
/* The sample cards show the top of the card -- the garland, the monogram,
   the names and the next ceremony -- and stop. A thumbnail that tried to fit
   the countdown as well would make them too small to read anything in.
   
   ## The crop is 625px of the card, and that number is measured
   
   It was a flat `height: 196px`, which is a number of SCREEN pixels against
   a card scaled by `--pv-scale` -- so the amount of invitation it showed
   moved with the column width, and at no width was it a line break. At the
   home page's 382px column it worked out at 574px of the card, and the three
   themes put their next-ceremony line at 559-617 (Sage), 421-479 (Ochre)
   and 550-608 (Ember). 574 lands inside two of the three: Pulkit's screenshot
   shows "The weddina", which is the top half of "The wedding" with the
   descender guillotined. Measured at 1120px, 16 Nov 2026.
   
   625 is the only window all three clear: it is 8px below Sage's line, the
   latest, and 8px above Ochre's countdown, the earliest thing we do not want
   in frame. It is multiplied by the scale, so it is 625px OF THE CARD at
   every column width rather than at one.
   
   The fade is the belt to that braces. Eight pixels is a real margin and a
   font that loads a hair taller would eat it, so the last 10px of the box
   goes to transparent -- a line that ever does land on the edge reads as a
   card continuing past the frame, which it is, rather than as a bug. Ten
   and not more: the window between Sage's line (617) and Ochre's countdown
   (633) is 16px wide, so a longer ramp would have to start above Sage's
   descender and fade the very line this is fixing. */
.samplecard__page {
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: calc(625px * var(--pv-scale, .341));
  background: #fff;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 10px), transparent 100%);
}
/* My own 34px `::after` gradient used to sit here. #159 landed the same
   idea as a 10px `mask-image` on the box itself, argued from measured line
   positions -- and a mask is the better mechanism, because it fades the
   content rather than painting white over it, so it works whatever the card
   behind it is. Removed rather than kept alongside: two fades on one box is
   a 44px ramp nobody chose. */



/* ===========================================================================
   THE DASHBOARD ON A PHONE (12 Nov 2026)
   ===========================================================================
   Eleven PRs landed on 12 Nov 2026 and almost none of them was opened on a
   phone. This is the pass that measures them. Four blocks, all of them
   inside `max-width: 860px`, so nothing on a laptop moves.

   ## What the overflow rule actually measures here, which is not what it says

   The brief asks for `documentElement.scrollWidth - clientWidth === 0` on
   every dashboard screen. It is 0 on every screen at every width, and it was
   0 before this branch too -- but **that number cannot fail on a dashboard
   page, so passing it proves nothing.** `.is-app` is `overflow: hidden` on
   the body and `.main` is `overflow-y: auto`, which computes `overflow-x` to
   `auto` as well. The document therefore never overflows: `.main` scrolls
   sideways instead, and the document measurement stays 0 while the content
   is off the edge.

   Measured, so this is not an argument from the spec: a 900px `<div>`
   appended to `.main` on `/app` at 320 left
   `documentElement.scrollWidth - clientWidth` at **0**, with
   `.main.scrollWidth` at 940 against a `clientWidth` of 320.

   So the number that is reported per screen in the PR is a pair --
   `documentElement` and `.main` -- and `.main` is the one that can fail.
   Both are 0 everywhere, now and before.

   ## What was actually wrong

   Three things, none of them overflow:

   1. **63 text fields in the editor are under 16px**, so iOS Safari zooms
      the page the moment one is focused and the layout never comes back.
      Six date fields and six time fields are among them, which is the case
      the brief singled out.
   2. **The storyboard editor has never had a mobile pass.** It shipped
      today. Its controls are 25x26 and its checkbox labels are 73x21.
   3. The editor's preview keeps a 520px floor on a 375px-tall landscape
      screen.

   Everything else measured clean, including two things that looked broken
   and were not, recorded here so the next session does not re-fix them:

   * `.cpy__menu` on `/app` reads as 7px past the fold at 375 **when it is
     measured closed**. A closed `<details>` has no useful geometry. Opened,
     it is at left 20, right 320 of 375, and the existing
     `width: min(300px, calc(100vw - 48px))` clamps it to 272 at 320.
   * The guest list's ceremony checkboxes are 17x17 `<input>`s, but each is
     wrapped in `<label class="check">`, which `.check { min-height: 44px }`
     already sizes -- measured 297x44 and 335x44. The label is the target.
     The same is NOT true of the storyboard, whose label is 21px tall, which
     is block 2 below. */

/* ---- [MOBILE-1] text fields reach 16px, or iOS Safari zooms -------------
   The threshold is exactly 16px: at 15.999 iOS zooms, at 16 it does not.
   `.pf__i` is every field in the editor panel (38 text, 6 date, 6 time, a
   textarea and a select), `.cardset__in` the card's own eight, `.pal__hex`
   the three colour fields, `.cpy__raw` the WhatsApp message on Go live.

   Phone-only. On a laptop these sizes are the design and there is no zoom
   behaviour to avoid, so the rule has no business there.

   `.pal__hex` is `width: 9.5em`, which is a function of the font size: at
   16px that is 152px rather than 128, inside a 263px panel column. It is
   given a ceiling here so the row cannot be pushed wider than its box. */
@media (max-width: 860px) {
  .pf__i,
  .cardset__in,
  .pal__hex,
  .cpy__raw { font-size: 16px; }
  .pal__hex { width: 100%; max-width: 9.5em; }
}

/* ---- [MOBILE-2] the storyboard editor's controls ------------------------
   `/app/video` shipped on 12 Nov 2026 and is the one screen with a genuine
   claim to be phone-first -- it composes a 1080x1920 vertical film -- and it
   is the one screen whose controls were never sized for a thumb.

   Measured at 375 before that pass: `.sb__up` and `.sb__down` 25x26 each,
   `.sb__on` 61x26, eight shots' worth -- 24 controls -- and fifteen
   `label.sb__check` at 73x21 and 80x21.

   The buttons keep their painted size and grow a transparent `::after`
   instead, which is the pattern this file already uses for `.blk__mv` and
   `.card-link`: an 11px button inflated to 44 would push the control row
   into two lines and there is one under every card. `max(100%, 44px)` rather
   than a flat 44 so `.sb__on`, which is wider, keeps its whole width
   tappable.

   The checkbox labels are different: a `<label>` is not replaced content, so
   it can simply be 44 tall, and `min-height` is enough. `.sb__checks` loses
   its 4px row gap in exchange, because 44px rows do not need one.

   **16 Nov 2026, with the slide sorter.** `.sb__acts` became `.sb__ctl` when
   the rows became cards; the rule follows the name rather than being
   rewritten, because what it asserts has not changed. Two targets joined it:
   `.sbd__done`, which closes the editor, and `.sb__bodyacts button`, which
   is Remove and now lives inside the dialog with the fields it belongs to.
   The card itself needs nothing -- it is a 124x220 button. */
@media (max-width: 860px) {
  .sb__place button,
  .sb__photoacts button,
  .sb__musicpick,
  .sb__undo,
  .sbd__done,
  .sb__bodyacts button { position: relative; }
  .sb__place button::after,
  .sb__photoacts button::after,
  .sb__musicpick::after,
  .sb__undo::after,
  .sbd__done::after,
  .sb__bodyacts button::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
  .sb__check { min-height: 44px; }
  .sb__checks { gap: 0 14px; }
  /* A colour chip is 44x30 drawn and 44x44 to a finger. It is not inflated
     to 44 tall, because four of them in a row at full height would push the
     fields below the fold on a 320px screen for a control that is already
     comfortably wide. */
  .sb__g { position: relative; }
  .sb__g::before { z-index: 1; }
  .sb__g::after { z-index: 1; }
  .sb__grounds { gap: 10px; }
  .sb__g { height: 44px; }
  /* The one input on this page, at the threshold MOBILE-1 states: at 15.999
     iOS Safari zooms the page on focus and the layout never recovers. It
     inherits 16px from `body` today; saying it here means a later change to
     the body size cannot quietly take the editor under the line.

     The range beside it is not a typing target and never takes focus from a
     tap that could zoom, so it is left at its own size. */
  .sb__field input { font-size: 16px; }

  /* The editor fills the screen rather than floating in the middle of it.
     A half-height sheet is the obvious alternative and it is the wrong one
     here: the keyboard takes the bottom half of a phone, and the thing in
     this dialog is a text field with a picture of the card above it. A
     full-height sheet keeps both on screen and scrolls; a half sheet puts
     the field under the keyboard, which is the failure Material's own
     guidance warns about for sustained text entry. */
  .sbd {
    width: 100%; max-width: 100%;
    height: 100%; max-height: 100%;
    margin: 0; border-radius: 0;
  }
  .sbd__body {
    grid-template-columns: 1fr;
    /* The bar is 45px; the rest scrolls, so a long slide's fields are
       reachable with the keyboard up. */
    max-height: calc(100% - 46px);
    overflow-y: auto;
  }
  .sbd__prev { width: 136px; margin: 0 auto; }
}

/* ---- [MOBILE-3] the one standalone quiet link left under 44 -------------
   `Cancel` on `/app/guests/import`, 37x22, sitting beside the submit button
   as the way out of the upload. It is the only `<a>` in the dashboard
   carrying both `small` and `muted` -- the pair is otherwise on `<p>`, which
   this selector cannot match.

   Inline links inside a sentence are still deliberately left alone, for the
   reason the earlier block gives: WCAG 2.5.8 exempts them, and a 44px target
   inside a paragraph tears the paragraph open. Measured and left: `email us`
   on `/app/billing` 41x20, `Design` on `/app/media` 34x20. */
@media (max-width: 860px) {
  a.small.muted { position: relative; }
  a.small.muted::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
}

/* ---- [MOBILE-4] the editor's preview in landscape -----------------------
   `.editor__preview` is `height: 70vh; min-height: 520px` below 1000px. On a
   phone held sideways the viewport is 375 tall, `.main` is 315, and the
   floor makes the preview 520 -- two thirds taller than the room it has, so
   the panel below it is a scroll away for no reason.

   The floor exists so the preview is not a letterbox on a tall screen, which
   is a portrait concern, so it is lifted only where the screen is genuinely
   short. 540px rather than 375 to catch the 414x414-ish middle as well. */
@media (max-width: 1000px) and (max-height: 540px) {
  .editor__preview { min-height: 0; height: 68vh; }
}

/* ---- [MOBILE-5] the preview is pinned, and the controls scroll under it --
   (16 Nov 2026. docs/17-editor-on-a-phone.md §5, which measured this at
   seven viewport sizes before recommending it.)

   Pulkit: `/app/design` looks perfect on desktop and is unusable on a phone.
   Measured, the editor was broken in one dimension only -- vertical -- and
   the break was that DOM order is panel, then preview, and below 1000px the
   preview lost `position: sticky` for `static`. So the live preview was
   appended under the full height of the control panel: between 2,596px and
   6,482px below the control driving it, depending on which section is open.

   **Zero pixels of the preview were on screen while editing, at all seven
   sizes, in every section, in both orientations.** Not a cosmetic
   complaint: the preview repaints as you type, with no save pressed, so the
   editor's single design idea -- type and watch the invitation change -- was
   the exact thing a phone could not do. Desktop at 1440 shows all 760px of
   it while editing a field 1,899px down the panel; that is the same editor
   working as intended.

   So the preview is pinned to the top and the controls scroll under it. Of
   the four designs docs/17 §5.1 weighed, this is the only one that keeps the
   live repaint *and* makes it visible, and it is also the smallest change:
   it reuses `position: sticky`, which the desktop layout already puts on
   this exact element, and adds no JavaScript scroll arithmetic.

   Three things this depends on, each of which is load-bearing:

   1. **The stage, not the box, is 40svh.** docs/17 §5.2 costed the split
      against the room `.main` actually has, and against the 218px story
      textarea, which is the tallest single control a couple types into: at
      320x568 a 40svh stage plus the bar leaves 236px, which clears it. The
      *stage* carries the height so the bar can be whatever height it is and
      the arithmetic still holds -- see `.editor__stage`.
      `svh` and not `vh`: the small viewport height is what keeps a pinned
      strip from being hidden behind mobile Safari's expanding toolbar.
   2. **Phone mode, which already shipped.** A pinned strip in Desktop mode
      is a thumbnail -- `--desk-scale` is 0.25 to 0.35 on a phone, which
      paints the couple's 16px body text at 4.0px to 5.6px. Pinning that
      would make the editor's most prominent element permanently illegible.
      Phone became the server-rendered default on 16 Nov 2026 (ADR 0023),
      which is what makes this design available; docs/17 §5.3 called it a
      dependency rather than a preference, and it was already met.
   3. **The head scrolls away.** Pinning 325px of preview under a 193px
      pinned head leaves 234px at 375 -- the 320 column's budget on a 375
      phone, and under the 218px field at 320. The head was pinned when Save
      was pinned (docs/10 §1.2); auto-save has since removed most of that
      reason, `#edSave` being documented as a retry rather than the commit.
      The one live thing in it moves into the preview's own bar.

   The accordion stays, and must: one panel at a time is why the panel is
   1,882px closed instead of about 15,000, and it is what keeps the scroll
   under the pinned strip finite. docs/17 §4. */
@media (max-width: 1000px) {
  /* A column with the preview first. `order` rather than a DOM change, so
     the server markup, the `aria-expanded` wiring and `read()`'s dependence
     on `#edBlocks`'s children are all untouched -- nothing in `src/` has to
     know this layout exists.

     `align-items` has to be said again, and that is the whole of [NARROW-1]
     below: `.editor`'s own rule sets `start` for the desktop grid, where it
     means "both columns begin at the top". This block changes `display` and
     not that, so `start` arrived in a flex COLUMN, where it is a cross-axis
     rule and means "every child is as wide as its own content". */
  .editor { display: flex; flex-direction: column; align-items: stretch; }
  .editor__preview {
    order: -1;
    position: sticky; top: 0; z-index: 3;
    /* `auto`, so the box is the bar plus the stage. The old override's fixed
       `70vh` is what made the preview a thing you scrolled to. */
    height: auto; min-height: 0;
  }
  .editor__stage { flex: 0 0 auto; height: 40svh; }

  /* The bar is the permanently visible chrome now, so it must stay one row:
     it wrapped to 91px below 560px, which at 320 was 40% of the pinned
     strip. The sentence goes rather than the row. */
  .editor__device { flex-wrap: nowrap; }
  /* And it gives back its padding, because docs/17 §5.2's budget was costed
     against a 45px bar and the bar is 65: the Desktop/Phone chips are 44px
     tall from the 12 Nov tap-target pass, which that arithmetic did not
     allow for. Measured at 320x568 with the bar at 65: 213.8px left for the
     controls, against a story textarea that is 218.4px -- the one field the
     split was chosen to clear, 4.6px short. 10px of padding around a 44px
     chip is the cheapest 20px in the layout, so it pays for it: the bar
     becomes 55 and the room 223.8. */
  .editor__device { padding-top: 5px; padding-bottom: 5px; }
  .editor__state { margin-left: auto; width: auto; }
  .editor__save { display: inline; }

  /* See the three-point note above. */
  .page-head--sticky { position: static; }

  /* The row's own one-way trip to the preview is what the pin replaces, and
     hiding it also removes nine of docs/17's forty-one small targets -- the
     sharpest of them, at 40.8px: the one control whose whole purpose was to
     rescue this workflow was itself 3.2px short of a thumb. */
  .blk__see { display: none; }
}

/* ---- [MOBILE-5a] nothing scrolls past above the pinned preview ----------
   The 861-1000px band only, and the bound matters.

   `top: 0` resolves against the scrollport's CONTENT edge, which is below
   `.main`'s own top padding -- and that padding scrolls away with the
   content. So in this band the preview parked at y=44 and left a 44px window
   above it with the control panel sliding through: measured at 900 and 960
   with `.main` scrolled 1,200px, `elementFromPoint` at y=2, 8, 14 and 20
   returned `.blk__what`, `.blk__head` and a block's title. Three layers on
   screen at once, which is exactly the leak `[HDR-4]` found above the pinned
   head on 12 Nov 2026 -- Pulkit: *"this panel is visible from far, like it's
   overflowing"* -- arriving again on a different element.

   Same fix, from the same variable: the box pulls itself up to the
   scrollport's real top edge. Unlike the head it needs no compensating
   padding, because the preview has no content that must stay put, and
   `.main`'s overflow clips at its padding box, so the strip is inside the
   scrollport and the preview paints over it. After: y=1 through 43 all
   return `.editor__device` -- the preview's own bar.

   **`min-width: 861px` and not the bare `--main-pad-top`.** Below 860px
   `.main`'s `padding-top` is 0 but the custom property is still declared at
   44px, so a bare `calc(-1 * var(--main-pad-top))` pulled the preview 44px
   above a scrollport with no padding to cover, and that much of the pinned
   strip was clipped off its top at every phone width: measured 284.2px of
   box with 240.2px visible at 320, and the same 44px short at 360, 375, 390,
   412 and 430. The variable is not a reliable proxy for the padding; the
   query that sets the padding is. */
@media (min-width: 861px) and (max-width: 1000px) {
  .editor__preview { top: calc(-1 * var(--main-pad-top, 0px)); }
}

/* The sentence beside the dot, below 560px. Hidden the `.vh` way rather than
   with `display: none`, so it is still read out; on screen the dot's colour
   carries draft-or-published, and `Publish it →` stays beside it. */
@media (max-width: 560px) {
  .editor__statewords {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* ---- [MOBILE-5b] landscape opts out of the pin -------------------------
   docs/17 §5.2, which costed it and found it does not work: at 667x375
   `.main` is 315px, a 40svh stage plus the bar is 195, and 120px of controls
   is not an editor. So the band `[MOBILE-4]` already names keeps exactly
   today's behaviour -- the preview after the panel, the head pinned -- and
   landscape is left as docs/17 found it, deliberately and on the record.

   After `[MOBILE-5]`, because it has to win. */
@media (max-width: 1000px) and (max-height: 540px) {
  .editor__preview { order: 0; position: static; height: 68vh; min-height: 0; }
  .editor__stage { flex: 1 1 auto; height: auto; }
  .editor__device { flex-wrap: wrap; }
  .editor__save { display: none; }
  .page-head--sticky { position: sticky; }
}

/* ---- [MOBILE-6] the controls the panels contain ------------------------
   docs/17 §1.4 and D4. The 12 Nov 2026 sweep found no target under 44px in
   this editor and it was right about what it measured: it measured the
   **closed** page, and a closed accordion hides every control a couple
   actually touches. Opening each of the nine panels in turn at 375x812 found
   41, all of them inside the panels.

   Nine were `.blk__see` and are gone with the pin, above. The rest keep
   their painted size and grow a transparent `::after`, which is the pattern
   `.blk__mv`, `.card-link` and `[MOBILE-2]` already use: inflating a 32px
   reorder arrow to 44 would reflow a six-ceremony list, and there are two
   per ceremony. `max(100%, 44px)` rather than a flat 44 so the wider chips
   keep their whole width tappable.

   At 1000px rather than 860 so the whole band that gets the pinned editor is
   thumb-safe. Nothing painted changes at any width, so the desktop-ish
   860-1000 band is unaffected in everything except where a finger lands. */
@media (max-width: 1000px) {
  .setup-move,
  .ornchip,
  .posgrid__dot { position: relative; }
  .setup-move::after,
  .ornchip::after,
  .posgrid__dot::after {
    content: ''; position: absolute; left: 50%; top: 50%;
    width: max(100%, 44px); height: 44px; transform: translate(-50%, -50%);
  }
  /* `aspect-ratio: 4 / 3` on a 168px grid makes the rows 42px, so three
     44px targets stacked would overlap each other by 2px and the lower one
     would win on DOM order. The grid gets the height its targets need
     instead; it is a 3x3 of dots and 6px taller is not a visible change. */
  .posgrid { aspect-ratio: auto; height: 150px; }
  /* 0.4px short, and it can simply have it. */
  .cardset__in { min-height: 44px; }
}

/* ---------------------------------------------------------------------------
   Removing a person from "The couple" (12 Nov 2026)
   ---------------------------------------------------------------------------
   The same quiet link the ceremonies and the custom questions use, at the
   foot of each person's card. It is a `button` rather than an `a` because it
   acts here rather than navigating to a confirmation page, so it needs the
   three lines that take a button's own chrome off; `.setup-link--quiet`
   already carries `margin-left: auto`, which is why the row is a flex. */
.pf-del-row { display: flex; margin-top: 10px; }
.pf-del {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12px;
}

/* ---- the mark over a dead end (12 Nov 2026) ------------------------------

   The 500, the two 404s and "No such site" centre the garland over a heading
   and then offer a way out. The garland was a bare `<svg>` on all four --
   inert, on the four pages where this stylesheet's own comments twice call
   the logo "the only way back from a deep page". Pulkit clicked it on the
   error page at app.toran.ink and reported what happened; `homeFor` in
   src/lib/hosts.ts decides where it goes now, per host.

   Not `.brandmark`: no wordmark, because these pages put the heading
   directly under the mark and two pieces of brand stacked on a 500 is one
   too many. Just enough box to be a 44px target and to show focus. */
.markhome {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; border-radius: 12px;
  color: inherit; text-decoration: none;
}
.markhome:hover { background: rgba(12, 59, 54, .06); }
.markhome:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ===========================================================================
   ONE SECTION, ONE SCREEN (16 Nov 2026)
   ===========================================================================

   Pulkit went through the marketing page screen by screen and the instruction
   under all of it was one: a section should fit the viewport rather than run
   long with dead gaps in it. Everything in this block exists to hold a named
   section inside 900px at 1440 and inside 800px at 1280, measured in a browser
   at those sizes rather than reasoned about from here.

   Two rules the whole block follows:

     - **Pixels come out of air and arrangement, never out of type size.** A
       section that fits because its body text is 13px has not been fixed.
       Where something genuinely cannot fit a 375px phone honestly -- a six
       column table, three cards side by side -- it gets a scroller inside the
       section instead, which is the device `.cmp-scroll` and `.tblscroll`
       already use on this page.
     - **A photograph is a column, not an ornament.** The two bands that gain
       imagery put it in the grid, so the prose column narrows and the measure
       improves rather than text wrapping around a picture.

   Appended rather than edited in, per this file's own convention. ---------- */

/* ---- the film's music step (17 Nov 2026) --------------------------------

   Pulkit: *"Make add music more apparent. This is very hidden right now.
   Maybe add somewhere it is visible."*

   What was there: a 13px `.sb__musicpick` on a bare flex row between "Add a
   slide of your own" and "Make the film", with no heading of its own -- and
   beside it `.sb__songsw`, which **had no rule anywhere in this file**. So
   the control that decides whether the song is on the film rendered as a
   browser-default button reading "Music", next to a button reading "Add
   music": two controls, one word, and no on/off state drawn on either.

   The step is now a box with a heading, sitting directly above the button
   that makes the film, and the switch is `.blk__on` -- the same control the
   Event website editor uses, which draws its own states and already has the
   phone's 44px target rule. The only new thing to style is the box. */
.sb__song {
  margin: 16px 0 18px;
  padding: 14px 15px 13px;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg-raised);
}
.sb__songhead {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  margin: 0 0 11px;
}
.sb__songttl { font-size: 14px; font-weight: 600; }
/* The track's name takes what is left of the line and ellipses rather than
   wrapping. A 60-character filename is a thing people have, and wrapped it
   would push the controls down a line on a phone for no gain. */
.sb__songhead .tiny {
  min-width: 0; flex: 1 1 auto;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.sb__songon { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.sb__songon[hidden] { display: none; }
/* The upload is a `<label>` wrapping a hidden file input, the same shape the
   website card's uploader uses, so the busy state has to live on the label:
   there is no `<button>` here to disable. */
.sb__songup[aria-busy="true"] { opacity: .75; cursor: progress; }
/* The file input inside it is `.vh` rather than `hidden`, so a keyboard can
   reach it -- and a focus ring on a 1px clipped input is a focus ring
   nobody can see. The label wears it. */
.sb__songup:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---- the website card's music row, now that it has two ways in ----------

   `.cardset__music` was one upload button on a row of its own, so it never
   needed to wrap. With the library picker beside it, 375px is not enough
   for both: measured at 153px and 100px wide and **67px tall**, each label
   broken across two lines -- which is the same lumpy pair of pills the
   budget head row was sent back for, introduced here by the button that
   fixes something else.

   So on a phone each control takes its own full-width row. The panel is
   already a column of full-width fields, so two more read as part of it. */
@media (max-width: 860px) {
  .cardset__music { flex-wrap: wrap; }
  .cardset__music > .btn,
  .cardset__music > .cardset__up,
  .cardset__music > .cardset__up > .btn { flex: 1 1 100%; width: 100%; }
}

@media (max-width: 860px) {
  /* The two buttons share the row and the switch drops under them. Three
     controls across 335px is 111px each and "Choose from your music" does
     not fit in that. */
  .sb__song .sb__songrow > .btn { flex: 1 1 140px; }
  .sb__songon { margin-left: 0; flex: 1 1 100%; justify-content: space-between; }
}

/* ---- four actions in a page head, on a phone (17 Nov 2026) --------------

   `.page-head > .row`'s phone rule is `flex-wrap: nowrap` with every button
   at `flex: 1 1 0`, and its own comment says why: *"Two actions, each half
   the width... Nothing in the app puts more than two in this row."*
   /app/budget puts four -- Workbook, CSV, PDF, Add expense. At 375px they
   share 308px, which is 77px a button: "Add expense" wrapped onto a second
   line and the one filled pill stood taller than the three outlined ones
   beside it. Pulkit sent the screenshot on 17 Nov 2026.

   The row wraps now, the three exports share a line, and the filled pill
   takes a full-width line of its own. `:not(.btn--ghost)` rather than
   `:last-child` because what earns the line is being the action rather than
   being last; a fourth export would simply join the three.

   Appended rather than edited into the rule above, per this file's own
   convention, and scoped to the one row that needs it: `row--acts` is in
   the markup, so a two-button head is untouched. */
@media (max-width: 860px) {
  /* `flex-wrap: wrap` was here and has moved into the default above, where
     it belongs. What is left is the part that is a choice rather than a
     correction: equal peers, and a line for the action. */
  .page-head > .row--acts > .btn { flex: 1 1 0; }
  .page-head > .row--acts > .btn:not(.btn--ghost) { flex: 1 0 100%; }
}

/* ---- "Add more time" moves into the term strip (17 Nov 2026) ------------

   Pulkit, on /app/billing: *"nothing left, one year 11 months, ends on
   November 12 2028 -- over there we can do, right? Because on the
   right-hand side there is a lot of wasted space, so we can utilize it in
   a way so that on the left-hand side it's not so much wasted space and
   there's not that much scrolling."*

   `.term` is already a wrapping flex of three facts, so the action is a
   fourth child with `margin-left: auto`: hard right in the space that was
   empty, the three facts keeping their own 34px spacing, and the whole
   thing dropping to its own line when the strip runs out of room rather
   than squeezing a date. `align-self` because `.term` has no
   `align-items` and a stretched column would hang the button off the top
   edge.

   **The markup is not in this branch.** The page is rendered from
   `src/routes/billing.ts`, which this branch does not own, so these rules
   match nothing and change nothing until the fourth child lands there. They
   are here rather than in that session's diff so that whoever writes the
   markup does not also have to guess the layout. */
.term__act {
  margin-left: auto; align-self: center;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 5px; text-align: right;
}
.term__act form { margin: 0; }
/* On a phone the strip is already a stack, so the action is one more full
   width row in it -- and the button fills that row, because a right-aligned
   pill under three left-aligned facts reads as a stray.
   `flex: 1 1 100%`, not `align-self: stretch`: `.term` is a **row** flex, so
   `align-self` is the vertical axis there and stretching it left the button
   at its own 166px while the facts above ran the full 335. Measured at
   375px before this line was right. */
@media (max-width: 860px) {
  .term__act {
    margin-left: 0; flex: 1 1 100%;
    align-items: stretch; text-align: left;
    padding-top: 12px; border-top: 1px solid var(--border);
  }
  .term__act .btn { width: 100%; }
}

/* The song's length beside the film's. Amber only when there will be
   silence, because "your song is longer than the film" is information and
   "the last 19 seconds will be silent" is a thing to decide about. */
.sb__songlen { margin: 9px 0 0; }
.sb__songlen--short {
  padding: 8px 10px; border-radius: 9px;
  background: var(--toran-amber-soft); color: var(--toran-amber-deep);
}
.sb__songlen[hidden] { display: none; }

/* ---- the photograph in the WhatsApp preview (17 Nov 2026) ---------------

   `.wa__preview-top` held `mark(12)`, our lockup, standing in for the
   photograph. It is the real `og:image` now (#170 put the resolver in
   `lib/preview.ts`), so the box has to behave like a chat app's card.

   **1.91:1 and `object-fit: cover`, and the reason is not taste.** On
   production the URL carries `/cdn-cgi/image/width=1200,height=630,fit=cover`
   and the bytes arrive already cropped. Off production `IMAGE_TRANSFORM_ZONE`
   is empty -- `wrangler.toml:38` -- so the same markup is handed the
   uncropped original, which for a portrait photograph is a 2000px-tall image
   in a 250px-wide phone. Without the ratio and the crop here, this panel
   would tell a different story in dev than in production, which for a panel
   whose whole job is "this is what WhatsApp gets" is the one thing it must
   not do. */
.wa__pvimg {
  display: block; margin-bottom: 7px;
  aspect-ratio: 1.91 / 1; border-radius: 4px; overflow: hidden;
  background: var(--toran-sand);
}
.wa__pvimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The drawn card 404s until the site is published, so the frame holds the
   mark rather than a broken image. Centred, because it is now furniture
   rather than a photograph. */
.wa__pvimg--soon { display: grid; place-items: center; }

/* The line under the phone, and the two controls with it. Stacked, it is
   the first block on the screen instead, so it has no top gap to close and
   its own heading sits above the caption. */
.sharepic { margin-top: 10px; }
.sharepic--lead { margin-top: 0; }
.sharepic--lead .sharepic__cap { margin-top: 5px; }
.sharepic__cap { margin: 0; }
.sharepic__acts { gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 9px; }
.sharepic__acts form { margin: 0; }
/* The same quiet link the ceremonies and the custom questions use: this
   undoes a choice, it does not delete a photograph, so it must not read with
   the weight of a button. */
.sharepic__clear {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 12px; color: var(--text-subtle);
  text-decoration: underline; text-underline-offset: 2px;
}
.sharepic__clear:hover { color: var(--brand); }
/* Amber rather than red: the card still draws, with the date and the venue
   on it. Nothing is broken, something is missing, and the two should not
   look the same. */
.sharepic__warn {
  margin: 9px 0 0; padding: 9px 11px;
  border-radius: 9px;
  background: var(--toran-amber-soft); color: var(--toran-amber-deep);
}

/* ---- [NARROW-1] a narrow DESKTOP window, which is neither pass ----------
   (17 Nov 2026.) Pulkit, with a screenshot of `/app/design` in a Chrome
   window about 575px wide: *"in phone editor looks weird."* The preview was
   a narrow strip with a dark frame round it, the couple's names cut, and the
   control panel visibly sliding past beside it rather than under it.

   Three symptoms, one cause, and the cause is one word.

   `.editor` is `display: grid` with `align-items: start`, and on the grid
   that word is right: it stops the short column stretching to the tall one's
   height, so the panel and the preview both begin at the top. `[MOBILE-5]`
   turns the same element into `display: flex; flex-direction: column` and
   changes nothing else -- so `align-items: start` came with it, and in a
   flex column `align-items` is the CROSS axis. It stopped meaning "align the
   tops" and started meaning "every child is only as wide as its content".

   The panel's content is text, which fills whatever it is given. The
   preview's content is a 390px iframe. So the preview shrink-wrapped to
   392px and the panel stayed full width, at every width from 432px up.

   **Measured at 575x900, before:** panel 535px, preview 392px -- 143px
   short. At 1000px, 656 against 392: **264px short**. And because the
   preview is pinned and the panel scrolls under it, that shortfall is a live
   window: with `.main` scrolled 900px, `elementFromPoint` at x=430, 470 and
   520 across the preview's own band returned `.blk__head`, `.blk__mv` and
   `.blk__on` -- block rows sliding past beside the pinned strip. That is
   what "sits on top of the panel" was, and it is also why the 1px border
   read as a crop: the box it outlines did not reach the panel's edge, so
   there was no join for it to be.

   **Why it was never seen on a phone.** The shortfall is the column minus
   392, and the column is the viewport minus `.main`'s 20px gutters. At 430px
   it is zero -- measured: preview 390, panel 390. It opens at 432 and grows
   a pixel per pixel. Every phone this was designed and tested against is
   below that line, so the defect needed a window, not a device. There is no
   phone-sized reproduction of it, which is the whole reason it shipped.

   The fix is one declaration, said in `[MOBILE-5]` where the `display` that
   changed its meaning is said. Nothing here but the record of it. */

/* ---- [NARROW-2] the editor's toolbar reads as a toolbar -----------------
   (17 Nov 2026.) Pulkit, on the editor at phone width: *"make the buttons
   prettier in mobile."* The row is Open preview, Undo, Redo, Saved, Save
   now, and it read as four blobs and a word: at 15px with 13px of padding,
   "Undo" and "Redo" are each about 64px wide and 52 tall, which is a circle,
   and nothing said the two of them were one idea.

   Fixing the default row above already gives "Open preview" its own line and
   stops it being crushed to 34px. This is the rest of what he asked for, and
   it is about shape rather than size, so it is small.

   **Undo and Redo become one control.** They are a pair -- the same object,
   two directions -- so they are drawn the way every editor draws them: a
   single segmented pill with a divider, not two discs that happen to be
   adjacent. `margin-left: -1px` so the shared edge is one line and not two.

   **"Saved" was already state and stays state.** It carries no border, it is
   12px and muted where the controls are 15px and inked, and `#edState` is
   the live region that says Saving... and announces a failure. It is not
   restyled; it is simply no longer the only unbordered thing in a row of
   four circles, which is most of what made it read as a fifth control.

   **Save now takes the rest of the line.** It is the one filled pill and the
   only thing in the row that commits anything, so it is the widest thing in
   it rather than the same size as Undo. */
@media (max-width: 860px) {
  .edstat { flex: 1 1 100%; gap: 9px; }
  .edstat__hist { gap: 0; flex: 0 0 auto; }
  .edstat__hist > .btn:first-child {
    border-top-right-radius: 0; border-bottom-right-radius: 0;
  }
  .edstat__hist > .btn:last-child {
    border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px;
  }
  .edstat > .btn { flex: 1 1 auto; }
}

/* ---- [WHY-1] a card that says why it is not in the film -----------------
   (17 Nov 2026.) Pulkit: *"why 'Where it is' is not coming in the video?"*
   The card said **Not in the film**, which is true and useless. See
   `whyBlank` in src/views/video-storyboard.ts for the reasoning and for
   which reasons are the server's and which are live.

   The badge over the thumbnail keeps its three words: it is 11px over a
   150px picture and it is a state, not an explanation. The sentence goes
   under the slide's name, where the name already is, so somebody reading
   "Where it is" reads the reason in the same glance.

   Shown only on a blank card. `video.js` empties it when the slide comes
   back, so a fixed card never keeps the sentence that explained it. */
.sb__why {
  display: none;
  /* Its own line under the name, never beside it. */
  flex: 0 0 100%;
  font-size: 12px; line-height: 1.45;
  color: var(--toran-amber-deep); font-weight: 500;
}
/* Amber, and the reason it is amber rather than red is the one `.sharepic__warn`
   gives: nothing is broken, something is missing, and the two must not look
   the same. */
.sb__slide.is-blank .sb__why { display: block; }
.sb__slide.is-blank .sb__why:empty { display: none; }

/* ---- [TPL-1] choosing a design, in the editor and in onboarding --------
   (17 Nov 2026.) Pulkit: *"Templates are really good, but the problem with
   the editor is everybody will come in blank. There is no way to directly
   apply a template."* `src/views/template-picker.ts` carries the reasoning;
   this is what it looks like.

   **The thumbnail is the sample cards' own treatment, borrowed by class.**
   `.samplecard__page` crops a card at 625px of its own pixels and fades the
   last ten, and the comment on those rules records how 625 was measured and
   which line in which theme it is protecting. Re-deriving that number here
   would be exactly the second copy that comment warns about, so these rules
   add only what is different: the grid, the button around the card, and the
   scale.

   **The scale is measured, by `public/templates.js`.** `--pv-scale` is set
   by `landing.js` on the marketing pages and that script does not run here,
   so without one of our own these previews would fall back to the shared
   default of .341 -- a fixed 382px of card, right at exactly one column
   width and wrong at every other.

   It was written as pure CSS first -- `--pv-scale: calc(100cqw / 1120)` with
   `container-type: inline-size` on the card -- because a number derived from
   the viewport beats a number chosen at a breakpoint. **It does not work,
   and the measurement is in templates.js**: a container unit used directly
   in a property is fine, the same unit stored in a custom property and
   consumed on the element that declared it is not. The script is four lines
   and follows the viewport on resize, which is the behaviour that was
   actually wanted.

   The grid is `auto-fill` from a 200px floor, so the number of columns is
   the viewport's decision and not a breakpoint's: four at a 1280px window,
   one at 375. There is no media query in this block and there should not
   need to be one. */
.tpl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 4px 0 18px;
}
.tpl__one {
  display: flex; flex-direction: column;
  padding: 0; overflow: hidden; cursor: pointer;
  background: #fff; color: inherit; text-align: left;
  border: 1px solid var(--border); border-radius: 14px;
  font: inherit;
}
.tpl__one:hover { border-color: var(--brand); }
.tpl__one:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Two pixels of brand, and the ring rather than a tick in the corner: the
   card underneath is the couple's own invitation and a badge dropped on top
   of it covers the thing they are trying to look at. */
.tpl__one[aria-pressed="true"] {
  border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand);
}
.tpl__pic { border-radius: 0; }
.tpl__name {
  display: block; padding: 10px 12px 0;
  font-size: 15px; font-weight: 600;
}
/* The occasion's own default, marked and nothing more. Pulkit, on filtering
   the list down to it: *"What if someone wants to choose some other colour?
   Even if they are doing haldi they want pink. Then what? No, no."* So this
   is a word beside one card, never a reason another card is missing. */
.tpl__sug {
  display: block; padding: 2px 12px 11px;
  font-size: 12px; color: var(--text-subtle);
}
.tpl__one:not(:has(.tpl__sug)) .tpl__name { padding-bottom: 11px; }

/* Two across on a phone. Walked at 375 on 17 Nov 2026: four designs each the
   full width made step 4 a **1,697px page** for a choose-one, which is three
   screens of scrolling to compare four things -- and comparing them is the
   whole job of the screen.

   A breakpoint here and not a derived size, deliberately, and it is the
   distinction `[NARROW-1]` draws: how many columns there are is an
   ARRANGEMENT. `auto-fill` cannot express "two on a phone, four on a
   laptop", because it packs as many as the floor allows -- dropping the
   floor to fit two at 335px would pack six at 930px and make them 140px
   each on the screen with the most room. The floor decides a size; this
   decides a layout. */
@media (max-width: 560px) {
  .tpl { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tpl__name { padding: 8px 10px 0; font-size: 14px; }
  .tpl__sug { padding: 2px 10px 9px; font-size: 11px; }
}

/* ---- [TPL-2] the copy menu, opened out ---------------------------------
   (17 Nov 2026.) On the screen at the end of onboarding this is not one
   control among several in a header -- it is the thing on the page. A
   couple who has just published should see the link, the QR and the message
   rather than a chip they have to discover. docs/20 section 7.

   Same component, same rows, same `copy.js`: `copyMenu({ open: true })`
   renders the `<details>` already open and marks it. A second copy
   mechanism for one screen is the drift ADR 0046 is about, so what changes
   here is two properties and nothing else.

   **`display: none` and not the `hidden` attribute.** The summary carries
   `hidden` in the markup, and `.cpy > summary` sets `display: inline-flex`
   -- any `display` declaration beats the UA sheet's `[hidden]`, so the chip
   rendered anyway, on top of the button beside it. Measured at 375.

   And the panel is a dropdown: `position: absolute` with a 300px width and
   a drop shadow, which over a page rather than beside a chip covered the
   Open WhatsApp button under it. In flow here, full width, no shadow -- it
   is a section of the page now, not a thing hovering above one. */
.cpy--open > summary { display: none; }
.cpy--open .cpy__menu {
  position: static; width: auto; box-shadow: none;
  padding: 6px; background: var(--toran-surface);
}

/* ---- a hotlinked photograph outside an article (ADR 0029) ---- */
.shot { margin: 0; position: relative; }
.shot img {
  display: block; width: 100%; height: auto; border-radius: 18px;
  /* The declared width/height already hold the box. This keeps it held when
     the CDN is slow or blocked, which is the state a third party's image is
     in often enough to design for. */
  background: var(--toran-sand);
}
.shot__cred {
  display: block; margin-top: 8px;
  font-size: 11.5px; line-height: 1.5; color: var(--text-subtle);
}
.shot__cred a { color: var(--text-subtle); text-decoration: underline; text-underline-offset: 2px; }
.shot__cred a:hover { color: var(--brand); }

/* ---- "not only weddings": a photograph and a list, not chips and a para ---- */
.occ { padding: 56px 0; }
.occ__grid {
  display: grid; grid-template-columns: 420px 1fr; gap: 56px; align-items: center;
}
/* The photograph is 4:5 and the copy beside it is the taller column, so the
   frame is capped by height rather than left to set the row. 430px is the
   measured height of the copy at 1440 with four claims and eleven chips. */
.occ__art img { max-height: 476px; object-fit: cover; }
.occ__h { font-size: 42px; margin: 0 0 10px; }
.occ__list { margin: 0 0 22px; }
.occ__list li { align-items: flex-start; }
.occ__chips { display: grid; gap: 6px; }@media (max-width: 980px) {
  .occ__grid { grid-template-columns: 1fr; gap: 28px; }
  /* Landscape on a phone, because a 4:5 portrait at full column width is
     most of a screen on its own and this band has four claims to show.

     The crop is biased DOWN rather than centred, which is new on 16 Nov 2026
     and is about this photograph rather than about phones. 335x230 out of a
     4:5 frame keeps a 55% band; centred, that band ends at the couple's
     shoulders and the mandap reads as an empty canopy again, which is the
     exact fault being fixed. At 72% the couple, the pandit, the family and
     the Ganesh motif are all inside it and only the top of the flowers goes.
     Measured at 375x812 by looking at both. Desktop stays centred: 476 out
     of 525 loses 9% and nothing in it. */
  .occ__art img { max-height: 230px; object-position: 50% 72%; }
  .occ__h { font-size: 32px; }
}

/* ---- 02: the replies, across the screen rather than down the left edge ---- */
.repl { padding: 46px 0; }
.repl__grid {
  display: grid; grid-template-columns: 1fr 620px; gap: 56px; align-items: center;
}
.repl__h { font-size: 40px; margin: 0 0 12px; }
@media (max-width: 1040px) {
  .repl__grid { grid-template-columns: 1fr; gap: 28px; }
  .repl__h { font-size: 30px; }
}
/* The card inside 02 is a picture of a screen, not a screen: nobody is going
   to read a tag at arm's length or click a row. The product's own 15px/24px
   row padding and 22px KPI padding are right where somebody is working in it
   and are 99px a row here, which is what made this band 1,268px. Air only --
   every type size in the card is the product's. */
.repl .card table.data td { padding: 9px 20px; }
.repl .card table.data th { padding-top: 10px; padding-bottom: 10px; }
.repl .card .kpi { padding: 14px 16px; }
.repl .card .kpi b { font-size: 30px; }
.repl .card .kpis { gap: 10px; }
/* The six made-up guests are two words each and the Guest column is the one
   that gives when the table is narrower than its 560px floor: every name was
   breaking over two lines, which is 28px a row and the real reason this card
   was 995px. The names do not wrap now, and the column simply reaches the
   scroller 40px sooner on a phone, where the table already scrolls. */
.repl .card table.data td strong { white-space: nowrap; }

/* ---- 03: an address, a code and a message, side by side ---- */
.shr { padding: 46px 0; }
.shr__head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px 56px;
  align-items: end; margin-bottom: 28px;
}
.shr__h { font-size: 42px; margin: 0; }
.shr__lede { margin: 0; }
.shr__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.shr__one { display: flex; flex-direction: column; }
/* The three pictures are three different shapes -- a bar over a square, a
   phone, a list -- and a row only reads as a row if they start and finish on
   the same two lines. So the picture is a fixed-height box they each sit
   inside, bottom-aligned, and the title under them starts at one height. */
.shr__pic {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 14px; height: 362px; margin-bottom: 16px;
}
.shr__pic--addr { justify-content: center; }
.shr__pic .wa--pv { width: 100%; max-width: 300px; }
.shr__t {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.shr__c { margin: 0; }
.shr .qrcard { padding: 16px; display: inline-block; }
.shr .addrbar { width: 100%; }

@media (max-width: 1040px) {
  .shr__head { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .shr__h { font-size: 32px; }
  /* Three cards cannot be three columns on a phone and stacking them is
     1,900px of scroll for one argument, so below this the row becomes a
     swipeable track -- the same answer .cmp-scroll gives the comparison
     table, and the reason the band still fits a phone screen. The cards keep
     their full type size; what changes is that two of them are off to the
     right until you push them, which is a thing a thumb already knows how
     to do. */
  .shr__row {
    grid-auto-flow: column; grid-auto-columns: minmax(258px, 76vw);
    grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 18px; padding-bottom: 10px;
    /* Inside the wrap's gutter, not bleeding past it. The full-bleed version
       of this (negative margins and matching padding) put 4px of sideways
       scroll on the whole document at 375px, which reads as a broken page on
       a phone and as nothing at all on a laptop. A card cut off at the
       gutter says "push me" just as well. */
    scrollbar-width: thin;
  }
  .shr__one { scroll-snap-align: start; }
  .shr__pic { height: 318px; }
}

/* ---- 06: the people, what they can do, and the switcher, in one row ---- */
.team { padding: 40px 0; }
.team__head { max-width: 860px; margin: 0 0 20px; }
.team__h { font-size: 42px; margin: 0 0 10px; }
/* Three columns, not two-then-one. The switcher was a full-width row under
   the pair, which at 1440 put a 300px card alone in a 1,180px band with the
   argument for it floating to its left -- Pulkit: it "floats off alone". It
   is a third of a row now, and the three together are the answer to "who
   else can get into this": these people, this much each, and here is what it
   looks like when somebody is on two weddings. */
.team__row {
  display: grid; gap: 26px; align-items: start;
  /* The middle column is sized by its table, not by a fraction. The grid
     has a 420px floor (a six-row capability table with three columns of
     ticks does not read under it) and at 1fr of three it was landing at
     368px, which pushed the Viewer column into the card's own scroller --
     on a desktop, where there is room, and Viewer-cannot-see-the-budget is
     half of what the table is for. Fixed middle, fixed switcher, and the
     people list takes what is left. */
  grid-template-columns: minmax(0, 1fr) 452px 262px;
}
.team__swx { align-self: center; }
.team__sh {
  font-family: var(--font-display); font-size: 24px; font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 10px;
}
.team__swx .swx__menu { margin-top: 14px; }
/* The two cards are pictures of screens again, so the same trade as 02: the
   product's working padding, minus the part that only matters to a thumb. */
.team__row .card .spread.keep-row { min-height: 0; }
.team__row .rolegrid th, .team__row .rolegrid td { padding-top: 10px; padding-bottom: 10px; }


@media (max-width: 1080px) {
  .team__row { grid-template-columns: 1fr; gap: 22px; }
  .team__h { font-size: 32px; }
  .team__swx .swx__menu { max-width: 320px; }
}

/* ---- the price, on one screen ---- */
/* Pulkit, on the "Not ready?" card: a dead gap between its copy and the
   sample button. The cause is one rule 500 lines up -- `.plan .btn
   { margin-top: auto }` -- which is right for the featured plan, where the
   button is the last thing in the card and should sit on the floor however
   long the feature list runs. In this card the button is NOT last: the
   "nothing renews" note is under it, so the auto margin opened a hole above
   the button rather than under the copy it belongs to. The auto margin moves
   to the note, which is the thing that should sit on the floor. */
.plan--note .btn { margin-top: 0; }
/* And then the hole has to go somewhere. It does not move to the bottom of
   the card either: the "nothing renews" note grows to fill what is left, so
   the column is three blocks that touch instead of two blocks and a gap.
   Equal-height columns stay equal-height, which is what `.plans` is for. */
.plan--note > .card {
  margin-top: 0; flex: 1 1 auto;
  display: flex; flex-direction: column; justify-content: center;
}
.pricing { padding: 32px 0; }
.pricing__h { font-size: 42px; margin: 12px 0 8px; }
.pricing__lede { max-width: 760px; margin: 0 auto 20px; }
/* Sixteen things in the price is the argument, so none of them goes. What
   goes is the air: 38px of padding and 12px between sixteen list items is
   260px of this band on its own. */
.pricing .plan { padding: 22px 26px; gap: 14px; }
.pricing .plan ul { gap: 7px; }
/* The featured panel is wider here than the global 1.3fr. Sixteen features
   in two columns at 1.3fr wrapped nine of them onto a second line; at 1.55fr
   most are one line, which is 80px of band for nothing but a column width. */
.pricing .plans--two { grid-template-columns: 1.55fr 1fr; }
.pricing .plan__two li { margin-bottom: 7px; }
.pricing .plan .price { font-size: 44px; }
@media (max-width: 860px) {
  .pricing__h { font-size: 34px; }
}

/* ---- the founder's note, with a photograph beside it ---- */
.why-me { padding: 54px 0; }
.why-me__grid {
  display: grid; grid-template-columns: 300px minmax(0, 620px);
  gap: 48px; align-items: center; justify-content: center;
}
/* With no photograph the measure centres rather than sitting against the
   left edge of a 1,180px band with 560px of nothing beside it. This is the
   state the page ships in whenever data/founder.ts is null, so it is a
   layout, not a fallback. */
.why-me__grid--solo { grid-template-columns: minmax(0, 620px); }
.why-me__face {
  display: block; width: 100%; height: auto; border-radius: 20px;
  /* Not cropped. A three-quarter standing shot against a flat sky needs no
     frame on this ground, and a square crop of it would cut his head off --
     the face is at 48% across, 42% down. */
  background: var(--toran-sand);
}
.why-me .whyme { max-width: none; }
@media (max-width: 900px) {
  .why-me__grid, .why-me__grid--solo { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .why-me__face { max-width: 220px; }
}

/* ---- /about: a letter on one axis ──────────────────────────────────────
   16 Nov 2026. Measured on production at 1440: six distinct left edges
   (0, 154, 270, 400, 681, 930) and six distinct widths across the page's own
   two sections, with the portrait at left 930 / width 240 overhanging the
   620px measure by 40px and aligning to nothing. Pulkit: "this page is ocd
   nightmare!". A reader does not count edges; they feel a page that will not
   settle.

   The rule now, and it is the whole design: **one column, one axis, one
   width.** Every block in the letter and in the band under it starts at the
   same x and is the same width, at 1440, at 1280 and at 375. There is no
   wide tier and no full-bleed figure, because a letter does not have them --
   the only thing on the page that is not the measure is the background of
   the band behind it.

   620px pinned to the left of a 1,180px band also leaves 560px of nothing
   down one side, which reads as lopsided rather than composed;
   `.why-me__grid--solo` above already says this in so many words for the
   same copy on the home page. The column is centred now, so the page is
   symmetrical about one line.

   `.story > .wrap` narrows the shared 1,180px wrapper to the measure plus
   its own padding, so the wrapper IS the column rather than a second,
   wider box around it. That is one fewer edge than setting a max-width on
   an inner block would leave. */
.story > .wrap,
.story-cta > .wrap { max-width: 628px; }

/* The measure, and why it moved 620 -> 580 with the type going 19 -> 20.
   The comment on the base block above claims "a measure stopping near 62
   characters". It was not: measured in the browser with a canvas against the
   rendered Mukta at 19px, the average glyph is 8.13px and 620px is **76
   characters a line** -- above the 60-75 band where a reader's eye finds the
   next line without hunting for it, on the one page here that is read rather
   than scanned. 580px at 20px is 68. Both numbers are measured, not reasoned
   about; the method is in the PR so it can be run again.

   Bigger type in a narrower column costs height, and this page was already
   long. It is paid for out of the portrait column, out of the figure heights
   that come down with the measure, and out of paragraph spacing -- not out
   of the reading. */
.story__col p:not(.eyebrow) { font-size: 20px; line-height: 1.75; margin: 0 0 22px; }
/* `.story__col p:not(.eyebrow)` is (0,2,1) and so are `p.story__lede`,
   `p.story__who` and `p.story__name` -- equal specificity, so the LATER rule
   wins and the three written earlier in this file all lost to the line above
   until they were restated here. The sign-off came back at 20px Mukta and
   the signature stopped being a signature. Anything that sets prose size on
   this page has to carry its exceptions with it. */
.story__col p.story__lede { font-size: 23px; }
.story__col p.story__who { font-size: 14px; line-height: 1.6; margin: 0; }
.story__col p.story__name {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  line-height: 1.2; color: var(--text); margin: 0 0 6px;
}
.story__page, .story__page--solo { max-width: none; margin: 0; }
.story__page .story__col { max-width: none; margin: 0; }
.story__top, .story__top--solo { display: block; margin-bottom: 0; }
.story__top h1 { margin-top: 10px; }

/* The portrait is a signature, not a column.
   #148 moved it from the foot of the letter to the top and was right about
   why -- a reader meeting a stranger's argument should see who is making it
   before they read 600 words, not after. It was wrong to give it a column of
   its own to do that in. It is a 112px disc at the head of the letter now:
   it sits ON the measure's left edge, so it adds no edge and no column, and
   it reads as the mark at the top of a letterhead, which is what it is.

   `object-position` is not optional. The file is a three-quarter standing
   shot, 675x900, with his face at 48% across and 42% down; a square crop
   centred by default cuts his head off. The value is `FOUNDER_PHOTO.focus`
   in data/founder.ts and is written here only because CSS cannot read it.
   The declared width/height attributes on the tag are the file's intrinsic
   675x900, so this is a crop, not a squash. */
.story__me {
  display: block; width: 112px; height: 112px; border-radius: 50%;
  object-fit: cover; object-position: 48% 42%;
  background: var(--toran-sand); margin: 0 0 20px;
}

/* The photographs sit at the measure, not wider: this is a letter, and an
   image breaking out of the column it is inside turns a letter into a
   brochure. 3:2 landscape, which is the shape the registry asks the CDN for,
   so nothing moves while Unsplash loads. */
.story__shot { margin: 6px 0 28px; }
.story__shot img { border-radius: 16px; }

/* The band under the letter is the same column, left-aligned like the rest
   of it. It used to be centred text inside a 1,132px wrapper with a 640px
   heading floating in the middle of it -- three of the six stray edges came
   from this one band. A centred CTA under a left-aligned letter is a second
   axis for no reason. */
.story-cta { text-align: left; }

/* ## Centred after all, 17 Nov 2026
 *
 * Pulkit: *"centre align this 'Build your invite' thingy."* That reverses the
 * note directly above, so the note stays and this says why it no longer
 * applies rather than quietly editing it.
 *
 * What was wrong then was not the centring. It was centring **inside a
 * 1,132px wrapper**: a 640px heading adrift in the middle of a band, which is
 * where three of those six stray edges came from. The wrapper is 628px now
 * (`.story-cta > .wrap`, set in the same sweep), so the heading, the price
 * line and the button are centred on a column that is already the width of
 * the letter above it. The second axis the note objected to does not appear,
 * because there is no slack left for anything to float in.
 *
 * It applies to this band only. The letter above is left-aligned prose and
 * stays that way; a closing call to action is the one thing on the page that
 * is not prose. */
.story-cta { text-align: center; }
.story-cta .btn { display: inline-flex; }
/* The home page's closing-CTA offer line centres itself with `margin: auto`
   and pulls up 8px against the `.muted` line above it. Here that line has its
   own 24px bottom margin, so the pull would close the gap too far. */
.story-cta .offerauto--mid { margin: -6px auto 22px; }
.story-cta h2 { font-size: 40px; max-width: none; margin: 0; }
.story-cta p { margin: 16px 0 24px; }

/* The base stylesheet's own 860px block sits ABOVE these rules in the file
   and restates the prose size, so an unconditional rule here would beat it on
   a phone and set 20px body text in a 327px column. Same trap the note at the
   foot of the base block warns about. The phone sizes are restated here. */
@media (max-width: 860px) {
  .story__col p:not(.eyebrow) { font-size: 17px; line-height: 1.72; margin: 0 0 20px; }
  .story__col p.story__lede { font-size: 19px; }
  .story__col p.story__who { font-size: 14px; line-height: 1.6; margin: 0; }
  .story__me { width: 96px; height: 96px; margin-bottom: 16px; }
  .story-cta h2 { font-size: 30px; }
}

/* ---- the FAQ, in two columns on a laptop ---- */
/* Twelve questions in one column is 1,112px -- a section and a half of
   scrolling for a list where a reader is looking for their own question and
   skipping eleven others. Two columns halve the scroll and make the list
   scannable, which is the only thing an FAQ is for. The questions stay in
   order down one column and then the other, because `columns` fills that way
   and a reader who does read it through gets the order it was written in.
   `break-inside: avoid` keeps an open answer with its question. */
.faq-band { padding: 48px 0; }
.faq-band__h { font-size: 40px; margin: 0 0 20px; text-align: center; }
@media (min-width: 1000px) {
  .faq-band .faq { columns: 2; column-gap: 48px; }
  .faq-band .faq details { break-inside: avoid; }
  /* The rule above each question is the separator between them; in two
     columns the first of each column needs one too, which `:first-child`
     alone cannot know about. Border on every one, and the column's own top
     edge is where the heading already is. */
}

/* ---- the rest of the bands, measured at 1280x800 ---- */
/* Pulkit's instruction was "one section, one screen", not "one section, one
   screen on the laptop I happen to be using". Five bands fitted 1440x900 and
   did not fit 1280x800 -- 01, the budget, the exports, the people and the
   comparison -- all of them by between 1px and 69px, which is air rather than
   content. So the global band padding comes down from 92px to 72px. That is
   still more air than any band on this page needs and it is the whole fix for
   two of the five.
   Appended rather than edited into the rule at the top of this file, per the
   convention, so the reason travels with the change. */
.band { padding: 72px 0; }

/* 01 keeps its own padding for the reason written beside .band--fold above;
   the number moves for the reason written here. */
.band--fold { padding: 34px 0 38px; }
.demo--fold .demo__head { margin-bottom: 10px; }

/* The budget and the exports are one `.demo` row each, so what is left after
   the band padding comes out of the card inside them: a picture of a screen,
   with a thumb's worth of padding on every row. 14px -> 11px, four rows. */
#budget .card .spread.keep-row[style*="padding:14px"] { padding-top: 11px; padding-bottom: 11px; }

/* The comparison. It carries its own padding because it is the band that
   closes the argument and has to be seen whole; the same reasoning now has to
   survive a 800px screen, where 64px top and 56px bottom plus eight rows at
   10px did not. */
#why { padding: 44px 0 40px; }
#why .cmp th, #why .cmp td { padding-top: 7px; padding-bottom: 7px; }
.team__head { margin-bottom: 18px; }

/* The five rebuilt bands set their own padding and each has its own reason
   written beside it above. They are restated here because `.band { padding }`
   immediately above is the same specificity and later in the file, so it had
   silently taken all five back to 72px -- which is how a band that measured
   786px shipped at 838px. Same numbers, after the rule that was beating
   them. */
.occ { padding: 50px 0; }
/* `.pair` is restated here for the reason the block header gives and the
   seven below already learned: `.band { padding: 72px 0 }` is the same
   specificity and later in the file, so the 44px set beside `.pair`'s own
   rules did nothing and the band shipped 56px taller than it measured. This
   is the third time that has happened; the note above is not decoration. */
.pair { padding: 44px 0; }
.repl { padding: 46px 0; }
.shr { padding: 46px 0; }
.team { padding: 40px 0; }
.pricing { padding: 32px 0; }
.why-me { padding: 54px 0; }
.faq-band { padding: 48px 0; }
/* The last three, measured: 01 was 2px over at 1280x800, the budget 9 and the
   comparison 5. Air, again, and the three numbers are here rather than spread
   through the file so the next person can see what they are for. */
.band--fold { padding: 32px 0 34px; }
#budget { padding: 62px 0; }
#why { padding: 34px 0 32px; }

/* ---- phone: the two card rows become tracks, and nothing sticks out ---- */
/* Measured at 375x812: the document scrolled 4px sideways, which is the kind
   of defect that reads as a broken page on a phone and as nothing at all on a
   laptop. It was the phone mock-up inside the sharing track -- `.wa--pv`
   carries an 8px border under the default content-box sizing, so a card told
   to be 258px wide was 266px of ink. Both are fixed here rather than by
   changing .wa--pv, which is shared with the product's own share screen. */
.shr__one, .shr__pic { min-width: 0; }
.shr__pic > * { max-width: 100%; box-sizing: border-box; }

@media (max-width: 860px) {
  /* ## The sideways track is gone from this band (16 Nov 2026)
     *
     * It used to read: "three cards stacked is 1,876px of phone, and this is
     * one argument made of three pictures rather than three sections", with
     * the capability table scrolling sideways *inside* its own card -- a
     * scroller in a scroller, waved through because "they move the same way".
     *
     * Measured at 412 wide on production, that cost the section its whole
     * content: the table was 560px with 648px rows, the three role columns
     * started at x=353, x=460 and x=571, so ADMIN was half off the screen and
     * EDITOR and VIEWER were entirely off it. On the band that exists to
     * explain who can do what, a phone saw none of the answers, and
     * `documentElement.scrollWidth` stayed a reassuring 412 the whole time
     * because an `overflow-x: auto` ancestor hides this from a page-level
     * check. Pulkit, from a Pixel: "in poone its shit".
     *
     * Two changes, and the first alone was not enough. The table becomes one
     * block per role (`.rolecards`). And the track becomes a stack: with the
     * track, the capability card still *started* at x=272, so the answers
     * were off-screen until you swiped -- which is the same defect one layer
     * out. Height is the price and it is the right price; a section that is
     * tall is readable, a section that is off the side is not.
     *
     * The house pattern, from the 12 Nov mobile pass: the guest list and the
     * budget both stop being tables on a phone. `/app/billing` still
     * side-scrolls and is written down in CONTEXT.md as the known odd one
     * out -- it is not the thing to copy. */
  .team__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team__row > * { min-width: 0; }
  .team__swx { align-self: start; }

  .tblscroll { display: none; }
  .rolecards { display: grid; }
}
/* The address is 22 characters and the card in the track is 258px wide, so
   the 25px display size broke "toran.ink/sample/toran" across two lines in
   the middle of a word. It is one line at 17px, which is still the largest
   type in the card. */
/* ## Re-measured 17 Nov 2026, because the address got longer
   ---------------------------------------------------------------------------
   The note above is out of date in the one way that mattered: the string is
   not `toran.ink/sample/toran` and is not 22 characters. `samplePath` carries
   the couple and the theme now, so it renders
   `toran.ink/sample/aarti-and-rohan/sage` -- **37 characters**.

   Pulkit: the chip must fit on one line. Measured in the pane at 1280x900,
   the column gives the address 307px and at 19px it wanted 355, so with
   `nowrap` on it the tail of the web address was being cut off behind an
   ellipsis. A clipped address is a worse failure than the wrapped one this
   rule was written to fix: the reader cannot tell that anything is missing.

   16px fits all 37 characters inside 307px at every width from 1180 up,
   where the column is a constant third of the wrap, and the two queries
   below cover the widths where the column is narrower than that. Checked at
   1900, 1280, 1040, 860 and 375 by reading `scrollWidth` against
   `clientWidth` rather than by looking at it. */
.shr .addrbar { margin-top: 0; padding: 12px 14px; }
.shr .addrbar__url { font-size: 16px; }
@media (max-width: 1100px) {
  .shr .addrbar__url { font-size: 14px; }
}
/* Below 860 the row stacks and the chip gets the full column back, so the
   address can have its size again. */
@media (max-width: 860px) {
  .shr .addrbar__url { font-size: 18px; }
}
/* ## The phone, where the chip has the least room and the rule still holds
   ---------------------------------------------------------------------------
   Below 1040 the three cards become a swipeable track of `minmax(258px,
   76vw)` cards, so at 375px the address had 209px to live in and needed 281
   at 15px -- it fit on one line and lost its last eight characters behind an
   ellipsis.

   Three small things rather than one big one, because no single one of them
   was enough and the alternatives were all worse: the card's minimum goes
   from 258px to 308px, the chip's own padding and gap come in, and the type
   goes to 14px -- the same size as `.small`, which is the floor for
   something a reader is expected to be able to read.

   **The MINIMUM, not the `vw` maximum, and that is the whole trick.** The
   track is `minmax(258px, 76vw)` and three cards never fit, so the track
   always overflows and `minmax` therefore always resolves to its *minimum*.
   The `76vw` has never applied at any phone width. Raising it to 84vw
   changed nothing at all and the card stayed 258px, which is how this was
   found: the measurement did not move when the number did.

   Measured at 375 after the fix: 263px of ink in 273px of room, one line,
   nothing clipped, and `documentElement.scrollWidth` still 375 -- the card
   is wider than the gutter and the sideways scroll stays inside the track
   where it belongs. The dot stays; it is what makes the thing read as an
   address bar rather than a text field. */
@media (max-width: 460px) {
  .shr__row { grid-auto-columns: minmax(308px, 84vw); }
  .shr .addrbar { padding: 10px; gap: 6px; }
  .shr .addrbar__url { font-size: 14px; }
}

/* ===========================================================================
   [HELP] The help centre: /help, and the same documents inside the dashboard
   ===========================================================================

   ## The two characters that were missing here, and what they cost
   ---------------------------------------------------------------------------
   **Repaired 17 Nov 2026.** The `}` closing the media query directly above
   and the `/*` opening this very comment were both absent, and had been
   since the help centre merged (`5bd7593`). It reads like a merge resolution
   that took one side's last line and the other side's first.

   A stylesheet does not fail loudly for this. The browser kept the media
   query open, swallowed this comment's text as if it were declarations, and
   **discarded every rule in the remaining ~650 lines of this file.** In
   CSSOM the sheet simply ended at `.shr .addrbar__url`.

   What was unstyled in production as a result:

     - this entire help-centre block, both surfaces of it;
     - `.was`, so a struck list price was a browser default strikethrough at
       full size rather than the smaller, dimmed figure it is designed as;
     - `.offerline`, `.offerbar` and `.offerchip` -- so the wedding season
       bar had no ground, no colour and no centring, and rendered as a line
       of black text on the page's own white. Pulkit, on a screenshot of
       exactly that: *"This banner looks so bad."* It was not designed badly;
       it was not being drawn at all;
     - the `.pricing` and `#why` override blocks at the end of the file, each
       of which exists to hold a band inside one screen. `#why` measuring
       917px against the 900px standard was this, not the table.

   So four separate pieces of 17 Nov feedback were one missing brace. Worth
   saying plainly, because the lesson is not "be careful with merges": it is
   that **nothing in this project reads the rendered stylesheet**, so a sheet
   can lose a third of itself and every suite stays green. `check:seo` renders
   HTML and never looks at CSS. If that gap is worth closing, the cheap
   version is a parse check in CI -- count the rules the sheet yields and
   fail if the number drops.
   ---------------------------------------------------------------------------

   Two surfaces, one block. `/help/...` is a public document with the
   marketing navigation above it; `/app/help/panel/...` is the same document
   inside an iframe in the dashboard, where `body.hlp-panel` removes the page
   ground and the outer margins because the dashboard is already providing
   them. Everything else -- the measure, the type, the screenshots, the
   control lists -- is shared, which is the point of rendering one document
   twice rather than writing two.

   MEASURED AT 375 FIRST, NOT LAST. `docs/17-editor-on-a-phone.md` is the
   reason: the dashboard's phone failure was a live complaint on 16 Nov 2026
   and the measurement that found it was `.main.scrollWidth - clientHeight`,
   not the document's. So the rules below start from one column and add the
   two-column shelf grid at 760px, rather than starting from a laptop and
   hoping a media query rescues it. Nothing here is wider than its container
   at any width: the screenshot wrapper, the table and the control list are
   the three things that could overflow and each is handled where it is
   defined.
   --------------------------------------------------------------------------- */

.hlp {
  max-width: 47rem;             /* the measure `.art` uses. One reading width. */
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px) 20px clamp(48px, 7vw, 88px);
  color: var(--text);
}

/* Inside the dashboard the iframe is the viewport, so the document owns the
   scroll and the ground. `height: 100%` on html/body would stop the document
   scrolling inside the frame, which is why only the background is set. */
body.hlp-panel { background: var(--bg-raised); }
body.hlp-panel .hlp { padding-top: clamp(20px, 4vw, 32px); }

/* The iframe itself, in the dashboard's `.main`.

   `.main` carries 44px/48px of padding for every other dashboard page and
   must not here: the help document has its own measure and its own head, and
   padding around an embedded document is a frame inside a frame. Keyed on
   `:has()` rather than on a modifier class so `views/layout.ts` needs no new
   argument -- the one rule knows which page it is by what is inside it. */
.main:has(> .hlpframe) { padding: 0; overflow: hidden; }
.hlpframe {
  display: block; width: 100%; height: 100%;
  border: 0; background: var(--bg-raised);
}

/* ---- the head, and the search box ---- */

.hlp__head { margin-bottom: clamp(24px, 4vw, 40px); }
.hlp h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12; letter-spacing: -0.015em;
  font-weight: var(--font-weight-semibold);
  margin: 0 0 12px;
}
.hlp__lede {
  font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5;
  color: var(--text-muted); margin: 0 0 20px; max-width: 42rem;
}

.hlpq { position: relative; display: flex; gap: 8px; align-items: stretch; }
.hlpq input {
  flex: 1 1 auto; min-width: 0;
  /* 16px is not a style choice. Below it iOS Safari zooms the page on focus,
     which on a 375px screen leaves somebody searching a document they then
     have to pinch back out of. `[MOBILE-1]` raised 63 editor fields for this
     and the rule is the same here. */
  font-size: 16px; font-family: var(--font-body);
  padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-raised); color: var(--text);
  -webkit-appearance: none; appearance: none;
}
.hlpq input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.hlpq__go {
  flex: 0 0 auto; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--brand); border-radius: 10px;
  background: var(--brand); color: #fff; font-size: 15px; cursor: pointer;
  font-family: var(--font-body);
}
/* The button is the no-JavaScript affordance and is redundant once the script
   has run, but it is not removed: a visible submit is what tells somebody the
   box is a search box, and 44px of it is a thumb target. */
.hlpq__ns { font-size: 14px; color: var(--text-subtle); margin: 8px 0 0; }

/* ---- results ---- */

.hlpr {
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0;
  max-height: min(60vh, 460px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 12px; box-shadow: 0 14px 40px rgba(12, 59, 54, .14);
}
.hlpr__hit {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  /* 14px of vertical padding on two lines of text clears 44px without
     needing a min-height that would stretch a one-line result. */
  padding: 14px 16px; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border);
}
.hlpr__hit:last-child { border-bottom: 0; }
.hlpr__hit.is-on, .hlpr__hit:hover { background: var(--brand-tint); }
.hlpr__hit:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.hlpr__t { font-size: 16px; font-weight: var(--font-weight-semibold); }
.hlpr__c {
  font-size: 12px; color: var(--text-subtle); white-space: nowrap;
  align-self: center;
}
.hlpr__l {
  grid-column: 1 / -1; font-size: 14px; color: var(--text-muted);
  line-height: 1.45;
}
.hlpr mark {
  background: var(--toran-gold-pale); color: var(--text);
  border-radius: 2px; padding: 0 1px;
}
.hlpr__none { margin: 0; padding: 16px; font-size: 15px; color: var(--text-muted); }

/* ---- the shelves ---- */

.hlp__shelves { display: grid; gap: clamp(26px, 4vw, 38px); }
@media (min-width: 760px) {
  .hlp__shelves { grid-template-columns: 1fr 1fr; gap: 38px 40px; }
}
.hlp__shelf h2 {
  font-family: var(--font-display); font-size: 22px; margin: 0 0 6px;
  font-weight: var(--font-weight-semibold);
}
.hlp__shelf h2 a { color: var(--text); text-decoration: none; }
.hlp__shelf h2 a:hover { color: var(--brand); }
.hlp__blurb { font-size: 15px; color: var(--text-muted); margin: 0 0 12px; line-height: 1.5; }

.hlp__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hlp__list li { display: grid; gap: 2px; }
.hlp__list a {
  font-size: 16px; color: var(--brand); text-decoration: none;
  font-weight: var(--font-weight-medium);
  /* An inline link in a list is a tap target rather than part of a sentence,
     so it gets the padding WCAG 2.5.8 wants. The exemption the editor's
     inline links rely on does not apply to a list of links. */
  padding: 3px 0; min-height: 26px;
}
.hlp__list a:hover { text-decoration: underline; }
.hlp__sum { font-size: 14px; color: var(--text-subtle); line-height: 1.45; }
.hlp__list--big { gap: 18px; }
.hlp__list--big a { font-size: 19px; }
.hlp__list--big .hlp__sum { font-size: 15px; color: var(--text-muted); }

/* ---- the breadcrumb ---- */

.hlpbc {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-subtle); margin: 0 0 18px;
}
.hlpbc a { color: var(--text-muted); text-decoration: none; }
.hlpbc a:hover { color: var(--brand); text-decoration: underline; }
.hlpbc i { opacity: .55; font-style: normal; }

/* ---- the article body ---- */

.hlp__art { font-size: var(--text-base); line-height: 1.62; }
.hlp__art p, .hlp__art li { max-width: 40rem; }
.hlp__art p { margin: 0 0 1.1em; }
.hlp__art h2 {
  font-family: var(--font-display); font-size: 25px; line-height: 1.22;
  font-weight: var(--font-weight-semibold);
  margin: 1.9em 0 .5em; scroll-margin-top: 16px;
}
.hlp__art ul, .hlp__art ol { margin: 0 0 1.3em; padding-left: 1.2em; }
.hlp__art li { margin-bottom: .5em; }
.hlp__art strong { font-weight: var(--font-weight-semibold); color: var(--text); }
.hlp__art a:not(.btn) { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* A numbered procedure. Counter rather than list-style, so the number can be
   set in the display face and sit in its own column -- a step whose text wraps
   should wrap under its text and not under its number. */
.hlp__steps { list-style: none; padding: 0; counter-reset: hstep; }
.hlp__steps li {
  counter-increment: hstep; position: relative;
  padding-left: 42px; margin-bottom: .9em;
}
.hlp__steps li::before {
  content: counter(hstep);
  position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand-tint); color: var(--brand-deep);
  font-family: var(--font-display); font-size: 15px;
  font-weight: var(--font-weight-semibold);
  display: grid; place-items: center;
}

/* "Where: Guest list → Import CSV". The most useful line in most of these
   articles, so it is set as a thing rather than as a paragraph. */
.hlp__where {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 15px; background: var(--brand-tint); color: var(--brand-deep);
  border-radius: 10px; padding: 11px 14px; margin: 0 0 1.4em;
  max-width: 40rem;
}
.hlp__wl {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  opacity: .7; margin-right: 2px;
}
.hlp__where i { opacity: .5; font-style: normal; }

/* The control list. A definition list, because that is what it is: the name
   painted on the control, and what pressing it does. One column on a phone,
   two from 560px -- a 44-character term beside a 60-character description in
   a 335px column is two words a line. */
.hlp__uis {
  margin: 0 0 1.5em; display: grid; gap: 0;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--bg-raised);
}
.hlp__ui {
  display: grid; gap: 2px; padding: 13px 15px;
  border-bottom: 1px solid var(--border);
}
.hlp__ui:last-child { border-bottom: 0; }
.hlp__ui dt {
  font-family: var(--font-body); font-size: 15px;
  font-weight: var(--font-weight-semibold); color: var(--text);
  /* A control's name is a literal string. Wrapping mid-word would make
     "+ Minutes" read as two controls. */
  overflow-wrap: break-word;
}
.hlp__ui dd {
  margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-muted);
  max-width: none;
}
@media (min-width: 560px) {
  .hlp__ui { grid-template-columns: 11.5rem 1fr; gap: 4px 18px; }
}

.hlp__note {
  margin: 0 0 1.5em; padding: 15px 17px; max-width: 40rem;
  border-left: 3px solid var(--warning); border-radius: 0 10px 10px 0;
  background: var(--warning-tint);
}
.hlp__note strong {
  display: block; font-size: 14px; margin-bottom: 5px;
  color: var(--warning-text);
}
.hlp__note p { margin: 0 0 .7em; font-size: 15px; line-height: 1.55; }
.hlp__note p:last-child { margin-bottom: 0; }

/* ---- screenshots ---- */

.hlp__shot { margin: 0 0 1.7em; }
/* The wrapper is what the annotation boxes are positioned against, so it has
   to be exactly the size of the painted image -- hence the inline-block and
   the `line-height: 0`, which removes the descender gap that would otherwise
   put every box 4px too high. */
.hlp__shotw {
  position: relative; display: inline-block; line-height: 0;
  max-width: 100%; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-raised);
}
.hlp__shot img {
  display: block; max-width: 100%; height: auto;
}
/* An outlined box over the picture, placed in percentages of it, so it stays
   correct at every width and needs no second export. `data/help-shots.ts`
   explains why the annotation is here rather than burnt into the pixels. */
.hlp__mark {
  position: absolute; box-sizing: border-box;
  border: 2px solid var(--toran-ruby); border-radius: 5px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .65);
  pointer-events: none;
}
.hlp__mark span {
  position: absolute; left: 50%; bottom: calc(100% + 5px);
  transform: translateX(-50%);
  background: var(--toran-ruby); color: #fff;
  font-size: 12px; line-height: 1.5; white-space: nowrap;
  padding: 2px 7px; border-radius: 5px;
}
.hlp__shot figcaption {
  font-size: 14px; color: var(--text-subtle); line-height: 1.5;
  margin-top: 8px; max-width: 40rem;
}

/* ---- tables ---- */

/* The one element here that genuinely cannot be made narrow enough. A
   five-column role matrix at 335px is a scroller, and a scroller that says so
   is better than a table that overflows the document. */
.hlp__tw { margin: 0 0 1.6em; overflow-x: auto; overscroll-behavior-x: contain; }
.hlp__tw table { border-collapse: collapse; width: 100%; min-width: 26rem; font-size: 15px; }
.hlp__tw th, .hlp__tw td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border);
  vertical-align: top; line-height: 1.45;
}
.hlp__tw th {
  font-size: 12px; letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-subtle); font-weight: var(--font-weight-semibold);
  border-bottom-color: var(--text-subtle);
}
.hlp__cap { font-size: 14px; color: var(--text-subtle); margin: 8px 0 0; }

/* ---- the foot of an article ---- */

.hlp__foot {
  margin: 2.4em 0 0; padding-top: 16px; border-top: 1px solid var(--border);
}
.hlp__when, .hlp__md { font-size: 14px; color: var(--text-subtle); margin: 0 0 6px; }
.hlp__next { margin: 2.2em 0 0; }
.hlp__next h2 {
  font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-subtle); font-family: var(--font-body);
  margin: 0 0 12px;
}
.hlp__tail {
  margin: clamp(30px, 5vw, 48px) 0 0; font-size: 15px; color: var(--text-muted);
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.hlp__tail i { opacity: .5; font-style: normal; }

@media (prefers-reduced-motion: no-preference) {
  .hlpr__hit, .hlp__shelf h2 a { transition: background-color .12s, color .12s; }
}

/* ===========================================================================
   The ad landing page — `.lp`, on top of `.art`
   ===========================================================================

   `/guides/wedding-invitation-website` (src/views/landing.ts). It borrows the
   whole article type scale and adds four things an article has no use for: a
   repeated call to action, product screenshots, a question-and-answer block,
   and a hero that puts a button on the first screen of a phone.

   Everything here is additive and `.lp`-scoped, so none of it can reach the
   nineteen guides. No JavaScript, as everywhere in `.art`. */

/* ---- the call to action ------------------------------------------------ */

/* Three of these down the page, the same button each time. A reader who
   decides at the fourth screen should not have to scroll back to the top, and
   a reader who decides at the first should not meet a second, different
   offer further down — which is why `label` is the only thing that varies
   and there is exactly one destination in views/landing.ts. */
.lp__cta {
  margin: clamp(30px, 5vw, 44px) 0;
  padding: clamp(22px, 3.4vw, 30px) clamp(20px, 3vw, 28px);
  background: var(--toran-sand);
  border-radius: var(--radius-md);
  text-align: center;
}
/* In the hero it is not a panel: it sits under the standfirst with air around
   it, because the panel would be the first thing on the page and the page
   should open with the sentence that says what this is. */
.art__head .lp__cta { background: none; padding: clamp(18px, 3vw, 26px) 0 0; margin-bottom: 0; }

.lp__cta .btn { min-width: 16rem; }
.lp__ctan {
  font-size: var(--text-xs); color: var(--text-muted);
  margin: 12px auto 0; max-width: 34rem; line-height: 1.6;
}

/* ---- screenshots ------------------------------------------------------- */

/* The one place this page departs from the guides: these are real screens of
   the running product, as files, not drawings. ADR 0030.

   `width`/`height` are the file's real pixels, so the box is reserved before
   a byte arrives — the same reasoning as `.art__fig`, and it matters more
   here because four of the five are below the fold on a phone and the reader
   is scrolling while they load. */
.lp__shot { margin: clamp(26px, 4vw, 38px) 0; }
.lp__shot img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-sm);
  background: var(--toran-sand);
}
/* A phone screenshot at the full 47rem measure is 1,300px tall and the reader
   loses the page. Narrowed, it is about the height of a paragraph block,
   which is the weight an illustration should have beside prose. */
.lp__shot--phone { max-width: 20rem; margin-inline: auto; }
.lp__shot--phone img { border: 1px solid var(--border); }

.lp__shot figcaption {
  font-size: var(--text-xs); color: var(--text-subtle);
  margin: 10px 0 0; line-height: 1.55;
}
/* The kicker is the honesty, so it is not optional and not small print: every
   one of these is a real screen filled with a wedding that does not exist,
   and a screenshot reads as evidence in a way a drawing does not. */
.lp__shotk {
  display: block;
  font-size: var(--text-label); letter-spacing: var(--tracking-label);
  text-transform: uppercase; color: var(--text-muted);
  font-weight: var(--font-weight-semibold);
  margin-bottom: 5px;
}

/* ---- the questions ----------------------------------------------------- */

/* The conversation this category expects and we are not having. Every
   competitor's advertisement ends in a WhatsApp chat; ours ends in a
   checkout, so the things that chat would have answered are answered here.

   A heading and a paragraph, not a `<details>`: a disclosure widget hides
   the answers from a crawler that does not run scripts, and from a reader in
   a hurry, which is every reader this page gets. */
.lp__qa { margin: 0 0 clamp(20px, 3vw, 26px); }
.art__body .lp__qa h3 { margin: 0 0 6px; }
.art__body .lp__qa p { margin: 0; }
/* ---- the wedding season offer: a struck list price beside a live one ----
   ADR 0035. The list price is ₹2,999 and ₹1,000 comes off it until the end
   of February, so two figures appear together in three places: the pricing
   band's heading, the plan panel's price, and the checkout card.

   `.was` is an `<s>` with its own line-through turned OFF -- see
   `text-decoration: none` above -- because the default sits at the vertical
   middle of a 52px display numeral and cuts the glyphs rather than crossing
   them. The tag stays for what it means to a screen reader; the line is
   drawn here. A 2px rule at 56% with the colour
   dimmed reads as "not this one any more" at every size here.

   It is smaller than the live figure on purpose. A struck price set as large
   as the real one is the pattern a reader has learnt to distrust, and this
   one is a real price that was really charged until today -- there is no
   reason to shout it. */
.was {
  position: relative; white-space: nowrap;
  color: var(--muted); opacity: .85;
  font-size: .72em; font-weight: 500; letter-spacing: 0;
  margin-right: .28em;
  /* **There were two lines.** `struck()` emits `<s class="was">`, so the
     browser draws its own `line-through` and the rule below draws another a
     little under it. Pulkit, 17 Nov 2026: *"still 2 strike offs"* — and he
     was looking at it more carefully than three rounds of my own tuning did.

     It had been wrong since the class was written. While the figure was
     small and dimmed the two lines overlapped into one thick smudge, which
     is most of why it read as unclear rather than as struck through; making
     it full size and full white is what pulled them apart far enough to be
     counted. A comment on the rule below says `.was` "is a span and not
     `<s>` doing its own thing", which stopped being true at some point and
     nothing caught it.

     One line now, and it is ours: the rule below, which sits where a rule
     should sit on a large display numeral instead of cutting the glyphs
     through the middle. */
  text-decoration: none;
}
/* Measured, 17 Nov 2026. Pulkit: *"the strike off is not visible, so no one
   knows how much discount they are getting."*

   He is right, and the cause was size rather than colour. On the offer bar
   the live figure is 13px, so `.62em` set the struck one at **8.1px** — below
   anything a person reads in passing, and the anchor is the whole mechanism
   by which a discount registers. An invisible ₹2,999 means the page is
   quietly claiming ₹1,999 is just the price.

   The floor is what fixes it. `.72em` of 13px is 9.4px, still too small, so
   the bar overrides to an absolute minimum below. Opacity went .75 to .85:
   on the bar that is 4.95:1 against the teal at the old value and 7.5:1 now,
   against a live figure at 12.4:1. The hierarchy the original comment argues
   for is intact — the struck price is still smaller and dimmer, which is the
   point — it is simply no longer beneath the threshold of being seen. */
.was::after {
  content: ''; position: absolute; left: -.04em; right: -.04em; top: 56%;
  height: max(1px, .075em); background: currentColor; border-radius: 2px;
}
/* The offer's own line: what comes off, what it is called, when it ends.
   Never a countdown and never a colour that shouts -- the discount is real
   and dated, so it does not need to look like it is about to be snatched
   away. */
.offerline {
  display: inline-flex; flex-wrap: wrap; align-items: baseline;
  justify-content: center; gap: 6px;
  font-size: 14px; color: var(--muted);
}
.offerline b { color: var(--brand); font-weight: 600; }

/* ---- the wedding season bar, above the sticky header ----
   ADR 0035. Marketing host only: it is drawn by `marketingNav`, which no
   dashboard or tenant surface calls.

   **It is not sticky and sits above the one that is.** The header is
   `position: sticky; top: 0`, and making the bar sticky too would cost 34px
   of every screen for the whole scroll; parking it above means it is read
   once on arrival and then gone, with the header's own chip carrying the two
   figures from there on.

   One line at every width, including 375. `white-space: nowrap` with the
   separators hidden below 420px rather than letting it wrap: two lines here
   is 68px off the top of a page built to put one section on one screen. */
.offerbar {
  display: flex; align-items: baseline; justify-content: center;
  gap: 7px; min-height: 34px; padding: 7px 14px;
  background: var(--toran-teal-deep); color: var(--toran-sand);
  font-size: 13px; line-height: 1.35; text-align: center;
  flex-wrap: wrap;
}
.offerbar b { color: #fff; font-weight: 600; }
.offerbar__amt { color: #fff; font-weight: 600; }
.offerbar__sep { opacity: .5; }
/* On the bar the struck figure sits on a dark ground, where `--muted` is
   unreadable. Everything else about `.was` carries over. */
/* Pulkit, 17 Nov 2026, after three passes of making this smaller-and-dimmer
   than the live figure and three replies that it still could not be read:
   *"make it simple, one strike off white price and this 1999 price"*.

   So the hierarchy goes. Both figures are the same size, the same weight and
   the same white, and the only difference between them is the line through
   one of them. That is the pattern every shop uses, and it is the pattern
   because it needs no explaining: two prices, one cancelled.

   The argument the earlier comments made — that a struck price set as large
   as the live one is the pattern a reader has learnt to distrust — is a real
   argument and it loses to a plainer fact. A discount nobody can see is not
   a discount being distrusted, it is a discount not being communicated at
   all. His call, and the right one. */
.offerbar .was, .offerbar .was::after { color: #fff; }
.offerbar .was { opacity: 1; font-size: 1em; font-weight: 600; margin-right: .4em; }
.offerbar .was::after { height: 2px; opacity: 1; top: 52%; }
/* Nothing is dropped on a phone. Pulkit, 16 Nov 2026, overruling an earlier
   version of this file that hid the end date below 460px to save a line:
   *"do not shrink or compromise the banner to protect the sections ... adjust
   the sections to fit around it"*. So the bar keeps the discount, both
   figures and the date at 375, wraps to two lines there, and the sections
   below give back the height -- see `.band` and `#why` further down. A
   discount whose end date is only legible on a desktop is a discount a phone
   buyer has to take on trust, and a phone is what they are on. */
@media (max-width: 460px) {
  .offerbar { font-size: 13px; gap: 6px; padding: 8px 12px; }
  /* The separators go, not the words: with two lines the bar reads as two
     phrases and the middots are then punctuation between nothing. */
  .offerbar__sep { display: none; }
  .offerbar__amt { flex: 0 0 auto; }
  /* "ends 28 Feb 2027" stays with the figures rather than orphaning onto a
     third line. */
  .offerbar > span:first-child { flex: 1 0 100%; }
  /* Three deliberate lines rather than two and a ragged remainder.
     17 Nov 2026 added "applied automatically at checkout" as a fifth item,
     and left to wrap it pushed the end date around unpredictably between
     375 and 460. A phone reads this as three short phrases -- what comes
     off, what you pay and until when, how you get it -- and each is a whole
     thought on its own line. Dropping a word to save the line was not
     available: Pulkit's rule for this bar is that the sections give way to
     it, not the other way round. */
  .offerbar__auto { flex: 1 0 100%; opacity: .88; }
}

/* A struck price inside a button. Smaller and dimmed against the button's
   own colour rather than `--muted`, which on a teal button is invisible. */
/* The button is the worse case of the two: it is the last thing read before
   a click, so a saving that does not register here is a saving that never
   registered at all.

   **Third pass, and the first two were solving the wrong problem.** It went
   `.78em`/`.6`, then `.86em`/`.8`, and Pulkit still said *"this struck off
   price is not visible"*. So I measured it instead of nudging it again: at
   opacity .8 the struck figure is #D0DDDC on the teal, **6.23:1**, against
   the live figure's 8.70:1. That is not a contrast failure — it passes AA
   comfortably — which means dimming was never what made it hard to read.

   What makes it hard to read is a hairline drawn through small dimmed text.
   The strike is the only thing carrying the meaning, and at 13.8px a 1px
   rule at 80% is a smudge rather than a line. So the dimming goes entirely:
   the struck price is now the same white as the live one and is told apart
   by **size and by a rule heavy enough to be a rule**, 2px minimum, which is
   the distinction a reader actually uses.

   The old comment here argued a struck price should be quieter than the live
   one so it is not the pattern readers distrust. It still is quieter — it is
   smaller, and it has a line through it. It is no longer also faint. */
.btn .was {
  color: currentColor; opacity: 1;
  font-size: 1em; font-weight: 600; margin-right: .4em;
}
.btn .was::after { height: 2px; opacity: 1; top: 52%; }

/* ---- the pricing band pays for the offer's two extra lines ----
   ADR 0035. The band grew by a struck list price in the heading and the
   offer's own line under the plan price. Measured at 1280x800 it went from
   798px to 859px, which is over the viewport. (It briefly also carried two
   larger headline items for the film and the card; those are plain list
   entries now, because #158's `#included` band demonstrates both and two
   headings for one fact inside a scroll is a page repeating itself.)

   Pulkit, 16 Nov 2026, on the banner and by extension on this: *"do not
   shrink or compromise the banner to protect the sections ... adjust the
   sections to fit around it"*. So nothing about the offer goes; the air goes,
   the same trade the 16 Nov pass made on the nine bands above. Re-measured at
   795px, which is inside the screen and 3px under where the band stood before
   the offer was added to it.

   These override the earlier `.pricing` rule further up this file rather than
   editing it, because that one is part of the measured set with its own note
   and this is a second, later reason for a smaller number. */
.pricing { padding: 20px 0; }
.pricing__h { margin: 4px 0 5px; }
.pricing__lede { margin: 0 auto 10px; }
.pricing .plan { padding: 14px 22px; gap: 9px; }
.pricing .plan ul.plan__two { gap: 4px; }
/* 44px to 40px. The price is still the largest thing in the panel and the
   struck figure beside it is still legible at .62em; what it stops being is
   the reason the band runs off the screen. */
.pricing .plan .price { font-size: 40px; }


/* ---- the comparison table pays for its two new rows ----
   ADR 0035. `#why` gained "A 20-second video invitation to send on WhatsApp"
   and "An A5 card to print, with a QR to the live page", which is 86px at
   1280x800 on a band that was already 831px — over the screen before this
   change and not by anything in it.

   The rows are not negotiable: a table headed "what you are actually
   choosing between" that omitted the film and the printed card was the
   omission Pulkit caught. So the air pays, as it did for the nine bands in
   the 16 Nov pass. Row padding 9px to 4px and the band's own padding down,
   measured back to 825px — six pixels under where it stood before the rows
   were added.

   **Re-tuned after #158 (17 Nov).** That PR grew the page and the standard
   it is measured against is 1280x900, not x800 -- which is the screen the
   session that rebuilt these bands states in its own note. At 900 the only
   band over the fold was this one, at 917px, and my two rows are 86px of
   that. Row padding to 3px and the band's own padding down brings it to
   797px: inside the screen, and below where it stood before the rows were
   added. Every other band fits at 900. */
#why { padding: 14px 0 12px; }
#why .cmp th, #why .cmp td { padding-top: 3px; padding-bottom: 3px; }
#why .wrap > div:first-child { margin-bottom: 14px; }


/* ===========================================================================
   THE OFFER BAR BECOMES STICKY, AND CENTRED  (17 Nov 2026)

   Pulkit, on a screenshot of it: *"This banner looks so bad. It should
   always stay in the site when we are scrolling. See how other websites'
   pricing and offer banners look."*

   ## This reverses a decision, so here is the decision it reverses

   The block further up this file that defines `.offerbar` argues, in so many
   words, that it is deliberately **not** sticky: a 34px bar held at the top
   for the whole scroll costs 34px of every screen on a page built to put one
   section on one screen, and the header's own `.offerchip` carried the two
   figures from the first screen onwards.

   That reasoning was sound and it is overruled, by the person whose call it
   is. It is also no longer the only consideration: the chip that made the
   argument work is the thing he is calling bad. So the bar stays, the chip
   goes (see the note where it was, in `views/layout.ts`), and the two
   figures appear once in the chrome instead of twice.

   The original block is left exactly as it stands, including its note. These
   rules override it from below rather than editing it, which is the
   convention the `.pricing` and `#why` blocks above already follow: the
   earlier rule records why the number was what it was, and this one records
   why it changed.

   ## How it stacks, without covering the header

   Two sticky siblings, not one. The bar is pinned at `top: 0` and the header
   is pushed down to `top: var(--offerbar-h)`, so they sit in a column and
   neither can ever draw over the other. The old arrangement had the bar
   unpinned above a header pinned at 0, which is why there was no stacking
   problem to solve before.

   `--offerbar-h` is declared on `:root` as `0px` and set to a real height
   only by `html:has(.offerbar)`. That matters on 1 March 2027: when the
   offer lapses `offerBar()` returns nothing, the bar is not in the document,
   and the header has to go back to `top: 0` and the anchors back to their
   old offset without anybody remembering to come and change a number here.

   The two heights are the bar's two real states and are measured, not
   guessed: one line above 460px, two lines at or below it, because Pulkit
   refused to let the bar drop its end date on a phone (*"do not shrink or
   compromise the banner to protect the sections"*) and a bar that wraps is
   the consequence he accepted.

   ## Styled, rather than merely held still

   What made it read as a strip of debug text: the ground was flat deep teal
   with no edge, the type was all one weight and one colour at 13px, and the
   whole thing was the same material as the page behind it. Now it has a
   gold hairline along the bottom, a soft shadow so it reads as chrome
   floating over the page rather than part of the first band, the discount
   set in the gold the brand uses for money, and the live price given the
   weight of a price. The content is unchanged: the same discount, the same
   two figures, the same stated end date, and still no countdown and no
   "only N left" -- see the original block for why.
   =========================================================================== */
/* ## `--offerbar-h` is a MEASURED number, and it must be re-measured
   whenever the bar's words change.

   CSS cannot read an element's height, and two things need this one as a
   length: the header's sticky `top`, so the two stack instead of overlapping,
   and every anchor's `scroll-margin-top`, so a jumped-to heading does not
   park underneath both. So the bar's height is stated here per breakpoint.

   Set too low and the header draws over the bottom of a wrapped bar. That is
   not hypothetical: adding "applied automatically at checkout" on
   17 Nov 2026 made the bar wrap at 659px rather than at 460px, and until
   these numbers moved, every width from 650 down to 461 had the header
   sitting on top of 21px of it.

   Measured by resizing the viewport and reading the rendered bar back, not
   by reasoning about it and not by cloning it into a box: a clone measured
   at the wrong viewport misses the bar's own `@media (max-width: 460px)`
   rules and reported 55px for a bar that was really 78px.

   One line at 660 and up (34px), two lines from 461 to 659 (56px), three
   from about 340 to 460 (78px), four below that (102px). `min-height` on the
   bar means over-reserving only adds air, while under-reserving puts the
   header on top of the bar, so the two lower values round up rather than
   down.

   `0px` on `:root` and the real number only under `html:has(.offerbar)`, so
   the day the offer lapses and `offerBar()` returns nothing, the header's
   `top` and every `scroll-margin-top` correct themselves with no second
   edit. */
:root { --offerbar-h: 0px; }
html:has(.offerbar) { --offerbar-h: 34px; }
@media (max-width: 659px) {
  html:has(.offerbar) { --offerbar-h: 56px; }
}
@media (max-width: 460px) {
  html:has(.offerbar) { --offerbar-h: 78px; }
}
@media (max-width: 339px) {
  html:has(.offerbar) { --offerbar-h: 102px; }
}

.offerbar {
  position: sticky; top: 0; z-index: 55;
  min-height: var(--offerbar-h);
  /* Centred horizontally, which it already was, and now centred vertically
     too: `align-items: baseline` on a wrapped two-line bar put the first
     line's baseline against the top edge. */
  align-items: center;
  gap: 4px 9px; padding: 6px 16px;
  background: var(--toran-teal-deep);
  border-bottom: 1px solid rgba(201, 162, 39, .42);
  box-shadow: 0 1px 10px rgba(12, 59, 54, .18);
  font-size: 13.5px;
}
/* The discount in the money colour, and a touch larger than the rest of the
   line, because it is the only part of the bar that is an offer rather than
   a fact about an offer. */
.offerbar b { color: var(--toran-gold); font-weight: 600; font-size: 14.5px; }
.offerbar__amt { font-weight: 600; font-size: 14.5px; }
.offerbar__ends { opacity: .78; }

/* The header moves down by exactly the bar's height, so the two are a column
   and the bar can never draw over the links. Written with the adjacent
   sibling selector as well as the variable: `.offerbar + .nav` only matches
   when the bar is actually in the document, so the header's own `top: 0`
   further up this file stays correct on its own the day the offer ends. */
.offerbar + .nav { top: var(--offerbar-h); }

/* Anchor landings. The sticky chrome is now the bar plus the header, so a
   link to `/#pricing` or `/#video-invite` that scrolled a heading to `top: 0`
   would park it underneath both. 72px is the header's own height at every
   width it has; the bar's is added by the variable, and is `0px` when there
   is no bar. */
.band[id] { scroll-margin-top: calc(var(--offerbar-h) + 72px); }
.occ { scroll-margin-top: calc(var(--offerbar-h) + 78px); }

/* The rebuilt "free film, free card" band gives back the height its two
   FREE badges cost it. Measured at 1280x900: 860px with the badges in and
   the default band padding, 832px with these, against a 900px standard and
   against 824px where the band stood before the rebuild. The badges are the
   point of the rebuild and are not negotiable, so the air pays -- the same
   trade every other band on this page has already made. */
/* Superseded by the block at the end of this file: the band no longer has a
   `.bandhead` in it. The padding rule still stands and is restated there. */
#included { padding: 36px 0; }

/* ===========================================================================
   [INCLUDED] The band says what the two free products are worth  (17 Nov 2026)

   Second rebuild in a day. The first made the band readable; it still did not
   persuade, and `views/marketing.ts` carries the long version of why. The
   short version is that the band's evidence -- what a video invitation costs
   when somebody sells you one -- was `.small` grey copy in a side column, and
   the claim it was supporting was a display heading in another column. A
   scanner read a boast with nothing under it.

   So the evidence is the band. These rules are for a small comparison table
   that a reader takes in without reading: three things, what each costs on
   its own, what each costs here.

   ## Why it is built like `.cmp` and not like something new

   `#why` already has a comparison table on this page and a reader meets it a
   screen later. Two differently-styled tables making the same kind of
   argument would read as two voices, so this one borrows that one's
   vocabulary -- a teal column for us, gold for the figures that matter, the
   label stack on a phone -- at a smaller size, because it is three rows
   rather than nine and it sits above two live demos rather than alone.
   =========================================================================== */
.incl2__head { margin: 0 0 22px; max-width: min(46ch, 100%); }
.incl2__h {
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; margin: 0 0 10px;
  letter-spacing: -0.02em;
  /* Rather than a `<br>`: the hard break this heading had was set for 1280
     and produced a three-line rag at 375, where the first line wraps before
     reaching it. */
  text-wrap: balance;
}
.incl2__lede { margin: 0; color: var(--text-subtle); font-size: 17px; max-width: 58ch; }

.ledger { margin: 0 0 26px; }
.ledg {
  width: 100%; border-collapse: collapse;
  /* `fixed` so the two figure columns keep the same width down the table and
     the eye can run straight down them. With `auto` the ₹ ranges and the
     word "Included" sized their own columns and the two price columns were
     different widths on every row, which is the one thing a comparison must
     not do. */
  table-layout: fixed;
}
.ledg th, .ledg td { padding: 9px 16px; text-align: left; vertical-align: middle; }
.ledg thead th {
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle);
  border-bottom: 1px solid var(--border); padding-bottom: 8px;
}
.ledg thead th span {
  display: block; font-family: var(--font-body); font-size: 11px;
  letter-spacing: 0; text-transform: none; opacity: .7; font-weight: 400;
}
/* The row label takes the width it needs; the two figure columns split what
   is left evenly, which is what makes them comparable at a glance. */
.ledg th:first-child { width: 42%; }
.ledg tbody th {
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.ledg tbody td { border-bottom: 1px solid var(--border); }
.ledg tbody b {
  display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600;
}
.ledg tbody td span {
  display: block; font-size: 12px; color: var(--text-subtle); margin-top: 1px;
}
/* Our column, the same deep teal `.cmp__us` uses, so the two tables on this
   page agree about which column is the answer. */
.ledg .ledg__us { background: var(--toran-teal-deep); color: #fff; }
.ledg thead th.ledg__us { color: var(--toran-gold); border-bottom-color: transparent; }
.ledg thead th.ledg__us span { color: var(--toran-sand); opacity: .9; }
.ledg tbody td.ledg__us { border-bottom-color: rgba(255,255,255,.14); }
.ledg tbody td.ledg__us b { color: var(--toran-gold); }
.ledg tbody td.ledg__us span { color: var(--toran-sand); }
.ledg thead th.ledg__us { border-top-left-radius: 12px; border-top-right-radius: 12px; }
.ledg tbody tr:last-child td.ledg__us { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }

/* The last row is the one carrying the price, so it gets the weight. */
.ledg__tot th, .ledg__tot td { border-bottom: 0 !important; padding-top: 14px; }
.ledg__tot th { font-size: 20px; }
.ledg__price { font-size: 30px !important; letter-spacing: -0.02em; }
/* On deep teal `--muted` is unreadable, exactly as it is on `.offerbar`. */
.ledg__us .was, .ledg__us .was::after { color: var(--toran-sand); }

.ledg__src {
  margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-subtle);
  max-width: 86ch;
}

/* ---- the phone: still a table, and read as one (18 Nov 2026) ----

   This was one card per row from 16 Nov until today, with every cell
   labelled by the column it came from. Pulkit at 412px: *"This section in
   phone is really bad. Make it table only, but make it readable."* He is
   right, and the card version was worse than it looked in isolation: four
   rows became four stacked blocks 1,100px tall, each repeating ELSEWHERE
   and TORAN, and a comparison you cannot see both sides of at once has
   stopped being a comparison.

   **So it stays a grid, and the typography does the work.** Three columns
   at 412 with a 20px gutter leave 372px: the label takes 40% (149px) and
   the two figures 30% each (111px). Everything else here is what makes
   those numbers legible rather than merely present.

   - The header row comes back, because a column with no name is what made
     the per-cell `data-label` necessary in the first place. It is set in
     an 11px uppercase and its two long titles are swapped for one-word
     ones out of `data-short` -- `font-size: 0` on the cell kills the long
     text and its sub-line, and the pseudo-element brings its own size.
   - The row label drops from 18px display to 14.5px with tight leading.
     Three of the four wrap to two lines at 412 and that is correct: a
     label wrapping in its own column is a table; a label forcing a
     horizontal scroll is not.
   - The figures hold at 16px, which is where "₹1,199 – ₹1,999" still fits
     111px on one line (measured). `tabular-nums` so the two columns line
     up digit for digit. The qualifier under them goes to 10.5px.
   - Padding drops 16px -> 7px horizontal, which is the whole reason the
     40/30/30 split fits at all.

   Measured at 412px: 1,102px of cards -> 332px of table, with no sideways
   scroll and no cell clipped. At 375 the figure column is 100px and the
   ranges still hold one line. */
@media (max-width: 700px) {
  .ledg th, .ledg td { padding: 7px 6px; }
  /* 32/34/34, not the desktop 42/29/29. The label is prose and may wrap;
     "₹1,199 – ₹1,999" is a figure and must not, and at 15px it is 108px
     against the 114px a 34% column leaves after its padding. Measured. */
  .ledg th:first-child { width: 32%; }
  .ledg thead th {
    font-size: 11px; letter-spacing: .06em; padding-bottom: 6px;
    vertical-align: bottom;
  }
  /* The long title and its sub-line, replaced by one word. `font-size: 0`
     rather than `display: none` on the children, so the cell keeps its box
     and the swap cannot change the column widths. */
  .ledg thead th[data-short] { font-size: 0; }
  .ledg thead th[data-short]::before {
    content: attr(data-short); display: block; font-size: 11px;
  }
  .ledg thead th[data-short] span { display: none; }
  .ledg tbody th { font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
  .ledg tbody b { font-size: 15px; font-variant-numeric: tabular-nums; }
  .ledg tbody td span { font-size: 10.5px; line-height: 1.3; }
  .ledg__tot th { font-size: 15px; }
  /* "₹2,999 ₹1,999" side by side is 148px against a 114px column, so it
     was clipped by the teal panel's own edge. The list price goes above
     the price being charged rather than beside it; `<s>` is still read in
     order, so the sentence the markup builds is unchanged. */
  .ledg__tot .was {
    display: block; width: max-content; font-size: 12px; margin-bottom: 1px;
    /* `width: max-content` because a block `<s>` draws its line across the
       whole box, and a strike running the width of the column reads as a
       rule rather than as a crossed-out price. */
  }
  .ledg__price { font-size: 20px !important; }
  /* The per-cell labels are the header row's job again. */
  .ledg tbody td::before { content: none; }
  .ledg__src { font-size: 11.5px; }
}
@media (max-width: 380px) {
  .ledg th, .ledg td { padding: 7px 4px; }
  /* 375 leaves the figure columns 106px of content; 14px is 101. */
  .ledg tbody b { font-size: 14px; }
  .ledg tbody th { font-size: 13.5px; }
  .ledg__price { font-size: 19px !important; }
}

/* ---- the argument band's own padding ----
   With the table added, the argument and the two demos in one band came to
   1,212px against the 900px standard, so the demos were split off. They are
   bands 02 and 03 as of 17 Nov 2026 and have their own rules in the [PLAIN]
   block at the end of this file; `#see-them` and the shared `.incl2__h2b`
   heading it carried are gone with it. */
#included { padding: 44px 0 40px; }
/* The head sits beside its own lede rather than above it: two short blocks
   stacked left a column of white down the right of a band whose table below
   is full width, and the mismatch read as an unfinished layout. */
.incl2__head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px 44px; align-items: end; margin: 0 0 22px; max-width: none;
}
.incl2__lede { margin: 0 0 4px; }
@media (max-width: 900px) {
  .incl2__head { grid-template-columns: 1fr; align-items: start; gap: 10px; }
}
/* The enlarged demos measured here on 17 Nov 2026 -- the film was a dark
   rectangle and the PDF a thumbnail too small to read the couple's own names
   on -- moved with them to `.vshow` in the [PLAIN] block at the end of this
   file. The sizes are unchanged; only the selector is. */

/* ===========================================================================
   [PLAIN] 17 Nov 2026: two numbered feature bands, and a Features dropdown
   ===========================================================================

   Pulkit rejected three headings in a row on the home page, and the note that
   matters is why: *"it's very complicated what you are talking about, it's
   very difficult to understand."* Not a request for better sentences, a
   request for plainer ones. Nothing in that is a CSS problem, but two things
   he asked for in the same breath are.

   **The video and the PDF are bands 02 and 03 now**, in the treatment band 01
   already uses -- what it does on the left, the thing itself on the right --
   rather than two tiles sharing one heading. `#see-them` is gone and its
   rules are replaced by these; the sizes it set on the two demos are kept,
   because they were measured and the reason for them has not changed.

   **The Features dropdown** is `occasionMenu()`'s component with a different
   list, so there is nothing new here except a narrower menu: eight feature
   rows in two columns do not need the 580px the eleven occasions do.
   =========================================================================== */

/* ---- 02 and 03: what it does, beside the thing itself ----
   340px rather than a fraction for the media column: the film stage is
   212px wide and the PDF 266px, both capped, so a `1fr 1fr` split would have
   paid for 260px of nothing on the right of a 1180px page -- which is the
   fault the replies band was rebuilt for on 16 Nov. `minmax(0, ...)` on both
   tracks because the prose column holds a `<ul>` that must be allowed to
   shrink rather than push the grid wide. */
.vshow { padding: 40px 0 42px; }
.vshow__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: 56px; align-items: center;
}
.vshow__h {
  font-size: clamp(28px, 3vw, 40px); line-height: 1.12;
  margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: balance;
}
.vshow__show { min-width: 0; }
/* The sizes `#see-them` set, measured when the demos were enlarged on
   17 Nov 2026 so the two products look like products rather than thumbnails.
   The band is narrower than that one was and the caps still fit it. */
.vshow .filmdemo__stage { width: min(100%, 212px); max-height: 376px; }
.vshow .filmdemo__name { font-size: 30px; }
.vshow .filmdemo__sub { font-size: 13.5px; }
.vshow .pdfdemo { width: min(100%, 266px); }
.vshow .pdfdemo__frame { max-height: 376px; }
@media (max-width: 980px) {
  .vshow__grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .vshow .filmdemo__stage { max-height: 340px; }
  .vshow .pdfdemo__frame { max-height: 340px; }
}

/* ---- the Features menu ----
   Narrower than the templates menu, which is 580px for eleven occasions in
   two columns. Eight short feature labels in two columns fit 480px, and a
   menu wider than its contents reads as a mistake under a 56px header. */
.navdrop__menu--feat { width: 480px; }

/* ===========================================================================
   [AUTO] The discount is already applied, and the page now says so
   ===========================================================================

   17 Nov 2026. Pulkit: *"we need to say Rs 1,000 discount, offer code
   WEDDING SEASON, and say like auto applied in checkout."*

   Three surfaces say it: the bar (its own rules above), the hero sub-line,
   and the last call to action at the foot of the home page. `/pricing` says
   it as a clause inside a lede it already had, so it needs nothing here.

   `.offerauto` and not `.offerline`: the latter is the plan card's own
   component -- 14px, centred, inline-flex -- and it is doing a different job
   two bands away. Borrowing it would have meant overriding most of it in
   both places it is borrowed, which is how a component stops meaning
   anything.
   =========================================================================== */
.offerauto {
  margin: 7px 0 0; max-width: 52ch;
  color: var(--text-subtle); line-height: 1.5;
}
/* The amount in the money colour, the same signal the bar and the plan card
   use for the same figure. The code label is not coloured: it is a name, and
   a page with two highlighted things in one short line has highlighted
   neither. */
.offerauto b { color: var(--brand); font-weight: 600; }

/* The closing band, which is centred, so this is too.

   **It is not a dark band, whatever `band--ground` sounds like.** This rule
   set `color: var(--toran-sand)` and `b { color: var(--toran-gold) }` for
   one measurement, on the assumption the name meant a dark ground. It is
   `rgb(244, 247, 246)` -- almost white -- so the line rendered sand on white
   at about 1.05:1 and was, in practice, invisible. The diff looked fine. The
   screenshot did not. The colours are the band's own now, which is to say
   the ones the `.muted` line directly above it already uses. */
.offerauto--mid {
  margin: -8px auto 26px; max-width: 48ch; text-align: center;
}

/* ===========================================================================
   ## The first section on a page is not padded like a middle one (17 Nov 2026)

   Pulkit, with a screenshot of the top of the home page: *"wasted space
   here."* He was pointing at the band between the nav and the eyebrow --
   measured, 96px of nothing before the first word, on the one screen every
   stranger sees.

   **It was not the header being counted twice, and that is worth writing
   down because it was the first guess.** `.offerbar` and `.nav` are both
   `position: sticky`, which keeps them in normal flow, so the first section
   begins exactly where the nav ends: measured at 1280, `nav.bottom` 111 and
   `hero.top` 111. Nothing is double-counted, and there is no shared header
   fault reaching the other pages. The gap was one number: the hero's own
   `padding-top`.

   What *is* shared is the reason that number was wrong. A band's padding
   exists to separate it from the band above it. The first section on a page
   has no band above it, only the nav -- so it inherits a separation it does
   not need, and pays for it in the most expensive pixels on the site.
   Measured at 1280 before this rule, nav bottom to first content:

       /           96px   (`.hero--split` padding: 96px 0 100px)
       /templates  72px   (`.band`)
       /pricing    72px   (`.band`; `.pricehero`'s own 54px had already been
                           silently beaten by `.band { padding: 72px 0 }`,
                           the same trap the block seven hundred lines up
                           documents three times)
       /guides     72px   (`.band`)
       /about      72px   (`.band`; the 204px to its eyebrow is a 112px
                           author portrait, which is content, not air)

   So it is keyed on the nav rather than set per page: every marketing page
   has `body > .offerbar > .nav > section`, and a page added later inherits
   the rule instead of needing someone to remember it.

   Two classes, so (0,2,0) -- it beats `.band { padding: 72px 0 }` and the
   per-page single-class rules wherever they sit in the file. That is
   deliberate: this file's own notes record three separate occasions where a
   tuned number was silently reverted by a later same-specificity `.band`.

   The numbers. 40px on desktop under a 77px nav is still clear air -- the
   failure on the other side, a headline jammed against the nav, is its own
   kind of wrong and he would say so. It buys 56px on the home page and 32px
   on the other four. 28px on the phone, where the chrome above the fold is
   already 148px of bar and nav and every pixel after it is scarcer.

   What this does not fix, measured at 1280x800, which is this project's own
   standard: the hero is 813px tall and runs 124px past the fold, so nothing
   of the next section shows. 56px of that comes off here. The remaining 68px
   is the hero's `padding-bottom: 100px`, which is a band separating itself
   from the band below -- a real one, that does exist. Different fault, left
   alone rather than bundled in.
   =========================================================================== */
.nav + .band, .nav + .hero { padding-top: 40px; }

@media (max-width: 860px) {
  .nav + .band, .nav + .hero { padding-top: 28px; }
}

/* ===========================================================================
   ## Expand: the film and the card, big enough to read (17 Nov 2026)

   Pulkit, on sections 02 and 03: *"right now it's very small to see. Give an
   option to expand, and it should be visible, like a two-way arrow kind of
   thing, and say 'click to expand preview'."*

   **The pill is drawn at full opacity, always.** The complaint it answers is
   the one he made three times in one day -- a control that is technically
   present and practically invisible. A hover-only cue does not exist on a
   phone and is found by accident on a laptop. Hover and focus only lift it.
   =========================================================================== */

/* The clickable surface is the whole preview. For the card it has to be: the
   frame is an iframe and the browser's PDF viewer inside it swallows every
   click, so the only way to make "clicking the PDF" work is a sibling drawn
   over the top of it. */
.vshow__exp {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 0 10px;
  background: none; border: 0; cursor: zoom-in;
  -webkit-appearance: none; appearance: none;
}
.filmdemo__stage, .pdfdemo { position: relative; }

.vshow__exppill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: .01em; line-height: 1;
  color: var(--toran-white);
  background: rgba(12, 43, 39, .82);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .22);
  transition: transform .14s ease, background-color .14s ease;
}
.vshow__exp:hover .vshow__exppill,
.vshow__exp:focus-visible .vshow__exppill {
  transform: translateY(-2px); background: rgba(12, 43, 39, .95);
}
.vshow__exp:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
/* Inside the dialog the preview IS expanded, so the invitation to expand it
   would be a lie. The film's stage travels into the dialog with its overlay
   still attached, hence this rather than removing the node. */
.xpand .vshow__exp { display: none; }

/* ---- the dialog ---- */
/* `showModal()` paints in the top layer, so this sits above the sticky offer
   bar and header without entering the z-index argument at all. */
.xpand {
  width: min(96vw, 1040px); max-width: none;
  max-height: 92vh; padding: 0; border: 0;
  border-radius: 18px; overflow: hidden;
  background: var(--toran-white); color: var(--text);
  box-shadow: 0 30px 90px rgba(6, 28, 25, .42);
}
.xpand::backdrop { background: rgba(8, 26, 24, .66); }

.xpand__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--toran-white);
}
.xpand__t {
  margin: 0; flex: 1 1 auto; min-width: 0;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600;
  color: var(--text-muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.xpand__dl { flex: 0 0 auto; }
/* The phone's second action on the card dialog. See the note at the markup
   in views/marketing.ts: an embedded PDF has no scroll on iOS, and this is
   the route to the viewer that does. Only below 720px. */
.xpand__full { display: none; flex: 0 0 auto; }
.xpand__x {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 24px; line-height: 1;
  color: var(--text-muted);
  background: var(--toran-surface); border: 1px solid var(--line);
  cursor: pointer;
}
.xpand__x:hover { color: var(--text); background: var(--toran-sand); }

.xpand__body {
  display: grid; place-items: center;
  padding: 18px; background: var(--toran-surface);
  max-height: calc(92vh - 60px); overflow: auto;
}

/* The card, fitted to the width rather than to the page. Fitting a whole A5
   page into a window is what made it unreadable at 250px, and it would make
   it unreadable again in a window that is wider than it is tall. */
.xpand__pdf {
  width: 100%; height: min(78vh, 900px);
  border: 0; border-radius: 8px; background: var(--toran-white);
  box-shadow: 0 6px 24px rgba(6, 28, 25, .14);
}

/* The film, as large as the window allows. `.vshow` caps the stage at 212px
   wide for the band; in here the cap is the window. */
.xpand .filmdemo__stage { width: auto; max-height: none; }
.xpand .filmdemo__canvas,
.xpand .filmdemo__poster { max-height: min(74vh, 820px); }
.xpand .filmdemo__stage { height: min(74vh, 820px); }
.xpand .filmdemo__name { font-size: clamp(30px, 5vh, 52px); }
.xpand .filmdemo__sub { font-size: clamp(13px, 2vh, 17px); }

/* `showModal()` does not stop the page behind from scrolling, and a
   background that scrolls under a modal is what makes one feel cheap. */
html.xpand-open { overflow: hidden; }

/* ---- the phone: both dialogs inside the viewport (18 Nov 2026) ----

   Pulkit at 412px, on the film: *"makes you scroll, make it respect the
   viewport"*. On the card: *"is not scrolling at all in the modal"*. Two
   different faults from the same block of rules, and both of them were
   `100vh`.

   ## `100dvh`, not `100vh`

   `100vh` is the LARGE viewport: the height the page would have if the
   browser's address bar were retracted, which on an Android phone it is
   not when a dialog opens. Every height here was measured against a box
   60 to 110px taller than the one the reader is looking at, so the dialog
   was that much taller than the screen and its bottom -- the Stop button on
   the film, the end of the card on the PDF -- was below the fold with no
   way to reach it: `showModal()` is in the top layer and the page behind it
   is locked by `html.xpand-open`.

   `100dvh` is the viewport as it currently is, which is what a thing
   claiming to fill the screen has to be measured against. The `100vh` line
   stays directly above each `dvh` one as the fallback for an engine that
   does not know the unit -- it is no worse than today's behaviour there.

   ## The film was also too WIDE, which is why it scrolled

   `.filmdemo__stage` carries `aspect-ratio: 1080/1920`, and in here it was
   given `width: auto` and an explicit `height`. Aspect ratio then derives
   the width FROM the height: at 915px tall the stage computed 430px wide
   inside a 412px dialog. So the film was clipped on both sides and the
   dialog had a horizontal overflow as well as a vertical one. Measured.

   The fix is to drive it from the width instead -- `width: min(100%, h *
   9/16)`, `height: auto` -- so the ratio produces a height that fits the
   room rather than a width that does not. `--xfilm` is that room: the
   viewport less the bar, the body's padding, and the Play/Stop button and
   its status line, which travel into the dialog with the film and are the
   part he could not reach.

   ## The card's frame is sized, the body scrolls

   The PDF frame was exactly as tall as its own scroll port, so the dialog
   body had nothing to scroll and the only scroll in the modal belonged to
   the browser's embedded PDF viewer. Where that viewer exists -- every
   desktop engine, and Chrome on Android -- it works and now fits the
   screen. **Where it does not, it does not**: Safari on iOS renders the
   first page of a framed PDF as a still and gives it no scroll, which is a
   platform behaviour no CSS here can change. The bar's Download is the
   route to the real viewer on that engine, and it is why it is in the bar
   rather than under the frame. Said plainly rather than left to be
   rediscovered. */
@media (max-width: 720px) {
  .xpand {
    --xbar: 59px;
    width: 100vw; max-width: 100vw; border-radius: 0;
    max-height: 100vh;
    max-height: 100dvh;
  }
  .xpand__body {
    padding: 10px;
    max-height: calc(100vh - var(--xbar));
    max-height: calc(100dvh - var(--xbar));
  }
  .xpand__pdf {
    height: calc(100vh - var(--xbar) - 33px);
    height: calc(100dvh - var(--xbar) - 33px);
  }
  /* The room the film itself may have: the viewport, less the bar, less the
     body's 20px of padding, less the 84px the button and its status line
     under the stage occupy. */
  .xpand .filmdemo {
    --xfilm: calc(100vh - var(--xbar) - 104px);
    --xfilm: calc(100dvh - var(--xbar) - 104px);
  }
  .xpand .filmdemo__stage {
    /* 1080/1920 = 0.5625. Width from height, so the ratio can only make it
       shorter than the room, never wider than the dialog. */
    width: min(100%, calc(var(--xfilm) * 0.5625));
    height: auto; max-height: var(--xfilm);
  }
  .xpand .filmdemo__canvas, .xpand .filmdemo__poster { max-height: none; }
  .xpand__t { font-size: 13px; }
  .xpand__full { display: inline-flex; }
  /* Four things in a 412px bar. The title is already ellipsised and gives
     up what the two actions need. */
  .xpand__bar { gap: 8px; padding-left: 14px; padding-right: 12px; }
  .xpand__full, .xpand__dl { padding-left: 12px; padding-right: 12px; font-size: 13px; }
}

/* ===========================================================================
   ## The occasion rows carry their invitation now (17 Nov 2026)

   Pulkit, picking an occasion from the header menu: *"Even if I click the
   link here, it takes to some random place, it doesn't take to the
   templates."* The dropdown said "Mehndi" and `/templates#mehndi` was a
   heading, a paragraph and a link to an article, with no invitation on it.

   So each row is a card now, which changes what the grid is. It was a list
   of text rows with a rule between them, two up for the wedding and four up
   for the rest; a rule between cards is a second border around things that
   already have one.
   =========================================================================== */
.occs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}
.occs--tight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.occs .occ { padding: 0; border-top: 0; min-width: 0; }
/* `landing.js` sets `--pv-scale` from this box's own width, so the card fits
   whatever column it is given and nothing here names a pixel. */
.occ__shot { margin: 0 0 12px; }
.occ__shot .samplecard__foot { padding: 12px 14px; }
.occ__shot .samplecard__foot strong { font-size: 15px; }
.occ .occ__name { font-size: 17px; margin: 0; }
.occ .occ__hint { margin: 5px 0 0; }
.occ .occ__link { margin: 7px 0 0; }

@media (max-width: 980px) {
  .occs, .occs--tight { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .occs, .occs--tight { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

/* The design shelf sizes itself to however many designs there are. See the
   note at its call site: `grid--3` orphaned the fourth design on a row of
   its own the day Indigo shipped, and a fifth and sixth are coming. */
.grid--designs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}
@media (max-width: 560px) {
  .grid--designs { grid-template-columns: minmax(0, 1fr); }
}

/* ---- a step being replaced, and the button that was pressed ----

   Pulkit, 17 Nov 2026, on step 2 of onboarding: *"I have clicked continue, it
   loads above, but it's difficult to understand if I pushed it or not. Put a
   skeleton loading whenever we change page."*

   Two separate problems in one sentence, and they want different timings.

   The press needs acknowledging at **0ms** -- that is `.is-busy` below, on
   the button itself, where his thumb already is. The navigation bar at the
   top of the viewport was doing its job and he could not see it, because a
   step is a thousand pixels tall and the bar is at the other end of it.

   The gap needs filling at **400ms** -- that is `.skel-step`, shaped like a
   step rather than like a page: the grey bubble every step opens with, its
   fields, and the button row. Anything faster than 400ms felt instant
   anyway, and furniture that flashes reads as a fault. */

.btn.is-busy,
button.is-busy {
  position: relative;
  pointer-events: none;
  /* The label keeps its colour and the spinner sits beside it.
     Fading the label was tried first and is wrong twice over: a greyed
     label reads as *disabled* rather than as *working*, and the spinner
     draws itself from `currentColor`, so fading the text faded the spinner
     with it -- measured at 55% alpha over a dark green button, which is
     close to invisible. Measuring it is the only reason that was caught. */
  padding-right: 2.6em;
}
.btn.is-busy::after,
button.is-busy::after {
  content: "";
  position: absolute;
  top: 50%; right: 1em;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, currentColor 28%, transparent);
  border-top-color: currentColor;
  animation: toran-spin .6s linear infinite;
}
@keyframes toran-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn.is-busy::after,
  button.is-busy::after { animation: none; }
}

.skel-step { display: flex; flex-direction: column; gap: 22px; }
.skel-step__ask { height: 76px; border-radius: 14px; }
.skel-step__field { display: flex; flex-direction: column; gap: 8px; }
.skel-step__label { height: 10px; width: 38%; border-radius: 4px; }
.skel-step__input { height: 46px; border-radius: 10px; }
.skel-step__foot { display: flex; justify-content: flex-end; }
.skel-step__btn { height: 46px; width: 132px; border-radius: 999px; }

/* ---------------------------------------------------------------------------
 * The cropper. ADR 0047, `public/cropper.js`.
 * ---------------------------------------------------------------------------
 *
 * The design Pulkit approved, in Paper, board "A1b · Onboarding — seven
 * steps", step 5. Values read with `get_computed_styles` rather than off the
 * picture, and mapped onto this file's own tokens, which are the same
 * colours under the names the code already uses:
 *
 *     Paper                 here
 *     --color-hairline      --border          #E2E8E6
 *     --color-teal          --brand           #16544F
 *     --color-muted         --text-subtle     #6D7876
 *     --color-ink-soft      --text-muted      #4F5B58
 *     #16201D at 0.42       --toran-ink, the dim
 *
 * It is INLINE, under the chosen photograph, not a sheet that opens. Pulkit:
 * he does not mind where it lives on the page as long as it is under every
 * upload. So the component owns its own layout and a caller mounts it.
 */
/* The three hosts a caller provides. They carry no layout of their own: the
   component owns everything inside it, which is what "every caller just
   mounts it" has to mean if a tenth picker is to be one line. */
.ip__cropper, .sharepic__crop, .sb__cropper { display: block; }
.ip__cropper[hidden] { display: none; }

.cr {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; padding: 12px; margin-top: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-raised);
}

/* The photograph, whole, with the part outside the square dimmed.
 *
 * **`touch-action: none` is on the stage and nowhere else.** The page around
 * it scrolls normally under a thumb; only these pixels refuse to pan the
 * document, which is what lets a drag mean a drag inside a scrolling form. */
.cr__stage {
  position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 326 / 168;
  border-radius: var(--radius-sm);
  background: var(--toran-surface);
  touch-action: none; -webkit-user-select: none; user-select: none;
  cursor: grab;
}
.cr__stage:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cr__stage.is-dragging { cursor: grabbing; }
.cr__img, .cr__cut { position: absolute; display: block; max-width: none; pointer-events: none; }
/* Pulkit's "so they can see exactly what area is being used": the context is
   dimmed, not cropped away. 0.42 of #16201D, from the frame. */
.cr__dim { position: absolute; inset: 0; background: var(--toran-ink); opacity: .42; pointer-events: none; }
.cr__sq {
  position: absolute; overflow: hidden;
  /* An OUTLINE and not a border, which is not a style choice.
     An absolutely-positioned child is placed against the padding box, so a
     2px border shifted the bright slice inside the square 2px out of step
     with the dimmed photograph behind it -- a visible seam at the edge of
     the selection. An outline draws outside the box and takes no layout, so
     the two line up by construction. Found by reading the two rects, not by
     looking at it. */
  outline: 2px solid #fff; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(22, 32, 29, .25);
  /* The stage's own ground, under the bright slice.
     A transparent PNG -- which the header mark explicitly is, the help text
     asks for one -- would otherwise show the DIMMED layer through its own
     transparency, so the inside of the selection came out exactly as dark as
     the outside and the square looked like it was doing nothing. */
  background: var(--toran-surface);
}
/* 12x12, centred on each corner (the frame offsets them by -6px). They are
   `i` elements rather than buttons: they are grab targets inside a surface
   that is already one gesture, and a button here would be a tab stop that
   does nothing on its own. The hit area is larger than the paint. */
.cr__h {
  position: absolute; width: 12px; height: 12px; border-radius: 2px;
  background: #fff; box-shadow: 0 0 0 1px rgba(22, 32, 29, .25);
}
.cr__h::after { content: ''; position: absolute; inset: -10px; }
.cr__h--nw { left: -7px; top: -7px; cursor: nwse-resize; }
.cr__h--ne { right: -7px; top: -7px; cursor: nesw-resize; }
.cr__h--sw { left: -7px; bottom: -7px; cursor: nesw-resize; }
.cr__h--se { right: -7px; bottom: -7px; cursor: nwse-resize; }

/* The zoom row: a minus, the slider, a plus. */
.cr__zoom { display: flex; align-items: center; gap: 10px; width: 100%; }
.cr__step {
  flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 999px; background: none;
  cursor: pointer; font-size: 15px; line-height: 1; color: var(--text);
}
.cr__step:hover { background: var(--toran-surface); }
.cr__range { flex: 1 1 0; min-width: 0; accent-color: var(--brand); }
.cr__range:disabled { opacity: .4; }

.cr__help { margin: 0; font-size: 11px; line-height: 15px; color: var(--text-subtle); }

/* The shape row, and why it is a grid rather than a wrapping flex line.
 *
 * Pulkit, 18 Nov 2026, on step 2's two individual-photograph columns: Square
 * / Wide / Tall / Fit broke onto a second row with *Fit* stranded under
 * them. Those columns are narrow on a LAPTOP -- two of them side by side
 * inside the wizard card -- so no viewport media query could have seen it;
 * the thing that is narrow is the container, not the window.
 *
 * Four equal columns that never wrap is the whole fix. The chips shrink
 * their padding instead of their row, `minmax(0, 1fr)` lets them go under
 * their text's intrinsic width, and the labels are one short word each. The
 * Replace link keeps its place beside them while there is room and takes
 * its own line when there is not -- which is `flex-wrap` on the foot plus a
 * basis on the chips, not a breakpoint. */
.cr__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.cr__chips {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px; flex: 1 1 210px;
}
.cr__chip {
  padding: 6px 4px; border-radius: var(--radius-pill); cursor: pointer;
  border: 1px solid var(--border); background: none; min-width: 0;
  text-align: center; white-space: nowrap;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.cr__chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cr__replace {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 2px;
  font-size: 11px; line-height: 14px; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 2px;
}
@media (max-width: 420px) {
  /* On a phone the foot is two rows, so the two of them align to the left
     edge rather than to each other's centres. The wrapping itself is the
     flex basis above and not this query. */
  .cr__foot { align-items: flex-start; }
}

/* ---- the paint, copied verbatim from `public/tenant.css` ----
 *
 * **This block is a COPY and `npm run check:framing` asserts, character for
 * character, that it matches the one in `tenant.css`.** It is duplicated
 * rather than shared because the published guest page must not carry a
 * second stylesheet request for three declarations, and the dashboard does
 * not load `tenant.css` at all.
 *
 * The original and its reasoning are in `tenant.css` under `.framed`. Do not
 * edit one of the two: edit both, and the check will tell you if you did
 * not. ADR 0017 §2, which is about a formula never being held in two places
 * that can disagree -- here it is held in two places that cannot. */
.framed {
  object-position: var(--cr-x, 50%) var(--cr-y, 50%);
  transform: scale(var(--cr-zoom, 1));
  transform-origin: var(--cr-x, 50%) var(--cr-y, 50%);
}

/* ---- the music trimmer. ADR 0049 ----
 *
 * The cropper's furniture, one axis. A bordered card under the chosen
 * track: the waveform, a play button beside a slider, the section stated
 * as a time, and the same help line underneath. The paint lives here and
 * the maths lives in `public/musictrimmer.js` -- except the two colours
 * the canvas draws with, which have to be values a script can read, so
 * they are custom properties rather than rules.
 *
 * It is INLINE, under the track, not a sheet that opens -- the cropper's
 * arrangement, for the cropper's reason: every surface that picks music
 * mounts it in place and a third one is one host element.
 */
.mt {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%; padding: 12px; margin-top: 10px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-raised);
  /* Read by the canvas. The lit bars are the ink the panel is set in; the
     rest is the same ink at the weight the cropper dims a photograph to. */
  --mt-on: var(--toran-ink, #16201D);
  --mt-off: rgba(22, 32, 29, .22);
}

/* `touch-action: none` is on the stage and nowhere else, so the form
   around it still scrolls under a thumb. Same rule as `.cr__stage`. */
.mt__stage {
  position: relative; overflow: hidden;
  width: 100%; height: 88px;
  border-radius: var(--radius-sm);
  background: var(--toran-surface);
  touch-action: none; -webkit-user-select: none; user-select: none;
  cursor: grab;
}
.mt__stage:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mt__stage.is-dragging { cursor: grabbing; }
.mt__wave { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }

/* The window. An OUTLINE and not a border for `.cr__sq`'s reason: it draws
   outside the box and takes no layout, so it cannot shift what is inside
   it out of step with the bars behind. */
.mt__sel {
  position: absolute; top: 0; bottom: 0;
  outline: 2px solid var(--brand); border-radius: 3px;
  background: color-mix(in srgb, var(--brand) 9%, transparent);
  pointer-events: none;
}
.mt__sel[hidden] { display: none; }
/* A grip, so a band that is only a few millimetres wide still says it can
   be dragged. Centred, and it disappears on a band too narrow to hold it. */
.mt__grip {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 3px; height: 26px; border-radius: 999px;
  background: var(--brand); opacity: .75;
}
.mt__head {
  position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: var(--toran-ink, #16201D); opacity: .75; pointer-events: none;
}

.mt__row { display: flex; align-items: center; gap: 10px; width: 100%; }
.mt__play {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  height: 32px; padding: 0 13px 0 11px;
  border: 1px solid var(--border); border-radius: 999px; background: none;
  cursor: pointer; font-size: 12px; font-weight: 600; color: var(--text);
}
.mt__play:hover { background: var(--toran-surface); }
.mt__play:disabled { opacity: .45; cursor: default; }
/* A triangle, and a pair of bars while it is playing. Drawn in CSS rather
   than fetched: it is two shapes and an SVG request for them is silly. */
.mt__ico {
  width: 0; height: 0; border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.mt.is-playing .mt__ico {
  width: 8px; height: 10px; border: 0;
  background: currentColor;
  -webkit-mask: linear-gradient(#000 0 0) left / 3px 10px no-repeat,
                linear-gradient(#000 0 0) right / 3px 10px no-repeat;
          mask: linear-gradient(#000 0 0) left / 3px 10px no-repeat,
                linear-gradient(#000 0 0) right / 3px 10px no-repeat;
}
.mt__range { flex: 1 1 0; min-width: 0; accent-color: var(--brand); }
.mt__range:disabled { opacity: .4; }

.mt__when { margin: 0; font-size: 12px; font-weight: 600; color: var(--text); }
.mt__when:empty { display: none; }
.mt__help { margin: 0; font-size: 11px; line-height: 15px; color: var(--text-subtle); }

.mt__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mt__reset, .mt__replace {
  flex: 0 0 auto; background: none; border: 0; cursor: pointer; padding: 2px;
  font-size: 11px; line-height: 14px; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 2px;
}
@media (max-width: 420px) {
  /* 375px is the bar: the row is a 32px button, a slider and nothing else,
     which fits, and the stage loses a little height so the card does not
     push the switch below it off the fold. */
  .mt__stage { height: 76px; }
}
/* ---------------------------------------------------------------------- *
 * The accounts list, on a phone (18 Nov 2026)
 * ---------------------------------------------------------------------- *
 *
 * `table.data` is `display: block; overflow-x: auto` below 860px, and that
 * is the floor rather than the answer. Measured at 390px, `/ops/accounts`
 * is 1,230px of table inside a 344px window: the page itself does not
 * scroll, every column is reachable, and the two things an operator most
 * wants -- the state, and what they can do about it -- are nine hundred
 * pixels off the right edge behind a sideways scroll nobody finds.
 *
 * That is the same finding, on the same floor, that `.ppl-table` already
 * answers twenty lines up the file: *"at 375px the four columns put Remove
 * off the right edge behind a sideways scroll nobody finds."* So this is
 * that pattern applied to the other table with actions on it, not a new
 * idea. Below 560px the row stacks: who they are, then the numbers, then
 * the state, then the buttons, each on its own line.
 *
 * **Not applied to /ops/metrics**, deliberately. Those tables are read down
 * a column rather than across a row -- which account is heaviest, which
 * table is biggest -- and twelve stacked lines times fifty rows is a worse
 * answer than a sideways scroll to a question nobody asks of them. They
 * also carry no destructive control, so nothing is hiding off the edge that
 * costs anything to miss.
 *
 * Every selector is qualified with its element, for the reason the
 * `.ppl-table` block states at length: the rules being beaten are
 * `table.data td` and `table.data { overflow-x: auto }`, which carry an
 * element each, and a class on its own loses to them however late it sits.
 */
@media (max-width: 560px) {
  table.acct-table,
  table.acct-table tbody,
  table.acct-table tr,
  table.acct-table td { display: block; }
  table.acct-table { overflow-x: visible; }
  table.acct-table thead { display: none; }
  table.acct-table tr { padding: 14px 16px; border-top: 1px solid var(--border); }
  table.acct-table tbody tr:first-child { border-top: 0; }
  table.acct-table td { border: 0; padding: 0; }
  table.acct-table td:empty { display: none; }
  /* Signed up and Last sign-in sit on one line rather than two, because
     neither is worth a line of a phone on its own. */
  table.acct-table td:nth-child(3),
  table.acct-table td:nth-child(4) { display: inline-block; margin-right: 10px; }
  table.acct-table td:nth-child(2),
  table.acct-table td:nth-child(5),
  table.acct-table td:nth-child(6) { margin-top: 6px; }
  table.acct-table td:nth-child(7) { margin-top: 10px; }
  table.acct-table td:nth-child(8) { margin-top: 12px; }
  /* The buttons were a nowrap row sized for a column; on a phone they get
     the width they need and stop being three slivers. */
  table.acct-table td:nth-child(8) .row { flex-wrap: wrap; gap: 8px; }
  table.acct-table td:nth-child(8) .btn { flex: 1 1 auto; }
}
/* ===========================================================================
   The ad landing page, second pass — the design shelf and the phone bar
   ===========================================================================

   18 Nov 2026. Three additions to `.lp`, all of them `.lp`-scoped and all of
   them appended rather than threaded into the block above, because four other
   sessions are writing this file this evening and an append cannot conflict
   with an edit.

   **Written at 375 first and widened afterwards**, which is the opposite of
   how the rest of this stylesheet was built and is the right way round for
   this one page: it is reached only from a paid click and nearly all of that
   click is a phone on mobile data. Every measurement below was taken at
   375x812 and checked again at 412 and at 1440. */

/* ---- the design shelf -------------------------------------------------- */

/* Six real invitations, rendered by the renderer, swipeable with a thumb.

   A grid was the first version and it was wrong at 375: six cards stacked is
   about 4,200px of page between the reader and the price, and a reader who
   wanted to compare two designs had to scroll between them. A scroll-snap
   row shows one and a sliver of the next — which is the affordance that says
   "there are more of these" without a script to animate anything — and
   comparing two is a thumb flick.

   `scroll-snap-type: x mandatory` and not `proximity`: with cards this wide
   proximity leaves a card half off the screen often enough to look broken.

   The negative margins pull the shelf out to the full width of the phone so
   a card can bleed off the right edge, and the matching padding puts the
   first card back on the measure. `scroll-padding-inline-start` makes a
   snapped card land in the same place the first one sits, rather than flush
   against the bezel. */
.lp__designs { margin: clamp(24px, 4vw, 34px) 0; }

/* **The card width is derived from `--pv-scale`, and that is the whole
   trick on this page.**

   A `.samplecard` is an `<iframe>` of `/card` at a fixed 1120x920, shrunk by
   `transform: scale(var(--pv-scale))`, and the box's own height is
   `calc(625px * var(--pv-scale))`. Everywhere else on the site that variable
   is set by `fitFrames()` in `public/landing.js`, which measures each box
   after layout and writes `boxWidth / 1120` onto it.

   **This page is asserted to load no JavaScript of its own** — `check:articles`
   fails if any script but the site-wide `menus.js` appears in it, because a
   page bought by the click must not need a script to render. So `fitFrames`
   never runs here, every box falls back to the stylesheet's `.341`, and the
   first version of this shelf drew six cards showing the blank top-left
   corner of a card scaled half again too large. Measured: a 290px box with a
   460px frame inside it.

   The fix is to stop measuring and start declaring. The scale is the input
   and the width is `calc(1120px * var(--pv-scale))`, so the frame is exactly
   as wide as its box by construction, at every viewport, with nothing to
   measure and nothing to run. The two numbers below are chosen for the
   widths this page was built at:

     0.26  →  291px card. At 375 that is 78% of the viewport, which leaves a
              sliver of the next card visible — the affordance that says
              there are more without a script to animate anything.
     0.32  →  358px card, from 700px up, where there is room for two and a
              half and the page has no action bar to compete with.

   If `/card`'s 1120px ever changes, these change with it, and the shared
   `.samplecard__frame` rules above are the place that number lives. */
.lp__shelf {
  --pv-scale: .26;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: 20px;
  margin-inline: -20px;
  padding: 4px 20px 14px;
  /* Momentum on iOS, and no scrollbar eating 15px of a phone. */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.lp__shelf::-webkit-scrollbar { display: none; }

.lp__shelf > .samplecard {
  scroll-snap-align: start;
  /* `flex: 0 0 auto` and not a width alone: in a flex row a card with
     intrinsic content shrinks to fit all six on screen, which is how the
     first attempt produced six unreadable slivers. */
  flex: 0 0 auto;
  width: calc(1120px * var(--pv-scale));
}

.lp__swipe {
  font-size: var(--text-xs); color: var(--text-muted);
  margin: 2px 0 0; line-height: 1.55;
}

@media (min-width: 700px) {
  .lp__shelf { --pv-scale: .32; }
}
/* Above the shelf's own content width the hint is a lie — nothing is off
   screen — so it goes. The row itself stays a row at every width: a grid
   would have to let the browser choose the column width, and a column width
   this stylesheet does not know is exactly the thing that cannot be turned
   back into `--pv-scale` without a script. */
@media (min-width: 1180px) {
  .lp__swipe { display: none; }
}

/* ---- the hero, tightened for a phone ----------------------------------- */

/* The drawn garland between the standfirst and the button is 60px of a
   375x812 screen, which is 7% of the only screen most of this traffic will
   see. It earns its place — it is the one piece of the brand above the fold —
   but not at the article's spacing, which was set for a page somebody has
   chosen to read rather than one they have four seconds for.

   Halved under 700px, which is what puts "Or open a finished invitation
   first" above the action bar instead of behind it. `.lp`-scoped, so the
   twenty-two guides keep the spacing they were drawn with. */
@media (max-width: 699px) {
  /* **Gone on a phone**, rather than merely halved as it was this morning.

     The hero now carries two buttons and a price note, and a persona panel
     reading this at 375 reported that the real conversion path — the sample
     — sat under the action bar. The garland is the least load-bearing thing
     in the hero and it was costing 32px; the brand is three other places on
     this screen. On a laptop it stays, because there the hero is not fighting
     for room. */
  .lp .art__orn { display: none; }
  /* The price angle's headline runs to three lines at 375 and it is the
     tallest of the three, so it is the one that decides this: measured, the
     sample link cleared the action bar by 2px, which is not clearance, it is
     luck with a particular font. 14px back out of the hero's call-to-action
     padding puts it at 16. */
  .lp .art__head .lp__cta { padding-top: 12px; }
}

/* ---- the second thing to do, under the first --------------------------- */

/* A link and not a button. Two buttons on the first screen is two decisions,
   and the one being paid for is the first. */
/* **The two actions, side by side and the same size.** Pulkit's call after
   all eight panelists tapped the sample and none tapped the primary.

   I had put it full width underneath, which fixed the weight and not the
   adjacency. Stacked, the second button reads as a fallback; beside, the two
   read as two things you might do, which is what it is.

   `flex: 1 1 0` with `min-width: 0` so they are exactly equal and neither
   can push the other off the measure, and `align-items: stretch` so the
   taller label's extra line makes BOTH buttons taller rather than leaving
   one standing short beside it — at 375 each gets about 162px and "See a
   finished invitation" takes two lines where "Build yours tonight" takes
   one. `.lp__cta .btn`'s own `min-width: 16rem` has to be undone here or a
   256px minimum forces a wrap to two rows. */
.lp__btns { display: flex; gap: 10px; align-items: stretch; }
.lp__btns .btn {
  flex: 1 1 0; min-width: 0; padding-inline: 10px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lp__cta .lp__btns .btn { min-width: 0; }
.lp__alt { margin: 0; display: contents; }

/* The duration, its own line under the price. Quieter than the price note
   above it, because it answers a question rather than making the offer. */
.lp__term {
  margin: 6px auto 0; max-width: 34rem;
  font-size: var(--text-xs); color: var(--text-subtle);
}

/* ---- the struck price under a button, held to the agreed floor --------- */

/* `.was` is `.72em`, and the note under the call to action is 14px, so the
   struck list price computed to **10.08px** here — under the 11.5px floor
   settled on 17 Nov 2026 after Pulkit said twice that the strike-off was not
   visible, and for the identical reason: the bar's own type is as small as
   the page goes, so any fraction of it lands in single digits however it is
   tuned. An absolute floor, not a fraction, exactly as the offer bar does it.

   The reasoning there is worth repeating because it is the whole point of
   the figure: a reader who cannot see ₹2,999 is not being told that ₹1,999
   is a saving, they are being told that it is the price. On this page that
   is money — the discount is the argument the artwork already made. */
.lp__ctan .was { font-size: 11.5px; }

/* ---- the phone action bar ---------------------------------------------- */

/* The page is about eleven screens long at 375 and has a call to action on
   three of them. This is the other eight.

   Fixed and always present rather than revealed on scroll, because revealing
   it needs a script and this page is asserted to have none. The cost is one
   redundant screen over the hero; the alternative is eight screens with
   nothing to press.

   `env(safe-area-inset-bottom)` for the home indicator on a notched phone,
   where without it the button's bottom third is under the system gesture
   area and the first tap dismisses the keyboard instead. */
.lp__bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: flex; align-items: center; gap: 12px;
  /* 8px, measured. At the article button's own 60px height plus 10px of
     padding the bar came to 81px — a tenth of a 812px screen spent on
     furniture, and 10px of "Or open a finished invitation first" sitting
     behind it. The button is shortened below rather than the padding being
     taken to zero, because a 60px target in a 64px bar has no edge. */
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--toran-ivory, #fff);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px rgb(22 32 29 / 8%);
}
.lp__barp {
  display: flex; flex-direction: column; line-height: 1.15;
  font-size: var(--text-base); font-weight: var(--font-weight-semibold);
  color: var(--text);
  white-space: nowrap;
}
.lp__barp em {
  font-style: normal; font-size: var(--text-label);
  font-weight: var(--font-weight-regular); color: var(--text-muted);
}
/* The struck figure sits inline before the live one, small and quiet, which
   is the one place on this page it is allowed to be quiet: it is
   `aria-hidden` here (`struckQuiet`) because the row's spoken content should
   be the amount actually charged. */
/* The two figures on one line, inside a `<b>`, and the caption under them.

   The `<b>` is load bearing and not decoration: `.lp__barp` is a flex column,
   so a bare `.was` becomes a flex item stretched to the column's full width —
   and `.was::after` draws its rule with `left`/`right` against that box, so
   the strike shot thirty pixels past the end of "₹2,999" and read as a dash
   with a price in front of it. Measured at 375 before the wrapper went in. */
.lp__barp b { font-weight: inherit; white-space: nowrap; }
.lp__barp .was { font-size: var(--text-xs); margin-right: 5px; }
.lp__bar .btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 14px;          /* ~48px tall: still well over the 44px floor */
  text-align: center;
}

/* Room for it, so it cannot sit on top of the last paragraph or the footer. */
@media (max-width: 699px) {
  .lp { padding-bottom: 72px; }
}
/* Gone above 700px, where the measure is short, the page is half as tall and
   a call to action is never more than a screen away. */
@media (min-width: 700px) {
  .lp__bar { display: none; }
}

/* **`--lp-gutter` is declared here and it was not before.**

   Everything on this page that bleeds full width does it with a negative
   margin of one gutter, and the fallback was 20px while `.art__w` actually
   pads 22px — so every band sat 2px short of the screen edge on each side.
   Declared once, so the bleed and the measure cannot disagree. */
.lp { --lp-gutter: 22px; }

/* The head is already the full width of `.art`, which has **no padding of
   its own** — so it needs its gutter back and must NOT pull a negative
   margin as the blocks inside `.art__w` do. It did, which put it at -22 and
   +375+22 on a 375 screen and gave the whole page a horizontal scroll.
   Caught by walking every element for a right edge past the viewport. */
.lp .art__head { margin-inline: 0; padding-inline: var(--lp-gutter); }
@media (min-width: 760px) {
  .lp .art__head { margin-inline: 0; }
}


/* ---- the call to action, rebuilt --------------------------------------- */

/* Pulkit pointed at this block and said it was bad. It was: two pills
   floating on white over a struck price is an afterthought. It is the ad's
   closing beat now — plum ground, the price performing, both buttons full
   width, and the reassurance inside the block rather than orphaned under it. */
.lp__cta {
  margin: clamp(30px, 5vw, 44px) calc(var(--lp-gutter, 20px) * -1);
  padding: clamp(26px, 4.5vw, 38px) var(--lp-gutter, 20px);
  background: var(--toran-plum);
  border-radius: 0;
  text-align: center;
  color: var(--toran-white);
}
.lp__price {
  margin: 0 0 clamp(16px, 2.5vw, 22px);
  display: flex; align-items: baseline; justify-content: center;
  gap: 10px; flex-wrap: wrap;
}
.lp__price b {
  font-family: var(--font-display);
  font-size: clamp(40px, 11vw, 60px);
  line-height: 1; color: var(--toran-gold-light); font-weight: 600;
}
.lp__price em {
  font-style: normal; font-size: var(--text-sm); color: var(--toran-gold-pale);
}
.lp__price .was, .lp__price .was::after { color: var(--toran-sand); }
.lp__price .was { font-size: var(--text-lg); opacity: 1; }

/* Full width on a phone, both of them. He asked twice, and the panel is the
   reason: all eight tapped the sample and none tapped the primary, so
   neither is a secondary action in any sense that matters. */
.lp__btns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.lp__btns .btn { width: 100%; min-width: 0; padding-inline: 12px; }
@media (min-width: 560px) {
  .lp__btns { flex-direction: row; }
  .lp__btns .btn { flex: 1 1 0; }
}
.lp__cta .btn {
  background: var(--toran-gold-light);
  border-color: var(--toran-gold-light);
  color: var(--toran-plum);
}
.lp__cta .btn:hover { background: var(--toran-gold); border-color: var(--toran-gold); }
.lp__cta .btn--ghost {
  background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%);
}
.lp__cta .btn--ghost:hover { background: #fff; color: var(--toran-plum); border-color: #fff; }

.lp__cta .lp__ctan {
  margin: 16px auto 0; max-width: 32rem;
  color: var(--toran-gold-pale); font-size: var(--text-sm); line-height: 1.55;
}
.lp__cta .lp__term {
  margin: 6px auto 0; max-width: 32rem;
  color: var(--toran-sand); opacity: .75; font-size: var(--text-xs);
}
.lp__cta .lp__ctan .was, .lp__cta .lp__ctan .was::after { color: var(--toran-sand); }

/* The hero's copy of the block is already on a painted ground, so it does not
   paint a second one inside it. */
.lp .art__head .lp__cta {
  margin-inline: 0; padding-inline: 0; padding-top: 12px; padding-bottom: 0;
  background: none;
}
/* **The hero is light, always, and there is no per-advertisement ground any
   more.** There were three: plum for angle A, white for B, sand for C, so
   that the arrival matched the film somebody had just watched. The idea was
   sound and the execution was the thing Pulkit saw on his phone — a wall of
   plum carrying a paragraph, a price block and two buttons before anything
   happened, with a 58px sliver of garland above it.

   The model is this site's own home page: a white ground, a serif headline,
   three check-marked lines, two buttons, and the type doing the work. One
   hero, one ground, so these overrides are no longer conditional on a class
   the view stopped rendering. */
.lp .art__head .lp__cta .btn {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.lp .art__head .lp__cta .btn:hover {
  background: var(--toran-forest, var(--brand)); border-color: var(--toran-forest, var(--brand));
}
.lp .art__head .lp__cta .btn--ghost {
  background: transparent; color: var(--text); border-color: var(--text);
}
.lp .art__head .lp__cta .btn--ghost:hover { background: var(--text); color: #fff; }
.lp .art__head .lp__price b { color: var(--brand); }
.lp .art__head .lp__price em,
.lp .art__head .lp__ctan { color: var(--text-muted); }
.lp .art__head .lp__term { color: var(--text-subtle); }
.lp .art__head .lp__price .was,
.lp .art__head .lp__price .was::after,
.lp .art__head .lp__ctan .was,
.lp .art__head .lp__ctan .was::after {
  color: var(--text-muted);
}

/* **The landing page's headline takes a smaller step below 420px.**

   `.art h1` is solved for 35px at 360 and 54px at 1280, which is right for
   an article: a guide's headline is five or six words. This page's is the
   advertisement's own question -- *"Searching to make your wedding
   invitations digital?"*, seven words and two of them long -- and at the
   article step it is five lines on a phone, which with a lede under it put
   the price and the button below the fold.

   32px rather than 35, and a tighter leading with it. Measured, not nudged:
   it is the smallest change that buys a line back, and it is scoped to `.lp`
   and to the width where it matters, so no guide moves. Pulkit's brief said
   to tighten the hero rather than delete the price, and the type step is the
   cheapest thing in it to tighten.

   Three lines of a five-line headline is still the right trade at this
   width: the type is doing the arriving, and a reader who cannot see the
   price has nothing to arrive at. */
@media (max-width: 420px) {
  .lp .art__head h1 { font-size: 32px; line-height: 1.12; }
}

/* ---- the three lines under the lede ------------------------------------ */
/* The home page's shape, which is the whole brief for this page: a headline,
   a short lede, three lines with ticks, two buttons. Marigold-gold ticks
   rather than the brand teal, because gold is the one colour the
   advertisement and this page already share. */
.lp__ticks { list-style: none; margin: 18px 0 4px; padding: 0; }
.lp__ticks li {
  position: relative; padding-left: 28px; margin: 0 0 10px;
  color: var(--text); font-size: var(--text-sm); line-height: 1.5;
}
.lp__ticks li::before {
  content: ''; position: absolute; left: 4px; top: .36em;
  width: 11px; height: 6px;
  border-left: 2px solid var(--toran-gold); border-bottom: 2px solid var(--toran-gold);
  transform: rotate(-45deg);
}

/* ---- the number strip -------------------------------------------------- */
/* Three figures in a row, under the hero. The marketing site's shape, which
   is what Pulkit asked for in those words.

   **A row of three at 375 and not a stack**, because three stacked numbers
   is a list and the whole value of this shape is that the eye takes all
   three in one glance. 1fr columns, so the widest label sets the height and
   the three stay level; the figures are display type and the labels are
   small, which is what makes 24 read as a number rather than as a word.

   No border between them. Rules would make it a table, and it is a glance. */
.lp__nums {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 2.5vw, 20px); margin: clamp(18px, 4vw, 28px) 0 0;
  padding: clamp(16px, 3.5vw, 24px) var(--lp-gutter, 22px);
  background: var(--toran-sand);
}
.lp__nums dt {
  font-family: var(--font-display); line-height: 1;
  font-size: clamp(30px, 9vw, 44px); color: var(--brand);
}
.lp__nums dd {
  margin: 6px 0 0; font-size: var(--text-xs); line-height: 1.35;
  color: var(--text-muted);
}
@media (min-width: 760px) { .lp__nums { border-radius: var(--radius-md); } }

/* ---- the one photograph ------------------------------------------------ */
/* Full bleed, and **tall enough to be a photograph**. The rule it is here to
   obey: 58px of a cropped image is not an image, it is something that looks
   like it failed to load, which is exactly what the version before this one
   put at the top of the page. `aspect-ratio` rather than a height, so the
   crop is the same shape at every width, and `object-fit: cover` so a 3:2
   original fills a 4:3 box on a phone without distorting. */
.lp__photo { margin: clamp(18px, 4vw, 30px) calc(var(--lp-gutter, 22px) * -1); }
.lp__photo img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 50%;
  background: var(--toran-sand);
}
.lp__photo figcaption {
  padding: 10px var(--lp-gutter, 22px) 0;
  color: var(--text-subtle); font-size: var(--text-xs); line-height: 1.5;
}
.lp__cred { display: block; margin-top: 3px; opacity: .8; }
.lp__cred a { color: inherit; text-decoration: underline; }
@media (min-width: 760px) {
  .lp__photo img { aspect-ratio: 16 / 9; border-radius: var(--radius-md); }
}

/* ---- the panel with the sliders ---------------------------------------- */
/* Sand rather than plum, and that is the point of it: the page's one dark
   block is the call to action, so a second dark block would compete with the
   thing being clicked. This is a quiet panel you lean into.

   Every figure in it is server-rendered (`calc()` in views/landing.ts) and
   `public/lp.js` only makes the sliders move, so with scripting off this is
   a correct comparison that happens to be static. */
.lp__calc {
  margin: clamp(14px, 3vw, 22px) calc(var(--lp-gutter, 22px) * -1) clamp(18px, 4vw, 28px);
  padding: clamp(18px, 4vw, 26px) var(--lp-gutter, 22px);
  background: var(--toran-sand);
}
.lp__rows { display: grid; gap: 16px; }
.lp__slide span {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 10px; font-size: var(--text-sm); color: var(--text-muted);
}
.lp__slide span b {
  font-family: var(--font-display); font-size: var(--text-lg); color: var(--text);
}
/* The track and the thumb are the browser's. Dressing a range properly means
   six vendor pseudo-elements and a worse keyboard target; `accent-color` is
   the one line that recolours both and keeps the platform's own behaviour. */
.lp__slide input[type="range"] {
  display: block; width: 100%; margin: 6px 0 0; height: 30px;
  accent-color: var(--brand); cursor: grab;
}
.lp__slide input[type="range"]:active { cursor: grabbing; }

/* The head count, large, because it is the number a printed card cannot give
   you at all and the reason this panel is not the home page's. */
.lp__big {
  margin: clamp(16px, 3.5vw, 24px) 0 clamp(12px, 2.5vw, 18px);
  padding-top: clamp(14px, 3vw, 20px); border-top: 1px solid rgb(0 0 0 / 10%);
}
.lp__big b {
  display: block; font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 58px); line-height: 1; color: var(--brand);
}
.lp__big em {
  display: block; margin-top: 6px; font-style: normal;
  font-size: var(--text-sm); color: var(--text-muted);
}

.lp__fig { margin: 0; }
.lp__fig > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-top: 1px solid rgb(0 0 0 / 8%);
}
.lp__fig dt { font-size: var(--text-sm); color: var(--text); }
.lp__fig dt span { display: block; font-size: var(--text-xs); color: var(--text-subtle); }
.lp__fig dd { margin: 0; font-weight: 600; white-space: nowrap; }
.lp__fig .lp__keep { border-top: 1px solid rgb(0 0 0 / 22%); padding-top: 14px; }
.lp__fig .lp__keep dt { font-weight: 600; }
.lp__fig .lp__keep dd {
  font-family: var(--font-display); font-size: var(--text-xl); color: var(--brand);
}
.lp__calcn {
  margin: 14px 0 0; color: var(--text-subtle);
  font-size: var(--text-xs); line-height: 1.5;
}
@media (min-width: 760px) {
  .lp__calc { border-radius: var(--radius-md); }
  .lp__rows { grid-template-columns: 1fr 1fr; gap: 22px; }
}

/* ---- the FAQ ----------------------------------------------------------- */

/* `<details>`, native, no script. Collapsed by default: twelve open answers
   read as a product with twelve problems. */
.lp__faq { margin: clamp(10px, 2vw, 16px) 0 0; }
.lp__q { border-bottom: 1px solid var(--border); }
.lp__q summary {
  list-style: none; cursor: pointer;
  padding: 16px 28px 16px 0; position: relative;
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm); line-height: 1.45;
}
.lp__q summary::-webkit-details-marker { display: none; }
.lp__q summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg); transition: transform .15s ease;
}
.lp__q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp__a { padding: 0 0 18px; color: var(--text-muted); line-height: 1.65; font-size: var(--text-sm); }
.lp__a a { color: var(--brand); }
/* ================================================================
   STEP 4, THE SCREEN FOUR PERSONAS OUT OF FOUR STOPPED ON (18 Nov 2026)
   ================================================================
   A persona panel walked 43 screenshots of the flow at 375px and all four
   named "When and where" as the point they put the phone down: five boxes a
   ceremony, so a five-function wedding is twenty-five, arriving at the
   moment the head says "4 of 7" and they believe they are past halfway.

   src/routes/onboarding.ts has the long version. These are the rules the
   markup it now renders needs, plus two layout faults the same screenshots
   show in every ceremony block. */

/* ---- "You can stop part-way and come back" ----
   The promise was eight words of grey 11px type under twenty-five boxes.
   It is prose above them now, because the step people leave is the step
   that has to say leaving is safe. Quieter than `.ask` -- it is
   reassurance, not the question -- and it must not read as a warning, so
   sand rather than anything with a red or amber edge. */
.ob__safe {
  margin: -8px 0 20px; padding: 13px 18px; border-radius: 12px;
  background: var(--toran-sand); border: 0;
  font-size: 15px; line-height: 1.6; color: var(--text);
}
.ob__safe strong { font-weight: 600; }

/* ---- "Same place as <the one above>" ----
   Full width inside the ceremony grid, above the three boxes it fills, so
   it is read before they are typed rather than found after. Not a `.chip`:
   a chip in this product is a thing you choose from a set, and this is an
   action. */
.evrow__same {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 2px;
}
/* What the tap did, said where the thumb already is. The three boxes it
   fills are below the fold on a phone, so with nothing here the tap looks
   like it did nothing -- which is the whole failure this control exists to
   fix, one step along. */
.evrow__said { color: var(--brand); font-weight: 600; }
.evrow__said:empty { display: none; }

/* ---- the map field ----
   "optional" beside the label rather than in the help text under it: the
   panelist who could not paste a Maps link had already decided the field
   was compulsory before she reached any sentence below it. */
.evrow__opt {
  margin-left: 6px; font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 600; color: var(--text-subtle);
}
.evrow__maphelp { margin-top: 7px; }
.evrow__maphelp p { margin: 5px 0 0; line-height: 1.55; }
/* One tap for the address they have just typed. A text control and not a
   button, because the button on this block is "Same place as…" and two
   filled pills in one ceremony would compete for the same decision. */
.evrow__uselink {
  font: inherit; font-size: 13px; font-weight: 600; color: var(--brand);
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.evrow__uselink:hover { color: var(--brand-deep); }
.evrow__uselink:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
/* Whether the link found a place. Resolution happens at save and nothing on
   this screen has ever reported it, so a couple pasting a link they had
   worked for got the same silence as one pasting nonsense. */
.evrow__mapok { margin: 7px 0 0; color: var(--brand); font-weight: 600; }
/* Amber, which tokens.css reserves for a pending or overdue state and never
   for decoration. An unresolved map link is exactly that: the invitation is
   fine, and one thing on it is not finished. */
.evrow__mapbad { margin: 7px 0 0; color: var(--warning-text); line-height: 1.55; }

/* ---- the date control wrapped onto two lines and the time beside it did
   not (18 Nov 2026) ----
   Visible in every ceremony block in every screenshot: empty it rendered
   "Pick a / date", filled "11 Feb / 2027", while "7 PM" next to it sat on
   one line, so the pair looked broken rather than tight.

   Measured, not guessed. At 375px `.ob` is 351px wide with 22px of padding,
   so the grid has 307px; two equal columns with a 12px gap give the date
   145px; `.dp__field` spends 32px on padding, 16px on the icon and 10px on
   the gap, leaving 87px for text, and "11 Feb 2027" needs about 92px.

   Three changes that each buy room, rather than one that buys enough on
   this phone only: the date column takes the larger share (the time never
   needs it -- "7 PM" is four characters), the field's own padding and gap
   tighten under 560px, and the text may not wrap whatever is in it. The
   last is the one that holds when a future string is longer than this
   arithmetic: it ellipsises instead of growing a second line. */
.dp__field > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 560px) {
  .evrow__grid { grid-template-columns: 1.18fr 1fr; }
  .dp__field { padding: 14px 12px; gap: 6px; }
  .dp__field:focus-visible { padding: 13px 11px; }
}

/* ---- the month and year were already there and did not look like it ----
   The panel reported the picker as having "only ‹ and ›", with no month
   list and no year. Both exist: the title between the arrows is a button
   that opens a month grid with its own year stepper. It just looked exactly
   like the heading it replaced, which is what its own comment at line 2592
   asked for -- and that turned out to be the wrong ask. A control nobody
   can see is worth what a control that does not exist is worth.

   So it keeps the display face and gains the two things that say "press
   me": a caret, and a resting outline. 44px of height as well, because it
   is now a target somebody aims at rather than a label they read past. */
.dp__title {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 4px 12px;
  border: 1px solid var(--border); background: var(--toran-surface);
}
.dp__title::after {
  content: ''; width: 8px; height: 8px; flex: none;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg); opacity: .55;
}
.dp__title:hover { background: var(--toran-sand); border-color: var(--brand); }
/* In the month grid the same button goes back to the days, so the caret
   points the other way. */
.dp__title--up::after { transform: translateY(2px) rotate(-135deg); }

/* ---- a date somebody already knows, typed ----
   The NRI panelist's wedding is twelve months out with five ceremonies and
   he counted sixty taps on a 32px arrow to enter five dates he could have
   said out loud. The month grid above cuts that to about fifteen; this cuts
   it to typing. Day-month-year, because that is how a date is written here,
   and `public/datepicker.js` says which forms it takes. */
.dp__typed { display: flex; gap: 6px; margin-top: 10px; }
.dp__typedi {
  flex: 1 1 auto; min-width: 0; padding: 9px 10px; font: inherit; font-size: 14px;
  border: 1px solid var(--border); border-radius: 8px; background: #fff; color: var(--text);
}
.dp__typedi:focus { outline: none; border-color: var(--brand); }
.dp__typedi.is-bad { border-color: var(--danger); }
.dp__typedgo {
  flex: none; padding: 9px 12px; font: inherit; font-size: 13px; font-weight: 600;
  border: 1px solid var(--brand); border-radius: 8px;
  background: var(--brand); color: #fff; cursor: pointer;
}
.dp__typedgo:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.dp__typedwhy { margin: 6px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--text-subtle); }


/* ===========================================================================
   The image-led ad landing page -- `.ilp`, on top of `.art lp`
   ===========================================================================

   `/guides/digital-wedding-invitation` (src/views/landing-image.ts), built
   20 Nov 2026 from Pulkit's *"i like the lp now but it laks images and
   character"*.

   **It wears `.lp` on purpose and this block is deliberately short.** Every
   shared component on that page -- the price block, both buttons, the number
   strip, the design shelf, the cost panel, the FAQ, the phone bar -- is
   `.lp`-scoped CSS that already exists and is already right at 375. Copying
   four hundred lines of it under a second prefix would guarantee the two
   pages diverge the first time either is tuned, and the experiment would
   then be measuring the divergence.

   So what is here is only what is genuinely different: a hero with a
   photograph in it, a three-up grid, big pictures, and the garland. Where a
   rule overrides one of `.lp`'s hero rules -- which are written for a white
   hero, and this one is a photograph -- it wins on source order at equal
   specificity, which is why this block is at the end of the file and must
   stay there.
   =========================================================================== */

/* ---- the hero ----------------------------------------------------------- */

/* **Plum first, photograph second, and that order is the whole design.**

   The band is painted `--toran-plum` by the shorthand's colour, so the hero
   is finished and legible at first paint and stays finished if the image
   never arrives -- a phone on a bad connection gets the page the ad paid
   for rather than white text on white. The gradient above the image is a
   scrim: `f01` is already dimmed (the film sets its own type over it) and
   this takes it the rest of the way, so the headline holds contrast over the
   lightest part of the sky.

   **Nothing here can shift the layout.** The band's height comes from its
   text, so there is no box to reserve and no `aspect-ratio` to get wrong.
   That is the reason this is a background and not an `<img>` above the type:
   an image there would push the price and the buttons down a screen, which
   is the most expensive defect this page can have and one the other landing
   page has already paid for once. */
.ilp__hero {
  position: relative;
  margin-inline: 0;
  padding: clamp(34px, 7vw, 70px) 0 clamp(30px, 5vw, 44px);
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--toran-plum) 40%, transparent) 0%,
      color-mix(in srgb, var(--toran-plum) 62%, transparent) 38%,
      color-mix(in srgb, var(--toran-plum) 88%, transparent) 72%,
      var(--toran-plum) 100%),
    var(--toran-plum) url('/ads/f01.webp') center 32% / cover no-repeat;
  color: var(--toran-white);
}

/* The garland the advertisement hangs across the top of every frame, along
   the foot of the band. 1040x136 of marigolds, 7 KB, repeated on x: it is the
   one mark the film and this page share, and it does more for "this is the
   thing I just watched" than a paragraph could. Fixed height, so it cannot
   move anything; `aria-hidden` by construction, since a pseudo-element is. */
.ilp__hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 26px; pointer-events: none;
  background: url('/brand/garland-marigold.png') repeat-x center / auto 100%;
  opacity: .92;
}

/* **The band carries `.band-plum`, so the headline and the standfirst need
   no rule here at all.** `tokens.css` redefines `--text` and `--text-muted`
   on that class for exactly this -- *"gold and plum only resolve to
   something legible on a dark band; scope them so a stray --accent on a
   light surface fails loudly rather than quietly"* -- which means anything
   added to this hero later is legible by construction instead of by somebody
   remembering to write a colour for it.

   The kicker is the one exception and it has to be: `.art__kicker` is
   `var(--brand)`, the teal, which `.band-plum` does not touch and which is
   invisible on plum. */
.ilp__hero .art__kicker { color: var(--toran-gold-light); }

/* The hero's copy of the call-to-action block, on a dark ground now. `.lp`
   repaints it light for the other page's white hero; these are the same
   declarations the in-body block already has, put back. */
.ilp .art__head .lp__cta { background: none; }
.ilp .art__head .lp__cta .btn {
  background: var(--toran-gold-light);
  border-color: var(--toran-gold-light);
  color: var(--toran-plum);
}
.ilp .art__head .lp__cta .btn:hover {
  background: var(--toran-gold); border-color: var(--toran-gold);
}
.ilp .art__head .lp__cta .btn--ghost {
  background: transparent; color: #fff; border-color: rgb(255 255 255 / 55%);
}
.ilp .art__head .lp__cta .btn--ghost:hover {
  background: #fff; color: var(--toran-plum); border-color: #fff;
}
.ilp .art__head .lp__price b { color: var(--toran-gold-light); }
.ilp .art__head .lp__price em { color: var(--toran-gold-pale); }
.ilp .art__head .lp__ctan { color: var(--toran-gold-pale); }
.ilp .art__head .lp__term { color: var(--toran-sand); opacity: .75; }
.ilp .art__head .lp__price .was,
.ilp .art__head .lp__price .was::after,
.ilp .art__head .lp__ctan .was,
.ilp .art__head .lp__ctan .was::after { color: var(--toran-sand); }

/* The three check lines, on plum. Cream rather than the body text colour,
   and the ticks stay gold -- the one colour the advertisement and this page
   already share. */
.ilp__hero .lp__ticks li { color: var(--toran-gold-pale); }
.ilp__hero .lp__ticks li::before {
  border-left-color: var(--toran-gold-light);
  border-bottom-color: var(--toran-gold-light);
}

/* ---- the three surfaces ------------------------------------------------- */

/* **Stacked on a phone, three across from 760px**, and the stack is measured
   rather than lazy. At 375 three across gives each frame about 110px, at
   which the words the film itself prints on them -- "The invitation website",
   "The PDF invitation" -- are unreadable, and a swipe shelf would hide two of
   the three things somebody is being told they get. Three stacked frames cost
   about one and a third screens on the block that answers "what is this",
   which is the cheapest height on the page. */
.ilp__trio {
  display: grid; gap: clamp(14px, 3vw, 22px);
  margin: clamp(18px, 4vw, 30px) calc(var(--lp-gutter, 22px) * -1);
}
.ilp__trio .ilp__art { margin: 0; }
@media (min-width: 760px) {
  .ilp__trio { grid-template-columns: repeat(3, 1fr); margin-inline: 0; }
}

/* ---- our own pictures, large -------------------------------------------- */

/* `width: 100%; height: auto` against the `width`/`height` attributes in the
   markup, so the browser reserves the right box from the aspect ratio and
   nothing below the picture moves when it arrives. **No crop and no fixed
   height**: the rule this page is built under is that a picture gets enough
   room to be a picture, and a ratio forced on one from the stylesheet is how
   58px of garland ended up at the top of the other landing page. */
.ilp__art { margin: clamp(22px, 4vw, 34px) calc(var(--lp-gutter, 22px) * -1); }
.ilp__art img {
  display: block; width: 100%; height: auto;
  background: var(--toran-plum);
}
.ilp__art figcaption {
  padding: 10px var(--lp-gutter, 22px) 0;
  color: var(--text-subtle); font-size: var(--text-xs); line-height: 1.5;
}
.ilp__art figcaption .lp__shotk { display: block; }

/* The A5 card is a cream page on a white site, so it needs an edge to sit on
   or it floats. A hairline and a little plum behind it, which is the ground
   the advertisement shows it on. */
.ilp__art img[src$="card-aarti-and-rohan.png"] {
  border: 1px solid var(--border);
  background: var(--toran-sand);
}
@media (min-width: 760px) {
  .ilp__art { margin-inline: 0; }
  .ilp__art img { border-radius: var(--radius-md); }
  .ilp__art figcaption { padding-inline: 0; }
  /* The card is a portrait page; full width it is taller than any screen. */
  .ilp__art img[src$="card-aarti-and-rohan.png"] {
    max-width: 27rem; margin-inline: auto;
  }
}

/* ---- the ornament ------------------------------------------------------- */

/* `.art__orn` is the guides' own divider -- a 64-tile SVG library painted as
   a mask -- and `.lp` hides it below 700px, because on the other page it sat
   above a hero that was already too tall. This page is the one that asked for
   character, so it is shown at every width and given room. */
.ilp .art__orn { display: block; margin-block: clamp(26px, 5vw, 40px) 0; }

/* ===========================================================================
   The consent bar, and the control on /privacy that undoes it.
   `src/views/layout.ts` builds the markup; `src/lib/consent.ts` owns the
   cookie. ADR 0052 has the reasoning.

   **Almost nothing here is a colour.** The bar carries `.band--dark`, which
   already brings the deep teal, white ink, sand for `p` and `--mark: white`
   for the garland, and the buttons carry `.btn--gold`, which is the pair the
   product uses on every dark surface. So this block is layout and type, and a
   change to the brand's dark band changes the consent bar with it rather than
   leaving it behind looking like a widget from somewhere else.

   **The sizes, spacing and radii are tokens.** tokens.css says new work uses
   the scale; the first draft of this block was a dozen pixel values picked by
   eye, which is exactly what that note was written about.

   **No script, anywhere.** The bar is a form with two submit buttons, so it
   works with JavaScript off and there is no state a blocked file can leave
   half-applied. Nothing scroll-locks, nothing traps focus, there is no
   backdrop: a visitor who ignores the question keeps reading and gets no
   tags, which is the correct outcome rather than a problem to solve.

   **The height is the constraint, not the padding.** `position: fixed` rather
   than a block in the flow, because a block would push the hero's price and
   button below the fold on a phone -- measured and fixed at cost on
   18 Nov 2026, and not to be undone by a cookie bar. The first draft was
   191px tall at 375 and covered "Build mine · ₹1,999" outright. Measure it
   again if the wording grows: the budget is about 150px at 375.
   =========================================================================== */
.consentbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  /* A gold hairline rather than a border colour of its own: the same accent
     the band's own `--accent` resolves to, at the weight of a rule. */
  border-top: 1px solid var(--toran-gold);
  box-shadow: 0 -8px 28px rgb(12 59 54 / 32%);
  /* The home-indicator strip on an iPhone. `viewport-fit=cover` is set only
     on the dashboard, where this never renders, so the inset is 0 everywhere
     it is actually seen -- it is here so that turning that on site-wide later
     does not put the buttons under the bar. */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.consentbar__in {
  max-width: var(--container-content); margin: 0 auto;
  padding: var(--spacing-3) var(--spacing-4) var(--spacing-4);
  display: flex; flex-direction: column; gap: var(--spacing-2);
}
/* The question is the heading of this bar, so it is set in the display face
   and takes the band's own white ink. `.band--dark p` paints every paragraph
   sand, which is right for the line below it and wrong for this one. */
.consentbar__ask {
  margin: 0; display: flex; align-items: center; gap: var(--spacing-2);
  font-family: var(--font-display); font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm); line-height: var(--leading-snug);
  letter-spacing: var(--tracking-tight);
  color: var(--toran-white);
}
/* The garland, inline with the question. Sized in em so it holds if the
   question's size changes, and `flex: none` so it is never squeezed by a
   long line. Its colour is `--mark`, which `.band--dark` has already set. */
.consentbar__ask svg { flex: none; height: 1.15em; width: auto; }
.consentbar__why {
  margin: 0; font-size: var(--text-xs); line-height: var(--leading-snug);
}
.consentbar__why a { color: var(--toran-gold-pale); text-decoration: underline; }
.consentbar__row { display: flex; flex-wrap: wrap; gap: var(--spacing-2); }

/* ACCEPT AND REJECT ARE ONE BUTTON USED TWICE.

   `.btn .btn--gold .consentbar__btn`, on both, with no modifier on either and
   no positional selector anywhere in this file that could reach one and not
   the other. That is the requirement -- equal visual weight -- expressed as
   the only thing that cannot drift: there is no second declaration to change.
   A later edit that wants one emphasised has to add a class, which is a diff
   somebody can see.

   This rule is only the trim: `.btn` is already the product's pill and
   `.btn--gold` is already its dark-band colour. What is overridden is the
   size, because `.btn`'s 16px/30px is a page CTA and two of them in a fixed
   bar is 30px of height this does not have. */
.consentbar__btn {
  flex: 1 1 auto;
  padding: var(--spacing-3) var(--spacing-4);
  font-size: var(--text-xs);
}

@media (min-width: 760px) {
  .consentbar__in {
    flex-direction: row; align-items: center; gap: var(--spacing-6);
    padding: var(--spacing-3) var(--spacing-6);
  }
  .consentbar__text { flex: 1 1 auto; min-width: 0; }
  .consentbar__ask { font-size: var(--text-base); }
  .consentbar__row { flex: none; }
  .consentbar__btn { flex: none; }
}

/* The control on /privacy. Same buttons, same rule; what differs is that a
   light surface takes the plain brand `.btn` rather than `.btn--gold`, which
   is the pairing the rest of the product uses -- gold on a dark band, teal on
   a light one. */
.consentset {
  margin: var(--spacing-4) 0 0;
  padding: var(--spacing-4) var(--spacing-4) var(--spacing-6);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--toran-sand);
}
.consentset__now { margin: 0 0 var(--spacing-3); font-size: var(--text-sm); }

/* The notice's own lists: who gets what, and what is kept for how long. */
.pnl { margin: var(--spacing-3) 0 0; }
.pnl dt {
  margin-top: var(--spacing-4); font-weight: var(--font-weight-semibold);
  font-size: var(--text-sm); color: var(--text);
}
.pnl dd {
  margin: var(--spacing-1) 0 0; font-size: var(--text-sm);
  line-height: var(--leading-body); color: var(--text-subtle);
}

/* ===========================================================================
   APPEND ABOVE THIS LINE. THE FILE ENDS HERE.  (sentinel, 18 Nov 2026)

   This block exists to give the end of the file a line that occurs exactly
   once, and the reason is a real outage rather than tidiness.

   On 18 Nov 2026 two braces went missing from this file and nobody wrote the
   bug. Two branches each appended to the end. One side's last line was a lone
   `}` -- the most common line in a stylesheet -- so git's three-way merge
   treated the two sides' copies of it as ONE shared context line and emitted
   it once. Both merges reported no conflict. The result was that about 300
   lines inherited `@media (max-width: 420px)`, the landing page was unstyled
   on a laptop, and three of its rules ended up with impossible conditions
   (`max-width: 420px` nested inside `min-width: 700px`) so they applied at no
   width at all.

   A unique final line removes the ambiguity: two concurrent appends now both
   land above distinct context and CONFLICT LOUDLY instead of silently eating
   a brace. A conflict you must resolve is strictly better than a merge nobody
   is asked to look at.

   This does not replace `check:framing`'s brace count -- it stops that count
   from being the only thing between this file and production.
   =========================================================================== */
