.wall-design{border-top:1px solid #ddd;margin-top:22px;padding-top:18px}.wall-design h2{font-size:20px;margin:0 0 8px}.wall-design label{display:block;margin:12px 0 5px;font-size:14px;font-weight:600}.wall-design input:not([type=color]),.wall-design select,.wall-design textarea{width:100%;box-sizing:border-box;min-height:40px}.wall-design textarea{font:inherit;padding:8px}.wall-design summary{cursor:pointer;padding:12px 0;font-weight:600}.wall-design [hidden]{display:none!important}.wall-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}.wall-presets button{min-height:60px;border:1px solid #ccc;background:#fff;color:#252525;border-radius:6px;padding:8px;white-space:normal}.wall-presets button[aria-pressed=true]{border:2px solid #ff730a;background:#fff4e9}.wall-design input[type=range]{accent-color:#ff730a}.wall-design button{cursor:pointer}.wall-design input:focus-visible,.wall-design button:focus-visible,.wall-design select:focus-visible{outline:3px solid #00a886;outline-offset:2px}
/* A long template/zone label must not set the mobile grid's intrinsic width. */
.panel{min-width:0}.wall-design,.wall-presets>*{min-width:0}.wall-design input,.wall-design select{max-width:100%}@media(max-width:830px){main{grid-template-columns:minmax(0,1fr)}}

@media(min-width:831px){.left{align-self:start;position:sticky;top:16px}}
.creative-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:14px 0}.creative-tabs button{font-size:13px;min-height:44px;padding:10px 5px;background:#f2f2f2;color:#252525}.creative-tabs button[aria-selected=true]{background:#252525;color:#fff}.wall-presets canvas{display:block;width:100%;height:64px;object-fit:contain;margin-bottom:5px}.ornament-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ornament-gallery button{padding:5px;font-size:11px;background:#fff;border:1px solid #ddd;color:#333;min-width:0}.ornament-gallery canvas{display:block;width:100%;height:auto}.creative-layer-editor{margin-top:16px;border-top:1px solid #ddd;padding-top:12px}.creative-actions{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.creative-actions button{font-size:12px}.wall-design input[type=checkbox]{width:auto;min-height:0}.creative-layer-editor label{font-weight:500}.creative-layer-editor input[type=color]{width:60px;height:36px}
.creative-show-preview{display:none}@media(max-width:830px){.creative-show-preview{display:block;width:100%;margin-top:12px;background:#ff730a;color:white}.wall-design button{min-height:44px}}
/* Selection is DOM-only: handles never enter the production raster. */
.creative-selection{position:absolute;pointer-events:none;border:2px dashed #f58220;box-sizing:border-box;z-index:4}.creative-selection[hidden]{display:none}.creative-selection i{position:absolute;width:10px;height:10px;border:2px solid #f58220;background:white;border-radius:50%;transform:translate(-50%,-50%)}.creative-selection [data-handle=nw]{left:0;top:0}.creative-selection [data-handle=ne]{left:100%;top:0}.creative-selection [data-handle=se]{left:100%;top:100%}.creative-selection [data-handle=sw]{left:0;top:100%}.creative-selection [data-handle=rotate]{left:50%;top:-26px}.creative-layer-list button{display:block;width:100%;text-align:left;margin:4px 0;background:#f4f4f4;color:#252525}.creative-layer-list button[aria-pressed=true]{outline:2px solid #f58220}.creative-layer-editor details{margin-top:8px}
.creative-selection [data-handle=n]{left:50%;top:0}.creative-selection [data-handle=e]{left:100%;top:50%}.creative-selection [data-handle=s]{left:50%;top:100%}.creative-selection [data-handle=w]{left:0;top:50%}
