/* ============================================================================
   studio_app_b5.css — BAND B5 of the app→web transfer, 2026-09-23:
   THE SETUP SHEET (SetupChoice) · THE SYLLABLE DECODER.

   Markup: assets/js/studio/studio_app_b5.js. Sources, read rather than
   remembered:
     hta-mobile\app\lib\design\system\exercise_frame.dart  SetupChoice L1443
       (the three colour tuples, the one height, the two shapes, the odd last
        cell, the disabled cell kept at full size)
     hta-mobile\app\lib\design\system\components.dart      showAppSheet L4084 ·
       SheetHeader L4011 (the sheet shape and its sticky action) ·
       Segmented L2068 (the sunken track, the RAISED lit cell, the border
       painted in both states so a label cannot re-ellipsise under a finger)
     hta-mobile\app\lib\features\learning\reading.dart     ReadingSandbox L130 ·
       _SandboxWord L459 · _ChipGrid L558 · PaperBed (sounds.dart L173)
     output\design\WEB_TRANSFER_2026-09-23.md  §A tokens · §B elements · §E
     the owner's captures: setup_sheet · read_syllables, light and dark

   ⛔ SCOPE. Every rule is under `body.hts-studio` — the class gate.js adds
      only for /me.preview === true. Without it this sheet matches nothing.

   ⛔ SPECIFICITY + ORDER. The same triple class studio_app.css uses, LINKED
      AFTER studio_app_b4.css, so an equal-specificity declaration wins on
      order — and so the medium-phone adapter's own sheet rules
      (studio_exercise.css L518-547, `body.hts-studio.ex-active #qsheet …`)
      are out-specified rather than fought with !important.

   ⛔ COLOUR: `--app-*` ONLY, NEVER A NEW HEX. Where the app's palette has no
      token for a role the value is a `color-mix` of the tokens that exist,
      which is the formula `AppPalette.wash()` itself is.

   ⛔ THE BORDER LAW (§A.2). A BOX EDGE is `--app-line-strong`: a border means
      you can touch this — which is exactly why an unchosen SetupChoice cell
      wears one and a disabled cell drops to `--app-line`. The decoder's
      letter grid keeps `line`, because reading.dart draws it that way: there
      the four-up rhythm is the affordance and the cell is the smallest one
      on the screen.

   ⛔ NOTHING MOVES. Three boxes here reserve the tallest string they can
      show — the tone name, the rule line and the word slot — and the picker
      area reserves the tallest picker, because every one of them used to
      grow the panel under the finger that changed it.

   ⛔ NO ADDED ELEMENTS. A chosen cell, a lit tab and a disabled option are
      the element that was already there wearing a class: a fill, a border
      and an ink, never a check mark, never a badge, never a caption.
   ============================================================================ */

/* ========================================================================== */
/* 1. THE SETUP SHEET — the one sheet every game's gear opens                  */
/* ========================================================================== */
/* The FLOATING rung (§A.1): a sheet is the most raised thing on the screen. */
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet{
  background:var(--app-surface-raised);
  border-color:var(--app-line-strong);
  border-radius:var(--app-r-sheet) 0 0 var(--app-r-sheet);
  box-shadow:var(--app-shadow-float);
}
@media (max-width:767px){
  body.hts-studio.hts-studio.hts-studio #qsheet .qsheet{
    border-radius:var(--app-r-sheet) var(--app-r-sheet) 0 0;
  }
}
/* SheetHeader: the title row, and a close that is a full 44 icon button. */
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet__title{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-m);
  line-height:var(--app-lh-title-m);
  font-weight:600;
  letter-spacing:0;
  color:var(--app-ink);
}
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet__x{
  width:var(--app-touch);height:var(--app-touch);
  border-radius:var(--app-r-control);
  border:1px solid var(--app-line-strong);
  background:var(--app-surface);
  color:var(--app-ink-muted);
}
/* The group's own name — teaching text, and it stays. `AppType.label` at
   `inkMuted`: sentence case, not the web's 11px uppercase micro. */
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet__lbl{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-label);
  line-height:var(--app-lh-label);
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  color:var(--app-ink-muted);
  margin:var(--app-gap-l) 0 var(--app-gap-s);
}
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet__lbl:first-child{ margin-top:0; }
body.hts-studio.hts-studio.hts-studio #qsheet .qsheet__note{
  font-size:var(--app-size-caption);
  line-height:var(--app-lh-caption);
  color:var(--app-ink-muted);
}

