/* gdcs.ai mockup (design of 2026-11-14) — the shared sheet. Page-group sheets in src/css/ are appended after it.
   Layout: one sheet of paper. Desktop 1440 = 120 | 1200 | 120; two columns 720 | 48 | 432. Phone 390 = 16 | 358 | 16.
   Green leads; gold only for one proven number or line per page. A shadow only under what floats over the page (--shadow-float).
   Type and shapes the Wealthsimple way (Jack 2026-11-23: 「字体直接抄袭wealthsimple的用法吧，然后现在过于圆滑，看着有点可爱」; measured on
   wealthsimple.com 2026-11-23, research_notes/培育钻交易网络可行性/scan_wealthsimple_type_products_2026_11.md): their usage, never their
   files. A geometric sans for everything — hero line, product and feature lines, body, buttons, navigation, figures — and a serif for
   the big headlines only (page H1, section headlines, the product names on the home page). Two weights, 400 and 500; headlines
   1.16 with -0.01em, the sans +0.005em, text 1.4; nothing in capitals; display sizes fluid between a phone and a wide screen.
   Shapes: buttons, chips and tabs are pills (as theirs); cards and navigation items 12px, large panels 24px; fields 12px, the one
   email or search box a pill; cards flat, 1px rules. The cute feel went with the rounded typeface, not with the corners. */
/* The four faces, self-hosted (tools/subset_fonts.py writes them; build.py gives each a content-hashed name and rewrites these
   addresses). Jost: Latin and figures, one variable file for 400-500. GDCS Serif: Source Serif 4 at 400 with its optical-size axis
   (20-60), renamed (its OFL reserves the name 'Source'). GDCS Sans SC (Noto Sans SC 400 / 500) and GDCS Serif SC (Noto Serif SC 400,
   headlines only), cut to GB 2312 and the site's own characters and renamed the same way, used only for the CJK blocks and the
   general punctuation (U+2010-2027, first on a Chinese page only), so an English page never loads them. */
@font-face{font-family:"Jost";font-style:normal;font-weight:400 500;font-display:swap;src:url(/assets/fonts/jost-latin.2319722d53.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2195,U+2212,U+2215,U+2264-2265,U+FEFF,U+FFFD}
@font-face{font-family:"GDCS Serif";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/gdcs-serif-latin.7e75db6bd1.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2190-2195,U+2212,U+2215,U+2264-2265,U+FEFF,U+FFFD}
@font-face{font-family:"GDCS Sans SC";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/gdcs-sans-sc-400.e95b93e947.woff2) format("woff2");
  unicode-range:U+2E80-2FDF,U+3000-303F,U+3040-30FF,U+3100-312F,U+3190-31FF,U+3200-33FF,U+3400-4DBF,U+4E00-9FFF,U+F900-FAFF,U+FE10-FE1F,U+FE30-FE4F,U+FF00-FFEF,U+2010-2027}
@font-face{font-family:"GDCS Sans SC";font-style:normal;font-weight:500;font-display:swap;src:url(/assets/fonts/gdcs-sans-sc-500.f87ac9c857.woff2) format("woff2");
  unicode-range:U+2E80-2FDF,U+3000-303F,U+3040-30FF,U+3100-312F,U+3190-31FF,U+3200-33FF,U+3400-4DBF,U+4E00-9FFF,U+F900-FAFF,U+FE10-FE1F,U+FE30-FE4F,U+FF00-FFEF,U+2010-2027}
@font-face{font-family:"GDCS Serif SC";font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/gdcs-serif-sc-400.d04de50380.woff2) format("woff2");
  unicode-range:U+2E80-2FDF,U+3000-303F,U+3040-30FF,U+3100-312F,U+3190-31FF,U+3200-33FF,U+3400-4DBF,U+4E00-9FFF,U+F900-FAFF,U+FE10-FE1F,U+FE30-FE4F,U+FF00-FFEF,U+2010-2027}
/* While a Latin face loads, a system face takes the space it will take: scaled and given the face's ascent and descent (measured with
   fontTools over a line of the site's words: Jost 400 is 0.9569 x Arial's width, ascent 1070, descent 375 per 1000; GDCS Serif at
   optical size 40 is 0.9655 x Georgia's, ascent 1036, descent 335; each divided by its scale, as size-adjust scales the overrides).
   So no line moves when the face arrives (CODE-11). */
@font-face{font-family:"Jost fallback";src:local("Arial"),local("Helvetica");size-adjust:95.69%;ascent-override:111.82%;descent-override:39.19%;line-gap-override:0%}
@font-face{font-family:"GDCS Serif fallback";src:local("Georgia"),local("Times New Roman");size-adjust:96.55%;ascent-override:107.30%;descent-override:34.70%;line-gap-override:0%}
:root{
  --paper:#f1f0ea; --ink:#14332b; --text:#2a3d36; --muted:#5e6962; --control:#7e867e; --line:#bac1ba; --tint:#dfe1db;
  --on-ink:#f7f6f1; --on-ink-muted:#b9c4be; --line-on-ink:#405951; --gold:#c2993a; --error:#9b3524; --sheet:#f7f6f1;
  /* type: the sans for everything, the serif for the big headlines only (h1, h2 and the classes listed under "headlines" below) */
  --sans:"Jost","Jost fallback","GDCS Sans SC",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --serif:"GDCS Serif","GDCS Serif fallback","GDCS Serif SC","Songti SC","STSong","SimSun",serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --w-head:400;                                   /* the serif's one weight */
  --w-num:500;                                    /* a figure, a product or feature line, a button: the sans's second weight */
  --lh-head:1.16; --lh-body:1.4;                  /* headlines and big figures; everything else */
  --ls-head:-.01em; --ls-sans:.005em;             /* the serif closes up, the sans opens a little */
  /* sizes: the Wealthsimple roles (Task 29: measured with getComputedStyle on wealthsimple.com at 1440 and 390 px on 2026-11-24,
     task-29-type-audit.md), each a straight line from 390 to 1440 px, clamped at both ends; the intro pages set them through the
     role classes below (.t-display … .legal). 20 px and smaller do not shrink on a phone, as theirs. */
  --fs-display:clamp(46.5px,calc(16.23px + 7.762vw),128px); /* serif: a product's name, a page's one big statement (128 -> 46.5) */
  /* serif: a section's headline (56 -> 31.9; fix round 1: theirs are 31.9 on /invest and /chequing, 33.8 and 37.4 elsewhere, and only
     the one-word "FAQs" stays at 48.5, so a section's headline stays under the page's title on a phone: 46.5 display, 34.3 hero) */
  --fs-section:clamp(31.9px,calc(22.95px + 2.295vw),56px);
  --fs-hero:clamp(34.3px,calc(23.27px + 2.829vw),64px);     /* sans 500: the hero line, a product's figure, a price (64 -> 34.3) */
  --fs-title:clamp(33.2px,calc(27.7px + 1.41vw),48px);      /* sans 500: a card's or a plan's name (48 -> 33.2) */
  --fs-feature:clamp(24.5px,calc(21.71px + .714vw),32px);   /* sans 500: a feature line, a step (32 -> 24.5) */
  --fs-lead:20px; --fs-body:18px; --fs-text:16px; --fs-small:14px; --fs-legal:12px;
  /* the member app's own scale (Task 19; the brief keeps it): its page H1 34 -> 56 and its screen heading 28 -> 40 */
  --fs-h1:clamp(34px,calc(25.83px + 2.095vw),56px);
  --fs-h2:clamp(28px,calc(23.54px + 1.143vw),40px);
  /* corners: 1 small marks, placeholders and the focus ring; 2 cards, navigation items, fields, photos, small panels; 4 large panels
     (a result, a plan, a sheet, a big picture or demo); pill buttons, chips, tabs and the one email or search box */
  --r-1:8px; --r-2:12px; --r-4:24px; --r-pill:999px;
  --shadow-float:0 1px 4px rgba(0,0,0,.10);       /* only what floats over the page: the phone's tab bar, a sticky foot, a mark on a photo */
  --ease:cubic-bezier(.2,0,0,1);
  /* motion, space and type tokens (trade platform). Durations and curves: values from plan; Figma page 01 not checked. */
  --dur-1:120ms; --dur-2:220ms; --dur-3:420ms; --dur-4:720ms; --ease-out:cubic-bezier(.2,0,0,1); --ease-in-out:cubic-bezier(.65,0,.35,1);
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:24px; --space-6:32px; --space-7:48px; --space-8:72px;
  --step--1:.833rem; --step-0:1rem; --step-1:1.25rem; --step-2:1.563rem; --step-3:2rem; --step-4:2.5rem; --step-5:3rem;
  color-scheme:light;
}
/* Chinese: headlines 1.3 (Han characters fill the em square; 1.16 crowds them), text 1.5, no tracking either way */
html:lang(zh){--lh-head:1.3;--lh-body:1.5;--ls-head:0;--ls-sans:0}
/* Chinese pages: the Chinese faces first. Their unicode-range is the CJK blocks and the general punctuation U+2010-2027, so Han text
   and the dashes, quotes and ellipsis around it (—— “ ” ‘ ’ ……) take the Chinese shapes, while Latin letters and figures still fall
   through to Jost and GDCS Serif (on an English page Jost comes first and sets that punctuation itself). */
html:lang(zh){--sans:"GDCS Sans SC","Jost","Jost fallback",system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  --serif:"GDCS Serif SC","GDCS Serif","GDCS Serif fallback","Songti SC","STSong","SimSun",serif;}
*,*::before,*::after{box-sizing:border-box}
html{background:var(--paper);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--text);font:400 16px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden;
  display:flex;flex-direction:column;min-height:100vh}           /* a short page still ends on the footer, not on a band of paper */
body>main{flex:1 0 auto}
img,svg,canvas{max-width:100%}
p,ul,ol,dl,dd,figure{margin:0} ul,ol{padding:0;list-style:none}
h1,h2,h3,h4{margin:0;color:var(--ink);text-wrap:pretty;font-variant-numeric:lining-nums}
/* the serif: page H1 and section headlines (the headline classes are listed in one place, below) */
h1,h2{font-family:var(--serif);font-weight:var(--w-head);letter-spacing:var(--ls-head)}
h3,h4{font-family:var(--sans);font-weight:500}
/* two weights only: what a browser would draw bold is the sans's 500, and no weight is ever faked */
b,strong,th,optgroup{font-weight:500}
html{font-synthesis:style}
h1,h2,h3{text-wrap:balance}                                      /* no word left alone on a heading's last line */
button,input,textarea{font:inherit;color:inherit}
a{color:var(--ink)}
::selection{background:var(--ink);color:var(--on-ink)}
/* the focus ring is ink on paper and paper on ink: a block with an ink background sets --focus */
:focus-visible{outline:2px solid var(--focus,var(--ink));outline-offset:3px}
:where(:focus-visible){border-radius:var(--r-1)}
.site-foot,.result,.cert-head,.on-ink,.mb-ink,.mb-tone-ink,.bv-s1,.bv-s2{--focus:var(--on-ink)}
/* an in-page jump lands with room above the heading */
[id]{scroll-margin-top:24px}
[hidden]{display:none!important}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:var(--on-ink);padding:8px 16px;border-radius:var(--r-pill);z-index:80}
.skip:focus{left:16px}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- frame ---------- */
.wrap{max-width:1200px;margin-inline:auto;box-sizing:content-box;
  padding-left:max(16px,env(safe-area-inset-left,0px),4vw);padding-right:max(16px,env(safe-area-inset-right,0px),4vw)}
main{display:block;padding-bottom:120px}
.section{margin-top:96px}
.section-sm{margin-top:72px}
.cols{display:grid;grid-template-columns:minmax(0,720fr) minmax(0,432fr);gap:48px;align-items:start}
.cols>*{min-width:0}
.cols-even{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px}
.cols-intro{display:grid;grid-template-columns:minmax(0,432fr) minmax(0,720fr);gap:48px;align-items:start}  /* heading left, record right */
.stack-8>*+*{margin-top:8px} .stack-16>*+*{margin-top:16px} .stack-24>*+*{margin-top:24px} .stack-32>*+*{margin-top:32px}

/* ---------- type ---------- */
h1,.t-h1{font-size:var(--fs-h1);line-height:var(--lh-head)}
h2,.t-h2{font-size:var(--fs-h2);line-height:var(--lh-head)}
.t-h1,.t-h2{font-family:var(--serif);font-weight:var(--w-head);letter-spacing:var(--ls-head)}
/* the roles of the intro pages, the Wealthsimple way (Task 29; their measured values beside each token above). One role per text:
   the serif for the big name or statement and a section's headline, the sans at 500 for the hero line, a card's name, a feature
   line and a sub-line, the sans at 400 for everything read. Headlines 1.16, text 1.4 (Chinese 1.3 / 1.5, no tracking: :root). */
.t-display,.t-section{font-family:var(--serif);font-weight:var(--w-head);line-height:var(--lh-head);letter-spacing:var(--ls-head)}
.t-display{font-size:var(--fs-display)}
.t-section{font-size:var(--fs-section)}
.t-hero,.t-title,.t-feature,.t-sub{font-family:var(--sans);font-weight:500;letter-spacing:var(--ls-sans);color:var(--ink)}
.t-hero{font-size:var(--fs-hero);line-height:var(--lh-head)}
.t-title{font-size:var(--fs-title);line-height:var(--lh-head)}
/* a membership's role in brackets at its first mention (SJ/SD, v2/members.py mname_html()): smaller than its name in a heading, kept whole */
.t-feature{font-size:var(--fs-feature);line-height:var(--lh-head)}
.t-sub{font-size:var(--fs-lead);line-height:var(--lh-body)}
.t-lead{font-size:var(--fs-lead);line-height:var(--lh-body)}
.legal{font-size:var(--fs-legal);line-height:var(--lh-body);color:var(--muted)}
/* a figure: the same sans, at 500, its digits all one width (Jost has tnum) */
.t-num{font-family:var(--sans);font-weight:var(--w-num);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.t-h3{font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.t-h4{font:500 16px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.lede{font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);max-width:720px}
.lede-lg{font-size:var(--fs-lead);line-height:var(--lh-body);color:var(--text)}
.body{font-size:var(--fs-text);line-height:var(--lh-body)}
.small{font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.mono{font-family:var(--mono);font-size:14px;line-height:var(--lh-body);color:var(--muted);font-variant-numeric:tabular-nums}
.muted{color:var(--muted)}
.ink{color:var(--ink)}
.num{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}
.measure{max-width:720px}
.measure-sm{max-width:560px}

/* ---------- links and the one button ---------- */
main a:not([class]),.link,.prose a{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;text-decoration-color:currentColor}
main a:not([class]):hover,.link:hover,.prose a:hover{text-decoration-color:var(--control)}
.link-quiet{color:var(--muted);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
/* border:1px transparent shows as a frame in Windows high-contrast mode, where backgrounds are dropped */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;background:var(--ink);color:var(--on-ink);
  font:500 16px/var(--lh-body) var(--sans);border:1px solid transparent;border-radius:var(--r-pill);cursor:pointer;text-decoration:none;
  transition:background-color .15s var(--ease),transform .16s cubic-bezier(.23,1,.32,1)}
.btn:hover{background:#0c241d}
.btn:active{transform:scale(.97)}
.btn[disabled],.btn[aria-disabled="true"]{background:var(--control);cursor:default;transform:none}
.btn-row{display:flex;align-items:center;gap:24px;flex-wrap:wrap}

/* ---------- header ---------- */
.site-head .head-in{display:flex;align-items:center;gap:32px;min-height:72px}
.brand{display:inline-flex;flex:none;color:var(--ink);text-decoration:none}
.brand .logo{height:22px;width:auto;display:block}
.nav{margin-left:auto;display:flex;gap:32px;align-items:center}
/* navigation: the sans at 500, 14 px (theirs: 14 / 500 / +0.005em) */
.nav a{position:relative;font-size:var(--fs-small);font-weight:500;line-height:var(--lh-body);color:var(--text);text-decoration:none;padding:4px 0;white-space:nowrap}
.nav a:hover{color:var(--ink)}
.nav a[aria-current]{color:var(--ink)}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;border-radius:var(--r-pill);background:var(--ink);transform:scaleX(0);
  transform-origin:left;transition:transform .2s cubic-bezier(.23,1,.32,1)}
.nav a[aria-current]::after{transform:none}
@media (hover:hover) and (pointer:fine){.nav a:not([aria-current]):hover::after{transform:none;background:var(--line)}}
.nav-short{display:none}                                        /* v2/shell.py nav_link(): the short label, below 1024 px */
/* Sign in / Sign up free (v2/shell.py, Task 12), right of the places. Sign in has the same underline as a place in the menu.
   members.css cuts a long company name with overflow:hidden, which would clip an ::after, so the line is a background at the foot
   of the padding box (8px under the text, as .nav a::after). Sign up free is an outline pill: the page's one solid button stays
   the one in the page. On a phone only Sign in stays (below). */
.acct{display:flex;align-items:center;gap:20px;margin:0;flex:none;min-width:0}
.m-link{--pad:0px;display:inline-block;padding:4px 0 12px;margin-bottom:-8px;
  background:linear-gradient(var(--ink),var(--ink)) left 0 bottom 0/0 2px no-repeat;transition:background-size .2s cubic-bezier(.23,1,.32,1)}
.m-link .ic{width:18px;height:18px;margin-right:6px;vertical-align:-3px}
.m-up{display:inline-flex;align-items:center;min-height:36px;padding:0 16px;border:1px solid var(--ink);border-radius:var(--r-pill);
  font:500 14px/var(--lh-body) var(--sans);color:var(--ink);text-decoration:none;white-space:nowrap;
  transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out),transform .16s cubic-bezier(.23,1,.32,1)}
.m-up:hover{background:var(--ink);color:var(--on-ink)}
.m-up:active{transform:scale(.97)}
.m-up[hidden]{display:none}
.m-link[aria-current]{background-size:calc(100% - var(--pad)) 2px}
@media (hover:hover) and (pointer:fine){.m-link:not([aria-current]):hover{background-image:linear-gradient(var(--line),var(--line));background-size:calc(100% - var(--pad)) 2px}}
.lang{flex:none;font-size:var(--fs-small);font-weight:500;line-height:var(--lh-body);color:var(--muted);text-decoration:none;white-space:nowrap}
.lang:hover{color:var(--ink)}

/* ---------- page head: path, title, one sentence, the page's ledger line ---------- */
.page-head{padding-top:72px}
.crumbs{font-size:14px;line-height:var(--lh-body);color:var(--muted);margin-bottom:12px}
.crumbs a{color:var(--muted);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}
.crumbs a:hover{color:var(--ink)}
.crumbs .sep{margin:0 4px;color:var(--muted)}
.page-head h1+.lede,.page-head h1+.lede-lg{margin-top:16px}
.page-head .lede,.page-head .lede-lg{max-width:720px}
.ledger{margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;
  display:flex;flex-wrap:wrap;gap:12px 40px}
.ledger>div{display:flex;flex-direction:column;min-width:0}
.ledger .k{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.ledger .v{font-size:16px;line-height:var(--lh-body);color:var(--text);overflow-wrap:anywhere}   /* a 66-letter web address wraps */
.ledger .v.mono{font-size:14px;color:var(--text)}

/* ---------- form controls ---------- */
.label{display:block;font-size:16px;line-height:var(--lh-body);color:var(--text);margin-bottom:8px}
.input{display:block;width:100%;height:48px;border:1px solid var(--control);border-radius:var(--r-2);background:transparent;padding:0 16px;
  font-size:18px;line-height:var(--lh-body);color:var(--text);-webkit-appearance:none;appearance:none}
textarea.input{height:auto;min-height:144px;padding:12px 16px;resize:vertical}
.input::placeholder{color:var(--muted)}
.input:focus{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.input[aria-invalid="true"]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.hint{font-size:14px;line-height:var(--lh-body);color:var(--muted);margin-top:8px}
.hint.err,.err{color:var(--error)}
.check{display:flex;gap:12px;align-items:flex-start;font-size:16px;line-height:var(--lh-body);cursor:pointer}
.check input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--ink);flex:none;border-radius:6px}
.searchbar{display:flex;gap:12px}
.searchbar .input{flex:1;min-width:0}
/* the one email or search box of a screen is a pill, as Wealthsimple's email field (sign-in's address, the company finder); every
   other field keeps --r-2 */
.searchbar .input,.mb-login .input,.c1-find .input{border-radius:var(--r-pill);padding:0 24px}

/* the one "pick one" control: a rail with a 3px ink mark above the chosen option.
   Every option is always in sight. A bar that does not fit first closes its gaps from 16 to 8px (.is-tight; 4px for a bar of
   one- or two-letter options, .is-tighter), when that keeps it on one line (site.js fit). Otherwise it wraps onto a second
   rail. Rows are --gap apart (an option is 12+24+4px tall, so a row's rail and mark sit 12px over its own options and 24px
   under the row above: a pick on row 2 never reads as the option above it). The first rail is the inset shadow; the gradient
   draws one more at the top of each further row, every --row (the pitch, which site.js measures), from the box's own height,
   so a one-row bar draws none. site.js moves the mark across rows (placeMark). */
.toggle{--gap:20px;--row:60px;position:relative;display:flex;flex-wrap:wrap;align-items:flex-start;row-gap:var(--gap);padding-top:0;box-shadow:inset 0 1px 0 var(--line);
  background:repeating-linear-gradient(to bottom,transparent 0 calc(var(--row) - 1px),var(--line) calc(var(--row) - 1px) var(--row))
    0 1px/100% calc(100% - var(--row) + var(--gap)) no-repeat content-box}
.toggle button{position:relative;flex:none;min-width:24px;text-align:center;background:none;border:0;margin:0 16px 0 0;
  padding:12px 0 4px;font-size:16px;line-height:var(--lh-body);color:var(--text);cursor:pointer;white-space:nowrap}
.toggle button:last-of-type{margin-right:0}                     /* last-of-type: site.js appends the mark (<i>) after the options */
/* the whole rail answers a tap: each option's hit area reaches halfway into the gaps beside it */
.toggle button::after{content:"";position:absolute;top:0;bottom:0;left:-8px;right:-8px}
.toggle button:first-child::after{left:0}
.toggle button:last-of-type::after{right:0}
/* a bar closing its gaps before it wraps (site.js fit): the tap areas still meet halfway */
.toggle.is-tight button{margin-right:8px}
.toggle.is-tight button::after{left:-4px;right:-4px}
.toggle.is-tighter button{margin-right:4px}
.toggle.is-tighter button::after{left:-2px;right:-2px}
.toggle.is-tight button:last-of-type,.toggle.is-tighter button:last-of-type{margin-right:0}
.toggle.is-tight button:first-child::after,.toggle.is-tighter button:first-child::after{left:0}
.toggle.is-tight button:last-of-type::after,.toggle.is-tighter button:last-of-type::after{right:0}
.toggle button:hover{color:var(--ink)}
.toggle button:focus-visible{outline-offset:2px}
.toggle button[aria-checked="true"]{color:var(--ink);font-weight:500}
.toggle button[aria-checked="true"]::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:var(--r-pill);background:var(--ink)}
.toggle.has-mark button::before{display:none}
@media (hover:hover) and (pointer:fine){
  .toggle.has-mark button:not([aria-checked="true"]):hover::before{display:block;content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:var(--r-pill);background:var(--line)}
}
.toggle .mark{position:absolute;top:0;left:0;height:3px;width:0;border-radius:var(--r-pill);background:var(--ink);pointer-events:none;
  transition:transform .18s var(--ease),width .18s var(--ease)}
.toggle-label{font-size:14px;line-height:var(--lh-body);color:var(--muted);margin-bottom:8px}

/* "More" is one row that opens one level, never nested */
.more{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.more+.more{border-top:0}
.more-btn{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;background:none;border:0;padding:12px 0;
  font-size:16px;line-height:var(--lh-body);color:var(--text);text-align:left;cursor:pointer}
.more-btn:hover{color:var(--ink)}
.more-sign{flex:none;width:16px;text-align:center;color:var(--ink)}
.more-body{padding:8px 0 24px}

/* ---------- records: rows split by thin lines, never cards ---------- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
/* a table wider than its box fades at the edge it continues past (site.js sets is-over / is-start / is-end), so a phone shows
   that it scrolls sideways */
.scroll-x.is-over:not(.is-end){-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 40px),transparent)}
.scroll-x.is-over.is-end:not(.is-start){-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 40px),transparent)}
.scroll-x.is-over:not(.is-start):not(.is-end){-webkit-mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(to right,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.table{width:100%;border-collapse:collapse;font-size:16px;line-height:var(--lh-body)}
.table th{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400;text-align:left;padding:8px 16px 8px 0;border-bottom:1px solid var(--line);white-space:nowrap}
.table td{padding:10px 16px 10px 0;border-bottom:1px solid var(--line);vertical-align:top}
.table th:last-child,.table td:last-child{padding-right:0}
.table .num{text-align:right}
.table td.mono{font-size:14px}
.table a{color:var(--ink)}
.kv{border-top:1px solid var(--line)}
.kv-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.kv-row>:first-child{color:var(--text)}
.kv-row>:last-child{text-align:right}
.rows>li,.row{padding:16px 0;border-bottom:1px solid var(--line)}
.rows{border-top:1px solid var(--line)}
.rule-ink{border:0;border-top:2px solid var(--ink);border-radius:var(--r-pill);margin:0}

/* ---------- not-yet-published values: grey dashed placeholder ---------- */
.ph{display:inline-block;background:var(--tint);border:1px dashed #a4aca5;border-radius:var(--r-1);color:var(--text);
  padding:0 6px;font:400 14px/var(--lh-body) var(--sans);white-space:nowrap;vertical-align:middle}
.ph-lg{font:var(--w-num) 32px/var(--lh-head) var(--sans);padding:0 8px;color:var(--ink);letter-spacing:var(--ls-sans)}
.on-ink .ph,.result .ph{background:transparent;border-color:var(--on-ink-muted);color:var(--on-ink)}

/* ---------- the five areas mark and the tier name ---------- */
.marks{display:inline-flex;gap:3px;vertical-align:middle}
.marks i{display:block;width:10px;height:10px;border:1.5px solid var(--ink);border-radius:3px}
.marks i.on{background:var(--ink)}
.marks i.x{background:linear-gradient(135deg,transparent 42%,var(--ink) 42%,var(--ink) 58%,transparent 58%)}
.marks i.na{border:0;height:1.5px;margin-top:4px;border-radius:var(--r-pill);background:var(--control)}
.area-sq{display:inline-block;width:11px;height:11px;border:1.5px solid var(--ink);border-radius:3px;flex:none}
.area-sq.on{background:var(--ink)}
.area-sq.x{background:linear-gradient(135deg,transparent 42%,var(--ink) 42%,var(--ink) 58%,transparent 58%)}
.area-sq.na{border:0;height:1.5px;width:9px;border-radius:var(--r-pill);background:var(--control);margin-top:5px}
.tier{font:500 16px/var(--lh-body) var(--sans);color:var(--ink);white-space:nowrap}
.tier-rule{font-family:var(--mono);font-size:12px;line-height:var(--lh-body);color:var(--muted);margin-left:12px}

/* ---------- the green result block (估价结果) ---------- */
.result{background:var(--ink);color:var(--on-ink);padding:32px 24px 28px;border-radius:var(--r-4)}
.result a{color:var(--on-ink)}
.r-desc{font-size:16px;line-height:var(--lh-body);color:var(--on-ink)}
.r-rows{margin-top:20px}
.r-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:10px 0;border-bottom:1px solid var(--line-on-ink)}
.r-row:last-child{border-bottom:0}
.r-row .k{color:var(--on-ink-muted)}
.r-row .k small{display:block;font-size:14px;line-height:var(--lh-body)}
.r-row .v{color:var(--on-ink);text-align:right;white-space:nowrap}
.r-row .v.gold{color:var(--gold)}
.r-total{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-top:2px solid var(--on-ink);padding:20px 0 16px;margin-top:4px}
.r-total .k{font-size:16px;line-height:var(--lh-body);padding-bottom:10px}
.r-big{font-family:var(--sans);font-weight:var(--w-num);color:var(--on-ink);white-space:nowrap;font-variant-numeric:lining-nums tabular-nums}
.r-big .cur{font-size:32px;line-height:var(--lh-head);margin-right:10px;letter-spacing:var(--ls-sans)}
.r-big .amt{font-size:76px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
.r-bar{position:relative;height:2px;border-radius:var(--r-pill);background:var(--on-ink)}
.r-bar i{position:absolute;right:0;top:0;bottom:0;border-radius:var(--r-pill);background:var(--gold)}
.r-note{font-size:14px;line-height:var(--lh-body);color:var(--on-ink-muted);margin-top:12px}

/* ---------- certificate specimen (home teaser, certificate page) ---------- */
.cert{background:var(--sheet);border:1px solid var(--line);border-radius:var(--r-4);overflow:hidden;color:var(--text)}
.cert-head{display:flex;justify-content:space-between;align-items:center;background:var(--ink);color:var(--on-ink);padding:18px 24px;border-bottom:2px solid var(--gold)}
.cert-head .logo{height:20px;width:auto;color:var(--on-ink);display:block}
.cert-head .tag{font-size:14px;line-height:var(--lh-body);color:var(--on-ink-muted)}
.cert-body{padding:28px 24px 32px}
.cert-title{font:var(--w-head) 28px/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:var(--ink)}
.cert-no{font-family:var(--mono);font-size:12px;line-height:var(--lh-body);color:var(--muted);margin-top:12px;letter-spacing:.02em}
.cert-cols{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:28px}
.cert-k{font-size:14px;line-height:var(--lh-body);color:var(--text)}
.cert-v{font-size:18px;line-height:var(--lh-body);color:var(--ink);margin-top:4px}
.cert-s{font-size:12px;line-height:var(--lh-body);color:var(--muted)}

/* ---------- footer ---------- */
.site-foot{background:var(--ink);color:var(--on-ink);padding-block:72px 64px}
.site-foot a{color:var(--on-ink);text-decoration:none}
.site-foot a:hover{text-decoration:underline;text-underline-offset:4px}
.site-foot .brand{color:var(--on-ink)}
.foot-top{display:flex;justify-content:space-between;align-items:center;gap:24px}
.foot-motto{font:var(--w-head) var(--fs-h2)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:var(--on-ink)}
.foot-cols{display:grid;grid-template-columns:235px 445px minmax(0,1fr);margin-top:48px}
.foot-list li+li{margin-top:8px}
.foot-list a{font-size:var(--fs-body);line-height:var(--lh-body)}     /* theirs: footer links 18 / 400 */
.foot-meta{font-size:14px;line-height:var(--lh-body);color:var(--on-ink-muted)}
.foot-meta p+p{margin-top:8px}
.foot-meta .foot-mail{color:var(--on-ink)}

/* find a company: the one candidate list, under the box, pushing the page down (find.js) */
.cands{border-top:0;margin-top:8px}
.cands li{display:block;padding:10px 12px;border-bottom:1px solid var(--line);border-radius:var(--r-2);cursor:pointer}
/* the highlighted row: tint plus an ink bar at its left edge, its second line darker so it still reads on the tint */
.cands li[aria-selected="true"]{background:var(--tint);box-shadow:inset 3px 0 0 var(--ink)}
.cands li[aria-selected="true"] .cp{color:var(--text)}
.cands .cn{display:block;font-size:16px;line-height:var(--lh-body);color:var(--ink);overflow-wrap:anywhere}
.cands .cp{display:block;font-size:14px;line-height:var(--lh-body);color:var(--muted);overflow-wrap:anywhere}
.cands li[aria-disabled="true"]{cursor:default}
.cands li[aria-disabled="true"] .cn{color:var(--muted)}


/* ---------- tablet and phone ---------- */
@media (max-width:1100px){
  .nav{gap:22px}
  .site-head .head-in{gap:24px}
}
/* tablets (and phones held sideways): the long place names give way to their short labels, so the header stays one row */
@media (max-width:1023px){
  .nav a.nav-alt{font-size:0;line-height:0}
  .nav a.nav-alt .nav-short{display:inline;font-size:var(--fs-small);line-height:var(--lh-body)}
}
@media (max-width:900px){
  .cols,.cols-even,.cols-intro{grid-template-columns:minmax(0,1fr);gap:40px}
  .foot-cols{grid-template-columns:1fr 1fr}
  .foot-meta{grid-column:1/-1;margin-top:32px}
}
/* phones: logo, Members and language on the first row, the five places on their own row below, every link 44px tall. The
   places never scroll sideways: on the narrowest phones they wrap to a second row. */
@media (max-width:760px){
  /* logo | Members | language on the first row, the places on the second: a grid, so a long company name shrinks in its own
     cell (members.css cuts it with an ellipsis) instead of pushing the language link onto a row of its own, and Members is a
     tap area only as wide as its words (the blank space left of it opens nothing) */
  .site-head .head-in{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand mem lang" "nav nav nav";
    align-items:center;gap:0;min-height:0;padding-top:4px}
  .site-head .brand{grid-area:brand;padding:11px 0}
  .brand .logo{height:22px}
  .site-head .lang{grid-area:lang;padding:10px 0;min-width:44px;text-align:right}
  /* Sign in only, an icon and the word (the same page signs a new address up); its underline sits 4px under the words, as the
     places' below */
  .site-head .acct{grid-area:mem;justify-self:end;max-width:min(100%,170px)}
  .site-head .m-up{display:none}
  .site-head .m-link{--pad:16px;min-width:0;margin-bottom:0;text-align:right;padding:10px 0 10px 16px;background-position:right 0 bottom 4px}
  .site-head .nav{grid-area:nav;width:100%;margin:0;gap:0 12px;flex-wrap:wrap;justify-content:space-between}
  .nav a{padding:12px 0}
  .nav a::after{bottom:6px}
  .page-head{padding-top:40px}
  .section{margin-top:48px}
  .section-sm{margin-top:56px}
  main{padding-bottom:64px}
  .ledger{gap:12px 24px}
  .btn-block-m{display:flex;width:100%}
  .searchbar{flex-direction:column}
  .searchbar .input{flex:none}
  .searchbar .btn{width:100%}
  .r-big .amt{font-size:clamp(44px,17vw,64px);line-height:1}
  .foot-top{flex-direction:column;align-items:flex-start;gap:28px}
  .foot-cols{grid-template-columns:1fr;margin-top:28px}
  .foot-list{display:flex;flex-wrap:wrap;gap:8px 20px}
  .foot-list li+li{margin-top:0}
  .foot-list+.foot-list{margin-top:20px}
  .foot-meta{margin-top:32px}
}
@media (max-width:359px){
  .site-head .nav{justify-content:flex-start;column-gap:16px}     /* when the places wrap, both rows start at the left */
  .r-total{flex-wrap:wrap}                                        /* a four-digit figure goes under its label */
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* ---------- added by the foundation (2026-11-14 dev version) ---------- */
/* Chinese pages: the same stacks; Latin and figures in Jost and GDCS Serif, Han characters in GDCS Sans SC and GDCS Serif SC (their
   unicode-range). Tracking is for Latin only (html:lang(zh) sets both tracking tokens to 0, :root above). On an English page a few
   Chinese words (the language link "中文") use the system face, so the page never loads a 1 MB Chinese font for them. */
html:lang(en) [lang|="zh"]{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
/* a button that reads as a text link: "Try again" under a box that did not load */
.link-btn{display:inline;background:none;border:0;padding:0;margin:0;font:inherit;color:var(--ink);cursor:pointer;border-radius:var(--r-1);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.link-btn:hover{text-decoration-color:var(--control)}
.hint.err .link-btn{color:var(--error)}
/* the second script a company's name is written in, in the find list */
.cands .cn span{color:var(--muted);margin-left:6px}

/* ---------- motion beyond the first screen (Jack 2026-11-15). Short, once, never on a loop; transform and opacity only.
   Off under prefers-reduced-motion (the block above). An automated browser (navigator.webdriver: site.js sets html.no-motion)
   gets no scroll reveal, so a full-page screenshot shows every block; the page head's entrance still runs.
   - every inner page's head settles in when the page opens: path, title, sentence, ledger, 40 ms apart
   - site.js gives a block that starts below the first screen .rv, and .rv-in when it scrolls into view (then takes both off)
   - [data-count] on an element whose only content is text with one figure counts it up from 0 the first time it is in view
     (GDCS_UI.count / GDCS_UI.tween); never inside an aria-live region ---------- */
@keyframes gdcs-rise{from{opacity:.4;transform:translateY(10px)}to{opacity:1;transform:none}}
.page-head>*{animation:gdcs-rise .32s cubic-bezier(.23,1,.32,1) both}
.page-head>:nth-child(2){animation-delay:40ms}
.page-head>:nth-child(3){animation-delay:80ms}
.page-head>:nth-child(n+4){animation-delay:120ms}
.rv{opacity:0;transform:translateY(16px)}
.rv.rv-in{opacity:1;transform:none;transition:opacity .4s cubic-bezier(.23,1,.32,1),transform .4s cubic-bezier(.23,1,.32,1)}
[data-count]{font-variant-numeric:lining-nums tabular-nums}
@media print{.rv{opacity:1;transform:none}}
/* motion library (src2/js/motion.js): scroll-driven parallax where the browser has it (the script falls back to IntersectionObserver
   when it has not), a pinned story, a snapping row. Under reduced motion the kill switch above and html.no-motion switch them off. */
@keyframes gdcs-par{from{transform:translate3d(0,calc(var(--m-par,0px)*-1),0)}to{transform:translate3d(0,var(--m-par,0px),0)}}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .m-parallax{animation:gdcs-par linear both;animation-timeline:view()}
    html.no-motion .m-parallax{animation:none}
  }
}
.m-marquee{width:max-content;display:flex}
/* scroll reveal: the CSS view() timeline where supported; otherwise motion.js onEnter adds .rv-in (class .m-reveal-js is set by the script) */
@keyframes gdcs-reveal{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    .m-reveal{animation:gdcs-reveal linear both;animation-timeline:view();animation-range:entry 0% entry 60%}
    html.no-motion .m-reveal{animation:none}
  }
}
.m-reveal.m-reveal-js{opacity:0;transform:translate3d(0,16px,0)}
.m-reveal.m-reveal-js.rv-in{opacity:1;transform:none;transition:opacity var(--dur-3) var(--ease-out),transform var(--dur-3) var(--ease-out)}
html.no-motion .m-reveal.m-reveal-js{opacity:1;transform:none}
.m-pin>*{opacity:.35;transition:opacity var(--dur-3) var(--ease-out)}
.m-pin>.is-on{opacity:1}
html.no-motion .m-pin>*,.m-pin.m-static>*{opacity:1;transition:none}
.m-snap{display:flex;gap:var(--space-4);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.m-snap::-webkit-scrollbar{display:none}
.m-snap>*{flex:0 0 auto;scroll-snap-align:start}

/* ---------- pictures (Task 29, Jack 2026-11-24 「每页都配图」): the photographs tools/make_photos.py made, three for each kind
   (v2/ui.py pic()). A picture holds its shape before it loads (its width and height, or the aspect-ratio its place gives it), on the
   tint, with a large panel's corners ---------- */
.pic{display:block;width:100%;height:auto;object-fit:cover;border-radius:var(--r-4);background:var(--tint)}
.pic-band{aspect-ratio:12/5}                                     /* a text page's picture: the 16:9 one as a wide band */
@media (max-width:760px){.pic-band{aspect-ratio:16/9}}

/* ---------- a row the Wealthsimple way (Task 29): its name across, then the words on one side and the picture on the other, the
   side alternating from row to row (.is-flip); on a phone one column: name, words, picture, action ---------- */
.ws-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"name name" "text pic" "go pic";
  grid-template-rows:auto auto 1fr;column-gap:72px;align-items:start}
.ws-row.is-flip{grid-template-areas:"name name" "pic text" "pic go"}
.ws-name{grid-area:name;min-width:0}
.ws-text{grid-area:text;min-width:0}
.ws-pic{grid-area:pic;min-width:0}
.ws-go{grid-area:go;min-width:0}
@media (max-width:900px){
  .ws-row,.ws-row.is-flip{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "text" "pic" "go";grid-template-rows:none}
  .ws-row .ws-pic{margin-top:32px}
}

/* ---------- small shared pieces ---------- */
.nw{white-space:nowrap}                                          /* a code or a grade that must not break: GDCS/T—2027 */
@media (max-width:1023px){.br-wide{display:none}}                /* <br class="br-wide">: a line break for wide screens only */
p.small,p.hint{max-width:720px}                                  /* fine print keeps a readable line length */

/* Chinese at 13px reads small: fine print on Chinese pages is 14px */
html:lang(zh) .small,html:lang(zh) .hint,html:lang(zh) .ledger .k,html:lang(zh) .crumbs,html:lang(zh) .toggle-label,
html:lang(zh) .cert-k,html:lang(zh) .cert-s,html:lang(zh) .r-note,html:lang(zh) .r-row .k small,html:lang(zh) .foot-meta,
html:lang(zh) .c-free,html:lang(zh) td.c1-src,html:lang(zh) .c1-ds-lic,html:lang(zh) .table th{font-size:var(--fs-small);line-height:var(--lh-body)}

/* Windows high-contrast mode drops backgrounds and shadows: the chosen option keeps a mark and an underline */
@media (forced-colors:active){
  /* the rails of a wrapped bar are a background, which this mode drops: the bar keeps its own colours (its options do not) and
     draws them in CanvasText */
  .toggle{border-top:1px solid CanvasText;box-shadow:none;forced-color-adjust:none;
    background-image:repeating-linear-gradient(to bottom,transparent 0 calc(var(--row) - 1px),CanvasText calc(var(--row) - 1px) var(--row))}
  .toggle>*{forced-color-adjust:auto}
  .toggle .mark,.toggle button[aria-checked="true"]::before{forced-color-adjust:none;background:Highlight}
  .toggle button[aria-checked="true"]{text-decoration:underline 2px;text-underline-offset:4px}
}

/* ---------- the seven index blocks (v2/valuation.py bar_html; Jack 2026-11-15 「用醒目的色块来代替繁琐的文字」) ----------
   One bar, each block as wide as its index weight. Deep green: independently corroborated. Grey: the company's own report. Empty
   frame: nothing found. Rust: contradicted. Hatched frame: not assessed. Gold is kept for money (the premium), never for a block. */
.pbar{display:flex;gap:4px;align-items:stretch}
.pbar .pc{display:flex;flex-direction:column;gap:6px;min-width:0}
.pc-w13{flex:13 1 0}.pc-w12{flex:12 1 0}.pc-w15{flex:15 1 0}.pc-w30{flex:30 1 0}.pc-w10{flex:10 1 0}.pc-w5{flex:5 1 0}
.pbar .pc i{display:block;height:56px;border-radius:var(--r-1);background:var(--tint)}
.pbar .pc b{font:500 12px/var(--lh-body) var(--sans);color:var(--muted);white-space:nowrap}
.pc.st-1 i,.lg.st-1 i{background:var(--ink)}
.pc.st-2 i,.lg.st-2 i{background:var(--line)}
.pc.st-0 i,.lg.st-0 i{background:transparent;box-shadow:inset 0 0 0 1px var(--line)}
.pc.st-x i,.lg.st-x i{background:var(--error)}
.pc.st-n i,.lg.st-n i{background:repeating-linear-gradient(135deg,transparent 0 6px,var(--tint) 6px 8px);box-shadow:inset 0 0 0 1px var(--line)}
.pleg{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:14px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.pleg .lg{display:inline-flex;align-items:center;gap:6px}
.pleg .lg i{display:inline-block;width:12px;height:12px;border-radius:3px}
/* light up once: the corroborated blocks fill in one after another (the motion says: proof found) */
@keyframes pc-lit{from{background:var(--line)}to{background:var(--ink)}}
.pbar .pc.st-1 i{animation:pc-lit .5s var(--ease) both}
.pbar .pc:nth-child(2).st-1 i{animation-delay:.08s}.pbar .pc:nth-child(3).st-1 i{animation-delay:.16s}
.pbar .pc:nth-child(4).st-1 i{animation-delay:.24s}.pbar .pc:nth-child(5).st-1 i{animation-delay:.32s}
.pbar .pc:nth-child(6).st-1 i{animation-delay:.4s}.pbar .pc:nth-child(7).st-1 i{animation-delay:.48s}
.pbar-on-ink .pc i{background:var(--line-on-ink)}
.pbar-on-ink .pc.st-1 i{background:var(--on-ink);animation-name:pc-lit-ink}
.pbar-on-ink .pc.st-0 i,.pbar-on-ink .pc.st-n i{background:transparent;box-shadow:inset 0 0 0 1px var(--line-on-ink)}
.pbar-on-ink .pc b{color:var(--on-ink-muted)}
@keyframes pc-lit-ink{from{background:var(--line-on-ink)}to{background:var(--on-ink)}}
@media (prefers-reduced-motion:reduce){.pbar .pc.st-1 i{animation:none}}
html.no-motion .pbar .pc.st-1 i{animation:none}

/* ---------- smoothness (Task 17): page transitions, shared elements, skeletons ---------- */
@media (prefers-reduced-motion:no-preference){
  @view-transition{navigation:auto}
  ::view-transition-group(root),::view-transition-old(root),::view-transition-new(root){animation-duration:var(--dur-2);animation-timing-function:var(--ease-out)}
  html.no-motion::view-transition-group(*),html.no-motion::view-transition-old(*),html.no-motion::view-transition-new(*){animation:none!important}
}
/* an element that keeps its identity across pages: data-vt="item-<id>" sets --vt-name (site.js), the class reads it */
.vt-media{view-transition-name:var(--vt-name,none)}
/* a media box reserves its space before the picture arrives */
.ar-1x1{aspect-ratio:1/1}.ar-4x3{aspect-ratio:4/3}.ar-16x9{aspect-ratio:16/9}
.sk{position:relative;overflow:hidden;background:var(--tint);border-radius:var(--r-1)}
.sk::after{content:"";position:absolute;inset:0;transform:translate3d(-100%,0,0);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent)}
@keyframes gdcs-shimmer{to{transform:translate3d(100%,0,0)}}
@media (prefers-reduced-motion:no-preference){.sk::after{animation:gdcs-shimmer 1.4s var(--ease-in-out) infinite}}
html.no-motion .sk::after{animation:none}
@media (prefers-reduced-motion:reduce){.sk::after{animation:none!important}}

/* ---------- icons (src2/assets/icons.svg: Lucide, ISC licence, inline once per page; v2/ui.py icon() and glyph(), GDCS_UI.icon) ----------
   24-unit strokes, 1.75 wide (Task 19: a little lighter beside the geometric sans), round caps and joins, no fill; the colour is the text's. An icon alone is a button named by aria-label
   and title; the first filter, more and lock on a page carry their one word beside the icon (.ic-word). */
.ic-sprite{position:absolute;width:0;height:0;overflow:hidden}          /* the page's one inline sprite: symbols only, never drawn */
.ic{display:inline-block;width:20px;height:20px;flex:none;vertical-align:-4px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.ic-lg{width:24px;height:24px}
.ic-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--r-pill);
  background:transparent;color:var(--ink);cursor:pointer;transition:background-color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.ic-btn:hover{background:var(--tint)}
.ic-btn:active{transform:scale(.92)}
.ic-btn[disabled]{opacity:.35;cursor:default;transform:none;background:transparent}
.ic-word{display:inline-flex;align-items:center;gap:8px}
.btn .ic{margin:0 8px 0 -4px}
html.no-motion .ic-btn{transition:none}

/* ---------- the sign-up box (v2/shell.py signup_box; Jack 2026-11-25: 「首页就是有一个框框说注册」) ----------
   An ink box (green leads) at the end of Home's Trade, of the product pages and of Join: the heading on the left, the email box and
   Sign up free on the right, both round; stacked on a phone, the button across. */
.su-sec{margin-top:128px}
.su{--focus:var(--on-ink);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);align-items:center;gap:24px 48px;padding:48px;
  border-radius:var(--r-4);background:var(--ink);color:var(--on-ink)}
.su-h{margin:0;color:var(--on-ink)}
.su-f{display:flex;gap:12px;min-width:0}
.su-in{flex:1 1 auto;min-width:0;padding:0 20px;border-color:color-mix(in srgb,var(--on-ink) 50%,var(--ink));border-radius:var(--r-pill);background:transparent;color:var(--on-ink)}
.su-in::placeholder{color:var(--on-ink-muted)}
.su-in:focus{border-color:var(--on-ink);box-shadow:inset 0 0 0 1px var(--on-ink)}
.su-go{flex:none}
@media (max-width:900px){
  .su-sec{margin-top:80px}
  .su{grid-template-columns:minmax(0,1fr);padding:32px 24px}
}
@media (max-width:560px){
  .su{padding:28px 20px}
  .su-f{flex-direction:column}
  .su-go{width:100%}
}

/* gdcs.ai v2 — the certificate group (v2/cert.py): P06 certificate, P07 verify, P08 record, P09 standards, P10 full text, P11 tiers,
   and the moved live-commerce page. From the mockup's css/b-cert.css (2026-11-14); the mockup scoped page-wide overrides by page
   number on <body>, which the site has not, so they hang on each page's own wrapper class here (bx-verify, rec, bx-hub, sf, ti-…).
   Prefixes: ce- certificate, v- verify, rec- record, s- standards list, sf- standard full text, ti- tiers, m- moved page.
   The application form's styles are left out: at launch there is no form (dev-brief.md). */

/* ---------- group-wide, my pages only ---------- */
:is(.ti-table,.rec-grade) .marks i:not(.on):not(.x):not(.na){border-color:var(--control)}
.v-msg.err a,.v-msg.err .link-btn{color:var(--error);text-underline-offset:3px}
.nw{white-space:nowrap}
/* headings balance their lines as everywhere else (site.css h1,h2,h3): no word left alone on a last line (V24) */
:is(.ce-top,.ce-row,.v-sec,.rec,.ti-head,.ti-table,.ti-intro,.ti-change,.ti-rules) p,.ti-rule{text-wrap:pretty}   /* nor a lone 续。 on a paragraph's */

/* the first screen of /certificate/ has no .page-head, so it settles in the way every other inner page's head does (site.css
   gdcs-rise, 40 ms apart; off under prefers-reduced-motion); the specimen card last */
.ce-intro>*,.ce-spec{animation:gdcs-rise .32s cubic-bezier(.23,1,.32,1) both}
.ce-intro>:nth-child(2){animation-delay:40ms}
.ce-intro>:nth-child(3){animation-delay:80ms}
.ce-intro>:nth-child(n+4){animation-delay:120ms}
.ce-spec{animation-delay:160ms}

/* ---------- P06 certificate ---------- */
.ce-top{display:grid;grid-template-columns:minmax(0,480fr) minmax(0,640fr);column-gap:80px;align-items:start;padding-top:72px;
  grid-template-areas:"intro spec" "says spec";grid-template-rows:auto 1fr}
.ce-intro{grid-area:intro}
.ce-says{grid-area:says;align-self:start;margin-top:72px}
.ce-spec{grid-area:spec}
.ce-status{margin-top:24px;font-size:16px;line-height:var(--lh-body);color:var(--ink)}
.ce-intro .lede,.ce-says .lede{margin-top:24px}
.ce-status+.lede{margin-top:20px}
.ce-links{margin-top:28px;display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 24px;font-size:18px;line-height:var(--lh-body)}
.ce-links a:first-child{font-size:16px}
.ce-says h2+.lede{margin-top:20px}
.ce-says .lede+.lede{margin-top:16px}

.ce-row{display:grid;grid-template-columns:minmax(0,512fr) minmax(0,640fr);column-gap:48px;align-items:start}
.ce-row>*{min-width:0}
/* the heading on the left stays beside the list it names while that list scrolls past (V10) */
@media (min-width:901px){.ce-row>:first-child{position:sticky;top:32px}}
.ce-steps>li{padding:16px 0 20px;border-bottom:1px solid var(--line)}
.ce-steps>li:first-child{padding-top:10px}
.ce-steps p+p{margin-top:2px}
.ce-steps .t-h4{font-weight:500}
.ce-apply-note{margin-top:16px;font-size:16px;line-height:var(--lh-body)}
.ce-closed{padding-top:8px}

/* the specimen, full size */
.cert-lg .cert-head{min-height:72px;padding:0 32px}
.cert-lg .cert-head .logo{height:24px}
.cert-lg .cert-head .tag{font-size:16px;line-height:var(--lh-body)}
.cert-lg .cert-body{padding:34px 32px 36px}
.cert-lg .cert-title{font-size:32px;line-height:var(--lh-head);max-width:460px}
.cert-lg .cert-no{margin-top:8px;font-size:14px}
.cert-lg .ce-issued{margin-top:8px}
.cert-lg .cert-cols{margin-top:32px;gap:32px}
.cert-lg .cert-k{font-size:16px;line-height:var(--lh-body);color:var(--ink);font-weight:500}
.cert-lg .cert-v{font-size:18px;line-height:var(--lh-body);font-weight:500;margin-top:0}
.cert-lg .cert-s{font-size:14px;line-height:var(--lh-body)}
.ce-kv{margin-top:14px}
.ce-kv>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 0 9px;border-bottom:1px solid var(--line)}
.ce-kv dt{font-size:14px;line-height:var(--lh-body);color:var(--muted);flex:none;white-space:nowrap}   /* a label never stacks 实/验/室 (V16) */
.ce-kv dd{font-size:16px;line-height:var(--lh-body);color:var(--text);text-align:right;min-width:0}
.ce-grade{margin-top:28px}
.ce-areas li{padding:9px 0 8px;border-bottom:1px solid var(--line)}
.ce-areas li:first-child{padding-top:0}
.ce-area{font:500 16px/var(--lh-body) var(--sans);color:var(--ink)}
.ce-st{font-size:14px;line-height:var(--lh-body);color:var(--text)}
.ce-read{margin-top:40px}
.ce-read ul{margin-top:8px}
.ce-read li{font-size:14px;line-height:var(--lh-body);color:var(--text)}
.ce-read li+li{margin-top:7px}
.ce-check{margin-top:32px}
.ce-check .cert-k{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400}
.ce-check .mono{display:block;color:var(--text);font-size:14px}
.ce-cap{margin-top:12px}

/* ---------- P07 verify ---------- */
.v-sec{margin-top:56px}
.v-form .hint{margin-top:8px}
.v-form .btn{margin-top:20px}
.v-note{font-size:16px;line-height:var(--lh-body);padding-top:0;margin-top:-3px}
.v-msg-busy{color:var(--muted)}
.v-msg a{color:inherit}

/* ---------- P08 record ---------- */
.rec .page-head h1{font-variant-numeric:lining-nums tabular-nums}
.rec-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:80px;align-items:start}
.rec-grid>*{min-width:0}
.rec-rows{margin-top:16px}
.rec-rows>div{display:grid;grid-template-columns:184px minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:16px;line-height:var(--lh-body)}
.rec-rows dt{color:var(--text)} .rec-rows dd{color:var(--text)}
.rec-grid .btn{margin-top:16px}
.rec-grid.rec-main-grid{margin-top:56px}
.rec-gk{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.rec-gv{margin-top:8px}
.rec-grade .marks{margin-top:8px}
.rec-grade .marks i{width:12px;height:12px}
.rec-areas{margin-top:20px}
.rec-says{margin-top:20px;display:grid;gap:8px;color:var(--muted)}
.rec-areas th:first-child{width:40%}
.rec-areas th:nth-child(2){width:32%}
.rec-real th:first-child{width:32%}
.rec-real th:nth-child(2){width:24%}
.rec-areas td{padding:10px 16px 12px 0}
.rec-areas td:first-child{font-weight:500;color:var(--ink)}
.rec-areas td.rec-doc{font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:12px}
.rec-sha .t-h3{font-weight:500}
.rec-sha dl>div{display:grid;grid-template-columns:136px minmax(0,1fr);gap:8px;padding:12px 0 11px;border-bottom:1px solid var(--line);align-items:baseline}
.rec-sha dt{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.rec-hash{font-family:var(--mono);font-size:14px;line-height:var(--lh-body);color:var(--muted);max-width:34ch;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.rec-band{margin-top:16px;background:var(--tint);padding:8px 14px;border-radius:var(--r-2);font-size:16px;line-height:var(--lh-body);color:var(--text);max-width:720px}
.rec-print{display:none}
@media print{
  body:has(.rec){background:#fff}
  body:has(.rec) .site-head,body:has(.rec) .site-foot,body:has(.rec) .skip,
  body:has(.rec) .crumbs,body:has(.rec) .btn{display:none!important}
  body:has(.rec) main{padding-bottom:0}
  body:has(.rec) .rec-print{display:block;margin-top:24px}
  body:has(.rec) .rec-hash{max-width:none;overflow:visible;white-space:normal;word-break:break-all}
  body:has(.rec) a{text-decoration:none;color:inherit}
}

/* ---------- P09 standards ---------- */
.s-list{margin-top:56px}
/* the same split as the sections under it (.ce-row): a document's title starts where the other pages' right-hand text does (V10) */
.s-row{display:grid;grid-template-columns:minmax(0,512fr) minmax(0,640fr);column-gap:48px;padding:25px 0 23px;border-bottom:1px solid var(--line)}
.s-row>*{min-width:0}
.s-meta{font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:2px}
.s-t{font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.s-t a{text-underline-offset:4px}
.s-d{margin-top:4px;font-size:16px;line-height:var(--lh-body)}
.s-pdf{margin-top:8px;font-size:14px;line-height:var(--lh-body);color:var(--muted);display:flex;flex-wrap:wrap;gap:0 24px}
.s-pdf .link-quiet,.s-docs .link-quiet,.sf-zh .link-quiet{color:var(--muted)}
.s-docs th:last-child,.s-docs td:last-child{text-align:right}
.s-docs td{padding-top:12px;padding-bottom:12px}
.s-docs td:first-child{width:46%}
.s-docs td.s-pp{font-size:14px;line-height:var(--lh-body);color:var(--muted);white-space:nowrap;padding-top:14px}

/* ---------- P10 standard full text ---------- */
/* a long standard's title: two balanced lines across the column, not three with one word on the last (V24) */
.sf .page-head h1{max-width:none}
@media (min-width:761px) and (max-width:1100px){.sf .page-head h1{font-size:40px;line-height:var(--lh-head)}}
.sf-dl{margin-top:24px}
.sf-zh{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.sf-body{margin-top:64px}  /* one column: the contents, then the text */
.sf-body>*{max-width:720px}
.sf-toc-h{font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.sf-toc ol{margin-top:8px}
.sf-toc li{font-size:16px;line-height:var(--lh-body);color:var(--muted);padding:4px 0}
.sf-text{margin-top:40px;padding-top:32px;border-top:1px solid var(--line)}
.sf-text section{scroll-margin-top:24px}
.sf-text section+section{margin-top:20px}
.sf-text h2{font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.sf-text h2+p{margin-top:12px}
.sf-text p+p{margin-top:16px}
.sf-refs{margin-top:12px}
.sf-refs>div{display:grid;grid-template-columns:184px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}
.sf-cont{margin-top:16px}

/* ---------- P11 tiers ---------- */
.ti-head .ti-lede{margin-top:20px;max-width:720px}
.ti-sealed{margin-top:16px;font-size:14px;line-height:var(--lh-body);color:var(--ink)}
.ti-find{margin-top:24px;font-size:18px;line-height:var(--lh-body)}
.ti-table{margin-top:72px}
.ti-table .table{table-layout:fixed;min-width:940px}
.ti-table col.c1{width:23.67%} .ti-table col.c2{width:6.67%} .ti-table col.c3{width:31.33%} .ti-table col.c4{width:21.67%} .ti-table col.c5{width:8.83%} .ti-table col.c6{width:7.83%}
.ti-table .table th{border-bottom:2px solid var(--ink);padding-bottom:10px}
.ti-table .ph{font-size:16px;line-height:var(--lh-body);padding:0 8px}
.ti-table td.num{font-size:16px;line-height:var(--lh-body)}
.ti-table .ti-m{display:none}
.ti-table .table td{padding:17px 16px 17px 0;vertical-align:top}
.ti-table .table td:first-child{padding-top:16px}
.ti-name{font:500 18px/var(--lh-body) var(--sans);color:var(--ink);white-space:nowrap}
.ti-name.ti-none{font-weight:400;color:var(--muted);white-space:normal}   /* 'No tier · Registered to a person' wraps, not into T0 */
.ti-cl{font-family:var(--mono);font-size:12px;line-height:var(--lh-body);color:var(--muted)}
.ti-rule{max-width:360px}
.ti-ex{display:flex;align-items:flex-start;gap:10px;min-width:200px}
.ti-ex .marks{margin-top:6px}
.ti-dash{letter-spacing:3px;color:var(--muted);white-space:nowrap}
.ti-table td.num .ph{margin-top:0}
.ti-table th.num{text-align:right}
.ti-note{margin-top:28px;max-width:720px;font-size:16px;line-height:var(--lh-body)}
.ti-note2{margin-top:20px;max-width:720px}
:is(.ti-intro,.ti-change,.ti-rules).section{margin-top:120px}
.ti-intro h2+p{margin-top:16px}
.ti-intro>p,.ti-legend p:last-child{max-width:720px;font-size:18px;line-height:var(--lh-body)}
.ti-legend{margin-top:48px}
.ti-legend>li{display:grid;grid-template-columns:minmax(0,72fr) minmax(0,364fr) minmax(0,764fr);padding:20px 0 21px;border-bottom:1px solid var(--line);align-items:start}
.ti-legend>li>*{min-width:0}
.ti-sq{display:block;width:22px;height:22px;border:2px solid var(--ink);border-radius:6px;margin-top:1px}
.ti-sq.on{background:var(--ink)}
.ti-sq.off{border-color:var(--control)}
.ti-sq.x{background:linear-gradient(135deg,transparent 43%,var(--ink) 43%,var(--ink) 57%,transparent 57%)}
.ti-sq.na{border:0;height:2px;width:16px;border-radius:var(--r-pill);background:var(--control);margin-top:11px}
.ti-sq.none{border:0}
.ti-lk{font:500 16px/var(--lh-body) var(--sans);color:var(--ink)}
.ti-chg{margin-top:28px}
.ti-chg>li:first-child{padding-top:0}
.ti-chg>li{display:grid;grid-template-columns:minmax(0,400fr) minmax(0,800fr);padding:18px 0 18px;border-bottom:1px solid var(--line)}
.ti-chg>li>*{min-width:0}
.ti-chg p{font-size:18px;line-height:var(--lh-body)}
.ti-chg .ti-lk{font-size:18px;line-height:var(--lh-body)}
.ti-rules-line{margin-top:16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:16px;line-height:var(--lh-body)}
.ti-rules-line .ph{font-size:16px;line-height:var(--lh-body);padding:0 8px}
.ti-rules .ti-more{margin-top:12px;font-size:18px;line-height:var(--lh-body)}

/* ---------- the tiers table as stacked rows, phone and tablet (M04: below 1024 px the six columns do not fit) ---------- */
@media (max-width:1023px){
  .ti-table .table,.ti-table tbody,.ti-table tr,.ti-table td{display:block}
  .ti-table thead{display:none}
  .ti-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"name name cl" "rule rule rule" "ex biz share";
    padding:16px 0;border-bottom:1px solid var(--line);column-gap:0}
  .ti-table .table{min-width:0}
  .ti-table colgroup{display:none}
  .ti-table .table td,.ti-table .table td:first-child{border:0;padding:0}
  .ti-table td:nth-child(5),.ti-table td:nth-child(6){display:none}
  .ti-table .table td.ti-m{display:block;grid-area:biz;margin-top:8px;text-align:right}
  .ti-table td:nth-child(1){grid-area:name}
  .ti-table td:nth-child(2){grid-area:cl;text-align:right}
  .ti-table td:nth-child(3){grid-area:rule;margin-top:8px;max-width:none}
  .ti-table td:nth-child(4){grid-area:ex;margin-top:8px}
  .ti-table td:nth-child(5){grid-area:biz;margin-top:8px}
  .ti-table td:nth-child(6){grid-area:share;margin-top:8px}
  .ti-table .ti-rule{max-width:720px}
  .ti-ex{min-width:0}
}

/* ---------- tablet ---------- */
@media (max-width:900px){
  .ce-top{grid-template-columns:minmax(0,1fr);grid-template-areas:"intro" "spec" "says";grid-template-rows:none}
  .ce-spec{margin-top:40px}
  .ce-says{margin-top:72px}
  .ce-row{grid-template-columns:minmax(0,1fr);row-gap:24px}
  .s-row{grid-template-columns:minmax(0,1fr)}
  .s-t{margin-top:6px}
  .rec-grid{grid-template-columns:minmax(0,1fr);row-gap:56px}
  .rec-sha{row-gap:16px}
}

/* ---------- phone ---------- */
@media (max-width:760px){
  :where(.ce-top,.ce-row,.ti-intro,.ti-change,.ti-rules) h2{font-size:32px;line-height:var(--lh-head)}
  .rec-grade .rec-gv{font-size:24px;line-height:var(--lh-head)}
  :is(.bx-verify,.rec,.bx-hub,.sf,.bx-moved) .ledger{flex-direction:column;gap:12px}
  .rec .page-head h1{font-size:26px;line-height:var(--lh-head)}

  /* P06 */
  .ce-top{padding-top:40px}
  .ce-status{margin-top:20px}
  .ce-links{flex-direction:column;gap:20px;align-items:flex-start;margin-top:24px}
  .ce-spec{margin-top:32px}
  .cert-lg .cert-head{min-height:72px;padding:0 16px}
  .cert-lg .cert-body{padding:32px 16px 24px}
  .cert-lg .cert-cols{grid-template-columns:minmax(0,1fr);margin-top:24px;gap:32px}
  .ce-read{margin-top:32px}
  .ce-says{margin-top:36px}
  .ce-row{row-gap:20px}

  /* P07 */
  .v-sec{margin-top:32px;row-gap:24px}
  .v-form .btn{display:flex;width:100%}

  /* P08 */
  .rec-rows>div{grid-template-columns:minmax(0,1fr);gap:2px;padding:10px 0}
  .rec-grid.rec-main-grid{margin-top:32px}
  .rec-grid .btn{display:flex;width:100%;margin-top:16px}
  .rec-grid{row-gap:20px}
  .rec-areas{margin-top:12px}
  .rec-areas thead{display:none}
  .rec-areas,.rec-areas tbody,.rec-areas tr,.rec-areas td{display:block;width:auto!important}
  .rec-areas tr{padding:12px 0;border-bottom:1px solid var(--line);line-height:var(--lh-body)}
  .rec-areas td:first-child{line-height:var(--lh-body);margin-bottom:2px}
  .rec-areas td{border:0;padding:0!important}
  .rec-areas td:nth-child(2),.rec-areas td.rec-doc{display:inline;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
  .rec-areas td.rec-doc::before{content:" · "}
  .rec-areas td.rec-none{display:none}
  .rec-sha{margin-top:56px}
  .rec-sha dl>div{grid-template-columns:minmax(0,1fr);gap:4px}
  .rec-band{padding:8px 12px}

  /* P09 */
  .s-list{margin-top:52px}
  .s-row{grid-template-columns:minmax(0,1fr);padding:20px 0 24px}
  .s-row:first-child{padding-top:0}
  .s-t{margin-top:6px}
  .s-pdf{flex-direction:column;gap:4px}
  .s-docs thead{display:none}
  .s-docs .table,.s-docs tbody,.s-docs tr{display:block}
  .s-docs tr{padding:0 0 16px;border-bottom:1px solid var(--line)}
  .s-docs .table td{display:inline;border:0;padding:0;width:auto;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
  .s-docs .table td:first-child{display:block;font-size:16px;line-height:var(--lh-body);color:var(--text);margin-bottom:4px}
  .s-docs .table td.s-pp::before{content:" · "}
  .s-docs .table td:last-child{text-align:left}

  /* P10 */
  .sf-dl .btn{display:flex;width:100%}
  .sf-dl .sf-zh{display:none}
  .sf-body{margin-top:40px}
  .sf-refs>div{grid-template-columns:minmax(0,1fr);gap:2px}

  /* P11 (the stacked rows themselves: the block up to 1023 px above) */
  .ti-table{margin-top:56px}
  .ti-table .ti-m .ph,.ti-table td.ti-m{font-size:14px;line-height:var(--lh-body)}
  .ti-table td.num{font-size:14px}
  .ti-name{font-size:18px}
  .ti-rule{font-size:16px}
  .ti-ex{min-width:0;font-size:14px;line-height:var(--lh-body);gap:8px}
  .ti-ex .marks{margin-top:4px}
  .ti-legend{margin-top:32px}
  .ti-legend>li{grid-template-columns:28px minmax(0,1fr);row-gap:8px;padding:16px 0}
  .ti-legend>li>p:last-child{grid-column:1/-1;font-size:16px;line-height:var(--lh-body)}
  .ti-legend>li:has(>.ti-sq.none){grid-template-columns:minmax(0,1fr)}
  .ti-legend .ti-sq.none{display:none}
  .ti-lk{font-size:18px;line-height:var(--lh-body)}

  .ti-chg p{font-size:16px;line-height:var(--lh-body)}
  :is(.ti-intro,.ti-change,.ti-rules).section{margin-top:72px}
  .ti-sq{width:13px;height:13px;border-width:1.5px;margin-top:5px}
  .ti-sq.na{width:10px;height:1.5px;margin-top:11px}
  .ti-chg>li{grid-template-columns:minmax(0,1fr);gap:4px}
}

/* ---------- added for the site (v2/cert.py) ---------- */
/* P06: the check line is a link to the record; no specimen in the register leaves the intro alone */
.ce-check a.mono{display:block;color:var(--text);font-size:14px;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px;overflow-wrap:anywhere}
.ce-top.ce-nospec{grid-template-areas:"intro says"}
/* P07: the message under the box (cert.js) */
.v-msg a{color:inherit}
/* P08: a revoked or expired record */
.rec .rec-band{margin-top:24px}
.rec-sha dl>div:last-child .rec-hash{white-space:normal}
/* P10: the standard's text as md_to_html (build.py) writes it: #-headings, |-tables, - and 1. lists, **bold** */
.sf-text{overflow-wrap:anywhere}
.sf-text>:first-child{margin-top:0}
.sf-text h2{margin-top:40px}
.sf-text h3{margin-top:28px;font:500 16px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.sf-text h4{margin-top:20px;font:500 16px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--text)}
.sf-text :is(h2,h3,h4){scroll-margin-top:24px}
.sf-text :is(h3,h4)+p{margin-top:8px}
.sf-text p{font-size:16px;line-height:var(--lh-body)}
.sf-text p+p{margin-top:12px}
.sf-text h2+p,.sf-text h2+ul,.sf-text h2+ol,.sf-text h2+.tbl{margin-top:12px}
.sf-text :is(p,.tbl)+:is(ul,ol),.sf-text :is(ul,ol)+:is(p,.tbl),.sf-text p+.tbl,.sf-text .tbl+p,.sf-text .tbl+.tbl{margin-top:12px}
.sf-text ul,.sf-text ol{padding-left:20px}
.sf-text ul{list-style:disc} .sf-text ol{list-style:decimal}
.sf-text li{font-size:16px;line-height:var(--lh-body)}
.sf-text li+li{margin-top:4px}
.sf-text strong{font-weight:500;color:var(--ink)}
.sf-text .tbl{overflow-x:auto;-webkit-overflow-scrolling:touch}   /* a wider table fades at the edge it continues past (site.js .scroll-x) */
.sf-text table{width:100%;border-collapse:collapse;font-size:14px;line-height:var(--lh-body);overflow-wrap:normal}
.sf-text th{text-align:left;font-weight:500;color:var(--ink);padding:8px 12px 8px 0;border-bottom:1px solid var(--ink);vertical-align:bottom}
.sf-text td{padding:8px 12px 8px 0;border-bottom:1px solid var(--line);vertical-align:top;min-width:64px}
.sf-text :is(th,td):last-child{padding-right:0}
/* the moved live-commerce page */
.m-pdf{margin-top:24px;font-size:16px;line-height:var(--lh-body)}
.m-back{margin-top:24px;font-size:18px;line-height:var(--lh-body)}
@media (max-width:760px){
  .sf-text h2{margin-top:32px}
  .m-pdf{flex-direction:column;gap:4px}
  /* a three-column table (item, method, judgement) as a stack: the item, then each other cell under its column's name (M16;
     cert.py stack_tables() writes .tbl-3 and data-label) */
  .sf-text .tbl-3 thead{display:none}
  .sf-text .tbl-3 :is(table,tbody,tr,td){display:block;width:auto}
  .sf-text .tbl-3 tr{padding:12px 0 13px;border-bottom:1px solid var(--line)}
  .sf-text .tbl-3 td{border:0;padding:0;min-width:0}
  .sf-text .tbl-3 td:first-child{font-weight:500;color:var(--ink);font-size:16px;line-height:var(--lh-body)}
  .sf-text .tbl-3 td+td{margin-top:8px;font-size:16px;line-height:var(--lh-body)}
  .sf-text .tbl-3 td+td::before{content:attr(data-label);display:block;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
}

/* ---------- Chinese: Han text at 13 px reads small, so the group's fine print is 14 px on a Chinese page (V15; site.css does
   the shared classes .small, .hint, .cert-k, .cert-s). The specimen's headings keep their own 15 px. ---------- */
html:lang(zh) :is(.ce-kv dt,.ce-st,.ce-read li,.ce-cap,.rec-gk,.rec-areas td.rec-doc,.s-meta,.s-pdf,.sf-zh,.s-docs td.s-pp,.ti-sealed,
  .sf-text table){font-size:14px;line-height:var(--lh-body)}
html:lang(zh) .cert-lg .cert-k{font-size:16px;line-height:var(--lh-body)}
html:lang(zh) .ce-check .cert-k,html:lang(zh) .cert-lg .cert-s{font-size:14px;line-height:var(--lh-body)}
@media (max-width:760px){
  html:lang(zh) :is(.ti-ex,.ti-table td.num,.ti-table td.ti-m,.ti-table .ti-m .ph,.rec-areas td:nth-child(2)){font-size:14px;line-height:var(--lh-body)}
  html:lang(zh) .sf-text .tbl-3 td+td::before{font-size:14px;line-height:var(--lh-body)}
}

/* chat (Task 10, v2/members.py chat_view, src2/js/chat.js). Corners on the site's tokens: bubbles, rows and the field 12px, the sheet 24px.
   Green leads, gold is not used here. Motion: transform and opacity only (chat.js, motion.js); nothing animates while idle. */
.ch{--ch-r:var(--r-2);display:grid;grid-template-columns:minmax(260px,340px) minmax(0,1fr);gap:var(--space-5);
  margin-top:var(--space-5);height:clamp(480px,calc(100vh - 340px),780px)}
.ch-list{overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--space-1);min-height:0}
.ch-none{padding:var(--space-4);color:var(--muted)}
.ch-row{display:flex;align-items:center;gap:var(--space-3);width:100%;padding:var(--space-3);border:0;border-radius:var(--ch-r);background:transparent;
  text-align:left;cursor:pointer;color:inherit;transition:background var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.ch-row:hover{background:var(--tint)}
.ch-row:active{transform:scale(.985)}
.ch-row[aria-current]{background:var(--tint)}
.ch-thumb{flex:none;width:52px;display:block}
.ch-thumb .gd-frame{border-radius:var(--ch-r)}
.ch-rt{flex:1;min-width:0;display:flex;flex-direction:column}
.ch-title{font:500 16px/var(--lh-body) var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-name{font-size:14px;line-height:var(--lh-body);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.ch-dot{width:10px;height:10px;border-radius:var(--r-pill);background:var(--ink)}

.ch-conv{display:flex;flex-direction:column;min-height:0;min-width:0;background:var(--sheet);border-radius:var(--r-4)}
.ch-head{display:flex;align-items:center;gap:var(--space-3);padding:var(--space-3) var(--space-4);border-bottom:1px solid var(--line)}
.ch-head .ch-thumb{width:40px}
.ch-who{display:flex;flex-direction:column;min-width:0;text-decoration:none;color:inherit}
.ch-who-t{font:500 16px/var(--lh-body) var(--sans);color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ch-who-n{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.ch-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:var(--r-pill);
  background:transparent;color:var(--ink);cursor:pointer;transition:background var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out),opacity var(--dur-1) var(--ease-out)}
.ch-back{display:none}
.ch-ic:hover{background:var(--tint)}
.ch-ic:active{transform:scale(.92)}
.ch-ic:disabled{opacity:.35;cursor:default;transform:none;background:transparent}
.ch-send{background:var(--ink);color:var(--on-ink)}
.ch-send:hover{background:var(--ink);opacity:.88}
.ch-send:disabled{background:var(--ink)}

.ch-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:var(--space-4);display:flex;flex-direction:column;gap:var(--space-2)}
.ch-m{display:flex;flex-direction:column;max-width:min(78%,520px);gap:4px;will-change:auto}
.ch-mine{align-self:flex-end;align-items:flex-end}
.ch-theirs{align-self:flex-start;align-items:flex-start}
.ch-line{display:flex;max-width:100%}
.ch-b{display:block;max-width:100%;margin:0;padding:10px 16px;border:0;border-radius:var(--ch-r);text-align:left;font:400 16px/var(--lh-body) var(--sans);
  white-space:pre-wrap;overflow-wrap:anywhere;background:var(--tint);color:var(--text)}
button.ch-b{cursor:pointer;transition:transform var(--dur-1) var(--ease-out)}
button.ch-b:active{transform:scale(.985)}
.ch-mine .ch-b{background:var(--ink);color:var(--on-ink)}
/* a translated bubble is marked by its 中 / EN pill (.ch-lang) only: no extra rule under it */
.ch-media{display:block;width:min(220px,70vw);border-radius:var(--ch-r);overflow:hidden}
.ch-media .gd-frame{border-radius:var(--ch-r)}
.ch-vid{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted)}
.ch-time{font-size:12px;line-height:var(--lh-body);color:var(--muted);padding:0 8px}
.ch-pending .ch-b{opacity:.55;transition:opacity var(--dur-2) var(--ease-out)}
.ch-failed .ch-b{opacity:1;box-shadow:0 0 0 2px var(--error)}
.ch-retry{width:36px;height:36px;color:var(--error)}

.ch-pick{padding:var(--space-3) var(--space-4);border-top:1px solid var(--line)}
.ch-pick-in{display:flex;gap:var(--space-2);overflow-x:auto}
.ch-pi{flex:none;width:64px;height:64px;padding:0;border:0;border-radius:var(--ch-r);overflow:hidden;background:var(--tint);cursor:pointer}
.ch-pi .gd-frame{border-radius:var(--ch-r)}
.ch-up{display:inline-flex;align-items:center;justify-content:center;color:var(--ink)}
.ch-ulog{font-size:14px;line-height:var(--lh-body);color:var(--error);margin-top:var(--space-2)}
.ch-ic .ic{width:20px;height:20px}
.ch-form{display:flex;align-items:flex-end;gap:var(--space-2);padding:var(--space-3) var(--space-4) var(--space-4)}
.ch-input{flex:1;min-width:0;resize:none;height:44px;max-height:144px;padding:10px 18px;border:1px solid var(--control);border-radius:var(--ch-r);background:var(--paper);
  font:400 16px/var(--lh-body) var(--sans);color:var(--text)}
.ch-input:focus{outline:2px solid var(--ink);outline-offset:2px;border-color:var(--ink)}

@media (max-width:760px){
  .ch{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 280px);min-height:440px}
  .ch-conv{display:none}
  .ch[data-open] .ch-list{display:none}
  .ch[data-open] .ch-conv{display:flex}
  .ch-back{display:inline-flex}
  .ch-m{max-width:88%}
}
html.no-motion .ch-row,html.no-motion .ch-ic,html.no-motion button.ch-b,html.no-motion .ch-pending .ch-b{transition:none}
@media (prefers-reduced-motion:reduce){.ch-row,.ch-ic,button.ch-b,.ch-pending .ch-b{transition:none}}
.ch-lang{display:inline-block;margin-left:var(--space-2);padding:0 8px;border-radius:var(--r-pill);font:500 12px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);vertical-align:1px;
  background:rgba(20,51,43,.12);color:var(--ink)}
.ch-mine .ch-lang{background:rgba(247,246,241,.18);color:var(--on-ink)}
/* Task 24 (sim round 1 F10): their message in the other language with no translation is drawn muted (an outline, no fill), with the
   translate icon beside it; a try that brought none names the icon Untranslated, its word shown on hover and focus (data-tip) */
.ch-untr .ch-line{align-items:center;gap:2px}
.ch-untr .ch-b{background:transparent;color:var(--muted);box-shadow:inset 0 0 0 1px var(--control)}
.ch-tr{width:36px;height:36px;color:var(--muted)}
.ch-tr .ic{width:18px;height:18px}
.ch-tr[data-tip]{position:relative}
.ch-tr[data-tip]:hover::after,.ch-tr[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;left:100%;top:50%;transform:translateY(-50%);
  margin-left:4px;padding:2px 8px;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);font:500 12px/var(--lh-body) var(--sans);
  white-space:nowrap;pointer-events:none}
/* Task 24 (F11): the open or accepted offer between the two on this listing, one line under the head, a link to it */
.ch-offer{display:flex;align-items:center;gap:8px;min-width:0;padding:var(--space-2) var(--space-4);border-bottom:1px solid var(--line);
  font:500 14px/var(--lh-body) var(--sans);color:var(--ink);text-decoration:none}
.ch-offer:hover{background:var(--tint)}
.ch-offer .ic{flex:none;width:16px;height:16px}
.ch-offer span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}

/* companies (v2/companies.py; from the mockup's css/c1-data.css and css/c2-company.css): Data (P12), Companies (P13), a country
   (P14), the company page (P15, the real-company and person frames), Write to GDCS (P17), and the old addresses that moved.
   Every rule is a c1- or co- class, or scoped to .c1-page, the wrapper of these pages; nothing here changes another page. */

/* phone-only and desktop-only renderings of the same record (tables become stacked rows on a phone, as drawn) */
.c1-m{display:none}
@media (max-width:760px){ .c1-d{display:none} .c1-m{display:block} }

/* the page's ledger stacks on a phone on these pages (as drawn on the P12–P17 phone frames) */
@media (max-width:760px){ .c1-page .ledger{flex-direction:column;gap:12px} }

/* two-column section on P12/P13/P14: heading 512 | 48 | record 640 */
.c1-split{display:grid;grid-template-columns:minmax(0,512fr) minmax(0,640fr);gap:48px;align-items:start}
.c1-split>*{min-width:0}
.c1-split-sub{margin-top:16px;max-width:480px}
.c1-split p+.table-wrap,.c1-split p+.c1-m{margin-top:12px}
.c1-after{margin-top:20px}
@media (max-width:900px){ .c1-split{grid-template-columns:minmax(0,1fr);gap:24px} .c1-split-sub{margin-top:16px} }
/* the heading stays beside a long record (a source table runs ~1,700 px) instead of leaving a tall empty column (V10) */
@media (min-width:901px){ .c1-split>:first-child{position:sticky;top:32px} }

/* ---------- P12 data ---------- */
.c1-jump{margin-top:16px;display:flex;flex-wrap:wrap;gap:4px 0;align-items:baseline}
.c1-dot{margin:0 10px;color:var(--muted)}
.c1-ds{padding:24px 0 24px;border-bottom:1px solid var(--line)}
.c1-ds-first{margin-top:80px;padding-top:0}
.c1-ds-desc{margin-top:8px;max-width:720px}
.c1-ds-meta{margin-top:8px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.c1-ds-links{margin-top:8px;display:flex;flex-wrap:wrap;gap:4px 22px}
.c1-ds-files{margin-top:8px;overflow-wrap:anywhere}
.c1-ds-files .mono{color:var(--text)}
.c1-ds-act{margin-top:8px}
.c1-ds-lic{margin-top:12px;max-width:720px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.c1-ds-lic a{color:var(--muted);text-underline-offset:3px}
.c1-cite{font-family:var(--mono);font-size:12px;line-height:var(--lh-body);color:var(--text);overflow-wrap:anywhere}
.c1-files{table-layout:fixed}
.c1-files .c1-w-bytes{width:110px}
.c1-files .c1-w-hash{width:184px}
.c1-files td.mono{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.c1-files td.num{padding-right:0}
.c1-files td.c1-hash{text-align:right;padding-left:16px}
.c1-hash>span{display:inline-block;max-width:13ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom}
.c1-files th:nth-child(2){padding-right:0}
.c1-stack>li{display:flex;flex-direction:column;padding:12px 0;border-bottom:1px solid var(--line)}
.c1-stack .mono{color:var(--muted);overflow-wrap:anywhere}
.c1-news>li{display:flex;flex-direction:column;gap:6px;padding:20px 0 24px;border-bottom:1px solid var(--line)}
.c1-news>li:first-child{padding-top:0}
main a.c1-news-a{font:500 18px/var(--lh-body) var(--sans);color:var(--ink);text-decoration:none}
main a.c1-news-a:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}

/* ---------- P13 / P14 directory: the shared find box (find.js) ---------- */
.c1-find{margin-top:40px;max-width:720px}
/* the box sits in the page head (v2/companies.py with_find): after the ledger as drawn, but on a phone right under the title,
   so the page's first job is on the first screen (M10) */
.c1-fhead{display:flex;flex-direction:column}
.c1-fhead>.c1-find{order:1}
.c1-nw{white-space:nowrap}
/* every business found, as one bar under the ledger (V11): on a list (ink), only a shop on a map, a person's name, not listed.
   It grows once from the left when the page opens (400 ms; site.css turns it off under reduced motion). */
.c1-share{margin-top:20px}
.c1-bar{display:block;width:100%;height:8px;transform-origin:left center;animation:c1-grow .4s var(--ease) both}
@keyframes c1-grow{from{transform:scaleX(0)}to{transform:none}}
.c1-b1{fill:var(--ink)} .c1-b2{fill:var(--line)} .c1-b3{fill:var(--control)} .c1-b4{fill:var(--tint)}
.c1-bar-key{display:flex;flex-wrap:wrap;gap:6px 24px;margin-top:10px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.c1-bar-key li{display:inline-flex;align-items:center;gap:8px}
.c1-sw{width:10px;height:10px;flex:none;border-radius:3px}
.c1-sw.c1-b1{background:var(--ink)} .c1-sw.c1-b2{background:var(--line)} .c1-sw.c1-b3{background:var(--control)}
.c1-sw.c1-b4{background:var(--tint);border:1px solid var(--control)}
.c1-bar .c1-b4{stroke:var(--control);stroke-width:1;vector-effect:non-scaling-stroke}
.c1-bn{color:var(--text);font-variant-numeric:tabular-nums}
/* long websites and names wrap instead of widening the page on a phone (BRK-06) */
.c1-find .cands .cn,.c1-find .cands .cp{overflow-wrap:anywhere;min-width:0}
.c1-intro{margin-top:24px;max-width:720px}
.c1-country .table-wrap,.c1-country .c1-m{margin-top:24px}
.c1-ctable{table-layout:fixed}
.c1-ctable .c1-w-n1{width:120px}
.c1-ctable .c1-w-n2{width:184px}
.c1-ctable .c1-w-n3{width:154px}
.c1-ctable .c1-w-src{width:324px}
.c1-ctable td{padding-right:0}
.c1-ctable td:first-child{overflow-wrap:break-word}
.c1-ctable th.num,.c1-ctable td.num{padding-right:0}
.c1-ctable .c1-src{padding-left:24px;font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:12px}
.c1-ctable th.c1-src{padding-top:8px;color:var(--muted)}
.c1-stack-c>li>span:first-child{color:var(--text)}
.c1-stable{table-layout:fixed}
.c1-stable .c1-w-n1{width:110px}
.c1-stable .c1-w-pub{width:200px}
.c1-stable td,.c1-stable th{padding-right:0}
.c1-stable td.c1-src{padding-left:16px;font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:12px}
.c1-stable th.c1-src{padding-left:16px}
.c1-after-s{margin-top:16px}
/* the three tiers by name (as /standard/tiers/ names them), all in the same type, then the area marks */
.c1-tiers{margin-top:20px;border-top:1px solid var(--line)}
.c1-tiers li{display:grid;grid-template-columns:minmax(0,11em) minmax(0,1fr);gap:4px 24px;padding:12px 0;border-bottom:1px solid var(--line)}
.c1-tn{font:500 16px/var(--lh-body) var(--sans);color:var(--ink)}
.c1-tr{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.c1-legend-h{margin-top:24px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.c1-legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px;font-size:14px;line-height:var(--lh-body);color:var(--text)}
.c1-legend-h+.c1-legend{margin-top:8px}
.c1-legend li{display:inline-flex;align-items:center;gap:8px}
.c1-legend .area-sq.na{margin-top:0}
.c1-legend-n{margin-top:8px}
.c1-dir .section{margin-top:96px}
.c1-body>.section:first-child{margin-top:96px}

/* tablets: the figure columns give up width so the country keeps its own (M04: at 768 the country column was 0 px wide, and
   Chinese names stacked one character per line); headings may wrap */
@media (min-width:761px) and (max-width:1023px){
  .c1-ctable .c1-w-n1{width:13%} .c1-ctable .c1-w-n2{width:16%} .c1-ctable .c1-w-n3{width:14%} .c1-ctable .c1-w-src{width:29%}
  .c1-ctable th{white-space:normal;vertical-align:bottom}
  .c1-ctable .c1-src{padding-left:16px}
}

/* Chinese at 13 px is hard to read: the directory's small lines are 14 px on Chinese pages (V15) */
html:lang(zh) .c1-ctable td.c1-src,html:lang(zh) .c1-stable td.c1-src,html:lang(zh) .c1-ds-meta,html:lang(zh) .c1-ds-lic,
html:lang(zh) .c1-legend,html:lang(zh) .c1-legend-h,html:lang(zh) .c1-page p.small,html:lang(zh) .c1-stack .small,
html:lang(zh) .c1-find .hint,html:lang(zh) .c1-bar-key,html:lang(zh) .c1-page .table th,
html:lang(zh) .co-gk,html:lang(zh) .co-phead,html:lang(zh) .co-marks .ph,html:lang(zh) .co-draft{font-size:14px;line-height:var(--lh-body)}

@media (max-width:760px){
  .c1-find{margin-top:32px}
  .c1-fhead>.c1-find{order:0;margin-top:24px}
  .c1-fhead>.ledger{margin-top:32px}
  .c1-bar-key{flex-direction:column;gap:6px}
  .c1-tiers li{grid-template-columns:minmax(0,1fr)}
  .c1-ds-links{gap:4px 22px}
  .c1-jump{margin-top:16px}
  .c1-ds-first{margin-top:56px}
  .c1-split p+.c1-m{margin-top:16px}
  .c1-dir .section,.c1-body>.section:first-child{margin-top:56px}
}

/* ---------- P17 write: the launch page (one sentence) ---------- */
.c1-closed{margin-top:72px;max-width:720px;font-size:18px;line-height:var(--lh-body)}
.c1-closed-p{margin-top:16px;max-width:720px}
@media (max-width:760px){ .c1-closed{margin-top:40px} }

/* ---------- P15 company page: head ---------- */
/* the shell holds a screen's height while its record loads, so the footer does not flash up and jump away (CODE-06);
   companies.js takes .co-loading off once the record is drawn or the page says there is none, so a short page ends where its
   words end. Without JavaScript nothing will load, so nothing is held. */
.co[data-co-page].co-loading{min-height:calc(100vh - 150px)}
@media (scripting:none){ .co[data-co-page].co-loading{min-height:0} }
.co-head h1{overflow-wrap:break-word}
.co-head .co-sub{margin-top:16px}
.co-ledger .v{overflow-wrap:anywhere;min-width:0}
.co-person .co-sub{font-size:20px;line-height:var(--lh-body)}

/* body: the grade and its five area rows on the left (720), tier, value and record on the right (432), sources and
   corrections under the grade. Phone: the same order, one column. */
.co-grid{display:grid;grid-template-columns:minmax(0,720fr) minmax(0,432fr);grid-template-rows:auto 1fr;column-gap:48px;align-items:start;margin-top:53px}
.co-grid>*{min-width:0}
.co-record{grid-column:1;grid-row:1;border-top:2px solid var(--ink);padding-top:18px}
.co-grade{grid-column:2;grid-row:1/span 2;border-top:2px solid var(--ink);padding-top:4px}
.co-grid>.co-main{grid-column:1;grid-row:2}

/* the grade block: every value is the placeholder until the rules are published */
.co-gk{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.co .co-gname{margin-top:6px}
.co-marks{display:flex;align-items:center;gap:4px;margin-top:11px;min-height:12px}
.co-grow{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;font-size:16px;line-height:var(--lh-body);color:var(--text)}
.co-grow+.co-grow{border-top:1px solid var(--line)}
.co-gtier{padding-bottom:4px}
.co-gnote{margin-top:8px}
.co-grow .ph,.co-prow .ph{font-size:16px;line-height:var(--lh-body)}
.co-act{margin-top:12px}
.co-wait,.co-fail{margin-top:24px}
.co .co-intro{margin-top:16px;font-size:16px;line-height:var(--lh-body);color:var(--text);max-width:720px}

/* five areas, right under the marks: a two-column record with placeholders */
.co-phead{display:flex;justify-content:space-between;margin-top:18px;padding-bottom:8px;border-bottom:1px solid var(--line);
  font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.co-prow{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.co-prow .co-an{font:400 16px/var(--lh-body) var(--sans);color:var(--text)}

/* sections in the left column */
.co-src{margin-top:56px}
.co-fix{margin-top:40px}
.co .co-h{font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.co-fix p{margin-top:8px;font-size:16px;line-height:var(--lh-body)}
.co-fix p.co-log{font-size:14px;line-height:var(--lh-body)}

/* where this listing comes from */
.co-sn{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.co-srctable{margin-top:8px}
.co-srctable .table td:first-child{width:385px}
.co-srcrows{display:none}
.co-brand{margin-top:16px}

/* registered to a person */
.co-person .co-main{margin-top:48px;max-width:720px}
.co-person .co-fix{margin-top:56px}
.co-why-lg{max-width:720px}

@media (max-width:760px){
  .co .crumbs .sep{margin:0 3px}
  .co-head .co-sub{margin-top:12px}
  .co-person .co-sub{font-size:18px;line-height:var(--lh-body)}
  .co-ledger{flex-direction:column;flex-wrap:nowrap;gap:12px}
  .co-grid{display:block;margin-top:32px}
  .co-grade{margin-top:40px}
  .co-act .btn{display:flex;width:100%}
  .co-src{margin-top:40px}
  .co-fix{margin-top:40px}
  .co-phead{display:none}
  .co-plist{margin-top:16px}
  .co-prow{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 0}
  .co-srctable{display:none}
  .co-srcrows{display:block;margin-top:12px}
  .co-srcrows>li{padding:10px 0;border-bottom:1px solid var(--line)}
  .co-srcrows .small{margin-top:4px}
  .co-person .co-main{margin-top:32px}
  .co-person .co-fix{margin-top:48px}
}

/* ---------- the brand valuation on a company page (v2/valuation.py) ---------- */
.co-st{display:inline-flex;align-items:center;gap:8px;font-size:16px;line-height:var(--lh-body);color:var(--ink);text-align:right}
.co-prow[data-state="N"] .co-st,.co-prow[data-state="-"] .co-st{color:var(--muted)}
.co-gnote>*+*{margin-top:8px}
.co-ex{font-weight:500;color:var(--ink)}
.co-draft{display:inline-block;margin-top:12px;padding:2px 10px;font-size:14px;line-height:var(--lh-body);border:1px dashed var(--control);border-radius:var(--r-pill);color:var(--muted)}
.co-wait-issuer{margin-top:12px;color:var(--muted)}
.co-docs{margin-bottom:48px}
.co-docs .table code{font:14px/var(--lh-body) var(--mono)}
.co-docs .table td{vertical-align:top}
@media (max-width:760px){.co-st{text-align:left}}
.co-w{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-variant-numeric:tabular-nums}
/* the premium's amount reads as the block's headline (rules-v10) */
.co-gname{font:var(--w-num) 32px/var(--lh-head) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:var(--ls-sans)}
html:lang(zh) .co-gname{font-size:28px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}

/* ---------- the company page: the premium as blocks (Jack 2026-11-20 「公司品牌也太文字了」) ---------- */
.co-pv-grid{display:block;margin-top:40px}
.pv{display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);gap:32px;align-items:center}
.pv-amt{padding:28px 28px 24px;display:flex;flex-direction:column;min-height:200px;border-radius:var(--r-2)}
.pv-amt.pv-plus{background:var(--ink);color:var(--on-ink-muted);--focus:var(--on-ink)}
.pv-amt.pv-zero,.pv-amt.pv-ur{background:var(--tint);color:var(--muted)}
.pv-amt.pv-na,.pv-amt.pv-wait{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.pv-k{font-size:14px;line-height:var(--lh-body)}
.pv-big{margin-top:auto;padding-top:20px;font:var(--w-num) 64px/var(--lh-head) var(--sans);color:var(--muted);font-variant-numeric:lining-nums tabular-nums;letter-spacing:var(--ls-sans)}
.pv-plus .pv-big{color:var(--gold)}
.pv-unit{font:400 16px/var(--lh-body) var(--sans);margin-left:4px}
.pv-sum{margin-top:12px;font-size:16px;line-height:var(--lh-body)}
.pv-plus .pv-sum{color:var(--on-ink)}
.pv-bars .pbar .pc i{height:96px}
.pv-act{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin-top:32px;padding-top:24px;border-top:1px solid var(--line)}
.pv-calc{font:var(--w-num) 22px/var(--lh-body) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
html:lang(zh) .pv-calc{font-size:20px}
.pv-fine{margin-top:16px;color:var(--muted);max-width:820px}
.co-more{margin-top:48px;border-top:1px solid var(--line)}
.co-more>summary{cursor:pointer;padding:16px 0;font-size:16px;line-height:var(--lh-body);color:var(--ink);list-style:none}
.co-more>summary::-webkit-details-marker{display:none}
.co-more>summary::after{content:"+";content:"+" / "";float:right;color:var(--muted)}
.co-more[open]>summary::after{content:"−";content:"−" / ""}
.co-more .co-ledger{margin-top:0}
.co-more .co-src{margin-top:24px}
.co-fix-line{margin-top:24px}
@media (max-width:760px){
  .pv{grid-template-columns:minmax(0,1fr);gap:20px}
  .pv-amt{min-height:0}
  .pv-big{font-size:48px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .pv-bars .pbar .pc i{height:64px}
  .pbar .pc b{font-size:12px}
}
/* the directory: the biggest countries as blocks, the rest folded (Jack 2026-11-20) */
.c1-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-2);margin-top:20px}
.c1-tile{display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-height:116px;padding:18px 18px 16px;border-radius:var(--r-2);background:var(--tint);color:var(--ink);text-decoration:none;transition:background .2s var(--ease)}
.c1-tiles li:first-child .c1-tile{background:var(--ink);color:var(--on-ink);--focus:var(--on-ink)}
.c1-tile:hover{background:var(--line)}
.c1-tiles li:first-child .c1-tile:hover{background:#1d4a3e}
.c1-tile-n{font:var(--w-num) 32px/var(--lh-head) var(--sans);font-variant-numeric:lining-nums tabular-nums;letter-spacing:var(--ls-sans)}
.c1-tile-c{font-size:16px;line-height:var(--lh-body)}
.c1-fold{margin-top:20px;border-top:1px solid var(--line)}
.c1-fold>summary{cursor:pointer;padding:16px 0;font-size:16px;line-height:var(--lh-body);color:var(--ink);list-style:none}
.c1-fold>summary::-webkit-details-marker{display:none}
.c1-fold>summary::after{content:"+";content:"+" / "";float:right;color:var(--muted)}
.c1-fold[open]>summary::after{content:"−";content:"−" / ""}
.c1-fold-src{margin-top:48px}
@media (max-width:760px){.c1-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.c1-tile{min-height:92px}.c1-tile-n{font-size:26px;line-height:var(--lh-head)}}

/* Home (/m/, Task 20, 2026-11-23; v2/members.py home_view(), src2/js/members.js dash()). Jack: 「用户界面需要有dashboard」, as
   Wealthsimple's Home: one big figure, a chart, a row of small cards, then what happened.
   - Every block has a fixed height (or a fixed minimum) that its placeholder holds too: the skeleton before the member is known and the
     placeholders inside the view are the same markup, so nothing moves when one gives way to the other or the figures come.
   - On a phone the cards are a grid of two columns, a lone last card across both (Task 26, sim round 1 F25: the sideways row cut the
     Membership card at 390 px); a card's words wrap, never cut.
   - Tokens only: fonts (--sans, --serif, --w-num), corners (--r-*), colours, durations. Motion: transform and opacity only, the
     big figure's rise and the sparkline's growth (members.js, GDCS_MOTION.spring), :active presses; nothing runs while idle. */
.hm{max-width:960px}
.ms-skel.hm{display:block;max-width:960px}

/* 1. the big figure and its one word */
.hm-hero{height:120px;display:flex;align-items:flex-start}
.hm-hero-a{display:inline-flex;flex-direction:column;margin:0 -8px;padding:0 8px;border-radius:var(--r-2);color:var(--ink);text-decoration:none;
  transition:transform var(--dur-1) var(--ease-out)}
.hm-num{display:block;height:80px;font:var(--w-num) 72px/80px var(--sans);color:var(--ink);
  font-variant-numeric:lining-nums tabular-nums;white-space:nowrap;letter-spacing:var(--ls-sans)}
.hm-k{display:flex;align-items:center;gap:8px;height:28px;font:500 18px/28px var(--sans);color:var(--muted)}
.hm-sk-num{display:block;width:180px;height:60px;margin-top:10px;border-radius:var(--r-2)}
.hm-sk-k{display:block;width:96px;height:18px;margin-top:5px;border-radius:var(--r-1)}
.hm-chip{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--r-pill);background:var(--tint);color:var(--ink);
  font:500 12px/24px var(--sans);white-space:nowrap}

/* 2. the second block: a seller's sparkline, the goods' three kinds, the admin's two counts — one height for all */
.hm-second{height:152px;margin-top:16px}
.hm-sk-second{display:block;height:100%;border-radius:var(--r-2)}
.hm-spark{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px;height:100%;padding:16px 20px;border-radius:var(--r-2);background:var(--sheet);
  box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);text-decoration:none;transition:transform var(--dur-1) var(--ease-out)}
.hm-sec-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.hm-sec-k{display:inline-flex;align-items:center;gap:8px;font:500 16px/var(--lh-body) var(--sans);color:var(--text)}
.hm-sec-v{font:var(--w-num) 24px/var(--lh-head) var(--sans);color:var(--ink)}
.hm-svg-box{display:block;min-height:0;height:100%}
.hm-svg{display:block;width:100%;height:100%;overflow:visible;transform-origin:50% 100%}
.hm-line{fill:none;stroke:var(--ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.hm-area{fill:color-mix(in srgb,var(--ink) 9%,transparent);stroke:none}
.hm-second-tiles{display:grid;grid-template-rows:auto minmax(0,1fr);gap:8px}
.hm-second-tiles>.hm-tiles:only-child{grid-row:1 / -1}
.hm-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-height:0}
.hm-tiles-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-tile{display:flex;flex-direction:column;justify-content:flex-end;gap:2px;min-width:0;padding:14px 18px;border-radius:var(--r-2);background:var(--tint);
  color:var(--ink);text-decoration:none;transition:transform var(--dur-1) var(--ease-out),background-color var(--dur-1) var(--ease-out)}
.hm-tile:hover{background:color-mix(in srgb,var(--ink) 10%,var(--tint))}
.hm-tile-v{font:var(--w-num) 32px/var(--lh-head) var(--sans);color:var(--ink);letter-spacing:var(--ls-sans)}
.hm-tile-k{display:flex;align-items:center;gap:8px;min-width:0;min-height:24px;font:500 16px/var(--lh-body) var(--sans);color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-tile-k .hm-chip{background:var(--paper)}

/* 3. the cards: one row, whatever their number */
.hm-cards{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px;margin-top:16px}
.hm-card{display:flex;flex-direction:column;gap:8px;min-width:0;min-height:128px;padding:16px 20px;border-radius:var(--r-2);background:var(--sheet);
  box-shadow:inset 0 0 0 1px var(--line);color:var(--ink)}
.hm-card-a{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;margin:-4px -8px;padding:4px 8px;border-radius:var(--r-2);color:var(--ink);
  text-decoration:none;transition:transform var(--dur-1) var(--ease-out)}
.hm-card-k{font:500 16px/var(--lh-body) var(--sans);color:var(--muted)}
.hm-card-v{font:var(--w-num) 32px/var(--lh-head) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:var(--ls-sans)}
.hm-card-v:not(.t-num){font:500 18px/var(--lh-body) var(--sans);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-card-sk{padding:0;background:transparent;box-shadow:none}
.hm-sk-card{display:block;flex:1 1 auto;border-radius:var(--r-2)}
/* Task 22: Out n · Due n — each a word and its figure, side by side with a dot between; on a phone one under the other */
.hm-due{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 10px}
.hm-part{display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
.hm-part+.hm-part::before{content:"·";margin-right:2px;color:var(--muted)}
.hm-part .hm-card-k{color:var(--text)}
.hm-confirm{align-self:flex-start;display:inline-flex;align-items:center;gap:6px}
.hm-confirm .ic{width:18px;height:18px}
.hm-confirm.is-done,.hm-confirm.is-done[disabled]{padding-left:0;border-color:transparent;background:transparent;color:var(--ink);cursor:default}
.hm-card-msg{margin-top:0}
.hm-card-join{justify-content:center;align-items:flex-start;background:var(--tint);box-shadow:none}
/* an applicant's one card (Task 26, F18): where it stands, then the step that waits for it, in a sentence that wraps */
.hm-next-t{font:400 18px/var(--lh-body) var(--sans);color:var(--text);white-space:normal;overflow-wrap:anywhere}
.hm-join{min-width:min(160px,100%);max-width:100%;padding:0 20px}
.hm-cards .ms-pend{margin:0;max-width:none;flex-direction:column;align-items:flex-start;justify-content:space-between;padding:16px 20px}
.hm-cards .ms-pend-t{flex:none;font-size:16px;line-height:var(--lh-body)}

/* 4. activity: one row each, the icon, the word, the item, the time */
.hm-act{margin-top:40px}
.hm-h2{font:var(--w-head) 28px/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:var(--ink)}
.hm-list{margin-top:8px}
.hm-row{border-top:1px solid var(--line)}
.hm-row:last-child{border-bottom:1px solid var(--line)}
.hm-row-a{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:64px;padding:8px 4px;margin:0 -4px;
  border-radius:var(--r-2);color:var(--text);text-decoration:none;transition:transform var(--dur-1) var(--ease-out),background-color var(--dur-1) var(--ease-out)}
.hm-row-a:hover{background:color-mix(in srgb,var(--ink) 5%,transparent)}
.hm-row-ic{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--r-pill);background:var(--tint);color:var(--ink)}
.hm-row-ic .ic{width:18px;height:18px}
.hm-row-t{display:flex;flex-direction:column;min-width:0}
.hm-row-k{font:500 16px/var(--lh-body) var(--sans);color:var(--ink)}
.hm-row-s{font-size:14px;line-height:var(--lh-body);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-row-at{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.hm-row-sk{height:64px;display:flex;align-items:center}
.hm-sk-row{display:block;width:100%;height:40px;border-radius:var(--r-2)}
.hm-list>.mb-none{margin-top:0;padding:16px 0}

/* every tap answers at once */
.hm-hero-a:active,.hm-spark:active,.hm-tile:active,.hm-card-a:active,.hm-row-a:active{transform:scale(.98)}
html.no-motion .hm-hero-a,html.no-motion .hm-spark,html.no-motion .hm-tile,html.no-motion .hm-card-a,html.no-motion .hm-row-a{transition:none}

/* a tablet: the same, a little closer */
@media (max-width:1099px) and (min-width:761px){
  .hm-num{font-size:64px;letter-spacing:var(--ls-sans)}
}
/* a phone: a smaller figure; the cards two to a row, a lone last one across both, their words wrapping (Task 26, F25) */
@media (max-width:760px){
  .hm-hero{height:100px}
  .hm-num{height:64px;font-size:56px;line-height:64px;letter-spacing:var(--ls-sans)}
  .hm-sk-num{width:140px;height:48px;margin-top:8px}
  .hm-second{height:136px}
  .hm-spark{padding:14px 16px}
  .hm-tiles{gap:8px}
  .hm-tile{padding:12px 14px}
  .hm-tile-v{font-size:26px;line-height:var(--lh-head)}
  .hm-tile-k{font-size:14px;line-height:var(--lh-body)}
  .hm-cards{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .hm-cards>:last-child:nth-child(odd){grid-column:1 / -1}
  /* a card alone on its row takes the row and only its own height: the pair height left it a tall empty box (UI audit 2026-11-25) */
  .hm-cards>.hm-card:last-child:nth-child(odd){min-height:0}
  /* every card the height of the tallest (Out · Due and its button), so a row is one height whatever it holds and the placeholders,
     drawn in the number this browser last drew (members.js skelCards()), take the room the cards will (Task 26 fix round 1) */
  .hm-card{padding:14px 16px;min-height:148px}
  .hm-card-v{font-size:28px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .hm-card-v:not(.t-num){font-size:16px;line-height:var(--lh-body);white-space:normal;overflow:visible;overflow-wrap:anywhere}
  .hm-next-t{font-size:16px;line-height:var(--lh-body)}
  .hm-due{flex-direction:column;align-items:flex-start}
  .hm-part+.hm-part::before{content:none}
  .hm-act{margin-top:32px}
}
/* Task 25 (F7): "For you" under the big figure: a row of tiles that scrolls sideways and snaps, each a picture, its name and, for a
   member, its price */
.hm-rail{margin-top:24px}
.hm-rail-l{display:flex;gap:12px;margin-top:12px;padding:0 0 4px;list-style:none;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.hm-rail-l::-webkit-scrollbar{display:none}
.hm-rail-l>li{flex:0 0 164px;min-width:0;scroll-snap-align:start}
.hm-tile-g{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--ink);text-decoration:none;transition:transform var(--dur-1) var(--ease-out)}
.hm-tile-g:active{transform:scale(.98)}
.hm-tile-g:hover .hm-tile-t{text-decoration:underline;text-underline-offset:3px}
.hm-tile-t{font-size:14px;line-height:var(--lh-body);color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-tile-p{font:500 14px/var(--lh-body) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
html.no-motion .hm-tile-g{transition:none}
@media (prefers-reduced-motion:reduce){.hm-tile-g{transition:none}}
@media (max-width:760px){
  .hm-rail{margin-top:16px}
  .hm-rail-l{margin:12px -16px 0;padding:0 16px 4px;scroll-padding:0 16px}
  .hm-rail-l>li{flex-basis:140px}
}

/* the feature pages, and the parts the product pages share with them (v2/ft.py, v2/features.py; Jack 2026-11-28). Built whole in the
   HTML, and read in order without a script. What moves, all with transform and opacity: the story (pinned on a wide screen; features.js
   turns the pieces of its one scene on and off), words in rows (motion.js marquee), and, tied to the scroll with no script, the first
   screen's words and card, pictures inside their frames, the cards in front of them, the links' columns and the story's line. Under
   reduced motion and html.no-motion all of it stands still, in full. Green leads; no gold here. --bar is the floating header's height
   (menu.css), 0 where there is none. */

/* ---------- the first screen: a panel in the page's own tone, across the window ---------- */
.ft-page{padding-top:16px}
.ft-hero{margin-inline:calc(50% - 50vw + 16px);padding:56px 24px 0;border-radius:var(--r-4);background:var(--tint);color:var(--ink);
  text-align:center;overflow:hidden;overflow:clip}
.ft-hero[data-tone="sheet"]{background:var(--sheet)}
.ft-hero[data-tone="ink"]{background:var(--ink);color:var(--on-ink)}
.ft-hero-t{width:min(1120px,100%);margin-inline:auto}
.ft-hero .crumbs{margin-bottom:24px}
.ft-hero :is(.crumbs,.crumbs a,.crumbs .sep){color:var(--text)}          /* --muted is 4.3 to 1 on the tint */
.ft-hero h1{color:inherit;text-wrap:balance}
.ft-lead{width:min(720px,100%);margin:24px auto 0;color:var(--text);text-wrap:balance}
.ft-hero[data-tone="ink"] :is(.ft-lead,.crumbs,.crumbs a,.crumbs .sep){color:var(--on-ink-muted)}
.ft-hero[data-tone="ink"] .crumbs a{text-decoration-color:var(--line-on-ink)}
.ft-hero[data-tone="ink"] .pd-cta{border-color:var(--on-ink);color:var(--on-ink)}
.ft-hero[data-tone="ink"] .pd-cta:hover{background:var(--on-ink);color:var(--ink)}
.ft-hero[data-tone="ink"] a:focus-visible{outline-color:var(--on-ink)}
.ft-hero-v{position:relative;width:min(1200px,100%);margin:48px auto -24px}          /* its lower corners are past the panel's edge, which cuts them off */
.ft-hero-v .ft-frame{aspect-ratio:2/1}
/* a picture, and its box rises over the link above it: a press goes through to the link */
.ft-float{position:absolute;inset:0;display:grid;place-items:center;text-align:left;pointer-events:none}
.ft-float>*{width:min(480px,88%)}

/* a picture in a frame it is larger than (it moves inside); the page's first picture fills its frame and never moves */
.ft-frame{position:relative;overflow:hidden;overflow:clip;border-radius:var(--r-4);background:var(--tint)}
.ft-frame[data-shape="1x1"]{aspect-ratio:1/1}
.ft-frame[data-shape="4x5"]{aspect-ratio:4/5}
.ft-frame .pic,.ft-sky .pic{position:absolute;left:0;top:-12%;width:100%;height:124%;max-width:none;aspect-ratio:auto;border-radius:inherit;object-fit:cover}
.ft-frame.is-still .pic{top:0;height:100%}

/* ---------- three things to know ---------- */
.ft-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 56px;margin-top:96px}
.ft-three li{padding-top:24px;border-top:1px solid var(--ink)}
.ft-three p{margin-top:12px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);text-wrap:pretty}

/* ---------- a feature: words on one side, what it looks like on the other ---------- */
.ft-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:96px;align-items:center;margin-top:176px}
.ft-row.is-flip .ft-text{order:2}
.ft-row .ft-show{min-width:0}
.ft-text p{margin-top:16px;max-width:560px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);text-wrap:pretty}
.ft-text h2+p{margin-top:24px}

/* two layers: the picture behind, the card in front */
.ft-par{position:relative;padding-bottom:88px}
.ft-back{margin-left:14%}
.ft-front{position:absolute;left:0;bottom:0;width:min(440px,82%)}
.ft-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ft-pair .ic{display:block}
.ft-pair .ft-item-n+.ft-k{margin-top:4px}

/* ---------- links to other pages: a picture, a name, a line ---------- */
.ft-more{margin-top:176px}
.ft-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:96px 24px;margin-top:72px}
.ft-links:has(>:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
.ft-lk{display:block;border-radius:var(--r-4);color:var(--ink);text-decoration:none}
.ft-lk .ft-frame{transition:transform var(--dur-3) var(--ease-out)}
.ft-lk h3{margin-top:24px}
.ft-lk p{margin-top:8px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text)}
@media (hover:hover) and (pointer:fine){
  .ft-lk:hover .ft-frame{transform:scale(.975)}
  .ft-lk:hover h3{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
}

/* ---------- plain rows, and the questions ---------- */
.ft-sheet,.ft-live,.ft-upload,.ft-sec,.ft-words,.ft-faq{margin-top:176px}
.ft-facts{margin-top:48px;border-bottom:1px solid var(--line)}
.ft-facts>div{display:flex;justify-content:space-between;gap:8px 32px;padding:16px 0;border-top:1px solid var(--line);font-size:var(--fs-text);
  line-height:var(--lh-body)}
.ft-facts dt{flex:none;color:var(--muted)}
.ft-facts dd{margin:0;text-align:right;color:var(--ink);font-weight:500}
.ft-plans{margin-top:32px}
.ft-plans th,.ft-plans td{width:33.3%}
.ft-faq h2{margin-bottom:24px}
.ft-q{border-top:1px solid var(--line)}
.ft-q:last-child{border-bottom:1px solid var(--line)}
.ft-q>summary{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:8px 0;cursor:pointer;list-style:none}
.ft-q>summary::-webkit-details-marker{display:none}
.ft-q>p{max-width:720px;padding:0 0 24px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);text-wrap:pretty}
.ft-q-ic{flex:none;width:20px;height:20px;transition:transform var(--dur-2) var(--ease-out)}
.ft-q[open] .ft-q-ic{transform:rotate(180deg)}

/* ---------- the cards: pictures of the member app ---------- */
.ft-card{padding:28px;border:1px solid var(--line);border-radius:var(--r-4);background:var(--sheet);color:var(--ink)}
.ft-card>*+*{margin-top:16px}
.ft-card .ic{width:20px;height:20px}
.ft-k{font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.ft-item{display:flex;align-items:center;gap:16px}
.ft-item-t{flex:1 1 auto;min-width:0}
.ft-item-t>span{display:block}
.ft-item-n{font-size:var(--fs-text);font-weight:500;line-height:var(--lh-body);color:var(--ink)}
.ft-thumb{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:var(--r-2);background:var(--tint)}
.ft-chip{display:inline-block;padding:5px 12px;border-radius:var(--r-pill);background:var(--tint);font-size:var(--fs-small);font-weight:500;
  line-height:var(--lh-body);color:var(--ink);white-space:nowrap}
.ft-chip.is-on{background:var(--ink);color:var(--on-ink)}
.ft-chips{display:flex;flex-wrap:wrap;gap:8px}
.ft-chips.is-tall .ft-chip{padding:12px 20px;font-size:var(--fs-text)}
.ft-price{font-variant-numeric:lining-nums tabular-nums}
.ft-price+.ft-k{margin-top:4px}
.ft-log li,.ft-log-l{display:flex;align-items:center;gap:12px;font-size:var(--fs-text);line-height:var(--lh-body);color:var(--text)}
.ft-log li+li,.ft-log-l+.ft-log-l{margin-top:10px}
.ft-dot{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:var(--r-pill);background:var(--tint)}
.ft-dot .ic{width:16px;height:16px}
.ft-log .is-new .ft-dot{background:var(--ink);color:var(--on-ink)}
.ft-amt{margin-left:auto;font-weight:500;color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.ft-who{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:var(--r-2);background:var(--tint);font-size:var(--fs-text);
  font-weight:500;line-height:var(--lh-body)}
.ft-kv{display:flex;justify-content:space-between;gap:16px;font-size:var(--fs-text);line-height:var(--lh-body)}
.ft-kv>:last-child{font-weight:500;text-align:right}
.ft-kv+.ft-kv{margin-top:10px}
.ft-status{display:inline-flex;align-items:center;gap:8px}
.ft-card.is-wide{border:0;background:transparent;padding:0}
.ft-sides{display:grid;grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr);align-items:stretch}
.ft-side{display:flex;flex-direction:column;align-items:center;gap:8px;padding:28px 12px;border:1px solid var(--line);border-radius:var(--r-4);
  background:var(--sheet);text-align:center}
.ft-link{align-self:center;height:1px;background:var(--ink)}
.ft-mid{text-align:center}
.ft-msg{padding:12px 16px;border-radius:var(--r-2);background:var(--tint);font-size:var(--fs-text);line-height:var(--lh-body)}
.ft-msg .ft-k{display:block;margin-top:4px;color:var(--text)}
.ft-msg.is-mine{width:fit-content;max-width:88%;margin-left:auto;background:var(--ink);color:var(--on-ink)}
.ft-shots{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:12px}
.ft-shot{position:relative;display:block}
.ft-shot .shot{aspect-ratio:1/1;border-radius:var(--r-2)}
.ft-shot .ft-k{display:block;margin-top:8px}
.ft-step-top{display:flex;align-items:center;justify-content:space-between}
.ft-stepper{display:flex;gap:8px}
.ft-stepper span{display:grid;place-items:center;width:28px;height:28px;border-radius:var(--r-pill);background:var(--tint);font-size:var(--fs-small);
  font-weight:500;line-height:1}
.ft-stepper .is-on{background:var(--ink);color:var(--on-ink)}
.ft-card.is-step{min-height:240px}
.ft-done{display:flex;align-items:center;gap:12px}

/* where the script will move them, each row is one line from the start, as it will be, so nothing shifts when it begins. If the script
   never comes, a row can be scrolled by hand */
@media screen and (scripting:enabled) and (prefers-reduced-motion:no-preference){
  html:not(.no-motion) .ft-mq-track{flex-wrap:nowrap;padding-inline:0}
  html:not(.no-motion) .ft-mq-track:not(.m-marquee){overflow-x:auto;scrollbar-width:none}
  html:not(.no-motion) .ft-mq.is-big .ft-mq-track{font-size:var(--fs-display)}
}

/* ---------- the scenes: the parts of the story's picture. .ft-stack lays pieces that take turns on one another, so nothing shifts ---------- */
.ft-stack{display:grid}
.ft-stack>*{grid-area:1/1;margin:0}
.ft-stack.is-mid{align-items:center}
.ft-item .ft-stack{flex:none;justify-items:end}
.ft-thumb .shot,.ft-cell .shot{width:100%;height:100%;border-radius:inherit}
.ft-wall{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:16px}
.ft-cell{display:block;aspect-ratio:1/1;border-radius:var(--r-2)}
.ft-chips.is-row{min-height:30px}
.ft-chips.is-row .ft-chip:not(.is-on){background:var(--sheet)}
.ft-chip .ic{width:14px;height:14px;margin-right:4px;vertical-align:-2px}
.ft-over{position:relative;width:min(400px,100%);justify-self:center}
.ft-rows>*+*{margin-top:10px}
.ft-rows.is-cut{padding-top:16px;border-top:1px solid var(--line)}
.ft-talk{display:grid;gap:16px}
.ft-talk .is-a{margin-right:12%}
.ft-talk .is-b{margin-left:12%}
.ft-stepper .ft-bead{background:var(--ink);color:var(--on-ink)}
.ft-stepper .ft-bead.is-off{background:var(--tint);color:var(--ink)}
.ft-grid .ft-sheet-r{display:grid;grid-template-columns:40px repeat(3,minmax(0,1fr));gap:12px;align-items:center;min-height:44px;
  border-top:1px solid var(--line);font-size:var(--fs-text);line-height:var(--lh-body);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.ft-grid .is-head{border-top:0;font-size:var(--fs-small);color:var(--muted)}
.ft-check{justify-content:center}
.ft-bad,.ft-fault{color:var(--error)}
.ft-fault{font-size:var(--fs-text);line-height:var(--lh-body)}
.ft-stack.is-note p+p{margin-top:8px}
.ft-scene-in,.ft-beat-c{display:grid;gap:16px;align-content:center}

/* ---------- a sheet's column names, its rows, and how long an item stays shown ---------- */
.ft-sheet,.ft-words{position:relative}
.ft-pause{position:absolute;right:0;top:0;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--control);
  border-radius:var(--r-pill);background:transparent;color:var(--ink);cursor:pointer}
.ft-pause .ic{display:none;width:18px;height:18px}
.ft-pause[aria-pressed="true"]{background:var(--tint)}
.ft-pause[aria-pressed="true"] .ic{display:block}
.ft-pause[aria-pressed="true"] .ft-bars{display:none}
.ft-bars{width:10px;height:14px;border-left:3px solid var(--ink);border-right:3px solid var(--ink)}
.ft-mq{display:grid;gap:12px;margin:40px calc(50% - 50vw) 0;overflow:hidden}
.ft-mq-track{display:flex;flex-wrap:wrap;gap:12px 0;padding-inline:max(16px,calc(50vw - 600px))}
.ft-mq-track li{flex:none;color:var(--ink);white-space:nowrap}
.ft-mq:not(.is-big) li{margin-right:12px;padding:10px 20px;border:1px solid var(--control);border-radius:var(--r-pill);font-size:var(--fs-text);
  font-weight:500;line-height:var(--lh-body)}
.ft-mq-track.m-marquee{flex-wrap:nowrap;padding-inline:0}
.ft-mq.is-big{gap:8px}
.ft-mq.is-big .ft-mq-track{font-size:var(--fs-section)}          /* standing still, it wraps and every word shows */
.ft-mq.is-big li{padding-bottom:.12em}                          /* room for the tail of a g: the box cuts off what is below it */
.ft-mq.is-big li{margin-right:56px}
.ft-mq.is-big [data-ft-mq-row="back"] li{color:var(--muted)}
.ft-sheet .ft-card{margin-top:40px}
.ft-card.is-flat{padding:20px 28px}
.ft-timeline{display:grid;gap:40px;margin-top:40px}
.ft-timeline li{display:grid;grid-template-columns:200px minmax(0,1fr);gap:8px 24px;align-items:center}
.ft-bar{position:relative;height:6px;border-radius:var(--r-pill);background:var(--tint)}
.ft-bar i{position:absolute;left:0;top:0;bottom:0;border-radius:var(--r-pill);background:var(--ink)}
.ft-bar b{position:absolute;top:-5px;width:16px;height:16px;margin-left:-8px;border:3px solid var(--paper);border-radius:var(--r-pill);background:var(--ink)}
/* the reminder's place on the bar: its day over the days an item stays shown (members/config.json; test_v2_features.py) */
[data-ft-days="loose"] .ft-bar i{width:87.5%}
[data-ft-days="loose"] .ft-bar b{left:87.5%}
[data-ft-days="loose"] .ft-mail{padding-right:calc(12.5% - 8px)}
[data-ft-days="pieces"] .ft-bar i{width:93.33%}
[data-ft-days="pieces"] .ft-bar b{left:93.33%}
[data-ft-days="pieces"] .ft-mail{padding-right:calc(6.67% - 8px)}
.ft-when>span{display:block}
.ft-mail,.ft-out{font-size:var(--fs-small);line-height:var(--lh-body);color:var(--text);text-align:right}
.ft-mail{margin-bottom:12px}
.ft-out{margin-top:12px}

/* ---------- the story: a list of steps, each with a still of the scene ---------- */
.ft-story{position:relative;margin-top:128px;--n:4}
.ft-story[data-ft-story="3"]{--n:3}
.ft-story[data-ft-story="5"]{--n:5}
.ft-marks,.ft-rail,.ft-sky,.ft-scene{display:none}
.ft-beats{border-top:1px solid var(--line)}
.ft-beat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 72px;align-items:center;padding:56px 0;border-bottom:1px solid var(--line)}
.ft-beat-t p{margin-top:12px;max-width:480px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);text-wrap:pretty}
/* pinned (.is-live, set by features.js once it is watching, so a script that is blocked, slow or fails hides nothing): a wide, tall
   enough screen, never print, with motion on. A dark stage across the window, under the floating header: the steps on the left, the
   page's picture on the right, and on it one scene, whose pieces features.js turns on (.on) and off (.off). A piece keeps its place
   while it is off, so nothing shifts. The step names only move by transform: after the step shown they make room for its words
   (--after) */
@media screen and (min-width:1024px) and (min-height:640px) and (prefers-reduced-motion:no-preference){
  html:not(.no-motion) .ft-story.is-live{--pad:max(48px,calc(50vw - 616px));--tall:calc(var(--n)*56px + 148px);height:calc(var(--n)*100vh);
    margin-inline:calc(50% - 50vw + 16px);view-timeline:--ft-story block}
  html:not(.no-motion) .ft-story.is-live .ft-marks{display:flex;flex-direction:column;position:absolute;inset:0;pointer-events:none}
  html:not(.no-motion) .ft-story.is-live .ft-marks i{flex:1 1 0}
  html:not(.no-motion) .ft-story.is-live .ft-pin{position:sticky;top:calc(var(--bar,0px) + 12px);height:calc(100vh - var(--bar,0px) - 24px)}
  html:not(.no-motion) .ft-story.is-live .ft-stage{position:relative;height:100%;border-radius:var(--r-4);background:var(--ink);color:var(--on-ink);
    overflow:clip}
  html:not(.no-motion) .ft-story.is-live :is(.ft-sky,.ft-scene){display:grid;position:absolute;top:0;bottom:0;right:0;width:56%}
  html:not(.no-motion) .ft-story.is-live .ft-sky{overflow:clip}
  /* a veil over the scene's photograph, so the cards in front stand out; a wall of photographs needs the one behind it to be quiet */
  html:not(.no-motion) .ft-story.is-live .ft-sky::after{content:"";position:absolute;inset:0;background:color-mix(in srgb,var(--ink) 32%,transparent)}
  html:not(.no-motion) .ft-story.is-live:has(.ft-wall) .ft-sky::after{background:color-mix(in srgb,var(--ink) 92%,transparent)}
  html:not(.no-motion) .ft-story.is-live .ft-scene{align-content:center;justify-items:center;padding:24px}
  html:not(.no-motion) .ft-story.is-live .ft-scene-in{width:min(560px,100%)}
  html:not(.no-motion) .ft-story.is-live .ft-rail{display:block;position:absolute;left:var(--pad);top:calc(50% - var(--tall)/2);width:3px;
    height:var(--tall);border-radius:var(--r-pill);background:var(--line-on-ink);overflow:clip}
  html:not(.no-motion) .ft-story.is-live .ft-rail i{position:absolute;inset:0;background:var(--on-ink);transform-origin:50% 0;
    transform:scaleY(var(--at,0));transition:transform var(--dur-3) var(--ease-out)}
  html:not(.no-motion) .ft-story.is-live .ft-beats{position:absolute;inset:0;border:0}
  html:not(.no-motion) .ft-story.is-live .ft-beat{position:static;display:block;padding:0;border:0;--i:0;--after:0}
  html:not(.no-motion) .ft-story.is-live .ft-beat:nth-child(2){--i:1}
  html:not(.no-motion) .ft-story.is-live .ft-beat:nth-child(3){--i:2}
  html:not(.no-motion) .ft-story.is-live .ft-beat:nth-child(4){--i:3}
  html:not(.no-motion) .ft-story.is-live .ft-beat:nth-child(5){--i:4}
  html:not(.no-motion) .ft-story.is-live .ft-beat.is-on~.ft-beat{--after:1}
  html:not(.no-motion) .ft-story.is-live .ft-beat-t{position:absolute;left:calc(var(--pad) + 40px);top:calc(50% - var(--tall)/2);
    width:min(400px,calc(44% - var(--pad) - 72px));transform:translate3d(0,calc(var(--i)*56px + var(--after)*148px),0);
    transition:transform var(--dur-4) var(--ease-out)}
  html:not(.no-motion) .ft-story.is-live .ft-beat-h{color:var(--on-ink);transform:scale(.75);transform-origin:0 50%;opacity:.7;
    transition:transform var(--dur-4) var(--ease-out),opacity var(--dur-3) var(--ease-out)}
  html:not(.no-motion) .ft-story.is-live .ft-beat-t p{color:var(--on-ink-muted);opacity:0;transition:opacity var(--dur-1) var(--ease-out)}
  html:not(.no-motion) .ft-story.is-live .ft-beat-c{display:none}
  html:not(.no-motion) .ft-story.is-live .ft-beat.is-on .ft-beat-h{transform:none;opacity:1}
  html:not(.no-motion) .ft-story.is-live .ft-beat.is-on .ft-beat-t p{opacity:1;transition:opacity var(--dur-3) var(--ease-out) var(--dur-2)}
  /* the scene's pieces: a new one rises into place, one that has had its turn goes on up */
  html:not(.no-motion) .ft-story.is-live .ft-p{opacity:0;transform:translate3d(0,44px,0) scale(.94);
    transition:opacity var(--dur-2) var(--ease-out),transform var(--dur-4) var(--ease-out)}
  html:not(.no-motion) .ft-story.is-live .ft-p.off{transform:translate3d(0,-36px,0) scale(.96)}
  html:not(.no-motion) .ft-story.is-live .ft-p.on{opacity:1;transform:none;
    transition:opacity var(--dur-3) var(--ease-out) var(--dur-1),transform var(--dur-4) var(--ease-out) var(--dur-1)}
  html:not(.no-motion) .ft-story.is-live .ft-p.is-right{transform:translate3d(-60%,0,0) scale(.94)}
  html:not(.no-motion) .ft-story.is-live .ft-p.is-right.on{transform:none}
  /* a stone a filter rules out stays in the wall, faint and smaller; the wall steps back when one stone opens */
  html:not(.no-motion) .ft-story.is-live .ft-cell.off{opacity:.16;transform:scale(.78)}
  html:not(.no-motion) .ft-story.is-live .ft-wall-w.off{opacity:.2;transform:scale(.92)}
  html:not(.no-motion) .ft-story.is-live .ft-p.ft-bead{opacity:1;transform:none}
  html:not(.no-motion) .ft-story.is-live .ft-p.ft-bead:not(.on){background:var(--tint);color:var(--ink)}
  /* placed without moving when it is first pinned: the names start in one spot and would cross on their way */
  html:not(.no-motion) .ft-story.is-live:not(.is-ready) *{transition:none!important}
}
.ft-cell.is-off{opacity:.16;transform:scale(.78)}
.ft-wall-w.is-off{opacity:.2}

/* ---------- tied to the scroll, where the browser can: no script ---------- */
@keyframes ft-away{from{opacity:1;transform:none}to{opacity:.1;transform:translate3d(0,96px,0)}}
@keyframes ft-up{from{transform:translate3d(0,48px,0)}to{transform:translate3d(0,-120px,0)}}
@keyframes ft-drift{from{transform:translate3d(0,-9.5%,0)}to{transform:translate3d(0,9.5%,0)}}
@keyframes ft-front{from{transform:translate3d(0,88px,0)}to{transform:translate3d(0,-88px,0)}}
@keyframes ft-col{from{transform:translate3d(0,64px,0)}to{transform:translate3d(0,-64px,0)}}
@keyframes ft-fill{from{transform:scaleY(0)}to{transform:none}}
@keyframes ft-rise{from{opacity:0;transform:translate3d(0,56px,0)}to{opacity:1;transform:none}}
@media screen and (prefers-reduced-motion:no-preference){
  html:not(.no-motion) .ft-float>*{animation:ft-rise var(--dur-4) var(--ease-out) both}
  @supports (animation-timeline:view()){
    html:not(.no-motion) .ft-frame:not(.is-still) .pic{animation:ft-drift linear both;animation-timeline:view()}
    html:not(.no-motion) .ft-front{animation:ft-front linear both;animation-timeline:view()}
    html:not(.no-motion) .ft-story.is-live .ft-sky .pic{animation:ft-drift linear both;animation-timeline:--ft-story}
    html:not(.no-motion) .ft-story.is-live .ft-rail i{transition:none;animation:ft-fill linear both;animation-timeline:--ft-story;
      animation-range:contain 0% contain 100%}
  }
}
/* the first screen's words fade as they leave. In a low window (a phone on its side, a page zoomed to 400%) they would fade before they
   had been read, and the card would rise over the link under them: there both stay (540 px, as menu.css) */
@media screen and (min-height:540px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .ft-hero-t{animation:ft-away linear both;animation-timeline:scroll(root block);animation-range:0 80vh}
    html:not(.no-motion) .ft-float{animation:ft-up linear both;animation-timeline:scroll(root block);animation-range:0 100vh}
  }
}
@media screen and (min-width:901px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .ft-links>li:nth-child(3n+2){animation:ft-col linear both;animation-timeline:view()}
    html:not(.no-motion) .ft-links:has(>:nth-child(4):last-child)>li{animation:none}
    html:not(.no-motion) .ft-links:has(>:nth-child(4):last-child)>li:nth-child(even){animation:ft-col linear both;animation-timeline:view()}
  }
}
@media (prefers-reduced-motion:reduce){.ft-q-ic,.ft-lk .ft-frame{transition:none}}
html.no-motion :is(.ft-q-ic,.ft-lk .ft-frame){transition:none}

/* ---------- tablet and phone: one column, the words first ---------- */
@media (max-width:900px){
  .ft-row,.ft-beat{grid-template-columns:minmax(0,1fr)}
  .ft-row.is-flip .ft-text{order:0}
  .ft-row .ft-show{margin-top:40px}
  .ft-three{grid-template-columns:minmax(0,1fr)}
  .ft-links,.ft-links:has(>:nth-child(4):last-child){grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 16px;margin-top:40px}
}
@media (max-width:760px){
  .ft-page{padding-top:8px}
  .ft-hero{margin-inline:calc(50% - 50vw + 8px);padding:40px 16px 0}
  .ft-hero-v{margin-top:40px}
  .ft-hero-v .ft-frame{aspect-ratio:4/5}
  .ft-three{margin-top:56px}
  .ft-row,.ft-sheet,.ft-live,.ft-upload,.ft-sec,.ft-words,.ft-faq,.ft-more{margin-top:96px}
  .ft-story{margin-top:72px}
  .ft-beat{padding:32px 0}
  .ft-card{padding:20px}
  .ft-back{margin-left:8%}
  .ft-front{width:88%}
  .ft-sheet .ft-text,.ft-words .ft-text{padding-right:60px}
  .ft-timeline li{grid-template-columns:minmax(0,1fr)}
  .ft-facts>div{flex-direction:column}
  .ft-facts dd{text-align:left}
  .ft-sides{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)}
  .ft-wall{gap:8px}
  .ft-mq.is-big li{margin-right:32px}
}

/* member goods browsing (Task 7, v2/members.py goods_view/item_view, src2/js/members.js goods()/item()).
   Tokens only. Corners on the site's tokens (--r-*), flat, no cards: a picture, one line, one line. Green leads; gold only for money and the
   certificate mark. Motion: transform, opacity and blur only (motion.js); site.css has the shimmer and the shared-element rule. */

/* ---------- the list ---------- */
/* the kinds: one segmented pill (the picked kind is the ink pill inside the tint one); the categories: outlined chips */
.gd-kinds{display:flex;width:max-content;max-width:100%;gap:4px;margin-top:var(--space-5);padding:4px;background:var(--tint);border-radius:var(--r-pill);
  overflow-x:auto;scrollbar-width:none}
.gd-kinds::-webkit-scrollbar{display:none}
.gd-kinds button,.gd-cats button{border:0;background:transparent;cursor:pointer;white-space:nowrap;border-radius:var(--r-pill)}
.gd-kinds button{flex:none;min-height:40px;padding:0 var(--space-5);font:500 16px/var(--lh-body) var(--sans);color:var(--text);
  transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out)}
.gd-kinds button[aria-pressed="true"]{background:var(--ink);color:var(--on-ink)}
.gd-kinds button:not([aria-pressed="true"]):hover{background:var(--paper);color:var(--ink)}
.gd-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:var(--space-4) var(--space-6);margin-top:var(--space-5)}
.gd-cats{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.gd-cats button{min-height:40px;padding:0 var(--space-4);border:1px solid var(--line);font-size:16px;line-height:var(--lh-body);color:var(--text);
  transition:background-color var(--dur-1) var(--ease-out),border-color var(--dur-1) var(--ease-out)}
.gd-cats button:not([aria-pressed="true"]):hover{border-color:var(--ink);color:var(--ink)}
.gd-cats button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
/* the carat pair follows the chips from the left: pushed to the far right it hung under them on its own (UI audit 2026-11-25) */
.gd-pair{display:flex;gap:var(--space-4)}
.gd-pair .mb-field{margin-top:0;flex:0 1 112px}
.gd-pair .input{height:40px}
.gd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-6) var(--space-5);margin-top:var(--space-6)}
.gd-card{display:block;color:inherit;text-decoration:none;min-width:0}
.gd-frame{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:var(--tint);border-radius:var(--r-2)}
.gd-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity var(--dur-2) var(--ease-out)}
.gd-frame.is-in img{opacity:1}
.gd-frame.is-in::after,.gd-frame.gd-miss::after{display:none}
/* no photo, or one that did not load (members.js and chat.js frame(): .gd-miss): a picture icon on the tint and, on a card, Home's
   tiles and the item's large picture, the words; never another item's picture (Jack 2026-11-28). The broken <img> stays at opacity 0. */
.gd-nopic{position:absolute;inset:0;display:grid;align-content:center;justify-items:center;gap:var(--space-2);padding:var(--space-2);
  font-size:14px;line-height:var(--lh-body);color:var(--text);text-align:center}
.gd-nopic .ic{width:20px;height:20px}
.gd-nopic-w{display:none}
.gd-card .gd-nopic-w,.hm-tile-g .gd-nopic-w,.gd-hero .gd-nopic-w{display:block}
.gd-card .gd-nopic .ic,.hm-tile-g .gd-nopic .ic,.gd-hero .gd-nopic .ic{width:24px;height:24px}
html.no-motion .gd-frame img{transition:none}
@media (prefers-reduced-motion:reduce){.gd-frame img{transition:none}}
.gd-title{display:block;margin-top:var(--space-3);font:500 18px/var(--lh-body) var(--sans);color:var(--ink);overflow-wrap:anywhere}
.gd-line{display:flex;flex-wrap:wrap;gap:0 var(--space-3);margin-top:2px;font-size:16px;line-height:var(--lh-body);color:var(--muted)}
.gd-price{color:var(--ink);font-weight:500;font-variant-numeric:lining-nums}
.gd-cert{display:inline-flex;align-items:center;gap:4px;color:var(--ink)}
.gd-pc{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.gd-cert .ic{width:16px;height:16px;color:var(--gold)}
/* "Certification in progress" (the trial, final review F6): a quiet outlined pill, never gold (it is not a certification mark) */
.gd-prog{display:inline-flex;align-items:center;padding:0 var(--space-3);border:1px solid var(--line);border-radius:var(--r-pill);font-size:14px;
  line-height:var(--lh-body);color:var(--muted);white-space:nowrap}
.gd-prog-item{margin-top:var(--space-4)}
.gd-card:hover .gd-title{text-decoration:underline;text-underline-offset:3px}
.gd-card.gd-sk .gd-frame{background:var(--tint)}
.gd-skline{display:block;height:16px;margin-top:var(--space-3)}
.gd-skline+.gd-skline{width:60%;margin-top:var(--space-2)}
.gd-none{margin-top:var(--space-6);font-size:18px;line-height:var(--lh-body)}
.gd-end{height:1px}

/* ---------- one item ---------- */
.gd-item{display:grid;grid-template-columns:minmax(0,720fr) minmax(0,432fr);gap:var(--space-7);align-items:start;margin-top:var(--space-6)}
.gd-gallery{min-width:0}
.gd-hero{display:block;width:100%}
.gd-thumbs{display:flex;gap:var(--space-2);margin-top:var(--space-2);overflow-x:auto;scrollbar-width:none}
.gd-thumbs::-webkit-scrollbar{display:none}
.gd-thumbs button{border-radius:var(--r-2);flex:0 0 84px;padding:0;border:1px solid transparent;background:transparent;cursor:pointer}
.gd-thumbs button[aria-pressed="true"]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.gd-thumbs .gd-frame{width:100%}
.gd-video{border-radius:var(--r-2);display:block;width:100%;margin-top:var(--space-2);background:var(--ink);aspect-ratio:16/9}
/* a video for members only (Task 21 fix round 1): in its place, for anyone else, a tile with the play mark and Join to watch */
.gd-vlock{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--on-ink);text-decoration:none;
  font:500 16px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans)}
.gd-vlock .ic{width:22px;height:22px}
.gd-side{min-width:0}
.gd-kind{font-size:16px;line-height:var(--lh-body);color:var(--muted)}
.gd-specs{margin-top:var(--space-4);border-top:1px solid var(--line)}
.gd-spec{display:flex;justify-content:space-between;gap:var(--space-5);padding:var(--space-3) 0;border-bottom:1px solid var(--line);font-size:18px;line-height:var(--lh-body)}
.gd-spec>:first-child{color:var(--muted)}
.gd-spec>:last-child{color:var(--ink);text-align:right;overflow-wrap:anywhere}
.gd-money{margin-top:var(--space-5)}
.gd-amount{font:var(--w-num) 40px/var(--lh-head) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;letter-spacing:var(--ls-sans)}
.gd-unit{font-size:18px;line-height:var(--lh-body);color:var(--text)}
.gd-seller{margin-top:var(--space-3);font-size:18px;line-height:var(--lh-body)}
.gd-acts{display:flex;flex-wrap:wrap;gap:var(--space-4) var(--space-5);align-items:center;margin-top:var(--space-5)}
.gd-orig{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-5);margin-top:var(--space-4)}
/* the owner's item is its editor (Task 23, sim round 1 F1; members.js editItem): the stepper's photo grid where the gallery is (four
   tiles a row here), its fields and price where the side is, Save, then Sold / Withdraw. The status in its chip, as on My stock */
.gd-egal .sa-photos{grid-template-columns:repeat(4,minmax(0,1fr))}
.gd-rm .mb-sure{margin-top:var(--space-3)}
.gd-st{margin-top:var(--space-2)}
.gd-form{margin-top:var(--space-4)}
.gd-form>.sa-k{margin-bottom:var(--space-2)}
.gd-form .sa-pricef{margin-top:var(--space-2)}
.gd-form .sa-amt{font-size:48px;line-height:var(--lh-head)}
.gd-form .sa-sum{margin-top:var(--space-4)}
.gd-form>.mb-field,.gd-form>.sa-row,.gd-form>.mb-more-f{margin-top:var(--space-5)}
.gd-save{margin-top:var(--space-5)}
.gd-stacts{margin-top:var(--space-4)}
.gd-stacts .mb-sure{flex-basis:100%}

@media (max-width:1100px){.gd-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.gd-item{grid-template-columns:minmax(0,1fr);gap:var(--space-5)}}
@media (max-width:760px){
  .gd-egal .sa-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .gd-form .sa-amt{font-size:40px}
  .gd-save .btn{width:100%}
  /* Save in reach (sim round 2 N10): the stepper's bar (shell.css .sa-foot), stuck to the bottom above the tab bar */
  .gd-save{position:sticky;bottom:calc(68px + env(safe-area-inset-bottom,0px));z-index:5;margin-left:-16px;margin-right:-16px;padding:12px 16px;
    border-top:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-float)}
  .gd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-5) var(--space-3)}
  .gd-pair{margin-left:0;width:100%}
  .gd-pair .mb-field{flex:1 1 0}
  .gd-title{font-size:16px;line-height:var(--lh-body)}
}
/* the kinds and, on a phone, the Filter button on one row; the filter row opens under it */
.gd-top{display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-3)}
.gd-top .gd-kinds{min-width:0;margin-top:0}
.gd-filter-b{display:none;flex:none;min-height:40px;padding:0 var(--space-4);border:1px solid var(--line);border-radius:var(--r-pill);background:transparent;
  color:var(--ink);font:500 16px/var(--lh-body) var(--sans);cursor:pointer}
.gd-filter-b[aria-expanded="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
/* the item: a locked price (lock and one word), the originals with the download icon */
/* a closed price reads as a value that is not shown, not as a button: no fill, no frame, the muted colour of a label */
.gd-locked{display:flex;align-items:center;gap:8px;margin-top:var(--space-5);color:var(--muted);font:500 20px/var(--lh-body) var(--sans)}
.gd-locked .ic{width:20px;height:20px}
.gd-dl{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.gd-dl:hover span{text-decoration:underline;text-underline-offset:3px}
.btn[data-action="message"] .ic{margin:0 8px 0 -4px}
@media (max-width:760px){
  .gd-top{flex-direction:column;align-items:flex-start;gap:var(--space-3)}
  /* the kinds scroll sideways and snap, each tab whole (Task 26, sim round 1 F25: "Jewelry" was cut at the edge of a 390 px screen) */
  .gd-kinds{max-width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 4px;overscroll-behavior-x:contain}
  .gd-kinds button{padding:0 12px;scroll-snap-align:start}
  .gd-filter-b{display:inline-flex;align-items:center;gap:8px}
  .gd-filters{display:none}
  .gd-filters.is-open{display:flex}
}
/* Task 24 (sim round 1 F4, F21): Offer beside Contact (an outlined twin of .btn), its form under them; Download all above the list of
   originals, the video marked as one */
.btn-line{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.btn-line:hover{background:var(--tint)}
a.btn-line{text-decoration:none}
.btn-line .ic{margin:0 8px 0 -4px}
.gd-oform{margin-top:var(--space-4)}
.gd-oform .mb-short .sa-box .input{width:180px}
.gd-dlall{margin-top:var(--space-5)}
@media (max-width:760px){
  .gd-acts .btn{flex:1 1 0}
  .gd-oform .mb-field{flex:1 1 140px}
  .gd-oform .mb-short .input,.gd-oform .mb-short .sa-box .input{width:100%;max-width:none}
}
/* Task 25 (sim round 1 F17): the filters of the kind shown; a loose list's shape chips and colour and clarity ranges on rows of their
   own. A filter row of another kind is hidden whatever its own display */
.gd-filters [hidden],.gd-ask[hidden]{display:none!important}
.gd-loose{display:flex;flex-direction:column;gap:var(--space-3);flex-basis:100%;min-width:0}
.gd-loose .mb-field{margin-top:0}
.gd-ask{margin-top:var(--space-4)}

/* home (v2/home.py, Task 12, 2026-11-23): the opening (the sand, as it was), then the showcase: kinds, how, sellers, join (the products
   section before them is css/products.css; the rules section went in Task 21 fix round 1);
   and the 404. Tokens only (type, corners: site.css); green leads, gold only for money and the certification mark. Motion
   (src2/js/home.js over motion.js): the kinds snap on a phone, the how story pins with a rail on a wide screen, the seller names
   move slowly, the seller bands spring in, two figures roll once. transform and opacity only; nothing moves while the page is idle;
   under reduced motion (and html.no-motion) every section stands still in its stacked, complete form.
   The English page also moves with the scroll (2026-11-28): the hp- rules at the end, and what they need of the sections above. */

/* ---------- opening: 吹尽狂沙始到金 (the sand is drawn on the canvas; the last frame stands without WebGL) ----------
   The opening is at least 828 px tall, never exactly: larger text or wider spacing makes it taller instead of cutting off the
   button (a11y-09). The sand thins out over its last 120 px, so the opening runs into the page instead of stopping on a ruled
   edge (V14). From 901 to 1100 px the headline is narrower, so the dune and its gold seam pass to its right (V06); up to 900 px
   the sand sits under the words, as on a phone, instead of across them (M03).
   On a page with the floating bar (--bar, menu.css: how far down the window it reaches; a Chinese page or a held build has none) the
   opening starts at the top of the window, so the sand runs on behind the bar instead of stopping under it. It is that much taller, so
   the words, the dune (drawn from its lower right corner) and everything after it stay where they were. */
.hero{position:relative;min-height:calc(828px + var(--bar,0px));margin-top:calc(-1 * var(--bar,0px));padding-top:var(--bar,0px);overflow:hidden}
.hero-stage{position:absolute;inset:0;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 120px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 120px),transparent)}
.hero-stage canvas,.hero-stage .film-still{position:absolute;inset:0;width:100%;height:100%;display:block}
.hero-stage canvas{opacity:0;transition:opacity .7s linear}
.hero-stage canvas.on{opacity:1}
.hero-stage .film-still{object-fit:cover;object-position:100% 100%}
.hero-copy{position:relative;z-index:1;padding-top:96px}
.hero h1{max-width:920px}
.hero .btn{margin-top:40px}
@media (max-width:1100px) and (min-width:901px){
  .hero h1.t-hero{max-width:58vw}
}

/* ---------- the sections ---------- */
.kinds,.join,.sellers{margin-top:128px}
.kinds h2,.join h2{margin-bottom:40px}
/* the section headlines are the section role (.t-section: the serif, 56 -> 48.5; Task 29), set in the markup */

/* ---------- kinds: three pictures (each kind's own look, Task 29) and a name in the serif; on a phone a row that snaps by whole
   pictures ---------- */
.kinds-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-5)}
.kind{min-width:0}
.kind .pic{aspect-ratio:4/5}
.kind-w{margin-top:20px}
.snap-dots{display:none}

/* ---------- how: four steps. Stacked by default (a phone, reduced motion, no script); pinned on a wide screen (.is-pinned,
   home.js), where the step in view is the one whose mark crosses the middle of the screen (motion.js pinStory over .how-marks,
   which writes data-step), the rail fills by quarters and that step's demo comes forward over the stage ---------- */
.how{position:relative;margin-top:128px}
.how-marks{display:none}
.how-text h2{margin-bottom:24px}
.how-rail{display:none}
.beats{border-top:1px solid var(--line)}
.beat{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:72px;align-items:center;padding:40px 0;border-bottom:1px solid var(--line)}
.beat-w{display:flex;align-items:center;gap:16px}                 /* the feature role (.t-feature) */
.beat-n{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;border-radius:var(--r-pill);background:var(--tint);
  font:500 var(--fs-text)/1 var(--sans);color:var(--ink);letter-spacing:var(--ls-sans)}
.how-demo{position:relative;aspect-ratio:720/460;container-type:inline-size}

/* pinned only on a screen wide and tall enough for the stage beside the steps (home.js asks the same query); else stacked */
@media (min-width:901px) and (min-height:600px){
  .how.is-pinned{height:400vh}
  .how.is-pinned .how-marks{display:flex;flex-direction:column;position:absolute;inset:0;pointer-events:none}
  .how.is-pinned .how-marks i{flex:1 1 0}
  .how.is-pinned .how-pin{position:sticky;top:var(--bar,0px);height:calc(100vh - var(--bar,0px));min-height:calc(560px - var(--bar,0px));
    display:flex;align-items:center}                              /* below the floating bar (--bar, as in the opening above) */
  .how.is-pinned .how-text{position:relative;width:320px;padding-left:32px}
  .how.is-pinned .how-rail{display:block;position:absolute;left:0;top:72px;bottom:4px;width:3px;border-radius:var(--r-pill);background:var(--line)}
  .how.is-pinned .how-rail i{position:absolute;inset:0;border-radius:var(--r-pill);background:var(--ink);transform-origin:50% 0;transform:scaleY(.25);
    transition:transform var(--dur-3) var(--ease-out)}
  .how-marks[data-step="1"]~.how-pin .how-rail i{transform:scaleY(.5)}
  .how-marks[data-step="2"]~.how-pin .how-rail i{transform:scaleY(.75)}
  .how-marks[data-step="3"]~.how-pin .how-rail i{transform:none}
  .how.is-pinned .beats{border-top:0}
  .how.is-pinned .beat{display:block;padding:14px 0;border-bottom:0;opacity:.32}
  .how.is-pinned .beat-n{background:transparent;box-shadow:inset 0 0 0 1.5px var(--line)}
  /* the step in view (no data-step yet: the first) */
  .how-marks:not([data-step])~.how-pin .beat:nth-child(1),.how-marks[data-step="0"]~.how-pin .beat:nth-child(1),
  .how-marks[data-step="1"]~.how-pin .beat:nth-child(2),.how-marks[data-step="2"]~.how-pin .beat:nth-child(3),
  .how-marks[data-step="3"]~.how-pin .beat:nth-child(4){opacity:1}
  .how-marks:not([data-step])~.how-pin .beat:nth-child(1) .beat-n,.how-marks[data-step="0"]~.how-pin .beat:nth-child(1) .beat-n,
  .how-marks[data-step="1"]~.how-pin .beat:nth-child(2) .beat-n,.how-marks[data-step="2"]~.how-pin .beat:nth-child(3) .beat-n,
  .how-marks[data-step="3"]~.how-pin .beat:nth-child(4) .beat-n{background:var(--ink);color:var(--on-ink);box-shadow:none}
  /* the stage: right of the steps (the step column holds the rail, so it is the demos' containing block: the stage starts 72 px
     past it and runs to the page's right edge), centred in the pinned screen (translate centres it; transform is left to the motion) */
  .how.is-pinned .how-demo{position:absolute;top:50%;translate:0 -50%;left:calc(100% + 72px);
    width:min(880px,calc(min(1200px,100vw - 2 * max(16px,4vw)) - 424px));
    opacity:0;transform:translate3d(0,28px,0) scale(.97);pointer-events:none}
  /* the steps change with a transition only once the pinned layout has settled (.is-ready, a frame after .is-pinned), so a page
     opened in the middle of the story does not fade its other demos out */
  .how.is-ready .beat{transition:opacity var(--dur-3) var(--ease-out)}
  .how.is-ready .beat-n{transition:background-color var(--dur-3) var(--ease-out),color var(--dur-3) var(--ease-out)}
  .how.is-ready .how-demo{transition:opacity var(--dur-3) var(--ease-out),transform var(--dur-4) cubic-bezier(.2,1.15,.3,1)}
  .how-marks:not([data-step])~.how-pin .beat:nth-child(1) .how-demo,.how-marks[data-step="0"]~.how-pin .beat:nth-child(1) .how-demo,
  .how-marks[data-step="1"]~.how-pin .beat:nth-child(2) .how-demo,.how-marks[data-step="2"]~.how-pin .beat:nth-child(3) .how-demo,
  .how-marks[data-step="3"]~.how-pin .beat:nth-child(4) .how-demo{opacity:1;transform:none;pointer-events:auto}
  /* the English page (2026-11-28). A step changes when its mark is 55% down the screen (motion.js pinStory), so marks that start there
     give the four steps the same share of the pinned scroll, and a line that fills with the scroll (below) reaches each step as it
     comes. A change of scene: the next one comes up from below, small, the one before leaves upwards and fades first */
  .hp-how.is-pinned .how-marks{top:55vh;bottom:45vh}
  .hp-how.is-pinned .how-demo{--hp-fade:var(--dur-2);transform:translate3d(0,26vh,0) scale(.84)}
  .hp-how .how-marks[data-step="1"]~.how-pin .beat:nth-child(-n+1) .how-demo,
  .hp-how .how-marks[data-step="2"]~.how-pin .beat:nth-child(-n+2) .how-demo,
  .hp-how .how-marks[data-step="3"]~.how-pin .beat:nth-child(-n+3) .how-demo{transform:translate3d(0,-20vh,0) scale(.88)}
  .hp-how .how-marks:not([data-step])~.how-pin .beat:nth-child(1) .how-demo,.hp-how .how-marks[data-step="0"]~.how-pin .beat:nth-child(1) .how-demo,
  .hp-how .how-marks[data-step="1"]~.how-pin .beat:nth-child(2) .how-demo,.hp-how .how-marks[data-step="2"]~.how-pin .beat:nth-child(3) .how-demo,
  .hp-how .how-marks[data-step="3"]~.how-pin .beat:nth-child(4) .how-demo{--hp-fade:var(--dur-3)}
  .hp-how.is-ready .how-demo{transition:opacity var(--hp-fade) var(--ease-out),transform var(--dur-4) var(--ease-out)}
}

/* ---------- the demos (Task 13): each drawn by the bundle home.js loads (drop/gdcs-site/demos), in a layer of its own over its
   poster, rounded as the poster is; once it has drawn (data-live) it fades in and the poster out. A demo is 720 x 460 on a wide
   slot and 358 x 352 on a narrow one (under 560 px, the kit's compact design): the mount takes the shape of the design shown, and on
   a phone it takes the compact shape as soon as home.js will load the demos (.has-demos), so nothing below moves when they arrive.
   Under reduced motion, html.no-motion or with no script nothing here applies: the posters stay as they are. ---------- */
.how-demo .demo-live{position:absolute;inset:0;overflow:hidden;border-radius:var(--r-4);opacity:0;transition:opacity var(--dur-3) var(--ease-out)}
.how-demo[data-live] .demo-live{opacity:1}
.how-demo[data-live] .poster{opacity:0;transition:opacity var(--dur-3) var(--ease-out)}
@media (max-width:608px){
  .how.has-demos .how-demo{aspect-ratio:358/352}
}
.how-demo:has(.ss-stage[data-layout="compact"]){aspect-ratio:358/352}
.how-demo:has(.ss-stage[data-layout="wide"]){aspect-ratio:720/460}
/* the demo's kinds are three equal parts of one pill, too narrow for "Loose stones": it broke onto a second line, cut off */
.how-demo .dm .ss-stage[data-layout] .dmf-top .dmf-kinds{width:min(100%,312px)}
.how-demo .dm .dmf-kinds .ss-seg__option{padding:0 4px;white-space:nowrap}

/* ---------- the posters: one still frame per demo (Task 13 mounts the moving demo over it). Sizes in cqi, so a poster is the
   same picture at 1440 and at 390 ---------- */
.poster{position:absolute;inset:0;display:flex;flex-direction:column;gap:3cqi;padding:4.4cqi;overflow:hidden;box-sizing:border-box;
  background:var(--sheet);border:1px solid var(--line);border-radius:var(--r-4)}
.poster .ic{width:max(14px,3.2cqi);height:max(14px,3.2cqi);vertical-align:middle}
.poster .shot{border-radius:var(--r-2)}
.poster .shot b{font-size:max(9px,2cqi)}
.pb{display:block;flex:none;height:max(6px,1.3cqi);border-radius:var(--r-pill);background:var(--line)}
.pb-2{width:8cqi}.pb-3{width:12cqi}.pb-4{width:18cqi}.pb-5{width:26cqi}
.pb-soft{opacity:.55}
.pp-row{display:flex;align-items:center;gap:1.6cqi}
.pp-pill{display:inline-flex;align-items:center;gap:1.4cqi;height:6.4cqi;padding:0 2.6cqi;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--paper);color:var(--ink)}
.pp-pill.pp-on{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.pp-pill.pp-on .pb{background:var(--line-on-ink)}
.pp-pill.pp-ic{margin-left:auto;padding:0 2cqi}
.pp-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.6cqi;flex:1;align-content:start}
.pp-tile{display:flex;flex-direction:column;gap:1.3cqi;min-width:0}
.pp-tile .shot{margin-bottom:.6cqi;aspect-ratio:4/5}
.pp-pick .shot{box-shadow:0 0 0 max(2px,.5cqi) var(--ink)}
.pp-msg{display:flex;flex-direction:column;gap:1.4cqi;max-width:54%;padding:2.6cqi 3.2cqi;border-radius:var(--r-2);background:var(--tint)}
.pp-msg.pp-in{align-self:flex-start;margin-top:1cqi}
.pp-msg.pp-out{align-self:flex-end;background:var(--ink)}
.pp-msg.pp-out .pb{background:var(--line-on-ink)}
.pp-send{display:flex;align-items:center;gap:2cqi;margin-top:auto;padding-left:3cqi;height:8cqi;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--paper)}
.pp-send .pb{flex:1;width:auto;max-width:40cqi}
.pp-go{display:inline-grid;place-items:center;flex:none;width:8cqi;height:8cqi;margin-left:auto;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink)}
.pp-send .pp-go{width:6.6cqi;height:6.6cqi;margin-right:.7cqi}
.pp-shots{display:flex;gap:2.6cqi;flex:1;min-height:0}
.pp-shots .pp-big{flex:2 1 0;aspect-ratio:auto}
.pp-col{display:flex;flex-direction:column;gap:2.6cqi;flex:1 1 0}
.pp-col .shot{flex:1;aspect-ratio:auto}
.pp-dl{display:flex;align-items:center;gap:2.6cqi}
.pp-dl .pp-go{margin-left:0}
/* the files saved from the page: small pictures without the mark, a tick beside each */
.pp-files{display:flex;gap:3cqi}
.pp-file{display:flex;align-items:center;gap:1.2cqi;color:var(--ink)}
.pp-file .shot{flex:none;width:8cqi;aspect-ratio:1/1}
.pp-tick{display:inline-flex}
.pp-steps{display:flex;justify-content:space-between;align-items:center;position:relative;padding:0 1cqi}
.pp-steps::before{content:"";position:absolute;left:4cqi;right:4cqi;top:50%;height:max(2px,.5cqi);margin-top:max(-1px,-.25cqi);border-radius:var(--r-pill);
  background:linear-gradient(90deg,var(--ink) 0 72%,var(--line) 72% 100%)}
.pp-dot{position:relative;display:inline-grid;place-items:center;width:7cqi;height:7cqi;border-radius:var(--r-pill);background:var(--paper);
  box-shadow:inset 0 0 0 1.5px var(--line);font:500 max(10px,2.6cqi)/1 var(--sans);color:var(--muted)}
.pp-dot.pp-on{background:var(--ink);color:var(--on-ink);box-shadow:none}
.pp-dot.pp-now{box-shadow:0 0 0 max(3px,1cqi) var(--tint)}
.pp-form{display:flex;gap:3.4cqi;flex:1;min-height:0;align-items:stretch}
.pp-drop{display:grid;place-items:center;flex:0 0 34%;border:max(1.5px,.35cqi) dashed var(--line);border-radius:var(--r-2);color:var(--control)}
.pp-drop .ic{width:max(18px,5cqi);height:max(18px,5cqi)}
.pp-fields{display:flex;flex-direction:column;justify-content:center;gap:2.2cqi;flex:1;min-width:0}
.pp-field{display:flex;align-items:center;gap:1.6cqi;height:8cqi;padding:0 2.8cqi;border:1px solid var(--line);border-radius:var(--r-2);background:var(--paper);color:var(--ink)}
.pp-field.pp-field-on{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}

/* ---------- sellers: the names, moving slowly (home.js: only when they overflow the screen; never under reduced motion) ---------- */
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.sec-n{color:var(--muted)}
.sec-n:empty{display:none}
.mq{margin-top:28px;overflow:hidden}
.mq.is-moving{-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.mq-track{display:flex;flex-wrap:wrap;row-gap:12px;max-width:1200px;margin-inline:auto;box-sizing:content-box;
  padding-inline:max(16px,env(safe-area-inset-left,0px),4vw)}
.mq-track.m-marquee{flex-wrap:nowrap;max-width:none;margin-inline:0;padding-inline:0}
.mq-i{display:inline-flex;align-items:center;gap:8px;flex:none;min-height:52px;margin-right:12px;padding:0 22px;border:1px solid var(--line);
  border-radius:var(--r-pill);background:var(--sheet);font:500 var(--fs-text)/var(--lh-body) var(--sans);color:var(--ink);white-space:nowrap}
.mq-i .ic{width:18px;height:18px;color:var(--gold)}                    /* certified: the certification mark */
.mq-tag{padding-left:10px;border-left:1px solid var(--line);font-size:var(--fs-small);line-height:var(--lh-body);font-weight:500;color:var(--muted)}   /* in progress */

/* ---------- join: two ink panels, each opening with its picture (Task 29), money in gold. The plan's name is the title role, a
   price the hero size, SD's parts the sub-line size: their figures, no tnum ---------- */
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.plan{display:flex;flex-direction:column;gap:24px;min-width:0;padding:16px 16px 32px;border-radius:var(--r-4);background:var(--ink);
  color:var(--on-ink-muted);--focus:var(--on-ink)}
.plan>:not(.plan-pic){margin-inline:20px}
.plan-pic{aspect-ratio:16/9;border-radius:var(--r-2);margin-bottom:8px}
.plan h3{color:var(--on-ink)}
.plan-price{display:flex;align-items:baseline;gap:8px;color:var(--gold);font-family:var(--sans);font-weight:var(--w-num)}
.plan-price .cur{font-size:var(--fs-lead);line-height:var(--lh-head)}
.plan-price .amt{font-size:var(--fs-hero);line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
.plan .per{font:400 var(--fs-text)/var(--lh-body) var(--sans);color:var(--on-ink-muted);letter-spacing:var(--ls-sans)}
/* SD (SJ/SD, Jack 2026-11-26): its price, then its two parts, the badge they bring, the price without them */
.plan-parts{margin-top:-12px;border-top:1px solid var(--line-on-ink)}
.plan-parts li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:12px 0;border-bottom:1px solid var(--line-on-ink);color:var(--on-ink)}
.plan-note{font-size:var(--fs-text);line-height:var(--lh-body);color:var(--on-ink-muted)}
.plan-badge{display:flex;align-items:center;gap:8px;margin-top:-8px;color:var(--on-ink)}
.plan-badge .ic{flex:none;width:20px;height:20px;color:var(--gold)}
.plan-fee{flex:none;color:var(--gold);font:var(--w-num) var(--fs-lead)/var(--lh-body) var(--sans);white-space:nowrap}
.plan-fee .cur{margin-right:4px;font-size:var(--fs-small)}
.plan .btn{margin-top:auto;align-self:flex-start}
.btn-on-ink{background:var(--on-ink);color:var(--ink)}
.btn-on-ink:hover{background:#fff}

/* ---------- the English page's own parts (v2/home.py moves(), 2026-11-28; a Chinese page and a held build have none of these classes).
   First what they look like standing still, on any screen; the movement is the block after it ---------- */
/* a picture's frame: its shape and corners, clipped. clip, not hidden: hidden would make the frame a scroll container, and its picture
   would follow the frame's scroll, which never moves, instead of the page's */
.hp-frame,.hp-panels>.pd-card .ws-pic{position:relative;display:block;overflow:clip}
.hp-frame .pic,.hp-panels>.pd-card .ws-pic .pic{position:absolute;top:0;left:0;width:100%;height:100%;max-width:none;aspect-ratio:auto;border-radius:inherit}
.hp-kinds .hp-frame{aspect-ratio:4/5;border-radius:var(--r-4)}
/* each kind is a link to its page: the feature pages' hover (features.css .ft-lk). The frame draws in, since the scroll moves the item
   and the picture but never the frame between them, so neither movement overrides the other */
.hp-kind{display:block;border-radius:var(--r-4);color:var(--ink);text-decoration:none}
@media (hover:hover) and (pointer:fine){
  .hp-kind:hover .kind-w{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  html:not(.no-motion) .hp-kind .hp-frame{transition:transform var(--dur-3) var(--ease-out)}
  html:not(.no-motion) .hp-kind:hover .hp-frame{transform:scale(.975)}
}

/* the products: three panels, a flat ground each */
.hp-panels>.pd-card{position:relative;padding:28px 20px;border-top:0;border-radius:var(--r-4)}
.hp-panels>.pd-card+.pd-card{margin-top:var(--space-4)}
.hp-panels>.pd-card .ws-pic{aspect-ratio:4/3;border-radius:var(--r-2)}
.hp-panels>[data-product="buyers"]{background:var(--tint)}
.hp-panels>[data-product="buyers"] .pd-feats,.hp-panels>[data-product="buyers"] .pd-feats li{border-color:var(--control)}
.hp-panels>[data-product="sellers"]{background:var(--ink);--focus:var(--on-ink)}
.hp-panels>[data-product="sellers"] .pd-name,.hp-panels>[data-product="sellers"] .pd-feats li,.hp-panels>[data-product="sellers"] .pd-go{color:var(--on-ink)}
.hp-panels>[data-product="sellers"] .pd-promise{color:var(--on-ink-muted)}
.hp-panels>[data-product="sellers"] .pd-feats,.hp-panels>[data-product="sellers"] .pd-feats li{border-color:var(--line-on-ink)}
.hp-panels>[data-product="certification"]{background:var(--sheet);box-shadow:inset 0 0 0 1px var(--line)}
@media (min-width:901px){
  .hp-panels>.pd-card{padding:44px 56px 48px;column-gap:56px}
  .hp-panels>.pd-card .pd-name{margin-bottom:32px}
  /* the picture takes the height its panel leaves it, and Details the panel's foot */
  .hp-panels>.pd-card .ws-pic{align-self:stretch;aspect-ratio:auto;min-height:300px}
  .hp-panels>.pd-card .ws-go{align-self:end}
}
/* a wide, tall screen: each as tall as the room under the floating bar, so one can cover another. The words need up to 632 px (1024 to
   1920 wide), which is there from 740 px up; below that they are set closer (86 px less), which fits from 680 */
@media (min-width:1024px) and (min-height:680px){
  .hp-panels{--pd-top:calc(var(--bar,0px) + 16px);--pd-h:min(100vh - var(--pd-top) - 16px,820px)}
  .hp-panels>.pd-card{top:var(--pd-top);min-height:var(--pd-h)}
}
@media (min-width:1024px) and (min-height:680px) and (max-height:759px){
  .hp-panels>.pd-card{padding-block:28px 32px}
  .hp-panels>.pd-card .pd-name{margin-bottom:20px}
  .hp-panels>.pd-card .pd-feats{margin-top:20px}
  .hp-panels>.pd-card .pd-feats li{padding-block:11px}
  .hp-panels>.pd-card .ws-pic{min-height:260px}
}

/* the sentence, then what members can search by. The pause button (features.css .ft-pause) is at the top right corner of .hp-find-in:
   the padding and the rows' own margin keep it clear of the words */
.hp-say{margin-top:160px}
/* 7.9em: "Find a stone. Agree / a price. Deal direct. / GDCS takes no / commission." from 761 px up (its lines need 7.63 to 8.19 em) */
.hp-say p{position:relative;max-width:7.9em;color:var(--ink)}
.hp-find{margin-top:128px}
.hp-find-in{position:relative;padding-top:24px}

/* ---------- the English page's movement: tied to the scroll by the browser, so it stops when the page does. transform and opacity
   only. Only where the browser has scroll timelines, never in print, under reduced motion or html.no-motion: there everything above
   stands still, in full ---------- */
@keyframes hp-lift{to{opacity:0;transform:translate3d(0,-180px,0)}}
@keyframes hp-sink{to{transform:translate3d(0,var(--hp-sink),0)}}
@keyframes hp-pic{from{transform:translate3d(0,-8.2%,0)}to{transform:translate3d(0,8.2%,0)}}
@keyframes hp-under{to{transform:translate3d(0,10px,0) scale(.94)}}      /* 10px: its top edge ends under the one over it */
@keyframes hp-shade{to{opacity:.4}}
@keyframes hp-word{from{opacity:.3}to{opacity:1}}
@keyframes hp-rise{from{transform:translate3d(0,var(--hp-y),0)}to{transform:translate3d(0,calc(-1 * var(--hp-y)),0)}}
@keyframes hp-fill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@media screen and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    /* the opening: the words rise faster than the page and fade, the sand's stage moves slower than the page, whole, with its soft lower
       edge (its mask). So here the hero does not clip it (cut at the hero's edge, the sand showed a hard line there), and the first
       panel, later in the page, comes up over it. Both follow the page's own scroll from its very top */
    html:not(.no-motion) .hero:has(~.hp-say){overflow:visible}
    html:not(.no-motion) .hero:has(~.hp-say) .hero-copy{animation:hp-lift linear both;animation-timeline:scroll(root block);animation-range:0px 400px}
    html:not(.no-motion) .hero:has(~.hp-say) .hero-stage{--hp-sink:260px;animation:hp-sink linear both;animation-timeline:scroll(root block);
      animation-range:0px 828px}

    /* a picture larger than its frame, moving down it as the frame crosses the screen */
    html:not(.no-motion) .hp-join .hp-frame .pic,
    html:not(.no-motion) .hp-panels>.pd-card .ws-pic .pic{top:-10%;height:120%;animation:hp-pic linear both;animation-timeline:view()}

    /* the sentence: each word from .3 to full ink, each starting a little after the one before. The first starts once the sentence is
       a fifth of the way up the screen; the last is done while all of it still shows */
    html:not(.no-motion) .hp-say p{view-timeline:--hp-say block}
    html:not(.no-motion) .hp-say .hp-w{animation:hp-word linear both;animation-timeline:--hp-say;
      animation-range:cover calc(12% + 30%*var(--i)/var(--n)) cover calc(18% + 30%*var(--i)/var(--n))}
  }
}
/* the goods, on a wide screen (narrower, the row swipes): two rise and the middle one sinks, each at its own speed, level in the middle
   of the screen. The row keeps the room they travel */
@media screen and (min-width:901px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .hp-kinds .kinds-row{padding-block:56px 80px}
    html:not(.no-motion) .hp-kinds .kind{--hp-y:88px;animation:hp-rise linear both;animation-timeline:view()}
    html:not(.no-motion) .hp-kinds .kind:nth-child(2){--hp-y:-80px}
    html:not(.no-motion) .hp-kinds .kind:nth-child(3){--hp-y:36px}
    html:not(.no-motion) .hp-kinds .hp-frame .pic{top:-10%;height:120%;animation:hp-pic linear both;animation-timeline:view()}
  }
}
/* the panels, on a wide, tall screen where each fits (home.js takes the stacking off, .is-flat, where one does not): each sticks under the
   bar while the next slides up over it, a fifth of a screen later, and shrinks and goes into the shade as it is covered. Everything
   is timed by the list, which does not stick (browsers time a stuck panel's own view() differently), in plain distances from where
   the list's top enters the screen: panel k is (height + gap) * k further down the list */
@media screen and (min-width:1024px) and (min-height:680px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .hp-panels:not(.is-flat){--pd-gap:20vh;--k:0;view-timeline:--hp-panels block;view-timeline-inset:0px}
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card{position:sticky;transform-origin:50% 0;
      --pd-next:calc((var(--k) + 1)*(var(--pd-h) + var(--pd-gap)) + 100vh - var(--pd-top))}      /* where the next panel has covered this one */
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card+.pd-card{--k:1;margin-top:var(--pd-gap)}
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card+.pd-card+.pd-card{--k:2}
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card:not(:last-child){animation:hp-under linear both;animation-timeline:--hp-panels;
      animation-range:cover calc(var(--pd-next) - var(--pd-h)) cover var(--pd-next)}
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card:not(:last-child)::after{content:"";position:absolute;inset:0;border-radius:inherit;
      background:var(--ink);opacity:0;pointer-events:none;animation:hp-shade linear both;animation-timeline:--hp-panels;
      animation-range:cover calc(var(--pd-next) - var(--pd-h)) cover var(--pd-next)}
    html:not(.no-motion) .hp-panels:not(.is-flat)>.pd-card .ws-pic .pic{animation:hp-pic linear both;animation-timeline:--hp-panels;
      animation-range:cover calc(var(--k)*(var(--pd-h) + var(--pd-gap))) cover var(--pd-next)}
  }
}
/* the Trade line fills with the scroll while the story is pinned (elsewhere by quarters, above) */
@media screen and (min-width:901px) and (min-height:600px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .hp-how.is-pinned{view-timeline:--hp-how block;view-timeline-inset:0px}
    html:not(.no-motion) .hp-how.is-pinned .how-rail i{transition:none;animation:hp-fill linear both;animation-timeline:--hp-how;
      animation-range:contain 0% contain 100%}
  }
}

/* ---------- tablet and phone ---------- */
@media (max-width:900px){
  /* the words, then the sand under them (M03) */
  .hero{min-height:0;display:flex;flex-direction:column}
  .hero-copy{padding-top:56px;order:1}
  .hero>.wrap{margin-inline:0;align-self:stretch}
  .hero-stage{position:relative;inset:auto;height:420px;margin-top:32px;order:2;
    -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 64px),transparent)}
  /* kinds: a row that snaps by whole frames, the next one showing at the edge; the page's gutter stays its start */
  .kinds-row{display:flex;gap:var(--space-4);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-inline:calc(-1 * max(16px,env(safe-area-inset-left,0px),4vw));padding-inline:max(16px,env(safe-area-inset-left,0px),4vw);
    scroll-padding-inline:max(16px,env(safe-area-inset-left,0px),4vw)}
  .kinds-row::-webkit-scrollbar{display:none}
  .kind{flex:0 0 78%;scroll-snap-align:start}
  .hp-kinds .kinds-row{padding-block:6px;margin-block:-6px}        /* the row clips: room for a link's whole focus ring, nothing moved */
  .snap-dots{display:flex;justify-content:center;gap:6px;margin-top:20px}
  .snap-dots i{display:block;width:20px;height:4px;border-radius:var(--r-pill);background:var(--line);transition:background-color var(--dur-2) var(--ease-out)}
  .snap-dots i.on{background:var(--ink)}
  .beat{grid-template-columns:minmax(0,1fr);gap:16px;padding:28px 0}
  .plans{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:760px){
  .hero-copy{padding-top:28px}
  .hero .btn{display:flex;width:100%;margin-top:24px}
  .hero-stage{height:330px;margin-top:24px}
  .kinds,.join,.sellers,.how{margin-top:80px}
  .kinds h2,.join h2{margin-bottom:24px}
  .hp-say{margin-top:112px}
  .hp-say p{max-width:6.9em}                                       /* a line to each short sentence, on any phone (5.75 to 7 em) */
  .hp-find{margin-top:80px}
  .kind-w{margin-top:12px}
  .beat-n{width:32px;height:32px;font-size:var(--fs-small)}
  .mq-i{min-height:44px;padding:0 18px}
  .plan{gap:20px;padding:12px 12px 24px}
  .plan>:not(.plan-pic){margin-inline:8px}
  .plan .btn{align-self:stretch;display:flex}
}
/* the sand's stage is a band under the words up to 900 px (above), so it sinks less there */
@media screen and (max-width:900px) and (prefers-reduced-motion:no-preference){
  @supports (animation-timeline:view()){
    html:not(.no-motion) .hero:has(~.hp-say) .hero-stage{--hp-sink:96px}
  }
}
/* the standard name holds together in the headline, except on the narrowest phones, where it would not fit one line */
@media (max-width:359px){
  .hero .nw{white-space:normal}
}

/* the 404 (P25; the mockup's d-pages.css) */
.d-404-act{margin-top:32px}
@media (max-width:760px){
  .d-404-act{flex-direction:column;align-items:flex-start;gap:12px}
  .d-404-act .btn{width:100%}
}

/* members (v2/members.py, src2/js/members.js): the free membership pages, the member area, and the header's Sign in link.
   Colours are site.css tokens only. Bold colour blocks (ink, tint; rust for a suspended state) stand in for paragraphs. Corners
   on site.css's tokens, flat. Motion: .mb-settle when a block enters, .mb-lit when a row's state changes, each under 0.6 s; site.css
   turns every animation off under prefers-reduced-motion. Desktop 1440 and phone 390: nothing is wider than the page (a wide
   table scrolls inside its own .table-wrap). */

/* ---------- the header's Sign in (v2/shell.py): right of the places, left of the language; members.js may put the company's
   short name on it ---------- */
.m-link{font-size:var(--fs-small);font-weight:500;line-height:var(--lh-body);color:var(--text);text-decoration:none;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.m-link:hover{color:var(--ink)}
.m-link[aria-current]{color:var(--ink);font-weight:500}
@media (max-width:900px) and (min-width:761px){
  .site-head .head-in{gap:20px}
  .nav{gap:16px}
}
@media (max-width:760px){
  .m-link{max-width:150px}
  .acct+.lang{margin-left:16px}
}

/* ---------- free pages: colour blocks ---------- */
.mb-page .section>h2{margin-bottom:24px}
.mb-ink{background:var(--ink);color:var(--on-ink)}
.mb-tint{background:var(--tint);color:var(--text)}
.mb-blocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3)}
.mb-block{border-radius:var(--r-2);padding:32px 28px 36px;min-height:208px}
.mb-bh{font:var(--w-head) var(--fs-h2)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:var(--ink);margin-bottom:16px}
.mb-ink .mb-bh{color:var(--on-ink)}
.mb-block p{font-size:18px;line-height:var(--lh-body);max-width:460px}

.mb-price{border-radius:var(--r-4);padding:32px 28px 28px;max-width:720px}
.mb-amt{font-family:var(--sans);font-weight:var(--w-num);color:var(--on-ink);white-space:nowrap;font-variant-numeric:lining-nums}
.mb-amt .cur{font-size:32px;line-height:var(--lh-head);margin-right:12px;letter-spacing:var(--ls-sans)}
.mb-amt .amt{font-size:96px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
.mb-big{font:var(--w-num) 52px/var(--lh-head) var(--sans);color:var(--on-ink);letter-spacing:var(--ls-sans)}
.mb-per{font-size:18px;line-height:var(--lh-body);margin-top:12px;color:var(--on-ink)}
.mb-draft{border-radius:var(--r-pill);display:inline-block;margin-top:16px;border:1px solid var(--on-ink-muted);padding:2px 10px;font-size:14px;line-height:var(--lh-body);color:var(--on-ink)}
.mb-term{margin-top:16px;font-size:16px;line-height:var(--lh-body);color:var(--on-ink-muted)}

.mb-lede2{margin-bottom:24px}
.mb-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3)}
.mb-step{border-radius:var(--r-2);background:var(--tint);padding:24px 24px 28px;display:flex;gap:16px;align-items:flex-start}
.mb-n{font:var(--w-num) 52px/1 var(--sans);color:var(--ink);flex:none;font-variant-numeric:lining-nums;letter-spacing:var(--ls-sans)}
.mb-step p{margin-top:8px}
.mb-who{border-radius:var(--r-2);padding:28px;max-width:720px}
.mb-who p{font-size:20px;line-height:var(--lh-body);color:var(--ink)}
/* an ink block keeps its light text (the rule above is for the tint block) */
.mb-ink.mb-who p{color:var(--on-ink)}
/* a block right under the three steps is its own block, not an L-shape fused to them */
.mb-steps+.mb-who{margin-top:24px}
.mb-rows>li{font-size:18px;line-height:var(--lh-body);max-width:720px;padding:14px 0}
.mb-onward{display:flex;flex-wrap:wrap;gap:8px 32px;margin-top:24px}
.mb-cta{display:flex}
.mb-cta-top{margin-top:24px}
.mb-signin-line{margin-top:12px}
.mb-note-ok{color:var(--ink);font-weight:500}
.mb-toc{display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:32px;max-width:960px}
.mb-toc a{font-size:var(--fs-text);line-height:var(--lh-body)}

/* the rules: heading left, the rules right */
.mb-rule{display:grid;grid-template-columns:minmax(0,432fr) minmax(0,720fr);gap:48px;padding:24px 0;border-top:1px solid var(--line)}
.mb-rule:last-child{border-bottom:1px solid var(--line)}
.mb-pic{margin-top:40px}                                    /* /members/rules/: the picture under the head (Task 29) */
/* /members/apply/ (fix round 1): the picture beside the head on a wide screen, so the form's first field stays in the first screen;
   after the form on a phone (its place in the page) */
@media (min-width:901px){
  .mb-apply-page{display:grid;grid-template-columns:minmax(0,720fr) minmax(0,432fr);column-gap:48px;align-items:end}
  .mb-apply-page>*{grid-column:1}
  .mb-apply-page>.mb-apply-pic{grid-column:2;grid-row:1;margin-top:0}
}
.mb-apply-pic{aspect-ratio:16/9}
.mb-rule .rows{border-top:0}
.mb-rule .rows>li{padding:0 0 12px;border-bottom:0}
.mb-rule .rows>li+li{padding-top:0}

/* ---------- the member area ---------- */
/* the places of the member system (the rail, the phone's bottom bar) and each screen's head are css/shell.css (Task 11) */
.mb-body,.mb-state{margin-top:40px}
.mb-app[data-view]{min-height:70vh}
.mb-app>[data-m-wait],.mb-app>[data-m-fail]{margin-top:24px}
.mb-state>.mb-next-t{margin-top:24px}
.mb-state>a{display:inline-block;margin-top:12px}

/* the status block: green active, grey under review or awaiting payment, rust suspended or removed */
.mb-status{border-radius:var(--r-2);padding:28px 28px 32px;max-width:720px}
.mb-tone-ink{background:var(--ink);color:var(--on-ink)}
.mb-tone-grey{background:var(--tint);color:var(--text)}
.mb-tone-rust{background:var(--error);color:var(--on-ink)}
.mb-st-k{font:var(--w-head) var(--fs-h1)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:inherit}
.mb-tone-grey .mb-st-k{color:var(--ink)}
.mb-st-name{font-size:18px;line-height:var(--lh-body);margin-top:8px}
.mb-status.mb-status-line{padding:14px 20px;max-width:720px}
.mb-st-line{font-size:18px;line-height:var(--lh-body);color:inherit;overflow-wrap:anywhere}
.mb-next{margin-top:48px;max-width:720px}
.mb-next .mb-next-t{margin-top:12px}
.mb-pay{margin-top:24px}
.mb-stale-line{margin-top:16px}
.mb-stale-line a{color:var(--error)}
.mb-kv{margin-top:48px;max-width:720px}
.mb-kv .kv-row>:last-child{overflow-wrap:anywhere}
.mb-kv .kv-row>:first-child{flex:none;white-space:nowrap}
/* the admin's revenue band, a row of a seller's facts (Task 16: a bare system select stood outside the column) */
.mb-band-row{align-items:center}
.mb-band{min-width:0;max-width:100%;height:40px;padding:0 12px;border:1px solid var(--control);border-radius:var(--r-2);background:transparent;
  color:var(--text);font:inherit;font-size:16px}
.mb-band:focus-visible{outline:none;border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}

/* billing (buyers): the line under the pay button, the note after a return from Stripe, the renewal switch and the invoices */
.mb-pay-note{margin-top:12px;max-width:560px}
.mb-paid{border-radius:var(--r-2);margin-top:2px;max-width:720px;padding:16px 28px;background:var(--tint);color:var(--ink);font-size:18px;line-height:var(--lh-body)}
.mb-paid-ok{font-weight:500}
.mb-bill{margin-top:56px;max-width:720px}
.mb-bill .mb-kv{margin-top:16px}
.mb-bill-due{border-radius:var(--r-2);margin-top:16px;padding:12px 16px;background:var(--error);color:var(--on-ink)}
.mb-bill .mb-acts{margin-top:16px}
.mb-bill-h3{margin-top:40px}
.mb-bill .table-wrap{margin-top:12px}
.mb-bill :is(.hint,.msg){margin-top:8px}
.mb-sent{border-radius:var(--r-2);margin-top:12px;background:var(--tint);padding:8px 12px;color:var(--ink);overflow-wrap:anywhere}

/* forms */
.mb-form{max-width:720px}
.mb-field{margin-top:24px;min-width:0}
/* the SD plan on the apply form (SJ/SD): two cards side by side, a native radio each (the keyboard and a screen reader get a real
   radio group), the picked one ringed in ink; stacked on a phone */
.mb-plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;margin:0;padding:0;border:0}
.mb-plans legend{padding:0;margin-bottom:8px}
.mb-plan{position:relative;display:block;min-width:0;padding:16px 44px 18px 16px;border:1px solid var(--line);border-radius:var(--r-2);
  background:var(--sheet);cursor:pointer;transition:border-color .15s var(--ease),box-shadow .15s var(--ease)}
.mb-plan input{position:absolute;top:16px;right:16px;width:20px;height:20px;margin:0;accent-color:var(--ink)}
.mb-plan:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.mb-plan:has(input:focus-visible){outline:2px solid var(--focus,var(--ink));outline-offset:2px}
.mb-plans[aria-invalid="true"] .mb-plan{border-color:var(--error)}
.mb-plan-b{display:flex;flex-direction:column;gap:6px}
.mb-plan-h{font:500 var(--fs-text)/var(--lh-body) var(--sans);color:var(--ink)}
.mb-plan-fee{font:var(--w-num) var(--fs-lead)/var(--lh-head) var(--sans);color:var(--ink);letter-spacing:var(--ls-sans)}
.mb-plan-l{display:flex;align-items:center;gap:6px;font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.mb-plan-l .ic{flex:none;width:16px;height:16px;color:var(--gold)}
@media (max-width:560px){.mb-plans{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){.mb-plan{transition:none}}
.mb-field:first-child{margin-top:0}
.mb-form>.mb-field:first-child,.mb-form>div:first-child>.mb-field{margin-top:0}
/* a field wrapped for a role (<div data-for>) keeps the same 24px above it as every other field */
.mb-form>[data-for]:not(:first-child)>.mb-field:first-child,.mb-astep>[data-for]:not(:first-child)>.mb-field:first-child{margin-top:24px}
/* a field's own error, right under it (members.js bad()), in the error colour on every form: it is also a .msg, whose muted colour
   (shell.css, later in the bundle) won at the same specificity until Task 26 fix round 1 */
.mb-ferr{margin-top:4px;color:var(--error)}
.msg.mb-ferr{color:var(--error)}
/* a form's line by its button that repeats the one field's own words: read by a screen reader, not seen twice (members.js bad()) */
.mb-said{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.mb-ferr:empty{display:none}
/* the buy request form keeps a field's error line once it has shown, empty and unseen, so Send never moves up under the finger as
   the line goes (Task 26, sim round 1 F23: the error under Ship to went, Send rose, the next tap missed) */
[data-request-form] .mb-ferr:empty{display:block;visibility:hidden;min-height:calc(14px * var(--lh-body))}
.mb-short .input{max-width:220px}
.mb-narrow{max-width:480px}
.mb-pair{margin-top:24px}
.mb-pair-in{display:flex;gap:16px}
.mb-pair-in .mb-field{margin-top:0;flex:0 1 160px}
.mb-pair-in .label{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.mb-submit{margin-top:24px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
.mb-form :is(.hint,.msg).err:empty{display:none}
.mb-refs{margin-top:40px}
.mb-ref{border:0;padding:0;margin:20px 0 0;min-width:0}
.mb-ref legend{padding:0}
.mb-ref .mb-field{margin-top:12px}
.mb-consent{margin-top:32px}
.mb-agree{margin-top:16px}
.mb-agree~.btn{margin-top:16px}                        /* a pay button under its box, or under the box's words when it is not ticked */
.mb-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
/* the application, step by step (final review F15): a rounded progress bar (scaled, never resized), one step at a time, Back as a
   round icon button beside the one primary button. The steps' own first block needs no top margin. */
.mb-prog{position:relative;height:6px;margin-bottom:24px;overflow:hidden;background:var(--tint);border-radius:var(--r-pill)}
.mb-prog-bar{position:absolute;inset:0;background:var(--ink);border-radius:var(--r-pill);transform-origin:left center;transform:scaleX(.2);
  transition:transform var(--dur-2) var(--ease-out)}
html.no-motion .mb-prog-bar{transition:none}
@media (prefers-reduced-motion:reduce){.mb-prog-bar{transition:none}}
.mb-astep>:first-child{margin-top:0}
.mb-step-nav{flex-wrap:nowrap}
.mb-step-nav .btn{flex:1 1 auto}
.mb-step-back{flex:none;display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid var(--line);
  border-radius:var(--r-pill);background:transparent;color:var(--ink);cursor:pointer;transition:background-color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.mb-step-back:hover{background:var(--tint)}
.mb-step-back:active{transform:scale(.94)}
.mb-step-back[hidden],.mb-step-nav [hidden]{display:none}
.mb-done{max-width:720px}
.mb-done .mb-done-t{margin-top:16px}
.mb-dev{border-radius:var(--r-2);margin-top:16px;background:var(--tint);padding:12px 16px;color:var(--ink)}
.mb-dev a{white-space:nowrap}
.mb-dev-code{font-weight:500;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
/* the sign-in page's "Not a member?" line is one sentence with two links, not a row of links */
.mb-onward.small{display:block}
.mb-file{display:block;font-size:16px;line-height:var(--lh-body);max-width:100%}
.mb-new{margin-bottom:72px}
.mb-new>h2{margin-bottom:24px}

/* the filters (search, a new buy request): two columns on a desktop, shape across both */
.mb-filters{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 48px;align-items:start}
.mb-filters>*,.mb-filters>.mb-field,.mb-filters>.mb-pair,.mb-filters>.mb-submit{margin-top:0;min-width:0}
.mb-filters>.mb-field:first-child,.mb-filters>:is(.hint,.msg),.mb-filters>.mb-submit{grid-column:1/-1}

/* pick one, or two for a range: colour and clarity */
.mb-range{display:flex;flex-wrap:wrap;gap:6px}
/* the same type as a .toggle option (regular, 15px; picked: ink and 500), the same ink, and a 44px target on a touch screen */
.mb-range button{min-width:48px;height:40px;padding:0 8px;border:1px solid var(--line);background:transparent;color:var(--text);
  font:400 16px/var(--lh-body) var(--sans);cursor:pointer;border-radius:var(--r-pill);
  transition:background .15s var(--ease),color .15s var(--ease),border-color .15s var(--ease)}
.mb-range button:hover{border-color:var(--ink);color:var(--ink)}
.mb-range button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink);font-weight:500}
@media (pointer:coarse){.mb-range button{height:44px}}

/* the quieter action button of the app views (the solid .btn stays the view's main action) */
.mb-act{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 18px;border:1px solid var(--ink);border-radius:var(--r-pill);
  background:transparent;color:var(--ink);font:500 16px/var(--lh-body) var(--sans);cursor:pointer;white-space:nowrap;transition:background .15s var(--ease),color .15s var(--ease)}
.mb-act:hover{background:var(--ink);color:var(--on-ink)}
.mb-act[disabled]{border-color:var(--control);color:var(--control);background:transparent;cursor:default}
.mb-act[aria-expanded="true"]{background:var(--ink);color:var(--on-ink)}   /* its form is open under it (UI audit 2026-11-25) */
.mb-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px}
.mb-acts>:is(.hint,.msg){flex-basis:100%;margin-top:0}

/* results and lists */
.mb-count{font-size:18px;line-height:var(--lh-body);margin:32px 0 16px}
.mb-count .t-num{font-size:32px;line-height:var(--lh-head);margin-right:4px;letter-spacing:var(--ls-sans)}
.mb-results .mb-count:first-child{margin-top:48px}
.mb-table{font-size:14px;line-height:var(--lh-body)}
.mb-table td{white-space:nowrap}
.mb-table th,.mb-table td{padding-right:12px}
.mb-table td:last-child{white-space:normal;min-width:120px}
.mb-seller{display:inline-block;white-space:normal;min-width:160px}
.mb-formrow>td{border-radius:var(--r-2);background:var(--sheet);padding:16px;white-space:normal}
/* top-aligned: a field's error line under it (.mb-ferr) adds height below, so the boxes in a row stay level */
.mb-inline{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 16px;max-width:none}
.mb-inline .mb-field{margin-top:0}
/* a field's error line wraps inside the field's own width instead of widening it (and pushing the next boxes along) */
.mb-inline .mb-ferr{width:0;min-width:100%}
.mb-inline .mb-short .input{width:160px}
.mb-inline>.t-h4,.mb-inline>:is(.hint,.msg),.mb-inline>.mb-submit{flex-basis:100%;margin-top:0}
.mb-pages{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;margin-top:24px}
.mb-pages .link-btn[disabled]{color:var(--control);text-decoration:none;cursor:default}
.mb-group{margin-top:48px}
.mb-group:first-child{margin-top:0}
.mb-group>h2{display:flex;align-items:baseline;gap:12px}
.mb-n-small{font:500 18px/var(--lh-body) var(--sans);color:var(--muted)}
.mb-offer,.mb-req,.mb-org{border-top:2px solid var(--ink);padding:20px 0 28px;margin-top:16px;max-width:960px}
/* one card after another under a heading (Jack 2026-11-26, 「排版也有问题」): a hairline between them, the heading's rule only on the first */
:is(.mb-offer,.mb-req)+:is(.mb-offer,.mb-req){border-top-width:1px;border-top-color:var(--line);margin-top:0}
/* what it is on the left, the price on the right; on a phone the price comes under it */
.mb-offer-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 32px;margin-top:4px}
.mb-offer-m{flex:1 1 320px;min-width:0}
.mb-offer-row>.mb-offer-p{margin:0 0 0 auto;text-align:right;white-space:nowrap}
.mb-what{margin:0;font-size:18px;line-height:var(--lh-body);font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.mb-req-m{margin-top:4px}
/* Details: one press away, opened in place under the card's foot */
.mb-det-b{display:inline-flex;align-items:center;gap:4px}
.mb-det-b .ic{width:16px;height:16px;transition:transform var(--dur-1) var(--ease-out)}
.mb-det-b[aria-expanded="true"] .ic{transform:rotate(180deg)}
.mb-det{margin-top:12px;padding:12px 16px;border-radius:var(--r-2);background:var(--tint);max-width:720px}
.mb-det>*{margin:0}
.mb-det>*+*{margin-top:4px}
.mb-det .mb-contact{margin-top:4px;padding:0;background:transparent}
.mb-det .mb-stone-st{display:block;margin-top:4px;padding:0;background:transparent;box-shadow:none;font-weight:400;color:inherit}
/* a card's foot reads as one row of quiet controls: no underline until hovered */
.mb-offer-more .link-btn,.mb-offer-more summary{text-decoration:none}
.mb-offer-more .link-btn:hover{text-decoration:underline}
.mb-my-offer a{margin-left:12px;white-space:nowrap}
html.no-motion .mb-det-b .ic{transition:none}
@media (max-width:560px){.mb-offer-row>.mb-offer-p{margin-left:0;text-align:left;white-space:normal}}
.mb-offer-h{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px}
.mb-offer-h .t-h3{min-width:0;overflow-wrap:anywhere}
.mb-offer-p{margin-top:8px;font-size:16px;line-height:var(--lh-body)}
.mb-offer-amt{font-size:32px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
.mb-terms{overflow-wrap:anywhere}
.mb-badge{border-radius:var(--r-pill);font-size:14px;line-height:var(--lh-body);padding:2px 10px;background:var(--tint);color:var(--ink);white-space:nowrap}
.mb-badge-open,.mb-badge-accepted,.mb-badge-active{background:var(--ink);color:var(--on-ink)}
.mb-badge-expired,.mb-badge-declined,.mb-badge-withdrawn,.mb-badge-closed{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.mb-badge-suspended,.mb-badge-removed,.mb-badge-rejected{background:var(--error);color:var(--on-ink)}
.mb-contact{border-radius:var(--r-2);margin-top:12px;background:var(--tint);padding:8px 12px;color:var(--ink);overflow-wrap:anywhere}
.mb-low>td{background:var(--tint)}
.mb-stone{display:block;min-width:200px;white-space:normal}
.mb-stone1{display:block;color:var(--ink);font-weight:500}
.mb-stone2{display:block;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.mb-stone3{display:none;margin-top:4px;color:var(--text)}
.mb-nw{white-space:nowrap}
.mb-my-offer{margin-top:12px;color:var(--ink);max-width:720px;overflow-wrap:anywhere}
.mb-ended{margin-top:48px;max-width:960px}
.mb-ended>summary .mb-fold-k{font:var(--w-head) var(--fs-h2)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head)}
.mb-ended>summary .mb-fold-v{flex:none;font:500 18px/var(--lh-body) var(--sans);color:var(--muted)}
.mb-flag{border-radius:var(--r-pill);display:inline-block;margin-left:8px;font-size:12px;line-height:var(--lh-body);padding:0 6px;background:var(--ink);color:var(--on-ink);vertical-align:1px}
.mb-flag-mine{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.mb-flag-st{background:transparent;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line)}
.mb-thread{margin-top:12px}
.mb-thread .mb-inline{margin-top:12px}
.mb-thread textarea.input{min-height:88px;width:min(560px,100%)}
.mb-thread .mb-inline .mb-field{flex:1 1 280px}
.mb-msgs{margin-top:8px;border-top:1px solid var(--line);max-width:720px}
.mb-msg{padding:10px 0;border-bottom:1px solid var(--line)}
.mb-mine{padding-left:48px}
.mb-msg-b{white-space:pre-wrap;overflow-wrap:anywhere}

/* stock */
.mb-stock-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px}
.mb-touch{display:flex;flex-direction:column;align-items:flex-end;max-width:360px}
.mb-touch :is(.hint,.msg){text-align:right}
.mb-k-open{margin-top:24px}
.mb-k-box .mb-up{margin-top:24px}
.mb-k-box+.mb-list{margin-top:24px}
.mb-stock-top .mb-count{margin:0}
.mb-stale{color:var(--error);font-size:14px;line-height:var(--lh-body)}
.mb-soon{color:var(--muted);font-size:14px;line-height:var(--lh-body)}
.mb-stock-top .mb-due-n{display:block;margin:4px 0 0}
.mb-row-acts{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 24px}
/* Confirm keeps its place on every row, so Sold never slides under the pointer where Confirm was on the row above */
.mb-slot{visibility:hidden}
.mb-row-note{display:block;margin-top:4px}
.mb-row-acts .mb-sure{flex-basis:100%;margin-top:4px}
.mb-row-acts .link-btn{font-size:14px;line-height:var(--lh-body);text-underline-offset:3px}
/* My stock on a wide screen: set column widths, so opening a row's More or the Sold box changes the row's height, never the columns
   (Task 26, sim round 1 F23: every column jumped left). Shares of the table, not pixels (fix round 1: 680 px of fixed columns left the
   item ~61 px at 901 px wide): the item keeps the 38 % left at every width; long words wrap inside their cell. */
@media (min-width:901px){
  .mb-stock-t{table-layout:fixed;width:100%}
  .mb-stock-t th:nth-child(2){width:13%}          /* the price: "US$ 245 / ct" on one line from 901 px */
  .mb-stock-t th:nth-child(3){width:12%}         /* a place on one line (the member system's short names: 中国香港) */
  .mb-stock-t th:nth-child(4){width:9%}           /* "Available" whole */
  .mb-stock-t th:nth-child(5){width:11%}          /* a date whole */
  .mb-stock-t th:nth-child(6){width:20%}
  .mb-stock-t td{white-space:normal;overflow-wrap:anywhere}
}
.mb-up{margin-top:72px;max-width:720px}
.mb-up .mb-next-t{margin-top:12px}
.mb-head{margin:16px 0 24px;overflow-wrap:anywhere}
.mb-head code{color:var(--text)}
.mb-result{margin-top:16px}
.mb-rej{margin-top:8px}
.mb-rej>li{padding:8px 0}

/* China data */
.mb-sample{border-radius:var(--r-pill);display:inline-block;background:var(--error);color:var(--on-ink);font-size:14px;line-height:var(--lh-body);padding:2px 10px;margin:8px 0}
.mb-ctable{margin-top:48px}
.mb-ctable .table-wrap{margin-top:12px}
.mb-src{margin-top:12px;overflow-wrap:anywhere}
.mb-ctable>.small+.small{margin-top:4px}
.mb-sha{margin-top:48px;overflow-wrap:anywhere}
.mb-sha code{color:var(--text)}

/* admin */
.mb-checks{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px}
.mb-admin-acts .mb-field{max-width:480px;margin-top:16px}
.mb-notices{max-width:960px}
.mb-notices :is(.hint,.msg){margin:4px 0 16px}

/* ---------- the framework build (framework-build-spec.md): colour blocks over sentences ---------- */
/* the rules: "What is not allowed", each rule a numbered block (#rule-N) */
.mb-rule-lede{font-size:var(--fs-text);line-height:var(--lh-body);color:var(--muted);margin-bottom:12px;max-width:720px}
.mb-conduct{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);max-width:720px}
.mb-cr{border-radius:var(--r-2);display:flex;gap:16px;align-items:flex-start;background:var(--tint);padding:16px 20px;scroll-margin-top:96px}
.mb-cr:target{background:var(--ink);color:var(--on-ink)}
.mb-cr:target .mb-rn{color:var(--on-ink)}
.mb-rn{font:var(--w-num) var(--fs-feature)/1 var(--sans);color:var(--ink);flex:none;min-width:24px;font-variant-numeric:lining-nums;letter-spacing:var(--ls-sans)}
.mb-cr p{font-size:var(--fs-text);line-height:var(--lh-body)}

/* tones every block shares: ink (yours to act on), tint (to know), grey (closed), rust (attention) */
.mb-tone-tint{background:var(--tint);color:var(--ink)}
.mb-tone-ink a,.mb-tone-rust a{color:var(--on-ink)}
.mb-chip{border-radius:var(--r-pill);display:inline-block;font-size:14px;line-height:var(--lh-body);padding:2px 10px;white-space:nowrap}
.mb-act-rust{border-color:var(--error);color:var(--error)}
.mb-act-rust:hover{background:var(--error);border-color:var(--error);color:var(--on-ink)}
/* a live total under a price box, so 1,200 never goes out as 1.20 unseen */
.mb-live{flex:0 0 100%;margin-top:0;color:var(--ink)}
.mb-live:empty{display:none}
.mb-narrow-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 24px}
.mb-badges{display:inline-flex;flex-wrap:wrap;gap:4px}
/* new: the ink, as the tab bar's count does; gold is kept for money and marks (feedback 11-01, UI audit 2026-11-25) */
.mb-badge-new{background:var(--ink);color:var(--on-ink)}
.mb-badge-cancelled,.mb-badge-superseded,.mb-badge-left,.mb-badge-rep-resolved,.mb-badge-rep-dismissed{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted)}
.mb-badge-flag,.mb-badge-rep-open{background:var(--error);color:var(--on-ink)}

/* /m/: waiting for you — one row per thing to do: the number, what it is, an arrow; the tone shows in the number only */
.mb-todo{margin-top:40px;max-width:720px}
.mb-todo>h2{margin:0 0 16px}
.mb-todo-list{display:block;max-width:720px;border-top:1px solid var(--line)}
.mb-todo-a{border-radius:var(--r-2);display:flex;align-items:center;gap:20px;min-height:64px;padding:12px 16px;background:transparent;color:var(--text);
  text-decoration:none;border-bottom:1px solid var(--line);transition:background .15s var(--ease)}
.mb-todo-a.mb-tone-ink,.mb-todo-a.mb-tone-tint,.mb-todo-a.mb-tone-rust{background:transparent;color:var(--text)}
.mb-todo-a:hover{background:var(--tint)}
.mb-todo-n{font:var(--w-num) 32px/var(--lh-head) var(--sans);min-width:2ch;color:var(--ink);letter-spacing:var(--ls-sans)}
.mb-todo-a.mb-tone-rust .mb-todo-n{color:var(--error)}
.mb-todo-t{flex:1;display:flex;flex-direction:column;min-width:0}
.mb-todo-k{font-size:18px;line-height:var(--lh-body);color:var(--ink)}
.mb-todo-sub{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.mb-todo-go{color:var(--ink);font-size:18px;line-height:var(--lh-body)}
.mb-todo-none{border-radius:var(--r-2);background:var(--tint);padding:16px 20px;max-width:720px;color:var(--ink)}
/* /m/: GDCS asks an applicant for more */
.mb-info{border-radius:var(--r-2);margin-top:2px;max-width:720px;background:var(--gold);color:var(--ink);padding:24px 28px 28px}
.mb-info>h2{margin-bottom:4px}
.mb-info .small,.mb-info .label,.mb-info .msg,.mb-info .msg.err,.mb-info .msg.mb-ferr{color:var(--ink)}
.mb-info-q,.mb-info-a{margin-top:12px;font-size:18px;line-height:var(--lh-body);white-space:pre-wrap;overflow-wrap:anywhere}
.mb-info-k{margin-top:20px}
.mb-info .mb-form{margin-top:20px}
.mb-info .input{background:var(--paper)}
/* /m/: Settings — folded rows (native <details>), each with a one-line summary; the blocks sit inside without their headings */
.mb-settings{margin-top:48px;max-width:720px}
.mb-settings>h2{margin-bottom:12px}
.mb-fold{border-top:1px solid var(--line)}
.mb-settings>.mb-fold:last-child,.mb-fold.mb-ended{border-bottom:1px solid var(--line)}
.mb-fold>summary{border-radius:var(--r-2);display:flex;gap:16px;align-items:baseline;padding:16px 0;cursor:pointer;list-style:none}
.mb-fold>summary::-webkit-details-marker{display:none}
.mb-fold>summary::after{content:"+";content:"+" / "";margin-left:auto;padding-left:8px;color:var(--ink);font:400 20px/var(--lh-body) var(--sans)}
.mb-fold[open]>summary::after{content:"\2212";content:"\2212" / ""}
.mb-fold>summary:hover .mb-fold-k{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.mb-fold>summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mb-fold-k{flex:none;font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
.mb-fold-v{flex:1;min-width:0;font-size:16px;line-height:var(--lh-body);color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mb-fold-v:empty{display:none}
.mb-fold-b{padding:0 0 24px}
.mb-fold-b>section,.mb-fold-b>.mb-kv{margin-top:0}
.mb-fold-b>.mb-kv+.mb-profile{margin-top:32px}
.mb-profile-h{margin-bottom:12px}
.mb-signed{overflow-wrap:anywhere}
/* the quiet folds: More (on an offer, a stock row), More options (filters), No email? (sign-in) — a link, no lines */
.mb-fold.mb-more,.mb-fold.mb-more-f,.mb-fold.mb-help-fold{border:0}
.mb-more>summary,.mb-more-f>summary,.mb-help-fold>summary{display:inline-flex;gap:6px;padding:8px 0}
.mb-more>summary .mb-fold-k,.mb-more-f>summary .mb-fold-k,.mb-help-fold>summary .mb-fold-k{font:400 16px/var(--lh-body) var(--sans);color:var(--ink)}
.mb-more>summary::after,.mb-more-f>summary::after,.mb-help-fold>summary::after{margin-left:0;padding-left:0;font-size:16px;line-height:var(--lh-body)}
/* More: the ellipsis icon and its word say it; no +/− after them */
.mb-more>summary,.mb-more-f>summary{align-items:center}
.mb-more>summary::after,.mb-more-f>summary::after,.mb-more[open]>summary::after,.mb-more-f[open]>summary::after{content:none}   /* no − when open (Task 23 fix round 1): the fold itself shows it */
.mb-more>summary .ic,.mb-more-f>summary .ic{width:18px;height:18px;color:var(--ink)}
.mb-row-acts .mb-more>summary{padding:0}
.mb-row-acts .mb-more>summary .mb-fold-k,.mb-row-acts .mb-more>summary::after{font-size:14px;line-height:var(--lh-body)}
.mb-filters>.mb-more-f{grid-column:1/-1}
.mb-more-f>.mb-fold-b{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 48px;align-items:start;padding:16px 0 0}
.mb-more-f>.mb-fold-b>*{margin-top:0;min-width:0}
.mb-help-fold{margin-top:16px}
.mb-help-fold .mb-help{margin-top:0}
/* /m/: profile, colleagues, emails, leave */
.mb-profile,.mb-users,.mb-prefs,.mb-leave{max-width:720px}
.mb-statement{border-radius:var(--r-2);background:var(--tint);padding:20px 24px 24px;max-width:720px}
.mb-statement-k{border-radius:var(--r-pill);display:inline-block;background:var(--ink);color:var(--on-ink);font-size:14px;line-height:var(--lh-body);padding:2px 10px;margin-bottom:12px}
.mb-statement .mb-kv{margin-top:0}
.mb-statement .kv-row>:first-child{flex:none;white-space:nowrap}
.mb-about{white-space:pre-wrap;text-align:left}
.mb-pform{margin-top:24px}
.mb-pref-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;padding:12px 0;border-bottom:1px solid var(--line)}
.mb-pref-row:first-of-type{border-top:1px solid var(--line)}
.mb-pref-k{flex:1 1 240px;font-size:16px;line-height:var(--lh-body)}
.mb-pick{display:flex;flex-wrap:wrap;gap:6px}
.mb-pick-b{min-height:40px;padding:0 12px;border:1px solid var(--line);background:transparent;color:var(--text);font:500 14px/var(--lh-body) var(--sans);cursor:pointer;border-radius:var(--r-pill)}
.mb-pick-b:hover{border-color:var(--ink);color:var(--ink)}
.mb-pick-b[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
.mb-user-list{border-top:1px solid var(--line)}
.mb-user{padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.mb-user .mb-row-acts{margin-top:4px}
.mb-user-email{font-weight:500;color:var(--ink)}
.mb-sure{border-radius:var(--r-2);margin-top:12px;padding:16px 20px;max-width:560px}
.mb-sure .mb-act,.mb-leave-box .mb-act{border-color:var(--on-ink);color:var(--on-ink)}
.mb-sure .mb-act:hover,.mb-leave-box .mb-act:hover{background:var(--on-ink);color:var(--error)}
.mb-leave{margin-top:24px}
.mb-leave-open{font-size:16px;line-height:var(--lh-body);color:var(--muted)}
.mb-leave-open:hover{color:var(--error)}
.mb-leave-box{border-radius:var(--r-2);margin-top:16px;padding:20px 24px}
.mb-leave-box .label{color:var(--on-ink)}
.mb-leave-box .input{background:var(--paper);color:var(--text)}
.mb-left-done{margin-top:24px}

/* offers: the stone, a cancel proposal, the history, report */
.mb-stone-st{border-radius:var(--r-pill);display:inline-block;margin-top:12px;font-size:14px;line-height:var(--lh-body);padding:4px 12px;font-weight:500}
.mb-stone-st.mb-tone-grey{background:transparent;box-shadow:inset 0 0 0 1px var(--line);color:var(--muted);font-weight:400}
.mb-cancel-note{border-radius:var(--r-2);margin-top:12px;padding:12px 16px;max-width:720px}
.mb-cancel-k{font-weight:500}
.mb-cancel-r{margin-top:4px;white-space:pre-wrap;overflow-wrap:anywhere}
.mb-cancel-f{margin-top:12px;flex-basis:100%}
/* An opened form or "are you sure" panel starts its own line under the buttons, however wide the row is */
.mb-acts:has(>.mb-sure,>.mb-cancel-f,>.mb-counter)::after{content:"";flex-basis:100%;order:1}
.mb-acts>.mb-sure,.mb-acts>.mb-cancel-f,.mb-acts>.mb-counter{order:2}
.mb-acts>:is(.hint,.msg){order:3}
.mb-offer-more{display:flex;flex-wrap:wrap;align-items:center;gap:4px 24px;margin-top:12px}
.mb-offer-more>.mb-thread,.mb-offer-more>.mb-hist{margin-top:0}
.mb-offer-panels>.mb-panel{margin-top:12px}
.mb-offer-panels .mb-inline{margin-top:12px}
.mb-offer-panels textarea.input{min-height:88px;width:min(560px,100%)}
.mb-offer-panels .mb-inline .mb-field{flex:1 1 280px}
.mb-hist .mb-tl,.mb-ahist .mb-tl{margin-top:8px}
.mb-tl{border-left:2px solid var(--line);padding-left:16px;max-width:720px}
.mb-ev{display:flex;flex-wrap:wrap;gap:2px 12px;padding:6px 0;font-size:14px;line-height:var(--lh-body)}
.mb-ev-d{flex:0 0 88px}
.mb-ev-who{flex:0 0 56px;font-weight:500;color:var(--ink)}
.mb-ev-me .mb-ev-who{color:var(--text)}
.mb-ev-admin .mb-ev-who{color:var(--error)}
.mb-ev-a{flex:1 1 200px}
.mb-ev-n{flex-basis:100%;padding-left:156px;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}
.mb-rep-btn{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.mb-rep-line{margin-top:8px}
.mb-report{border-radius:var(--r-2);margin-top:12px;background:var(--sheet);padding:16px;max-width:720px}
.mb-rules-pick{border:0;padding:0;margin:8px 0 0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
.mb-rules-pick legend{padding:0;margin-bottom:8px}
.mb-rule-opt{font-size:var(--fs-small);line-height:var(--lh-body)}

/* stock: a stone's status as a chip */
.mb-lst{font-size:14px;line-height:var(--lh-body)}
.mb-lst-held{border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);padding:2px 8px}
.mb-lst-taken_down{border-radius:var(--r-pill);background:var(--error);color:var(--on-ink);padding:2px 8px}
.mb-lst-sold,.mb-lst-withdrawn{color:var(--muted)}
/* Task 22 (F25): out of search and due are said once, here, as the stock page's count line and Home's card say them */
.mb-lst-out{color:var(--error);font-weight:500}
.mb-lst-due{color:var(--ink);font-weight:500}

/* buy requests: one button opens the form */
.mb-new-open{display:flex}
.mb-q-box>h2{margin-bottom:24px}

/* /m/company/ */
.mb-co-head{max-width:720px}
.mb-co-head .small{margin-top:4px}
.mb-co-head+.mb-statement{margin-top:24px}
.mb-co-note{margin:12px 0 0;max-width:720px}   /* under the statement box (Task 16) */

/* admin: the register, groups, reports, the member view, the outbox, the daily jobs */
.mb-reg{border-radius:var(--r-2);margin-top:12px;padding:12px 16px;max-width:720px;font-size:14px;line-height:var(--lh-body)}
.mb-reg-k{font-weight:500}
.mb-holder{margin-top:16px;max-width:560px}
.mb-holder :is(.hint,.msg){margin-top:4px;padding-left:28px}
.mb-ask-f,.mb-rep .mb-field{max-width:560px}
.mb-decide-panel{border-radius:var(--r-2);margin-top:12px;background:var(--sheet);padding:16px;max-width:720px}
.mb-decide-panel .mb-field{max-width:480px}
.mb-ahist{margin-top:12px}
.mb-ahist>summary{cursor:pointer;color:var(--ink)}
.mb-rep-about{margin-top:8px;font-weight:500;color:var(--ink)}
.mb-rep-note{margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.mb-td{border-radius:var(--r-2);margin-top:12px;background:var(--sheet);padding:16px;max-width:720px}
.mb-mv-head{margin-top:16px}
.mb-mails{margin-top:12px;border-top:1px solid var(--line);max-width:960px}
.mb-mail{padding:12px 0;border-bottom:1px solid var(--line)}
.mb-mail-s{font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.mb-mail-t{border-radius:var(--r-2);margin-top:8px;font:14px/var(--lh-body) var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text);background:var(--sheet);padding:12px;max-width:720px}
.mb-daily-out{margin-top:12px;max-width:720px}
.mb-daily-out>p+p{margin-top:4px}

/* ---------- the admin page (Task 28, Jack 2026-11-24 「管理那里太杂乱，整理一下」): three tabs, compact rows that open in place ---------- */
/* the tabs: the goods' segmented pill (goods.css .gd-kinds), the picked tab the ink pill; To do's count a small pill inside it */
.ad-tabs{display:flex;width:max-content;max-width:100%;gap:4px;padding:4px;background:var(--tint);border-radius:var(--r-pill);overflow-x:auto;scrollbar-width:none}
.ad-tabs::-webkit-scrollbar{display:none}
.ad-tab{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 var(--space-5);border:0;border-radius:var(--r-pill);
  background:transparent;cursor:pointer;white-space:nowrap;font:500 16px/var(--lh-body) var(--sans);color:var(--text);
  transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out)}
.ad-tab[aria-selected="true"]{background:var(--ink);color:var(--on-ink)}
.ad-tab:not([aria-selected="true"]):hover{background:var(--paper);color:var(--ink)}
.ad-tab:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ad-n{min-width:22px;height:22px;padding:0 7px;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);font:500 14px/22px var(--sans);
  text-align:center;font-variant-numeric:tabular-nums}
.ad-tab[aria-selected="true"] .ad-n{background:var(--on-ink);color:var(--ink)}
.ad-panel{margin-top:var(--space-6)}
.ad-chips{margin-bottom:var(--space-5)}
.ad-chips button{display:inline-flex;align-items:center;gap:8px}
.ad-chip-n{font-variant-numeric:tabular-nums;color:var(--muted)}
.ad-chips button[aria-pressed="true"] .ad-chip-n{color:inherit;opacity:.72}
.ad-note{margin:0 0 var(--space-4);max-width:960px;overflow-wrap:anywhere}
.ad-none{font-size:18px;line-height:var(--lh-body);color:var(--muted)}
/* a list: one line a row, a hairline between; the row is a button that opens its detail under it (+ / −, as Account's folds) */
.ad-list{border-top:1px solid var(--line);max-width:1080px}
.ad-item{border-bottom:1px solid var(--line)}
.ad-row{display:grid;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:4px 16px;width:100%;padding:14px 0;border:0;
  border-radius:var(--r-2);background:transparent;cursor:pointer;text-align:left;font:inherit;color:inherit}
.ad-row:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.ad-row-l{display:flex;align-items:baseline;gap:4px 16px;min-width:0}
.ad-row-t{flex:0 1 auto;min-width:0;font:500 18px/var(--lh-body) var(--sans);color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-row-m{flex:1 1 0;min-width:0;font-size:16px;line-height:var(--lh-body);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ad-row:hover .ad-row-t{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.ad-row .mb-badges{justify-content:flex-end}
.ad-row .mb-badges:empty{display:none}
.ad-row-l{grid-column:1}
.ad-x{grid-column:3;grid-row:1}
/* the +/− marker is a picture of the state, not a word: its alt text is empty, so a screen reader says only the row and its
   aria-expanded (Task 28 follow-up 3); the plain content first for a browser without alt text in content */
.ad-x::before{content:"+";content:"+" / "";display:block;text-align:right;color:var(--ink);font:400 20px/var(--lh-body) var(--sans)}
.ad-row[aria-expanded="true"] .ad-x::before{content:"\2212";content:"\2212" / ""}
.ad-body{padding:0 0 28px}
.ad-body>.mb-org{border-top:0;margin-top:0;padding:0}
.ad-body>.mb-form{max-width:720px}
.ad-body>.ad-list{margin-top:4px}
.mb-badge-answered{background:var(--ink);color:var(--on-ink)}
@media (max-width:760px){
  .ad-tab{padding:0 var(--space-4)}
  /* a phone: the name and its chips on the first line, the facts under the name */
  .ad-row{grid-template-columns:minmax(0,1fr) 20px;align-items:start}
  .ad-row-l{flex-direction:column;align-items:stretch;gap:2px}
  .ad-row-t,.ad-row-m{flex:none;white-space:normal;overflow-wrap:anywhere}
  .ad-row .mb-badges{grid-column:1;grid-row:2;justify-content:flex-start}
  .ad-x{grid-column:2;grid-row:1}
}

/* ---------- signing in (login-fix-spec.md, 2026-11-18) ---------- */
/* /m/login/: the signed-in line above the form, the help after sending, the 6-digit code */
.mb-already{border-radius:var(--r-2);margin-bottom:24px;background:var(--tint);padding:12px 16px;color:var(--ink);overflow-wrap:anywhere}
.mb-help{margin-top:12px;max-width:560px}
.mb-code{margin-top:32px}
.mb-code .input{max-width:220px;font-variant-numeric:tabular-nums;letter-spacing:2px}
/* /m/verify/: the address the link signs in, the line when this browser is signed in as someone else */
.mb-verify-who{font:500 18px/var(--lh-body) var(--sans);color:var(--ink);overflow-wrap:anywhere}
.mb-other{border-radius:var(--r-2);margin-top:12px;background:var(--tint);padding:12px 16px;color:var(--ink);overflow-wrap:anywhere}
.mb-verify>:is(.hint,.msg).err{margin-top:16px;overflow-wrap:anywhere}
.mb-verify>:is(.hint,.msg).err:empty{display:none}
/* /m/confirm/ (Task 22): the stock email's one-tap confirm — how many, one button, then how many were confirmed */
.mb-confirm-n{font:var(--w-num) 32px/var(--lh-head) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.mb-confirm-ok .link{display:inline-block;margin-top:16px}
.mb-confirm-done{font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
.mb-confirm-done:focus{outline:none}
.mb-confirm-done .link,.mb-confirm>.msg .link{margin-left:4px}
.mb-confirm>:is(.hint,.msg).err{margin-top:16px;overflow-wrap:anywhere}
.mb-confirm>:is(.hint,.msg).err:empty{display:none}
/* sign out: what is said when it did not happen; sign out on every device (the account page) */
.mb-out-msg{margin-top:12px}
.mb-signin{max-width:720px}
.mb-signin .mb-acts{margin-top:0}
.mb-signin .mb-signed+.mb-acts{margin-top:12px}
.mb-out-all-what{margin-top:8px}
/* admin: a company's users and its latest sign-ins (D10) */
.mb-au{margin-top:12px}
.mb-au>.mb-panel{border-radius:var(--r-2);margin-top:12px;background:var(--sheet);padding:16px;max-width:720px}
.mb-au .mb-user-list{margin-top:8px}
.mb-au-f{margin-top:12px;max-width:560px}
.mb-au-what{font-weight:500;color:var(--ink);overflow-wrap:anywhere}
.mb-signins-h{margin-top:24px}
.mb-signins .mb-ev-d{flex-basis:136px}

/* ---------- motion: settle on enter, light up on a change ---------- */
/* settle moves a block into place and never hides it: if a page's animations do not run (a background tab, a capture), the block
   is simply 10 px low, never invisible */
@keyframes mb-settle{from{transform:translateY(10px)}to{transform:none}}
.mb-settle{animation:mb-settle .4s var(--ease)}
@keyframes mb-lit{from{background-color:var(--tint)}to{background-color:transparent}}
.mb-lit,.mb-lit>td{animation:mb-lit .6s var(--ease)}

/* Windows high contrast: a picked colour, clarity or setting keeps its look */
@media (forced-colors:active){
  .mb-range button[aria-pressed="true"],.mb-pick-b[aria-pressed="true"]{forced-color-adjust:none;background:Highlight;color:HighlightText;border-color:Highlight}
}

/* ---------- tablet and phone ---------- */
@media (max-width:900px){
  .mb-filters,.mb-more-f>.mb-fold-b{grid-template-columns:minmax(0,1fr)}
  .mb-rule{grid-template-columns:minmax(0,1fr);gap:8px}
  .mb-steps{grid-template-columns:minmax(0,1fr)}
  /* a wide table becomes one card per row: no sideways scrolling on a phone or a tablet */
  .mb-stack thead{display:none}
  .mb-stack,.mb-stack tbody,.mb-stack tr{display:block;width:100%}
  .mb-stack tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .mb-stack td{display:flex;gap:12px;align-items:baseline;border:0;padding:2px 0;white-space:normal;min-width:0;text-align:left}
  .mb-stack td.num{text-align:left}
  .mb-stack td[data-label]::before{content:attr(data-label);flex:0 0 104px;font:400 14px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--muted)}
  .mb-stack td:last-child{min-width:0;padding-top:8px}
  /* the actions cell (no label) is a block: its note, its buttons and its links stack under each other, the buttons in a row (UI audit
     2026-11-25: as a flex row it put Accept, Counter and Decline in a narrow column between the note and Messages) */
  .mb-stack td:last-child:not([data-label]){display:block}
  .mb-stack .mb-formrow>td{display:block;padding:16px}
  .mb-stack td:empty{display:none}
  .mb-lines td.mb-desk{display:none}
  .mb-lines td.mb-bare[data-label]::before{content:none}
  .mb-lines td.mb-bare>.mb-stone,.mb-lines td.mb-bare>.mb-item{flex:1}
  .mb-lines .mb-stone3{display:block}
  .mb-lines td.mb-inl{display:inline-flex;margin-right:16px;padding-top:4px}
  .mb-lines td.mb-inl[data-label]::before{flex:none}
  .mb-row-acts .link-btn{min-height:44px;display:inline-flex;align-items:center}
  .mb-row-acts .mb-more>summary{min-height:44px;align-items:center}
  .mb-slot{display:none}
}
@media (max-width:760px){
  .mb-blocks{grid-template-columns:minmax(0,1fr)}
  .mb-block{min-height:0;padding:24px 20px 28px}
  .mb-bh{margin-bottom:12px}
  .mb-block p,.mb-rows>li{font-size:16px;line-height:var(--lh-body)}
  .mb-price,.mb-status,.mb-who{padding:24px 20px}
  .mb-status.mb-status-line{padding:12px 16px}
  .mb-st-line{font-size:16px;line-height:var(--lh-body)}
  .mb-paid{padding:16px 20px;font-size:16px;line-height:var(--lh-body)}
  .mb-amt .amt{font-size:64px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .mb-big{font-size:32px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .mb-who p{font-size:18px;line-height:var(--lh-body)}
  .mb-n{font-size:40px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .mb-cta .btn{width:100%}
  .mb-mine{padding-left:24px}
  .mb-stock-top .btn{width:100%}
  .mb-stock-top .mb-due-n{display:block;margin:4px 0 0}
  .mb-conduct,.mb-rules-pick{grid-template-columns:minmax(0,1fr)}
  .mb-todo-a{min-height:56px;padding:10px 12px;gap:14px}
  .mb-todo-n{font-size:28px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .mb-todo-k{font-size:16px;line-height:var(--lh-body)}
  .mb-touch{align-items:stretch;max-width:none;width:100%}
  .mb-touch :is(.hint,.msg){text-align:left}
  .mb-k-open .mb-act{width:100%}
  .mb-stone{min-width:0}
  .mb-info,.mb-statement,.mb-leave-box{padding:20px}
  .mb-ev-n{padding-left:0}
  .mb-new-open .btn{width:100%}
}
/* /trade/ (Jack 2026-11-19): the fee bands table */
.mb-bands-h{margin-top:40px}
.mb-bands th[scope="row"]{font-weight:500;color:var(--ink);white-space:nowrap}
.mb-bands td:last-child{color:var(--muted);white-space:nowrap}
.mb-bands-note{margin-top:12px;color:var(--muted);max-width:720px}

/* ---------- /join/ (v2/join.py; its cards are also the product pages' price blocks, css/products.css), /certification/'s steps
   (v2/certification.py, a product page since Task 21), the footer's reference row (v2/shell.py) ---------- */
.jn-page{padding-top:56px}                                  /* the heading's room under the header, as a page head has */
.jn-page h1{margin-bottom:48px}
@media (max-width:760px){.jn-page{padding-top:32px}}
.jn-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4)}
.jn-card{border-radius:var(--r-2);padding:32px 28px 36px;display:flex;flex-direction:column;gap:20px}
.jn-card{background:var(--tint);color:var(--text)}
/* the card's name is the title role (.t-title); on /join/ each card opens with its picture (Task 29) */
.jn-pic{aspect-ratio:16/9;border-radius:var(--r-1)}
.jn-card h2{color:var(--ink)}
.jn-price .amt{font:var(--w-num) var(--fs-title)/var(--lh-head) var(--sans);letter-spacing:var(--ls-sans)}   /* a price: the title role, their figures (no tnum) */
/* SD (SJ/SD, Jack 2026-11-26): its two parts under the price, the badge they bring (the mark in gold), the price without them */
.jn-parts{display:grid;gap:12px}
.jn-parts li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:12px}
.jn-fee{flex:none;white-space:nowrap}                         /* a fee stays on one line; the part's name wraps */
.jn-badge{display:flex;align-items:center;gap:8px;color:var(--ink)}
.jn-badge .ic{flex:none;width:20px;height:20px;color:var(--gold)}
.jn-alt{color:var(--muted)}
.jn-card .btn{margin-top:auto;align-self:flex-start}
/* three steps: an icon in a tint circle over one word, joined by a line */
.cf-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);margin:0 0 32px;max-width:720px}
.cf-step{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;color:var(--ink)}
.cf-step+.cf-step::before{content:"";position:absolute;top:31px;right:calc(50% + 44px);width:calc(100% - 88px + var(--space-4));height:2px;border-radius:var(--r-pill);background:var(--line)}
.cf-n{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:var(--r-pill);background:var(--tint);color:var(--ink)}
.cf-n .ic{width:28px;height:28px}
.foot-ref{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:32px;font-size:var(--fs-text);line-height:var(--lh-body)}
@media (max-width:760px){.jn-cards{grid-template-columns:1fr}.jn-card .btn{align-self:stretch}}
.jn-note{font-size:var(--fs-text);line-height:var(--lh-body)}
/* Task 24 (sim round 1 F10): a message or an offer's note in the other language with no translation, muted, with the translate icon;
   a try that brought none names the icon Untranslated, its word shown on hover and focus (data-tip) */
.mb-untr{color:var(--muted)}
.tr-b{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:var(--r-pill);
  background:transparent;color:var(--muted);vertical-align:middle;cursor:pointer}
.tr-b:hover{background:var(--tint);color:var(--ink)}
.tr-b .ic{width:16px;height:16px}
.tr-b[disabled]{opacity:.4;cursor:default}
.tr-b[data-tip]:hover::after,.tr-b[data-tip]:focus-visible::after{content:attr(data-tip);position:absolute;left:100%;top:50%;transform:translateY(-50%);
  margin-left:4px;padding:2px 8px;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);font:500 12px/var(--lh-body) var(--sans);
  white-space:nowrap;pointer-events:none}
/* Task 24 (F9): the items a request offer names, a row of tiles (a thumb, the stock number, the stone), each a link to its page; in the
   seller's form each tile is a checkbox, ticked with the ink ring */
.mb-items{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;list-style:none}
.mb-item-t{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:10px;align-items:center;min-width:0;max-width:300px;padding:8px 12px 8px 8px;
  border-radius:var(--r-2);background:var(--tint);color:var(--ink);text-decoration:none}
.mb-item-t .mb-thumb{grid-row:1 / span 2}
.mb-item-s{font:500 14px/var(--lh-body) var(--sans)}
.mb-item-d{min-width:0;font-size:14px;line-height:var(--lh-body);color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
a.mb-item-t:hover .mb-item-s{text-decoration:underline;text-underline-offset:3px}
.mb-ticks{flex-basis:100%}
.mb-items .mb-thumb{background:var(--paper)}
.mb-pick-t{cursor:pointer}
.mb-pick-t.is-on{box-shadow:inset 0 0 0 2px var(--ink)}
.mb-pick-t:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:2px}
.mb-pick-t:has(input:disabled){opacity:.45;cursor:default}
.mb-total-s{display:block;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
/* F11: the chat on the offer's listing, beside Messages */
.mb-chat-l{display:inline-flex;align-items:center;gap:6px}
.mb-chat-l .ic{width:18px;height:18px}
input.is-fixed{background:var(--tint);color:var(--muted)}
@media (max-width:760px){.mb-item-t{max-width:100%;flex:1 1 100%}}
.mb-item-x{grid-column:2;font-size:12px;line-height:var(--lh-body);color:var(--error)}
/* the items in a stacked comparison row (a phone or a tablet): under the seller's name, aligned with the values, never beside it */
@media (max-width:900px){
  .mb-stack td:has(>.mb-items){flex-wrap:wrap}
  .mb-stack td>.mb-items{flex-basis:100%;margin-left:116px;min-width:0}
}
@media (max-width:420px){.mb-stack td>.mb-items{margin-left:0}}
/* Task 25 (sim round 1 F3): a search row's stone leads to its page; its first picture beside it, when it has one (no empty box: the
   table stays compact). The picture is the same link, out of the tab order */
.mb-srow{display:flex;align-items:flex-start;gap:12px;min-width:0}
.mb-srow>.mb-stone{flex:1 1 auto;min-width:0}
.mb-sthumb{flex:none;display:block;border-radius:var(--r-1)}
.mb-sthumb .gd-frame{border-radius:var(--r-1)}
@media (max-width:760px){.mb-lines td.mb-bare>.mb-srow{flex:1}}
/* Task 25 (F7, F8): what fits an open request now, tiles as the items of a request offer read: picture, name, price; New in the ink
   family (gold is for money and certification marks) */
.mb-match .mb-item-t{grid-template-columns:48px minmax(0,1fr) auto}
.mb-match .mb-item-d{grid-column:2;grid-row:1;color:var(--ink)}
.mb-match .mb-item-s{grid-column:2;grid-row:2;font-weight:400;color:var(--text)}
.mb-new-tag{grid-column:3;grid-row:1;align-self:start;height:20px;padding:0 8px;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);
  font:500 12px/20px var(--sans)}
.mb-match+.mb-onward{margin-top:12px}
.mb-match-line{align-items:center}
.mb-new-n{padding:0 10px;border-radius:var(--r-pill);background:var(--ink);color:var(--on-ink);font:500 14px/var(--lh-body) var(--sans)}
/* Task 25 (Ruling 2026-11-24): the request form's first choice is the kind, the stepper's tiles, lower; three across on a phone too */
.mb-filters>.mb-q-kinds{grid-column:1/-1}
.mb-q-kinds .sa-kind{min-height:72px;padding:14px 18px;align-items:center;font-size:18px;line-height:var(--lh-body)}
/* each kind's fields sit in the form's own grid, as they did before the kinds: the wrapper is no box of its own */
[data-q-for]{display:contents}
[data-q-for][hidden]{display:none}
.mb-filters>[data-q-for]>.mb-field:first-child{grid-column:1/-1}
@media (max-width:760px){
  .sa-kinds.mb-q-kinds{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .mb-q-kinds .sa-kind{min-height:56px;padding:10px 12px;font-size:15px}
  .mb-q-kinds .sa-tick{display:none}
}
/* a quantity under the seller's minimum order (sim round 2 N16): said beside the box and on the offer card, as a spec */
.mb-below-moq{color:var(--muted);white-space:nowrap}
.gd-oform .mb-below-moq{display:block;margin-top:4px}

/* the sign-in card (2026-11-28, Jack: 「注册和登录功能你能不能再丝滑一点和专业一点」): one centred card on the door; after Continue
   the same card is the code step: six cells drawn behind one real field (members.js login()), the webmail button, Resend, Change */
.mb-door-page{display:flex;flex-direction:column;align-items:center;padding-top:clamp(24px,8vh,96px);padding-bottom:64px}
.mb-card{width:100%;max-width:440px;background:var(--sheet);border:1px solid var(--line);border-radius:var(--r-4);padding:40px 40px 32px}
.mb-card .page-head{margin:0 0 24px;padding:0;border:0}
.mb-card .page-head h1{font-size:var(--fs-h2);margin:0}
.mb-card .mb-login .btn,.mb-card .mb-code .btn,.mb-card [data-agree-form] .btn{width:100%}
.mb-card .mb-done{max-width:none}
.mb-card .mb-done .mb-done-t{margin-top:0;font-size:16px;color:var(--muted)}
.mb-card .mb-code{margin-top:24px}
.mb-fine{margin-top:24px;color:var(--muted)}
.mb-card .mb-onward{margin-top:12px}
.mb-card [data-done]:not([hidden])~.mb-fine,.mb-card [data-done]:not([hidden])~.mb-onward{display:none}
.mb-otp{position:relative;max-width:360px;margin-top:8px}
.mb-otp .mb-otp-in{position:absolute;inset:0;z-index:1;width:100%;height:100%;border:0;background:transparent;color:transparent;caret-color:transparent;
  font-size:16px;padding:0;cursor:text}
.mb-otp .mb-otp-in,.mb-otp .mb-otp-in:focus,.mb-otp .mb-otp-in:focus-visible{max-width:none;box-shadow:none;outline:0}
.mb-otp-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.mb-otp-cell{display:flex;align-items:center;justify-content:center;height:56px;border:1px solid var(--control);border-radius:var(--r-2);background:var(--paper);
  font:500 24px/1 var(--sans);color:var(--ink);font-variant-numeric:tabular-nums;transition:border-color var(--dur-1) var(--ease-out)}
.mb-otp:focus-within .mb-otp-cell.is-at{border-color:var(--ink);outline:2px solid var(--ink);outline-offset:-2px}
.mb-otp .mb-otp-in[aria-invalid="true"]~.mb-otp-cells .mb-otp-cell{border-color:var(--error)}
.mb-mail-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
.mb-mail-acts .mb-webmail{min-height:40px;padding:0 16px}
.mb-resend[disabled]{color:var(--muted);cursor:default;text-decoration:none}
.btn[aria-busy="true"]{position:relative;color:transparent}
.btn[aria-busy="true"]::after{content:"";position:absolute;width:18px;height:18px;border:2px solid var(--on-ink);border-right-color:transparent;border-radius:var(--r-pill);
  animation:mb-spin .6s linear infinite}
@keyframes mb-spin{to{transform:rotate(360deg)}}
@media (max-width:560px){
  .mb-door-page{padding-top:16px}
  .mb-card{padding:28px 20px 24px;border-radius:var(--r-2)}
  .mb-otp-cell{height:52px}
}
@media (prefers-reduced-motion:reduce){.btn[aria-busy="true"]::after{animation:none}.mb-otp-cell{transition:none}}

/* the welcome page (2026-11-28, Jack: 「注册完之后让他选择不同的角色和订阅套餐，当然他们也可以选择跳过」): a focused screen like the sign-in
   door, Skip for now on top; one step at a time; the role step is three cards (a click goes on), the plan step the plan cards */
.ms-door-r{display:flex;align-items:center;gap:20px}
.ms-door-r .ms-lang{margin-left:0}
.ms-skip{font-size:var(--fs-small);color:var(--muted)}
.ms-door .wrap.mb-welcome{box-sizing:border-box;max-width:808px;margin:0 auto;padding:clamp(16px,6vh,64px) 24px 64px}
.mb-welcome .mb-step-h{margin:0 0 24px}
.mb-welcome .mb-trial{margin:0 0 20px}
.mb-roles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.mb-role{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:176px;padding:24px;border:1px solid var(--line);border-radius:var(--r-4);
  background:var(--sheet);color:var(--ink);text-align:left;cursor:pointer;transition:border-color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.mb-role .ic{width:28px;height:28px;margin-bottom:auto;color:var(--ink)}
.mb-role:hover,.mb-role[aria-pressed="true"]{border-color:var(--ink)}
.mb-role[aria-pressed="true"]{outline:1px solid var(--ink);outline-offset:-2px}
.mb-role:active{transform:scale(.98)}
.mb-role-h{font:500 var(--fs-lead)/var(--lh-head) var(--sans)}
.mb-role-l{font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.mb-plan-buyer{max-width:380px;padding-right:16px;border-color:var(--ink)}
.mb-both-note{margin-top:12px}
@media (max-width:560px){
  .mb-roles{grid-template-columns:1fr}
  .mb-role{min-height:0;display:grid;grid-template-columns:28px 1fr;column-gap:14px;align-items:center;padding:18px 20px}
  .mb-role .ic{grid-row:1/3;margin:0}
  .ms-door-r{gap:14px}
  .ms-door .wrap.mb-welcome{padding-left:16px;padding-right:16px}
}
@media (prefers-reduced-motion:reduce){.mb-role{transition:none}}

/* a free sign-up's Home and Goods place (2026-11-28, Jack: 「免费注册的人进去之后啥都不能干」): the numbers, five tiles that show nothing,
   the lock, one line and Join; the Goods place carries a small lock */
.hm-second.hm-second-lock{height:auto}
.hm-tiles-1{grid-template-columns:minmax(0,1fr)}
.hm-lock{margin-top:16px;padding:20px;border:1px solid var(--line);border-radius:var(--r-4);background:var(--sheet)}
.hm-lock-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.hm-lock-tile{display:block;aspect-ratio:1/1;border-radius:var(--r-2);
  background:linear-gradient(135deg,color-mix(in srgb,var(--tint) 70%,var(--paper)),var(--tint) 55%,color-mix(in srgb,var(--ink) 8%,var(--tint)))}
.hm-lock-k{display:flex;align-items:center;gap:8px;margin:16px 0 12px;color:var(--ink)}
.hm-lock-k .ic{flex:none;width:18px;height:18px}
.ms-place.is-locked{position:relative}
.ms-place .ms-lock{position:absolute;top:6px;right:10px;display:inline-flex;color:var(--muted)}
.ms-place .ms-lock .ic{width:12px;height:12px}
@media (max-width:560px){.hm-lock-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}.hm-lock-tile:nth-child(n+4){display:none}}

/* the menu (Jack 2026-11-28: 「悬停菜单」; v2/shell.py menu_bar() and menu_sheet(), src2/js/menu.js). Only an English page with the member
   pages out has .mn-head, and every rule here is under it or under a class of its own: a Chinese page and a held build look as they did.
   The bar is a rounded strip that floats at the top and stays there as the page scrolls. From 761 px up it holds the groups and their
   panels; on a phone, the button of a full-height sheet made of <details>.
   Tokens only, green leads, no gold. The panel moves by menu.js, transform and opacity only; here only the sheet's chevrons turn. */

/* ---------- --bar: the bar's lower edge, from the top of the window, for anything else that stands there: top:var(--bar,0px). Only a
   page with the bar has it, so the fallback keeps every other page as it was. 12 + 64 px; on a phone 8 + 56 (below) ---------- */
:root:has(.mn-head){--bar:76px}

/* ---------- the strip: as wide as the page's content (site.css .wrap: 1200 px and the same side spaces). The header is the body's own
   child, so it sticks from the first line to the last; the space around the strip stays the page's, to press and to select. A browser
   that does not know :has() keeps the strip and lets it scroll away. Nothing here may move or clip it: the phone's sheet is fixed
   inside it. The strip is drawn by ::before, above that sheet (z-index -2) and under everything in the bar ---------- */
.mn-head{--mn-gap:12px;--mn-pad:12px;--mn-l:max(16px,env(safe-area-inset-left,0px),4vw);--mn-r:max(16px,env(safe-area-inset-right,0px),4vw);
  position:relative;z-index:70;pointer-events:auto}
.site-head .mn-head{box-sizing:border-box;max-width:none;min-height:64px;padding:0 24px;
  margin:var(--mn-gap) max(var(--mn-r),calc(50% - 600px)) 0 max(var(--mn-l),calc(50% - 600px))}
.mn-head::before{content:"";position:absolute;inset:0;z-index:-1;border:1px solid var(--line);border-radius:var(--r-pill);
  background:var(--sheet);box-shadow:var(--shadow-float)}
@media screen{
  .site-head:has(.mn-head){position:sticky;top:0;z-index:70;pointer-events:none}
}

/* ---------- under the bar: where a jump or a focused control stops, and what a page keeps in view. The margin is each target's own,
   never the root's scroll-padding-top: site.js glide() reads only the target's, so a glide and the browser's jump end in one place.
   An id keeps site.css's 24 px, now from the bar ---------- */
:root:has(.mn-head) [id]{scroll-margin-top:calc(var(--bar) + 24px)}
:root:has(.mn-head) :is(main,.site-foot) :is(a,button,input,select,textarea,summary,[tabindex]):not([id]){scroll-margin-top:calc(var(--bar) + 12px)}
@media (min-width:901px){
  :root:has(.mn-head) :is(.ce-row,.c1-split,.ap-split)>:first-child{top:calc(var(--bar) + 24px)}
}

/* ---------- in the bar: a label (a link) and its button side by side, 40 px tall, the pill behind them ---------- */
.mn-head .nav{gap:4px;margin-right:auto}
.mn-i{display:flex;align-items:center;height:40px}
.mn-head .mn-i>a,.mn-head .nav>a{z-index:1;padding:10px 0 10px var(--mn-pad)}
.mn-head .nav>a{padding-right:var(--mn-pad);border-radius:var(--r-pill)}
/* the line under the current place stays (site.css .nav a::after), inside the pill; the pill is what hovering shows */
.mn-head .mn-i>a::after{left:var(--mn-pad);bottom:5px}
.mn-head .nav>a::after{left:var(--mn-pad);right:var(--mn-pad);bottom:5px}
.mn-head .nav a:not([aria-current]):hover::after{transform:scaleX(0)}
@media (hover:hover) and (pointer:fine){.mn-head .nav>a:hover{background:var(--tint)}}
.mn-b{position:relative;z-index:1;display:grid;place-items:center;flex:none;width:28px;height:40px;padding:0;border:0;
  border-radius:var(--r-pill);background:transparent;color:var(--ink);cursor:pointer}
.mn-b .ic{width:16px;height:16px}
/* the two marks menu.js places: behind the open group's label, and behind a row. Their clear border is a frame in Windows
   high-contrast mode, where backgrounds are dropped */
.mn-pill,.mn-hl{position:absolute;left:0;top:0;z-index:0;border:1px solid transparent;border-radius:var(--r-pill);background:var(--tint);
  transform-origin:0 0;pointer-events:none}
.mn-hl{border-radius:var(--r-2)}

/* ---------- the panel, under the strip and no wider: names on the left, the preview on the right. menu.js sets its left edge. Seven
   names (the sub role, 52 px each) make it 438 px tall ---------- */
.mn-p{position:absolute;left:0;top:calc(100% + 8px);z-index:60;display:grid;grid-template-columns:minmax(0,400fr) minmax(0,440fr);
  gap:24px;width:min(912px,100%);padding:24px;border:1px solid var(--line);border-radius:var(--r-4);
  background:var(--sheet);box-shadow:var(--shadow-float)}
/* the space between the labels and the panel is part of the panel, so a mouse on its way down never leaves the group: 12 px of the
   strip, the 8 px gap and the panel's line */
.mn-p::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:21px}
.mn-rows li+li{margin-top:4px}
.mn-p .mn-row{z-index:1;display:flex;align-items:center;min-height:52px;padding:8px 20px;border-radius:var(--r-2);font-size:var(--fs-lead);
  line-height:var(--lh-body);color:var(--ink);white-space:normal}
.mn-p .mn-row::after{content:none}

/* ---------- the preview (menu.js PICTURES) ---------- */
.mn-v{display:grid;align-content:center;min-height:292px;padding:24px;border-radius:var(--r-2);background:var(--paper);overflow:hidden}
.mn-pic{display:grid;gap:16px;justify-items:start}
.mn-note{font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.mn-word{font-size:var(--fs-text);font-weight:500;line-height:var(--lh-body);color:var(--ink)}
.mn-price{font-variant-numeric:lining-nums tabular-nums}
.mn-chips{display:flex;flex-wrap:wrap;gap:8px}
.mn-chip{padding:4px 12px;border-radius:var(--r-pill);background:var(--tint);font-size:var(--fs-small);font-weight:500;line-height:var(--lh-body);
  color:var(--ink);white-space:nowrap}
.mn-chip.is-on{background:var(--ink);color:var(--on-ink)}
.mn-item,.mn-line{display:flex;align-items:center;gap:12px}
.mn-item-t>span{display:block}
.mn-thumb,.mn-dot{display:grid;place-items:center;flex:none;background:var(--tint);color:var(--ink)}
.mn-thumb{width:56px;height:56px;border-radius:var(--r-2)}
.mn-dot{width:40px;height:40px;border-radius:var(--r-pill)}
.mn-lines{display:grid;gap:12px}
.mn-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}
.mn-tile .mn-thumb{width:100%;height:auto;aspect-ratio:4/3}
.mn-tile .mn-note{display:block;margin-top:8px}
.mn-field{display:flex;align-items:center;gap:8px;width:100%;padding:12px 20px;border:1px solid var(--control);border-radius:var(--r-pill);
  font-size:var(--fs-text);line-height:var(--lh-body);color:var(--muted)}
.mn-doc{width:min(100%,260px);padding:24px;border:1px solid var(--line);border-radius:var(--r-2);background:var(--sheet)}
.mn-doc.is-cert::before{content:"";display:block;height:24px;margin-bottom:20px;border-radius:var(--r-1);background:var(--ink)}
.mn-text{display:grid;gap:12px}
.mn-text i{height:8px;border-radius:var(--r-pill);background:var(--tint)}
.mn-text i:first-child{width:56%;background:var(--control)}
.mn-text i:last-child{width:72%}
.mn-cells{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%}
.mn-cells i{height:28px;border-radius:var(--r-1);background:var(--tint)}
.mn-cells i:nth-child(-n+4){background:var(--line)}
.mn-cells i:nth-child(11){background:var(--ink)}
.mn-said{display:grid;gap:8px;justify-items:start}
.mn-msg{padding:12px 16px;border-radius:var(--r-2);background:var(--tint);font-size:var(--fs-text);line-height:var(--lh-body);color:var(--ink)}
.mn-msg.is-mine{background:var(--ink);color:var(--on-ink)}
.mn-read{width:100%;border:1px solid var(--line);border-radius:var(--r-2);background:var(--sheet);overflow:hidden}
.mn-read-r{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) 20px;gap:16px;align-items:center;min-height:44px;padding:8px 16px}
.mn-read-r+.mn-read-r{border-top:1px solid var(--line)}
.mn-read-r i{height:8px;border-radius:var(--r-pill);background:var(--line)}
.mn-read-r.is-now{background:var(--tint)}
.mn-read-r.is-now i{background:var(--control)}
.mn-names{display:grid;gap:12px;width:100%}
.mn-names i{display:flex;align-items:center;gap:12px}
.mn-names i::before{content:"";flex:none;width:40px;height:40px;border-radius:var(--r-pill);background:var(--tint)}
.mn-names i::after{content:"";width:56%;height:8px;border-radius:var(--r-pill);background:var(--line)}
.mn-names i:nth-child(even)::after{width:40%}

/* ---------- 761 to 1100 px: one line, nothing wraps. The widths were measured in the browser (Jost 500 at 14 px) and added up with a
   15 px scrollbar: 15 px to spare at 901 and at 761, where the strip is a little wider than the content (16 px from each side of
   the window). A button is never narrower than 24 px. ---------- */
@media (min-width:761px) and (max-width:1100px){
  .mn-head{--mn-pad:8px}
  .site-head .mn-head{gap:20px;padding:0 16px}
  .mn-head .nav{gap:0}
  .mn-b{width:24px}
  .mn-head .m-link{max-width:160px}
}
@media (min-width:761px) and (max-width:900px){
  .site-head .mn-head{--mn-pad:4px;--mn-l:max(16px,env(safe-area-inset-left,0px));--mn-r:max(16px,env(safe-area-inset-right,0px));gap:12px}
  .mn-head .brand .logo{height:20px}
  .mn-head .acct{gap:12px}
  .mn-head .m-link{max-width:120px}
  .mn-head .m-link .ic{display:none}
  .mn-head .m-up{padding:0 12px}
}

/* ---------- a low window (a phone held sideways, a zoomed page): the bar does not scroll away, so a panel cut off at the foot of the
   window could never be reached. Two columns of names, no preview: 222 px tall at the most ---------- */
@media (min-width:761px) and (max-height:539px){
  .mn-v{display:none}
  .mn-p{grid-template-columns:minmax(0,1fr);padding:16px}
  .mn-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
  .mn-rows li+li{margin-top:0}
  .mn-p .mn-row{min-height:44px}
}

/* ---------- no script: no button to press, so resting on a group or tabbing into it shows its names, under its label ---------- */
@media (scripting:none){
  .mn-b{display:none}
  .mn-head .mn-i>a{padding-right:var(--mn-pad)}
  .mn-i{position:relative}
  .mn-p{top:calc(100% + 20px);grid-template-columns:minmax(0,1fr);width:330px}
  .mn-i:hover>.mn-p[hidden],.mn-i:focus-within>.mn-p[hidden]{display:grid!important}
  .mn-p .mn-row:hover{background:var(--tint)}
}

/* ---------- a phone: the same strip, with the logo and a round two-bar button; the sheet covers the screen. Sign in and
   Sign up free are in the sheet. ---------- */
.mn-sheet{display:none}
@media (max-width:760px){
  :root:has(.mn-head){--bar:64px}
  .mn-head{--mn-gap:8px}
  .site-head .mn-head{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand . menu";min-height:56px;padding:0 6px 0 16px}
  .mn-head .nav,.mn-head .acct{display:none}
  .mn-sheet{display:block;grid-area:menu;margin-left:12px}
  .mn-s{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--control);border-radius:var(--r-pill);
    font-size:var(--fs-text);font-weight:500;line-height:var(--lh-body);color:var(--ink);cursor:pointer;list-style:none}
  .mn-s::-webkit-details-marker,.mn-g>summary::-webkit-details-marker{display:none}
  .mn-bars{width:16px;height:9px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)}
  .mn-close{display:none}

  /* open: the strip stays where it is, however far the page was scrolled, and its button reads Close. The sheet goes over the page and
     under the strip; its own ::before keeps the links that scroll from showing around the strip */
  .mn-sheet[open]>.mn-s{padding:0 12px;border-color:transparent}
  .mn-sheet[open] .mn-bars,.mn-sheet[open] .mn-menu{display:none}
  .mn-sheet[open] .mn-close{display:block}
  .mn-full{position:fixed;inset:0;z-index:-2;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:80px;
    padding:0 var(--mn-r) calc(24px + env(safe-area-inset-bottom,0px)) var(--mn-l);background:var(--paper)}
  .mn-full::before{content:"";position:sticky;top:0;z-index:1;height:72px;margin-bottom:8px;background:var(--paper)}
  .mn-full>*,.mn-full::before{flex:none}
  .mn-g,.mn-j{border-bottom:1px solid var(--line)}
  .mn-g>summary,.mn-j{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;color:var(--ink);text-decoration:none}
  .mn-g>summary{cursor:pointer;list-style:none}
  .mn-g>summary .ic{transition:transform var(--dur-2) var(--ease-out)}
  .mn-g[open]>summary .ic{transform:rotate(180deg)}
  .mn-g ul{padding-bottom:10px}
  .mn-g a{display:flex;align-items:center;min-height:54px;font-size:var(--fs-lead);line-height:var(--lh-body);color:var(--text);text-decoration:none}
  .mn-g a[aria-current]{font-weight:500;color:var(--ink)}
  .mn-full .mn-go{display:grid;gap:12px;margin-top:auto;padding-top:24px}
  .mn-up,.mn-in{display:flex;align-items:center;justify-content:center;min-height:56px;padding:8px 24px;border:1px solid var(--ink);
    border-radius:var(--r-pill);font-size:var(--fs-body);font-weight:500;line-height:var(--lh-body);color:var(--ink);text-align:center;
    text-decoration:none;overflow-wrap:anywhere}
  .mn-up{background:var(--ink);color:var(--on-ink)}

  /* the page behind stays still. Only a phone's width has these rules, so a wider window is never left locked; the second pair is for a
     page without a script (apart, so a browser that does not know :has() keeps the first). While the root is hidden, site.css's
     overflow-x:hidden would be the body's own and make it the box the header sticks in, which has scrolled away: so body lets go of it */
  html.mn-lock{overflow:hidden}
  html.mn-lock>body{overflow:visible}
  html:has(.mn-sheet[open]){overflow:hidden}
  html:has(.mn-sheet[open])>body{overflow:visible}
}
html.no-motion .mn-g>summary .ic{transition:none}

/* ---------- misc group (v2/misc.py): Grey List (P18), data news (P19, P20), About, Questions, Privacy, Terms (P21–P24) ----------
   From the mockup's d-pages.css. Every class starts with d-, and every page wears .d-page, so nothing here touches another
   group's page. The mockup's tier-state parts of P18 (the five marks, "What the Grey List holds") wait for the sealed tier
   rules and are not here. No inline style anywhere: a bar's length is a class, d-w0 … d-w100 (at the end). */

/* ---------- common pieces ---------- */
.d-sec{margin-top:96px}
.d-nw{white-space:nowrap}
.d-split{display:grid;grid-template-columns:minmax(0,480fr) minmax(0,640fr);gap:80px;align-items:start}
.d-split>*{min-width:0}
.d-prose p+p,.d-prose p+ul,.d-prose ul+p{margin-top:16px}
.d-prose .ph{font-size:var(--fs-text);line-height:var(--lh-body);padding:0 10px}
.d-prose>.t-h3{margin-top:32px}
.d-prose>.t-h3+p,.d-prose>.t-h3+ul{margin-top:12px}
.d-callout{background:var(--tint);padding:12px 16px;border-radius:var(--r-2)}
.d-callout p{font-size:var(--fs-text);line-height:var(--lh-body);color:var(--text)}
.d-callout p+p{margin-top:4px}
.d-kv{margin:0}
.d-kv>div{display:grid;grid-template-columns:154px minmax(0,1fr);gap:0 16px;padding:10px 0;border-bottom:1px solid var(--line)}
.d-kv dt{color:var(--text)}
.d-kv dd{margin:0;color:var(--text)}
.d-kv-wide>div{grid-template-columns:208px minmax(0,1fr)}
.d-muted{color:var(--muted)}
.d-measure{max-width:720px}
.d-files{display:flex;flex-wrap:wrap;gap:8px 20px}
.d-cite{overflow-wrap:anywhere}
.d-dash-list li{padding-left:1.25em;text-indent:-1.25em}
.d-dash-list li::before{content:"— "}
.d-dash-list li+li{margin-top:16px}
a.d-quiet{color:inherit;text-decoration:none}
a.d-quiet:hover{text-decoration:underline;text-underline-offset:4px}
a.d-name{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:var(--line);text-underline-offset:5px}
a.d-name:hover{text-decoration-color:var(--ink)}

/* ---------- P18 Grey List ---------- */
.d-warn{margin-top:32px}
.d-issue-note{margin-top:48px}
.d-counts{margin-top:32px;max-width:720px}
.d-counts .kv-row>:last-child{font-variant-numeric:tabular-nums}
.d-floor{margin-top:12px}
.d-gsec{margin-top:96px}
.d-gsec>h2+p{margin-top:12px}
.d-names-p{margin-top:12px;font-size:18px;line-height:var(--lh-body);color:var(--text)}
.d-itable-wrap,.d-ltable-wrap{margin-top:24px}
.d-itable,.d-ltable,.d-xtable{table-layout:fixed;min-width:0}
.d-itable .c-co{width:34%} .d-itable .c-in{width:16%} .d-itable .c-kind{width:24%} .d-itable .c-chk{width:12%} .d-itable .c-rec{width:14%}
.d-ltable .c-co{width:36%} .d-ltable .c-in{width:17%}
.d-itable tbody th,.d-ltable tbody th,.d-xtable tbody th{font:500 16px/var(--lh-body) var(--sans);color:var(--ink);text-align:left;white-space:normal;
  padding:10px 16px 10px 0;vertical-align:top;border-bottom:1px solid var(--line)}
.d-itable td,.d-ltable td{overflow-wrap:anywhere}
.d-itable td.d-rec{font-size:12px;color:var(--muted);padding-top:12px;overflow-wrap:normal}
.d-chk{font-variant-numeric:tabular-nums;white-space:nowrap}
.d-withheld-name{color:var(--muted);font-weight:400}
.d-local,.d-nosite{display:block;font-size:14px;line-height:var(--lh-body);font-weight:400;color:var(--muted)}
.d-held{margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.d-held>summary{display:flex;gap:4px 16px;align-items:baseline;padding:16px 0;cursor:pointer;list-style:none}
.d-held>summary::-webkit-details-marker{display:none}
.d-held>summary::after{content:"+";content:"+"/"";flex:none;margin-left:auto;padding-left:8px;color:var(--ink);font:400 20px/var(--lh-body) var(--sans)}
.d-held[open]>summary::after{content:"\2212";content:"\2212"/""}
.d-held>summary:hover .d-held-k{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.d-held>summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.d-held-k{flex:none;font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
.d-held-v{flex:1 1 auto;min-width:0;font-size:16px;line-height:var(--lh-body);color:var(--muted)}
.d-held-b{padding:0 0 24px}
.d-held .d-itable-wrap,.d-held .d-ltable-wrap{margin-top:0}
.d-lv{margin-top:40px}
.d-lv-n{color:var(--muted);font-weight:400;margin-left:8px;font-variant-numeric:tabular-nums}
.d-lv-p{margin-top:4px;max-width:720px}
.d-ltable-wrap{margin-top:16px}
.d-xtable{margin-top:16px}
.d-gsec .table-wrap+p,.d-gsec>h2+.table-wrap{margin-top:16px}
.d-rulefiles{overflow-wrap:anywhere}
.d-quote{font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
.d-earlier{margin-top:120px;max-width:840px}
.d-earlier-p{margin-top:12px;font-size:18px;line-height:var(--lh-body)}
.d-issues{margin-top:16px}
.d-issues li{display:grid;grid-template-columns:200px 314px minmax(0,1fr);align-items:baseline;padding:16px 0;border-bottom:1px solid var(--line)}
.d-issue-n{font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
.d-issue-now{font:400 14px/var(--lh-body) var(--sans);color:var(--muted);margin-left:8px}
.d-issue-c{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.d-issue-l{display:flex;flex-wrap:wrap;gap:4px 16px;justify-content:flex-end}

/* ---------- P19 Data news ---------- */
.d-news{margin-top:36px;padding:0;list-style:none}
.d-news li{display:grid;grid-template-columns:176px minmax(0,1fr) auto;gap:0 24px;align-items:start;padding:18px 0;border-bottom:1px solid var(--line)}
.d-news time{font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:4px;font-variant-numeric:tabular-nums}
a.d-news-t{font-size:18px;line-height:var(--lh-body);font-weight:500;color:var(--ink);text-decoration:none}
a.d-news-t:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}
.d-news-k{font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-top:4px;text-align:right;white-space:nowrap}
.d-news-empty{margin-top:36px}

/* ---------- P20 article ---------- */
.d-art-h1{max-width:960px}
.d-art-top{margin-top:56px}
.d-art-one{grid-template-columns:minmax(0,1fr)}
.d-figs>*+*{margin-top:48px}
.d-chart{margin:0}
.d-chart-h{margin-bottom:8px}
.d-bars{--bar-max:380px}
.d-bars li{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:center;padding:14px 0}
.d-bar-k{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.d-bar-v{display:flex;align-items:center;gap:16px;font-size:16px;line-height:var(--lh-body);color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}
.d-bar{display:block;flex:none;height:14px;border-radius:var(--r-pill);background:var(--ink);width:0}
.d-chart figcaption{margin-top:12px;max-width:680px}
.d-line .chart{display:block;width:100%;height:auto;max-width:720px}
.d-line .chart .line{stroke:var(--ink);stroke-width:2}
.d-line .chart .lab,.d-line .chart .val,.d-line .chart .unit{fill:var(--muted);font:400 14px var(--sans)}
.d-inart-h{font:400 16px/var(--lh-body) var(--sans);color:var(--text);letter-spacing:var(--ls-sans)}
.d-inart .d-kv{margin-top:16px}
.d-art-body>p:first-child{margin-top:0}
.d-art-body .small{color:var(--muted)}
.d-files-list li+li{margin-top:8px}
.d-files-list li{overflow-wrap:anywhere}
.d-sha{font-family:var(--mono);font-size:12px;line-height:var(--lh-body);color:var(--muted);overflow-wrap:anywhere;word-break:break-all}
ul.d-src li{overflow-wrap:anywhere}
a.d-src{color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;overflow-wrap:anywhere;word-break:break-all}
.d-prose .d-corr{margin-top:32px}
.d-corr-top{margin-top:40px}
.d-corr-k{font-weight:500;color:var(--ink)}

/* ---------- P21–P24 footer pages ---------- */
.d-jump{margin-top:32px;display:flex;flex-wrap:wrap;gap:8px 20px}
.d-faq{display:grid;grid-template-columns:minmax(0,280fr) minmax(0,840fr);gap:80px;align-items:start;margin-top:64px}
/* the intro pages /about/ and /faq/ (Task 29): the picture across under the head; on /faq/ each group's headline (the section role)
   stands over its questions, as Wealthsimple's FAQs */
.d-pic{margin-top:48px}
/* /about/'s four sections are rows (fix round 1, site.css .ws-row): the heading and its words, a picture on the other side */
.d-row{margin-top:128px}
.d-row .ws-text h2{margin-bottom:24px}
.d-row .ws-pic .pic{aspect-ratio:4/3}
.d-faqp .d-faq{grid-template-columns:minmax(0,1fr);gap:16px;margin-top:96px}
.d-faqp .d-qas{max-width:840px}
.d-faq>*{min-width:0}
.d-qa{padding:16px 0;border-bottom:1px solid var(--line)}
.d-qa>p{margin-top:4px}
.d-qa>p+p{margin-top:8px}

/* ---------- phone ---------- */
@media (max-width:900px){
  .d-split,.d-faq{grid-template-columns:minmax(0,1fr);gap:16px}
  .d-issues li{grid-template-columns:minmax(0,1fr)}
  .d-issue-l{justify-content:flex-start}
}
@media (max-width:960px){
  /* P18: each row stacks, the company on its own line, the rest in one small line under it (M04: no sideways scroll) */
  .d-itable,.d-itable tbody,.d-itable tr,.d-ltable,.d-ltable tbody,.d-ltable tr,.d-xtable,.d-xtable tbody,.d-xtable tr{display:block}
  .d-itable thead,.d-itable colgroup,.d-ltable thead,.d-ltable colgroup,.d-xtable thead{display:none}
  .d-itable tr,.d-ltable tr,.d-xtable tr{padding:12px 0;border-bottom:1px solid var(--line)}
  .d-itable tbody th,.d-itable td,.d-ltable tbody th,.d-ltable td,.d-xtable tbody th,.d-xtable td{display:inline;padding:0;border:0;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
  .d-itable tbody th,.d-ltable tbody th,.d-xtable tbody th{display:block;font-size:16px;line-height:var(--lh-body);color:var(--ink);margin-bottom:2px}
  .d-itable td:not(:last-child)::after,.d-xtable td:not(:last-child)::after{content:"\00a0· "}
  .d-ltable td:first-of-type::after{content:"\00a0· "}
  .d-itable td.d-rec{font-family:var(--sans);font-size:14px;padding:0}
  .d-itable-wrap,.d-ltable-wrap{overflow:visible}
  .d-withheld-name{color:var(--muted)}
}
@media (max-width:760px){
  .d-grey h2{font-size:32px;line-height:var(--lh-head)}
  .d-page .ledger{flex-direction:column;gap:12px}
  .d-sec,.d-gsec{margin-top:48px}
  .d-row{margin-top:80px}
  .d-faq,.d-faqp .d-faq{margin-top:56px}
  .d-pic{margin-top:32px}
  .d-jump{row-gap:4px}

  /* P18 */
  .d-issue-note{margin-top:32px}
  .d-counts .kv-row{flex-direction:column;align-items:flex-start;gap:2px}
  .d-counts .kv-row>:last-child{text-align:left}
  .d-earlier{margin-top:72px}
  .d-issues li{padding:16px 0}
  .d-issue-c,.d-issue-l{margin-top:8px}
  .d-held>summary{flex-wrap:wrap}
  .d-held-v{order:3;flex-basis:100%}

  /* P19 */
  .d-news{margin-top:24px}
  .d-news li{grid-template-columns:minmax(0,1fr);padding:16px 0}
  a.d-news-t{margin-top:4px}
  .d-news-k{text-align:left;padding-top:4px}
  .d-news time{padding-top:0}

  /* P20 */
  .d-art-top{margin-top:32px;gap:16px}
  .d-bars{--bar-max:130px}
  .d-bars li{grid-template-columns:126px minmax(0,1fr)}
  .d-inart .d-kv>div{grid-template-columns:minmax(0,1fr);gap:2px}

  /* P21 */
  .d-kv-wide>div{grid-template-columns:minmax(0,1fr);gap:2px}
}

/* ---------- bar lengths: a bar is d-w<n>, n the per cent of the chart's largest value ---------- */
.d-w0{width:calc(var(--bar-max) * 0 / 100)} .d-w1{width:calc(var(--bar-max) * 1 / 100)} .d-w2{width:calc(var(--bar-max) * 2 / 100)} .d-w3{width:calc(var(--bar-max) * 3 / 100)} .d-w4{width:calc(var(--bar-max) * 4 / 100)} .d-w5{width:calc(var(--bar-max) * 5 / 100)}
.d-w6{width:calc(var(--bar-max) * 6 / 100)} .d-w7{width:calc(var(--bar-max) * 7 / 100)} .d-w8{width:calc(var(--bar-max) * 8 / 100)} .d-w9{width:calc(var(--bar-max) * 9 / 100)} .d-w10{width:calc(var(--bar-max) * 10 / 100)} .d-w11{width:calc(var(--bar-max) * 11 / 100)}
.d-w12{width:calc(var(--bar-max) * 12 / 100)} .d-w13{width:calc(var(--bar-max) * 13 / 100)} .d-w14{width:calc(var(--bar-max) * 14 / 100)} .d-w15{width:calc(var(--bar-max) * 15 / 100)} .d-w16{width:calc(var(--bar-max) * 16 / 100)} .d-w17{width:calc(var(--bar-max) * 17 / 100)}
.d-w18{width:calc(var(--bar-max) * 18 / 100)} .d-w19{width:calc(var(--bar-max) * 19 / 100)} .d-w20{width:calc(var(--bar-max) * 20 / 100)} .d-w21{width:calc(var(--bar-max) * 21 / 100)} .d-w22{width:calc(var(--bar-max) * 22 / 100)} .d-w23{width:calc(var(--bar-max) * 23 / 100)}
.d-w24{width:calc(var(--bar-max) * 24 / 100)} .d-w25{width:calc(var(--bar-max) * 25 / 100)} .d-w26{width:calc(var(--bar-max) * 26 / 100)} .d-w27{width:calc(var(--bar-max) * 27 / 100)} .d-w28{width:calc(var(--bar-max) * 28 / 100)} .d-w29{width:calc(var(--bar-max) * 29 / 100)}
.d-w30{width:calc(var(--bar-max) * 30 / 100)} .d-w31{width:calc(var(--bar-max) * 31 / 100)} .d-w32{width:calc(var(--bar-max) * 32 / 100)} .d-w33{width:calc(var(--bar-max) * 33 / 100)} .d-w34{width:calc(var(--bar-max) * 34 / 100)} .d-w35{width:calc(var(--bar-max) * 35 / 100)}
.d-w36{width:calc(var(--bar-max) * 36 / 100)} .d-w37{width:calc(var(--bar-max) * 37 / 100)} .d-w38{width:calc(var(--bar-max) * 38 / 100)} .d-w39{width:calc(var(--bar-max) * 39 / 100)} .d-w40{width:calc(var(--bar-max) * 40 / 100)} .d-w41{width:calc(var(--bar-max) * 41 / 100)}
.d-w42{width:calc(var(--bar-max) * 42 / 100)} .d-w43{width:calc(var(--bar-max) * 43 / 100)} .d-w44{width:calc(var(--bar-max) * 44 / 100)} .d-w45{width:calc(var(--bar-max) * 45 / 100)} .d-w46{width:calc(var(--bar-max) * 46 / 100)} .d-w47{width:calc(var(--bar-max) * 47 / 100)}
.d-w48{width:calc(var(--bar-max) * 48 / 100)} .d-w49{width:calc(var(--bar-max) * 49 / 100)} .d-w50{width:calc(var(--bar-max) * 50 / 100)} .d-w51{width:calc(var(--bar-max) * 51 / 100)} .d-w52{width:calc(var(--bar-max) * 52 / 100)} .d-w53{width:calc(var(--bar-max) * 53 / 100)}
.d-w54{width:calc(var(--bar-max) * 54 / 100)} .d-w55{width:calc(var(--bar-max) * 55 / 100)} .d-w56{width:calc(var(--bar-max) * 56 / 100)} .d-w57{width:calc(var(--bar-max) * 57 / 100)} .d-w58{width:calc(var(--bar-max) * 58 / 100)} .d-w59{width:calc(var(--bar-max) * 59 / 100)}
.d-w60{width:calc(var(--bar-max) * 60 / 100)} .d-w61{width:calc(var(--bar-max) * 61 / 100)} .d-w62{width:calc(var(--bar-max) * 62 / 100)} .d-w63{width:calc(var(--bar-max) * 63 / 100)} .d-w64{width:calc(var(--bar-max) * 64 / 100)} .d-w65{width:calc(var(--bar-max) * 65 / 100)}
.d-w66{width:calc(var(--bar-max) * 66 / 100)} .d-w67{width:calc(var(--bar-max) * 67 / 100)} .d-w68{width:calc(var(--bar-max) * 68 / 100)} .d-w69{width:calc(var(--bar-max) * 69 / 100)} .d-w70{width:calc(var(--bar-max) * 70 / 100)} .d-w71{width:calc(var(--bar-max) * 71 / 100)}
.d-w72{width:calc(var(--bar-max) * 72 / 100)} .d-w73{width:calc(var(--bar-max) * 73 / 100)} .d-w74{width:calc(var(--bar-max) * 74 / 100)} .d-w75{width:calc(var(--bar-max) * 75 / 100)} .d-w76{width:calc(var(--bar-max) * 76 / 100)} .d-w77{width:calc(var(--bar-max) * 77 / 100)}
.d-w78{width:calc(var(--bar-max) * 78 / 100)} .d-w79{width:calc(var(--bar-max) * 79 / 100)} .d-w80{width:calc(var(--bar-max) * 80 / 100)} .d-w81{width:calc(var(--bar-max) * 81 / 100)} .d-w82{width:calc(var(--bar-max) * 82 / 100)} .d-w83{width:calc(var(--bar-max) * 83 / 100)}
.d-w84{width:calc(var(--bar-max) * 84 / 100)} .d-w85{width:calc(var(--bar-max) * 85 / 100)} .d-w86{width:calc(var(--bar-max) * 86 / 100)} .d-w87{width:calc(var(--bar-max) * 87 / 100)} .d-w88{width:calc(var(--bar-max) * 88 / 100)} .d-w89{width:calc(var(--bar-max) * 89 / 100)}
.d-w90{width:calc(var(--bar-max) * 90 / 100)} .d-w91{width:calc(var(--bar-max) * 91 / 100)} .d-w92{width:calc(var(--bar-max) * 92 / 100)} .d-w93{width:calc(var(--bar-max) * 93 / 100)} .d-w94{width:calc(var(--bar-max) * 94 / 100)} .d-w95{width:calc(var(--bar-max) * 95 / 100)}
.d-w96{width:calc(var(--bar-max) * 96 / 100)} .d-w97{width:calc(var(--bar-max) * 97 / 100)} .d-w98{width:calc(var(--bar-max) * 98 / 100)} .d-w99{width:calc(var(--bar-max) * 99 / 100)} .d-w100{width:calc(var(--bar-max) * 100 / 100)}

/* prices (v2/prices.py): /prices/ (the standard price table), /prices/<issue>/ (an issue's archive, mockup P05)
   and /method/ (P03). All keep the mockup's ap- classes.
   The mockup scoped page overrides to body[data-page="P03|P04|P05"]; here they hang off the page's own wrapper (.ap-method,
   .ap-prices). The key column of a key | value block is a class (ap-kv-104 ...), not an inline --k, because the CSP has
   no 'unsafe-inline'. */

/* page head: the titles wrap as every title on the site does (site.css h1–h3: balance), so none leaves one word alone (V24) */

/* heading left, record right: 512 | 48 | 640 on desktop */
.ap-split{display:grid;grid-template-columns:minmax(0,512fr) minmax(0,640fr);gap:48px;align-items:start}
.ap-split>*{min-width:0}
/* the heading stays beside the long record it labels while that record scrolls (desktop only) */
@media (min-width:901px){.ap-split>:first-child{position:sticky;top:32px}}
.ap-sub{margin-top:16px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.ap-sub a{color:var(--muted)}
.ap-intro{margin-top:16px;max-width:432px}
.ap-after{margin-top:16px}
.ap-after-2{margin-top:16px}
.ap-after-link{margin-top:16px}
.ap-btn-row{margin-top:16px}

/* key | value rows, first row without a rule above; the key column width comes from the ap-kv-<px> class */
.ap-kv{margin-top:16px;--k:224px}
.ap-kv-104{--k:104px} .ap-kv-184{--k:184px} .ap-kv-224{--k:224px} .ap-kv-304{--k:304px}
.ap-kv:first-child{margin-top:0}
.ap-kv .ap-row{display:grid;grid-template-columns:var(--k) minmax(0,1fr);padding:10px 0;border-bottom:1px solid var(--line)}
.ap-kv .ap-row>*{min-width:0}
.ap-kv .ap-row>:last-child{overflow-wrap:anywhere}
.ap-kv .ap-row .mono{font-size:14px;color:var(--text)}
.ap-hash{word-break:break-all}

/* ---------- P03: the formula ---------- */
.ap-ex{font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.ap-f-row{display:flex;align-items:baseline;justify-content:space-between;gap:24px;padding:12px 0;border-bottom:1px solid var(--line)}
.ap-f-row+.ap-f-row{border-bottom:2px solid var(--ink)}
.ap-f-line{min-width:0;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.ap-f-line::-webkit-scrollbar{display:none}
.ap-f-line.is-over:not(.is-end){-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 32px),transparent)}
.ap-dot{margin:0 8px;color:var(--muted)}
.ap-f-amt{flex:none;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)}
.ap-f-total{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0 12px}
.ap-f-big{font:var(--w-num) 32px/var(--lh-head) var(--sans);color:var(--ink);white-space:nowrap;font-variant-numeric:lining-nums;letter-spacing:var(--ls-sans)}
.ap-f-note{margin-top:4px}

/* small record tables (P03 versions, P04 every issue): a table on desktop, one entry per row on phone */
.ap-list{width:100%;border-collapse:collapse;font-size:16px;line-height:var(--lh-body)}
.ap-list th{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400;text-align:left;padding:0 16px 8px 0;border-bottom:1px solid var(--line);white-space:nowrap}
.ap-list td{padding:10px 16px 10px 0;border-bottom:1px solid var(--line);vertical-align:top}
.ap-list th:last-child,.ap-list td:last-child{padding-right:0}
.ap-list td:first-child{color:var(--ink);font-weight:500}
.ap-list .num{text-align:right}
.ap-list .ap-r{text-align:right}
.ap-list td.mono{font-size:14px;color:var(--muted)}
.ap-versions td:first-child{width:224px}
.ap-versions td:nth-child(2){width:240px}
.ap-versions td.ap-r{color:var(--muted)}
a.ap-file{font-family:var(--mono);font-size:14px;line-height:var(--lh-body);color:var(--muted);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:4px}
a.ap-file:hover{color:var(--ink);text-decoration-color:currentColor}
.ap-issues td:first-child{width:164px}
.ap-issues td:nth-child(2){width:96px}
.ap-issues td:nth-child(3){width:108px}

/* ---------- P04 / P05: the band toggle and the sheet ---------- */
.ap-bands{margin-top:54px}
.ap-band-label{font-size:16px;line-height:var(--lh-body);color:var(--text);margin-bottom:12px}
/* the band rail is site.css's .toggle as it is: its rail, its mark, its wrapped rows and its forced-colours rule */
.ap-nobr{white-space:nowrap}
.ap-sheet{margin-top:30px}
.ap-pick{font-size:16px;line-height:var(--lh-body);color:var(--text)}
.ap-basis{margin-top:0}
.ap-grid-wrap{margin-top:8px}
.ap-grid{width:100%;border-collapse:collapse;table-layout:fixed;font-size:16px;line-height:var(--lh-body);font-variant-numeric:tabular-nums lining-nums}
.ap-grid .ap-c0{width:40px}
.ap-grid thead th{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400;text-align:right;padding:5px 8px 5px 0;border-bottom:1px solid var(--line);white-space:nowrap}
.ap-grid thead th:first-child{text-align:left}
.ap-grid tbody th{text-align:left;font-weight:500;color:var(--ink);padding:10px 0 9px 8px;border-bottom:1px solid var(--line)}
.ap-grid td{padding:10px 8px 9px 0;border-bottom:1px solid var(--line);color:var(--text);text-align:right}
.ap-lc{margin-top:16px}
.ap-how{margin-top:16px}
/* every band is printed; JavaScript shows the picked one. Without JavaScript all ten show, one under another, and the toggle,
   which could not switch anything, is left out */
@media (scripting:none){
  .ap-bands{display:none}
  .ap-band[hidden]{display:block!important}
  .ap-band+.ap-band{margin-top:32px}
}
/* a picked band's table settles in once (prices.js adds .is-in on a pick, never on load) */
.ap-band.is-in{animation:ap-in .24s var(--ease)}
@keyframes ap-in{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- the pick-one bars of /prices/ and of an issue's carat-band rail ----------
   site.css and site.js draw and fit every bar, these too (review V13, one bar everywhere): 24 px options, a tap area into
   half of each gap, gaps closed to 8 or 4 px before a bar wraps (.is-tight, .is-tighter), a second rail when it does. */

/* ---------- P03 (and each issue's own coefficients on P05): laid out flat ---------- */
.ap-h3{margin-top:40px;font:500 18px/var(--lh-body) var(--sans);letter-spacing:var(--ls-sans);color:var(--ink)}
.ap-h3+*{margin-top:12px}
.ap-p{margin-top:16px}
/* one small two-column table per coefficient set (grade | multiplier), side by side, wrapping */
.ap-coefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 48px;align-items:start;margin-top:16px}
.ap-h3+.ap-coefs{margin-top:16px}
.ap-coef-block{min-width:0}
.ap-coef{width:100%;border-collapse:collapse;font-size:16px;line-height:var(--lh-body);font-variant-numeric:tabular-nums lining-nums}
.ap-coef caption{caption-side:top;text-align:left;font-size:14px;line-height:var(--lh-body);color:var(--muted);padding-bottom:8px;border-bottom:1px solid var(--line)}
.ap-coef th{text-align:left;font-weight:400;color:var(--text);padding:8px 16px 8px 0;border-bottom:1px solid var(--line);white-space:nowrap}
.ap-coef td{text-align:right;padding:8px 0;border-bottom:1px solid var(--line);white-space:nowrap;color:var(--text)}
/* the fancy-colour example: hue down, intensity across */
.ap-cap{margin-top:32px;font-size:16px;line-height:var(--lh-body);font-weight:500;color:var(--ink)}
.ap-cap+.small{margin-top:0}
.ap-fancy{width:100%;margin-top:8px;border-collapse:collapse;table-layout:fixed;font-size:16px;line-height:var(--lh-body);font-variant-numeric:tabular-nums lining-nums}
.ap-fancy thead th{font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400;text-align:right;padding:6px 0 6px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.ap-fancy thead th:first-child{padding-left:0}
.ap-fancy tbody th{text-align:left;font-weight:500;color:var(--ink);padding:8px 16px 8px 0;border-bottom:1px solid var(--line)}
.ap-fancy td{text-align:right;padding:8px 0 8px 16px;border-bottom:1px solid var(--line);color:var(--text)}

/* ---------- tablet ---------- */
@media (max-width:900px){
  .ap-split{grid-template-columns:minmax(0,1fr);gap:24px}
  .ap-intro{max-width:none}
}

/* ---------- phone ---------- */
@media (max-width:760px){
  /* the titles take the site's fluid sizes (site.css --fs-h1, --fs-h2); the ledger stacks one item per line */
  .ap-prices .ledger,.ap-method .ledger{flex-direction:column;gap:12px;flex-wrap:nowrap}

  .ap-split{gap:0}
  .ap-split>*+*{margin-top:16px}
  .ap-intro{margin-top:16px}
  .ap-kv .ap-row{display:block;padding:10px 0}
  .ap-kv .ap-row>*{display:block}
  .ap-kv .ap-row>:first-child{color:var(--text)}
  .ap-kv .ap-row>:last-child{margin-top:2px}

  .ap-f-row{gap:16px}
  .ap-f-line{white-space:normal;overflow:visible}              /* read whole: nothing said a cut line could be swiped */
  .ap-f-big{font-size:24px;line-height:var(--lh-head)}
  .ap-f-big .ph-lg{font-size:24px;line-height:var(--lh-head)}

  /* tables become one entry per row: the first cell on its own line, the rest small, joined by " · " */
  .ap-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ap-list,.ap-list tbody,.ap-list tr{display:block;width:auto}
  .ap-list tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .ap-list td{display:inline;padding:0;border:0;width:auto!important;font-size:14px;line-height:var(--lh-body);color:var(--muted);font-weight:400;text-align:left!important}
  .ap-list td:first-child{display:block;font-size:16px;line-height:var(--lh-body);color:var(--ink);font-weight:500;margin-bottom:1px}
  .ap-list td.mono{font-family:var(--sans);font-size:14px}
  .ap-list td+td+td::before{content:" · "}
  .ap-list a.ap-file{font-family:var(--sans)}

  .ap-bands{margin-top:32px}
  .ap-sheet{margin-top:24px;gap:0}
  .ap-sheet>*+*{margin-top:16px}
  .ap-grid{font-size:14px;line-height:var(--lh-body)}
  .ap-grid .ap-c0{width:30px}
  .ap-grid thead th{padding:4px 4px 4px 0}
  .ap-grid tbody th{padding:12px 0 11px 10px;font-size:14px}
  .ap-grid td{padding:12px 4px 11px 0}
  .ap-grid-wrap{margin-inline:0}
  .ap-side .ap-btn-row{margin-top:12px}
  .ap-dl-h{margin-top:16px}
  .ap-dl .ap-row{padding:11px 0 10px}
  .ap-lic{margin-top:8px}
  .ap-h3{margin-top:32px}
  .ap-coefs{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .ap-coefs-3>:nth-child(2){grid-row:span 2}  /* cut and growth method stack on the left, the longer shape list beside them */
  .ap-coef th{padding-right:8px}
  /* the fancy-colour example fits a phone when its intensity names may wrap */
  .ap-fancy{font-size:14px;line-height:var(--lh-body)}
  .ap-fancy thead th{white-space:normal;vertical-align:bottom;padding-left:8px}
  .ap-fancy tbody th{padding:10px 8px 10px 0}
  .ap-fancy td{padding:10px 0 10px 8px}
}

/* ---------- /prices/: the standard price table (the archive's band toggle and tables, then two small lines and a button) ---------- */
.ap-std .ap-src{margin-top:8px;color:var(--muted)}
.ap-std .ap-btn-row{margin-top:32px}

/* Chinese pages: the small grey lines of this group at 14 px, not 13 (review V15) */
html:lang(zh) .ap-sub,html:lang(zh) .ap-ex,html:lang(zh) .ap-src{font-size:14px;line-height:var(--lh-body)}

/* products (v2/products.py, Task 21, 2026-11-23 night): the home page's three products, and the product pages /buyers/, /sellers/,
   /certification/. The Wealthsimple way (scan_wealthsimple_type_products_2026_11.md §3): the product's name big in the serif, one line,
   short feature lines in the sans at 500 with the figure first and no icons, the price, one button, a dated table. The figures are the
   sans, as every figure on the site; green leads, gold stays for money on ink and the certification mark. */

/* ---------- home: three products, a row each the Wealthsimple way (Task 29; site.css .ws-row): the name across in the serif's
   display size, then the line and the three feature lines on one side and the picture on the other, the side alternating;
   stacked on a phone ---------- */
.products{margin-top:128px}
.pd-rows>li+li{margin-top:128px}
.pd-card{min-width:0;padding-top:28px;border-top:1px solid var(--ink)}
.pd-card .pd-name{color:var(--ink);margin-bottom:40px}
.pd-promise{max-width:560px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text);text-wrap:pretty}
.pd-feats{margin-top:32px;border-bottom:1px solid var(--line)}
/* the feature lines, on a home row and on a product page: the feature role (.t-feature on the list: 32 / 500), short and parallel */
.pd-feats li{padding:16px 0;border-top:1px solid var(--line);font:inherit;line-height:var(--lh-head);color:var(--ink);
  text-wrap:balance}                                              /* no character left alone on a line */
.pd-card .ws-pic .pic{aspect-ratio:4/3}
.pd-go{font-size:var(--fs-text);line-height:var(--lh-body)}
.pd-card .ws-go{margin-top:24px}

/* ---------- a product page: the head, the lines, the price, the table, then the page's own part ---------- */
.pd-page{padding-top:56px}
/* the head: the name in the display serif, the figure in the hero sans under it, the line, then the product's picture across */
.pd-h1 .pd-name,.pd-h1 .pd-fig{display:block}
.pd-fig{margin-top:8px}
.pd-page .pd-promise{margin-top:24px;max-width:720px;font-size:var(--fs-lead)}
/* Sign up free on an English membership page (2026-11-28): the header's outline pill, a size up */
.pd-cta-p{margin-top:32px}
.pd-cta{display:inline-flex;align-items:center;min-height:48px;padding:0 24px;border:1px solid var(--ink);border-radius:var(--r-pill);
  font-size:var(--fs-text);font-weight:500;line-height:var(--lh-body);color:var(--ink);text-decoration:none;
  transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out)}
.pd-cta:hover{background:var(--ink);color:var(--on-ink)}
.pd-hero{margin-top:56px;aspect-ratio:16/9}
/* the parallel sections (fix round 1, site.css .ws-row): the feature lines (and the price card) with the picture beside them, then
   the steps or the comparison's head with the picture on the other side */
.pd-main.ws-row{margin-top:96px}
.pd-page .pd-feats{margin-top:0}
.pd-page .pd-feats li{padding:20px 0}
.pd-price{margin-top:40px}
.pd-main .ws-pic .pic,.pd-vs-head .ws-pic .pic,.cf-how .ws-pic .pic{aspect-ratio:4/3}
.pd-vs-head .ws-text{grid-row:2 / span 2;align-self:center}     /* the heading at the picture's middle */
@media (max-width:900px){.pd-vs-head .ws-text{grid-row:auto}}
.pd-free{margin-top:16px;font-size:var(--fs-text);line-height:var(--lh-body);color:var(--text)}
.pd-free a{white-space:nowrap}
.pd-vs{margin-top:128px}
.pd-vs .table-wrap{margin-top:40px}
.pd-table th,.pd-table td{white-space:normal}
.pd-table thead th{vertical-align:bottom}
.pd-table tbody th{font-size:var(--fs-text);line-height:var(--lh-body);font-weight:500;color:var(--ink);vertical-align:top}
html:lang(zh) .pd-table tbody th{white-space:nowrap}             /* 卖家会费, 合成钻石: four characters and the note's number, one line */
html:lang(zh) .pd-table td{word-break:keep-all}                  /* 免费加入 holds together; lines break at the spaces */
.pd-table .pd-us{color:var(--ink);font-weight:500}
.pd-table .ic{width:20px;height:20px;vertical-align:-4px}
.pd-table .pd-yes{color:var(--ink)}
.pd-table .pd-no{color:var(--control)}
.pd-ref{margin-left:2px;font-size:var(--fs-legal);line-height:1;color:var(--muted);text-decoration:none}
.pd-src{margin-top:16px;display:grid;gap:4px;font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted);overflow-wrap:anywhere}
.pd-src-n{display:inline-block;min-width:14px;color:var(--ink)}
.pd-asof{margin-top:8px;font-size:var(--fs-small);line-height:var(--lh-body);color:var(--muted)}
.pd-roster>h2{margin-bottom:24px}
.pd-roster-p{margin:0 0 24px;max-width:720px;font-size:var(--fs-body);line-height:var(--lh-body);color:var(--text)}
.pd-roster .mb-app[data-view]{min-height:160px}           /* the list sits under the product: no 70vh hold (members.css) */
/* /certification/: the steps and Apply (a row), then the rule */
.pd-page .cf-how{margin-top:128px}
.pd-page .cf-how h2,.pd-page .cf-rule>h2{margin-bottom:32px}
.pd-page .cf-rule>p{max-width:720px;font-size:var(--fs-body);line-height:var(--lh-body)}
.pd-page .cf-rule>p+p{margin-top:12px}


@media (max-width:760px){
  .products{margin-top:80px}
  .pd-rows>li+li{margin-top:80px}
  .pd-card{padding-top:20px}
  .pd-card .pd-name{margin-bottom:24px}
  .pd-page{padding-top:32px}
  .pd-hero{margin-top:32px}
  .pd-page .pd-feats{margin-top:32px}
  .pd-page .pd-feats li{padding:14px 0}
  .pd-main.ws-row{margin-top:56px}
  .pd-price{margin-top:32px}
  .pd-vs{margin-top:80px}
  .pd-vs .table-wrap{margin-top:24px}
  .pd-table th,.pd-table td{padding-right:10px}           /* 16 px text does not shrink on a phone (theirs); the table scrolls in its wrap */
  .pd-page .cf-how{margin-top:80px}
}

/* the member system's own shell (Task 11, 2026-11-23; v2/members.py frame(), door(), add_view(); src2/js/members.js). Jack: 「会员登陆进来
   的时候可以进到一个专门属于会员的系统平台，所有的交易在会员系统里来做」, and the feel of Wealthsimple: silky, every tap answered at once.
   - No showcase header or footer. A desktop has the ink rail on the left (Home, Goods, Messages, Offers and, for a seller, My stock:
     an icon and one word each; Account at its foot above Sign out); a tablet a narrow rail (the word under the icon); a phone a bottom
     bar of the same places, with the screen's head on top and Account, the person icon, at its right (Task 20).
   - Pages change with a cross-document view transition: the rail is named, so it holds still while the work area rises into place;
     the screen's head is named too. Under prefers-reduced-motion site.css turns page transitions off, and html.no-motion stops them.
   - Every tap answers within 100 ms: :active scales what was pressed (--dur-1), members.js marks a place current on pointerdown.
   - A skeleton holds the screen until the member is known (.ms-skel, site.css .sk), so nothing jumps when it arrives.
   - The stepper of a new item (.sa-*): a five-part progress bar, one screen per step, one main button at the foot. Its photo grid,
     fields and price line are the owner's item editor's too (Task 23, goods.css .gd-edit*): a photo is dragged to its place (the tile
     follows the pointer, the place it would go is outlined), the first is the cover; one error line a screen, its height kept.
   Tokens only (type, corners and the one float shadow: site.css); motion is transform and opacity only. */

/* ---------- the frame ---------- */
.ms{flex:1 0 auto;display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh;background:var(--paper)}
.ms>main{min-width:0;overflow-x:clip}             /* a screen sliding in never widens a phone's page */
.ms-body>.ms{min-height:100vh}

/* the rail: ink, the place of this screen lit */
.ms-rail{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:4px;padding:20px 12px 16px;background:var(--ink);
  color:var(--on-ink-muted);--focus:var(--on-ink);overflow-y:auto;scrollbar-width:none}
.ms-rail::-webkit-scrollbar{display:none}
.ms-mark{display:inline-flex;align-items:center;align-self:flex-start;padding:6px 12px 28px;color:var(--on-ink);text-decoration:none;border-radius:var(--r-2)}
.ms-mark .logo{display:block;height:18px;width:auto}
.ms-mark-top{display:none}
.ms-place,.ms-out{position:relative;display:flex;align-items:center;gap:12px;min-height:44px;padding:0 14px;border:0;border-radius:var(--r-2);
  background:transparent;color:var(--on-ink-muted);font:500 16px/var(--lh-body) var(--sans);text-decoration:none;cursor:pointer;text-align:left;
  transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.ms-place:hover,.ms-out:hover{background:color-mix(in srgb,var(--on-ink) 8%,transparent);color:var(--on-ink)}
.ms-place[aria-current]{background:color-mix(in srgb,var(--on-ink) 14%,transparent);color:var(--on-ink)}
.ms-place .ic,.ms-out .ic{width:20px;height:20px}
.ms-acct{margin-top:auto}                          /* Account, then Sign out, at the rail's foot */
.ms-out{font-weight:500;font-size:14px}
.ms-acct-top{display:none}                         /* Account in the screen's head: a phone only */
.ms-word{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* a count on a place (new messages, offers waiting): paper on ink, the figure rolls in (members.js) */
.ms-badge{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:var(--r-pill);background:var(--on-ink);color:var(--ink);
  font:500 12px/22px var(--sans);text-align:center;font-variant-numeric:tabular-nums}

/* the screen's head: a back arrow on a detail screen, the one heading (or a place's views, the current one the h1), the language */
.ms .mb-app{max-width:1200px;margin:0 auto;padding:0 40px 120px}
.ms-top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:8px;min-height:80px;margin:0 -40px;padding:16px 40px 12px;
  background:var(--paper)}
.ms-h,.ms-v{font:var(--w-head) var(--fs-h2)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);white-space:nowrap}
.ms-h{color:var(--ink);min-width:0;overflow:hidden;text-overflow:ellipsis}
.ms-views{display:flex;align-items:baseline;gap:24px;min-width:0;overflow-x:auto;scrollbar-width:none}
.ms-views::-webkit-scrollbar{display:none}
/* inside the system a section's headline sits a step under the screen's (the serif still: Waiting for you, Settings, Activity) */
.ms .mb-app :is(h2:not([class]),.t-h2){font-size:28px}
.ms-v{color:var(--control);text-decoration:none;border-radius:var(--r-2);transition:color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.ms-v:hover{color:var(--ink)}
.ms-back{margin-left:-12px;flex:none}
.ms-lang{margin-left:auto;flex:none;padding:8px 4px;font-size:14px;line-height:var(--lh-body);color:var(--muted);text-decoration:none;border-radius:var(--r-1)}
.ms-lang:hover{color:var(--ink)}
html:lang(en) .ms-lang[lang|="zh"]{font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}

/* what the old page head held, closer to the head now */
.ms .mb-body,.ms .mb-state{margin-top:16px}
.ms .mb-app[data-view]{min-height:0}
.ms-skel{display:grid;gap:16px;margin-top:16px;max-width:720px}
.ms-sk{display:block;height:64px;border-radius:var(--r-2)}
.ms-sk-2{width:82%}
.ms-sk-3{width:58%}
/* a placeholder is seen only once a wait is long enough to notice (Jack 2026-11-25: 「点别的tab，这个位置会闪烁一个单独的白框」):
   it holds its room unseen until members.js marks the page slow (LATE); a tab that answers sooner never draws one */
html:not(.ms-slow) .ms :is(.ms-skel,.hm-sk-num,.hm-sk-k,.hm-sk-second,.hm-sk-card,.hm-sk-row){opacity:0}
.ms :is(.ms-skel,.hm-sk-num,.hm-sk-k,.hm-sk-second,.hm-sk-card,.hm-sk-row){transition:opacity var(--dur-2) var(--ease-out)}
.ms-wait{margin-top:12px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
/* a line members.js speaks in (an error, what an action did): small, never a hint under a heading */
.msg{margin-top:8px;font-size:14px;line-height:var(--lh-body);color:var(--muted);max-width:720px}
.msg.err{color:var(--error)}
.msg:empty{display:none}
.msg.err .link-btn{color:var(--error)}
html:lang(zh) .msg{font-size:14px;line-height:var(--lh-body)}
/* what members.js writes in place of a lede (Task 11 fix round 1): a state's one line, a result, a done line; an empty list says None */
.mb-next-t,.mb-done-t,.mb-result-t{font-size:18px;line-height:var(--lh-body);color:var(--text);max-width:720px}
.mb-none{margin-top:12px;font-size:18px;line-height:var(--lh-body);color:var(--muted)}
li.mb-none{padding:6px 0}
.mb-trial-cert{margin-top:12px}
/* the trial's one line (Jack's 11-19 words): on Account in the system, under the heading of the forms and rules outside it */
.mb-trial{margin:8px 0 0;font-size:14px;line-height:var(--lh-body);color:var(--muted);max-width:720px}
.ms .mb-trial{margin:4px 0 8px}
.ms-join{margin-top:24px;max-width:480px}
.ms-join .btn{min-width:200px}
.ms-pend{border-radius:var(--r-2);display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:16px;max-width:720px;padding:20px 24px;
  background:var(--tint);color:var(--ink)}
.ms-pend-t{flex:1 1 260px;font:500 18px/var(--lh-body) var(--sans)}
.ms-pend-acts{display:flex;gap:8px;align-items:center}
/* a screen a free sign-up cannot use yet: the lock, one word, Join */
.ms-locked{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-top:24px;max-width:480px}
.ms-locked-k{display:flex;align-items:center;gap:8px;color:var(--muted);font:500 20px/var(--lh-body) var(--sans)}

/* the door: signing in (no rail) */
.ms-door{display:block}
.ms-door-top{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1200px;margin:0 auto;padding:20px 40px}
.ms-door .ms-mark{color:var(--ink);padding:6px 0}
.ms-door .ms-mark .logo{height:22px}

/* the kinds row of /m/search/ (Goods with Stones picked): the same segmented pill as /m/goods/, made of links */
.gd-klinks .gd-k{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:0 var(--space-5);border-radius:var(--r-pill);
  font:500 16px/var(--lh-body) var(--sans);color:var(--text);text-decoration:none;white-space:nowrap}
.gd-klinks>a{transition:background-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.gd-klinks .gd-k[aria-current]{background:var(--ink);color:var(--on-ink)}
.gd-klinks .gd-k:not([aria-current]):hover{background:var(--paper);color:var(--ink)}
.gd-klinks+.mb-filters{margin-top:24px}

/* My stock: Add is the main button, Confirm all beside it; the sheet upload in its own fold, the templates first (Task 23) */
.ms .mb-touch{flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px;max-width:none}
.ms .mb-touch .btn .ic{margin:0 8px 0 -4px}
.mb-k-more{margin-top:16px}
.mb-k-more>.mb-fold-b{display:block;padding-top:8px}
.mb-tpl{display:flex;flex-wrap:wrap;gap:8px 24px;margin:8px 0 16px}
/* More is a small menu over the page (members.js popMenu()): opening it never moves the row or the card. It is fixed to the window,
   like the rail, because a table's scroll box would clip it; members.js sets left/top and puts it back on scroll. */
.mb-pop{position:relative}
.mb-pop>summary{border-radius:var(--r-pill)}
.mb-pop[open]>summary .mb-fold-k{text-decoration:underline;text-underline-offset:3px}
.mb-pop>.mb-fold-b{position:fixed;z-index:70;display:flex;flex-direction:column;align-items:stretch;gap:2px;min-width:168px;
  max-width:calc(100vw - 32px);margin:0;padding:6px;background:var(--sheet);border:1px solid var(--line);border-radius:var(--r-2);
  box-shadow:var(--shadow-float)}
.mb-pop>.mb-fold-b>.mb-hist{margin:0}
.mb-pop:not(.mb-placed)>.mb-fold-b{visibility:hidden}      /* until members.js has put it beside its button */
.mb-pop>.mb-fold-b button{display:flex;align-items:center;width:100%;min-height:40px;margin:0;padding:8px 14px;border:0;border-radius:var(--r-1);
  background:none;color:var(--ink);font:400 15px/var(--lh-body) var(--sans);text-align:left;text-decoration:none;cursor:pointer}
.mb-pop>.mb-fold-b button:hover{background:var(--tint)}
.mb-pop>.mb-fold-b button:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.mb-pop>.mb-fold-b button[disabled]{opacity:.5;cursor:default}
/* a short term of a line of facts, one box (members.js keepTerms()): whole where it fits, wrapped inside only when wider than its cell */
.nw-t{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.btn>.nw-t+.nw-t{margin-left:.28em}                    /* a button is a flex box, which drops the space between the two */
/* the sheet's file: a quiet drop area, tinted, a dashed edge; pressing it picks the file (the input is hidden and clicked by it), the
   file's name under it (Jack 2026-11-25: no big empty white box). Pasting the text waits behind its own small button. */
.mb-file-f{display:block;max-width:640px}
.mb-file-b{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:112px;margin:0;
  padding:24px 16px;border:1px dashed var(--control);border-radius:var(--r-2);background:var(--tint);color:var(--ink);
  font:500 16px/var(--lh-body) var(--sans);cursor:pointer;transition:border-color var(--dur-1) var(--ease),background var(--dur-1) var(--ease)}
.mb-file-b .ic{width:24px;height:24px}
.mb-file-b:hover,.mb-drop-on .mb-file-b{border-color:var(--ink);background:var(--paper)}
.mb-file-b:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mb-file-n{display:block;margin-top:8px;color:var(--muted);text-align:center;overflow-wrap:anywhere}
.mb-file-n:empty{display:none}
.mb-paste-p{margin:12px 0 0}
.mb-paste-p+.mb-field{margin-top:8px;max-width:640px}
@media (prefers-reduced-motion:reduce){.mb-file-b{transition:none}}
.mb-tpl-a{display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.mb-tpl-a .ic{width:18px;height:18px}
.mb-tpl-a:hover span:last-child{text-decoration:underline;text-underline-offset:3px}
/* a stock row: the item's small picture (or the empty box) beside its lines; the first line opens its editor */
.mb-item{display:flex;align-items:flex-start;gap:12px;min-width:0}
.mb-item>.mb-stone{flex:1;min-width:0}
.mb-thumb{flex:none;width:48px;height:48px}
a.mb-stone1,.mb-goods-t{text-decoration:none}
a.mb-stone1:hover,a.mb-goods-t:hover{text-decoration:underline;text-underline-offset:3px}
.mb-goods-t{display:block;color:var(--ink);font-weight:500}
.mb-goods-s{display:block;font-size:14px;line-height:var(--lh-body);color:var(--muted)}

/* the chat fills the window under the head, exactly (sim round 2 N6: 240 px of page padding under it made the page scroll by 196 px at
   1280×800, and a send or the tray moved the conversation out of view): the head (80) and its gap (16) above, 24 px below, nothing
   else, so the page itself never scrolls; only the thread list and the messages do */
.ms .ch{height:calc(100vh - 120px);height:calc(100dvh - 120px);min-height:360px;margin-top:0}
.ms>main:has(.mb-app[data-view="chat"]){padding-bottom:0}
.ms .mb-app[data-view="chat"]{padding-bottom:24px}

/* ---------- every tap answers at once ---------- */
.ms-place:active,.ms-out:active,.ms-v:active,.ms-lang:active,.mb-act:active,.gd-card:active,.gd-kinds button:active,.gd-klinks .gd-k:active,
.gd-cats button:active,.sa-kind:active,.sa-chips button:active,.sa-tile:active,.mb-todo-a:active,.mb-pick-b:active,.mb-range button:active{
  transform:scale(.97)}
.mb-act,.gd-card,.gd-kinds button,.gd-cats button,.mb-todo-a,.mb-pick-b,.mb-range button{transition-property:background-color,color,border-color,transform;
  transition-duration:var(--dur-1);transition-timing-function:var(--ease-out)}
html.no-motion .ms-place,html.no-motion .ms-out,html.no-motion .ms-v,html.no-motion .gd-klinks .gd-k{transition:none}

/* ---------- pages change in place: the rail holds, the work rises ---------- */
@keyframes ms-in{from{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:none}}
@keyframes ms-out{to{opacity:0}}
@media (prefers-reduced-motion:no-preference){
  .ms-rail{view-transition-name:ms-rail}
  .ms-top{view-transition-name:ms-top}
  /* the page change draws on paper (Jack 2026-11-26, a recording): while the old page has gone and the new one is still rising,
     what lies behind the page (claude.ai's dark frame in the preview, a browser's white canvas) never shows through */
  html:has(.ms-body)::view-transition{background:var(--paper)}
  html:has(.ms-body)::view-transition-old(root){animation:ms-out var(--dur-1) var(--ease-out) both}
  html:has(.ms-body)::view-transition-new(root){animation:ms-in var(--dur-3) var(--ease-out) both}
  ::view-transition-group(ms-rail){animation-duration:0s}
  ::view-transition-old(ms-top),::view-transition-new(ms-top){animation-duration:var(--dur-2);animation-timing-function:var(--ease-out)}
}

/* ---------- the stepper of a new item (/m/stock/add/) ---------- */
.sa{max-width:800px}
.sa-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.sa-bar.is-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.sa-bar li{display:flex;flex-direction:column;gap:8px;min-width:0;color:var(--muted);font-size:14px;line-height:var(--lh-body)}
.sa-seg{position:relative;display:block;height:4px;border-radius:var(--r-pill);background:var(--tint);overflow:hidden}
.sa-seg b{position:absolute;inset:0;border-radius:inherit;background:var(--ink);transform:scaleX(0);transform-origin:left;
  transition:transform var(--dur-3) var(--ease-out)}
.sa-bar li.is-done .sa-seg b,.sa-bar li.is-on .sa-seg b{transform:none}
.sa-bar li.is-done,.sa-bar li.is-on{color:var(--ink)}
.sa-bar li.is-on .sa-l{font-weight:500}
.sa-l{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sa-stage{margin-top:32px;min-height:340px}
.sa-step .msg{margin-top:16px}
/* kind: three big tiles, the picked one ink with its tick springing in */
.sa-kinds{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sa-kind{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;min-height:168px;padding:20px 22px;border:0;border-radius:var(--r-2);
  background:var(--tint);color:var(--ink);font:500 24px/var(--lh-head) var(--sans);text-align:left;cursor:pointer;
  transition:background-color var(--dur-2) var(--ease-out),color var(--dur-2) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.sa-kind:hover{background:color-mix(in srgb,var(--ink) 10%,var(--tint))}
.sa-kind[aria-checked="true"]{background:var(--ink);color:var(--on-ink)}
.sa-tick{width:24px;height:24px;opacity:0;transform:scale(.4);transition:opacity var(--dur-2) var(--ease-out),transform var(--dur-3) cubic-bezier(.34,1.56,.64,1)}
.sa-kind[aria-checked="true"] .sa-tick{opacity:1;transform:none}
/* until the licence answer is in the tiles wait (a tap meanwhile is kept, members.js): quieter, the shimmer of a placeholder */
.sa-kind[aria-busy="true"]{opacity:.6;cursor:progress}
/* a screen's one error line keeps its height while it is empty, so nothing moves under the finger when it comes or goes (F23) */
.sa-msg,.sa-msg:empty,.sa-msg[hidden]{display:block!important;min-height:calc(14px * var(--lh-body))}
.sa-msg[hidden]{visibility:hidden}
/* photos: square tiles, the first is the cover; the add tile last */
.sa-photos{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.sa-photos>li{position:relative;min-width:0}
.sa-tile{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1/1;padding:0;border:0;border-radius:var(--r-2);
  background:var(--tint);color:var(--ink);overflow:hidden;cursor:pointer;transition:transform var(--dur-1) var(--ease-out)}
.sa-addtile{background:transparent;box-shadow:inset 0 0 0 2px var(--line)}
.sa-addtile:hover{box-shadow:inset 0 0 0 2px var(--ink)}
.sa-addtile[aria-busy="true"]{opacity:.5;cursor:progress}
.sa-pick:focus-visible~.sa-photos .sa-addtile{outline:2px solid var(--ink);outline-offset:3px}
.sa-tile img,.sa-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;pointer-events:none}
/* a photo is dragged to its place: it follows the pointer above the others (members.js sets its transform), the place it would take is
   outlined. A tile does not select text or start the browser's own image drag; a finger holds it 0.3 s first, so a swipe still scrolls */
button.sa-tile{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.sa-tile.is-drag{z-index:3;box-shadow:var(--shadow-float);cursor:grabbing;transition:none}
.sa-tile.is-over{box-shadow:inset 0 0 0 3px var(--ink)}
button.sa-tile:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.sa-tile .ic{position:relative}
.sa-cover{position:absolute;left:8px;bottom:8px;padding:0 10px;border-radius:var(--r-pill);background:var(--paper);color:var(--ink);box-shadow:var(--shadow-float);
  font:500 12px/var(--lh-body) var(--sans)}
.sa-vid{position:absolute;left:8px;bottom:8px;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;box-shadow:var(--shadow-float);
  border-radius:var(--r-pill);background:var(--paper);color:var(--ink)}
.sa-vid .ic{width:14px;height:14px}
.sa-x{position:absolute;top:6px;right:6px;width:32px;height:32px;background:var(--paper);box-shadow:var(--shadow-float)}
.sa-x .ic{width:16px;height:16px}
.sa-clean{margin-top:20px}
/* specs: chips, a few short fields in a row, the rest under More */
.sa-form{max-width:none}
.sa-form>.mb-field,.sa-form>.sa-row,.sa-form>.mb-more-f{margin-top:24px}
.sa-form>:first-child{margin-top:0}
.sa-k{margin-bottom:8px;font-size:14px;line-height:var(--lh-body);color:var(--muted)}
.sa-chips{display:flex;flex-wrap:wrap;gap:8px}
.sa-chips button{min-height:40px;padding:0 16px;border:1px solid var(--line);border-radius:var(--r-pill);background:transparent;color:var(--text);
  font:500 16px/var(--lh-body) var(--sans);cursor:pointer;
  transition:background-color var(--dur-1) var(--ease-out),border-color var(--dur-1) var(--ease-out),color var(--dur-1) var(--ease-out),transform var(--dur-1) var(--ease-out)}
.sa-chips button:hover{border-color:var(--ink);color:var(--ink)}
.sa-chips button[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--on-ink)}
@media (pointer:coarse){.sa-chips button{min-height:44px}}
html.no-motion .sa-tile,html.no-motion .sa-tile.is-drag{transition:none}
.sa-row{display:flex;flex-wrap:wrap;gap:16px 24px}
.sa-row>.mb-field{margin-top:0}
.sa-row .mb-short{flex:0 1 200px}
/* a unit inside its field, at the end (天, days, ct: Task 23, F16) */
.sa-box{position:relative}
.sa-box>.input{padding-right:56px}
.sa-unit{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:16px;line-height:var(--lh-body);color:var(--muted);pointer-events:none}
/* a field an open offer keeps as it is: the lock beside its label says why (its aria-label) */
.sa-lock{display:inline-flex;vertical-align:-2px;margin-left:6px;color:var(--muted)}
.sa-lock .ic{width:14px;height:14px}
.sa-chips button:disabled,.sa-f .input:disabled{opacity:.55;cursor:not-allowed}
/* price: one big figure, the unit, and what it comes to */
.sa-units{margin-bottom:8px}
.sa-pricef{margin-top:16px;max-width:560px}
.sa-price{display:flex;align-items:baseline;gap:12px;border-bottom:2px solid var(--ink);padding-bottom:8px;transition:border-color var(--dur-2) var(--ease-out)}
.sa-price:focus-within{border-bottom-color:var(--gold)}
.sa-cur{font:var(--w-num) 28px/var(--lh-head) var(--sans);color:var(--ink);letter-spacing:var(--ls-sans)}
.sa-amt{flex:1;min-width:0;width:100%;padding:0;border:0;background:transparent;color:var(--ink);font:var(--w-num) 64px/var(--lh-head) var(--sans);
  font-variant-numeric:lining-nums tabular-nums;outline:none;letter-spacing:var(--ls-sans)}
.sa-amt::placeholder{color:var(--line)}
.sa-per{flex:none;font-size:18px;line-height:var(--lh-body);color:var(--muted)}
/* one line under the figure (Task 23, F25): what the order comes to, and before it a per-carat piece's price a piece */
.sa-sum{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:24px;max-width:560px;padding:14px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sa-sum-k{min-width:0;font-size:16px;line-height:var(--lh-body);color:var(--muted)}
.sa-piece{color:var(--ink);font-variant-numeric:lining-nums tabular-nums}
.sa-piece:not(:empty)::after{content:" · ";color:var(--muted)}
.sa-sum-v{flex:none;font:var(--w-num) 24px/var(--lh-head) var(--sans);color:var(--ink);font-variant-numeric:lining-nums tabular-nums;text-align:right}
/* licence: the text, once, on a sheet */
.sa-lic{border-radius:var(--r-2);max-width:720px;padding:24px 28px;background:var(--sheet);color:var(--text);font-size:16px;line-height:var(--lh-body)}
.sa-lic .sa-lic-h{font:500 20px/var(--lh-body) var(--sans);color:var(--ink);margin-bottom:8px}
.sa-lic .sa-lic-n{font-size:14px;line-height:var(--lh-body);color:var(--muted);margin-bottom:12px}
.sa-lic p+p{margin-top:12px}
.sa-agree{margin-top:20px}
/* the licence in place (the item editor's +, an upload of goods on My stock): the lock and its word, the text, Agree */
.sa-lic-box{margin-top:16px}
.sa-lic-k{margin-bottom:12px}
.sa-lic-go{margin-top:16px}
/* the foot: back, and the one main button */
.sa-foot{display:flex;align-items:center;gap:16px;margin-top:32px;padding:16px 0;border-top:1px solid var(--line);background:var(--paper);box-shadow:var(--shadow-float);
  position:sticky;bottom:0;z-index:5}
.sa-next{margin-left:auto;min-width:200px}
.sa-leave{border-radius:var(--r-2);margin-top:24px;padding:16px 20px;max-width:560px;background:var(--sheet);box-shadow:inset 0 0 0 1px var(--line)}
.sa-leave-q{font:500 18px/var(--lh-body) var(--sans);color:var(--ink)}
/* done */
.sa-done{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:32px;align-items:center}
.sa-done-pic{display:block}
.sa-done-h{font:var(--w-head) var(--fs-h2)/var(--lh-head) var(--serif);letter-spacing:var(--ls-head);color:var(--ink)}
.sa-done-t{margin-top:8px;font-size:18px;line-height:var(--lh-body);color:var(--text)}
.sa-done-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:24px}
.sa-done-acts .mb-act{text-decoration:none}

/* ---------- a tablet: the narrow rail, the word under the icon ---------- */
@media (max-width:1099px) and (min-width:761px){
  .ms{grid-template-columns:96px minmax(0,1fr)}
  .ms-rail{padding:16px 8px;gap:6px}
  .ms-rail .ms-mark{display:none}
  .ms-top .ms-mark-top{display:inline-flex;align-self:center;flex:none;padding:4px 12px 4px 0;color:var(--ink)}
  .ms-mark-top .logo{height:16px}
  .ms-place,.ms-out{flex-direction:column;justify-content:center;gap:4px;min-height:64px;padding:8px 4px;border-radius:var(--r-2);font-size:12px;
    line-height:var(--lh-body);text-align:center}
  .ms-word{max-width:100%}
  .ms-badge{position:absolute;top:6px;left:calc(50% + 6px);margin:0;min-width:18px;height:18px;padding:0 5px;font-size:12px;line-height:18px}
  .ms .mb-app{padding:0 32px 120px}
  .ms-top{margin:0 -32px;padding:16px 32px 12px}
}

/* ---------- a phone: the head on top, the five places in a bar at the bottom ---------- */
@media (max-width:760px){
  .ms{display:block}
  .ms-rail{position:fixed;top:auto;left:0;right:0;bottom:0;z-index:50;height:auto;flex-direction:row;gap:0;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));background:var(--sheet);color:var(--muted);--focus:var(--ink);
    border-top:1px solid var(--line);box-shadow:var(--shadow-float);overflow:visible}
  .ms-rail .ms-mark,.ms-rail .ms-acct,.ms-out{display:none}
  .ms-top .ms-acct-top{display:inline-flex;flex:none;margin-right:-8px}
  .ms-acct-top[aria-current]{background:var(--tint)}
  .ms-top .ms-mark-top{display:inline-flex;align-self:center;flex:none;padding:4px 10px 4px 0;color:var(--ink)}
  .ms-mark-top .logo{height:14px}
  .ms-place{flex:1 1 0;min-width:0;flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:4px 2px;border-radius:var(--r-2);
    color:var(--muted);font:500 12px/var(--lh-body) var(--sans);text-align:center}
  .ms-place[hidden]{display:none!important}
  .ms-place:hover{background:transparent;color:var(--ink)}
  .ms-place[aria-current]{background:transparent;color:var(--ink)}
  .ms-place .ic{width:22px;height:22px;box-sizing:content-box;padding:4px 16px;border-radius:var(--r-2);
    transition:background-color var(--dur-2) var(--ease-out)}
  .ms-place[aria-current] .ic{background:var(--tint)}
  .ms-word{max-width:100%}
  .ms-badge{position:absolute;top:2px;left:calc(50% + 8px);margin:0;min-width:18px;height:18px;padding:0 5px;font-size:12px;line-height:18px;
    background:var(--ink);color:var(--on-ink)}
  .ms .mb-app{padding:0 16px calc(104px + env(safe-area-inset-bottom,0px))}
  .ms-top{min-height:60px;margin:0 -16px;padding:10px 16px 8px}
  /* the screen's heading shares the phone's head with the mark, Back and Account: an item's name needs its two lines at 24px */
  .ms-h,.ms-v{font-size:24px}
  .ms .mb-app :is(h2:not([class]),.t-h2),.ms .hm-h2{font-size:22px}
  /* an item's name wraps within the screen, whole (Task 16: "18K white gol…"; Task 26, sim round 1 F25: two lines then "1.…") */
  .ms-h{white-space:normal;display:block;overflow:visible;overflow-wrap:anywhere;text-overflow:clip}
  /* an item's name has the head's second row to itself, the whole width of the screen (between the mark and Account it had 114 px) */
  .mb-app[data-view="item"] .ms-top{flex-wrap:wrap;row-gap:4px}
  .mb-app[data-view="item"] .ms-top .ms-h{order:1;flex:1 1 100%;min-width:0}
  .ms-views{gap:14px}
  /* the two-tab head (Offers · Requests, 报价 · 求购): each title whole on one line, a size smaller (sim round 2 N8: "Offer / s") */
  .ms-views .ms-h,.ms-views .ms-v{font-size:20px;white-space:nowrap;overflow-wrap:normal}
  .ms-back{margin-left:-8px}
  .ms-door-top{padding:16px}
  /* N6 on a phone: the head (62) and its gap (16) above, the bar (70) and 8 px below: the page never scrolls, the bar covers nothing */
  .ms .ch{height:calc(100dvh - 78px - 78px - env(safe-area-inset-bottom,0px));min-height:360px}
  /* an open conversation has the whole screen, as a phone's messages do: the bar steps out of the way */
  .ms-body:has(.ch[data-open]) .ms-rail{display:none}
  .ms-body:has(.ch[data-open]) .ms .mb-app{padding-bottom:16px}
  .ms-body:has(.ch[data-open]) .ch{height:calc(100dvh - 78px - 16px)}
  .ms .mb-touch{width:100%}
  .ms .mb-touch .btn{flex:1 1 auto}
  .sa-bar{gap:4px}
  .sa-bar li{font-size:12px;line-height:var(--lh-body)}
  .sa-stage{margin-top:24px;min-height:0}
  .sa-kinds{grid-template-columns:minmax(0,1fr);gap:12px}
  .sa-kind{min-height:88px;align-items:center;font-size:20px;line-height:var(--lh-body)}
  .sa-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .sa-amt{font-size:48px;line-height:var(--lh-head);letter-spacing:var(--ls-sans)}
  .sa-foot{bottom:calc(68px + env(safe-area-inset-bottom,0px));margin-left:-16px;margin-right:-16px;padding:12px 16px}
  .sa-next{flex:1 1 auto;min-width:0}
  .sa-done{grid-template-columns:minmax(0,1fr);gap:20px}
  .sa-done-pic{max-width:240px}
}

/* shots.css — the small photographs in the examples (tools/make_photos.py TILES; v2/ui.py shot()): a stone, a ring, a pair of studs, as
   backgrounds, since they decorate. They are never an item's photo: the member app uses none of them (test_v2_ph.py).
   .shot b: the watermark a picture on a page carries (src2/js/upload.js); a file a buyer saved has none. */
.shot{position:relative;display:block;overflow:hidden;background:var(--ink) center/cover no-repeat}
.shot b{position:absolute;inset:0;display:grid;place-items:center;font:500 var(--fs-text)/1 var(--sans);color:var(--on-ink);
  text-shadow:0 0 4px color-mix(in srgb,var(--ink) 70%,transparent)}
.sh-cut-round{background-image:url(/assets/ph/cut-round.ba6d3a086f.webp)}
.sh-cut-princess{background-image:url(/assets/ph/cut-princess.13a45669ce.webp)}
.sh-cut-oval{background-image:url(/assets/ph/cut-oval.d89f795876.webp)}
.sh-cut-oval-2{background-image:url(/assets/ph/cut-oval-2.13587a5632.webp)}
.sh-cut-oval-3{background-image:url(/assets/ph/cut-oval-3.1b89e332b4.webp)}
.sh-cut-oval-4{background-image:url(/assets/ph/cut-oval-4.60d9447bec.webp)}
.sh-cut-pear{background-image:url(/assets/ph/cut-pear.47c53a845c.webp)}
.sh-cut-marquise{background-image:url(/assets/ph/cut-marquise.4d54884ff9.webp)}
.sh-cut-emerald{background-image:url(/assets/ph/cut-emerald.fafb10972e.webp)}
.sh-cut-heart{background-image:url(/assets/ph/cut-heart.86661a18e5.webp)}
.sh-cut-radiant{background-image:url(/assets/ph/cut-radiant.8f4012232f.webp)}
.sh-cut-cushion{background-image:url(/assets/ph/cut-cushion.148a42ee5e.webp)}
.sh-shot-oval{background-image:url(/assets/ph/shot-oval.51702a0952.webp)}
.sh-shot-oval-2{background-image:url(/assets/ph/shot-oval-2.1ae326e06d.webp)}
.sh-shot-oval-3{background-image:url(/assets/ph/shot-oval-3.25be030aa8.webp)}
.sh-shot-ring{background-image:url(/assets/ph/shot-ring.4d2c20c331.webp)}
.sh-shot-ring-2{background-image:url(/assets/ph/shot-ring-2.364fcd7748.webp)}
.sh-shot-ring-3{background-image:url(/assets/ph/shot-ring-3.0995868e05.webp)}
.sh-shot-ring-4{background-image:url(/assets/ph/shot-ring-4.54df123729.webp)}
.sh-shot-flower{background-image:url(/assets/ph/shot-flower.d65c35a5aa.webp)}
.sh-shot-studs{background-image:url(/assets/ph/shot-studs.de53581d5c.webp)}

/* the home demos' photo slots (drop/gdcs-site/demos: data-photo says what belongs in each, data-i which tile it is). The extra class and
   attribute outrank the demos' own plain grounds, whose sheet comes later */
.how-demo .dm .dm-ph[data-photo]{background:var(--ink) center/cover no-repeat}
.how-demo .dm .dm-ph[data-photo]::after{display:none}
.how-demo .dm .dm-ph[data-photo^="oval"]{background-image:url(/assets/ph/shot-oval.51702a0952.webp)}
.how-demo .dm .dm-ph:is([data-photo*="view 2"],[data-photo*="view 5"]){background-image:url(/assets/ph/shot-oval-2.1ae326e06d.webp)}
.how-demo .dm .dm-ph:is([data-photo*="view 3"],[data-photo*="view 8"]){background-image:url(/assets/ph/shot-oval-3.25be030aa8.webp)}
.how-demo .dm .dm-ph:is([data-photo*="view 4"],[data-photo*="view 7"]){background-size:165%}
.how-demo .dm .dm-ph[data-photo="another piece"]{background-image:url(/assets/ph/shot-ring.4d2c20c331.webp)}
.how-demo .dm .dm-ph[data-photo="another piece"][data-ground="slate"]{background-image:url(/assets/ph/shot-studs.de53581d5c.webp)}
.how-demo .dmf-tile[data-i="0"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-round.ba6d3a086f.webp)}
.how-demo .dmf-tile[data-i="0"] .dmf-b[data-photo]{background-image:url(/assets/ph/shot-oval.51702a0952.webp)}
.how-demo .dmf-tile[data-i="1"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-pear.47c53a845c.webp)}
.how-demo .dmf-tile[data-i="1"] .dmf-b[data-photo]{background-image:url(/assets/ph/cut-oval-2.13587a5632.webp)}
.how-demo .dmf-tile[data-i="2"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-emerald.fafb10972e.webp)}
.how-demo .dmf-tile[data-i="2"] .dmf-b[data-photo]{background-image:url(/assets/ph/cut-oval.d89f795876.webp)}
.how-demo .dmf-tile[data-i="3"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-princess.13a45669ce.webp)}
.how-demo .dmf-tile[data-i="3"] .dmf-b[data-photo]{background-image:url(/assets/ph/cut-oval-4.60d9447bec.webp)}
.how-demo .dmf-tile[data-i="4"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-heart.86661a18e5.webp)}
.how-demo .dmf-tile[data-i="4"] .dmf-b[data-photo]{background-image:url(/assets/ph/shot-oval-2.1ae326e06d.webp)}
.how-demo .dmf-tile[data-i="5"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-cushion.148a42ee5e.webp)}
.how-demo .dmf-tile[data-i="5"] .dmf-b[data-photo]{background-image:url(/assets/ph/cut-oval-3.1b89e332b4.webp)}
.how-demo .dmf-tile[data-i="6"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-marquise.4d54884ff9.webp)}
.how-demo .dmf-tile[data-i="6"] .dmf-b[data-photo]{background-image:url(/assets/ph/shot-oval-3.25be030aa8.webp)}
.how-demo .dmf-tile[data-i="7"] .dmf-a[data-photo]{background-image:url(/assets/ph/cut-radiant.8f4012232f.webp)}
.how-demo .dmf-tile[data-i="7"] .dmf-b[data-photo]{background-image:url(/assets/ph/cut-oval-2.13587a5632.webp)}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 1"]{background-image:url(/assets/ph/shot-ring.4d2c20c331.webp)}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 2"]{background-image:url(/assets/ph/shot-ring-2.364fcd7748.webp)}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 3"]{background-image:url(/assets/ph/shot-ring-3.0995868e05.webp)}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 4"]{background-image:url(/assets/ph/shot-ring-4.54df123729.webp)}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 5"]{background-image:url(/assets/ph/shot-ring-2.364fcd7748.webp);background-size:150%}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 6"]{background-image:url(/assets/ph/shot-ring.4d2c20c331.webp);background-size:140%;background-position:50% 100%}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 7"]{background-image:url(/assets/ph/shot-ring-4.54df123729.webp);background-position:0 50%;background-size:130%}
.how-demo .dm .dm-ph[data-photo="white-label ring, view 8"]{background-image:url(/assets/ph/shot-ring-3.0995868e05.webp);background-size:130%;background-position:50% 0}
