/* ===========================================================================
   GEM AWARDS — DESIGNER SHELL v2 (concept preview, 2026-11-11)
   One stylesheet for every product designer. The designer opens as a WINDOW
   over the product page: backdrop, rounded app window, one scrolling controls
   panel (no gated steps), live preview with drag/resize, and a price bar whose
   Add to cart is always available.

   Every rule is scoped under .dz-root so the theme and the plugin's own
   customizer.css cannot leak in or out. (This file is generated from an
   unscoped source by prefixing; edit it directly from here on.)
   Tokens mirror blocksy-child/assets/gem-design-system.css.
   =========================================================================== */

:root {
    --dz-ink: #01010C;
    --dz-slate: #61616B;
    --dz-mist: #AAAAB2;
    --dz-line: #EBEBED;
    --dz-line-2: #DCDCE1;
    --dz-paper: #FBFBFB;
    --dz-gold: #D39700;
    --dz-gold-lt: #EAC66E;
    --dz-gold-text: #8A6200;
    --dz-gold-wash: #FBF3DF;
    --dz-gold-grad: linear-gradient(180deg, #EAC66E, #D39700);
    --dz-maroon: #5B0209;
    --dz-maroon-mid: #760000;
    --dz-focus: #3762B7;
    --dz-ok: #1F6B3A;
    --dz-warn-bg: #FFF5E2;
    --dz-warn: #7A4B00;
    --dz-tile: linear-gradient(160deg, #F5F5F8, #EBEBF1);
    --dz-r: 16px;
    --dz-r-sm: 12px;
    --dz-shadow-s: 0 2px 10px rgba(1, 1, 12, .05);
    --dz-shadow-m: 0 12px 32px rgba(1, 1, 12, .09);
    --dz-shadow-l: 0 30px 80px rgba(1, 1, 12, .35);
    --dz-ease: cubic-bezier(.16, 1, .3, 1);
    --dz-font: "Quasimoda", "quasimoda", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --dz-font-display: "alga", "Playfair Display", Georgia, serif;
}

html.dz-lock, html.dz-lock body { overflow: hidden !important; }/* ---------------------------------------------------------------------------
   WINDOW
   --------------------------------------------------------------------------- */


.dz-root { all: initial; }
.dz-root, .dz-root *, .dz-root *::before, .dz-root *::after { box-sizing: border-box; }
.dz-root {
    position: fixed; inset: 0; z-index: 2147483000;
    display: grid; place-items: center; padding: 28px;
    font: 400 16px/1.5 var(--dz-font); color: var(--dz-ink); -webkit-font-smoothing: antialiased;
    text-align: left; letter-spacing: normal; text-transform: none;
}
.dz-root[hidden], .dz-root [hidden] { display: none !important; }
.dz-root img { max-width: 100%; display: block; border: 0; }
.dz-root button { font: inherit; color: inherit; margin: 0; text-transform: none; letter-spacing: normal; line-height: inherit; min-height: 0; min-width: 0; box-shadow: none; text-shadow: none; }
.dz-root a { color: inherit; }
.dz-root h2, .dz-root h3 { color: var(--dz-ink); letter-spacing: -.02em; margin: 0; font-family: var(--dz-font); font-weight: 700; text-transform: none; }
.dz-root p { margin: 0; }
.dz-root :focus-visible { outline: 2px solid var(--dz-focus); outline-offset: 2px; }

.dz-root .dz-backdrop { position: absolute; inset: 0; background: rgba(1, 1, 12, .5); backdrop-filter: blur(2px); animation: dz-fade .25s ease; }
.dz-root .dz-window:focus { outline: none; }
.dz-root .dz-window {
    position: relative; width: min(1180px, 100%); height: min(760px, 100%);
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
    background: #fff; border-radius: 20px; box-shadow: var(--dz-shadow-l); overflow: hidden;
    animation: dz-pop .35s var(--dz-ease);
}
@keyframes dz-fade { from { opacity: 0; } }
@keyframes dz-pop { from { opacity: 0; transform: translateY(14px) scale(.985); } }

.dz-root .dz-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--dz-line); min-width: 0; }
.dz-root .dz-top__title { min-width: 0; flex: 1; }
.dz-root .dz-top__title h2 { font-size: 1.08rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-root .dz-top__title p { font-size: .82rem; color: var(--dz-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-root .dz-close {
    width: 40px; height: 40px; flex: none; display: grid; place-items: center; padding: 0;
    border: 1.5px solid var(--dz-line); border-radius: 50%; background: #fff; cursor: pointer; color: var(--dz-slate);
}
.dz-root .dz-close:hover { border-color: var(--dz-ink); color: var(--dz-ink); }
.dz-root .dz-close svg { width: 16px; height: 16px; }

.dz-root .dz-tag {
    display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
    background: var(--dz-gold-wash); color: var(--dz-gold-text);
    font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; vertical-align: middle;
}
.dz-root .dz-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--dz-gold); }
.dz-root .dz-tag--quiet { background: #F1F1F4; color: var(--dz-slate); }
.dz-root .dz-tag--quiet::before { background: var(--dz-mist); }

.dz-root .dz-body { display: grid; grid-template-columns: minmax(0, 1fr) 440px; min-height: 0; }/* ---------------------------------------------------------------------------
   STAGE
   --------------------------------------------------------------------------- */


.dz-root .dz-stagewrap { padding: 16px; min-width: 0; min-height: 0; background: #fff; }
.dz-root .dz-stage { height: 100%; display: flex; flex-direction: column; border-radius: var(--dz-r); background: var(--dz-tile); position: relative; overflow: hidden; }
.dz-root .dz-stage__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 0; position: relative; z-index: 4; min-width: 0; }
.dz-root .dz-stage__canvas { flex: 1; min-height: 0; container-type: size; display: grid; place-items: center; padding: 22px; position: relative; }
.dz-root .dz-stage__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px 12px; min-width: 0; position: relative; z-index: 4; }
.dz-root .dz-promise { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--dz-slate); min-width: 0; }
.dz-root .dz-promise b { color: var(--dz-ink); }
.dz-root .dz-promise svg { width: 18px; height: 18px; flex: none; color: var(--dz-gold); }
.dz-root .dz-hint { font-size: .8rem; color: var(--dz-slate); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dz-root .dz-stagebadge { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 5; font-size: .76rem; color: var(--dz-warn); background: var(--dz-warn-bg); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.dz-root .dz-viewtoggle { display: inline-flex; padding: 3px; gap: 2px; background: rgba(255, 255, 255, .75); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--dz-line); }
.dz-root .dz-viewtoggle button { border: 0; background: transparent; cursor: pointer; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--dz-slate); }
.dz-root .dz-viewtoggle button[aria-pressed="true"] { background: #fff; color: var(--dz-ink); box-shadow: var(--dz-shadow-s); }

.dz-root .dz-flip { display: inline-flex; align-items: center; gap: 2px; background: #fff; border-radius: 999px; padding: 3px; box-shadow: var(--dz-shadow-s); min-width: 0; max-width: 100%; }
.dz-root .dz-flip button { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.dz-root .dz-flip button:hover { background: var(--dz-paper); }
.dz-root .dz-flip button:disabled { opacity: .3; cursor: default; }
.dz-root .dz-flip svg { width: 15px; height: 15px; }
.dz-root .dz-flip__label { font-size: .82rem; padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }/* Draggable objects on the preview + the selection frame drawn above them. */


.dz-root .dz-obj { position: absolute; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.dz-root .dz-obj:active { cursor: grabbing; }

/* Reveal the movable objects on pointer hover, as in the template designer. */
@media (hover: hover) {
    .dz-root .dz-stage__canvas:hover { --dz-move-outline: rgb(211 151 0 / 45%); }
    .dz-root .dz-stage__canvas :is(
        .dz-obj:not(.dcm-art, .dcc-art, .dcmp-pic, .dcp-photo__img, .dco-photo),
        :is(.dcm-insert, .dcc-insert, .dcmp-win, .dcp-photo):has(> .dz-obj)
    ) {
        outline: 1.5px dashed var(--dz-move-outline, transparent);
        outline-offset: 3px;
        transition: outline-color var(--dz-move-fade, .18s);
    }
    .dz-root .dz-stage__canvas :is(.dz-obj, .dcm-insert, .dcc-insert, .dcmp-win, .dcp-photo, .dco-blank):hover {
        --dz-move-outline: var(--dz-gold);
    }
    .dz-root .dz-stage__canvas:hover .dco-blank:has(.dco-photo.dz-obj) .dco-outline {
        stroke: var(--dz-move-outline);
        stroke-width: 1.5px;
        stroke-dasharray: 4 3;
    }
}
@media (prefers-reduced-motion: reduce) {
    .dz-root { --dz-move-fade: 0s; }
}
.dz-root .dz-sel { position: absolute; z-index: 6; pointer-events: none; border: 2px solid #D39700; border-radius: 0; box-sizing: border-box; }
/* Corner handles as in the old designer (white, 11px) with a gold ring; a larger invisible hit area. */
.dz-root .dz-sel__h {
    position: absolute; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box;
    background: #fff; border: 2px solid #D39700; box-shadow: 0 1px 3px rgba(0,0,0,.25);
    pointer-events: auto; touch-action: none;
}
.dz-root .dz-sel__h::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.dz-root .dz-sel__h--tl { left: -6.5px; top: -6.5px; cursor: nwse-resize; }
.dz-root .dz-sel__h--tr { right: -6.5px; top: -6.5px; cursor: nesw-resize; }
.dz-root .dz-sel__h--bl { left: -6.5px; bottom: -6.5px; cursor: nesw-resize; }
.dz-root .dz-sel__h--br { right: -6.5px; bottom: -6.5px; cursor: nwse-resize; }
/* Snap guides: pink, dashed, with a thin white halo; stage overlay only, never in a proof. */
.dz-root .dz-guides { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 7; pointer-events: none; overflow: visible; }
.dz-root .dz-guides[hidden] { display: none; }
.dz-root .dz-guide__halo { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 3.5; stroke-linecap: butt; }
.dz-root .dz-guide__line { fill: none; stroke: #FF2D95; stroke-width: 1.5; stroke-dasharray: 6 5; }
.dz-root .dz-sel__label { position: absolute; left: -2px; top: -26px; font: 700 .7rem/1 var(--dz-font); color: #fff; background: var(--dz-gold); padding: 4px 7px; border-radius: 6px; white-space: nowrap; }/* ---------------------------------------------------------------------------
   PANEL: jump links + ONE scrolling column of sections
   --------------------------------------------------------------------------- */


.dz-root .dz-panel { display: flex; flex-direction: column; min-height: 0; border-left: 1px solid var(--dz-line); background: #fff; }
.dz-root .dz-jump { display: flex; gap: 4px; padding: 10px 16px 0; border-bottom: 1px solid var(--dz-line); background: #fff; overflow-x: auto; scrollbar-width: none; }
.dz-root .dz-jump::-webkit-scrollbar { display: none; }
.dz-root .dz-jump button {
    flex: none; border: 0; background: none; cursor: pointer; padding: 8px 10px 11px; position: relative;
    font-size: .84rem; font-weight: 700; color: var(--dz-mist); white-space: nowrap;
}
.dz-root .dz-jump button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px; background: transparent; }
.dz-root .dz-jump button:hover { color: var(--dz-slate); }
.dz-root .dz-jump button.is-active { color: var(--dz-ink); }
.dz-root .dz-jump button.is-active::after { background: var(--dz-gold-grad); }
.dz-root .dz-panel__body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 24px 28px; scroll-padding-top: 8px; }

.dz-root .dz-sec { padding: 22px 0 26px; border-top: 1px solid var(--dz-line); scroll-margin-top: 4px; }
.dz-root .dz-sec:first-child { border-top: 0; }
.dz-root .dz-sec__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.dz-root .dz-sec__n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--dz-gold-wash); color: var(--dz-gold-text); font-size: .78rem; font-weight: 700; display: grid; place-items: center; transform: translateY(-2px); }
.dz-root .dz-sec__head h3 { font-size: 1.22rem; line-height: 1.2; }
.dz-root .dz-sec__lead { color: var(--dz-slate); font-size: .9rem; margin: 2px 0 0 34px; }
.dz-root .dz-field { margin-top: 20px; }
.dz-root .dz-field--tight { margin-top: 12px; }
.dz-root .dz-label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; font-size: .92rem; margin: 0 0 9px; }
.dz-root .dz-label__val { font-weight: 400; color: var(--dz-slate); font-size: .86rem; text-align: right; }
.dz-root .dz-help { font-size: .82rem; color: var(--dz-slate); margin-top: 8px; }
.dz-root .dz-help b { color: var(--dz-ink); }/* ---------------------------------------------------------------------------
   CONTROLS
   --------------------------------------------------------------------------- */


.dz-root .dz-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 9px; }
.dz-root .dz-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dz-root .dz-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dz-root .dz-tile {
    position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 7px; padding: 7px 7px 9px; min-width: 0;
    border: 1.5px solid var(--dz-line); border-radius: var(--dz-r); background: #fff; cursor: pointer; text-align: center;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.dz-root .dz-tile:hover { border-color: var(--dz-line-2); box-shadow: var(--dz-shadow-s); }
.dz-root .dz-tile[aria-pressed="true"] { border-color: var(--dz-gold); background: var(--dz-gold-wash); box-shadow: 0 0 0 3px rgba(211, 151, 0, .14); }
.dz-root .dz-tile[aria-pressed="true"]::after {
    content: ""; position: absolute; top: 6px; right: 6px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--dz-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}
.dz-root .dz-tile__media { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--dz-tile); display: grid; place-items: center; }
.dz-root .dz-tile__media img { width: 100%; height: 100%; object-fit: cover; }
.dz-root .dz-tile__media--contain img { object-fit: contain; padding: 6%; }
.dz-root .dz-tile__name { font-weight: 700; font-size: .84rem; line-height: 1.2; }
.dz-root .dz-tile__meta { font-size: .76rem; color: var(--dz-slate); line-height: 1.25; margin-top: -3px; }

.dz-root .dz-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; }
.dz-root .dz-swatch {
    flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 50%;
    cursor: pointer; position: relative; background-size: cover; background-position: center;
    background-repeat: no-repeat; background-origin: content-box; background-clip: content-box;
}
.dz-root .dz-swatch::before,
.dz-root .dz-swatch[aria-pressed="true"]::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.dz-root .dz-swatch::before { inset: 10px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dz-root .dz-swatch[aria-pressed="true"]::after { inset: 6px; border: 2px solid var(--dz-gold); }
.dz-root .dz-swatch:is(:focus-visible, :has(input:focus-visible)) {
    outline: 2px solid var(--dz-ink); outline-offset: 1px;
}
.dz-root .dz-swatch--custom { background-image: conic-gradient(#e33, #fc3, #3c6, #39f, #93f, #e33); }
.dz-root .dz-swatch input[type="color"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }

.dz-root .dz-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); padding: 4px; gap: 4px; border-radius: 999px; background: #F1F1F4; }
.dz-root .dz-seg button { border: 0; background: transparent; cursor: pointer; border-radius: 999px; padding: 9px 10px; font-size: .86rem; font-weight: 700; color: var(--dz-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dz-root .dz-seg button[aria-pressed="true"] { background: #fff; color: var(--dz-ink); box-shadow: var(--dz-shadow-s); }

.dz-root .dz-choices { display: grid; gap: 8px; }
.dz-root .dz-choice { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; padding: 13px 15px; border-radius: var(--dz-r); cursor: pointer; border: 1.5px solid var(--dz-line); background: #fff; }
.dz-root .dz-choice::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--dz-mist); background: #fff; }
.dz-root .dz-choice[aria-pressed="true"] { border-color: var(--dz-gold); background: var(--dz-gold-wash); }
.dz-root .dz-choice[aria-pressed="true"]::before { box-shadow: inset 0 0 0 6px var(--dz-gold); }
.dz-root .dz-choice strong { display: block; font-size: .92rem; }
.dz-root .dz-choice span { display: block; font-size: .83rem; color: var(--dz-slate); margin-top: 2px; }
.dz-root .dz-choice small { display: block; font-size: .78rem; color: var(--dz-gold-text); margin-top: 4px; font-weight: 700; }

.dz-root .dz-input, .dz-root .dz-textarea, .dz-root .dz-select {
    display: block; width: 100%; min-width: 0; margin: 0; height: auto;
    border: 1.5px solid var(--dz-line-2); border-radius: var(--dz-r-sm); background: #fff; color: var(--dz-ink);
    font: 400 16px/1.35 var(--dz-font); padding: 11px 13px; box-shadow: none;
}
.dz-root .dz-input:focus, .dz-root .dz-textarea:focus, .dz-root .dz-select:focus { outline: none; border-color: var(--dz-gold); box-shadow: 0 0 0 3px rgba(211, 151, 0, .16); }
.dz-root .dz-input::placeholder, .dz-root .dz-textarea::placeholder { color: var(--dz-mist); }
.dz-root .dz-textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.dz-root .dz-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2361616B' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
.dz-root .dz-inline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dz-root .dz-inline--split { justify-content: space-between; }

.dz-root .dz-range { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--dz-slate); }
.dz-root .dz-range input { flex: 1; min-width: 0; accent-color: var(--dz-gold); height: 28px; margin: 0; padding: 0; border: 0; background: none; }

.dz-root .dz-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--dz-line-2); border-radius: 999px; background: #fff; flex: none; }
.dz-root .dz-qty button { width: 38px; height: 38px; border: 0; background: none; cursor: pointer; font-size: 1.15rem; border-radius: 50%; padding: 0; }
.dz-root .dz-qty button:hover { background: var(--dz-paper); }
.dz-root .dz-qty input { width: 58px; border: 0; text-align: center; font: 700 16px var(--dz-font); color: var(--dz-ink); background: none; -moz-appearance: textfield; padding: 0; margin: 0; height: auto; box-shadow: none; }
.dz-root .dz-qty input::-webkit-outer-spin-button, .dz-root .dz-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dz-root .dz-qty--sm button { width: 28px; height: 28px; font-size: 1rem; }
.dz-root .dz-qty--sm input { width: 32px; font-size: 15px; }

.dz-root .dz-drop { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; padding: 18px 16px; border-radius: var(--dz-r); border: 1.5px dashed var(--dz-mist); background: #FCFCFD; transition: border-color .2s, background .2s; }
.dz-root .dz-drop.is-over { border-color: var(--dz-gold); background: var(--dz-gold-wash); }
.dz-root .dz-drop strong { font-size: .95rem; }
.dz-root .dz-drop small { color: var(--dz-slate); font-size: .8rem; }
.dz-root .dz-drop__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 8px; }
.dz-root .dz-file { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--dz-r); border: 1.5px solid var(--dz-line); background: #fff; }
.dz-root .dz-file__thumb { width: 56px; height: 56px; flex: none; border-radius: 10px; background: var(--dz-tile); display: grid; place-items: center; overflow: hidden; }
.dz-root .dz-file__thumb img { max-width: 86%; max-height: 86%; object-fit: contain; }
.dz-root .dz-file__body { min-width: 0; flex: 1; }
.dz-root .dz-file__name { font-weight: 700; font-size: .88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-root .dz-file__ok { font-size: .8rem; color: var(--dz-slate); }
.dz-root .dz-file__links { display: flex; gap: 14px; font-size: .82rem; margin-top: 2px; }

.dz-root .dz-fonts { display: grid; gap: 7px; }
.dz-root .dz-font { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 9px 13px; border-radius: 14px; cursor: pointer; text-align: left; border: 1.5px solid var(--dz-line); background: #fff; }
.dz-root .dz-font[aria-pressed="true"] { border-color: var(--dz-gold); background: var(--dz-gold-wash); }
.dz-root .dz-font__sample { font-size: 1.25rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dz-root .dz-font__name { font-size: .74rem; color: var(--dz-slate); white-space: nowrap; flex: none; }

.dz-root .dz-note { padding: 11px 13px; border-radius: var(--dz-r-sm); background: #F4F4F7; color: var(--dz-slate); font-size: .84rem; margin-top: 12px; }
.dz-root .dz-note b { color: var(--dz-ink); }
.dz-root .dz-note--warn { background: var(--dz-warn-bg); color: var(--dz-warn); }
.dz-root .dz-note--warn b { color: var(--dz-warn); }
.dz-root .dz-note--gold { background: var(--dz-gold-wash); color: var(--dz-gold-text); }
.dz-root .dz-note--gold b { color: var(--dz-gold-text); }

.dz-root .dz-link { color: var(--dz-slate); text-decoration: underline; text-decoration-color: rgba(97, 97, 107, .55); text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: inherit; }
.dz-root .dz-link:hover { color: var(--dz-ink); text-decoration-color: var(--dz-ink); background: none; }

.dz-root .dz-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; font: 700 1rem/1 var(--dz-font); text-decoration: none; white-space: nowrap; transition: filter .25s var(--dz-ease), box-shadow .25s var(--dz-ease), background .2s, color .2s; }
.dz-root .dz-btn svg { width: 18px; height: 18px; }
.dz-root .dz-btn--gold { background: var(--dz-gold-grad); color: #fff; text-shadow: 0 1px 1px rgba(120, 80, 0, .25); }
.dz-root .dz-btn--gold:hover { filter: brightness(.96); box-shadow: 0 10px 22px -10px rgba(211, 151, 0, .8); color: #fff; }
.dz-root .dz-btn--outline { background: transparent; color: var(--dz-gold); box-shadow: inset 0 0 0 1.5px var(--dz-gold); }
.dz-root .dz-btn--outline:hover { background: var(--dz-gold-grad); color: #fff; box-shadow: none; }
.dz-root .dz-btn--sm { padding: 9px 16px; font-size: .88rem; }
.dz-root .dz-btn--block { width: 100%; }
.dz-root label.dz-btn { margin: 0; }/* ---------------------------------------------------------------------------
   LIST ROWS (names, engravings, plaque wording)
   --------------------------------------------------------------------------- */


.dz-root .dz-count { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 16px 0 8px; }
.dz-root .dz-count strong { font-size: .96rem; }
.dz-root .dz-rows { display: grid; gap: 6px; }
.dz-root .dz-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto 26px; grid-template-areas: "n a q x" "n b q x"; gap: 4px 8px; align-items: center; padding: 6px 6px 6px 8px; border-radius: var(--dz-r-sm); border: 1.5px solid transparent; background: #F7F7F9; }
.dz-root .dz-row.is-current { border-color: var(--dz-gold); background: var(--dz-gold-wash); }
.dz-root .dz-row.is-bad { border-color: #E2A33C; background: var(--dz-warn-bg); }
.dz-root .dz-row__n { grid-area: n; font-size: .76rem; color: var(--dz-slate); text-align: center; font-weight: 700; }
.dz-root .dz-row input[type="text"] { display: block; border: 1.5px solid transparent; background: #fff; border-radius: 9px; padding: 7px 9px; font: 400 16px/1.2 var(--dz-font); width: 100%; min-width: 0; color: var(--dz-ink); margin: 0; height: auto; box-shadow: none; }
.dz-root .dz-row input[type="text"]:focus { outline: none; border-color: var(--dz-gold); }
.dz-root .dz-row > input:nth-of-type(1) { grid-area: a; font-weight: 700; }
.dz-root .dz-row > input:nth-of-type(2) { grid-area: b; }
.dz-root .dz-row .dz-qty, .dz-root .dz-row .dz-sizes { grid-area: q; }
.dz-root .dz-row__x { grid-area: x; width: 26px; height: 26px; border-radius: 50%; border: 0; background: none; color: var(--dz-mist); cursor: pointer; font-size: 1.1rem; padding: 0; }
.dz-root .dz-row__x:hover { color: var(--dz-ink); background: #fff; }
.dz-root .dz-row__flag { grid-column: 2 / -1; font-size: .76rem; color: var(--dz-warn); }
.dz-root .dz-row--single { grid-template-areas: "n a q x"; }
.dz-root .dz-row--single > input:nth-of-type(1) { font-weight: 400; }
.dz-root .dz-rows__more { margin-top: 8px; text-align: center; font-size: .86rem; }
.dz-root .dz-sizes { display: inline-flex; border: 1.5px solid var(--dz-line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.dz-root .dz-sizes button { border: 0; background: none; width: 28px; height: 28px; font: 700 .74rem var(--dz-font); color: var(--dz-slate); cursor: pointer; padding: 0; }
.dz-root .dz-sizes button[aria-pressed="true"] { background: var(--dz-gold-wash); color: var(--dz-gold-text); }/* ---------------------------------------------------------------------------
   SUMMARY
   --------------------------------------------------------------------------- */


.dz-root .dz-proofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 9px; margin-top: 12px; }
.dz-root .dz-proof { border: 1.5px solid var(--dz-line); border-radius: 14px; background: var(--dz-tile); padding: 10px 9px 7px; cursor: pointer; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dz-root .dz-proof:hover { border-color: var(--dz-line-2); }
.dz-root .dz-proof.is-current { border-color: var(--dz-gold); }
.dz-root .dz-proof__cap { display: flex; justify-content: space-between; gap: 6px; font-size: .72rem; color: var(--dz-slate); min-width: 0; }
.dz-root .dz-proof__cap span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-root .dz-proof__cap b { color: var(--dz-ink); }
.dz-root .dz-spec { margin: 14px 0 0; border: 1.5px solid var(--dz-line); border-radius: var(--dz-r); overflow: hidden; }
.dz-root .dz-spec__row { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 11px 14px; border-top: 1px solid var(--dz-line); font-size: .88rem; }
.dz-root .dz-spec__row:first-child { border-top: 0; }
.dz-root .dz-spec__row dt { color: var(--dz-slate); font-size: .8rem; }
.dz-root .dz-spec__row dd { margin: 0; font-weight: 700; min-width: 0; }
.dz-root .dz-spec__row dd small { display: block; font-weight: 400; color: var(--dz-slate); font-size: .8rem; }
.dz-root .dz-lines { margin-top: 14px; padding: 13px 15px; border-radius: var(--dz-r); background: #F7F7F9; font-size: .88rem; }
.dz-root .dz-lines__row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.dz-root .dz-lines__row span:first-child { color: var(--dz-slate); }
.dz-root .dz-lines__row--save span { color: var(--dz-gold-text) !important; }
.dz-root .dz-lines__row--total { border-top: 1px solid var(--dz-line-2); margin-top: 6px; padding-top: 9px; font-weight: 700; font-size: 1rem; }
.dz-root .dz-lines__row--total span:first-child { color: var(--dz-ink); }/* ---------------------------------------------------------------------------
   PRICE BAR: always visible, Add to cart always available
   --------------------------------------------------------------------------- */


.dz-root .dz-pricebar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px 12px 22px; border-top: 1px solid var(--dz-line); background: #fff; min-width: 0; }
.dz-root .dz-price { min-width: 0; flex: 1; display: flex; align-items: center; gap: 18px; }
.dz-root .dz-price__main { min-width: 0; }
.dz-root .dz-price__total { display: flex; align-items: center; gap: 8px; font-size: 1.35rem; font-weight: 700; line-height: 1.15; }
.dz-root .dz-price__unit { font-size: .82rem; color: var(--dz-slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dz-root .dz-price__unit b { color: var(--dz-ink); }
.dz-root .dz-price__unit .dz-off { color: var(--dz-gold-text); }
.dz-root .dz-break { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--dz-slate); min-width: 0; }
.dz-root .dz-break__track { flex: none; width: 56px; height: 5px; border-radius: 5px; background: var(--dz-line); overflow: hidden; }
.dz-root .dz-break__fill { display: block; height: 100%; background: var(--dz-gold-grad); border-radius: 5px; transition: width .4s var(--dz-ease); }
.dz-root .dz-break b { color: var(--dz-gold-text); }
.dz-root .dz-break span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }/* Demo note shown in place of a real cart post. */


.dz-root .dz-demo { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(1, 1, 12, .38); backdrop-filter: blur(3px); }
/* The result card ("Added to cart", "Adding…", a problem to fix). 2026-11-20, Treyson: white with round
   corners, and a green tick when something was added. It was a maroon card with cut corners. */
.dz-root .dz-demo__card {
    position: relative; width: min(440px, 100%); padding: 34px 30px 26px; text-align: center; color: var(--dz-ink);
    background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(1, 1, 12, .22), 0 0 0 1px var(--dz-line);
}
.dz-root .dz-demo[data-ok="1"] .dz-demo__card::before {
    content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%;
    background: #E4F3E9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6B3A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px 28px no-repeat;
}
.dz-root .dz-demo__card h3 { font-family: var(--dz-font); font-weight: 700; color: var(--dz-ink); font-size: 1.5rem; line-height: 1.25; letter-spacing: 0; }   /* Quasimoda, the body face (Treyson 11-20) */
.dz-root .dz-demo__card p { margin: 10px 0 20px; color: var(--dz-slate); font-size: .92rem; }
.dz-root .dz-demo__card .dz-btn { position: relative; z-index: 1; }

.dz-root .dz-toast { position: absolute; left: 50%; bottom: 84px; transform: translate(-50%, 16px); opacity: 0; z-index: 30; background: var(--dz-ink); color: #fff; padding: 9px 15px; border-radius: 999px; font-size: .86rem; transition: opacity .25s, transform .25s var(--dz-ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.dz-root .dz-toast.is-on { opacity: 1; transform: translate(-50%, 0); }/* Launch button added beside the product's own designer button. */


.dz-launch {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 10px 0 0; padding: 14px 24px;
    border: 0; border-radius: 999px; cursor: pointer; background: var(--dz-gold-grad); color: #fff;
    font: 700 1rem/1 var(--dz-font); text-shadow: 0 1px 1px rgba(120, 80, 0, .25);
}
.dz-launch small { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: rgba(255, 255, 255, .25); padding: 3px 7px; border-radius: 999px; }
.dz-launch-note { margin: 6px 0 0; font: 400 .8rem/1.4 var(--dz-font); color: var(--dz-slate); text-align: center; }/* ---------------------------------------------------------------------------
   PHONE: near-full-screen window; stage + jump links pin; one scroll
   --------------------------------------------------------------------------- */


@media (max-width: 899px) {
    .dz-root { padding: 8px; }
    .dz-root .dz-window:focus { outline: none; }
.dz-root .dz-window { height: 100%; border-radius: 16px; }
    .dz-root .dz-top { padding: 10px 10px 10px 16px; }
    .dz-root .dz-top__title h2 { font-size: 1rem; }
    .dz-root .dz-top .dz-tag { display: none; }
    .dz-root .dz-body { display: block; overflow-y: auto; overscroll-behavior: contain; }
    .dz-root .dz-stagewrap { position: sticky; top: 0; z-index: 8; padding: 8px 8px 6px; box-shadow: 0 10px 16px -14px rgba(1, 1, 12, .5); }
    .dz-root .dz-stage { height: auto; }
    .dz-root .dz-stage__head { position: absolute; top: 8px; left: 8px; right: 8px; padding: 0; }
    .dz-root .dz-stage__canvas { flex: none; height: 30vh; min-height: 190px; max-height: 280px; padding: 46px 12px 26px; }
    .dz-root .dz-stage__foot { position: absolute; left: 10px; right: 10px; bottom: 6px; padding: 0; pointer-events: none; }
    .dz-root .dz-promise { display: none; }
    .dz-root .dz-hint { text-align: left; font-size: .72rem; }
    .dz-root .dz-stagebadge { bottom: 26px; font-size: .7rem; }
    .dz-root .dz-panel { border-left: 0; display: block; }
    .dz-root .dz-jump { position: sticky; top: var(--dz-stage-h, 0px); z-index: 7; padding: 4px 8px 0; }
    .dz-root .dz-jump button { padding: 8px 8px 10px; font-size: .8rem; }
    .dz-root .dz-panel__body { overflow: visible; padding: 0 16px 20px; }
    .dz-root .dz-pricebar { padding: 10px 12px 10px 16px; gap: 10px; }
    .dz-root .dz-price { display: block; }
    .dz-root .dz-price__total { font-size: 1.15rem; }
    .dz-root .dz-price__total .dz-tag { font-size: .6rem; padding: 2px 6px; }
    .dz-root .dz-price__unit { font-size: .76rem; }
    .dz-root .dz-break { font-size: .72rem; margin-top: 2px; }
    .dz-root .dz-break__track { width: 34px; }
    .dz-root .dz-pricebar .dz-btn { padding: 13px 18px; font-size: .95rem; }
    .dz-root .dz-tiles { grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
    .dz-root .dz-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .dz-root .dz-tiles--4 .dz-tile { padding: 5px 5px 7px; }
    .dz-root .dz-tiles--4 .dz-tile__name { font-size: .74rem; }
    .dz-root .dz-tiles--4 .dz-tile__meta { font-size: .68rem; }
    .dz-root .dz-spec__row { grid-template-columns: 70px minmax(0, 1fr) auto; }
    .dz-root .dz-toast { bottom: 78px; }
    .dz-root .dz-sel__h::before { inset: -13px; }
}

@media (prefers-reduced-motion: reduce) {
    .dz-root *, .dz-root *::before, .dz-root *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------------------
   PRODUCT DRAWINGS (one block per product type; still one stylesheet)
   The look comes from the plugin's own assets: textures, photos, fonts.
   --------------------------------------------------------------------------- */
/* Name tag */
.dz-root .dct { position: relative; aspect-ratio: var(--ratio, 3); container-type: inline-size; width: min(88cqw, 640px, calc(62cqh * var(--ratio, 3))); }
.dz-root .dct--mini { width: 100%; }
.dz-root .dct-face {
    position: absolute; inset: 0; overflow: hidden; border-radius: 2.8cqw;
    box-shadow: inset 0 0 0 max(1px, .3cqw) var(--stroke, #e2e2ea), 0 2cqw 5cqw rgba(1, 1, 12, .16), 0 .4cqw .8cqw rgba(0, 0, 0, .08);
}
.dz-root .dct--mini .dct-face { box-shadow: inset 0 0 0 1px var(--stroke, #e2e2ea), 0 4px 10px rgba(1, 1, 12, .12); }
.dz-root .dct-logo { display: grid; place-items: center; }
.dz-root .dct-logo img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dz-root .dct-line { white-space: nowrap; line-height: 1.12; font-weight: normal; }
.dz-root .dct-face.is-placeholder .dct-line { opacity: .5; }
.dz-root .dct-face--back { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2cqw; }
.dz-root .dct-att { height: 58%; width: auto; max-width: 70%; object-fit: contain; mix-blend-mode: multiply; border-radius: 2cqw; }
.dz-root .dct-backlabel { font: 400 3cqw/1.2 var(--dz-font); color: #61616B; }
.dz-root .dct--mini .dz-obj { cursor: pointer; }

/* Medal: the plugin's photographed holder + ribbon, an insert in the real finish swatch */
.dz-root .dcm { position: relative; aspect-ratio: 1; width: min(100cqw, 680px, 120cqh); transform: translateY(-7%); }
.dz-root .dcm--mini { transform: none; }
.dz-root .dcm--mini { width: 100%; }
.dz-root .dz-stage__canvas:has(.dcm) { overflow: hidden; }
.dz-root .dcm-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; filter: drop-shadow(0 12px 18px rgba(1, 1, 12, .16)); }
.dz-root .dcm-insert { position: absolute; border-radius: 50%; overflow: hidden; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), inset 0 2px 6px rgba(0, 0, 0, .18); }
.dz-root .dcm-art { position: absolute; display: grid; place-items: center; }
.dz-root .dcm-art img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dz-root .dcm-art.is-knock img { mix-blend-mode: multiply; }
.dz-root .dcm-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 400 2.6cqw/1.3 var(--dz-font); color: rgba(0, 0, 0, .5); padding: 14%; }
.dz-root .dcm-back { position: absolute; left: 12%; top: 12%; width: 76%; height: 76%; border-radius: 50%; background-size: cover; background-position: center; box-shadow: inset 0 0 0 max(2px, .9cqw) var(--stroke, #c9a02f), inset 0 0 0 max(3px, 1.6cqw) rgba(255,255,255,.25), 0 14px 26px rgba(1, 1, 12, .18); display: grid; place-items: center; }
.dz-root .dcm-eng { font-family: "GND Gothic", Arial, Helvetica, sans-serif; font-weight: normal; text-align: center; line-height: 1.25; white-space: nowrap; color: rgba(30, 24, 10, .78); }
.dz-root .dcm-eng.is-placeholder { opacity: .45; font-family: var(--dz-font); }
.dz-root .dcm-pin { position: absolute; z-index: 2; }

/* Award plaque: the plugin's board product photo (background removed), the plate drawn to the real plate size */
.dz-root .dcp { position: relative; aspect-ratio: var(--ratio, .8); width: min(78cqw, 560px, calc(90cqh * var(--ratio, .8))); }
.dz-root .dcp--mini { width: 100%; }
.dz-root .dcp-board { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 14px 22px rgba(1, 1, 12, .22)); }
.dz-root .dcp-board--flat { border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.25), 0 14px 22px rgba(1, 1, 12, .22); }
.dz-root .dcp-plate { position: absolute; overflow: hidden; background-size: cover; background-position: center; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.dz-root .dcp-block { position: absolute; text-align: var(--align, center); }
/* As the plugin's Textbox: line height 1.08 x fabric's 1.13 font box; words wrap at spaces only. */
.dz-root .dcp-line { line-height: 1.22; overflow-wrap: normal; font-weight: normal; }
.dz-root .dcp-logo { position: absolute; display: grid; place-items: center; }
.dz-root .dcp-logo img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.dz-root .dcp-mask { width: 100%; height: 100%; background: var(--ink); -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.dz-root .dcp-empty { opacity: .5; }
.dz-root .dz-vary { border: 1.5px solid var(--dz-line-2); background: #fff; border-radius: 999px; padding: 0 9px; height: 28px; font: 700 .72rem var(--dz-font); color: var(--dz-slate); cursor: pointer; white-space: nowrap; }
.dz-root .dz-vary[aria-pressed="true"] { background: var(--dz-gold-wash); color: var(--dz-gold-text); border-color: var(--dz-gold); }
.dz-root .dz-lineed { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto 26px; grid-template-areas: "n a s v x"; gap: 6px; align-items: center; padding: 6px 6px 6px 8px; border-radius: var(--dz-r-sm); background: #F7F7F9; }
.dz-root .dz-lineed .dz-row__n { grid-area: n; } .dz-root .dz-lineed input { grid-area: a; } .dz-root .dz-lineed .dz-sizes { grid-area: s; } .dz-root .dz-lineed .dz-vary { grid-area: v; } .dz-root .dz-lineed .dz-row__x { grid-area: x; }
.dz-root .dz-lineed input[type="text"] { display: block; border: 1.5px solid transparent; background: #fff; border-radius: 9px; padding: 7px 9px; font: 400 16px/1.2 var(--dz-font); width: 100%; min-width: 0; color: var(--dz-ink); margin: 0; height: auto; box-shadow: none; }
.dz-root .dz-lineed input[type="text"]:focus { outline: none; border-color: var(--dz-gold); }
@media (max-width: 899px) { .dz-root .dz-lineed { grid-template-columns: 18px minmax(0, 1fr) auto 26px; grid-template-areas: "n a a x" "n s v x"; } .dz-root .dz-lineed .dz-row__n { grid-area: n; } .dz-root .dz-lineed input { grid-area: a; } .dz-root .dz-lineed .dz-sizes { grid-area: s; justify-self: start; } .dz-root .dz-lineed .dz-vary { grid-area: v; justify-self: end; } .dz-root .dz-lineed .dz-row__x { grid-area: x; } }

/* Tighter corners on everything but the product preview (Treyson 11-12:
   "decrease the corner radius on all the things here, besides the tag").
   Pills (buttons, toggles, badges) and round controls keep their shape. */
.dz-root { --dz-r: 8px; --dz-r-sm: 6px; }
.dz-root .dz-window { border-radius: 12px; }
.dz-root :is(.dz-tile__media, .dz-file__thumb) { border-radius: 6px; }
.dz-root :is(.dz-font, .dz-proof) { border-radius: 8px; }
.dz-root :is(.dz-row, .dz-lineed) input[type="text"] { border-radius: 6px; }
.dz-root .dz-sel__label { border-radius: 4px; }

/* default mode: the quiet way back to the classic designer */
.dz-classic-link { display: inline-block; margin: 10px 0 0; font: 600 .86rem/1.3 "Quasimoda", system-ui, sans-serif; color: #61616B; text-decoration: underline; text-decoration-color: #61616B; text-underline-offset: 3px; }
.dz-classic-link:hover { color: #01010C; text-decoration-color: #01010C; }

/* Customizer family additions (v3): one-colour laser logo, the sign holder,
   flat-cornered metal pieces, the fixed SUU mark, rows with 3+ lines. */
.dz-root .dct-mask { display: block; width: 100%; height: 100%; -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat; }
.dz-root .dct--uniform .dct-face, .dz-root .dct--bell .dct-face, .dz-root .dct--nameplate .dct-face { border-radius: .4cqw; }
.dz-root .dct--nameplate { width: min(84cqw, 720px, calc(54cqh * var(--ratio, 4))); }
.dz-root .dct-holder { position: absolute; inset: -2.2cqw -1.6cqw; border-radius: 1cqw; box-shadow: 0 2cqw 4cqw rgba(1, 1, 12, .2), inset 0 0 0 1px rgba(0, 0, 0, .25); }
.dz-root .dct-holder > .dct-face { inset: 2.2cqw 1.6cqw; box-shadow: inset 0 0 0 max(1px, .2cqw) var(--stroke, #d8d8d4), inset 0 .4cqw .8cqw rgba(0, 0, 0, .18); }
.dz-root .dct--mini .dct-holder { inset: -4% -2%; }
.dz-root .dct-logo--fixed { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.dz-root .dct-logo--fixed img { width: 100%; height: auto; }
.dz-root .dct-empty { position: absolute; inset: 0; display: grid; place-items: center; font: 400 4cqw/1.2 var(--dz-font); opacity: .45; }
.dz-root .dz-row--multi { grid-template-areas: "n f q x"; }
.dz-root .dz-row__fields { grid-area: f; display: grid; gap: 4px; min-width: 0; }
.dz-root .dz-row--multi .dz-row__fields > input:first-child { font-weight: 700; }
.dz-root .dz-row--multi > .dz-row__flag { grid-column: 2 / -1; }

/* Stock medals: ribbon photo + the product's own front photo + connector strip,
   placed on medal-customizer.js's 540 x 500 canvas (percent of that box). */
.dz-root .dcs { position: relative; aspect-ratio: 540 / 500; width: min(96cqw, 640px, 112cqh); }
.dz-root .dcs--mini { width: 100%; }
.dz-root .dcs-rib { position: absolute; top: 0; width: 100%; overflow: hidden; }
.dz-root .dcs-rib img { width: 100%; height: auto; display: block; }
.dz-root .dcs-medal { position: absolute; height: auto; filter: drop-shadow(0 5px 10px rgba(20, 22, 40, .2)); }
.dz-root .dcs-hw { position: absolute; overflow: hidden; }
.dz-root .dcs-hw img { position: absolute; width: 8000%; max-width: none; left: -3950%; top: -340.35%; }
.dz-root .dcm-backphoto { position: absolute; inset: 0; background-size: 100% 100%; background-repeat: no-repeat; }
.dz-root .dcm-back--bare { position: absolute; box-shadow: none; background: none; }

/* Award plaques: the photo window (team photo / picture insert), its screws, the piano accent frame. */
.dz-root .dcp-photo { position: absolute; overflow: hidden; background: #ece9e2; box-shadow: 0 2px 4px rgba(0, 0, 0, .2), inset 0 0 0 1px rgba(61, 48, 39, .62); display: grid; place-items: center; }
.dz-root .dcp-photo > span { font: 400 .8rem/1.3 var(--dz-font); color: #61616B; text-align: center; padding: 8px; }
.dz-root .dcp-photo__img { position: absolute; }
.dz-root .dcp-photo__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.dz-root .dcp-screw { position: absolute; width: 2.4%; aspect-ratio: 1; border-radius: 50%; background: #d5b55d; box-shadow: inset 0 0 0 1px #6d5720; transform: translate(-50%, -50%); z-index: 1; }
.dz-root .dcp-accent { position: absolute; box-shadow: 0 2px 5px rgba(0, 0, 0, .32), inset 0 0 0 1px rgba(255, 255, 255, .38); }

/* Sublimated metal plates (plate-core layout) and the design picker. */
.dz-root .dcpl { position: relative; aspect-ratio: var(--ratio, 3); width: min(86cqw, 640px, calc(62cqh * var(--ratio, 3))); container-type: inline-size; }
.dz-root .dcpl--mini { width: 100%; }
.dz-root .dcpl-face { position: absolute; inset: 0; overflow: hidden; box-shadow: 0 1.6cqw 4cqw rgba(1, 1, 12, .16), inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dz-root .dcpl--mini .dcpl-face { box-shadow: 0 3px 8px rgba(1, 1, 12, .14), inset 0 0 0 1px rgba(0, 0, 0, .12); }
.dz-root .dcpl-icon { position: absolute; }
.dz-root .dcpl-line { position: absolute; white-space: nowrap; line-height: 1; font-weight: normal; }
.dz-root .dcpl-line.is-placeholder { opacity: .5; }
.dz-root .dcpl-empty { position: absolute; inset: 0; display: grid; place-items: center; font: 400 4cqw var(--dz-font); opacity: .45; }
.dz-root .dcpl-hole { position: absolute; top: 50%; width: 3.2cqw; aspect-ratio: 1; border-radius: 50%; background: #f7f8fc; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); transform: translate(-50%, -50%); }
.dz-root .dcpl-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-top: 10px; max-height: 420px; overflow-y: auto; padding: 2px; }
.dz-root .dcpl-design { display: flex; flex-direction: column; gap: 6px; padding: 8px; border: 1.5px solid var(--dz-line); border-radius: 8px; background: var(--dz-tile); cursor: pointer; }
.dz-root .dcpl-design[aria-pressed="true"] { border-color: var(--dz-gold); background: var(--dz-gold-wash); }
.dz-root .dcpl-design__n { font-size: .72rem; color: var(--dz-slate); text-align: center; }

/* Employee of the Month replacement plates. */
.dz-root .dce { position: relative; aspect-ratio: var(--ratio, 3); width: min(80cqw, 600px, calc(60cqh * var(--ratio, 3))); container-type: inline-size; }
.dz-root .dce--mini { width: 100%; }
.dz-root .dce-face { position: absolute; inset: 0; }
/* Notched corners (2026-11-27): a concave quarter circle of 9% of the plate height on each
   corner, cut with four corner masks; the shadow sits on a wrapper so the mask doesn't remove it. */
.dz-root .dce-shadow { position: absolute; inset: 0; pointer-events: none; filter: drop-shadow(0 0 .5px rgba(0, 0, 0, .55)) drop-shadow(0 1.6cqw 3cqw rgba(1, 1, 12, .18)); }
.dz-root .dce-bg, .dz-root .dce-inset {
    --n: calc(9cqw / var(--ratio, 3));
    -webkit-mask: radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 51% no-repeat, radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 51% no-repeat, radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 100% / 51% 51% no-repeat, radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 100% / 51% 51% no-repeat;
            mask: radial-gradient(circle at 0 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 51% no-repeat, radial-gradient(circle at 100% 0, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 51% no-repeat, radial-gradient(circle at 0 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 100% / 51% 51% no-repeat, radial-gradient(circle at 100% 100%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 100% / 51% 51% no-repeat;
}
.dz-root .dce-bg { position: absolute; inset: 0; }
/* The specialty plates' inset panel follows the same cut, measured on its own height. */
.dz-root .dce-inset { position: absolute; inset: 2.2cqw; --n: calc((100cqw / var(--ratio, 3) - 4.4cqw) * .09); }
.dz-root .dce-hole { position: absolute; top: 50%; width: 3.6cqw; aspect-ratio: 1; border-radius: 50%; background: #f7f8fc; border: 1.5px solid #111; transform: translate(-50%, -50%); }
.dz-root .dce-line { position: absolute; white-space: nowrap; line-height: 1.05; }
.dz-root .dce-ref { max-height: 160px; width: auto; border-radius: 8px; border: 1px solid var(--dz-line); }

/* Shell fix from the trophies rollout (2026-11-12): the small quantity
   stepper meets 44px on phones. (Row grid areas stay global: the trophy,
   clock and resin award rows rely on them.) */
@media (max-width: 760px) {
  .dz-root .dz-qty--sm button { width: 44px; height: 44px; }
}

/* The bridge: the plugin's own designer runs off-screen while the window drives it. */
html.dz-bridging .gnd-modal.is-open, html.dz-bridging [id$="-modal"].is-open { position: fixed !important; left: -12000px !important; top: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.dz-root .dz-demo__actions { display: grid; gap: 10px; position: relative; z-index: 1; margin-bottom: 10px; }
.dz-root .dz-demo__actions:empty { display: none; }
.dz-root .dz-spin { display: block; width: 34px; height: 34px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--dz-line); border-top-color: var(--dz-gold); animation: dz-rot .9s linear infinite; }
@keyframes dz-rot { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------------
   PLUGIN INTEGRATION (designer 1.80.17, 2026-11-12): the shared pieces every
   family now gets from the shell. Top-bar "Show me how" / "Start over", the
   family's move/resize tutorial GIF, the CSV drop box, and the focus ring in
   ink (the site uses no navy/blue in its UI).
   --------------------------------------------------------------------------- */
.dz-root :focus-visible { outline-color: var(--dz-ink); }
.dz-root .dz-topbtn {
    flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
    border: 1.5px solid var(--dz-line); border-radius: 999px; background: #fff; cursor: pointer;
    color: var(--dz-slate); font: 600 .84rem/1 var(--dz-font); white-space: nowrap;
}
.dz-root .dz-topbtn:hover { border-color: var(--dz-ink); color: var(--dz-ink); }
.dz-root .dz-topbtn svg { width: 17px; height: 17px; flex: none; }

.dz-root .dz-ob { position: absolute; inset: 0; z-index: 25; display: grid; place-items: center; padding: 20px; background: rgba(1, 1, 12, .42); backdrop-filter: blur(2px); animation: dz-fade .2s ease; overflow-y: auto; }
.dz-root .dz-ob__card { width: min(520px, 100%); background: #fff; border-radius: 12px; box-shadow: var(--dz-shadow-l); padding: 22px 22px 20px; text-align: center; }
.dz-root .dz-ob__eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dz-gold-text); }
.dz-root .dz-ob__card h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.dz-root .dz-ob__card p { color: var(--dz-slate); font-size: .92rem; margin: 0 0 14px; }
.dz-root .dz-ob__media { display: block; margin: 0 0 16px; border-radius: 8px; overflow: hidden; background: var(--dz-tile); }
.dz-root .dz-ob__media img { width: 100%; height: auto; aspect-ratio: 600 / 360; object-fit: contain; }

@media (max-width: 899px) {
    .dz-root .dz-top { gap: 6px; }
    .dz-root .dz-topbtn { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .dz-root .dz-topbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .dz-root .dz-close { width: 44px; height: 44px; }
    .dz-root .dz-ob { padding: 12px; align-items: start; }
    .dz-root .dz-ob__card { padding: 16px 14px 14px; }
    .dz-root .dz-ob__card h3 { font-size: 1.1rem; }
}

/* A white or pale option (the White tag, a silver finish) needs an edge to
   read as a tile on the white panel: a hairline inside every tile's media. */
.dz-root .dz-tile__media { position: relative; }
.dz-root .dz-tile__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(1, 1, 12, .09); pointer-events: none; }

/* Shorter option cards keep the preview and the next decision in reach. */
.dz-root .dz-tiles--compact .dz-tile { gap: 5px; padding: 6px; }
.dz-root .dz-tiles--compact .dz-tile__media { aspect-ratio: 3 / 2; max-height: 70px; }
.dz-root .dz-tiles--compact .dz-tile__name { overflow-wrap: anywhere; }
.dz-root .dz-tiles--compact .dz-tile__meta { margin-top: 0; }

/* Give material samples the same footprint across the designers. */
.dz-root:not(.jb-nt) .dz-tiles:is([data-group="color"], [data-group="finish"], [data-group="board"], [data-group="plate"], [data-group="engrave"], [data-group="holder"], [data-role="finish"]) {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 82px), 90px));
}
.dz-root:not(.jb-nt) .dz-tiles:is([data-group="color"], [data-group="finish"], [data-group="board"], [data-group="plate"], [data-group="engrave"], [data-group="holder"], [data-role="finish"]) .dz-tile__media {
    aspect-ratio: 3 / 2;
}

/* Pair the medal ribbon's 24px samples with closer, separate tap targets. */
.dz-root .dz-swatches[data-group="ribbon"] .dz-swatch {
    flex-basis: 36px; width: 36px; height: 36px; padding: 6px;
}
.dz-root .dz-swatches[data-group="ribbon"] .dz-swatch::before { inset: 6px; }
.dz-root .dz-swatches[data-group="ribbon"] .dz-swatch[aria-pressed="true"]::after { inset: 2px; }

/* Preview move hint for name tags and medals. */
.dz-root:is(.jb-nt, .dz-medal) .dz-hint {
  flex: 0 1 auto; margin-inline-start: auto; padding: 6px 12px 6px 31px; border-radius: 999px; color: var(--dz-ink); font-weight: 600;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6200' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M3 12h18M9 6l3-3 3 3M9 18l3 3 3-3M6 9l-3 3 3 3M18 9l3 3-3 3'/%3E%3C/svg%3E") 10px 50% / 15px no-repeat;
  box-shadow: inset 0 0 0 1px var(--dz-line);
}
.dz-root:is(.jb-nt, .dz-medal) .dz-hint:empty { display: none; }
@media (max-width: 899px) {
    .dz-root:is(.jb-nt, .dz-medal) .dz-hint {
        padding: 5px 10px 5px 28px;
        background-position: 9px 50%;
        background-size: 14px;
    }
}

/* 2026-11-23 (PK14): on a phone the window's title, the line under it and the "Tag 2 of 2" label
   wrap onto a second line instead of being cut off with "…". */
@media (max-width: 899px) {
    .dz-root .dz-top__title h2,
    .dz-root .dz-top__title p,
    .dz-root .dz-flip__label { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
    .dz-root .dz-flip { border-radius: 18px; }
}

/* 2026-11-23 (PK13): the section tabs (Tag Options, Personalization, Review) in the darker grey,
   about 6:1 on white instead of 2.3:1. */
.dz-root .dz-jump button { color: var(--dz-slate); }
.dz-root .dz-jump button.is-active { color: var(--dz-ink); }

/* Keep long names from covering the phone preview. */
@media (max-width: 899px) {
 .dz-root .dz-flip { max-width: calc(100% - 24px); }
 .dz-root .dz-flip__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; min-width: 0; }
}

@media (max-width: 899px) {
 .dz-root.jb-nt .dz-stage__head { position: relative; inset: auto; padding: 8px 8px 0; flex-wrap: wrap; }
 .dz-root.jb-nt .dz-stage__canvas { height: 22vh; min-height: 140px; max-height: 190px; padding: 12px; }
 .dz-root.jb-nt .dz-stage__foot { position: relative; inset: auto; padding: 0 8px 8px; }
 .dz-root.jb-nt .dz-flip { max-width: 100%; flex: 1 1 100%; }
}
