.jgv-production svg{display:block;width:100%;height:auto;background:#faf1e7;border:1px solid #ad8758;border-radius:9px;touch-action:none}.jgv-production svg path{fill:#4f332b;cursor:grab}.jgv-production svg path:active{cursor:grabbing}.jgv-production .jgv-layer{border:1px solid #dec7b2;padding:14px;margin:16px 0;border-radius:10px;min-width:0}.jgv-production .jgv-layer legend{font-weight:600;color:#794b49;padding:0 6px}.jgv-production [role=status]{padding:12px;background:#f4e1d8;color:#794b49}.jgv-production [data-invalid="1"]{background:#f5dfd9;color:#793c32}.jgv-production .jgv-coordinates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.jgv-production .jgv-origin{font-size:12px}.jgv-production input,.jgv-production select{min-width:0}.jgv-production [data-size]{font-variant-numeric:tabular-nums}.jgv-production .jgv-preset{width:100%}@media(max-width:480px){.jgv-production .jgv-coordinates{grid-template-columns:1fr}}
.jgv-production .jgv-blank-board{padding:12% 15%;background:url("board.svg") center/100% 100% no-repeat;margin:12px 0}.jgv-production .jgv-blank-board svg{background:transparent;border:1px dashed #794b49;border-radius:0}
.jgv-production .jgv-image-controls{border:1px solid #dec7b2;padding:14px;margin:16px 0;border-radius:10px;min-width:0}.jgv-production [data-artwork]{cursor:grab}.jgv-production [data-artwork]:active{cursor:grabbing}.jgv-production [hidden]{display:none!important}.jgv-production [data-image-message]{overflow-wrap:anywhere}
.jgv-production input[type=range]{width:100%;padding:8px 0;accent-color:#794b49;cursor:pointer}.jgv-production .jgv-slider-hint{display:block;font-size:.85em;color:#78675f}

.jgv-production .jgv-text-toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}.jgv-production .jgv-text-tabs{display:flex;flex-wrap:wrap;gap:6px}.jgv-production [role=tab]{background:#fcf6ef;color:#794b49;border:1px solid #e5d2c2;border-radius:8px;padding:10px 14px}.jgv-production [role=tab][aria-selected=true]{background:#794b49;color:#fff}.jgv-production [role=tab]:focus-visible,.jgv-production [data-text-add]:focus-visible{outline:3px solid #ad8758;outline-offset:3px}.jgv-production [data-text-add]{background:#f4e1d8;color:#593231;border:1px solid #e5d2c2;border-radius:8px}.jgv-production [data-text-remove]{font-size:.85em;background:transparent;color:#794b49;border:1px solid #e5d2c2;border-radius:6px}

.jgv-production svg{touch-action:pan-y pinch-zoom}.jgv-production [data-path]{stroke:transparent;stroke-width:12px;vector-effect:non-scaling-stroke;touch-action:none}.jgv-production [data-artwork]{touch-action:none}.jgv-production [data-jgv-drag-target]{pointer-events:all;touch-action:none;cursor:grab}.jgv-production [data-jgv-editor-overlay] [data-jgv-outline]{stroke:#794b49;stroke-width:2px;stroke-dasharray:5 3;vector-effect:non-scaling-stroke;pointer-events:none}.jgv-production [data-jgv-editor-overlay] [data-jgv-grip-disc]{fill:#794b49;stroke:#fcf6ef;stroke-width:2}.jgv-production [data-jgv-editor-overlay] path{fill:none;stroke:#fff;stroke-width:2;pointer-events:none}.jgv-production .jgv-move-tools{padding:12px;border:1px solid #e5d2c2;border-radius:10px;background:#fcf6ef;margin:12px 0}.jgv-production .jgv-move-help{color:#794b49}.jgv-production .jgv-move-tools select{width:100%;min-height:44px}.jgv-production .jgv-nudge{display:flex;gap:10px;flex-wrap:wrap}.jgv-production .jgv-nudge button{min-width:48px;min-height:48px;padding:8px;background:#f4e1d8;color:#593231;border:1px solid #e5d2c2;border-radius:8px;font-size:22px;touch-action:manipulation}.jgv-production .jgv-nudge button:focus-visible{outline:3px solid #ad8758;outline-offset:2px}.jgv-production .jgv-nudge button:disabled{opacity:.45}

.jgv-production [data-jgv-editor-overlay],.jgv-production [data-jgv-editor-overlay] *{touch-action:none}

/* Mausbedienung: direkt an der Gestaltung ziehen; Touch-Hilfe bleibt erhalten. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px){.jgv-production .jgv-move-tools{display:none}}

.jgv-production [data-text-tab],.jgv-production [data-text-add]{min-height:44px;touch-action:manipulation}.jgv-production [data-jgv-reload]{min-height:44px;margin:8px 0}

/* Codex 1.0: latest accepted simplification, independent of Customizer CSS. */
.jgv-move-tools{display:none!important}.jgv-production [role="status"][data-invalid="0"]{display:none}.jgv-production [data-field="height"]{max-width:10rem}

/* Physical workpiece background. Editing SVG remains the true usable rectangle. */
.jgv-photo-stage{position:relative;overflow:hidden;width:100%;margin:14px 0;background:transparent;border-radius:4px}
.jgv-photo-stage>.jgv-workpiece-photo{position:absolute;max-width:none!important;object-fit:fill;pointer-events:none}
.jgv-photo-stage>svg{position:absolute!important;background:transparent!important;border:1px dashed #f4e1d8!important;border-radius:0!important;box-sizing:border-box;overflow:visible}
.jgv-has-photo svg [data-path]{fill:#ddd6bf}
.jgv-production .jgv-mode select{width:100%;min-height:46px}
.jgv-production [data-image-rights]{font-size:.9em;line-height:1.5;padding:12px 0}
.jgv-production [data-image-rights] label{display:flex;align-items:flex-start;gap:10px}
.jgv-production [data-image-rights] input{width:20px!important;height:20px!important;min-width:20px;margin-top:3px;accent-color:#794b49}
.jgv-production [data-jgv-total]{font-weight:600;margin:15px 0}

/* Optional image preparation: controls stay collapsed until requested. */
.jgv-production [data-image-processing]{margin:18px 0 8px;min-width:0}.jgv-production .jgv-fine-tune{margin:12px 0;border-top:1px solid #dec7b2;padding-top:12px}.jgv-production .jgv-fine-tune summary{cursor:pointer;min-height:44px;display:list-item}.jgv-production .jgv-fine-fields{display:grid;gap:14px;margin:10px 0}.jgv-production .jgv-fine-fields label{display:block}.jgv-production .jgv-fine-fields output{float:right;font-variant-numeric:tabular-nums}.jgv-production .jgv-fine-fields input[type=checkbox],.jgv-production [data-processing-compare]{width:20px;height:20px;vertical-align:middle;min-height:20px}.jgv-production .jgv-fine-fields small{display:block;font-size:.85em}.jgv-production [data-processing-original]{display:block;max-width:100%;max-height:220px;object-fit:contain;background:#fff}.jgv-production [data-processing-message]{font-size:.9em;overflow-wrap:anywhere}.jgv-production [data-processing-apply],.jgv-production [data-processing-reset]{min-height:44px;max-width:100%;white-space:normal}.jgv-production .jgv-processing-mode select{display:block;width:100%;min-height:44px}.jgv-production .jgv-processing-help{font-size:.85em}

.jgv-production svg [data-path]{fill:var(--jgv-preview-color,#000000)}

.jgv-production .jgv-text-chip{display:inline-flex;align-items:stretch;max-width:100%}.jgv-production .jgv-text-chip>[role=tab]{min-height:44px}.jgv-production .jgv-text-chip:has(.jgv-text-close)>[role=tab]{border-radius:8px 0 0 8px}.jgv-production .jgv-text-chip .jgv-text-close{min-width:44px;min-height:44px;margin:0;padding:6px;font-size:24px;line-height:1;border-radius:0 8px 8px 0;border-left:0;background:#fcf6ef;color:#794b49}.jgv-production .jgv-text-close:focus-visible,.jgv-production [data-image-remove]:focus-visible{outline:3px solid #ad8758;outline-offset:2px}.jgv-production .jgv-upload-row{display:flex;align-items:end;flex-wrap:wrap;gap:10px;margin:12px 0}.jgv-production .jgv-upload-row>label{flex:1 1 220px;min-width:0}.jgv-production .jgv-upload-row input[type=file]{display:block;width:100%;max-width:100%;min-width:0}.jgv-production [data-image-remove]{min-height:44px;padding:8px 12px;white-space:normal}.jgv-production [data-text-chip][hidden],.jgv-production [data-image-remove][hidden]{display:none!important}

[data-jgv-variant-stage][hidden]{display:none!important}
[data-jgv-variant-editor] img{max-width:100%;height:auto}

/* Breakfast board: stable gallery area for mixed photo aspect ratios. */
body.postid-6808 .woocommerce-product-gallery .flex-viewport{height:auto!important;aspect-ratio:1/1}
body.postid-6808 .woocommerce-product-gallery__image{aspect-ratio:1/1}
body.postid-6808 .woocommerce-product-gallery__image>a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
body.postid-6808 .woocommerce-product-gallery__image>a>img{width:100%!important;height:100%!important;object-fit:contain}

/* The board lists dimensions explicitly for each variant, not an empty parent. */
body.postid-6808 .woocommerce-product-attributes-item--dimensions{display:none}

.jgv-font-picker { position: relative; margin-top: .3rem; }
.jgv-font-picker > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: #fff; color: inherit; border: 1px solid currentColor;
  padding: .5rem .7rem; font-size: 1.08rem; text-align: left; border-radius: .5rem;
}
.jgv-font-picker > button::after { content: "▾"; font-family: sans-serif; padding-inline-start: .6rem; }
.jgv-font-picker [role="listbox"] {
  position: absolute; inset-inline: 0; z-index: 8; margin-top: .25rem;
  background: #fff; color: #222; border: 1px solid #a39a92; border-radius: .45rem;
  max-height: 16rem; overflow: auto; overscroll-behavior: contain; padding: .25rem;
}
.jgv-font-picker [hidden], .jgv-field select[data-field="font"][hidden] { display: none !important; }
.jgv-font-picker [role="option"] { display: block; width: 100%; padding: .42rem .55rem; line-height: 1.25; min-height: 2.35rem; border: 0; background: transparent; color: inherit; text-align: left; font-size: 1.08rem; }
.jgv-font-picker [role="option"][aria-selected="true"] { background: #f1e7df; }
.jgv-font-picker [role="option"]:focus-visible { outline: 2px solid #7d5450; outline-offset: -2px; }
