/* Stock Assistant language pages only (linked from /<lang>/stock-assistant/, not from the en page): their words are longer
   than the English brief's. The two hero buttons go on two rows when they do not fit one; the "Free" heading is balanced so
   no line holds one word; on phones its size is the largest at which the heading's last two words share a line
   (measured at 360 px: de 48, fr 51, pl 46, uk 42, nl 38, ja 40; the other languages fit at the en size, 58px). */
.acts { flex-wrap: wrap; }
.free5 .word { text-wrap: balance; }
html.ph .free5 .word:lang(de) { font-size: 40px; }   /* «Gratis, ohne Limits, / ohne Testphase.»; 42px touched the right edge at 390 (HQ 06.12 08:15) */
html.ph .free5 .word:lang(fr) { font-size: 50px; }
html.ph .free5 .word:lang(pl) { font-size: 45px; }
html.ph .free5 .word:lang(uk) { font-size: 41px; }
html.ph .free5 .word:lang(nl) { font-size: 37px; }
html.ph .free5 .word:lang(it) { font-size: 46px; }   /* «periodo» alone at 58px; 49px ran 3px past the column */
html.ph .free5 .word:lang(tr) { font-size: 47px; }   /* «Ücretsiz,» and «sınırsız,» alone at 58px; 48px ran 1px past */
html.ph .free5 .word:is(:lang(id), :lang(vi)) { font-size: 52px; }   /* the measured lines ran 11-15px past the column at 58px */
html.ph .free5 .word:lang(ja) { font-size: 38px; }   /* «トライアルなし。» on one line (Japanese has no spaces to break at) */
/* Phone first screen: its text column is placed absolutely in a box of fixed height (sa.css :where(html.ph) .hero), so longer
   texts ran into the next section's heading. Room below it, per language: how much further its text reaches than the en text
   (measured on the 390 px phone board, + 4px). The desktop first screen has room to spare in every language. */
html.ph .hero:lang(de), html.ph .hero:lang(nl) { margin-bottom: 136px; }
html.ph .hero:lang(fr), html.ph .hero:lang(pl) { margin-bottom: 132px; }
html.ph .hero:lang(uk) { margin-bottom: 158px; }
html.ph .hero:lang(id) { margin-bottom: 72px; }
html.ph .hero:lang(ja) { margin-bottom: 76px; }   /* with the phrase breaks below */
html.ph .hero:lang(es), html.ph .hero:lang(it), html.ph .hero:lang(pt), html.ph .hero:lang(tr) { margin-bottom: 48px; }
html.ph .hero:lang(vi) { margin-bottom: 24px; }
html.ph .hero:lang(zh) { margin-bottom: 4px; }
/* Japanese breaks lines between phrases, not inside a word («修／正», «トラ／イアル»); Korean between words (keep-all), as
   Korean and Japanese sites set it. */
html:lang(ja) .sa-frame { word-break: auto-phrase; }
html:lang(ko) .sa-frame { word-break: keep-all; }
/* Phone footer tile «MeshEase»: in tr, uk and ja its line ran under the «See MeshEase» button (the text column was squeezed to
   ~80px beside it); the text column keeps 150px, so the button moves to its own row on the right. */
html.ph:is(:lang(tr), :lang(uk), :lang(ja), :lang(de)) .foot .tile .t { flex: 1 1 150px; }
/* Phone footer links in de: five links wrapped 4 + 1 and «Anmelden» stood alone (HQ 06.12); three columns give 3 + 2, as ja wraps. */
html.ph:lang(de) .foot .top .links { display: grid; grid-template-columns: repeat(3, max-content); }
/* Desktop «Check. Fix. Export.» beside the video: a long word widened the heading's column and ran under the video card
   (de, nl, pl, uk, ja, ko; fr, it within 7px). Size: its longest word ends 40px before the card (measured at 1440 px; en is 88px with 97px to spare). */
html:lang(de):not(.ph) .rt5 .rhd .word.long { font-size: 62px; }
html:lang(nl):not(.ph) .rt5 .rhd .word.long { font-size: 69px; }
html:lang(pl):not(.ph) .rt5 .rhd .word.long { font-size: 74px; }
html:lang(uk):not(.ph) .rt5 .rhd .word.long { font-size: 54px; }
html:lang(ja):not(.ph) .rt5 .rhd .word.long { font-size: 68px; }
html:lang(ko):not(.ph) .rt5 .rhd .word.long { font-size: 75px; }
html:is(:lang(fr), :lang(it)):not(.ph) .rt5 .rhd .word.long { font-size: 78px; }   /* «Vérifiez.», «Controlla.» 6-7px from the card at 1024 */
/* The line under it wraps at the card's edge in fr, it, nl, vi (6-10px from the card); it is kept 40px or more away from the card (300px; the en line is 310px wide). */
html:not(.ph) .rt5 .rhd .lead2 { max-width: 300px; }

/* Phone FAQ in de: «Illustrator-Versionen?» cannot break and at 28px widened the question grid 16-19px past the card (HQ 06.12
   08:15). All de questions take one size together, so they stay one size. */
html.ph.v12 .qa5 .qs dt:lang(de) { font-size: 23px; }   /* 08:30: at least 16px to the card edge at 360 and 390 */

/* (the step-3 rule for de/es at 360 is gone: the menu names are English now, HQ 06.12 08:30) */
/* HQ 06.12 08:30, «Coming soon»: the long nl label «Binnenkort beschikbaar» broke the header name «Stock / Assistant» on phones;
   at 360 the nl step 4 with the English «Additional Plug-ins Folder» ran 2px past the dark card. */
html.ph:lang(nl) .onehead .nm { white-space: nowrap; }
@media (max-width: 370px) { html.ph .get5 li:lang(nl) { letter-spacing: -.01em; } }
/* Phone FAQ in nl: at 28px a question stood 2px from the card at 360/390 (HQ 06.12 08:33: as in de). All nl questions 26px:
   25/27px to the card edge. */
html.ph.v12 .qa5 .qs dt:lang(nl) { font-size: 26px; }
