/* 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}
.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/gazprom-2025-26-math-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-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}

/* Газпром 2025/26, 8 класс, №1а «Корень из 46 + 6√5»: лист в клетку в обеих темах. */
.arch-lab .phx-stage.g811-stage{max-height:none}
.arch-lab .phx-stage.g811-stage .phx-svg{max-height:none}
.arch-lab svg .g811-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g811-grid{stroke:#e9eff7;stroke-width:1}
.arch-lab svg .g811-pa{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .g811-pb{fill:#fed7aa;stroke:#c2410c;stroke-width:1.4}
.arch-lab svg .g811-pab{fill:#bbf7d0;stroke:#047857;stroke-width:1.4}
.arch-lab svg .g811-frame{fill:none;stroke:#1f2937;stroke-width:2.2}
.arch-lab svg .g811-cur{fill:#fef9c3;stroke:#ca8a04;stroke-width:1.2}
.arch-lab svg text.g811-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g811-m{font-weight:700;fill:#1f2937}
.arch-lab svg .g811-m-bar{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg text.g811-ma{fill:#1d4ed8}.arch-lab svg .g811-ma-bar{stroke:#1d4ed8;stroke-width:1.3}
.arch-lab svg text.g811-mb{fill:#c2410c}.arch-lab svg .g811-mb-bar{stroke:#c2410c;stroke-width:1.3}
.arch-lab svg text.g811-mab{fill:#047857}.arch-lab svg .g811-mab-bar{stroke:#047857;stroke-width:1.3}
.arch-lab svg text.g811-mcur{fill:#1f2937;font-weight:800}
.arch-lab svg text.g811-mold{fill:#64748b}.arch-lab svg .g811-mold-bar{stroke:#64748b;stroke-width:1.3}
.arch-lab svg text.g811-ok{fill:#047857}.arch-lab svg .g811-ok-bar{stroke:#047857;stroke-width:1.3}
.arch-lab svg text.g811-bad{fill:#b91c1c}.arch-lab svg .g811-bad-bar{stroke:#b91c1c;stroke-width:1.3}
.arch-lab svg text.g811-chk{font-size:14px;font-weight:700}
.arch-lab svg text.g811-head{font-size:14px;font-weight:800;fill:#334155}
.arch-lab svg text.g811-approx{font-size:13px;font-weight:700;fill:#6d28d9}
.arch-lab svg .g811-mcur-bar{stroke:#1f2937;stroke-width:1.5}

/* Газпром 2025/26, 8 класс, №1б «Три дроби с корнями»: лист в клетку в обеих темах. */
.arch-lab .phx-stage.g812-stage{max-height:none}
.arch-lab .phx-stage.g812-stage .phx-svg{max-height:none}
.arch-lab svg .g812-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g812-grid{stroke:#e9eff7;stroke-width:1}
.arch-lab svg .g812-card{fill:#ffffff;stroke:#94a3b8;stroke-width:1.6}
.arch-lab svg .g812-card-f{fill:#ecfdf5;stroke:#047857;stroke-width:2}
.arch-lab svg .g812-axis{stroke:#1f2937;stroke-width:2}
.arch-lab svg .g812-tick{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .g812-guide{stroke:#94a3b8;stroke-width:1;stroke-dasharray:2 3}
.arch-lab svg .g812-ar1{stroke:#1d4ed8;stroke-width:3.2}.arch-lab svg .g812-hd1{fill:#1d4ed8}
.arch-lab svg .g812-ar2{stroke:#c2410c;stroke-width:3.2}.arch-lab svg .g812-hd2{fill:#c2410c}
.arch-lab svg .g812-ar3{stroke:#7c3aed;stroke-width:3.2}.arch-lab svg .g812-hd3{fill:#7c3aed}
.arch-lab svg .g812-sum{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .g812-k{fill:#facc15;stroke:#854d0e;stroke-width:1.5}
.arch-lab svg .g812-zero{fill:#1f2937}
.arch-lab svg .g812-half{stroke:#15803d;stroke-width:2.4}
.arch-lab svg text.g812-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g812-m{font-weight:700;fill:#1f2937}
.arch-lab svg .g812-m-bar{stroke:#1f2937;stroke-width:1.5}
.arch-lab svg text.g812-small{font-size:13px;fill:#047857}.arch-lab svg .g812-small-bar{stroke:#047857;stroke-width:1.2}
.arch-lab svg text.g812-small2{font-size:13px;fill:#334155}
.arch-lab svg text.g812-cnum{font-size:13px;font-weight:800;fill:#64748b}
.arch-lab svg text.g812-val{font-size:13.5px;fill:#475569}
.arch-lab svg text.g812-tickt{font-size:12.5px;fill:#334155}
.arch-lab svg text.g812-art{font-size:13px;font-weight:800}
.arch-lab svg text.g812-c1{fill:#1d4ed8}.arch-lab svg text.g812-c2{fill:#c2410c}.arch-lab svg text.g812-c3{fill:#6d28d9}
.arch-lab svg text.g812-lab{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g812-csum{fill:#15803d}.arch-lab svg text.g812-ck{fill:#854d0e}.arch-lab svg .g812-ck-bar{stroke:#854d0e;stroke-width:1.3}
.arch-lab svg text.g812-chalf{fill:#15803d}

/* Газпром 2025/26, 8 класс, вариант 3, №1 «Робот в трубе»: светлая бумага в обеих темах, цвета заданы явно. */
.arch-lab .phx-stage.gb13-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937}
.arch-lab svg .gb13-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb13-ground{fill:#d9f99d;stroke:#65a30d;stroke-width:1}
.arch-lab svg .gb13-support{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .gb13-pipe{fill:#9ca3af;stroke:#334155;stroke-width:1.6}
.arch-lab svg .gb13-pipe-hi{fill:#e5e7eb;stroke:none;opacity:.8}
.arch-lab svg .gb13-band-l{fill:#a78bfa;opacity:.45}
.arch-lab svg .gb13-band-m{fill:#34d399;opacity:.45}
.arch-lab svg .gb13-band-r{fill:#fb923c;opacity:.45}
.arch-lab svg .gb13-tick{stroke:#475569;stroke-width:1.4}
.arch-lab svg .gb13-stem{fill:#475569;stroke:#1f2937;stroke-width:1}
.arch-lab svg .gb13-wheel{stroke-width:3;fill:none}
.arch-lab svg .gb13-wheel-b{stroke:#1d4ed8}
.arch-lab svg .gb13-wheel-o{stroke:#c2410c}
.arch-lab svg .gb13-spoke{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .gb13-hub{fill:#1f2937}
.arch-lab svg .gb13-robot{fill:#facc15;stroke:#854d0e;stroke-width:1.6}
.arch-lab svg .gb13-robot-win{fill:#1e3a8a;stroke:none}
.arch-lab svg .gb13-lamp{fill:#fff7ae;stroke:#854d0e;stroke-width:1}
.arch-lab svg .gb13-bar-b{stroke:#1d4ed8;stroke-width:3.2;fill:#1d4ed8}
.arch-lab svg .gb13-bar-o{stroke:#c2410c;stroke-width:3.2;fill:#c2410c}
.arch-lab svg .gb13-guide{stroke:#64748b;stroke-width:1;stroke-dasharray:3 4}
.arch-lab svg .gb13-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb13-axis{stroke:#334155;stroke-width:1.6}
.arch-lab svg .gb13-level{stroke:#b91c1c;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .gb13-curve{fill:none;stroke:#1d4ed8;stroke-width:3.2;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .gb13-curve-all{fill:none;stroke:#93c5fd;stroke-width:2.4;stroke-dasharray:6 5}
.arch-lab svg .gb13-pt{fill:#1f2937;stroke:#fff;stroke-width:2}
.arch-lab svg .gb13-root{fill:#047857;stroke:#fff;stroke-width:2}
.arch-lab svg text.gb13-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb13-tn{font-size:13px;fill:#475569;font-weight:500}
.arch-lab svg text.gb13-vl{font-size:16px;font-weight:800}
.arch-lab svg text.gb13-vb,.arch-lab svg text.gb13-lb{fill:#1d4ed8}
.arch-lab svg text.gb13-vo,.arch-lab svg text.gb13-lo{fill:#c2410c}
.arch-lab svg text.gb13-lb,.arch-lab svg text.gb13-lo{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb13-ft{font-size:14px;font-weight:800}
.arch-lab svg text.gb13-ft-l{fill:#6d28d9}
.arch-lab svg text.gb13-ft-m{fill:#047857}
.arch-lab svg text.gb13-ft-r{fill:#c2410c}
.arch-lab svg text.gb13-axl{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.gb13-levt{fill:#b91c1c;font-weight:800}
.arch-lab svg text.gb13-ptl{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb13-rt{fill:#047857;font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab .gb13-cases{margin:6px 0;padding-left:1.2em}
.arch-lab svg text.gb13-rl{font-size:14px;font-weight:800;fill:#854d0e;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab .phx-stage.gb13-stage{max-height:none}
.arch-lab .phx-stage.gb13-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 8 класс, вариант 4, №1 «Знаменатель-призрак»: светлая бумага и тёмная доска-табло в обеих темах. */
.arch-lab .phx-stage.gb14-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937}
.arch-lab svg .gb14-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb14-board{fill:#1f4a37;stroke:#8b5a2b;stroke-width:6}
.arch-lab svg .gb14-bar{stroke:#f8fafc;stroke-width:2.4}
.arch-lab svg .gb14-group{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:5 4}
.arch-lab svg .gb14-tile{fill:#fffdf7;stroke:#a8a29e;stroke-width:1.4}
.arch-lab svg .gb14-p0{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .gb14-p1{fill:#ffedd5;stroke:#c2410c;stroke-width:2}
.arch-lab svg .gb14-p2{fill:#d1fae5;stroke:#047857;stroke-width:2}
.arch-lab svg .gb14-p0-s{stroke:#1d4ed8;fill:#1d4ed8}
.arch-lab svg .gb14-p1-s{stroke:#c2410c;fill:#c2410c}
.arch-lab svg .gb14-p2-s{stroke:#047857;fill:#047857}
.arch-lab svg path.gb14-arc{fill:none;stroke-width:2.4;stroke-dasharray:6 4}
.arch-lab svg .gb14-faded{opacity:.42}
.arch-lab svg .gb14-strike{stroke:#b91c1c;stroke-width:2.6}
.arch-lab svg text.gb14-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb14-num{fill:#f8fafc;font-size:18px;font-weight:800}
.arch-lab svg text.gb14-den{fill:#fde68a;font-size:18px;font-weight:800}
.arch-lab svg text.gb14-warn{fill:#fecaca;font-size:13px;font-weight:700}
.arch-lab svg text.gb14-step{font-size:15px;font-weight:800;fill:#203c58}
.arch-lab svg text.gb14-gt{font-size:16px;font-weight:800}
.arch-lab svg text.gb14-gs{font-size:13px;font-weight:700;fill:#475569}
.arch-lab svg text.gb14-tt{font-size:17px;font-weight:800}
.arch-lab svg text.gb14-tv{font-size:13.5px;font-weight:700;fill:#334155}
.arch-lab svg text.gb14-sum{font-size:15px;font-weight:800;fill:#047857}
.arch-lab svg text.gb14-bt{font-size:13px;font-weight:800;fill:#ffffff}
.arch-lab .phx-stage.gb14-stage{max-height:none}
.arch-lab .phx-stage.gb14-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 8 класс, №2а «Замена в уравнении с дробью»: два графика на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g821-stage{max-height:none}
.arch-lab .phx-stage.g821-stage .phx-svg{max-height:none}
.arch-lab svg .g821-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g821-plot{fill:#ffffff;stroke:#cbd5e1}
.arch-lab svg .g821-grid{stroke:#e8eef6;stroke-width:1}
.arch-lab svg .g821-axis{stroke:#334155;stroke-width:1.4}
.arch-lab svg .g821-asym{stroke:#b91c1c;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg .g821-cf{fill:none;stroke:#1d4ed8;stroke-width:2.8}
.arch-lab svg .g821-ct{fill:none;stroke:#7c3aed;stroke-width:2.8}
.arch-lab svg .g821-hc{stroke:#ea580c;stroke-width:2.2}
.arch-lab svg .g821-h1{stroke:#0d9488;stroke-width:2.2;stroke-dasharray:7 4}
.arch-lab svg .g821-root{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .g821-tp{fill:#facc15;stroke:#854d0e;stroke-width:1.5}
.arch-lab svg .g821-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg text.g821-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g821-tick{font-size:11.5px;fill:#475569}
.arch-lab svg text.g821-ttl{font-size:13.5px;font-weight:800;fill:#334155}
.arch-lab svg text.g821-hl-t{font-size:13px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g821-chc{fill:#c2410c}.arch-lab svg text.g821-ch1{fill:#0f766e}
.arch-lab svg text.g821-pl{font-size:14px;font-weight:700}
.arch-lab svg text.g821-ok{fill:#6d28d9}.arch-lab svg text.g821-bad{fill:#b91c1c}

/* Газпром 2025/26, 8 класс, №2б «Параметр и корни»: график на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g822-stage{max-height:none}
.arch-lab .phx-stage.g822-stage .phx-svg{max-height:none}
.arch-lab svg .g822-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g822-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .g822-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g822-axis2{stroke:#7c3aed;stroke-width:1.6;stroke-dasharray:6 4}
.arch-lab svg .g822-curve{fill:none;stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .g822-arm{stroke:#7c3aed;stroke-width:3}
.arch-lab svg .g822-r1{fill:#0d9488;stroke:#134e4a;stroke-width:1.5}
.arch-lab svg .g822-r2{fill:#ea580c;stroke:#7c2d12;stroke-width:1.5}
.arch-lab svg .g822-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g822-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g822-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g822-ax{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.g822-tick{font-size:12px;fill:#475569}
.arch-lab svg text.g822-armt{font-size:13px;font-weight:700;fill:#6d28d9;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.g822-m{font-weight:800;fill:#1f2937}
.arch-lab svg text.g822-r1-t{fill:#0f766e}.arch-lab svg text.g822-r2-t{fill:#c2410c}
.arch-lab svg text.g822-pl{font-size:14.5px;font-weight:700}
.arch-lab svg text.g822-ok{fill:#047857}.arch-lab svg text.g822-bad{fill:#b91c1c}
.arch-lab svg .g822-m-bar{stroke:#1f2937;stroke-width:1.4}

/* Газпром 2025/26, 8 класс, вариант 3, №2 «Доска упрощений»: светлые карточки на зелёной доске в обеих темах. */
.arch-lab .phx-stage.gb23-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb23-stage .phx-svg{max-height:none}
.arch-lab svg .gb23-board{fill:#8b5a2b;stroke:none}
.arch-lab svg .gb23-slate{fill:#1f4a37;stroke:#14532d;stroke-width:1}
.arch-lab svg .gb23-card{fill:#fffdf7;stroke:#d6c9a8;stroke-width:1.4}
.arch-lab svg .gb23-gcard{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .gb23-q{fill:#fde68a;stroke:#b45309;stroke-width:1.6;stroke-dasharray:4 3}
.arch-lab svg .gb23-hotbox{fill:#ffedd5;stroke:#c2410c;stroke-width:1.4}
.arch-lab svg .gb23-fbar{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .gb23-gaxis{stroke:#475569;stroke-width:1.4}
.arch-lab svg .gb23-gline{stroke:#047857;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .gb23-hole{fill:#f8fafc;stroke:#047857;stroke-width:2.2}
.arch-lab svg .gb23-gpt{fill:#1f2937;stroke:#fff;stroke-width:2}
.arch-lab svg text.gb23-t{stroke:none;fill:#1f2937;font-size:15px;font-weight:600}
.arch-lab svg text.gb23-head{fill:#f8fafc;font-size:16px;font-weight:800}
.arch-lab svg text.gb23-ct{font-size:14px;font-weight:800;fill:#203c58}
.arch-lab svg text.gb23-fr{font-size:15px;font-weight:700}
.arch-lab svg text.gb23-op{font-size:17px;font-weight:800}
.arch-lab svg text.gb23-hot{fill:#c2410c}
.arch-lab svg text.gb23-ans{fill:#047857;font-weight:800}
.arch-lab svg text.gb23-qt{font-size:20px;font-weight:800;fill:#b45309}
.arch-lab svg text.gb23-note{font-size:13px;fill:#475569;font-weight:600}
.arch-lab svg text.gb23-val{font-size:13.5px;fill:#047857;font-weight:800}
.arch-lab svg text.gb23-gtick{font-size:13px;fill:#475569}
.arch-lab svg text.gb23-glab{font-size:14px;fill:#047857;font-weight:800}
.arch-lab svg text.gb23-gx{font-size:14px;font-style:italic;font-weight:700}
.arch-lab .gb23-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb23-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}

/* Газпром 2025/26, 8 класс, вариант 4, №2 «Весы и замена»: светлая бумага в обеих темах. */
.arch-lab .phx-stage.gb24-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb24-stage .phx-svg{max-height:none}
.arch-lab svg .gb24-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb24-wood{fill:#b07a45;stroke:#6b4423;stroke-width:1.4}
.arch-lab svg .gb24-beam{stroke:#64748b;stroke-width:6;stroke-linecap:round}
.arch-lab svg .gb24-metal{fill:#cbd5e1;stroke:#475569;stroke-width:1.4}
.arch-lab svg .gb24-string{stroke:#64748b;stroke-width:1.4}
.arch-lab svg .gb24-arrow{fill:#b91c1c}
.arch-lab svg .gb24-arrow.gb24-ok{fill:#047857}
.arch-lab svg .gb24-box{stroke-width:1.6}
.arch-lab svg .gb24-pan-l{fill:#dbeafe;stroke:#1d4ed8}
.arch-lab svg .gb24-pan-r{fill:#ffedd5;stroke:#c2410c}
.arch-lab svg .gb24-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb24-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .gb24-par{fill:none;stroke:#6d28d9;stroke-width:3;stroke-linecap:round}
.arch-lab svg .gb24-t1{stroke:#047857;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab svg .gb24-t3{stroke:#b91c1c;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab svg .gb24-guide{stroke:#64748b;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg .gb24-pt{fill:#1f2937;stroke:#fff;stroke-width:2}
.arch-lab svg .gb24-root{fill:#047857;stroke:#fff;stroke-width:2}
.arch-lab svg .gb24-vert{fill:#6d28d9;stroke:#fff;stroke-width:1.5}
.arch-lab svg text.gb24-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb24-val{font-size:17px;font-weight:800}
.arch-lab svg text.gb24-plab{font-size:14px;font-weight:800;fill:#334155}
.arch-lab svg text.gb24-verdict{font-size:16px;font-weight:800;fill:#b91c1c}
.arch-lab svg text.gb24-okt{fill:#047857}
.arch-lab svg text.gb24-tn{font-size:13px;fill:#475569;font-weight:500}
.arch-lab svg text.gb24-axl{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.gb24-t1t{fill:#047857;font-weight:800}
.arch-lab svg text.gb24-t3t{fill:#b91c1c;font-weight:800;font-size:13.5px}
.arch-lab svg text.gb24-vt{fill:#6d28d9;font-weight:800;font-size:13.5px;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb24-ptl{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg .gb24-fbar{stroke:#6d28d9;stroke-width:1.6}
.arch-lab .gb24-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb24-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
/* GAZPROM-MATH-R07: the graphs of both sides before the key */
.arch-lab svg .gb24-sl{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linecap:round}
.arch-lab svg .gb24-sr{fill:none;stroke:#c2410c;stroke-width:3;stroke-linecap:round}

/* Газпром 2025/26, 8 класс, №3а «Посёлок „ГАЗ“»: карта на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g831-stage{max-height:none}
.arch-lab .phx-stage.g831-stage .phx-svg{max-height:none;cursor:crosshair}
.arch-lab svg .g831-land{fill:#f5efdf}
.arch-lab svg .g831-sea{fill:#cfe6f5;stroke:#7fb2d6;stroke-width:1.2}
.arch-lab svg .g831-mtn{fill:#c8b28a;stroke:#8a6d3b;stroke-width:1}
.arch-lab svg .g831-office{fill:#e2e8f0;stroke:#334155;stroke-width:1.2}
.arch-lab svg .g831-ow{fill:#60a5fa}
.arch-lab svg .g831-door{fill:#475569}
.arch-lab svg .g831-vh{fill:#fde7c8;stroke:#7c4a25;stroke-width:1.2}
.arch-lab svg .g831-vroof{fill:#b91c1c;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .g831-mast{stroke:#475569;stroke-width:2}
.arch-lab svg .g831-flame{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .g831-cdot{fill:#1f2937}
.arch-lab svg .g831-ext{stroke:#64748b;stroke-width:1.3;stroke-dasharray:6 5}
.arch-lab svg .g831-side{stroke:#334155;stroke-width:2.2}
.arch-lab svg .g831-seg{stroke:#1d4ed8;stroke-width:4.5;stroke-linecap:round}
.arch-lab svg .g831-bis{stroke:#7c3aed;stroke-width:1.6;stroke-dasharray:2 5}
.arch-lab svg .g831-d1{stroke:#1d4ed8;stroke-width:2.6;stroke-dasharray:7 3}
.arch-lab svg .g831-d2{stroke:#c2410c;stroke-width:2.6}
.arch-lab svg .g831-d3{stroke:#047857;stroke-width:2.6}
.arch-lab svg .g831-ra{fill:none;stroke:#334155;stroke-width:1.3}
.arch-lab svg .g831-endmark{fill:none;stroke:#1d4ed8;stroke-width:2.5}
.arch-lab svg .g831-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g831-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g831-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g831-city{font-size:15px;font-weight:800;paint-order:stroke;stroke:#f5efdf;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g831-gaz{font-size:14px;font-weight:800;fill:#b91c1c;paint-order:stroke;stroke:#f5efdf;stroke-width:4px}
.arch-lab svg text.g831-sea-t{font-size:13px;font-style:italic;fill:#1e5f8c}
.arch-lab svg text.g831-len{font-size:14px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g831-l1{fill:#1d4ed8}.arch-lab svg text.g831-l2{fill:#c2410c}.arch-lab svg text.g831-l3{fill:#047857}
.arch-lab svg text.g831-pv{font-size:14px;font-weight:800}
.arch-lab svg text.g831-pl{font-size:13.5px;font-weight:700}
.arch-lab svg text.g831-ok{fill:#047857}.arch-lab svg text.g831-bad{fill:#b91c1c}

/* Газпром 2025/26, 8 класс, №3б «Параллелограмм в треугольнике»: чертёж на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g832-stage{max-height:none}
.arch-lab .phx-stage.g832-stage .phx-svg{max-height:none}
.arch-lab svg .g832-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g832-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .g832-tri{fill:none;stroke:#1f2937;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .g832-ade{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab svg .g832-efc{fill:#fed7aa;stroke:#c2410c;stroke-width:1.4}
.arch-lab svg .g832-par{fill:#bbf7d0;stroke:#047857;stroke-width:1.4}
.arch-lab svg .g832-chev{fill:none;stroke:#1f2937;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .g832-dot{fill:#1f2937}
.arch-lab svg .g832-ra{stroke:#1d4ed8;stroke-width:4;stroke-linecap:round}
.arch-lab svg .g832-rc{stroke:#c2410c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .g832-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g832-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g832-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g832-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab svg text.g832-area{font-size:17px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g832-ca{fill:#1d4ed8}.arch-lab svg text.g832-cc{fill:#c2410c}.arch-lab svg text.g832-cp{fill:#047857}
.arch-lab svg text.g832-pl{font-size:14.5px;font-weight:700}
.arch-lab svg text.g832-ok{fill:#047857}.arch-lab svg text.g832-bad{fill:#b91c1c}
.arch-lab svg text.g832-m{font-weight:700}
.arch-lab svg text.g832-ma{fill:#1d4ed8}.arch-lab svg text.g832-mc{fill:#c2410c}
.arch-lab svg .g832-ma-bar{stroke:#1d4ed8;stroke-width:1.4}.arch-lab svg .g832-mc-bar{stroke:#c2410c;stroke-width:1.4}

/* Газпром 2025/26, 8 класс, вариант 3, №3 «Треугольник с равными отрезками»: точный чертёж на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.gb33-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb33-stage .phx-svg{max-height:none}
.arch-lab svg .gb33-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb33-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb33-tri{fill:#eef2ff;fill-opacity:.6;stroke:none}
.arch-lab svg .gb33-edge{stroke:#1f2937;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .gb33-ab{stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .gb33-compass{fill:none;stroke:#64748b;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .gb33-tick{stroke:#1f2937;stroke-width:2.2}
.arch-lab svg .gb33-tick-bad{stroke:#b91c1c;stroke-width:2.2}
.arch-lab svg .gb33-dot{fill:#1f2937}
.arch-lab svg .gb33-sec-a{fill:#fed7aa;fill-opacity:.85;stroke:#c2410c;stroke-width:1.2}
.arch-lab svg .gb33-sec-b{fill:#bbf7d0;fill-opacity:.85;stroke:#047857;stroke-width:1.2}
.arch-lab svg .gb33-sec-c{fill:#ddd6fe;fill-opacity:.85;stroke:#6d28d9;stroke-width:1.2}
.arch-lab svg .gb33-sec-d{fill:#fecaca;fill-opacity:.85;stroke:#b91c1c;stroke-width:1.2}
.arch-lab svg .gb33-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .gb33-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.gb33-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb33-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab svg text.gb33-len{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb33-lab{fill:#1d4ed8}
.arch-lab svg text.gb33-lok{fill:#047857}
.arch-lab svg text.gb33-lbad{fill:#b91c1c}
.arch-lab svg text.gb33-la{fill:#c2410c;font-weight:800;font-size:13.5px}
.arch-lab svg text.gb33-lapex{fill:#1f2937;font-weight:800;font-size:13.5px;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}
.arch-lab svg text.gb33-pl{font-size:15px;font-weight:800}
.arch-lab svg text.gb33-pl2{font-size:13.5px;font-weight:600;fill:#334155}
.arch-lab svg text.gb33-verdict{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb33-ok{fill:#047857}
.arch-lab svg text.gb33-bad{fill:#b91c1c}
.arch-lab svg text.gb33-lc{fill:#6d28d9;font-weight:800;font-size:13.5px;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}
.arch-lab svg text.gb33-ld{fill:#b91c1c;font-weight:800;font-size:13.5px;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}
.arch-lab .gb33-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb33-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb33-hr{white-space:nowrap}
.arch-lab .gb33-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, вариант 4, №3 «Трезубец»: точный чертёж на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.gb34-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb34-stage .phx-svg{max-height:none}
.arch-lab svg .gb34-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb34-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb34-circ{fill:none;stroke:#64748b;stroke-width:2}
.arch-lab svg .gb34-inc{fill:#dcfce7;fill-opacity:.5;stroke:#047857;stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab svg .gb34-dc{fill:#ffedd5;fill-opacity:.35;stroke:#c2410c;stroke-width:1.8;stroke-dasharray:3 4}
.arch-lab svg .gb34-tri{fill:#eef2ff;fill-opacity:.55;stroke:#1f2937;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .gb34-bis{stroke:#6d28d9;stroke-width:1.8;stroke-dasharray:7 4}
.arch-lab svg .gb34-thin{stroke:#1d4ed8;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .gb34-tri-l{stroke:#c2410c;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .gb34-sa{fill:#bbf7d0;fill-opacity:.9;stroke:#047857;stroke-width:1.1}
.arch-lab svg .gb34-sb{fill:#bfdbfe;fill-opacity:.9;stroke:#1d4ed8;stroke-width:1.1}
.arch-lab svg .gb34-rline{stroke:#047857;stroke-width:2}
.arch-lab svg .gb34-dot{fill:#1f2937}
.arch-lab svg .gb34-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg text.gb34-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb34-pt{font-size:17px;font-weight:800;font-style:italic;paint-order:stroke;stroke:#fbfcfe;stroke-width:3px}
.arch-lab svg text.gb34-len{font-size:14px;font-weight:800;fill:#c2410c;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb34-rl{font-size:14px;font-weight:800;fill:#047857;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb34-pl{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb34-ok{font-size:14.5px;font-weight:800;fill:#c2410c}
.arch-lab .gb34-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb34-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb34-hr{white-space:nowrap}
.arch-lab .gb34-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, №4а «Три инженера»: участок газопровода на светлом фоне в обеих темах. */
.arch-lab .phx-stage.g841-stage{max-height:none}
.arch-lab .phx-stage.g841-stage .phx-svg{max-height:none}
.arch-lab svg .g841-sky{fill:#eaf4fb}
.arch-lab svg .g841-ground{fill:#e7f1dc}
.arch-lab svg .g841-ink .p25-o,.arch-lab svg .g841-ink .p25-o-thin{stroke:#1f2937}
.arch-lab svg .g841-helmet{fill:#facc15;stroke:#854d0e;stroke-width:1.6}
.arch-lab svg .g841-path{fill:#d6c3a0;stroke:#b39a6c;stroke-width:1}
.arch-lab svg .g841-pipe{fill:#cbd5e1;stroke:#475569;stroke-width:1.6}
.arch-lab svg .g841-pipe-hl{stroke:#f8fafc;stroke-width:3}
.arch-lab svg .g841-sup{fill:#64748b}
.arch-lab svg .g841-mark{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g841-guide{stroke:#64748b;stroke-width:1;stroke-dasharray:3 4}
.arch-lab svg .g841-br-a{stroke:#7c3aed;stroke-width:3}
.arch-lab svg .g841-br-b{stroke:#0f766e;stroke-width:3}
.arch-lab svg .g841-br-c{stroke:#b91c1c;stroke-width:3}
.arch-lab svg .g841-pole{stroke:#334155;stroke-width:2}
.arch-lab svg .g841-flag{fill:#dc2626;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .g841-c-s{fill:#22a06b}.arch-lab svg .g841-c-i{fill:#8b5cf6}.arch-lab svg .g841-c-p{fill:#3b82f6}
.arch-lab svg .g841-tag{fill:#ffffff;stroke-width:2}
.arch-lab svg .g841-tag-s{stroke:#22a06b}.arch-lab svg .g841-tag-i{stroke:#8b5cf6}.arch-lab svg .g841-tag-p{stroke:#3b82f6}
.arch-lab svg text.g841-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g841-tname{font-size:13.5px;font-weight:800}
.arch-lab svg text.g841-tval{font-size:13px;font-weight:600;fill:#334155}
.arch-lab svg text.g841-tick{font-size:12.5px;fill:#334155}
.arch-lab svg text.g841-small{font-size:12.5px;fill:#475569}
.arch-lab svg text.g841-blab{font-size:13.5px;font-weight:800;paint-order:stroke;stroke:#eaf4fb;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g841-ca{fill:#6d28d9}.arch-lab svg text.g841-cb{fill:#0f766e}.arch-lab svg text.g841-cc{fill:#b91c1c}
.arch-lab .g841-verdict{font-weight:600}

/* Газпром 2025/26, 8 класс, №4б «Капсула и зонд»: карта-полоса и график на светлой бумаге в обеих темах. */
.arch-lab svg .g842-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g842-land{fill:#eef6e8}
.arch-lab svg .g842-ink .p25-o,.arch-lab svg .g842-ink .p25-o-thin{stroke:#1f2937}
.arch-lab svg .g842-house{fill:#fde7c8;stroke:#7c4a25;stroke-width:1.2}
.arch-lab svg .g842-roof{fill:#b45309;stroke:#7c2d12;stroke-width:1}
.arch-lab svg .g842-win{fill:#93c5fd}
.arch-lab svg .g842-tank{fill:#e2e8f0;stroke:#475569;stroke-width:1.4}
.arch-lab svg .g842-leg{stroke:#475569;stroke-width:2}
.arch-lab svg .g842-shine{fill:none;stroke:#ffffff;stroke-width:2;opacity:.9}
.arch-lab svg .g842-pipe{fill:#cbd5e1;stroke:#475569;stroke-width:1.6}
.arch-lab svg .g842-pipe-hl{stroke:#f1f5f9;stroke-width:2.5}
.arch-lab svg .g842-flange{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .g842-support{stroke:#64748b;stroke-width:2}
.arch-lab svg .g842-gas{stroke:#38bdf8;stroke-width:3.5;stroke-linecap:round}
.arch-lab svg .g842-cap{fill:#facc15;stroke:#854d0e;stroke-width:1.4}
.arch-lab svg .g842-cap-band{fill:#1d4ed8}
.arch-lab svg .g842-cap-win{fill:#e0f2fe;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .g842-probe{fill:#ea580c;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .g842-fin{fill:#9a3412;stroke:#7c2d12;stroke-width:1}
.arch-lab svg .g842-probe-eye{fill:#fef3c7}
.arch-lab svg .g842-wait{opacity:.55}
.arch-lab svg .g842-gap{stroke:#475569;stroke-width:1.6}
.arch-lab svg .g842-gap-hl{stroke:#b91c1c;stroke-width:2.6}
.arch-lab svg .g842-meet{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .g842-plot{fill:#ffffff;stroke:#cbd5e1}
.arch-lab svg .g842-grid{stroke:#e5ebf3;stroke-width:1}
.arch-lab svg .g842-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g842-gl-c{stroke:#a16207;stroke-width:3;stroke-linecap:round}
.arch-lab svg .g842-gl-p{stroke:#ea580c;stroke-width:3;stroke-linecap:round}
.arch-lab svg .g842-gl-wait{stroke:#ea580c;stroke-width:2;stroke-dasharray:3 4}
.arch-lab svg .g842-now{stroke:#1d4ed8;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .g842-dot-c{fill:#facc15;stroke:#854d0e;stroke-width:1.5}
.arch-lab svg .g842-dot-p{fill:#ea580c;stroke:#7c2d12;stroke-width:1.5}
.arch-lab svg text.g842-t{stroke:none;fill:#1f2937;font-weight:600;paint-order:stroke}
.arch-lab svg text.g842-city{font-size:22px;font-weight:800}
.arch-lab svg text.g842-pipe-t{font-size:13.5px;fill:#334155}
.arch-lab svg text.g842-obj{font-size:14px;font-weight:800;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g842-obj-p{fill:#c2410c}
.arch-lab svg text.g842-obj-c{fill:#854d0e}
.arch-lab svg text.g842-small{font-size:12.5px;fill:#475569}
.arch-lab svg text.g842-gap-t{font-size:14px;font-weight:800;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g842-hl{fill:#b91c1c}
.arch-lab svg text.g842-ok{fill:#15803d}
.arch-lab svg text.g842-tick{font-size:12px;fill:#475569;font-weight:500}
.arch-lab svg text.g842-axis-t{font-size:13px;fill:#334155;font-weight:700}
.arch-lab svg text.g842-gname{font-size:14px;font-weight:800;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg .g842-stub{fill:#cbd5e1;stroke:#475569;stroke-width:1.2}
.arch-lab .phx-stage.g842-stage{max-height:none}
.arch-lab .phx-stage.g842-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 8 класс, вариант 3, №4 «Цех погружных насосов»: светлый цех в обеих темах. */
.arch-lab .phx-stage.gb43-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb43-stage .phx-svg{max-height:none}
.arch-lab svg .gb43-wall{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb43-floor{fill:#d6d3d1;stroke:none}
.arch-lab svg .gb43-divider{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:6 5}
.arch-lab svg .gb43-ingot{stroke:#57534e;stroke-width:1}
.arch-lab svg .gb43-ing-o{fill:#cbd5e1}
.arch-lab svg .gb43-ing-n{fill:#e2e8f0}
.arch-lab svg .gb43-body{stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .gb43-old{fill:#3b82f6}
.arch-lab svg .gb43-new{fill:#f97316}
.arch-lab svg .gb43-band{fill:#1f2937;opacity:.35}
.arch-lab svg .gb43-nozzle{fill:#475569}
.arch-lab svg .gb43-cable{fill:none;stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .gb43-shine{fill:#ffffff;opacity:.35}
.arch-lab svg .gb43-ghost{fill:none;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:3 3}
.arch-lab svg .gb43-wood{fill:#b07a45;stroke:#6b4423;stroke-width:1.2}
.arch-lab svg .gb43-beam{stroke:#64748b;stroke-width:6;stroke-linecap:round}
.arch-lab svg .gb43-metal{fill:#cbd5e1;stroke:#475569;stroke-width:1.3}
.arch-lab svg .gb43-str{stroke:#64748b;stroke-width:1.3}
.arch-lab svg .gb43-weight{fill:#334155;stroke:#0f172a;stroke-width:1}
.arch-lab svg .gb43-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .gb43-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.gb43-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb43-head{font-size:14px;font-weight:800;fill:#203c58}
.arch-lab svg text.gb43-lbl{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb43-small{font-size:13px;fill:#475569;font-weight:700}
.arch-lab svg text.gb43-count{font-size:14.5px;font-weight:800;fill:#047857}
.arch-lab svg text.gb43-frac{fill:#b91c1c}
.arch-lab svg text.gb43-wt{font-size:12px;font-weight:800;fill:#ffffff}
.arch-lab svg text.gb43-pan{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb43-pmsg{font-size:14px;font-weight:800}
.arch-lab .gb43-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb43-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb43-hr{white-space:nowrap}
.arch-lab .gb43-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, вариант 4, №4 «Зонд и метка в газопроводе»: светлая бумага в обеих темах. */
.arch-lab .phx-stage.gb44-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb44-stage .phx-svg{max-height:none}
.arch-lab svg .gb44-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb44-ground{fill:#d9f99d;stroke:#65a30d;stroke-width:1}
.arch-lab svg .gb44-support{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .gb44-pipe{fill:#9ca3af;stroke:#334155;stroke-width:1.6}
.arch-lab svg .gb44-gas{fill:#e0f2fe;stroke:none}
.arch-lab svg .gb44-flow{fill:none;stroke:#7dd3fc;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .gb44-tick{stroke:#475569;stroke-width:1.3}
.arch-lab svg .gb44-mark{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .gb44-probe{fill:#facc15;stroke:#854d0e;stroke-width:1.6}
.arch-lab svg .gb44-lamp{fill:#fff7ae;stroke:#854d0e;stroke-width:1}
.arch-lab svg .gb44-meet{fill:none;stroke:#b91c1c;stroke-width:3}
.arch-lab svg .gb44-meet2{fill:none;stroke:#6d28d9;stroke-width:3}
.arch-lab svg .gb44-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb44-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .gb44-zero{stroke:#16a34a;stroke-width:1;stroke-dasharray:4 4}
.arch-lab svg .gb44-lmark{fill:none;stroke:#16a34a;stroke-width:2.6}
.arch-lab svg .gb44-lprobe{fill:none;stroke:#ca8a04;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .gb44-now{stroke:#64748b;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg text.gb44-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb44-tn{font-size:13px;fill:#475569;font-weight:500}
.arch-lab svg text.gb44-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab svg text.gb44-head{font-size:14px;font-weight:800;fill:#203c58}
.arch-lab svg text.gb44-ml{font-size:14px;font-weight:800;fill:#b91c1c;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb44-ml2{font-size:14px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb44-axl{font-size:14px;font-weight:700;font-style:italic}
.arch-lab .gb44-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb44-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb44-hr{white-space:nowrap}
.arch-lab .gb44-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, №5а «Окружность в углу»: чертёж на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g851-stage{max-height:none}
.arch-lab .phx-stage.g851-stage .phx-svg{max-height:none}
.arch-lab svg .g851-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g851-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .g851-tri{fill:#f8fafc;fill-opacity:.6;stroke:#1f2937;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .g851-ext{stroke:#94a3b8;stroke-width:1.3;stroke-dasharray:6 5}
.arch-lab svg .g851-ra{fill:none;stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .g851-bis{stroke:#7c3aed;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .g851-inc{fill:#dbeafe;fill-opacity:.55;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .g851-try{fill:#ffedd5;fill-opacity:.6;stroke:#c2410c;stroke-width:2.6}
.arch-lab svg .g851-try-out{stroke-dasharray:6 4}
.arch-lab svg .g851-t30{fill:#fef3c7;fill-opacity:.7;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .g851-rad{stroke:#c2410c;stroke-width:2}
.arch-lab svg .g851-ci{stroke:#047857;stroke-width:2.2;stroke-dasharray:3 3}
.arch-lab svg .g851-dot{fill:#1f2937}.arch-lab svg .g851-dot-i{fill:#1d4ed8}.arch-lab svg .g851-dot-m{fill:#c2410c}
.arch-lab svg .g851-bad-dot{fill:none;stroke:#b91c1c;stroke-width:2.5}
.arch-lab svg .g851-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g851-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g851-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g851-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab svg text.g851-lab{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g851-co{fill:#a16207}.arch-lab svg text.g851-ci-t{fill:#1d4ed8}
.arch-lab svg text.g851-pl{font-size:14px;font-weight:700}
.arch-lab svg text.g851-ok{fill:#047857}.arch-lab svg text.g851-bad{fill:#b91c1c}

/* Газпром 2025/26, 8 класс, №5б «Касательная, параллельная основанию»: чертёж и график на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g852-stage{max-height:none}
.arch-lab .phx-stage.g852-stage .phx-svg{max-height:none}
.arch-lab svg .g852-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g852-grid{stroke:#eef2f8;stroke-width:1}
.arch-lab svg .g852-tri{fill:none;stroke:#1f2937;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .g852-small{fill:#fee2e2;stroke:none}
.arch-lab svg .g852-inc{fill:#dbeafe;fill-opacity:.5;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .g852-tline{stroke:#94a3b8;stroke-width:1.3;stroke-dasharray:5 4}
.arch-lab svg .g852-seg{stroke:#dc2626;stroke-width:4;stroke-linecap:round}
.arch-lab svg .g852-ta{stroke:#7c3aed;stroke-width:4;stroke-linecap:round;opacity:.75}
.arch-lab svg .g852-tc{stroke:#0d9488;stroke-width:4;stroke-linecap:round;opacity:.75}
.arch-lab svg .g852-tp{fill:#ffffff;stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .g852-dot{fill:#1f2937}
.arch-lab svg .g852-plot{fill:#ffffff;stroke:#cbd5e1}
.arch-lab svg .g852-g2{stroke:#e5ebf3;stroke-width:1}
.arch-lab svg .g852-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g852-curve{fill:none;stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .g852-now{stroke:#dc2626;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab svg .g852-pt-now{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.4}
.arch-lab svg .g852-best{fill:#16a34a;stroke:#14532d;stroke-width:1.4}
.arch-lab svg text.g852-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g852-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab svg text.g852-lab{font-size:14px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g852-cs{fill:#b91c1c}.arch-lab svg text.g852-cb{fill:#15803d}
.arch-lab svg text.g852-tick{font-size:12px;fill:#475569;font-weight:500}
.arch-lab svg text.g852-axt{font-size:13px;font-weight:700;fill:#334155}

/* Газпром 2025/26, 8 класс, вариант 3, №5 «Опора моста»: светлый пейзаж в обеих темах. */
.arch-lab .phx-stage.gb53-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb53-stage .phx-svg{max-height:none}
.arch-lab svg .gb53-sky{fill:#f0f9ff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb53-soil{fill:#e7d7b3;stroke:none}
.arch-lab svg .gb53-found{fill:#a8a29e;stroke:#57534e;stroke-width:1.2}
.arch-lab svg .gb53-deck{fill:#64748b;stroke:#334155;stroke-width:1.2}
.arch-lab svg .gb53-rail{stroke:#475569;stroke-width:1.6}
.arch-lab svg .gb53-up{fill:#dbeafe;fill-opacity:.7;stroke:none}
.arch-lab svg .gb53-low{fill:#ffedd5;fill-opacity:.7;stroke:none}
.arch-lab svg .gb53-beam{stroke:#334155;stroke-width:6;stroke-linecap:round}
.arch-lab svg .gb53-ext{stroke:#6d28d9;stroke-width:1.4;stroke-dasharray:6 5}
.arch-lab svg .gb53-damp{fill:#334155;fill-opacity:.88;stroke:#0f172a;stroke-width:1.2}
.arch-lab svg .gb53-damp2{fill:#475569;fill-opacity:.8;stroke:#64748b;stroke-width:1}
.arch-lab svg .gb53-hub{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab svg .gb53-need{fill:none;stroke:#b91c1c;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab svg .gb53-rad{stroke:#facc15;stroke-width:2.4}
.arch-lab svg .gb53-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .gb53-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.gb53-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb53-rl{fill:#fde68a;font-size:14px;font-weight:800}
.arch-lab svg text.gb53-rl.gb53-ok{fill:#86efac}
.arch-lab svg text.gb53-rl.gb53-bad{fill:#fca5a5}
.arch-lab svg text.gb53-len{font-size:14px;font-weight:800;fill:#1e3a8a;paint-order:stroke;stroke:#f0f9ff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb53-pt{font-size:16px;font-weight:800;font-style:italic;paint-order:stroke;stroke:#f0f9ff;stroke-width:3px}
.arch-lab svg text.gb53-sim{font-size:14px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#e7d7b3;stroke-width:3px}
.arch-lab svg text.gb53-pl{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb53-pv{font-size:14.5px;font-weight:800}
.arch-lab svg text.gb53-ok{fill:#047857}
.arch-lab svg text.gb53-bad{fill:#b91c1c}
.arch-lab .gb53-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb53-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb53-hr{white-space:nowrap}
.arch-lab .gb53-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, вариант 4, №5 «Скол на стекле манометра»: светлый циферблат в обеих темах. */
.arch-lab .phx-stage.gb54-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb54-stage .phx-svg{max-height:none}
.arch-lab svg .gb54-wall{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb54-shadow{fill:#0f172a;opacity:.12}
.arch-lab svg .gb54-rim{fill:#b45309;stroke:#78350f;stroke-width:1.4}
.arch-lab svg .gb54-rim2{fill:#fbbf24;stroke:#92400e;stroke-width:1}
.arch-lab svg .gb54-face{fill:#ffffff;stroke:#334155;stroke-width:2}
.arch-lab svg .gb54-scale{stroke:#94a3b8;stroke-width:1.6}
.arch-lab svg .gb54-needle{stroke:#b91c1c;stroke-width:3;stroke-linecap:round;opacity:.55}
.arch-lab svg .gb54-pivot{fill:#475569}
.arch-lab svg .gb54-chip{fill:#bae6fd;fill-opacity:.7;stroke:#0369a1;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .gb54-glint{stroke:#ffffff;stroke-width:2;opacity:.8}
.arch-lab svg .gb54-crack{stroke:#334155;stroke-width:2;stroke-dasharray:9 3 2 3}
.arch-lab svg .gb54-hgt{stroke:#6d28d9;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .gb54-fg{stroke:#047857;stroke-width:5;stroke-linecap:round}
.arch-lab svg .gb54-gd{stroke:#c2410c;stroke-width:5;stroke-linecap:round}
.arch-lab svg .gb54-dot{fill:#1f2937}
.arch-lab svg .gb54-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg text.gb54-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb54-pt{font-size:16px;font-weight:800;font-style:italic;paint-order:stroke;stroke:#ffffff;stroke-width:3px}
.arch-lab svg text.gb54-len{font-size:14px;font-weight:800;fill:#0369a1;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb54-lfg{fill:#047857}
.arch-lab svg text.gb54-lgd{fill:#c2410c}
.arch-lab svg text.gb54-ge{font-size:14px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#ffffff;stroke-width:4px}
.arch-lab svg text.gb54-unit{font-size:13px;fill:#94a3b8;font-weight:700}
.arch-lab svg text.gb54-pl{font-size:14px;font-weight:800}
.arch-lab .gb54-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb54-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .gb54-hr{white-space:nowrap}
.arch-lab .gb54-hr-in{border-top:1.5px solid currentColor;padding:2px 2px 0;display:inline-block}

/* Газпром 2025/26, 8 класс, №6а «Система третьей степени»: плоскость на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g861-stage{max-height:none}
.arch-lab .phx-stage.g861-stage .phx-svg{max-height:none}
.arch-lab svg .g861-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g861-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .g861-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g861-c1{fill:none;stroke:#1d4ed8;stroke-width:2.8;stroke-linecap:round}
.arch-lab svg .g861-c2{fill:none;stroke:#ea580c;stroke-width:2.8;stroke-linecap:round}
.arch-lab svg .g861-ln{stroke:#16a34a;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab svg .g861-sol{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .g861-tp{fill:#7c3aed;stroke:#3b0764;stroke-width:1.5}
.arch-lab svg .g861-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g861-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g861-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g861-ax{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.g861-tick{font-size:12px;fill:#475569}
.arch-lab svg text.g861-solt{font-size:14px;font-weight:800;fill:#15803d;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g861-pl{font-size:13.5px;font-weight:700}
.arch-lab svg text.g861-pl2{font-size:13px;font-weight:600;fill:#334155}
.arch-lab .g861-eqs{font-weight:600}

/* Газпром 2025/26, 8 класс, №6б «Квадрат и окружность»: плоскость на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.g862-stage{max-height:none}
.arch-lab .phx-stage.g862-stage .phx-svg{max-height:none}
.arch-lab svg .g862-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g862-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .g862-axis{stroke:#334155;stroke-width:1.5}
.arch-lab svg .g862-sq{fill:#dbeafe;fill-opacity:.55;stroke:#1d4ed8;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .g862-ci{fill:none;stroke:#ea580c;stroke-width:3}
.arch-lab svg .g862-sol{fill:#16a34a;stroke:#14532d;stroke-width:1.5}
.arch-lab svg .g862-tp{fill:#7c3aed;stroke:#3b0764;stroke-width:1.5}
.arch-lab svg .g862-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab svg .g862-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab svg text.g862-t{stroke:none;fill:#1f2937;font-weight:600}
.arch-lab svg text.g862-ax{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.g862-tick{font-size:12.5px;fill:#475569}
.arch-lab svg text.g862-solt{font-size:14px;font-weight:800;fill:#15803d;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g862-pl{font-size:14px;font-weight:700}
.arch-lab svg text.g862-ok{fill:#047857}

/* Газпром 2025/26, 8 класс, вариант 3, №6: координатные плоскости на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.gb63-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb63-stage .phx-svg{max-height:none}
.arch-lab svg .gb63-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb63-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb63-axis{stroke:#334155;stroke-width:1.4}
.arch-lab svg .gb63-circ{fill:#dbeafe;fill-opacity:.35;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .gb63-line{stroke:#c2410c;stroke-width:2.6}
.arch-lab svg .gb63-cubic{fill:none;stroke:#6d28d9;stroke-width:2.4;stroke-dasharray:7 4}
.arch-lab svg .gb63-pt{fill:#1f2937;stroke:#fff;stroke-width:2}
.arch-lab svg .gb63-good{fill:#047857}
.arch-lab svg .gb63-par{fill:none;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .gb63-hyp{fill:none;stroke:#6d28d9;stroke-width:2.6}
.arch-lab svg .gb63-now{stroke:#c2410c;stroke-width:1.6;stroke-dasharray:4 4}
.arch-lab svg .gb63-ppar{fill:#1d4ed8;stroke:#fff;stroke-width:1.5}
.arch-lab svg .gb63-phyp{fill:#6d28d9;stroke:#fff;stroke-width:1.5}
.arch-lab svg text.gb63-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb63-tn{font-size:13px;fill:#475569;font-weight:500}
.arch-lab svg text.gb63-axl{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.gb63-pl{font-size:14px;font-weight:800;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.gb63-head{font-size:14.5px;font-weight:800;fill:#c2410c;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb63-okt{fill:#047857}
.arch-lab svg text.gb63-lpar{font-size:14px;font-weight:800;fill:#1d4ed8;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb63-lhyp{font-size:14px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab .gb63-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb63-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}

/* Газпром 2025/26, 8 класс, вариант 4, №6: две плоскости на светлой бумаге в обеих темах. */
.arch-lab .phx-stage.gb64-stage{--arch-fig-line:#1f2937;--arch-ink:#1f2937;max-height:none}
.arch-lab .phx-stage.gb64-stage .phx-svg{max-height:none}
.arch-lab svg .gb64-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .gb64-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab svg .gb64-axis{stroke:#334155;stroke-width:1.4}
.arch-lab svg .gb64-ok{fill:#bbf7d0;fill-opacity:.55;stroke:#16a34a;stroke-width:1}
.arch-lab svg .gb64-c1{fill:none;stroke:#1d4ed8;stroke-width:2.8}
.arch-lab svg .gb64-c2{fill:none;stroke:#c2410c;stroke-width:2.8}
.arch-lab svg .gb64-now{stroke:#64748b;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .gb64-p1{fill:#1d4ed8;stroke:#fff;stroke-width:1.5}
.arch-lab svg .gb64-p2{fill:#c2410c;stroke:#fff;stroke-width:1.5}
.arch-lab svg .gb64-sol{fill:#047857;stroke:#fff;stroke-width:2}
.arch-lab svg .gb64-circ{fill:#e0f2fe;fill-opacity:.5;stroke:#0369a1;stroke-width:2.4}
.arch-lab svg text.gb64-t{stroke:none;fill:#1f2937;font-size:14px;font-weight:600}
.arch-lab svg text.gb64-tn{font-size:13px;fill:#475569;font-weight:500}
.arch-lab svg text.gb64-axl{font-size:15px;font-style:italic;font-weight:700}
.arch-lab svg text.gb64-l1{font-size:14px;font-weight:800;fill:#1d4ed8;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb64-l2{font-size:14px;font-weight:800;fill:#c2410c;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb64-lc{font-size:14px;font-weight:800;fill:#0369a1;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab svg text.gb64-ls{font-size:14px;font-weight:800;fill:#047857;paint-order:stroke;stroke:#fbfcfe;stroke-width:4px}
.arch-lab .gb64-hf{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.15;margin:0 2px}
.arch-lab .gb64-hf-n{border-bottom:1.5px solid currentColor;padding:0 3px}

/* Газпром 2025/26, 9 класс, №1 (вариант 1) «Вычислитель на пульте»: светлая диспетчерская в обеих темах; лестница шагов — HTML с настоящими дробями. */
.arch-lab .phx-stage.g91a-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g91a-stage .phx-svg{max-height:none}
.arch-lab svg .g91a-paper{fill:#f1f5f9}
.arch-lab svg .g91a-floor{fill:#cbd5e1}
.arch-lab svg .g91a-shadow{fill:#0f172a;fill-opacity:.12}
.arch-lab svg .g91a-meter{fill:#e2e8f0;stroke:#475569;stroke-width:1.6}
.arch-lab svg .g91a-meter-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.4}
.arch-lab svg .g91a-lamp{fill:#22c55e;stroke:#166534;stroke-width:1}
.arch-lab svg .g91a-lamp-bad{fill:#ef4444;stroke:#7f1d1d}
.arch-lab svg .g91a-win{fill:#1e293b}
.arch-lab svg .g91a-cell{fill:#f8fafc}
.arch-lab svg .g91a-pipe-l{fill:none;stroke:#94a3b8;stroke-width:9;stroke-linejoin:round}
.arch-lab svg .g91a-pipe{fill:#94a3b8}
.arch-lab svg .g91a-box{fill:#cbd5e1;stroke:#475569;stroke-width:1.6}
.arch-lab svg .g91a-screen{fill:#064e3b;stroke:#022c22;stroke-width:1.5}
.arch-lab svg text.g91a-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g91a-mt{font-size:14px;font-weight:700;fill:#334155}
.arch-lab svg text.g91a-digit{font-size:17px;font-weight:800;fill:#0f172a;font-variant-numeric:tabular-nums}
.arch-lab svg text.g91a-scr{font-size:15px;font-weight:600;fill:#bbf7d0}
.arch-lab svg text.g91a-scr-bad{fill:#fecaca;font-weight:800}
.arch-lab svg text.g91a-scr-v{font-size:16px;font-weight:800;fill:#fef08a;font-variant-numeric:tabular-nums}
.arch-lab svg text.g91a-scr-big{font-size:20px}
.arch-lab svg text.g91a-scr-q{fill:#fde68a}
.arch-lab svg text.g91a-cap{font-size:14px;font-weight:700;fill:#1f2937}
/* лестница преобразований */
.arch-lab .g91a-ladder{list-style:none;margin:10px 0;padding:0;display:grid;gap:8px}
.arch-lab .g91a-ladder>li{border:1px solid var(--arch-soft-line);border-radius:10px;padding:8px 10px;background:var(--arch-surface);color:var(--arch-ink)}
.arch-lab .g91a-ladder>li.g91a-cur{border:2px solid var(--arch-pressed-line)}
.arch-lab .g91a-ladder>li.g91a-lock{border-style:dashed}
.arch-lab .g91a-st{margin:0 0 4px;font-weight:700;font-size:15px}
.arch-lab .g91a-fwrap{padding:4px 0;max-width:100%}
.arch-lab .g91a-m{display:inline-flex;align-items:center;flex-wrap:wrap;gap:2px 4px;font-size:17px;font-style:italic;font-family:'Times New Roman',Times,serif;white-space:nowrap}
.arch-lab .g91a-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px}
.arch-lab .g91a-fn{padding:0 4px 2px;border-bottom:1.5px solid currentColor}
.arch-lab .g91a-fd{padding:2px 4px 0}
.arch-lab .g91a-par{display:inline-flex;align-items:center}
.arch-lab .g91a-br{font-size:2.1em;font-style:normal;line-height:1;transform:scaleX(.7);font-weight:300}
.arch-lab .g91a-sup{font-style:normal;font-size:.72em;align-self:flex-start;margin-left:-2px}
.arch-lab .g91a-op{font-style:normal;padding:0 3px}
.arch-lab .g91a-hl{border-radius:5px;padding:0 3px}
.arch-lab .g91a-hl-a{background:#fde68a;color:#1f2937}
.arch-lab .g91a-hl-b{background:#bfdbfe;color:#1f2937}
.arch-lab .g91a-hl-c{background:#ddd6fe;color:#1f2937}
.arch-lab .g91a-cut{text-decoration-color:#dc2626;text-decoration-thickness:2px}
.arch-lab .g91a-four{font-style:normal;font-size:1.3em;color:var(--arch-good)}
.arch-lab .g91a-chk{margin:4px 0 0;font-size:14px;color:var(--arch-muted);overflow-wrap:anywhere}
.arch-lab .g91a-chk-bad{color:var(--arch-bad)}
.arch-lab .g91a-ok{color:var(--arch-good);font-weight:800}
.arch-lab .g91a-leg{display:inline-block;min-width:30px;text-align:center;margin-right:2px;font-style:italic}

/* Газпром 2025/26, 9 класс, №1 (вариант 2) «Избавься от корня в знаменателе»: светлая бумага в обеих темах. */
.arch-lab .phx-stage.g91b-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g91b-stage .phx-svg{max-height:none}
.arch-lab svg .g91b-paper{fill:#f8fafc}
.arch-lab svg .g91b-shadow{fill:#0f172a;fill-opacity:.1}
.arch-lab svg .g91b-cube-top{fill:#e2e8f0;stroke:#475569;stroke-width:1.4}
.arch-lab svg .g91b-cube-s{fill:#94a3b8;stroke:#475569;stroke-width:1.4}
.arch-lab svg .g91b-cube-f{fill:#cbd5e1;stroke:#475569;stroke-width:1.4}
.arch-lab svg .g91b-shine{stroke:#f8fafc;stroke-width:3;stroke-linecap:round;opacity:.8}
.arch-lab svg .g91b-card{fill:#ffffff;stroke:#94a3b8;stroke-width:1.4}
.arch-lab svg .g91b-card-ok{fill:#dcfce7;stroke:#15803d;stroke-width:2}
.arch-lab svg .g91b-card-bad{fill:#fff7ed;stroke:#c2410c;stroke-width:2}
.arch-lab svg .g91b-strip{fill:#eef2ff;stroke:#6366f1;stroke-width:1.4}
.arch-lab svg .g91b-bar{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .g91b-root{fill:none;stroke:#1f2937;stroke-width:1.6;stroke-linejoin:round}
.arch-lab svg text.g91b-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g91b-idx{font-size:11px;font-weight:700}
.arch-lab svg text.g91b-on-cube{font-size:15px;font-weight:800;fill:#1e293b}
.arch-lab svg text.g91b-lab{font-size:16px;font-weight:700}
.arch-lab svg text.g91b-rule{font-size:16px;font-weight:800;fill:#7c2d12}
.arch-lab svg text.g91b-small{font-size:13.5px;font-weight:600;fill:#475569}
.arch-lab svg text.g91b-ct{font-size:15px;font-weight:800;fill:#334155}
.arch-lab svg text.g91b-fr{font-size:17px;font-weight:700;font-style:italic;font-family:'Times New Roman',Times,serif}
.arch-lab svg text.g91b-res{font-size:16px;font-weight:800}
.arch-lab svg text.g91b-val{font-size:15px;font-weight:700;fill:#1d4ed8}
.arch-lab svg text.g91b-big{font-size:24px;font-weight:800}
.arch-lab svg text.g91b-ok{fill:#15803d}
.arch-lab svg text.g91b-bad{fill:#c2410c}
.arch-lab svg text.g91b-muted{fill:#64748b;font-weight:600}
.arch-lab .g91b-chooser{margin:8px 0}
.arch-lab .g91b-ch-t{margin:0 0 4px;font-weight:700}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 1в «Тетрадь: упростить произведение». The stage is a light notebook page in both
   themes (the site keeps .arch-stage light). The first block — helpers shared by the labs gz26-m9-* of variants 3–4
   (visuals/gz26-m9b/svgmath.mjs): the bars of SVG fractions and the HTML fraction of the status lines. */
.arch-lab .g9m-bar{stroke:#1f2937;stroke-width:1.4}
.arch-lab .g9m-paren{fill:none;stroke:#1f2937;stroke-width:1.5;stroke-linecap:round}
.arch-lab .g9m-hf{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;line-height:1.1;font-size:.92em}
.arch-lab .g9m-hf-n{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g9m-hf-d{padding:1px 3px 0}
.arch-lab .arch-result sup,.arch-lab .p25-secret-body sup{font-size:.7em;line-height:0}

.arch-lab .phx-stage.g91c-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g91c-paper{fill:#fffef8;stroke:#d6dde8;stroke-width:1}
.arch-lab .phx-svg .g91c-grid{stroke:#e3ebf5;stroke-width:1}
.arch-lab .phx-svg .g91c-margin{stroke:#f2a3a3;stroke-width:1.2}
.arch-lab .phx-svg .g91c-none{stroke:none}
.arch-lab .phx-svg .g91c-shadow{fill:#0f172a;opacity:.08}
.arch-lab svg .g91c-card{stroke:#64748b;stroke-width:1.3}
.arch-lab svg .g91c-tone-a{fill:#e0ecff}
.arch-lab svg .g91c-tone-b{fill:#fff1d6}
.arch-lab svg .g91c-tone-c{fill:#dcf5e7}
.arch-lab .phx-svg text.g91c-card-t{font-size:13px;font-weight:700;fill:#475569}
.arch-lab .phx-svg text.g91c-f{fill:#111827;font-size:16px}
.arch-lab .phx-svg .g91c-bar{stroke:#111827;stroke-width:1.4}
.arch-lab .phx-svg .g91c-bar-v{stroke:#1e3a8a;stroke-width:1.2}
.arch-lab .phx-svg text.g91c-val{fill:#1e3a8a;font-weight:700}
.arch-lab .phx-svg text.g91c-undef{font-size:14px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg text.g91c-dot{font-size:26px;font-weight:800;fill:#1f2937}
.arch-lab svg .g91c-tile{stroke:#475569;stroke-width:1.2}
.arch-lab svg .g91c-pair-a{fill:#ffd9c2}
.arch-lab svg .g91c-pair-b{fill:#d9e8ff}
.arch-lab svg .g91c-pair-c{fill:#eadcff}
.arch-lab svg .g91c-pair-d{fill:#fff0b3}
.arch-lab svg .g91c-keep{fill:#d1fae5;stroke:#047857;stroke-width:2.4}
.arch-lab .phx-svg text.g91c-tile-t{font-size:15px;font-weight:700;fill:#111827}
.arch-lab .phx-svg text.g91c-tile-v{fill:#334155;font-weight:600}
.arch-lab svg .g91c-strike{stroke:#b91c1c;stroke-width:2.2;stroke-linecap:round;opacity:.75}
.arch-lab .phx-svg .g91c-bigbar{stroke:#111827;stroke-width:2.2}
.arch-lab .phx-svg text.g91c-hint{font-size:13px;font-weight:700;fill:#64748b}
.arch-lab .phx-svg text.g91c-hint-keep{fill:#047857}
.arch-lab svg .g91c-bubble{fill:#ffffff;stroke:#1e3a8a;stroke-width:1.6}
.arch-lab .phx-svg text.g91c-bub-h{font-size:13px;font-weight:700;fill:#475569}
.arch-lab .phx-svg text.g91c-bub-t{fill:#1e3a8a;font-weight:800}
.arch-lab .phx-svg .g91c-ink .p25-o,.arch-lab .phx-svg .g91c-ink .p25-o-thin{stroke:#1f2937}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 1г «Три компрессорные станции»: light stage in both themes. */
.arch-lab .phx-stage.g91d-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g91d-sky{fill:#f3f8fd}
.arch-lab .phx-svg .g91d-ground{fill:#e7ecd9}
.arch-lab .phx-svg .g91d-support{stroke:#8a96a8;stroke-width:3}
.arch-lab svg .g91d-pipe-o{stroke:#475569;stroke-width:17;stroke-linecap:round}
.arch-lab svg .g91d-pipe{stroke:#c9d4e2;stroke-width:13;stroke-linecap:round}
.arch-lab svg .g91d-pipe-hi{stroke:#ffffff;stroke-width:3;opacity:.7}
.arch-lab svg .g91d-pipe-dead{stroke:#9ca3af;stroke-width:13;stroke-dasharray:6 6;opacity:.85}
.arch-lab .phx-svg .g91d-packet{fill:#f59e0b;stroke:#b45309;stroke-width:2}
.arch-lab .phx-svg .g91d-shadow{fill:#0f172a;opacity:.1}
.arch-lab svg .g91d-st{fill:#dbeafe;stroke:#1e3a8a;stroke-width:1.8}
.arch-lab svg .g91d-st-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.6}
.arch-lab .phx-svg .g91d-chim{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab .phx-svg text.g91d-st-t{font-size:13px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg text.g91d-st-f{fill:#111827}
.arch-lab .phx-svg .g91d-bar-st{stroke:#111827;stroke-width:1.2}
.arch-lab .phx-svg .g91d-fan{fill:#ffffff;stroke:#1e3a8a;stroke-width:1.5}
.arch-lab .phx-svg .g91d-blade{stroke:#1e3a8a;stroke-width:2.2;stroke-linecap:round}
.arch-lab .phx-svg text.g91d-bad-t{font-size:13px;font-weight:800;fill:#b91c1c}
.arch-lab svg .g91d-plate{fill:#fffdf3;stroke:#64748b;stroke-width:1.4}
.arch-lab svg .g91d-plate-same{fill:#dcfce7;stroke:#047857;stroke-width:2.4}
.arch-lab svg .g91d-plate-dead{fill:#f1f5f9;stroke:#94a3b8;stroke-dasharray:4 3}
.arch-lab .phx-svg text.g91d-pv{fill:#111827;font-weight:700}
.arch-lab .phx-svg .g91d-bar{stroke:#111827;stroke-width:1.4}
.arch-lab .phx-svg .g91d-post{stroke:#64748b;stroke-width:2}
.arch-lab .phx-svg text.g91d-name{font-size:15px;font-weight:800;font-style:italic;fill:#1e3a8a}
.arch-lab svg .g91d-nl{stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg .g91d-nl-arr{fill:#1f2937}
.arch-lab .phx-svg text.g91d-tick{font-size:13px;fill:#475569}
.arch-lab .phx-svg text.g91d-nl-t{font-size:13px;font-weight:700;fill:#475569}
.arch-lab svg .g91d-hole{fill:#ffffff;stroke:#b91c1c;stroke-width:2.6}
.arch-lab .phx-svg .g91d-mark{fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg .g91d-ink .p25-o,.arch-lab .phx-svg .g91d-ink .p25-o-thin{stroke:#1f2937}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g91d-stage{max-height:none}
.arch-lab .phx-stage.g91d-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 9 класс, №2 (вариант 1) «Две трубы на земле»: светлая сцена в обеих темах. */
.arch-lab .phx-stage.g92a-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g92a-stage .phx-svg{max-height:none}
.arch-lab svg .g92a-sky{fill:#eef6fd}
.arch-lab svg .g92a-soil{fill:#d6c29a}
.arch-lab svg .g92a-grass{fill:none;stroke:#5f9d4b;stroke-width:1.6}
.arch-lab svg .g92a-ground{stroke:#3f6212;stroke-width:3}
.arch-lab svg .g92a-shadow{fill:#0f172a;fill-opacity:.12}
.arch-lab svg .g92a-pipe{fill:#64748b;stroke:#1e293b;stroke-width:1.6}
.arch-lab svg .g92a-gas{fill:#dbeafe;fill-opacity:.92;stroke:#475569;stroke-width:1}
.arch-lab svg .g92a-shine{fill:none;stroke:#ffffff;stroke-width:3;stroke-linecap:round;opacity:.7}
.arch-lab svg .g92a-tri{fill:#fed7aa;fill-opacity:.75;stroke:#c2410c;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .g92a-tan{stroke:#7c3aed;stroke-width:2.2;stroke-dasharray:7 4}
.arch-lab svg .g92a-rad{stroke:#1e293b;stroke-width:1.6}
.arch-lab svg .g92a-on{stroke:#047857;stroke-width:2.4}
.arch-lab svg .g92a-diam{fill:none;stroke:#db2777;stroke-width:2;stroke-dasharray:5 5}
.arch-lab svg .g92a-rm{fill:none;stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .g92a-rm-hot{stroke:#db2777;stroke-width:2.4}
.arch-lab svg .g92a-tick{stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .g92a-dot{fill:#0f172a}
.arch-lab svg text.g92a-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g92a-pt{font-size:17px;font-weight:800;font-style:italic;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g92a-rl{font-size:14px;font-weight:800;fill:#0f172a;paint-order:stroke;stroke:#dbeafe;stroke-width:4px}
.arch-lab svg text.g92a-len{font-size:15px;font-weight:800;paint-order:stroke;stroke:#f5ecd7;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g92a-len-kl{fill:#7c2d12}
.arch-lab svg text.g92a-len-km{fill:#c2410c}
.arch-lab svg text.g92a-len-lm{fill:#c2410c}
.arch-lab svg text.g92a-note{font-size:14px;font-weight:800;fill:#1d4ed8}
.arch-lab .g92a-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;font-size:.95em}
.arch-lab .g92a-fn{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g92a-fd{padding:1px 3px 0}
.arch-lab .g92a-rad{border-top:1.5px solid currentColor;padding-top:1px}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 2г «Хорды на крышке резервуара»: light stage in both themes. */
.arch-lab .g9m-root{white-space:nowrap}
.arch-lab .g9m-rad{border-top:1.5px solid currentColor;padding:0 1px;margin-left:1px}
.arch-lab .phx-stage.g92d-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g92d-shadow{fill:#0f172a;opacity:.1}
.arch-lab svg .g92d-ring{fill:#b8c4d3;stroke:#475569;stroke-width:1.6}
.arch-lab svg .g92d-lid{fill:#f4f7fb;stroke:#475569;stroke-width:2}
.arch-lab .phx-svg .g92d-bolt{fill:#64748b;stroke:#334155;stroke-width:1}
.arch-lab svg .g92d-arc-ab{fill:none;stroke:#2563eb;stroke-width:5;stroke-linecap:round;opacity:.55}
.arch-lab svg .g92d-arc-ac{fill:none;stroke:#ea580c;stroke-width:5;stroke-linecap:round;opacity:.45}
.arch-lab svg .g92d-ab{stroke:#1d4ed8;stroke-width:4;stroke-linecap:round}
.arch-lab svg .g92d-ac{stroke:#c2410c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .g92d-am{stroke:#1d4ed8;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab svg .g92d-rad{stroke:#475569;stroke-width:1.8;stroke-dasharray:4 4}
.arch-lab svg .g92d-tick{stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .g92d-tri{fill:#fde68a;fill-opacity:.55;stroke:#b45309;stroke-width:1.2}
.arch-lab svg .g92d-height{stroke:#047857;stroke-width:2.2;stroke-dasharray:5 4}
.arch-lab .phx-svg .g92d-dot{fill:#1f2937}
.arch-lab svg .g92d-pt{fill:#1f2937;stroke:#fff;stroke-width:1.5}
.arch-lab svg .g92d-pt-m{fill:#1d4ed8;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.g92d-name{font-size:17px;font-weight:800;font-style:italic;fill:#111827}
.arch-lab .phx-svg text.g92d-o{font-size:15px;font-style:italic;fill:#334155}
.arch-lab .phx-svg text.g92d-lab-ab,.arch-lab .phx-svg text.g92d-lab-ac,.arch-lab .phx-svg text.g92d-lab-r,.arch-lab .phx-svg text.g92d-lab-h{font-size:15px;font-weight:800;paint-order:stroke;stroke:#f4f7fb;stroke-width:4px;stroke-linejoin:round}
.arch-lab .phx-svg text.g92d-lab-ab{fill:#1d4ed8}
.arch-lab .phx-svg text.g92d-lab-ac{fill:#c2410c}
.arch-lab .phx-svg text.g92d-lab-r{fill:#334155}
.arch-lab .phx-svg text.g92d-lab-h{fill:#047857}
.arch-lab svg .g92d-card{fill:#fffdf5;stroke:#c9b98f;stroke-width:1.3}
.arch-lab .phx-svg text.g92d-card-h{font-size:13px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg text.g92d-card-t{font-size:15px;fill:#334155}
.arch-lab .phx-svg text.g92d-card-v{font-size:15px;font-weight:800;fill:#111827}
.arch-lab .phx-svg text.g92d-target{font-size:14px;font-weight:700;fill:#c2410c}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 3в «Три дня проверки работ»: light stage in both themes. */
.arch-lab .phx-stage.g93c-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g93c-wall{fill:#f7f4ec}
.arch-lab .phx-svg .g93c-floor{fill:#d9c7a5}
.arch-lab .phx-svg .g93c-sep{stroke:#cbbfa6;stroke-width:1.2;stroke-dasharray:6 5}
.arch-lab svg .g93c-clock{fill:#ffffff;stroke:#334155;stroke-width:2}
.arch-lab .phx-svg .g93c-clock-tick{stroke:#334155;stroke-width:1.2}
.arch-lab .phx-svg .g93c-hand-h{stroke:#111827;stroke-width:2.6;stroke-linecap:round}
.arch-lab .phx-svg .g93c-hand-m{stroke:#b91c1c;stroke-width:1.6;stroke-linecap:round}
.arch-lab .phx-svg .g93c-pin{fill:#111827}
.arch-lab .phx-svg text.g93c-day{font-size:15px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg text.g93c-time{font-size:14px;fill:#334155}
.arch-lab .phx-svg text.g93c-name{font-size:13px;font-weight:800}
.arch-lab .phx-svg .g93c-desk{fill:#a16207;stroke:#713f12;stroke-width:1}
.arch-lab svg .g93c-sheet{fill:#ffffff;stroke:#94a3b8;stroke-width:.8}
.arch-lab .phx-svg text.g93c-count{font-size:15px;font-weight:800;fill:#111827}
.arch-lab .phx-svg text.g93c-need{font-size:14px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.g93c-perh{font-size:14px;font-weight:800;fill:#1d4ed8}
.arch-lab .phx-svg text.g93c-perh2{font-size:13px;fill:#64748b}
.arch-lab svg .g93c-ok{fill:none;stroke:#047857;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .g93c-bad{fill:none;stroke:#b91c1c;stroke-width:3.2;stroke-linecap:round}
.arch-lab .phx-svg .g93c-ink .p25-o,.arch-lab .phx-svg .g93c-ink .p25-o-thin{stroke:#1f2937}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g93c-stage{max-height:none}
.arch-lab .phx-stage.g93c-stage .phx-svg{max-height:none}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 3г «Две ёмкости с кислотой»: light stage in both themes. */
.arch-lab .phx-stage.g93d-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g93d-room{fill:#f6f7f2}
.arch-lab .phx-svg .g93d-shelf{fill:#a8a29e;stroke:#57534e;stroke-width:1}
.arch-lab svg .g93d-liq-a{fill:#93c5fd;stroke:none}
.arch-lab svg .g93d-liq-b{fill:#fdba74;stroke:none}
.arch-lab .phx-svg .g93d-surface{stroke:#1e40af;stroke-width:1.6}
.arch-lab svg .g93d-glass{fill:#e0f2fe;fill-opacity:.25;stroke:#334155;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .g93d-mark{stroke:#334155;stroke-width:1}
.arch-lab .phx-svg text.g93d-layer-t{font-size:13px;font-weight:800;fill:#1f2937}
.arch-lab .phx-svg text.g93d-tank-t{font-size:14px;font-weight:700;fill:#1f2937}
.arch-lab svg .g93d-badge{fill:#ffffff;stroke:#7c2d12;stroke-width:1.4}
.arch-lab .phx-svg text.g93d-badge-t{font-size:14px;font-weight:800;fill:#7c2d12}
.arch-lab svg .g93d-arrow{fill:none;stroke:#475569;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg .g93d-arrow-h{fill:#475569}
.arch-lab .phx-svg text.g93d-x-t{font-size:14px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg .g93d-paper{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .g93d-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .g93d-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.g93d-tick{font-size:12.5px;fill:#475569}
.arch-lab .phx-svg text.g93d-axis-t{font-size:13px;font-weight:700;fill:#334155}
.arch-lab svg .g93d-l1{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .g93d-l2{stroke:#c2410c;stroke-width:3}
.arch-lab svg .g93d-cur{stroke:#6d28d9;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab .phx-svg .g93d-pt1{fill:#1d4ed8;stroke:#fff;stroke-width:2}
.arch-lab .phx-svg .g93d-pt2{fill:#c2410c;stroke:#fff;stroke-width:2}
.arch-lab .phx-svg text.g93d-lab1{font-size:13.5px;font-weight:800;fill:#1d4ed8}
.arch-lab .phx-svg text.g93d-lab2{font-size:13.5px;font-weight:800;fill:#c2410c}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g93d-stage{max-height:none}
.arch-lab .phx-stage.g93d-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 9 класс, №4 (вариант 2) «Участок и два газопровода»: светлая карта в обеих темах. */
.arch-lab .phx-stage.g94b-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g94b-stage .phx-svg{max-height:none;touch-action:none}
.arch-lab svg .g94b-map{fill:#f4f1e4}
.arch-lab svg .g94b-grid{stroke:#e4dcc2;stroke-width:1}
.arch-lab svg .g94b-field{fill:#c7e3b0;stroke:#3f6212;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .g94b-field-bad{fill:#fde2e2;stroke:#b91c1c;stroke-dasharray:8 5}
.arch-lab svg .g94b-c1{fill:#fde68a;fill-opacity:.85;stroke:#a16207;stroke-width:1.2}
.arch-lab svg .g94b-c2{fill:#fbcfe8;fill-opacity:.85;stroke:#be185d;stroke-width:1.2}
.arch-lab svg .g94b-var{fill:#bfdbfe;fill-opacity:.8;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .g94b-diag{stroke:#475569;stroke-width:1.8;stroke-dasharray:3 5}
.arch-lab svg .g94b-pipe-mn{stroke:#c2410c;stroke-width:6;stroke-linecap:round}
.arch-lab svg .g94b-pipe-kl{stroke:#047857;stroke-width:6;stroke-linecap:round}
.arch-lab svg .g94b-arc{fill:none;stroke:#7c3aed;stroke-width:2.4}
.arch-lab svg .g94b-der{fill:none;stroke:#334155;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .g94b-flag{fill:#dc2626;stroke:none}
.arch-lab svg .g94b-dot{fill:#0f172a}
.arch-lab svg .g94b-grip{fill:#f97316;fill-opacity:.25;stroke:#c2410c;stroke-width:2;cursor:grab}
.arch-lab svg .g94b-panel{fill:#ffffff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg text.g94b-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g94b-pt{font-size:17px;font-weight:800;font-style:italic;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g94b-pt-mid{fill:#1d4ed8}
.arch-lab svg text.g94b-pt-a{fill:#c2410c}
.arch-lab svg text.g94b-len{font-size:15px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg text.g94b-len-mn{fill:#c2410c}
.arch-lab svg text.g94b-len-kl{fill:#047857}
.arch-lab svg text.g94b-ang{font-size:14px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#ffffff;stroke-width:4px}
.arch-lab svg text.g94b-ar{font-size:13px;font-weight:800;fill:#1f2937;paint-order:stroke;stroke:#ffffff;stroke-width:3px}
.arch-lab svg text.g94b-pl{font-size:15px;font-weight:800;fill:#1f2937}
.arch-lab .g94b-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;font-size:.95em}
.arch-lab .g94b-fn{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g94b-fd{padding:1px 3px 0}
.arch-lab .g94b-rad{border-top:1.5px solid currentColor;padding-top:1px}

/* Газпром 2025/26, 9 класс, №5 (вариант 1) «Три манометра»: светлая стена пункта в обеих темах. */
.arch-lab .phx-stage.g95a-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g95a-stage .phx-svg{max-height:none}
.arch-lab svg .g95a-wall{fill:#eef2f7}
.arch-lab svg .g95a-floor{fill:#cbd5e1}
.arch-lab svg .g95a-shadow{fill:#0f172a;fill-opacity:.12}
.arch-lab svg .g95a-pipe{fill:#f59e0b;stroke:#b45309;stroke-width:1.4}
.arch-lab svg .g95a-pipe-hi{fill:#fde68a;opacity:.7}
.arch-lab svg .g95a-stem{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .g95a-wheel{fill:none;stroke:#b91c1c;stroke-width:4}
.arch-lab svg .g95a-spoke{stroke:#b91c1c;stroke-width:2.4}
.arch-lab svg .g95a-tag{fill:#ffffff;stroke:#64748b;stroke-width:1.2}
.arch-lab svg .g95a-rim{fill:#94a3b8;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g95a-face{fill:#ffffff;stroke:#334155;stroke-width:1.2}
.arch-lab svg .g95a-tk{stroke:#334155;stroke-width:1.6}
.arch-lab svg .g95a-target-w{fill:#16a34a;stroke:none}
.arch-lab svg .g95a-target{stroke:#16a34a;stroke-width:4}
.arch-lab svg .g95a-needle{stroke:#dc2626;stroke-width:3;stroke-linecap:round}
.arch-lab svg .g95a-needle-ok{stroke:#15803d}
.arch-lab svg .g95a-hub{fill:#1f2937}
.arch-lab svg .g95a-win{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .g95a-win-ok{fill:#dcfce7;stroke:#15803d}
.arch-lab svg .g95a-plate{fill:#1e293b}
.arch-lab svg .g95a-lamp{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab svg .g95a-lamp-on{fill:#22c55e;stroke:#166534;stroke-width:1}
.arch-lab svg text.g95a-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g95a-tagt{font-size:15px;font-weight:800}
.arch-lab svg text.g95a-eq{font-size:14px;font-weight:700;fill:#f8fafc;font-style:italic}
.arch-lab svg text.g95a-wv{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab svg text.g95a-tv{font-size:12px;font-weight:800;fill:#15803d}
.arch-lab svg text.g95a-cap{font-size:14px;font-weight:700}
.arch-lab svg text.g95a-ok{fill:#15803d}
.arch-lab .g95a-log-h{margin:10px 0 2px;font-weight:700}
.arch-lab .g95a-log{margin:0 0 8px}

/* Газпром 2025/26, 9 класс, №5 (вариант 2) «Две трассы на карте»: светлая карта в обеих темах. */
.arch-lab .phx-stage.g95b-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g95b-stage .phx-svg{max-height:none;touch-action:none}
.arch-lab svg .g95b-paper{fill:#f8fafc}
.arch-lab svg .g95b-map{fill:#fbf8ee;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g95b-grid{stroke:#d9d2bb;stroke-width:1}
.arch-lab svg .g95b-grid2{stroke:#ece6d3;stroke-width:1}
.arch-lab svg .g95b-axis{stroke:#475569;stroke-width:1.6}
.arch-lab svg .g95b-c1{fill:none;stroke:#c2410c;stroke-width:5;stroke-linejoin:round;stroke-opacity:.85}
.arch-lab svg .g95b-c2{fill:none;stroke:#047857;stroke-width:5;stroke-linejoin:round;stroke-opacity:.85}
.arch-lab svg .g95b-real{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:6 5}
.arch-lab svg .g95b-hole{fill:#ffffff;stroke:#b91c1c;stroke-width:2.6}
.arch-lab svg .g95b-sol{fill:#facc15;stroke:#1f2937;stroke-width:2}
.arch-lab svg .g95b-grip{fill:#1d4ed8;fill-opacity:.12;stroke:#1d4ed8;stroke-width:1.4;stroke-dasharray:3 3;cursor:grab}
.arch-lab svg .g95b-pole{stroke:#1f2937;stroke-width:2}
.arch-lab svg .g95b-flag{fill:#dc2626}
.arch-lab svg .g95b-flag-ok{fill:#16a34a}
.arch-lab svg .g95b-foot{fill:#1f2937}
.arch-lab svg .g95b-panel{fill:#ffffff;stroke:#94a3b8;stroke-width:1}
.arch-lab svg text.g95b-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g95b-tick{font-size:13px;fill:#475569}
.arch-lab svg text.g95b-axl{font-size:16px;font-weight:800;font-style:italic}
.arch-lab svg text.g95b-ttl{font-size:14px;font-weight:800;fill:#334155}
.arch-lab svg text.g95b-pv{font-size:14px;font-weight:700}
.arch-lab svg text.g95b-ok{fill:#15803d}
.arch-lab svg text.g95b-bad{fill:#b91c1c}
.arch-lab svg text.g95b-soll{font-size:15px;font-weight:800;paint-order:stroke;stroke:#ffffff;stroke-width:4px}
.arch-lab .g95b-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;font-size:.92em;line-height:1.15}
.arch-lab .g95b-fn{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g95b-fd{padding:1px 3px 0}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 5в «Две плоскости»: light squared sheets in both themes. */
.arch-lab .phx-stage.g95c-stage .phx-svg{max-height:none;cursor:crosshair}
.arch-lab .phx-svg .g95c-paper{fill:#fffef8;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .g95c-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .g95c-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.g95c-ax-t{font-size:15px;font-weight:700;fill:#1f2937}
.arch-lab .phx-svg text.g95c-tick{font-size:12px;fill:#64748b}
.arch-lab .phx-svg text.g95c-sheet-t{font-size:14px;font-weight:800;fill:#1e3a8a}
.arch-lab svg .g95c-c1{fill:none;stroke:#1d4ed8;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .g95c-c2{fill:none;stroke:#ea580c;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .g95c-par{fill:none;stroke:#047857;stroke-width:2;stroke-dasharray:6 4}
.arch-lab svg .g95c-real{fill:#bbf7d0;fill-opacity:.45;stroke:none}
.arch-lab svg .g95c-bad{fill:#e2e8f0;fill-opacity:.8;stroke:none}
.arch-lab .phx-svg text.g95c-lab1,.arch-lab .phx-svg text.g95c-lab2,.arch-lab .phx-svg text.g95c-lab3,.arch-lab .phx-svg text.g95c-meet-t{font-size:13.5px;font-weight:800;paint-order:stroke;stroke:#fffef8;stroke-width:4px;stroke-linejoin:round}
.arch-lab .phx-svg text.g95c-lab1{fill:#1d4ed8}
.arch-lab .phx-svg text.g95c-lab2{fill:#c2410c}
.arch-lab .phx-svg text.g95c-lab3{fill:#047857}
.arch-lab .phx-svg .g95c-bar3{stroke:#047857;stroke-width:1.3}
.arch-lab svg .g95c-pt{fill:#6d28d9;stroke:#ffffff;stroke-width:2}
.arch-lab svg .g95c-pt-ok{fill:#047857}
.arch-lab .phx-svg text.g95c-pt-t{font-size:13.5px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#fffef8;stroke-width:4px}
.arch-lab svg .g95c-sol{fill:none;stroke:#047857;stroke-width:2.6}
.arch-lab svg .g95c-meet{fill:#ffffff;stroke:#111827;stroke-width:2.2}
.arch-lab svg .g95c-meet-no{stroke:#b91c1c;stroke-dasharray:3 2}
.arch-lab .phx-svg text.g95c-meet-t{fill:#111827}
.arch-lab .phx-svg text.g95c-meet-tno{fill:#b91c1c}
.arch-lab .phx-svg text.g95c-out{font-size:13px;font-weight:700;fill:#64748b}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g95c-stage{max-height:none}
.arch-lab .phx-stage.g95c-stage .phx-svg{max-height:none}

/* Газпром 2025/26, 9 класс, №6 (вариант 1) «200 контрактов»: светлая карта регионов в обеих темах. */
.arch-lab .phx-stage.g96a-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g96a-stage .phx-svg{max-height:none}
.arch-lab svg .g96a-land{fill:#f5f3ea}
.arch-lab svg .g96a-reg{stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .g96a-reg-N{fill:#e0f2fe}
.arch-lab svg .g96a-reg-C{fill:#ecfccb}
.arch-lab svg .g96a-reg-S{fill:#fef3c7}
.arch-lab svg .g96a-pipe-l{fill:none;stroke:#94a3b8;stroke-width:7;stroke-linecap:round}
.arch-lab svg .g96a-pipe{fill:#94a3b8}
.arch-lab svg .g96a-station{fill:#cbd5e1;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96a-roof{fill:#64748b;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96a-tank{fill:#f8fafc;stroke:#334155;stroke-width:1.2}
.arch-lab svg .g96a-fir{fill:#15803d;stroke:#14532d;stroke-width:1}
.arch-lab svg .g96a-flake{fill:none;stroke:#0284c7;stroke-width:1.8}
.arch-lab svg .g96a-hill{fill:#bef264;stroke:#4d7c0f;stroke-width:1.4}
.arch-lab svg .g96a-tree{fill:#22c55e;stroke:#166534;stroke-width:1}
.arch-lab svg .g96a-trunk{stroke:#7c4a25;stroke-width:2}
.arch-lab svg .g96a-sun{fill:#facc15;stroke:#ca8a04;stroke-width:1}
.arch-lab svg .g96a-ray{stroke:#ca8a04;stroke-width:2;stroke-linecap:round}
.arch-lab svg .g96a-doc{fill:#ffffff;stroke:#475569;stroke-width:.9}
.arch-lab svg .g96a-late{fill:#ef4444;stroke:#7f1d1d}
.arch-lab svg .g96a-dim{opacity:.18}
.arch-lab svg .g96a-docl{stroke:#94a3b8;stroke-width:.8}
.arch-lab svg .g96a-tag{fill:#ffffff;fill-opacity:.92;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .g96a-bN{fill:#0284c7}
.arch-lab svg .g96a-bC{fill:#65a30d}
.arch-lab svg .g96a-bS{fill:#d97706}
.arch-lab svg .g96a-bframe{fill:none;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96a-bempty{stroke-dasharray:5 4;stroke:#94a3b8}
.arch-lab svg text.g96a-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g96a-rn{font-size:15px;font-weight:800}
.arch-lab svg text.g96a-cnt{font-size:13.5px;font-weight:700}
.arch-lab svg text.g96a-small{font-size:13.5px;font-weight:700;fill:#334155}
.arch-lab svg text.g96a-bt{font-size:14px;font-weight:800;fill:#ffffff}
.arch-lab svg text.g96a-share{font-size:15px;font-weight:800;fill:#0c4a6e}
.arch-lab .g96a-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;font-size:.92em;line-height:1.15}
.arch-lab .g96a-fn{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g96a-fd{padding:1px 3px 0}

/* Газпром 2025/26, 9 класс, №6 (вариант 2) «Резервный компрессор»: светлая сцена в обеих темах. */
.arch-lab .phx-stage.g96b-stage{max-height:none;--arch-fig-line:#334155}
.arch-lab .phx-stage.g96b-stage .phx-svg{max-height:none}
.arch-lab svg .g96b-sky{fill:#eef6fd}
.arch-lab svg .g96b-ground{fill:#d6c29a}
.arch-lab svg .g96b-shadow{fill:#0f172a;fill-opacity:.12}
.arch-lab svg .g96b-gas{fill:#f59e0b;stroke:#b45309;stroke-width:1}
.arch-lab svg .g96b-nogas{fill:#cbd5e1;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .g96b-unit{fill:#e2e8f0;stroke:#334155;stroke-width:1.6}
.arch-lab svg .g96b-broken{fill:#fee2e2;stroke:#b91c1c}
.arch-lab svg .g96b-fan{fill:#ffffff;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96b-blade{stroke:#334155;stroke-width:2}
.arch-lab svg .g96b-x{fill:none;stroke:#dc2626;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .g96b-der{fill:none;stroke:#334155;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .g96b-house{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab svg text.g96b-t{stroke:none;fill:#1f2937}
.arch-lab svg text.g96b-name{font-size:18px;font-weight:800;font-style:italic}
.arch-lab svg text.g96b-prob{font-size:14px;font-weight:800;fill:#1d4ed8}
.arch-lab svg text.g96b-small{font-size:13px;font-weight:700;fill:#334155}
.arch-lab svg text.g96b-board{font-size:15px;font-weight:800}
.arch-lab svg text.g96b-cnt{font-size:14px;font-weight:700}
.arch-lab svg text.g96b-ok{fill:#15803d}
.arch-lab svg text.g96b-bad{fill:#b91c1c}
.arch-lab .g96b-fr{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;margin:0 2px;font-size:.92em;line-height:1.15}
.arch-lab .g96b-fn{padding:0 3px 1px;border-bottom:1.5px solid currentColor}
.arch-lab .g96b-fd{padding:1px 3px 0}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 6в «Тройки чисел с доски»: light stage in both themes. */
.arch-lab .phx-stage.g96c-stage .phx-svg{max-height:none}
.arch-lab .g96c-nums{gap:6px}
.arch-lab .g96c-num{min-width:48px;min-height:48px;font-size:20px;font-weight:700;padding:0}
.arch-lab .g96c-num[aria-pressed=true]{background:var(--arch-pressed-bg);border-color:var(--arch-pressed-line);box-shadow:inset 0 0 0 2px var(--arch-pressed-line)}
.arch-lab .phx-svg .g96c-room{fill:#f5f3ee}
.arch-lab svg .g96c-frame{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .g96c-board{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g96c-mag{fill:#f1f5f9;stroke:#64748b;stroke-width:1.5}
.arch-lab svg .g96c-mag-on{fill:#fde68a;stroke:#b45309;stroke-width:3}
.arch-lab .phx-svg text.g96c-mag-t{font-size:20px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg text.g96c-mag-ton{fill:#92400e}
.arch-lab svg .g96c-paper{fill:#fffef8;stroke:#d6dde8;stroke-width:1}
.arch-lab .phx-svg text.g96c-hint{font-size:15px;fill:#64748b}
.arch-lab svg .g96c-side{stroke:#1f2937;stroke-width:3;stroke-linecap:round}
.arch-lab svg .g96c-side-c{stroke:#1e3a8a;stroke-width:4}
.arch-lab svg .g96c-arc{fill:none;stroke:#64748b;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .g96c-tri{stroke:none}
.arch-lab svg .g96c-tri-obtuse{fill:#fee2e2}
.arch-lab svg .g96c-tri-right{fill:#fef3c7}
.arch-lab svg .g96c-tri-acute{fill:#dcfce7}
.arch-lab svg .g96c-ang-obtuse{fill:#ef4444;fill-opacity:.75;stroke:#b91c1c;stroke-width:1.5}
.arch-lab svg .g96c-ang-acute{fill:#22c55e;fill-opacity:.7;stroke:#15803d;stroke-width:1.5}
.arch-lab svg .g96c-ang-r{fill:none;stroke:#b45309;stroke-width:2.2}
.arch-lab .phx-svg text.g96c-len{font-size:16px;font-weight:800;fill:#1f2937;paint-order:stroke;stroke:#fffef8;stroke-width:4px}
.arch-lab .phx-svg text.g96c-len-c{fill:#1e3a8a}
.arch-lab .phx-svg text.g96c-verdict{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.g96c-v-obtuse{fill:#b91c1c}
.arch-lab .phx-svg text.g96c-v-right{fill:#b45309}
.arch-lab .phx-svg text.g96c-v-acute{fill:#15803d}
.arch-lab .phx-svg text.g96c-v-none{fill:#475569}
.arch-lab .phx-svg text.g96c-tab-h{font-size:14px;font-weight:800;fill:#1e3a8a}
.arch-lab .phx-svg text.g96c-tab-h2{font-size:14px;font-weight:700;fill:#b91c1c}
.arch-lab .phx-svg text.g96c-row-t{font-size:13px;font-weight:700;fill:#334155}
.arch-lab svg .g96c-k-empty{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .g96c-k-none{fill:#cbd5e1;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .g96c-k-acute{fill:#86efac;stroke:#15803d;stroke-width:1}
.arch-lab svg .g96c-k-right{fill:#fcd34d;stroke:#b45309;stroke-width:1}
.arch-lab svg .g96c-k-obtuse{fill:#f87171;stroke:#b91c1c;stroke-width:1}
.arch-lab svg .g96c-cur{stroke:#1e3a8a;stroke-width:2.6}
.arch-lab .phx-svg .g96c-ink .p25-o,.arch-lab .phx-svg .g96c-ink .p25-o-thin{stroke:#1f2937}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g96c-stage{max-height:none}
.arch-lab .phx-stage.g96c-stage .phx-svg{max-height:none}

/* Popov Academy — «Газпром» 2025/26, 9 класс, 6г «Инспектор на газопроводе»: light stage in both themes. */
.arch-lab .phx-stage.g96d-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .g96d-sky{fill:#f2f7fb}
.arch-lab .phx-svg .g96d-ground{fill:#e3e8d5}
.arch-lab svg .g96d-pipe{fill:#cbd5e1;stroke:#475569;stroke-width:1.6}
.arch-lab .phx-svg .g96d-pipe-hi{stroke:#ffffff;stroke-width:2.5;opacity:.7}
.arch-lab svg .g96d-flange{fill:#94a3b8;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96d-chosen{fill:#fef3c7;stroke:#d97706;stroke-width:1.8;stroke-dasharray:5 3}
.arch-lab svg .g96d-good{fill:#e2e8f0;stroke:#334155;stroke-width:1.4}
.arch-lab svg .g96d-bad{fill:#c2410c;stroke:#7c2d12;stroke-width:1.4}
.arch-lab svg .g96d-unk{fill:#ffffff;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:2 2}
.arch-lab .phx-svg .g96d-crack{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .g96d-ring{fill:none;stroke:#1d4ed8;stroke-width:2.6}
.arch-lab .phx-svg text.g96d-fnum{font-size:13px;font-weight:700;fill:#475569}
.arch-lab .phx-svg .g96d-helmet{fill:#f59e0b;stroke:#92400e;stroke-width:1.2}
.arch-lab .phx-svg text.g96d-v-yes{font-size:14px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg text.g96d-v-no{font-size:14px;font-weight:800;fill:#047857}
.arch-lab .phx-svg text.g96d-v-skip{font-size:14px;font-weight:700;fill:#64748b}
.arch-lab .phx-svg .g96d-paper{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .g96d-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .g96d-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.g96d-tick{font-size:12.5px;fill:#475569}
.arch-lab .phx-svg text.g96d-axis-t{font-size:13px;font-weight:700;fill:#334155}
.arch-lab svg .g96d-freq{fill:none;stroke:#b91c1c;stroke-width:2.2;stroke-linejoin:round}
.arch-lab .phx-svg .g96d-freq-pt{fill:#b91c1c;stroke:#fff;stroke-width:1.5}
.arch-lab svg .g96d-exact{stroke:#047857;stroke-width:2;stroke-dasharray:6 4}
.arch-lab .phx-svg text.g96d-exact-t{font-size:13px;font-weight:800;fill:#047857}
.arch-lab .phx-svg .g96d-ink .p25-o,.arch-lab .phx-svg .g96d-ink .p25-o-thin{stroke:#1f2937}

/* GAZPROM-MATH-R04: the phone layout of this drawing is taller than the 40vh cap — the box takes its real height (the drawing used to
   spill over the status and the controls below and take their taps) */
.arch-lab .phx-stage.g96d-stage{max-height:none}
.arch-lab .phx-stage.g96d-stage .phx-svg{max-height:none}
