.layout-tool {background:var(--paper,#fff);border:1px solid #bbc9d3;border-radius:.6rem;padding:1rem;margin:1.15rem 0;}
.layout-tool summary {cursor:pointer;font-weight:700;}
.layout-tool label {min-width:0;}
.layout-tool input[type=file] {max-width:100%;width:100%;font-size:.875rem;}
.layout-tool input[type=range] {width:100%;padding:0;min-height:44px;}
.layout-tool [hidden], #quantity-price [hidden], #quantity-price[hidden] {display:none!important;}
.layout-tool canvas {display:block;width:auto;height:auto;max-width:100%;max-height:58vh;object-fit:contain;margin:1rem auto;border:1px solid #aebac7;touch-action:none;cursor:grab;}
.layout-tool canvas:active {cursor:grabbing;}
.layout-sliders {grid-template-columns:repeat(auto-fit,minmax(120px,1fr));}
#quantity-price p {margin:.3rem 0 0;}
#layout-error {color:#991b1b;}
