/* ============================================================================
   studio_app.css — BAND A of the app→web transfer, 2026-09-23.

   THE TOKEN PASS. The native Flutter app (C:\Users\pc\Desktop\hta-mobile\app)
   is the source of truth for the look; this sheet publishes its design system
   as CSS custom properties and then REPOINTS every variable the studio sheets
   already consume at them, so cards, tiles, buttons, play discs, headings,
   lists, borders and beds take the app's look in one move.

   ⛔ SCOPE. Every rule is under `body.hts-studio` — the class gate.js adds only
      for /me.preview === true (caseyloop@hotmail.com). Without it this sheet
      matches nothing and every other account is byte-inert.

   ⛔ SPECIFICITY + ORDER. The heaviest selector in the layer is
      `body.hts-studio.hts-studio.hts-studio` (studio_finish.css,
      studio_understand.css). This sheet uses the same triple class and is
      LINKED LAST in app.html, so an equal-specificity declaration here wins on
      order. The `.ua` family carries `!important` at source, so the three `.ua`
      blocks below carry it too — and only those.

   ⛔ CONSTELLATION ISOLATION. `studio_cst.css` / `studio_cst.js` and
      `pages/words_constellation.js` are UNTOUCHED. The island's own colours
      (--root/--primary/--secondary and the night surface) are declared inside
      studio_cst.css and are not redefined here; only the page chrome around it
      inherits the shared tokens, which is what it already did.

   SOURCES (read, not remembered):
     lib/design/system/palette.dart     — both palettes, the surface ladder, wash()
     lib/design/system/typography.dart  — the 9 Latin + 5 Thai steps
     lib/design/system/metrics.dart     — Gap, Radii, touch floors
     lib/design/system/components.dart  — AppCard / AppPanel / AppFloat shadows
   Map + deviations: output/design/WEB_TRANSFER_2026-09-23.md
   ============================================================================ */

/* ThaiRange - the preview layer's Thai-codepoint-only mirror of its `Thai` face
   (Sarabun), the counterpart of tokens.css's HTSThaiRange: prepended
   to the Latin stacks below so a Thai character inside an Inter element uses the
   house face while the Latin around it is untouched. Only referenced from rules
   under body.hts-studio, so it is never downloaded on a customer page. */
@font-face{font-family:"ThaiRange";src:url(../../fonts/Sarabun-Regular.woff2) format("woff2"),url(../../fonts/Sarabun-Regular.ttf) format("truetype");font-weight:400;font-display:optional;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}
@font-face{font-family:"ThaiRange";src:url(../../fonts/Sarabun-Bold.woff2) format("woff2"),url(../../fonts/Sarabun-Bold.ttf) format("truetype");font-weight:700;font-display:optional;unicode-range:U+0E01-0E5B,U+200C-200D,U+25CC}

/* ---------------------------------------------------------------- LIGHT ----
   AppPalette.light, verbatim. The ladder is sunken < canvas < surface < raised
   and each consecutive pair clears 1.10 — that is the rule that makes
   "white on white" impossible, and it is why --surface is NOT #ffffff here. */
