/* Popov Academy — content-factory/phystech-2026-27-math-round-2-v1 (Phystech 2026/27 math, qualifying round 2): student labs (loaded only on these pages); copied from the
   accepted Phystech 2025/26 final package (visuals/lab.css there, unchanged above the «Additions of the Phystech 2024/25 math qualifying package» line).
   Base styles shared by all labs; each lab may add visuals/labs/<kind>.css, which assets.mjs appends to this file.
   Colours are local variables. Dark values follow the site's own theme switch (html[data-design=v2] with
   data-theme=dark, or the system dark mode unless data-theme=light) and reuse the site tokens from
   redesign.css, as in the 2025 package; the global theme itself is not changed. */
.arch-lab{min-width:0;--arch-surface:#fff;--arch-ink:#1f2937;--arch-label:#203c58;--arch-muted:#5b6b82;--arch-field-line:#aebed1;--arch-soft-line:#d7e1ed;--arch-primary-bg:#244974;--arch-primary-ink:#fff;--arch-link:#244974;--arch-pressed-bg:#e6eefb;--arch-pressed-line:#244974;--arch-good:#047857;--arch-bad:#b91c1c;--arch-focus:#f59e0b;--arch-fig-line:#1f2937;--arch-grid:#c7d2e0;--arch-fill:#dbeafe;--arch-piece-a:#bfdbfe;--arch-piece-b:#fde68a;--arch-piece-c:#fecaca;--arch-piece-d:#bbf7d0;--arch-accent:#c2410c;--arch-water:#e0f2fe;--arch-ok-bg:#dcfce7;--arch-bad-bg:#fee2e2;--arch-knight:#1d4ed8;--arch-liar:#9f1239;--arch-clear:#e2e8f0}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--arch-surface:var(--play-stage);--arch-ink:var(--ink);--arch-label:var(--ink);--arch-muted:var(--ink-2);--arch-field-line:var(--ink-3);--arch-soft-line:var(--play-line);--arch-primary-bg:var(--accent);--arch-primary-ink:var(--on-ink);--arch-link:var(--accent-ink);--arch-pressed-bg:var(--accent-soft);--arch-pressed-line:var(--accent);--arch-good:var(--ok);--arch-bad:var(--bad);--arch-fig-line:#dbe4f0;--arch-grid:#4a5568;--arch-fill:#1e3a5f;--arch-piece-a:#1e40af;--arch-piece-b:#854d0e;--arch-piece-c:#9f1239;--arch-piece-d:#166534;--arch-accent:#fb923c;--arch-water:#0c2a3f;--arch-ok-bg:#14341f;--arch-bad-bg:#431818;--arch-knight:#93c5fd;--arch-liar:#fda4af;--arch-clear:#3f4654}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--arch-surface:var(--play-stage);--arch-ink:var(--ink);--arch-label:var(--ink);--arch-muted:var(--ink-2);--arch-field-line:var(--ink-3);--arch-soft-line:var(--play-line);--arch-primary-bg:var(--accent);--arch-primary-ink:var(--on-ink);--arch-link:var(--accent-ink);--arch-pressed-bg:var(--accent-soft);--arch-pressed-line:var(--accent);--arch-good:var(--ok);--arch-bad:var(--bad);--arch-fig-line:#dbe4f0;--arch-grid:#4a5568;--arch-fill:#1e3a5f;--arch-piece-a:#1e40af;--arch-piece-b:#854d0e;--arch-piece-c:#9f1239;--arch-piece-d:#166534;--arch-accent:#fb923c;--arch-water:#0c2a3f;--arch-ok-bg:#14341f;--arch-bad-bg:#431818;--arch-knight:#93c5fd;--arch-liar:#fda4af;--arch-clear:#3f4654}
.arch-try{margin:18px 0}
.arch-lab [data-arch-lab-body]{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0}
.arch-lab .arch-lab-fallback{color:var(--arch-muted);font-size:15px}
.arch-lab label,.arch-lab .arch-label{font-weight:600;color:var(--arch-label)}
.arch-lab .arch-help{font-size:14px;color:var(--arch-muted);margin:0}
.arch-lab .arch-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.arch-lab input[type=text],.arch-lab input[type=number],.arch-lab select{font:inherit;font-size:18px;min-height:44px;padding:8px 12px;border:1px solid var(--arch-field-line);border-radius:12px;background:var(--arch-surface);color:var(--arch-ink);min-width:0}
.arch-lab input[type=number]{width:88px}
.arch-lab input[type=range]{flex:1 1 180px;min-width:0;min-height:44px;accent-color:var(--arch-primary-bg)}
.arch-lab button{font:inherit;font-size:16px;min-height:44px;min-width:44px;padding:10px 16px;border-radius:999px;line-height:1.4;max-width:100%;white-space:normal;cursor:pointer}
.arch-lab .arch-primary{background:var(--arch-primary-bg);color:var(--arch-primary-ink);border:1px solid var(--arch-primary-bg)}
.arch-lab .arch-secondary{background:var(--arch-surface);color:var(--arch-link);border:1px solid var(--arch-field-line)}
.arch-lab button[aria-disabled=true]{opacity:.45;cursor:default}
.arch-lab button:focus-visible,.arch-lab input:focus-visible,.arch-lab select:focus-visible,.arch-lab [tabindex]:focus-visible{outline:3px solid var(--arch-focus);outline-offset:2px}
.arch-lab .arch-actions{display:flex;flex-wrap:wrap;gap:8px}
.arch-lab .arch-toggle{display:flex;flex-wrap:wrap;gap:6px}
.arch-lab .arch-toggle button{background:var(--arch-surface);color:var(--arch-link);border:1px solid var(--arch-field-line)}
.arch-lab .arch-toggle button[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);font-weight:600}
.arch-lab .arch-result{background:var(--arch-surface);color:var(--arch-ink);border:1px solid var(--arch-soft-line);border-radius:14px;padding:14px 16px;line-height:1.55;min-width:0;overflow-wrap:anywhere}
.arch-lab .arch-result:empty{display:none}
.arch-lab :is(button,input,select){scroll-margin-block:120px}
.arch-lab .arch-result p{margin:6px 0}
.arch-lab .arch-checks{list-style:none;padding:0;margin:6px 0;display:grid;gap:6px}
.arch-lab .arch-checks li{display:flex;gap:8px;align-items:flex-start}
.arch-lab .arch-pass::before{content:'✓';color:var(--arch-good);font-weight:700;flex-shrink:0;width:1.2em}
.arch-lab .arch-fail::before{content:'✗';color:var(--arch-bad);font-weight:700;flex-shrink:0;width:1.2em}
.arch-lab .arch-good{color:var(--arch-good);font-weight:600}
.arch-lab .arch-bad{color:var(--arch-bad);font-weight:600}
.arch-lab .arch-sub{display:grid;gap:8px;border-top:1px solid var(--arch-soft-line);padding-top:12px}
.arch-lab .arch-stage{background:var(--arch-surface);border:1px solid var(--arch-soft-line);border-radius:8px;padding:8px;min-width:0}
.arch-lab .arch-stage svg{display:block;width:100%;height:auto;max-height:70vh;touch-action:manipulation}
.arch-lab svg text{fill:var(--arch-ink);font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .arch-readouts{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;font-variant-numeric:tabular-nums}
.arch-lab .arch-readouts div{display:flex;gap:6px;align-items:baseline}
.arch-lab .arch-readouts dt{color:var(--arch-muted);font-size:14px}
.arch-lab .arch-readouts dd{margin:0;font-weight:600;color:var(--arch-ink);white-space:nowrap;overflow-wrap:normal}
.arch-lab .arch-table-wrap{overflow-x:auto;max-width:100%}
.arch-lab table.arch-table{border-collapse:collapse;font-variant-numeric:tabular-nums}
.arch-lab table.arch-table th,.arch-lab table.arch-table td{border:1px solid var(--arch-soft-line);padding:4px 8px;text-align:center;color:var(--arch-ink)}
.arch-lab table.arch-table th{color:var(--arch-label);font-weight:600}
.arch-lab .arch-chip{display:inline-flex;align-items:center;justify-content:center;min-width:2.2em;padding:2px 8px;border-radius:999px;border:1px solid var(--arch-soft-line);font-weight:600}
@media(max-width:480px){.arch-lab .arch-row .arch-primary{flex:1 1 100%}.arch-lab button{padding:8px 10px}}
/* shared: play button keeps its width next to a time slider, also on phones */
.arch-lab .arch-timeline{flex-wrap:nowrap}
.arch-lab .arch-timeline .arch-play{flex:0 0 auto;min-width:96px}
/* Inside the «Исследовать» disclosure the lab already has a frame: on phones drop the second one so models keep their width. */
@media (max-width:560px){.lesson-disclosure .arch-lab{padding:0;border:0;background:none;box-shadow:none}.lesson-disclosure .arch-lab .arch-stage{padding:4px}}
/* Phones: «Крупные клетки» (ui.mjs zoomable). Cells keep at least 44 px and the board scrolls sideways in its frame;
   the board geometry is unchanged, only its scale. */
.arch-lab .arch-zoom{min-width:0}
.arch-lab .arch-zoom-tools{margin-bottom:8px}
.arch-lab .arch-zoom-hint{margin:0 0 8px;font-weight:600;color:var(--arch-label)}
.arch-lab .arch-zoom-probe{height:0}
.arch-lab .arch-zoom-scroll{overflow-x:auto;overscroll-behavior-x:contain;padding:4px;min-width:0}
/* shared extras for this package: cell boards built from buttons, a status line that is never hidden under the
   sticky header after a programmatic scroll, and a compact step list */
.arch-lab .arch-board{display:grid;gap:0;justify-content:center;margin:auto}
.arch-lab .arch-cell{aspect-ratio:1;min-width:0;min-height:0;width:100%;padding:0;border-radius:0;background:var(--arch-surface);color:var(--arch-ink);border:1px solid var(--arch-grid);outline-offset:-3px;font-variant-numeric:tabular-nums}
.arch-lab .arch-result{scroll-margin-top:96px;scroll-margin-bottom:96px}
.arch-lab .arch-log{margin:0;padding-left:1.4em;display:grid;gap:4px;font-variant-numeric:tabular-nums}
.arch-lab .arch-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:0;padding:0;list-style:none;font-size:14px;color:var(--arch-ink)}
.arch-lab .arch-legend li{display:flex;align-items:center;gap:6px}

/* Same page presentation as the final 2023–2024 edition on main (GPT polish of 18.10.2026): the shared research
   renderer follows the current site on these pages only. Diagrams keep their light paper; controls and readouts
   follow the selected theme. */
