.wc-qr {
  max-width: 960px;
  padding: 20px;
  color: #1d2939;
  font: 15px / 1.5 "Inter", system-ui, sans-serif;
}
.wc-qr h1 { margin: 0 0 18px; font-size: 27px; }
.wc-qr-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}
.wc-qr-controls, .wc-qr-preview {
  border: 1px solid #d9e0e9;
  border-radius: 12px;
  padding: 18px;
}
.wc-qr-controls { background: #fff; }
.wc-qr-controls label { display: block; font-weight: 600; margin: 12px 0 4px; }
.wc-qr-controls label:first-child { margin-top: 0; }
.wc-qr-controls textarea, .wc-qr-controls select, .wc-qr-controls input {
  box-sizing: border-box;
  max-width: 100%;
  font: inherit;
}
.wc-qr-controls textarea, .wc-qr-controls select {
  display: block;
  width: 100%;
  padding: 7px;
  border: 1px solid #8493a6;
  border-radius: 5px;
}
.wc-qr-controls small { display: block; margin-top: 4px; color: #475467; }
.wc-qr-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.wc-qr-actions button {
  background: #164b9b;
  color: white;
  border: 0;
  border-radius: 6px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.wc-qr-actions button:disabled { background: #e6ebf0; color: #475467; cursor: default; }
.wc-qr-preview { background: #eef2f7; text-align: center; }
.wc-qr-preview canvas { width: 100%; max-width: 420px; height: auto; image-rendering: pixelated; }
.wc-qr [hidden] { display: none !important; }
#wc-qr-status { margin-bottom: 0; }
@media (max-width: 680px) {
  .wc-qr-layout { grid-template-columns: minmax(0, 1fr); }
}

.wc-qr .tool-title-line { display:flex; align-items:center; gap:12px; margin:18px 0 12px; }
.wc-qr .tool-title-icon { width:44px !important; height:44px !important; max-width:44px !important; flex:0 0 44px; object-fit:contain; }
.wc-qr .tool-title-line h1 { margin:0; overflow-wrap:normal; word-break:normal; }
.wc-qr { width:100%; box-sizing:border-box; color:inherit; max-width:1200px; margin:0 auto; }
.wc-qr-layout { grid-template-columns:minmax(280px, 360px) minmax(0, 1fr); }
.wc-qr-preview canvas { max-width:680px; }
.wc-qr-controls { color:#1d2939; }
.wc-qr-controls textarea, .wc-qr-controls select { background:#fff; color:#1d2939; }
.wc-qr-controls input[type=range] { width:100%; accent-color:#164b9b; }
.wc-qr-tip { color:#475467; font-size:13px; text-align:left; }
@media (max-width:760px) { .wc-qr-layout { grid-template-columns:minmax(0,1fr); } }
