/* English pages only (<html lang="en">). English labels and headings run 30–60% longer than the Chinese copy the
   layout was designed for, so these rules relax fixed widths, let labels wrap and drop desktop-only line breaks on
   small screens. Chinese pages never load this file. */

/* Integration map: the three input chips were nowrap and pushed the whole section past the viewport on phones. */
html[lang=en] .integration-inputs span{white-space:normal;line-height:1.4}
/* Insight answer: "Evidence linked" / "Suggested action" need a wider label column than the Chinese two-character labels. */
html[lang=en] .insight-answer dl>div{grid-template-columns:max-content minmax(0,1fr)}
/* Demo brief: "Content" / "Result" / "Match" overflowed the 44px label column. */
html[lang=en] .mission-document dl>div{grid-template-columns:72px minmax(0,1fr)}
/* Booking case: "Zero manual handling" wrapped at 34px; keep it one line and the same block height as the numbers. */
html[lang=en] .case-evolution .future strong{font-size:30px;line-height:2}
@media(max-width:1100px){
  html[lang=en] .case-evolution .future strong{font-size:26px;line-height:1.97}
}
@media(max-width:800px){
  /* Manual <br> placements were set for desktop English line lengths; on phones let the text wrap naturally. */
  html[lang=en] main br{display:none}
  html[lang=en] .hero h1 br{display:inline}
  html[lang=en] .demo-tabs button{white-space:normal;line-height:1.3}
  html[lang=en] .case-evolution .future strong{font-size:30px;line-height:1.4}
}
@media(max-width:480px){
  /* Six agent names and three example questions do not fit two or three to a row in English. */
  html[lang=en] .capability-tabs{grid-template-columns:1fr}
  html[lang=en] .capability-tabs button{min-height:52px}
  html[lang=en] #order-intelligence .insight-buttons{grid-template-columns:1fr}
  html[lang=en] #order-intelligence .insight-buttons button{min-height:0;text-align:left;padding:12px 14px}
  html[lang=en] .integration-inputs{flex-direction:column}
  html[lang=en] .integration-inputs span{padding:11px 12px;font-size:13px}
  /* Long English step titles in the narrow phone column: a smaller size keeps them to two or three lines. */
  html[lang=en] .plain-rows h3{font-size:20px}
}
