.cert-admin-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 18px; margin: 18px 0; }
.cert-admin-grid .panel h2, .cert-registry-item h3, #cabinet-certificates h3 { margin: 0 0 8px; }
.cert-preview, .cert-full, .cabinet-cert img { width: 100%; height: auto; display: block; background: #f4f8fc; border-radius: 12px; }
.cert-preview { margin-top: 14px; }
.cert-name-form, .cert-edit, .cert-sync { margin-top: 16px; }
.cert-sync { margin-top: 18px; }
.cabinet-cert { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e4edf7; }
.cabinet-cert p { margin: 4px 0; }
.cert-status-active { color: #0d7a45; font-weight: 700; }
.cert-status-revoked { color: #a12626; font-weight: 700; }
.cert-registry { display: grid; gap: 14px; }
.cert-registry-item { padding: 14px 0; border-top: 1px solid #e4edf7; }
.cert-registry-item header { display: flex; gap: 10px; align-items: baseline; }
.cert-edit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.cert-verify-body { margin: 0; background: #f3f7fb; color: #102040; font: 18px/1.5 Georgia, "Times New Roman", serif; }
.cert-verify { max-width: 920px; margin: 0 auto; padding: 36px 18px 64px; }
.cert-brand { letter-spacing: .08em; text-transform: uppercase; font: 600 13px/1.2 Inter, Arial, sans-serif; color: #2f6fe0; }
.cert-verify h1 { font: 700 40px/1.15 Inter, Arial, sans-serif; margin: 8px 0 18px; }
.cert-banner { padding: 12px 14px; border-radius: 12px; margin: 0 0 18px; font: 16px/1.45 Inter, Arial, sans-serif; }
.cert-banner.ok { background: #e7f6ee; color: #0d5c32; }
.cert-banner.bad { background: #fdecec; color: #8d1d1d; }
.cert-facts { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; margin: 0 0 22px; font: 17px/1.4 Inter, Arial, sans-serif; }
.cert-facts dt { color: #5c6b82; }
.cert-facts dd { margin: 0; }
.cert-note { color: #5c6b82; font: 15px/1.45 Inter, Arial, sans-serif; }
.cert-link { color: #1d4ed8; }
@media (max-width: 900px) {
  .cert-admin-grid, .cabinet-cert, .cert-edit { grid-template-columns: 1fr; }
  .cert-verify h1 { font-size: 32px; }
}
