.merchant-main {
  max-width: 1120px;
}
.brand small {
  font-size: 12px;
  color: #6b7684;
  font-weight: 500;
}
.merchant-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.merchant-layout .card {
  margin: 0;
}
.merchant-layout h2 {
  margin-bottom: 2px;
}
.merchant-layout .option {
  align-items: flex-start;
  padding: 17px;
}
.merchant-layout .option input {
  margin-top: 3px;
  flex-shrink: 0;
}
.merchant-layout .option small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  margin: 6px 0 0;
  color: #6b7684;
  font-weight: 400;
}
.template-options {
  display: grid;
  gap: 8px;
}
.template-options .option {
  margin: 0;
}
.preview-column {
  position: sticky;
  top: 24px;
}
.preview-symbol {
  display: flex;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #e8f3ff;
  color: #3182f6;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 26px;
  margin-bottom: 26px;
}
#empty-preview {
  padding: 36px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#poster-preview {
  margin: 16px 0;
  box-shadow: 0 4px 24px #191f2810;
  background: white;
}
#poster-preview svg {
  display: block;
  width: 100%;
  height: auto;
}
.variant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.variant-tabs button {
  background: white;
  border: 1px solid #d1d6db;
  min-height: 44px;
  font-size: 14px;
  padding: 9px 14px;
}
.variant-tabs button[aria-pressed="true"] {
  background: #e8f3ff;
  border-color: #3182f6;
  color: #1b64da;
}
.export-card {
  padding: 20px;
}
.export-card .actions {
  margin: 0;
}
.export-card .helper {
  margin: 0;
}
#print-root {
  display: none;
}
#export-status {
  font-size: 14px;
}
.merchant-main footer {
  font-size: 13px;
  color: #6b7684;
}
@media (min-width: 760px) {
  .merchant-main {
    padding: 36px;
    margin: 24px auto;
  }
  .merchant-main .intro {
    margin-bottom: 32px;
  }
}
@media (max-width: 759px) {
  .merchant-main {
    max-width: 560px;
  }
  .merchant-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .preview-column {
    position: static;
  }
  .merchant-main h1 {
    font-size: 30px;
  }
  .brand small {
    font-size: 11px;
  }
  .merchant-layout .card {
    padding: 22px;
  }
  .merchant-main header {
    gap: 10px;
  }
}
@media print {
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
  }
  body > *:not(#print-root) {
    display: none !important;
  }
  #print-root {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  #print-root svg {
    display: block;
    width: 100%;
    height: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
