/* Vorschau „qr“ – Etikett-Designer */
.xd-qr .xd-steps { grid-template-columns: repeat(2, 1fr); }
.xd-qr-main { display: flex; gap: 14px; align-items: flex-start; }
.xd-qr-ctl { flex: 0 0 170px; display: flex; flex-direction: column; gap: 10px; }
.xd-qr-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.xd-qr-fs legend { padding: 0; font: 600 11.5px var(--display); color: var(--muted); margin-bottom: 4px; }
.xd-qr-seg, .xd-qr-langs { display: flex; flex-wrap: wrap; gap: 4px; }
.xd-qr-seg label, .xd-qr-langs label { position: relative; }
.xd-qr-seg input, .xd-qr-langs input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.xd-qr-seg span, .xd-qr-langs span { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; font: 600 12.5px var(--display); background: #fff; }
.xd-qr-seg input:checked + span, .xd-qr-langs input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.xd-qr-seg input:focus-visible + span, .xd-qr-langs input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.xd-qr-langs input:disabled { cursor: not-allowed; }
.xd-qr-langs input:disabled + span { opacity: .45; }
.xd-qr-stage { flex: 1; min-width: 0; min-height: 270px; background: var(--steel); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.xd-qr-stage-s { flex: 0 0 auto; min-height: 0; width: 150px; padding: 8px; }
.xd-qr-label { --w: 153; width: calc(var(--w) * 1px); background: #fff; border: 1px solid #C9D0D6; border-radius: 4px; padding: calc(var(--w) * .06px); display: flex; flex-direction: column; align-items: center; gap: calc(var(--w) * .035px); text-align: center; font-size: calc(var(--w) * .055px); line-height: 1.25; color: var(--ink); box-shadow: 0 2px 8px rgba(20,32,43,.12); transition: width .25s ease; }
.xd-qr-code { width: 62%; line-height: 0; } .xd-qr-code svg { width: 100%; height: auto; display: block; }
.xd-qr-picto { width: 30%; color: var(--ink); }
.xd-qr-hint { display: flex; flex-direction: column; gap: .25em; font-weight: 500; }
.xd-qr-hint p { margin: 0; }
.xd-qr-short { font-family: var(--display); font-weight: 700; font-size: .92em; color: var(--muted); }
.xd-qr-old { opacity: .7; }
.xd-qr-arch { background: var(--steel); color: var(--muted); }
.xd-qr-fixed { display: flex; gap: 12px; align-items: center; }
.xd-qr-fixed-txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.xd-qr-ok { color: var(--green); font-weight: 600; font-size: 13px; }
.xd-qr-ok input { accent-color: var(--green); }
.xd-qr .xd-panel { min-height: 480px; }
@media (max-width: 480px) {
  .xd-qr-main { flex-direction: column; align-items: stretch; }
  .xd-qr-ctl { flex: none; }
  .xd-qr .xd-panel { min-height: 640px; }
}
.xd-qr { min-width: 0; contain: inline-size; }
