/* Figura única de melamina: usada por Preferencias y Agregar elemento. */
.melamina-pref-panel-figure{position:relative;width:100%;max-width:300px;border-radius:6px;overflow:hidden;box-shadow:0 0 0 1px #32506f inset;background:#cad2dc}
.melamina-pref-panel-photo{display:block;width:100%;height:auto;background:#cad2dc}
.melamina-pref-model-svg{display:block;width:100%;max-width:300px;height:auto;max-height:none;overflow:visible}
.melamina-pref-overlay-svg{position:absolute;inset:0;max-width:none;height:100%;pointer-events:none}
.melamina-pref-model-svg [data-dj-zone-key]{transition:fill .12s ease,stroke .12s ease,filter .12s ease}
.melamina-pref-model-svg .melamina-pref-highlighted{fill:rgba(28,168,248,.38)!important;stroke:#0d86d4!important;stroke-width:2.5px!important;filter:none!important}

/* Agregar elemento presenta el mismo SVG sobre la imagen, sin un segundo trazado. */
#app #subpanel1 .melamina-add-element-reference{display:flex;justify-content:center;align-items:center;width:100%;min-height:185px;margin:0 auto}
#app #subpanel1 .melamina-pref-panel-figure{width:170px;max-width:calc(100% - 4px)}
#app #subpanel1 .melamina-pref-panel-photo{max-width:100%}
#app #subpanel1 .melamina-pref-overlay-svg{max-width:none}