/* ⛔ ONE HEIGHT FOR THE WHOLE GROUP. `grid-auto-rows:1fr` in an auto-height
   grid resolves every row to the tallest row's content, which is the web's
   own way of writing SetupChoice.heightFor() — the tallest label's box,
   floored at a touch target. The column count is the measurement the script
   makes; it reads the labels and the width, never the chosen value. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-choice{
  display:grid;
  grid-template-columns:repeat(var(--b5-cols,2),minmax(0,1fr));
  grid-auto-rows:1fr;
  gap:var(--app-gap-s);
  align-items:stretch;
  margin:0;
  padding:0;
  list-style:none;
}
/* An odd last cell fills its own row, so a group never ends on a hole. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-choice[data-b5-odd] > .b5-cell:last-child{
  grid-column:1 / -1;
}
/* THE CELL. The same box chosen, unchosen and disabled: only the three
   colours differ, so picking one cannot move anything. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:auto;
  min-width:0;
  min-height:var(--app-touch);
  margin:0;
  padding:8px 10px;
  text-align:center;
  font-family:var(--app-font-latin);
  font-size:var(--app-size-label);
  line-height:var(--app-lh-label);
  font-weight:600;
  color:var(--app-ink);
  background:var(--app-surface);
  border:1px solid var(--app-line-strong);
  border-radius:var(--app-r-control);
  box-shadow:none;
  transform:none;
  opacity:1;
  cursor:pointer;
  appearance:none;
  transition:background .12s ease, border-color .12s ease, color .12s ease;
}
/* `.qmode` is a three-column grid in production; inside a group its children
   are lines of one centred label. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell > *{
  grid-column:auto;
  grid-row:auto;
  position:static;
  margin:0;
  max-width:100%;
  min-width:0;
}
/* ⛔ The app's cell carries TEXT and nothing else. No text is dropped — the
   title, the sub-line, the live count and the lock all keep their line; the
   decorative disc and the chevron go, which studio_exercise.css L543 already
   does on this same surface. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__ic,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__go{ display:none; }
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__t,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell > b{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-label);
  line-height:var(--app-lh-label);
  font-weight:600;
  color:inherit;
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__s,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__n,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell .qmode__lock,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell > i{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-caption);
  line-height:var(--app-lh-caption);
  font-weight:400;
  font-style:normal;
  color:var(--app-ink-muted);
}
/* CHOSEN — a fill, a border and an ink on the cell that is already there. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-active,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-on,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell[aria-pressed="true"]{
  background:var(--app-wash-brand);
  border-color:var(--app-brand);
  color:var(--app-brand-ink);
  box-shadow:none;
  transform:none;
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-active .qmode__s,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-active .qmode__n,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-on .qmode__s,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-on .qmode__n,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-on > i{
  color:var(--app-brand-ink);
}
/* DISABLED — present, at FULL SIZE, dimmed by the tuple rather than by an
   opacity, because a control that vanishes teaches the learner nothing about
   what is there. A disabled cell cannot be touched, so it drops the
   affordance border to a divider. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-disabled,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell[disabled],
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell:disabled{
  background:var(--app-surface-sunken);
  border-color:var(--app-line);
  color:var(--app-ink-disabled);
  opacity:1;
  cursor:default;
  transform:none;
  box-shadow:none;
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-disabled .qmode__s,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-disabled .qmode__n,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell.is-disabled .qmode__lock,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell[disabled] > i,
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell:disabled > i{
  color:var(--app-ink-disabled);
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell:hover:not(.is-disabled):not([disabled]):not(:disabled){
  background:color-mix(in srgb,var(--app-brand) 6%,var(--app-surface));
  transform:none;
  box-shadow:none;
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-cell:focus-visible{
  outline:2px solid var(--app-brand);
  outline-offset:2px;
  box-shadow:none;
}
/* The measuring span: the cell's own type, one line, painted never. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-probe{
  position:absolute;
  visibility:hidden;
  white-space:nowrap;
  font-family:var(--app-font-latin);
  font-size:var(--app-size-label);
  line-height:var(--app-lh-label);
  font-weight:600;
  letter-spacing:0;
}

/* The sticky action, where showAppSheet pins it. "Done" closes the sheet —
   the same action the ✕ already has; every web setup sheet applies its picks
   the moment they are made. */
