
*{box-sizing:border-box;margin:0;padding:0}body{font-family:'IBM Plex Sans',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}h1{font-family:'Source Serif 4',Georgia,serif;font-size:30px;font-weight:700;color:#1B4332;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}
.cred{font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:11px;font-weight:700;color:#1B4332;margin-top:9px;letter-spacing:.04em}
.fw{font-size:10.5px;color:#555;margin-top:3px}
h3{font-family:'Source Serif 4',Georgia,serif;font-size:15px;font-weight:700;color:#1B4332;margin:20px 0 8px}
h3::after{content:"";display:block;border-bottom:1px solid #b9cec2;margin-top:4px}
p,li{font-size:10.8px;line-height:1.55}p{margin-bottom:6px}ul{padding-left:18px;margin-bottom:6px}
.inc{display:flex;gap:12px;margin-bottom:11px}
.sev{flex-shrink:0;font-family:'IBM Plex Mono',ui-monospace,monospace;font-size:10px;font-weight:600;color:#fff;background:#1B4332;border-radius:3px;padding:3px 7px;height:fit-content;margin-top:1px}
.inc-b{flex:1}.inc-h{display:flex;justify-content:space-between;gap:12px;align-items:baseline}
.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}
p,li{font-size:14px;line-height:1.5;orphans:3;widows:3}
h1{font-size:31px}.title{font-size:14px}.contact,.dates,.org{font-size:12.5px}
.cred{font-size:13.5px}.fw{font-size:13px}.sev{font-size:12px;background:#fff;color:#1B4332;border:1.5px solid #1B4332}
h3{font-size:16px;margin:13px 0 6px;break-after:avoid;page-break-after:avoid}
.role{font-size:13.5px}.job,.inc{break-inside:avoid;page-break-inside:avoid}.keep{break-inside:avoid;page-break-inside:avoid}.job-h,.inc-h{break-after:avoid;page-break-after:avoid}}
@page{size:A4;margin:12mm 14mm}
/* D-81-MATRIX-1 (2026-11-19): the Tools & Techniques h3 + paragraph are
   wrapped in .keep (see the HTML) so the heading can never orphan at a
   page bottom — the h3's own break-after:avoid was not honoured by
   Chromium with the long fixture, and break-before:avoid on the paragraph
   failed the same way (re-tested 19 Nov, long-a4 still orphaned).
   The wrapped block is one short paragraph, so it always fits on a
   single page. NOTE: the wrapper needs harness fix D-MATRIX-4 in
   run-matrix.py — the injector's sibs() must stop at h3-containing
   elements, or its education step deletes the wrapper. */
/* 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. */