body.hts-studio.hts-studio.hts-studio{
  /* surfaces */
  --app-surface-sunken:#CAD7EB;
  --app-canvas:#DAE4F3;
  --app-surface:#ECF1FA;
  --app-surface-raised:#FFFFFF;
  --app-surface-tint:#C6DAF8;
  /* borders — `line` is a DIVIDER, `line-strong` is the affordance border:
     a border means you can touch this (palette.dart, lineStrong). */
  --app-line:#95ACCB;
  --app-line-strong:#5C78A2;
  /* ink */
  --app-ink:#0E2033;
  --app-ink-muted:#2F4252;
  --app-ink-faint:#4A5E70;
  --app-ink-disabled:#64798F;
  /* accents */
  --app-on-accent:#FFFFFF;
  --app-brand:#1B63CC;
  --app-positive:#1D7951;
  --app-negative:#B83B4F;
  --app-caution:#8A5D12;
  --app-violet:#5A4FB0;
  /* the body-text-safe twins (>=4.5 as a sentence) */
  --app-brand-ink:#1352AD;
  --app-positive-ink:#176546;
  --app-negative-ink:#9E3143;
  --app-caution-ink:#7A5210;
  --app-violet-ink:#4F47A0;
  /* per-track accents */
  --app-track-sounds:#1B63CC;
  --app-track-read:#5A4FB0;
  --app-track-fluency:#1D7951;
  --app-track-words:#A6541E;
  --app-track-practice:#B02F6B;
  /* the teaching bed and its rule */
  --app-paper:#E7D6BA;
  --app-paper-line:#A8905F;
  /* the five tones */
  --app-tone-mid:#4A5C6E;
  --app-tone-low:#1B63CC;
  --app-tone-high:#B83B4F;
  --app-tone-rising:#1D7951;
  --app-tone-falling:#8A5D12;

  /* wash(of, .14, over surface) — palette.dart's own formula, as color-mix */
  --app-wash-brand:color-mix(in srgb,var(--app-brand) 14%,var(--app-surface));
  --app-wash-positive:color-mix(in srgb,var(--app-positive) 14%,var(--app-surface));
  --app-wash-negative:color-mix(in srgb,var(--app-negative) 14%,var(--app-surface));
  --app-wash-caution:color-mix(in srgb,var(--app-caution) 14%,var(--app-surface));
  --app-wash-violet:color-mix(in srgb,var(--app-violet) 14%,var(--app-surface));
  --app-wash-fluency:color-mix(in srgb,var(--app-track-fluency) 14%,var(--app-surface));
  --app-wash-words:color-mix(in srgb,var(--app-track-words) 14%,var(--app-surface));

  /* elevation. AppCard L1: surface + 1px lineStrong + a hairline shadow in
     light only. AppFloat L2: sheets, the dock, a scrolled bar. */
  --app-shadow-card:0 3px 10px -2px rgba(14,32,51,.10);
  --app-shadow-float:0 12px 32px -12px rgba(14,32,51,.34);

  /* ---- the night surface of the word map. FIXED IN BOTH THEMES: it is the
     island's own bed, shared with the WebView. Declared for reference and used
     by --navy/--purple below; the island engine reads its own file. ---- */
  --app-night:#102E50;
  --app-night-lift:#244869;
  --app-on-night:#EFF6FF;
  --app-on-night-muted:#A9C4DD;
  --app-night-negative:#FF9AAA;

  /* ---- type (typography.dart). Inter + our bundled Sarabun
     (OFL; Leelawadee UI until 2026-09-24), which the studio layer aliases to the
     family name `Thai` (studio.css @font-face). ---- */
  --app-font-latin:"ThaiRange",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --app-font-thai:Thai,"Sarabun",sans-serif;
  /* The customer Thai tokens (tokens.css --font / --font-display / --font-thai)
     name the HTSThai / HTSThaiRange faces, which stay Leelawadee UI for the
     customer surfaces. Inside the preview layer the same tokens are re-pointed
     at the Sarabun faces, so production markup rendered in the layer (and
     premium's --pv-thai, which resolves on this same body) uses the house face.
     Same stacks, only the first family changes. */
  --font:"ThaiRange","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-display:"ThaiRange","Poppins","Inter",system-ui,sans-serif;
  --font-thai:Thai,"Sarabun","Noto Sans Thai",var(--font);
  --app-size-display:30px;   --app-lh-display:34px;
  --app-size-title-xl:24px;  --app-lh-title-xl:29px;
  --app-size-title-l:20px;   --app-lh-title-l:26px;
  --app-size-title-m:17px;   --app-lh-title-m:22px;
  --app-size-body:15px;      --app-lh-body:22px;
  --app-size-body-s:13px;    --app-lh-body-s:19px;
  --app-size-label:13px;     --app-lh-label:18px;
  --app-size-caption:12px;   --app-lh-caption:17px;
  --app-size-micro:11px;     --app-lh-micro:14px;
  --app-track-display:-.6px; --app-track-title-xl:-.4px;
  --app-track-title-l:-.2px; --app-track-micro:.8px;
  --app-size-thai-hero:56px; --app-lh-thai-hero:80px;
  --app-size-thai-xl:40px;   --app-lh-thai-xl:56px;
  --app-size-thai-l:28px;    --app-lh-thai-l:40px;
  --app-size-thai-m:22px;    --app-lh-thai-m:32px;
  --app-size-thai-s:17px;    --app-lh-thai-s:26px;
  /* The Thai face reads optically smaller than Inter at the same px, so Thai
     set INSIDE an English sentence is scaled. Thai-led text is never scaled. */
  --app-inline-thai-scale:1.15;

  /* ---- shape + rhythm (metrics.dart: Radii, Gap, touch) ---- */
  --app-r-tile:10px;
  --app-r-control:12px;
  --app-r-card:16px;
  --app-r-feature:20px;
  --app-r-sheet:24px;
  --app-r-pill:999px;
  --app-gap-xs:4px;  --app-gap-s:8px;   --app-gap-m:12px;  --app-gap-l:16px;
  --app-gap-xl:20px; --app-gap-xxl:24px;--app-gap-section:28px;
  --app-gap-group:32px; --app-gap-huge:40px; --app-gap-giant:56px;
  --app-touch:44px;
  --app-touch-large:52px;
}

