.qr-card-title { font-size: 15px; font-weight: 600; letter-spacing: -.2px; margin: 0; }
.qr-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--ip-text-muted);
  margin-bottom: 10px;
}
.qr-types { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-types .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 8px 14px;
  background: #fff;
  color: var(--ip-text);
  font-size: 13px;
  font-weight: 500;
  transition: background .15s, border-color .15s, color .15s;
}
.qr-types .nav-link i { font-size: 16px; color: var(--ip-primary); }
.qr-types .nav-link:hover { border-color: rgba(3, 78, 162, .45); }
.qr-types .nav-link.active {
  background: var(--ip-primary);
  border-color: var(--ip-primary);
  color: #fff;
}
.qr-types .nav-link.active i { color: #fff; }
.qr-hex {
  font-family: var(--bs-font-monospace);
  font-size: 12px;
  font-weight: 400;
  color: var(--ip-text-muted);
  margin-left: 6px;
}
.form-control-color { width: 46px; height: 38px; padding: 4px; }
.qr-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.qr-swatch {
  width: 26px; height: 26px;
  border-radius: 8px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #E0E0E0;
  padding: 0;
  cursor: pointer;
  transition: transform .12s ease;
}
.qr-swatch:hover { transform: scale(1.08); }
.qr-swatch:focus-visible { outline: 2px solid var(--ip-primary); outline-offset: 2px; }
.qr-stage {
  background: #fff;
  border: 1px dashed var(--ip-primary-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  padding: 20px;
}
.qr-stage canvas { width: 100%; max-width: 300px; height: auto; border-radius: 6px; }
.qr-msg { text-align: center; color: var(--ip-text-muted); font-size: 13px; max-width: 260px; }
.qr-msg i { font-size: 34px; display: block; margin-bottom: 8px; color: var(--ip-primary-border); }
.qr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.qr-stats > div { background: var(--bs-body-bg); border-radius: 10px; padding: 10px 12px; }
.qr-stat-label { display: block; font-size: 11px; color: var(--ip-text-muted); text-transform: uppercase; letter-spacing: .5px; }
.qr-stat-value { display: block; font-size: 14px; font-weight: 600; }
.qr-cap { height: 6px; margin-top: 16px; background: #EDEDED; }
.qr-cap-text { font-size: 12px; color: var(--ip-text-muted); margin-top: 6px; }
.qr-note { font-size: 12px; border-radius: 8px; padding: 8px 10px; margin-top: 12px; }
.qr-note:empty { display: none; }
.qr-note-ok { background: rgba(21, 128, 61, .1); color: #15803D; }
.qr-note-warn { background: rgba(255, 203, 5, .2); color: #102245; }
.qr-size-info { font-size: 12px; color: var(--ip-text-muted); text-align: center; margin: 10px 0 0; }
.qr-history { display: flex; flex-direction: column; gap: 10px; }
.qr-hist-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 10px;
}
.qr-hist-thumb {
  width: 52px; height: 52px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  background: #fff;
  flex-shrink: 0;
}
.qr-hist-body { flex: 1; min-width: 0; }
.qr-hist-label { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qr-hist-meta { font-size: 11px; color: var(--ip-text-muted); margin-top: 2px; }
.qr-hist-actions { display: flex; gap: 6px; flex-shrink: 0; }
.qr-empty { text-align: center; color: var(--ip-text-muted); font-size: 13px; padding: 24px 12px; }
.qr-empty i { font-size: 30px; color: var(--ip-primary-border); display: block; margin-bottom: 6px; }

.qr-card-title { color: var(--ip-navy); margin: 0; }

@media (max-width: 576px) {
  .qr-stage { min-height: 300px; }
  .qr-stats { gap: 8px; }
  .qr-stats > div { padding: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .qr-swatch, .qr-types .nav-link { transition: none; }
  .qr-swatch:hover { transform: none; }
}
