/* Alcance matrimonial: no modifica actas de otros sacramentos ni recibos. */
.mf-pages{max-width:816px;width:100%;margin:18px auto;overflow:hidden}
.eclium-sheet.mf-sheet{--doc-ink:#FF696A;--body-reserve:0pt;--sign-gap:38pt;padding:48pt 66pt 48pt;font:12pt/16pt Georgia,serif;margin:0 auto 24px;transform-origin:top left;min-height:792pt;height:792pt}
.eclium-sheet.mf-sheet.ed-dense,.eclium-sheet.mf-sheet.ed-compact{font-size:12pt;line-height:16pt;--sign-gap:38pt}
.mf-sheet .ed-body,.mf-sheet.ed-dense .ed-body{margin-top:var(--mf-body-gap,16pt);min-height:0;font:inherit;text-align:justify}
.mf-sheet .ed-body p{margin:0 0 var(--mf-paragraph-gap,10pt)!important}
.mf-sheet .ed-body p:last-child{margin-bottom:0!important}
.mf-sheet .sdm-title,.mf-sheet .tm-title,.mf-sheet .mf-title{color:#000;font:bold 14pt/19pt Georgia,serif;text-align:center;margin:14pt 0 3pt}
.eclium-sheet.mf-sheet[data-mf-fit=compact]{font-size:11.5pt;line-height:15pt;--mf-paragraph-gap:7pt;--mf-body-gap:13pt}
.eclium-sheet.mf-sheet[data-mf-fit=dense]{font-size:11pt;line-height:14pt;--mf-paragraph-gap:5pt;--mf-body-gap:10pt;--mf-detail-gap:6pt;--mf-dest-gap:10pt}
.eclium-sheet.mf-sheet[data-mf-fit=tight]{font-size:10.5pt;line-height:13.5pt;--mf-paragraph-gap:4pt;--mf-body-gap:8pt;--mf-detail-gap:4pt;--mf-dest-gap:8pt}
.eclium-sheet.mf-sheet[data-mf-fit=letter]{font-size:10pt;line-height:12pt;--mf-paragraph-gap:2pt;--mf-body-gap:8pt;--mf-detail-gap:3pt;--mf-dest-gap:6pt}
.mf-sheet[data-mf-fit] .sdm-addressee,.mf-sheet[data-mf-fit] .tm-addressee,.mf-sheet[data-mf-fit] .pastoral-doc-dest,.mf-sheet[data-mf-fit] .pastoral-doc-names{font-size:inherit;line-height:inherit}
.mf-sheet.tm-annex .tm-title{color:#000;text-align:center}
.mf-sheet.tm-annex h3{color:#000;font-size:12pt;line-height:18pt}
.mf-sheet h3{color:#000}
.mf-sheet .sdm-addressee,.mf-sheet .tm-addressee{font:bold 12pt/18pt Georgia,serif}
.mf-sheet .cert-footer-block{position:absolute;left:66pt;right:66pt;top:auto;bottom:48pt;margin:0!important}
.mf-sheet .cert-sheet-footer{font:7.5pt/11pt Arial,sans-serif;margin:0!important;padding-top:8pt}
.mf-sheet .cert-sheet-address{font:7.3pt/11pt Arial,sans-serif;margin-top:3pt}
.mf-page-number{font:7pt/10pt Arial,sans-serif;color:#5a6a72;margin-top:3pt}
.mf-sheet>.mf-page-number{position:absolute;left:66pt;right:66pt;bottom:48pt;text-align:center}
.mf-keep{break-inside:avoid}
.mf-sheet .mf-exhorto-signature{padding-top:54pt!important}
.mf-letter-signoff{display:grid;grid-template-columns:76pt minmax(0,1fr) 76pt;gap:12pt;align-items:end;break-inside:avoid}
.mf-letter-signoff>.cert-firma{grid-column:2;grid-row:1;width:100%}
.mf-letter-signoff>.cert-security-row{display:contents}
.mf-letter-signoff>.cert-security-row>div{grid-row:1;min-width:0}
.mf-letter-signoff>.cert-security-row>div:has(.cert-auth){grid-column:3}
.mf-letter-signoff>.cert-security-row>div:has(.cert-guilloche){grid-column:1}
.mf-letter-signoff .cert-guilloche{width:76pt;height:30pt;margin:0}
.eclium-sheet.ed-matrimonio .cert-sac-title{color:#000!important}
.mf-sheet .eclium-doc-letterhead{gap:14pt;min-height:75pt;padding-bottom:9pt;margin-bottom:0}
.mf-sheet .eclium-doc-letterhead-logo{width:72pt;height:72pt;flex-basis:72pt}
.mf-sheet .eclium-doc-letterhead-parish{font-size:18pt;line-height:21pt}
.mf-sheet .eclium-doc-letterhead-diocese{font-size:7.5pt;line-height:11pt}
.mf-sheet .pastoral-doc-names{font:bold 12pt/18pt Georgia,serif;color:#000;margin:var(--mf-detail-gap,10pt) 0}
.mf-sheet .pastoral-doc-meta,.mf-sheet .info-mat-meta{font:10pt/15pt Arial,sans-serif;margin:var(--mf-detail-gap,10pt) 0}
.mf-sheet .pastoral-doc-dest{font:bold 12pt/18pt Georgia,serif;margin:var(--mf-detail-gap,10pt) 0 var(--mf-dest-gap,16pt)}
.mf-sheet .pastoral-doc-return-block{margin-top:16pt;padding-top:10pt}
.mf-sheet .info-mat-table{font:12pt/16pt Georgia,serif;margin:0;width:100%;table-layout:fixed}
.mf-sheet .info-mat-table col.info-mat-side{width:37%}
.mf-sheet .info-mat-table col.info-mat-label-col{width:26%}
.mf-sheet .info-mat-table td,.mf-sheet .info-mat-table th{padding:5pt;overflow-wrap:anywhere}
.mf-sheet .info-mat-table.mf-table-part thead{display:table-header-group}
.mf-sheet .sec{font:bold 12pt/18pt Arial,sans-serif;color:#000;margin:12pt 0 8pt}
.mf-sheet .tm-label{font:12pt/18pt Arial,sans-serif}
.mf-sheet .tm-signatures{font:12pt/18pt Georgia,serif}
.mf-sheet.tm-annex .ed-body{line-height:16pt}
/* Notificaciones: jerarquía sobria, sin estrechar los márgenes Carta. */
.eclium-sheet.mf-sheet.nom-sheet{font-size:10pt;line-height:14pt}
.mf-sheet.nom-sheet .tm-title{font:bold 11pt/15pt Georgia,serif;text-align:center;white-space:nowrap;margin:16pt 0 8pt}
.mf-sheet.nom-sheet .tm-addressee{font-size:10pt;line-height:14pt}
.mf-sheet.nom-sheet .tm-signoff{grid-template-columns:76pt minmax(0,1fr) 76pt;gap:14pt;margin-top:16pt}
.mf-sheet.nom-sheet .tm-signoff .cert-firma.ed-single{grid-column:2;width:100%;max-width:208pt!important;padding-top:54pt!important}
.mf-sheet.nom-sheet .tm-signoff .cert-auth{grid-column:3;grid-row:1}
.nom-canon{white-space:nowrap}
.mf-sheet.nom-curia-sheet .nom-curia-panel{margin-top:90pt;break-inside:avoid}
.mf-sheet.nom-curia-sheet .tm-curia{max-width:300pt;margin:0 auto;font:10pt/15pt Georgia,serif}
.mf-sheet.nom-curia-sheet .tm-curia .tm-line{margin-top:72pt}
.mf-sheet.nom-curia-sheet .nom-curia-panel>.cert-auth{margin:42pt 0 0 auto!important}
@media print{
 body.ed-printing .mf-sheet{zoom:1!important;break-after:page!important}
 body.ed-printing .mf-sheet:last-child{break-after:auto!important}
}
