:root {
  --brand: #0E2A47;
  --accent: #D96B43;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #EAE5DC;
  color: var(--brand);
}

.print-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #DDD5C8;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.pt-left, .pt-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}
.pt-primary { background: var(--brand); color: #fff; }
.pt-ghost { background: #F5F1EA; color: var(--brand); border-color: #DDD5C8; }
.pt-select-wrap { font-size: 0.88rem; color: #526170; display: flex; align-items: center; gap: 6px; }
.pt-select-wrap select { padding: 7px 10px; border-radius: 8px; border: 1px solid #DDD5C8; font-family: inherit; }

.standee-stage {
  padding: 32px 16px 56px;
  display: flex;
  justify-content: center;
}

.standee {
  background: #FAF8F4;
  border: 1px solid #DFD7CA;
  box-shadow: 0 24px 60px rgba(14, 42, 71, 0.16);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-align: center;
}

.standee.size-a5 {
  width: 148mm;
  min-height: 210mm;
  padding: 11mm 12mm 9mm;
  border-radius: 6px;
}

.standee.size-a4 {
  width: 210mm;
  min-height: 297mm;
  padding: 18mm 20mm 14mm;
  border-radius: 6px;
}

.standee-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7mm;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.standee-header { padding-top: 6mm; }
.standee-logo { max-height: 16mm; margin: 0 auto 4mm; object-fit: contain; }
.standee-emblem { font-size: 22pt; color: var(--accent); line-height: 1; margin-bottom: 3mm; }
.standee-kicker {
  margin: 0 0 2mm;
  font-size: 7.5pt;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--accent);
}
.standee-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22pt;
  margin: 0 0 2mm;
  color: var(--brand);
  line-height: 1.15;
}
.standee.size-a4 .standee-title { font-size: 32pt; }
.standee-sub { margin: 0; font-size: 9.5pt; color: #5C6B7A; }

.standee-qr-block {
  margin: 5mm 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.qr-frame {
  background: #fff;
  padding: 4.5mm;
  border-radius: 14px;
  border: 2px solid var(--brand);
  box-shadow: 0 8px 24px rgba(14, 42, 71, 0.08);
  display: inline-block;
}
.qr-frame svg { display: block; width: 52mm; height: 52mm; }
.standee.size-a4 .qr-frame svg { width: 78mm; height: 78mm; }

.qr-cta {
  margin: 4mm 0 1mm;
  font-size: 11.5pt;
  font-weight: 700;
  color: var(--brand);
}
.standee.size-a4 .qr-cta { font-size: 16pt; }
.qr-cta-sub { margin: 0 0 2mm; font-size: 8pt; color: #5C6B7A; }
.qr-url {
  margin: 0;
  font-family: ui-monospace, monospace;
  font-size: 8.5pt;
  color: var(--accent);
  font-weight: 600;
}

.standee-wifi {
  display: flex;
  align-items: center;
  gap: 5mm;
  background: #fff;
  border: 1px solid #E2DACE;
  border-radius: 12px;
  padding: 3.5mm 4.5mm;
  text-align: left;
}
.sw-qr svg { width: 22mm; height: 22mm; display: block; }
.standee.size-a4 .sw-qr svg { width: 32mm; height: 32mm; }
.sw-label {
  font-size: 7.5pt;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.5mm;
}
.sw-row { font-size: 9pt; color: #526170; margin-bottom: 1mm; }
.standee.size-a4 .sw-row { font-size: 12pt; }
.sw-row strong {
  font-family: ui-monospace, monospace;
  color: var(--brand);
}

.standee-footer {
  border-top: 1px solid #E2DACE;
  padding-top: 3mm;
  margin-top: 4mm;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 7.5pt;
  color: #5C6B7A;
}
.standee-wm { font-weight: 600; color: var(--brand); }

@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .standee-stage { padding: 0; }
  .standee {
    box-shadow: none;
    border: 0;
    margin: 0 auto;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
