/* Backdrop designer */
.dz { padding-top: calc(110px); }
.dz-head { padding: 30px 0 26px; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }
.dz-head h1 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; margin: 12px 0 14px; }
.dz-head h1 .script { color: var(--pop-rose); font-size: 1.15em; }
.dz-head p { font-size: 18px; color: var(--pop-muted); margin: 0 auto; max-width: 680px; line-height: 1.6; }
.dz-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, .95fr); gap: 28px; align-items: start; padding-bottom: 40px; }
.dz-stage-col { position: sticky; top: calc(var(--bar-h) + 96px); }
.dz-stage { position: relative; aspect-ratio: 4 / 3.15; border-radius: 30px; overflow: hidden; background: #f6ece2; box-shadow: 0 30px 70px rgba(58, 42, 36, .14), inset 0 0 0 1px rgba(234, 217, 204, .9); }
.dz-room { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 50% 38%, #fffaf4 0%, rgba(255, 250, 244, 0) 70%),
  linear-gradient(180deg, #f4e9de 0%, #f1e3d6 72%, #e7d4c4 72.2%, #ecdccd 100%); }
.dz-room::after { content: ""; position: absolute; left: 0; right: 0; top: 72%; height: 28%; background: repeating-linear-gradient(90deg, rgba(160, 120, 95, .07) 0 2px, transparent 2px 120px); }
.dz-art { position: absolute; inset: 3% 4% 0; }
.dz-art .pb-svg { width: 100%; height: 100%; }
.dz-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.dz-badge { background: rgba(255, 250, 244, .92); border: 1px solid var(--pop-line); border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 700; color: var(--pop-ink); }
.dz-badge.btnish { cursor: pointer; font-family: inherit; }
.dz-badge.btnish:hover { border-color: var(--pop-rose); color: var(--pop-rose); }
.dz-inspo { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center; background: rgba(255, 250, 244, .94); border: 1px solid var(--pop-line); border-radius: 16px; padding: 6px 12px 6px 6px; box-shadow: 0 8px 20px rgba(58, 42, 36, .12); }
.dz-inspo img { width: 46px; height: 56px; object-fit: cover; border-radius: 999px 999px 8px 8px; }
.dz-inspo span { display: flex; flex-direction: column; line-height: 1.2; }
.dz-inspo small { font-size: 11px; color: var(--pop-muted); font-weight: 700; letter-spacing: .04em; }
.dz-inspo b { font-size: 14px; }
.dz-desc { font-size: 15px; color: var(--pop-muted); margin: 14px 4px 10px; line-height: 1.5; }
.dz-est { background: var(--pop-paper); border: 1px solid var(--pop-line); border-radius: 20px; padding: 16px 18px; }
.est-head { display: flex; justify-content: space-between; align-items: baseline; }
.est-head span { font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--pop-rose); }
.est-head b { font-family: var(--serif-pop); font-size: 34px; }
.dz-est ul { list-style: none; margin: 8px 0 10px; padding: 0; font-size: 14px; }
.dz-est li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px dashed var(--pop-line); }
.dz-est li span:last-child { font-weight: 700; white-space: nowrap; }

.dz-controls { display: grid; gap: 16px; }
.dz-card { background: var(--pop-paper); border: 1px solid var(--pop-line); border-radius: 24px; padding: 20px; }
.dz-card h2 { font-family: "Manrope", sans-serif; font-size: 17px; font-weight: 800; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.dz-card h2 span { width: 28px; height: 32px; display: grid; place-items: center; background: var(--pop-rose); color: #fff; font-size: 13px; border-radius: 50% 50% 50% 50% / 56% 56% 44% 44%; flex: 0 0 auto; }
.dz-card h2 small { margin-left: auto; font-weight: 600; color: var(--pop-muted); font-size: 13px; }
.presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-height: 420px; overflow: auto; padding: 2px; }
.preset { text-align: left; border: 1.5px solid var(--pop-line); background: #fff; border-radius: 16px; padding: 8px 10px 10px; cursor: pointer; font: inherit; color: var(--pop-ink); display: flex; flex-direction: column; gap: 2px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.preset:hover { transform: translateY(-2px); border-color: #d9b9a8; }
.preset.on { border-color: var(--pop-rose); box-shadow: 0 0 0 3px rgba(168, 76, 63, .14); }
.preset .pv { display: block; background: #f7eee6; border-radius: 10px; aspect-ratio: 4 / 2.7; overflow: hidden; margin-bottom: 6px; }
.preset .pv .pb-svg { width: 100%; height: 100%; }
.preset b { font-size: 14.5px; }
.preset small { font-size: 12px; color: var(--pop-muted); line-height: 1.3; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.seg-b { font: 700 13.5px "Manrope", sans-serif; border: 1.5px solid var(--pop-line); background: #fff; color: var(--pop-ink); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.seg-b.on { background: var(--pop-ink); color: #fff; border-color: var(--pop-ink); }
.arow { margin-top: 6px; }
.lbl { display: block; font-weight: 700; font-size: 13.5px; margin: 10px 0 7px; }
.lbl small { font-weight: 500; color: var(--pop-muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.sw { width: 32px; height: 38px; border-radius: 999px 999px 6px 6px; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--pop-line); cursor: pointer; padding: 0; }
.sw.on { box-shadow: 0 0 0 2px var(--pop-rose); transform: translateY(-2px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 600 13px "Manrope", sans-serif; border: 1.5px solid var(--pop-line); background: #fff; color: var(--pop-ink); border-radius: 999px; padding: 6px 11px 6px 6px; cursor: pointer; }
.chip i { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0, var(--c) 45%, color-mix(in srgb, var(--c), #000 25%) 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.chip.chrome i { background: radial-gradient(circle at 35% 28%, #fff 0, var(--c) 40%, color-mix(in srgb, var(--c), #000 50%) 90%); }
.chip.on { border-color: var(--pop-ink); background: var(--pop-blush-2); }
.chip em { font-style: normal; font-size: 11px; font-weight: 800; background: var(--pop-ink); color: #fff; border-radius: 999px; padding: 1px 6px; }
.tgl { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; cursor: pointer; }
.tgl input { width: 18px; height: 18px; accent-color: var(--pop-rose); margin-top: 1px; flex: 0 0 auto; }
.tgls { display: flex; gap: 22px; flex-wrap: wrap; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qk { font: 600 12.5px "Manrope", sans-serif; border: 1px dashed #d4b8a8; background: transparent; color: var(--pop-ink); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.qk:hover { border-style: solid; border-color: var(--pop-rose); }

.dz-send { padding-bottom: 80px; scroll-margin-top: calc(var(--bar-h) + 90px); }
.dz-card.big { padding: clamp(20px, 3vw, 36px); border-radius: 30px; }
.send-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; margin-bottom: 22px; }
.send-head h2 { font-family: var(--serif-pop); font-size: clamp(30px, 3.4vw, 44px); margin: 6px 0 8px; display: block; }
.send-head p { margin: 0; color: var(--pop-muted); }
.mini-art { background: #f6ece2; border-radius: 18px; aspect-ratio: 4 / 3; padding: 6px; }
.send-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.send-grid .f label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 6px; }
.send-grid .f label small { font-weight: 500; color: var(--pop-muted); }
.send-grid .full { grid-column: 1 / -1; }
.send-grid .fld[aria-invalid] { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, .12); }
.send-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.err { color: #b3261e; font-weight: 700; margin: 0; min-height: 1.3em; }
.sent-art { background: #f6ece2; border-radius: 16px; padding: 8px; }
.sent-steps { margin: 0 0 12px; padding-left: 20px; line-height: 1.7; }

@media (max-width: 980px) {
  .dz-grid { grid-template-columns: 1fr; }
  .dz-stage-col { position: sticky; top: calc(var(--bar-h) + 76px); z-index: 5; background: var(--pop-cream); padding-bottom: 8px; }
  .dz-stage { aspect-ratio: 4 / 2.7; border-radius: 22px; }
  .dz-desc, .dz-est { display: none; }
  .send-grid { grid-template-columns: 1fr 1fr; }
  .send-head { grid-template-columns: 1fr; }
  .mini-art { max-width: 260px; }
}
@media (max-width: 560px) {
  .dz { padding-top: 84px; }
  .dz-head h1 { font-size: 34px; }
  .dz-head p { font-size: 16px; }
  .send-grid { grid-template-columns: 1fr; }
  .presets { grid-template-columns: 1fr 1fr; max-height: 340px; }
  .dz-inspo { display: none; }
  .dz-badges .dz-badge { font-size: 11.5px; padding: 5px 10px; }
}
.dz-est.m-only { display: none; margin-bottom: 18px; }
@media (max-width: 980px) { .dz-est.m-only { display: block; } }
.date-note { display: block; margin-top: 6px; font-size: 12.5px; color: var(--pop-muted); font-weight: 600; }
.date-note.ok { color: #3f6a37; } .date-note.warn { color: #85601a; }
.send-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.book-note { margin: 0; font-size: 14px; color: var(--pop-muted); }
.agree { max-height: 220px; overflow: auto; border: 1px solid var(--pop-line); border-radius: 14px; padding: 12px 16px; background: var(--pop-paper); font-size: 14px; line-height: 1.55; }
.agree ol { margin: 6px 0 0; padding-left: 18px; }
.agree li { margin-bottom: 6px; }
.sig-preview { font-family: var(--script); font-size: 40px; color: var(--pop-ink); min-height: 48px; border-bottom: 1.5px solid var(--pop-ink); margin: 8px 0 4px; }
.book-sum { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; margin-bottom: 14px; }
.book-sum .sent-art { padding: 4px; }
@media (max-width: 520px) { .book-sum { grid-template-columns: 1fr; } .send-btns .pbtn { width: 100%; } }
