@font-face {
  font-family: "Bebas Neue"; src: url("./fonts/bebas-neue.ttf") format("truetype");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("./fonts/dm-sans.ttf") format("truetype");
  font-style: normal; font-weight: 100 1000; font-display: swap;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
:root {
  color-scheme: dark; --black: #090909; --surface: #141412; --ivory: #f5f2ec; --gold: #c8a96e;
  --light-gold: #e4c99a; --line: #38362e; --muted: #b4afa4;
  --display: "Bebas Neue", Impact, sans-serif; --body: "DM Sans", Arial, sans-serif;
}
body { margin: 0; color: var(--ivory); background: radial-gradient(ellipse at 12% 18%,#211d166b,transparent 54%),var(--black); font: 15px/1.5 var(--body) }
h1,h2,h3,p,ol,dl,dd { margin: 0 }
button,input,textarea { font: inherit }
button,a { color: inherit }
button,.file-action { cursor: pointer }
a { text-underline-offset: .2em }
:focus-visible,.file-action:focus-within { outline: 2px solid var(--light-gold); outline-offset: 4px }
.wrap { width: min(1380px,92%); margin-inline: auto }
.mast { border-bottom: 1px solid #302c23; background: #090909 }
.mast-inner,.brand,.ticket-top strong,.ticket-top,.steps,.steps li,.branches,.names,.file-row,.summary,.action,.preview-meta span,.ticket-spec,.personal { display: flex; align-items: center }
.mast-inner { min-height: 65px; gap: 21px }.brand,.ticket-top strong { gap: 9px; font: 400 28px/1 var(--display); letter-spacing: .1em; text-decoration: none }
.brand img { width: 37px }.mast-divider { width: 1px; height: 17px; background: var(--line) }
.mast-note,.mail-link { font-size: 13px; color: #d8d1c2 }.mail-link { margin-left: auto; text-decoration: none }.mail-link span { color: var(--gold) }
.intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; padding: clamp(25px,3.3vw,48px) 0 24px }
.eyebrow,.preview-meta,.ticket-top span,.ticket-type small,.ticket-spec span,.specs dt,.inbox small { font: 600 10px/1.4 var(--body); text-transform: uppercase; letter-spacing: .17em }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--gold); margin-bottom: 7px }.eyebrow i { height: 1px; width: 32px; background: var(--gold) }
h1 { font: 400 clamp(52px,5.5vw,81px)/1 var(--display); letter-spacing: .014em }
h1 em { color: var(--gold); font-style: normal }.intro p:last-child { margin-top: 7px; color: #cdc7bb }
.steps { list-style: none; gap: 11px; padding: 0; margin-bottom: 3px }.steps li { gap: 6px; font-size: 12px; color: var(--muted) }
.steps li+li::before { content: ""; width: 15px; height: 1px; background: var(--line); margin-right: 3px }
.steps b { display: grid; place-items: center; width: 22px; height: 22px; font-size: 11px; border: 1px solid #676052; border-radius: 50% }
.steps [aria-current] { color: var(--light-gold) }.steps [aria-current] b { color: var(--black); background: var(--gold); border-color: var(--gold) }
.workspace { display: grid; grid-template-columns: minmax(0,1.57fr) minmax(325px,1fr); align-items: start; gap: clamp(18px,2.3vw,36px); padding-bottom: 50px }
.preview,.controls { min-width: 0 }
.stage { background: #25221e; padding: clamp(18px,2.7vw,42px); padding-top: 17px; border: 1px solid #514a3e }
.preview-meta { color: #fff6ea; margin-bottom: 13px; text-shadow: 0 1px 4px #000 }.preview-meta span { gap: 7px }.preview-meta i { display: inline-block; width: 6px; height: 6px; background: var(--light-gold); border-radius: 50% }
.ticket {
  --paper: #f0e7d3; --ink: #2c2420; --edge: #b59b72; --band: #171512;
  container-type: inline-size; border: 1px solid var(--edge); background: var(--paper);
  color: var(--ink); box-shadow: 0 16px 34px #0009;
}
.ticket[data-motif="klid"] { --band:#493345; --paper:#f4ecdf; --edge:#aa8c9a; --ink:#42283b }
.ticket[data-motif="dva"] { --band:#0f302b; --paper:#dfe9d8; --edge:#9da982; --ink:#122e28 }
.ticket[data-motif="noc"] { --band:#0f1d32; --paper:#e4eaf0; --edge:#98adbb; --ink:#1a2940 }
.voucher-face {
  --face-bg:#252320; --foil:#e2c28e;
  position:relative; isolation:isolate; overflow:hidden; aspect-ratio:2.16;
  background:var(--face-bg); color:#fff1d9;
}
.voucher-face::after { content:""; position:absolute; inset:1.4cqw; border:1px solid color-mix(in srgb,var(--foil) 44%, transparent); pointer-events:none }
.card-art { position:absolute; inset:0 0 0 auto; width:70%; height:100%; object-fit:cover; object-position:right center; mask-image:linear-gradient(to right,transparent,#000 28%) }
.ticket-top,.face-title,.face-edition { position:absolute; left:5.3%; z-index:1 }
.ticket-top { top:10%; color:var(--foil) }
.ticket-top strong { font:400 2.6cqw/1 var(--display); letter-spacing:.1em; gap:1.05cqw }
.ticket-top img { width:4.6cqw; height:auto }
.face-title {
  top:52%; transform:translateY(-50%); margin:0;
  font:400 11.9cqw/.88 var(--display); letter-spacing:-.018em;
}
.face-title span { display:block }
.face-edition { bottom:10%; margin:0; color:var(--foil); font:650 1.35cqw/1.1 var(--body); text-transform:uppercase; letter-spacing:.17em }
.face-edition span { margin-inline:.5em; opacity:.65 }
.ticket[data-motif="sila"] .face-title span + span { color:var(--foil) }
.ticket[data-motif="klid"] .voucher-face { --face-bg:#e7d9c7; --foil:#735239; color:#452637 }
.ticket[data-motif="klid"] .face-title { font:italic 400 9.9cqw/.88 Georgia,serif; letter-spacing:-.065em }
.ticket[data-motif="klid"] .face-title span + span { padding-left:.42em }
.ticket[data-motif="klid"] .card-art { width:78% }
.ticket[data-motif="dva"] .voucher-face { --face-bg:#25372b; --foil:#e5c78e; color:#f7e6bb }
.ticket[data-motif="dva"] .card-art { left:-14%; right:auto; width:76%; mask-image:linear-gradient(to right,#000 87%,transparent) }
.ticket[data-motif="dva"] :is(.ticket-top,.face-title,.face-edition) { left:63% }
.ticket[data-motif="dva"] .face-title { font:400 10.6cqw/.86 var(--display); letter-spacing:.015em }
.ticket[data-motif="dva"] .voucher-face::after { border-style:double; border-width:3px }
.ticket[data-motif="noc"] .voucher-face { --face-bg:#202a37; --foil:#d2d8df; color:#f8f3e7 }
.ticket[data-motif="noc"] .face-title { font:400 8.75cqw/.98 Georgia,serif; letter-spacing:-.06em }
.ticket[data-motif="noc"] .face-title span + span { font-style:italic; color:#ddd2b7 }
.dedication { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; border-top:1px solid var(--edge); padding:2.2cqw 3.4cqw; gap:2cqw }
.personal { display:flex; align-items:center; gap:2cqw; min-width:0; min-height:9cqw; overflow-wrap:anywhere }
.personal > div { flex:1; min-width:0 }
.personal img { width:12.5cqw; height:14cqw; object-fit:cover; border:.55cqw solid #fffaf0; border-bottom-width:1.55cqw; transform:rotate(-4deg); box-shadow:0 2px 5px #0004 }
.personal strong { font:italic 400 clamp(19px,4.2cqw,43px)/1.04 Georgia,serif; letter-spacing:-.035em }
.personal p { white-space:pre-line; margin-top:.45cqw; font-size:clamp(11px,1.8cqw,17px); line-height:1.35 }
.personal i { display:block; font-size:clamp(10px,1.65cqw,16px); margin-top:.4cqw }
.ticket-spec { display:grid; justify-items:start; align-content:center; border-left:1px solid var(--edge); padding-left:2.4cqw; gap:.3cqw }
.ticket-spec strong { font:400 clamp(19px,4.15cqw,36px)/1.05 var(--display) }
.ticket-spec span { color:var(--ink); font-size:clamp(7px,1.02cqw,10px); line-height:1.45; letter-spacing:.06em }
.ticket[data-motif="klid"] .personal strong { letter-spacing:-.06em }
.ticket[data-motif="dva"] .personal strong { font:400 clamp(21px,4.5cqw,46px)/1 var(--display); letter-spacing:.02em }
.ticket[data-motif="noc"] .dedication { color:#eff3fc; background:var(--band) }
.ticket[data-motif="noc"] .ticket-spec span { color:#c7d9e5 }
.preview-caption { font-size: 10px; color: var(--muted); margin: 5px 0 12px }
.specs { display: grid; grid-template-columns: repeat(3,1fr); padding: 15px 0; border-block: 1px solid var(--line) }
.specs div + div { padding-left: 16px; border-left: 1px solid var(--line) }.specs dt { color: var(--muted); font-size: 9px }.specs dd { font: 400 23px var(--display); letter-spacing: .04em; margin-top: 2px }
.redeem { margin-top: 17px; color: #d8d3c8; font-size: 13px }.redeem h3 { font: 400 24px var(--display); letter-spacing: .04em }.redeem ol { padding: 0 0 0 20px; margin: 6px 0 }.redeem li { margin: 3px 0 }.redeem li::marker { color: var(--gold) }.redeem p { font-size: 11px; color: var(--muted) }
.controls { border: 1px solid var(--line); background: linear-gradient(135deg,#1c1b18,#121211 60%); padding: clamp(17px,2vw,29px) }
.controls h2 { font: 400 clamp(30px,2.7vw,41px)/1 var(--display); letter-spacing: .035em; margin-bottom: 17px }
.controls label[for],legend { display: block; font-weight: 600; font-size: 13px; margin-bottom: 5px }.controls small { font-weight: 400; font-size: 11px; color: var(--muted) }
fieldset { border: 0; margin: 0 0 14px; padding: 0; min-width: 0 }
.motifs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px }
.motifs label,.branches label,.file-action { position: relative; cursor: pointer }
.motifs input,.branches input,.file-action input { position: absolute; opacity: 0; width: 1px; height: 1px }
.motifs span { display: block; position: relative; background: #0b0b0a; border: 1px solid #49463d; text-align: center; padding: 4px; color: #ddd7ca }
.motifs img { display:block; width:100%; height:auto; aspect-ratio:2.3; object-fit:cover; object-position:right center; margin-bottom:3px; background:#15110e }
.motifs [data-motif="klid"] img { background:#f2e5db }
.motifs [data-motif="dva"] img { background:#234e43 }
.motifs [data-motif="noc"] img { background:#17283c }
.motifs span { font-size:12px; font-weight:550 }
.motifs input:checked + span,.branches input:checked + span { border-color: var(--gold); color: var(--light-gold); background: #242019 }
.motifs input:checked + span::after { content: '✓'; position: absolute; right: 4px; top: 4px; display: grid; place-items: center; border-radius: 50%; width: 15px; height: 15px; font-size: 10px; color: #171511; background: var(--gold) }
.motifs input:focus-visible + span,.branches input:focus-visible + span { outline: 2px solid var(--light-gold); outline-offset: 2px }
.branches,.names { gap: 9px }.branches label,.names > div { flex: 1; min-width: 0 }.branches span { display: block; padding: 8px; text-align: center; border: 1px solid #514d42; font-size: 14px }.names { margin-bottom: 12px }
input:not([type]),input[type=email],textarea { display: block; width: 100%; border: 1px solid #504c42; background: #10100f; color: var(--ivory); padding: 9px 10px; font-size: 14px; border-radius: 0 }
textarea { resize: vertical; min-height: 60px }::placeholder { color: #ada79b }
.file-row { gap: 12px; margin-top: 8px }.text-button,.back,.file-action,.jump-preview { color: var(--light-gold); font-size: 13px; background: none; border: 0; padding: 3px 0; text-decoration: underline; text-underline-offset: 3px }
.wishes { display: grid; gap: 4px; margin: 5px 0 8px }.wishes button { background: #23221e; border: 1px solid var(--line); padding: 7px; text-align: left; font-size: 13px }.wishes button:hover { border-color: var(--gold) }
#photo-status,.hint,.fine { color: var(--muted); font-size: 13px }.jump-preview { display: none }.summary { margin-top: 13px; padding: 11px 0; justify-content: space-between; border-top: 1px solid var(--line); font-size: 14px }.summary strong { font: 400 30px var(--display) }
.action { width: 100%; border: 0; color: #15120e; background: var(--gold); font-weight: 700; text-decoration: none; justify-content: space-between; padding: 12px 16px; transition: background .18s }.action:hover { background: var(--light-gold) }.action span { font-size: 19px }.fine { text-align: center; margin-top: 6px; font-size: 11px }.back { margin-top: 14px }
.order-line,.inbox { background: #201d18; border-left: 2px solid var(--gold); padding: 15px; margin: 17px 0; overflow-wrap: anywhere }.order-line p,.inbox p { margin: 4px 0; font-size: 14px }.inbox strong,.inbox small { display: block }.inbox small { color: var(--gold); margin-bottom: 6px }
.mast-links { margin-left: auto; display: flex; align-items: center; gap: 23px }
.mast-links a { font-size: 13px; text-decoration: none }.mast-links a:hover { color: var(--light-gold) }
.campaign { isolation:isolate; position:relative; overflow:hidden; background:#191917 url("./vanoce-kampan.webp") center / cover; border-bottom:1px solid #494439 }
.campaign::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#090908c9,transparent 72%) }
.campaign-inner { display: grid; grid-template-columns: minmax(0,.84fr) minmax(0,1.16fr); align-items: center; gap: 5%; padding-block: clamp(42px,5vw,85px) }
.campaign-copy { max-width: 560px }.campaign-copy .eyebrow { margin-bottom: 20px }
.campaign h1 { font-size: clamp(64px,7.1vw,114px); line-height: .85; letter-spacing: .005em }
.campaign h1 em { display: inline-block; font: italic 400 .83em/1.04 Georgia,serif; letter-spacing: -.065em; color: var(--light-gold) }
.campaign-lead { margin: 20px 0 22px; color: #e1dad0; max-width: 43ch; font-size: clamp(15px,1.2vw,18px); line-height: 1.6 }
.campaign-buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap }.campaign-buy .action { width: auto; gap: 22px; padding: 14px 18px }
.campaign-buy > span { display: grid; font-size: 11px; color: #d5cfc5 }.campaign-buy b { font: 400 29px/1 var(--display); color: var(--ivory) }
.campaign-locations { display: flex; gap: 9px; align-items: center; margin-top: 19px; color: #ccc0b0; font: 550 10px/1.5 var(--body); text-transform: uppercase; letter-spacing: .16em }
.campaign-locations i { width: 3px; height: 3px; background: var(--gold); transform: rotate(45deg) }
.showcase { min-width: 0; padding: 1.3vw 2vw 0 0 }
.gift-stack { position: relative; isolation: isolate; margin: 0 2.5% 0 4%; transform: rotate(-3deg); transition: transform .45s ease }
.gift-stack img { display: block; width: 100%; height: auto; box-shadow: 0 22px 30px #0008; position: relative }
.sleeve { position:absolute; inset:6% -2% -3% 2%; z-index:-1; transform:rotate(6deg); background:#bca37d; border:1px solid #d2ba94; box-shadow:0 12px 28px #0006 }
.sleeve::after { content: ""; position: absolute; inset: 9px; border: 1px solid #64513f99 }
@media(hover:hover) and (prefers-reduced-motion:no-preference) { .gift-stack:hover { transform: rotate(-1deg) translateY(-3px) } }
.campaign-picker { margin: 35px 0 0; display: flex; justify-content: center }
.sample-caption { margin:8px 0 0; color:#e1d7c8; font-size:12px; text-align:center }
.campaign-picker legend { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden }
.campaign-picker > div { max-width:100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 4px; background: #10100fe6; border: 1px solid #605449; border-radius: 30px }
.campaign-picker label { position: relative; cursor: pointer }.campaign-picker input { position: absolute; width: 1px; height: 1px; opacity: 0 }
.campaign-picker span { display: inline-block; padding: 6px 14px; color: #e9e0d5; font-size: 12px; border-radius: 25px }.campaign-picker input:checked + span { background: var(--light-gold); color: #231c14 }
.campaign-picker input:focus-visible + span { outline: 2px solid white; outline-offset: 2px }
.intro h2 { font: 400 clamp(34px,3.6vw,54px)/1 var(--display) }.intro h2 em { color: var(--light-gold); font-style: normal }
#pripravit { scroll-margin-top: 16px }
@media(max-width: 840px) {
  .campaign-inner { grid-template-columns: 1fr; gap: 22px; padding: 28px 0 22px }
  .campaign { background-position: 67% center }.campaign-copy { max-width: 100% }
  .campaign h1 { font-size: clamp(56px,9vw,76px) }.campaign h1 br { display: none }.campaign h1 em { margin-left: .12em }
  .campaign-copy .eyebrow { margin-bottom: 12px }.campaign-lead { margin: 11px 0 15px }.campaign-locations { display: none }
  .showcase { width: min(100%,565px); padding: 7px 0 0; margin: 0 auto }.campaign-picker { margin-top: 26px }
}
@media(max-width:480px) {
  .mast-links { gap: 12px }.mast-links a { font-size: 11px }
  .campaign h1 { font-size: clamp(47px,12vw,58px) }.campaign h1 em { display: block; margin-left: 0 }
  .campaign-buy .action { padding: 10px 14px }.campaign-picker span { padding: 5px 11px }
}
.packages > div { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px }
.packages label { position:relative; cursor:pointer }
.packages input { position:absolute; opacity:0; width:1px; height:1px }
.packages span { display:grid; text-align:center; gap:3px; border:1px solid var(--line); background:#131310; padding:8px 1px }
.packages b { font:400 24px/1 var(--display) }.packages small { font-size:clamp(9px,1vw,12px); white-space:nowrap }
.packages input:checked + span { color:var(--light-gold); background:#2a231a; border-color:var(--gold) }
.packages input:focus-visible + span { outline:2px solid var(--light-gold); outline-offset:1px }
.file-row .file-action { display:grid; gap:2px; padding:8px 12px; border:1px dashed #716249; text-decoration:none }
.file-action span { text-decoration:underline; text-underline-offset:3px }.file-action small { color:var(--muted) }
@media(max-width:480px) { .campaign-picker > div { display:grid; grid-template-columns:repeat(2,1fr); border-radius:14px; text-align:center; gap:2px }.campaign-picker span { display:block } }
@media(prefers-reduced-motion:reduce) { .gift-stack { transition: none } }
@media(max-width: 840px) {
  .wrap { width: min(93%,690px) }.workspace { grid-template-columns: 1fr }.intro { display: block; padding: 22px 0 16px }.steps { margin-top: 13px }
  .workspace { display: flex; flex-direction: column; align-items: stretch }.controls { width: 100%; order: 2 }.preview { display: contents }.stage { order: 0 }.preview-caption { order: 1; margin: -12px 0 0 }.specs { order: 3 }.redeem { order: 4; margin-top: 0 }.jump-preview { display: inline-block; margin-top: 8px }
}
@media(max-width: 480px) {
  .mast-inner { gap: 10px; min-height: 55px }.mast-note,.mast-divider { display: none }.mast .brand { font-size: 24px }.brand img { width: 32px }
  .stage { padding: 13px 10px 18px }.preview-meta { margin-bottom: 8px; font-size: 8px }.ticket-top strong { letter-spacing: .035em }
  .intro p:last-child { font-size: 14px }.specs div + div { padding-left: 8px }.specs dt { font-size: 8px }.specs dd { font-size: 20px }
}
.workspace { padding-top:clamp(20px,3vw,46px) }
.form-progress { display:flex; padding:0; margin:0 0 20px; gap:8px; list-style:none }
.form-progress li { flex:1; padding-top:6px; border-top:2px solid #4a463e; color:#ada89d; font-size:12px }
.form-progress li[aria-current] { color:#efd3a0; border-color:var(--gold); font-weight:700 }
.form-progress li.done { border-color:#a08a64 }
.controls { background:#191916; border-color:#454136; border-radius:10px }
.controls h2 { font-size:clamp(32px,3vw,44px); letter-spacing:.012em; margin-bottom:19px }
.controls h2:focus { outline:none }
.controls fieldset { margin-bottom:17px }
.controls legend,.controls label[for] { font-size:14px; margin-bottom:7px }
.motifs { gap:8px }
.motifs span { display:flex; align-items:flex-end; overflow:hidden; isolation:isolate; min-height:74px; border-radius:5px; padding:9px 11px; text-align:left; font-size:14px; font-weight:650; color:white; border:2px solid #48463e }
.motifs img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-position:60% 54%; margin:0 }
.motifs span::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(0deg,#090908ed,transparent 90%) }
.motifs input:checked + span { color:white; border-color:#e2c695 }
.motifs input:checked + span::after { top:6px; right:6px; width:19px; height:19px; background:#f1dcaf; font-size:13px }
.packages > div { grid-template-columns:repeat(6,minmax(0,1fr)); gap:6px }
.packages label { grid-column:span 2 }
.packages label:nth-child(n+4) { grid-column:span 3 }
.packages span { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; min-height:53px; padding:5px; border-color:#47453c; border-radius:5px }
.packages b { font-size:24px }
.packages small { font-size:12px; color:#c9c4b9 }
.branches span { display:flex; justify-content:center; align-items:center; min-height:46px; border-radius:5px }
.branches input:checked + span::before { content:"✓"; margin-right:6px }
.controls input:not([type]),.controls input[type=email],.controls textarea { min-height:46px; font-size:16px; border-radius:5px; padding:10px 12px }
.controls textarea { min-height:88px }
.names { align-items:flex-start }
.file-row { flex-wrap:wrap; gap:6px }
.file-row .file-action { flex:1 1 100%; padding:12px; border-radius:5px; grid-template-columns:26px auto; justify-content:start; align-items:center; column-gap:9px }
.file-action::before { content:"+"; grid-row:span 2; font:26px/1 var(--body); text-align:center }
.file-action span { font-weight:650; text-decoration:none }
.controls .text-button,.controls .back,.wishes button,.preview-button { min-height:44px; font-size:14px }
.controls .action { min-height:49px; border-radius:5px }
.form-footer .summary { padding:12px 0; margin-top:16px }
.form-footer .summary small,.form-footer .summary strong { display:block }
.form-footer .summary small { font-size:12px }
.form-footer .summary strong { line-height:1.1; margin-top:2px }
.form-footer .back { display:block; margin:5px auto 0 }
.preview-button { display:none; background:none; color:var(--light-gold); border:1px solid #635947; padding:6px 12px; border-radius:5px; font-weight:600 }
#preview-dialog { color:var(--ivory); padding:16px; border:1px solid #61533e; border-radius:10px; background:#191916; width:min(620px,96vw); max-width:96vw; max-height:92dvh; overflow:auto }
#preview-dialog::backdrop { background:#050504cf }
body:has(#preview-dialog[open]) { overflow:hidden }
.dialog-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px }
.dialog-head h2 { font:400 30px/1 var(--display) }
.dialog-head button { width:44px; height:44px; border:1px solid var(--line); background:transparent; color:var(--ivory); font-size:26px; border-radius:5px }
.controls .order-line { display:grid; gap:9px; padding:14px }
.order-line div { display:grid; grid-template-columns:5em 1fr; gap:8px; align-items:baseline }
.order-line dt { color:var(--muted); font-size:13px }
.order-line dd { font-size:14px; font-weight:600 }
@media screen and (max-width:840px) {
  .workspace { gap:16px }
  .controls { order:-1 }
  .preview-button { display:block }
  .workspace:has(#complete[hidden]) :is(.stage,.preview-caption) { display:none }
}
@media screen and (max-width:480px) {
  .controls { padding:15px }
  .names { display:grid; gap:12px; margin-bottom:12px }
  .form-progress { margin-bottom:15px }
}
@media print {
  @page { size: A4 landscape; margin: 12mm 22mm }
  :root { color-scheme: light }
  body { background: white; color: #28251f; print-color-adjust: exact; -webkit-print-color-adjust: exact }
  .mast,.intro,.controls,.preview-meta,.specs,.campaign,#preview-dialog { display: none !important }
  #editor { width: 100%; max-width: none }
  main.wrap,.preview,.workspace,.stage { display: block; width: 100%; max-width: none; margin: 0; padding: 0; background: none; border: 0 }
  .ticket { width: 210mm; max-width: 100%; margin-inline: auto; box-shadow: none; break-inside: avoid }
  .personal { min-height: 10cqw }.personal p { white-space: normal }
  .preview-caption,.redeem { width: 210mm; max-width: 100%; margin: 2mm auto; color: #383126 }.redeem { border-top: 1px solid #c8a96e; padding-top: 2mm; font-size: 9pt }.redeem p { color: #4f4b43 }.redeem h3 { font-size: 15pt }.redeem li { margin: 0 }
}
