/* Phone layout for the round-stamp and QR order forms. */
@media(max-width:760px){
  main article.wrapper:has(.round-workspace){padding-inline:8px}
  main article.wrapper>section:has(.round-workspace){padding-inline:7px}
  .fsend>fieldset.round-active{min-inline-size:0;padding:8px 0 12px;border-inline:0}
  .fsend>fieldset.round-active>legend{max-inline-size:100%;white-space:normal}
  .round-active :is(.round-workspace,.round-order-columns),#pqr-studio :is(.pqr-workspace,.pqr-order){display:grid;grid-template-columns:minmax(0,1fr)!important;gap:10px}
  .round-active .round-workspace>.round-panel,#pqr-studio .pqr-workspace>.pqr-card{position:static;grid-area:auto;min-width:0;height:auto!important;margin:0;padding:10px;overflow:visible}
  .round-active .round-workspace :is(.round-models,.round-preview,.round-details){grid-column:1}
  .round-active .round-order{padding:10px;min-width:0}
  .round-active :is(.round-order-columns,.round-equipment,.round-summary,.round-equipment fieldset),#pqr-studio :is(.pqr-order,.pqr-summary,.pqr-mounts){min-width:0;max-width:100%;box-sizing:border-box}
  .round-active .round-order-columns>.round-summary,#pqr-studio .pqr-order>.pqr-summary{grid-area:auto;position:static;width:auto}
  .round-active .round-order-columns>.round-equipment{grid-area:auto;width:auto}
  .round-active .round-equipment>fieldset{padding:9px 6px}
  .round-active .pz_steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:4px}
  .round-active .pz_steps>.pz_step_line{display:none}
  .round-active .pz_steps>.pz_step{display:flex;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:40px;padding:3px;font-size:12px}
  .round-active .pz_step i{flex:none}
  .round-active .round-gallery .tabs_cont,#pqr-studio .pqr-tabs{display:flex;flex-wrap:wrap;gap:5px;margin:0 0 6px}
  .round-active .round-gallery .tabs_cont>:is(.imp_tabs,.round-qr-toggle),#pqr-studio .pqr-tabs button{min-width:0;min-height:36px;white-space:normal;padding:4px 8px!important;line-height:1.2}
  .round-active .round-workspace .round-gallery .imprint_container,#pqr-studio .pqr-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;max-height:none!important;height:auto!important;overflow:visible!important;margin:5px 0!important;padding:0!important}
  .round-active .round-gallery .imprint_container>.round-compact-tile,#pqr-studio .pqr-gallery>.pqr-model{height:clamp(74px,22vw,98px)!important;min-width:0;box-sizing:border-box;border-radius:9px}
  .round-gallery .round-tile-button,#pqr-studio .pqr-gallery>.pqr-model{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:2px;align-items:center;justify-items:center;height:100%;padding:3px!important}
  .round-active .round-gallery .round-tile-image,#pqr-studio .pqr-gallery>.pqr-model img{width:100%!important;height:100%!important;min-height:0;object-fit:contain;background-size:contain;aspect-ratio:auto}
  .round-active .round-gallery .round-tile-label,#pqr-studio .pqr-model span{line-height:1.15;font-size:11px}
  .round-models .pza-pages button,.pqr-catalogue .pza-pages button,.pza-browse:not(.pza-review)>.pza-arrow{width:44px;height:44px}
  .pza-browse:not(.pza-review) .pza-actions>.pza-next{min-height:44px}
  .round-active .round-inline-details{max-width:100%;min-width:0;box-sizing:border-box}
  .round-active :is(.round-inline-details,.seal-copy-mounts) :is(input[type=text],input[type=number],select,textarea),#pqr-studio :is(.pqr-fields,.pqr-summary,.pqr-lookup) :is(input,select,textarea){max-width:100%;min-width:0;min-height:42px;font-size:16px;box-sizing:border-box}
  .round-active .seal-copy-mounts>label{min-width:0!important;max-width:100%}
  .round-active .round-equipment .pza-mount-grid:not([style*="none"]),#pqr-studio .pqr-mount-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .round-active .round-equipment .pza-mount-grid>.pza-mount-card,#pqr-studio .pqr-mount-list>*{min-width:0;max-width:100%}
  .round-active .round-equipment .pza-mount-grid .pza-mount-title,#pqr-studio .pqr-mount-list span{overflow-wrap:break-word}
  .round-active :is(.round-order,.round-workspace),#pqr-studio .pqr-workspace{scroll-margin-top:100px}
}
@media(min-width:540px) and (max-width:760px){.round-active .round-equipment .pza-mount-grid:not([style*="none"]),#pqr-studio .pqr-mount-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

@media(max-width:760px){body:has(.round-active),body:has(#pqr-studio){min-width:0!important}}