/* Preview-only repairs for copied legacy pages. No production source edits. */
@media(max-width:720px){
  html,body{min-width:0}
  body.subpage .site-shell,body.subpage main,body.subpage .subpage-hero,
  body.guide-page .guide-hero>*,body.guide-page .guide-step>*,body.commission-page .commission-hero>*{min-width:0;max-width:100%}
  body.subpage .subpage-hero,body.guide-page .guide-hero,body.guide-page .guide-step{grid-template-columns:minmax(0,1fr)}
  body.guide-page .guide-card,body.guide-page .interface-preview,body.guide-page .guide-step{overflow-wrap:anywhere}
  body.guide-page .guide-jump a{min-width:0;overflow-wrap:anywhere}
  body.commission-page .commission-hero .subpage-hero-copy h1{font-size:clamp(36px,11vw,54px);overflow-wrap:anywhere}
  body.subpage .button{max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
}
@media(max-width:600px){
  .agreement-shell{width:calc(100% - 2rem)}
  .agreement-header{flex-wrap:wrap;gap:16px}
  .agreement-actions{margin-left:0;max-width:100%}
  .agreement-button{max-width:100%;white-space:normal;line-height:1.5;text-align:center}
  .agreement-clause{grid-template-columns:1.5rem minmax(0,1fr);gap:.65rem}
  .clause-body{min-width:0;overflow-wrap:anywhere}
  .agreement-hero h1{font-size:clamp(36px,10vw,54px);overflow-wrap:anywhere}
}
/* Legacy artwork may extend past a slide; preserve vertical reading without side panning. */
@media(max-width:720px){.presentation .slide{overflow-x:hidden}}