/* ----------------------------------------------------------------- DARK ----
   AppPalette.darkPalette, verbatim. Our theme model is three-state, so every
   dark block is written twice: the explicit attribute, and the system
   preference guarded against an explicit `light`. */
:root[data-theme="dark"] body.hts-studio.hts-studio.hts-studio{
  --app-surface-sunken:#050E18;
  --app-canvas:#0D1C2E;
  --app-surface:#13273E;
  --app-surface-raised:#1A3148;
  --app-surface-tint:#17304F;
  --app-line:#37506C;
  --app-line-strong:#5F7CA1;
  --app-ink:#E1EEFC;
  --app-ink-muted:#A8C2DC;
  --app-ink-faint:#829BB6;
  --app-ink-disabled:#687C92;
  --app-on-accent:#06203F;
  --app-brand:#7FB4FF;
  --app-positive:#4FC894;
  --app-negative:#FF8A9C;
  --app-caution:#F0B95C;
  --app-violet:#A69AF0;
  --app-brand-ink:#9CC6FF;
  --app-positive-ink:#6FD8AB;
  --app-negative-ink:#FFA0AF;
  --app-caution-ink:#F5C976;
  --app-violet-ink:#B8AEF7;
  --app-track-sounds:#7FB4FF;
  --app-track-read:#A69AF0;
  --app-track-fluency:#4FC894;
  --app-track-words:#F0A76B;
  --app-track-practice:#F58BBB;
  /* DARK IS NAVY, 2026-09-22 — the owner killed the brown teaching bed. */
  --app-paper:#1E2E52;
  --app-paper-line:#4C6291;
  --app-tone-mid:#A7B7C8;
  --app-tone-low:#7FB4FF;
  --app-tone-high:#FF8A9C;
  --app-tone-rising:#4FC894;
  --app-tone-falling:#F0B95C;
  /* dark carries the border only; the underlay is surfaceSunken, not ink */
  --app-shadow-card:none;
  --app-shadow-float:0 12px 40px -16px rgba(5,14,24,.80);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) body.hts-studio.hts-studio.hts-studio{
    --app-surface-sunken:#050E18;
    --app-canvas:#0D1C2E;
    --app-surface:#13273E;
    --app-surface-raised:#1A3148;
    --app-surface-tint:#17304F;
    --app-line:#37506C;
    --app-line-strong:#5F7CA1;
    --app-ink:#E1EEFC;
    --app-ink-muted:#A8C2DC;
    --app-ink-faint:#829BB6;
    --app-ink-disabled:#687C92;
    --app-on-accent:#06203F;
    --app-brand:#7FB4FF;
    --app-positive:#4FC894;
    --app-negative:#FF8A9C;
    --app-caution:#F0B95C;
    --app-violet:#A69AF0;
    --app-brand-ink:#9CC6FF;
    --app-positive-ink:#6FD8AB;
    --app-negative-ink:#FFA0AF;
    --app-caution-ink:#F5C976;
    --app-violet-ink:#B8AEF7;
    --app-track-sounds:#7FB4FF;
    --app-track-read:#A69AF0;
    --app-track-fluency:#4FC894;
    --app-track-words:#F0A76B;
    --app-track-practice:#F58BBB;
    --app-paper:#1E2E52;
    --app-paper-line:#4C6291;
    --app-tone-mid:#A7B7C8;
    --app-tone-low:#7FB4FF;
    --app-tone-high:#FF8A9C;
    --app-tone-rising:#4FC894;
    --app-tone-falling:#F0B95C;
    --app-shadow-card:none;
    --app-shadow-float:0 12px 40px -16px rgba(5,14,24,.80);
  }
}

