/* Tool-specific layout and behavior. Shared skin: /shared/theme.css. */
.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}
.hero {
  text-align: center;
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}
.sub {
  color: var(--muted);
  margin: 0;
}
.tool {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
}
.types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 10px 0 4px;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
}
.opts {
  margin-top: 16px;
  border-top: 1px solid #eee;
  padding-top: 6px;
}
.preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 12px;
  align-self: start;
}
#qr-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #eee;
  image-rendering: pixelated;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.status {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  min-height: 1.2em;
}
.status.err {
  color: #b00020;
}
@media (max-width: 760px) {
  .tool {
    grid-template-columns: 1fr;
  }
  .preview {
    position: static;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
}
