.hla-scan-button {
  display: inline-block; width: auto; min-height: 34px; margin: 4px 4px 4px 7px;
  padding: 4px 10px; border: 1px solid #a4b4b0; border-radius: 6px;
  background: #fff; color: #173f37; font: 600 13px/1.35 system-ui,sans-serif; cursor: pointer;
}
.hla-scan-button:hover,.hla-scan-dialog button:hover { background: #eaf4ed; color: #153d34; }
.hla-scan-button:focus-visible,.hla-scan-dialog button:focus-visible { outline: 3px solid #397856; outline-offset: 2px; }
dialog.hla-scan-dialog { width: min(380px,calc(100vw - 36px)); margin: auto; box-sizing: border-box; padding: 24px; border: 1px solid #a4b4b0; border-radius: 12px; background: #fff; color: #152d25; text-align: center; font: 16px/1.45 system-ui,sans-serif; }
dialog.hla-scan-dialog::backdrop { background: rgba(14,25,22,.58); }
.hla-scan-dialog h2 { color: #152d25; font: 700 22px/1.2 system-ui,sans-serif; margin: 0 0 10px; }
.hla-scan-dialog p { color: #3a4e45; font: 15px/1.45 system-ui,sans-serif; margin: 0; }
.hla-scan-dialog img { display: block; width: 216px; max-width: 100%; height: auto; margin: 12px auto; image-rendering: pixelated; }
.hla-scan-dialog form { display: block; padding: 0; margin: 0; background: none; border: 0; }
.hla-scan-dialog button { min-height: 40px; padding: 6px 20px; border: 1px solid #a4b4b0; border-radius: 6px; background: #f9fbfa; color: #173f37; font: 600 15px system-ui,sans-serif; cursor: pointer; }
@media print { .hla-scan-button,.hla-scan-dialog { display: none !important; } }
