/* V3.3.22 — desktop-only frame clearance and chapter balance.
   Touch-first devices keep their existing layout, including landscape phones. */
@media (min-width:700px) and (hover:hover) and (pointer:fine){
 /* The SVG's inner side rule is 2.7% of the frame width. Keep each form
    card and divider inside that rule without clipping any form content. */
 .rsvp-stationery #main{
  --rsvp-desktop-frame-width:min(calc(100vw - var(--stationery-side) - var(--stationery-side)),var(--stationery-max));
  padding-inline:max(32px,calc(var(--rsvp-desktop-frame-width)*.05));
 }

 /* Share spare height above and below these two chapters. Keep natural
    content height for the existing density/fit measurements. Auto margins
    become zero when the content is tall, preserving overflow handling. */
 .edition-v3 #invitation :is(.page-dress,.page-venue)>.chapter-body{
  display:flex;
  flex-direction:column;
 }
 .edition-v3 #invitation .page-dress>.chapter-body>.attire-content,
 .edition-v3 #invitation .page-venue>.chapter-body>.venue-content{
  flex:0 0 auto;
  margin-block:auto;
 }
}