/* ============================================================================
   THE REPOINT. Every variable the studio sheets already consume now resolves
   to an app token. Both themes come free: the --app-* layer above is already
   theme-resolved, so these aliases are declared ONCE.

   The map, with the count of live uses across the studio sheets:
     --bg 37          -> canvas            --surface 124  -> surface (the card)
     --ink 88         -> ink               --muted 198    -> inkMuted
     --line 211       -> lineStrong (see the note)
     --brand 46 / --orange 95 -> brand     --brand-hover 4 -> brandInk
     --soft-orange 30 -> wash(brand)       --green 28      -> positive
     --soft-green 25  -> wash(positive)    --lilac 14      -> wash(violet)
     --warm           -> paper             --navy/--purple -> night (FIXED)
   ⛔ --line is mapped to lineStrong, not line, DELIBERATELY: of its uses,
      107 are a box EDGE (`border:` / `border-color`) and 68 are a divider
      (`border-top/bottom`, `background`). The app's own rule is that a box
      edge is lineStrong — it is the visual information that says "you can
      touch this" — and the edge is the majority and the one you see. The
      dividers land one step firmer than the app draws them; band B softens
      them per element. Recorded in WEB_TRANSFER §A.
   ============================================================================ */
body.hts-studio.hts-studio.hts-studio{
  --bg:var(--app-canvas);
  --surface:var(--app-surface);
  --ink:var(--app-ink);
  --muted:var(--app-ink-muted);
  --line:var(--app-line-strong);
  --brand:var(--app-brand);
  --brand-hover:var(--app-brand-ink);
  --orange:var(--app-brand);
  --soft-orange:var(--app-wash-brand);
  --green:var(--app-positive);
  --soft-green:var(--app-wash-positive);
  --lilac:var(--app-wash-violet);
  --warm:var(--app-paper);
  /* the map's bed is fixed in both themes in the app too — same hex */
  --navy:var(--app-night);
  --purple:var(--app-night);

  /* desktop-revision.css's three type tokens -> the app's ramp */
  --text-body:var(--app-size-body);
  --text-ui:var(--app-size-label);
  --text-caption:var(--app-size-caption);

  /* studio_finish.css's surface family (STUDIO_FINISH_R01) */
  --st-raised:var(--app-surface-raised);
  --st-well:var(--app-surface-sunken);
  --st-blue:var(--app-surface-tint);
  --st-paper:var(--app-paper);
  --st-paper-line:var(--app-paper-line);
  --st-edge:var(--app-line-strong);
  --st-gold:var(--app-caution);
  --st-shadow:var(--app-shadow-card);
  --st-lift:var(--app-shadow-card);
  --st-float:var(--app-shadow-float);
  /* the app's canvas is FLAT — no corner gradient behind the page */
  --st-wash:transparent;
}

/* The chrome is the FLOATING rung in the app (the dock is white over the
   page), not the card rung, so it is named rather than left on --surface. */
body.hts-studio.hts-studio.hts-studio :is(.topbar,.sidebar,#device-dock,#device-sheet,.ex-bar){
  background:var(--app-surface-raised);
  border-color:var(--app-line);
}

/* ---- the understand wing (studio_understand.css). Its family is declared
   with !important at source, so the repoint carries it. ---- */
