/* AccioPix Designer (/designer). The AccioPix logo and brand pink on a light paper page
   (a design studio needs a light surround, so designs are judged against white).
   Type: Bodoni Moda for display, Inter for everything else (both self-hosted, fonts/cards). */

:root {
    --paper: #F6F1E9; --paper-2: #EFE6D8; --card: #FFFDF9; --desk: #E9E1D4;
    --ink: #18151D; --ink-2: #4A4452; --muted: #847C8B;
    --line: #E3D9CB; --line-2: #D3C6B3;
    --accent: #DE566F; --accent-d: #C23F58; --accent-l: #FCE6EA; /* AccioPix brand pink */
    --violet: #5B3DF5; --violet-l: #EEEAFF;
    --gap: #B86A00; --gap-l: #FFF1D9;
    --serif: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.dz { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
.dz a { color: inherit; }
.dz [hidden] { display: none !important; }
.dz :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.dz svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.dz-gap { font-weight: 600; color: var(--gap); background: var(--gap-l); border: 1px dashed #E3A64B; border-radius: 6px; padding: 0 5px; white-space: nowrap; }

/* bar */
.dz-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(246, 241, 233, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; }
.dz-started .dz-bar { border-bottom-color: var(--line); }
.dz-brand { display: inline-flex; align-items: baseline; gap: 7px; text-decoration: none; }
.dz-brand-a { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.dz-brand-d { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--accent); }
.dz-nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 28px); font-size: 15px; }
.dz-nav a { text-decoration: none; color: var(--ink-2); }
.dz-nav a:hover { color: var(--ink); }
.dz-nav .dz-nav-cta { color: var(--ink); border: 1px solid var(--ink); padding: 8px 15px; border-radius: 6px; font-weight: 600; }
.dz-nav .dz-nav-cta:hover { background: var(--ink); color: #fff; }

/* hero */
.dz-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 4vw, 64px); max-width: 1320px; margin: 0 auto; padding: clamp(28px, 6vw, 84px) clamp(16px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.dz-eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dz-hero h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.6vw, 80px); line-height: .98; letter-spacing: -.02em; }
.dz-hero h1 em { font-style: italic; color: var(--accent); }
.dz-lede { margin: 26px 0 0; max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.dz-start { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 32px; }
.dz-upload { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border: 1px solid var(--ink); border-radius: 6px; background: var(--ink); color: #fff; font: 600 17px/1 var(--sans); cursor: pointer; transition: background .15s ease; }
.dz-upload:hover { background: #2E2934; }
.dz-upload svg { width: 20px; height: 20px; stroke-width: 2; }
.dz-or { font-size: 14px; color: var(--muted); }
.dz-typed { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.dz-typed-k { font-size: 14px; color: var(--muted); }
.dz-typed-box { display: inline-flex; align-items: center; min-height: 0; padding: 0 0 4px; border-bottom: 1px solid var(--ink); font: italic 400 19px var(--serif); color: var(--ink); max-width: 100%; }
.dz-typed-box::before { content: '“'; margin-right: 2px; }
.dz-caret { display: inline-block; width: 1.5px; height: 20px; background: var(--ink); margin-left: 2px; animation: dz-blink 1s steps(1) infinite; }
@keyframes dz-blink { 50% { opacity: 0; } }

.dz-fan { position: relative; height: clamp(380px, 46vw, 620px); }
.dz-fan img { position: absolute; width: 56%; height: auto; border-radius: 2px; box-shadow: 0 1px 2px rgba(24, 21, 29, .12), 0 18px 40px rgba(24, 21, 29, .14); }
.dz-fan-1 { left: 0; top: 10%; transform: rotate(-8deg); }
.dz-fan-3 { right: 0; top: 8%; transform: rotate(7deg); }
.dz-fan-2 { left: 22%; top: 0; z-index: 2; transform: rotate(-1deg); }

/* promises */
.dz-promises { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.dz-promises li { padding: 22px 24px 22px 0; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--ink-2); }
.dz-promises li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.dz-promises b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }

/* the wall */
.dz-made { max-width: 1440px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px) 40px; }
.dz-made-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 32px; margin-bottom: 32px; }
.dz-made h2, .dz-how h2, .dz-faq h2, .dz-studio-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.015em; }
.dz-made-head p { grid-column: 1; margin: 0; max-width: 42em; color: var(--ink-2); font-size: 17px; }
.dz-filter { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 520px; }
.dz-filter button { border: 0; border-bottom: 1.5px solid transparent; background: transparent; color: var(--ink-2); border-radius: 0; padding: 6px 2px; margin: 0 8px; font: 500 15px var(--sans); cursor: pointer; }
.dz-filter button:hover { color: var(--ink); }
.dz-filter button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dz-wall { columns: 4 280px; column-gap: 22px; }
.dz-tile { position: relative; break-inside: avoid; margin: 0 0 28px; background: transparent; padding: 0 0 4px; }
.dz-tile:hover > img { box-shadow: 0 1px 2px rgba(24, 21, 29, .1), 0 16px 34px rgba(24, 21, 29, .16); }
.dz-tile > img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 1px 2px rgba(24, 21, 29, .1), 0 8px 20px rgba(24, 21, 29, .08); transition: box-shadow .2s ease; }
.dz-meta { display: flex; align-items: center; gap: 8px; }
.dz-from { display: block; flex: none; }
.dz-from img { display: block; width: 34px; height: 34px; border-radius: 2px; object-fit: cover; }
.dz-arrow { color: var(--muted); font-size: 15px; }
.dz-tile figcaption { display: grid; gap: 8px; padding: 14px 0 0; }
.dz-kind { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dz-tile q { font: italic 400 17px/1.4 var(--serif); color: var(--ink); quotes: '“' '”'; }
.dz-try { justify-self: start; border: 0; border-bottom: 1px solid var(--ink); background: none; padding: 0 0 1px; font: 600 13px var(--sans); color: var(--ink); cursor: pointer; }
.dz-try::after { content: ' →'; }
.dz-try:hover { color: var(--accent-d); border-bottom-color: var(--accent-d); }

/* how */
.dz-how { max-width: 1320px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px); }
.dz-steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.dz-steps li { padding: 22px 0 0; border-top: 1px solid var(--ink); }
.dz-step-n { display: block; font: italic 400 40px/1 var(--serif); color: var(--accent-d); }
.dz-steps h3 { margin: 16px 0 6px; font-size: 21px; letter-spacing: -.01em; }
.dz-steps p { margin: 0; color: var(--ink-2); }

/* studio */
.dz-studio { max-width: 1560px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(10px, 2vw, 28px) 40px; scroll-margin-top: 64px; }
.dz-studio-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; padding: 0 8px 18px; }
.dz-studio-head h2 { font-size: clamp(30px, 3.4vw, 44px); }
.dz-studio-sub { margin: 0; color: var(--ink-2); }

.card-page { color: var(--ink); }
.cm-app { display: grid; grid-template-columns: 84px 312px minmax(0, 1fr); background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; min-height: 760px; text-align: left; }
.cm-app.drawer-closed { grid-template-columns: 84px minmax(0, 1fr); }
.cm-app.drawer-closed .cm-drawer { display: none; }

.cm-rail { display: flex; flex-direction: column; gap: 4px; padding: 14px 8px; background: var(--paper-2); }
.cm-rail button { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 11px 2px; background: none; border: 0; border-radius: 6px; color: var(--ink-2); font: 500 11.5px var(--sans); cursor: pointer; }
.cm-rail button:hover { background: rgba(255, 255, 255, .7); color: var(--ink); }
.cm-rail button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.cm-rail svg { width: 23px; height: 23px; }

