/* QR Code Generator — workspace-specific styles (flagship wave 1).
   Shared tokens and components come from the site stylesheet; only the
   generator layout, preview box and count line live here. Colours use
   the var(--color-…) tokens; cards 12px radius, controls 10px / 46px. */

.qr-generator-layout {
  display: grid;
  gap: 16px;
}
@media (min-width: 768px) {
  .qr-generator-layout { grid-template-columns: 1fr 1fr; align-items: start; }
}

.qr-generator-fields textarea,
.qr-generator-fields select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 10px 12px;
}
.qr-generator-fields textarea { min-height: 120px; resize: vertical; }

.qr-preview-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.qr-preview-box img,
.qr-preview-box canvas,
.qr-preview-box table { max-width: 100%; height: auto; }

.qr-count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-muted);
  word-break: break-word;
  margin: 8px 0 16px;
}

.qr-messages ul { margin: 8px 0 0; padding-left: 20px; }
.qr-messages li { margin-bottom: 4px; }