body.hts-studio.hts-studio.hts-studio .ua{
  --ua-card:var(--app-surface)!important;
  --ua-card-ink:var(--app-ink)!important;
  --ua-card-muted:var(--app-ink-muted)!important;
  --ua-example-bed:var(--app-surface-sunken)!important;
  --ua-note-bed:var(--app-paper)!important;
  --ua-card-edge:var(--app-line-strong)!important;
  --ua-accent:var(--app-track-fluency)!important;
  --ua-accent-soft:var(--app-wash-fluency)!important;
  --ua-accent-ink:var(--app-positive-ink)!important;
  --ua-elevated:var(--app-surface-raised)!important;
  --ua-blue:var(--app-brand)!important;
}
/* its five tone swatches ARE the app's five tones — same meaning, same file. */
body.hts-studio.hts-studio.hts-studio .ua .ua-tones [data-tone="mid"]{--ua-accent:var(--app-tone-mid)!important;}
body.hts-studio.hts-studio.hts-studio .ua .ua-tones [data-tone="low"]{--ua-accent:var(--app-tone-low)!important;}
body.hts-studio.hts-studio.hts-studio .ua .ua-tones [data-tone="high"]{--ua-accent:var(--app-tone-high)!important;}
body.hts-studio.hts-studio.hts-studio .ua .ua-tones [data-tone="rising"]{--ua-accent:var(--app-tone-rising)!important;}
body.hts-studio.hts-studio.hts-studio .ua .ua-tones [data-tone="falling"]{--ua-accent:var(--app-tone-falling)!important;}

/* ============================================================================
   SHAPE. Paint only — radius, edge, bed, shadow. No dimension, no type size,
   no layout, no overflow, no interaction. The class list is ENUMERATED from
   the studio sheets (grep of .*-card / .*-tile / .*-panel), never guessed.
   ============================================================================ */
body.hts-studio.hts-studio.hts-studio .st-page :is(
  .game-card,.scene-card,.category-card,.stat-card,.vocab-card,.letter-card,
  .review-card,.playlist-card,.week-card,.settings-card,.pattern-card,
  .sentence-collection-card,.lg-card,.rr-card,.paircard,.offer-card
){
  border-radius:var(--app-r-card);
  border-color:var(--app-line-strong);
  background:var(--app-surface);
  box-shadow:var(--app-shadow-card);
}
/* A PANEL is the flat, sunken, borderless twin of the card: a surface you only
   read. `AppPanel` — the load-bearing rule is that a border promises a tap. */
body.hts-studio.hts-studio.hts-studio .st-page :is(.chart-panel,.settings-panel,.rb-panel){
  border-radius:var(--app-r-card);
  background:var(--app-surface-sunken);
  box-shadow:none;
}
body.hts-studio.hts-studio.hts-studio .st-page :is(.sound-tile,.filter-chip){
  border-radius:var(--app-r-tile);
  border-color:var(--app-line-strong);
}
/* Buttons and the segmented/tab controls take the CONTROL radius (12), the
   control floor (44) and the affordance border. */
body.hts-studio.hts-studio.hts-studio .st-page .btn{
  border-radius:var(--app-r-control);
  border-color:var(--app-line-strong);
  min-height:var(--app-touch);
}
body.hts-studio.hts-studio.hts-studio .st-page .btn.primary{
  background:var(--app-brand);
  border-color:var(--app-brand);
  color:var(--app-on-accent);
}
/* ⛔ A FILLED PLAY DISC. The app's AudioTransport is a filled brand disc with
   its own tint ring — which is exactly what the prototype already drew; only
   the colours move. The ring is wash(brand), the glyph is on-accent. */
body.hts-studio.hts-studio.hts-studio .st-page .play-large{
  background:var(--app-brand);
  color:var(--app-on-accent);
  box-shadow:0 0 0 9px var(--app-wash-brand);
}
/* The sheet rung: a sheet, a dialog, the phone menu. */
body.hts-studio.hts-studio.hts-studio :is(#device-sheet,.search-dialog,dialog#search-dialog){
  border-radius:var(--app-r-sheet) var(--app-r-sheet) 0 0;
  box-shadow:var(--app-shadow-float);
}

/* ============================================================================
   APP ART (assets/img/app/**). Decoration, never a tap target, never tinted.
   The two files are the SAME drawing in the two themes, so the theme picks
   one and hides the other — the web analogue of ArtTile.assetFor.
   Licence + provenance: assets/img/app/LICENCE.md
   ============================================================================ */
