.qr-app { max-width: 1160px; margin: 0 auto; padding: 54px 24px 0; }
.qr-hero { margin-bottom: 36px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 1px; }
.eyebrow span { width: 10px; height: 10px; background: var(--fw-green); border: 2px solid var(--fw-ink); }
.qr-hero h1 { font-size: clamp(38px, 6.5vw, 74px); letter-spacing: -3px; line-height: 1.12; margin: 17px 0; }
.qr-hero h1 span { color: var(--fw-rust); }
.qr-hero > p:last-child { color: var(--fw-muted); font-size: 15px; }
.qr-workspace { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: stretch; }
.qr-panel { padding: 28px; border: 3px solid var(--fw-ink); border-radius: var(--fw-radius); box-shadow: var(--fw-shadow); background: var(--fw-paper); min-width: 0; }
.qr-panel h2 { font-size: 18px; display: flex; align-items: center; gap: 12px; }
.step { font-size: 12px; color: var(--fw-muted); border: 1px solid var(--fw-muted); padding: 3px 6px; }
.type-switch { border: 0; display: flex; gap: 8px; margin: 28px 0 24px; }
.type-switch label { flex: 1; position: relative; cursor: pointer; }
.type-switch input { position: absolute; opacity: 0; }
.type-switch span { display: block; padding: 11px 8px; border: 2px solid var(--fw-ink); text-align: center; font-size: 13px; font-weight: 700; }
.type-switch input:checked + span { background: var(--fw-ink); color: var(--fw-paper); }
.type-switch input:focus-visible + span, .qr-app :is(textarea, select, button):focus-visible { outline: 3px solid var(--fw-rust); outline-offset: 4px; }
.field-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.qr-app textarea, .qr-app select { width: 100%; border: 2px solid var(--fw-ink); border-radius: 2px; background: var(--fw-paper); color: var(--fw-ink); padding: 12px; font-size: 14px; }
.qr-app textarea { resize: vertical; min-height: 108px; display: block; }
.qr-app textarea[aria-invalid="true"] { border-color: var(--fw-rust); }
.hint { color: var(--fw-muted); font-size: 11px; margin-top: 10px; }
.qr-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.local-note { border-top: 1px solid var(--fw-muted); padding-top: 18px; color: var(--fw-muted); font-size: 12px; }
.qr-output { background: var(--fw-panel); }
.preview-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.live-tag { font-size: 9px; letter-spacing: 1px; color: var(--fw-muted); }
.qr-preview { width: 240px; max-width: 100%; aspect-ratio: 1; margin: 24px auto 16px; background: white; border: 1px solid #10100d; display: grid; place-items: center; }
.qr-preview svg { width: 100%; height: 100%; display: block; }
.empty-preview { text-align: center; color: #625d50; padding: 16px; }
.empty-preview > span { font-size: 36px; font-weight: 800; color: #b8af9c; }
.empty-preview p { font-size: 11px; margin-top: 14px; }
#qr-status { font-size: 11px; min-height: 36px; text-align: center; overflow-wrap: anywhere; }
.download-actions { display: flex; gap: 12px; margin-top: 12px; }
.download-actions button { border: 3px solid var(--fw-ink); border-radius: 4px; box-shadow: var(--fw-shadow-sm); padding: 12px 15px; font-size: 13px; font-weight: 800; color: var(--fw-ink); background: var(--fw-paper); }
.download-actions button:first-child { flex: 1; color: #10100d; background: var(--fw-green); }
.download-actions button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.download-actions button:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--fw-shadow-color); }
.qr-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; padding-top: 26px; border-top: 2px solid var(--fw-ink); }
.qr-notes h3 { font-size: 14px; margin-bottom: 8px; }
.qr-notes p { color: var(--fw-muted); font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
@media (max-width: 760px) { .qr-app { padding: 32px 18px 0; } .qr-hero h1 { letter-spacing: -2px; } .qr-workspace, .qr-notes { grid-template-columns: 1fr; } .qr-panel { padding: 22px; } .qr-notes { gap: 24px; } }
@media (max-width: 370px) { .qr-panel { padding: 16px; } .qr-panel h2 { font-size: 15px; } .live-tag { display: none; } .qr-options { gap: 8px; } .qr-app select { padding: 10px 5px; font-size: 12px; } }
