.qr-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.qr-form { min-width: 0; }
.qr-field { display: grid; gap: 8px; margin-bottom: 18px; font-size: 14px; font-weight: 700; color: #334155; }
.qr-field input:not([type="checkbox"]), .qr-field textarea, .qr-field select { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: inherit; font-weight: 400; }
.qr-field input[type="color"] { height: 48px; padding: 5px; cursor: pointer; }
.qr-field textarea { resize: vertical; }
.qr-field small, .qr-help { font-size: 12px; font-weight: 400; line-height: 1.7; color: #64748b; }
.qr-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qr-check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; }
.qr-check input { accent-color: #2563eb; width: 16px; height: 16px; }
.qr-form-actions { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; }
.qr-form-actions .button { min-width: 0; min-height: 48px; }
.qr-preview-panel { min-width: 0; padding: 24px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; text-align: center; position: sticky; top: 94px; }
.qr-preview-panel h2 { font-size: 20px; margin: 0 0 20px; }
.qr-preview { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px; }
.qr-preview canvas { display: block; max-width: 100%; width: 100%; height: auto; image-rendering: pixelated; }
.qr-preview p { max-width: 220px; color: #64748b; font-size: 14px; line-height: 1.8; }
.qr-preview [hidden], [data-qr-url-fields][hidden], [data-qr-text-fields][hidden], [data-qr-wifi-fields][hidden], [data-qr-password-field][hidden] { display: none; }
.qr-status { font-size: 13px; color: #166534; margin: 16px 0 8px; min-height: 24px; overflow-wrap: anywhere; }
.qr-status.is-error { color: #b91c1c; }
.qr-stats { font-size: 12px; color: #64748b; min-height: 20px; margin: 0 0 16px; }
.qr-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qr-downloads .button { min-width: 0; font-size: 14px; padding: 12px 8px; }
.qr-downloads .is-disabled { background: #e2e8f0; color: #64748b; cursor: not-allowed; opacity: .7; }
.qr-example { margin: 18px 0 0; padding: 4px; border: 0; font: inherit; font-size: 13px; background: transparent; color: #2563eb; text-decoration: underline; cursor: pointer; }
.qr-example:hover { color: #1e40af; }
.qr-privacy { border-top: 1px solid #e2e8f0; padding-top: 20px; margin: 28px 0 0; font-size: 13px; color: #64748b; }
@media (max-width: 820px) { .qr-editor-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } .qr-preview-panel { position: static; max-width: 520px; width: 100%; justify-self: center; } }
@media (max-width: 620px) { .qr-preview-panel { padding: 18px; } .qr-field-pair { gap: 12px; } .qr-form-actions .button { padding: 12px 8px; font-size: 14px; } }
