/* Designer concept: photo ornament preview (dc-photo-ornament.js). Scoped under .dz-root. */
.dz-root .dz-stage__canvas:has(.dco) { overflow: hidden; }
.dz-root .dco { display: flex; align-items: center; justify-content: center; gap: 5cqw; width: 100%; height: 100%; }
.dz-root .dco-face { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.dz-root .dco-cap { font-size: .78rem; font-weight: 700; color: var(--dz-slate); background: rgba(255, 255, 255, .75); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.dz-root .dco-blank { position: relative; aspect-ratio: var(--a, 1); width: min(66cqw, calc(74cqh * var(--a, 1)), 520px); }
.dz-root .dco--two .dco-blank { width: min(40cqw, calc(70cqh * var(--a, 1)), 400px); }
.dz-root .dco-base, .dz-root .dco-outline { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.dz-root .dco-base { fill: #fff; filter: drop-shadow(0 6px 14px rgba(1, 1, 12, .2)); }
.dz-root .dco-outline { fill: none; stroke: #c6c6cc; stroke-width: 1px; z-index: 2; }
.dz-root .dco-clip { position: absolute; inset: 0; }
.dz-root .dco-photo { position: absolute; }
.dz-root .dco-photo img { width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.dz-root .dco-motif { position: absolute; width: 100%; height: 100%; pointer-events: none; }
.dz-root .dco-line { position: absolute; z-index: 3; white-space: pre; line-height: 1; font-weight: normal; }
.dz-root .dco-line--ph { color: rgba(1, 1, 12, .35); pointer-events: none; }
.dz-root .dco-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 12%; font: 400 .9rem/1.3 var(--dz-font); color: #9c9ca5; }
/* Tiles: the design on the current blank */
.dz-root .dco-tile { display: grid; place-items: center; width: 100%; height: 100%; }
.dz-root .dco-tile__blank { position: relative; display: block; aspect-ratio: var(--a, 1); width: min(84%, calc(84% * var(--a, 1))); background: #fff; }
.dz-root .dco-tile__blank img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
/* Summary proofs */
.dz-root .dco--mini { gap: 0; height: auto; }
.dz-root .dco--mini .dco-face { width: 100%; }
.dz-root .dco--mini .dco-blank { width: min(100%, calc(100% * var(--a, 1))); }
.dz-root .dco--mini .dco-base { filter: none; }
@media (max-width: 899px) {
    .dz-root .dco-cap { font-size: .7rem; padding: 2px 8px; }
    .dz-root .dco-face { gap: 4px; }
    .dz-root .dco-empty { font-size: .72rem; }
}