[data-problem-id^="phystech-2026-2027-math-"] .cf-figure figcaption,
[data-problem-id^="phystech-2026-2027-math-"] .lesson-source{color:var(--ink-2)}
[data-problem-id^="phystech-2026-2027-math-"] .lesson-source summary{color:var(--ink)}
[data-problem-id^="phystech-2026-2027-math-"] :is(button[data-cf-zoom],button[data-cf-scene-zoom]){color:var(--ink);background:var(--play-stage);border-color:var(--ink-3);border-radius:999px;min-height:44px;padding:10px 16px;margin-top:12px;max-width:100%;line-height:1.4}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-actions button{color:var(--ink);background:var(--play-stage);border-color:var(--ink-3);font-size:16px}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-actions button[data-action=play]{color:var(--on-ink);background:var(--ink);border-color:var(--ink)}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-range-row{grid-template-columns:minmax(60px,1fr) 88px}
[data-problem-id^="phystech-2026-2027-math-"] .cf-number{background:var(--play-stage);color:var(--ink);border-color:var(--ink-3);border-radius:12px;min-height:44px;height:auto;padding:8px 6px;font-size:18px;font-variant-numeric:tabular-nums}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-range-row input[type=range]{min-height:44px;accent-color:var(--accent)}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-results>div{background:var(--play-stage);border-color:var(--play-line);border-radius:14px;padding:14px 16px;font-size:16px}
[data-problem-id^="phystech-2026-2027-math-"] .interactive-results :is(div,span,strong){color:var(--ink)}
[data-problem-id^="phystech-2026-2027-math-"] .learning-interactive :is(button,input){scroll-margin-block:120px}
/* Keep diagrams readable as diagrams, without the inherited white text outline. */
[data-problem-id^="phystech-2026-2027-math-"] :is(.cf-figure-svg,.cf-zoom-content) svg text{stroke:none;paint-order:normal}
[data-problem-id^="phystech-2026-2027-math-"] .cf-figure figcaption button[data-cf-zoom]{display:block;margin:14px auto 0}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px 24px;margin:24px 0;border:1px solid var(--play-line);border-radius:var(--r-lg);background:var(--play-bg);color:var(--ink)}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry>div{flex:1 1 240px;min-width:0}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry strong{font-size:17px}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry p{margin:5px 0 0;color:var(--ink-2);font-size:16px;line-height:1.5}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry a{display:inline-flex;gap:12px;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--ink-3);border-radius:999px;background:var(--play-stage);color:var(--ink);font:600 16px/1.4 var(--font);text-decoration:none}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry a:hover{border-color:var(--accent);color:var(--accent)}
[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:480px){[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry{padding:16px}[data-problem-id^="phystech-2026-2027-math-"] .arch-model-entry a{width:100%;justify-content:space-between}}

/* ===== Physics controls of this package (visuals/phys.mjs): slider + exact input + large «−»/«+» ===== */
.arch-lab .phx-controls{display:grid;gap:12px;min-width:0}
.arch-lab .phx-params{display:grid;gap:12px;min-width:0}
.arch-lab .phx-param{display:grid;gap:2px;min-width:0;padding:6px 10px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .phx-param-label{display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.arch-lab .phx-param-name{font-weight:600;color:var(--arch-label)}
.arch-lab .phx-param-bounds{font-weight:400;font-size:13px;color:var(--arch-muted)}
.arch-lab .phx-param .arch-help{font-size:13px}
.arch-lab .phx-param-row{display:grid;grid-template-columns:48px minmax(0,1fr) 48px var(--phx-num-w,84px);gap:8px;align-items:center;min-width:0}
.arch-lab .phx-param-row input[type=range]{width:100%;margin:0}
.arch-lab .phx-step{min-width:48px;min-height:48px;padding:0;font-size:24px;font-weight:600;line-height:1;border-radius:12px}
.arch-lab input.phx-num{width:100%;font-size:18px;min-height:48px;padding:8px 10px;text-align:right;font-variant-numeric:tabular-nums}
.arch-lab .phx-param-msg{margin:0;font-size:14px;color:var(--arch-bad);min-height:0}
.arch-lab .phx-param-msg:empty{display:none}
@media (max-width:420px){
 .arch-lab .phx-param-row{grid-template-columns:48px minmax(0,1fr) 48px;grid-template-areas:"range range range" "minus num plus"}
 .arch-lab .phx-param-row input[type=range]{grid-area:range}
 .arch-lab .phx-param-row .phx-step:first-child{grid-area:minus}
 .arch-lab .phx-param-row .phx-step:nth-child(3){grid-area:plus}
 .arch-lab .phx-param-row input.phx-num{grid-area:num}
}
.arch-lab .phx-presets{display:grid;gap:6px}
.arch-lab .phx-presets-title{margin:0;font-weight:600;color:var(--arch-label)}
.arch-lab .phx-preset[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);font-weight:600}
.arch-lab .phx-preset-state{margin:0;font-size:14px;color:var(--arch-muted)}
.arch-lab .phx-readouts dd.phx-secret{color:var(--arch-muted)}
.arch-lab .phx-time{font-variant-numeric:tabular-nums;font-weight:600;min-width:9em;color:var(--arch-ink)}
.arch-lab .phx-clock{display:grid;gap:6px}
/* KFU-S04 (11.11.2026): the time line keeps its own row and the play button its width, so the rows of the clock never re-wrap while the time runs */
.arch-lab .phx-clock .phx-time{flex:1 0 100%;white-space:nowrap}
.arch-lab .arch-timeline .arch-play{min-width:112px}
.arch-lab .phx-clock input[type=range]{flex:1 1 160px}
.arch-lab .phx-svg{display:block;width:100%;height:auto}
.arch-lab .phx-stage{padding:4px}
.arch-lab .phx-stage-pair{display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}
@media (min-width:900px){.arch-lab .phx-stage-pair.phx-two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
.arch-lab .phx-choice{display:flex;flex-wrap:wrap;gap:8px}
.arch-lab .phx-note{margin:0;font-size:14px;color:var(--arch-muted)}
/* SVG: theme-aware strokes and fills */
.arch-lab .phx-svg{--phx-a:#1d4ed8;--phx-b:#c2410c;--phx-c:#047857;--phx-d:#7c3aed;--phx-water:#dbeafe;--phx-body:#e2e8f0;--phx-paper:#ffffff}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg{--phx-a:#93c5fd;--phx-b:#fdba74;--phx-c:#6ee7b7;--phx-d:#c4b5fd;--phx-water:#0c2a3f;--phx-body:#334155;--phx-paper:transparent}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg{--phx-a:#93c5fd;--phx-b:#fdba74;--phx-c:#6ee7b7;--phx-d:#c4b5fd;--phx-water:#0c2a3f;--phx-body:#334155;--phx-paper:transparent}
.arch-lab .phx-svg .phx-line{stroke:var(--arch-fig-line);stroke-width:2;fill:none}
.arch-lab .phx-svg .phx-thin{stroke:var(--arch-fig-line);stroke-width:1;fill:none}
.arch-lab .phx-svg .phx-dash{stroke:var(--arch-muted);stroke-width:1.5;fill:none;stroke-dasharray:5 4}
.arch-lab .phx-svg .phx-body{fill:var(--phx-body);stroke:var(--arch-fig-line);stroke-width:2}
.arch-lab .phx-svg .phx-body-a{fill:var(--phx-a);stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .phx-body-b{fill:var(--phx-b);stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .phx-water{fill:var(--phx-water);stroke:none}
.arch-lab .phx-svg .phx-ground{stroke:var(--arch-fig-line);stroke-width:2.5}
.arch-lab .phx-svg .phx-hatch{stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab .phx-svg .phx-grid{stroke:var(--arch-grid);stroke-width:1}
.arch-lab .phx-svg .phx-axis{stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .phx-tick{font-size:12px;fill:var(--arch-muted)}
.arch-lab .phx-svg .phx-axis-label{font-size:13px;font-weight:600}
.arch-lab .phx-svg .phx-text{font-size:15px}
.arch-lab .phx-svg .phx-small{font-size:12.5px}
.arch-lab .phx-svg .phx-big{font-size:18px;font-weight:600}
.arch-lab .phx-svg .phx-curve{fill:none;stroke:var(--phx-a);stroke-width:2.5}
.arch-lab .phx-svg .phx-curve-b{fill:none;stroke:var(--phx-b);stroke-width:2.5}
.arch-lab .phx-svg .phx-curve-c{fill:none;stroke:var(--phx-c);stroke-width:2.5}
.arch-lab .phx-svg .phx-curve-d{fill:none;stroke:var(--phx-d);stroke-width:2.5}
.arch-lab .phx-svg .phx-ghost{fill:none;stroke:var(--arch-muted);stroke-width:1.5;stroke-dasharray:3 4}
.arch-lab .phx-svg .phx-arrow .phx-arrow-shaft{stroke:var(--arch-accent);stroke-width:2.5}
.arch-lab .phx-svg .phx-arrow .phx-arrow-head{fill:var(--arch-accent);stroke:none}
.arch-lab .phx-svg .phx-arrow-a .phx-arrow-shaft{stroke:var(--phx-a);stroke-width:2.5}
.arch-lab .phx-svg .phx-arrow-a .phx-arrow-head{fill:var(--phx-a);stroke:none}
.arch-lab .phx-svg .phx-arrow-b .phx-arrow-shaft{stroke:var(--phx-b);stroke-width:2.5}
.arch-lab .phx-svg .phx-arrow-b .phx-arrow-head{fill:var(--phx-b);stroke:none}
.arch-lab .phx-svg .phx-arrow-c .phx-arrow-shaft{stroke:var(--phx-c);stroke-width:2.5}
.arch-lab .phx-svg .phx-arrow-c .phx-arrow-head{fill:var(--phx-c);stroke:none}
.arch-lab .phx-svg .phx-arrow-ink .phx-arrow-shaft{stroke:var(--arch-fig-line);stroke-width:1.6}
.arch-lab .phx-svg .phx-arrow-ink .phx-arrow-head{fill:var(--arch-fig-line);stroke:none}
.arch-lab .phx-svg .phx-dot{fill:var(--arch-fig-line);stroke:none}
.arch-lab .phx-svg .phx-dot-a{fill:var(--phx-a);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .phx-dot-b{fill:var(--phx-b);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .phx-dot-c{fill:var(--phx-c);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .phx-fill-a{fill:var(--phx-a);fill-opacity:.18;stroke:var(--phx-a);stroke-width:1.5}
.arch-lab .phx-svg .phx-fill-b{fill:var(--phx-b);fill-opacity:.18;stroke:var(--phx-b);stroke-width:1.5}
.arch-lab .phx-svg .phx-fill-c{fill:var(--phx-c);fill-opacity:.18;stroke:var(--phx-c);stroke-width:1.5}
.arch-lab .phx-svg .phx-fill-d{fill:var(--phx-d);fill-opacity:.18;stroke:var(--phx-d);stroke-width:1.5}
.arch-lab .phx-svg .phx-wire{stroke:var(--arch-fig-line);stroke-width:2.5;fill:none;stroke-linecap:round}
.arch-lab .phx-svg .phx-hot{stroke:var(--phx-b);stroke-width:4;fill:none;stroke-linecap:round}
.arch-lab .phx-svg .phx-cold{stroke:var(--phx-a);stroke-width:4;fill:none;stroke-linecap:round}
.arch-lab .phx-svg .phx-text-a{fill:var(--phx-a);font-weight:600}
.arch-lab .phx-svg .phx-text-b{fill:var(--phx-b);font-weight:600}
.arch-lab .phx-svg .phx-text-c{fill:var(--phx-c);font-weight:600}
.arch-lab .phx-svg text{paint-order:stroke;stroke:var(--arch-surface);stroke-width:3px;stroke-linejoin:round}
.arch-lab .phx-svg .phx-tick,.arch-lab .phx-svg .phx-nohalo{stroke:none}
.arch-lab .phx-drag{cursor:grab;touch-action:none}
.arch-lab .phx-handle{fill:var(--phx-b);fill-opacity:.25;stroke:var(--phx-b);stroke-width:2}
.arch-lab .phx-handle:focus-visible{outline:none;stroke:var(--arch-focus);stroke-width:4}
/* Readouts as a two-column table: long values wrap instead of running off a phone screen. */
.arch-lab .phx-readouts{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:6px 12px;align-items:baseline}
.arch-lab .phx-readouts>div{display:contents}
.arch-lab .phx-readouts dd{white-space:normal;overflow-wrap:anywhere}
.arch-lab .phx-svg .phx-rod{stroke:var(--arch-fig-line);stroke-width:7;stroke-linecap:round;fill:none}
.arch-lab .phx-svg .phx-arrow-g .phx-arrow-shaft{stroke:var(--arch-fig-line);stroke-width:3}
.arch-lab .phx-svg .phx-arrow-g .phx-arrow-head{fill:var(--arch-fig-line);stroke:none}
/* ===== Additions of the final package ===== */
/* Check boxes: a large box and a whole-label touch target of at least 44 px. */
.arch-lab label.arch-row{min-height:44px;cursor:pointer;flex-wrap:nowrap}
.arch-lab label.arch-row>span{flex:1 1 auto;min-width:0}
.arch-lab input[type=checkbox]{width:24px;height:24px;margin:0;flex:0 0 auto;accent-color:var(--arch-primary-bg)}

/* Phone controls remain in document flow: a sticky scene hid parameter names,
   sliders and playback buttons while scrolling. Never trade readable controls for a floating scene. */
.learning-interactive.arch-lab{overflow:clip}
@media (max-width:600px) and (min-height:500px){
 .arch-lab .phx-stage{position:relative;top:auto;z-index:auto;background:var(--arch-surface);max-height:40vh}
 .arch-lab .phx-stage .phx-svg{max-height:calc(40vh - 10px)}
 /* z-index:auto too: in a grid or flex lab body a static item with a z-index still stacks and would scroll over the sticky scene */
 .arch-lab .phx-stage ~ .phx-stage,.arch-lab .phx-stage-pair .phx-stage{position:static;z-index:auto;max-height:none}
 .arch-lab .phx-stage-pair .phx-svg{max-height:none}
}
/* Narrow screens: readout names and values in two equal columns, long names may break */
@media (max-width:360px){
 .arch-lab .phx-readouts{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
 .arch-lab .phx-readouts dt{overflow-wrap:anywhere}
}

/* ===== Additions of the Phystech 2024/25 math qualifying package (copied with it; reused by the labs of this package) ===== */
/* Official versions: ID chips, the statement of the chosen version, «свои значения» status with a way back. */
.arch-lab .p25-versions{display:grid;gap:8px;min-width:0;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .p25-versions-head,.arch-lab .p25-data-head{margin:0;font-weight:700;color:var(--arch-label)}
.arch-lab .p25-chip-group{display:grid;gap:4px}
.arch-lab .p25-chip-title{margin:0;font-size:14px;color:var(--arch-muted)}
.arch-lab .p25-chips{gap:8px}
.arch-lab .p25-chip{font-variant-numeric:tabular-nums}
.arch-lab .p25-chip[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);font-weight:700;box-shadow:inset 0 0 0 1px var(--arch-pressed-line)}
.arch-lab .p25-version{display:grid;gap:4px;padding:10px 12px;border-radius:10px;background:var(--p25-paper);border-left:4px solid var(--arch-pressed-line)}
.arch-lab .p25-version p{margin:0}
.arch-lab .p25-version-title{font-size:14px;font-weight:600;color:var(--arch-muted)}
.arch-lab .p25-version-text{font-size:16px;line-height:1.55;color:var(--arch-ink);overflow-wrap:anywhere}
.arch-lab .p25-version-diff{font-size:14px;color:var(--arch-label);font-weight:600}
.arch-lab .p25-status-row{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center}
.arch-lab .p25-status{margin:0;font-size:14px;color:var(--arch-muted);flex:1 1 220px}
.arch-lab .p25-data{display:grid;gap:8px;min-width:0}
/* the hidden result: nothing of it is in the page before the press */
.arch-lab .p25-secret{display:grid;gap:8px}
.arch-lab .p25-reveal{justify-self:start}
.arch-lab .p25-secret-body{display:grid;gap:6px;padding:12px 14px;border-radius:12px;border:2px solid var(--arch-good);background:var(--arch-surface);color:var(--arch-ink);line-height:1.55}
.arch-lab .p25-secret-body p{margin:0}
.arch-lab .p25-secret-body:focus{outline:3px solid var(--arch-focus);outline-offset:2px}
.arch-lab .p25-secret-body strong{color:var(--arch-good)}
.arch-lab .p25-facts dd.phx-secret{font-weight:700}
/* own actions of a lab: cards, cells, tokens as real buttons with a 44 px target */
.arch-lab .p25-tiles{display:flex;flex-wrap:wrap;gap:6px}
.arch-lab .p25-tile{min-width:44px;min-height:44px;padding:6px 10px;border-radius:10px;border:1px solid var(--arch-field-line);background:var(--arch-surface);color:var(--arch-ink);font-weight:600;font-variant-numeric:tabular-nums}
.arch-lab .p25-tile[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);box-shadow:inset 0 0 0 1px var(--arch-pressed-line)}
.arch-lab .p25-warn{margin:0;padding:10px 12px;border-radius:10px;background:var(--arch-bad-bg);color:var(--arch-ink);border:1px solid var(--arch-bad)}
.arch-lab .p25-ok{margin:0;padding:10px 12px;border-radius:10px;background:var(--arch-ok-bg);color:var(--arch-ink);border:1px solid var(--arch-good)}
.arch-lab .p25-math{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
/* drawn objects (draw.mjs): illustration colours with an outline that follows the theme */
.arch-lab{--p25-paper:#f6f8fc;--p25-skin:#f6d2b4;--p25-hair-a:#7c4a25;--p25-hair-b:#2b2b33;--p25-hair-c:#d9a441;--p25-shirt-a:#3b82f6;--p25-shirt-b:#ef6c3a;--p25-shirt-c:#22a06b;--p25-shirt-d:#8b5cf6;--p25-pants:#334155;--p25-card:#fffdf7;--p25-card-edge:#c9b98f;--p25-board:#24543f;--p25-board-ink:#f4f1e6;--p25-wood:#b07a43;--p25-candy-a:#ef4444;--p25-candy-b:#f59e0b;--p25-candy-c:#7c4a25;--p25-paper2:#ffffff;--p25-grass:#86c06c;--p25-grass2:#5f9d4b;--p25-soil:#c9a26b;--p25-water:#bfe1f6;--p25-metal:#94a3b8;--p25-glass:#cfe8ff;--p25-track:#d97757}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--p25-paper:#1b2333;--p25-track:#a3523b;--p25-skin:#e8bf9c;--p25-card:#f3efe2;--p25-card-edge:#8f8466;--p25-board:#1f4a37;--p25-paper2:#e9edf5;--p25-water:#1e4a66;--p25-glass:#8db8de}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--p25-paper:#1b2333;--p25-track:#a3523b;--p25-skin:#e8bf9c;--p25-card:#f3efe2;--p25-card-edge:#8f8466;--p25-board:#1f4a37;--p25-paper2:#e9edf5;--p25-water:#1e4a66;--p25-glass:#8db8de}
.arch-lab .phx-svg .p25-o{stroke:var(--arch-fig-line);stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.arch-lab .phx-svg .p25-o-thin{stroke:var(--arch-fig-line);stroke-width:1;stroke-linejoin:round}
.arch-lab .phx-svg .p25-card-text{fill:#1f2937;font-weight:700;stroke:none}
.arch-lab .phx-svg .p25-board-text{fill:var(--p25-board-ink);stroke:none;font-family:"Comic Sans MS","Chalkboard SE","Segoe Print",system-ui,sans-serif}
.arch-lab .phx-svg .p25-shadow{fill:#0f172a;fill-opacity:.12;stroke:none}

.arch-lab .phx-svg .p25-track{fill:var(--p25-track);stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-grass{fill:var(--p25-grass);stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-lane{fill:none;stroke:#ffffff;stroke-width:1.5;stroke-dasharray:7 7;opacity:.85}
.arch-lab .p25-swap{gap:6px}
.arch-lab .p25-swap .p25-tile{min-width:44px;font-size:20px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--p25-card);color:#1f2937;border-color:var(--p25-card-edge)}
.arch-lab .p25-swap .p25-tile.p25-bad{border:2px solid var(--arch-bad);background:var(--arch-bad-bg);color:var(--arch-ink)}
.arch-lab .p25-swap .p25-tile.p25-r0{box-shadow:inset 0 -5px 0 #3b82f6}
.arch-lab .p25-swap .p25-tile.p25-r1{box-shadow:inset 0 -5px 0 #ef6c3a}
.arch-lab .p25-swap .p25-tile.p25-r2{box-shadow:inset 0 -5px 0 #22a06b}
.arch-lab .p25-swap .p25-tile[aria-pressed=true]{outline:3px solid var(--arch-focus);outline-offset:2px}
.arch-lab .p25-swap-note{margin:4px 0 0;min-height:1.4em}
.arch-lab .p25-picks .p25-tile{font-variant-numeric:tabular-nums;background:var(--p25-card);color:#1f2937;border-color:var(--p25-card-edge)}
.arch-lab .p25-picks .p25-tile[aria-pressed=true]{background:#fde68a;border-color:#b45309;box-shadow:inset 0 0 0 2px #b45309}
.arch-lab .p25-picks .p25-tile.p25-r0{box-shadow:inset 0 -5px 0 #3b82f6}
.arch-lab .p25-picks .p25-tile.p25-r1{box-shadow:inset 0 -5px 0 #ef6c3a}
.arch-lab .p25-picks .p25-tile.p25-r2{box-shadow:inset 0 -5px 0 #22a06b}
.arch-lab .p25-picks .p25-tile.p25-r0[aria-pressed=true],.arch-lab .p25-picks .p25-tile.p25-r1[aria-pressed=true],.arch-lab .p25-picks .p25-tile.p25-r2[aria-pressed=true]{background:#fde68a}
.arch-lab .phx-svg .p25-wood-beam{fill:var(--p25-wood);stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab .phx-svg .p25-scale-text{fill:var(--arch-ink);stroke:none;font-weight:600}
.arch-lab .phx-svg .p25-badge{fill:var(--p25-card);stroke:var(--p25-card-edge);stroke-width:1.5}
.arch-lab .phx-svg .p25-badge-text{fill:#1f2937;font-weight:700;stroke:none}
.arch-lab .phx-svg .p25-bubble{fill:#ffffff;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-bubble-text{fill:#1f2937;font-size:11px;font-weight:600;stroke:none}
/* 9-II: a small table inside a lab, the laptop (dimmed screen, sun, battery, power pie), digit tiles, stone boards */
.arch-lab .p25-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
.arch-lab .p25-table caption{text-align:left;font-weight:600;padding:0 0 4px}
.arch-lab .p25-table th,.arch-lab .p25-table td{border:1px solid var(--arch-soft-line);padding:6px 8px;text-align:left}
@media (max-width:420px){.arch-lab .p25-table{font-size:14px}.arch-lab .p25-table th,.arch-lab .p25-table td{padding:5px 4px}}
.arch-lab .p25-table td.phx-secret{text-align:center}
.arch-lab .phx-svg .p25-dim{fill:#0b1220;stroke:none}
.arch-lab .phx-svg .p25-sun{fill:#facc15;stroke:#b45309;stroke-width:1}
.arch-lab .phx-svg .p25-sun-ray{stroke:#f59e0b;stroke-width:2;stroke-linecap:round}
.arch-lab .phx-svg .p25-battery{fill:var(--arch-surface);stroke:var(--arch-fig-line);stroke-width:2.5}
.arch-lab .phx-svg .p25-charge{fill:#22c55e;stroke:none}
.arch-lab .phx-svg .p25-charge-low{fill:#ef4444;stroke:none}
.arch-lab .phx-svg .p25-pie-empty{fill:none;stroke:var(--arch-fig-line);stroke-width:1.5;stroke-dasharray:4 3}
.arch-lab .phx-svg .p25-pie-rest{fill:var(--p25-shirt-a);stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-pie-screen{fill:#facc15;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .p25-digits .p25-tile{font-size:22px;min-width:44px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--p25-card);color:#1f2937;border-color:var(--p25-card-edge)}
.arch-lab .p25-digits .p25-tile.p25-r1{box-shadow:inset 0 -5px 0 #ef6c3a}
.arch-lab .p25-digits .p25-tile[aria-pressed=true]{outline:3px solid var(--arch-focus);outline-offset:2px;background:#fde68a}
.arch-lab .p25-digits{gap:4px}
.arch-lab .p25-pad{margin-top:4px}
.arch-lab .p25-tile-sm{font-size:18px}
.arch-lab .p25-tile[aria-disabled=true]{opacity:.45}
.arch-lab .p25-tile-wide{min-width:64px}
.arch-lab .p25-subsets{font-variant-numeric:tabular-nums;columns:2 220px;column-gap:24px}
.arch-lab .phx-svg .p25-cell-a{fill:#efe6d2;stroke:var(--p25-card-edge);stroke-width:1}
.arch-lab .phx-svg .p25-cell-b{fill:#e2d3b3;stroke:var(--p25-card-edge);stroke-width:1}
.arch-lab .phx-svg .p25-cell-sel{fill:#fde68a;stroke:#b45309;stroke-width:3}
.arch-lab .phx-svg .p25-cell-cur{fill:none;stroke:var(--arch-focus);stroke-width:3;stroke-dasharray:6 4}
.arch-lab .phx-svg .p25-g0{fill:#e5e7eb}
.arch-lab .phx-svg .p25-g1{fill:#fde68a}
.arch-lab .phx-svg .p25-g2{fill:#86efac}
/* 10-I №7: numbers in rows of five (a column = a remainder mod 5) */
.arch-lab .p25-grid5{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:6px;max-width:420px}
.arch-lab .p25-tile.p25-good{border:2px solid var(--arch-good);background:var(--arch-ok-bg)}
.arch-lab .p25-tile.p25-out{border-style:dashed;opacity:.7}
.arch-lab .p25-tile.p25-now{box-shadow:0 0 0 3px var(--arch-pressed-line)}
/* 10-II: Oleg's squared notebook (the page stays paper-light in both themes, so the ink colours are fixed) */
.arch-lab .phx-svg .p25-page{fill:var(--p25-paper2);stroke:var(--p25-card-edge);stroke-width:1.2}
.arch-lab .phx-svg .p25-grid-line{stroke:#c7d7ee;stroke-width:.8}
.arch-lab .phx-svg .p25-margin-line{stroke:#ef9a9a;stroke-width:1.2}
.arch-lab .phx-svg .p25-hand{fill:#1e3a8a;stroke:none;font-size:17px;font-weight:600;font-family:"Segoe Print","Comic Sans MS","Chalkboard SE",system-ui,sans-serif}
.arch-lab .phx-svg .p25-hand-mid{fill:#047857}
.arch-lab .phx-svg .p25-mid-box{fill:none;stroke:#047857;stroke-width:2}
.arch-lab .phx-svg .p25-pair-arc{fill:none;stroke:#b45309;stroke-width:1.6}
.arch-lab .phx-svg .p25-page-note{fill:#475569;stroke:none;font-size:13px}
/* 10-II: the last digits that must be replaced, a ray from the origin, lists of checks */
.arch-lab .p25-digits .p25-tile.p25-tail{border-bottom:3px dashed #ef6c3a}
.arch-lab .phx-svg .p25-ray{stroke:var(--p25-shirt-b);stroke-width:2.2}
.arch-lab .p25-checks{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
/* 10-II: snow under the bird feeders, the magician's spectators */
.arch-lab{--p25-snow:#eef4fb}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--p25-snow:#26324a}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--p25-snow:#26324a}
.arch-lab .phx-svg .p25-snow{fill:var(--p25-snow);stroke:none}
.arch-lab .p25-picks .p25-tile.p25-bad-tile{border:2px dashed var(--arch-bad)}
.arch-lab .phx-svg .p25-sel-glow{fill:#fde68a;fill-opacity:.55;stroke:#b45309;stroke-width:1.5}
.arch-lab .phx-svg .p25-sig-bad{fill:var(--arch-bad);stroke:none;font-size:13px;font-weight:700}
.arch-lab .phx-svg .p25-bubble-num{fill:var(--arch-good);stroke:none;font-size:15px;font-weight:700}
.arch-lab .p25-daychip[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);font-weight:700;box-shadow:inset 0 0 0 1px var(--arch-pressed-line)}
/* Phystech 2024/25 math 11, round I */
.arch-lab .p25-tile.p25-no{border:2px dashed var(--arch-bad)}
.arch-lab .p25-tile.p25-tile-black{background:#1f2937;color:#fff;border-color:#111827}
.arch-lab .phx-svg .p25-strip{fill:var(--arch-clear);stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-strip-q{fill:var(--arch-piece-b);stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-strip-cut{stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab .phx-svg .p25-strip-left{fill:var(--arch-bad);opacity:.85}
.arch-lab .phx-svg .p25-eaten{fill:var(--p25-candy-c);stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-eaten-target{fill:var(--p25-candy-b);stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-plate{stroke:var(--p25-metal);stroke-width:5;stroke-linecap:round}
.arch-lab .phx-svg .p25-gift{fill:#fde7ef;stroke:#be185d;stroke-width:2}
.arch-lab .phx-svg .p25-ribbon{fill:#ef4444;opacity:.5}
.arch-lab .phx-svg .p25-share-a{fill:var(--p25-candy-a)}
.arch-lab .phx-svg .p25-share-b{fill:var(--p25-candy-b)}
.arch-lab .phx-svg .p25-share-c{fill:var(--p25-candy-c)}
.arch-lab .phx-svg .p25-bar-frame{fill:none;stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-road{fill:var(--p25-soil)}
.arch-lab .phx-svg .p25-grass-soft{fill:var(--p25-grass);opacity:.35}
.arch-lab .phx-svg .p25-roof{fill:#b45309;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-house-a{fill:#fde68a;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-house-b{fill:#fed7aa;stroke:var(--arch-fig-line);stroke-width:1;stroke-dasharray:3 2}
.arch-lab .phx-svg .p25-door,.arch-lab .phx-svg .p25-trunk{fill:#7c4a25}
.arch-lab .phx-svg .p25-crown-a{fill:#22a06b;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-crown-b{fill:#86c06c;stroke:var(--arch-fig-line);stroke-width:1;stroke-dasharray:3 2}
.arch-lab .phx-svg .p25-hollow{fill:#3b2414}
.arch-lab .phx-svg .p25-base{fill:var(--arch-clear);stroke:none;opacity:.85}
.arch-lab .phx-svg .p25-proj-a{stroke:var(--phx-b);stroke-width:3.5;stroke-linecap:round}
.arch-lab .phx-svg .p25-proj-b{stroke:var(--phx-c);stroke-width:3.5;stroke-linecap:round}
.arch-lab .phx-svg .p25-cell{fill:var(--arch-surface);stroke:var(--arch-soft-line);stroke-width:1}
.arch-lab .phx-svg .p25-cell-ok{fill:var(--arch-ok-bg);stroke:var(--arch-good);stroke-width:2}
.arch-lab .phx-svg .p25-cell-out{fill:var(--arch-clear);stroke:var(--arch-soft-line);stroke-dasharray:3 3}
.arch-lab .phx-svg .p25-cell-frame{fill:none;stroke:var(--arch-focus);stroke-width:3}
.arch-lab .phx-svg .p25-cell-num-sel{font-weight:700}
.arch-lab .phx-svg .p25-lens{fill:var(--arch-surface);stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab .phx-svg .p25-lens-line{fill:none;stroke:var(--arch-muted);stroke-width:1;stroke-dasharray:4 4}
.arch-lab .phx-svg .p25-lens-mark{fill:var(--arch-accent);opacity:.2}
/* Phystech 2024/25 math 11, round II */
.arch-lab .phx-svg .p25-card-ok{fill:var(--arch-ok-bg);stroke:var(--arch-good);stroke-width:1.5}
.arch-lab .phx-svg .p25-card-no{fill:var(--arch-bad-bg);stroke:var(--arch-bad);stroke-width:1.2;stroke-dasharray:4 3}
.arch-lab .phx-svg .p25-bead{fill:#f59e0b;stroke:#92400e;stroke-width:1.2}
.arch-lab .phx-svg .p25-bead-v{fill:#60a5fa;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab .phx-svg .p25-bead-text{fill:#1f2937;stroke:none;font-size:11px;font-weight:700}
.arch-lab .phx-svg .p25-string{stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-cut{stroke:var(--arch-bad);stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .p25-gap{fill:transparent;stroke:none;cursor:pointer}
.arch-lab .p25-table td.p25-yes{color:var(--arch-good);font-weight:700}
.arch-lab .p25-table td.p25-nope{color:var(--arch-bad)}
.arch-lab .p25-table tr.p25-row-now td{background:var(--arch-pressed-bg)}
.arch-lab .p25-scroll{overflow-x:auto;max-width:100%}
.arch-lab .p25-steppers{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,204px),1fr));gap:8px;min-width:0}
.arch-lab .p25-stepper{display:flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid var(--arch-soft-line);border-radius:10px;background:var(--arch-surface)}
.arch-lab .p25-stepper-P{border:2px solid var(--p25-shirt-b)}
.arch-lab .p25-step-label{min-width:24px;font-weight:700;font-variant-numeric:tabular-nums}
.arch-lab input.p25-step-num{width:52px;min-width:52px;flex:0 0 52px;text-align:center;padding:8px 4px}
.arch-lab .p25-stepper .phx-step{flex:0 0 auto}
.arch-lab .phx-svg .p25-cell-add{fill:var(--p25-shirt-b);fill-opacity:.55;stroke:var(--arch-fig-line);stroke-width:1}
.arch-lab .phx-svg .p25-sq-a{fill:var(--phx-a);fill-opacity:.16;stroke:var(--phx-a);stroke-width:2}
.arch-lab .phx-svg .p25-sq-b{fill:var(--phx-b);fill-opacity:.16;stroke:var(--phx-b);stroke-width:2}
.arch-lab .phx-svg .p25-common{fill:var(--phx-c);fill-opacity:.45;stroke:var(--phx-c);stroke-width:2}
.arch-lab .phx-svg .p25-bar-a{fill:var(--phx-a);fill-opacity:.7;stroke:none}
.arch-lab .phx-svg .p25-bar-b{fill:var(--phx-b);fill-opacity:.7;stroke:none}
.arch-lab .phx-svg .p25-old-border{fill:none;stroke:var(--arch-fig-line);stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab .phx-svg .p25-mark-need{fill:var(--arch-focus);stroke:none}
.arch-lab .phx-svg .p25-base-tri{fill:var(--p25-soil);fill-opacity:.35;stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .p25-face{fill:var(--phx-a);fill-opacity:.12;stroke:none}
.arch-lab .phx-svg .p25-chord{stroke:var(--phx-a);stroke-width:1.6;opacity:.75}
.arch-lab .phx-svg .p25-missing{stroke:var(--arch-bad);stroke-width:2.5;stroke-dasharray:6 5}
.arch-lab .phx-svg .p25-env-sel{fill:#fde68a;fill-opacity:.6;stroke:#b45309;stroke-width:2}
.arch-lab .p25-env-tiles .p25-tile{min-width:44px;font-variant-numeric:tabular-nums}
/* Phystech 2024/25 math 11, round III */
.arch-lab .phx-svg .p25-heat-pos{fill:var(--phx-c);stroke:none}
.arch-lab .phx-svg .p25-heat-neg{fill:var(--phx-b);stroke:none}
.arch-lab .phx-svg .p25-band-a{stroke:var(--phx-a);stroke-width:9;stroke-linecap:butt}
.arch-lab .phx-svg .p25-band-b{stroke:var(--phx-b);stroke-width:9;stroke-linecap:butt}
.arch-lab .phx-svg .p25-band-bad{stroke:var(--arch-bad);stroke-width:9;stroke-linecap:butt}
.arch-lab .phx-svg .p25-band-good{stroke:var(--arch-good);stroke-width:9;stroke-linecap:butt}
.arch-lab .phx-svg .p25-try-ok{fill:var(--arch-good);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .p25-try-no{fill:var(--arch-bad);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .p25-region-a{fill:var(--phx-a);fill-opacity:.28;stroke:var(--phx-a);stroke-width:1.2}
.arch-lab .phx-svg .p25-region-b{fill:var(--phx-b);fill-opacity:.28;stroke:var(--phx-b);stroke-width:1.2}
.arch-lab .phx-svg .p25-region-c{fill:var(--phx-c);fill-opacity:.28;stroke:var(--phx-c);stroke-width:1.2}
.arch-lab .phx-svg .p25-region-q{fill:var(--phx-d);fill-opacity:.12;stroke:var(--phx-d);stroke-width:1}
.arch-lab .p25-nb{border-collapse:collapse;font-variant-numeric:tabular-nums}
.arch-lab .p25-nb th{padding:4px 6px;font-weight:600;text-align:center;white-space:nowrap}
.arch-lab .p25-nb td{padding:2px}
.arch-lab .p25-nb .p25-tile{min-width:44px;min-height:44px;padding:4px}
.arch-lab .p25-nb .p25-tile[aria-pressed="true"]{border:2px solid var(--arch-good);background:var(--arch-ok-bg)}
.arch-lab .p25-nb th.p25-nb-bad,.arch-lab .p25-nb td.p25-nb-bad{background:var(--arch-bad-bg)}

/* «Высшая проба»: атрибут hidden всегда скрывает элемент модели, даже если у блока задан display:grid/flex (замечание исполнителя 8 класса) */
[data-arch-lab] [hidden]{display:none!important}
/* GPT-1 VP-R01 (#251, as R09 of the Phystech package): the site measures a display formula by its .katex-html, but KaTeX's own
   `.katex-display>.katex>.katex-html{display:block}` outranks the site's inline-block — the box then spans the column, and a
   fractional column width marked a formula that fits (295 / 295) as «↔ Прокрути формулу». Measured by its real width here. */
[data-problem-id^="higher-test-202"] .math-display .katex-display>.katex>.katex-html{display:inline-block}
/* GPT-1 VP-R01 (round 2): the site gives a short inline formula max-width:100% and its own horizontal scroll — in a narrow table
   cell the end of «73 + 29 = 102» or of «n» was silently cut off. In the tables of this package a formula keeps its whole width
   (the tables are written narrow enough for 360 px; the self-check watches the table wrapper). The selector outranks the site's
   `:root[data-design="v2"]:not(:has(…)) .lesson-main .math-inline-short`. */
:root[data-design="v2"] [data-problem-id^="higher-test-202"] .lesson-main .lesson-table .math-inline-short,:root[data-design="v2"] [data-problem-id^="higher-test-202"] .lesson-main .lesson-table .katex{max-width:none;overflow:visible}
/* ==== light stage in the dark theme (generated by tools/light-stage.mjs — do not edit by hand) ==== */
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage{background:var(--arch-surface);border-radius:12px;color:var(--arch-ink)}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage{background:var(--arch-surface);border-radius:12px;color:var(--arch-ink)}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage{--bg:#ffffff;--bg-2:#f4f5f7;--surface:#ffffff;--ink:#16213a;--ink-2:#4e586d;--ink-3:#5f6b83;--line:#e3e6ec;--line-2:#cfd4dd;--accent:#2457d6;--accent-ink:#183f9f;--accent-soft:#e9effc;--play-bg:#fff7e8;--play-line:#f1dfb6;--play-ink:#7c5300;--play-accent:#d98b00;--play-stage:#ffffff;--green-soft:#e3f3ea;--ok:#1f7a4b;--warn:#8a5a00;--warn-soft:#fff3d6;--paper-figure:#ffffff;--r:10px;--r-lg:16px;--r-play:22px;--shadow:0 1px 2px rgba(22,33,58,.05), 0 8px 24px rgba(22,33,58,.06);--shadow-sm:0 1px 2px rgba(22,33,58,.06);--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--wrap-w:1120px;--gutter:20px;--on-ink:#ffffff;--mark:#fff1a8;--bad:#a33a2a;--bad-soft:#fbeae6;--stone-bg:#d9e4e1;--stone-line:#90aaa5;--stone-ink:#244b45;--stone-won:#cbddd4;--paper:var(--bg);--muted:var(--ink-2);--blue:var(--accent);--blue-dark:var(--accent-ink);--navy:var(--ink);--soft:var(--bg-2);--white:var(--surface);--study-blue:var(--accent);--study-soft:var(--bg-2);--study-line:var(--line);--study-muted:var(--ink-2);color-scheme:light}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage{--bg:#ffffff;--bg-2:#f4f5f7;--surface:#ffffff;--ink:#16213a;--ink-2:#4e586d;--ink-3:#5f6b83;--line:#e3e6ec;--line-2:#cfd4dd;--accent:#2457d6;--accent-ink:#183f9f;--accent-soft:#e9effc;--play-bg:#fff7e8;--play-line:#f1dfb6;--play-ink:#7c5300;--play-accent:#d98b00;--play-stage:#ffffff;--green-soft:#e3f3ea;--ok:#1f7a4b;--warn:#8a5a00;--warn-soft:#fff3d6;--paper-figure:#ffffff;--r:10px;--r-lg:16px;--r-play:22px;--shadow:0 1px 2px rgba(22,33,58,.05), 0 8px 24px rgba(22,33,58,.06);--shadow-sm:0 1px 2px rgba(22,33,58,.06);--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;--wrap-w:1120px;--gutter:20px;--on-ink:#ffffff;--mark:#fff1a8;--bad:#a33a2a;--bad-soft:#fbeae6;--stone-bg:#d9e4e1;--stone-line:#90aaa5;--stone-ink:#244b45;--stone-won:#cbddd4;--paper:var(--bg);--muted:var(--ink-2);--blue:var(--accent);--blue-dark:var(--accent-ink);--navy:var(--ink);--soft:var(--bg-2);--white:var(--surface);--study-blue:var(--accent);--study-soft:var(--bg-2);--study-line:var(--line);--study-muted:var(--ink-2);color-scheme:light}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage{--arch-surface:#fff;--arch-ink:#1f2937;--arch-label:#203c58;--arch-muted:#5b6b82;--arch-field-line:#aebed1;--arch-soft-line:#d7e1ed;--arch-primary-bg:#244974;--arch-primary-ink:#fff;--arch-link:#244974;--arch-pressed-bg:#e6eefb;--arch-pressed-line:#244974;--arch-good:#047857;--arch-bad:#b91c1c;--arch-fig-line:#1f2937;--arch-grid:#c7d2e0;--arch-fill:#dbeafe;--arch-piece-a:#bfdbfe;--arch-piece-b:#fde68a;--arch-piece-c:#fecaca;--arch-piece-d:#bbf7d0;--arch-accent:#c2410c;--arch-water:#e0f2fe;--arch-ok-bg:#dcfce7;--arch-bad-bg:#fee2e2;--arch-knight:#1d4ed8;--arch-liar:#9f1239;--arch-clear:#e2e8f0;--p25-paper:#f6f8fc;--p25-track:#d97757;--p25-skin:#f6d2b4;--p25-card:#fffdf7;--p25-card-edge:#c9b98f;--p25-board:#24543f;--p25-paper2:#ffffff;--p25-water:#bfe1f6;--p25-glass:#cfe8ff;--p25-snow:#eef4fb;--ht91-a:#1d4ed8;--ht91-a-soft:#dbe7ff;--ht91-b:#c2410c;--ht91-b-soft:#ffe1cc;--ht91-flag:#dc2626;--ht92-ok:#047857;--ht92-bad:#b91c1c;--ht92-tri:#eef4ff;--ht93-de:#c2410c;--ht93-bis:#7c3aed;--ht93-sq2:#047857;--ht93-tan:#db2777;--ht93-strip:#fde7d2;--ht93-hatch:#f0a56a;--ht93-tri:#eef4ff;--ht93-sq:#d1fae5;--ht96-bench:#eef2f7;--ht96-rack:#f3e3cc;--ht96-code:#1f2937}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage{--arch-surface:#fff;--arch-ink:#1f2937;--arch-label:#203c58;--arch-muted:#5b6b82;--arch-field-line:#aebed1;--arch-soft-line:#d7e1ed;--arch-primary-bg:#244974;--arch-primary-ink:#fff;--arch-link:#244974;--arch-pressed-bg:#e6eefb;--arch-pressed-line:#244974;--arch-good:#047857;--arch-bad:#b91c1c;--arch-fig-line:#1f2937;--arch-grid:#c7d2e0;--arch-fill:#dbeafe;--arch-piece-a:#bfdbfe;--arch-piece-b:#fde68a;--arch-piece-c:#fecaca;--arch-piece-d:#bbf7d0;--arch-accent:#c2410c;--arch-water:#e0f2fe;--arch-ok-bg:#dcfce7;--arch-bad-bg:#fee2e2;--arch-knight:#1d4ed8;--arch-liar:#9f1239;--arch-clear:#e2e8f0;--p25-paper:#f6f8fc;--p25-track:#d97757;--p25-skin:#f6d2b4;--p25-card:#fffdf7;--p25-card-edge:#c9b98f;--p25-board:#24543f;--p25-paper2:#ffffff;--p25-water:#bfe1f6;--p25-glass:#cfe8ff;--p25-snow:#eef4fb;--ht91-a:#1d4ed8;--ht91-a-soft:#dbe7ff;--ht91-b:#c2410c;--ht91-b-soft:#ffe1cc;--ht91-flag:#dc2626;--ht92-ok:#047857;--ht92-bad:#b91c1c;--ht92-tri:#eef4ff;--ht93-de:#c2410c;--ht93-bis:#7c3aed;--ht93-sq2:#047857;--ht93-tan:#db2777;--ht93-strip:#fde7d2;--ht93-hatch:#f0a56a;--ht93-tri:#eef4ff;--ht93-sq:#d1fae5;--ht96-bench:#eef2f7;--ht96-rack:#f3e3cc;--ht96-code:#1f2937}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg{--phx-a:#1d4ed8;--phx-b:#c2410c;--phx-c:#047857;--phx-d:#7c3aed;--phx-water:#dbeafe;--phx-body:#e2e8f0;--phx-paper:#ffffff}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg{--phx-a:#1d4ed8;--phx-b:#c2410c;--phx-c:#047857;--phx-d:#7c3aed;--phx-water:#dbeafe;--phx-body:#e2e8f0;--phx-paper:#ffffff}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg text.y75-name.y75-p0{fill:#be185d}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg text.y75-name.y75-p0{fill:#be185d}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg text.y75-name.y75-p1{fill:#c2410c}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg text.y75-name.y75-p1{fill:#c2410c}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg text.y75-name.y75-p2{fill:#047857}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg text.y75-name.y75-p2{fill:#047857}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg .ht92-lbl-a{fill:#1d4ed8}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg .ht92-lbl-a{fill:#1d4ed8}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg .ht92-lbl-b{fill:#15803d}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg .ht92-lbl-b{fill:#15803d}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg .ht92-lbl-c{fill:#6d28d9}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg .ht92-lbl-c{fill:#6d28d9}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage .phx-svg .ht96-sum{fill:#c2410c}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage .phx-svg .ht96-sum{fill:#c2410c}
/* ===== Additions of content-factory/kfu-2025-26-final-v1 (copied from the MOSH package): the answer check by subparts (visuals/parts.mjs) =====
   It sits next to the statement (outside .arch-lab), so it uses the site tokens with light fallbacks. */
.mosh-parts{margin:18px 0 0;padding:16px;border:1px solid var(--line,#d7e1ed);border-radius:16px;background:var(--surface,#fff);min-width:0}
.mosh-parts h3{margin:0 0 6px;font-size:18px}
.mosh-parts .mosh-parts-help{margin:0 0 10px;font-size:15px;color:var(--ink-2,#5b6b82)}
.mosh-parts .mosh-parts-variants{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px}
.mosh-parts .mosh-parts-variants button{font:inherit;font-size:16px;min-height:44px;min-width:44px;padding:8px 16px;border-radius:999px;border:1px solid var(--line,#aebed1);background:transparent;color:inherit;cursor:pointer}
.mosh-parts .mosh-parts-variants button[aria-pressed="true"]{border-color:var(--accent,#244974);background:var(--accent-soft,#e6eefb);font-weight:600}
.mosh-parts .mosh-parts-vnote{margin:0 0 10px;font-size:15px}
.mosh-parts .mosh-part{display:grid;gap:6px;margin:0 0 12px;min-width:0}
.mosh-parts .mosh-part-key{font-weight:700}
.mosh-parts .mosh-part-unit{color:var(--ink-2,#5b6b82)}
.mosh-parts .mosh-part-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.mosh-parts .mosh-part-row input{font:inherit;font-size:18px;min-height:44px;width:min(220px,100%);padding:8px 12px;border:1px solid var(--line,#aebed1);border-radius:12px;background:transparent;color:inherit;min-width:0}
.mosh-parts .mosh-part-result{font-size:15px}
.mosh-parts [data-result="correct"]{color:var(--ok,#047857)}
.mosh-parts [data-result="incorrect"],.mosh-parts [data-result="format"]{color:var(--bad,#b91c1c)}
.mosh-parts .mosh-part-note{margin:0;font-size:15px;color:var(--ink-2,#5b6b82)}
.mosh-parts .mosh-part-checks{margin:4px 0 0;padding:10px 12px;border:1px solid var(--line,#d7e1ed);border-radius:12px;display:grid;gap:4px;min-width:0}
.mosh-parts .mosh-part-checks legend{padding:0 4px;font-size:15px;font-weight:600}
.mosh-parts .mosh-part-check{display:flex;gap:10px;align-items:flex-start;min-height:44px;padding:8px 0;font-size:16px;line-height:1.4;cursor:pointer}
.mosh-parts .mosh-part-check input{flex:none;width:22px;height:22px;margin:1px 0 0;accent-color:var(--accent,#244974)}
.mosh-parts .mosh-parts-submit{font:inherit;font-size:16px;min-height:44px;padding:10px 20px;border-radius:999px;border:1px solid var(--accent,#244974);background:var(--accent,#244974);color:var(--on-ink,#fff);cursor:pointer}
.mosh-parts .mosh-parts-feedback{margin:10px 0 0}

/* a real fraction in a text of a model (ui.mjs setText: «{num|den}») */
.arch-lab .arch-frac{display:inline-flex;flex-direction:column;align-items:stretch;text-align:center;vertical-align:middle;line-height:1.15;margin:0 .15em;font-variant-numeric:tabular-nums}
.arch-lab .arch-frac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .arch-frac>span:last-child{padding:0 .2em}
/* the bar of a fraction spans the wider of numerator and denominator (stretch); a root's bar covers the whole radicand */
.arch-lab .arch-root{display:inline-flex;align-items:flex-start;white-space:nowrap}
.arch-lab .arch-root>span{border-top:1.5px solid currentColor;padding:0 .1em;margin-left:.05em;margin-top:.12em}
.arch-lab sup{font-size:75%;line-height:0}

/* ETALON §3 (приёмка ННГУ 03.11, контраст): the scene of every lab is light paper with dark lines and labels in both themes —
   no dark field with white elements; the symbols of the legend are the same paper (a white chip); the controls and readouts
   around it follow the theme (GPT-1 R11, круг 3). The light values are those of the light theme above; the selectors outrank
   the dark rules of lab.css and of visuals/labs/*.css. */
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage.phx-stage,:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-legend .phx-svg.phx-svg{--arch-surface:#fff;--arch-ink:#1f2937;--arch-label:#203c58;--arch-muted:#5b6b82;--arch-field-line:#aebed1;--arch-soft-line:#d7e1ed;--arch-good:#047857;--arch-bad:#b91c1c;--arch-fig-line:#1f2937;--arch-grid:#c7d2e0;--arch-fill:#dbeafe;--arch-piece-a:#bfdbfe;--arch-piece-b:#fde68a;--arch-piece-c:#fecaca;--arch-piece-d:#bbf7d0;--arch-accent:#c2410c;--arch-water:#e0f2fe;--arch-ok-bg:#dcfce7;--arch-bad-bg:#fee2e2;--arch-knight:#1d4ed8;--arch-liar:#9f1239;--arch-clear:#e2e8f0;--p25-paper:#f6f8fc;--p25-track:#d97757;--p25-skin:#f6d2b4;--p25-card:#fffdf7;--p25-card-edge:#c9b98f;--p25-board:#24543f;--p25-paper2:#ffffff;--p25-water:#bfe1f6;--p25-glass:#cfe8ff;--p25-snow:#eef4fb;color:#1f2937;color-scheme:light}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg,:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-legend .phx-svg.phx-svg{--phx-a:#1d4ed8;--phx-b:#c2410c;--phx-c:#047857;--phx-d:#7c3aed;--phx-water:#dbeafe;--phx-body:#e2e8f0;--phx-paper:#ffffff;--p11-mm:#9fb3c8;--p11-paper:#fbfdff}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11j-thread{stroke:#92400e}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11j-ball{fill:#475569}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11-blot{fill:#ffffff;stroke:#e2e8f0}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage.phx-stage,:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-legend .phx-svg.phx-svg{--arch-surface:#fff;--arch-ink:#1f2937;--arch-label:#203c58;--arch-muted:#5b6b82;--arch-field-line:#aebed1;--arch-soft-line:#d7e1ed;--arch-good:#047857;--arch-bad:#b91c1c;--arch-fig-line:#1f2937;--arch-grid:#c7d2e0;--arch-fill:#dbeafe;--arch-piece-a:#bfdbfe;--arch-piece-b:#fde68a;--arch-piece-c:#fecaca;--arch-piece-d:#bbf7d0;--arch-accent:#c2410c;--arch-water:#e0f2fe;--arch-ok-bg:#dcfce7;--arch-bad-bg:#fee2e2;--arch-knight:#1d4ed8;--arch-liar:#9f1239;--arch-clear:#e2e8f0;--p25-paper:#f6f8fc;--p25-track:#d97757;--p25-skin:#f6d2b4;--p25-card:#fffdf7;--p25-card-edge:#c9b98f;--p25-board:#24543f;--p25-paper2:#ffffff;--p25-water:#bfe1f6;--p25-glass:#cfe8ff;--p25-snow:#eef4fb;color:#1f2937;color-scheme:light}:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg,:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-legend .phx-svg.phx-svg{--phx-a:#1d4ed8;--phx-b:#c2410c;--phx-c:#047857;--phx-d:#7c3aed;--phx-water:#dbeafe;--phx-body:#e2e8f0;--phx-paper:#ffffff;--p11-mm:#9fb3c8;--p11-paper:#fbfdff}:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11j-thread{stroke:#92400e}:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11j-ball{fill:#475569}:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-stage.phx-stage .phx-svg.phx-svg .p11-blot{fill:#ffffff;stroke:#e2e8f0}
:root[data-design="v2"][data-theme="dark"] .arch-lab .arch-legend .phx-svg.phx-svg{background:#fff;border-radius:4px}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .arch-legend .phx-svg.phx-svg{background:#fff;border-radius:4px}}
/* GPT-1 R14 (#263): an inline formula with a fraction (a row .base of KaTeX) gets a little air above and below, so that the
   fractions of neighbouring lines of a paragraph never touch (Safari iPhone: «3» under «D»); the font size stays. */
[data-problem-id^="moscow-physics-2026-2027-"] :is(p,li) .katex:not(.katex-display>.katex) .base:has(.mfrac){padding-block:4px}
/* «Пуск / Пауза» of a parameter (mathLab.play, KFU-S07): the button keeps its width when the text changes */
.arch-lab .arch-play{min-width:112px}
/* «Страница не пляшет» (owner acceptance 11.11.2026): the status line of a model has room for its usual text in advance,
   digits of one width; lab.mjs keeps a block from getting lower afterwards */
.arch-lab .arch-result.phx-result{box-sizing:border-box;min-height:calc(3.1em + 30px);font-variant-numeric:tabular-nums}
.arch-lab .arch-readouts dd{font-variant-numeric:tabular-nums}
@media (max-width:700px){.arch-lab .arch-result.phx-result{min-height:calc(6.2em + 30px)}}
/* room for the longest text met while the model runs (measured at 390 and 1440, kfu-play.mjs) */
.arch-lab .k91-idea{min-height:58px}
.arch-lab .k92-checks{box-sizing:border-box;min-height:84px}
.arch-lab .k114-status{box-sizing:border-box;min-height:60px}
@media (max-width:700px){
 [data-arch-lab="kfu26-m8-5-fractions"] .arch-result.phx-result,[data-arch-lab="kfu26-m8-1-digits"] .arch-result.phx-result,[data-arch-lab="kfu26-m9-2-roots"] .arch-result.phx-result{min-height:154px}
 .arch-lab .k91-idea{min-height:113px}
 .arch-lab .k92-checks{min-height:167px}
 [data-arch-lab="kfu26-p8-2-boards"] .arch-readouts{box-sizing:border-box;min-height:184px}
 [data-arch-lab="kfu26-p8-4-cable"] .arch-readouts{box-sizing:border-box;min-height:131px}
 .arch-lab .kp83-legs{box-sizing:border-box;min-height:283px}
 .arch-lab .k103-status{box-sizing:border-box;min-height:147px}
 .arch-lab .k114-status{min-height:125px}
}
/* mathematical text of the models: real fractions and roots (visuals/mtext.mjs, КР-R06) */
.arch-lab .mt-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;font-size:.78em;line-height:1.1;margin:0 .14em;font-variant-numeric:tabular-nums;white-space:nowrap}
.arch-lab .mt-frac .mt-num{padding:0 .22em .04em;border-bottom:1.5px solid currentColor}
.arch-lab .mt-frac .mt-den{padding:.04em .22em 0}
.arch-lab .mt-root{white-space:nowrap}
.arch-lab .mt-root .mt-rad{border-top:1.5px solid currentColor;padding:0 .1em 0 .06em;margin-left:-.03em}

/* РА-R01: one wide field for a list of numbers or a set of solutions */
.mosh-parts .mosh-part-wide .mosh-part-row input{width:min(340px,100%)}
.mosh-parts .mosh-part-wide .mosh-part-note{margin-top:6px}

/* Review PR508: let the eleven new Matprazdnik solution figures use the full
   disclosure width on phones. The marker and disclosure padding otherwise
   reduce 14.2-unit SVG labels to 11.62 CSS px at 390 px. */
@media(max-width:480px){
 :root[data-design="v2"] :is([data-problem-id^="math-festival-2024-2025-mathematics-6-classic-p"],[data-problem-id^="math-festival-2025-2026-mathematics-7-classic-p"]) .proof-step .cf-figure{
  margin-left:-47px;width:calc(100% + 61px);padding:0;
 }
}

/* Popov Academy — «Бельчонок» 2023/24, 5 класс, №1 «Две суммы спусков». Light paper in both themes. */
.arch-lab .phx-stage.bnm5-stage,.arch-lab .phx-stage.bnm5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bnm5-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bnm5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bnm5-c0{fill:#e0f2fe;stroke:#334155;stroke-width:1.2}
.arch-lab svg .bnm5-c1{fill:#fef3c7;stroke:#334155;stroke-width:1.2}
.arch-lab svg .bnm5-c2{fill:#dcfce7;stroke:#334155;stroke-width:1.2}
.arch-lab svg .bnm5-c3{fill:#fecaca;stroke:#334155;stroke-width:1.2}
.arch-lab .phx-svg text.bnm5-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bnm5-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bnm5-num{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab svg .bnm5-cx{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.2}

/* Popov Academy — «Бельчонок» 2023/24, 5 класс, №2 «Плашки в фигуре». Light paper in both themes. */
.arch-lab .phx-stage.btl5-stage,.arch-lab .phx-stage.btl5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btl5-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .btl5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btl5-light{fill:#ffffff;stroke:#111827;stroke-width:1.6}
.arch-lab svg .btl5-dark{fill:#cbd5e1;stroke:#111827;stroke-width:1.6}
.arch-lab svg .btl5-sel{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .btl5-tile{fill:#fde68a;fill-opacity:.88;stroke:#a16207;stroke-width:2}
.arch-lab svg .btl5-cell{cursor:pointer}
.arch-lab svg .btl5-cell:focus-visible rect{stroke:#1d4ed8;stroke-width:3}

/* Popov Academy — «Бельчонок» 2023/24, 5 класс, №3 «Проверка выражения». Light paper in both themes. */
.arch-lab .phx-stage.bex5-stage,.arch-lab .phx-stage.bex5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bex5-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bex5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bex5-off{fill:#ffffff;stroke:#94a3b8;stroke-width:1.6}
.arch-lab svg .bex5-on{fill:#bbf7d0;stroke:#15803d;stroke-width:2.2}
.arch-lab .phx-svg text.bex5-num{font-size:20px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bex5-lab{font-size:14px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .bex5-row{display:block;margin:10px 0}
.arch-lab .bex5-input{box-sizing:border-box;width:100%;max-width:620px;font-size:20px;padding:10px 12px;border-radius:10px;border:2px solid var(--line,#94a3b8);background:var(--card,#ffffff);color:inherit;font-family:inherit}
.arch-lab .bex5-input:focus-visible{outline:3px solid #1d4ed8;outline-offset:2px}

/* Popov Academy — «Бельчонок» 2023/24, 5 класс, №4 «Карандаши и высказывания». Light paper in both themes. */
.arch-lab .phx-stage.bpc5-stage,.arch-lab .phx-stage.bpc5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpc5-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bpc5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpc5-pen{fill:#f59e0b;stroke:#92400e;stroke-width:1}
.arch-lab svg .bpc5-yes{fill:#bbf7d0;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .bpc5-no{fill:#fecaca;stroke:#b91c1c;stroke-width:1.4}
.arch-lab .phx-svg text.bpc5-who{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bpc5-ok{fill:#15803d}
.arch-lab .phx-svg text.bpc5-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bpc5-mark{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bpc5-st{font-size:14px;fill:#1f2937;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, 5 класс, №5 «Игра против Пуха». Light paper in both themes. */
.arch-lab .phx-stage.bnt5-stage,.arch-lab .phx-stage.bnt5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bnt5-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bnt5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bnt5-nut{fill:#a16207;stroke:#78350f;stroke-width:1.2}
.arch-lab svg .bnt5-gone{fill:none;stroke:#cbd5e1;stroke-width:1.2;stroke-dasharray:3 3}
.arch-lab .phx-svg text.bnt5-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bnt5-h{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bnt5-ry{fill:#1d4ed8}
.arch-lab .phx-svg text.bnt5-pu{fill:#c2410c}
.arch-lab .phx-svg text.bnt5-bad{text-decoration:underline}
.arch-lab .phx-svg text.bnt5-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, 6 класс, №1 «Шкала времени». Light paper in both themes. */
.arch-lab .phx-stage.bti6-stage,.arch-lab .phx-stage.bti6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bti6-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bti6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bti6-tick{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:4 4}
.arch-lab svg .bti6-pass{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .bti6-pass2{fill:#fde68a;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .bti6-left{fill:#f1f5f9;stroke:#64748b;stroke-width:1.2}
.arch-lab svg .bti6-mark{stroke:#16a34a;stroke-width:3}
.arch-lab .phx-svg text.bti6-lab{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bti6-ok{fill:#15803d}
.arch-lab .phx-svg text.bti6-num{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bti6-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, 6 класс, №2 «Таблица двузначных чисел». Light paper in both themes. */
.arch-lab .phx-stage.bdv6-stage,.arch-lab .phx-stage.bdv6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bdv6-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bdv6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bdv6-off{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .bdv6-on{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bdv6-sel{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .bdv6-yes{fill:#dcfce7;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .bdv6-no{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.4}
.arch-lab svg .bdv6-cell{cursor:pointer}
.arch-lab svg .bdv6-cell:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab .phx-svg text.bdv6-num{font-size:14px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bdv6-st{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, 6 класс, №3 «Раскрась на девять частей». Light paper in both themes. */
.arch-lab .phx-stage.bpn6-stage,.arch-lab .phx-stage.bpn6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpn6-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bpn6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpn6-empty{fill:#ffffff;stroke:none}
.arch-lab svg .bpn6-c0{fill:#bfdbfe;stroke:none}
.arch-lab svg .bpn6-c1{fill:#fde68a;stroke:none}
.arch-lab svg .bpn6-c2{fill:#bbf7d0;stroke:none}
.arch-lab svg .bpn6-c3{fill:#fecaca;stroke:none}
.arch-lab svg .bpn6-c4{fill:#ddd6fe;stroke:none}
.arch-lab svg .bpn6-c5{fill:#fed7aa;stroke:none}
.arch-lab svg .bpn6-c6{fill:#a5f3fc;stroke:none}
.arch-lab svg .bpn6-c7{fill:#fbcfe8;stroke:none}
.arch-lab svg .bpn6-c8{fill:#e2e8f0;stroke:none}
.arch-lab svg .bpn6-thin{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bpn6-thick{stroke:#111827;stroke-width:2.6;stroke-linecap:square}
.arch-lab svg .bpn6-cell{cursor:pointer}
.arch-lab svg .bpn6-cell:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab .phx-svg text.bpn6-name{font-size:16px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bpn6-dup{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2023/24, 6 класс, №4 «Круг из 100 бельчат». Light paper in both themes. */
.arch-lab .phx-stage.bht6-stage,.arch-lab .phx-stage.bht6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bht6-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bht6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bht6-edge{stroke:#111827;stroke-width:1.8}
.arch-lab .phx-svg text.bht6-mid{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bht6-ok{fill:#15803d}
.arch-lab .phx-svg text.bht6-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2023/24, 6 класс, №5 «Стол в малом виде». Light paper in both themes. */
.arch-lab .phx-stage.btb6-stage,.arch-lab .phx-stage.btb6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btb6-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .btb6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btb6-table{fill:#fef3c7;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .btb6-arrow{fill:none;stroke:#475569;stroke-width:2;marker-end:none}
.arch-lab svg .btb6-m{fill:#bbf7d0;stroke:#15803d;stroke-width:2}
.arch-lab svg .btb6-r{fill:#fecaca;stroke:#b91c1c;stroke-width:2}
.arch-lab svg .btb6-t{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .btb6-bad{stroke:#dc2626;stroke-width:4;stroke-dasharray:4 3}
.arch-lab svg .btb6-seat{cursor:pointer}
.arch-lab .phx-svg text.btb6-who{font-size:15px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.btb6-no{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.btb6-mid{font-size:14px;font-weight:700;fill:#78350f;stroke:none}
.arch-lab svg .btb6-head{fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №1 «Куб из двухцветных брусков». Light paper in both themes. */
.arch-lab .phx-stage.bqc1-stage,.arch-lab .phx-stage.bqc1-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqc1-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqc1-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqc1-W0{fill:#ffffff;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-W1{fill:#f1f5f9;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-W2{fill:#e2e8f0;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-B0{fill:#4b5563;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-B1{fill:#6b7280;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-B2{fill:#374151;stroke:#111827;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .bqc1-pick{stroke:#f59e0b;stroke-width:4}
.arch-lab svg .bqc1-cube{cursor:pointer}
.arch-lab svg .bqc1-cube:focus-visible polygon{stroke:#1d4ed8;stroke-width:4}
.arch-lab svg .bqc1-halo{stroke:#ffffff;stroke-width:10;stroke-linecap:round;opacity:.85;pointer-events:none}
.arch-lab svg .bqc1-ok{stroke:#16a34a;stroke-width:6;stroke-linecap:round;pointer-events:none}
.arch-lab svg .bqc1-no{stroke:#dc2626;stroke-width:6;stroke-linecap:round;stroke-dasharray:2 9;pointer-events:none}
.arch-lab svg .bqc1-rod{stroke:#d97706;stroke-width:7;stroke-linecap:round;pointer-events:none}
.arch-lab svg .bqc1-ok-dot{fill:#16a34a;stroke:#fff;stroke-width:1.5;pointer-events:none}
.arch-lab svg .bqc1-no-dot{fill:#dc2626;stroke:#fff;stroke-width:1.5;pointer-events:none}
.arch-lab svg .bqc1-rod-dot{fill:#d97706;stroke:#fff;stroke-width:1.5;pointer-events:none}
.arch-lab svg .bqc1-dead{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.5;pointer-events:none}
.arch-lab .phx-svg text.bqc1-x{font-size:22px;font-weight:700;fill:#b91c1c;stroke:none;pointer-events:none}
/* БЛ24-R04: the live 3D cube (scene3d.mjs) */
.arch-lab .bqc1-3d{width:100%;max-width:520px;margin-inline:auto;aspect-ratio:1/0.86;border-radius:12px;overflow:hidden;outline-offset:2px}
.arch-lab .bqc1-3d canvas{display:block;width:100%;height:100%;touch-action:none}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №10 «Свободные клетки таблицы». Light paper in both themes. */
.arch-lab .phx-stage.bqx0-stage,.arch-lab .phx-stage.bqx0-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqx0-stage{max-width:480px;margin-inline:auto;width:100%}
.arch-lab svg .bqx0-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqx0-empty{fill:#ffffff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .bqx0-full{fill:#dbeafe;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .bqx0-sel{fill:none;stroke:#f59e0b;stroke-width:3}
.arch-lab svg .bqx0-lone{fill:none;stroke:#c2410c;stroke-width:2.4;stroke-dasharray:5 3}
.arch-lab svg .bqx0-frame{fill:none;stroke:#1f2937;stroke-width:2.5}
.arch-lab svg .bqx0-key{cursor:pointer}
.arch-lab svg .bqx0-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .bqx0-tag{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bqx0-tagbad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg text.bqx0-num{font-size:22px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bqx0-sum{font-size:16px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bqx0-sumbad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №2 «Гнилые фрукты». Light paper in both themes. */
.arch-lab .phx-stage.bqf2-stage,.arch-lab .phx-stage.bqf2-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqf2-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bqf2-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqf2-box{fill:#fef3c7;stroke:#a16207;stroke-width:2;rx:6}
.arch-lab svg .bqf2-pear{fill:#65a30d;stroke:#3f6212;stroke-width:.8}
.arch-lab svg .bqf2-apple{fill:#ef4444;stroke:#991b1b;stroke-width:.8}
.arch-lab svg .bqf2-rot{fill:#78350f;stroke:#451a03;stroke-width:.8}
.arch-lab .phx-svg text.bqf2-sum{font-size:16px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .bqf2-stage~.arch-legend svg .bqf2-pear,.arch-lab .arch-legend svg .bqf2-pear{fill:#65a30d;stroke:#3f6212}
.arch-lab .arch-legend svg .bqf2-apple{fill:#ef4444;stroke:#991b1b}
.arch-lab .arch-legend svg .bqf2-rot{fill:#78350f;stroke:#451a03}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №3 «Перестановки букв ТЕТЕРЕВ». Light paper in both themes. */
.arch-lab .phx-stage.bqw3-stage,.arch-lab .phx-stage.bqw3-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqw3-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bqw3-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqw3-gap{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:4 3}
.arch-lab svg .bqw3-e{fill:#fde68a;stroke:#a16207;stroke-width:1.8}
.arch-lab svg .bqw3-t{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .bqw3-o{fill:#e5e7eb;stroke:#475569;stroke-width:1.8}
.arch-lab svg .bqw3-held{stroke:#f59e0b;stroke-width:4}
.arch-lab svg .bqw3-bad{stroke:#dc2626;stroke-width:4;stroke-linecap:round}
.arch-lab svg .bqw3-key{cursor:pointer}
.arch-lab svg .bqw3-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .bqw3-cell{fill:#f1f5f9;stroke:none}
.arch-lab svg .bqw3-ok{fill:#86efac;stroke:none}
.arch-lab svg .bqw3-no{fill:#fca5a5;stroke:none}
.arch-lab svg .bqw3-cur{fill:none;stroke:#1f2937;stroke-width:2.2}
.arch-lab .phx-svg text.bqw3-letter{font-size:20px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bqw3-small{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bqw3-tiny{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №4 «Наибольший пароль, кратный 25». Light paper in both themes. */
.arch-lab .phx-stage.bqs4-stage,.arch-lab .phx-stage.bqs4-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqs4-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bqs4-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqs4-door{fill:#94a3b8;stroke:#334155;stroke-width:2.5}
.arch-lab svg .bqs4-bolt{fill:#e2e8f0;stroke:#334155;stroke-width:1.5}
.arch-lab svg .bqs4-win{fill:#0f172a;stroke:#1e293b;stroke-width:1.5}
.arch-lab svg .bqs4-end{stroke:#facc15;stroke-width:2.5}
.arch-lab .phx-svg text.bqs4-dig{font-size:26px;font-weight:700;fill:#86efac;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab svg .bqs4-yes{stroke:#16a34a;stroke-width:5;stroke-linecap:round}
.arch-lab svg .bqs4-no{stroke:#dc2626;stroke-width:5;stroke-linecap:round}
.arch-lab svg .bqs4-card{cursor:pointer}
.arch-lab svg .bqs4-card:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .bqs4-cf{fill:#fef3c7;stroke:#a16207;stroke-width:1.8}
.arch-lab svg .bqs4-cu{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg text.bqs4-cd{font-size:22px;font-weight:700;fill:#1f2937;stroke:none;pointer-events:none}
.arch-lab svg .bqs4-used text.bqs4-cd{fill:#94a3b8}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №5 «Разбиение квадрата». Light paper in both themes. */
.arch-lab .phx-stage.bqq5-stage,.arch-lab .phx-stage.bqq5-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqq5-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqq5-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqq5-big{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .bqq5-small{fill:#fde68a;stroke:#a16207;stroke-width:1.1}
.arch-lab svg .bqq5-frame{fill:none;stroke:#111827;stroke-width:2.5}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №6 «Рыцари, лжецы и орехи». Light paper in both themes. */
.arch-lab .phx-stage.bqn6-stage,.arch-lab .phx-stage.bqn6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqn6-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqn6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqn6-pile{fill:#e7c08a;stroke:#92400e;stroke-width:1.5}
.arch-lab svg .bqn6-nut{fill:#92400e;stroke:none}
.arch-lab svg .bqn6-true{fill:#dcfce7;stroke:#15803d;stroke-width:1.5}
.arch-lab svg .bqn6-false{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.5}
.arch-lab .phx-svg text.bqn6-num{font-size:17px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqn6-neg{fill:#b91c1c}
.arch-lab .phx-svg text.bqn6-who{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bqn6-say{font-size:14px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqn6-tf{font-size:14px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.bqn6-tt{fill:#15803d}
.arch-lab .phx-svg text.bqn6-ff{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №7 «Ребус Ф · СУ + УС = СФУ». Light paper in both themes. */
.arch-lab .phx-stage.bqr7-stage,.arch-lab .phx-stage.bqr7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqr7-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqr7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqr7-cell{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .bqr7-good{fill:#dcfce7;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .bqr7-badc{fill:#fff7ed;stroke:#c2410c;stroke-width:1.4}
.arch-lab svg .bqr7-rule{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg text.bqr7-dig{font-size:22px;font-weight:700;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bqr7-target{fill:#1d4ed8}
.arch-lab .phx-svg text.bqr7-let{font-size:14px;font-weight:700;fill:#6b7280;stroke:none}
.arch-lab .phx-svg text.bqr7-op{font-size:22px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bqr7-eqok{fill:#15803d}
.arch-lab .phx-svg text.bqr7-eqno{fill:#c2410c}
.arch-lab .phx-svg text.bqr7-small{font-size:14px;fill:#475569;stroke:none}
.arch-lab .bqr7-found{margin:.4rem 0;font-weight:600;color:var(--ink,#1f2937)}

/* Popov Academy — «Бельчонок» 2023/24, отбор, 6 класс, №8 «Солдатики разной высоты». Light paper in both themes. */
.arch-lab .phx-stage.bqt8-stage,.arch-lab .phx-stage.bqt8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqt8-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqt8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqt8-low{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bqt8-up{stroke:#1f2937;stroke-width:1}
.arch-lab svg .bqt8-h14{fill:#86efac}
.arch-lab svg .bqt8-h15{fill:#60a5fa}
.arch-lab svg .bqt8-h16{fill:#f87171}
.arch-lab svg .bqt8-head{fill:#fde68a;stroke:#1f2937;stroke-width:1}
.arch-lab svg .bqt8-mark{stroke:#1f2937;stroke-width:1.6;stroke-dasharray:6 4}
.arch-lab svg .bqt8-shelf{stroke:#92400e;stroke-width:4}
.arch-lab .phx-svg text.bqt8-tick{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bqt8-warn{font-size:15px;font-weight:700;fill:#b91c1c;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 5 класс, №1 «Сумма после перестановки цифр». Light paper in both themes. */
.arch-lab .phx-stage.bsw-stage,.arch-lab .phx-stage.bsw-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsw-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bsw-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsw-cell{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.6;cursor:pointer}
.arch-lab svg .bsw-cell.bsw-u{fill:#fef3c7;stroke:#a16207}
.arch-lab svg .bsw-dig:focus-visible .bsw-cell{stroke:#111827;stroke-width:3}
.arch-lab svg .bsw-sw{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bsw-arrow{stroke:#334155;stroke-width:2;stroke-dasharray:4 3}
.arch-lab .phx-svg text.bsw-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsw-num{font-size:20px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bsw-sum{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsw-ok{fill:#15803d}
.arch-lab .phx-svg text.bsw-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2024/25, 5 класс, №2 «Кто стоит перед Вилли». Light paper in both themes. */
.arch-lab .phx-stage.bqu-stage,.arch-lab .phx-stage.bqu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqu-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bqu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqu-oth{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.4}
.arch-lab svg .bqu-w{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .bqu-d{fill:#fed7aa;stroke:#c2410c;stroke-width:1.6}
.arch-lab svg .bqu-link{stroke:#15803d;stroke-width:2.4;stroke-dasharray:5 4}
.arch-lab .phx-svg text.bqu-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqu-lab{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqu-num{font-size:15px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bqu-name{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bqu-ok{font-size:14px;font-weight:700;fill:#15803d;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 5 класс, №3 «Прямоугольные треугольники». Light paper in both themes. */
.arch-lab .phx-stage.brt-stage,.arch-lab .phx-stage.brt-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brt-stage{max-width:460px;margin-inline:auto;width:100%}
.arch-lab svg .brt-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brt-frame{fill:none;stroke:#334155;stroke-width:1.6}
.arch-lab svg .brt-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .brt-tri{stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .brt-mark{fill:none;stroke-width:1.8}
.arch-lab svg .brt-hit{fill:transparent;stroke:none;cursor:pointer}
.arch-lab svg .brt-free{fill:#111827;stroke:#ffffff;stroke-width:1.2;pointer-events:none}
.arch-lab svg .brt-busy{fill:#94a3b8;stroke:#ffffff;stroke-width:1.2;pointer-events:none}
.arch-lab svg .brt-on{fill:#dc2626;stroke:#ffffff;stroke-width:2;pointer-events:none}
.arch-lab svg .brt-pt:focus-visible .brt-hit{stroke:#111827;stroke-width:2}

/* Popov Academy — «Бельчонок» 2024/25, 5 класс, №4 «Купцы и разбойники». Light paper in both themes. */
.arch-lab .phx-stage.bkt-stage,.arch-lab .phx-stage.bkt-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bkt-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bkt-table{fill:#fef3c7;stroke:#a16207;stroke-width:2}
.arch-lab svg .bkt-m{fill:#bbf7d0;stroke:#15803d;stroke-width:2;cursor:pointer}
.arch-lab svg .bkt-r{fill:#fecaca;stroke:#b91c1c;stroke-width:2;cursor:pointer}
.arch-lab svg .bkt-seat:focus-visible circle{stroke:#111827;stroke-width:3.5}
.arch-lab .phx-svg text.bkt-who{font-size:15px;font-weight:700;fill:#1f2937;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bkt-k{font-size:14px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bkt-mid{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bkt-ok{fill:#15803d}
.arch-lab .phx-svg text.bkt-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2024/25, 5 класс, №5 «Рамка из спичек». Light paper in both themes. */
.arch-lab .phx-stage.bfm-stage,.arch-lab .phx-stage.bfm-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bfm-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bfm-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bfm-match{stroke:#a16207;stroke-linecap:round}
.arch-lab .phx-svg text.bfm-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bfm-val{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bfm-sub{fill:#7c2d12}

/* Popov Academy — «Бельчонок» 2024/25, 6 класс, №1 «Фигурки и сто сторон». Light paper in both themes. */
.arch-lab .phx-stage.bfg-stage,.arch-lab .phx-stage.bfg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bfg-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bfg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bfg-tri{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .bfg-quad{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab .phx-svg text.bfg-sum{font-size:16px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bfg-ok{fill:#15803d}

/* Popov Academy — «Бельчонок» 2024/25, 6 класс, №2 «Четыре одинаковые детали». Light paper in both themes. */
.arch-lab .phx-stage.bpt-stage,.arch-lab .phx-stage.bpt-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpt-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bpt-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpt-none{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1;cursor:pointer}
.arch-lab svg .bpt-c0{fill:#bfdbfe;stroke:#93c5fd;stroke-width:1;cursor:pointer}
.arch-lab svg .bpt-c1{fill:#fde68a;stroke:#fcd34d;stroke-width:1;cursor:pointer}
.arch-lab svg .bpt-c2{fill:#bbf7d0;stroke:#86efac;stroke-width:1;cursor:pointer}
.arch-lab svg .bpt-c3{fill:#fecaca;stroke:#fca5a5;stroke-width:1;cursor:pointer}
.arch-lab svg .bpt-cell:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab svg .bpt-edge{stroke:#111827;stroke-width:3;stroke-linecap:round}
.arch-lab svg .bpt-cut{stroke:#111827;stroke-width:3;stroke-linecap:round}

/* Popov Academy — «Бельчонок» 2024/25, 6 класс, №3 «Пять шишек». Light paper in both themes. */
.arch-lab .phx-stage.bcz-stage,.arch-lab .phx-stage.bcz-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcz-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bcz-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bcz-ground{stroke:#78350f;stroke-width:2}
.arch-lab svg .bcz-cone{fill:#d6c3a5;stroke:#78350f;stroke-width:1.6}
.arch-lab svg .bcz-new{fill:#fde68a;stroke:#a16207;stroke-width:1.8}
.arch-lab svg .bcz-mid{fill:#bbf7d0;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .bcz-mean{stroke:#1d4ed8;stroke-width:2;stroke-dasharray:6 4}
.arch-lab .phx-svg text.bcz-axis{font-size:14px;fill:#94a3b8;stroke:none}
.arch-lab .phx-svg text.bcz-val{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bcz-mlab{font-size:14px;font-weight:700;fill:#1d4ed8;stroke:#fbfdff;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2024/25, 6 класс, №4 «Свободное время Лизы». Light paper in both themes. */
.arch-lab .phx-stage.btm-stage,.arch-lab .phx-stage.btm-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btm-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .btm-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btm-dog{fill:#fde68a;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .btm-bread{fill:#fed7aa;stroke:#c2410c;stroke-width:1.4}
.arch-lab svg .btm-rest{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .btm-walk{fill:#bbf7d0;stroke:#15803d;stroke-width:1.4}
.arch-lab .phx-svg text.btm-lab{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.btm-ok{fill:#15803d}
.arch-lab .phx-svg text.btm-bad{fill:#b91c1c}
.arch-lab .phx-svg text.btm-num{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab svg .btm-end{stroke:#b91c1c;stroke-width:2.4;stroke-dasharray:6 4;fill:none}

/* Popov Academy — «Бельчонок» 2024/25, 6 класс, №5 «Три раунда разностей». Light paper in both themes. */
.arch-lab .phx-stage.bdf-stage,.arch-lab .phx-stage.bdf-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bdf-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bdf-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bdf-free{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.6;cursor:pointer}
.arch-lab svg .bdf-paired{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4}
.arch-lab svg .bdf-sel{fill:#fde68a;stroke:#a16207;stroke-width:2.4}
.arch-lab svg .bdf-final{fill:#bbf7d0;stroke:#15803d;stroke-width:2}
.arch-lab svg .bdf-card:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab svg .bdf-link{stroke:#64748b;stroke-width:1.6}
.arch-lab .phx-svg text.bdf-num{font-size:16px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bdf-sum{font-size:14.5px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.bdf-even{fill:#15803d}
.arch-lab .phx-svg text.bdf-odd{fill:#b91c1c}
.arch-lab svg .bdf-l0{stroke:#1d4ed8}.arch-lab svg .bdf-l1{stroke:#c2410c}.arch-lab svg .bdf-l2{stroke:#15803d}.arch-lab svg .bdf-l3{stroke:#7c3aed}

/* Popov Academy — «Бельчонок» 2024/25, 7 класс, №1 «Кольцевой трек». Light paper in both themes. */
.arch-lab .phx-stage.brg7-stage,.arch-lab .phx-stage.brg7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brg7-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .brg7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brg7-track{fill:#d6d3d1;stroke:#78716c;stroke-width:2}
.arch-lab svg .brg7-inner{fill:#dcfce7;stroke:#78716c;stroke-width:1.4}
.arch-lab svg .brg7-start{stroke:#111827;stroke-width:3}
.arch-lab svg .brg7-c1{fill:#1d4ed8;stroke:#ffffff;stroke-width:2}
.arch-lab svg .brg7-c2{fill:#c2410c;stroke:#ffffff;stroke-width:2}
.arch-lab svg .brg7-flag{fill:#16a34a;stroke:#111827;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg text.brg7-num{font-size:14px;font-weight:700;fill:#ffffff;stroke:none}
.arch-lab .phx-svg text.brg7-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.brg7-mid{font-size:15px;font-weight:700;fill:#14532d;stroke:none}
.arch-lab .phx-svg text.brg7-mid2{font-size:14px;fill:#14532d;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 7 класс, №2 «Таблица 2 × 2». Light paper in both themes. */
.arch-lab .phx-stage.btb7-stage,.arch-lab .phx-stage.btb7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btb7-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .btb7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btb7-c0{fill:#dbeafe;stroke:#1f2937;stroke-width:1.6;cursor:pointer}
.arch-lab svg .btb7-c1{fill:#fde68a;stroke:#1f2937;stroke-width:1.6;cursor:pointer}
.arch-lab svg .btb7-c2{fill:#dcfce7;stroke:#1f2937;stroke-width:1.6;cursor:pointer}
.arch-lab svg .btb7-c3{fill:#fecaca;stroke:#1f2937;stroke-width:1.6;cursor:pointer}
.arch-lab svg .btb7-cell:focus-visible rect{stroke:#111827;stroke-width:3.5}
.arch-lab .phx-svg text.btb7-dig{font-size:26px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.btb7-row{font-size:16px;font-weight:700;fill:#1e3a8a;stroke:none}
.arch-lab .phx-svg text.btb7-col{font-size:16px;font-weight:700;fill:#7c2d12;stroke:none}
.arch-lab .phx-svg text.btb7-sum{font-size:16px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.btb7-ok{fill:#15803d}
.arch-lab .phx-svg text.btb7-bad{fill:#b91c1c}
.arch-lab .phx-svg text.btb7-need{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 7 класс, №3 «Зал турнира». Light paper in both themes. */
.arch-lab .phx-stage.bhl7-stage,.arch-lab .phx-stage.bhl7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bhl7-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bhl7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bhl7-k{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .bhl7-l{fill:#ef4444;stroke:#7f1d1d;stroke-width:1}
.arch-lab .phx-svg text.bhl7-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab svg .bhl7-empty{fill:none;stroke:#cbd5e1;stroke-width:1.2;stroke-dasharray:2 2}

/* Popov Academy — «Бельчонок» 2024/25, 7 класс, №4 «Точка P и прямой угол». Light paper in both themes. */
.arch-lab .phx-stage.bpf7-stage,.arch-lab .phx-stage.bpf7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpf7-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bpf7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpf7-t1{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .bpf7-t2{fill:#fde68a;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .bpf7-tri{fill:none;stroke:#1f2937;stroke-width:2.2}
.arch-lab svg .bpf7-alt{stroke:#1f2937;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .bpf7-seg{stroke:#1f2937;stroke-width:2}
.arch-lab svg .bpf7-dash{stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .bpf7-kp{stroke:#15803d;stroke-width:2.6}
.arch-lab svg .bpf7-sq{fill:none;stroke:#1f2937;stroke-width:1.8}
.arch-lab svg .bpf7-sqk{fill:none;stroke:#15803d;stroke-width:2}
.arch-lab svg .bpf7-pt{fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bpf7-nm{font-size:16px;font-weight:700;fill:#1f2937;stroke:#fbfdff;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2024/25, 7 класс, №5 «Доска и фигурка». Light paper in both themes. */
.arch-lab .phx-stage.bbd7-stage,.arch-lab .phx-stage.bbd7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bbd7-stage{max-width:520px;margin-inline:auto;width:100%;background:#fbfdff}
.arch-lab svg .bbd7-free{fill:#f8fafc;stroke:#cbd5e1;stroke-width:0.8;cursor:pointer}
.arch-lab svg .bbd7-mk{fill:#475569;stroke:#cbd5e1;stroke-width:0.8;cursor:pointer}
.arch-lab svg .bbd7-fig{fill:#fde68a;stroke:#a16207;stroke-width:1.2;cursor:pointer}
.arch-lab svg .bbd7-cell:focus-visible rect{stroke:#111827;stroke-width:2.5}

/* Popov Academy — «Бельчонок» 2024/25, 8 класс, №1 «Корзина и кошелёк». Light paper in both themes. */
.arch-lab .phx-stage.bpr8-stage,.arch-lab .phx-stage.bpr8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpr8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bpr8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpr8-pg{fill:#4ade80;stroke:#15803d;stroke-width:1.2}
.arch-lab svg .bpr8-py{fill:#facc15;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .bpr8-stem{stroke:#78350f;stroke-width:1.6;stroke-linecap:round}
.arch-lab svg .bpr8-slot{fill:#cbd5e1;stroke:none}
.arch-lab svg .bpr8-empty{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .bpr8-mg{fill:#86efac;stroke:#15803d;stroke-width:1.2}
.arch-lab svg .bpr8-my{fill:#fde047;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .bpr8-tick{stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg text.bpr8-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bpr8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bpr8-tg{fill:#166534}
.arch-lab .phx-svg text.bpr8-ty{fill:#854d0e}
.arch-lab .phx-svg text.bpr8-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bpr8-big{font-size:17px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 8 класс, №2 «Кривая и прямая». Light paper in both themes. */
.arch-lab .phx-stage.bcb8-stage,.arch-lab .phx-stage.bcb8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcb8-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bcb8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bcb8-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bcb8-ax{stroke:#334155;stroke-width:1.6}
.arch-lab svg .bcb8-curve{fill:none;stroke:#7c3aed;stroke-width:2.8}
.arch-lab svg .bcb8-line{stroke:#ea580c;stroke-width:2.8}
.arch-lab svg .bcb8-pt{fill:#ffffff;stroke:#111827;stroke-width:2.4}
.arch-lab .phx-svg text.bcb8-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bcb8-xy{font-size:15px;font-style:italic;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bcb8-tc{font-size:14.5px;font-weight:700;fill:#6d28d9;stroke:none}
.arch-lab .phx-svg text.bcb8-tl{font-size:14.5px;font-weight:700;fill:#c2410c;stroke:none}
.arch-lab .phx-svg text.bcb8-pl{font-size:15px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 8 класс, №3 «Дорога в соседний лес». Light paper in both themes. */
.arch-lab .phx-stage.bsq8-stage,.arch-lab .phx-stage.bsq8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsq8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bsq8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsq8-road{fill:#e7d8c3;stroke:#a8a29e;stroke-width:1.2}
.arch-lab svg .bsq8-tree{fill:#4ade80;stroke:#166534;stroke-width:1.2;stroke-linejoin:round}
.arch-lab svg .bsq8-tick{stroke:#57534e;stroke-width:1.4}
.arch-lab svg .bsq8-sq{fill:#ea580c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .bsq8-tail{fill:#fdba74;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .bsq8-eye{fill:#111827;stroke:none}
.arch-lab svg .bsq8-k1{fill:#1d4ed8;stroke:#ffffff;stroke-width:1.6}
.arch-lab svg .bsq8-k2{fill:#15803d;stroke:#ffffff;stroke-width:1.6}
.arch-lab svg .bsq8-plot{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bsq8-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bsq8-lsq{fill:none;stroke:#ea580c;stroke-width:3}
.arch-lab svg .bsq8-l1{fill:none;stroke:#1d4ed8;stroke-width:2.4;stroke-dasharray:7 4}
.arch-lab svg .bsq8-l2{fill:none;stroke:#15803d;stroke-width:2.4;stroke-dasharray:3 3}
.arch-lab .phx-svg text.bsq8-kn{font-size:14px;font-weight:700;fill:#ffffff;stroke:none}
.arch-lab .phx-svg text.bsq8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsq8-cap{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsq8-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, 8 класс, №4 «Плитки Матвея». Light paper in both themes. */
.arch-lab .phx-stage.btl8-stage,.arch-lab .phx-stage.btl8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btl8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .btl8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btl8-r{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .btl8-q{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .btl8-x{fill:#fecaca;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .btl8-gl{stroke:#57534e;stroke-opacity:.4;stroke-width:1}
.arch-lab .phx-svg text.btl8-lab{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.btl8-ok{fill:#15803d}

/* Popov Academy — «Бельчонок» 2024/25, 8 класс, №5 «Подвижный параллелограмм». Light paper in both themes. */
.arch-lab .phx-stage.bpg8-stage,.arch-lab .phx-stage.bpg8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bpg8-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bpg8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bpg8-par{fill:#f8fafc;stroke:#334155;stroke-width:2.2;fill-opacity:.4}
.arch-lab svg .bpg8-tri{fill:#dbeafe;stroke:none}
.arch-lab svg .bpg8-ac{stroke:#334155;stroke-width:2}
.arch-lab svg .bpg8-bd{stroke:#64748b;stroke-width:1.8;stroke-dasharray:6 5}
.arch-lab svg .bpg8-med{stroke:#1d4ed8;stroke-width:2.4;stroke-dasharray:4 4}
.arch-lab svg .bpg8-dk{stroke:#7c3aed;stroke-width:2.2}
.arch-lab svg .bpg8-dl{stroke:#c2410c;stroke-width:2.2}
.arch-lab svg .bpg8-kl{stroke:#16a34a;stroke-width:4}
.arch-lab svg .bpg8-pt{fill:#111827;stroke:none}
.arch-lab .phx-svg text.bpg8-name{font-size:15px;font-weight:700;font-style:italic;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bpg8-klt{font-size:15px;font-weight:700;fill:#15803d;stroke:none;paint-order:stroke;stroke:#fbfdff;stroke-width:4px}

/* Popov Academy — «Бельчонок» 2024/25, физика 7 класс, №1 «Диск и дорожка». Light paper in both themes. */
.arch-lab .phx-stage.bcd7-stage,.arch-lab .phx-stage.bcd7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcd7-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bcd7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bcd7-disc{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4}
.arch-lab svg .bcd7-ring{fill:#dbeafe;stroke:none}
.arch-lab svg .bcd7-inner{fill:#ffffff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .bcd7-hole{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bcd7-track{fill:none;stroke:#93c5fd;stroke-width:1.4}
.arch-lab svg .bcd7-played{fill:none;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .bcd7-laser{fill:#dc2626;stroke:#ffffff;stroke-width:2}
.arch-lab svg .bcd7-strip{fill:#eff6ff;stroke:#1d4ed8;stroke-width:1.2}
.arch-lab svg .bcd7-stripOn{fill:#3b82f6;stroke:none}
.arch-lab svg .bcd7-tick{stroke:#1f2937;stroke-width:1.4}
.arch-lab .phx-svg text.bcd7-lab{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bcd7-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 7 класс, №2 «Поезда, птица и ветер». Light paper in both themes. */
.arch-lab .phx-stage.bbr7-stage,.arch-lab .phx-stage.bbr7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bbr7-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bbr7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bbr7-rail{stroke:#57534e;stroke-width:2}
.arch-lab svg .bbr7-pa{fill:#1d4ed8;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab svg .bbr7-pb{fill:#ea580c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .bbr7-bird{fill:#16a34a;stroke:#ffffff;stroke-width:2}
.arch-lab svg .bbr7-wind{fill:none;stroke:#0891b2;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .bbr7-plot{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bbr7-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bbr7-la{stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .bbr7-lb{stroke:#ea580c;stroke-width:2.6}
.arch-lab svg .bbr7-lp{fill:none;stroke:#16a34a;stroke-width:2.6}
.arch-lab .phx-svg text.bbr7-st{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bbr7-lab{font-size:14px;font-weight:700;fill:#0e7490;stroke:none}
.arch-lab .phx-svg text.bbr7-sp{font-size:14px;font-weight:700;fill:#166534;stroke:none}
.arch-lab .phx-svg text.bbr7-cap{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bbr7-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-stage.bbr7-stage{--arch-fig-line:#1f2937}
.arch-lab svg .bbr7-win{fill:#e0f2fe;stroke:#1f2937;stroke-width:.8}
.arch-lab svg .bbr7-wheel{fill:#334155;stroke:#0f172a;stroke-width:1}
.arch-lab .phx-svg text.bbr7-tpa{font-size:14px;font-weight:700;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.bbr7-tpb{font-size:14px;font-weight:700;fill:#c2410c;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 7 класс, №3 «Команда и лай». Light paper in both themes. */
.arch-lab .phx-stage.bdk7-stage,.arch-lab .phx-stage.bdk7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bdk7-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bdk7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bdk7-road{fill:#e7d8c3;stroke:#a8a29e;stroke-width:1}
.arch-lab svg .bdk7-tick{stroke:#57534e;stroke-width:1.4}
.arch-lab svg .bdk7-boy{fill:#1d4ed8;stroke:#ffffff;stroke-width:2}
.arch-lab svg .bdk7-dog{fill:#a16207;stroke:#ffffff;stroke-width:2}
.arch-lab svg .bdk7-cmd{fill:none;stroke:#16a34a;stroke-width:3;stroke-linecap:round}
.arch-lab svg .bdk7-bark{fill:none;stroke:#dc2626;stroke-width:3;stroke-linecap:round}
.arch-lab svg .bdk7-heard{fill:#ffffff;stroke:#dc2626;stroke-width:2.4}
.arch-lab svg .bdk7-plot{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bdk7-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bdk7-lboy{stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .bdk7-ldog{stroke:#a16207;stroke-width:2.6}
.arch-lab svg .bdk7-lcmd{stroke:#16a34a;stroke-width:2;stroke-dasharray:5 4}
.arch-lab svg .bdk7-lbark{stroke:#dc2626;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg text.bdk7-cap{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bdk7-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bdk7-sp{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-stage.bdk7-stage{--arch-fig-line:#1f2937}

/* Popov Academy — «Бельчонок» 2024/25, физика 7 класс, №4 «Миска на весах». Light paper in both themes. */
.arch-lab .phx-stage.bsl7-stage,.arch-lab .phx-stage.bsl7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsl7-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bsl7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsl7-l0{fill:#fecaca;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .bsl7-l1{fill:#fed7aa;stroke:#c2410c;stroke-width:1.2}
.arch-lab svg .bsl7-l2{fill:#d9f99d;stroke:#4d7c0f;stroke-width:1.2}
.arch-lab svg .bsl7-bowl{fill:none;stroke:#334155;stroke-width:2.4}
.arch-lab svg .bsl7-over{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .bsl7-tick{stroke:#334155;stroke-width:1.4}
.arch-lab svg .bsl7-scale{fill:#cbd5e1;stroke:#475569;stroke-width:1.4}
.arch-lab svg .bsl7-disp{fill:#0f172a;stroke:#334155;stroke-width:1.4}
.arch-lab .phx-svg text.bsl7-dig{font-size:17px;font-weight:700;fill:#a7f3d0;stroke:none}
.arch-lab .phx-svg text.bsl7-in{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsl7-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsl7-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bsl7-bad{font-size:14px;font-weight:700;fill:#b91c1c;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 7 класс, №5 «Турбина и ветер». Light paper in both themes. */
.arch-lab .phx-stage.btu7-stage,.arch-lab .phx-stage.btu7-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btu7-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .btu7-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btu7-tower{stroke:#64748b;stroke-width:6;stroke-linecap:round}
.arch-lab svg .btu7-air{fill:#cffafe;stroke:#0e7490;stroke-width:1.6}
.arch-lab svg .btu7-disk{fill:#ecfeff;fill-opacity:.6;stroke:#0e7490;stroke-width:2}
.arch-lab svg .btu7-blade{stroke:#334155;stroke-width:6;stroke-linecap:round}
.arch-lab svg .btu7-hub{fill:#334155;stroke:none}
.arch-lab svg .btu7-ok{fill:#bbf7d0;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .btu7-bad{fill:#fecaca;stroke:#b91c1c;stroke-width:1.4}
.arch-lab svg .btu7-cell{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg text.btu7-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.btu7-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.btu7-num{font-size:15px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 8 класс, №2 «Артерия и ветки». Light paper in both themes. */
.arch-lab .phx-stage.bey8-stage,.arch-lab .phx-stage.bey8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bey8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bey8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bey8-art{fill:#fecaca;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .bey8-br{fill:none;stroke:#f87171;stroke-width:4}
.arch-lab svg .bey8-drop{fill:#991b1b;stroke:none}
.arch-lab .phx-svg text.bey8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bey8-ok{fill:#15803d}
.arch-lab .phx-svg text.bey8-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bey8-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 8 класс, №3 «Лодка, остров и ветер». Light paper in both themes. */
.arch-lab .phx-stage.bbt8-stage,.arch-lab .phx-stage.bbt8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bbt8-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bbt8-bg{fill:#eff6ff;stroke:none}
.arch-lab svg .bbt8-grid{stroke:#dbeafe;stroke-width:1}
.arch-lab svg .bbt8-air{fill:none;stroke:#1d4ed8;stroke-width:2.6;stroke-dasharray:7 4}
.arch-lab svg .bbt8-ground{fill:none;stroke:#16a34a;stroke-width:3}
.arch-lab svg .bbt8-isl{fill:#fde68a;stroke:#a16207;stroke-width:2}
.arch-lab svg .bbt8-start{fill:#111827;stroke:none}
.arch-lab svg .bbt8-boat{fill:#dc2626;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg text.bbt8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bbt8-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab svg .bbt8-hull{fill:#b45309;stroke:#451a03;stroke-width:1.4}
.arch-lab svg .bbt8-cabin{fill:#fef3c7;stroke:#451a03;stroke-width:1}
.arch-lab svg .bbt8-sand{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .bbt8-green{fill:#4ade80;stroke:#166534;stroke-width:1}
.arch-lab svg .bbt8-palm{fill:none;stroke:#166534;stroke-width:2;stroke-linecap:round}
.arch-lab svg .bbt8-comp{fill:#ffffff;stroke:#64748b;stroke-width:1.4}
.arch-lab svg .bbt8-needle{fill:#cbd5e1;stroke:#475569;stroke-width:1}
.arch-lab svg .bbt8-north{fill:#dc2626;stroke:none}
.arch-lab svg .bbt8-wind{stroke:#0891b2;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .bbt8-wind-head{fill:#0891b2;stroke:none}
.arch-lab svg .bbt8-drift{stroke:#64748b;stroke-width:2;stroke-dasharray:3 3}
.arch-lab .phx-svg text.bbt8-wlab{font-size:14px;font-weight:700;fill:#0e7490;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 8 класс, №4 «Трубка тока и турбина». Light paper in both themes. */
.arch-lab .phx-stage.bts8-stage,.arch-lab .phx-stage.bts8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bts8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bts8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bts8-wall{fill:none;stroke:#334155;stroke-width:1.8}
.arch-lab svg .bts8-disk{fill:#c7d2fe;stroke:#4338ca;stroke-width:2}
.arch-lab svg .bts8-pa{fill:#1d4ed8;stroke:none}
.arch-lab svg .bts8-pb{fill:#f59e0b;stroke:none}
.arch-lab .phx-svg text.bts8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, физика 8 класс, №5 «Три жидкости и термометры». Light paper in both themes. */
.arch-lab .phx-stage.bmx8-stage,.arch-lab .phx-stage.bmx8-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bmx8-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bmx8-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bmx8-glass{stroke:#334155;stroke-width:1.6}
.arch-lab svg .bmx8-tube{fill:#ffffff;stroke:#475569;stroke-width:1.4}
.arch-lab svg .bmx8-fill{stroke:none}
.arch-lab svg .bmx8-bulb{stroke:#475569;stroke-width:1.4}
.arch-lab svg .bmx8-need{stroke:#111827;stroke-width:2;stroke-dasharray:4 3}
.arch-lab svg .bmx8-cold{fill:hsl(210,80%,78%);stroke:#475569}
.arch-lab svg .bmx8-hot{fill:hsl(10,80%,68%);stroke:#475569}
.arch-lab .phx-svg text.bmx8-num{font-size:14.5px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bmx8-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bmx8-axis{font-size:14px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №1 «Стрелка». Light paper in both themes. */
.arch-lab .phx-stage.bar-stage,.arch-lab .phx-stage.bar-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bar-stage{max-width:460px;margin-inline:auto;width:100%}
.arch-lab svg .bar-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bar-grid{stroke:#cbd5e1;stroke-width:1;stroke-dasharray:4 3}
.arch-lab svg .bar-arrow{fill:#334155;stroke:none}
.arch-lab svg .bar-cut{fill:#fecaca;stroke:#b91c1c;stroke-width:2}
.arch-lab svg .bar-big{fill:none;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab .phx-svg text.bar-axis{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bar-pt{font-size:14.5px;font-weight:700;fill:#b91c1c;stroke:#fbfdff;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №10 «Прут и два многоугольника». Light paper in both themes. */
.arch-lab .phx-stage.brd-stage,.arch-lab .phx-stage.brd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brd-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .brd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brd-s0{fill:#fef3c7;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .brd-s1{fill:#fde68a;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .brd-s8{fill:#fecaca;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .brd-stick{stroke-width:9;stroke-linecap:butt}
.arch-lab svg .brd-stick.brd-s0{stroke:#d97706}
.arch-lab svg .brd-stick.brd-s1{stroke:#a16207}
.arch-lab svg .brd-stick.brd-s8{stroke:#dc2626}
.arch-lab svg .brd-m56{stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .brd-m40{stroke:#15803d;stroke-width:2.4}
.arch-lab .phx-svg text.brd-t56{font-size:14px;font-weight:700;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.brd-t40{font-size:14px;font-weight:700;fill:#15803d;stroke:none}
.arch-lab .phx-svg text.brd-len{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.brd-red{fill:#b91c1c}
.arch-lab svg .brd-hit{fill:transparent;stroke:none}
.arch-lab svg .brd-mark{cursor:pointer}
.arch-lab svg .brd-mark:focus-visible .brd-hit{stroke:#1d4ed8;stroke-width:2;stroke-dasharray:3 3}
.arch-lab svg .brd-cut .brd-m56,.arch-lab svg .brd-cut .brd-m40{stroke-width:3.4}
.arch-lab .phx-svg text.brd-in{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №2 «Делятся на свои цифры». Light paper in both themes. */
.arch-lab .phx-stage.bqz-stage,.arch-lab .phx-stage.bqz-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqz-stage{max-width:460px;margin-inline:auto;width:100%}
.arch-lab svg .bqz-free{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1;cursor:pointer}
.arch-lab svg .bqz-ok{fill:#bbf7d0;stroke:#15803d;stroke-width:1.8;cursor:pointer}
.arch-lab svg .bqz-no{fill:#fee2e2;stroke:#fca5a5;stroke-width:1.2;cursor:pointer}
.arch-lab svg .bqz-cell:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab .phx-svg text.bqz-num{font-size:14.5px;font-weight:700;fill:#0f172a;stroke:none;pointer-events:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №3 «Шишки Черныша». Light paper in both themes. */
.arch-lab .phx-stage.bqc-stage,.arch-lab .phx-stage.bqc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqc-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bqc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqc-r{fill:#c2410c;stroke:#7c2d12;stroke-width:1}
.arch-lab svg .bqc-c{fill:#78350f;stroke:#451a03;stroke-width:1}
.arch-lab .phx-svg text.bqc-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqc-lab{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bqc-cap.bqc-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №4 «Числа Марины». Light paper in both themes. */
.arch-lab .phx-stage.bmr-stage,.arch-lab .phx-stage.bmr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bmr-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bmr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bmr-cell{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .bmr-first{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.4}
.arch-lab svg .bmr-hl{fill:#bbf7d0;stroke:#15803d;stroke-width:2.4}
.arch-lab .phx-svg text.bmr-cap{font-size:14px;font-weight:700;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bmr-hd{font-size:14px;font-weight:700;fill:#7c2d12;stroke:none}
.arch-lab .phx-svg text.bmr-pl{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bmr-num{font-size:15px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №5 «Двадцать гномов». Light paper in both themes. */
.arch-lab .phx-stage.bgn-stage,.arch-lab .phx-stage.bgn-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bgn-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bgn-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bgn-hon{fill:#22c55e;stroke:#14532d;stroke-width:1.2}
.arch-lab svg .bgn-liar{fill:#ef4444;stroke:#7f1d1d;stroke-width:1.2}
.arch-lab svg .bgn-face{fill:#fde2c4;stroke:#7c4a25;stroke-width:1.2}
.arch-lab svg .bgn-beard{fill:#f8fafc;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bgn-yes{fill:#16a34a;stroke:none}
.arch-lab svg .bgn-no{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №6 «Дорожка прыжков». Light paper in both themes. */
.arch-lab .phx-stage.bjp-stage,.arch-lab .phx-stage.bjp-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bjp-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bjp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bjp-track{stroke:#78350f;stroke-width:4;stroke-linecap:round}
.arch-lab svg .bjp-tick{stroke:#78350f;stroke-width:1.6}
.arch-lab svg .bjp-goal{stroke:#15803d;stroke-width:2.4;stroke-dasharray:5 4}
.arch-lab svg .bjp-fw{fill:#bbf7d0;stroke:#15803d;stroke-width:1.2}
.arch-lab svg .bjp-bw{fill:#fecaca;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .bjp-sq{fill:#c2410c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .bjp-tail{fill:none;stroke:#c2410c;stroke-width:5;stroke-linecap:round}
.arch-lab svg .bjp-dot{fill:#111827;stroke:none}
.arch-lab .phx-svg text.bjp-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bjp-glab{font-size:14.5px;font-weight:700;fill:#15803d;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №7 «Раздай костюмы». Light paper in both themes. */
.arch-lab .phx-stage.bcs-stage,.arch-lab .phx-stage.bcs-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcs-stage{max-width:560px;margin-inline:auto;width:100%;background:#fbfdff}
.arch-lab svg .bcs-like{fill:#dbeafe;stroke:#1d4ed8;stroke-width:1;cursor:pointer}
.arch-lab svg .bcs-no{fill:#f8fafc;stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bcs-taken{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1;cursor:pointer}
.arch-lab svg .bcs-mine{fill:#22c55e;stroke:#14532d;stroke-width:1.6;cursor:pointer}
.arch-lab svg .bcs-cell:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab .phx-svg text.bcs-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bcs-free{font-size:15px;font-weight:700;fill:#15803d;stroke:none}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №8 «Перестрелка шишками». Light paper in both themes. */
.arch-lab .phx-stage.bth-stage,.arch-lab .phx-stage.bth-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bth-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bth-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bth-body{fill:#c2410c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .bth-tail{fill:#ea580c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .bth-eye{fill:#111827;stroke:none}
.arch-lab .phx-svg text.bth-name{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bth-val{font-size:14.5px;font-weight:700;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.bth-hit{font-size:14.5px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.bth-sum{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bth-ok{fill:#15803d}

/* Popov Academy — «Бельчонок» 2024/25, отбор 6 класс, №9 «Календарь погоды». Light paper in both themes. */
.arch-lab .phx-stage.brn6-stage,.arch-lab .phx-stage.brn6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brn6-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .brn6-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brn6-rain{fill:#60a5fa;stroke:#1d4ed8;stroke-width:1}
.arch-lab svg .brn6-dry{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg text.brn6-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.brn6-cnt{font-size:14.5px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.brn6-ok{fill:#15803d}
.arch-lab .phx-svg text.brn6-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2025/26, 5 класс, №1 «Квадрат из девяти палочек». Light paper in both themes. */
.arch-lab .phx-stage.bsk-stage,.arch-lab .phx-stage.bsk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsk-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bsk-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsk-table{fill:#f5ecd9;stroke:none}
.arch-lab svg .bsk-k0{fill:#d6b98c;stroke:#8a6a3d;stroke-width:1.2}
.arch-lab svg .bsk-k1{fill:#60a5fa;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab svg .bsk-k2{fill:#f87171;stroke:#7f1d1d;stroke-width:1.2}
.arch-lab svg .bsk-k3{fill:#4ade80;stroke:#14532d;stroke-width:1.2}
.arch-lab svg .bsk-k4{fill:#c084fc;stroke:#581c87;stroke-width:1.2}
.arch-lab svg .bsk-bar{stroke-width:9;stroke-linecap:butt}
.arch-lab svg .bsk-l1{stroke:#60a5fa}.arch-lab svg .bsk-l2{stroke:#f87171}.arch-lab svg .bsk-l3{stroke:#4ade80}.arch-lab svg .bsk-l4{stroke:#c084fc}
.arch-lab svg .bsk-joint{stroke:#111827;stroke-width:2}
.arch-lab svg .bsk-gap{fill:#fff;stroke:#b91c1c;stroke-width:3}
.arch-lab svg .bsk-stick{cursor:pointer}
.arch-lab svg .bsk-stick:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab .phx-svg text.bsk-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsk-num{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bsk-blen{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bsk-hint{font-size:15px;fill:#475569;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 5 класс, №2 «Две одинаковые части с вырезанной клеткой». Light paper in both themes. */
.arch-lab .phx-stage.bho-stage,.arch-lab .phx-stage.bho-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bho-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bho-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bho-a{fill:#93c5fd;stroke:#60a5fa;stroke-width:1}
.arch-lab svg .bho-b{fill:#fde68a;stroke:#fcd34d;stroke-width:1}
.arch-lab svg .bho-edge{stroke:#111827;stroke-width:2.8;stroke-linecap:round}
.arch-lab svg .bho-cutl{stroke:#b91c1c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .bho-cell{cursor:pointer}
.arch-lab svg .bho-cell:focus-visible rect{stroke:#111827;stroke-width:3.4}
.arch-lab svg .bho-hole{fill:#9ca3af;stroke:#4b5563;stroke-width:1.4}

/* Popov Academy — «Бельчонок» 2025/26, 5 класс, №3 «Мальчики между соседями». Light paper in both themes. */
.arch-lab .phx-stage.bby-stage,.arch-lab .phx-stage.bby-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bby-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bby-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bby-g0{fill:#60a5fa;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab svg .bby-gnew{fill:#fb923c;stroke:#9a3412;stroke-width:1.2}
.arch-lab svg .bby-gx{fill:#4ade80;stroke:#14532d;stroke-width:1.2}
.arch-lab svg .bby-box{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.4}
.arch-lab svg .bby-boxoff{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg text.bby-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bby-cnum{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bby-lab{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bby-goal{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bby-goal.ok{fill:#15803d}
.arch-lab .phx-svg text.bby-goal.bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2025/26, 5 класс, №4 «Рыбный числовой ребус». Light paper in both themes. */
.arch-lab .phx-stage.brb-stage,.arch-lab .phx-stage.brb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brb-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .brb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brb-cell{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .brb-ok{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .brb-bad{fill:#fecaca;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .brb-rule{stroke:#111827;stroke-width:2.4}
.arch-lab .phx-svg text.brb-let{font-size:17px;font-weight:700;fill:#1e3a8a;stroke:none}
.arch-lab .phx-svg text.brb-dig{font-size:24px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 5 класс, №5 «Грибы и число ложных фраз». Light paper in both themes. */
.arch-lab .phx-stage.bmu-stage,.arch-lab .phx-stage.bmu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bmu-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bmu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bmu-grass{fill:#ecfccb;stroke:none}
.arch-lab svg .bmu-t{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bmu-f{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .bmu-body{fill:#d97706;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .bmu-tail{fill:#f59e0b;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .bmu-eye{fill:#111827;stroke:none}
.arch-lab svg .bmu-cap{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.2}
.arch-lab svg .bmu-stem{fill:#fef3c7;stroke:#92400e;stroke-width:1}
.arch-lab .phx-svg text.bmu-ph{font-size:14px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bmu-tf{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bmu-name{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bmu-cnt{font-size:14px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.bmu-cnt.ok{fill:#15803d}
.arch-lab .phx-svg text.bmu-cnt.bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, №1 «Две совпадающие части ступенчатой фигуры». Light paper in both themes. */
.arch-lab .phx-stage.bcu-stage,.arch-lab .phx-stage.bcu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcu-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bcu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bcu-a{fill:#93c5fd;stroke:#60a5fa;stroke-width:1}
.arch-lab svg .bcu-b{fill:#fde68a;stroke:#fcd34d;stroke-width:1}
.arch-lab svg .bcu-edge{stroke:#111827;stroke-width:2.8;stroke-linecap:round}
.arch-lab svg .bcu-cutl{stroke:#b91c1c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .bcu-cell{cursor:pointer}
.arch-lab svg .bcu-cell:focus-visible rect{stroke:#111827;stroke-width:3.4}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, №2 «Сколько шарфов к девятнадцатому дню». Light paper in both themes. */
.arch-lab .phx-stage.bsc-stage,.arch-lab .phx-stage.bsc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsc-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bsc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsc-s0{fill:#fca5a5;stroke:#991b1b;stroke-width:1.4}
.arch-lab svg .bsc-s1{fill:#a5b4fc;stroke:#3730a3;stroke-width:1.4}
.arch-lab svg .bsc-key{stroke-width:3}
.arch-lab svg .bsc-day{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bsc-we{fill:#fde68a;stroke:#b45309;stroke-width:1}
.arch-lab svg .bsc-mark{stroke:#15803d;stroke-width:2.4;stroke-dasharray:5 4}
.arch-lab .phx-svg text.bsc-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsc-num{font-size:14px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bsc-dnum{font-size:14px;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bsc-lab{font-size:14px;fill:#14532d;stroke:none;font-weight:600}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, №3 «Два прогноза конкурса чтецов». Light paper in both themes. */
.arch-lab .phx-stage.bct-stage,.arch-lab .phx-stage.bct-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bct-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .bct-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bct-floor{fill:#e2e8f0;stroke:none}
.arch-lab svg .bct-yes{fill:#bbf7d0;stroke:#166534;stroke-width:1.6}
.arch-lab svg .bct-no{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.4}
.arch-lab .phx-svg text.bct-name{font-size:15px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bct-place{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bct-who{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bct-guess{font-size:14px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bct-mark{font-size:14px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .bct-cap{margin:8px 0 2px;font-weight:700}
.arch-lab .bct-row .p25-swap{flex-wrap:nowrap}
.arch-lab .bct-row .p25-swap .p25-tile{font-size:15px;font-family:inherit;padding:6px 0;min-width:0;flex:1 1 0;white-space:nowrap}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, №4 «Сколько чётных попарных сумм». Light paper in both themes. */
.arch-lab .phx-stage.bsu-stage,.arch-lab .phx-stage.bsu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsu-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bsu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsu-even{fill:#bbf7d0;stroke:#166534;stroke-width:1.6}
.arch-lab svg .bsu-odd{fill:#f1f5f9;stroke:#64748b;stroke-width:1.4}
.arch-lab svg .bsu-card{cursor:pointer}
.arch-lab svg .bsu-card:focus-visible rect{stroke:#111827;stroke-width:3.4}
.arch-lab .phx-svg text.bsu-num{font-size:24px;font-weight:800;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bsu-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsu-sum{font-size:15px;font-weight:600;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, №5 «Король обходит большую доску». Light paper in both themes. */
.arch-lab .phx-stage.bkg-stage,.arch-lab .phx-stage.bkg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bkg-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bkg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bkg-light{fill:#f8fafc;stroke:#cbd5e1;stroke-width:.8}
.arch-lab svg .bkg-dark{fill:#e2e8f0;stroke:#cbd5e1;stroke-width:.8}
.arch-lab svg .bkg-seen{fill:#bbf7d0;stroke:none;opacity:.75}
.arch-lab svg .bkg-route{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .bkg-turn{fill:#fbbf24;stroke:#92400e;stroke-width:1.6}
.arch-lab svg .bkg-king{fill:#111827;stroke:#fff;stroke-width:1.6}
.arch-lab svg .bkg-crown{fill:#fde047;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 7 класс, №1 «Две стопки букв». Light paper in both themes. */
.arch-lab .phx-stage.bst-stage,.arch-lab .phx-stage.bst-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bst-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .bst-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bst-table{fill:#e7d7b3;stroke:none}
.arch-lab svg .bst-card{stroke-width:1.8}
.arch-lab svg .bst-v{fill:#fecdd3;stroke:#be123c}
.arch-lab svg .bst-c{fill:#bfdbfe;stroke:#1d4ed8}
.arch-lab svg .bst-top{stroke-width:2.8}
.arch-lab svg .bst-old{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab svg .bst-hand{stroke-width:1.8;stroke-dasharray:5 4}
.arch-lab svg .bst-same{fill:#fde68a;stroke:#b45309;stroke-width:1.4}
.arch-lab svg .bst-diff{fill:#99f6e4;stroke:#0f766e;stroke-width:1.4}
.arch-lab .phx-svg text.bst-head{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bst-letter{font-size:40px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bst-tag{font-size:14px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .bst-strip{list-style:none;margin:10px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(50px,1fr));gap:6px}
.arch-lab .bst-cell{border:1.5px solid #94a3b8;border-radius:10px;padding:4px 6px;background:#f8fafc;color:#111827;display:flex;flex-direction:column;align-items:center;min-height:48px;font-size:15px;line-height:1.3}
.arch-lab .bst-cell b{font-size:15px}
.arch-lab .bst-cell.bst-same{background:#fde68a;border-color:#b45309}
.arch-lab .bst-cell.bst-diff{background:#99f6e4;border-color:#0f766e}
.arch-lab .bst-cell.bst-f{outline:2px dashed #1d4ed8;outline-offset:1px}

/* Popov Academy — «Бельчонок» 2025/26, 7 класс, №2 «Сколько шишек собрали бельчата». Light paper in both themes. */
.arch-lab .phx-stage.bco-stage,.arch-lab .phx-stage.bco-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bco-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bco-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bco-frame{fill:none;stroke:#1f2937;stroke-width:1.8}
.arch-lab svg .bco-s1{fill:#fb923c;stroke:#9a3412;stroke-width:1}
.arch-lab svg .bco-s2{fill:#57534e;stroke:#1c1917;stroke-width:1}
.arch-lab svg .bco-s3{fill:#cbd5e1;stroke:#475569;stroke-width:1}
.arch-lab svg .bco-s4{fill:#86efac;stroke:#166534;stroke-width:1}
.arch-lab svg .bco-sq .bco-tail,.arch-lab svg .bco-sq .bco-body{stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab svg .bco-r .bco-body{fill:#f97316}.arch-lab svg .bco-r .bco-tail{fill:#ea580c}
.arch-lab svg .bco-b .bco-body{fill:#57534e}.arch-lab svg .bco-b .bco-tail{fill:#292524}
.arch-lab svg .bco-g .bco-body{fill:#cbd5e1}.arch-lab svg .bco-g .bco-tail{fill:#94a3b8}
.arch-lab svg .bco-o .bco-body{fill:#fcd34d}.arch-lab svg .bco-o .bco-tail{fill:#d97706}
.arch-lab svg .bco-eye{fill:#111827;stroke:none}
.arch-lab svg .bco-paw{fill:none;stroke:#1f2937;stroke-width:1.4;stroke-linecap:round}
.arch-lab .phx-svg text.bco-head{font-size:17px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bco-row{font-size:15px;font-weight:700;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bco-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bco-name{font-size:14px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bco-cnt{font-size:15px;font-weight:800;fill:#14532d;stroke:none}
.arch-lab .phx-svg text.bco-cnt.bco-bad{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2025/26, 7 класс, №3 «Числа с произведением цифр 72». Light paper in both themes. */
.arch-lab .phx-stage.bdg-stage,.arch-lab .phx-stage.bdg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bdg-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bdg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bdg-card{fill:#e0e7ff;stroke:#3730a3;stroke-width:2}
.arch-lab svg .bdg-card.bdg-hit,.arch-lab svg .bdg-hit{fill:#bbf7d0;stroke:#14532d;stroke-width:2.6}
.arch-lab .phx-svg text.bdg-num{font-size:34px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bdg-empty{font-size:16px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bdg-prod{font-size:20px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bdg-ok{fill:#14532d}
.arch-lab .bdg-digit{min-width:0;padding-inline:11px;font-weight:700}
.arch-lab .bdg-book{border:1.5px solid #94a3b8;border-radius:12px;padding:10px 14px;margin:10px 0;background:#f8fafc;color:#111827;min-height:150px}
.arch-lab .bdg-book p{margin:0 0 6px;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.arch-lab .bdg-book-head{font-weight:700}

/* Popov Academy — «Бельчонок» 2025/26, 7 класс, №4 «Имена и фамилии в ряду». Light paper in both themes. */
.arch-lab .phx-stage.brw-stage,.arch-lab .phx-stage.brw-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brw-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .brw-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brw-floor{fill:#e2e8f0;stroke:none}
.arch-lab svg .brw-plate{fill:#fff;stroke:#334155;stroke-width:1.6}
.arch-lab svg .brw-gap{stroke:#64748b;stroke-width:1.6;stroke-dasharray:4 4}
.arch-lab .phx-svg text.brw-name{font-size:17px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.brw-sur{font-size:14px;font-weight:600;fill:#111827;stroke:none;letter-spacing:-.2px}
.arch-lab .brw-cap{margin:8px 0 2px;font-weight:700}
.arch-lab .brw-conds{list-style:none;margin:12px 0;padding:0;display:grid;gap:6px}
.arch-lab .brw-conds li{display:flex;gap:10px;align-items:flex-start;border:1.5px solid #94a3b8;border-radius:10px;padding:8px 12px;background:#f8fafc;color:#111827;font-size:16px;line-height:1.4}
.arch-lab .brw-conds li.brw-yes{background:#dcfce7;border-color:#166534}
.arch-lab .brw-conds li.brw-no{background:#fee2e2;border-color:#b91c1c}
.arch-lab .brw-mark{font-weight:800;min-width:1.2em}
.arch-lab .brw-row .p25-swap{flex-wrap:nowrap}
.arch-lab .brw-row .p25-swap .p25-tile{font-size:14px;font-family:inherit;padding:6px 0;min-width:0;flex:1 1 0;white-space:nowrap;letter-spacing:-.2px}

/* Popov Academy — «Бельчонок» 2025/26, 7 класс, №5 «Угол между равносторонними треугольниками». Light paper in both themes. */
.arch-lab .phx-stage.ban-stage,.arch-lab .phx-stage.ban-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ban-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .ban-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .ban-rect{fill:#e0f2fe;stroke:#0c4a6e;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .ban-eq{fill:#fef3c7;stroke:#92400e;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .ban-seg{stroke:#b91c1c;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .ban-nk{stroke-dasharray:7 5}
.arch-lab svg .ban-ask{fill:#fca5a5;stroke:#991b1b;stroke-width:1.4}
.arch-lab svg .ban-t1{fill:#bbf7d0;stroke:#166534;stroke-width:1.6;opacity:.9}
.arch-lab svg .ban-t2{fill:#ddd6fe;stroke:#5b21b6;stroke-width:1.6;opacity:.9}
.arch-lab svg .ban-pt{fill:#111827;stroke:#fff;stroke-width:1.2}
.arch-lab .phx-svg text.ban-letter{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ban-side{font-size:15px;font-weight:700;fill:#0c4a6e;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ban-len{font-size:15px;font-weight:700;fill:#7f1d1d;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ban-q{font-size:20px;font-weight:800;fill:#7f1d1d;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2025/26, 8 класс, №1 «Шахматные партии семи девочек». Light paper in both themes. */
.arch-lab .phx-stage.bch-stage,.arch-lab .phx-stage.bch-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bch-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bch-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bch-table{fill:#f1e4c8;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .bch-fixed{stroke:#1d4ed8;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .bch-own{stroke:#16a34a;stroke-width:3;stroke-linecap:round}
.arch-lab svg .bch-ban{stroke:#b91c1c;stroke-width:2.4;stroke-dasharray:3 6;stroke-linecap:round}
.arch-lab svg .bch-spot{fill:#fff;stroke:#94a3b8;stroke-width:1.6}
.arch-lab svg .bch-sel .bch-spot{stroke:#0ea5e9;stroke-width:4;fill:#e0f2fe}
.arch-lab svg .bch-girl{cursor:pointer}
.arch-lab svg .bch-girl:focus-visible .bch-spot{stroke:#111827;stroke-width:3.6}
.arch-lab svg .bch-badge{fill:#fde68a;stroke:#92400e;stroke-width:1.6}
.arch-lab svg .bch-badge.bch-ok{fill:#bbf7d0;stroke:#14532d;stroke-width:2.2}
.arch-lab .phx-svg text.bch-name{font-size:15px;font-weight:700;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.bch-deg{font-size:15px;font-weight:800;fill:#111827;stroke:none;pointer-events:none}

/* Popov Academy — «Бельчонок» 2025/26, 8 класс, №2 «Когда выражение натурально». Light paper in both themes. */
.arch-lab .phx-stage.bna-stage,.arch-lab .phx-stage.bna-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bna-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .bna-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bna-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .bna-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bna-zero{stroke:#1f2937;stroke-width:2}
.arch-lab svg .bna-stem{stroke:#94a3b8;stroke-width:1.6}
.arch-lab svg .bna-pt{stroke-width:1.8}
.arch-lab svg .bna-ok{fill:#22c55e;stroke:#14532d}
.arch-lab svg .bna-no{fill:#e2e8f0;stroke:#475569}
.arch-lab svg .bna-now{stroke-width:3.4;stroke:#111827}
.arch-lab .phx-svg text.bna-big{font-size:19px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bna-good{fill:#14532d}
.arch-lab .phx-svg text.bna-fr{font-size:15px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bna-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .bna-stage svg .vs-frac{stroke:#111827;stroke-width:2}
.arch-lab .phx-svg text.bna-axn{font-size:14px;font-weight:700;fill:#334155;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2025/26, 8 класс, №3 «Биссектриса, высота и медиана». Light paper in both themes. */
.arch-lab .phx-stage.btr-stage,.arch-lab .phx-stage.btr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btr-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .btr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btr-tri{fill:none;stroke:#0f172a;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .btr-mlh{fill:#fde68a;stroke:none}
.arch-lab svg .btr-bis{stroke:#7c3aed;stroke-width:2;stroke-dasharray:7 4}
.arch-lab svg .btr-hgt{stroke:#0369a1;stroke-width:2;stroke-dasharray:3 4}
.arch-lab svg .btr-med{stroke:#15803d;stroke-width:2;stroke-dasharray:10 4 2 4}
.arch-lab svg .btr-side{stroke:#b45309;stroke-width:3;stroke-linecap:round}
.arch-lab svg .btr-thin{stroke-width:1.8}
.arch-lab svg .btr-arc{fill:#fca5a5;stroke:#991b1b;stroke-width:1.2}
.arch-lab svg .btr-pt{fill:#111827;stroke:#fff;stroke-width:1.2}
.arch-lab .phx-svg text.btr-letter{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.btr-len{font-size:15px;font-weight:800;fill:#78350f;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.btr-ang{font-size:15px;font-weight:800;fill:#7f1d1d;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.btr-hl{font-size:15px;font-weight:800;fill:#075985;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Бельчонок» 2025/26, 8 класс, №4 «Сколько монет гарантируют тройку». Light paper in both themes. */
.arch-lab .phx-stage.bcn-stage,.arch-lab .phx-stage.bcn-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bcn-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bcn-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bcn-sq{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bcn-coin{fill:#fbbf24;stroke:#92400e;stroke-width:1.6;pointer-events:none}
.arch-lab svg .bcn-coin-in{fill:none;stroke:#b45309;stroke-width:1.2;pointer-events:none}
.arch-lab svg .bcn-bad{fill:none;stroke:#dc2626;stroke-width:3;pointer-events:none}
.arch-lab svg .bcn-part{fill:none;stroke:#0f172a;stroke-width:2.6;pointer-events:none}
.arch-lab svg .bcn-cell{cursor:pointer}
.arch-lab svg .bcn-cell:focus-visible .bcn-sq{stroke:#111827;stroke-width:3.2}

/* Popov Academy — «Бельчонок» 2025/26, 8 класс, №5 «Три дроби с условием на квадраты». Light paper in both themes. */
.arch-lab .phx-stage.bfr-stage,.arch-lab .phx-stage.bfr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bfr-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .bfr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bfr-qa{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .bfr-qb{fill:#fed7aa;stroke:#c2410c;stroke-width:1.6}
.arch-lab svg .bfr-qc{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bfr-strip{fill:#f1f5f9;stroke:#64748b;stroke-width:1.5}
.arch-lab svg .bfr-mark{stroke:#b91c1c;stroke-width:2.6;stroke-dasharray:6 4}
.arch-lab .phx-svg text.bfr-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bfr-lab{font-size:14px;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.bfr-fr{font-size:15px;font-weight:800;fill:#7f1d1d;stroke:none}
.arch-lab .phx-svg text.bfr-sum{font-size:16px;font-weight:800;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .bfr-stage svg .vs-frac{stroke:#7f1d1d;stroke-width:2}

/* Popov Academy — «Бельчонок» 2025/26, физика, 7 класс, №1 «Гонка». Light paper in both themes. */
.arch-lab .phx-stage.brc-stage,.arch-lab .phx-stage.brc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brc-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .brc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brc-sky{fill:#e0f2fe;stroke:none}
.arch-lab svg .brc-ground{fill:#d9f99d;stroke:none}
.arch-lab svg .brc-mark{stroke:#111827;stroke-width:2.4}
.arch-lab svg .brc-change{stroke:#b91c1c;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .brc-hbody{fill:#fbbf24;stroke:#78350f;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .brc-hglass{fill:#e0f2fe;stroke:#78350f;stroke-width:1}
.arch-lab svg .brc-hline{fill:none;stroke:#78350f;stroke-width:1.6;stroke-linecap:round}
.arch-lab svg .brc-hrotor{stroke:#334155;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .brc-plot{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .brc-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .brc-path{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .brc-p-plane{stroke:#1d4ed8}
.arch-lab svg .brc-p-heli{stroke:#b45309;stroke-dasharray:9 5}
.arch-lab svg .brc-p-walker{stroke:#15803d;stroke-dasharray:2 6}
.arch-lab svg .brc-dot{stroke:#fff;stroke-width:1.5}
.arch-lab svg .brc-d-plane{fill:#1d4ed8}
.arch-lab svg .brc-d-heli{fill:#b45309}
.arch-lab svg .brc-d-walker{fill:#15803d}
.arch-lab .phx-svg text.brc-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.brc-cap2{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.brc-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.brc-speed{font-size:14px;font-weight:700;stroke:#e0f2fe;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.brc-s-plane{fill:#1e3a8a}
.arch-lab .phx-svg text.brc-s-heli{fill:#78350f}
.arch-lab .phx-svg text.brc-s-walker{fill:#14532d}

/* Popov Academy — «Бельчонок» 2025/26, физика, 7 класс, №2 «Два бегуна на клетчатой доске». Light paper in both themes. */
.arch-lab .phx-stage.brn-stage,.arch-lab .phx-stage.brn-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.brn-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .brn-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .brn-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .brn-node{fill:#64748b;stroke:none}
.arch-lab svg .brn-r1{fill:none;stroke:#1d4ed8;stroke-width:4}
.arch-lab svg .brn-r2{fill:none;stroke:#c2410c;stroke-width:4;stroke-dasharray:8 5}
.arch-lab svg .brn-start{fill:#facc15;stroke:#111827;stroke-width:2}
.arch-lab svg .brn-flag{fill:#dc2626;stroke:#111827;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .brn-b1{fill:#1d4ed8;stroke:#fff;stroke-width:1.5}
.arch-lab svg .brn-b2{fill:#c2410c;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.brn-bnum{font-size:14px;font-weight:700;fill:#ffffff;stroke:none}
.arch-lab .phx-svg text.brn-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.brn-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.brn-lap{font-size:15px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.brn-t1{fill:#1e3a8a}
.arch-lab .phx-svg text.brn-t2{fill:#7c2d12}

/* Popov Academy — «Бельчонок» 2025/26, физика, 7 класс, №3 «Два зонда в тоннеле». Light paper in both themes. */
.arch-lab .phx-stage.bzp-stage,.arch-lab .phx-stage.bzp-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bzp-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bzp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bzp-k1{fill:#ecfeff;stroke:none}
.arch-lab svg .bzp-k2{fill:#cffafe;stroke:none}
.arch-lab svg .bzp-k3{fill:#a5f3fc;stroke:none}
.arch-lab svg .bzp-k4{fill:#67e8f9;stroke:none}
.arch-lab svg .bzp-k5{fill:#22d3ee;stroke:none}
.arch-lab svg .bzp-k6{fill:#06b6d4;stroke:none}
.arch-lab svg .bzp-wall{fill:none;stroke:#334155;stroke-width:2}
.arch-lab svg .bzp-tick{stroke:#64748b;stroke-width:1.2}
.arch-lab svg .bzp-centre{stroke:#7c3aed;stroke-width:1.6;stroke-dasharray:4 4}
.arch-lab svg .bzp-meet{stroke:#15803d;stroke-width:3}
.arch-lab svg .bzp-p-alpha{fill:#1d4ed8;stroke:#ffffff;stroke-width:1.5}
.arch-lab svg .bzp-p-beta{fill:#c2410c;stroke:#ffffff;stroke-width:1.5}
.arch-lab svg .bzp-eye{fill:#fde68a;stroke:#111827;stroke-width:.8}
.arch-lab svg .bzp-ant{stroke:#111827;stroke-width:1.4}
.arch-lab svg .bzp-plot{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .bzp-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bzp-path{fill:none;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .bzp-l-alpha{stroke:#1d4ed8}
.arch-lab svg .bzp-l-beta{stroke:#c2410c;stroke-dasharray:9 5}
.arch-lab svg .bzp-dot{stroke:#fff;stroke-width:1.5}
.arch-lab svg .bzp-d-alpha{fill:#1d4ed8}
.arch-lab svg .bzp-d-beta{fill:#c2410c}
.arch-lab svg .bzp-ring{fill:none;stroke:#15803d;stroke-width:2.6}
.arch-lab .phx-svg text.bzp-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bzp-cap2{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bzp-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bzp-klab{font-size:14px;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bzp-portal{font-size:15px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, физика, 7 класс, №4 «Плотность песчинок». Light paper in both themes. */
.arch-lab .phx-stage.bsd-stage,.arch-lab .phx-stage.bsd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bsd-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bsd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bsd-liq{fill:#fef3c7;stroke:none}
.arch-lab svg .bsd-sand{fill:#fde68a;stroke:none}
.arch-lab svg .bsd-grain{fill:#a16207;stroke:none}
.arch-lab svg .bsd-glass{fill:none;stroke:#334155;stroke-width:3}
.arch-lab svg .bsd-tick{stroke:#334155;stroke-width:1.4}
.arch-lab svg .bsd-pan{fill:#94a3b8;stroke:#334155;stroke-width:1.2}
.arch-lab svg .bsd-scale{fill:#475569;stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .bsd-lcd{fill:#e2e8f0;stroke:#1f2937;stroke-width:1}
.arch-lab svg .bsd-lcd.ok{fill:#bbf7d0}
.arch-lab .phx-svg text.bsd-lcdt{font-size:15px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bsd-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsd-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bsd-lab{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bsd-val{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bsd-goal{font-size:14.5px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.bsd-goal.ok{fill:#15803d}

/* Popov Academy — «Бельчонок» 2025/26, физика, 7 класс, №5 «Скорость всплытия пузырька». Light paper in both themes. */
.arch-lab .phx-stage.bbb-stage,.arch-lab .phx-stage.bbb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bbb-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bbb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bbb-water{fill:#bfdbfe;stroke:none}
.arch-lab svg .bbb-jar{fill:none;stroke:#1e3a8a;stroke-width:2.4}
.arch-lab svg .bbb-bubble{fill:#ffffff;stroke:#1e3a8a;stroke-width:1.8}
.arch-lab svg .bbb-shine{fill:#e0f2fe;stroke:none}
.arch-lab svg .bbb-row{fill:#eef2ff;stroke:none}
.arch-lab svg .bbb-sum{fill:#fef9c3;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .bbb-need{fill:#dcfce7;stroke:#15803d;stroke-width:1.2}
.arch-lab .phx-svg text.bbb-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bbb-head{font-size:15px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bbb-name{font-size:14.5px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bbb-b{font-weight:700}
.arch-lab .phx-svg text.bbb-num{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bbb-ok{fill:#15803d}
.arch-lab .phx-svg text.bbb-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bbb-axis{font-size:14px;fill:#334155;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, физика, 8 класс, №1 «Роботы и измерения». Light paper in both themes. */
.arch-lab .phx-stage.bro-stage,.arch-lab .phx-stage.bro-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bro-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bro-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bro-rail{stroke:#334155;stroke-width:4;stroke-linecap:round}
.arch-lab svg .bro-r1{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1.4}
.arch-lab svg .bro-r2{fill:#fb923c;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .bro-eye{fill:#fef9c3;stroke:#111827;stroke-width:.8}
.arch-lab svg .bro-ant{stroke:#111827;stroke-width:1.4}
.arch-lab svg .bro-wheel{fill:#1f2937;stroke:none}
.arch-lab svg .bro-dist{stroke:#15803d;stroke-width:2.2;stroke-dasharray:5 4}
.arch-lab svg .bro-plot{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .bro-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .bro-org{fill:none;stroke:#94a3b8;stroke-width:4;stroke-linejoin:round}
.arch-lab svg .bro-true{fill:none;stroke:#1d4ed8;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .bro-hit{fill:#16a34a;stroke:#0f172a;stroke-width:1.3}
.arch-lab svg .bro-miss{fill:#dc2626;stroke:#0f172a;stroke-width:1.3}
.arch-lab svg .bro-kink{fill:#ffffff;stroke:#7c3aed;stroke-width:2.6}
.arch-lab .phx-svg text.bro-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bro-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bro-dlab{font-size:14.5px;font-weight:700;fill:#15803d;stroke:none}
.arch-lab svg .bro-rail2{stroke:#334155;stroke-width:2;stroke-dasharray:2 3}
.arch-lab .phx-svg text.bro-unit{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, физика, 8 класс, №2 «Два маршрута». Light paper in both themes. */
.arch-lab .phx-stage.bru-stage,.arch-lab .phx-stage.bru-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bru-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bru-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bru-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bru-r1{fill:none;stroke:#1d4ed8;stroke-width:4;stroke-linejoin:round}
.arch-lab svg .bru-r2{fill:none;stroke:#c2410c;stroke-width:4;stroke-dasharray:9 5;stroke-linejoin:round}
.arch-lab svg .bru-stop{fill:#fecaca;stroke:#b91c1c;stroke-width:2}
.arch-lab svg .bru-fin{fill:#22c55e;stroke:#111827;stroke-width:2}
.arch-lab .phx-svg text.bru-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bru-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bru-lab{font-size:15px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.bru-t1{fill:#1e3a8a}
.arch-lab .phx-svg text.bru-t2{fill:#7c2d12}
.arch-lab .phx-svg text.bru-win{fill:#15803d}

/* Popov Academy — «Бельчонок» 2025/26, физика, 8 класс, №3 «Жёлоб на оси». Light paper in both themes. */
.arch-lab .phx-stage.btg-stage,.arch-lab .phx-stage.btg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.btg-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .btg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .btg-liq{fill:#93c5fd;stroke:none}
.arch-lab svg .btg-trough{fill:none;stroke:#1f2937;stroke-width:2.4}
.arch-lab svg .btg-wall{stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .btg-sec{fill:none;stroke:#1f2937;stroke-width:2.2}
.arch-lab svg .btg-pivot{fill:#e2e8f0;stroke:#1f2937;stroke-width:1.8}
.arch-lab svg .btg-a-liq{stroke:#1d4ed8;fill:#1d4ed8;stroke-width:2.6}
.arch-lab svg .btg-a-w{stroke:#475569;fill:#475569;stroke-width:2.6}
.arch-lab svg .btg-a-f{stroke:#b91c1c;fill:#b91c1c;stroke-width:2.8}
.arch-lab svg .btg-armline{stroke:#475569;stroke-width:2.6}
.arch-lab .phx-svg text.btg-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.btg-flab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.btg-wlab{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.btg-pct{font-size:14.5px;font-weight:700;fill:#1e3a8a;stroke:none}
.arch-lab .phx-svg .btg-a-liq .phx-arrow-shaft{stroke:#1d4ed8;stroke-width:2.6}.arch-lab .phx-svg .btg-a-liq .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg .btg-a-w .phx-arrow-shaft{stroke:#475569;stroke-width:2.6}.arch-lab .phx-svg .btg-a-w .phx-arrow-head{fill:#475569;stroke:none}
.arch-lab .phx-svg .btg-a-f .phx-arrow-shaft{stroke:#b91c1c;stroke-width:2.8}.arch-lab .phx-svg .btg-a-f .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab svg .btg-dot{fill:#111827;stroke:#ffffff;stroke-width:1}
.arch-lab svg .btg-turn{fill:none;stroke:#7c3aed;stroke-width:2.4}
.arch-lab svg .btg-turnhead{fill:#7c3aed;stroke:none}
.arch-lab .phx-svg text.btg-turnlab{font-size:14px;font-weight:700;fill:#6d28d9;stroke:none}
.arch-lab svg .btg-aline{stroke:#334155;stroke-width:1.4;stroke-dasharray:5 4;fill:none}
.arch-lab svg .btg-tie{stroke:#334155;stroke-width:1.6}

/* Popov Academy — «Бельчонок» 2025/26, физика, 8 класс, №4 «Сила на дно мензурки». Light paper in both themes. */
.arch-lab .phx-stage.bgr-stage,.arch-lab .phx-stage.bgr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bgr-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bgr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bgr-sand{fill:#fde68a;stroke:none}
.arch-lab svg .bgr-grain{fill:#a16207;stroke:none}
.arch-lab svg .bgr-glass{fill:none;stroke:#334155;stroke-width:3}
.arch-lab svg .bgr-row{fill:#eef2ff;stroke:none}
.arch-lab svg .bgr-sum{fill:#fef9c3;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .bgr-need{fill:#dcfce7;stroke:#15803d;stroke-width:1.2}
.arch-lab .phx-svg .bgr-aw .phx-arrow-shaft{stroke:#475569;stroke-width:2.6}.arch-lab .phx-svg .bgr-aw .phx-arrow-head{fill:#475569;stroke:none}
.arch-lab .phx-svg .bgr-af .phx-arrow-shaft{stroke:#b91c1c;stroke-width:2.8}.arch-lab .phx-svg .bgr-af .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.bgr-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bgr-head{font-size:15px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bgr-name{font-size:14.5px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bgr-b{font-weight:700}
.arch-lab .phx-svg text.bgr-num{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bgr-ok{fill:#15803d}
.arch-lab .phx-svg text.bgr-bad{fill:#b91c1c}
.arch-lab .phx-svg text.bgr-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bgr-lab{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.bgr-val{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bgr-red{fill:#b91c1c}

/* Popov Academy — «Бельчонок» 2025/26, физика, 8 класс, №5 «Льдины с шариками». Light paper in both themes. */
.arch-lab .phx-stage.bic-stage,.arch-lab .phx-stage.bic-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bic-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .bic-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bic-water{fill:#bfdbfe;stroke:#1e3a8a;stroke-width:2}
.arch-lab svg .bic-salt{fill:#c7d2fe;stroke:#1e3a8a;stroke-width:2}
.arch-lab svg .bic-wall{stroke:#334155;stroke-width:3}
.arch-lab svg .bic-block{fill:#e2e8f0;stroke:#334155;stroke-width:2}
.arch-lab svg .bic-thread{stroke:#334155;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab svg .bic-ice{fill:#f0f9ff;stroke:#0369a1;stroke-width:1.8}
.arch-lab svg .bic-ball{fill:#64748b;stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .bic-tube{fill:#ffffff;stroke:#334155;stroke-width:1.6}
.arch-lab svg .bic-merc{fill:#dc2626;stroke:none}
.arch-lab svg .bic-bulb{fill:#dc2626;stroke:#334155;stroke-width:1.6}
.arch-lab svg .bic-tick{stroke:#334155;stroke-width:1.4}
.arch-lab svg .bic-afa{stroke:#15803d;stroke-width:3}
.arch-lab svg .bic-amg{stroke:#b91c1c;stroke-width:3}
.arch-lab .phx-svg .bic-aa .phx-arrow-shaft{stroke:#15803d;stroke-width:2.8}.arch-lab .phx-svg .bic-aa .phx-arrow-head{fill:#15803d;stroke:none}
.arch-lab .phx-svg .bic-am .phx-arrow-shaft{stroke:#b91c1c;stroke-width:2.8}.arch-lab .phx-svg .bic-am .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.bic-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.bic-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bic-val{font-size:14.5px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.bic-st{font-size:14px;font-weight:700;fill:#7c2d12;stroke:none}
.arch-lab .phx-svg text.bic-ok{fill:#15803d}
.arch-lab svg .bic-slack{fill:none;stroke-dasharray:none;stroke-width:1.8}
.arch-lab svg .bic-anet{stroke:#7c3aed;stroke-width:3;stroke-dasharray:4 3}
.arch-lab .phx-svg .bic-an .phx-arrow-shaft{stroke:#7c3aed;stroke-width:2.6;stroke-dasharray:4 3}.arch-lab .phx-svg .bic-an .phx-arrow-head{fill:#7c3aed;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №1 «Шахматная доска без угла». Light paper in both themes. */
.arch-lab .phx-stage.bqb-stage,.arch-lab .phx-stage.bqb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqb-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqb-light{fill:#f8fafc;stroke:#94a3b8;stroke-width:0.8}
.arch-lab svg .bqb-dark{fill:#b8c4d6;stroke:#94a3b8;stroke-width:0.8}
.arch-lab svg .bqb-tile{stroke:#94a3b8;stroke-width:0.8}
.arch-lab svg .bqb-piece{fill:none;stroke:#111827;stroke-width:2}
.arch-lab svg .bqb-hole{fill:#fff;stroke:#94a3b8;stroke-width:1;stroke-dasharray:4 3}
.arch-lab svg .bqb-edge{stroke:#111827;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .bqb-grid{fill:none;stroke:#64748b;stroke-width:0.9}
.arch-lab svg .bqb-fill{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bqb-rest{fill:#fecaca;stroke:#b91c1c;stroke-width:1.6}
.arch-lab .phx-svg text.bqb-lbl{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqb-num{font-size:17px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .bqb-cap{margin:0 0 6px;font-weight:600}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №10 «Пятиугольники на рисунке». Light paper in both themes. */
.arch-lab .phx-stage.bqg-stage,.arch-lab .phx-stage.bqg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqg-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqg-fill{fill:#fde68a;stroke:none}
.arch-lab svg .bqg-off{stroke:#111827;stroke-width:1.8;stroke-linecap:round}
.arch-lab svg .bqg-on{stroke:#111827;stroke-width:4.2;stroke-linecap:round}
.arch-lab svg .bqg-hit{stroke:transparent;stroke-width:14;cursor:pointer}
.arch-lab svg .bqg-line{cursor:pointer}
.arch-lab svg .bqg-line:focus{outline:none}
.arch-lab svg .bqg-line:focus-visible .bqg-off,.arch-lab svg .bqg-line:focus-visible .bqg-on{stroke-width:5;stroke-dasharray:6 3}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №2 «Косички в детском саду». Light paper in both themes. */
.arch-lab .phx-stage.bqk-stage,.arch-lab .phx-stage.bqk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqk-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bqk-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqk-hair{fill:#92400e;stroke:none}
.arch-lab svg .bqk-hair2{fill:#57534e;stroke:none}
.arch-lab svg .bqk-braid{fill:none;stroke:#92400e;stroke-linecap:round}
.arch-lab svg .bqk-braid2{fill:none;stroke:#57534e;stroke-linecap:round}
.arch-lab svg .bqk-face{fill:#fde7c8;stroke:none}
.arch-lab svg .bqk-eye{fill:#1f2937;stroke:none}
.arch-lab svg .bqk-made{fill:#e2e8f0;stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .bqk-undone{fill:#fecaca;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .bqk-girls{fill:#fde68a;stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .bqk-teach{fill:#bbf7d0;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .bqk-mark{stroke:#111827;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg text.bqk-lbl{font-size:15px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqk-num{font-size:16px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqk-big{font-size:18px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqk-warn{font-size:14px;fill:#991b1b;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №3 «Разность палиндромов». Light paper in both themes. */
.arch-lab .phx-stage.bqp-stage,.arch-lab .phx-stage.bqp-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqp-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .bqp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqp-half{fill:#fde68a;stroke:#b45309;stroke-width:1.3}
.arch-lab svg .bqp-mir{fill:#dbeafe;stroke:#2563eb;stroke-width:1.3}
.arch-lab svg .bqp-res{fill:#bbf7d0;stroke:#15803d;stroke-width:1.3}
.arch-lab svg .bqp-arc{fill:none;stroke:#2563eb;stroke-width:1.6}
.arch-lab svg .bqp-best{fill:none;stroke:#15803d;stroke-width:2.6}
.arch-lab svg .bqp-rule{stroke:#111827;stroke-width:2.4}
.arch-lab .phx-svg text.bqp-lbl{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqp-dig{font-size:21px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №4 «Воскресений больше, чем понедельников». Light paper in both themes. */
.arch-lab .phx-stage.bqy-stage,.arch-lab .phx-stage.bqy-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqy-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqy-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqy-day{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bqy-extra{fill:#fde68a;stroke:#b45309;stroke-width:1.6}
.arch-lab svg .bqy-blank{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .bqy-seen{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .bqy-good{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bqy-cur{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab .phx-svg text.bqy-lbl{font-size:16px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqy-dname{font-size:15px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqy-cnt{font-size:17px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqy-yr{font-size:14px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqy-small{font-size:14px;fill:#334155;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №5 «Числа на шахматной доске». Light paper in both themes. */
.arch-lab .phx-stage.bqn-stage,.arch-lab .phx-stage.bqn-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqn-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .bqn-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqn-light{fill:#f8fafc;stroke:#94a3b8;stroke-width:0.8}
.arch-lab svg .bqn-dark{fill:#d6dde8;stroke:#94a3b8;stroke-width:0.8}
.arch-lab svg .bqn-path{fill:#fde68a;stroke:#b45309;stroke-width:1}
.arch-lab svg .bqn-three{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .bqn-bad{fill:#fecaca;stroke:#b91c1c;stroke-width:2}
.arch-lab svg .bqn-d1{fill:#fde68a;stroke:#b45309;stroke-width:1}
.arch-lab svg .bqn-d2{fill:#bbf7d0;stroke:#15803d;stroke-width:1}
.arch-lab svg .bqn-cell{cursor:pointer}
.arch-lab svg .bqn-cell:focus-visible rect{stroke:#111827;stroke-width:3}
.arch-lab .phx-svg text.bqn-num{font-size:15px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.bqn-lbl{font-size:15px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №6 «Магические камни Стеллы». Light paper in both themes. */
.arch-lab .phx-stage.bqs-stage,.arch-lab .phx-stage.bqs-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqs-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqs-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqs-stone{fill:#e2e8f0;stroke:#64748b;stroke-width:1.2}
.arch-lab svg .bqs-top{fill:#c4b5fd;stroke:#6d28d9;stroke-width:1.6}
.arch-lab svg .bqs-ok{fill:#bbf7d0;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .bqs-bad{fill:#fecaca;stroke:#b91c1c;stroke-width:1.4}
.arch-lab svg .bqs-mark{stroke:#111827;stroke-width:2;stroke-dasharray:5 4}
.arch-lab svg .bqs-beam{stroke:#475569;stroke-width:2.4;stroke-linecap:round}
.arch-lab .phx-svg text.bqs-sn{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqs-lbl{font-size:15px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqs-small{font-size:14px;font-weight:600;fill:#111827;stroke:none}
.arch-lab svg .bqs-slot{fill:none;stroke:#cbd5e1;stroke-width:1.4;stroke-dasharray:6 5}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №7 «Четырёхзначное число Королевы». Light paper in both themes. */
.arch-lab .phx-stage.bqd-stage,.arch-lab .phx-stage.bqd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqd-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqd-card{fill:#fef3c7;stroke:#b45309;stroke-width:1.6}
.arch-lab svg .bqd-t{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .bqd-f{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .bqd-hero1{fill:#fca5a5;stroke:#7f1d1d;stroke-width:1.4}
.arch-lab svg .bqd-hero2{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1.4}
.arch-lab .phx-svg text.bqd-dig{font-size:28px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqd-small{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.bqd-who{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqd-say{font-size:14.5px;font-weight:600;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №8 «Восемь пар носков». Light paper in both themes. */
.arch-lab .phx-stage.bqo-stage,.arch-lab .phx-stage.bqo-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqo-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqo-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqo-sock{stroke:#334155;stroke-width:1.2}
.arch-lab svg .bqo-pair{fill:none;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .bqo-odd{fill:none;stroke:#b91c1c;stroke-width:2;stroke-dasharray:4 3}
.arch-lab .phx-svg text.bqo-lbl{font-size:16px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqo-num{font-size:15px;font-weight:700;fill:#111827;stroke:none}

/* Popov Academy — «Бельчонок» 2025/26, 6 класс, отбор, №9 «Наибольшая дробь». Light paper in both themes. */
.arch-lab .phx-stage.bqf-stage,.arch-lab .phx-stage.bqf-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.bqf-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .bqf-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .bqf-num{fill:#fde68a;stroke:#b45309;stroke-width:1.4}
.arch-lab svg .bqf-den{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .bqf-three{fill:rgba(250,204,21,.45);stroke:#b45309;stroke-width:1.2;stroke-dasharray:4 3}
.arch-lab svg .bqf-edge{stroke:#111827;stroke-width:2.4}
.arch-lab svg .bqf-axis{stroke:#334155;stroke-width:1.6}
.arch-lab svg .bqf-third{stroke:#6d28d9;stroke-width:2.4;stroke-dasharray:5 3}
.arch-lab svg .bqf-ok{fill:#22c55e;stroke:#14532d;stroke-width:1.6}
.arch-lab svg .bqf-bad{fill:#ef4444;stroke:#7f1d1d;stroke-width:1.6}
.arch-lab svg .vs-frac{stroke:#111827;stroke-width:1.4}
.arch-lab .phx-svg text.bqf-lbl{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqf-lbl2{font-size:14.5px;font-weight:600;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqf-n{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.bqf-tick{font-size:14px;font-weight:600;fill:#111827;stroke:none}

/* Popov Academy — «Курчатов» 2025/26, 8 класс, №1 «Две связи между тремя числами». Light paper in both themes. */
.arch-lab .phx-stage.kra-stage,.arch-lab .phx-stage.kra-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.kra-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .kra-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .kra-card{stroke-width:1.8}
.arch-lab svg .kra-c0{fill:#dbeafe;stroke:#1d4ed8}
.arch-lab svg .kra-c1{fill:#ffedd5;stroke:#c2410c}
.arch-lab svg .kra-c2{fill:#dcfce7;stroke:#15803d}
.arch-lab svg .kra-bad{fill:#fecaca;stroke:#991b1b;stroke-width:3}
.arch-lab .phx-svg text.kra-letter{font-size:17px;font-weight:700;font-style:italic;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.kra-value{font-size:24px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.kra-cap{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.kra-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.kra-b{font-weight:700;fill:#14532d}
.arch-lab svg .kra-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .kra-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .kra-zero{stroke:#16a34a;stroke-width:2.8}
.arch-lab svg .kra-asym{stroke:#b91c1c;stroke-width:1.6;stroke-dasharray:5 5}
.arch-lab svg .kra-curve{fill:none;stroke:#7c3aed;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .kra-now{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .kra-dot{fill:#7c3aed;stroke:#fff;stroke-width:1.5}
.arch-lab svg .kra-dot.kra-hit{fill:#22c55e;stroke:#14532d;stroke-width:3}
.arch-lab .phx-svg text.kra-fr{font-size:19px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab svg .kra-card ~ g .vs-frac,.arch-lab .kra-stage svg .vs-frac{stroke:#111827;stroke-width:2}

/* Popov Academy — «Курчатов» 2025/26, 8 класс, №2 «Корабли идут к ближайшей базе». Light sea in both themes. */
.arch-lab .phx-stage.ksh-stage,.arch-lab .phx-stage.ksh-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ksh-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .ksh-sea{fill:#e0f2fe;stroke:none}
.arch-lab svg .ksh-wave{fill:none;stroke:#7dd3fc;stroke-width:1.6}
.arch-lab svg .ksh-isle{fill:#fde68a;stroke:#92400e;stroke-width:1.8}
.arch-lab svg .ksh-tortuga{fill:#fcd34d;stroke:#78350f;stroke-width:2.4}
.arch-lab svg .ksh-flag{fill:#dc2626;stroke:#111827;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .ksh-course{stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .ksh-toT{stroke:#15803d}
.arch-lab svg .ksh-other{stroke:#b91c1c;stroke-dasharray:7 6}
.arch-lab svg .ksh-own{stroke:#475569;stroke-dasharray:2 6}
.arch-lab svg .ksh-ship{fill:#f8fafc;stroke:#111827;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .ksh-shipT{fill:#bbf7d0}
.arch-lab .phx-svg text.ksh-dist{font-size:15px;font-weight:700;fill:#0f172a;stroke:#e0f2fe;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ksh-name{font-size:15px;font-weight:800;fill:#7c2d12;stroke:#e0f2fe;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Курчатов» 2025/26, 8 класс, №3 «Мнения после диалогов». Light paper in both themes. */
.arch-lab .phx-stage.kop-stage,.arch-lab .phx-stage.kop-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.kop-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .kop-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .kop-room{stroke-width:1.6}
.arch-lab svg .kop-r0{fill:#eff6ff;stroke:#1d4ed8}
.arch-lab svg .kop-r1{fill:#fff7ed;stroke:#c2410c}
.arch-lab svg .kop-r2{fill:#f0fdf4;stroke:#15803d}
.arch-lab svg .kop-four{fill:#bbf7d0;stroke:#14532d;stroke-width:3.4}
.arch-lab svg .kop-h0{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab svg .kop-h1{fill:#fb923c;stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .kop-h2{fill:#22c55e;stroke:#14532d;stroke-width:1.2}
.arch-lab svg .kop-new{stroke:#111827;stroke-width:3}
.arch-lab .phx-svg text.kop-name{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.kop-count{font-size:26px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Курчатов» 2025/26, 8 класс, №4 «Обгон в триатлоне». Light paper in both themes. */
.arch-lab .phx-stage.ktr-stage,.arch-lab .phx-stage.ktr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ktr-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .ktr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .ktr-bike{fill:#d6d3d1;stroke:#78716c;stroke-width:1}
.arch-lab svg .ktr-swim{fill:#bae6fd;stroke:#0369a1;stroke-width:1}
.arch-lab svg .ktr-run{fill:#fed7aa;stroke:#c2410c;stroke-width:1}
.arch-lab svg .ktr-band{opacity:.5;stroke:none}
.arch-lab svg .ktr-lane{stroke:#ffffff;stroke-width:1.6;stroke-dasharray:6 6}
.arch-lab svg .ktr-wave{fill:none;stroke:#0369a1;stroke-width:1.4}
.arch-lab svg .ktr-mark{stroke:#111827;stroke-width:2.4}
.arch-lab svg .ktr-cat{fill:#fb923c;stroke:#7c2d12;stroke-width:1.5}
.arch-lab svg .ktr-dog{fill:#e7d3b3;stroke:#57534e;stroke-width:1.5}
.arch-lab svg .ktr-dogear{fill:#57534e;stroke:#292524;stroke-width:1}
.arch-lab svg .ktr-boy{fill:#fde2c4;stroke:#7c4a25;stroke-width:1.5}
.arch-lab svg .ktr-cap{fill:#2563eb;stroke:#1e3a8a;stroke-width:1.5}
.arch-lab svg .ktr-eye{fill:#111827;stroke:none}
.arch-lab svg .ktr-mouth{fill:none;stroke:#111827;stroke-width:1.2}
.arch-lab svg .ktr-flag{fill:#dc2626;stroke:#111827;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .ktr-flagline{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .ktr-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .ktr-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .ktr-path{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .ktr-p-cat{stroke:#c2410c}
.arch-lab svg .ktr-p-dog{stroke:#44403c;stroke-dasharray:9 5}
.arch-lab svg .ktr-p-boy{stroke:#1d4ed8;stroke-dasharray:2 6}
.arch-lab svg .ktr-dot{stroke:#fff;stroke-width:1.5}
.arch-lab svg .ktr-d-cat{fill:#c2410c}
.arch-lab svg .ktr-d-dog{fill:#44403c}
.arch-lab svg .ktr-d-boy{fill:#1d4ed8}
.arch-lab svg .ktr-ring{fill:none;stroke:#dc2626;stroke-width:2.6}
.arch-lab .phx-svg text.ktr-cap{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.ktr-axis{font-size:14px;fill:#334155;stroke:none}

/* Popov Academy — «Курчатов» 2025/26, 8 класс, №5 «Окружность внутри равностороннего треугольника». Light paper in both themes. */
.arch-lab .phx-stage.kci-stage,.arch-lab .phx-stage.kci-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.kci-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .kci-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .kci-tri{fill:#eef2ff;stroke:#1e293b;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .kci-circ{fill:none;stroke:#7c3aed;stroke-width:2;stroke-dasharray:6 5}
.arch-lab svg .kci-af{stroke:#334155;stroke-width:2}
.arch-lab svg .kci-bf{stroke:#334155;stroke-width:1.8;stroke-dasharray:5 5}
.arch-lab svg .kci-fh{stroke:#dc2626;stroke-width:4.4;stroke-linecap:round}
.arch-lab svg .kci-ch{stroke:#0369a1;stroke-width:4.4;stroke-linecap:round}
.arch-lab svg .kci-lead{stroke:#075985;stroke-width:1.3}
.arch-lab svg .kci-right{fill:none;stroke:#111827;stroke-width:1.5}
.arch-lab svg .kci-pt{fill:#111827;stroke:#fff;stroke-width:1.2}
.arch-lab svg .kci-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .kci-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .kci-curve{fill:none;stroke:#7c3aed;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .kci-target{fill:none;stroke:#111827;stroke-width:2.6}
.arch-lab svg .kci-dot{fill:#f59e0b;stroke:#111827;stroke-width:1.8}
.arch-lab svg .kci-dot.kci-hit{fill:#22c55e;stroke:#14532d;stroke-width:3}
.arch-lab svg .kci-dot.kci-near{fill:#fde047;stroke:#111827;stroke-width:2.6;stroke-dasharray:3 2}
.arch-lab .phx-svg text.kci-letter{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.kci-len{font-size:15px;font-weight:800;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.kci-lfh{fill:#991b1b}
.arch-lab .phx-svg text.kci-lch{fill:#075985}
.arch-lab .phx-svg text.kci-cap{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.kci-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.kci-tg{font-weight:700;fill:#111827}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №1 «Расчёски». Light paper in both themes. */
.arch-lab .phx-stage.mzb-stage,.arch-lab .phx-stage.mzb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzb-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .mzb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzb-k{fill:#64748b;stroke:none}
.arch-lab svg .mzb-m{fill:#c2410c;stroke:none}
.arch-lab svg .mzb-ok{fill:#15803d;stroke:none}
.arch-lab svg .mzb-frame{fill:none;stroke:#1d4ed8;stroke-width:2.2;stroke-dasharray:5 3}
.arch-lab .phx-svg text.mzb-lab{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mzb-small{font-size:14px;fill:#1d4ed8;stroke:none}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №2 «Перенести одну клетку». Light paper in both themes. */
.arch-lab .phx-stage.mzc-stage,.arch-lab .phx-stage.mzc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzc-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mzc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzc-grid{fill:none;stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .mzc-cell{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .mzc-c0{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.2}
.arch-lab svg .mzc-c1{fill:#fde68a;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .mzc-place{fill:#ffffff;stroke:#16a34a;stroke-width:1.8;stroke-dasharray:4 3}
.arch-lab svg .mzc-key{cursor:pointer}
.arch-lab svg .mzc-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №3 «Пять дробей». Light paper in both themes. */
.arch-lab .phx-stage.mzd-stage,.arch-lab .phx-stage.mzd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzd-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mzd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzd-slot{fill:#ffffff;stroke:#94a3b8;stroke-width:1.4}
.arch-lab svg .mzd-card{fill:#fef3c7;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .mzd-used{fill:#f1f5f9;stroke:#cbd5e1}
.arch-lab svg .mzd-held{stroke:#f59e0b;stroke-width:3.4}
.arch-lab svg .mzd-rule{stroke:#1f2937;stroke-width:2}
.arch-lab svg .mzd-key{cursor:pointer}
.arch-lab svg .mzd-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab .phx-svg text.mzd-dig{font-size:19px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.mzd-let{font-size:16px;font-weight:600;fill:#94a3b8;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.mzd-op{font-size:20px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mzd-sum{font-size:22px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mzd-ok{fill:#15803d}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №4 «Куб из восьми брусков». Light paper in both themes. */
.arch-lab .phx-stage.mze-stage,.arch-lab .phx-stage.mze-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mze-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab .mze-3d{width:100%;max-width:560px;margin-inline:auto;aspect-ratio:1/0.82;border-radius:12px;overflow:hidden;outline-offset:2px}
.arch-lab .mze-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab svg .mze-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mze-black{fill:#1f2937;stroke:#111827;stroke-width:1.4}
.arch-lab svg .mze-grey{fill:#9ca3af;stroke:#111827;stroke-width:1.4}
.arch-lab svg .mze-white{fill:#ffffff;stroke:#111827;stroke-width:1.4}
.arch-lab svg .mze-hatched{fill:#e5e7eb;stroke:#111827;stroke-width:1.4}
.arch-lab .phx-svg text.mze-lab{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №5 «Шкатулки шаха». Light paper in both themes. */
.arch-lab .phx-stage.mzf-stage,.arch-lab .phx-stage.mzf-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzf-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mzf-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzf-box{fill:#fef3c7;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .mzf-on{fill:#fbbf24;stroke:#92400e;stroke-width:2.6}
.arch-lab svg .mzf-held{stroke:#1d4ed8;stroke-width:3.4}
.arch-lab svg .mzf-key{cursor:pointer}
.arch-lab svg .mzf-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3}
.arch-lab .phx-svg text.mzf-num{font-size:24px;font-weight:700;fill:#1f2937;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.mzf-t{font-size:15px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mzf-bad{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2023/24, 6 класс, №6 «Круг учеников». Light paper in both themes. */
.arch-lab .phx-stage.mzg-stage,.arch-lab .phx-stage.mzg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzg-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .mzg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzg-o{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .mzg-x{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .mzg-t{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .mzg-bad{stroke:#dc2626;stroke-width:3.4}
.arch-lab svg .mzg-friend{stroke:#2563eb;stroke-width:3;opacity:.55;stroke-linecap:round}
.arch-lab svg .mzg-key{cursor:pointer}
.arch-lab svg .mzg-hit{fill:transparent;stroke:none}
.arch-lab svg .mzg-key:focus-visible .mzg-hit{stroke:#1d4ed8;stroke-width:2.5}
.arch-lab svg .mzg-head{fill:#fde2c4;stroke:#9a6b45;stroke-width:1.2}
.arch-lab svg .mzg-hair{fill:#5b3a1e;stroke:none}
.arch-lab .phx-svg text.mzg-let{font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.mzg-mid{font-size:16px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mzg-mid2{font-size:15px;fill:#334155;stroke:none}

/* Popov Academy — Математический праздник 2023/24, 7 класс, №1 «Квадрат с делящимися соседями». Light paper in both themes. */
.arch-lab .phx-stage.mzh-stage,.arch-lab .phx-stage.mzh-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzh-stage{max-width:420px;margin-inline:auto;width:100%}
.arch-lab svg .mzh-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzh-cell{fill:#ffffff;stroke:#334155;stroke-width:1.8}
.arch-lab svg .mzh-sel{stroke:#f59e0b;stroke-width:3.4}
.arch-lab svg .mzh-warn{fill:#fee2e2}
.arch-lab svg .mzh-ok{stroke:#16a34a;stroke-width:8;stroke-linecap:round;opacity:.75}
.arch-lab svg .mzh-no{stroke:#dc2626;stroke-width:8;stroke-linecap:round;opacity:.75}
.arch-lab svg .mzh-key{cursor:pointer}
.arch-lab svg .mzh-key:focus-visible rect{stroke:#1d4ed8;stroke-width:3.4}
.arch-lab .phx-svg text.mzh-num{font-size:26px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}

/* Popov Academy — Математический праздник 2023/24, 7 класс, №2 «Углы треугольников в раме». Light paper in both themes. */
.arch-lab .phx-stage.mzi-stage,.arch-lab .phx-stage.mzi-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzi-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .mzi-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzi-sq{fill:#e2e8f0;stroke:#334155;stroke-width:1.4}
.arch-lab svg .mzi-a{fill:#86efac;fill-opacity:.75;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .mzi-a2{fill:#4ade80}
.arch-lab svg .mzi-c{fill:#fde68a;fill-opacity:.8;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .mzi-c2{fill:#fcd34d}
.arch-lab .phx-svg text.mzi-lab{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mzi-small{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.mzi-good{fill:#15803d}
.arch-lab .phx-svg text.mzi-bad{fill:#b91c1c}
.arch-lab .phx-svg text.mzi-let{font-size:16px;font-style:italic;font-weight:700;fill:#1f2937;stroke:none}

/* Popov Academy — Математический праздник 2023/24, 7 класс, №5 «Три цвета за две минуты». Light paper in both themes. */
.arch-lab .phx-stage.mzj-stage,.arch-lab .phx-stage.mzj-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzj-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .mzj-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzj-c0{fill:#fca5a5;stroke:#b91c1c;stroke-width:1.4}
.arch-lab svg .mzj-c1{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .mzj-c2{fill:#86efac;stroke:#15803d;stroke-width:1.4}
.arch-lab svg .mzj-arw{stroke:#475569;stroke-width:1.6;fill:none}
.arch-lab svg .mzj-wrap{stroke-dasharray:4 3}
.arch-lab svg .mzj-headp{fill:#475569;stroke:none}
.arch-lab svg .mzj-key{cursor:pointer}
.arch-lab svg .mzj-key:focus-visible rect{stroke:#f59e0b;stroke-width:3.2}
.arch-lab .phx-svg text.mzj-let{font-size:16px;font-weight:700;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.mzj-row{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mzj-mark{font-size:18px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.mzj-yes{fill:#15803d}
.arch-lab .phx-svg text.mzj-no{fill:#9ca3af}

/* Popov Academy — Математический праздник 2023/24, 7 класс, №6 «Перекроить параллелограмм». Light paper in both themes. */
.arch-lab .phx-stage.mzk-stage,.arch-lab .phx-stage.mzk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mzk-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mzk-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mzk-grid{stroke:#dbe3ee;stroke-width:1}
.arch-lab svg .mzk-p1{fill:#e2e8f0;stroke:#111827;stroke-width:2.4}
.arch-lab svg .mzk-ghost{fill:none;stroke:#94a3b8;stroke-dasharray:6 4}
.arch-lab svg .mzk-target{fill:#eff6ff;stroke:#1d4ed8;stroke-width:2.4;stroke-dasharray:7 4}
.arch-lab svg .mzk-light{fill:#cbd5e1;stroke:#111827;stroke-width:1.6}
.arch-lab svg .mzk-dark{fill:#64748b;stroke:#111827;stroke-width:1.6}
.arch-lab svg .mzk-white{fill:#ffffff;stroke:#111827;stroke-width:1.6}
.arch-lab svg .mzk-moving{fill-opacity:.85}
.arch-lab svg .mzk-cut{stroke:#dc2626;stroke-width:3;stroke-linecap:round}
.arch-lab svg .mzk-done{fill:none;stroke:#16a34a;stroke-width:3.4}
.arch-lab svg .mzk-piece{cursor:grab;touch-action:none}
.arch-lab svg .mzk-sel polygon{stroke:#f59e0b;stroke-width:3.2}
.arch-lab svg .mzk-piece:focus-visible polygon{stroke:#1d4ed8;stroke-width:3.4}
.arch-lab .phx-svg text.mzk-lab{font-size:15px;font-weight:600;fill:#1f2937;stroke:none}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №1 «Семь промежутков для знаков». Light paper in both themes. */
.arch-lab .phx-stage.msg-stage,.arch-lab .phx-stage.msg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.msg-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .msg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .msg-gap{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab svg .msg-gap-on{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2;stroke-dasharray:none}
.arch-lab svg .msg-g{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .msg-g:focus-visible rect{stroke:#111827;stroke-width:3.2;stroke-dasharray:none}
.arch-lab svg .msg-tile{fill:#fff;stroke:#64748b;stroke-width:1.6}
.arch-lab svg .msg-tile.msg-one{fill:#dcfce7;stroke:#15803d;stroke-width:2.4}
.arch-lab svg .msg-tile.msg-last{fill:#fef9c3;stroke:#a16207;stroke-width:2.2}
.arch-lab svg .vs-frac{stroke:#111827;stroke-width:1.6}
.arch-lab .phx-svg text.msg-d{font-size:26px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.msg-s{font-size:22px;font-weight:700;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.msg-v{font-size:17px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.msg-op{font-size:14px;fill:#1e40af;stroke:none}
.arch-lab .phx-svg text.msg-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.msg-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.msg-ok{fill:#15803d}
.arch-lab .phx-svg text.msg-bad{fill:#b91c1c}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №2 «Йог, бульдог и носорог». Light paper in both themes. */
.arch-lab .phx-stage.mtg-stage,.arch-lab .phx-stage.mtg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mtg-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mtg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mtg-row{fill:#fff;stroke:#cbd5e1;stroke-width:1.4}
.arch-lab svg .mtg-row.mtg-clash{fill:#fef2f2;stroke:#b91c1c;stroke-width:2.2}
.arch-lab svg .mtg-row.mtg-fine{fill:#f0fdf4;stroke:#15803d;stroke-width:2}
.arch-lab svg .mtg-o{stroke:#1f2937;stroke-width:1.6;stroke-linejoin:round}
.arch-lab .phx-svg text.mtg-name{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mtg-say{font-size:14px;fill:#1e3a8a;stroke:none;font-style:italic}
.arch-lab .phx-svg text.mtg-v{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mtg-bad{fill:#b91c1c;font-weight:700}
.arch-lab .phx-svg text.mtg-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mtg-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .mtg-pick{margin:.35rem 0}
.arch-lab .mtg-pick>span{display:block;font-weight:600;margin-bottom:.25rem}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №3 «Три брата и дороги к яблоне». Light paper in both themes. */
.arch-lab .phx-stage.mrd3-stage,.arch-lab .phx-stage.mrd3-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mrd3-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mrd3-bg{fill:#f0fdf4;stroke:none}
.arch-lab svg .mrd3-road{fill:none;stroke:#d6b98c;stroke-width:11;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .mrd3-edge{fill:none;stroke:#a16207;stroke-width:13;stroke-linecap:round;stroke-linejoin:round;opacity:.35}
.arch-lab svg .mrd3-walk{fill:none;stroke:#1d4ed8;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:9 6}
.arch-lab svg .mrd3-x{fill:#fff;stroke:#78350f;stroke-width:2}
.arch-lab svg .mrd3-me{fill:#1d4ed8;stroke:#fff;stroke-width:2.5}
.arch-lab svg .mrd3-o{stroke:#1f2937;stroke-width:1.5;stroke-linejoin:round}
.arch-lab .phx-svg text.mrd3-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mrd3-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mrd3-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mrd3-bad{fill:#b91c1c;font-weight:700}
.arch-lab .mrd3-pick{margin:.35rem 0}
.arch-lab .mrd3-pick>span{display:block;font-weight:600;margin-bottom:.25rem}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №4 «Красная поверхность куба». Light paper in both themes. */
.arch-lab .phx-stage.msf-stage,.arch-lab .phx-stage.msf-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.msf-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .msf-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .msf-w{fill:#fff;stroke:#cbd5e1;stroke-width:.8}
.arch-lab svg .msf-r{fill:#ef4444;stroke:#fecaca;stroke-width:.8}
.arch-lab svg .msf-face{fill:none;stroke:#111827;stroke-width:2.2}
.arch-lab svg .msf-brick{fill:none;stroke:#7f1d1d;stroke-width:2}
.arch-lab .phx-svg text.msf-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.msf-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.msf-bad{fill:#b91c1c;font-weight:700}
/* the live 3D scene (scene3d.mjs) */
.arch-lab .msf-3d{width:100%;max-width:600px;margin-inline:auto;aspect-ratio:1/0.86;border-radius:12px;overflow:hidden;outline-offset:2px}
.arch-lab .msf-3d canvas{display:block;width:100%;height:100%;touch-action:none}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №5 «Карлсон меняет порядок угощений». Light paper in both themes. */
.arch-lab .phx-stage.mka-stage,.arch-lab .phx-stage.mka-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mka-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mka-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mka-jam{fill:#fca5a5;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .mka-cake{fill:#fde68a;stroke:#a16207;stroke-width:1.6}
.arch-lab svg .mka-axis{stroke:#475569;stroke-width:1.4}
.arch-lab svg .mka-goal{stroke:#15803d;stroke-width:2.4;stroke-dasharray:6 4}
.arch-lab svg .mka-end{stroke:#111827;stroke-width:2.6}
.arch-lab .phx-svg text.mka-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mka-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mka-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mka-bad{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2024/25, 6 класс, №6 «Монеты на повёрнутом подносе». Light paper in both themes. */
.arch-lab .phx-stage.mty-stage,.arch-lab .phx-stage.mty-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mty-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .mty-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mty-tray{fill:#f1f5f9;stroke:#94a3b8;stroke-width:2}
.arch-lab svg .mty-coin{fill:#fde68a;stroke:#a16207;stroke-width:2}
.arch-lab svg .mty-l{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .mty-r{fill:#fed7aa;stroke:#c2410c;stroke-width:3}
.arch-lab svg .mty-c{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mty-c:focus-visible circle{stroke:#111827;stroke-width:4}
.arch-lab svg .mty-arrow{fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.mty-w{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mty-p{font-size:14px;fill:#64748b;stroke:none}
.arch-lab .phx-svg text.mty-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mty-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .mty-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:420px}
.arch-lab .mty-keys button{min-height:46px;font-size:18px;font-weight:700;padding:0}
.arch-lab .mty-log{margin:.4rem 0;padding-left:1.4rem}
.arch-lab .mty-log li{margin:.15rem 0}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №1 «Полоски девять на один». Light paper in both themes. */
.arch-lab .phx-stage.mst-stage,.arch-lab .phx-stage.mst-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mst-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .mst-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mst-c0{fill:#fee2e2;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .mst-c1{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .mst-c2{fill:#fdba74;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .mst-c3{fill:#ef4444;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .mst-h{fill:#3b82f6;fill-opacity:.28;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .mst-v{fill:#22c55e;fill-opacity:.28;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .mst-bad{fill:none;stroke:#b91c1c;stroke-width:3.4}
.arch-lab svg .mst-frame{fill:none;stroke:#111827;stroke-width:2.4}
.arch-lab svg .mst-knob{fill:#f1f5f9;stroke:#64748b;stroke-width:1.4}
.arch-lab svg .mst-knob-on{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .mst-k{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mst-k:focus-visible rect{stroke:#111827;stroke-width:3.2}
.arch-lab .phx-svg text.mst-kt{font-size:14px;font-weight:700;fill:#1e3a8a;stroke:none}
.arch-lab .phx-svg text.mst-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mst-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mst-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mst-no{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №2 «Две недели разных завтраков». Light paper in both themes. */
.arch-lab .phx-stage.mbf-stage,.arch-lab .phx-stage.mbf-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mbf-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mbf-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mbf-d0{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab svg .mbf-d1{fill:#fef3c7;stroke:#a16207;stroke-width:1.8}
.arch-lab svg .mbf-d2{fill:#fff;stroke:#ca8a04;stroke-width:1.8}
.arch-lab svg .mbf-d3{fill:#fed7aa;stroke:#9a3412;stroke-width:1.8}
.arch-lab svg .mbf-rep{stroke:#b91c1c;stroke-width:3.6}
.arch-lab svg .mbf-o{stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .mbf-c{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mbf-c:focus-visible rect{stroke:#111827;stroke-width:3.6;stroke-dasharray:none}
.arch-lab svg .mbf-bar1{fill:#fde68a;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .mbf-bar2{fill:#fef9c3;stroke:#ca8a04;stroke-width:1.4}
.arch-lab svg .mbf-bar3{fill:#fdba74;stroke:#9a3412;stroke-width:1.4}
.arch-lab .phx-svg text.mbf-day{font-size:14px;fill:#64748b;stroke:none}
.arch-lab .phx-svg text.mbf-l{font-size:17px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mbf-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mbf-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mbf-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mbf-no{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №3 «Килограмм из дробных гирь». Light paper in both themes. */
.arch-lab .phx-stage.mwt-stage,.arch-lab .phx-stage.mwt-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mwt-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mwt-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mwt-t{fill:#fff;stroke:#64748b;stroke-width:1.6}
.arch-lab svg .mwt-on{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .mwt-c{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mwt-c:focus-visible rect{stroke:#111827;stroke-width:3.6}
.arch-lab svg .mwt-kg{fill:#f1f5f9;stroke:#111827;stroke-width:2}
.arch-lab svg .mwt-p0{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.2}
.arch-lab svg .mwt-p1{fill:#c4b5fd;stroke:#6d28d9;stroke-width:1.2}
.arch-lab svg .mwt-over{fill:#fca5a5;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .mwt-goal{stroke:#15803d;stroke-width:2.6;stroke-dasharray:6 4}
.arch-lab svg .vs-frac{stroke:#111827;stroke-width:1.5}
.arch-lab .phx-svg text.mwt-f{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mwt-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mwt-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mwt-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mwt-no{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №4 «Одна новая точка — два равнобедренных треугольника». Light paper in both themes. */
.arch-lab .phx-stage.man-stage,.arch-lab .phx-stage.man-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.man-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .man-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .man-tri{fill:#f8fafc;stroke:#1f2937;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .man-perp{stroke:#475569;stroke-width:1.8;stroke-dasharray:5 4}
.arch-lab svg .man-kh{stroke:#1d4ed8;stroke-width:6;stroke-linecap:round}
.arch-lab svg .man-eq{stroke:#c2410c;stroke-width:4.5;stroke-linecap:round}
.arch-lab svg .man-aux{stroke:#15803d;stroke-width:2.2}
.arch-lab svg .man-t1{fill:#bbf7d0;fill-opacity:.5;stroke:none}
.arch-lab svg .man-t2{fill:#fde68a;fill-opacity:.5;stroke:none}
.arch-lab svg .man-pt{fill:#fff;stroke:#111827;stroke-width:2}
.arch-lab svg .man-b1{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .man-b2{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab .phx-svg text.man-n{font-size:17px;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.man-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.man-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.man-ok{fill:#15803d;font-weight:700}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №5 «Фантики за обмен фруктов». Light paper in both themes. */
.arch-lab .phx-stage.mfx-stage,.arch-lab .phx-stage.mfx-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mfx-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .mfx-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mfx-row{fill:#fef9ec;stroke:#d6b98c;stroke-width:1.2}
.arch-lab svg .mfx-pile{fill:#fef3c7;stroke:#d97706;stroke-width:1.6}
.arch-lab .phx-svg text.mfx-num{font-size:18px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mfx-wnum{font-size:30px;font-weight:700;fill:#92400e;stroke:none}
.arch-lab .phx-svg text.mfx-small{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.mfx-price{font-size:14px;font-weight:700;fill:#15803d;stroke:none}
.arch-lab svg .mfx-apple{fill:#ef4444;stroke:#991b1b;stroke-width:1.1}
.arch-lab svg .mfx-pear{fill:#bef264;stroke:#4d7c0f;stroke-width:1.1}
.arch-lab svg .mfx-orange{fill:#fb923c;stroke:#c2410c;stroke-width:1.1}
.arch-lab svg .mfx-dot{fill:#fed7aa;stroke:none}
.arch-lab svg .mfx-stem{stroke:#78350f;stroke-width:1.6;stroke-linecap:round}
.arch-lab svg .mfx-leaf{fill:#16a34a;stroke:#14532d;stroke-width:.6}
.arch-lab svg .mfx-w0{fill:#a78bfa;stroke:#5b21b6;stroke-width:1}
.arch-lab svg .mfx-w1{fill:#f472b6;stroke:#9d174d;stroke-width:1}
.arch-lab svg .mfx-w2{fill:#38bdf8;stroke:#075985;stroke-width:1}
.arch-lab .phx-svg text.mfx-arrow{font-size:18px;font-weight:700;fill:#334155;stroke:none}

/* Popov Academy — Математический праздник 2024/25, 7 класс, №6 «Трафарет для яблока». Light paper in both themes. */
.arch-lab .phx-stage.mtr-stage,.arch-lab .phx-stage.mtr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mtr-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .mtr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mtr-empty{fill:#fff7ed;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .mtr-c0{fill:#fca5a5;stroke:#334155;stroke-width:1}
.arch-lab svg .mtr-c1{fill:#93c5fd;stroke:#334155;stroke-width:1}
.arch-lab svg .mtr-c2{fill:#86efac;stroke:#334155;stroke-width:1}
.arch-lab svg .mtr-c3{fill:#fde68a;stroke:#334155;stroke-width:1}
.arch-lab svg .mtr-c4{fill:#d8b4fe;stroke:#334155;stroke-width:1}
.arch-lab svg .mtr-edge{fill:none;stroke:#111827;stroke-width:2.6;stroke-linejoin:round;pointer-events:none}
.arch-lab svg .mtr-cell{cursor:pointer}
.arch-lab svg .mtr-cell:focus-visible polygon{stroke:#1d4ed8;stroke-width:3}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №1 «Три дня чтения». Light paper in both themes. */
.arch-lab .phx-stage.mrd-stage,.arch-lab .phx-stage.mrd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mrd-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .mrd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mrd-b0{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .mrd-b1{fill:#fed7aa;stroke:#c2410c;stroke-width:1.6}
.arch-lab svg .mrd-b2{fill:#bbf7d0;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .mrd-rest{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:4 3}
.arch-lab svg .mrd-cut{stroke:#1f2937;stroke-width:1.6;stroke-dasharray:3 3}
.arch-lab svg .mrd-mark{stroke:#7c3aed;stroke-width:2.2;stroke-dasharray:6 4}
.arch-lab .phx-svg text.mrd-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mrd-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mrd-num{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mrd-ok{fill:#15803d}
.arch-lab .phx-svg text.mrd-bad{fill:#b91c1c}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №2 «Три разрезания одной фигуры». Light paper in both themes. */
.arch-lab .phx-stage.mct-stage,.arch-lab .phx-stage.mct-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mct-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mct-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mct-a{fill:#93c5fd;stroke:#60a5fa;stroke-width:1}
.arch-lab svg .mct-b{fill:#fde68a;stroke:#fcd34d;stroke-width:1}
.arch-lab svg .mct-edge{stroke:#111827;stroke-width:2.8;stroke-linecap:round}
.arch-lab svg .mct-cutl{stroke:#b91c1c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .mct-cell{cursor:pointer}
.arch-lab svg .mct-cell:focus-visible rect{stroke:#111827;stroke-width:3.4}
.arch-lab svg .mct-slot{fill:#f8fafc;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:5 4}
.arch-lab svg .mct-slot-on{fill:#f0fdf4;stroke:#15803d;stroke-width:2;stroke-dasharray:none}
.arch-lab svg .mct-tedge{stroke:#111827;stroke-width:1.6;stroke-linecap:round}
.arch-lab svg .mct-tcut{stroke:#b91c1c;stroke-width:2.4;stroke-linecap:round}
.arch-lab .phx-svg text.mct-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mct-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mct-q{font-size:20px;font-weight:700;fill:#94a3b8;stroke:none}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №3 «Телефон Тани». Light paper in both themes. */
.arch-lab .phx-stage.mph-stage,.arch-lab .phx-stage.mph-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mph-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mph-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mph-card{fill:#fff;stroke:#64748b;stroke-width:1.6}
.arch-lab svg .mph-empty{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab svg .mph-ok{fill:#dcfce7;stroke:#15803d;stroke-width:2.2}
.arch-lab svg .mph-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.6}
.arch-lab svg .mph-u0{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .mph-u1{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .mph-u2{fill:#fed7aa;stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg text.mph-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mph-d{font-size:22px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mph-div{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mph-div.mph-tok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mph-div.mph-tbad{fill:#b91c1c;font-weight:700}
.arch-lab .phx-svg text.mph-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mph-un{font-size:15px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .mph-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;max-width:420px}
.arch-lab .mph-keys button{min-height:48px;font-size:20px;font-weight:700;padding:0}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №4 «Три куска торта». Light paper in both themes. */
.arch-lab .phx-stage.mck-stage,.arch-lab .phx-stage.mck-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mck-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mck-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mck-f{stroke:#1f2937;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .mck-p0{fill:#f9a8d4}.arch-lab svg .mck-p0.mck-top{fill:#fbcfe8}.arch-lab svg .mck-p0.mck-side{fill:#ec4899}
.arch-lab svg .mck-p1{fill:#93c5fd}.arch-lab svg .mck-p1.mck-top{fill:#bfdbfe}.arch-lab svg .mck-p1.mck-side{fill:#3b82f6}
.arch-lab svg .mck-p2{fill:#86efac}.arch-lab svg .mck-p2.mck-top{fill:#bbf7d0}.arch-lab svg .mck-p2.mck-side{fill:#22c55e}
.arch-lab svg .mck-p3{fill:#fde68a}.arch-lab svg .mck-p3.mck-top{fill:#fef3c7}.arch-lab svg .mck-p3.mck-side{fill:#f59e0b}
.arch-lab .phx-svg text.mck-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mck-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .mck-who{margin:.35rem 0}
.arch-lab .mck-who>span{display:block;font-weight:600;margin-bottom:.25rem}
/* the live 3D scene (scene3d.mjs) */
.arch-lab .mck-3d{width:100%;max-width:600px;margin-inline:auto;aspect-ratio:1/0.78;border-radius:12px;overflow:hidden;outline-offset:2px}
.arch-lab .mck-3d canvas{display:block;width:100%;height:100%;touch-action:none}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №5 «Шесть сундуков». Light paper in both themes. */
.arch-lab .phx-stage.mch-stage,.arch-lab .phx-stage.mch-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mch-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .mch-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mch-body{fill:#b45309;stroke:#451a03;stroke-width:1.8}
.arch-lab svg .mch-lid{fill:#d97706;stroke:#451a03;stroke-width:1.8}
.arch-lab svg .mch-band{fill:#fcd34d;stroke:#451a03;stroke-width:1.2}
.arch-lab svg .mch-plate{fill:#fffbeb;stroke:#451a03;stroke-width:1.4}
.arch-lab svg .mch-plate.mch-goal{fill:#dcfce7;stroke:#15803d;stroke-width:2}
.arch-lab svg .mch-pick{fill:#dbeafe;stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .mch-slot{fill:transparent;stroke:none}
.arch-lab svg .mch-chest{cursor:pointer}
.arch-lab svg .mch-chest:focus-visible .mch-slot{stroke:#111827;stroke-width:3;stroke-dasharray:5 4}
.arch-lab .phx-svg text.mch-n{font-size:20px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mch-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mch-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mch-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mch-bad{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2025/26, 6 класс, №6 «Поиск неисправных песочных часов». Light paper in both themes. */
.arch-lab .phx-stage.msc-stage,.arch-lab .phx-stage.msc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.msc-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .msc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .msc-glass{fill:#eff6ff;stroke:#1e3a8a;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .msc-sand{fill:#f59e0b;stroke:none}
.arch-lab svg .msc-bar{fill:#92400e;stroke:#451a03;stroke-width:1.4}
.arch-lab svg .msc-flow{stroke:#f59e0b;stroke-width:2.4;stroke-dasharray:3 3}
.arch-lab svg .msc-done{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.6;stroke-linejoin:round}
.arch-lab .phx-svg text.msc-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.msc-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.msc-run{font-size:14px;fill:#b45309;stroke:none;font-weight:700}
.arch-lab .phx-svg text.msc-out{font-size:14px;fill:#b91c1c;stroke:none;font-weight:700}
.arch-lab .msc-log{margin:.4rem 0;padding-left:1.4rem}
.arch-lab .msc-log li{margin:.15rem 0}

/* Popov Academy — Математический праздник 2025/26, 7 класс, №2 «Раскраска вершин куба». Light paper in both themes. */
.arch-lab .phx-stage.mcb-stage,.arch-lab .phx-stage.mcb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mcb-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mcb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mcb-e{stroke:#475569;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .mcb-eh{stroke:#94a3b8;stroke-width:1.8;stroke-dasharray:5 5;stroke-linecap:round}
.arch-lab svg .mcb-tri{fill:#fecaca;fill-opacity:.55;stroke:#b91c1c;stroke-width:3.4;stroke-linejoin:round}
.arch-lab svg .mcb-rect{fill:#bbf7d0;fill-opacity:.45;stroke:#15803d;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .mcb-v0{fill:#fff;stroke:#111827;stroke-width:2.6}
.arch-lab svg .mcb-v1{fill:#111827;stroke:#111827;stroke-width:2.6}
.arch-lab svg .mcb-hit{fill:transparent;stroke:none}
.arch-lab svg .mcb-vx{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mcb-vx:focus-visible .mcb-hit{stroke:#2563eb;stroke-width:3;stroke-dasharray:4 3}
.arch-lab .phx-svg text.mcb-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mcb-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mcb-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mcb-bad{fill:#b91c1c;font-weight:700}
/* the live 3D scene (scene3d.mjs) */
.arch-lab .mcb-3d{width:100%;max-width:560px;margin-inline:auto;aspect-ratio:1/0.86;border-radius:12px;overflow:hidden;outline-offset:2px}
.arch-lab .mcb-3d canvas{display:block;width:100%;height:100%;touch-action:none}

/* Popov Academy — Математический праздник 2025/26, 7 класс, №3 «Конфета из семи цифр». Light paper in both themes. */
.arch-lab .phx-stage.mrb-stage,.arch-lab .phx-stage.mrb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mrb-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mrb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mrb-box{fill:#fff;stroke:#475569;stroke-width:1.8}
.arch-lab svg .mrb-dup{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.6}
.arch-lab svg .mrb-ans{fill:#fef9c3;stroke:#a16207;stroke-width:2}
.arch-lab svg .mrb-good{fill:#dcfce7;stroke:#15803d;stroke-width:2.4}
.arch-lab .phx-svg text.mrb-let{font-size:15px;font-weight:700;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.mrb-dig{font-size:22px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mrb-sign{font-size:22px;font-weight:700;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mrb-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mrb-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mrb-ok{fill:#15803d;font-weight:700}
.arch-lab .phx-svg text.mrb-bad{fill:#b91c1c;font-weight:700}

/* Popov Academy — Математический праздник 2025/26, 7 класс, №4 «Квадрат и равносторонний треугольник». Light paper in both themes. */
.arch-lab .phx-stage.msq-stage,.arch-lab .phx-stage.msq-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.msq-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .msq-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .msq-sq{fill:#f8fafc;stroke:#1f2937;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .msq-tri{fill:#fef9c3;fill-opacity:.55;stroke:#a16207;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .msq-diag{stroke:#475569;stroke-width:1.8}
.arch-lab svg .msq-be{stroke:#1d4ed8;stroke-width:5;stroke-linecap:round}
.arch-lab svg .msq-cf{stroke:#c2410c;stroke-width:5;stroke-linecap:round}
.arch-lab svg .msq-t1{fill:#bfdbfe;fill-opacity:.6;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .msq-t2{fill:#bbf7d0;fill-opacity:.6;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .msq-aux{stroke:#15803d;stroke-width:2;stroke-dasharray:5 4}
.arch-lab svg .msq-pt{fill:#fff;stroke:#111827;stroke-width:2}
.arch-lab svg .msq-c-on{fill:#86efac;stroke:#15803d;stroke-width:2.6}
.arch-lab svg .msq-c-off{fill:#fecaca;stroke:#b91c1c;stroke-width:2.6}
.arch-lab .phx-svg text.msq-n{font-size:17px;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.msq-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.msq-ok{fill:#15803d}
.arch-lab .phx-svg text.msq-bad{fill:#b91c1c}

/* Popov Academy — Математический праздник 2025/26, 7 класс, №5 «Самый длинный путь фишки». Light paper in both themes. */
.arch-lab .phx-stage.mcp-stage,.arch-lab .phx-stage.mcp-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mcp-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .mcp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mcp-cell{fill:#fff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .mcp-route{fill:#dbeafe;stroke:#60a5fa;stroke-width:1.2}
.arch-lab svg .mcp-seen{fill:#fed7aa;stroke:#f97316;stroke-width:1.4}
.arch-lab svg .mcp-miss{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.4}
.arch-lab svg .mcp-walk{fill:none;stroke:#c2410c;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;opacity:.8}
.arch-lab svg .mcp-chip{fill:#c2410c;stroke:#7c2d12;stroke-width:2}
.arch-lab svg .mcp-blk{stroke:#111827;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .mcp-frame{fill:none;stroke:#111827;stroke-width:2.4}
.arch-lab svg .mcp-c{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mcp-c:focus-visible rect{stroke:#111827;stroke-width:3.2}
.arch-lab .phx-svg text.mcp-n{font-size:17px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mcp-s{font-size:14px;fill:#64748b;stroke:none}
.arch-lab .phx-svg text.mcp-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mcp-ok{fill:#15803d}
.arch-lab .phx-svg text.mcp-bad{fill:#b91c1c}

/* Popov Academy — Математический праздник 2025/26, 7 класс, №6 «Карточный фокус». Light paper in both themes. */
.arch-lab .phx-stage.mtr-stage,.arch-lab .phx-stage.mtr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.mtr-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .mtr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .mtr-card{fill:#fff;stroke:#475569;stroke-width:1.8}
.arch-lab svg .mtr-p{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.2}
.arch-lab svg .mtr-v{fill:#bbf7d0;stroke:#15803d;stroke-width:2.2}
.arch-lab svg .mtr-z{fill:#fde68a;stroke:#a16207;stroke-width:2.2}
.arch-lab svg .mtr-said{stroke:#111827;stroke-width:4}
.arch-lab svg .mtr-pile{fill:#f1f5f9;stroke:#64748b;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .mtr-pile2{stroke:#e2e8f0;stroke-width:56px;stroke-linecap:round}
.arch-lab svg .mtr-ring{fill:none;stroke:#cbd5e1;stroke-width:2}
.arch-lab svg .mtr-c{cursor:pointer;-webkit-tap-highlight-color:transparent}
.arch-lab svg .mtr-c:focus-visible rect{stroke:#111827;stroke-width:3.6}
.arch-lab .phx-svg text.mtr-n{font-size:24px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.mtr-o{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mtr-cap{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.mtr-lab{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.mtr-ok{fill:#15803d;font-weight:700}
.arch-lab .mtr-log{margin:.4rem 0;padding-left:1.4rem}
.arch-lab .mtr-log li{margin:.15rem 0}

/* Popov Academy — «Надежда энергетики» 2025/26, 5 класс, №1 «Скидка, после которой стало дороже». Light paper in both themes. */
.arch-lab .phx-stage.nsa-stage,.arch-lab .phx-stage.nsa-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nsa-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .nsa-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nsa-feb{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .nsa-up{fill:#fde68a;stroke:#b45309;stroke-width:1.8}
.arch-lab svg .nsa-pay{fill:#bbf7d0;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .nsa-off{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .nsa-level{stroke:#1d4ed8;stroke-width:1.6;stroke-dasharray:6 5}
.arch-lab svg .nsa-tick{stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg text.nsa-row{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nsa-val{font-size:16px;font-weight:800;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.nsa-offt{font-size:14px;font-weight:700;fill:#991b1b;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nsa-lev{font-size:14px;font-weight:700;fill:#1d4ed8;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Надежда энергетики» 2025/26, 5 класс, №2 «Четыре цифры без тройной серии». Light paper in both themes. */
.arch-lab .phx-stage.ndg-stage,.arch-lab .phx-stage.ndg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ndg-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .ndg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .ndg-ev{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .ndg-od{fill:#fef3c7;stroke:#b45309;stroke-width:2}
.arch-lab svg .ndg-bad{stroke:#dc2626;stroke-width:3.4}
.arch-lab svg .ndg-brace{fill:none;stroke:#dc2626;stroke-width:2.4}
.arch-lab svg .ndg-ok{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .ndg-no{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .ndg-chip{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg text.ndg-d{font-size:34px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ndg-p{font-size:14px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.ndg-c{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.ndg-c.bad{fill:#991b1b}
.arch-lab .phx-svg text.ndg-c.good{fill:#166534}
.arch-lab .phx-svg text.ndg-h{font-size:14.5px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.ndg-ch{font-size:16px;font-weight:700;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ndg-runt{font-size:14px;font-weight:700;fill:#991b1b}

/* Popov Academy — «Надежда энергетики» 2025/26, 5 класс, №3 «Сравнить занятия за разные сроки». Light paper in both themes. */
.arch-lab .phx-stage.nst-stage,.arch-lab .phx-stage.nst-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nst-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .nst-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nst-lec{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.3}
.arch-lab svg .nst-lab{fill:#fed7aa;stroke:#c2410c;stroke-width:1.3}
.arch-lab svg .nst-day1{fill:#a7f3d0;stroke:#047857;stroke-width:1.8}
.arch-lab svg .nst-day2{fill:#ddd6fe;stroke:#6d28d9;stroke-width:1.8}
.arch-lab svg .nst-sep{stroke:#cbd5e1;stroke-width:1.4}
.arch-lab .phx-svg text.nst-t{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nst-s{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.nst-v{font-size:16px;font-weight:800;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Надежда энергетики» 2025/26, 5 класс, №4 «Площадь фигуры с неожиданной половинкой». Light paper in both themes. */
.arch-lab .phx-stage.nar-stage,.arch-lab .phx-stage.nar-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nar-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .nar-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nar-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .nar-frame{fill:none;stroke:#0f172a;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .nar-fig{fill:#e2e8f0;stroke:#0f172a;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .nar-dash{stroke:#0f172a;stroke-width:2.4;stroke-dasharray:4 6}
.arch-lab svg .nar-whole{fill:#86efac;stroke:#15803d;stroke-width:1}
.arch-lab svg .nar-z1{fill:#fde68a;stroke:#b45309;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .nar-z2{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .nar-z3{fill:#fbcfe8;stroke:#be185d;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .nar-k{fill:#dc2626;stroke:#fff;stroke-width:1.6}
.arch-lab .phx-svg text.nar-n{font-size:15px;font-weight:800;fill:#111827;stroke:#fff;stroke-width:3.5px;paint-order:stroke}
.arch-lab .phx-svg text.nar-ax{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .nar-list{margin:.4rem 0 0;padding-left:1.4rem;font-size:.98rem;line-height:1.5}

/* Popov Academy — «Надежда энергетики» 2025/26, 5 класс, №5 «Море выбирает последняя цифра». Light paper in both themes. */
.arch-lab .phx-stage.npw-stage,.arch-lab .phx-stage.npw-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.npw-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .npw-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .npw-cell{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .npw-now{fill:#fde68a;stroke:#b45309;stroke-width:2.4}
.arch-lab svg .npw-ring{fill:#fff;stroke:#334155;stroke-width:2}
.arch-lab svg .npw-ring.on{fill:#fde68a;stroke:#b45309;stroke-width:3}
.arch-lab svg .npw-arc{fill:none;stroke:#64748b;stroke-width:1.8}
.arch-lab svg .npw-ah{fill:#64748b;stroke:none}
.arch-lab svg .npw-sea{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.6}
.arch-lab svg .npw-sea.on{fill:#7dd3fc;stroke:#075985;stroke-width:3}
.arch-lab .phx-svg text.npw-e{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.npw-d{font-size:19px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.npw-rd{font-size:22px;font-weight:800;fill:#111827}
.arch-lab .phx-svg text.npw-h{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.npw-s{font-size:15px;font-weight:700;fill:#0c4a6e}
.arch-lab .phx-svg text.npw-s2{font-size:14px;font-weight:600;fill:#0c4a6e}

/* Popov Academy — «Надежда энергетики» 2025/26, 8 класс, №1 «Числа между соседями». Light paper in both themes. */
.arch-lab .phx-stage.nbo-stage,.arch-lab .phx-stage.nbo-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nbo-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .nbo-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nbo-board{fill:#0f172a;stroke:#334155;stroke-width:2}
.arch-lab svg .nbo-old{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .nbo-new{fill:#fde68a;stroke:#b45309;stroke-width:1.8}
.arch-lab svg .nbo-end{fill:#bbf7d0;stroke:#15803d;stroke-width:1.8}
.arch-lab svg .nbo-cell{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .nbo-now{fill:#fde68a;stroke:#b45309;stroke-width:2.2}
.arch-lab .phx-svg text.nbo-n{font-size:16px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.nbo-h{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nbo-clock{font-size:17px;font-weight:800;fill:#f8fafc;stroke:#0f172a;stroke-width:2px;paint-order:stroke}
.arch-lab .phx-svg text.nbo-note{font-size:15px;font-weight:600;fill:#e2e8f0;stroke:#0f172a;stroke-width:2px;paint-order:stroke}
.arch-lab .phx-svg text.nbo-k{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.nbo-s{font-size:17px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}

/* Popov Academy — «Надежда энергетики» 2025/26, 8 класс, №2 «Каждая пара носков». Light paper in both themes. */
.arch-lab .phx-stage.nso-stage,.arch-lab .phx-stage.nso-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nso-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .nso-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nso-me{fill:#f59e0b;stroke:#92400e;stroke-width:2}
.arch-lab svg .nso-day{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .nso-left{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.8;stroke-dasharray:5 4}
.arch-lab svg .nso-sock{fill:#2563eb;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .nso-sockl{fill:#dc2626;stroke:#7f1d1d;stroke-width:1}
.arch-lab .phx-svg text.nso-h{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nso-s{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.nso-n{font-size:15px;font-weight:800;fill:#14532d}
.arch-lab .phx-svg text.nso-nl{font-size:15px;font-weight:800;fill:#991b1b}

/* Popov Academy — «Надежда энергетики» 2025/26, 8 класс, №3 «Четыре помощника и овощи». Light paper in both themes. */
.arch-lab .phx-stage.nvg-stage,.arch-lab .phx-stage.nvg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nvg-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .nvg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nvg-b1{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .nvg-b2{fill:#fed7aa;stroke:#c2410c;stroke-width:1.8}
.arch-lab svg .nvg-base{stroke:#334155;stroke-width:2}
.arch-lab svg .nvg-ok{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .nvg-no{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.6}
.arch-lab svg .nvg-potato{fill:#d6b98c;stroke:#78350f;stroke-width:1.4}
.arch-lab svg .nvg-carrot{fill:#fb923c;stroke:#9a3412;stroke-width:1.4}
.arch-lab svg .nvg-onion{fill:#e9d5ff;stroke:#6b21a8;stroke-width:1.4}
.arch-lab svg .nvg-tomato{fill:#f87171;stroke:#991b1b;stroke-width:1.4}
.arch-lab .phx-svg text.nvg-name{font-size:15px;font-weight:700;fill:#111827}
.arch-lab .phx-svg text.nvg-kg{font-size:17px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.nvg-s{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.nvg-c{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nvg-c.bad{fill:#991b1b}
.arch-lab .phx-svg text.nvg-c.good{fill:#166534}
.arch-lab .phx-svg text.nvg-v{font-size:14px;font-weight:700;fill:#111827}

/* Popov Academy — «Надежда энергетики» 2025/26, 8 класс, №4 «Квадрат у стороны прямоугольника». Light paper in both themes. */
.arch-lab .phx-stage.nsq-stage,.arch-lab .phx-stage.nsq-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nsq-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .nsq-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nsq-rect{fill:none;stroke:#1e293b;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .nsq-sq{fill:#fef3c7;fill-opacity:.7;stroke:#b45309;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .nsq-al{stroke:#dc2626;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .nsq-dn{stroke:#2563eb;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .nsq-aux{stroke:#475569;stroke-width:1.8;stroke-dasharray:6 5}
.arch-lab svg .nsq-t1{fill:#fecaca;fill-opacity:.55;stroke:none}
.arch-lab svg .nsq-t2{fill:#bfdbfe;fill-opacity:.55;stroke:none}
.arch-lab svg .nsq-arc{fill:none;stroke:#15803d;stroke-width:2.2}
.arch-lab svg .nsq-pt{fill:#111827;stroke:#fff;stroke-width:1.2}
.arch-lab svg .nsq-lead{stroke:#111827;stroke-width:1.3;stroke-linecap:round}
.arch-lab .phx-svg text.nsq-l{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nsq-ang{font-size:14px;font-weight:700;fill:#166534;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Надежда энергетики» 2025/26, 8 класс, №5 «Два неравенства и полный квадрат». Light paper in both themes. */
.arch-lab .phx-stage.nsy-stage,.arch-lab .phx-stage.nsy-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nsy-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .nsy-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .nsy-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .nsy-axis{stroke:#334155;stroke-width:1.8}
.arch-lab svg .nsy-first{fill:#3b82f6;stroke:none}
.arch-lab svg .nsy-second{fill:#f59e0b;stroke:none}
.arch-lab svg .nsy-none{fill:#cbd5e1;stroke:none}
.arch-lab svg .nsy-both{fill:#16a34a;stroke:#14532d;stroke-width:1.4}
.arch-lab svg .nsy-cur{fill:none;stroke:#dc2626;stroke-width:2.6}
.arch-lab svg .nsy-r1{fill:#3b82f6;fill-opacity:.16;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .nsy-r2{fill:#f59e0b;fill-opacity:.2;stroke:#b45309;stroke-width:1.8}
.arch-lab svg .nsy-sol{fill:#16a34a;stroke:#fff;stroke-width:2}
.arch-lab .phx-svg text.nsy-t{font-size:14px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.nsy-ax{font-size:16px;font-weight:700;font-style:italic;fill:#111827}

/* Popov Academy — «Надежда энергетики» 2025/26, физика 7 класс, №1 «Зачем на холоде поднимаются волоски». Light paper in both themes. */
.arch-lab .phx-stage.ngs-stage,.arch-lab .phx-stage.ngs-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ngs-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .ngs-air{fill:#e0f2fe;stroke:none}
.arch-lab svg .ngs-still{fill:#fef3c7;stroke:#d97706;stroke-width:1.4;stroke-dasharray:6 5}
.arch-lab svg .ngs-skin{fill:#fbcfe8;stroke:#9d174d;stroke-width:2}
.arch-lab svg .ngs-bump{fill:#f9a8d4;stroke:#9d174d;stroke-width:1.4}
.arch-lab svg .ngs-hair{stroke:#44403c;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .ngs-wind{fill:none;stroke:#0284c7;stroke-width:2;stroke-linecap:round}
.arch-lab svg .ngs-windh{fill:#0284c7;stroke:none}
.arch-lab svg .ngs-heat{stroke:#dc2626;stroke-width:3;fill:#dc2626}
.arch-lab .phx-svg text.ngs-t{font-size:14px;font-weight:700;fill:#0c4a6e;stroke:#e0f2fe;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ngs-s{font-size:14px;font-weight:700;fill:#92400e;stroke:#fef3c7;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ngs-k{font-size:14px;font-weight:700;fill:#831843}

/* Popov Academy — «Надежда энергетики» 2025/26, физика 7 класс, №2 «Когда льдина перестанет держать камень». Light paper in both themes. */
.arch-lab .phx-stage.nic-stage,.arch-lab .phx-stage.nic-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nic-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .nic-sky{fill:#f0f9ff;stroke:none}
.arch-lab svg .nic-water{fill:#7dd3fc;fill-opacity:.55;stroke:none}
.arch-lab svg .nic-line{stroke:#0369a1;stroke-width:2.2}
.arch-lab svg .nic-ice{fill:#e0f2fe;stroke:#0c4a6e;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .nic-was{fill:none;stroke:#64748b;stroke-width:1.4;stroke-dasharray:5 5}
.arch-lab svg .nic-stone{fill:#78716c;stroke:#292524;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .nic-bed{fill:#d6d3d1;stroke:#78716c;stroke-width:1.6}
.arch-lab svg .nic-w{stroke:#dc2626;stroke-width:3;fill:#dc2626}
.arch-lab svg .nic-b{stroke:#15803d;stroke-width:3;fill:#15803d}
.arch-lab .phx-svg text.nic-t{font-size:15px;font-weight:700;fill:#0c4a6e;stroke:#f0f9ff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nic-f{font-size:14px;font-weight:700;stroke:#f0f9ff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nic-f.w{fill:#991b1b}
.arch-lab .phx-svg text.nic-f.b{fill:#166534}
.arch-lab .phx-svg text.nic-sunk{font-size:17px;font-weight:800;fill:#991b1b;stroke:#fff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Надежда энергетики» 2025/26, физика 7 класс, №3 «Голубь на краю доски». Light paper in both themes. */
.arch-lab .phx-stage.nbd-stage,.arch-lab .phx-stage.nbd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.nbd-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .nbd-sky{fill:#f0f9ff;stroke:none}
.arch-lab svg .nbd-roof{fill:#cbd5e1;stroke:#475569;stroke-width:2}
.arch-lab svg .nbd-board{fill:#d6a05c;stroke:#78350f;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .nbd-bird{fill:#64748b;stroke:#1e293b;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg .nbd-beak{fill:#f59e0b;stroke:#92400e;stroke-width:1}
.arch-lab svg .nbd-wb{stroke:#1d4ed8;stroke-width:3;fill:#1d4ed8}
.arch-lab svg .nbd-wp{stroke:#dc2626;stroke-width:3;fill:#dc2626}
.arch-lab svg .nbd-edge{stroke:#0f172a;stroke-width:1.6;stroke-dasharray:5 5}
.arch-lab svg .nbd-dim{stroke:#475569;stroke-width:1.4}
.arch-lab svg .nbd-pt{fill:#0f172a;stroke:#fff;stroke-width:1.2}
.arch-lab svg .nbd-bar1{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab svg .nbd-bar2{fill:#fecaca;stroke:#dc2626;stroke-width:1.6}
.arch-lab .phx-svg text.nbd-l{font-size:16px;font-weight:700;font-style:italic;fill:#111827;stroke:#f0f9ff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nbd-t{font-size:14px;font-weight:600;fill:#334155;stroke:#f0f9ff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.nbd-h{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.nbd-v{font-size:15px;font-weight:800;fill:#111827;stroke:#f0f9ff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.nbd-fly{font-size:16px;font-weight:800;fill:#991b1b;stroke:#fff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Надежда энергетики» 2025/26, физика 7 класс, №4 «Узнать площадь бака по давлению». Light paper in both themes. */
.arch-lab .phx-stage.ntk-stage,.arch-lab .phx-stage.ntk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ntk-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .ntk-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .ntk-floor{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.4}
.arch-lab svg .ntk-base{fill:#fde68a;stroke:#b45309;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .ntk-edge{fill:none;stroke:#1e293b;stroke-width:2.4;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .ntk-hid{fill:none;stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:5 5}
.arch-lab svg .ntk-hole{fill:#0f172a;stroke:none}
.arch-lab svg .ntk-w{stroke:#dc2626;stroke-width:3;fill:#dc2626}
.arch-lab .phx-svg text.ntk-d{font-size:15px;font-weight:700;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ntk-p{font-size:17px;font-weight:800;fill:#92400e;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ntk-f{font-size:14px;font-weight:700;fill:#991b1b;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Надежда энергетики» 2025/26, физика 7 класс, №5 «Сколько грузовиков прокормят канатную дорогу». Light paper in both themes. */
.arch-lab .phx-stage.ncb-stage,.arch-lab .phx-stage.ncb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.ncb-stage{max-width:660px;margin-inline:auto;width:100%}
.arch-lab svg .ncb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .ncb-cable{stroke:#334155;stroke-width:1.8}
.arch-lab svg .ncb-full{fill:#78716c;stroke:#292524;stroke-width:1.4}
.arch-lab svg .ncb-empty{fill:#fff;stroke:#292524;stroke-width:1.4;stroke-dasharray:3 3}
.arch-lab svg .ncb-road{stroke:#94a3b8;stroke-width:12;stroke-linecap:round}
.arch-lab svg .ncb-mid{stroke:#fff;stroke-width:1.4;stroke-dasharray:6 6}
.arch-lab svg .ncb-truck{fill:#f59e0b;stroke:#78350f;stroke-width:1.3}
.arch-lab svg .ncb-truck0{fill:#fff;stroke:#78350f;stroke-width:1.3}
.arch-lab svg .ncb-st{fill:#e2e8f0;stroke:#334155;stroke-width:1.8}
.arch-lab svg .ncb-q{fill:#d6d3d1;stroke:#57534e;stroke-width:1.8}
.arch-lab svg .ncb-in{fill:#fcd34d;stroke:#b45309;stroke-width:1.6}
.arch-lab svg .ncb-out{fill:#a8a29e;stroke:#44403c;stroke-width:1.6}
.arch-lab .phx-svg text.ncb-h{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.ncb-t{font-size:14px;font-weight:600;fill:#334155;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.ncb-v{font-size:15px;font-weight:800;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №1 «Встреча на полчаса раньше». Light paper in both themes. */
.arch-lab .phx-stage.pca-stage,.arch-lab .phx-stage.pca-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.pca-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .pca-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .pca-road{fill:#d6d3d1;stroke:none}
.arch-lab svg .pca-tickm{stroke:#334155;stroke-width:1.6}
.arch-lab svg .pca-meet{stroke:#15803d;stroke-width:2.4;stroke-dasharray:5 4}
.arch-lab svg .pca-goal{stroke:#15803d;stroke-width:2.4;stroke-dasharray:6 5}
.arch-lab svg .pca-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .pca-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .pca-lped{stroke:#16a34a;stroke-width:3;stroke-linecap:round}
.arch-lab svg .pca-lbike{stroke:#ea580c;stroke-width:3;stroke-linecap:round}
.arch-lab svg .pca-dped{fill:#16a34a;stroke:#14532d;stroke-width:1.6}
.arch-lab svg .pca-dbike{fill:#f97316;stroke:#7c2d12;stroke-width:1.6}
.arch-lab svg .pca-dstart{fill:#fff;stroke:#7c2d12;stroke-width:1.8}
.arch-lab .phx-svg text.pca-clock{font-size:19px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.pca-cap{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.pca-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.pca-meetl{font-size:15px;font-weight:800;fill:#14532d;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №2 «Произведение должно стать квадратом». Light paper in both themes. */
.arch-lab .phx-stage.psq-stage,.arch-lab .phx-stage.psq-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.psq-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .psq-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .psq-rect{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .psq-sq{fill:#fed7aa;fill-opacity:.55;stroke:#c2410c;stroke-width:2.2;stroke-dasharray:6 4}
.arch-lab svg .psq-sq.psq-hit{fill:#bbf7d0;fill-opacity:.8;stroke:#14532d;stroke-width:3;stroke-dasharray:none}
.arch-lab .phx-svg text.psq-dim{font-size:15px;font-weight:700;fill:#1e3a8a;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.psq-sidel{font-size:15px;font-weight:700;fill:#7c2d12;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.psq-ok{fill:#14532d}
.arch-lab svg .psq-grid{stroke:#60a5fa;stroke-width:.8}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №3 «Четыре пропуска в факториале». Light paper in both themes. */
.arch-lab .pfa-strip,.arch-lab .pfa-cmp{border:1.5px solid #94a3b8;border-radius:12px;padding:10px 12px;margin:8px 0;background:#fbfdff;color:#111827}
.arch-lab .pfa-strip{min-height:84px}
.arch-lab .pfa-cmp{min-height:132px}
.arch-lab .pfa-cap{margin:0 0 4px;font-size:15px;font-weight:700;color:#1f2937}
.arch-lab .pfa-num{margin:0 0 8px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:15px;font-weight:700;line-height:1.7;display:grid;grid-template-columns:repeat(27,minmax(0,1fr));max-width:400px}
.arch-lab .pfa-num span{text-align:center;border-radius:3px;min-width:0}
.arch-lab .pfa-zero{background:#bbf7d0;color:#14532d}
.arch-lab .pfa-gap{background:#fde68a;color:#78350f}
.arch-lab .pfa-bad{background:#fecaca;color:#7f1d1d;outline:2px solid #b91c1c}
.arch-lab .pfa-key{display:inline-block;min-width:22px;text-align:center;font-family:ui-monospace,Menlo,monospace;font-weight:700;border-radius:4px;margin-right:8px}
.arch-lab .pfa-hide{background:#e2e8f0;color:#475569}
.arch-lab .pfa-wait{font-weight:600;font-size:15px;line-height:1.4}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №4 «Замены чисел и скрытый запрет». A dark chalkboard in both themes. */
.arch-lab .pbo-board{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:6px;padding:12px;margin:8px 0;border-radius:12px;background:#1f3b2f;border:6px solid #8b5a2b;min-height:230px;align-content:start}
.arch-lab .pbo-chip{min-height:44px;padding:4px 2px;border-radius:8px;border:1.5px solid #cbd5e1;background:#f8fafc;color:#111827;font:inherit;font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;cursor:pointer;overflow-wrap:anywhere;line-height:1.15}
.arch-lab .pbo-chip.pbo-mult{background:#fde68a;border-color:#b45309;color:#111827}
.arch-lab .pbo-chip.pbo-sel{outline:3px solid #38bdf8;outline-offset:1px;background:#e0f2fe}
.arch-lab .pbo-chip:focus-visible{outline:3px solid #fff;outline-offset:2px}
.arch-lab .pbo-key{display:inline-block;min-width:30px;text-align:center;font-weight:700;border-radius:6px;border:1.5px solid #cbd5e1;background:#f8fafc;color:#111827;margin-right:8px}
.arch-lab .pbo-key.pbo-mult{background:#fde68a;border-color:#b45309}
.arch-lab .pbo-key.pbo-sel{outline:3px solid #38bdf8;background:#e0f2fe}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №5 «Восемь сторон у каждой детали». Light paper in both themes. */
.arch-lab .phx-stage.poc-stage,.arch-lab .phx-stage.poc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.poc-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .poc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .poc-free{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .poc-p0{fill:#bfdbfe;stroke:#93c5fd;stroke-width:1}
.arch-lab svg .poc-p1{fill:#fde68a;stroke:#fcd34d;stroke-width:1}
.arch-lab svg .poc-p2{fill:#bbf7d0;stroke:#86efac;stroke-width:1}
.arch-lab svg .poc-p3{fill:#fecdd3;stroke:#fda4af;stroke-width:1}
.arch-lab svg .poc-mid{fill:#1d4ed8;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .poc-edge{stroke:#111827;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .poc-cell{cursor:pointer}
.arch-lab svg .poc-cell:focus-visible rect{stroke:#111827;stroke-width:3.4}
.arch-lab .poc-preview{flex:none;background:#fbfdff;border:1.5px solid #94a3b8;border-radius:10px}
.arch-lab .poc-tools{align-items:center}

/* Popov Academy — ПВГ 2025/26, 7–8 классы, №6 «Две группы и разные обеды». Light paper in both themes. */
.arch-lab .phx-stage.pvo-stage,.arch-lab .phx-stage.pvo-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.pvo-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .pvo-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .pvo-work{fill:#86efac;stroke:#166534;stroke-width:1.5}
.arch-lab svg .pvo-lunch{fill:#e2e8f0;stroke:#475569;stroke-width:1.5;stroke-dasharray:4 3}
.arch-lab svg .pvo-m1{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .pvo-m2{fill:#f97316;stroke:#7c2d12;stroke-width:1}
.arch-lab svg .pvo-bag{fill:#d6b98c;stroke:#78350f;stroke-width:1.6}
.arch-lab svg .pvo-bag.pvo-eq{fill:#bbf7d0;stroke:#14532d;stroke-width:2.6}
.arch-lab svg .pvo-tick{stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg text.pvo-head{font-size:15px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.pvo-cap{font-size:14px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.pvo-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.pvo-val{font-size:15px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Росатом» 2025/26, 8 класс, №1 «Мотоциклист вдоль колонны». Light paper in both themes. */
.arch-lab .phx-stage.rco-stage,.arch-lab .phx-stage.rco-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.rco-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .rco-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .rco-road{fill:#d6d3d1;stroke:none}
.arch-lab svg .rco-dash{stroke:#fff;stroke-width:2;stroke-dasharray:10 8}
.arch-lab svg .rco-tickm{stroke:#334155;stroke-width:1.6}
.arch-lab svg .rco-truck{fill:#2563eb;stroke:#1e3a8a;stroke-width:1.4}
.arch-lab svg .rco-moto{fill:#f97316;stroke:#7c2d12;stroke-width:1.8}
.arch-lab svg .rco-arrow{fill:none;stroke:#7c2d12;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .rco-goal{stroke:#15803d;stroke-width:2.6;stroke-dasharray:6 5}
.arch-lab svg .rco-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .rco-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .rco-ltail{stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .rco-lmoto{fill:none;stroke:#ea580c;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg text.rco-cap{font-size:14.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.rco-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.rco-g{font-weight:700;fill:#14532d}
/* РА-R07: lorries and the motorcyclist are drawn as vehicles */
.arch-lab svg .rco-cab{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1.4;stroke-linejoin:round}
.arch-lab svg .rco-wheel{fill:#1f2937;stroke:#f8fafc;stroke-width:1}

/* Popov Academy — «Росатом» 2025/26, 8 класс, №2 «Произведение и крайние числа». Light paper in both themes. */
.arch-lab .phx-stage.rpr-stage,.arch-lab .phx-stage.rpr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.rpr-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .rpr-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .rpr-box{fill:#f1f5f9;stroke:#64748b;stroke-width:1.8}
.arch-lab svg .rpr-box.rpr-hit{fill:#bbf7d0;stroke:#14532d;stroke-width:3.2}
.arch-lab svg .rpr-t3{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .rpr-t11{fill:#fed7aa;stroke:#c2410c;stroke-width:1.8}
.arch-lab svg .rpr-tile{cursor:pointer}
.arch-lab svg .rpr-tile:focus-visible rect{stroke:#111827;stroke-width:3.4}
.arch-lab .phx-svg text.rpr-num{font-size:20px;font-weight:800;fill:#111827;stroke:none;pointer-events:none}
.arch-lab .phx-svg text.rpr-value{font-size:24px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.rpr-empty{font-size:15px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.rpr-tag{font-size:14px;font-weight:700;fill:#334155;stroke:none}

/* Popov Academy — «Росатом» 2025/26, 8 класс, №3 «Один корень — куб другого». Light paper in both themes. */
.arch-lab .phx-stage.rcu-stage,.arch-lab .phx-stage.rcu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.rcu-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .rcu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .rcu-axisl{stroke:#111827;stroke-width:2.2}
.arch-lab svg .rcu-axis2{stroke:#64748b;stroke-width:1.6}
.arch-lab svg .rcu-axisv{stroke:#cbd5e1;stroke-width:1.4}
.arch-lab svg .rcu-tick{stroke:#111827;stroke-width:1.6}
.arch-lab svg .rcu-par{fill:none;stroke:#7c3aed;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .rcu-drop{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:4 4}
.arch-lab svg .rcu-r1{fill:#2563eb;stroke:#fff;stroke-width:1.6}
.arch-lab svg .rcu-r2{fill:#ea580c;stroke:#fff;stroke-width:1.6}
.arch-lab svg .rcu-c1{fill:none;stroke:#1d4ed8;stroke-width:2.8}
.arch-lab svg .rcu-c2{fill:none;stroke:#c2410c;stroke-width:2.8}
.arch-lab svg .rcu-hit{fill:#bbf7d0;stroke:#14532d;stroke-width:3.2}
.arch-lab .phx-svg text.rcu-big{font-size:20px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.rcu-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.rcu-fr{font-size:17px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .rcu-stage svg .vs-frac{stroke:#111827;stroke-width:2}

/* Popov Academy — «Росатом» 2025/26, 8 класс, №4 «Четыре модуля». Light paper in both themes. */
.arch-lab .phx-stage.rmo-stage,.arch-lab .phx-stage.rmo-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.rmo-stage{max-width:600px;margin-inline:auto;width:100%}
.arch-lab svg .rmo-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .rmo-plot{fill:none;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .rmo-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .rmo-ax{stroke:#334155;stroke-width:1.8}
.arch-lab svg .rmo-brk{stroke:#b45309;stroke-width:1.6;stroke-dasharray:5 5}
.arch-lab svg .rmo-left{fill:none;stroke:#7c3aed;stroke-width:3.4;stroke-linejoin:round}
.arch-lab svg .rmo-rightl{fill:none;stroke:#16a34a;stroke-width:2.6;stroke-dasharray:9 5}
.arch-lab svg .rmo-now{stroke:#111827;stroke-width:1.3;stroke-dasharray:4 4}
.arch-lab svg .rmo-dl{fill:#7c3aed;stroke:#fff;stroke-width:1.6}
.arch-lab svg .rmo-dr{fill:#16a34a;stroke:#fff;stroke-width:1.6}
.arch-lab svg .rmo-dl.rmo-hit{fill:#facc15;stroke:#111827;stroke-width:2.6}
.arch-lab .phx-svg text.rmo-axis{font-size:14px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.rmo-val{font-size:15px;font-weight:800;stroke:#fbfdff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.rmo-vl{fill:#5b21b6}
.arch-lab .phx-svg text.rmo-vr{fill:#166534}
/* РА-R03: all solutions in the scene */
.arch-lab svg .rmo-sol{stroke:#16a34a;stroke-width:9;stroke-linecap:round;opacity:.55}
.arch-lab svg .rmo-solp{fill:#16a34a;stroke:#14532d;stroke-width:2}
.arch-lab .phx-svg text.rmo-soll{font-size:15px;font-weight:700;fill:#14532d;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}

/* Popov Academy — «Росатом» 2025/26, 8 класс, №5 «Точка на стороне четырёхугольника». Light paper in both themes. */
.arch-lab .phx-stage.rqu-stage,.arch-lab .phx-stage.rqu-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.rqu-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .rqu-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .rqu-base{stroke:#94a3b8;stroke-width:1.6;stroke-dasharray:6 5}
.arch-lab svg .rqu-quad{fill:none;stroke:#1e293b;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .rqu-mcd{fill:#fde68a;stroke:#b45309;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .rqu-dashl{stroke:#64748b;stroke-width:1.6;stroke-dasharray:5 5}
.arch-lab svg .rqu-hgt{stroke:#0369a1;stroke-width:2;stroke-dasharray:3 4}
.arch-lab svg .rqu-hm{stroke:#dc2626;stroke-width:2.6;stroke-dasharray:none}
.arch-lab svg .rqu-right{fill:none;stroke:#111827;stroke-width:1.3}
.arch-lab svg .rqu-pt{fill:#111827;stroke:#fff;stroke-width:1.2}
.arch-lab svg .rqu-pm{fill:#dc2626;stroke:#fff;stroke-width:1.8}
.arch-lab .phx-svg text.rqu-letter{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.rqu-area{font-size:22px;font-weight:800;fill:#78350f;stroke:#fde68a;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.rqu-hl{font-size:15px;font-weight:700;fill:#075985;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.rqu-hlm{fill:#991b1b}
.arch-lab svg .rqu-lead{stroke:#991b1b;stroke-width:1.5}
