.qr-layout { display: grid; gap: 22px; }
@media (min-width: 760px) { .qr-layout { grid-template-columns: 1fr 300px; align-items: start; } .qr-side { position: sticky; top: 90px; } }
.qr-types { width: 100%; }
.qr-types label { flex: 1; text-align: center; }
.qr-preview { aspect-ratio: 1; width: 100%; max-width: 300px; margin: 0 auto; border-radius: 20px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.qr-preview canvas, .qr-preview svg { width: 100% !important; height: auto !important; display: block; }
.qr-preview:empty { background: var(--surface-2); }
.qr-empty { text-align: center; font-size: .85rem; margin-top: -170px; margin-bottom: 150px; pointer-events: none; }
.qr-style-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; }
.qr-style-row .seg { flex-wrap: nowrap; }
.qr-colors { display: flex; gap: 10px; align-items: end; }
.qr-color { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); cursor: pointer; font-size: .88rem; min-height: 48px; }
.qr-color input { width: 34px; height: 34px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 9px; }
.qr-color input::-webkit-color-swatch-wrapper { padding: 0; }
.qr-color input::-webkit-color-swatch { border: 1px solid var(--line-strong); border-radius: 9px; }
.qr-logo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.qr-file { position: relative; overflow: hidden; }
.qr-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
