/* Карточка-сертификат в слот f-19. Hand-written (НЕ gen-page).
   Координаты — нативные из фрейма «Cerificate» (Certificate_object.fig),
   сдвинуты в origin content-box (x-80, y-354). Шапка фрейма (PASYAKIN
   SYSTEM / REGISTRY CERTIFICATE / House of Masters) исключена — она уже
   на странице (f-2/f-21/f-1). Content-box 1485x751 → scale в слот 1008x524.
   По ширине слот 1008 даёт scale 0.6788 (высота 510), но фото f-3 начинается
   на y=1020 (слот сверху 528), доступно по высоте 528→1020 = 492px. Берём
   Для «воздуха»: scale 0.63 → высота 473 (низ ~1001, зазор ~19px до фото),
   ширина 1485*0.63 = 936, центрируем (left = (1008-936)/2 = 36). Колонка
   значений сдвинута 266→286 — зазор лейбл↔текст (заметно в длинных RU). */

.fig-registry .f-19 { overflow: hidden; }

.cert-card {
  position: absolute;
  left: 36px;
  top: 0;
  width: 1485px;
  height: 751px;
  transform: scale(0.63);
  transform-origin: top left;
  font-family: 'Maven Pro', sans-serif;
  color: #1e1e1e;
}

.cert-card .cc { position: absolute; margin: 0; white-space: nowrap; }

/* Разделители (.fig sw:0.5 #989ca0) */
.cert-card .cc-line { height: 1px; background: #989ca0; }

/* Лейблы — Maven Pro Regular #666565 */
.cert-card .cc-lbl { font-weight: 400; font-size: 24px; line-height: 100%; color: #666565; }

/* Значения — Maven Pro Medium #1e1e1e */
.cert-card .cc-val { font-weight: 500; color: #1e1e1e; }

/* === Registry Index row (Group 4) === */
.cert-card .cc-l1   { top: 0;   left: 0; width: 1485px; }
.cert-card .cc-l2   { top: 74px; left: 0; width: 1485px; }
.cert-card .cc-idx-lbl  { top: 26px; left: 0;    letter-spacing: 0.06em; }
.cert-card .cc-idx-val  { top: 18px; left: 286px; font-size: 32px; line-height: 100%; letter-spacing: 0.06em; }
.cert-card .cc-idx-date { top: 18px; left: 1267px; width: 218px; font-size: 32px; line-height: 100%; letter-spacing: 0.06em; text-align: right; }

/* === Grid Object/Master/... (Group 11) === */
.cert-card .cc-g-object   { top: 120px; left: 0; letter-spacing: 0.06em; }
.cert-card .cc-g-master   { top: 171px; left: 0; letter-spacing: 0.06em; }
.cert-card .cc-g-material { top: 251px; left: 0; letter-spacing: 0.06em; }
.cert-card .cc-g-system   { top: 303px; left: 0; letter-spacing: 0.06em; }
.cert-card .cc-g-registry { top: 355px; left: 0; letter-spacing: 0.06em; }

.cert-card .cc-v-name     { top: 106px; left: 286px; font-size: 40px; line-height: 100%; letter-spacing: 0.06em; }
.cert-card .cc-v-master   { top: 168px; left: 286px; width: 552px; font-size: 26px; line-height: 100%; letter-spacing: 0.06em; white-space: normal; }
.cert-card .cc-v-material { top: 250px; left: 286px; font-size: 26px; line-height: 100%; letter-spacing: 0.06em; }
.cert-card .cc-v-system   { top: 302px; left: 286px; font-size: 26px; line-height: 100%; letter-spacing: 0.06em; }
.cert-card .cc-v-registry { top: 354px; left: 286px; font-size: 26px; line-height: 100%; letter-spacing: 0.06em; }

/* APPROVED (статус) */
.cert-card .cc-approved { top: 338px; left: 939px; font-weight: 500; font-size: 40px; line-height: 130%; letter-spacing: 0.04em; color: #1e1e1e; }

/* Печать-LOGO (галочка) — готовый pasyakin-seal.svg */
.cert-card .cc-seal { top: 263px; left: 1222px; width: 250px; height: 241px; }
.cert-card .cc-seal img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* === Trace Verification + System Statement (Group 12) === */
.cert-card .cc-tl1 { top: 433px; left: 0; width: 1159px; }
.cert-card .cc-trace-lbl { top: 452px; left: 0; letter-spacing: 0.04em; }
.cert-card .cc-trace-txt { top: 456px; left: 286px; width: 655px; font-size: 24px; line-height: 100%; letter-spacing: 0.06em; white-space: normal; color: #1e1e1e; }
.cert-card .cc-trace-txt a { color: #1e1e1e; text-decoration: underline; }

.cert-card .cc-tl2 { top: 559px; left: 0; width: 1485px; }
.cert-card .cc-stmt-lbl { top: 581px; left: 0; letter-spacing: 0.04em; }
.cert-card .cc-stmt-txt { top: 580px; left: 286px; width: 1199px; font-size: 24px; line-height: 100%; letter-spacing: 0.04em; white-space: normal; color: #1e1e1e; }

.cert-card .cc-tl3 { top: 685px; left: 0; width: 1485px; }

/* === Identification / Authentication === */
.cert-card .cc-ident { top: 699px; left: 0; font-size: 24px; line-height: 130%; letter-spacing: 0.06em; color: #666565; white-space: nowrap; }
.cert-card .cc-serial { top: 723px; left: 285px; font-size: 26px; line-height: 100%; letter-spacing: 0.06em; }
.cert-card .cc-auth { top: 699px; right: 0; left: auto; text-align: right; font-size: 24px; line-height: 130%; letter-spacing: 0.06em; color: #666565; white-space: nowrap; }

/* === PDF actions + TRACE (ниже карточки, не в .fig) === */
.fig-registry .cert-actions {
  position: absolute;
  left: 422px;
  top: 1636px;
  width: 966px;
  display: flex;
  gap: 16px;
  justify-content: center;
  z-index: 2;
}
.fig-registry .cert-actions a {
  font-family: 'Maven Pro', sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1e1e1e;
  text-decoration: none;
  padding: 12px 24px;
  border: 0.5px solid #1e1e1e;
  background: transparent;
  transition: background .15s, color .15s;
}
.fig-registry .cert-actions a:hover { background: #1e1e1e; color: #f1f1f1; }
