#hilfe-ai-web .hn-device-modal.ui108-qr-compact {
  inset: auto max(16px, env(safe-area-inset-right)) max(86px, env(safe-area-inset-bottom)) auto;
  width: min(304px, calc(100% - 32px));
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  display: block;
  padding: 0;
  background: transparent;
}
#hilfe-ai-web .ui108-qr-compact .hn-device-box {
  width: 100%;
  max-height: inherit;
  padding: 12px;
  overflow-wrap: anywhere;
}
#hilfe-ai-web .hn-device-box:has(.hilfe-pair-panel) {
  color: white;
  overflow: visible;
}
#hilfe-ai-web .hn-device-box .hilfe-pair-panel {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#hilfe-ai-web .hn-device-box .hilfe-pair-grid { display: block; margin: 0; }
#hilfe-ai-web .ui108-qr-compact .hilfe-pair-video { display: none; }
#hilfe-ai-web .hn-device-box .hilfe-pair-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
#hilfe-ai-web .hn-device-box :is(.hilfe-pair-status,.hilfe-pair-verify) {
  width: 100%;
  margin: 0;
  color: #fff;
}
#hilfe-ai-web .hn-device-box .hilfe-pair-tools > p:empty { display: none; }
#hilfe-ai-web .hn-device-box h2 { margin: 4px 0; }
#hilfe-ai-web .ui108-qr-compact .hn-device-box > :is(p,label),
#hilfe-ai-web .ui108-qr-compact .hilfe-pair-panel > p,
#hilfe-ai-web .ui108-qr-compact .hilfe-pair-tools > p:not([class]) { display: none; }
#hilfe-ai-web .ui108-qr-compact .hilfe-pair-status { font-size: 13px; line-height: 1.25; }
#hilfe-ai-web .ui108-qr-compact canvas:not([hidden]) {
  display: block;
  width: min(192px, 40dvh, 100%);
  height: auto;
  margin-inline: auto;
  cursor: zoom-in;
  image-rendering: pixelated;
}
#hilfe-ai-web .ui108-qr-compact .hilfe-pair-tools > button { font-size: 12px; padding: 4px 9px; min-height: 34px; }
#hilfe-ai-web .ui108-qr-compact .hilfe-qr-wait { margin: 4px 0; padding: 6px; }
#hilfe-ai-web .ui108-qr-compact .hilfe-qr-wait :is(h3,p) { margin: 3px 0; font-size: 12px; }
