/* fit-l.css: final build, area landscape, short screens, foldables, keyboard (builder L). Loaded after fit.css (concept A).
   Landscape phones   = (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px)
                        (568: the narrowest landscape phone; a portrait phone with the keyboard up can be wider than it is
                        tall too, so it never gets these layouts).
   Very short          = (pointer: coarse) and (max-height: 320px): a landscape phone with the browser bars showing.
   Keyboard up         = (max-height: 260px) (Chrome / Android shrink the page: interactive-widget=resizes-content) or
                        html.kb (iOS, from next.js fitKeyboard).
   No fades, no transitions are added here. */

/* ---------- 0. the compact scale (owner, decision 8): landscape phones and Duo-size windows get 80 %, tablets and fold
   inner screens keep 100 % -- also while their keyboard is up (Chrome then shrinks the page to a landscape strip under
   500 px, which fit.css's landscape-phone query would zoom). The device's own screen tells them apart: a phone's short
   side is at most 500 px (iOS reports the portrait width as device-width, Android the current one). */
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 561px) and (min-device-width: 501px) and (min-device-height: 501px) {
  html { zoom: 1; }
  :root { --pz: 1; }
}

/* ---------- 1. landscape phones, home: the title and the box on the left, the takes on the right ----------
   The box sits at the top of its column and stays there (sticky) while the takes scroll beside it; the title keeps one
   look before and after the first take, so nothing on the left ever moves when a take arrives. */
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px) {
  html:not([data-fold]) #v-synth > .stage.g-home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: clamp(24px, 4.5vw, 56px); row-gap: 0; align-items: start; align-content: start; justify-items: stretch; max-width: 1180px; width: 100%; margin: 0 auto;
    padding-top: 16px; padding-bottom: 24px; }
  html:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox) > .g-hero { display: flex; grid-column: 1; grid-row: 1; order: 0; margin: 0 0 14px; padding: 0 4px; gap: 4px;
    align-items: flex-start; text-align: left; }
  html:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox) > .g-hero .title { font-size: 30px; line-height: 1.12; max-width: none; white-space: nowrap; }
  html:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox) > .g-hero .g-sub { display: block; font-size: 16px; text-align: left; }
  html:not([data-fold]) #v-synth > .stage.g-home > .g-composer { grid-column: 1; grid-row: 2 / -1; align-self: start; justify-self: stretch; min-width: 0; order: 0; margin: 0;
    position: sticky; top: 12px; bottom: auto; box-shadow: 0 1px 2px rgba(20, 20, 23, .05), 0 10px 28px -8px rgba(20, 20, 23, .14), 0 -12px 0 0 var(--paper); }
  :root[data-scheme="dark"]:not([data-fold]) #v-synth > .stage.g-home > .g-composer {
    box-shadow: 0 0 0 1px #2a2a30, 0 -12px 0 0 var(--paper); }
  html:not([data-fold]) #v-synth > .stage.g-home > #sayStatus { grid-column: 1; grid-row: 2 / -1; align-self: start; justify-self: start; order: 0;
    position: sticky; top: calc(12px + var(--cmph, 170px) + 10px); bottom: auto; margin: calc(var(--cmph, 170px) + 10px) 0 0; }
  html:not([data-fold]) #v-synth > .stage.g-home > #homeTakesBox { grid-column: 2; grid-row: 1 / -1; order: 0; min-width: 0; }
  html:not([data-fold]) #v-synth > .stage.g-home > :not(.g-hero):not(#homeTakesBox):not(.g-composer):not(#sayStatus) { grid-column: 2; }
  html:not([data-fold]) #v-synth > .stage.g-home .g-takes-head { padding-top: 6px; }
  /* before the first take: the takes column is already there, a quiet outline beside the box where the takes will land */
  html:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox[hidden])::after { content: "Takes"; grid-column: 2; grid-row: 2; align-self: start;
    height: var(--cmph, 170px); box-sizing: border-box; display: grid; place-items: center; border: 1.5px dashed var(--g-line); border-radius: 22px;
    font: 600 12px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--g-text3); }
  /* the box: a few lines of text; voice | Studio | ...... | Speak (labelled). The language is detected, as on portrait
     phones (owner: #sayLang stays hidden on phones), the count shows in the Studio */
  html body[data-view="synth"] .g-composer textarea#say { height: 5.4em; padding: 14px 16px 4px; }
  html:not([data-fold]) .g-composer :is(.g-count, .g-lang) { display: none; }
  html:not([data-fold]) .g-composer .g-chip.who { max-width: 40%; }
  html .g-composer .g-cbar .g-speak#sayGo { width: auto; padding: 0 22px 0 18px; font-size: 17px; gap: 8px; }
  html .g-composer .g-cbar .g-speak#sayGo svg { margin: 0; }
}

