/* Freigegebene QR-Sammeldruck-Referenz; unabhängig von Kalender-/A4-Druck. */
.qr-labels-page, #managementDialog.qr-print-dialog { color: #172238; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-synthesis: none; letter-spacing: normal; }
.qr-labels-page :where(button, input, select, h1, h2, h3, strong), #managementDialog.qr-print-dialog :where(button, input, select, h1, h2, h3, strong) { font-family: inherit; }
.qr-labels-page .eyebrow, .qr-print-dialog .eyebrow { margin: 0; color: #526078; font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.qr-labels-page h1 { margin: 6px 0 0; font-size: clamp(29px, 3vw, 38px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.qr-labels-page .primary-button, .qr-print-dialog .primary-button { color: #fff; border-color: #2563eb; background: #2563eb; box-shadow: 0 7px 15px rgb(47 107 237 / 18%); }
.qr-labels-page .primary-button:hover, .qr-print-dialog .primary-button:hover { background: #2458c7; border-color: #2458c7; }
.qr-labels-page .primary-button:disabled, .qr-print-dialog .primary-button:disabled { opacity: .48; box-shadow: none; }
.qr-labels-page :is(.primary-button, .secondary-button), .qr-print-dialog :is(.primary-button, .secondary-button) { min-height: 44px; padding-inline: 14px; border-radius: 12px; font-weight: 780; }
.qr-labels-page { width: min(980px, 100%); margin-inline: auto; }
.qr-labels-page > .page-header { min-height: 0; margin-bottom: 16px; padding: 0 4px; border: 0; background: transparent; box-shadow: none; }
.qr-labels-page > .page-header > div { min-width: 0; }
.qr-labels-page > .page-header .ghost-button { display: flex; min-height: 44px; margin: -8px 0 8px -10px; padding: 0 10px; }
.qr-label-manager { overflow: hidden; border: 1px solid #dde5f0; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px rgb(29 44 70 / 6%); }
.qr-label-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid #dde5f0; }
.qr-label-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid #dde5f0; border-radius: 14px; background: #eff3fa; }
.qr-label-tab { flex: 1 1 0; min-height: 44px; border: 0; border-radius: 10px; padding: 0 12px; color: #47566c; background: transparent; font-size: 14px; font-weight: 760; cursor: pointer; }
.qr-label-tab[aria-selected="true"] { color: #1d55ce; background: #fff; box-shadow: 0 2px 8px rgb(24 41 72 / 10%); }
.qr-label-search { position: relative; display: block; margin: 0; }
.qr-label-search > [data-icon] { position: absolute; left: 13px; top: 50%; width: 19px; height: 19px; translate: 0 -50%; color: #5d697d; pointer-events: none; }
.qr-label-search > [data-icon] svg { display: block; width: 100%; height: 100%; }
.qr-label-search input { width: 100%; min-height: 46px; border: 1px solid #ccd8e9; border-radius: 12px; padding: 0 13px 0 42px; color: #172238; background: #fff; }
.qr-label-selection-tools { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 7px 16px; border-bottom: 1px solid #dde5f0; background: #eff3fa; }
.qr-label-selection-tools label { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; margin: 0; font-size: 13px; font-weight: 760; cursor: pointer; }
.qr-label-selection-tools input, .qr-label-row-check input { width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: #2563eb; }
.qr-label-selection-tools > span { color: #5d697d; font-size: 12px; font-weight: 720; text-align: right; }
.qr-label-missing { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; margin: 12px 16px 0; padding: 9px 11px; border: 1px solid #ecd08b; border-radius: 12px; color: #70470a; background: #fff7df; font-size: 12px; line-height: 1.35; }
.qr-label-missing svg { width: 20px; height: 20px; }
.qr-selection-list { max-height: clamp(300px, calc(100dvh - 550px), 480px); display: grid; gap: 8px; padding: 8px; overflow: auto; background: #eff3fa; }
.qr-select-row { min-height: 68px; display: grid; grid-template-columns: 44px 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; border: 1px solid #dde5f0; border-radius: 13px; padding: 8px 11px 8px 7px; color: #172238; background: #fdfefe; box-shadow: 0 4px 12px rgb(28 45 74 / 5%); cursor: pointer; }
.qr-select-row:has(input:checked) { border-color: #a9c2fa; box-shadow: 0 0 0 1px rgb(47 107 237 / 8%), 0 6px 15px rgb(47 107 237 / 8%); }
.qr-select-row.is-missing { cursor: default; }
.qr-label-row-check { width: 44px; height: 44px; display: grid; place-items: center; }
.qr-label-row-icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; color: #2563eb; background: #eaf1ff; }
.qr-label-row-copy { min-width: 0; }
.qr-label-row-copy strong, .qr-label-row-copy small { display: block; overflow-wrap: anywhere; }
.qr-label-row-copy strong { font-size: 14px; line-height: 1.25; }
.qr-label-row-copy small { margin-top: 3px; color: #5d697d; font-size: 11px; line-height: 1.3; }
.qr-label-missing-actions { display: flex; align-items: center; gap: 8px; }
.qr-label-missing-actions .status-badge { min-height: 28px; font-size: 10px; }
.qr-label-missing-actions button { min-height: 44px; padding: 0 11px; font-size: 11px; }
.qr-label-selection-bar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 16px; border-top: 1px solid #dde5f0; background: #fff; box-shadow: 0 -8px 22px rgb(27 43 72 / 5%); }
.qr-label-selection-count strong, .qr-label-selection-count small { display: block; }
.qr-label-selection-count strong { font-size: 14px; }
.qr-label-selection-count small { margin-top: 2px; color: #5d697d; font-size: 11px; }
.qr-label-selection-bar button { min-height: 44px; min-width: 190px; font-size: 13px; }
.qr-label-state { min-height: 330px; display: grid; place-items: center; align-content: center; gap: 10px; padding: 38px 22px; border: 1px solid #dde5f0; border-radius: 18px; background: #fff; text-align: center; }
.qr-label-state h2 { margin: 4px 0 0; font-size: 20px; }
.qr-label-state p { max-width: 440px; margin: 0; color: #5d697d; line-height: 1.45; }
.qr-label-state button { min-height: 44px; margin-top: 6px; }
.qr-label-search-empty { min-height: 180px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 24px; color: #5d697d; text-align: center; }
.qr-label-search-empty strong { color: #172238; }
.qr-label-limit { margin: 0; padding: 12px 16px; color: #70470a; background: #fff7df; font-size: 13px; }

#managementDialog.qr-print-dialog { width: min(1060px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid rgb(255 255 255 / 70%); border-radius: 22px; background: #fff; box-shadow: 0 28px 72px rgb(23 34 56 / 22%); }
#managementDialog.qr-print-dialog > .dialog-panel { max-height: calc(100dvh - 50px); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 0; border-radius: 0; }
.qr-print-dialog .dialog-header { min-height: 84px; gap: 18px; padding: 17px 20px 16px 24px; border-bottom: 1px solid #dde5f0; background: #fff; }
.qr-print-dialog .dialog-header h2 { margin: 4px 0 0; font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.qr-print-dialog .icon-button { width: 44px; height: 44px; min-height: 44px; flex: 0 0 44px; padding: 10px; }
.qr-print-dialog .qr-print-body { min-height: 0; display: grid; grid-template-columns: minmax(330px, .92fr) minmax(390px, 1.08fr); align-items: stretch; gap: 0; padding: 0; overflow: auto; }
.qr-print-settings, .qr-print-preview-column { min-width: 0; }
.qr-print-settings { padding: 22px 24px 24px; }
.qr-print-preview-column { padding: 24px; border-left: 1px solid #dde5f0; background: #f6f8fc; }
.qr-print-target { min-height: 48px; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 7px 9px; border: 1px solid #dde5f0; border-radius: 13px; background: #eff3fa; }
.qr-print-target .status-icon, .qr-print-requirement .status-icon { width: 34px; height: 34px; padding: 7px; border-radius: 10px; }
.qr-print-target strong, .qr-print-target small { display: block; overflow-wrap: anywhere; }
.qr-print-target strong { font-size: 13px; line-height: 1.2; }
.qr-print-target small { margin-top: 2px; color: #5d697d; font-size: 11px; }
.qr-print-admin { margin: -8px 0 12px; font-size: 12px; }
.qr-print-admin summary { min-height: 44px; padding: 12px 4px; cursor: pointer; }
.qr-print-admin button { min-height: 44px; font-size: 11px; }
.qr-print-progress { min-height: 44px; margin: 0 0 12px; padding: 12px 10px; border-radius: 11px; color: #1d55ce; background: #eaf1ff; font-size: 11px; font-weight: 760; }
.qr-print-brands, .qr-print-formats { min-width: 0; margin: 0; padding: 0; border: 0; }
.qr-print-brands { margin-bottom: 18px; }
.qr-print-brands legend, .qr-print-formats legend { margin-bottom: 8px; padding: 0 2px; font-size: 14px; font-weight: 800; }
.qr-print-brand-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.qr-print-brand-option { position: relative; min-width: 0; margin: 0; cursor: pointer; }
.qr-print-brand-option input { position: absolute; top: 8px; right: 8px; z-index: 1; width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: #2563eb; }
.qr-print-brand-card { min-height: 88px; display: grid; grid-template-rows: minmax(46px, 1fr) auto; place-items: center; gap: 5px; padding: 12px 7px 9px; border: 1px solid #d7e0ec; border-radius: 13px; color: #172238; background: #fff; box-shadow: 0 4px 12px rgb(28 45 74 / 5%); }
.qr-print-brand-option:has(input:checked) .qr-print-brand-card { border-color: #78a3fa; background: #f6f9ff; box-shadow: 0 0 0 1px rgb(47 107 237 / 10%), 0 6px 15px rgb(47 107 237 / 10%); }
.qr-print-brand-option:focus-within .qr-print-brand-card { outline: 2px solid #2563eb; outline-offset: 2px; }
.qr-print-brand-card > strong { font-size: 11px; line-height: 1.2; }
.qr-print-brand-sample { min-width: 0; width: 100%; display: flex; align-items: center; justify-content: center; color: #e95951; }
.qr-print-sample-practice { display: block; width: min(72px, 78%); height: auto; }
.qr-print-sample-ordina { min-width: 0; display: inline-flex; align-items: center; gap: 5px; color: #9d312d; font-size: 8px; font-weight: 900; letter-spacing: .11em; }
.qr-print-sample-ordina-icon { width: 20px; height: 20px; display: grid; flex: 0 0 20px; place-items: center; color: #e95951; }
.qr-print-sample-ordina-icon svg { width: 100%; height: 100%; }
.qr-print-sample-both { width: 100%; display: flex; align-items: center; justify-content: center; gap: 5px; }
.qr-print-sample-both .qr-print-sample-practice { width: min(48px, 50%); }
.qr-print-sample-both .qr-print-sample-ordina { gap: 3px; font-size: 6px; }
.qr-print-sample-both .qr-print-sample-ordina-icon { width: 16px; height: 16px; flex-basis: 16px; }
.qr-print-format-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.qr-print-format { min-height: 56px; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; border: 1px solid #dde5f0; border-radius: 13px; padding: 10px 11px; color: #172238; background: #fff; box-shadow: 0 4px 12px rgb(28 45 74 / 5%); cursor: pointer; }
.qr-print-format:has(input:checked) { border-color: #92b3f7; box-shadow: 0 0 0 1px rgb(47 107 237 / 9%), 0 5px 13px rgb(47 107 237 / 9%); }
.qr-print-format input { width: 20px; height: 20px; min-height: 20px; margin: 0; padding: 0; accent-color: #2563eb; }
.qr-print-format strong { font-size: 13px; line-height: 1.25; }
.qr-print-format-tags { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.qr-print-format-tags small { color: #5d697d; font-size: 10px; font-weight: 780; }
.qr-print-format-tags > span { padding: 4px 8px; border-radius: 999px; color: #17684c; background: #e7f6ee; font-size: 10px; font-weight: 800; }
.qr-print-custom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.qr-print-custom label, .qr-print-resolution { display: grid; gap: 5px; margin: 12px 0 0; color: #47566c; font-size: 11px; font-weight: 750; }
.qr-print-custom label > span { position: relative; display: flex; align-items: center; gap: 6px; }
.qr-print-custom input, .qr-print-resolution select { width: 100%; min-width: 0; min-height: 44px; margin: 0; border: 1px solid #ccd8e9; border-radius: 11px; padding: 0 11px; color: #172238; background: #fff; font-size: 14px; font-weight: 720; }
.qr-print-format-error { margin: 10px 0 0; padding: 10px 11px; border: 1px solid #ecd08b; border-radius: 11px; color: #70470a; background: #fff7df; font-size: 11px; font-weight: 680; line-height: 1.35; }
.qr-print-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; padding: 0 2px; }
.qr-print-preview-heading h3 { margin: 0; font-size: 14px; }
.qr-print-preview-heading span { color: #5d697d; font-size: 11px; font-weight: 750; }
.qr-print-preview-actions { display: flex; align-items: center; gap: 6px; }
.qr-print-stage { min-height: 310px; display: grid; place-items: center; padding: 30px 20px; border: 1px solid #dde5f0; border-radius: 16px; background: repeating-conic-gradient(#eef1f5 0% 25%, #e8ecf2 0% 50%) 0 / 16px 16px; }
.qr-print-preview-frame { position: relative; flex: none; }
.qr-print-preview-frame > .qr-label-sheet { transform: scale(var(--qr-preview-scale, 1)); transform-origin: top left; outline: 1px solid #c5c8ce; box-shadow: 0 8px 24px rgb(32 39 51 / 16%); }
.qr-print-unavailable { width: min(310px, 100%); min-height: 156px; display: grid; place-items: center; align-content: center; gap: 8px; padding: 18px; border: 1px solid #ccd8e9; border-radius: 14px; color: #47566c; background: #fff; text-align: center; font-size: 12px; }
.qr-print-unavailable strong { color: #172238; font-size: 13px; }
.qr-print-unavailable button { min-height: 44px; font-size: 12px; }
.qr-print-requirement { min-height: 48px; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 9px; margin-top: 10px; padding: 7px 9px; border: 1px solid #dde5f0; border-radius: 13px; background: #eff3fa; }
.qr-print-requirement strong, .qr-print-requirement small { display: block; }
.qr-print-requirement strong { font-size: 12px; }
.qr-print-requirement small { margin-top: 2px; color: #5d697d; font-size: 10px; line-height: 1.3; }
.qr-print-privacy { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: #5d697d; font-size: 10px; }
.qr-print-privacy svg { width: 16px; height: 16px; flex: 0 0 16px; }
.qr-print-dialog .qr-print-footer { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 18px; border-top: 1px solid #dde5f0; background: #fff; }
.qr-print-fit { min-width: 0; display: flex; align-items: center; gap: 7px; color: #5d697d; font-size: 11px; font-weight: 760; }
.qr-print-fit i { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 999px; background: #7b8798; }
.qr-print-fit[data-state="ready"] { color: #1d7658; }
.qr-print-fit[data-state="ready"] i { background: #209267; box-shadow: 0 0 0 3px #e2f4ec; }
.qr-print-fit[data-state="error"] { color: #9b3a3a; }
.qr-print-fit[data-state="error"] i { background: #c54b4b; }
.qr-print-footer-actions { display: flex; justify-content: flex-end; gap: 9px; }
.qr-print-footer button { min-height: 44px; min-width: 154px; font-size: 13px; }

/* Derselbe physische Satz wird gemessen, in der Vorschau nur proportional
   vergrößert und im Druck ohne Skalierung je Etikett ausgegeben. */
.qr-label-sheet { box-sizing: border-box; position: relative; display: grid; grid-template-columns: var(--qr-code-size) minmax(0, 1fr); align-items: center; gap: 1.5mm; width: var(--qr-label-width); height: var(--qr-label-height); max-width: none; margin: 0; padding: 0 1mm; border: 0; border-radius: 0; color: #000; background: #fff; font-family: Arial, Helvetica, sans-serif; }
.qr-label-sheet[data-format="wide"] { gap: 2.8mm; padding: 0 2.8mm 0 1.5mm; }
.qr-label-code-image { width: var(--qr-code-size); height: var(--qr-code-size); background: #fff; }
.qr-label-code-image svg { display: block; width: 100%; height: 100%; max-width: none; }
.qr-label-code-image svg, .qr-label-code-image svg * { stroke: none; stroke-width: 0; }
.qr-label-copy { min-width: 0; height: var(--qr-code-size); align-self: center; display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.qr-label-sheet[data-format="custom"] .qr-label-copy { height: 100%; padding: 1mm 0; }
.qr-label-copy > * { flex: 0 0 auto; }
.qr-label-brand { min-width: 0; display: flex; align-items: center; margin: 0 0 1.5mm; overflow: hidden; color: #000; }
.qr-label-logo { display: block; width: 18mm; max-width: 100%; height: auto; aspect-ratio: 527.151 / 212.53; flex: 0 1 auto; object-fit: contain; object-position: left center; filter: brightness(0); }
.qr-label-ordina-mark { min-width: 0; display: inline-flex; align-items: center; gap: 1.2mm; color: #000; font-size: 6pt; font-weight: 900; letter-spacing: .14em; white-space: nowrap; }
.qr-label-ordina-icon { width: 4mm; height: 4mm; display: grid; flex: 0 0 4mm; place-items: center; color: #000; }
.qr-label-ordina-icon svg { display: block; width: 100%; height: 100%; }
.qr-label-dual-mark { min-width: 0; display: flex; align-items: center; gap: 1.3mm; }
.qr-label-brand-divider { width: .2mm; height: 7mm; flex: 0 0 .2mm; background: #777; }
.qr-label-name { display: block; margin: 0; font-size: var(--qr-name-font-size, 7.5pt); font-weight: 800; line-height: 1.1; overflow-wrap: anywhere; }
.qr-label-place { display: block; margin: 1mm 0 0; font-size: 6.5pt; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.qr-label-short-code { display: block; margin-top: auto; margin-bottom: var(--qr-visible-bottom-inset); padding-top: .8mm; font: 700 5.5pt/1.1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .1em; overflow-wrap: anywhere; }
.qr-label-sheet[data-format="custom"] .qr-label-short-code { margin-bottom: calc((var(--qr-label-height) - var(--qr-code-size)) / 2 + var(--qr-visible-bottom-inset) - 1mm); }
.qr-label-sheet[data-format="wide"] .qr-label-brand { margin-bottom: 3.5mm; }
.qr-label-sheet[data-format="wide"] .qr-label-logo { width: 24mm; }
.qr-label-sheet[data-format="wide"] .qr-label-ordina-mark { gap: 1.3mm; font-size: 7pt; }
.qr-label-sheet[data-format="wide"] .qr-label-ordina-icon { width: 5mm; height: 5mm; flex-basis: 5mm; }
.qr-label-sheet[data-format="wide"] { --qr-name-font-size: 9pt; }
.qr-label-sheet[data-name-size="reduced"] { --qr-name-font-size: 7pt; }
.qr-label-sheet[data-name-size="minimum"] { --qr-name-font-size: 6.5pt; }
.qr-label-sheet[data-format="wide"][data-name-size="reduced"] { --qr-name-font-size: 8pt; }
.qr-label-sheet[data-format="wide"][data-name-size="dense"] { --qr-name-font-size: 7.5pt; }
.qr-label-sheet[data-format="wide"][data-name-size="minimum"] { --qr-name-font-size: 7pt; }
.qr-label-sheet[data-format="compact"] .qr-label-brand { margin-bottom: 1.2mm; }
.qr-label-sheet[data-format="compact"] .qr-label-place { margin-top: .6mm; font-size: 5.5pt; }
.qr-label-sheet[data-brand="both"]:not([data-format="wide"]) .qr-label-brand-divider,
.qr-label-sheet[data-brand="both"]:not([data-format="wide"]) .qr-label-ordina-word { display: none; }
.qr-label-sheet[data-brand="both"]:not([data-format="wide"]) .qr-label-dual-mark { gap: 1.5mm; }
.qr-label-sheet.is-calibration { outline: .2mm solid #000; outline-offset: -.7mm; }
.qr-label-calibration { display: flex; height: 100%; min-width: 0; flex-direction: column; justify-content: center; padding: 1mm; color: #000; }
.qr-label-calibration strong { font-size: 8pt; line-height: 1.1; }
.qr-label-calibration small { margin-top: 1mm; font-size: 5.5pt; line-height: 1.25; }
.qr-label-measure { width: 10mm; margin-top: 2.2mm; }
.qr-label-measure span { display: block; margin-bottom: .5mm; font-size: 5pt; }
.qr-label-measure i { display: block; height: .4mm; border-inline: .2mm solid #000; background: #000; }
#qrLabelPrintRoot { position: fixed; inset: 0 auto auto -200vw; display: block; visibility: hidden; pointer-events: none; }
#qrLabelPrintRoot .qr-label-page { width: var(--qr-label-width); height: var(--qr-label-height); }

@media (max-width: 1099px) {
  .qr-label-toolbar { grid-template-columns: 1fr; }
  .qr-print-dialog .qr-print-body { grid-template-columns: minmax(320px, .95fr) minmax(360px, 1.05fr); }
  .qr-print-settings, .qr-print-preview-column { padding: 18px; }
  .qr-print-stage { min-height: 255px; padding-inline: 14px; }
}
@media (max-width: 720px) {
  .qr-labels-page { padding-bottom: 90px; }
  .qr-labels-page > .page-header h1 { font-size: 29px; }
  .qr-labels-page > .page-header p { font-size: 13px; }
  .qr-label-toolbar { gap: 10px; padding: 12px; }
  .qr-label-tab { padding-inline: 8px; font-size: 12px; }
  .qr-label-search input { font-size: 16px; }
  .qr-label-selection-tools { align-items: flex-start; padding-inline: 12px; }
  .qr-label-selection-tools label { align-items: flex-start; line-height: 1.25; }
  .qr-label-selection-tools > span { max-width: 115px; }
  .qr-label-missing { margin-inline: 12px; }
  .qr-selection-list { max-height: none; }
  .qr-select-row { grid-template-columns: 44px 40px minmax(0, 1fr); padding-right: 9px; }
  .qr-label-row-icon { width: 40px; height: 40px; }
  .qr-label-missing-actions { grid-column: 3; flex-wrap: wrap; justify-self: start; margin-top: -3px; }
  .qr-label-selection-bar { position: fixed; right: 14px; bottom: calc(82px + env(safe-area-inset-bottom)); left: 14px; z-index: 20; min-height: 72px; padding: 10px 12px; border: 1px solid #dde5f0; border-radius: 16px; }
  .qr-label-selection-bar button { min-width: 0; padding-inline: 13px; font-size: 12px; }
  .qr-label-selection-count strong { font-size: 13px; }
  .qr-label-selection-count small { display: none; }
  .qr-label-state { min-height: 360px; padding-inline: 18px; }
  #managementDialog.qr-print-dialog { width: 100%; height: auto; max-height: calc(100dvh - 10px); margin: auto 0 0; border-radius: 22px 22px 0 0; }
  #managementDialog.qr-print-dialog > .dialog-panel { max-height: calc(100dvh - 12px); }
  .qr-print-dialog .dialog-header { min-height: 70px; padding: 13px 10px 12px 16px; }
  .qr-print-dialog .dialog-header h2 { font-size: 22px; }
  .qr-print-dialog .qr-print-body { display: block; padding: 0; }
  .qr-print-settings { padding: 16px 14px 20px; }
  .qr-print-target { margin-bottom: 14px; }
  .qr-print-brand-card { min-height: 84px; padding-inline: 5px; }
  .qr-print-sample-both .qr-print-sample-ordina > span:last-child { display: none; }
  .qr-print-format { padding-inline: 9px; }
  .qr-print-format-tags > span { padding-inline: 6px; font-size: 9px; }
  .qr-print-custom input, .qr-print-resolution select { font-size: 16px; }
  .qr-print-preview-column { margin-top: 0; padding: 18px 14px 20px; border-top: 1px solid #dde5f0; border-left: 0; }
  .qr-print-stage { min-height: 224px; padding: 22px 10px; }
  .qr-print-dialog .qr-print-footer { min-height: 74px; flex-wrap: wrap; padding: 10px 14px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 22px rgb(27 43 72 / 6%); }
  .qr-print-fit { width: 100%; }
  .qr-print-footer-actions { width: 100%; }
  .qr-print-footer button { min-width: 0; flex: 1 1 0; padding-inline: 10px; font-size: 12px; }
}
@media (forced-colors: active) {
  .qr-print-brand-option:has(input:checked) .qr-print-brand-card, .qr-print-format:has(input:checked), .qr-select-row:has(input:checked) { outline: 2px solid CanvasText; }
}
@media print {
  html:has(body.qr-label-print-active), body.qr-label-print-active { width: var(--qr-label-width) !important; height: auto !important; min-height: 0 !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: #fff !important; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  body.qr-label-print-active > *:not(#qrLabelPrintRoot) { display: none !important; }
  body.qr-label-print-active > #qrLabelPrintRoot { position: static !important; display: block !important; visibility: visible !important; width: var(--qr-label-width) !important; margin: 0 !important; padding: 0 !important; }
  #qrLabelPrintRoot .qr-label-page { break-after: page; page-break-after: always; break-inside: avoid; page-break-inside: avoid; overflow: hidden; }
  #qrLabelPrintRoot .qr-label-page:last-child { break-after: auto; page-break-after: auto; }
  #qrLabelPrintRoot .qr-label-sheet { transform: none !important; box-shadow: none !important; }
  body.qr-label-print-active > #qrLabelPrintRoot:not([data-ready="true"]) { display: none !important; }
}