body.hts-studio.hts-studio.hts-studio #qsheet .b5-foot{
  position:sticky;
  bottom:0;
  z-index:2;
  margin-top:var(--app-gap-l);
  padding:var(--app-gap-m) 0 0;
  background:var(--app-surface-raised);
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-primary{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:var(--app-touch-large);
  padding:0 var(--app-gap-l);
  border:0;
  border-radius:var(--app-r-control);
  background:var(--app-brand);
  color:var(--app-on-accent);
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-m);
  line-height:var(--app-lh-title-m);
  font-weight:600;
  cursor:pointer;
}
body.hts-studio.hts-studio.hts-studio #qsheet .b5-primary:hover{ background:var(--app-brand-ink); }
body.hts-studio.hts-studio.hts-studio #qsheet .b5-primary:focus-visible{
  outline:2px solid var(--app-brand); outline-offset:2px;
}

/* ========================================================================== */
/* 2. THE SYLLABLE DECODER — #/read/syllables                                 */
/* ========================================================================== */
body.hts-studio.hts-studio.hts-studio .b5-dec{
  display:flex;
  flex-direction:column;
  gap:var(--app-gap-s);
}
body.hts-studio.hts-studio.hts-studio .b5-dhead h1{
  margin:0;
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-xl);
  line-height:var(--app-lh-title-xl);
  font-weight:600;
  letter-spacing:var(--app-track-title-xl);
  color:var(--app-ink);
}
/* THE PINNED INSTRUMENT. Owner, 2026-09-21: the top section stays visible
   while the learner changes consonant, vowel and mark. The app pins it over a
   scrolling picker column; the web's own idiom for that is a sticky block in
   the page scroller, on the page's own bed so nothing shows through it. */
body.hts-studio.hts-studio.hts-studio .b5-pin{
  position:sticky;
  top:0;
  z-index:3;
  padding:var(--app-gap-xs) 0 var(--app-gap-s);
  background:var(--app-canvas);
}
/* PaperBed — `paper` with a `paperLine` edge. ⛔ In dark that bed is NAVY,
   not brown (owner, 2026-09-22); the token carries it. */
body.hts-studio.hts-studio.hts-studio .b5-paper{
  display:flex;
  flex-direction:column;
  gap:var(--app-gap-xs);
  padding:var(--app-gap-m) var(--app-gap-l) var(--app-gap-s);
  background:var(--app-paper);
  border:1px solid var(--app-paper-line);
  border-radius:var(--app-r-card);
}
body.hts-studio.hts-studio.hts-studio .b5-built{
  font-family:var(--app-font-thai);
  font-size:var(--app-size-thai-xl);
  line-height:var(--app-lh-thai-xl);
  text-align:center;
  color:var(--app-ink);
}
/* SteadyText: every option laid out, one painted. Five tone names of five
   widths, so the panel is the same height whichever one is true. */
body.hts-studio.hts-studio.hts-studio .b5-steady{
  display:grid;
  margin:0;
  justify-items:center;
  align-items:start;
}
body.hts-studio.hts-studio.hts-studio .b5-steady > span{
  grid-area:1 / 1;
  visibility:hidden;
}
body.hts-studio.hts-studio.hts-studio .b5-steady > span.is-on{ visibility:visible; }
body.hts-studio.hts-studio.hts-studio .b5-tone{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-l);
  line-height:var(--app-lh-title-l);
  font-weight:600;
  letter-spacing:var(--app-track-title-l);
  color:var(--b5-tone-ink,var(--app-ink));
  text-align:center;
}
/* The word slot, reserved by a SIZER that is laid out in every state and
   painted in none: the tallest row this slot can hold — a play disc, the Thai
   face, a gloss clamped to two lines and the heart. */
body.hts-studio.hts-studio.hts-studio .b5-word{ display:grid; }
body.hts-studio.hts-studio.hts-studio .b5-word > *{
  grid-area:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:var(--app-gap-m);
  min-width:0;
}
body.hts-studio.hts-studio.hts-studio .b5-word__sizer{ visibility:hidden; }
body.hts-studio.hts-studio.hts-studio .b5-word__thai{
  font-family:var(--app-font-thai);
  font-size:var(--app-size-thai-s);
  line-height:var(--app-lh-thai-s);
  color:var(--app-ink);
}
body.hts-studio.hts-studio.hts-studio .b5-word__en{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-body-s);
  line-height:var(--app-lh-body-s);
  color:var(--app-ink-muted);
  text-align:center;
  min-width:0;
}
body.hts-studio.hts-studio.hts-studio .b5-word__none{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-caption);
  line-height:var(--app-lh-caption);
  color:var(--app-ink-muted);
  text-align:center;
}
/* AudioTransport.row on the `paper` bed — the wash is mixed over the bed it
   actually sits on, which is the app's own rule for this disc. */
