
*{box-sizing:border-box;margin:0;padding:0}body{font-family:'Libre Franklin',system-ui,sans-serif;background:#e8e6e1;color:#1a1a1a;padding:28px 16px}
.note{max-width:210mm;margin:0 auto 14px;font-size:13px;color:#555;line-height:1.5}
.note b{color:#111}.page{width:210mm;min-height:297mm;margin:0 auto;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.18)}
.main{padding:34px 40px}.head{text-align:center;border-bottom:3px double #6B1D2A;padding-bottom:14px;margin-bottom:4px}
h1{font-family:'Libre Franklin',system-ui,sans-serif;font-size:28px;font-weight:800;color:#6B1D2A;letter-spacing:-.01em}
.title{font-size:13px;font-weight:600;margin:4px 0 2px}.contact{font-size:10.5px;color:#444;line-height:1.5}
.certs{margin-top:10px}.certs span{display:inline-block;border:1px solid #6B1D2A;border-radius:3px;color:#6B1D2A;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:10.5px;font-weight:600;padding:3px 8px;margin:0 4px}
h3{font-family:'Libre Franklin',system-ui,sans-serif;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#6B1D2A;margin:20px 0 8px;text-align:center}
h3::after{content:"";display:block;width:52px;border-bottom:2px solid #6B1D2A;margin:6px auto 0}
p,li{font-size:10.8px;line-height:1.55}p{margin-bottom:6px}ul{padding-left:18px;margin-bottom:6px}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px;margin-bottom:4px}
.cell{border:1px solid #e0d5d5;padding:9px 11px}
.ckey{font-family:'IBM Plex Mono',ui-monospace,monospace;font-weight:600;font-size:10.5px;color:#6B1D2A;display:block;text-transform:uppercase;letter-spacing:.06em}
.cval{font-size:10.8px;line-height:1.5;display:block;margin-top:3px}
.uptime{font-size:11px;line-height:1.6}
.job{margin-bottom:12px}.job-h{display:flex;justify-content:space-between;gap:12px}
.role{font-weight:700;font-size:11.5px}.dates{font-size:10.5px;color:#555;white-space:nowrap}.org{font-size:10.5px;color:#555;font-style:italic;margin-bottom:4px}
@media print{body{background:#fff;padding:0}.note{display:none}.page{box-shadow:none;width:auto;min-height:0}
.main{padding:0}.head{padding-bottom:9px}
p,li{font-size:14px;line-height:1.38;orphans:3;widows:3}
p{margin-bottom:4px}ul{margin-bottom:4px}
h1{font-size:29px}.title{font-size:14px}.contact,.dates,.org{font-size:12.5px}
.certs span{font-size:13px}.ckey{font-size:13px}.cval{font-size:13.5px}.uptime{font-size:14px}
h3{font-size:12.5px;margin:5px 0 6px;break-after:avoid;page-break-after:avoid}
.role{font-size:13.5px}.job,.cell,.grid{break-inside:avoid;page-break-inside:avoid}.job-h{break-after:avoid;page-break-after:avoid}}
@page{size:A4;margin:12mm 14mm}
/* PRINT: no dark rail/header — all text is already dark-on-white, so it stays legible with browser "background graphics" OFF. A4 default; US Letter via ?paper=letter — the
   inline script at the end of <body> injects @page{size:Letter} (same
   12mm/14mm margins). One file cannot carry two @page sizes in plain CSS,
   so the query-param script is the Letter selector. */