@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px) and (max-width: 739px) {
  html:not([data-fold]) #v-synth > .stage.g-home { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  html:not([data-fold]) #v-synth > .stage.g-home .g-meta { display: none; }  /* (a narrow takes column: the words get the room) */
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px) and (max-width: 639px) {
  html .g-composer .g-cbar .g-speak#sayGo { width: 56px; padding: 0; justify-content: center; font-size: 0; gap: 0; }  /* (round, as on portrait phones) */
  html .g-composer .g-cbar .g-speak#sayGo svg { margin: 0 0 0 2px; }
}

/* ---------- 2. landscape phones, Studio: the composer stays at the top of its column (sticky) while the takes scroll
   under it; the Delivery | Sound column beside it stays too, so Speak and every setting are on screen at once ---------- */
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px) {
  html:not([data-fold]) .studio.m-speak:not([data-mode="vtv"]) .g-studio.panel.composer { position: sticky; top: 12px; z-index: 4;
    box-shadow: 0 0 0 12px var(--paper); }  /* (the paper ring: takes scrolling under it don't show at its edges) */
  html:not([data-fold]) .studio.m-speak:not([data-mode="vtv"]) > .work > #takes { margin-top: 10px; }
  .g-studio { --edh: 96px; }
  /* the settings column may stay put to the very end of the page: the footer sits under the composer column only */
  html:not([data-fold]) .studio.m-speak:not([data-mode="vtv"]) > #sidePanel { margin-bottom: -100vh; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > #siteFoot { padding-right: calc(var(--sidew, 336px) + 24px + var(--gutter)); }
  /* (Voice to voice has no settings column: its cards use the whole width) */
  html:not([data-fold]) .wrap.studio.m-speak[data-mode="vtv"] { grid-template-columns: minmax(0, 1fr); }
  /* (a take scrolled into view lands under the composer, not behind it) */
  html:not([data-fold]):has(body[data-view="voices"] .studio.m-speak:not([data-mode="vtv"])) { scroll-padding-top: 280px; }
}
/* 568-759 px: the phone card (fit.css section 4: modes + language / text / voice + Speak) beside a narrower column */
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (min-width: 568px) and (max-width: 759px) {
  :root { --sidew: 280px; }
  html:not([data-fold]) .wrap.studio.m-speak { grid-template-columns: minmax(0, 1fr) var(--sidew); column-gap: 16px; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > #siteFoot { padding-right: calc(var(--sidew) + 16px + var(--gutter)); }
}
@media (pointer: coarse) and (max-height: 500px) and (orientation: landscape) and (max-width: 619px) {  /* (568: the language gives way, "Language: d...") */
  :root { --sidew: 260px; }
  /* (merge: the 2-column card is gone here: fit-s.css puts the language on the voice row and "Studio ‹ Simple" in row 1) */
  html:not([data-fold]) .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #lang { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
}

/* ---------- 3. very short screens (a landscape phone with the browser bars showing) and the keyboard ---------- */
@media (pointer: coarse) and (max-height: 320px) {
  .g-studio { --edh: 84px; }
}
/* the keyboard is up: Chrome / Android shrink the page (max-height 260 px), iOS keeps it and next.js sets html.kb. No
   header, footer or title then, the text box is two lines and the Write / Stress / Timing row waits (nobody switches
   modes while typing), so the text and Speak fit above the keyboard on every landscape phone (568 x 150 included) */
@media (max-height: 260px) {
  body:is([data-view="synth"], [data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"]))) > :is(.g-bar, #siteFoot) { display: none; }
  html:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox) > .g-hero { display: none; }
  html body[data-view="synth"] .g-composer textarea#say { height: 3.1em; padding-top: 10px; }
  #v-synth > .stage.g-home { padding-top: 8px; }
  .wrap.studio.m-speak { padding-top: 8px; }
  .studio.m-speak:not([data-mode="vtv"]) .g-studio > .g-stop { display: none; }
  .g-studio { --edh: 72px; }
}
@media (max-height: 260px) and (max-width: 759px) {  /* (the phone card: the language shared the modes' row; back after typing) */
  .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #lang { display: none; }
}
@media (orientation: landscape) {
  html.kb body:is([data-view="synth"], [data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"]))) > .g-bar { display: none; }
  html.kb:not([data-fold]) #v-synth > .stage.g-home:has(> #homeTakesBox) > .g-hero { display: none; }
  html.kb .studio.m-speak:not([data-mode="vtv"]) .g-studio > .g-stop { display: none; }
  html.kb .g-studio { --edh: 72px; }
}
@media (orientation: landscape) and (max-width: 759px) { html.kb .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #lang { display: none; } }

/* ---------- 4. short computer windows (900 px+ wide, 501-700 px tall): the Studio composer stays under the header too,
   with a shorter text box, so Speak and the settings column are both on screen while you read older takes ---------- */
@media (min-width: 900px) and (min-height: 501px) and (max-height: 700px) {
  .studio.m-speak:not([data-mode="vtv"]) .g-studio.panel.composer { position: sticky; top: var(--stick); z-index: 4;
    box-shadow: 0 0 0 16px var(--paper); }
  :root[data-scheme="dark"] .studio.m-speak:not([data-mode="vtv"]) .g-studio.panel.composer { box-shadow: 0 0 0 16px var(--paper); }
  .g-studio { --edh: 120px; }
  .studio.m-speak .work .g-studio :is(textarea#text, .emphview.tall) { flex: none; min-height: var(--edh); }  /* (app.css: 170 px from 680 px wide) */
  .studio.m-speak:not([data-mode="vtv"]) > #sidePanel { margin-bottom: -100vh; }
  body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > #siteFoot { padding-right: calc(336px + 24px + max(0px, (100vw - 1180px) / 2)); }
  html:has(body[data-view="voices"] .studio.m-speak:not([data-mode="vtv"])) { scroll-padding-top: calc(var(--stick) + 280px); }
}
/* (merge) ... and that narrower footer gets fit-u.css's phone footer: the line first, then balanced rows of whole links (in
   one flex row it left "Terms" alone under the line) */
@media (min-width: 900px) and (min-height: 501px) and (max-height: 700px) {
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot { display: block; text-wrap: balance; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot > span { display: block; line-height: 1.45; padding: 2px 0 6px; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot :is(> a, .seolinks a) { display: inline-block; min-height: 0;
    white-space: nowrap; vertical-align: top; line-height: 28px; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot > a { padding: 0 10px; margin: 0 10px 0 -10px; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot .seolinks { display: block; text-wrap: balance; margin: 6px 0 0; }
  html:not([data-fold]) body[data-view="voices"]:has(.studio.m-speak:not([data-mode="vtv"])) > .sitefoot .seolinks a { padding: 0 12px; margin: 0 4px 0 -12px; }
}

/* ---------- 4b. the header from 861 to 1100 px: the whole concept header ("Training 57%", What's new, settings) on one
   row (fit.css had dropped "Training" and What's new); tighter tabs below 940, What's new waits below 900 ---------- */
@media (min-width: 861px) and (max-width: 1100px) {
  .g-bar .g-newslink { display: inline-flex; }
  .g-bar .trainpill > span:not(.tdot) { display: inline; }
}
@media (min-width: 861px) and (max-width: 939px) {
  .g-bar { gap: 12px; padding-left: max(20px, env(safe-area-inset-left, 0px) / var(--pz)); padding-right: max(20px, env(safe-area-inset-right, 0px) / var(--pz)); }
  .g-bar > .tabs a { padding: 8px 8px; }
}
@media (min-width: 861px) and (max-width: 899px) {
  .g-bar .g-newslink { display: none; }  /* (in the footer line) */
}

/* ---------- 5. foldables (?fold=book / ?fold=flip, real hinges) ----------
   The halves under the phone zoom: env() and vw are screen px, the page is in zoomed px (fit.css does this for flips). */
@media (horizontal-viewport-segments: 2) {
  :root { --a: calc(env(viewport-segment-width 0 0) / var(--pz)); --b: calc(env(viewport-segment-width 1 0) / var(--pz));
          --gap: calc((env(viewport-segment-left 1 0) - env(viewport-segment-right 0 0)) / var(--pz)); }
}
html.fakefold[data-fold="h"] { --a: calc(50vw / var(--pz) - var(--fakegap, 20px) / 2); }

/* book (left | right): the menu-button header, so no page name sits on the hinge; the open menu stays on the left half */
html[data-fold="h"] .g-bar { height: 64px; box-sizing: border-box; max-width: none; padding: 10px 16px; gap: 10px; flex-wrap: wrap; align-content: flex-start; align-items: center; }
html[data-fold="h"] .g-bar .brand { height: 44px; }
html[data-fold="h"] .g-bar .brand span { display: inline; font-size: 18px; }
html[data-fold="h"] .g-bar .brand img { width: 28px; height: 28px; }
html[data-fold="h"] .g-menubtn { display: grid; place-items: center; position: relative; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); cursor: pointer; }
html[data-fold="h"] .g-bar > :is(.tabs, .g-right) { display: none; }
html[data-fold="h"] .g-menubtn svg { display: none; }
html[data-fold="h"] .g-menubtn::before, html[data-fold="h"] .g-menubtn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px;
  border-radius: 2px; background: currentColor; transition: transform .25s var(--g-ease); }
html[data-fold="h"] .g-menubtn::before { transform: translateY(-3.5px); }
html[data-fold="h"] .g-menubtn::after { transform: translateY(3.5px); }
html[data-fold="h"] .g-bar.menu-open .g-menubtn::before { transform: rotate(45deg); }
html[data-fold="h"] .g-bar.menu-open .g-menubtn::after { transform: rotate(-45deg); }
html[data-fold="h"] .g-bar.menu-open { background: var(--paper); row-gap: 0; }
html[data-fold="h"] .g-bar.menu-open > :is(.tabs, .g-right) { flex: 0 0 var(--a); box-sizing: border-box; margin: 0 calc(100% - var(--a) + 16px) 0 -16px; background: var(--paper); }
html[data-fold="h"] .g-bar.menu-open > .tabs { display: flex; order: 3; padding: 6px 16px 8px; flex-direction: column; gap: 2px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
html[data-fold="h"] .g-bar.menu-open > .tabs:focus { outline: none; }
html[data-fold="h"] .g-bar.menu-open > .tabs a { padding: 0 14px; height: 50px; display: flex; align-items: center; font-size: 17px; border-radius: 12px; color: var(--ink); }
html[data-fold="h"] .g-bar.menu-open > .tabs a[aria-current="page"] { background: var(--g-soft); font-weight: 600; }
html[data-fold="h"] .g-bar.menu-open .g-navglide { display: none; }
html[data-fold="h"] .g-bar.menu-open > .g-right { display: flex; order: 4; gap: 12px; align-items: center; padding: 10px 16px 14px; border-top: 1px solid var(--wash);
  border-radius: 0 0 20px 0; box-shadow: 0 18px 30px -18px rgba(20, 20, 23, .35); }
html[data-fold="h"] .g-bar.menu-open .g-newslink { display: inline-flex; height: 44px; font-size: 15px; }
html[data-fold="h"] .g-bar.menu-open .trainpill:not([hidden]) { display: inline-flex !important; height: 40px; }
html[data-fold="h"] .g-bar.menu-open .trainpill span:not(.tdot) { display: inline; }
html[data-fold="h"] .g-bar.menu-open .g-right .setbtn { margin-left: auto; width: auto; height: 44px; padding: 0 14px 0 12px; gap: 8px; display: inline-flex; align-items: center;
  border-radius: 999px; font: 500 15px var(--body); color: var(--ink); }
html[data-fold="h"] .g-bar.menu-open .g-right .setbtn::after { content: "Settings"; }
html[data-fold="h"] .g-bar.menu-open::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: calc(var(--vh) / var(--pz)); z-index: -1;
  background: rgba(20, 20, 23, .32); }
:root[data-scheme="dark"][data-fold="h"] .g-bar.menu-open::after { background: rgba(0, 0, 0, .55); }

/* book, home: the title and the box on the left half (the box stays while the takes scroll), the takes on the right */
html[data-fold="h"] #v-synth > .stage.g-home { grid-template-rows: auto auto minmax(0, 1fr); align-content: start; }
html[data-fold="h"] .stage.g-home > .g-hero { padding: 36px 40px 0 24px; }
html[data-fold="h"] .stage.g-home > .g-composer { grid-row: 2 / -1; margin: 28px 40px 24px 24px; top: var(--stick); bottom: auto; align-self: start; }
html[data-fold="h"] .stage.g-home > #sayStatus { grid-row: 2 / -1; align-self: start; justify-self: start; position: sticky; top: calc(var(--stick) + var(--cmph, 200px) + 10px);
  margin: calc(28px + var(--cmph, 200px) + 10px) 40px 0 24px; }
html[data-fold="h"] .stage.g-home > #homeTakesBox { padding-top: 40px; }

/* book, Studio: the composer and Delivery | Sound on the left half, the takes on the right half, which stays put and
   scrolls by itself when the settings are open */
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) > .work > #takes { position: sticky; top: var(--stick); align-self: start; max-height: calc(var(--vh) / var(--pz) - var(--stick) - 16px);
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin: 0 16px 0 40px; padding: 0 4px 12px; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot { flex-wrap: wrap; row-gap: 10px; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #chosen { flex: 1 1 100%; min-width: 0; max-width: none; display: block; position: relative;
  padding-right: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #chosen::before { display: inline-grid; vertical-align: middle; margin: -2px 8px 0 0; line-height: normal; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #chosen::after { position: absolute; right: 13px; top: 50%; margin: -5px 0 0; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > #lang { flex: 0 1 auto; min-width: 0; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio .g-sbot > .g-count { display: none; }
html[data-fold="h"] .g-studio { --edh: 140px; }
html[data-fold="h"] #takes .g-take { flex-wrap: wrap; row-gap: 6px; }  /* (a half is narrow: "Keep this voice" under the words) */
html[data-fold="h"] #takes .g-tk { flex: 1 1 0; }
html[data-fold="h"] #takes .savev { order: 5; flex: 1 0 calc(100% - 64px); margin-left: 64px; }
html[data-fold="h"] #takes .g-dl { order: 3; }

/* book, Voices: the title, Clone / Design and Your voices on the left half; the library on the right half */
html[data-fold="h"] #v-voices .studio.m-lib { max-width: none; padding-left: 0; padding-right: 0; grid-template-columns: minmax(0, 1fr); }
html[data-fold="h"] #v-voices .studio.m-lib > .panel.voice { position: static; height: auto; max-height: none; overflow: visible; margin: 0; padding-left: 0; padding-right: 0;
  width: auto; max-width: none; }
html[data-fold="h"] #v-voices .g-voices { display: grid; grid-template-columns: var(--a) var(--b); column-gap: var(--gap); row-gap: 20px;
  grid-template-rows: auto auto auto minmax(0, 1fr); align-items: start; height: auto; overflow: visible; }
html[data-fold="h"] #v-voices:has(.studio.m-lib) { height: auto; min-height: calc(var(--vh) / var(--pz) - var(--barh, 64px)); overflow: visible; }
html[data-fold="h"] #v-voices .g-voices > .g-lib { position: sticky; top: var(--stick); max-height: calc(var(--vh) / var(--pz) - var(--stick) - 16px); min-height: 0;
  overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-bottom: 16px; }
html[data-fold="h"] #v-voices .g-voices .voicelist { grid-template-columns: minmax(0, 1fr); }
html[data-fold="h"] #v-voices .g-voices > * { min-width: 0; margin: 0 40px 0 24px; }
html[data-fold="h"] #v-voices .g-voices > .g-ptitle { grid-column: 1; grid-row: 1; }
html[data-fold="h"] #v-voices .g-voices > .g-make { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); }
html[data-fold="h"] #v-voices .g-voices > .g-mine { grid-column: 1; grid-row: 3; }
html[data-fold="h"] #v-voices .g-voices > .g-lib { grid-column: 2; grid-row: 1 / -1; margin: 0 24px 0 40px; }

/* book, Voice to voice: the title and your recording on the left half; what it becomes, the mode and Convert on the right */
html[data-fold="h"] .wrap.studio.m-speak[data-mode="vtv"] { max-width: none; padding-left: 0; padding-right: 0; grid-template-columns: minmax(0, 1fr); }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] > .work { margin: 0; min-width: 0; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn { padding-top: 24px; display: grid; grid-template-columns: var(--a) var(--b); column-gap: var(--gap); row-gap: 20px; align-items: start; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn > * { min-width: 0; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn > .g-vhead { grid-column: 1; grid-row: 1; margin: 0 40px 0 24px; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn > .g-vrow { display: contents; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn .g-varrow { display: none; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn .g-vrec { grid-column: 1; grid-row: 2; margin: 0 40px 0 24px; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn .g-vrow > .g-vcard:not(.g-vrec) { grid-column: 2; grid-row: 1; align-self: end; margin: 0 24px 0 40px; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn > .g-vopts { grid-column: 2; grid-row: 2; margin: 0 24px 0 40px; flex-wrap: wrap; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] #vtvIn > :is(.status, #vtvStatus) { grid-column: 1 / -1; margin: 0 24px; }
html[data-fold="h"] .studio.m-speak[data-mode="vtv"] .g-studio > .g-sbot { margin-left: calc(var(--a) + var(--gap) + 40px); margin-right: 24px; }

/* flip (top / bottom): the composer in the middle of the bottom half, not right under the hinge */
html[data-fold="v"] .stage.g-home > .g-composer { align-self: center; margin: var(--gap) 0 24px; }
/* (app.css sizes the page as 100dvh, which the phone zoom shrinks: the footer then ran over the Studio's bottom half) */
html[data-fold="v"] main.view:is(#v-synth, #v-voices) { height: calc(var(--vh) / var(--pz) - var(--barh, 64px)); }

/* (merge) book, Studio: the queue note ("0 in line · no wait", hidden but holding its place while nobody waits) wrapped
   under Write | Stress | Timing in the narrow half and left an empty band above the text: it now shares their row, in
   two short lines if it must, so the text and Speak never move when someone starts waiting */
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio > .g-stop { flex-wrap: nowrap; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio > .g-stop > .g-grow { display: none; }
html[data-fold="h"] .studio.m-speak:not([data-mode="vtv"]) .g-studio > .g-stop > #lineStudio { flex: 0 1 auto; min-width: 0; margin-left: auto; white-space: normal;
  text-align: right; line-height: 1.3; }