.cm-drawer { position: relative; padding: 18px; overflow-y: auto; max-height: calc(100vh - 140px); min-width: 0; border-right: 1px solid var(--line); background: var(--card); }
.cm-drawer-close { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 10px; background: none; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.cm-drawer-close:hover { background: var(--paper); color: var(--ink); }
.cm-tab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.cm-tab h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.01em; }
.cm-sub { margin: 10px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cm-hint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cm-label, .cm-lbl { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.cm-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cm-field { display: grid; gap: 6px; }

.cm-dropzone { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 14px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--paper); cursor: pointer; color: var(--muted); font-size: 13px; }
.cm-dropzone strong { color: var(--ink); font-size: 15px; }
.cm-dropzone svg { width: 28px; height: 28px; color: var(--accent); }
.cm-dropzone:hover, .cm-dropzone.over { border-color: var(--accent); background: var(--accent-l); }
.cm-dropzone.attention { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 90, 54, .2); }
.cm-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cm-thumb { position: relative; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--paper-2); cursor: pointer; aspect-ratio: 4 / 3; }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cm-thumb.in-use { border-color: var(--accent); }
.cm-thumb span { position: absolute; left: 6px; bottom: 6px; font-size: 10px; background: rgba(24, 21, 29, .75); color: #fff; padding: 2px 7px; border-radius: 999px; }

.cm-tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cm-tpl { display: grid; gap: 6px; padding: 0; background: none; border: 0; color: var(--ink-2); font: 500 12px var(--sans); cursor: pointer; text-align: center; }
.cm-tpl canvas { width: 100%; height: auto; display: block; border-radius: 8px; border: 2px solid transparent; box-shadow: 0 4px 14px rgba(42, 30, 18, .12); }
.cm-tpl[aria-pressed="true"] canvas { border-color: var(--accent); }
.cm-tpl:hover canvas { border-color: var(--line-2); }

.cm-textadd { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; color: var(--ink); cursor: pointer; font-family: var(--sans); }
.cm-textadd:hover { border-color: var(--line-2); background: var(--paper-2); }
.cm-th { font-size: 22px; font-weight: 700; } .cm-ts { font-size: 16px; font-weight: 600; } .cm-tb { font-size: 13px; }
.cm-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cm-preset { background: var(--paper); color: #3d332b; border: 1px solid var(--line); border-radius: 12px; padding: 14px 6px; cursor: pointer; line-height: 1.1; min-height: 64px; }
.cm-preset:hover { border-color: var(--accent); }

.cm-elements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cm-elements button { display: grid; justify-items: center; gap: 8px; padding: 12px 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); font: 500 11px var(--sans); cursor: pointer; }
.cm-elements button:hover { border-color: var(--line-2); color: var(--ink); }
.cm-elements span { display: block; width: 34px; height: 34px; background: var(--ink-2); }
.cm-el-circle { border-radius: 50%; } .cm-el-rounded { border-radius: 8px; }
.cm-el-rule, .cm-el-ruledot { height: 2px !important; margin: 16px 0; position: relative; }
.cm-el-ruledot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--ink-2); }
.cm-el-qr { background: repeating-conic-gradient(var(--ink) 0 25%, #fff 0 50%) 0 0 / 11px 11px !important; border-radius: 3px; }
.cm-graphics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.cm-icons { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.cm-graphics button, .cm-icons button { display: grid; place-items: center; aspect-ratio: 1; padding: 5px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.cm-graphics button:hover, .cm-icons button:hover { border-color: var(--accent); background: var(--accent-l); }
.cm-graphics canvas, .cm-icons canvas { width: 100%; height: 100%; }
.cm-icons canvas { filter: invert(1) brightness(.35); }
.cm-logo-thumb { width: 64px; height: 40px; border-radius: 8px; background: #fff center / contain no-repeat; border: 1px solid var(--line); }

/* buttons */
.cm-btn { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); border-radius: 6px; padding: 8px 14px; font: 500 14px var(--sans); cursor: pointer; }
.cm-btn:hover:not(:disabled) { border-color: var(--ink-2); }
.cm-btn:disabled { opacity: .4; cursor: default; }
.cm-btn.cm-primary { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.cm-btn.cm-primary:hover:not(:disabled) { background: #2E2934; border-color: #2E2934; }
.cm-btn.cm-small { padding: 6px 11px; font-size: 13px; }
.cm-btn.cm-danger { color: #C4321A; }
.cm-btn.on { background: var(--paper-2); border-color: var(--ink-2); color: var(--ink); }
.cm-icon-btn { padding: 8px 10px; }
.cm-size { background: var(--card); border: 1px solid var(--line-2); color: var(--ink); border-radius: 6px; padding: 8px 12px; font: 500 14px var(--sans); }

/* workspace */
.cm-workspace { display: flex; flex-direction: column; min-width: 0; background: var(--card); }
.cm-prompt { display: grid; gap: 10px; padding: 16px 18px 14px; background: var(--card); border-bottom: 1px solid var(--line); }
.cm-prompt-row { position: relative; display: flex; gap: 8px; }
.cm-spark { position: absolute; left: 15px; top: 16px; color: var(--accent-d); pointer-events: none; }
.cm-spark svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.card-page .cm-prompt-row textarea, .card-page .cm-prompt-row input { flex: 1; min-width: 0; width: auto; resize: none; overflow-y: auto; line-height: 1.4; max-height: 160px; padding: 14px 16px 14px 42px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; color: var(--ink); font: 400 17px var(--sans); box-shadow: none; }
.cm-prompt-row textarea::placeholder, .cm-prompt-row input::placeholder { color: #9C94A6; }
.card-page .cm-prompt-row textarea:focus, .card-page .cm-prompt-row input:focus { outline: none; box-shadow: 0 0 0 3px rgba(24, 21, 29, .1); }
.cm-prompt-row .cm-btn.cm-primary { padding: 0 22px; border-radius: 8px; font-size: 16px; align-self: stretch; max-height: 54px; }
.cm-prompt-row .cm-btn.cm-primary:hover:not(:disabled) { background: #2E2934; border-color: #2E2934; }
.cm-say { margin: 0; font-size: 14px; color: var(--ink-2); }
.cm-say:empty { display: none; }
.cm-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cm-spacer { flex: 1; }
.cm-context { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px; min-height: 54px; border-bottom: 1px solid var(--line); }
.cm-context .cm-hint { font-size: 13px; }
.cm-context select, .cm-context input[type=text], .cm-context input[type=number] { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 9px; color: var(--ink); font: 14px var(--sans); }
.cm-context input[type=number] { width: 70px; }
.cm-context input[type=text] { width: 220px; }
.cm-sep { width: 1px; height: 24px; background: var(--line); margin: 0 2px; }
.cm-swatch-btn { width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; padding: 0; }
.cm-pop { position: absolute; z-index: 20; top: calc(100% + 8px); display: grid; gap: 10px; width: 290px; max-width: calc(100vw - 40px); padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(42, 30, 18, .2); }
.cm-pop .cm-field > label { font-size: 12px; color: var(--ink-2); }
.cm-popwrap { position: relative; display: inline-flex; }
.cm-pop-row { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }
.cm-pop-row > span { font-size: 11px; color: var(--muted); }

.cm-stage { flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 30px 18px 22px; background-color: var(--desk); background-image: radial-gradient(rgba(42, 30, 18, .09) 1px, transparent 1.2px); background-size: 18px 18px; }
.cm-cardwrap { position: relative; width: min(100%, calc((100vh - 250px) * var(--cm-aspect, 0.7142))); min-width: 260px; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: 0 1px 2px rgba(24, 21, 29, .12), 0 18px 44px rgba(24, 21, 29, .16); }
#cm-card { display: block; width: 100%; height: auto; }
.cm-marks { position: absolute; inset: 0; pointer-events: none; }
.cm-gapmark { position: absolute; border: 2px dashed #F0A23A; border-radius: 5px; background: rgba(255, 196, 92, .12); }
.cm-needs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cm-needs:empty { display: none; }
.cm-needs-lead { font-size: 13px; font-weight: 700; color: var(--gap); }
.cm-needchip { background: var(--gap-l) !important; border: 1px dashed #E3A64B !important; color: var(--gap) !important; font-weight: 600; }
.cm-selbox { position: absolute; display: none; pointer-events: none; border: 1.5px solid var(--ink); border-radius: 1px; }
.cm-handle { position: absolute; right: -7px; bottom: -7px; width: 12px; height: 12px; background: #fff; border: 1.5px solid var(--ink); border-radius: 1px; }
.cm-guide { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed var(--accent); display: none; pointer-events: none; }
.cm-inline { position: absolute; z-index: 5; background: rgba(255, 255, 255, .95); color: var(--ink); border: 2px solid var(--ink); border-radius: 6px; padding: 4px 6px; resize: none; text-align: center; overflow: hidden; line-height: 1.2; font-family: var(--sans); }
.cm-dropveil { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; background: rgba(255, 231, 224, .85); border: 2px dashed var(--accent); color: var(--accent-d); font-weight: 600; pointer-events: none; }
.cm-status { margin: 14px 0 0; color: var(--ink-2); font-size: 13px; text-align: center; font-variant-numeric: tabular-nums; }
.cm-status.busy::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); margin-right: 8px; animation: cm-pulse 1s ease-in-out infinite; }

.cm-empty { width: min(100%, calc((100vh - 250px) * .7142)); min-width: 260px; aspect-ratio: 5 / 7; display: grid; align-content: center; justify-items: center; gap: 14px; padding: 28px; text-align: center; background: #fff; border: 1px dashed var(--line-2); border-radius: 2px; box-shadow: 0 1px 2px rgba(24, 21, 29, .08), 0 14px 34px rgba(24, 21, 29, .08); }
.cm-empty.over { border-color: var(--accent); background: var(--accent-l); }
.cm-empty svg { width: 40px; height: 40px; color: var(--ink-2); }
.cm-empty h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 32px; }
.cm-empty p { margin: 0; max-width: 30ch; color: var(--ink-2); font-size: 15px; }
.cm-empty .cm-btn.cm-primary { padding: 13px 26px; font-size: 16px; }
.cm-empty .cm-hint { color: var(--muted); }
.cm-linkbtn { background: none; border: 0; padding: 0; color: var(--accent-d); text-decoration: underline; font: inherit; cursor: pointer; }
.cm-colours { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cm-colours-label { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.cm-seg { display: inline-flex; flex-wrap: wrap; padding: 2px; background: #fff; border: 1px solid var(--line-2); border-radius: 7px; }
.cm-seg button { background: none; border: 0; padding: 5px 12px; border-radius: 5px; color: var(--ink-2); font: 500 13px var(--sans); cursor: pointer; }
.cm-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cm-dots { display: inline-flex; gap: 4px; }
.cm-dots i { display: block; width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(24, 21, 29, .15); }
.cm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-chip { background: transparent; border: 1px solid var(--line-2); border-radius: 6px; padding: 5px 10px; font: 500 13px var(--sans); color: var(--ink-2); cursor: pointer; text-align: left; }
.cm-chip:hover:not(:disabled) { border-color: var(--ink); color: var(--ink); }
.cm-chip:disabled { opacity: .4; cursor: default; }
.cm-chip.cm-occasion { color: var(--ink); }
.cm-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* shared controls */
.card-page textarea, .card-page .cm-field input[type=text], .card-page .cm-field select { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 10px; color: var(--ink); font: 14px var(--sans); }
.card-page textarea { resize: vertical; min-height: 44px; }
.card-page textarea.cm-inline { resize: none; min-height: 0; }
.card-page input[type=range] { width: 100%; accent-color: var(--ink); }
.card-page input[type=color] { width: 32px; height: 32px; border: 1px solid var(--line-2); border-radius: 10px; background: none; padding: 2px; flex: none; }
.cm-val { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 12px; min-width: 42px; text-align: right; }
.cm-swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cm-sw { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(24, 21, 29, .15); cursor: pointer; padding: 0; }
.cm-sw[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }
.cm-sw-add { display: grid; place-items: center; color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1; }
.cm-check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); }

/* layers + history */
.cm-layers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; }
.cm-layer { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 12px; border: 1px solid transparent; min-width: 0; }
.cm-layer:hover { background: var(--paper); }
.cm-layer.on { background: var(--paper-2); border-color: var(--line-2); }
.cm-layer .cm-pick { flex: 1; min-width: 0; display: flex; gap: 8px; align-items: center; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.cm-ico { width: 24px; height: 24px; border-radius: 7px; background: var(--paper-2); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ink-2); flex: none; }
.cm-nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14px; }
.cm-nm small { display: block; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; }
.cm-layer.hidden-layer .cm-nm { opacity: .4; }
.cm-icon { background: none; border: 0; width: 28px; height: 28px; border-radius: 8px; color: var(--muted); display: grid; place-items: center; flex: none; cursor: pointer; }
.cm-icon svg { width: 16px; height: 16px; }
.cm-icon:hover { background: var(--paper-2); color: var(--ink); }
.cm-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13px; }
.cm-log li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: var(--ink-2); }
.cm-log b { color: var(--ink); font-weight: 600; }
.cm-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 4px; background: var(--line-2); }
.cm-dot.run { background: var(--ink); animation: cm-pulse 1s ease-in-out infinite; }
.cm-dot.ok { background: #2FA36B; } .cm-dot.warn { background: #E39A2C; }
@keyframes cm-pulse { 50% { opacity: .35; } }

/* faq + footer */
.dz-faq { max-width: 900px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px) 40px; }
.dz-faq h2 { margin-bottom: 24px; }
.dz-faq details { border-top: 1px solid var(--line-2); padding: 18px 0; }
.dz-faq details:last-of-type { border-bottom: 1px solid var(--line-2); }
.dz-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; }
.dz-faq summary::-webkit-details-marker { display: none; }
.dz-faq summary::after { content: '+'; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s ease; }
.dz-faq details[open] summary::after { transform: rotate(45deg); }
.dz-faq p { margin: 12px 0 2px; color: var(--ink-2); max-width: 62ch; }
.dz-foot { margin-top: 60px; background: var(--ink); color: #D9D2E0; }
.dz-foot-in { max-width: 1320px; margin: 0 auto; padding: 44px clamp(16px, 4vw, 48px) 36px; display: grid; gap: 14px; }
.dz-foot .dz-brand-a { color: #fff; }
.dz-foot p { margin: 0; }
.dz-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.dz-foot .dz-foot-make a { color: #D9D2E0; text-decoration: none; } .dz-foot .dz-foot-make a:hover { color: #fff; text-decoration: underline; }
.dz-foot a { color: #fff; }
.dz-foot-small { font-size: 13px; color: #9890A2; }

/* drop anywhere */
.dz-dropping::after { content: 'Drop your photo to start'; position: fixed; inset: 14px; z-index: 50; display: grid; place-items: center; border: 3px dashed var(--accent); border-radius: 24px; background: rgba(255, 231, 224, .9); color: var(--accent-d); font: 500 clamp(28px, 4vw, 48px) var(--serif); pointer-events: none; }

@media (prefers-reduced-motion: reduce) { .dz-caret, .cm-dot.run, .cm-status.busy::before { animation: none; } .dz-tile, .dz-fan img, .dz-upload { transition: none; } }

@media (max-width: 1100px) {
    .cm-app { grid-template-columns: 76px 270px minmax(0, 1fr); }
    .cm-app.drawer-closed { grid-template-columns: 76px minmax(0, 1fr); }
    .cm-context input[type=text] { width: 160px; }
    .dz-promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dz-promises li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
    .dz-hero { grid-template-columns: minmax(0, 1fr); }
    .dz-fan { height: 340px; max-width: 520px; width: 100%; justify-self: center; }
    .dz-made-head { grid-template-columns: minmax(0, 1fr); }
    .dz-filter { grid-column: 1; grid-row: auto; justify-content: flex-start; }
    .dz-steps { grid-template-columns: minmax(0, 1fr); }
    .dz-nav a:not(.dz-nav-cta) { display: none; }
}
@media (max-width: 820px) {
    .cm-app, .cm-app.drawer-closed { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 18px; }
    .cm-workspace { order: 1; }
    .cm-rail { order: 2; flex-direction: row; overflow-x: auto; padding: 6px; }
    .cm-rail button { min-width: 74px; }
    .cm-drawer { order: 3; border-right: 0; max-height: none; }
    .cm-cardwrap { width: 100%; min-width: 0; }
    .cm-stage { padding: 16px 10px; }
    .cm-prompt-row .cm-btn.cm-primary { padding: 0 16px; }
}
@media (max-width: 560px) {
    .dz-promises { grid-template-columns: minmax(0, 1fr); }
    .dz-promises li, .dz-promises li + li { padding: 16px 0; border-left: 0; }
    .dz-wall { columns: 2 150px; column-gap: 12px; }
    .dz-tile { padding: 8px 8px 12px; margin-bottom: 12px; border-radius: 14px; }
    .dz-tile q { font-size: 13px; }
    .dz-from img { width: 30px; height: 30px; border-radius: 8px; }
    .dz-kind { font-size: 11px; padding: 2px 8px; }
    .dz-fan { height: 280px; }
    .cm-empty { width: 100%; }
}

/* the site's consent banner, in this page's colours */
.dz .cc-banner { background: var(--card) !important; background-image: none !important; border-radius: 8px !important; color: var(--ink) !important; border: 1px solid var(--line) !important; box-shadow: 0 20px 50px rgba(42, 30, 18, .18) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.dz .cc-text, .dz .cc-text * { color: var(--ink-2) !important; }
.dz .cc-text a { color: var(--accent-d) !important; }
.dz .cc-btn { border-radius: 6px !important; background-image: none !important; box-shadow: none !important; }
.dz .cc-btn.cc-accept { background: var(--ink) !important; color: #fff !important; border-color: var(--ink) !important; }
.dz .cc-btn.cc-decline { background: transparent !important; color: var(--ink) !important; border: 1px solid var(--line-2) !important; }

/* template library: page gallery, studio suggestions and panel */
.dz-tpls { max-width: 1440px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) 0; }
.dz-tpls h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.015em; }
.dz-tpls > p { margin: 12px 0 0; max-width: 46em; color: var(--ink-2); font-size: 17px; }
.dz-tpl-tabs { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 22px 0 0; }
.dz-tpl-tabs button { border: 0; border-bottom: 1.5px solid transparent; background: none; color: var(--ink-2); padding: 6px 2px; margin: 0 14px 0 0; font: 500 15px var(--sans); cursor: pointer; }
.dz-tpl-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.dz-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 20px; margin-top: 26px; align-items: start; }
.dz-tpl { display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--ink); font: 500 14px var(--sans); }
.dz-tpl img { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 1px 2px rgba(24, 21, 29, .1), 0 8px 20px rgba(24, 21, 29, .08); transition: box-shadow .2s ease; }
.dz-tpl:hover img { box-shadow: 0 1px 2px rgba(24, 21, 29, .1), 0 16px 34px rgba(24, 21, 29, .16); }
.dz-tpl small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dz-tpl-more { margin: 30px 0 0; color: var(--ink-2); font-size: 15px; } .dz-tpl-more a { color: var(--ink); }
.cm-suggest { display: grid; gap: 8px; }
.cm-suggest-lead { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.cm-suggest-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.cm-lib { flex: none; display: grid; gap: 5px; width: 112px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: 500 12px var(--sans); color: var(--ink-2); }
.cm-lib img, .cm-lib canvas { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px var(--line), 0 4px 12px rgba(24, 21, 29, .1); }
.cm-lib:hover img, .cm-lib:hover canvas { box-shadow: 0 0 0 1.5px var(--ink); }
.cm-lib span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-lib-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.cm-lib-grid .cm-lib { width: auto; }

/* ================= 5 Nov 2026 rebuild: centred hero, full-screen studio ================= */
.dz-brand img { width: 30px; height: 30px; align-self: center; margin-right: 2px; }
.dz-nav button.dz-nav-cta { font: 600 15px var(--sans); background: var(--ink); color: #fff; cursor: pointer; }
.dz-hero { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: 0; max-width: 980px; padding-top: clamp(28px, 5vw, 64px); }
.dz-hero h1 { font-size: clamp(40px, 5.4vw, 72px); }
.dz-lede { margin: 18px auto 0; max-width: 40em; }
.dz-kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 0; max-width: 820px; }
.dz-kinds-q { flex-basis: 100%; font: 600 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.dz-kinds button { border: 1px solid var(--line-2); background: var(--card); color: var(--ink); border-radius: 6px; padding: 8px 14px; font: 500 15px var(--sans); cursor: pointer; }
.dz-kinds button:hover { border-color: var(--ink); }
.dz-kinds button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.dz-drop { display: grid; justify-items: center; gap: 8px; width: min(100%, 620px); margin: 22px 0 0; padding: 36px 24px 30px; background: var(--card); border: 2px dashed var(--line-2); border-radius: 14px; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.dz-drop:hover, .dz-dropping .dz-drop { border-color: var(--accent); background: var(--accent-l); }
.dz-drop svg { width: 30px; height: 30px; color: var(--accent); }
.dz-drop b { font: 600 22px var(--sans); letter-spacing: -.01em; }
.dz-drop > span:not(.dz-upload) { color: var(--ink-2); }
.dz-drop small { color: var(--muted); font-size: 13px; }
.dz-drop .dz-upload { margin-top: 8px; }
.dz-promises { margin-top: clamp(40px, 6vw, 72px); }
.dz-tpls .dz-tpl.dz-asked span { font: italic 400 14px/1.4 var(--serif); }
.dz-tpls .dz-tpl.dz-asked small { font-style: normal; font-family: var(--sans); }
.dz-dropping::after { content: 'Drop your photo to start'; }

/* the studio: fixed to the window, the landing page hidden behind it */
body.dz-in-studio { overflow: hidden; }
body.dz-in-studio .dz-landing { display: none; }
.dz-studio { position: fixed; inset: 0; z-index: 40; max-width: none; margin: 0; padding: 0; background: var(--paper); }
.dz-studio .card-page { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.st-bar { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.st-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 8px 6px 2px; border-radius: 6px; cursor: pointer; color: var(--ink); }
.st-back:hover { background: var(--paper); }
.st-back img { width: 24px; height: 24px; }
.st-back .dz-brand-a { font-size: 16px; } .st-back .dz-brand-d { font-size: 18px; }
.st-kind { display: inline-flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.st-kind-l { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, var(--ink-2)); }
.st-kind select { appearance: none; -webkit-appearance: none; font: 500 14px var(--sans); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center / 14px; border: 1px solid var(--line-2); border-radius: 6px; padding: 6px 30px 6px 10px; cursor: pointer; }
.st-kind select:hover { border-color: var(--ink-2); }
.st-kind select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.st-keep { margin-top: 12px; }
.dz-studio .cm-app { height: 100%; min-height: 0; border: 0; border-radius: 0; grid-template-columns: 76px 300px minmax(0, 1fr) 340px; }
.dz-studio .cm-app.drawer-closed { grid-template-columns: 76px minmax(0, 1fr) 340px; }
.dz-studio .cm-drawer { max-height: none; height: 100%; }
.dz-studio .cm-workspace { min-height: 0; overflow: hidden; background: var(--desk); }
.dz-studio .cm-stage { overflow: auto; min-height: 0; }
.dz-studio .cm-cardwrap { width: min(100%, calc((100vh - 190px) * var(--cm-aspect, 0.7142))); }
.dz-studio .cm-empty { width: min(100%, calc((100vh - 190px) * .7142)); }
.cm-stage.choosing { background: var(--paper); background-image: none; align-items: stretch; }
.cm-stage.choosing .cm-cardwrap, .cm-stage.choosing .cm-status { display: none; }
.dz-studio[data-state="choose"] .cm-context { display: none; }

.st-grid { width: 100%; max-width: 1100px; margin: 0 auto; display: grid; gap: 16px; padding: 8px 8px 40px; }
.st-grid-head h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.01em; }
.st-grid-sub { margin: 6px 0 0; color: var(--ink-2); }
.st-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.st-filters button { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 6px; padding: 6px 12px; font: 500 14px var(--sans); cursor: pointer; }
.st-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 18px; align-items: start; }
.st-card { display: grid; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: 500 14px var(--sans); color: var(--ink); }
.st-card canvas, .st-card-ph { display: block; width: 100%; height: auto; border-radius: 2px; background: var(--paper-2); box-shadow: 0 1px 2px rgba(24, 21, 29, .1), 0 8px 20px rgba(24, 21, 29, .08); transition: box-shadow .15s ease, transform .15s ease; }
.st-card:hover canvas { box-shadow: 0 0 0 2px var(--ink), 0 14px 30px rgba(24, 21, 29, .16); }
.st-card:focus-visible canvas { box-shadow: 0 0 0 3px var(--accent); }

.st-side { background: var(--card); border-left: 1px solid var(--line); overflow-y: auto; min-height: 0; }
.st-side .cm-prompt { display: grid; gap: 14px; padding: 20px 20px 28px; background: none; border: 0; }
.st-h { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.st-side .cm-prompt-row { flex-direction: column; gap: 10px; }
.card-page .st-side .cm-prompt-row textarea { width: 100%; min-height: 84px; padding: 12px 14px; font-size: 16px; }
.st-side .cm-prompt-row .cm-btn.cm-primary { align-self: flex-start; padding: 11px 22px; max-height: none; }
.st-note { margin: 0; font-size: 13px; color: var(--ink-2); background: var(--paper); border-radius: 6px; padding: 9px 11px; }
.st-note[hidden] { display: none; }
.st-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.st-steps li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.st-steps li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.st-steps li.done::before { background: #2FA36B; border-color: #2FA36B; }
.st-steps li.now { color: var(--ink); font-weight: 600; }
.st-steps li.now::before { border-color: var(--ink); border-top-color: transparent; animation: st-spin .8s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }
.st-work { display: grid; gap: 12px; }
.st-finish { display: grid; gap: 10px; }
.st-sub { margin: 6px 0 0; font: 600 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.st-fill { display: grid; gap: 6px; }
.st-gap { display: flex; align-items: center; gap: 10px; text-align: left; border: 1px dashed #E3A64B; background: var(--gap-l); color: var(--gap); border-radius: 6px; padding: 8px 10px; font: 600 14px var(--sans); cursor: pointer; }
.st-gap::before { content: ''; width: 13px; height: 13px; border-radius: 3px; border: 2px solid currentColor; flex: none; }
.st-gap:hover { border-style: solid; }
.st-more { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tweaks { display: flex; flex-wrap: wrap; gap: 6px; }
.st-tweaks[hidden] { display: none; }
.st-keys { margin-top: 6px; }
.st-side .cm-say { font-size: 14px; color: var(--ink-2); }
.st-signin { background: var(--accent-l); border-radius: 6px; padding: 10px 12px; color: var(--ink) !important; }
.dz-studio #cm-needs { display: none; }

@media (max-width: 1100px) {
    .dz-studio .cm-app { grid-template-columns: 70px 260px minmax(0, 1fr) 300px; }
    .dz-studio .cm-app.drawer-closed { grid-template-columns: 70px minmax(0, 1fr) 300px; }
}
@media (max-width: 820px) {
    body.dz-in-studio { overflow: auto; }
    .dz-studio { position: static; min-height: 100vh; }
    .dz-studio .card-page { display: block; height: auto; }
    .dz-studio .cm-app, .dz-studio .cm-app.drawer-closed { display: flex; flex-direction: column; height: auto; }
    .dz-studio .cm-workspace { order: 1; overflow: visible; }
    .st-side { order: 2; border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
    .dz-studio .cm-rail { order: 3; }
    .dz-studio .cm-drawer { order: 4; height: auto; }
    .dz-studio .cm-stage { overflow: visible; }
    .dz-studio .cm-cardwrap, .dz-studio .cm-empty { width: 100%; }
    .st-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
    .st-bar .cm-size, .st-kind-l { display: none; }
    .st-kind { padding-left: 0; border-left: 0; } .st-kind select { font-size: 13px; padding: 5px 26px 5px 8px; max-width: 150px; }
    .dz-kinds button { padding: 7px 11px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .st-steps li.now::before { animation: none; } }

.dz-studio .cm-suggest { display: none !important; }

/* ================= Night (5 Nov 2026): the home page's dark glass look, for the landing page and the studio =================
   The site header (the floating glass pill) sits on top; buttons are white or glass pills; pink only marks gaps,
   focus and the second half of the headline. Tokens flip to dark, then the few light-only rules are redone. */
body.dz {
    --paper: #0B0B0C; --paper-2: #1B1A1D; --card: #141316; --desk: #0E0E10;
    --ink: #F4F2F3; --ink-2: rgba(255, 255, 255, .68); --muted: rgba(255, 255, 255, .46);
    --line: rgba(255, 255, 255, .1); --line-2: rgba(255, 255, 255, .2);
    --accent-l: rgba(222, 86, 111, .14); --pink-l: #F7B6C2;
    --gap: #F7B6C2; --gap-l: rgba(222, 86, 111, .12);
    --glass: rgba(255, 255, 255, .07); --glass-2: rgba(255, 255, 255, .12); --edge: rgba(255, 255, 255, .16);
    --dark: #18151D;
    display: block; min-height: 100%; color-scheme: dark;
    background: radial-gradient(1200px 640px at 50% 760px, #2A1D22 0%, #0B0B0C 62%) no-repeat, #0B0B0C;
    font-family: var(--sans);
}
.dz :focus-visible { outline-color: var(--pink-l); }
.dz-landing { padding-top: 1px; }
body.dz-in-studio .header, body.dz-in-studio .mobile-menu-overlay, body.dz-in-studio #mobileMenu { display: none !important; }

/* pills, as on acciopix.com */
.dz-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 14px 26px; font: 600 16px/1 var(--sans); border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.dz-pill svg { width: 18px; height: 18px; stroke-width: 2; }
.dz-pill-white { background: rgba(255, 255, 255, .96); color: var(--dark); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.dz-pill-white:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.dz-pill-glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dz-pill-glass:hover { background: rgba(255, 255, 255, .14); }

/* hero */
.dz-hero { max-width: 1160px; gap: 0; padding: clamp(118px, 15vh, 150px) clamp(16px, 4vw, 40px) 0; text-align: center; justify-items: center; }
.dz-resume { margin-bottom: 22px; }
.dz-eyebrow { margin: 0 0 14px; font: 600 12px var(--sans); letter-spacing: .16em; color: var(--muted); }
.dz-hero h1.dz-eyebrow { font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); max-width: none; margin: 0 0 14px; }
.dz-display { margin: 0; font-family: var(--sans); font-weight: 800; font-size: clamp(38px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -.035em; color: #fff; text-wrap: balance; max-width: 15em; }
.dz-display em { font-style: normal; color: var(--pink-l); }
.dz-lede { margin: 20px auto 0; max-width: 40em; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); text-wrap: pretty; }
.dz-ask { position: relative; display: flex; align-items: center; gap: 10px; width: min(720px, 100%); margin: 30px auto 0; padding: 7px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: left; }
.dz-ask:focus-within { border-color: rgba(255, 255, 255, .45); }
.dz-ask-photo, .dz-ask-go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; }
.dz-ask-photo { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.dz-ask-photo:hover { background: rgba(255, 255, 255, .2); }
.dz-ask-go { background: #fff; color: var(--dark); }
.dz-ask svg { width: 20px; height: 20px; stroke-width: 2.2; }
.dz-ask input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: #fff; font: 400 17px var(--sans); padding: 10px 2px; }
.dz-ask input::placeholder { color: rgba(255, 255, 255, .5); }
.dz-ask:not(.typing) input::placeholder { color: transparent; }
.dz-ask-demo { position: absolute; left: 66px; right: 66px; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, .88); font: 400 17px var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.dz-ask.typing .dz-ask-demo { display: none; }
.dz-ask .dz-caret { display: inline-block; width: 2px; height: 1.05em; background: currentColor; vertical-align: -2px; margin-left: 1px; animation: dz-blink 1s steps(1) infinite; }
.dz-ask.busy .dz-ask-go { animation: dz-pulse .8s ease-in-out infinite; }
@keyframes dz-pulse { 50% { opacity: .45; } }
.dz-kinds { margin: 18px auto 0; gap: 8px; max-width: 900px; }
.dz-kinds button { border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .88); border-radius: 999px; padding: 7px 14px; font: 500 14px var(--sans); }
.dz-kinds button:hover { border-color: rgba(255, 255, 255, .4); color: #fff; }
.dz-kinds button[aria-checked="true"] { background: #fff; border-color: #fff; color: var(--dark); }
.dz-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.dz-drop-line { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.dz-drop-line b { color: var(--ink-2); font-weight: 600; }
.dz-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 330px) minmax(0, 1fr); gap: 22px; align-items: end; width: 100%; margin-top: 46px; }
.dz-show-side { height: 300px; border-radius: 18px 18px 0 0; overflow: hidden; opacity: .42; }
.dz-show-side img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dz-show-main { position: relative; }
.dz-show-cards { position: relative; aspect-ratio: 400 / 560; border-radius: 18px 18px 0 0; overflow: hidden; background: #1B1A1D; box-shadow: 0 -10px 80px rgba(222, 86, 111, .25); }
.dz-show-cards img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.dz-show-cards img.on { opacity: 1; }
.dz-show-check { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); z-index: 2; display: flex; gap: 8px; align-items: center; white-space: nowrap; background: rgba(20, 20, 22, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--edge); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; }
.dz-show-check svg { width: 16px; height: 16px; color: #8BE3A8; stroke-width: 2.6; }

/* below the hero */
.dz-promises { margin-top: 0; border-top: 1px solid var(--line); padding-top: 4px; }
.dz-promises li { border-top: 0; }
.dz-made h2, .dz-how h2, .dz-faq h2, .dz-tpls h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; color: #fff; }
.dz-tpl-tabs { gap: 8px; }
.dz-tpl-tabs button { margin: 0; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.dz-tpl-tabs button[aria-pressed="true"] { background: #fff; color: var(--dark); border-color: #fff; }
.dz-tpl img { border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); }
.dz-tpl:hover img { box-shadow: 0 0 0 2px #fff, 0 18px 40px -18px rgba(0, 0, 0, .9); }
.dz-steps li { border-top-color: var(--line-2); }
.dz-step-n { font-family: var(--sans); font-style: normal; font-weight: 800; font-size: 34px; color: var(--pink-l); }
.dz-faq summary::after { color: var(--pink-l); }
.dz-gap { color: var(--pink-l); background: var(--gap-l); border-color: rgba(222, 86, 111, .6); }
.dz-foot { background: #070708; border-top: 1px solid var(--line); color: var(--ink-2); }
.dz-foot .dz-brand-d { color: var(--pink-l); }
.dz-brand-d { color: var(--pink-l); }
.dz-dropping::after { background: rgba(11, 11, 12, .88); color: #fff; border-color: var(--pink-l); font-family: var(--sans); font-weight: 700; }
.dz .cc-btn.cc-accept { color: var(--dark) !important; }

/* ---------- the studio ---------- */
.dz-studio { background: radial-gradient(1100px 700px at 46% 115%, #2A1D22 0%, #0B0B0C 62%), #0B0B0C; color: var(--ink); }
.st-bar { margin: 12px 12px 0; padding: 6px 8px 6px 8px; gap: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.st-back { border-radius: 999px; padding: 5px 12px 5px 6px; color: #fff; }
.st-back:hover { background: rgba(255, 255, 255, .08); }
.st-back .dz-brand-a { font-weight: 800; font-size: 17px; }
.st-kind { border-left: 0; padding-left: 4px; }
.st-kind-l { color: var(--muted); }
.st-kind select, .dz-studio .cm-size { appearance: none; -webkit-appearance: none; background: rgba(255, 255, 255, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: #fff; border: 1px solid var(--edge); border-radius: 999px; padding: 8px 32px 8px 14px; font: 500 14px var(--sans); cursor: pointer; }
.st-kind select option, .dz-studio .cm-size option { background: #1B1A1D; color: #fff; }
.dz-studio .cm-btn { background: rgba(255, 255, 255, .07); border: 1px solid var(--edge); color: #fff; border-radius: 999px; padding: 8px 15px; }
.dz-studio .cm-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .3); }
.dz-studio .cm-btn.cm-primary { background: #fff; border-color: #fff; color: var(--dark); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.dz-studio .cm-btn.cm-primary:hover:not(:disabled) { background: #fff; border-color: #fff; }
.dz-studio .cm-btn.cm-primary em { font-style: normal; color: var(--accent); font-weight: 700; }
.dz-studio .st-bar .cm-icon-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
.dz-studio .cm-btn.on { background: #fff; color: var(--dark); }
.dz-studio .cm-btn.cm-danger { color: #FF9C8A; }

.dz-studio .cm-app { grid-template-columns: 84px 300px minmax(0, 1fr) 370px; background: none; }
.dz-studio .cm-app.drawer-closed { grid-template-columns: 84px minmax(0, 1fr) 370px; }
.dz-studio[data-state="choose"] .cm-app { grid-template-columns: 84px 300px minmax(0, 1fr); }
.dz-studio[data-state="choose"] .cm-app.drawer-closed { grid-template-columns: 84px minmax(0, 1fr); }
.dz-studio[data-state="choose"] .st-side { display: none; }
.dz-studio .cm-rail { background: none; padding: 16px 10px; gap: 6px; }
.dz-studio .cm-rail button { color: var(--muted); padding: 4px 0; gap: 4px; font-size: 11px; }
.dz-studio .cm-rail button:hover { background: none; color: #fff; }
.dz-studio .cm-rail svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .07); border: 1px solid var(--edge); color: #fff; stroke-width: 1.7; }
.dz-studio .cm-rail button:hover svg { background: rgba(255, 255, 255, .14); }
.dz-studio .cm-rail button[aria-selected="true"] { background: none; box-shadow: none; color: #fff; }
.dz-studio .cm-rail button[aria-selected="true"] svg { background: #fff; color: var(--dark); border-color: #fff; }
.dz-studio .cm-drawer { background: rgba(255, 255, 255, .04); border: 1px solid var(--edge); border-radius: 24px; margin: 12px 0 12px; }
.dz-studio .cm-drawer-close:hover { background: rgba(255, 255, 255, .08); }
.dz-studio .cm-tab h2 { font-family: var(--sans); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.dz-studio .cm-preset, .dz-studio .cm-graphics button, .dz-studio .cm-icons button { background: #F4F1EC; border-color: transparent; }
.dz-studio .cm-preset { color: #3D332B; }
.card-page textarea, .card-page .cm-field input[type=text], .card-page .cm-field select, .dz-studio .cm-context select, .dz-studio .cm-context input[type=text], .dz-studio .cm-context input[type=number] { background: rgba(255, 255, 255, .07); border-color: var(--edge); color: #fff; }
.dz-studio .cm-context select option, .card-page .cm-field select option { background: #1B1A1D; }
.dz-studio .cm-seg { background: rgba(255, 255, 255, .06); border-color: var(--edge); border-radius: 999px; }
.dz-studio .cm-seg button { border-radius: 999px; }
.dz-studio .cm-seg button[aria-pressed="true"] { background: #fff; color: var(--dark); }
.dz-studio .cm-pop { background: #1B1A1D; border-color: var(--edge); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.dz-studio .cm-swatch-btn, .card-page input[type=color] { border-color: var(--edge); }
.dz-studio .cm-sw[aria-pressed="true"] { outline-color: #fff; }
.dz-studio .cm-sw-add { background: rgba(255, 255, 255, .1); color: #fff; }
.card-page input[type=range] { accent-color: var(--pink-l); }
.dz-studio .cm-thumb.in-use, .dz-studio .cm-tpl[aria-pressed="true"] canvas { border-color: #fff; }

.dz-studio .cm-workspace { position: relative; background: none; }
.dz-studio .cm-context { position: relative; z-index: 8; align-self: center; width: max-content; max-width: calc(100% - 24px); margin: 12px auto 0; min-height: 0; padding: 6px 8px 6px 14px; gap: 6px; border: 1px solid var(--edge); border-radius: 26px; background: rgba(28, 26, 30, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 36px rgba(0, 0, 0, .5); }
.dz-studio .cm-context .cm-sep { background: var(--edge); }
.dz-studio .cm-context .cm-btn { padding: 6px 12px; }
.dz-studio .st-askthis { color: var(--pink-l) !important; border-color: rgba(222, 86, 111, .45) !important; }
.dz-studio .cm-stage { background: none; padding: 16px 18px 18px; }
.dz-studio .cm-stage.choosing { background: none; padding-top: 24px; }
.dz-studio .cm-cardwrap { width: min(100%, calc((100vh - 330px) * var(--cm-aspect, 0.7142))); box-shadow: 0 0 90px rgba(222, 86, 111, .2), 0 30px 60px -20px rgba(0, 0, 0, .8); }
.dz-studio .cm-selbox { border-color: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .55); }
.dz-studio .cm-handle { border-color: var(--dark); border-radius: 50%; }
.dz-studio .cm-gapmark { border-color: var(--accent); background: rgba(222, 86, 111, .1); }
.dz-studio .cm-status { color: var(--muted); }
.dz-studio .cm-status.busy::before { background: var(--pink-l); }
.dz-studio .cm-empty { background: rgba(255, 255, 255, .04); border-color: var(--edge); box-shadow: none; }
.dz-studio .cm-empty h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.02em; }
.dz-studio .cm-linkbtn { color: var(--pink-l); }

/* the strip of other designs under the card */
.st-strip { width: min(100%, 760px); display: grid; gap: 10px; margin-top: 18px; }
.st-strip-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.st-strip-h b { color: #fff; font-weight: 600; font-size: 14px; }
.st-strip-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 4px 6px; scrollbar-width: thin; }
.st-mini { flex: none; width: 64px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 5px; opacity: .78; transition: opacity .15s ease; }
.st-mini:hover { opacity: 1; }
.st-mini canvas, .st-mini .st-card-ph { display: block; width: 100%; height: auto; border-radius: 5px; background: var(--paper-2); outline: 1px solid var(--edge); }
.st-mini[aria-current="true"] { opacity: 1; }
.st-mini[aria-current="true"] canvas { outline: 2px solid #fff; outline-offset: 2px; }
.st-mini-more { display: grid; place-items: center; aspect-ratio: 5 / 7; height: auto; background: rgba(255, 255, 255, .06); outline: 1px dashed var(--edge); color: var(--ink-2); font: 600 13px var(--sans); }

/* choose */
.st-grid { max-width: 1240px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 24px; padding: 8px 8px 40px; }
.st-grid-head, .st-filters, .st-cards { grid-column: 1 / -1; }
.st-grid-head { grid-column: 1; }
.st-grid-head h2 { font-family: var(--sans); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.st-grid-head h2 span { color: var(--pink-l); }
.st-grid-sub { color: var(--ink-2); }
.st-grid-ask { grid-column: 2; width: min(480px, 42vw); }
.st-grid-ask:empty { display: none; }
.st-filters button { background: rgba(255, 255, 255, .06); border: 1px solid var(--edge); color: #fff; border-radius: 999px; padding: 6px 14px; }
.st-filters button[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--dark); }
.st-card { color: #fff; }
.st-card canvas, .st-card .st-card-ph { border-radius: 6px; background: var(--paper-2); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); transition: transform .2s ease, box-shadow .2s ease; }
.st-card:hover canvas { transform: translateY(-4px); box-shadow: 0 0 0 2px #fff, 0 22px 44px -18px rgba(0, 0, 0, .9); }
.st-card.best canvas { box-shadow: 0 0 0 2px #fff, 0 18px 40px -18px rgba(0, 0, 0, .9); }
.st-card-cap { display: flex; justify-content: space-between; gap: 8px; }
.st-card-cap small { color: var(--pink-l); font-size: 12px; font-weight: 600; }
.st-keep { margin-top: 14px; }

/* the designer, as a chat */
.dz-studio .st-side { margin: 12px 12px 12px 0; border: 1px solid var(--edge); border-radius: 24px; background: rgba(255, 255, 255, .05); overflow: hidden; display: flex; flex-direction: column; }
.dz-studio .st-side .cm-prompt { display: flex; flex-direction: column; gap: 0; padding: 0; height: 100%; min-height: 0; }
.dz-studio .st-side .cm-prompt[hidden] { display: none; }
.st-head { display: flex; align-items: baseline; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--edge); }
.st-head .st-h { font: 700 15px var(--sans); letter-spacing: 0; color: #fff; }
.st-head small { margin-left: auto; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-log { flex: 1 1 auto; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 12px; }
.st-log > :first-child { margin-top: auto; }
.st-log .me { align-self: flex-end; max-width: 88%; background: #fff; color: var(--dark); padding: 9px 13px; border-radius: 18px 18px 4px 18px; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.st-log .ai { align-self: flex-start; max-width: 96%; display: grid; gap: 4px; background: rgba(255, 255, 255, .09); padding: 10px 13px; border-radius: 18px 18px 18px 4px; font-size: 13.5px; color: var(--ink-2); }
.st-log .ai:empty { display: none; }
.st-log .ai .s { display: flex; gap: 7px; align-items: flex-start; }
.st-log .ai .s svg { width: 14px; height: 14px; margin-top: 3px; color: #8BE3A8; stroke-width: 2.6; }
.st-log .ai .s.now { color: #fff; }
.st-log .ai p { margin: 4px 0 0; color: #fff; }
.st-log .ai.err p { color: #FFB4A6; }
.st-spin { flex: none; width: 13px; height: 13px; margin-top: 3px; border-radius: 50%; border: 2px solid var(--pink-l); border-right-color: transparent; animation: st-spin .8s linear infinite; }
.dz-studio #st-work, .dz-studio .st-side > .cm-prompt > #cm-say { display: none !important; }
.dz-studio .st-finish { gap: 8px; padding: 12px 16px; border-top: 1px solid var(--edge); }
.dz-studio .st-sub { display: flex; justify-content: space-between; margin: 0; font: 600 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dz-studio .st-fill { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-studio .st-gap { border: 1px dashed var(--accent); background: rgba(222, 86, 111, .1); color: var(--pink-l); border-radius: 999px; padding: 4px 11px; font: 600 13px var(--sans); }
.dz-studio .st-gap::before { display: none; }
.dz-studio .st-tweaks { padding: 0 16px 10px; gap: 6px; }
.dz-studio .cm-chip { background: none; border: 1px solid var(--edge); border-radius: 999px; color: #fff; padding: 5px 12px; }
.dz-studio .cm-chip:hover:not(:disabled) { border-color: rgba(255, 255, 255, .45); color: #fff; }
.dz-studio .st-more { display: flex; gap: 6px; padding: 0 16px 12px; }
.dz-studio .st-more[hidden] { display: none; }
.dz-studio .st-more .cm-btn { flex: 1; justify-content: center; padding: 9px 12px; }
.dz-studio .st-more svg { width: 16px; height: 16px; }
.st-scope { display: flex; align-items: center; gap: 8px; margin: 0 14px 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: rgba(222, 86, 111, .14); color: var(--pink-l); font-size: 13px; }
.st-scope span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-scope b { color: #fff; font-weight: 600; }
.st-scope .cm-linkbtn { text-decoration: none; font-size: 18px; line-height: 1; padding: 0 6px; }
.st-scope[hidden] { display: none; }
.dz-studio .cm-prompt-row { position: relative; display: flex; flex-direction: row; align-items: center; gap: 8px; margin: 0 12px 12px; padding: 6px 6px 6px 7px; border-radius: 26px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); }
.dz-studio .st-grid-ask .cm-prompt-row { margin: 0; }
.dz-studio .cm-prompt-row:focus-within { border-color: rgba(255, 255, 255, .45); }
.st-ask-ph { flex: none; align-self: center; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(222, 86, 111, .16); color: var(--pink-l); }
.st-ask-ph svg { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.card-page .dz-studio .cm-prompt-row textarea, .dz-studio .card-page .cm-prompt-row textarea, .card-page.card-page .st-side .cm-prompt-row textarea { flex: 1; min-width: 0; width: auto; min-height: 0; max-height: 140px; padding: 8px 2px; border: 0; border-radius: 0; background: none; color: #fff; font: 400 15px/1.35 var(--sans); box-shadow: none; resize: none; }
.dz-studio .cm-prompt-row textarea::placeholder { color: rgba(255, 255, 255, .5); }
.dz-studio .cm-prompt-row textarea:focus { outline: none; box-shadow: none; }
.dz-studio .cm-prompt-row .cm-btn.cm-primary, .dz-studio .st-side .cm-prompt-row .cm-btn.cm-primary { align-self: center; max-height: none; padding: 9px 16px; font-size: 14px; border-radius: 999px; }
.dz-studio .st-note { margin: 0 16px 12px; padding: 0; background: none; font-size: 12.5px; color: var(--muted); }
.dz-studio .st-signin { margin: 0 14px 12px; background: rgba(222, 86, 111, .14); border-radius: 14px; color: #fff !important; }
.dz-studio .st-keys { padding: 0 18px 14px; margin: 0; font-size: 12px; color: var(--muted); }
.dz-studio .st-keys[hidden] { display: none; }
.dz-studio kbd { font: 600 11px var(--sans); border: 1px solid var(--edge); border-radius: 5px; padding: 1px 5px; background: rgba(255, 255, 255, .06); color: #fff; }

@media (max-width: 1100px) {
    .dz-studio .cm-app { grid-template-columns: 76px 260px minmax(0, 1fr) 320px; }
    .dz-studio .cm-app.drawer-closed { grid-template-columns: 76px minmax(0, 1fr) 320px; }
    .dz-studio[data-state="choose"] .cm-app { grid-template-columns: 76px 260px minmax(0, 1fr); }
    .dz-studio[data-state="choose"] .cm-app.drawer-closed { grid-template-columns: 76px minmax(0, 1fr); }
}
@media (max-width: 900px) {
    .dz-show { grid-template-columns: minmax(0, 300px); justify-content: center; }
    .dz-show-side { display: none; }
    .st-grid { grid-template-columns: minmax(0, 1fr); }
    .st-grid-ask { grid-column: 1; width: 100%; }
}
@media (max-width: 820px) {
    .dz-studio { background: #0B0B0C; }
    .st-bar { margin: 8px 8px 0; border-radius: 26px; }
    .dz-studio .cm-context { width: auto; max-width: none; margin: 8px 8px 0; }
    .dz-studio #cm-redo, .dz-studio #cm-download-jpg { display: none; }
    .dz-studio #cm-upload-top .st-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .dz-studio #cm-upload-top { padding-left: 12px; padding-right: 12px; }
    .dz-studio #cm-upload-top svg { margin: 0; }
    .dz-studio .cm-rail { justify-content: flex-start !important; overflow-x: auto; }
    .dz-studio .cm-rail button { min-width: 52px !important; }
    .dz-studio .cm-rail svg { width: 38px; height: 38px; padding: 9px; }
    .dz-studio .cm-stage { padding: 16px 10px; }
    .dz-studio .cm-cardwrap { width: 100%; }
    .dz-studio .st-side { margin: 0 8px 8px; }
    .dz-studio[data-state="choose"] .st-side { display: none; }
    .st-log { max-height: 320px; }
    .dz-studio .cm-rail { flex-direction: row; justify-content: center; padding: 6px; }
    .dz-studio .cm-rail button { min-width: 56px; }
    .dz-studio .cm-drawer { margin: 0 8px 8px; }
    .dz-ask-demo { font-size: 15px; }
    .dz-ask input { font-size: 15px; }
}
@media (max-width: 560px) {
    .dz-tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}
@media (max-width: 520px) {
    .dz-hero { padding-top: 104px; }
    .dz-ask { margin-top: 22px; }
    .dz-kinds button { padding: 6px 11px; font-size: 13px; }
    .dz-cta .dz-pill { padding: 13px 20px; font-size: 15px; }
    .st-bar .dz-brand-d { display: none; }
}
@media (prefers-reduced-motion: reduce) { .dz-show-cards img, .dz-pill, .st-card canvas { transition: none; } .dz-ask.busy .dz-ask-go, .st-spin, .dz-ask .dz-caret { animation: none; } }
/* Narrow phones: "Download · 3 gaps" keeps the PDF button on the second row. */
@media (max-width: 380px) {
    .dz-studio #cm-download-png .st-left { display: none; }
    .dz-studio .st-bar .cm-btn { padding-left: 12px; padding-right: 12px; }
}

/* ================= Day (5 Nov 2026): white, like Apple. Replaces the Night look above. =================
   White pages; designs sit on a darker cool grey (--canvas) so cream and white cards stand out.
   Rule: no pale fill on white. Every control is solid (ink or pink) or white with a firm edge.
   Pink is the designer's voice only: the headline, Best fit, gaps, "Ask about this". */
body.dz {
    --paper: #FFFFFF; --paper-2: #F5F5F7; --card: #FFFFFF; --desk: #E6E6EB; --canvas: #E6E6EB;
    --ink: #1D1D1F; --ink-2: #3A3A3F; --muted: #6E6E73;
    --line: rgba(0, 0, 0, .09); --line-2: rgba(0, 0, 0, .14);
    --accent-l: #FBE7EC; --pink-l: #D2405F; --pink-d: #D2405F;
    --gap: #D2405F; --gap-l: rgba(210, 64, 95, .08);
    --glass: #FFFFFF; --glass-2: #F5F5F7; --edge: rgba(0, 0, 0, .2); --edge-hi: rgba(0, 0, 0, .42);
    --dark: #1D1D1F;
    color-scheme: light;
    background: #FFFFFF;
}
.dz :focus-visible { outline-color: var(--pink-d); }

/* the site header (the home page's glass pill), light */
@media (min-width: 768px) {
    body.dz.index-page .header { background: rgba(236, 236, 240, .88) !important; border: 1px solid rgba(0, 0, 0, .14) !important; box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .35) !important; }
    body.dz.index-page .header > .logo { color: var(--ink) !important; }
    body.dz.index-page .header .nav-item-label { color: var(--ink-2) !important; }
    body.dz.index-page .header .nav-item:hover { background: rgba(255, 255, 255, .7); }
    body.dz.index-page .header .nav-item:hover .nav-item-label { color: var(--ink) !important; }
    body.dz.index-page .header .nav-item:focus-visible { outline-color: var(--ink); }
    body.dz.index-page .header .nav-item-icon img, body.dz.index-page .header .mobile-menu-icon { filter: none; }
    body.dz.index-page .header #nav-login { background: var(--ink) !important; border-color: var(--ink) !important; color: #fff !important; }
    body.dz.index-page .header #nav-login:hover { background: #000 !important; }
    body.dz.index-page .header #nav-login .nav-item-label { color: #fff !important; }
    body.dz.index-page .header #nav-login .nav-item-icon { background: rgba(255, 255, 255, .18); }
    body.dz.index-page .header #nav-login .nav-item-icon img { filter: brightness(0) invert(1); }
    body.dz.index-page .header .nav-bar .user-avatar { background: #fff !important; border: 1px solid var(--edge) !important; color: var(--ink) !important; }
}
@media (max-width: 767px) {
    body.dz .header, body.dz.light-page .header { background: rgba(255, 255, 255, .92) !important; border: 1px solid rgba(0, 0, 0, .14) !important; box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .35) !important; }
    body.dz .header .logo { color: var(--ink) !important; }
    body.dz .header .mobile-menu-icon { filter: none !important; }
    body.dz .header .nav-bar .nav-item-label, body.dz .header .user-dropdown .nav-item-label { color: var(--ink) !important; }
    body.dz .header #nav-login:not(.hidden) { background: var(--ink) !important; color: #fff !important; }
}

/* pills */
.dz-pill-white { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.dz-pill-white:hover { background: #000; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); }
.dz-pill-glass { background: #fff; color: var(--ink); border: 1px solid var(--edge); backdrop-filter: none; -webkit-backdrop-filter: none; }
.dz-pill-glass:hover { background: #fff; border-color: var(--edge-hi); }

/* hero */
.dz-display { color: var(--ink); }
.dz-display em { color: var(--pink-d); }
.dz-lede { color: var(--ink-2); }
.dz-ask { background: #fff; border: 1px solid var(--edge); box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .4); backdrop-filter: none; -webkit-backdrop-filter: none; }
.dz-ask:focus-within { border-color: var(--edge-hi); }
.dz-ask-photo { background: var(--pink-d); color: #fff; border: 0; }
.dz-ask-photo:hover { background: #B8334F; }
.dz-ask-go { background: var(--ink); color: #fff; }
.dz-ask input { color: var(--ink); }
.dz-ask input::placeholder { color: #8E8E93; }
.dz-ask-demo { color: var(--ink-2); }
.dz-kinds button { border: 1px solid var(--edge); background: #fff; color: var(--ink); }
.dz-kinds button:hover { border-color: var(--edge-hi); color: var(--ink); }
.dz-kinds button[aria-checked="true"] { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.dz-drop-line b { color: var(--ink); }
.dz-show-side { opacity: 1; box-shadow: 0 0 0 1px var(--edge); }
.dz-show-cards { background: var(--paper-2); box-shadow: 0 0 0 1px var(--edge), 0 30px 60px -24px rgba(0, 0, 0, .5); }
.dz-show-check { background: rgba(255, 255, 255, .95); border: 1px solid var(--edge); color: var(--ink); box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .35); }
.dz-show-check svg { color: #1E8E4E; }

/* below the hero: designs on the grey canvas */
.dz-made h2, .dz-how h2, .dz-faq h2, .dz-tpls h2 { color: var(--ink); }
.dz-tpls { background: var(--canvas); border-radius: 28px; width: calc(100% - 32px); margin: 48px auto 0; padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 48px); }
.dz-tpl-tabs button { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.dz-tpl-tabs button:hover { border-color: var(--edge-hi); }
.dz-tpl-tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-weight: 600; }
.dz-tpl img { box-shadow: 0 0 0 1px var(--edge), 0 16px 30px -18px rgba(0, 0, 0, .5); }
.dz-tpl:hover img { box-shadow: 0 0 0 2px var(--ink), 0 16px 30px -18px rgba(0, 0, 0, .5); }
.dz-step-n { color: var(--pink-d); }
.dz-faq summary::after { color: var(--pink-d); }
.dz-gap { color: var(--pink-d); background: #fff; border-color: var(--pink-d); }
.dz-foot { background: var(--paper-2); border-top: 1px solid var(--line-2); color: var(--ink-2); }
.dz-foot .dz-brand-d, .dz-brand-d { color: var(--pink-d); }
.dz-dropping::after { background: rgba(255, 255, 255, .94); color: var(--ink); border-color: var(--pink-d); }
.dz .cc-btn.cc-accept { color: #fff !important; }

/* ---------- the studio ---------- */
.dz-studio { background: var(--canvas); color: var(--ink); }
.st-bar { background: #fff; border: 1px solid var(--edge); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.st-back { color: var(--ink); }
.st-back:hover { background: var(--paper-2); }
.st-kind select, .dz-studio .cm-size { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1D1F' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 14px; color: var(--ink); border: 1px solid var(--edge); }
.st-kind select:hover, .dz-studio .cm-size:hover { border-color: var(--edge-hi); }
.st-kind select option, .dz-studio .cm-size option { background: #fff; color: var(--ink); }
.dz-studio .cm-btn { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.dz-studio .cm-btn:hover:not(:disabled) { background: #fff; border-color: var(--edge-hi); }
.dz-studio .cm-btn.cm-primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45); }
.dz-studio .cm-btn.cm-primary:hover:not(:disabled) { background: #000; border-color: #000; }
.dz-studio .cm-btn.cm-primary em { color: #FF9DB0; }
.dz-studio .cm-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.dz-studio .cm-btn.cm-danger { color: #B3261E; }

.dz-studio .cm-rail button { color: var(--muted); }
.dz-studio .cm-rail button:hover { color: var(--ink); }
.dz-studio .cm-rail svg { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.dz-studio .cm-rail button:hover svg { background: #fff; border-color: var(--edge-hi); }
.dz-studio .cm-rail button[aria-selected="true"] { color: var(--ink); }
.dz-studio .cm-rail button[aria-selected="true"] svg { background: var(--ink); color: #fff; border-color: var(--ink); }
.dz-studio .cm-drawer { background: #fff; border: 1px solid var(--edge); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.dz-studio .cm-drawer-close:hover { background: var(--paper-2); }
.dz-studio .cm-preset, .dz-studio .cm-graphics button, .dz-studio .cm-icons button { background: #FAF8F5; border: 1px solid var(--edge); }
.card-page textarea, .card-page .cm-field input[type=text], .card-page .cm-field select, .dz-studio .cm-context select, .dz-studio .cm-context input[type=text], .dz-studio .cm-context input[type=number] { background: #fff; border-color: var(--edge); color: var(--ink); }
.dz-studio .cm-context select option, .card-page .cm-field select option { background: #fff; color: var(--ink); }
.dz-studio .cm-seg { background: #fff; border-color: var(--edge); }
.dz-studio .cm-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.dz-studio .cm-pop { background: #fff; border-color: var(--edge); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); color: var(--ink); }
.dz-studio .cm-sw[aria-pressed="true"] { outline-color: var(--ink); }
.dz-studio .cm-sw-add { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.card-page input[type=range] { accent-color: var(--pink-d); }
.dz-studio .cm-thumb.in-use, .dz-studio .cm-tpl[aria-pressed="true"] canvas { border-color: var(--ink); }

.dz-studio .cm-context { background: #fff; border: 1px solid var(--edge); box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .35); backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--ink); }
.dz-studio .cm-context .cm-sep { background: var(--edge); }
.dz-studio .cm-context .cm-hint { color: var(--muted); }
.dz-studio .st-askthis { background: var(--pink-d) !important; border-color: var(--pink-d) !important; color: #fff !important; }
.dz-studio .cm-cardwrap { box-shadow: 0 0 0 1px var(--edge), 0 40px 80px -30px rgba(0, 0, 0, .55); }
.dz-studio .cm-selbox { border-color: #2D7CF6; box-shadow: none; }
.dz-studio .cm-handle { border-color: #2D7CF6; background: #fff; }
.dz-studio .cm-gapmark { border-color: var(--pink-d); background: rgba(210, 64, 95, .08); }
.dz-studio .cm-status { color: var(--muted); }
.dz-studio .cm-status.busy::before { background: var(--pink-d); }
.dz-studio .cm-empty { background: #fff; border: 1px solid var(--edge); }
.dz-studio .cm-linkbtn { color: var(--pink-d); }

.st-strip-h b { color: var(--ink); }
.st-mini { opacity: .9; }
.st-mini canvas, .st-mini .st-card-ph { background: #fff; outline: 1px solid var(--edge); }
.st-mini[aria-current="true"] canvas { outline: 2px solid var(--ink); }
.st-mini-more { background: #fff; outline: 1px solid var(--edge); color: var(--ink); }

.st-grid-head h2 { color: var(--ink); }
.st-grid-head h2 span { color: var(--pink-d); }
.st-grid-sub { color: var(--ink-2); }
.st-filters button { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.st-filters button:hover { border-color: var(--edge-hi); }
.st-filters button[aria-pressed="true"] { background: #fff; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); font-weight: 600; }
.st-card { color: var(--ink); }
.st-card canvas, .st-card .st-card-ph { background: #fff; box-shadow: 0 0 0 1px var(--edge), 0 16px 30px -18px rgba(0, 0, 0, .5); }
.st-card:hover canvas { box-shadow: 0 0 0 2px var(--ink), 0 20px 36px -18px rgba(0, 0, 0, .55); }
.st-card.best canvas { box-shadow: 0 0 0 2px var(--pink-d), 0 16px 30px -18px rgba(0, 0, 0, .5); }
.st-card-cap small { color: var(--pink-d); }

/* the designer chat */
.dz-studio .st-side { background: #fff; border: 1px solid var(--edge); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); }
.st-head { border-bottom: 1px solid var(--line-2); }
.st-head .st-h { color: var(--ink); }
.st-log .me { background: var(--ink); color: #fff; }
.st-log .ai { background: none; padding: 2px 2px; color: var(--ink-2); }
.st-log .ai .s svg { color: #1E8E4E; }
.st-log .ai .s.now { color: var(--ink); }
.st-log .ai p { color: var(--ink); }
.st-log .ai.err p { color: #B3261E; }
.st-spin { border-color: var(--pink-d); border-right-color: transparent; }
.dz-studio .st-finish { border-top: 1px solid var(--line-2); }
.dz-studio .st-gap { border: 1.5px dashed var(--pink-d); background: #fff; color: var(--pink-d); }
.dz-studio .cm-chip { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
.dz-studio .cm-chip:hover:not(:disabled) { border-color: var(--edge-hi); color: var(--ink); }
.st-scope { background: #fff; box-shadow: inset 0 0 0 1.5px var(--pink-d); color: var(--pink-d); }
.st-scope b { color: var(--ink); }
.dz-studio .cm-prompt-row { background: #fff; border: 1px solid var(--edge); box-shadow: 0 8px 22px -14px rgba(0, 0, 0, .4); }
.dz-studio .cm-prompt-row:focus-within { border-color: var(--edge-hi); }
.st-ask-ph { background: var(--pink-d); color: #fff; }
.card-page .dz-studio .cm-prompt-row textarea, .dz-studio .card-page .cm-prompt-row textarea, .card-page.card-page .st-side .cm-prompt-row textarea { color: var(--ink); }
.dz-studio .cm-prompt-row textarea::placeholder { color: #8E8E93; }
.dz-studio .st-signin { background: #fff; border: 1.5px solid var(--pink-d); color: var(--ink) !important; }
.dz-studio kbd { background: #fff; border: 1px solid var(--edge); color: var(--ink); }
@media (max-width: 820px) {
    .dz-studio { background: var(--canvas); }
}
.dz-foot .dz-brand-a { color: var(--ink); }
.dz-foot .dz-foot-make a { color: var(--ink-2); } .dz-foot .dz-foot-make a:hover { color: var(--ink); }
.dz-foot a { color: var(--ink); }
.dz-foot-small { color: var(--muted); }

/* The note when more than 5 photos were added */
.cm-upload-cap { color: #1d1d1f; font-weight: 600; border-left: 3px solid #D2405F; padding-left: 10px; }

/* The Designer film under "How it works" (Nov 2026) */
.dz-film { margin: clamp(32px, 4vw, 56px) auto 0; max-width: 960px; }
.dz-film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 30px 60px -30px rgba(0, 0, 0, .45); }
.dz-film figcaption { margin-top: 14px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink, #1d1d1f); }

/* An image attached to a chat message (an old menu, a flyer, a sketch): a clip button in the bar,
   a chip above it while it waits, a thumbnail in the sent message. */
.st-attach { flex: none; align-self: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: #8E8E93; cursor: pointer; padding: 0; }
.st-attach svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-attach:hover:not(:disabled), .st-attach:focus-visible { color: var(--ink, #18151D); background: rgba(0, 0, 0, .06); outline: none; }
.st-attach:disabled { opacity: .4; cursor: default; }
.st-ref { display: flex; align-items: center; gap: 10px; margin: 0 12px 8px; padding: 6px 6px 6px 6px; border: 1px solid var(--edge, rgba(0, 0, 0, .14)); border-radius: 14px; background: #fff; font-size: 13px; color: var(--ink, #18151D); }
.st-ref[hidden] { display: none; }
.st-ref img { width: 44px; height: 44px; flex: none; object-fit: cover; border-radius: 9px; border: 1px solid rgba(0, 0, 0, .1); }
.st-ref span { flex: 1; min-width: 0; line-height: 1.3; }
.st-ref-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; font-size: 20px; line-height: 1; color: #6E6E73; cursor: pointer; }
.st-ref-x:hover { background: rgba(0, 0, 0, .06); color: var(--ink, #18151D); }
.st-log .me .st-me-ref { display: block; width: 120px; max-width: 100%; height: auto; border-radius: 10px; margin: 0 0 6px auto; border: 1px solid rgba(0, 0, 0, .1); }

/* ================= Softer day theme (6 Nov 2026) =================
   The 5 Nov contrast push (firm 20% edges, cool grey canvas, outlined white controls) was judged
   on a warm-tinted display. On normal screens it looked heavy, so: hairlines, light grey fills for
   secondary controls, a paler canvas. Primary actions stay solid ink or pink. */
body.dz { --canvas: #F2F2F5; --desk: #F2F2F5; --edge: rgba(0,0,0,.10); --edge-hi: rgba(0,0,0,.22); --line-2: rgba(0,0,0,.10); }
.dz-kinds button, .dz-tpl-tabs button, .st-filters button, .dz-studio .cm-chip, .dz-studio .cm-btn, .dz-studio .cm-seg, .dz-pill-glass { background: #F2F2F5; border-color: transparent; }
.dz-kinds button:hover, .dz-tpl-tabs button:hover, .st-filters button:hover, .dz-studio .cm-chip:hover:not(:disabled), .dz-studio .cm-btn:hover:not(:disabled), .dz-pill-glass:hover { background: #E8E8ED; border-color: transparent; }
.dz-kinds button[aria-pressed="true"], .dz-tpl-tabs button[aria-selected="true"], .dz-tpl-tabs button[aria-pressed="true"], .st-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.dz-studio .cm-rail svg { background: #fff; border-color: transparent; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 12px -6px rgba(0,0,0,.18); }
.dz-studio .cm-rail button:hover svg { background: #fff; border-color: transparent; box-shadow: 0 0 0 1px var(--edge-hi); }
.st-bar, .dz-studio .cm-context, .dz-studio .st-side, .dz-studio .cm-drawer, .dz-studio .cm-prompt-row, .dz-ask { border-color: rgba(0,0,0,.08); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px -18px rgba(0,0,0,.22); }
.dz-studio .cm-cardwrap { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 30px 60px -30px rgba(0,0,0,.35); }
.dz-tpls { background: #F5F5F7; }
.dz-tpl img, .st-card canvas, .st-card .st-card-ph { box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 24px -16px rgba(0,0,0,.35); }
.st-kind select, .dz-studio .cm-size { border-color: transparent; background-color: #F2F2F5; }
.dz-studio kbd { background: #F2F2F5; border-color: transparent; }
@media (min-width: 768px) { body.dz.index-page .header { background: rgba(250,250,252,.85) !important; border: 1px solid rgba(0,0,0,.06) !important; box-shadow: 0 8px 24px -16px rgba(0,0,0,.25) !important; } }

/* ================= Cut-out on its way (7 Nov 2026) =================
   A chip in the studio bar while the main photo's cut-out is made, and the download button's
   countdown when someone downloads before it is ready. */
.st-cutchip { display: inline-flex; align-items: center; gap: 7px; flex: none; height: 30px; padding: 0 12px; border-radius: 99px; background: #F2F2F5; color: #6E6E73; font-size: 12.5px; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-cutchip[hidden] { display: none; }
.st-cutchip i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink-d, #de566f); animation: cm-pulse 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .st-cutchip i { animation: none; } }
#cm-download-png.cm-waiting, #cm-download-jpg.cm-waiting, #cm-download-pdf.cm-waiting { font-variant-numeric: tabular-nums; cursor: progress; }
/* Phones: the bar already wraps to two rows, so the chip floats just under it instead of adding a third. */
@media (max-width: 820px) {
    .dz-studio .st-bar { position: relative; z-index: 12; } /* above the context bar (8) */
    .st-cutchip { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; color: #1d1d1f; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 8px 20px -10px rgba(0,0,0,.35); }
}
