/* Phone grid fix (2026-11-18). The desktop rule, carried to phones: the content column is a whole number of
   120 px major columns, centred, and the grid starts at the column's left edge, so every rule starts and ends
   on a major line. Below 384 px a whole major column no longer fits with a margin, so the column is a whole
   number of 24 px cells and only the minor lines are drawn. */
@container (max-width:551px){
  .v2-wrap{width:360px;width:round(down, calc(100cqw - 24px), 120px);margin-left:auto;margin-right:auto}
  .v2-grid{background-position:calc((100cqw - 360px) / 2) 0;background-position:calc((100cqw - round(down, calc(100cqw - 24px), 120px)) / 2) 0}
  .v2-split-photo,.v2-lab-photo,.v2-plate{width:100%;height:auto;aspect-ratio:1 / 1}
  .v3-lab-tall{width:100%;height:auto;aspect-ratio:5 / 6}
}
@container (max-width:383px){
  .v2-wrap{width:312px;width:round(down, calc(100cqw - 24px), 24px)}
  .v2-grid{background-image:linear-gradient(var(--grid-minor) 1px,transparent 1px),linear-gradient(90deg,var(--grid-minor) 1px,transparent 1px);background-size:24px 24px,24px 24px;background-position:calc((100cqw - round(down, calc(100cqw - 24px), 24px)) / 2) 0}
}
