.hot-tool.qr-tool {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 1rem;
  align-items: start;
  max-width: 760px;
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px solid #d7dce2;
  border-radius: 14px;
  background: #fff;
  color: #17212b;
}
.hot-tool .qr-controls { display: grid; gap: .65rem; min-width: 0; }
.hot-tool .qr-controls > label, .hot-tool .qr-options label { display: grid; gap: .35rem; font-weight: 650; }
.hot-tool textarea, .hot-tool select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: .7rem;
  border: 1px solid #8794a1;
  border-radius: 7px;
  background: #fff;
  color: #17212b;
  font: inherit;
}
.hot-tool textarea { min-height: 104px; resize: vertical; }
.hot-tool .qr-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.hot-tool button { min-height: 44px; padding: .65rem .85rem; border: 0; border-radius: 7px; background: #174d3a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.hot-tool button:hover { background: #103b2c; }
.hot-tool button:focus-visible, .hot-tool textarea:focus-visible, .hot-tool select:focus-visible { outline: 3px solid #e6a700; outline-offset: 2px; }
.hot-tool .qr-private, .hot-tool .qr-status { margin: 0; font-size: .92rem; }
.hot-tool .qr-output { display: grid; min-width: 0; min-height: 220px; place-items: center; padding: .5rem; border: 1px dashed #aab4be; border-radius: 10px; background: #f6f8fa; }
.hot-tool .qr-output img { display: block; width: min(100%, 280px); height: auto; image-rendering: pixelated; }
.hot-tool .qr-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem; }
.hot-tool .qr-actions[hidden] { display: none; }
.hot-tool .qr-actions button { flex: 1 1 130px; }
.hot-tool .qr-status { grid-column: 1 / -1; min-height: 1.4em; }
@media (max-width: 560px) {
  .hot-tool.qr-tool { grid-template-columns: minmax(0, 1fr); padding: .8rem; }
  .hot-tool .qr-output { min-height: 190px; }
  .hot-tool .qr-actions { grid-column: auto; }
  .hot-tool .qr-status { grid-column: auto; }
}
@media print {
  .hot-tool.qr-tool { display: block; border: 0; }
  .hot-tool .qr-controls, .hot-tool .qr-actions, .hot-tool .qr-status { display: none; }
}
