.gallery-workspace{grid-template-columns:1fr 1fr}
#gallery-summary{font-weight:700}
#gallery-preview{display:block;width:100%;height:auto;margin:.65rem 0;background:#f3e6da;border-radius:7px}
#frame-rows{margin:.7rem 0}
.gallery-frame{border:1px solid var(--line);border-radius:7px;margin:.5rem 0;padding:.35rem .55rem}
.gallery-frame legend{font-weight:650}
.frame-actions{display:flex;flex-wrap:wrap;gap:.35rem;margin:.35rem 0}
.frame-actions button:disabled{opacity:.5;cursor:default}
caption{text-align:left;font-size:.86rem;color:var(--muted);margin-bottom:.2rem}
#print-layout{margin-top:.6rem}
@media(max-width:740px){.gallery-workspace{grid-template-columns:1fr}}
@media print{
  .top,.intro,.gallery-workspace form,.guide,footer,#print-layout,.skip{display:none}
  body{background:white}
  .shell,.gallery-workspace{display:block;width:100%;margin:0}
  .result{border:0;padding:0}
  #gallery-preview{max-width:490px}
  tr{break-inside:avoid}
}