body.hts-studio.hts-studio.hts-studio .st-appart{
  display:block;
  pointer-events:none;
}
body.hts-studio.hts-studio.hts-studio .st-appart img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  /* never tinted: every file carries its own colours */
  filter:none;
  opacity:1;
}
body.hts-studio.hts-studio.hts-studio .st-appart .st-appart-dark{display:none;}
:root[data-theme="dark"] body.hts-studio.hts-studio.hts-studio .st-appart .st-appart-light{display:none;}
:root[data-theme="dark"] body.hts-studio.hts-studio.hts-studio .st-appart .st-appart-dark{display:block;}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) body.hts-studio.hts-studio.hts-studio .st-appart .st-appart-light{display:none;}
  :root:not([data-theme="light"]) body.hts-studio.hts-studio.hts-studio .st-appart .st-appart-dark{display:block;}
}

/* The arcade launcher tile's art sits in the slot his activityArt() filled:
   `.game-visual` is already aria-hidden, already the card's decoration band. */
body.hts-studio.hts-studio.hts-studio .st-page .game-visual .st-appart{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
body.hts-studio.hts-studio.hts-studio .st-page .game-visual .st-appart img{
  max-height:100%;
  width:auto;
  max-width:100%;
}

/* The dock's five glyphs are miniature illustrations on a 48x40 viewBox,
   rendered at 37x31 in the app. Same slot his icon occupied. */
body.hts-studio.hts-studio.hts-studio #device-dock .st-appart{
  width:37px;
  height:31px;
  flex:0 0 auto;
}

/* The Academy sheet's UNDERSTAND rows: the app's Learn track card art in the
   slot his row icon occupied. */
body.hts-studio.hts-studio.hts-studio .st-appart--row{
  width:36px;
  height:36px;
  flex:0 0 36px;
}

/* The learning-path plate. His `.playlist-art > .record` filled the plate
   edge to edge; the app's path scene does the same. */
body.hts-studio.hts-studio.hts-studio .st-page .playlist-art .st-appart--plate{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
}
body.hts-studio.hts-studio.hts-studio .st-page .playlist-art .st-appart--plate img{
  max-height:100%;
  max-width:100%;
  width:auto;
}

/* ---- Thai face sweep (2026-09-27). Every font-family stack that can carry Thai
   inside the preview layer resolves Thai glyphs to Sarabun: the
   Thai-only "ThaiRange" face (unicode-range U+0E01-0E5B) is prepended, the rest of
   each stack is kept byte-for-byte so Latin rendering is unchanged. Covers the
   generated studio.css accents and the production sheets that name a Thai face
   directly (HTSThai / HTSThaiDisplay = Leelawadee UI / Sarabun, or no Thai face at
   all). Production files stay byte-identical; customers keep Leelawadee. ---- */
