/* Presentation only. Payload, UTF-8 encoding and QR rendering retain their existing contracts. */
.qr-page .type-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; gap: 8px; }
.type-selector .up-button { padding-inline: 8px; font-size: 14px; }
.form-panel { display: none; min-width: 0; }
.form-panel.active { display: grid; gap: 12px; }
.form-panel[hidden] { display: none; }
.qr-page .form-group { margin-bottom: 0; }
.qr-page .form-input:focus { border-color: var(--up-green); box-shadow: none; }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-checkbox { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 14px; color: var(--up-ink); cursor: pointer; }
.form-checkbox input { width: 20px; height: 20px; margin: 0; accent-color: var(--up-green); }
.qr-preview { min-width: 0; }
.qr-display { display: flex; justify-content: center; max-width: 100%; background: #fff; border-radius: var(--up-radius-small); padding: 12px; overflow: hidden; }
.qr-display canvas { display: block; max-width: 100%; height: auto; image-rendering: pixelated; }
.qr-placeholder { min-height: 192px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--up-muted); font-size: 14px; text-align: center; }
.download-actions .up-button { padding-inline: 12px; }
.qr-page .customize-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--up-border); }
.qr-customize-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.color-picker { min-height: 48px; padding: 4px; cursor: pointer; }
.size-slider { width: 100%; height: 48px; margin: 0; accent-color: var(--up-green); cursor: pointer; }
@media (max-width: 767px) {
  .qr-display { padding: 8px; }
  .qr-placeholder { min-height: 176px; }
  .download-actions .up-button { padding-inline: 8px; font-size: 14px; }
  .qr-page .form-row { grid-template-columns: minmax(0, 1fr); }
  .qr-customize-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .qr-size-field { grid-column: 1 / -1; }
}