body.hts-studio.hts-studio.hts-studio .b5-play{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 var(--app-touch);
  width:var(--app-touch);
  height:var(--app-touch);
  padding:0;
  border:1px solid var(--app-brand);
  border-radius:var(--app-r-pill);
  background:color-mix(in srgb,var(--app-brand) 14%,var(--app-paper));
  cursor:pointer;
}
body.hts-studio.hts-studio.hts-studio .b5-play .icon{
  width:18px;height:18px;fill:var(--app-brand);stroke:none;
}
body.hts-studio.hts-studio.hts-studio .b5-play.audio-active{ background:var(--app-brand); }
body.hts-studio.hts-studio.hts-studio .b5-play.audio-active .icon{ fill:var(--app-on-accent); }
/* SaveHeart: production's own [data-fav] button, on this bed. */
body.hts-studio.hts-studio.hts-studio .b5-word .b5-word__heart{
  flex:0 0 var(--app-touch);
  width:var(--app-touch);
  height:var(--app-touch);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:none;
  color:var(--app-ink-faint);
  font-size:20px;
  line-height:1;
  cursor:pointer;
}
body.hts-studio.hts-studio.hts-studio .b5-word .b5-word__heart.is-on{ color:var(--app-negative); }

body.hts-studio.hts-studio.hts-studio .b5-dbody{
  display:flex;
  flex-direction:column;
  gap:var(--app-gap-m);
}
/* ⛔ NOTHING MOVES: the rule line is composed from 18 × 14 × 5 = 1,260
   strings, so there is no set to lay out — two lines are RESERVED from its
   own type instead, and the box is the same at every width. */
body.hts-studio.hts-studio.hts-studio .b5-rule{
  margin:0;
  min-height:calc(var(--app-lh-caption) * 2);
  font-family:var(--app-font-latin);
  font-size:var(--app-size-caption);
  line-height:var(--app-lh-caption);
  color:var(--app-ink-muted);
  text-align:center;
}
/* The screen's one line of instruction, and it is ABOVE the controls it
   describes (Mali's ruling, 2026-09-21). */
body.hts-studio.hts-studio.hts-studio .b5-lede{
  margin:0;
  font-family:var(--app-font-latin);
  font-size:var(--app-size-body-s);
  line-height:var(--app-lh-body-s);
  color:var(--app-ink-muted);
}
/* Segmented: a sunken track, and the lit cell climbs two rungs off it to
   RAISED. ⛔ The border is painted in BOTH states — transparent when unlit —
   so switching tabs cannot take 2px off a label's width. */
body.hts-studio.hts-studio.hts-studio .b5-seg{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  padding:3px;
  background:var(--app-surface-sunken);
  border-radius:var(--app-r-tile);
}
body.hts-studio.hts-studio.hts-studio .b5-seg__c{
  min-height:var(--app-touch);
  padding:0 var(--app-gap-s);
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--app-ink-muted);
  font-family:var(--app-font-latin);
  font-size:var(--app-size-label);
  line-height:var(--app-lh-label);
  font-weight:600;
  cursor:pointer;
}
body.hts-studio.hts-studio.hts-studio .b5-seg__c[aria-selected="true"]{
  background:var(--app-surface-raised);
  border-color:var(--app-line-strong);
  color:var(--app-brand-ink);
  box-shadow:var(--app-shadow-card);
}
body.hts-studio.hts-studio.hts-studio .b5-seg__c:focus-visible{
  outline:2px solid var(--app-brand); outline-offset:2px;
}
/* ⛔ ONE RESERVED PICKER AREA. Every picker is LAID OUT and one is PAINTED,
   so the box is the real height of the biggest picker at this width — the
   web's own IndexedStack — and switching tabs cannot resize it by a pixel. */
body.hts-studio.hts-studio.hts-studio .b5-pickers{ display:grid; }
body.hts-studio.hts-studio.hts-studio .b5-pickers > *{
  grid-area:1 / 1;
  visibility:hidden;
}
body.hts-studio.hts-studio.hts-studio .b5-pickers > .is-on{ visibility:visible; }
/* _ChipGrid: four letters to a row; the chosen one fills with the brand. Its
   edge is `line` — reading.dart's own choice for this grid. */
