/* cert.css — certificate preview chrome.
 *
 * The renderer sets type in the site's own Poppins family (assets/fonts/fonts.css
 * carries 400/500/600/700). The old 'Poppins Cert' face at 300 is gone: the
 * source PDF sets the name in Poppins Medium, not Light, and a second family for
 * one weight only risked the two drifting apart.
 */

/* ---------- certificate preview ---------- */
.certpreview {
  background: #f2f1f6;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 14px;
}

.certpreview canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(31, 36, 51, .10);
}

.certpreview .ph {
  padding: 40px 10px;
  text-align: center;
  color: var(--muted);
  font-size: .85rem;
}

.certpreview .ph code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 2px 6px;
}
