.shop-dialog{width:min(54rem,calc(100vw - 2rem));max-height:calc(100dvh - 2rem);color:var(--text,#183247)}.shop-dialog>form{display:flex;flex-direction:column;max-height:calc(100dvh - 2rem);min-height:0}.shop-dialog .dialog-heading,.shop-dialog-actions{padding:1rem;display:flex;align-items:center;gap:.6rem;flex-shrink:0;background:var(--surface,#fff)}.shop-dialog .dialog-heading{justify-content:space-between;border-bottom:1px solid var(--border,#d7e0e8)}.shop-dialog .dialog-heading h2{margin:0;font-size:1.15rem}.shop-dialog-body{padding:1rem;overflow:auto;min-height:0;display:grid;gap:1rem}.shop-dialog-actions{justify-content:flex-end;border-top:1px solid var(--border,#d7e0e8);flex-wrap:wrap}.shop-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;align-items:start}.shop-fields label{display:grid;gap:.3rem;min-width:0}.shop-fields input,.shop-fields select,.shop-fields textarea{max-width:100%;min-width:0}.shop-fields .shop-wide{grid-column:1/-1}.shop-fields .shop-check{display:flex;align-items:center;gap:.5rem}.shop-dialog fieldset{padding:0;border:0;min-width:0}.shop-dialog legend{font-weight:600;margin-bottom:.7rem}.shop-lines{overflow:auto;max-width:100%}.shop-lines input,.shop-lines select{min-width:6rem;max-width:14rem}.shop-dialog :is(button,a){width:auto}.shop-dialog .alert{margin:0}.shop-dialog .shop-dialog-actions button{min-height:2.75rem}@media(max-width:600px){.shop-fields{grid-template-columns:minmax(0,1fr)}.shop-dialog{width:calc(100vw - 1rem);max-height:calc(100dvh - 1rem)}.shop-dialog>form{max-height:calc(100dvh - 1rem)}}
