/* A4 closure letters. Recipient block starts 22 mm from the left and 52 mm down. */
.window-letter{position:relative;box-sizing:border-box;width:210mm;min-height:297mm;margin:0 auto;padding:104mm 22mm 20mm;background:#fff;color:#111;font:11pt/1.4 Arial,sans-serif;text-align:left}
.window-letter .letterhead{position:absolute;top:12mm;left:22mm;right:22mm;display:flex;justify-content:space-between;align-items:flex-start;gap:12mm;border:0;padding:0;background:none}
.window-letter .letterhead-logo{display:block;width:60mm;height:27mm;object-fit:fill;flex:0 0 60mm}
.window-letter .letterhead-details{width:90mm;flex:0 0 90mm;font:9pt/1.4 Arial,sans-serif;text-align:right;color:#222}
.window-letter .letterhead-details strong{font-size:11pt}
.window-letter .window-address{position:absolute;top:52mm;left:22mm;width:86mm;min-height:35mm;font:11pt/1.25 Arial,sans-serif;font-style:normal;margin:0;color:#111}
.window-letter .letter-date{position:absolute;top:92mm;left:22mm;right:22mm;text-align:left;margin:0;font:10pt/1.3 Arial,sans-serif}
.window-letter h2{font:700 13pt/1.3 Arial,sans-serif;margin:0 0 4mm}
.window-letter p{font:11pt/1.4 Arial,sans-serif;margin:0 0 4mm}
.window-letter .draft{font:8pt/1.3 Arial,sans-serif;padding:2mm 3mm;margin:0 0 4mm;border:1px solid #a22;color:#811}
.window-letter .letter-reference{margin-bottom:5mm}
@page closureLetter{size:A4;margin:0}
@media print{
 #print .sheet.window-letter{page:closureLetter;width:210mm;min-height:297mm;padding:104mm 22mm 20mm;margin:0;break-after:page}
 #print .sheet.window-letter:last-child{break-after:auto}
 #print .window-letter .draft{font-size:8pt;padding:2mm 3mm;margin:0 0 4mm;border-width:1px}
 #print .window-letter .letterhead-logo{print-color-adjust:exact;-webkit-print-color-adjust:exact}
 #print .window-letter p{orphans:3;widows:3}
 #print .window-letter h2,#print .window-letter .letter-reference{break-after:avoid}
}