body.hts-studio.hts-studio.hts-studio .b5-pgrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--app-gap-s);
  align-content:start;
}
body.hts-studio.hts-studio.hts-studio .b5-chip{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-height:62px;
  padding:4px;
  background:var(--app-surface);
  border:1px solid var(--app-line);
  border-radius:var(--app-r-tile);
  cursor:pointer;
  transition:background .12s ease, border-color .12s ease;
}
body.hts-studio.hts-studio.hts-studio .b5-chip.is-on{
  background:var(--app-wash-brand);
  border-color:var(--app-brand);
}
body.hts-studio.hts-studio.hts-studio .b5-chip__thai{
  font-family:var(--app-font-thai);
  font-size:var(--app-size-thai-s);
  line-height:var(--app-lh-thai-s);
  color:var(--app-ink);
}
body.hts-studio.hts-studio.hts-studio .b5-chip.is-on .b5-chip__thai{ color:var(--app-brand); }
body.hts-studio.hts-studio.hts-studio .b5-chip__r{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-caption);
  line-height:var(--app-lh-caption);
  color:var(--app-ink-muted);
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.hts-studio.hts-studio.hts-studio .b5-chip:focus-visible,
body.hts-studio.hts-studio.hts-studio .b5-mark:focus-visible{
  outline:2px solid var(--app-brand); outline-offset:2px;
}
/* The five marks keep the app's control CHIPS — a wrap, not a grid, because
   that set already carries its own empty state. */
body.hts-studio.hts-studio.hts-studio .b5-marks{
  display:flex;
  flex-wrap:wrap;
  gap:var(--app-gap-s);
  align-content:start;
}
body.hts-studio.hts-studio.hts-studio .b5-mark{
  min-height:var(--app-touch);
  padding:0 var(--app-gap-m);
  background:var(--app-surface);
  border:1px solid var(--app-line-strong);
  border-radius:var(--app-r-pill);
  color:var(--app-ink);
  font-family:var(--app-font-thai);
  font-size:var(--app-size-body);
  line-height:var(--app-lh-body);
  cursor:pointer;
  transition:background .12s ease, border-color .12s ease, color .12s ease;
}
body.hts-studio.hts-studio.hts-studio .b5-mark.is-on{
  background:var(--app-wash-brand);
  border-color:var(--app-brand);
  color:var(--app-brand-ink);
}
/* Heading.section + NavGroup / NavRow — band B4's compositions, so the two
   bands speak one language of "a row you can open". */
body.hts-studio.hts-studio.hts-studio .b5-sec{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:var(--app-gap-m);
  margin-top:var(--app-gap-s);
}
body.hts-studio.hts-studio.hts-studio .b5-sec h2{
  margin:0;
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-l);
  line-height:var(--app-lh-title-l);
  font-weight:600;
  letter-spacing:var(--app-track-title-l);
  color:var(--app-ink);
}
body.hts-studio.hts-studio.hts-studio .b5-ngroup{
  display:flex;
  flex-direction:column;
  background:var(--app-surface);
  border:1px solid var(--app-line-strong);
  border-radius:var(--app-r-card);
  overflow:hidden;
}
body.hts-studio.hts-studio.hts-studio .b5-nrow{
  display:flex;
  align-items:center;
  gap:var(--app-gap-m);
  min-height:var(--app-touch-large);
  padding:var(--app-gap-m) var(--app-gap-l);
  color:var(--app-ink);
  text-decoration:none;
}
/* The GROUP owns the dividers, and a divider is `line` — never the
   affordance border. */
body.hts-studio.hts-studio.hts-studio .b5-nrow + .b5-nrow{
  border-top:1px solid var(--app-line);
}
body.hts-studio.hts-studio.hts-studio .b5-nrow:hover{
  background:color-mix(in srgb,var(--app-brand) 6%,var(--app-surface));
}
body.hts-studio.hts-studio.hts-studio .b5-nrow__t{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
  flex:1 1 auto;
}
body.hts-studio.hts-studio.hts-studio .b5-nrow__t b{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-title-m);
  line-height:var(--app-lh-title-m);
  font-weight:600;
  color:var(--app-ink);
}
body.hts-studio.hts-studio.hts-studio .b5-nrow__t small{
  font-family:var(--app-font-latin);
  font-size:var(--app-size-body-s);
  line-height:var(--app-lh-body-s);
  color:var(--app-ink-muted);
}
body.hts-studio.hts-studio.hts-studio .b5-nrow__go{
  display:inline-flex;
  flex:0 0 auto;
  color:var(--app-ink-faint);
}
body.hts-studio.hts-studio.hts-studio .b5-nrow__go .icon{ width:18px;height:18px; }

/* Desktop: the page is wider than a 390pt column, so the letter grid takes
   the width it is given rather than stretching four cells across it. */
@media (min-width:768px){
  body.hts-studio.hts-studio.hts-studio .b5-pgrid{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  body.hts-studio.hts-studio.hts-studio .b5-paper{
    padding:var(--app-gap-l) var(--app-gap-xl) var(--app-gap-m);
  }
}
@media (min-width:1024px){
  body.hts-studio.hts-studio.hts-studio .b5-dec{ max-width:760px; }
}
