/* Credential site styled to match polibridge.space: brand red, charcoal footer,
   Schibsted Grotesk headings, Public Sans body, IBM Plex Mono labels. */
@import url("fonts.css");

:root {
  --paper: #ffffff;
  --wash: #f3f4f6;
  --ink: #16171b;
  --muted: #5b5e66;
  --rule: #e0e1e5;
  --brand: #b61634;
  --brand-deep: #8f0f27;
  --brand-soft: #f9e8eb;
  --dark-2: #1f2026;
  --on-dark: #ffffff;
  --on-dark-muted: #b9bcc4;
  --ok: #1d6b46;   --ok-soft: #e3f1ea;
  --warn: #8a5300; --warn-soft: #fbf0dc;

  --f-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-cert: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-cert-sans: "Noto Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5625rem;
  --step-3: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body);
  font-size: var(--step-0); line-height: 1.6; text-rendering: optimizeLegibility; }
a { color: var(--brand-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid #e39aa7; outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -.015em; margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
[hidden] { display: none !important; }

/* labels */
.label { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.label--accent { color: var(--brand); }

/* header (same wordmark as the main site) */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.035em; color: var(--brand); line-height: 1; }
.brand-sub { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand-tag { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-deep);
  background: var(--brand-soft); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-family: var(--f-display); font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
@media (max-width: 640px) { .brand-tag { display: none; } .nav { gap: 14px; } .nav a.ext { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-display); font-weight: 600;
  font-size: 1rem; padding: 12px 20px; border-radius: var(--radius); border: 1.5px solid var(--brand); background: var(--brand);
  color: #fff; text-decoration: none; cursor: pointer; line-height: 1.2; white-space: nowrap; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--linkedin { background: #0a66c2; border-color: #0a66c2; }
.btn--linkedin:hover { background: #004182; border-color: #004182; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* page intro */
.page-intro { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.page-intro h1 { font-size: var(--step-4); max-width: 22ch; margin-top: 14px; }
.page-intro .lede { font-size: var(--step-1); color: var(--muted); max-width: 60ch; margin-top: 18px; line-height: 1.5; }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--wash { background: var(--wash); }
.section h2 { font-size: var(--step-3); }

/* forms */
input[type=text], input[type=password], input[type=date], input[type=email], textarea, select {
  font: inherit; color: inherit; background: #fff; border: 1.5px solid #c9cbd1; border-radius: var(--radius); padding: 11px 13px; width: 100%; }
textarea { min-height: 140px; resize: vertical; font-family: var(--f-mono); font-size: 14px; }
textarea.prose-input { font-family: var(--f-body); font-size: var(--step-0); min-height: 110px; }
input:focus, textarea:focus { outline: 3px solid #e39aa7; outline-offset: 1px; border-color: var(--brand); }
label { display: block; font-family: var(--f-display); font-weight: 600; font-size: .95rem; margin: 18px 0 6px; }
label .hint { font-family: var(--f-body); font-weight: 400; color: var(--muted); }
.lookup { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; max-width: 620px; }
.lookup input { flex: 1 1 260px; font-family: var(--f-mono); letter-spacing: .04em; }
.check { display: flex; gap: 10px; align-items: flex-start; font-family: var(--f-body); font-weight: 400; }
.check input { margin-top: 5px; }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
.program { border-top: 3px solid var(--brand); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.program h3 { font-size: var(--step-1); }
.program p { color: var(--muted); }
.note-box { background: var(--wash); border-left: 3px solid var(--brand); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; }
.fp { font-family: var(--f-mono); font-size: 1.15rem; font-weight: 500; letter-spacing: .06em; color: var(--ink); }

/* verification result */
.status { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); margin: 32px 0 26px; border-left: 4px solid; }
.status .icon { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 17px var(--f-display); }
.status h1 { font-size: var(--step-2); margin: 3px 0 4px; }
.status--valid   { background: var(--ok-soft); border-color: var(--ok); }        .status--valid .icon { background: var(--ok); }
.status--expired { background: var(--warn-soft); border-color: var(--warn); }    .status--expired .icon { background: var(--warn); }
.status--revoked, .status--invalid, .status--notfound { background: var(--brand-soft); border-color: var(--brand); }
.status--revoked .icon, .status--invalid .icon, .status--notfound .icon { background: var(--brand); }
.sample-flag { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; background: #fff;
  color: var(--brand-deep); border: 1px solid var(--brand); border-radius: 999px; padding: 2px 8px; margin-left: 10px; vertical-align: middle; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-bottom: 24px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } }
.details { border-top: 3px solid var(--brand); padding-top: 18px; }
.details dl { margin: 0; }
.details dt { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: 3px 0 0; font-weight: 500; word-break: break-word; }
.check-ok { color: var(--ok); } .check-bad { color: var(--brand); }
.dimmed .cert { opacity: .5; filter: grayscale(1); }
.trust { margin-top: 18px; font-size: var(--step--1); color: var(--muted); }

/* issuer tool */
.tool { border: 1px solid var(--rule); border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); padding: 26px; margin-top: 28px; }
.tool h2 { font-size: var(--step-2); margin: 8px 0 6px; }
.status-line { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .97rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #bbb; flex: 0 0 10px; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--brand); } .dot.warn { background: var(--warn); }
.notice { border-radius: var(--radius); padding: 13px 16px; margin-top: 14px; font-size: .97rem; border-left: 3px solid; }
.notice.ok { background: var(--ok-soft); border-color: var(--ok); }
.notice.bad { background: var(--brand-soft); border-color: var(--brand); }
.notice.warn { background: var(--warn-soft); border-color: var(--warn); }
.notice ol { margin: 6px 0 0; padding-left: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; margin-top: 14px; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
td a { word-break: break-all; }
.preview { margin-top: 18px; max-width: 760px; }
details summary { cursor: pointer; font-family: var(--f-display); font-weight: 600; }

/* footer (same as the main site) */
.site-footer { background: var(--dark-2); color: var(--on-dark-muted); font-size: var(--step--1); margin-top: 72px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; padding-block: 48px 36px; }
.foot-grid h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 500; margin: 0 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand p { margin-top: 14px; max-width: 46ch; }
.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-sub { color: var(--on-dark-muted); }
.foot-base { border-top: 1px solid #34353d; padding-block: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }

/* ═══ CERTIFICATE LAYOUT ═══════════════════════════════════════════
   The certificate is drawn at any size: every position below is a % of the
   page, and every font size is in "cqw" (1cqw = 1% of the certificate's width).
   --s is a shrink factor the site lowers only when a long name or text won't fit. */
.cert { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 2480 / 1754; background: #fff;
  color: #111; box-shadow: 0 1px 2px rgba(22,23,27,.08), 0 12px 32px rgba(22,23,27,.12); overflow: hidden; }
.cert-bg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; user-select: none; pointer-events: none; }
.cert > :not(.cert-bg) { position: absolute; margin: 0; line-height: 1.2; white-space: nowrap; overflow: hidden; }
.cert-num   { left: 12.6%; top: 8.5%;  max-width: 40%; font: 500 calc(1.95cqw * var(--s, 1)) var(--f-cert-sans); letter-spacing: -.005em; }
.cert-award { left: 10%; right: 10%; top: 16.4%; text-align: center; font: 700 calc(4.88cqw * var(--s, 1)) var(--f-cert); letter-spacing: -.012em; }
.cert-aff   { right: 9.9%; top: 29.0%; max-width: 72%; text-align: right; font: 600 calc(2.9cqw * var(--s, 1)) var(--f-cert); letter-spacing: -.012em; }
.cert-name  { right: 9.9%; top: 36.0%;  max-width: 72%; text-align: right; font: 600 calc(2.98cqw * var(--s, 1)) var(--f-cert); letter-spacing: -.012em; }
.cert > .cert-desc { left: 10.35%; right: 10.2%; top: 45.3%; height: 22%; white-space: normal !important;
  font: 400 calc(2.23cqw * var(--s, 1)) / 1.58 var(--f-cert); letter-spacing: -.003em; }
.cert > .cert-desc strong { font-weight: 600; }
.cert-date  { left: 35%; right: 34.4%; top: 68.55%; text-align: center; font: 600 calc(2.78cqw * var(--s, 1)) var(--f-cert); }
/* The template said "Decuty"; this line prints the corrected title over the cleaned spot. */
.cert-fix-deputy { left: 60.8%; width: 30%; top: 84.15%; text-align: center; font: 600 1.34cqw var(--f-cert); letter-spacing: -.01em; }

/* QR code in the empty top-right corner, linking to this certificate's page */
.cert-qr { right: 13.2%; top: 6.6%; width: 6.4cqw; height: 6.4cqw; background: #fff; padding: .25cqw; }
.cert-qr svg { display: block; width: 100%; height: 100%; }

/* ═══ Certificate page extras ═══ */
.cert-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.cert-button:focus-visible { outline: 3px solid #e39aa7; outline-offset: 4px; }
.cert-hint { margin-top: 10px; font-size: var(--step--1); color: var(--muted); }

.side { display: grid; gap: 22px; }
.party { display: flex; align-items: center; gap: 14px; }
.party + .party { margin-top: 14px; }
.avatar { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem var(--f-display);
  text-transform: uppercase; background: var(--wash); color: var(--ink); border: 1px solid var(--rule); }
.avatar--brand { background: var(--brand); color: #fff; border-color: var(--brand); font-size: 1.35rem; font-weight: 800; border-radius: 8px; }
.party .who { min-width: 0; }
.party .who strong { display: block; font-family: var(--f-display); font-size: 1.08rem; line-height: 1.25; }
.party .who a { color: var(--ink); text-decoration-color: var(--rule); }

.checks { border: 1px solid var(--rule); border-top: 3px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); padding: 18px 20px; }
.checks h2 { font-size: 1.15rem; margin: 6px 0 10px; }
.checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; }
.checks li.on { opacity: 1; transform: none; }
.checks .tick { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 13px var(--f-display); margin-top: 1px; }
.checks .tick.ok { background: var(--ok); } .checks .tick.bad { background: var(--brand); } .checks .tick.warn { background: var(--warn); }
.checks li strong { display: block; font-weight: 600; line-height: 1.35; }
.checks li span.sub { display: block; font-size: var(--step--1); color: var(--muted); line-height: 1.45; margin-top: 2px; }
.address-check { margin-top: 16px; padding: 12px 14px; background: var(--wash); border-left: 3px solid var(--ink); font-size: var(--step--1); line-height: 1.5; }
.address-check .mono { font-weight: 500; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .checks li { transition: none; } }

.more { border-top: 1px solid var(--rule); padding-top: 14px; }
.more summary { color: var(--brand-deep); list-style: none; display: flex; align-items: center; gap: 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "▾"; font-size: .8em; transition: transform .15s; }
.more[open] summary::after { transform: rotate(180deg); }
.more dl { margin-top: 14px; }

/* Full-screen viewer */
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(14, 15, 19, .94); display: grid; place-items: center; overflow: hidden; cursor: zoom-out; }
.viewer-stage { position: absolute; left: 50%; top: 50%; width: min(96vw, calc(94vh * 1.4139)); transform: translate(-50%, -50%); }
@media (orientation: portrait) {
  .viewer-stage { width: min(94vh, calc(96vw * 1.4139)); transform: translate(-50%, -50%) rotate(90deg); }
}
.viewer .cert { box-shadow: none; }
.viewer-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; z-index: 101; font: 600 15px var(--f-display);
  background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
html.viewer-open, html.viewer-open body { overflow: hidden; }

/* ═══ SHARE POSTER ("Manifesto"), 1080 × 1080 ═══ */
.poster { position: relative; width: 1080px; height: 1080px; overflow: hidden; background: #fff; color: #16171b;
  font-family: var(--f-body); transform-origin: 0 0; flex: none; }
.poster > * { position: absolute; }
.poster .p-red { color: #b61634; }
.p-top { left: 56px; right: 56px; top: 52px; display: flex; justify-content: space-between; align-items: center; }
.p-wm { display: flex; flex-direction: column; line-height: 1; }
.p-wm b { font: 800 40px var(--f-display); letter-spacing: -.035em; color: #b61634; }
.p-wm i { font: 400 13px var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #5b5e66; margin-top: 6px; }
.p-tag { font: 400 16px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #5b5e66; }
.p-head { left: 50px; top: 150px; width: 980px; text-transform: uppercase; }
.p-line { font: 800 calc(168px * var(--s, 1)) / .86 var(--f-display); letter-spacing: -.05em; white-space: nowrap; overflow: hidden; width: 980px; height: 145px; }
.p-box { left: 56px; top: 462px; max-width: 900px; display: flex; align-items: center; gap: 16px; background: #b61634; color: #fff;
  padding: 18px 28px 18px 20px; box-shadow: 10px 10px 0 #16171b; }
.p-box svg { flex: none; }
.p-box span { font: 700 36px / 1.1 var(--f-display); letter-spacing: -.015em; }
.p-left { left: 56px; top: 600px; width: 560px; display: flex; flex-direction: column; }
.p-quote { margin: 0; font: italic 600 44px / 1.1 var(--f-cert); }
.p-who { margin-top: 30px; display: flex; flex-direction: column; border-left: 6px solid #16171b; padding-left: 18px; }
.p-who > span { white-space: nowrap; overflow: hidden; display: block; }
.poster .p-who > .p-name { white-space: normal; max-height: 94px; font: 800 calc(42px * var(--s, 1)) / 1.1 var(--f-display); letter-spacing: -.02em; }
.p-school { margin-top: 6px; font: 600 calc(21px * var(--s, 1)) / 1.3 var(--f-body); }
.p-dept { font: 400 calc(18px * var(--s, 1)) / 1.3 var(--f-body); color: #5b5e66; }
.p-photo-shadow { right: 56px; top: 618px; width: 320px; height: 320px; background: #b61634; }
.p-photo { right: 74px; top: 600px; width: 320px; height: 320px; overflow: hidden; background: #f1e3c4; display: grid; place-items: center; }
.p-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-initials { font: 800 120px var(--f-display); color: #b61634; letter-spacing: -.04em; text-transform: uppercase; }
.p-foot { left: 56px; right: 56px; bottom: 40px; padding-top: 16px; border-top: 2px solid #16171b; display: flex; justify-content: space-between;
  align-items: center; font: 400 15px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; }
.p-ver { display: flex; align-items: center; gap: 12px; }
.p-num { text-align: right; line-height: 1.35; color: #5b5e66; font-size: 13px; text-transform: none; letter-spacing: .02em; }
.p-qr { width: 64px; height: 64px; }
.p-qr svg { width: 100%; height: 100%; display: block; }

/* Poster maker panel */
.maker { position: fixed; inset: 0; z-index: 100; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.maker-inner { padding-block: 22px 60px; }
.maker-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 6px; }
.maker-head h2 { font-size: var(--step-2); }
.maker-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; margin-top: 22px; align-items: start; }
@media (max-width: 860px) { .maker-grid { grid-template-columns: 1fr; gap: 26px; } }
.maker-preview, .maker-controls { min-width: 0; }
.poster-stage > .poster { position: absolute; left: 0; top: 0; }
.poster-stage { position: relative; width: 100%; overflow: hidden; box-shadow: 0 1px 2px rgba(22,23,27,.08), 0 12px 32px rgba(22,23,27,.12); }
.maker-controls .label { margin-bottom: 10px; }
.maker-pick { cursor: pointer; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.crop-box { margin-top: 14px; }
.crop { position: relative; width: min(280px, 100%); aspect-ratio: 1; overflow: hidden; background: #f1e3c4; touch-action: none; cursor: grab;
  outline: 3px solid #b61634; outline-offset: 0; }
.crop:active { cursor: grabbing; }
.crop img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; transform-origin: 0 0; }
.crop-box input[type=range] { width: min(280px, 100%); accent-color: #b61634; }
.maker-phrases { border: 0; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.maker-phrases legend { padding: 0; margin-bottom: 10px; }
.maker-phrases .check { padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--radius); font-family: var(--f-cert); font-style: italic; font-size: 1.05rem; cursor: pointer; }
.maker-phrases .check:has(input:checked) { border-color: #b61634; background: var(--brand-soft); }
.maker-phrases input { accent-color: #b61634; }

/* Print: just the certificate, one A4 landscape page */
@media print {
  @page { size: A4 landscape; margin: 0; }
  html, body { height: 210mm !important; overflow: hidden !important; background: #fff; }
  body * { visibility: hidden; }
  .cert, .cert * { visibility: visible; }
  .cert { position: fixed; left: 0; top: 0; width: 297mm; height: 210mm; aspect-ratio: auto; box-shadow: none; }
  .dimmed .cert { opacity: 1; filter: none; }
}
