/* qrcode 工具样式 */
.wptk-qr { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 16px; }
.wptk-qr-form > div { display: flex; flex-direction: column; gap: 12px; }
.wptk-qr-form .wptk-textarea { min-height: 120px; font-family: var(--wptk-mono); }
.wptk-qr-opts { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--wptk-line); }
.wptk-qr-colors { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.wptk-qr-colors .wptk-label { flex: 0 0 100%; }
.wptk-qr-colors label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; cursor: pointer; }
.wptk-qr-colors input[type="color"] { width: 36px; height: 28px; padding: 0; border: 1px solid var(--wptk-line); border-radius: 4px; background: none; cursor: pointer; }
.wptk-qr-preview { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wptk-qr-img { display: flex; align-items: center; justify-content: center; width: 280px; height: 280px; border: 1px solid var(--wptk-line); border-radius: 6px; background: var(--wptk-soft); }
.wptk-qr-img img { display: block; width: 100%; height: 100%; border-radius: 6px; }
.wptk-qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
@media (max-width: 767px) {
  .wptk-qr { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .wptk-qr-preview { order: -1; }
  .wptk-qr-img { width: min(280px, 100%); height: auto; aspect-ratio: 1; }
}
