/* V15: lienzo dibujable y editor amplio, compatible con A4 */
.drawing-space{min-height:150px!important;position:relative;overflow:hidden;background:#fff;display:block!important;touch-action:none}.drawing-space canvas{display:block;width:100%;height:100%;min-height:150px;touch-action:none;cursor:crosshair}.draw-pane{min-height:0}.draw-pane .draw-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.draw-actions .btn{padding:7px 10px;font-size:11px;border-radius:10px}.sheet-two:not(.sheet-bottom){flex:1.7!important}.sheet-bottom{flex:.56!important}.sheet{gap:2.5mm!important}
.draw-overlay[hidden]{display:none!important}.draw-overlay{position:fixed;inset:0;z-index:100000;background:#102b20bb;display:flex;align-items:center;justify-content:center;padding:10px}.draw-dialog{background:#fff;border-radius:22px;box-shadow:0 18px 55px #091d1659;width:min(960px,100%);height:min(92dvh,860px);display:flex;flex-direction:column;overflow:hidden}.draw-top{padding:14px 18px;display:flex;gap:12px;align-items:center;justify-content:space-between;background:#eaf7e4}.draw-top b{display:block;font:700 24px Fredoka,Arial;color:#165036}.draw-top small{display:block;color:#3c674d;font-size:12px}.draw-close{width:42px;height:42px;flex:none;border:0;background:#fff;border-radius:50%;font-size:24px;cursor:pointer}.draw-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:10px 14px;border-bottom:1px solid #d7e9d1}.draw-colors{display:flex;gap:5px;flex-wrap:wrap}.color-swatch{width:31px;height:31px;background:var(--ink);border:2px solid #fff;border-radius:50%;outline:1px solid #c3d5bf;cursor:pointer}.color-swatch.active{outline:3px solid #eaa225}.draw-toolbar label{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800}.draw-toolbar input{width:85px;accent-color:#148348}.draw-tool{border:1px solid #d3e5c9;background:#f0f8eb;padding:8px 10px;border-radius:12px;font-weight:800;cursor:pointer}.draw-tool.active{background:#f8dfa3}.draw-stage{flex:1;min-height:120px;position:relative;padding:10px;background:#f7f8f1}.draw-stage canvas{width:100%;height:100%;display:block;border:2px dashed #bdd5ba;background:white;border-radius:13px;touch-action:none;cursor:crosshair}.draw-bottom{padding:10px 16px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:#fff}.draw-bottom span{font-size:12px;color:#567360}.draw-bottom .btn{white-space:normal;text-align:center}
@media(max-width:600px){.draw-overlay{padding:0}.draw-dialog{border-radius:0;width:100%;height:100dvh}.draw-top{padding:9px 12px}.draw-top b{font-size:19px}.draw-top small{font-size:11px}.draw-toolbar{padding:8px;gap:7px}.color-swatch{width:27px;height:27px}.draw-stage{padding:6px}.draw-bottom{padding:8px}.draw-bottom span{font-size:11px}.drawing-space canvas{min-height:75px}.drawing-space{min-height:75px!important}.sheet-two:not(.sheet-bottom){flex:1.4!important}}
@media print{.draw-actions,.draw-overlay{display:none!important}.drawing-space,.drawing-space canvas{min-height:0!important}.sheet-two:not(.sheet-bottom){flex:1.45!important}.sheet-bottom{flex:.55!important}.sheet{gap:3mm!important}}
