@page{size:A4;margin:12mm}
*{box-sizing:border-box}
body{margin:0;background:#ddd;color:#121212;font:15px/1.4 Arial,Helvetica,sans-serif}
.print-tools{display:flex;align-items:center;gap:15px;background:#eee;border-bottom:1px solid #777;padding:12px 18px;font:13px Arial,sans-serif}
.print-tools button{background:#c0c0c0;border:2px solid;border-color:#fff #555 #555 #fff;padding:7px 12px;cursor:pointer}
.flyer{background:white;max-width:210mm;min-height:270mm;margin:18px auto;padding:13mm 14mm;box-shadow:0 4px 22px #777}
.flyer header{display:grid;grid-template-columns:60px 1fr 60px;align-items:center;gap:12px;border-bottom:2px solid #222;padding-bottom:12px;text-align:center;text-transform:uppercase}
.flyer header img{width:58px;height:72px;object-fit:contain}
.flyer header b,.flyer header span,.flyer header small{display:block}
.flyer header b{font-size:17px}.flyer header span{font-weight:bold;font-size:14px}.flyer header small{margin-top:4px}
.flyer-heading{text-align:center;text-transform:uppercase;margin:10px 0 16px}
.flyer-heading>b{display:block;color:var(--accent);font:bold 53px/1.05 Arial,sans-serif;letter-spacing:6px;overflow-wrap:anywhere}
.flyer-heading h1{font-size:28px;margin:5px 0;color:var(--accent);overflow-wrap:anywhere}
.flyer-heading span{font-size:13px;font-weight:bold}
.flyer-photos{display:flex;justify-content:center;gap:14px;max-height:105mm;overflow:hidden;margin:10px 0}
.flyer-photos img{max-width:48%;max-height:100mm;object-fit:contain;background:#eee}
.flyer-appearance{text-align:center;font-weight:bold;margin:8px 0 12px;overflow-wrap:anywhere}
.flyer-section{margin:11px 0;break-inside:avoid}.flyer-section h2{font-size:16px;border-bottom:1px solid #333;margin:0 0 4px}
.flyer-text{white-space:pre-wrap;overflow-wrap:anywhere}
.flyer-warning{color:var(--accent);font-size:18px;font-weight:bold;text-align:center;text-transform:uppercase;margin:18px 0;white-space:pre-wrap;overflow-wrap:anywhere;break-inside:avoid}
.flyer-contact{text-align:center;margin:16px 0;break-inside:avoid}.flyer-contact b{display:block;margin-bottom:5px}
.flyer footer{display:flex;justify-content:space-between;border-top:2px solid #222;padding-top:8px;margin-top:18px;font-size:12px;gap:20px}
.paper-letter .flyer{max-width:216mm}.flyer-compact{padding:10mm 12mm}.flyer-compact .flyer-heading>b{font-size:46px}.flyer-compact .flyer-heading h1{font-size:25px}.flyer-compact .flyer-photos{max-height:78mm}.flyer-compact .flyer-photos img{max-height:75mm}.flyer-compact .flyer-section{margin:8px 0}.flyer-compact .flyer-warning,.flyer-compact .flyer-contact{margin:10px 0}.flyer-dense{padding:8mm 10mm;font-size:12.5px;line-height:1.3}.flyer-dense header{grid-template-columns:48px 1fr 48px;padding-bottom:7px}.flyer-dense header img{width:46px;height:56px}.flyer-dense .flyer-heading{margin:6px 0 8px}.flyer-dense .flyer-heading>b{font-size:38px;letter-spacing:4px}.flyer-dense .flyer-heading h1{font-size:22px}.flyer-dense .flyer-heading span{font-size:10px}.flyer-dense .flyer-photos{max-height:58mm;margin:5px 0}.flyer-dense .flyer-photos img{max-height:56mm}.flyer-dense .flyer-appearance{font-size:11px;margin:5px 0 7px}.flyer-dense .flyer-section{margin:6px 0}.flyer-dense .flyer-section h2{font-size:13px}.flyer-dense .flyer-warning{font-size:14px;margin:7px 0}.flyer-dense .flyer-contact{margin:7px 0}.flyer-dense footer{margin-top:8px}.flyer-section h2{break-after:avoid-page}.flyer-photos,.flyer-heading,.flyer-appearance,.flyer-contact,.flyer-warning,.flyer footer{break-inside:avoid-page}.flyer-text{orphans:3;widows:3}.flyer-warning b{display:block;font-size:.75em}.flyer footer span:empty:before{content:'—'}
.sheet-mode [contenteditable]{outline:2px dashed #485c99;outline-offset:3px;min-width:55px;min-height:25px;cursor:text}
.sheet-mode [contenteditable]:focus{outline:2px solid #143c98;background:#f3f7ff}
.sheet-mode .flyer-warning:empty:before{content:'ADD OFFICER SAFETY ADVISORY';color:#888}
@media print{body{background:white}.print-tools{display:none}.flyer{box-shadow:none;max-width:none;min-height:calc(297mm - 24mm);margin:0;padding:0;box-decoration-break:clone;-webkit-box-decoration-break:clone}.paper-letter .flyer{min-height:calc(279mm - 24mm)}.flyer-dense{font-size:11.5px}.flyer-standard.flyer-photos-2 .flyer-photos{max-height:92mm}.flyer-standard.flyer-photos-2 .flyer-photos img{max-height:90mm}}
@media print{.sheet-mode [contenteditable]{outline:none!important;background:transparent!important}.sheet-mode .flyer-warning:empty{display:none}}
