/* cert.css — what /christmas-gift-certificate/ adds to /gift-voucher-maker/voucher.css (loaded by path): the wording
   buttons wrap in a grid, and each design button shows a corner of its own certificate, drawn by cert-draw.js. */
.xc-presets{display:grid;grid-template-columns:repeat(auto-fill,minmax(9.5rem,1fr));gap:.375rem}
.xc-presets button{text-align:left;white-space:normal;line-height:1.25}
.xc-formats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.375rem}
.xc-formats button{white-space:normal;line-height:1.25}
.xc-designs{display:grid;grid-template-columns:repeat(auto-fill,minmax(6.25rem,1fr));gap:.375rem}
.xc-design{display:flex;flex-direction:column;align-items:stretch;gap:.3rem;padding:.3125rem;border:1px solid var(--line);border-radius:.5rem;background:var(--surface-2);color:var(--ink);font:inherit;font-size:.75rem;font-weight:600;line-height:1.2;cursor:pointer;min-width:0;text-align:center}
.xc-design:hover{border-color:var(--muted)}
.xc-design.active{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}
.xc-design:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.xc-sw{display:block;width:100%;height:auto;aspect-ratio:132/92;border-radius:.25rem;background:#fff}
.xc-also{margin:1.25rem 0 0;font-size:.9375rem;color:var(--muted)}
