/* Print-ready sheets. True size: A4 210x297mm or US Letter 8.5x11in. */
@font-face{font-family:"Great Vibes";src:url(/fonts/greatvibes.woff2) format("woff2");font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/garamond.woff2) format("woff2");font-weight:400 600;font-display:swap}
@font-face{font-family:"EB Garamond";src:url(/fonts/garamond-italic.woff2) format("woff2");font-style:italic;font-display:swap}
.sheet-wrap{position:relative;width:100%;min-width:0;overflow:hidden;contain:inline-size}
.sheet{--w:210mm;--h:297mm;width:var(--w);height:var(--h);box-sizing:border-box;transform-origin:top left;position:relative;overflow:hidden;
  background-color:#fbf6ea;background-image:radial-gradient(ellipse at 20% 10%,rgba(255,255,255,.7),transparent 55%),radial-gradient(ellipse at 90% 100%,rgba(185,139,47,.10),transparent 60%);
  color:#2b2118;font-family:"EB Garamond",Georgia,serif}
.paper-letter .sheet{--w:8.5in;--h:11in}
.letter-sheet{padding:17mm 20mm 14mm}
.letter-sheet::before{content:"";position:absolute;inset:7mm;border:1.2px solid rgba(158,36,32,.45);outline:1px solid rgba(185,139,47,.45);outline-offset:-3.5mm;pointer-events:none}
.lh{display:flex;align-items:center;gap:5mm;padding-bottom:5mm;border-bottom:1px solid rgba(43,33,24,.18);margin-bottom:7mm}
.holly{width:17mm;height:11mm;flex:none}
.lh-txt{flex:1}
.lh-from{font-style:italic;font-size:12pt;color:#6b5a48;letter-spacing:.02em}
.lh-name{font-family:"Great Vibes",cursive;font-size:34pt;line-height:1;color:#8f1f1c}
.lh-addr{font-size:9.5pt;letter-spacing:.14em;text-transform:uppercase;color:#6b5a48;margin-top:1.5mm}
.postmark{flex:none;width:25mm;height:25mm;border:1.6px dashed rgba(31,92,63,.75);border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1f5c3f;transform:rotate(-12deg);font-size:6.8pt;letter-spacing:.12em;text-transform:uppercase;text-align:center;line-height:1.25}
.postmark b{font-size:13pt;letter-spacing:.05em}
.lbody{font-size:13.2pt;line-height:1.55}
.lbody p{margin:0 0 4.2mm}
.lbody .greet{font-size:15pt;margin-bottom:5mm}
.lbody .signoff{margin:6mm 0 0;font-style:italic}
.sig{font-family:"Great Vibes",cursive;font-size:30pt;line-height:1.1;color:#8f1f1c;margin:1mm 0 3mm}
.lbody .ps{font-style:italic;font-size:12pt;color:#4a3b2d}
.letter-sheet .seal{position:absolute;right:18mm;bottom:20mm;width:27mm;height:27mm;transform:rotate(8deg);filter:drop-shadow(0 1.5mm 1.5mm rgba(80,20,10,.25))}
.lfoot{position:absolute;left:0;right:0;bottom:10.5mm;text-align:center;font-size:8.5pt;letter-spacing:.16em;text-transform:uppercase;color:#8a7864}
[contenteditable="true"]{outline:none;border-radius:2px;transition:background .2s}
[contenteditable="true"]:hover{background:rgba(185,139,47,.10)}
[contenteditable="true"]:focus{background:rgba(185,139,47,.18)}
.cert-sheet{padding:12mm}
.cframe{height:100%;box-sizing:border-box;border:2.5mm solid #1f5c3f;padding:3mm;background:linear-gradient(#fbf6ea,#fbf6ea) padding-box}
.cinner{height:100%;box-sizing:border-box;border:1px solid #b98b2f;outline:1px solid #b98b2f;outline-offset:-2.5mm;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12mm 16mm;
  background:repeating-linear-gradient(45deg,rgba(185,139,47,.045) 0 2mm,transparent 2mm 4mm)}
.cinner .holly{width:30mm;height:19mm;margin-bottom:6mm}
.c-kicker{font-size:11pt;letter-spacing:.5em;text-transform:uppercase;color:#8f1f1c;padding-left:.5em}
.c-title{font-family:"EB Garamond",serif;font-weight:600;font-size:34pt;margin:2mm 0 10mm;color:#1f3d2e;letter-spacing:.02em}
.c-line{font-size:14pt;font-style:italic;margin:0;color:#4a3b2d}
.c-name{font-family:"Great Vibes",cursive;font-size:64pt;line-height:1.15;color:#8f1f1c;margin:4mm 0 3mm;min-width:60%;border-bottom:1px solid rgba(43,33,24,.3)}
.c-reason{font-size:14.5pt;margin:9mm 0 0;max-width:140mm;line-height:1.45}
.c-reason::before{content:"for ";font-style:italic;color:#6b5a48}
.c-reason[data-nofor]::before{content:""}
.c-sigs{display:flex;align-items:flex-end;justify-content:space-between;gap:8mm;width:100%;margin-top:18mm}
.c-sigs>div{flex:1;font-size:9.5pt;letter-spacing:.1em;text-transform:uppercase;color:#6b5a48}
.c-sigs .sig{white-space:nowrap;border-bottom:1px solid rgba(43,33,24,.35);margin-bottom:2mm;font-size:22pt;text-transform:none;letter-spacing:0}
.c-sigs .seal{width:30mm;height:30mm;flex:none}
@media print{
  body{margin:0;background:#fff}
  .sheet-wrap{height:auto!important;overflow:visible}
  .sheet{transform:none!important;page-break-after:always;break-after:page;-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
