/* Shared reading flow, v191. Keep existing type sizes, alignment and card clamps. */
body :where(h1,h2,h3,h4):not([contenteditable]):not([contenteditable] *){
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:balance;
}
body :where(p,figcaption,dd,summary):not([contenteditable]):not([contenteditable] *){
  word-break:keep-all;
  overflow-wrap:anywhere;
  text-wrap:pretty;
}
/* A long explanation should not span the full desktop canvas. */
body :is(.help-content,.faq,.consult-faq,.partner-preview,.partner-section,.consult-intro,.partner-hero) p{
  max-inline-size:64ch;
}
body :is(.editorial-title,.post-title,.space-title,.story-heading h1){
  word-break:keep-all!important;
  overflow-wrap:anywhere;
  text-wrap:balance!important;
}
/* Preserve the compact, centered article measure across all three renderers. */
html body .editorial-rich :is(.story-prose,.story-intro,.story-closing),
html body .story-body.ys-reading-prose>:is(p,.story-text,.story-prose),
html body #space-detail .space-reading-prose.shop-voice-prose{
  max-width:360px!important;
  width:100%;
  box-sizing:border-box;
  margin-inline:auto!important;
  text-align:center;
}
html body :is(.editorial-rich,.story-body,.space-reading-prose) :is(p,.story-sentence,.ys-thought){
  word-break:keep-all!important;
  overflow-wrap:anywhere;
  text-wrap:balance!important;
}
/* Text can shrink within a grid without pushing its neighboring image or icon. */
body :is(.story-card,.feed-card,.ss-entry,.search-result,.result-card,.partner-card) :is(h2,h3,p){min-width:0;max-width:100%}
body :is(.faq,.help-content) summary{line-height:1.6}
@media(max-width:700px){
  html body .editorial-rich :is(.story-prose,.story-intro,.story-closing),
  html body .story-body.ys-reading-prose>:is(p,.story-text,.story-prose),
  html body #space-detail .space-reading-prose.shop-voice-prose{max-width:340px!important}
  body :is(.partner-hero,.consult-intro,.help-intro) h1{max-width:100%}
}
