/* Task 1314: one final Vietnamese-safe typography contract.
   Keep this stylesheet last: legacy route styles must not reintroduce negative
   tracking, arbitrary intra-word wrapping, or serif fallback shaping. */

html[lang="vi"] body .site-shell .site-main :is(
  h1, h2, h3, h4, h5, h6,
  p, a, button, label, legend, summary,
  li, dt, dd, th, td, caption, figcaption, blockquote,
  input, textarea, select, option, output,
  span, strong, em, b, i, small
),
html[lang="vi"] body .site-shell .site-header :is(
  a, button, label, span, strong, small
),
html[lang="vi"] body .site-shell .site-footer :is(
  p, a, span, strong, em, small
) {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-kerning: normal !important;
  font-variant-ligatures: normal !important;
  letter-spacing: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Preserve deliberate headline wrapping without creating arbitrary word breaks. */
html[lang="vi"] body .site-shell .site-main :is(h1, h2, h3, h4, h5, h6) {
  text-wrap: pretty !important;
}
