@font-face{font-family:'Noto Sans';src:url(fonts/noto-r.3b51bff43a.woff2) format('woff2');font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:'Noto Sans';src:url(fonts/noto-i.31b3e11c95.woff2) format('woff2');font-weight:400;font-style:italic;font-display:swap}
/* «Пульт экономики» — site CSS. gen.py prepends @font-face and appends the shared panel CSS
   (panels.BASE_CSS + THEME_CSS scoped under .pnl) and panel-fixes.css. Colours are variables (W29). */
:root{
  --bg:#141B23; --paper:#1F2833; --paper2:#26313E; --line:#3A4757; --ink:#E8EDF3; --muted:#A9B4C2; --accent:#8FD0DA;
  --gold:#FFE29A; --ok:#8FD6A8;
  --l1:#DCEFEA; --l1i:#1F5F57; --l2:#A9D3D6; --l2i:#174A52; --l3:#4F8A99; --l3i:#FFFFFF;
  --col:1280px; --side:250px;
}
*{box-sizing:border-box}
[hidden]{display:none!important}   /* class display rules must not override the hidden attribute */
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Noto Sans','DejaVu Sans',Arial,sans-serif;font-size:17px;line-height:1.55}
a{color:var(--accent)}
h1,h2,h3{line-height:1.2;margin:0 0 .5em}
h1{font-size:30px}h2{font-size:23px}h3{font-size:19px}
p{margin:0 0 .8em}
.s-wrap{max-width:calc(var(--col) + var(--side) + 72px);margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;z-index:50;background:var(--paper);padding:6px 10px}
.btn{display:inline-block;padding:10px 18px;border-radius:12px;background:var(--accent);color:#10232A;font-weight:700;text-decoration:none;border:0;font:inherit;font-weight:700;cursor:pointer}
.lead{color:var(--muted);max-width:780px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}

/* ---- header ---- */
.s-top{background:#0F151C;border-bottom:1px solid var(--line)}
.s-bar{display:flex;align-items:center;gap:18px;min-height:50px;flex-wrap:wrap}
.brand{font-weight:700;color:var(--ink);text-decoration:none;white-space:nowrap}
.tname{color:var(--muted);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}
.tname b{color:var(--ink)}
.topnav{display:flex;gap:16px;margin-left:auto}.topnav a{color:var(--muted);text-decoration:none}
.topnav a[aria-current],.topnav a:hover{color:var(--ink)}
.pages{display:flex;gap:8px;padding-bottom:10px;overflow-x:auto;scrollbar-width:none}
.pages::-webkit-scrollbar{display:none}
.pages a{flex:none;padding:5px 13px;border-radius:999px;background:var(--paper2);color:var(--ink);text-decoration:none;font-size:15px;border:1px solid var(--line)}
.pages a[aria-current]{background:var(--ink);color:#10161D;font-weight:700}
.pages a.is-done::after,.s-lt.is-done::after{content:" ✓";color:var(--ok)}
.pages a[aria-current].is-done::after{color:#2E6B45}

/* ---- layer band ---- */
.band{background:var(--bf);color:var(--bi);padding:22px 0 18px;margin-bottom:24px}
.band h1{font-size:28px;margin-bottom:6px}
.band p{margin:0;max-width:900px}
.band .crumb{font-size:14px;opacity:.8;margin-bottom:4px}

/* ---- layout with mini contents ---- */
.layout{display:flex;gap:32px;align-items:flex-start}
.cards{flex:1;min-width:0}
.toc{font-size:14.5px}
.toc ol{list-style:none;margin:0;padding:0}
.toc a{display:flex;gap:8px;padding:5px 8px;border-radius:8px;color:var(--muted);text-decoration:none;line-height:1.3}
.toc a:hover{color:var(--ink)}
.toc a[aria-current]{background:var(--paper2);color:var(--ink)}
.toc .tn{flex:none;width:20px;text-align:right;color:#6F7C8B;font-variant-numeric:tabular-nums}
.toc-side{flex:none;width:var(--side);position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}
.toc-h{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#6F7C8B;margin:0 0 6px 8px}
.toc-phone{display:none}

/* ---- panel cards ---- */
.s-card{margin:0 auto 30px;max-width:var(--col);scroll-margin-top:64px}
.fit{position:relative;overflow-x:auto;overflow-y:hidden;border-radius:12px}
.pnl{position:relative;width:1280px;height:720px;overflow:hidden}
.s-card .pnl{background:transparent!important}   /* the old page background showed in the rounded corners */
/* with JS: scale the 1280×720 panel to the column width */
.js .fit{overflow:hidden;height:0;padding-top:56.25%}
.js .pnl{position:absolute;left:0;top:0;transform:scale(var(--s,1));transform-origin:0 0}
.js .reflow .fit{padding-top:0}
.tools{display:flex;justify-content:flex-end;align-items:center;gap:14px;padding:6px 4px 0;font-size:14px}
.tools a{color:var(--muted);text-decoration:none}
.tools a:hover{color:var(--ink)}
.tools .ask{border:1px solid var(--line);border-radius:999px;padding:3px 12px}
.rot{display:none}
.toast{position:fixed;left:50%;bottom:22px;transform:translate(-50%,40px);opacity:0;background:var(--ink);color:#10161D;padding:10px 18px;border-radius:12px;font-weight:700;transition:.25s;z-index:60;pointer-events:none}
.toast.on{opacity:1;transform:translate(-50%,0)}

/* ---- overlays (panel coordinates) ---- */
.pnl .ov-gif{position:absolute;display:block;border-radius:12px}
.pnl .ov-link{position:absolute;font-weight:700;white-space:nowrap}
.pnl .ov-link a{color:inherit;text-decoration:none}
/* flip card: checkbox + label, 3D where supported, plain swap otherwise */
.pnl .flip{position:absolute;width:320px;height:500px;perspective:1600px}
.pnl .flip-t{position:absolute;opacity:0;pointer-events:none}
.pnl .flip-in{display:block;position:relative;width:100%;height:100%;cursor:pointer;transition:transform .5s;transform-style:preserve-3d}
.pnl .flip-f,.pnl .flip-b{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:14px;padding:26px 24px;
  border-radius:20px;background:#FBFAF7;color:#1F2833;border:3px solid #E3DED3;box-shadow:0 6px 18px rgba(0,0,0,.35);
  -webkit-backface-visibility:hidden;backface-visibility:hidden}
.pnl .flip-b{transform:rotateY(180deg);background:#FFF4D1;border-color:#E8D48F}
.pnl .flip-h{font-size:30px;font-weight:700;line-height:1.15;color:#B36A2E}
.pnl .flip-b .flip-h{color:#7A5A0B}
.pnl .flip-x{font-size:23px;line-height:1.38;flex:1}
.pnl .flip-tap{font-size:18px;color:#6B7480}
.pnl .flip-t:checked+.flip-in{transform:rotateY(180deg)}
.pnl .flip-t:focus-visible+.flip-in{outline:4px solid var(--gold);outline-offset:4px;border-radius:20px}
@supports not ((transform-style:preserve-3d) and (backface-visibility:hidden)){
  .pnl .flip-b{display:none;transform:none}.pnl .flip-t:checked+.flip-in{transform:none}
  .pnl .flip-t:checked+.flip-in .flip-f{display:none}.pnl .flip-t:checked+.flip-in .flip-b{display:flex}
}

/* ---- end of page ---- */
.markp{text-align:center;margin:10px 0 26px}
.mark{font:inherit;font-weight:700;padding:11px 20px;border-radius:12px;border:2px solid var(--ok);background:transparent;color:var(--ok);cursor:pointer}
.mark[aria-pressed=true]{background:var(--ok);color:#12301F}
.related{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 20px;margin:0 0 24px}
.related ul{margin:0;padding-left:20px}.related a{color:#C9B8F2}
.next-test{text-align:center;margin:6px 0 26px}
.other{color:var(--muted)}
.pnav{border-top:1px solid var(--line);margin:8px 0 30px;padding-top:16px}
.pnav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px 26px}
.pnav a{font-weight:700;text-decoration:none}
.foot{border-top:1px solid var(--line);padding:16px 0 26px;color:var(--muted);font-size:14.5px}
.src-h{font-weight:700;color:var(--ink);margin-bottom:4px}
.s-src{margin:0;padding-left:20px}

/* ---- topic entry ---- */
.entry{padding-top:26px;padding-bottom:30px}
.ehead{display:flex;gap:22px;align-items:flex-start;margin-bottom:22px}
.enum{font-size:86px;font-weight:700;line-height:.9;color:#5FB3C0;margin:0}
.ehead h1{font-size:36px;margin-bottom:8px}
.prog{color:var(--muted);margin-bottom:4px}
.block{color:#5FB3C0;font-weight:700;margin-bottom:4px}
.lever{color:#C9B8F2;font-weight:700;margin:0}
.egrid{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;margin-bottom:18px}
.hook{background:#FFF4D1;color:#3D3209;border-radius:18px;padding:20px 24px}
.hook h2{color:#7A5A0B;font-size:18px;margin-bottom:8px}
.hook p{font-size:21px;line-height:1.45}
.hook .hnote{font-size:16px;color:#7A5A0B;margin:12px 0 0}
.layers{display:flex;flex-direction:column;gap:12px}
.lbtn{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--bf);color:var(--bi);border-radius:16px;padding:16px 20px;font-weight:700;font-size:18px;text-decoration:none;min-height:64px}
.lbtn .tick::after{content:"→"}
.lbtn.is-done .tick::after{content:"✓ пройден"}
.lnote{margin:0 4px;color:var(--muted);font-size:15.5px}
.readl{color:var(--muted)}
.remember{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px 16px}
.cont{display:inline-block;margin:6px 0 14px;font-weight:700}
.more{display:flex;flex-wrap:wrap;gap:10px 24px;list-style:none;padding:0;margin:8px 0}
.score{color:var(--ok);font-size:15px}

/* ---- map ---- */
.map{padding-top:26px;padding-bottom:40px}
.map h1{font-size:38px;margin-bottom:6px}
.map>h2{margin-top:34px}
.startbox{background:var(--l1);color:var(--l1i);border-radius:18px;padding:18px 22px;margin:18px 0 10px}
.startbox h2{font-size:21px}
.startbox ul{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.startbox a{color:var(--l1i);font-weight:700;font-size:19px}
.s-blk{margin:14px 0 18px}
.s-blk h3{color:var(--muted);font-size:15px;text-transform:uppercase;letter-spacing:.05em}
.tgrid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.tcard{display:flex;flex-direction:column;gap:6px;height:100%;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:14px 16px;text-decoration:none;color:var(--ink)}
.tcard:hover{border-color:var(--accent)}
.tnum{font-weight:700;color:#5FB3C0}
.ttitle{font-weight:700;line-height:1.3;flex:1}
.tmeta{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.s-lt{font-style:normal;font-size:13px;padding:1px 8px;border-radius:999px;background:var(--paper2);color:var(--muted)}
.s-lt.is-done{background:#24402F;color:var(--ok)}
.map .pnl .no{visibility:hidden}   /* board numbering «3 / 6» of the start area means nothing here */
.howto{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px 22px;margin:0 auto 30px;max-width:var(--col)}
.howto ul{margin:0;padding-left:20px}.howto li{margin-bottom:6px}

/* ---- tour, glossary, test, 404 ---- */
.tour,.gloss,.tpage,.nf{padding-top:26px;padding-bottom:40px;max-width:900px}
.tlist{padding-left:0;list-style:none}.tlist li{padding:8px 0;border-bottom:1px solid var(--line)}
.tlist a{text-decoration:none;color:var(--ink)}
.jump{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 20px;position:sticky;top:0;background:var(--bg);padding:8px 0;z-index:5}
.jump a{padding:2px 10px;border-radius:8px;background:var(--paper2);text-decoration:none}
.gloss section{margin-bottom:26px;scroll-margin-top:52px}
.gloss h2 a{color:var(--ink);text-decoration:none}
.gloss dl{margin:0}.gt{padding:8px 0;border-bottom:1px solid var(--line);scroll-margin-top:52px}
.gt dt{font-weight:700}.gt dd{margin:2px 0 0;color:#C9D3DE}.gt .s-en{font-weight:400;color:var(--muted)}.gt .s-sym{font-weight:400;color:var(--gold)}
.tqs{padding-left:0;list-style:none}
.tq{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:14px}
.s-tl{font-size:13px;color:var(--muted);margin-bottom:4px}
.tqq{font-weight:700;font-size:18px}
.topt{position:relative;margin-top:8px}
.topt input{position:absolute;opacity:0}
.topt label{display:block;background:#FFFFFF;color:#2F3A4A;border:3px solid #DDE6DF;border-radius:12px;padding:8px 14px;cursor:pointer}
.topt input:focus-visible+label{outline:3px solid var(--gold)}
.topt input:checked+label{border-color:#C8665B;background:#FBE5E1}
.topt.ok input:checked+label{border-color:#4E9A6B;background:#E4F3E8}
.tfb{display:none;margin:4px 0 0;padding:0 14px;font-size:15.5px}
.topt input:checked~.tfb{display:block}
.topt.ok .tfb{color:var(--ok)}.topt.no .tfb{color:#F2A49A}
.result{font-weight:700;font-size:19px;color:var(--gold)}
.s-last{color:var(--muted)}

/* ---- narrower screens ---- */
@media (max-width:1099px){
  .toc-side{display:none}
  .toc-phone{display:block;position:sticky;top:0;z-index:20;background:var(--bg);margin:0 -16px 14px;padding:0 16px;border-bottom:1px solid var(--line)}
  .toc-phone summary{padding:10px 0;font-weight:700;cursor:pointer;list-style:none}
  .toc-phone summary::-webkit-details-marker{display:none}
  .toc-phone summary::after{content:" ▾";color:var(--muted)}
  .toc-now{color:var(--muted);font-weight:400;margin-left:6px}
  .toc-phone ol{max-height:60vh;overflow:auto;padding-bottom:10px}
  .layout{display:block}
}
@media (max-width:699px){
  body{font-size:16px}
  .pages{flex-wrap:wrap;overflow:visible}       /* the current page chip always visible */
  h1{font-size:25px}
  .band h1{font-size:22px}
  .egrid{grid-template-columns:1fr}
  .enum{font-size:56px}.ehead{gap:14px}.ehead h1{font-size:25px}
  .hook p{font-size:18px}
  .map h1{font-size:30px}
  .tgrid{grid-template-columns:1fr 1fr;gap:8px}
  .tcard{padding:10px 12px;font-size:15px}
  .s-card{margin-bottom:24px}
  .tools{font-size:13px}
}
/* phone on its side: a 16:9 card fits the screen height, so buttons and graph are seen together */
@media (orientation:landscape) and (max-height:500px){
  .s-card{max-width:calc((100vh - 40px) * 16 / 9)}
}
.js-only{display:none}.js .js-only{display:inline}
@media (max-width:699px) and (orientation:portrait){
  .s-card.wide .rot{display:block;margin:0 0 6px;font-size:13.5px;color:var(--muted)}
}

/* panels.BASE_CSS + THEME_CSS, scoped (scope.shared_css) */
.pnl *{box-sizing:border-box;margin:0;padding:0}
.pnl{font-family:'Noto Sans','DejaVu Sans',Arial,sans-serif;color:#2F3A4A;background:#FBFAF7;font-size:27px;line-height:1.4}
.pnl .panel{width:1280px;height:720px;border:3px solid #E3DED3;border-radius:28px;background:#FBFAF7;display:flex;flex-direction:column;padding:26px 40px 30px;gap:18px;position:relative}
.pnl .hd{display:flex;align-items:center;gap:14px;min-height:56px}
.pnl .no{font-size:22px;color:#8A94A3;font-variant-numeric:tabular-nums;min-width:62px}
.pnl .stars{font-size:22px;font-weight:700;padding:4px 12px;border-radius:999px}
.pnl .kind{font-size:22px;font-weight:700;padding:4px 14px;border-radius:999px;white-space:nowrap}
.pnl .ttl{font-size:36px;font-weight:700;line-height:1.15;color:#1F2833;flex:1}
.pnl .body{flex:1;min-height:0;display:flex;gap:30px}
.pnl .txt{font-size:27px;line-height:1.42;color:#2F3A4A}
.pnl .txt p+p{margin-top:12px}
.pnl .muted{color:#6B7480}
.pnl .cap{font-size:23px;color:#46505E;line-height:1.35}
.pnl .chip{display:inline-block;font-size:22px;padding:6px 14px;border-radius:12px;line-height:1.3}
.pnl .chip.lect{background:#EEF0F3;color:#46505E}
.pnl .chip.warn{background:#FBE5E1;color:#8F3B31}
.pnl .chip.link{background:#EDE7F7;color:#5E4A9C}
.pnl .chip.def{background:#E6EEF8;color:#2D5687}
.pnl .chip.ex{background:#FFF4D1;color:#7A5A0B}
.pnl .col{display:flex;flex-direction:column;gap:14px;min-width:0}
.pnl .svgbox svg{display:block;max-width:100%;height:auto}
.pnl b{font-weight:700}
.pnl input[type=radio]{position:absolute;opacity:0;pointer-events:none}
.pnl label{cursor:pointer}
.pnl{background:#FFFFFF}
.pnl .panel{background:#1F2833;border:3px solid #3A4757}
.pnl .ttl{color:#FFFFFF;font-size:38px}
.pnl .no{color:#A9B4C2}
.pnl .txt{color:#E8EDF3;font-size:28px}
.pnl .txt b{color:#FFE29A}
.pnl .cap,.pnl .intro,.pnl .rl,.pnl .rc,.pnl .kq{color:#C9D3DE!important}
.pnl .cap b{color:#FFE29A}
.pnl .hint{color:#C9D3DE!important}
.pnl .s{color:#E8EDF3}
.pnl .s b{color:#FFE29A}
.pnl .q{color:#FFFFFF!important}
.pnl .cs .t,.pnl .st3 .g,.pnl .brk>span:first-child{color:#E8EDF3!important}
.pnl .cs .t b{color:#FFE29A}
.pnl .op{color:#E8EDF3!important}
.pnl .sym[style*="2F3A4A"]{color:#E8EDF3!important}
.pnl .opt.ok .fb{color:#8FD6A8}
.pnl .opt.no .fb{color:#F2A49A}
.pnl .nm{color:#FFFFFF!important}
.pnl .fi .nm{color:#46505E!important}
.pnl .meta,.pnl .wk{color:#A9B4C2!important}
.pnl .row{color:#E8EDF3}
.pnl .row b{color:#F0C08F}
.pnl .ql,.pnl .al{color:#E8EDF3}
.pnl .st .tx{color:#E8EDF3}
.pnl .st .tx b{color:#BFD8F5}
.pnl svg{background:#FBFAF7;border-radius:18px}
/* Panel fixes on the site. Loaded after the shared panel CSS. Styling only — never text.
   Every rule names its reason; per-panel rules name the panel id. */

/* Quiz feedback: Checkpoint B's theme meant light feedback text on the dark panel (THEME_CSS
   .opt.ok/.opt.no .fb), but panels.quiz's own colours come later and win, leaving dark red/green on
   dark (also on the board). The theme's intent wins here (DECISIONS W-12). */
.s-card.quiz .pnl .opt.ok .fb{color:#8FD6A8}
.s-card.quiz .pnl .opt.no .fb{color:#F2A49A}

/* ---------------- flow mode (phone held upright; fit.js adds .reflow, virtual width 600 px) ----------------
   Generic rules first; they release the fixed 1280×720 box and stack side-by-side blocks. */
.reflow .pnl{width:600px!important;height:auto!important;overflow:visible!important}
.reflow .pnl .panel{width:auto!important;height:auto!important;min-height:0!important;padding:22px 22px 24px!important;gap:14px!important}
.reflow .pnl .hd{flex-wrap:wrap;row-gap:8px}
.reflow .pnl .hd .ttl{flex-basis:100%;font-size:34px!important}
.reflow .pnl .body{flex-direction:column!important;height:auto!important;flex:none!important}
.reflow .pnl .body>*{width:auto!important;max-width:100%!important;flex:none!important}
.reflow .pnl .col{width:auto!important;max-width:100%!important}
.reflow .pnl .panel *{max-width:100%}          /* nothing wider than its container (01-A2: .g flex 0 0 640px) */
.reflow .pnl .panel svg{height:auto}
.reflow .pnl svg{max-width:100%!important;height:auto!important}
.reflow .pnl img{max-width:100%!important;height:auto!important}
.reflow .pnl [style*="width:"]{max-width:100%!important}
.reflow .pnl [style*="grid-template-columns"]{grid-template-columns:1fr!important}
.reflow .pnl [style*="position:absolute"]{position:static!important}
.reflow .pnl table{width:100%!important;table-layout:fixed}
.reflow .pnl td,.reflow .pnl th{overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.reflow .pnl .hint{margin-top:6px!important}

/* quiz tabs: one line each */
.reflow .pnl .tabs{flex-wrap:wrap}
.reflow .pnl .tabs label{min-width:0!important;padding:0 14px!important;white-space:nowrap}
/* flip cards (Миф / Предскажи): stacked full width under the panel text */
.reflow .pnl .flip{position:relative!important;left:auto!important;top:auto!important;width:100%!important;height:330px!important;margin-top:4px}
.reflow .pnl .flip-x{font-size:25px}
.reflow .pnl .flip-tap{font-size:20px}           /* «Нажми, чтобы перевернуть» ≥ 11 px on a phone (found in 04-16) */
/* ★ animation panels: the GIF goes full width under the text; its static first frame (.svgbox) hides */
.reflow.anim .pnl .body .svgbox{display:none!important}
.reflow .pnl .ov-gif{position:static!important;width:100%!important;height:auto!important;margin-top:4px}

/* ---------------- per-panel flow fixes (selector .reflow .pnl.p-NN-XX) ---------------- */
/* 01-23: 5-icon rows with a 205 px label column; labels and captions span the row, thermometer lies flat */
.reflow .pnl.p-01-23 .tw{flex-direction:column}
.reflow .pnl.p-01-23 .th{width:auto;flex-direction:row;padding:6px 16px;gap:10px;justify-content:flex-start}
.reflow .pnl.p-01-23 .th span[style]{writing-mode:horizontal-tb!important;transform:none!important}
.reflow .pnl.p-01-23 .fr{grid-template-columns:repeat(5,1fr)!important}
.reflow .pnl.p-01-23 .fr .lv,.reflow .pnl.p-01-23 .fr .rc{grid-column:1 / -1}

/* ---------------- per-builder flow fixes ---------------- */
/* economist (panels.economist): year card on top, text full width below */
.reflow .pnl .ec{grid-template-columns:1fr!important;gap:16px!important}
.reflow .pnl .ec .yr{padding:16px 12px}
.reflow .pnl .ec .y{font-size:72px}
/* formula panels (fit.js formula): labels move to a legend under the symbol row */
.pnl .flow-legend{display:none}
.reflow .pnl .flow-legend{display:block;list-style:none;margin:0;padding:12px 18px;background:#2C3846;border-radius:16px;font-size:25px;line-height:1.4;color:#E8EDF3}
.reflow .pnl .flow-legend li+li{margin-top:6px}
.reflow .pnl .frm.legend-on .lab,.reflow .pnl .frm.legend-on .stem{display:none}

/* ---------------- topic 02 ---------------- */
/* 02-34, 02-35, 02-38: 3–4 column comparison tables squeezed to ~11 characters per cell (words broken
   mid-word). Tighter cell padding, 20 px text (≈ 12 px on a phone), narrower label column. */
.reflow .pnl.p-02-34 table,.reflow .pnl.p-02-35 table,.reflow .pnl.p-02-38 table{font-size:20px}
.reflow .pnl.p-02-34 th,.reflow .pnl.p-02-34 td,.reflow .pnl.p-02-35 th,.reflow .pnl.p-02-35 td,.reflow .pnl.p-02-38 th,.reflow .pnl.p-02-38 td{padding:7px 7px!important}
.reflow .pnl.p-02-34 col:first-child{width:14%!important}
.reflow .pnl.p-02-35 col:first-child{width:18%!important}
.reflow .pnl.p-02-38 td.m{width:84px;font-size:24px}
/* 02-212: «→ m ↓» chips must not wrap into a narrow column */
.reflow .pnl.p-02-212 .wi div>span:last-child,.reflow .pnl.p-02-212 .wi .ar{flex:none!important;white-space:nowrap}
/* 02-23, 02-27: the picture carries the content (four bank functions; reserve bars) but at column width its
   labels fall to ≈ 6 px; the picture keeps a readable width (≈ 10 px labels) and scrolls sideways inside the card */
.reflow .pnl.p-02-23 .svgbox,.reflow .pnl.p-02-27 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-02-23 .svgbox svg,.reflow .pnl.p-02-27 .svgbox svg{min-width:800px;max-width:none!important}
/* 02-36 (all screens): the right column (text + source chip) is taller than the 720 px panel, so it spills over the
   title and the source chip is cut off — also in the Miro panel. Narrower chart, smaller text, column from the top. */
.s-card .pnl.p-02-36 .svgbox{flex:0 0 560px!important}
.s-card .pnl.p-02-36 .col{justify-content:flex-start!important;gap:12px!important}
.s-card .pnl.p-02-36 .txt{font-size:24px!important;line-height:1.38}
.s-card .pnl.p-02-36 .chip{font-size:20px}
/* 02-38 (laptop): «↑ или ↓» wraps into three lines, the table grows and the chat chip touches the panel edge */
.s-card:not(.reflow) .pnl.p-02-38 td.m{width:150px;white-space:nowrap}

/* 02-S2 (S4 sweep): the bank-deposits picture (660 × 560, centred at max-height 360 px ≈ 245 px wide on a phone, labels ≈ 7–8 px) bleeds into the card padding to 600 px; its 19 px labels get 21 px */
.reflow .pnl.p-02-S2 .pic{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-02-S2 .pic svg{width:100%!important;max-width:none!important;max-height:none!important;height:auto!important}
.reflow .pnl.p-02-S2 svg text[font-size="19"]{font-size:21px}

/* ---------------- topic 03 ---------------- */
/* 03-21: passport rows had a 250 px label column beside a 1fr value (left ~100 px: one word per line, icon on top).
   Icon left, label above value on the right. */
.reflow .pnl.p-03-21 .ps{padding:16px 16px}
.reflow .pnl.p-03-21 .ps .f{grid-template-columns:52px 1fr!important;column-gap:10px;row-gap:2px}
.reflow .pnl.p-03-21 .ps .i{grid-row:1 / span 2;font-size:34px}
.reflow .pnl.p-03-21 .ps .k,.reflow .pnl.p-03-21 .ps .v{grid-column:2}
/* 03-22, 03-36, 03-S2: the picture carries the content (goal ladder, break points, three graphs) but at column width its
   labels fall to ≈ 6 px; it keeps a readable width (≈ 10 px labels: 880 / 840 / 1196 px) and scrolls sideways inside the card */
.reflow .pnl.p-03-22 .svgbox,.reflow .pnl.p-03-36 .svgbox,.reflow .pnl.p-03-S2 .pic{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-03-22 .svgbox svg{width:930px!important;max-width:none!important}
.reflow .pnl.p-03-36 .svgbox svg{width:840px!important;max-width:none!important}
.reflow .pnl.p-03-S2 .pic>svg{width:1196px!important;max-width:none!important}
/* 03-23: the two mini graphs (420 px viewBox) forced the grid wider than the card (table cut off, flowcheck overflow);
   stacked one under the other they get full width and readable labels */
.reflow .pnl.p-03-23 .two{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-03-23 table{font-size:20px}
.reflow .pnl.p-03-23 th,.reflow .pnl.p-03-23 td{padding:6px 8px!important}
.reflow .pnl.p-03-23 col:first-child{width:20%!important}
/* 03-29: 5-column summary table — squeezed to fit it fell to ≈ 9,6 px on a phone (main session, 2026-11-29: too small).
   Instead the table keeps readable text (≈ 12–13 px) and scrolls sideways inside the card. */
.reflow .pnl.p-03-29 table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;font-size:21px;table-layout:auto}
.reflow .pnl.p-03-29 th,.reflow .pnl.p-03-29 td{min-width:150px;padding:8px 10px!important;-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-03-29 th:first-child,.reflow .pnl.p-03-29 td:first-child{min-width:140px}
/* 03-33: first column (Обещание/Плюс/Минус/Пример) and headers broken mid-word. Table 14 px wider on each side
   (into the card padding), smaller text, column widths by longest word */
.reflow .pnl.p-03-33 table{font-size:18px;width:calc(100% + 28px)!important;max-width:none!important;margin:0 -14px 6px;max-height:none!important}
.reflow .pnl.p-03-33 th,.reflow .pnl.p-03-33 td{padding:6px 5px!important}
.reflow .pnl.p-03-33 col:nth-child(1){width:19%!important}
.reflow .pnl.p-03-33 col:nth-child(n+2){width:27%!important}
.reflow .pnl.p-03-33 th{font-size:17px;-webkit-hyphens:manual;hyphens:manual}

/* S4 sweep (SVG labels ≥ 10,5 px): 03-22 and 03-36 scroll boxes a little wider (labels 21–23 px in the picture were ≈ 9,4–9,9 px) */
.reflow .pnl.p-03-22 .svgbox svg{width:1060px!important}
.reflow .pnl.p-03-36 .svgbox svg{width:975px!important}
/* 03-S2: the tick labels (16 px in the picture, ≈ 9 px) get 18,6 px inside the same scroll box */
.reflow .pnl.p-03-S2 svg text[font-size="16"]{font-size:18.6px}
/* 03-15, 03-A3: pictures of 600–700 px bleed into the card padding (22 px each side) to 600 px (as 06-12); their small labels (18–21 px in the picture) get CSS sizes of 19,2–21,6 px (no text changes) */
.reflow .pnl.p-03-15 .svgbox,.reflow .pnl.p-03-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-03-15 .svgbox svg,.reflow .pnl.p-03-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
.reflow .pnl.p-03-15 svg text[font-size="18"],.reflow .pnl.p-03-15 svg text[font-size="20"],.reflow .pnl.p-03-15 svg text[font-size="21"]{font-size:21.6px}
.reflow .pnl.p-03-A3 svg text[font-size="18"]{font-size:19.2px}
/* 03-32: three small graphs side by side (≈ 100 px each, axis titles ≈ 5,7 px); one per row at 340 px */
.reflow .pnl.p-03-32 .sh{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-03-32 .sh svg{width:340px!important;max-width:100%!important}
/* 03-34: the four mini pictures (230 px viewBox) sat left of the text at 200 px (≈ 115 px, labels ≈ 8 px); picture on top of the text at 270 px */
.reflow .pnl.p-03-34 .q4{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important}
.reflow .pnl.p-03-34 .qc{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-03-34 .qc svg{grid-row:auto!important;justify-self:center;width:270px!important;max-width:100%!important}
/* 03-35: the graph (420 × 420) beside the task text sat at ≈ 242 px (ticks ≈ 9 px); column width */
.reflow .pnl.p-03-35 .ts{flex-direction:column!important}
.reflow .pnl.p-03-35 .ts>.svgbox{flex:none!important;width:100%!important}
.reflow .pnl.p-03-35 .ts>.svgbox svg{width:100%!important;max-width:100%!important}

/* ---------------- topic 04 ---------------- */
/* 04-14: the shower / lag picture (1196 × 292) at column width has ≈ 5 px labels; it keeps a readable width
   (≈ 12 px labels) and scrolls sideways inside the card (shower on the left, the three time chips on the right) */
.reflow .pnl.p-04-14 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-04-14 .svgbox svg{width:1100px!important;max-width:none!important}
/* 04-36: four-column table (кейнсианцы / монетаристы / новая классическая школа) squeezed to ≈ 8 characters per cell
   (words broken mid-word). Readable text (≈ 12 px), columns wide enough for whole words; scrolls sideways (as 03-29) */
.reflow .pnl.p-04-36 table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;table-layout:auto}
.reflow .pnl.p-04-36 th,.reflow .pnl.p-04-36 td{min-width:175px;padding:7px 9px!important;-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-04-36 th:first-child,.reflow .pnl.p-04-36 td:first-child{min-width:125px}
/* 04-38: three-column table fits the column, but automatic hyphenation breaks «работ-ники», «пла-ва-ющей»;
   whole words, narrower «Итог» column gives the text column the space */
.reflow .pnl.p-04-38 th,.reflow .pnl.p-04-38 td{-webkit-hyphens:manual;hyphens:manual;padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-04-38 td.m{width:84px}
/* 04-37: the «ЦБ не всесилен» badge is centred over the 2 × 2 grid by a class rule (position:absolute + translate);
   the generic flow rules only catch inline styles, so it floated over item 2. Four items stacked, badge after them. */
.reflow .pnl.p-04-37 .lm{display:flex!important;flex-direction:column;gap:14px}
.reflow .pnl.p-04-37 .ctr{position:static!important;transform:none!important;align-self:center;margin-top:2px}

/* ---------------- readability floor (≥ 11 px on a phone) — older topics, main session 2026-11-29 ---------------- */
/* 00-11: English glosses (18 px → ≈ 10,4 px) */
.reflow .pnl.p-00-11 .lc .r i{font-size:20px}
/* 01-23: icon labels under the function icons (18 px → ≈ 10,4 px) */
.reflow .pnl.p-01-23 .fi .nm{font-size:20px}
.reflow .pnl.p-01-23 .fr{gap:5px!important}.reflow .pnl.p-01-23 .fi{padding:6px 1px!important}
/* 03-33: the squeezed 3-column table fell to ≈ 9,8 px → readable text in a sideways-scroll table (like 03-29) */
.reflow .pnl.p-03-33 table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;margin:0!important;font-size:21px!important;table-layout:auto}
.reflow .pnl.p-03-33 th,.reflow .pnl.p-03-33 td{min-width:170px;padding:8px 10px!important;font-size:21px!important}
.reflow .pnl.p-03-33 th:first-child,.reflow .pnl.p-03-33 td:first-child{min-width:140px}

/* S4 sweep (SVG labels ≥ 10,5 px): 04-11, 04-21, 04-24 — pictures of 620–640 px bleed into the card padding to 600 px (as 06-12); 04-24's tick labels (18 px in the picture) get 19,2 px */
.reflow .pnl.p-04-11 .svgbox,.reflow .pnl.p-04-21 .svgbox,.reflow .pnl.p-04-24 .svgbox{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-04-11 .svgbox svg,.reflow .pnl.p-04-21 .svgbox svg,.reflow .pnl.p-04-24 .svgbox svg{width:100%!important;max-width:none!important;max-height:none!important}
.reflow .pnl.p-04-24 svg text[font-size="18"]{font-size:19.2px}

/* ---------------- topic 05 ---------------- */
/* 05-15: the three-part picture (two small graphs + construction sketch, 660 × 506) is shrunk by max-width to
   ≈ 10 px labels; it keeps its natural width (≈ 11,5 px labels) and scrolls sideways inside the card */
.reflow .pnl.p-05-15 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-05-15 .svgbox>svg{width:660px!important;max-width:none!important}
/* 05-21: the passport graph sat in a 300 px column (≈ 180 px on screen, axis labels ≈ 7 px); wider, centred */
.reflow .pnl.p-05-21 .pl{flex:none!important;width:100%}
.reflow .pnl.p-05-21 .pl svg{width:440px!important;max-width:100%;height:auto}
/* 05-28: first column («Вправо», «Влево», «Чей рычаг») was broken mid-word and the headers hyphenated.
   Whole words, slightly smaller text, wider first column; the small graph under the table fills the column */
.reflow .pnl.p-05-28 table{font-size:22px}
.reflow .pnl.p-05-28 th,.reflow .pnl.p-05-28 td{-webkit-hyphens:manual;hyphens:manual;padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-05-28 col:nth-child(1){width:23%!important}
.reflow .pnl.p-05-28 col:nth-child(2){width:45%!important}
.reflow .pnl.p-05-28 col:nth-child(3){width:32%!important}
.reflow .pnl.p-05-28 svg{width:100%!important;height:auto}
/* 05-35: the graph badge is centred over the 2 × 2 grid by a class rule (position:absolute + translate); the generic
   flow rules only catch inline styles, so it covered items 2 and 3. Four items stacked, badge after them (as 04-37) */
.reflow .pnl.p-05-35 .lm{display:flex!important;flex-direction:column;gap:14px}
.reflow .pnl.p-05-35 .ctr{position:static!important;transform:none!important;align-self:center;margin-top:2px}
/* 05-37: automatic hyphenation breaks «го-сударства», «ра-бочие», «пла-ва-ющей»; whole words, narrower «Итог» column (as 04-38) */
.reflow .pnl.p-05-37 th,.reflow .pnl.p-05-37 td{-webkit-hyphens:manual;hyphens:manual;padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-05-37 td.m{width:84px}

/* S4 sweep (SVG labels ≥ 10,5 px) */
/* 05-11, 05-A3: pictures of 600 px bleed into the card padding to 600 px (as 06-12); 05-A3's labels (18 px in the picture) get 19 px */
.reflow .pnl.p-05-11 .svgbox,.reflow .pnl.p-05-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-05-11 .svgbox svg,.reflow .pnl.p-05-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* 05-S3: the graph (560 × 620, ≈ 190 px on a phone, labels ≈ 6 px) bleeds into the card padding to 600 px; the note under it keeps the card padding */
.reflow .pnl.p-05-S3 .adp{flex:none!important;width:100%!important}
.reflow .pnl.p-05-S3 .adp>svg{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px;height:auto!important}
.reflow .pnl.p-05-A3 svg text[font-size="18"]{font-size:19px}
/* 05-28: the little graph under the table (axis titles Y, r, IS, LM 18 px ≈ 10,4 px) → 19 px */
.reflow .pnl.p-05-28 svg text[font-size="18"]{font-size:19px}
/* 05-34: two graphs side by side (≈ 230 px each on a phone, labels ≈ 9 px); one per row */
.reflow .pnl.p-05-34 .kc{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-05-34 .vc svg{width:100%!important;max-width:100%!important}
/* 05-35: the graph in the middle of the 2 × 2 grid (280 × 230, ≈ 160 px on a phone) at 330 px */
.reflow .pnl.p-05-35 .ctr svg{width:330px!important;max-width:100%!important}

/* ---------------- topic 06 ---------------- */
/* 06-24, 06-26: the graph sits in a 400 px column that the row wrap leaves at ≈ 240 px on a phone (axis labels ≈ 9 px).
   Column stacked, graph full width (labels ≈ 13 px) */
.reflow .pnl.p-06-24 .two,.reflow .pnl.p-06-26 .two{flex-direction:column!important}
.reflow .pnl.p-06-24 .two .r,.reflow .pnl.p-06-26 .two .r{flex:none!important;width:100%!important}
.reflow .pnl.p-06-24 .two .r svg,.reflow .pnl.p-06-26 .two .r svg{width:100%!important}
/* 06-12, 06-13, 06-14, 06-211, 06-S3, 06-A3: pictures of 600–620 px width fall to ≈ 10 px labels at column width (556 px);
   they bleed into the card padding (22 px each side) and reach 600 px: labels ≈ 10,8–11,6 px (as 03-33 once did) */
.reflow .pnl.p-06-12 .svgbox,.reflow .pnl.p-06-13 .svgbox,.reflow .pnl.p-06-14 .svgbox,.reflow .pnl.p-06-211 .two .l,.reflow .pnl.p-06-S3 .adp,.reflow .pnl.p-06-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-06-12 .svgbox svg,.reflow .pnl.p-06-13 .svgbox svg,.reflow .pnl.p-06-14 .svgbox svg,.reflow .pnl.p-06-211 .two .l svg,.reflow .pnl.p-06-S3 .adp svg,.reflow .pnl.p-06-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* 06-11: «до / после» pair of graphs (760 × 380) has ≈ 8 px labels at column width; it keeps its natural width
   (≈ 11,4 px labels) and scrolls sideways inside the card (as 04-14) */
.reflow .pnl.p-06-11 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-06-11 .svgbox>svg{width:760px!important;max-width:none!important}
/* 06-S2: the cheat sheet (six formulas, 1196 × 450) has ≈ 6 px text at column width; ≈ 11,6 px at 1060 px, sideways-scroll box (as 03-S2) */
.reflow .pnl.p-06-S2 .pic{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-06-S2 .pic>svg{width:1060px!important;max-width:none!important}
/* 06-25, 06-31: big IS formulas with fractions — squeezed into the column, the denominators wrapped («1 −» / «b») and
   the bracket came loose. 06-25: one line, smaller type; 06-31 (two long fractions): two lines, «Y = …» and «− … · r» (grid, the minus under Y) */
.reflow .pnl.p-06-25 .big{font-size:32px;white-space:nowrap;gap:6px;padding:12px 6px}
.reflow .pnl.p-06-25 .big .blk{flex:none}
.reflow .pnl.p-06-31 .big{display:grid;grid-template-columns:auto auto auto;justify-content:center;align-items:center;gap:8px 8px;white-space:nowrap}
.reflow .pnl.p-06-31 .big .bB{grid-column:2 / 4}
/* 06-35: «Чувствительность» in the first column was broken mid-word; first column wide enough for whole words, 20 px text */
.reflow .pnl.p-06-35 table{font-size:20px}
.reflow .pnl.p-06-35 th,.reflow .pnl.p-06-35 td{padding:8px 7px!important}
.reflow .pnl.p-06-35 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-06-35 col:nth-child(1){width:37%!important}
.reflow .pnl.p-06-35 col:nth-child(n+2){width:31.5%!important}
/* 06-37: hyphenation «госзаку-пок», «объё-ме» → whole words (as 04-38) */
.reflow .pnl.p-06-37 th,.reflow .pnl.p-06-37 td{-webkit-hyphens:manual;hyphens:manual;padding-left:9px!important;padding-right:9px!important}
/* 06-212: first column («Кривая») was broken «Кри-вая»; four 68 px thumbnails (≈ 4 px labels) → 2 × 2, twice as large */
.reflow .pnl.p-06-212 th,.reflow .pnl.p-06-212 td{-webkit-hyphens:manual;hyphens:manual;padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-06-212 col:nth-child(1){width:22%!important}
.reflow .pnl.p-06-212 col:nth-child(2){width:48%!important}
.reflow .pnl.p-06-212 col:nth-child(3){width:30%!important}
.reflow .pnl.p-06-212 .body>div[style*="space-between"]{flex-wrap:wrap!important;gap:10px 8px!important}
.reflow .pnl.p-06-212 .body>div[style*="space-between"]>div{flex:0 0 calc(50% - 4px)!important}
.reflow .pnl.p-06-212 .body>div[style*="space-between"] svg{width:100%!important}

/* S4 sweep (SVG labels ≥ 10,5 px) */
/* 06-28: the graph sits in a 440 px column beside the text (≈ 254 px on a phone, ticks ≈ 9 px) — stacked, full width (as 06-24) */
.reflow .pnl.p-06-28 .two{flex-direction:column!important}
.reflow .pnl.p-06-28 .two .r{flex:none!important;width:100%!important}
.reflow .pnl.p-06-28 .two .r svg{width:100%!important}
/* 06-211, 06-S3, 06-A3, 06-212: the labels (18 px in the picture) were ≈ 10,3–10,4 px even after the bleed → 19 px */
.reflow .pnl.p-06-211 svg text[font-size="18"],.reflow .pnl.p-06-S3 svg text[font-size="18"],.reflow .pnl.p-06-A3 svg text[font-size="18"],.reflow .pnl.p-06-212 svg text[font-size="18"]{font-size:19px}

/* ---------------- topic 07 ---------------- */
/* 07-S1, 07-A1, 07-A2: subscripts (Y<sub>реал</sub>, g<sub>роста</sub>) and the superscript «1−α» in 07-S1 fall to ≈ 10,1–10,6 px on a phone (readability floor 11 px);
   a slightly larger subscript in the same row (the browser's default «smaller» is ≈ 0,83 em) */
.reflow .pnl.p-07-S1 sup,.reflow .pnl.p-07-S1 sub,.reflow .pnl.p-07-A1 sub,.reflow .pnl.p-07-A2 sub{font-size:19.5px}
/* 07-12, 07-14, 07-28, 07-210, 07-A3: pictures of 600–620 px width fall to ≈ 10 px labels at column width (556 px);
   they bleed into the card padding (22 px each side) and reach 600 px: labels ≈ 10,4–11,6 px (as 06-12 …) */
.reflow .pnl.p-07-12 .svgbox,.reflow .pnl.p-07-14 .svgbox,.reflow .pnl.p-07-28 .svgbox,.reflow .pnl.p-07-210 .svgbox,.reflow .pnl.p-07-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-07-12 .svgbox svg,.reflow .pnl.p-07-14 .svgbox svg,.reflow .pnl.p-07-28 .svgbox svg,.reflow .pnl.p-07-210 .svgbox svg,.reflow .pnl.p-07-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* 07-21: the growth-vs-cycle graph (1196 × 300) has ≈ 5 px labels at column width; it keeps its natural width
   (≈ 11 px labels) and scrolls sideways inside the card (as 03-S2) */
.reflow .pnl.p-07-21 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-07-21 .svgbox>svg{width:1196px!important;max-width:none!important}
/* 07-34: the contribution bar (1150 × 150) has ≈ 6 px labels at column width; ≈ 10,5 px at 950 px, sideways-scroll box */
.reflow .pnl.p-07-34 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-07-34 .svgbox>svg{width:950px!important;max-width:none!important}
/* 07-22: 3-column table, hyphenation «преобразова-ния», «экономи-ке», «Как заме-тить»; whole words in the first column,
   wider first column, tighter padding */
.reflow .pnl.p-07-22 th,.reflow .pnl.p-07-22 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-07-22 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-07-22 th:nth-child(1){width:27%}
.reflow .pnl.p-07-22 th:nth-child(2),.reflow .pnl.p-07-22 th:nth-child(3){width:36.5%}
/* 07-211: first column (18 % ≈ 100 px) broke «Источ-ники», «Особен-ность», «Пример:»; wider first column, whole words, 20 px text */
.reflow .pnl.p-07-211 table{font-size:20px}
.reflow .pnl.p-07-211 th,.reflow .pnl.p-07-211 td{padding:7px 8px!important}
.reflow .pnl.p-07-211 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-07-211 col:nth-child(1){width:29%!important}
.reflow .pnl.p-07-211 col:nth-child(n+2){width:35.5%!important}
/* 07-38: «пред-приятий», «навы-ками», «Что происхо-дит»; whole words, wider first column, narrower «Итог» column */
.reflow .pnl.p-07-38 th,.reflow .pnl.p-07-38 td{-webkit-hyphens:manual;hyphens:manual;padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-07-38 th:nth-child(1){width:38%}
.reflow .pnl.p-07-38 td.m{width:96px}

/* S4 sweep (SVG labels ≥ 10,5 px) */
/* 07-15: two pictures side by side (500 × 190, ≈ 132 px each on a phone, labels ≈ 5 px); one per row */
.reflow .pnl.p-07-15 .tw{grid-template-columns:minmax(0,1fr)!important}
/* 07-25, 07-210: the label (18 px in the picture) was ≈ 10,4 px → 19 px */
.reflow .pnl.p-07-25 svg text[font-size="18"],.reflow .pnl.p-07-210 svg text[font-size="18"]{font-size:19px}
/* 07-34: the scroll box a little wider (22 px labels ≈ 10,5 px at 950 px) */
.reflow .pnl.p-07-34 .svgbox>svg{width:990px!important}
/* 07-S3: the graph sat in a 380 px column (≈ 219 px on a phone, labels ≈ 8 px); bleeds into the card padding to 600 px; the note under it keeps the card padding */
.reflow .pnl.p-07-S3 .adp{flex:none!important;width:100%!important}
.reflow .pnl.p-07-S3 .adp>svg{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px;height:auto!important}

/* ---------------- topic 08 ---------------- */
/* 08-22: formula rows had a 330 px formula column beside a 1fr text column (≈ 100 px of text on a phone: 3–4 words per line).
   Formula on top, its caption full width below */
.reflow .pnl.p-08-22 .r3{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
.reflow .pnl.p-08-22 .r3 .fl{justify-self:center}
/* 08-23: the three legend boxes («v — капиталоёмкость …», «s», «g») were 3 narrow columns (one word per line), «Вывод по шагам» and «Числа» two
   narrow columns; each stacked */
.reflow .pnl.p-08-23 .lg3,.reflow .pnl.p-08-23 .two{grid-template-columns:minmax(0,1fr)!important}
/* 08-31: formula + explanation beside the growth-rate table; the table (≈ 150 px) broke «Величин-а», «эф-фектив-ного» → two stacked columns; the table's first column wide enough for whole words */
.reflow .pnl.p-08-31 .l31{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-08-31 th:nth-child(1){width:68%}
.reflow .pnl.p-08-31 td:first-child{-webkit-hyphens:manual;hyphens:manual}
/* 08-38: four-column «three approaches» table squeezed to ≈ 8 characters per cell (words broken mid-word: «Неокейнси-анские», «Клю-чевой ак-цент»).
   Readable text (≈ 12 px), columns wide enough for whole words; scrolls sideways (as 04-36) */
.reflow .pnl.p-08-38 table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;table-layout:auto}
.reflow .pnl.p-08-38 th,.reflow .pnl.p-08-38 td{min-width:175px;padding:7px 9px!important;-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-08-38 th:first-child,.reflow .pnl.p-08-38 td:first-child{min-width:135px}
/* 08-310: first and «Итог» column broke words mid-word («по-требительских», «вре-менем»); whole words there, narrower «Итог» column (as 04-38); the long middle column keeps hyphenation (whole words would not fit the column) */
.reflow .pnl.p-08-310 th,.reflow .pnl.p-08-310 td{padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-08-310 td:nth-child(1),.reflow .pnl.p-08-310 td:nth-child(3){-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-08-310 th:nth-child(3),.reflow .pnl.p-08-310 td.m{width:125px}
/* 08-33, 08-211, 08-39: the graph (420–460 px viewBox) kept its natural width (≈ 250 px on a phone, axis ticks ≈ 9 px) beside empty space; full column width → ticks ≈ 11–12 px */
.reflow .pnl.p-08-211 .l10,.reflow .pnl.p-08-33 .l32,.reflow .pnl.p-08-39 .l38{flex-direction:column!important;flex-wrap:nowrap!important}
.reflow .pnl.p-08-211 .l10>*,.reflow .pnl.p-08-33 .l32>*,.reflow .pnl.p-08-39 .l38>*{flex:none!important;width:100%!important}
.reflow .pnl.p-08-33 .svgbox svg,.reflow .pnl.p-08-211 .svgbox svg,.reflow .pnl.p-08-39 .svgbox svg{width:100%!important}
/* 08-12, 08-28, 08-34, 08-S2, 08-A3: pictures of 560–640 px width fall to ≈ 10 px labels (axis ticks ≈ 8–9 px) at column width (556 px);
   they bleed into the card padding (22 px each side) to 600 px (as 06-12, 07-12) … */
.reflow .pnl.p-08-12 .svgbox,.reflow .pnl.p-08-28 .svgbox,.reflow .pnl.p-08-34 .svgbox,.reflow .pnl.p-08-S2 .svgbox,.reflow .pnl.p-08-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-08-12 .svgbox svg,.reflow .pnl.p-08-28 .svgbox svg,.reflow .pnl.p-08-34 .svgbox svg,.reflow .pnl.p-08-S2 .svgbox svg,.reflow .pnl.p-08-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* … and the smallest SVG labels (axis ticks 16–17 px in the picture) get CSS font sizes a little larger (the font-size attribute is overridden by CSS; no text changes) */
.reflow .pnl.p-08-34 svg text[font-size="16"],.reflow .pnl.p-08-S2 svg text[font-size="16"]{font-size:20px}
.reflow .pnl.p-08-A3 svg text[font-size="16"]{font-size:19px}
.reflow .pnl.p-08-28 svg text[font-size="17"]{font-size:18px}
.reflow .pnl.p-08-12 svg text[font-size="19"]{font-size:20px}
/* 08-25, 08-27, 08-S3: strips of 1180–1196 px (three gauges; «много станков / мало людей» scale; growth curve) have 5–7 px labels at column width;
   they keep a readable width (labels ≈ 10,6–11 px) and scroll sideways inside the card (as 03-S2, 07-21) */
.reflow .pnl.p-08-25 .svgbox,.reflow .pnl.p-08-27 .svgbox,.reflow .pnl.p-08-S3 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-08-25 .svgbox>svg{width:920px!important;max-width:none!important}
.reflow .pnl.p-08-27 .svgbox>svg{width:1000px!important;max-width:none!important}
.reflow .pnl.p-08-S3 .svgbox>svg{width:1080px!important;max-width:none!important}

/* ---------------- topic 09 ---------------- */
/* 09-21: the hub is a 3-column class-rule grid (card · circle · card), so the right-hand cards ran off the card (flowcheck overflow).
   One column: the circle «Почему страны торгуют» first, then the four reasons */
.reflow .pnl.p-09-21 .hub{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important}
.reflow .pnl.p-09-21 .hub .ct{grid-column:1!important;grid-row:auto!important;order:-1;width:200px;height:200px}
/* 09-24, 09-27: two columns of a class-rule grid (table | definitions; steps | warning) were left ≈ 150–240 px wide on a phone
   («Стра/на/А», «Пшени/ца, т»); stacked */
.reflow .pnl.p-09-24 .l24,.reflow .pnl.p-09-27 .l27{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-09-24 th,.reflow .pnl.p-09-24 td{padding-left:10px!important;padding-right:10px!important}
.reflow .pnl.p-09-24 th:nth-child(1){width:44%}
.reflow .pnl.p-09-24 th:nth-child(n+2){width:28%}
/* 09-27: the formula «альтернативные издержки 1 т товара X = (сколько можно сделать Y) / (… X)» had a ≈ 150 px fraction: three lines per cell; label above, fraction on one line per cell below */
.reflow .pnl.p-09-27 .ff{flex-direction:column;align-items:center;gap:6px;text-align:center}
.reflow .pnl.p-09-27 .ff .fr .nu,.reflow .pnl.p-09-27 .ff .fr .de{white-space:nowrap}
/* 09-23: 3-column table at 27 px: «Меркантил/изм», «mercantili/sm», hyphenated words. 22 px text, whole words everywhere */
.reflow .pnl.p-09-23 table.t,.reflow .pnl.p-09-23 table.t th{font-size:22px}
.reflow .pnl.p-09-23 th,.reflow .pnl.p-09-23 td{padding:8px 8px!important}
.reflow .pnl.p-09-23 th,.reflow .pnl.p-09-23 td{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-09-23 th:nth-child(1){width:28%}
.reflow .pnl.p-09-23 th:nth-child(2),.reflow .pnl.p-09-23 th:nth-child(3){width:36%}
/* 09-33: four-column table broke «Внед/рени/е», «Конкур/енция» (18 % first column ≈ 100 px); 20 px text, columns sized to whole words in the header and first column */
.reflow .pnl.p-09-33 table{font-size:20px}
.reflow .pnl.p-09-33 th,.reflow .pnl.p-09-33 td{padding:7px 5px!important}
.reflow .pnl.p-09-33 th,.reflow .pnl.p-09-33 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-09-33 col:nth-child(1){width:24%!important}
.reflow .pnl.p-09-33 col:nth-child(2){width:29%!important}
.reflow .pnl.p-09-33 col:nth-child(3){width:19%!important}
.reflow .pnl.p-09-33 col:nth-child(4){width:28%!important}
/* 09-39, 09-S2: «Жизненн/ый цикл (Вернон)» (26 % first column) — wider first column, whole words there */
.reflow .pnl.p-09-39 th,.reflow .pnl.p-09-39 td,.reflow .pnl.p-09-S2 th,.reflow .pnl.p-09-S2 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-09-39 td:first-child,.reflow .pnl.p-09-S2 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-09-39 col:nth-child(1),.reflow .pnl.p-09-S2 col:nth-child(1){width:31%!important}
.reflow .pnl.p-09-39 col:nth-child(2),.reflow .pnl.p-09-S2 col:nth-child(2){width:31%!important}
.reflow .pnl.p-09-39 col:nth-child(3),.reflow .pnl.p-09-S2 col:nth-child(3){width:38%!important}
/* 09-37: «Владельцы ка-питала», «квалифи-кации» in the first column; whole words there, narrower «Итог» column (as 04-38) */
.reflow .pnl.p-09-37 th,.reflow .pnl.p-09-37 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-09-37 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-09-37 th:nth-child(1){width:33%}
.reflow .pnl.p-09-37 td.m{width:84px}
/* 09-34: two thumbnails side by side (470 px viewBox, ≈ 150 px wide on a phone, labels ≈ 7 px) and the four chips in two ≈ 150 px columns;
   thumbnails one under the other at 430 px (labels ≈ 11 px), chips one column */
.reflow .pnl.p-09-34 .l33{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-09-34 .chs{grid-template-columns:minmax(0,1fr)!important}
/* 09-35: two cards side by side (≈ 160 px text columns, Venn picture with 6–7 px labels); stacked, pictures wider */
.reflow .pnl.p-09-35 .two{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-09-35 .cd svg{width:100%!important;max-width:460px}
/* 09-31, 09-36: strips (1196 × 130 «Германия ⇄ Франция»; 1196 × 390 Porter's diamond) have 5–6 px labels at column width;
   they keep a readable width (labels ≈ 10,6–10,8 px) and scroll sideways inside the card (as 08-25, 07-21) */
.reflow .pnl.p-09-31 .svgbox,.reflow .pnl.p-09-36 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-09-31 .svgbox>svg{width:950px!important;max-width:none!important}
.reflow .pnl.p-09-36 .svgbox>svg{width:1250px!important;max-width:none!important}
.reflow .pnl.p-09-36 .chs{grid-template-columns:minmax(0,1fr)!important}
/* 09-12, 09-15, 09-210: pictures of 600–620 px width fall to ≈ 9–10 px labels at column width (556 px);
   they bleed into the card padding (22 px each side) to 600 px (as 06-12, 07-12, 08-12) … */
.reflow .pnl.p-09-12 .svgbox,.reflow .pnl.p-09-15 .svgbox,.reflow .pnl.p-09-210 .svgbox{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-09-12 .svgbox svg,.reflow .pnl.p-09-15 .svgbox svg,.reflow .pnl.p-09-210 .svgbox svg{width:100%!important;max-width:none!important;max-height:none!important}
/* … and the smallest labels of 09-15 (18 px in the picture) get CSS font size 19 px (no text change) */
.reflow .pnl.p-09-15 svg text[font-size="18"]{font-size:19px}

/* ---------------- topic 10 ---------------- */
/* 10-13, 10-14, 10-28, 10-29, 10-38, 10-39, 10-P2: the pictures sat next to text columns (170–300 px viewBox-wide thumbnails, ≈ 100–170 px on a phone)
   and their labels («лимит», «не больше N шт», «выигрыш / потери», «ШТАМП», «насколько — …», «мировая / специф. / адвал.») fell to ≈ 7,7–10 px.
   Each picture gets a width at which its smallest label is ≥ 10,5 px (natural size or the full column), the text goes below it. */
.reflow .pnl.p-10-13 .g4 .c svg{flex:0 0 214px!important;width:214px!important}
.reflow .pnl.p-10-14 .bt{flex-direction:column!important}
.reflow .pnl.p-10-14 .bt svg{flex:none!important;width:340px!important;align-self:center}
.reflow .pnl.p-10-28 .l27,.reflow .pnl.p-10-29 .l28{flex-direction:column!important;flex-wrap:nowrap!important}
.reflow .pnl.p-10-28 .l27>svg{flex:none!important;width:330px!important;align-self:center}
.reflow .pnl.p-10-29 .l28>svg{flex:none!important;width:100%!important}
.reflow .pnl.p-10-29 .l28>.cl{width:100%!important}
.reflow .pnl.p-10-38 .l38,.reflow .pnl.p-10-39 .l39{flex-direction:column!important;flex-wrap:nowrap!important}
.reflow .pnl.p-10-38 .l38>*,.reflow .pnl.p-10-39 .l39>*{flex:none!important;width:100%!important}
.reflow .pnl.p-10-P2 .cs>svg{flex:none!important;width:380px!important;display:block;margin:0 auto}
/* 10-211, 10-34, 10-36: two cards side by side (≈ 230 px picture columns, labels ≈ 4,6–8,4 px; 10-34 «Режим наибольшего благоприятствован…» cut off);
   stacked, the picture takes the card width (10-36: 14 px into the card's padding, its smallest label is 16 px in the picture) */
.reflow .pnl.p-10-211 .tw,.reflow .pnl.p-10-34 .tw,.reflow .pnl.p-10-36 .tw{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-10-211 .tw .cd svg{flex:none!important;width:340px!important;max-height:none!important;margin-bottom:6px}
.reflow .pnl.p-10-34 .tw .cd svg{flex:none!important;width:100%!important;max-height:none!important;margin-bottom:6px}
.reflow .pnl.p-10-36 .tw .cd svg{flex:none!important;width:calc(100% + 28px)!important;max-width:none!important;margin:0 -14px 6px;max-height:none!important}
/* 10-21: the definition diagram (1180 × 280, boxes «Внутренний рынок» / «Внешние позиции» with 22 px labels) has ≈ 6 px labels at column width;
   it keeps a readable width (≈ 10,6 px) and scrolls sideways inside the card (as 08-25, 09-31) */
.reflow .pnl.p-10-21 .body>div:nth-child(2){display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-10-21 .body>div>svg{width:1000px!important;max-width:none!important}
/* 10-22, 10-212: 3-column tables at 26–27 px broke words mid-word in the header and first column («Протекциони/зм», «Фритредерст/во», «Чем дей-ству-ет», «Сво-йств-а»).
   22 px text (≈ 12,5 px on a phone), narrower padding, first column wide enough for its longest word, whole words in header and first column */
.reflow .pnl.p-10-22 table,.reflow .pnl.p-10-212 table{font-size:22px}
.reflow .pnl.p-10-22 th,.reflow .pnl.p-10-22 td,.reflow .pnl.p-10-212 th,.reflow .pnl.p-10-212 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-10-22 th,.reflow .pnl.p-10-22 td:first-child,.reflow .pnl.p-10-212 th,.reflow .pnl.p-10-212 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-10-22 th,.reflow .pnl.p-10-22 td:first-child{font-size:20px}
.reflow .pnl.p-10-22 col:nth-child(1){width:26%!important}
.reflow .pnl.p-10-22 col:nth-child(n+2){width:37%!important}
.reflow .pnl.p-10-212 col:nth-child(1){width:24%!important}
.reflow .pnl.p-10-212 col:nth-child(n+2){width:38%!important}
/* 10-35: the four integration steps have inline heights of 340–460 px (a staircase on the laptop); on a phone each box is mostly empty space → natural height */
.reflow .pnl.p-10-35 .sp{height:auto!important}
/* 10-310: first column («Сталелитейные за-воды и их работни-ки») and «Что проис-ходит» broke mid-word; wider first column, narrow «Итог» column, whole words there */
.reflow .pnl.p-10-310 th,.reflow .pnl.p-10-310 td{padding-left:9px!important;padding-right:9px!important}
.reflow .pnl.p-10-310 th:nth-child(1){width:40%}
.reflow .pnl.p-10-310 th:nth-child(3),.reflow .pnl.p-10-310 td.m{width:90px}
.reflow .pnl.p-10-310 td:nth-child(1),.reflow .pnl.p-10-310 th{-webkit-hyphens:manual;hyphens:manual}
/* 10-3E: the two links to the economist cards of topic 09 are absolutely positioned (left 387 / 787 px, top 637 px) and ran out of the card
   and over the text (flowcheck overflow 304 px); under the card text, one per line; the empty spacer reserved for them on the laptop is dropped */
.reflow .pnl.p-10-3E .ov-link{position:static!important;display:block;margin:0;padding:6px 22px 0;font-size:28px}
.reflow .pnl.p-10-3E .ov-link:last-child{padding-bottom:20px}
.reflow .pnl.p-10-3E .ec .col>div[style*="height:58px"]{display:none}

/* ---------------- topic 11 ---------------- */
/* 11-21, 11-25, 11-213, 11-S3 (660 × 560 graph, a direct child of the flex wrapper .l21 / .w5 / .v / .s3), 11-211, 11-212 (600 × 430, .tw) and
   11-12 (640 × 520 bars, inside a 640 px flex cell): at column width (≈ 317 px) the labels fall to 7,7–10 px.
   The picture bleeds into the card padding (22 px each side) to 600 px (as 06-12, 08-12) … */
.reflow .pnl.p-11-21 .l21>svg,.reflow .pnl.p-11-25 .w5>svg,.reflow .pnl.p-11-213 .v>svg,.reflow .pnl.p-11-S3 .s3>svg,.reflow .pnl.p-11-211 .tw>svg,.reflow .pnl.p-11-212 .tw>svg{flex:none!important;width:calc(100% + 44px)!important;max-width:none!important;max-height:none!important;margin:0 -22px!important}
.reflow .pnl.p-11-12 .body>div:first-child>div:first-child{flex:none!important;width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important}
.reflow .pnl.p-11-12 svg{width:100%!important;max-width:none!important;max-height:none!important}
/* 11-36 (seven step graphs .g, 660 × 560) and 11-A3 (six, 600 × 520): the same, the picture sits in .g (as 06-A3, 08-A3) */
.reflow .pnl.p-11-36 .g,.reflow .pnl.p-11-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-11-36 .g svg,.reflow .pnl.p-11-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* … and the smallest SVG labels get CSS font sizes a little larger (the font-size attribute is overridden by CSS; no text changes).
   660 px graphs after the bleed: ×0,524 → 21 px = 11 px; 600 px pictures: ×0,577 → 19 px = 11 px; subscripts in labels keep their ratio */
.reflow .pnl.p-11-21 svg text[font-size="16"],.reflow .pnl.p-11-21 svg text[font-size="17"],.reflow .pnl.p-11-21 svg text[font-size="20"],
.reflow .pnl.p-11-25 svg text[font-size="16"],.reflow .pnl.p-11-25 svg text[font-size="17"],.reflow .pnl.p-11-25 svg text[font-size="19"],.reflow .pnl.p-11-25 svg text[font-size="20"],
.reflow .pnl.p-11-213 svg text[font-size="15"],.reflow .pnl.p-11-213 svg text[font-size="16"],.reflow .pnl.p-11-213 svg text[font-size="17"],.reflow .pnl.p-11-213 svg text[font-size="19"],.reflow .pnl.p-11-213 svg text[font-size="20"],
.reflow .pnl.p-11-S3 svg text[font-size="16"],.reflow .pnl.p-11-S3 svg text[font-size="17"],.reflow .pnl.p-11-S3 svg text[font-size="19"],.reflow .pnl.p-11-S3 svg text[font-size="20"],
.reflow .pnl.p-11-36 svg text[font-size="15"],.reflow .pnl.p-11-36 svg text[font-size="16"],.reflow .pnl.p-11-36 svg text[font-size="17"],.reflow .pnl.p-11-36 svg text[font-size="19"],.reflow .pnl.p-11-36 svg text[font-size="20"]{font-size:21px}
.reflow .pnl.p-11-21 svg tspan[font-size="15"],.reflow .pnl.p-11-25 svg tspan[font-size="15"],.reflow .pnl.p-11-213 svg tspan[font-size="15"],.reflow .pnl.p-11-S3 svg tspan[font-size="15"],.reflow .pnl.p-11-36 svg tspan[font-size="15"]{font-size:17px}
.reflow .pnl.p-11-211 svg text[font-size="15"],.reflow .pnl.p-11-211 svg text[font-size="16"],.reflow .pnl.p-11-211 svg text[font-size="17"],
.reflow .pnl.p-11-A3 svg text[font-size="15"],.reflow .pnl.p-11-A3 svg text[font-size="16"],.reflow .pnl.p-11-A3 svg text[font-size="17"]{font-size:19px}
.reflow .pnl.p-11-12 svg text[font-size="19"]{font-size:21px}
.reflow .pnl.p-11-211 svg tspan[font-size="15"],.reflow .pnl.p-11-A3 svg tspan[font-size="15"]{font-size:16px}
/* 11-14, 11-15: 18 px picture labels («МАГАЗИН», «$» in the coins) → ≈ 10,4 px */
.reflow .pnl.p-11-14 svg text[font-size="18"],.reflow .pnl.p-11-15 svg text[font-size="18.0"]{font-size:19px}
/* 11-P2: the empty graph beside the task text (430 px of 460 viewBox, ≈ 256 px on a phone, ticks ≈ 7,5 px) takes the column width; the tick «20» gets 16 px */
.reflow .pnl.p-11-P2 .cs>svg{flex:none!important;width:100%!important;max-width:none!important}
.reflow .pnl.p-11-P2 svg text[font-size="14"]{font-size:16px}
/* 11-214: the three boxes (1180 × 200, 24 px labels) are ≈ 6,5 px at column width; they keep a readable width (≈ 11 px) and scroll sideways (as 10-21, 09-31) */
.reflow .pnl.p-11-214 .body>div:first-child{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-11-214 .body>div:first-child>svg{width:920px!important;max-width:none!important}
/* 11-S1: the subscripts «гот», «дет» in the ERP line (0,75 em of 23 px) → 19 px */
.reflow .pnl.p-11-S1 sub{font-size:19px}
/* 11-25, 11-28, 11-37: 3–4-column tables broke words mid-word in the header and first column («Потребите-ли», «Производи-тели», «Государств-о»,
   «Добывающие ком-пании»). Narrower padding, columns by the longest word, whole words in header and first column (as 10-22, 10-310);
   11-28 text 23 → 22 px (≈ 12,7 px); 11-25 and 11-37 keep their 20 / 21 px */
.reflow .pnl.p-11-28 table{font-size:22px}
.reflow .pnl.p-11-25 th,.reflow .pnl.p-11-25 td,.reflow .pnl.p-11-28 th,.reflow .pnl.p-11-28 td,.reflow .pnl.p-11-37 th,.reflow .pnl.p-11-37 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-11-25 th,.reflow .pnl.p-11-25 td:first-child,.reflow .pnl.p-11-28 th,.reflow .pnl.p-11-37 th,.reflow .pnl.p-11-37 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-11-25 th:nth-child(1){width:34%}
.reflow .pnl.p-11-25 th:nth-child(2){width:28%}
.reflow .pnl.p-11-25 th:nth-child(3){width:24%}
.reflow .pnl.p-11-25 th:nth-child(4){width:14%}
.reflow .pnl.p-11-37 th:nth-child(1){width:42%}
.reflow .pnl.p-11-37 td.m{width:90px}
/* 11-215: 5-column table (all instruments) at 24 px was squeezed to ≈ 8 characters per cell («Инструм-ент», «Госуд-арств-о») → readable text (≈ 11,5 px)
   in a sideways-scroll table (as 03-29, 04-36) */
.reflow .pnl.p-11-215 table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;width:100%!important;max-width:100%!important;font-size:20px;table-layout:auto}
.reflow .pnl.p-11-215 th,.reflow .pnl.p-11-215 td{min-width:140px;padding:7px 8px!important;font-size:20px!important;-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-11-215 th:first-child,.reflow .pnl.p-11-215 td:first-child{min-width:160px}
.reflow .pnl.p-11-215 th:nth-child(3){min-width:165px}
.reflow .pnl.p-11-215 th:nth-child(5),.reflow .pnl.p-11-215 td:nth-child(5){min-width:165px}
/* 11-S3: 5-column cheat-sheet table beside the graph; stacked it keeps 20 px text, first column wide enough for «Добровольное» / «Экспортная» */
.reflow .pnl.p-11-S3 table{font-size:20px;width:100%!important;max-width:100%!important}
.reflow .pnl.p-11-S3 th,.reflow .pnl.p-11-S3 td{padding:7px 5px!important}
.reflow .pnl.p-11-S3 th,.reflow .pnl.p-11-S3 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-11-S3 th:nth-child(1){width:34%}
.reflow .pnl.p-11-S3 th:nth-child(n+2){width:17%}
.reflow .pnl.p-11-S3 th:nth-child(5){width:15%}

/* ---------------- topic 12 ---------------- */
/* 12-11: the picture (640 × 540, a flex cell of 640 px) sat at column width (≈ 317 px), labels «экспорт», «турист» 10,4 px, «$» 8,3 px;
   bleeds into the card padding (22 px each side) to 600 px (as 09-12, 11-12); the two small «$» labels (16,8 px in the picture) get 20 px */
.reflow .pnl.p-12-11 .svgbox{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-12-11 .svgbox svg{width:100%!important;max-width:none!important;max-height:none!important}
.reflow .pnl.p-12-11 svg text[font-size="16.8"]{font-size:20px}
/* 12-12: two cards side by side, each with a 300 × 150 picture at ≈ 150 px (labels «продали — полу…», «вложили — заня…» 8,8 px);
   stacked, the picture keeps its natural width (≈ 11,5 px) (as 10-211) */
.reflow .pnl.p-12-12 .tw{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-12-12 .tw .cd svg{flex:none!important;width:310px!important;max-width:none!important;align-self:center;margin-bottom:6px}
/* 12-21: the strip of three roles (1180 × 250, 23 px labels) is ≈ 6 px at column width; it keeps a readable width (≈ 11 px) and scrolls sideways (as 10-21, 11-214) */
.reflow .pnl.p-12-21 .body>div:nth-child(3){display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-12-21 .body>div:nth-child(3)>svg{width:1000px!important;max-width:none!important}
/* 12-26, 12-28, 12-29, 12-P2: the picture (flex 0 0 Npx in a row that the flow layout turns into a column) got N px of HEIGHT, so it shrank
   (labels 7–9,8 px); flex:none and a width at which its smallest label is ≥ 10,5 px */
.reflow .pnl.p-12-26 .l25,.reflow .pnl.p-12-28 .l27,.reflow .pnl.p-12-29 .l28,.reflow .pnl.p-12-P2 .cs{flex-direction:column!important;flex-wrap:nowrap!important}
.reflow .pnl.p-12-26 .l25>svg{flex:none!important;width:460px!important;max-width:none!important;align-self:center}
.reflow .pnl.p-12-28 .l27>svg,.reflow .pnl.p-12-29 .l28>svg{flex:none!important;width:320px!important;max-width:none!important;align-self:center}
.reflow .pnl.p-12-P2 .cs>svg{flex:none!important;width:380px!important;max-width:none!important;align-self:center}
.reflow .pnl.p-12-26 .l25>.cl,.reflow .pnl.p-12-28 .l27>.cl,.reflow .pnl.p-12-29 .l28>.cl{width:100%!important}
/* 12-28: the formula «NX = Ex − Im = Y − (C + I + G)» (.big, 62 px, one line) ran 143 px out of the card → 40 px, one line (as 06-25) */
.reflow .pnl.p-12-28 .big{font-size:40px}
/* 12-210, 12-213, 12-214, 12-37, 12-39: 2–3-column tables broke words mid-word in the header and first column («Сбереж/ения», «Капита/л», «Дефляци/онная»,
   «Девальв/ация», «Регулиров/ание», «современ-ный», «происхо-дит»). Smaller text (≈ 12 px), narrow padding, columns by the longest word,
   whole words in header and first column (as 10-22, 11-28); body cells keep their hyphenation */
.reflow .pnl.p-12-210 table,.reflow .pnl.p-12-213 table,.reflow .pnl.p-12-214 table,.reflow .pnl.p-12-37 table,.reflow .pnl.p-12-39 table{font-size:21px}
.reflow .pnl.p-12-210 th,.reflow .pnl.p-12-210 td,.reflow .pnl.p-12-213 th,.reflow .pnl.p-12-213 td,.reflow .pnl.p-12-214 th,.reflow .pnl.p-12-214 td,
.reflow .pnl.p-12-37 th,.reflow .pnl.p-12-37 td,.reflow .pnl.p-12-39 th,.reflow .pnl.p-12-39 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-12-210 th,.reflow .pnl.p-12-210 td:first-child,.reflow .pnl.p-12-213 th,.reflow .pnl.p-12-213 td:first-child,.reflow .pnl.p-12-214 th,.reflow .pnl.p-12-214 td:first-child,
.reflow .pnl.p-12-37 th,.reflow .pnl.p-12-39 th,.reflow .pnl.p-12-39 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-12-213 td:first-child,.reflow .pnl.p-12-214 td:first-child{font-size:20px}
.reflow .pnl.p-12-210 col:nth-child(1){width:34%!important}
.reflow .pnl.p-12-210 col:nth-child(n+2){width:33%!important}
.reflow .pnl.p-12-213 col:nth-child(1){width:38%!important}
.reflow .pnl.p-12-213 col:nth-child(2){width:37%!important}
.reflow .pnl.p-12-213 col:nth-child(3){width:25%!important}
.reflow .pnl.p-12-214 col:nth-child(1){width:32%!important}
.reflow .pnl.p-12-214 col:nth-child(2){width:42%!important}
.reflow .pnl.p-12-214 col:nth-child(3){width:26%!important}
.reflow .pnl.p-12-39 th:nth-child(1){width:38%}
.reflow .pnl.p-12-39 th:nth-child(2){width:48%}
.reflow .pnl.p-12-39 th:nth-child(3){width:14%}
/* 12-39: the panel's own CSS sets white-space:nowrap on the title («Девальвация национальной вал…» cut off in the flow layout) → wraps */
.reflow .pnl.p-12-39 .ttl{white-space:normal}
/* 12-38 (six step graphs .g, 750 × 590) and 12-A3 (five, 540 × 520): the graph bleeds into the card padding to 600 px (as 11-36, 11-A3);
   12-38: the smallest labels (22–23 px in the picture) get CSS 24 px (≈ 10,9 px; no text change) */
.reflow .pnl.p-12-38 .g,.reflow .pnl.p-12-A3 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-12-38 .g svg,.reflow .pnl.p-12-A3 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
.reflow .pnl.p-12-38 svg text[font-size="22"],.reflow .pnl.p-12-38 svg text[font-size="23"]{font-size:24px}
/* 12-S3: the table picture (600 × 590, a 560 px cell) bleeds to 600 px; its smallest label (18 px: «Счёт официальных резервов (резервы выросли)») 18,5 px */
.reflow .pnl.p-12-S3 .body>div:first-child{display:block!important}
.reflow .pnl.p-12-S3 .sv{flex:none!important;width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px 14px!important}
.reflow .pnl.p-12-S3 .sv svg{width:100%!important;max-width:none!important;max-height:none!important}
.reflow .pnl.p-12-S3 svg text[font-size="18"]{font-size:18.5px}

/* ---------------- topic 13 ---------------- */
/* 13-29, 13-31: the formula row (.frm) is a direct child of .body, where the generic rule `.body>*{width:auto!important}` beats the inline
   `width:max-content` that fit.js uses to measure the row. fit.js then always sees «fits», the terms shrink to ≈ 120 px and the row breaks into pieces
   («ε =» / «E ·» / «P* /» …). With width:max-content here (and the terms' width limit lifted) fit.js measures the real width, moves the labels
   to its legend and keeps the symbols on one line (as in 13-32, where the row sits inside a column) */
.reflow .pnl.p-13-29 .body>.frm,.reflow .pnl.p-13-31 .body>.frm{width:max-content!important;margin-left:auto!important;margin-right:auto!important}
.reflow .pnl.p-13-29 .frm .term,.reflow .pnl.p-13-31 .frm .term{max-width:none!important}
/* 13-S4 (kind «Шпаргалка», so fit.js does not run its formula pass): the row «ε = E · P* / P» with four boxed labels broke into «ε = E ·» / «P* / P».
   Grid instead: the symbols on one line, the four labels as full-width boxes below it, each led by its symbol (as the legend that fit.js builds for formula panels) */
.reflow .pnl.p-13-S4 .body>.frm{display:grid!important;grid-template-columns:repeat(7,auto)!important;justify-content:center;align-items:center;column-gap:10px;row-gap:8px}
.reflow .pnl.p-13-S4 .frm>.term{display:contents}
.reflow .pnl.p-13-S4 .frm .stem{display:none}
.reflow .pnl.p-13-S4 .frm .lab{justify-self:start;text-align:left;max-width:none!important}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(1)>.sym{grid-area:1/1}
.reflow .pnl.p-13-S4 .frm>.op:nth-child(2){grid-area:1/2}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(3)>.sym{grid-area:1/3}
.reflow .pnl.p-13-S4 .frm>.op:nth-child(4){grid-area:1/4}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(5)>.sym{grid-area:1/5}
.reflow .pnl.p-13-S4 .frm>.op:nth-child(6){grid-area:1/6}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(7)>.sym{grid-area:1/7}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(1)>.lab{grid-area:2/1/3/8}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(3)>.lab{grid-area:3/1/4/8}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(5)>.lab{grid-area:4/1/5/8}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(7)>.lab{grid-area:5/1/6/8}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(1)>.lab::before{content:"ε — ";font-weight:700;color:#D49A5E}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(3)>.lab::before{content:"E — ";font-weight:700;color:#D4A15F}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(5)>.lab::before{content:"P* — ";font-weight:700;color:#D77C98}
.reflow .pnl.p-13-S4 .frm>.term:nth-child(7)>.lab::before{content:"P — ";font-weight:700;color:#D77C98}
/* 13-32: grid 240 px | 1fr (picture + warning | text, formula, numbers): the right column was ≈ 190 px wide and the picture's labels 9 px;
   stacked, the picture keeps its natural width (labels ≈ 12 px) */
.reflow .pnl.p-13-32 .l32{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-13-32 .l32 .col>svg{flex:none!important;width:320px!important;max-width:none!important;align-self:center}
/* 13-212, 13-S1: subscripts «ППС» in running text (0,83 em of 21 px → ≈ 9–10 px) → 19 px */
.reflow .pnl.p-13-212 .d sub,.reflow .pnl.p-13-212 .chip sub,.reflow .pnl.p-13-S1 sub{font-size:19px}
/* 13-26: 3-column table; the «Сум» column broke «до-рожает», «де-шевеет» → wider third column, narrow padding, whole words in header and last column */
.reflow .pnl.p-13-26 th,.reflow .pnl.p-13-26 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-13-26 th,.reflow .pnl.p-13-26 td:last-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-13-26 col:nth-child(1){width:36%!important}
.reflow .pnl.p-13-26 col:nth-child(2){width:34%!important}
.reflow .pnl.p-13-26 col:nth-child(3){width:30%!important}
/* 13-213: first column «Назнач-ение», «Почем-у рас-ходят-ся» broke mid-word; 22 px text, columns by the longest word, whole words in header and first column */
.reflow .pnl.p-13-213 table{font-size:22px}
.reflow .pnl.p-13-213 th,.reflow .pnl.p-13-213 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-13-213 th,.reflow .pnl.p-13-213 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-13-213 col:nth-child(1){width:28%!important}
.reflow .pnl.p-13-213 col:nth-child(2){width:37%!important}
.reflow .pnl.p-13-213 col:nth-child(3){width:35%!important}
/* 13-39: «Покупатели импорт-ных», «Выезжающие за ру-беж», «закупаю-щие … обо-рудование» broke mid-word; first column wide enough for «конкурирующие» / «оборудование» */
.reflow .pnl.p-13-39 table{font-size:22px}
.reflow .pnl.p-13-39 th,.reflow .pnl.p-13-39 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-13-39 th,.reflow .pnl.p-13-39 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-13-39 th:nth-child(1){width:38%}
.reflow .pnl.p-13-39 th:nth-child(3){width:64px}
/* 13-S4: 5-column table; header «Что про-изошло» broke, 23 px text and 30 % «Итог» column → 21 px, whole words in header / first column, numbers on one line */
.reflow .pnl.p-13-S4 table{font-size:21px}
.reflow .pnl.p-13-S4 th,.reflow .pnl.p-13-S4 td{padding-left:6px!important;padding-right:6px!important}
.reflow .pnl.p-13-S4 th,.reflow .pnl.p-13-S4 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-13-S4 col:nth-child(1){width:27%!important}
.reflow .pnl.p-13-S4 col:nth-child(2){width:14%!important}
.reflow .pnl.p-13-S4 col:nth-child(3){width:17%!important}
.reflow .pnl.p-13-S4 col:nth-child(4){width:14%!important}
.reflow .pnl.p-13-S4 col:nth-child(5){width:28%!important}
/* 13-S3: three graphs in one 1840 × 560 strip, shown at 556 px: labels ≈ 4 px. They keep a readable width and scroll sideways (as 09-36, 12-21);
   at 1300 px the smallest labels (22 px in the picture → CSS 26 px) are ≈ 10,8 px */
.reflow .pnl.p-13-S3 .sv{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-13-S3 .sv>svg{width:1300px!important;max-width:none!important}
.reflow .pnl.p-13-S3 svg text[font-size="22"]{font-size:26px}
/* 13-A3 (500 px step graphs): tick labels 17 px in the picture ≈ 9,8 px → 19 px; 13-37 («в среднем: ?» 18 px) → 19 px */
.reflow .pnl.p-13-A3 svg text[font-size="17"]{font-size:19px}
.reflow .pnl.p-13-37 svg text[font-size="18"]{font-size:19px}

/* ---------------- topic 14 ---------------- */
/* 14-24: the scale strip (1180 × 150 picture) is shown at ≈ 520 px, its labels («свободно конвертируемая» …) ≈ 6,5 px. It keeps a readable width
   (labels ≈ 10,7 px) in a sideways-scroll box, as 12-21 / 13-S3; the small line under the middle label (20 px in the picture) → 24 px */
.reflow .pnl.p-14-24 .sv{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-14-24 .sv>svg{width:930px!important;max-width:none!important}
.reflow .pnl.p-14-24 svg text[font-size="20"]{font-size:24px}
/* 14-28: the scale picture (700 × 60, labels «жёстко», «свободно», 1–6) sat beside the note in a row and was shown at ≈ 200 px (labels ≈ 6 px);
   stacked, it bleeds into the card padding to 600 px (labels ≈ 11,3 px), as 12-S3 */
.reflow .pnl.p-14-28 .top{display:block!important}
.reflow .pnl.p-14-28 .top .sv{flex:none!important;width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px 8px!important}
.reflow .pnl.p-14-28 .top .sv svg{width:100%!important;max-width:none!important}
/* 14-29: 3-column table was wider than the card (15 px): «Предсказуемость», «Фиксированный», «Плавающий» ran out of their columns.
   20 px text, narrow padding, columns by the longest word, whole words in header and first column */
.reflow .pnl.p-14-29 table{font-size:20px!important}
.reflow .pnl.p-14-29 th,.reflow .pnl.p-14-29 td{padding-left:6px!important;padding-right:6px!important}
.reflow .pnl.p-14-29 th,.reflow .pnl.p-14-29 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-14-29 col:nth-child(1){width:34%!important}
.reflow .pnl.p-14-29 col:nth-child(2){width:33%!important}
.reflow .pnl.p-14-29 col:nth-child(3){width:33%!important}
/* 14-34: the Venn picture (290 px) beside the green list gave the list a ≈ 140 px column and the picture label «одна валюта, одна ставка» 9,8 px;
   stacked: picture 340 px (label ≈ 11,5 px) centred, the list at full width */
.reflow .pnl.p-14-34 .l34{grid-template-columns:minmax(0,1fr)!important;justify-items:stretch}
.reflow .pnl.p-14-34 .l34>svg{width:340px!important;max-width:none!important;justify-self:center}
/* 14-37: «Что проис-ходит», «Все, кто стра-дал от высо-кой инфляции», «по-страдавшие» broke mid-word; 21 px text, first column by the longest word
   («пострадавшие»), wide middle column; whole words in header and first column */
.reflow .pnl.p-14-37 table{font-size:21px}
.reflow .pnl.p-14-37 th,.reflow .pnl.p-14-37 td{padding-left:8px!important;padding-right:8px!important}
.reflow .pnl.p-14-37 th,.reflow .pnl.p-14-37 td:first-child,.reflow .pnl.p-14-37 td:last-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-14-37 th:nth-child(1){width:31%}
.reflow .pnl.p-14-37 th:nth-child(3){width:22%}
/* 14-S3: 4-column table: «Бюджетная экс-пансия», «Что сдвину-лось», «вле-во», «2,0 → / 1,6» broke; 20 px text, columns by the longest word,
   whole words in header, first and second column */
.reflow .pnl.p-14-S3 table{font-size:20px!important}
.reflow .pnl.p-14-S3 th,.reflow .pnl.p-14-S3 td{padding-left:6px!important;padding-right:6px!important}
.reflow .pnl.p-14-S3 th,.reflow .pnl.p-14-S3 td:first-child,.reflow .pnl.p-14-S3 td:nth-child(2){-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-14-S3 col:nth-child(1){width:33%!important}
.reflow .pnl.p-14-S3 col:nth-child(2){width:24%!important}
.reflow .pnl.p-14-S3 col:nth-child(3){width:21.5%!important}
.reflow .pnl.p-14-S3 col:nth-child(4){width:21.5%!important}
/* 14-P2: the empty graph (340 px) beside the task text gave the task a ≈ 115 px column (one word per line); stacked, graph 380 px under the text (as 12-P2) */
.reflow .pnl.p-14-P2 .pw{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-14-P2 .pw>svg{width:380px!important;max-width:none!important;justify-self:center}
/* 14-A3 (500 px step graphs): tick labels 17 px in the picture ≈ 9,8 px → 19 px (as 13-A3) */
.reflow .pnl.p-14-A3 svg text[font-size="17"]{font-size:19px}

/* ---------------- topic 15 ---------------- */
/* 15-11: the small «закрытая экономика: темы 01–06» label (19 px in the picture) was 10,0 px → 21 px (≈ 11 px). The «$» on the coins (16 px) stays: decorative */
.reflow .pnl.p-15-11 svg text[font-size="19"]{font-size:21px}
/* 15-210: 3-column table: «Фиксированн/ый», «Фискальн/ая полити-ка», «Монетарна/я», «Независи/мость» broke mid-word;
   20 px text, narrow padding, columns by the longest word, whole words in header and first column (as 14-29) */
.reflow .pnl.p-15-210 table{font-size:20px!important}
.reflow .pnl.p-15-210 th,.reflow .pnl.p-15-210 td{padding-left:6px!important;padding-right:6px!important}
.reflow .pnl.p-15-210 th,.reflow .pnl.p-15-210 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-15-210 col:nth-child(1){width:32%!important}
.reflow .pnl.p-15-210 col:nth-child(2){width:34%!important}
.reflow .pnl.p-15-210 col:nth-child(3){width:34%!important}
/* 15-212: four tiles in two ≈ 135 px columns («✓» alone on a line, 11-line paragraph) → one column */
.reflow .pnl.p-15-212 .t4{grid-template-columns:minmax(0,1fr)!important}
/* 15-213: the strip «M ↑ или G ↑ → выпуск / уровень цен» (1140 × 170, labels 6–8 px) keeps a readable width (22 px labels ≈ 11 px) in a sideways-scroll box (as 14-24);
   the two period cards and the two chips below stack (two ≈ 135 px text columns) */
.reflow .pnl.p-15-213 .sv{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-15-213 .sv>svg{width:1000px!important;max-width:none!important}
.reflow .pnl.p-15-213 .tw{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-15-213 .body>div:last-child{flex-direction:column!important}
/* 15-32, 15-35: two cards side by side, each with a 540 × 290 / 520 × 190 picture at ≈ 150 px (labels 4–6 px) → stacked, picture at card width
   (labels ≥ 11 px; the 17 px tick labels of 15-32 → 19 px) */
.reflow .pnl.p-15-32 .tw,.reflow .pnl.p-15-35 .tw{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-15-32 svg text[font-size="17"]{font-size:19px}
/* 15-36: Mandell-rule card and the table side by side: the table got a ≈ 130 px column («Чт/о дел/а-ть», one word per line) → stacked, table full width; first column by «Перегрев» (bold 21 px), whole words in header and first column */
.reflow .pnl.p-15-36 .ie{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-15-36 th,.reflow .pnl.p-15-36 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-15-36 col:nth-child(1){width:27%!important}
.reflow .pnl.p-15-36 col:nth-child(2){width:36.5%!important}
.reflow .pnl.p-15-36 col:nth-child(3){width:36.5%!important}
/* 15-37: 4-column table: «Прирост выпус-ка», «Закрытая эконо-мика», «плаваю-щий», «фиксирован-ный» broke and the table was 26 px wider than the card; 19 px text,
   the table bleeds into the card padding to 600 px, columns by the longest word, whole words in header and first column.
   The 720 × 320 bar chart (labels 9,3 px at column width) keeps ≈ its natural width in a sideways-scroll box (as 13-S3) */
.reflow .pnl.p-15-37 table{font-size:19px!important;width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px}
.reflow .pnl.p-15-37 th,.reflow .pnl.p-15-37 td{padding-left:3px!important;padding-right:3px!important}
.reflow .pnl.p-15-37 th,.reflow .pnl.p-15-37 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-15-37 col:nth-child(1){width:28.5%!important}
.reflow .pnl.p-15-37 col:nth-child(2){width:20%!important}
.reflow .pnl.p-15-37 col:nth-child(3){width:22%!important}
.reflow .pnl.p-15-37 col:nth-child(4){width:29.5%!important}
.reflow .pnl.p-15-37 .l37{display:block!important}
.reflow .pnl.p-15-37 .l37>div:nth-child(2){display:block!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;margin-top:10px}
.reflow .pnl.p-15-37 .l37 svg{width:700px!important;max-width:none!important}
/* 15-38, 15-A3 (500–520 px step graphs): tick labels 16 px in the picture ≈ 9,2 px → 19 px (as 13-A3, 14-A3) */
.reflow .pnl.p-15-38 svg text[font-size="16"],.reflow .pnl.p-15-A3 svg text[font-size="16"]{font-size:19px}
/* 15-39: 3-column table: «конкурирую/щие с импор/том», «им-портных», «по-дешевела» broke; 21 px text, columns 40 / 46 / 14, whole words in header and first column */
.reflow .pnl.p-15-39 table{table-layout:fixed;font-size:21px!important}
.reflow .pnl.p-15-39 th,.reflow .pnl.p-15-39 td{padding-left:7px!important;padding-right:7px!important}
.reflow .pnl.p-15-39 th,.reflow .pnl.p-15-39 td:first-child{-webkit-hyphens:manual;hyphens:manual}
.reflow .pnl.p-15-39 th:nth-child(1){width:40%}
.reflow .pnl.p-15-39 th:nth-child(2){width:46%}
.reflow .pnl.p-15-39 th:nth-child(3){width:14%}
/* 15-S3: cheat sheet = 756 px grid of four mini graphs + a 440 px bar chart in a row: 104 px past the card, header «Фиксированный» cut off.
   Stacked; fit.js had made the overflowing grid one column, so its columns are set again here; the grid (140 + 300 + 300 px, mini-graph labels 18 px → 19 px ≈ 10,9 px) keeps its natural width in a sideways-scroll box (as 03-22), the chart under it at 440 px */
.reflow .pnl.p-15-S3 .s3{display:block!important}
.reflow .pnl.p-15-S3 .g4{grid-template-columns:140px 300px 300px!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:6px}
.reflow .pnl.p-15-S3 .g4 svg text[font-size="18"]{font-size:19px}
.reflow .pnl.p-15-S3 .bb{margin-top:12px}
.reflow .pnl.p-15-S3 .bb svg{display:block;width:440px!important;max-width:100%!important;margin:0 auto}

/* ---------------- sweep 00–01 (S4 picture-label sweep: SVG labels ≥ 10,5 px on a phone) ---------------- */
/* 00-01, 00-02, 01-13: pictures of 620–640 px width have ≈ 9,5–10 px labels at column width; they bleed into the card padding
   (22 px each side) to 600 px (as 06-12) … */
.reflow .pnl.p-00-01 .svgbox,.reflow .pnl.p-00-02 .svgbox,.reflow .pnl.p-01-13 .svgbox,.reflow .pnl.p-01-A2 .g{width:calc(100% + 44px)!important;max-width:none!important;margin:0 -22px!important;flex:none!important}
.reflow .pnl.p-00-01 .svgbox svg,.reflow .pnl.p-00-02 .svgbox svg,.reflow .pnl.p-01-13 .svgbox svg,.reflow .pnl.p-01-A2 .g svg{width:100%!important;max-width:none!important;max-height:none!important}
/* … and the smallest SVG labels (18–19 px in the picture) get CSS font sizes of 19–20 px (no text changes) */
.reflow .pnl.p-00-02 svg text[font-size="19"]{font-size:20px}
.reflow .pnl.p-00-02 svg text[font-size="18"]{font-size:19.2px}   /* «Остальной мир» fills its 152 px box: 20 px would run out of it */
.reflow .pnl.p-01-13 svg text[font-size="18"],.reflow .pnl.p-01-13 svg text[font-size="19"],.reflow .pnl.p-01-A2 svg text[font-size="19"]{font-size:19.8px}
/* 01-21: the mind map of the monetary system (1180 × 400, 22–26 px labels) has ≈ 6 px labels at column width and its seven elements
   are not repeated in the text (01-21b lists nine other items); it keeps a readable width (≈ 10,7 px) and scrolls sideways (as 07-21) */
.reflow .pnl.p-01-21 .svgbox{display:block!important;flex:none!important;height:auto!important;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}
.reflow .pnl.p-01-21 .svgbox>svg{width:1010px!important;max-width:none!important}
/* 01-35, 01-38, 01-S2: two or three small graphs side by side (≈ 100–145 px each on a phone, labels 4–6 px); stacked, full width */
.reflow .pnl.p-01-35 .two,.reflow .pnl.p-01-38 .sws,.reflow .pnl.p-01-S2 .st3{grid-template-columns:minmax(0,1fr)!important}
.reflow .pnl.p-01-35 .pn svg,.reflow .pnl.p-01-38 .sw svg,.reflow .pnl.p-01-S2 .st3 svg{width:100%!important;max-width:100%!important}
.reflow .pnl.p-01-38 svg text[font-size="16"]{font-size:19px}
.reflow .pnl.p-01-38 svg text[transform]{translate:-8px 0}   /* the larger ticks «500» would touch the rotated axis title «долл.» */
/* 01-P2: the empty graph beside the task text (≈ 242 px on a phone, ticks ≈ 9 px) takes the column width */
.reflow .pnl.p-01-P2 .cs{flex-direction:column!important}
.reflow .pnl.p-01-P2 .cs .pap{flex:none!important;width:100%!important}
.reflow .pnl.p-01-P2 .cs .pap svg{width:100%!important;max-width:100%!important}
