/* Front-office reference layer, v0.11.
 * Values measured from the public 2026-11-12 DOM/CSS at 1476 px and 390 px.
 * No global root/rem changes: operations, chart geometry and business forms remain isolated.
 * Intentional differences: persistent DEMO identity, honest simulation labels, 44 px touch targets.
 */
body[data-surface="client"] {
  --bg: #050608;
  --panel: #0a0d12;
  --raised: #10141b;
  --line: #202735;
  --text: #dde3e5;
  --muted: #8c96a8;
  --red: #ff1f2d;
  --ref-brand-text: #d3f7ff;
  --ref-shell: 1843.2px;
  --ref-gutter: 34.56px;
  font-family: Inter, "PingFang SC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--bg);
}
body[data-surface="client"] .content {
  max-width: var(--ref-shell);
  padding: 34.56px var(--ref-gutter) 64px;
}
body[data-surface="client"] .topbar {
  height: 104.67px;
  padding: 0 var(--ref-gutter);
  gap: 34.56px;
  background: #141414;
  border-bottom-color: rgba(255, 31, 45, .24);
}
body[data-surface="client"] .brand { font-size: 28.8px; gap: 14.4px; color: var(--ref-brand-text); }
body[data-surface="client"] .brand-mark { width: 51.84px; height: 51.84px; flex-shrink: 0; border-width: 10px; }
body[data-surface="client"] .brand-mark:before { width: 9px; height: 11px; top: -17px; left: 11px; }
body[data-surface="client"] .brand .badge { color: #ffb5bb; border-color: #75343c; }
body[data-surface="client"] .topnav { gap: 34.56px; }
body[data-surface="client"] .topnav a { font-size: 21.6px; color: var(--muted); }
body[data-surface="client"] .topnav a.active { color: var(--red); }
body[data-surface="client"] .topbar-right { gap: 17.28px; min-width: 0; }
body[data-surface="client"] .topbar-right .account-name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
body[data-surface="client"] .topbar-right :is(.reference-login-link,.reference-register-link) { display: inline-flex; align-items: center; justify-content: center; min-height: 51.84px; padding: 0 23.04px; font-size: 20.16px; line-height: 1.2; border-radius: 3px; white-space: nowrap; }
body[data-surface="client"] .reference-login-link { color: var(--muted); border: 1px solid transparent; }
body[data-surface="client"] .reference-register-link { color: #001f25; border: 1px solid var(--red); }
body[data-surface="client"] .reference-wallet-link { display: inline-grid; place-items: center; width: 51.84px; min-width: 44px; min-height: 51.84px; padding: 0; color: var(--muted); }
body[data-surface="client"] .reference-wallet-link svg { display: block; width: 26px; height: 26px; }
body[data-surface="client"] .demo-strip { max-width: var(--ref-shell); padding-inline: var(--ref-gutter); }
body[data-surface="client"] .primary { background: var(--red); border-color: var(--red); }
body[data-surface="client"] .primary:hover { background: #e51b28; }
body[data-surface="client"] .panel { border-radius: 3px; }
body[data-surface="client"] :is(a, button, input, select, textarea):focus-visible { outline: 2px solid #a7caff; outline-offset: 3px; }

/* Compute comparison: the title and statistics exist in the current original desktop route. */
body[data-surface="client"] .reference-pledge-head { padding: 0 23.04px; margin-bottom: 31.68px; }
body[data-surface="client"] .reference-pledge-head h1 { font-size: 69.12px; line-height: 1.17; font-weight: 700; }
body[data-surface="client"] .reference-pledge-head p { margin-top: 11.52px; color: var(--muted); font-size: 25.92px; line-height: 1.45; }
body[data-surface="client"] .reference-pledge-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34.56px; margin-bottom: 92.16px; }
body[data-surface="client"] .reference-pledge-stats > div { min-width: 0; min-height: 197.8px; padding: 46.08px; background: var(--panel); border: 1px solid var(--line); border-radius: 17.28px; }
body[data-surface="client"] .reference-pledge-stats :is(small,.label) { display: block; font-size: 17.28px; color: var(--muted); }
body[data-surface="client"] .reference-pledge-stats > div > span { display: block; font-size: 17.28px; color: var(--muted); }
body[data-surface="client"] .reference-pledge-stats strong small { display: inline; font-size: 17.28px; margin-left: 10px; }
body[data-surface="client"] .reference-pledge-stats :is(strong,.value) { display: inline-block; font-size: 57.6px; line-height: 1.1; margin-top: 23.04px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
body[data-surface="client"] .reference-pledge-stats > div:first-child strong { color: #ff8a94; }
body[data-surface="client"][data-page="pledge"] .tabs { gap: 46.08px; margin-bottom: 34.56px; }
body[data-surface="client"][data-page="pledge"] .tabs button { padding: 0 0 17.28px; font-size: 28.8px; }
body[data-surface="client"] :is(.product-table-head,.product) { grid-template-columns: minmax(240px,2.4fr) minmax(80px,.7fr) minmax(140px,1.2fr) minmax(130px,1.1fr) minmax(60px,.6fr) minmax(122px,1fr); gap: 28.8px; }
body[data-surface="client"] .product-table-head { padding: 0 28.8px 17.28px; margin-bottom: 23.04px; font-size: 17.28px; color: var(--muted); }
body[data-surface="client"] .product { min-height: 103.68px; padding: 22px 28.8px 14px; margin-bottom: 17.28px; border-color: var(--line); border-radius: 17.28px; background: var(--panel); row-gap: 8px; }
body[data-surface="client"] .product:hover { background: var(--raised); border-color: #374052; }
body[data-surface="client"] .product-name { gap: 14.4px; min-width: 0; }
body[data-surface="client"] .product-name strong { font-size: 21.6px; overflow-wrap: anywhere; }
body[data-surface="client"] .device { width: 53.84px; height: 53.84px; border-radius: 12.96px; }
body[data-surface="client"] .level { padding: 5.76px 11.52px; font-size: 17.28px; color: var(--red); border-color: rgba(255,31,45,.25); background: rgba(255,31,45,.1); }
body[data-surface="client"] .product-number { font-size: 20.16px; }
body[data-surface="client"] .product > button { justify-self: end; min-height: 51.84px; padding: 0 18px; background: transparent; border-color: var(--line); border-radius: 11.52px; color: var(--text); font-size: 18.72px; }
body[data-surface="client"] .product > button:hover { color: var(--red); border-color: var(--red); }
body[data-surface="client"] .product .simulated-participation { padding-top: 0; font-size: 11px; }

/* Product modal stays scrollable. The submit action is inside the body, before the timeline. */
body[data-surface="client"] .product-modal { width: 633.6px; max-width: 100%; background: var(--panel); border-color: #2a2a2a; border-radius: 20px; }
body[data-surface="client"] .product-modal .modal-header { min-height: 82px; padding: 20px; background: #141414; }
body[data-surface="client"] .product-modal .modal-header h2 { font-size: 23.04px; }
body[data-surface="client"] .product-modal .modal-content { padding: 17.28px 20.16px 23.04px; }
body[data-surface="client"] .reference-product-description { margin-bottom: 28.8px; color: var(--text); font-size: 20.16px; line-height: 1.6; overflow-wrap: anywhere; }
body[data-surface="client"] .reference-product-description h3 { font-size: inherit; line-height: inherit; margin: 23.04px 0 8.64px; }
body[data-surface="client"] .reference-product-description h3:first-child { margin-top: 0; }
body[data-surface="client"] .reference-product-description p { font-size: inherit; line-height: inherit; white-space: pre-line; margin: 0 0 11.52px; }
body[data-surface="client"] .product-modal .modal-summary { background: transparent; padding: 0; border: 0; }
body[data-surface="client"] .product-modal input { min-height: 60.48px; border-radius: 14.4px; background: #090f11; font-size: 20.16px; }
body[data-surface="client"] .product-modal .modal-content > .primary,
body[data-surface="client"] .product-modal .modal-content [type="submit"] { width: 100%; min-height: 60.48px; border-radius: 11.52px; font-size: 20.16px; margin-top: 23.04px; }
body[data-surface="client"] .product-modal .timeline { margin-top: 20.16px; margin-bottom: 28.8px; }
body[data-surface="client"] .product-modal .timeline-row { min-height: 66.24px; column-gap: 17.28px; }
body[data-surface="client"] .product-modal .timeline-row :is(span,strong) { font-size: 17.28px; }
body[data-surface="client"] .product-modal .detail-row { min-height: 50.4px; padding: 14.4px 0; font-size: 17.28px; }

/* Home: a two-column hero and single-card carousel, not a grid of seven tiles. */
body[data-surface="client"] .reference-home-top { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: 17.28px; align-items: stretch; }
body[data-surface="client"] .reference-home-hero { position: relative; overflow: hidden; min-height: 622px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 0; margin-bottom: 0; padding: 40.32px; border: 1px solid var(--line); border-radius: 17.28px; background: radial-gradient(rgba(255,31,45,.12) 1px,transparent 1px) 0 0 / 17px 17px,var(--panel); }
body[data-surface="client"] .reference-home-hero::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border: 1px solid rgba(255,31,45,.3); border-radius: 50%; top: 10%; right: 5%; transform: rotate(-25deg) scaleY(.7); pointer-events: none; }
body[data-surface="client"] .reference-home-hero > * { position: relative; z-index: 1; }
body[data-surface="client"] .reference-home-hero .reference-hero-art { position: absolute; width: 65%; right: -2%; top: 5%; color: var(--red); opacity: .7; z-index: 0; pointer-events: none; }
body[data-surface="client"] .reference-hero-art svg { width: 100%; height: auto; }
body[data-surface="client"] .reference-home-hero .eyebrow { padding: 5.76px 11.52px; border: 1px solid rgba(255,31,45,.35); border-radius: 3px; font-size: 14.4px; margin-bottom: 17px; background: rgba(255,31,45,.06); }
body[data-surface="client"] .reference-home-hero h1 { font-size: clamp(32px,3.3vw,48px); line-height: 1.18; max-width: 620px; }
body[data-surface="client"] .reference-home-hero p { margin: 17px 0; max-width: 560px; font-size: 20px; line-height: 1.6; color: var(--muted); }
body[data-surface="client"] .reference-home-hero a { font-size: 18.72px; min-height: 44px; display: inline-flex; align-items: center; }
body[data-surface="client"] .reference-home-products { min-width: 0; display: flex; flex-direction: column; }
body[data-surface="client"] .reference-home-products .portal-product-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 100%; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; min-width: 0; }
body[data-surface="client"] .reference-home-products .portal-product-card { scroll-snap-align: start; scroll-snap-stop: always; min-width: 0; min-height: 464px; padding: 28.8px; border-color: rgba(200,16,46,.45); border-radius: 17.28px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
body[data-surface="client"] .reference-card-heading { display: flex; align-items: center; gap: 14px; justify-content: space-between; min-width: 0; }
body[data-surface="client"] .reference-card-heading h3 { font-size: 25.92px; }
body[data-surface="client"] .reference-card-art { position: absolute; right: 20px; top: 16px; width: 80px; opacity: .22; pointer-events: none; }
body[data-surface="client"] .reference-card-art svg { display: block; width: 100%; height: auto; }
body[data-surface="client"] .reference-card-status { width: fit-content; display: inline-flex; gap: 8px; align-items: center; background: var(--raised); border: 1px solid var(--line); padding: 5.76px 11.52px; border-radius: 5.76px; font-size: 14.4px; }
body[data-surface="client"] .reference-home-products .portal-product-yield { margin: 36px 0 24px; }
body[data-surface="client"] .reference-home-products .portal-product-yield strong { font-size: clamp(32px,3vw,54.72px); font-variant-numeric: tabular-nums; }
body[data-surface="client"] .reference-card-footer { margin-top: auto; padding-top: 20px; }
body[data-surface="client"] .reference-card-footer button { width: 100%; min-height: 51.84px; }
body[data-surface="client"] .reference-home-products .portal-product-card > button { min-height: 51.84px; margin-top: 18px; flex-shrink: 0; }
body[data-surface="client"] .reference-carousel-controls { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; }
body[data-surface="client"] .reference-carousel-controls button { min-height: 44px; min-width: 44px; padding: 6px 12px; }
body[data-surface="client"] .reference-home-products .portal-quick { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23.04px; margin: 12px 0 0; }
body[data-surface="client"] .reference-home-products .portal-quick > * { min-height: 100.8px; background: var(--panel); border-radius: 14.4px; font-size: 23.04px; }
body[data-surface="client"] .reference-home-mid { display: grid; grid-template-columns: minmax(0,1fr); gap: 28.8px; margin: 17.28px 0 34.56px; }
body[data-surface="client"] .reference-ticker { min-height: 92.16px; border: 1px solid var(--line); border-radius: 14.4px; background: var(--panel); padding: 18px 23.04px; }
body[data-surface="client"] .reference-ticker { display: grid; grid-template-columns: minmax(150px,.85fr) repeat(3,minmax(0,1fr)); align-items: center; gap: 20px; }
body[data-surface="client"] .reference-ticker h2 { font-size: 20.16px; }
body[data-surface="client"] .reference-ticker-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 20px; border-left: 1px solid var(--line); min-width: 0; font-size: 16px; }
body[data-surface="client"] .reference-ticker-item > div { display: grid; text-align: right; min-width: 0; }
body[data-surface="client"] .reference-ticker-item strong { font-size: 17px; }
body[data-surface="client"] .reference-data-label { font-size: 10px; white-space: normal; overflow-wrap: anywhere; }
body[data-surface="client"] .reference-ticker .portal-market-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
body[data-surface="client"] .reference-ticker .portal-market-links a { padding: 8px 16px; border: 0; border-radius: 0; border-left: 1px solid var(--line); }
body[data-surface="client"] .portal-announcement { min-height: 65.28px; border-radius: 3px; padding: 17.28px 23.04px; font-size: 18.72px; }
body[data-surface="client"] .reference-home-about { padding: 37.44px 40.32px 40.32px; margin: 34.56px 0; background: var(--panel); border: 1px solid var(--line); border-radius: 3px; }
body[data-surface="client"] .reference-home-about h2 { font-size: 37.44px; margin-bottom: 17.28px; }
body[data-surface="client"] .reference-home-about p { font-size: 21.6px; line-height: 1.75; }
body[data-surface="client"] .reference-about-copy > a { width: fit-content; margin-top: 24px; }
body[data-surface="client"] .reference-about-capabilities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17.28px; margin-top: 28px; }
body[data-surface="client"] .reference-about-capabilities article { padding: 28px; border: 1px solid var(--line); background: var(--bg); }
body[data-surface="client"] .reference-about-capabilities h3 { font-size: 23.04px; }
body[data-surface="client"] .reference-about-capabilities p { margin: 10px 0 20px; font-size: 18.72px; color: var(--muted); }
body[data-surface="client"] .reference-about-capabilities a { color: var(--red); }
body[data-surface="client"] .reference-home-market { margin-top: 46px; }
body[data-surface="client"] .reference-mobile-shortcuts { display: none; }
body[data-surface="client"] .reference-home-market .table-scroll { border: 1px solid var(--line); background: var(--panel); }
body[data-surface="client"] .reference-home-market thead { background: var(--raised); }
body[data-surface="client"] .reference-market-more { display: block; text-align: center; padding: 18px; color: var(--muted); border: 1px solid var(--line); border-top: 0; }

/* Authentication retains the local account fields, with reference geometry. */
body[data-surface="client"] .reference-auth-layout { position: relative; display: grid; place-items: center; min-height: 670px; padding: 40px 0; isolation: isolate; }
body[data-surface="client"] .reference-auth-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; color: var(--red); opacity: .08; display: flex; justify-content: space-around; align-items: center; font-size: clamp(60px,10vw,150px); }
body[data-surface="client"] .reference-auth-layout .account-card { width: min(460.8px,100%); max-width: 460.8px; margin: 0; padding: 28.8px; border: 1px solid var(--line); background: var(--bg); border-radius: 3px; }
body[data-surface="client"] .reference-auth-layout h1 { font-size: 25.92px; margin-bottom: 23.04px; }
body[data-surface="client"] .reference-auth-layout input { min-height: 51.84px; font-size: 18.72px; border-radius: 11.52px; }
body[data-surface="client"] .reference-auth-tabs { display: flex; gap: 12px; margin-bottom: 23.04px; padding: 4px; border-radius: 14px; background: var(--raised); }
body[data-surface="client"] .reference-auth-tabs > * { flex: 1; text-align: center; min-height: 44px; padding: 9px 12px; border-radius: 11.52px; font-size: 18.72px; }
body[data-surface="client"] .reference-auth-tabs .active { background: rgba(255,31,45,.12); color: var(--red); }
body[data-surface="client"] .footer { display: block; padding: 0; background: var(--bg); border-color: var(--line); }
body[data-surface="client"] .reference-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 46.08px; max-width: var(--ref-shell); margin: auto; padding: 40.32px var(--ref-gutter) 34.56px; }
body[data-surface="client"] .reference-footer-top nav { display: grid; align-content: start; gap: 17.28px; font-size: 18.72px; }
body[data-surface="client"] .reference-footer-top nav :is(h3,strong) { color: var(--text); font-size: 20.16px; }
body[data-surface="client"] .reference-footer-bottom { padding: 17.28px var(--ref-gutter); border-top: 1px solid var(--line); text-align: center; font-size: 14px; }
body[data-surface="client"] .support-launcher { display: grid; place-items: center; right: 5px; top: 63%; bottom: auto; width: 50px; height: 50px; min-height: 50px; padding: 0; border-radius: 50%; background: var(--red); color: white; box-shadow: 0 6px 24px #0004; }
body[data-surface="client"] .support-launcher[hidden] { display: none; }
body[data-surface="client"] .reference-support-icon { display: block; width: 27px; height: 27px; }
body[data-surface="client"] .reference-support-unread { position: absolute; right: -1px; top: -5px; min-width: 19px; height: 19px; padding: 0 4px; border: 1px solid var(--panel); border-radius: 10px; background: var(--text); color: #141414; font-size: 10px; line-height: 17px; text-align: center; font-weight: 700; }
body[data-surface="client"] .support-launcher .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (min-width: 1200px) {
  /* The original compute panel is 504 px tall. Keep the keyboard carousel controls
     inside that panel's visual footprint instead of adding a separate 48 px row. */
  body[data-surface="client"][data-page="home"] .content { padding-top: 36.43px; }
  body[data-surface="client"] .reference-home-products .portal-product-card { min-height: 456px; border-bottom: 0; border-radius: 17.28px 17.28px 0 0; }
  body[data-surface="client"] .reference-home-products .portal-product-card > button { margin-top: 9px; }
  body[data-surface="client"] .reference-card-footer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 12px; }
  body[data-surface="client"] .reference-card-footer .detail-row { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 14.4px; padding: 12px 16px; background: var(--raised); }
  body[data-surface="client"] .reference-carousel-controls { margin-top: 0; min-height: 48px; padding: 0 12px 3px; background: var(--panel); border: 1px solid rgba(200,16,46,.45); border-top: 0; border-radius: 0 0 17.28px 17.28px; }
  body[data-surface="client"] .reference-home-products .portal-quick { margin-top: 17.28px; }
  body[data-surface="client"][data-page="quote"] .page-head h1 { font-size: 46px; }
  body[data-surface="client"][data-page="quote"] .table td { padding-block: 23px; font-size: 17px; }
  body[data-surface="client"] .drawer { position: absolute; width: min(860px,calc(100vw - 70px)); top: 104.67px; left: 34.56px; height: auto; max-height: calc(100dvh - 125px); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 24px 50px #0008; }
  body[data-surface="client"] .drawer nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 24px; }
  body[data-surface="client"] .drawer-language { max-width: 220px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  body[data-surface="client"] { --ref-gutter: 24px; }
  body[data-surface="client"] .topbar { height: 80px; gap: 18px; }
  body[data-surface="client"] .topbar-right { gap: 8px; }
  body[data-surface="client"] .reference-home-hero { min-height: 570px; padding: 28px; }
  body[data-surface="client"] .reference-home-products .portal-product-card { padding: 24px; }
  body[data-surface="client"] :is(.product-table-head,.product) { grid-template-columns: minmax(180px,2fr) .65fr 1fr 1fr 60px 100px; gap: 12px; }
  body[data-surface="client"] .product { padding-inline: 18px; }
  body[data-surface="client"] .product-name { flex-wrap: wrap; gap: 8px; }
  body[data-surface="client"] .product-name strong { font-size: 17px; }
  body[data-surface="client"] .product-number { font-size: 16px; }
  body[data-surface="client"] .product > button { font-size: 15px; padding-inline: 12px; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  body[data-surface="client"] .topbar { gap: 18px; }
  body[data-surface="client"] .topnav { gap: 20px; }
  body[data-surface="client"] .topnav a { font-size: 18px; }
  body[data-surface="client"] .topbar-right { gap: 10px; }
  body[data-surface="client"] .topbar-right :is(.reference-login-link,.reference-register-link) { padding-inline: 16px; font-size: 17px; }
  body[data-surface="client"] #header-language { display: none; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  /* All four destinations remain in the menu; don't clip long English labels. */
  body[data-surface="client"] .topnav { display: none; }
  body[data-surface="client"] .topbar > .brand,
  body[data-surface="client"] .topbar > .menu-btn { flex-shrink: 0; }
  body[data-surface="client"] .topbar-right { margin-left: auto; gap: 14px; }
  body[data-surface="client"] .topbar-right > a { min-height: 44px; display: inline-flex; align-items: center; }
  body[data-surface="client"] .topbar-right .reference-register-link { padding-inline: 16px; }
}
@media (max-width: 767px) {
  body[data-surface="client"] { --ref-gutter: 16.64px; }
  body[data-surface="client"] .content { padding: 20px var(--ref-gutter) 30px; }
  body[data-surface="client"] .topbar { height: 62px; padding: 0 14px; gap: 10px; }
  body[data-surface="client"] .brand { font-size: 22px; gap: 8px; }
  body[data-surface="client"] .brand-mark { width: 30px; height: 30px; border-width: 7px; }
  body[data-surface="client"] .brand-mark:before { width: 6px; height: 8px; top: -12px; left: 5px; }
  body[data-surface="client"] .topbar-right { gap: 6px; }
  body[data-surface="client"] .topbar-right :is(.reference-login-link,.reference-register-link) { min-height: 44px; padding: 0 10px; font-size: 13px; }
  body[data-surface="client"] .reference-wallet-link { width: 44px; min-height: 44px; }
  body[data-surface="client"] .topbar-right :is(.reference-wallet-link,.reference-register-link) { display: none; }
  body[data-surface="client"] .topnav { display: none; }
  body[data-surface="client"] .demo-strip { padding: 10px var(--ref-gutter) 0; }
  body[data-surface="client"] .reference-pledge-head { padding: 0; margin-bottom: 18px; }
  body[data-surface="client"] .reference-pledge-head h1 { font-size: 24px; }
  body[data-surface="client"] .reference-pledge-head p { font-size: 13px; margin-top: 6px; }
  body[data-surface="client"] .reference-pledge-stats { gap: 8.32px; margin-bottom: 14.56px; }
  body[data-surface="client"] .reference-pledge-stats > div { min-height: 66.45px; padding: 10.4px 12.48px; border-radius: 3px; }
  body[data-surface="client"] .reference-pledge-stats :is(small,.label) { font-size: 12.48px; }
  body[data-surface="client"] .reference-pledge-stats > div > span { font-size: 12.48px; }
  body[data-surface="client"] .reference-pledge-stats strong small { font-size: 11px; margin-left: 3px; }
  body[data-surface="client"] .reference-pledge-stats :is(strong,.value) { font-size: 17.68px; margin-top: 4.16px; }
  body[data-surface="client"][data-page="pledge"] .tabs { gap: 20.8px; margin-bottom: 12.48px; }
  body[data-surface="client"][data-page="pledge"] .tabs button { font-size: 13.52px; padding: 8px 0; min-height: 44px; }
  body[data-surface="client"] .product { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 12.48px 14.56px; margin-bottom: 8.32px; border-radius: 3px; }
  body[data-surface="client"] .product-name { grid-column: 1/-1; gap: 8px; flex-wrap: wrap; }
  body[data-surface="client"] .product-name strong { font-size: 16px; }
  body[data-surface="client"] .product-name .device { width: 32px; height: 32px; border-radius: 8px; }
  body[data-surface="client"] .product-name .device svg { width: 25px; height: 25px; }
  body[data-surface="client"] .product .level { font-size: 12px; padding: 3px 6px; }
  body[data-surface="client"] .product-number { font-size: 15px; }
  body[data-surface="client"] .product > button { min-height: 44px; grid-column: 1/-1; justify-self: stretch; font-size: 14px; }
  body[data-surface="client"] .product .simulated-participation { font-size: 11px; }
  body[data-surface="client"] .product-modal { width: 100%; border-radius: 14px; }
  body[data-surface="client"] .product-modal .modal-header { min-height: 66px; padding: 14px 16px; }
  body[data-surface="client"] .product-modal .modal-header h2 { font-size: 20px; }
  body[data-surface="client"] .product-modal .modal-content { padding: 18px 16px; }
  body[data-surface="client"] .reference-product-description { font-size: 15px; line-height: 1.65; margin-bottom: 22px; }
  body[data-surface="client"] .product-modal .timeline-row { min-height: 64px; column-gap: 9px; }
  body[data-surface="client"] .product-modal .timeline-row :is(span,strong),
  body[data-surface="client"] .product-modal .detail-row { font-size: 13px; }
  body[data-surface="client"] .reference-home-top { grid-template-columns: minmax(0,1fr); gap: 18px; }
  body[data-surface="client"] .reference-home-hero { min-height: 300px; padding: 24px; border-radius: 12px; }
  body[data-surface="client"] .reference-home-hero h1 { font-size: 30px; }
  body[data-surface="client"] .reference-home-hero p { font-size: 14px; }
  body[data-surface="client"] .reference-home-products .portal-product-card { min-height: 304px; padding: 20.8px 16.64px 16.64px; border-radius: 12.48px; }
  body[data-surface="client"] .reference-card-heading { gap: 8px; align-items: flex-start; }
  body[data-surface="client"] .reference-card-heading > div:not(.reference-card-art) { min-width: 0; }
  body[data-surface="client"] .reference-card-heading h3 { margin: 0; font-size: 17.68px; line-height: 1.3; }
  body[data-surface="client"] .reference-card-heading p { margin-top: 5px; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
  body[data-surface="client"] .reference-card-heading > .badge { flex-shrink: 0; }
  /* The mobile reference has no independent running-status row. Simulation remains
     explicit in the heading, return label, site identity and product details. */
  body[data-surface="client"] .reference-home-products .reference-card-status { display: none; }
  body[data-surface="client"] .reference-home-products .portal-product-yield { margin: 12px 0 8px; gap: 4px; }
  body[data-surface="client"] .reference-home-products .portal-product-yield small { font-size: 12px; line-height: 1.4; }
  body[data-surface="client"] .reference-home-products .portal-product-yield strong { font-size: 26px; line-height: 1.25; overflow-wrap: anywhere; }
  body[data-surface="client"] .reference-card-footer { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 8px; }
  body[data-surface="client"] .reference-card-footer .detail-row { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 8px 0; border: 0; font-size: 12px; line-height: 1.4; }
  body[data-surface="client"] .reference-card-footer .detail-row strong { font-size: 15px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
  body[data-surface="client"] .reference-home-products .portal-product-card > button { min-height: 44px; margin-top: 12px; padding-block: 8px; font-size: 14px; }
  body[data-surface="client"] .reference-home-products .portal-quick { gap: 12px; }
  body[data-surface="client"] .reference-home-products .portal-quick > * { min-height: 64px; font-size: 16px; }
  /* The mobile original uses a different order from the desktop split hero.
     Keep the same live announcement node and event bindings; only reorder layout. */
  body[data-surface="client"][data-page="home"] #content { display: flex; flex-direction: column; padding-top: 19px; }
  body[data-surface="client"][data-page="home"] :is(.reference-home-top,.reference-home-products,.reference-home-mid) { display: contents; }
  body[data-surface="client"][data-page="home"] .reference-home-hero { order: 1; min-height: 297.44px; margin-inline: calc(-1 * var(--ref-gutter)); padding: 24px var(--ref-gutter); border-radius: 0; border-inline: 0; }
  body[data-surface="client"][data-page="home"] .portal-announcement { order: 2; min-height: 42.6px; margin-inline: calc(-1 * var(--ref-gutter)); padding: 8px var(--ref-gutter); border-radius: 0; border-inline: 0; }
  body[data-surface="client"][data-page="home"] #home-products { order: 3; margin-top: 17.6px; }
  body[data-surface="client"][data-page="home"] .reference-carousel-controls { order: 4; }
  body[data-surface="client"][data-page="home"] .portal-quick { order: 5; margin-bottom: 18px; }
  body[data-surface="client"][data-page="home"] .portal-quick > * { min-height: 60.32px; }
  body[data-surface="client"][data-page="home"] .reference-ticker { order: 6; }
  body[data-surface="client"][data-page="home"] .reference-home-market { order: 8; }
  body[data-surface="client"][data-page="home"] .portal-demo-note { order: 9; }
  body[data-surface="client"][data-page="home"] .reference-home-about { display: none; }
  body[data-surface="client"] .reference-home-mid { gap: 16px; margin-block: 20px; }
  body[data-surface="client"] .reference-ticker { padding: 12px; grid-template-columns: minmax(0,1fr); gap: 0; }
  body[data-surface="client"] .reference-ticker h2 { font-size: 17px; padding: 4px 0 10px; }
  body[data-surface="client"] .reference-ticker-item { border-left: 0; border-top: 1px solid var(--line); padding: 12px 0; }
  body[data-surface="client"] .reference-ticker .portal-market-links { grid-template-columns: minmax(0,1fr); gap: 0; }
  body[data-surface="client"] .reference-ticker .portal-market-links a { border-left: 0; border-bottom: 1px solid var(--line); padding: 12px 4px; }
  body[data-surface="client"] .reference-ticker .portal-market-links a:last-child { border-bottom: 0; }
  body[data-surface="client"][data-page="home"] .reference-ticker { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 12px 0; gap: 0; }
  body[data-surface="client"][data-page="home"] .reference-ticker h2 { display: none; }
  body[data-surface="client"][data-page="home"] .reference-ticker-item { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 0 8px; border-top: 0; border-left: 1px solid var(--line); text-align: center; font-size: 13px; }
  body[data-surface="client"][data-page="home"] .reference-ticker-item:first-of-type { border-left: 0; }
  body[data-surface="client"][data-page="home"] .reference-ticker-item strong { font-size: 12px; overflow-wrap: anywhere; }
  body[data-surface="client"][data-page="home"] .reference-ticker-item > div { text-align: center; gap: 3px; }
  body[data-surface="client"][data-page="home"] .reference-ticker-item .num { overflow-wrap: anywhere; }
  body[data-surface="client"][data-page="home"] .reference-mobile-shortcuts { order: 7; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; margin-top: 20px; }
  body[data-surface="client"][data-page="home"] .reference-mobile-shortcuts a { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 64px; min-width: 0; padding: 4px 0; font-size: 12px; line-height: 1.35; text-align: center; overflow-wrap: anywhere; }
  body[data-surface="client"][data-page="home"] .reference-mobile-shortcuts a > span:first-child { display: grid; place-items: center; width: 32px; min-height: 32px; font-size: 24px; line-height: 1; color: var(--red); }
  body[data-surface="client"] .portal-announcement { font-size: 13px; padding: 12px; gap: 8px; }
  body[data-surface="client"] .reference-home-about { padding: 24px 20px; margin-block: 20px; }
  body[data-surface="client"] .reference-home-about h2 { font-size: 24px; }
  body[data-surface="client"] .reference-home-about p { font-size: 14px; }
  body[data-surface="client"] .reference-about-capabilities { grid-template-columns: minmax(0,1fr); }
  body[data-surface="client"] .reference-about-capabilities article { padding: 18px; }
  body[data-surface="client"] .reference-about-capabilities h3 { font-size: 18px; }
  body[data-surface="client"] .reference-home-market { margin-top: 24px; }
  body[data-surface="client"] .reference-auth-layout { min-height: 0; padding: 12px 0 30px; }
  body[data-surface="client"] .reference-auth-layout .account-card { padding: 24px 18px; }
  body[data-surface="client"] .reference-auth-tabs > * { font-size: 15px; padding-inline: 8px; }
  body[data-surface="client"] .reference-footer-top { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding: 28px var(--ref-gutter); }
  body[data-surface="client"] .reference-footer-top > :first-child { grid-column: 1/-1; }
  body[data-surface="client"] .reference-footer-top nav { font-size: 14px; gap: 12px; }
  body[data-surface="client"] .reference-footer-top nav :is(h3,strong) { font-size: 16px; }
  body[data-surface="client"] .reference-footer-bottom { font-size: 12px; }
  body[data-surface="client"] .support-launcher { top: auto; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); }
  body[data-surface="client"]:has(input:focus,textarea:focus,select:focus) .support-launcher { display: none; }
}
@media (max-width: 359px) {
  body[data-surface="client"] { --ref-gutter: 12px; }
  body[data-surface="client"] .brand { gap: 6px; font-size: 20px; }
  body[data-surface="client"] .brand .badge { display: inline-flex !important; font-size: 9px; padding-inline: 4px; }
  body[data-surface="client"] .reference-home-hero { padding: 20px; }
  body[data-surface="client"] .reference-home-hero h1 { font-size: 26px; }
  body[data-surface="client"] .product-modal .timeline-row { grid-template-columns: 16px minmax(0,1fr); }
  body[data-surface="client"] .product-modal .timeline-row strong { grid-column: 2; }
}
