@page{size:A4;margin:0}
*{box-sizing:border-box}
body{margin:0;background:#dfe5ec;font-family:Inter,"Helvetica Neue",Arial,sans-serif;color:#14263b;font-size:10pt;line-height:1.5}
.page{width:210mm;height:297mm;background:#fff;margin:8mm auto;position:relative;overflow:hidden;page-break-after:always;break-after:page}
@media print{body{background:#fff}.page{margin:0}}
.hd{position:absolute;left:18mm;right:18mm;top:10mm;height:10mm;display:flex;align-items:center;gap:3mm;border-bottom:.4mm solid #0C1B2E;font-size:8pt;color:#0C1B2E}
.hd img{height:6mm}.hd b{font-size:11pt;letter-spacing:.04em}.hd span{margin-left:auto;color:#5b6b7e;letter-spacing:.08em;text-transform:uppercase;font-size:7pt}
.ft{position:absolute;left:18mm;right:18mm;bottom:9mm;border-top:.3mm solid #9aa8b8;padding-top:2mm;font-size:6.5pt;color:#8a1f1f;display:flex;gap:6mm}
.ft i{font-style:normal;margin-left:auto;color:#0C1B2E;font-weight:700}
.body{position:absolute;left:18mm;right:18mm;top:27mm;bottom:20mm}
h1{font-size:25pt;line-height:1.05;margin:0 0 3mm;text-transform:uppercase;letter-spacing:.01em;color:#0C1B2E}
h1 small{display:block;font-size:9pt;letter-spacing:.2em;color:#C77700;margin-bottom:2mm}
h2{font-size:13pt;margin:6mm 0 2mm;text-transform:uppercase;letter-spacing:.03em;color:#0C1B2E;border-left:1.2mm solid #F2A93B;padding-left:2.5mm}
h3{font-size:10pt;margin:4mm 0 1mm;color:#0C1B2E}
p{margin:0 0 2.4mm}
ul{margin:0 0 2.4mm;padding-left:5mm}li{margin-bottom:.8mm}
table{border-collapse:collapse;width:100%;font-size:8.6pt;margin:2mm 0 3mm}
th{background:#0C1B2E;color:#fff;text-align:left;padding:1.3mm 2mm;font-weight:600}
td{border-bottom:.2mm solid #b9c4d0;padding:1.2mm 2mm;vertical-align:top}
td:first-child{font-weight:600;white-space:nowrap}
.note{border-left:1.2mm solid #F2A93B;background:#fff6e6;padding:2mm 3mm;margin:3mm 0;font-size:9pt}
.warn{border-left:1.2mm solid #b3261e;background:#fdecea;padding:2mm 3mm;margin:3mm 0;font-size:9pt}
figure{margin:3mm 0;text-align:center}figcaption{font-size:8pt;color:#44566b;margin-top:1.5mm;text-align:left}
figure img,figure svg{max-width:100%}
.cover{background:#0C1B2E;color:#EAF1F8}
.cover h1{color:#fff;font-size:38pt}
.toc td{border:0;border-bottom:.2mm dotted #9aa8b8;padding:1.4mm 1mm}.toc td:last-child{text-align:right;color:#5b6b7e}
.legend{columns:2;column-gap:7mm;font-size:8.6pt}.legend div{break-inside:avoid;margin-bottom:1.6mm;display:flex;gap:2mm}
.legend b{flex:0 0 5mm;height:5mm;border-radius:50%;background:#F2A93B;color:#0C1B2E;text-align:center;font-size:7.5pt;line-height:5mm}
.shot{position:relative;border:.3mm solid #0C1B2E}.shot img{display:block;width:100%}
.shot b{position:absolute;width:6.2mm;height:6.2mm;border-radius:50%;background:#F2A93B;color:#0C1B2E;border:.4mm solid #0C1B2E;text-align:center;font-size:8pt;line-height:5.4mm;transform:translate(-50%,-50%)}
.two{display:flex;gap:6mm}.two>div{flex:1}
.kv td:first-child{width:46mm}
.mono{font-family:"IBM Plex Mono",Consolas,monospace;font-size:8.2pt}
.small{font-size:8.4pt}
.fig3{display:flex;gap:4mm;align-items:flex-end}.fig3 div{flex:1;text-align:center;font-size:8pt}.fig3 img{max-height:62mm;max-width:100%}
.eq{font-family:"IBM Plex Mono",Consolas,monospace;background:#f2f5f8;border:.2mm solid #c9d3de;padding:2mm 3mm;margin:2mm 0 3mm;font-size:8.6pt;white-space:pre-wrap}

/* website: reading bar and fit to narrow screens */
.mbar{position:sticky;top:0;z-index:5;background:#0C1B2E;color:#EAF1F8;display:flex;gap:14px;align-items:center;padding:10px 16px;font:500 14px/1.3 "IBM Plex Sans",Arial,sans-serif}
.mbar a{color:#EAF1F8;text-decoration:none;white-space:nowrap}.mbar a:hover{text-decoration:underline}.mbar .sp{flex:1}
.mbar .dl{background:#F2A93B;color:#0C1B2E;padding:6px 12px;border-radius:4px;font-weight:600}
@media print{.mbar{display:none}}
h1[id]{scroll-margin-top:70px}
@media (max-width:520px){.mbar{gap:10px;padding:8px 12px;font-size:13px}.mbar .home{display:none}.mbar .dl{padding:5px 9px}}

/* seo: chapter headings are h2.hx1 with the old h1 look */
h2.hx1{font-size:25pt;line-height:1.05;margin:0 0 3mm;text-transform:uppercase;letter-spacing:.01em;color:#0C1B2E;border:0;padding:0}
h2.hx1 small{display:block;font-size:9pt;letter-spacing:.2em;color:#C77700;margin-bottom:2mm}
h2.hx1[id]{scroll-margin-top:70px}
