/* ===== BestQR — shared print-tool styles (review card, table tent) ===== */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Montserrat:wght@400;600;700;800&family=Nunito:wght@400;600;700;800&family=Oswald:wght@400;600;700&family=Pacifico&family=Playfair+Display:wght@400;600;700;800&display=swap');
body.trcard { --accent: #4f46e5; --accent-600: #4338ca; --accent-soft: #eef0ff; --accent-ring: #4f46e52e; }
.rc-stage { background: repeating-conic-gradient(#f1f2f7 0 25%, #f8f9fc 0 50%) 50% / 24px 24px; border-radius: 16px; min-height: 360px; display: grid; place-items: center; padding: 28px 16px; }
#rc-canvas { display: block; max-width: 100%; height: auto; border-radius: 3px; box-shadow: 0 18px 40px -14px rgba(20, 22, 31, .35), 0 2px 6px rgba(20, 22, 31, .12); background: #fff; }
.rc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rc-theme { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--border); cursor: pointer; display: grid; place-items: center; padding: 0; }
.rc-theme i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.rc-theme.sel { outline: 3px solid var(--accent); outline-offset: 2px; }
.rc-check { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.rc-check input { width: 18px; height: 18px; accent-color: var(--accent); }
#rc-sheet { display: none; }
#rc-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #14161f; color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: all .2s; z-index: 50; }
#rc-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media print {
  body.rc-printing > *:not(#rc-sheet) { display: none !important; }
  body.rc-printing #rc-sheet { display: block; }
  body.rc-printing .rc-grid { display: grid; justify-content: center; align-content: start; }
  body.rc-printing .rc-grid img { display: block; outline: .2mm dashed #b5b9c8; }
}

/* colour picker */
.rc-picker { display: block; }
.rc-sw { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; padding: 0; position: relative; display: grid; place-items: center; }
.rc-sw.sel { box-shadow: 0 0 0 2px var(--accent); }
.rc-custom { background: conic-gradient(#ef4444, #f59e0b, #22c55e, #06b6d4, #6366f1, #d946ef, #ef4444); overflow: hidden; }
.rc-custom span { font-weight: 700; color: #fff; text-shadow: 0 0 3px rgba(0,0,0,.6); line-height: 1; pointer-events: none; }
.rc-custom input { position: absolute; inset: -6px; opacity: 0; cursor: pointer; width: 44px; height: 44px; }

.rc-font { font-size: 14px; }

/* gallery */
.gl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; align-items: start; }
.gl-item { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gl-img { display: block; background: repeating-conic-gradient(#f1f2f7 0 25%, #f8f9fc 0 50%) 50% / 20px 20px; padding: 16px; }
.gl-img img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 24px -12px rgba(20,22,31,.35); }
.gl-item figcaption { padding: 16px 18px 18px; }
.gl-item h3 { margin: 0 0 6px; font-size: 17px; }
.gl-item p { margin: 0 0 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.gl-go { font-weight: 600; font-size: 14px; color: var(--accent-600, #4338ca); display: inline-flex; gap: 6px; align-items: center; }
