.plaque-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 400px);
  gap: clamp(24px, 7vw, 112px);
  align-items: start;
  max-width: 960px;
  margin-block: 65px;
}

.plaque-setup h1 { font-size: clamp(2.7rem, 4.8vw, 4.25rem); margin-top: 0; }
.plaque-setup p { color: var(--muted); line-height: 1.55; }
.plaque-setup form { margin-top: 24px; }
.plaque-setup label { display: block; font-weight: 700; margin-bottom: 7px; }
.plaque-setup input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: #fffdf9; color: var(--ink); }
.plaque-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.plaque-actions .secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.plaque-actions button:disabled { opacity: .5; cursor: default; }
#qr-status { min-height: 3em; margin-top: 9px; font-size: .88rem; overflow-wrap: anywhere; }

.table-sign {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 29px 21px 33px;
  justify-items: center;
  text-align: center;
  gap: 11px;
}
.table-sign h2 { font-size: clamp(2.05rem, 4vw, 3.3rem); }
.table-sign canvas { display: block; width: min(100%, 220px); height: auto; image-rendering: pixelated; }
.table-sign a { font-size: .87rem; font-weight: 700; text-underline-offset: 4px; }
.table-sign p { color: var(--muted); max-width: 30ch; line-height: 1.45; }

@media (max-width: 700px) {
  .plaque-layout { grid-template-columns: 1fr; margin-block: 35px; }
}

@media print {
  @page { margin: 12mm; }
  :root { background: white; }
  .site-header, .plaque-setup, #destination { display: none; }
  .plaque-layout { display: block; width: auto; margin: 0; }
  .table-sign { width: 95mm; margin: 0 auto; break-inside: avoid; }
  .table-sign canvas { width: 52mm; }
}