body.hts-studio.hts-studio.hts-studio .st-page .serif{ font-family:"ThaiRange",Georgia,'Times New Roman',serif; }
body.hts-studio.hts-studio.hts-studio .footer>span:first-child,
body.hts-studio.hts-studio.hts-studio .st-page .category-card .category-number,
body.hts-studio.hts-studio.hts-studio .st-page .mechanics-number{ font-family:"ThaiRange",Georgia,serif; }
body.hts-studio.hts-studio.hts-studio .st-page .p-welcome h1 em{ font-family:"ThaiRange",Georgia,serif; }
body.hts-studio.hts-studio.hts-studio .ex-resume{ font-family:"ThaiRange",system-ui; }
body.hts-studio.hts-studio.hts-studio .htsv3{ font-family:"ThaiRange",'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif; }
body.hts-studio.hts-studio.hts-studio .htsv3 h1,
body.hts-studio.hts-studio.hts-studio .htsv3 .o3__big,
body.hts-studio.hts-studio.hts-studio .htsv3 .o3__l{ font-family:"ThaiRange",'Poppins','Inter',system-ui,sans-serif; }
body.hts-studio.hts-studio.hts-studio .htsv3 .o3__th{ font-family:"ThaiRange",'HTSThai','Leelawadee UI',sans-serif; }
body.hts-studio.hts-studio.hts-studio .sbd__sent,
body.hts-studio.hts-studio.hts-studio .sbd__gth,
body.hts-studio.hts-studio.hts-studio .wbd__word,
body.hts-studio.hts-studio.hts-studio .wbd__syl{ font-family:"ThaiRange","HTSThaiDisplay",var(--font-thai); }
body.hts-studio.hts-studio.hts-studio .hcon-cell .hnode__th{ font-family:"ThaiRange","HTSThai","Noto Sans Thai",sans-serif; }
body.hts-studio.hts-studio.hts-studio .m01-word__th,
body.hts-studio.hts-studio.hts-studio .m01-fb__th,
body.hts-studio.hts-studio.hts-studio .m01-bth,
body.hts-studio.hts-studio.hts-studio .m01-card__th,
body.hts-studio.hts-studio.hts-studio .m01-pattern__th,
body.hts-studio.hts-studio.hts-studio .m01-uchip__th,
body.hts-studio.hts-studio.hts-studio .pro-fam__head,
body.hts-studio.hts-studio.hts-studio .pro-frame__th,
body.hts-studio.hts-studio.hts-studio .pro-frame__tok,
body.hts-studio.hts-studio.hts-studio .pro-mx__th,
body.hts-studio.hts-studio.hts-studio .pro-year__src,
body.hts-studio.hts-studio.hts-studio .pro-year__ask,
body.hts-studio.hts-studio.hts-studio .pro-read__th,
body.hts-studio.hts-studio.hts-studio .pro-cloze__t,
body.hts-studio.hts-studio.hts-studio .pro-copt__th,
body.hts-studio.hts-studio.hts-studio .pro-slot,
body.hts-studio.hts-studio.hts-studio .pro-chip2,
body.hts-studio.hts-studio.hts-studio .pro-type__model,
body.hts-studio.hts-studio.hts-studio .pro-kb-field,
body.hts-studio.hts-studio.hts-studio .pro-kb__sg,
body.hts-studio.hts-studio.hts-studio .pro-kb__k,
body.hts-studio.hts-studio.hts-studio .pro-typo__g,
body.hts-studio.hts-studio.hts-studio .pro-ropt__th,
body.hts-studio.hts-studio.hts-studio .pro-sopt__th,
body.hts-studio.hts-studio.hts-studio .pro-sjt__dial,
body.hts-studio.hts-studio.hts-studio .pro-email__th,
body.hts-studio.hts-studio.hts-studio .pro-mx__base,
body.hts-studio.hts-studio.hts-studio .pro-topt__th,
body.hts-studio.hts-studio.hts-studio .pro-lcard,
body.hts-studio.hts-studio.hts-studio .pro-syl__part,
body.hts-studio.hts-studio.hts-studio .pro-spec__lbl,
body.hts-studio.hts-studio.hts-studio .pro-spec__val,
body.hts-studio.hts-studio.hts-studio .pro-spec__signtx,
body.hts-studio.hts-studio.hts-studio .pro-spec__rung,
body.hts-studio.hts-studio.hts-studio .pro-spec__div,
body.hts-studio.hts-studio.hts-studio .pro-msg__who,
body.hts-studio.hts-studio.hts-studio .pro-msg__tx,
body.hts-studio.hts-studio.hts-studio .pro-ropt__rung,
body.hts-studio.hts-studio.hts-studio .pro-email--diag .pro-email__x,
body.hts-studio.hts-studio.hts-studio .pro-email--diag .pro-email__t,
body.hts-studio.hts-studio.hts-studio .pro-inv__th,
body.hts-studio.hts-studio.hts-studio .pro-diag__vtok,
body.hts-studio.hts-studio.hts-studio .pro-card__pl .thai{ font-family:"ThaiRange","Leelawadee UI",Leelawadee,sans-serif; }
/* Thai weights: 400/700 only (the two static Sarabun files). studio.css (generated) sets 500 here. */
body.hts-studio.hts-studio.hts-studio #sbdHost .sbd__sent,
body.hts-studio.hts-studio.hts-studio #sbdHost .sbd__gth{ font-weight:400; }
