/* Summary page. Generated pages carry no inline style: the site's CSP forbids it. */
:root{--paper:#F7F7F4;--ink:#16191C;--ink2:#4C545C;--ink3:#868E96;--rule:#DCDCD5;--rule2:#BEBEB5;--accent:#1C4C6B;
--z-green:#3D7A55;--z-yellow:#B0851A;--z-orange:#BE5F1B;--z-red:#A02218;--z-none:#A9AEB3;
--serif:"IBM Plex Serif",Georgia,serif;--sans:"IBM Plex Sans",system-ui,sans-serif;--mono:"IBM Plex Mono",ui-monospace,monospace}
body{font-variant-numeric:tabular-nums}
.sum-langs{margin-left:auto;font-family:var(--mono);font-size:.86rem;color:var(--ink3)}
.sum-langs a{color:var(--ink2);text-decoration:none}
.sum-langs a:hover{text-decoration:underline}
.sum-kpi{display:grid;grid-template-columns:repeat(5,1fr);gap:.8rem;margin:1rem 0 1.6rem}
@media(max-width:900px){.sum-kpi{grid-template-columns:repeat(2,1fr)}}
.sum-kpi div{border-top:2px solid var(--rule);padding-top:.5rem}
.sum-kpi .k{font-family:var(--mono);font-size:.76rem;color:var(--ink3);text-transform:uppercase;letter-spacing:.03em}
.sum-kpi .v{font-size:2.1rem;font-weight:600;line-height:1.1;color:var(--ink)}
.sum-kpi .s{font-size:.86rem;color:var(--ink2)}
.sum-sec{margin:2.4rem 0}
.sum-sec .sechead{display:flex;align-items:baseline;gap:.6rem;border-bottom:1px solid var(--rule);padding-bottom:.35rem}
.sum-sec .idx{font-family:var(--mono);font-size:.8rem;color:var(--ink3)}
.sum-sec h2{margin:0;font-size:1.4rem}
.sum-sec .tag{font-size:.88rem;color:var(--ink3)}
.sum-leg{display:flex;flex-wrap:wrap;gap:.25rem 1.4rem;font-family:var(--mono);font-size:.76rem;color:var(--ink3);margin-top:.6rem}
.sum-excl{font-family:var(--sans);font-size:.84rem;color:var(--ink2);margin:.6rem 0 0;border-top:1px solid var(--rule);padding-top:.5rem}
.sum-note{font-size:.9rem;line-height:1.55;color:var(--ink2);margin:.6rem 0 0}
body .stage{max-width:1760px;margin:0 auto}
figure svg{max-width:1500px}
.sum-sec p,.sum-excl,.sum-note,.sum-remarks p{max-width:104ch}
figure{margin:.8rem 0 0;position:relative;overflow-x:auto;overflow-y:hidden}
figure svg{display:block;width:100%;height:auto;overflow:visible}
/* under browser zoom the container narrows in CSS pixels; the minimum keeps the drawing at its own size
   and gives a horizontal scrollbar instead of shrinking the chart to nothing */
figure svg.wide{min-width:1000px}
figure svg.xwide{min-width:1240px}
.figtools{display:flex;gap:.4rem;justify-content:flex-end;margin-top:.3rem}
.figtools button{font-family:var(--mono);font-size:.76rem;color:var(--ink2);background:none;border:1px solid var(--rule2);border-radius:3px;padding:.18rem .5rem;cursor:pointer}
.figtools button:hover{color:var(--ink);border-color:var(--ink2)}
figure:fullscreen{background:var(--paper);padding:2vh 2vw;display:flex;flex-direction:column;justify-content:center}
figure:fullscreen{overflow:visible}
figure:fullscreen svg{max-height:92vh;width:100%;min-width:0}
figure:fullscreen .figtools,figure:fullscreen .sum-leg,figure:fullscreen .sum-excl,figure:fullscreen .sum-note{display:none}
@media print{.figtools{display:none}}

.sum-remarks{border:1px solid var(--rule2);border-left:3px solid var(--z-red);background:rgba(160,34,24,.035);padding:1rem 1.2rem;margin-top:2.4rem}
.sum-remarks h2{font-size:1.2rem;margin:0 0 .5rem}
.sum-remarks p{font-size:.95rem;line-height:1.55;color:var(--ink2);margin:.5rem 0 0}

/* 1.18.1: the header and the tools stay with the content on very wide screens */
body .top{max-width:1760px;margin:0 auto}
body nav.decks{max-width:1760px;margin:0 auto}
.sum-sec{scroll-margin-top:1rem}


@media (min-width:1600px){ .sum-kpi .v{font-size:2.2rem} }

/* 1.18.4: one column for everything, so the header, the menu and the pictures share a left edge */
body .stage{max-width:1760px;margin:0 auto;padding-left:1.6rem;padding-right:1.6rem}
