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

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

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

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

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

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

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

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

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

/* ЛФ26-P2-R05: a real fraction and a root in a text of a model (visuals/mtext.mjs: {{a|b}}, √{{x}}) */
.arch-lab .mt-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;font-size:.82em;line-height:1.1;margin:0 .14em;font-variant-numeric:tabular-nums;white-space:nowrap}
.arch-lab .mt-frac .mt-num{padding:0 .22em .04em;border-bottom:1.5px solid currentColor}
.arch-lab .mt-frac .mt-den{padding:.04em .22em 0}
.arch-lab .mt-root{white-space:nowrap}
.arch-lab .mt-root .mt-rad{border-top:1.5px solid currentColor;padding:0 .1em 0 .06em;margin-left:-.03em}

/* Popov Academy — «Ломоносов» 2025/26, математика: shared classes of the labs of this package (visuals/vs.mjs).
   The stage keeps a light paper in both themes, so the colours below have no dark variants. */
.arch-lab svg.vs-key{flex:0 0 auto;height:22px}
.arch-lab svg .vs-frac{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .vs-halo{paint-order:stroke;stroke:#fff;stroke-width:3.5px;stroke-linejoin:round}
.arch-lab svg .vs-warn{font-size:15px;fill:#b91c1c}
.arch-lab svg .vs-num{font-variant-numeric:tabular-nums}

/* Popov Academy — content-factory/lomonosov-2025-26-math-v1
   3D scenes (ETALON §3 п. 5, owner 19.11.2026): a click or a touch on the model never changes its colour or background —
   no tap highlight, no text selection over the canvas (a double click or a drag that starts outside used to tint it blue),
   no callout on a long touch. The focus ring stays for the keyboard only (:focus-visible). Rotation is OrbitControls:
   the model follows the pointer, the tilt is limited in every scene (min/maxPolarAngle). */
.arch-lab [class$="-3d"],.arch-lab [class$="-3d"] canvas{-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.arch-lab [class$="-3d"]:focus:not(:focus-visible){outline:none}
.arch-lab [class$="-3d"][data-pointer]:focus,.arch-lab [class$="-3d"][data-pointer]:focus-visible{outline:none}
.arch-lab [class$="-3d"] canvas{outline:none;cursor:grab}
.arch-lab [class$="-3d"] canvas:active{cursor:grabbing}
.arch-lab [class$="-3d"] ::selection,.arch-lab [class$="-3d"]::selection{background:transparent}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 10 класс, №1 «Призма и число 2026». Light paper in both themes. */
.arch-lab .lmb-scene{position:relative;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#f4f8fc;max-width:640px;margin-inline:auto;width:100%}
.arch-lab .lmb-3d{width:100%;aspect-ratio:1/0.8;outline-offset:2px}
.arch-lab .lmb-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab .lmb-labels{position:absolute;inset:0;pointer-events:none}
.arch-lab .lmb-tag{position:absolute;transform:translate(-50%,-50%);font-size:15px;font-weight:800;font-style:italic;color:#111827;background:rgba(255,255,255,.88);border-radius:6px;padding:0 5px;white-space:nowrap}
.arch-lab .phx-stage.lmb-stage,.arch-lab .phx-stage.lmb-stage .phx-svg{max-height:none}
.arch-lab svg .lmb-kV{fill:#f59e0b;stroke:#92400e;stroke-width:1.2}
.arch-lab svg .lmb-kS{fill:#60a5fa;stroke:#1d4ed8;stroke-width:1.2}
.arch-lab svg .lmb-kL{fill:#4ade80;stroke:#15803d;stroke-width:1.2}
.arch-lab svg .lmb-k8{fill:#f87171;stroke:#b91c1c;stroke-width:1.2}
.arch-lab .phx-svg text.lmb-row{font-size:13px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.lmb-val{font-size:15px;font-weight:800;fill:#111827;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmb-sumline{font-size:15px;font-weight:800;fill:#0f3d2e;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 10 класс, №2 «Вырезать прямоугольник». Light paper in both themes. */
.arch-lab .phx-stage.lmk-stage,.arch-lab .phx-stage.lmk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmk-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .lmk-cell{fill:#bfdbfe;stroke:#60a5fa;stroke-width:1}
.arch-lab svg .lmk-cell.lmk-two{fill:#fde68a;stroke:#f59e0b}
.arch-lab svg .lmk-cut{fill:#fff;stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmk-cut.lmk-bad{fill:#fecaca;stroke:#fca5a5}
.arch-lab svg .lmk-frame{fill:none;stroke:#1e3a8a;stroke-width:3}
.arch-lab svg .lmk-scissors{fill:none;stroke:#111827;stroke-width:2.5;stroke-dasharray:7 5;pointer-events:none}
.arch-lab svg .lmk-anchor{fill:#dc2626;stroke:#fff;stroke-width:2;pointer-events:none}
.arch-lab svg .lmk-hit{cursor:pointer}
.arch-lab svg .lmk-hit:focus-visible{outline:3px solid #2563eb;outline-offset:-2px}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, №4 «Показательное неравенство» (10 класс). Light paper in both themes. */
.arch-lab .phx-stage.lme-stage,.arch-lab .phx-stage.lme-stage .phx-svg{max-height:none}
.arch-lab svg .lme-bg{fill:#fff;stroke:none}
.arch-lab svg .lme-pane{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lme-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lme-axis{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lme-curve{fill:none;stroke:#2563eb;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lme-sol{stroke:#16a34a;stroke-width:7;stroke-linecap:round}
.arch-lab svg .lme-end{fill:#fff;stroke:#166534;stroke-width:3}
.arch-lab svg .lme-region{fill:#bbf7d0;stroke:none;opacity:.85}
.arch-lab svg .lme-edge{stroke:#166534;stroke-width:2}
.arch-lab svg .lme-level{stroke:#dc2626;stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab .phx-svg text.lme-num{font-size:12px;fill:#475569;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lme-lv{fill:#b91c1c;font-weight:800}
.arch-lab .phx-svg text.lme-it{font-size:15px;font-style:italic;fill:#1f2937}
.arch-lab .phx-svg text.lme-cap{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.lme-endt{font-size:13px;font-weight:800;fill:#14532d;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lme-lt{font-size:13px;font-weight:700;font-style:italic;fill:#14532d;paint-order:stroke;stroke:#f8fafc;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lme-one{stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:5 4}
.arch-lab svg polyline.lme-edge{fill:none}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 10 класс, №5 «Произведение трёх тангенсов». Light paper in both themes. */
.arch-lab .phx-stage.lmt-stage,.arch-lab .phx-stage.lmt-stage .phx-svg{max-height:none}
.arch-lab svg .lmt-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmt-cx{fill:#fca5a5;stroke:#b91c1c;stroke-width:1.5}
.arch-lab svg .lmt-cy{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab svg .lmt-cz{fill:#86efac;stroke:#15803d;stroke-width:1.5}
.arch-lab svg .lmt-axis{stroke:#1f2937;stroke-width:2.5;stroke-linecap:round}
.arch-lab svg .lmt-box{fill:#fde68a;stroke:#92400e;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lmt-box-top{fill:#fef3c7}
.arch-lab svg .lmt-box-side{fill:#fcd34d}
.arch-lab .phx-svg text.lmt-ang{font-size:14px;font-weight:800;fill:#111827;font-style:italic}
.arch-lab .phx-svg text.lmt-side{font-size:13px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmt-tx{fill:#b91c1c}.arch-lab .phx-svg text.lmt-ty{fill:#1d4ed8}.arch-lab .phx-svg text.lmt-tz{fill:#15803d}
.arch-lab .phx-svg text.lmt-vol{font-size:16px;font-weight:800;fill:#78350f;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmt-cap{font-size:13px;fill:#334155;font-weight:700}
.arch-lab .phx-svg text.lmt-one{fill:#0f3d2e;font-size:15px}
.arch-lab svg .lmt-pair{stroke:#fff;stroke-width:1}
.arch-lab svg .lmt-pair-0{fill:#c4b5fd}.arch-lab svg .lmt-pair-1{fill:#5eead4}.arch-lab svg .lmt-pair-2{fill:#fdba74}
.arch-lab svg .lmt-pairframe{fill:none;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg text.lmt-pairt{font-size:13px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 10 класс, №6 «Точка внутри треугольника». Light paper in both themes. */
.arch-lab .phx-stage.lmi-stage,.arch-lab .phx-stage.lmi-stage .phx-svg{max-height:none}
.arch-lab svg .lmi-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmi-tri{fill:#fef9c3;stroke:none}
.arch-lab svg .lmi-edge{fill:none;stroke:#1f2937;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmi-ray{stroke:#475569;stroke-width:2}
.arch-lab svg .lmi-s1{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.2;opacity:.85}
.arch-lab svg .lmi-s1b{fill:#bfdbfe}
.arch-lab svg .lmi-s2{fill:#f9a8d4;stroke:#be185d;stroke-width:1.2;opacity:.85}
.arch-lab svg .lmi-o{fill:#dc2626;stroke:#fff;stroke-width:2}
.arch-lab svg .lmi-p{fill:#16a34a;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmi-axis{stroke:#16a34a;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .lmi-aux{stroke:#16a34a;stroke-width:1.6;stroke-dasharray:3 4}
.arch-lab .phx-svg text.lmi-name{font-size:16px;font-weight:800;font-style:italic;fill:#111827}
.arch-lab .phx-svg text.lmi-glabel{font-size:13px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.lmi-gnum{font-size:12px;fill:#166534;font-weight:700}
.arch-lab svg .lmi-gtrack{stroke:#94a3b8;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lmi-gwant{stroke:#16a34a;stroke-width:3}
.arch-lab svg .lmi-gknob{fill:#fff;stroke:#b91c1c;stroke-width:3}
.arch-lab svg .lmi-gknob.lmi-gok{fill:#bbf7d0;stroke:#15803d}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 10 класс, №7 «Газонокосилка». A light lawn in both themes. */
.arch-lab .phx-stage.lmm-stage,.arch-lab .phx-stage.lmm-stage .phx-svg{max-height:none}
.arch-lab svg .lmm-lawn{fill:#86c96a;stroke:none}
.arch-lab svg .lmm-stripe{fill:#7cc060;stroke:none}
.arch-lab svg .lmm-road{fill:none;stroke:#d6c7a1;stroke-width:13;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lmm-track{fill:none;stroke:#1f2937;stroke-width:2;stroke-linejoin:round;stroke-dasharray:8 6}
.arch-lab svg .lmm-grass{fill:none;stroke:#fef08a;stroke-width:5;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lmm-grass.lmm-ghost{stroke-width:2;opacity:.75;stroke-dasharray:3 5}
.arch-lab svg .lmm-throw{stroke:#7c2d12;stroke-width:2;stroke-dasharray:4 4}
.arch-lab svg .lmm-tuft{fill:#facc15;stroke:#854d0e;stroke-width:1.5}
.arch-lab svg .lmm-mower{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.5}
.arch-lab svg .lmm-mower-front{fill:#fecaca;stroke:none}
.arch-lab svg .lmm-wheel{fill:#111827;stroke:none}
.arch-lab svg .lmm-centre{fill:#1f2937;stroke:#fff;stroke-width:1}
.arch-lab svg .lmm-dim{stroke:#1f2937;stroke-width:1.2;stroke-dasharray:2 3}
.arch-lab .phx-svg text.lmm-size{font-size:13px;font-weight:800;fill:#111827;stroke:#eaf7e2;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmm-hsize{fill:#7c2d12}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №1 «Корень, тангенс и синус». Light paper in both themes. */
.arch-lab .phx-stage.lmg-stage,.arch-lab .phx-stage.lmg-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmg-stage .phx-svg{touch-action:none}
.arch-lab svg .lmg-bg{fill:#fff;stroke:none}
.arch-lab svg .lmg-circle{fill:none;stroke:#1f2937;stroke-width:2.5}
.arch-lab svg .lmg-axis{stroke:#64748b;stroke-width:1.4}
.arch-lab svg .lmg-bad{fill:#fecaca;stroke:none;opacity:.6}
.arch-lab svg .lmg-radius{stroke:#1f2937;stroke-width:2}
.arch-lab svg .lmg-pt{fill:#f59e0b;stroke:#7c2d12;stroke-width:2.5}
.arch-lab svg .lmg-pt.lmg-eq{fill:#22c55e;stroke:#14532d;stroke-width:3.5}
.arch-lab svg .lmg-touch{fill:transparent;stroke:none}
.arch-lab svg .lmg-handle{cursor:grab}
.arch-lab svg .lmg-handle:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arch-lab svg .lmg-left{fill:none;stroke:#7c3aed;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lmg-right{fill:none;stroke:#0891b2;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmg-lbar{fill:#c4b5fd;stroke:#6d28d9;stroke-width:1.5}
.arch-lab svg .lmg-rbar{fill:#67e8f9;stroke:#0e7490;stroke-width:1.5}
.arch-lab svg .lmg-pane{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmg-now{stroke:#dc2626;stroke-width:1.8;stroke-dasharray:5 4}
.arch-lab .phx-svg text.lmg-cap{font-size:13px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.lmg-none{font-size:13px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg text.lmg-num{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.lmg-angt{font-size:15px;font-weight:800;fill:#111827}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №2 «Число, сумма цифр и девятка». Light paper in both themes. */
.arch-lab .phx-stage.lmd-stage,.arch-lab .phx-stage.lmd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmd-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .lmd-bg{fill:#fff;stroke:none}
.arch-lab svg .lmd-card{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab .phx-svg text.lmd-big{font-size:24px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmd-sub{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmd-sub.lmd-ok{fill:#166534;font-weight:800}
.arch-lab .phx-svg text.lmd-num{font-size:12px;fill:#475569}
.arch-lab svg .lmd-c{cursor:pointer;stroke:#e2e8f0;stroke-width:.6}
.arch-lab svg .lmd-empty{fill:#f8fafc}
.arch-lab svg .lmd-plain{fill:#93c5fd}
.arch-lab svg .lmd-in{fill:#facc15;stroke:#854d0e;stroke-width:1.6}
.arch-lab svg .lmd-cur{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.6}
.arch-lab svg .lmd-ring{stroke:#111827;stroke-width:2}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №3 «Треугольники в пространственной решётке». */
.arch-lab .lml-scene{position:relative;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#f4f8fc;max-width:680px;margin-inline:auto;width:100%}
.arch-lab .lml-3d{width:100%;aspect-ratio:1/0.86;outline-offset:2px}
.arch-lab .lml-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab svg .lml-kx{stroke:#dc2626;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lml-ky{stroke:#16a34a;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lml-kz{stroke:#2563eb;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lml-ktri{fill:#fde047;stroke:#92400e;stroke-width:1.5}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №4 «Синусоиды режут полоску». Light paper in both themes. */
.arch-lab .phx-stage.lm7-stage,.arch-lab .phx-stage.lm7-stage .phx-svg{max-height:none}
.arch-lab svg .lm7-strip{fill:#fff;stroke:none}
.arch-lab svg .lm7-border{fill:none;stroke:#1f2937;stroke-width:2}
.arch-lab svg .lm7-mid{stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 4}
.arch-lab svg .lm7-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab svg .lm7-num{font-size:13px;fill:#334155;font-variant-numeric:tabular-nums}
.arch-lab svg .lm7-it{font-style:italic;font-size:15px}
.arch-lab svg .lm7-ln{fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lm7-ln-a{stroke:#dc2626}.arch-lab svg .lm7-ln-b{stroke:#2563eb}.arch-lab svg .lm7-ln-c{stroke:#047857}
.arch-lab svg .lm7-ln-new{stroke-width:2.6}
.arch-lab svg .lm7-dot{fill:#fde047;stroke:#854d0e;stroke-width:1.3}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №5 «Многоугольник из парабол». Light paper in both themes. */
.arch-lab .phx-stage.lmq-stage,.arch-lab .phx-stage.lmq-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmq-stage{max-width:560px;margin-inline:auto;width:100%}
.arch-lab svg .lmq-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmq-out{fill:none;stroke:#cbd5e1;stroke-width:1.4;stroke-dasharray:5 5}
.arch-lab svg .lmq-chord{fill:none;stroke:#94a3b8;stroke-width:1.6;stroke-dasharray:6 4}
.arch-lab svg .lmq-fill{fill:#fde68a;fill-opacity:.75;stroke:none}
.arch-lab svg .lmq-fill.lmq-bad{fill:#fecaca}
.arch-lab svg .lmq-arc{fill:none;stroke:#b45309;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lmq-in{fill:#bfdbfe;fill-opacity:.8;stroke:#1d4ed8;stroke-width:2.5}
.arch-lab svg .lmq-tan{stroke:#dc2626;stroke-width:1.8}
.arch-lab svg .lmq-vx{fill:#1f2937;stroke:#fff;stroke-width:1.2}
.arch-lab svg .lmq-rline{stroke:#1d4ed8;stroke-width:2.5}
.arch-lab svg .lmq-sline{stroke:#16a34a;stroke-width:3.5}
.arch-lab .phx-svg text.lmq-cap{font-size:13px;font-weight:700;fill:#1f2937}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №6 «Светлячок и забор». A night scene in both themes. */
.arch-lab .lmf-scene{position:relative;border:1px solid #334155;border-radius:14px;overflow:hidden;background:#0f172a;max-width:720px;margin-inline:auto;width:100%}
.arch-lab .lmf-3d{width:100%;aspect-ratio:1/0.8;outline-offset:2px}
.arch-lab .lmf-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab .lmf-labels{position:absolute;inset:0;pointer-events:none}
.arch-lab .lmf-tag{position:absolute;transform:translate(-50%,-100%);font-size:16px;font-weight:800;font-style:italic;color:#111827;background:#fde047;border-radius:6px;padding:0 6px}
.arch-lab svg .lmf-know{fill:#1f2937;stroke:none}
.arch-lab svg .lmf-kwas{fill:#7f8ea3;stroke:none}
.arch-lab svg .lmf-kray{stroke:#ca8a04;stroke-width:2.5}
.arch-lab svg .lmf-kpath{stroke:#ca8a04;stroke-width:2.5;stroke-dasharray:5 4}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №7 «Тетрадь в параболу». Light paper in both themes. */
.arch-lab .phx-stage.lmn-stage,.arch-lab .phx-stage.lmn-stage .phx-svg{max-height:none}
.arch-lab svg .lmn-paper{fill:#fffdf5;stroke:none}
.arch-lab svg .lmn-up{fill:none;stroke:#60a5fa;stroke-width:1.3}
.arch-lab svg .lmn-down{fill:none;stroke:#f472b6;stroke-width:1.3}
.arch-lab svg .lmn-pencil{fill:none;stroke:#57534e;stroke-width:1;opacity:.55}
.arch-lab svg .lmn-sel{fill:#fde047;fill-opacity:.8;stroke:#92400e;stroke-width:2.5;stroke-linejoin:round}
.arch-lab svg .lmn-diag{stroke:#92400e;stroke-width:1.6;stroke-dasharray:4 3}
.arch-lab svg .lmn-vx{fill:#1f2937;stroke:#fff;stroke-width:1.2}
.arch-lab svg .lmn-axis{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:6 5}
.arch-lab .phx-svg text.lmn-cap{font-size:12px;fill:#475569}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 11 класс, №8 «Логарифмы: полуинтервал и точка». Light paper in both themes. */
.arch-lab .phx-stage.lmo-stage,.arch-lab .phx-stage.lmo-stage .phx-svg{max-height:none}
.arch-lab svg .lmo-bg{fill:#fff;stroke:none}
.arch-lab svg .lmo-pane{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmo-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmo-one{stroke:#f59e0b;stroke-width:1.6;stroke-dasharray:5 4}
.arch-lab svg .lmo-axis{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lmo-curve{fill:none;stroke:#2563eb;stroke-width:2.8;stroke-linejoin:round}
.arch-lab svg .lmo-help{fill:none;stroke:#7c3aed;stroke-width:2.8;stroke-linejoin:round}
.arch-lab svg .lmo-level{stroke:#dc2626;stroke-width:2;stroke-dasharray:6 4}
.arch-lab svg .lmo-min{stroke:#64748b;stroke-width:1.2;stroke-dasharray:2 4}
.arch-lab svg .lmo-sol{stroke:#16a34a;stroke-width:7;stroke-linecap:butt}
.arch-lab svg .lmo-closed{fill:#16a34a;stroke:#14532d;stroke-width:2}
.arch-lab svg .lmo-open{fill:#fff;stroke:#14532d;stroke-width:2.5}
.arch-lab svg .lmo-point{fill:#facc15;stroke:#854d0e;stroke-width:3}
.arch-lab .phx-svg text.lmo-num{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.lmo-it{font-size:15px;font-style:italic;fill:#1f2937}
.arch-lab .phx-svg text.lmo-cap{font-size:13px;fill:#475569}
.arch-lab .phx-svg text.lmo-capb{font-weight:800;fill:#5b21b6;font-style:italic}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №1 «Три хорды через одну точку». Light paper in both themes. */
.arch-lab .phx-stage.lmh-stage,.arch-lab .phx-stage.lmh-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmh-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab .phx-stage.lmh-stage .phx-svg{touch-action:pan-y}
.arch-lab svg .lmh-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmh-disk{fill:#eef6ff;stroke:#1f2937;stroke-width:2.5}
.arch-lab svg .lmh-rail{stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:4 6}
.arch-lab svg .lmh-op{stroke:#475569;stroke-width:2.5}
.arch-lab svg .lmh-pa{stroke:#2563eb;stroke-width:5;stroke-linecap:round}
.arch-lab svg .lmh-pb{stroke:#ea580c;stroke-width:5;stroke-linecap:round}
.arch-lab svg .lmh-pin{stroke:#16a34a;stroke-width:3.5;stroke-linecap:round;stroke-dasharray:10 5}
.arch-lab svg .lmh-tick{stroke:#111827;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lmh-right{fill:none;stroke:#111827;stroke-width:2}
.arch-lab svg .lmh-pt{fill:#1f2937;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmh-pt.lmh-drag{fill:#f59e0b;stroke:#7c2d12;stroke-width:2.5}
.arch-lab svg .lmh-touch{fill:transparent;stroke:none}
.arch-lab svg .lmh-handle{cursor:grab}
.arch-lab svg .lmh-handle:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arch-lab .phx-svg text.lmh-name{font-size:16px;font-weight:800;font-style:italic;fill:#111827;paint-order:stroke;stroke:#fbfdff;stroke-width:4px;stroke-linejoin:round}
.arch-lab .phx-svg text.lmh-len{font-size:15px;font-weight:800;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmh-la{fill:#1d4ed8}
.arch-lab .phx-svg text.lmh-lb{fill:#c2410c}
.arch-lab svg .lmh-plot{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lmh-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg text.lmh-axis{font-size:13px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmh-cap{font-weight:700;fill:#1f2937}
.arch-lab svg .lmh-ca{fill:none;stroke:#2563eb;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .lmh-cb{fill:none;stroke:#ea580c;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .lmh-da{fill:#2563eb;stroke:#fff;stroke-width:1.2}
.arch-lab svg .lmh-db{fill:#ea580c;stroke:#fff;stroke-width:1.2}
.arch-lab svg .lmh-now{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №2 «Квадрат начинается с самого числа». Light paper in both themes. */
.arch-lab .phx-stage.lmp-stage,.arch-lab .phx-stage.lmp-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmp-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .lmp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmp-card{stroke-width:1.6}
.arch-lab svg .lmp-num{fill:#e0e7ff;stroke:#4338ca}
.arch-lab svg .lmp-same{fill:#bbf7d0;stroke:#15803d}
.arch-lab svg .lmp-diff{fill:#fecaca;stroke:#b91c1c}
.arch-lab svg .lmp-tail{fill:#f1f5f9;stroke:#94a3b8}
.arch-lab svg .lmp-frame{fill:none;stroke:#111827;stroke-width:2.4;stroke-dasharray:7 5}
.arch-lab .phx-svg text.lmp-digit{font-size:26px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmp-row{font-size:15px;font-weight:700;font-style:italic;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.lmp-small{font-size:13px;fill:#475569;stroke:none}
.arch-lab svg .lmp-plot{fill:none;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lmp-zone7{fill:#eff6ff;stroke:none}
.arch-lab svg .lmp-zone8{fill:#fff7ed;stroke:none}
.arch-lab svg .lmp-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmp-zero{stroke:#16a34a;stroke-width:2.6}
.arch-lab svg .lmp-curve{fill:none;stroke:#7c3aed;stroke-width:2.8;stroke-linejoin:round}
.arch-lab svg .lmp-now{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .lmp-dot{fill:#7c3aed;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmp-dot.lmp-hit{fill:#16a34a;stroke:#14532d;stroke-width:2.5}
.arch-lab .phx-svg text.lmp-axis{font-size:13px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmp-cap{font-weight:700;fill:#1f2937}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №3 «ТУК × ТУК = ФАРТУК». Light paper in both themes. */
.arch-lab .phx-stage.lmt-stage,.arch-lab .phx-stage.lmt-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmt-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .lmt-bg{fill:#fff;stroke:none}
.arch-lab svg .lmt-card{stroke-width:1.6}
.arch-lab svg .lmt-num{fill:#e0e7ff;stroke:#4338ca}
.arch-lab svg .lmt-head{fill:#f1f5f9;stroke:#94a3b8}
.arch-lab svg .lmt-same{fill:#bbf7d0;stroke:#15803d}
.arch-lab svg .lmt-diff{fill:#fecaca;stroke:#b91c1c}
.arch-lab svg .lmt-card.lmt-empty{fill:#f8fafc;stroke:#cbd5e1;stroke-dasharray:4 4}
.arch-lab svg .lmt-card.lmt-clash{stroke:#b91c1c;stroke-width:4}
.arch-lab .phx-svg text.lmt-digit{font-size:25px;font-weight:800;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmt-letter{font-size:15px;font-weight:800;fill:#4338ca;stroke:none}
.arch-lab .phx-svg text.lmt-letter.lmt-none{fill:#94a3b8}
.arch-lab .phx-svg text.lmt-row{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.lmt-small{font-size:13px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmt-numl{font-size:12px;fill:#475569}
.arch-lab svg .lmt-c{cursor:pointer;stroke:#e2e8f0;stroke-width:.6}
.arch-lab svg .lmt-c.lmt-empty{fill:#f8fafc}
.arch-lab svg .lmt-d1{fill:#dbeafe}
.arch-lab svg .lmt-d2{fill:#60a5fa}
.arch-lab svg .lmt-d3{fill:#1d4ed8;stroke:#1e3a8a;stroke-width:1.4}
.arch-lab svg .lmt-in{fill:#facc15;stroke:#854d0e;stroke-width:1.8}
.arch-lab svg .lmt-cur{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.6}
.arch-lab svg .lmt-ring{stroke:#111827;stroke-width:2}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №4 «Медиана перпендикулярна биссектрисе». Light paper in both themes. */
.arch-lab .phx-stage.lmm-stage,.arch-lab .phx-stage.lmm-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmm-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .lmm-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmm-tri{fill:#fef3c7;stroke:#1f2937;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .lmm-med{stroke:#2563eb;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .lmm-bis{stroke:#ea580c;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .lmm-tick{stroke:#111827;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .lmm-right{fill:none;stroke:#15803d;stroke-width:2.6}
.arch-lab svg .lmm-arc{fill:none;stroke:#7c3aed;stroke-width:2.4}
.arch-lab svg .lmm-pt{fill:#1f2937;stroke:#fff;stroke-width:1.4}
.arch-lab .phx-svg text.lmm-name{font-size:16px;font-weight:800;font-style:italic;fill:#111827;paint-order:stroke;stroke:#fbfdff;stroke-width:4px;stroke-linejoin:round}
.arch-lab .phx-svg text.lmm-len{font-size:15px;font-weight:700;fill:#374151;paint-order:stroke;stroke:#fbfdff;stroke-width:4px;stroke-linejoin:round;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmm-ang{font-size:15px;font-weight:800;fill:#6d28d9;paint-order:stroke;stroke:#fff;stroke-width:5px;stroke-linejoin:round;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmm-ang.lmm-hit{fill:#15803d}
.arch-lab .phx-svg text.lmm-none{font-size:15px;font-weight:700;fill:#991b1b;stroke:none}
.arch-lab svg .lmm-plot{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lmm-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmm-ninety{stroke:#16a34a;stroke-width:2.6}
.arch-lab svg .lmm-curve{fill:none;stroke:#7c3aed;stroke-width:2.8;stroke-linejoin:round}
.arch-lab svg .lmm-now{stroke:#111827;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .lmm-dot{fill:#7c3aed;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmm-dot.lmm-hit{fill:#16a34a;stroke:#14532d;stroke-width:2.5}
.arch-lab .phx-svg text.lmm-axis{font-size:13px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmm-cap{font-weight:700;fill:#1f2937}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №5 «Агриппина и два светофора». Light paper in both themes. */
.arch-lab .phx-stage.lml-stage,.arch-lab .phx-stage.lml-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lml-stage{max-width:620px;margin-inline:auto;width:100%}
.arch-lab svg .lml-bg{fill:#fff;stroke:none}
.arch-lab svg .lml-sky{fill:#e0f2fe;stroke:none}
.arch-lab svg .lml-ground{fill:#bbf7d0;stroke:none}
.arch-lab svg .lml-pave{fill:#e5e7eb;stroke:none}
.arch-lab svg .lml-road{fill:#64748b;stroke:none}
.arch-lab svg .lml-zebra{fill:#fff;stroke:none}
.arch-lab svg .lml-car{fill:#f59e0b;stroke:#78350f;stroke-width:1.4}
.arch-lab svg .lml-glass{fill:#bae6fd;stroke:none}
.arch-lab svg .lml-pole{stroke:#334155;stroke-width:3}
.arch-lab svg .lml-box{fill:#1f2937;stroke:#0f172a;stroke-width:1.2}
.arch-lab svg .lml-lamp{stroke:none}
.arch-lab svg .lml-off{fill:#475569}
.arch-lab svg .lml-red{fill:#ef4444}
.arch-lab svg .lml-green{fill:#22c55e}
.arch-lab .phx-svg text.lml-count{font-size:16px;font-weight:800;stroke:#fff;stroke-width:4px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lml-cg{fill:#15803d}
.arch-lab .phx-svg text.lml-cr{fill:#b91c1c}
.arch-lab .phx-svg text.lml-tag{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab svg .lml-dim{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.lml-dimt{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab svg .lml-deck{stroke:#be185d;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .lml-stem{stroke:#334155;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .lml-wheel{fill:#111827;stroke:#e5e7eb;stroke-width:1.2}
.arch-lab svg .lml-cross{fill:none;stroke:#b91c1c;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lml-plot{fill:#fff;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lml-band{fill:#dcfce7;stroke:none}
.arch-lab svg .lml-redbox{fill:#f87171;stroke:#b91c1c;stroke-width:1}
.arch-lab svg .lml-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lml-ride{stroke:#1d4ed8;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lml-ride.lml-plan{stroke:#64748b;stroke-width:1.8;stroke-dasharray:5 5}
.arch-lab svg .lml-dot{fill:#1d4ed8;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.lml-axis{font-size:13px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lml-cap{font-weight:700;fill:#1f2937}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 7–8 классы, №7 «Четыре строки с растущими суммами». Light paper in both themes. */
.arch-lab .phx-stage.lmb-stage,.arch-lab .phx-stage.lmb-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmb-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .lmb-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmb-tilebox,.arch-lab svg .lmb-cellbox,.arch-lab svg .lmb-swap{cursor:pointer}
.arch-lab svg .lmb-tilebox:focus-visible,.arch-lab svg .lmb-cellbox:focus-visible,.arch-lab svg .lmb-swap:focus-visible{outline:3px solid #2563eb;outline-offset:1px}
.arch-lab svg .lmb-tile{fill:#fde68a;stroke:#b45309;stroke-width:1.8}
.arch-lab svg .lmb-tile.lmb-sel{fill:#f97316;stroke:#7c2d12;stroke-width:3}
.arch-lab svg .lmb-tile.lmb-used{fill:#f1f5f9;stroke:#cbd5e1;stroke-dasharray:4 4}
.arch-lab .phx-svg text.lmb-tnum{font-size:20px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.lmb-tnum.lmb-tused{fill:#94a3b8}
.arch-lab svg .lmb-cell{fill:#fff;stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lmb-cell.lmb-filled{fill:#fef3c7}
.arch-lab svg .lmb-cell.lmb-target{fill:#fff7ed;stroke:#f97316;stroke-dasharray:5 4}
.arch-lab svg .lmb-frame{fill:none;stroke:#1f2937;stroke-width:3}
.arch-lab .phx-svg text.lmb-big{font-size:28px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.lmb-sum{font-size:15px;font-weight:700;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmb-ok{font-size:15px;font-weight:800;fill:#15803d;stroke:none}
.arch-lab .phx-svg text.lmb-bad{font-size:17px;font-weight:800;fill:#b91c1c;stroke:none}
.arch-lab svg .lmb-swapbox{fill:#e0e7ff;stroke:#4338ca;stroke-width:1.6}
.arch-lab .phx-svg text.lmb-swapt{font-size:19px;font-weight:800;fill:#3730a3;stroke:none}
.arch-lab .phx-svg text.lmb-cap{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab svg .lmb-mini{fill:#fff;stroke:#475569;stroke-width:1.2}
.arch-lab .phx-svg text.lmb-mnum{font-size:14px;font-weight:700;fill:#111827;stroke:none}
.arch-lab .phx-svg text.lmb-mcount{font-size:14px;font-weight:800;fill:#15803d;stroke:none}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 9 класс, №3 «Треугольники на решётке». Light paper in both themes. */
.arch-lab .phx-stage.lm9-stage,.arch-lab .phx-stage.lm9-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lm9-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .lm9-board{fill:#e9d3ac;stroke:#8a5a2e;stroke-width:3}
.arch-lab svg .lm9-row{stroke:#bfdbfe;stroke-width:14;stroke-linecap:round;opacity:.9}
.arch-lab svg .lm9-col{stroke:#fbcfe8;stroke-width:14;stroke-linecap:round;opacity:.9}
.arch-lab svg .lm9-tri{fill:#fde047;fill-opacity:.55;stroke:#b45309;stroke-width:3.5;stroke-linejoin:round}
.arch-lab svg .lm9-mark{fill:none;stroke:#7c2d12;stroke-width:2}
.arch-lab svg .lm9-peg{fill:#8d6e3f;stroke:#4f2d12;stroke-width:1.5}
.arch-lab svg .lm9-peg.lm9-h{fill:#3b82f6;stroke:#1e3a8a}
.arch-lab svg .lm9-peg.lm9-v{fill:#ec4899;stroke:#831843}
.arch-lab svg .lm9-peg.lm9-right{fill:#dc2626;stroke:#7f1d1d;stroke-width:2.5}
.arch-lab svg .lm9-peg.lm9-end{stroke:#111827;stroke-width:3}
.arch-lab svg .lm9-touch{fill:transparent;stroke:none}
.arch-lab svg .lm9-hit{cursor:pointer}
.arch-lab svg .lm9-hit:focus-visible{outline:3px solid #2563eb;outline-offset:1px}
.arch-lab .phx-svg text.lm9-num{font-size:12px;fill:#4a2f14;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 9 класс, №6 «Отрезок длиной 2026». Light paper in both themes. */
.arch-lab .phx-stage.lmp-stage,.arch-lab .phx-stage.lmp-stage .phx-svg{max-height:none}
.arch-lab svg .lmp-bg{fill:#fff;stroke:none}
.arch-lab svg .lmp-pane{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmp-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmp-axis{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lmp-curve{fill:none;stroke:#2563eb;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmp-sol{stroke:#16a34a;stroke-width:7;stroke-linecap:round}
.arch-lab svg .lmp-end{fill:#fff;stroke:#166534;stroke-width:3}
.arch-lab svg .lmp-region{fill:#bbf7d0;stroke:none;opacity:.85}
.arch-lab svg .lmp-edge{stroke:#166534;stroke-width:2}
.arch-lab svg .lmp-level{stroke:#dc2626;stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab .phx-svg text.lmp-num{font-size:12px;fill:#475569;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmp-lv{fill:#b91c1c;font-weight:800;font-size:13px;stroke:#fbfdff;stroke-width:4px;paint-order:stroke}
.arch-lab .phx-svg text.lmp-it{font-size:15px;font-style:italic;fill:#1f2937}
.arch-lab .phx-svg text.lmp-cap{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.lmp-endt{font-size:13px;font-weight:800;fill:#14532d;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmp-lt{font-size:13px;font-weight:700;font-style:italic;fill:#14532d}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 9 класс, №7 «Три точки на одной прямой». Light paper in both themes. */
.arch-lab .phx-stage.lmc-stage,.arch-lab .phx-stage.lmc-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmc-stage .phx-svg{touch-action:none}
.arch-lab svg .lmc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmc-circle{fill:none;stroke:#1f2937;stroke-width:2.5}
.arch-lab svg .lmc-tri{fill:#fde68a;fill-opacity:.5;stroke:#b45309;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmc-target{stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:9 6}
.arch-lab svg .lmc-target.lmc-hit{stroke:#16a34a;stroke-width:4;stroke-dasharray:none}
.arch-lab svg .lmc-axis{stroke:#b45309;stroke-width:1.3;stroke-dasharray:3 5;opacity:.8}
.arch-lab svg .lmc-diam{stroke:#64748b;stroke-width:1.6;stroke-dasharray:6 5}
.arch-lab svg .lmc-mir{stroke:#0891b2;stroke-width:2;stroke-dasharray:2 5;stroke-linecap:round}
.arch-lab svg .lmc-ray{stroke:#dc2626;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lmc-thin{stroke:#64748b;stroke-width:1.4}
.arch-lab svg .lmc-pt{fill:#1f2937;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmc-pt.lmc-a2{fill:#dc2626}
.arch-lab svg .lmc-pt.lmc-drag{fill:#f59e0b;stroke:#7c2d12;stroke-width:2.5}
.arch-lab svg .lmc-touch{fill:transparent;stroke:none}
.arch-lab svg .lmc-handle{cursor:grab}
.arch-lab svg .lmc-handle:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arch-lab .phx-svg text.lmc-name{font-size:16px;font-weight:800;font-style:italic;fill:#111827}

/* Popov Academy — «Ломоносов» 2025/26, заключительный этап, 9 класс, №8 «Робот Казимир». Light paper in both themes. */
.arch-lab .phx-stage.lmr-stage,.arch-lab .phx-stage.lmr-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmr-stage{max-width:520px;margin-inline:auto;width:100%}
.arch-lab svg .lmr-paper{fill:#fffdf5;stroke:none}
.arch-lab svg .lmr-grid{stroke:#bcd3ea;stroke-width:1}
.arch-lab svg .lmr-ink{fill:#111827;stroke:#000;stroke-width:1}
.arch-lab svg .lmr-can{fill:#fde68a;stroke:#d97706;stroke-width:1.5}
.arch-lab svg .lmr-good{fill:#86efac;stroke:#15803d;stroke-width:2}
.arch-lab svg .lmr-hit{cursor:pointer}
.arch-lab svg .lmr-hit:focus-visible{outline:3px solid #2563eb;outline-offset:1px}
.arch-lab .phx-svg text.lmr-ord{font-size:13px;font-weight:800;fill:#fff;stroke:none}
.arch-lab .lmr-prod{margin:0;font-size:15px;color:var(--arch-ink);font-variant-numeric:tabular-nums;border:1px solid var(--arch-soft-line);border-radius:12px;padding:10px 12px;background:var(--arch-surface)}

/* Popov Academy — content-factory/lomonosov-2025-26-math-v1
   The conclusion under a drawing of the solution is the figure caption: formulas there are set by KaTeX (real fractions and
   roots), not typed as text inside the SVG (owner, 19.11.2026). The caption is the big line under the drawing.
   The figure card keeps its light paper in both themes, so the caption colour is fixed, not a theme token. */
.academy-lesson.phystech-research[data-problem-id^="lomonosov-2025-2026-mathematics"] .cf-figure figcaption{font-size:1.12rem;line-height:1.55;font-weight:600;color:#16233a;white-space:pre-line}
.academy-lesson.phystech-research[data-problem-id^="lomonosov-2025-2026-mathematics"] .cf-figure figcaption .katex{font-size:1.12em;font-weight:400}
.academy-lesson.phystech-research[data-problem-id^="lomonosov-2025-2026-mathematics"] .cf-figure figcaption button[data-cf-zoom]{display:block;margin:12px auto 0;font-weight:400;font-size:.92rem}
@media (min-width:760px){.academy-lesson.phystech-research[data-problem-id^="lomonosov-2025-2026-mathematics"] .cf-figure figcaption{font-size:1.28rem}}
/* the statement figure keeps its small service caption */
.academy-lesson.phystech-research[data-problem-id^="lomonosov-2025-2026-mathematics"] .problem-panel .cf-figure figcaption{font-size:.86rem;font-weight:400;color:#53647a}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 10, №1 «Два бруска и подвижный блок». A light room in both themes. */
.arch-lab .phx-stage.lpb-stage,.arch-lab .phx-stage.lpb-stage .phx-svg{max-height:none}
.arch-lab svg .lpb-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpb-floor{fill:#d6b98c;stroke:none}
.arch-lab svg .lpb-floor-top{stroke:#7c5a2c;stroke-width:2}
.arch-lab svg .lpb-grain{stroke:#b08d5b;stroke-width:1.5;stroke-linecap:round}
.arch-lab svg .lpb-small{fill:#f59e0b;stroke:#78350f;stroke-width:1.5}
.arch-lab svg .lpb-big{fill:#64748b;stroke:#1e293b;stroke-width:1.5}
.arch-lab svg .lpb-pulley{fill:#e2e8f0;stroke:#334155;stroke-width:2}
.arch-lab svg .lpb-axle{fill:#334155;stroke:none}
.arch-lab svg .lpb-thread{fill:none;stroke:#0f172a;stroke-width:2.2}
.arch-lab svg .lpb-pull .phx-arrow-shaft{stroke:#dc2626;stroke-width:3}
.arch-lab svg .lpb-pull .phx-arrow-head{fill:#dc2626;stroke:none}
.arch-lab svg .lpb-hand .phx-arrow-shaft{stroke:#b91c1c;stroke-width:3}
.arch-lab svg .lpb-hand .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab svg .lpb-fric .phx-arrow-shaft{stroke:#2563eb;stroke-width:3}
.arch-lab svg .lpb-fric .phx-arrow-head{fill:#2563eb;stroke:none}
.arch-lab svg .lpb-gap0{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab svg .lpb-gap{fill:#fdba74;stroke:#c2410c;stroke-width:1}
.arch-lab svg .lpb-goal{fill:none;stroke:#15803d;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg text.lpb-on{font-size:15px;font-weight:700;font-style:italic;fill:#fff;stroke:none}
.arch-lab .phx-svg text.lpb-lab{font-size:14px;font-weight:600;fill:#7f1d1d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpb-head{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lpb-small-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 10, №2 «Шарик и пуля». A light sky in both themes. */
.arch-lab .phx-stage.lpb-stage,.arch-lab .phx-stage.lpb-stage .phx-svg{max-height:none}
.arch-lab svg .lpb-sky{fill:#e8f3fb;stroke:none}
.arch-lab svg .lpb-ground{fill:#cfe3b8;stroke:none}
.arch-lab svg .lpb-groundline{stroke:#4d7c0f;stroke-width:2.5}
.arch-lab svg .lpb-tickline{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .lpb-pole{stroke:#7f1d1d;stroke-width:2.5}
.arch-lab svg .lpb-flag{fill:#dc2626;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .lpb-dim{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .lpb-dimtick{stroke:#1f2937;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg .lpb-fall{stroke:#64748b;stroke-width:2;stroke-dasharray:5 5}
.arch-lab svg .lpb-ghostpath{fill:none;stroke:#94a3b8;stroke-width:2;stroke-dasharray:5 6}
.arch-lab svg .lpb-path{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lpb-bullet-path{stroke:#b91c1c;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .lpb-bullet{fill:#b45309;stroke:#451a03;stroke-width:1.2}
.arch-lab svg .lpb-vert{stroke:#1f2937;stroke-width:1.2;stroke-dasharray:2 4}
.arch-lab svg .lpb-angle{fill:none;stroke:#1f2937;stroke-width:1.5}
.arch-lab svg .lpb-ball{fill:#475569;stroke:#0f172a;stroke-width:1.5}
.arch-lab svg .lpb-inball{fill:#f59e0b;stroke:none}
.arch-lab svg .lpb-ghost{fill:none;stroke:#64748b;stroke-width:1.5;stroke-dasharray:3 3}
.arch-lab svg .lpb-par{stroke:#64748b;stroke-width:1.3;stroke-dasharray:3 4}
.arch-lab svg .lpb-pball .phx-arrow-shaft,.arch-lab svg line.lpb-pball{stroke:#1d4ed8;stroke-width:3.2}
.arch-lab svg .lpb-pball .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lpb-pbul .phx-arrow-shaft,.arch-lab svg line.lpb-pbul{stroke:#b91c1c;stroke-width:3.2}
.arch-lab svg .lpb-pbul .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab svg .lpb-psum .phx-arrow-shaft,.arch-lab svg line.lpb-psum{stroke:#15803d;stroke-width:3.6}
.arch-lab svg .lpb-psum .phx-arrow-head{fill:#15803d;stroke:none}
.arch-lab svg .lpb-vel .phx-arrow-shaft{stroke:#0f172a;stroke-width:2.6}
.arch-lab svg .lpb-vel .phx-arrow-head{fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lpb-size,.arch-lab .phx-svg text.lpb-warn{font-size:14px;font-weight:700;fill:#111827;stroke:#f1f8fd;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpb-sball{fill:#1e40af}
.arch-lab .phx-svg text.lpb-sbul{fill:#991b1b}
.arch-lab .phx-svg text.lpb-ssum{fill:#166534}
.arch-lab .phx-svg text.lpb-tick{font-size:13px;font-weight:600;fill:#1f2937;stroke:#dcebcb;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpb-sflag{fill:#991b1b;stroke:#dcebcb}
.arch-lab .phx-svg text.lpb-tvert{stroke:#e8f3fb;fill:#334155}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 10, №3 «Влажность в комнате и кипящая вода». A light room in both themes. */
.arch-lab .phx-stage.lhm-stage,.arch-lab .phx-stage.lhm-stage .phx-svg{max-height:none}
.arch-lab svg .lhm-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lhm-wall{fill:#fef9ef;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lhm-floor{fill:#d6b98c;stroke:none}
.arch-lab svg .lhm-floor-top{stroke:#7c5a2c;stroke-width:2}
.arch-lab svg .lhm-window{fill:#dbeafe;stroke:#475569;stroke-width:2}
.arch-lab svg .lhm-window.lhm-fog{fill:#e2e8f0}
.arch-lab svg .lhm-frame{stroke:#475569;stroke-width:1.5}
.arch-lab svg .lhm-dot0{fill:#3b82f6;stroke:none;opacity:.75}
.arch-lab svg .lhm-dot1{fill:#f97316;stroke:none;opacity:.85}
.arch-lab svg .lhm-table{fill:#a16207;stroke:none}
.arch-lab svg .lhm-leg{stroke:#a16207;stroke-width:4}
.arch-lab svg .lhm-stove{fill:#e5e7eb;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lhm-coil{fill:none;stroke:#7f1d1d;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .lhm-coil.lhm-hot{stroke:#ef4444;stroke-width:2.8}
.arch-lab svg .lhm-pot{fill:none;stroke:#334155;stroke-width:2.5}
.arch-lab svg .lhm-pot-h{stroke:#334155;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lhm-water{fill:#93c5fd;stroke:none}
.arch-lab svg .lhm-steam{fill:none;stroke:#94a3b8;stroke-width:2.5;stroke-linecap:round;opacity:.8}
.arch-lab svg .lhm-wire{stroke:#0f172a;stroke-width:2}
.arch-lab svg .lhm-source{fill:#1e293b;stroke:#0f172a;stroke-width:1.5}
.arch-lab svg .lhm-hyg{fill:#fff;stroke:#334155;stroke-width:2}
.arch-lab svg .lhm-hyg-arc{fill:none;stroke:#94a3b8;stroke-width:3}
.arch-lab svg .lhm-needle{stroke:#dc2626;stroke-width:2.5;stroke-linecap:round}
.arch-lab svg .lhm-axle{fill:#334155;stroke:none}
.arch-lab svg .lhm-col{fill:#fff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .lhm-bar0{fill:#93c5fd;stroke:#2563eb;stroke-width:1}
.arch-lab svg .lhm-bar1{fill:#fdba74;stroke:#c2410c;stroke-width:1}
.arch-lab svg .lhm-sat{stroke:#15803d;stroke-width:2.5;stroke-dasharray:6 4}
.arch-lab svg .lhm-qcol{fill:#e2e8f0;stroke:none}
.arch-lab svg .lhm-qgot{fill:#ef4444;stroke:none}
.arch-lab svg .lhm-qneed{stroke:#0f172a;stroke-width:3}
.arch-lab .phx-svg text.lhm-onbox{font-size:14px;font-weight:700;fill:#fff;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lhm-onpot{font-size:14px;font-weight:700;fill:#1e3a8a;stroke:none}
.arch-lab .phx-svg text.lhm-lab{font-size:14px;font-weight:600;fill:#7f1d1d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lhm-head{font-size:14px;font-weight:700;fill:#0f172a;stroke:#fef9ef;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lhm-num{font-size:14px;font-weight:700;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lhm-small-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lhm-need-lab{font-size:14px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lhm-warn{font-size:14px;font-weight:700;fill:#b91c1c;stroke:#fef9ef;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lhm-sat-lab{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 10, №4 «Три электролитические ванны». A light lab in both themes. */
.arch-lab .phx-stage.lbt-stage,.arch-lab .phx-stage.lbt-stage .phx-svg{max-height:none}
.arch-lab svg .lbt-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lbt-wire{stroke:#0f172a;stroke-width:2.2;fill:none}
.arch-lab svg .lbt-bat-long{stroke:#0f172a;stroke-width:3}
.arch-lab svg .lbt-bat-short{stroke:#0f172a;stroke-width:6}
.arch-lab svg .lbt-node{fill:#0f172a;stroke:none}
.arch-lab svg .lbt-tank{stroke:#334155;stroke-width:2.5}
.arch-lab svg .lbt-cu{fill:#7dd3fc;stroke:none}
.arch-lab svg .lbt-ag{fill:#e0f2fe;stroke:none}
.arch-lab svg .lbt-al{fill:#ecfccb;stroke:none}
.arch-lab svg .lbt-anode{fill:#94a3b8;stroke:#334155;stroke-width:1}
.arch-lab svg .lbt-cathode{fill:#475569;stroke:#1e293b;stroke-width:1}
.arch-lab svg .lbt-copper{fill:#c2410c;stroke:#7c2d12;stroke-width:1}
.arch-lab svg .lbt-silver{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab svg .lbt-alum{fill:#a3a3a3;stroke:#525252;stroke-width:1}
.arch-lab svg .lbt-badge{fill:#fff;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lbt-cur .phx-arrow-shaft{stroke:#dc2626;stroke-width:3}
.arch-lab svg .lbt-cur .phx-arrow-head{fill:#dc2626;stroke:none}
.arch-lab .phx-svg text.lbt-no{font-size:15px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lbt-sign{font-size:16px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.lbt-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbt-lab2{font-size:14px;font-weight:700;fill:#7c2d12;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbt-goal{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 10, №5 «Пластинка между линзой и экраном». A dark optical bench in both themes. */
.arch-lab .phx-stage.lsl-stage,.arch-lab .phx-stage.lsl-stage .phx-svg{max-height:none}
.arch-lab svg .lsl-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lsl-room{fill:#1e293b;stroke:none}
.arch-lab svg .lsl-zoom{fill:#0f172a;stroke:#475569;stroke-width:1.2}
.arch-lab svg .lsl-axis{stroke:#64748b;stroke-width:1.2;stroke-dasharray:6 5}
.arch-lab svg .lsl-lens{fill:#bae6fd;fill-opacity:.55;stroke:#e0f2fe;stroke-width:1.8}
.arch-lab svg .lsl-lens-tip{fill:none;stroke:#e0f2fe;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lsl-glass{fill:#67e8f9;fill-opacity:.28;stroke:#a5f3fc;stroke-width:1.6}
.arch-lab svg .lsl-focus{fill:#f8fafc;stroke:none}
.arch-lab svg .lsl-ray{fill:none;stroke:#fde047;stroke-width:1.2;stroke-opacity:.55}
.arch-lab svg .lsl-zray{fill:none;stroke:#fde047;stroke-width:1.4;stroke-opacity:.6}
.arch-lab svg .lsl-ray1{fill:none;stroke:#fb923c;stroke-width:2.6}
.arch-lab svg .lsl-ray2{fill:none;stroke:#4ade80;stroke-width:2.6}
.arch-lab svg .lsl-halo{fill:#facc15;fill-opacity:.3;stroke:none}
.arch-lab svg .lsl-src{fill:#facc15;stroke:#fef9c3;stroke-width:1.5}
.arch-lab svg .lsl-old{stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:4 4}
.arch-lab svg .lsl-screen{fill:#e2e8f0;stroke:#475569;stroke-width:1}
.arch-lab svg .lsl-spot{fill:#fef08a;stroke:#facc15;stroke-width:1.5}
.arch-lab svg .lsl-s1{fill:none;stroke:#f8fafc;stroke-width:2;stroke-dasharray:3 3}
.arch-lab svg .lsl-s2{fill:#fef08a;stroke:#facc15;stroke-width:1.5}
.arch-lab svg .lsl-tick{stroke:#cbd5e1;stroke-width:1.4}
.arch-lab .phx-svg text.lsl-lab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lsl-zlab{font-size:14px;font-weight:700;fill:#f8fafc;stroke:#0f172a;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lsl-flab{font-size:14px;font-weight:700;font-style:italic;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lsl-no1{font-size:14px;font-weight:800;fill:#fdba74;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lsl-no2{font-size:14px;font-weight:800;fill:#86efac;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lsl-gtick{font-size:13px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lsl-ghead{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 11, №1 «Брусок и два фотоэлемента». A light board in both themes. */
.arch-lab .phx-stage.lph-stage,.arch-lab .phx-stage.lph-stage .phx-svg{max-height:none}
.arch-lab svg .lph-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lph-wedge{fill:#e2e8f0;stroke:#475569;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lph-ground{stroke:#334155;stroke-width:2.5}
.arch-lab svg .lph-arc{fill:none;stroke:#334155;stroke-width:2}
.arch-lab svg .lph-block{fill:#d6a15f;stroke:#7c4a12;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lph-beam{stroke:#22c55e;stroke-width:3;stroke-dasharray:4 3}
.arch-lab svg .lph-beamx{stroke:#dc2626;stroke-width:4}
.arch-lab svg .lph-emit{fill:#334155;stroke:none}
.arch-lab svg .lph-recv{fill:#0f172a;stroke:none}
.arch-lab svg .lph-vel{stroke:#2563eb;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lph-velh{fill:none;stroke:#2563eb;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lph-axis{stroke:#475569;stroke-width:1.5}
.arch-lab svg .lph-grid{stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 4}
.arch-lab svg .lph-need1{stroke:#c2410c;stroke-width:2.5;stroke-dasharray:8 5}
.arch-lab svg .lph-need2{stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:8 5}
.arch-lab svg .lph-curve{fill:none;stroke:#15803d;stroke-width:3}
.arch-lab svg .lph-max{stroke:#15803d;stroke-width:2;stroke-dasharray:3 4}
.arch-lab svg .lph-p1{fill:#f97316;stroke:#7c2d12;stroke-width:1.5}
.arch-lab svg .lph-p2{fill:#8b5cf6;stroke:#3b0764;stroke-width:1.5}
.arch-lab .phx-svg text.lph-lab{font-size:15px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-small{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-need{font-size:14px;font-weight:600;fill:#475569;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lph-tick{font-size:14px;font-weight:500;fill:#334155;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-t1{font-size:16px;font-weight:800;fill:#c2410c;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-t2{font-size:16px;font-weight:800;fill:#6d28d9;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-maxt{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 11, №2 «Вода со льдом в сухой комнате». A light room in both themes. */
.arch-lab .phx-stage.lic-stage,.arch-lab .phx-stage.lic-stage .phx-svg{max-height:none}
.arch-lab svg .lic-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lic-wall{fill:#f1f5f9;stroke:#cbd5e1;stroke-width:1.5}
.arch-lab svg .lic-floor{fill:#d6b98c;stroke:none}
.arch-lab svg .lic-floor-top{stroke:#7c5a2c;stroke-width:2}
.arch-lab svg .lic-table{fill:#a16207;stroke:none}
.arch-lab svg .lic-leg{stroke:#a16207;stroke-width:4}
.arch-lab svg .lic-water{fill:#93c5fd;stroke:none}
.arch-lab svg .lic-ice{fill:#f8fafc;stroke:#60a5fa;stroke-width:1.5;stroke-linejoin:round}
.arch-lab svg .lic-newice{fill:#cffafe;stroke:#0891b2;stroke-width:1.5;stroke-linejoin:round}
.arch-lab svg .lic-bowl{fill:none;stroke:#334155;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lic-therm{fill:#fff;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lic-therm-red{fill:#dc2626;stroke:none}
.arch-lab svg .lic-therm-bulb{fill:#dc2626;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lic-steam{fill:none;stroke:#94a3b8;stroke-width:2.5;stroke-linecap:round;opacity:.8}
.arch-lab svg .lic-dot{fill:#3b82f6;stroke:none;opacity:.75}
.arch-lab svg .lic-col{fill:#fff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .lic-bar{fill:#93c5fd;stroke:#2563eb;stroke-width:1}
.arch-lab svg .lic-sat{stroke:#15803d;stroke-width:2.5;stroke-dasharray:6 4}
.arch-lab svg .lic-qcol{fill:#e2e8f0;stroke:none}
.arch-lab svg .lic-qgot{fill:#ef4444;stroke:none}
.arch-lab svg .lic-qneed{stroke:#0f172a;stroke-width:3}
.arch-lab .phx-svg text.lic-lab{font-size:14px;font-weight:700;fill:#7f1d1d;stroke:#f1f5f9;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lic-icelab{font-size:14px;font-weight:700;fill:#0e7490;stroke:#f1f5f9;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lic-head{font-size:14px;font-weight:700;fill:#0f172a;stroke:#f1f5f9;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lic-num{font-size:14px;font-weight:700;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lic-small-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lic-sat-lab{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 11, №3 «Поток проводящей жидкости в магнитном поле». A light lab in both themes. */
.arch-lab .phx-stage.lmh-stage,.arch-lab .phx-stage.lmh-stage .phx-svg{max-height:none}
.arch-lab svg .lmh-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lmh-liquid{fill:#bfdbfe;stroke:none}
.arch-lab svg .lmh-cross{fill:none;stroke:#6366f1;stroke-width:2;stroke-linecap:round;opacity:.7}
.arch-lab svg .lmh-plate{fill:#94a3b8;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lmh-plus{fill:#ef4444;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .lmh-minus{fill:#2563eb;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lmh-wire{fill:none;stroke:#1f2937;stroke-width:2.5;stroke-linejoin:round}
.arch-lab svg .lmh-res{fill:#fde68a;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .lmh-rarrow .phx-arrow-shaft{stroke:#475569;stroke-width:2}
.arch-lab .phx-svg .lmh-rarrow .phx-arrow-head{fill:#475569;stroke:none}
.arch-lab .phx-svg .lmh-varrow .phx-arrow-shaft{stroke:#0f172a;stroke-width:3}
.arch-lab .phx-svg .lmh-varrow .phx-arrow-head{fill:#0f172a;stroke:none}
.arch-lab svg .lmh-cur{fill:#f59e0b;stroke:#92400e;stroke-width:1}
.arch-lab svg .lmh-dim{stroke:#c2410c;stroke-width:2}
.arch-lab svg .lmh-axis{stroke:#334155;stroke-width:1.8}
.arch-lab svg .lmh-guide{stroke:#15803d;stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab svg .lmh-curve{fill:none;stroke:#dc2626;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmh-goal{fill:none;stroke:#15803d;stroke-width:3}
.arch-lab svg .lmh-cursor{stroke:#64748b;stroke-width:1.5;stroke-dasharray:3 3}
.arch-lab svg .lmh-dot{fill:#dc2626;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.lmh-head{font-size:14px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmh-lab{font-size:14px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmh-dlab{font-size:17px;font-weight:700;font-style:italic;fill:#c2410c;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmh-rlab{font-size:16px;font-weight:700;font-style:italic;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmh-qplus{font-size:16px;font-weight:700;fill:#b91c1c}
.arch-lab .phx-svg text.lmh-qminus{font-size:16px;font-weight:700;fill:#1d4ed8}
.arch-lab .phx-svg text.lmh-num,.arch-lab .phx-svg text.lmh-tick{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmh-pw{font-size:14px;font-weight:700;fill:#b91c1c;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmh-alab,.arch-lab .phx-svg text.lmh-small-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmh-goal-lab{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 11, №4 «Повёрнутая линза». A dark optical bench in both themes. */
.arch-lab .phx-stage.ltl-stage,.arch-lab .phx-stage.ltl-stage .phx-svg{max-height:none}
.arch-lab svg .ltl-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .ltl-room{fill:#1e293b;stroke:none}
.arch-lab svg .ltl-zoom{fill:#0f172a;stroke:#475569;stroke-width:1.2}
.arch-lab svg .ltl-axis{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:10 4 2 4}
.arch-lab svg .ltl-axis2{stroke:#7dd3fc;stroke-width:1.2;stroke-dasharray:10 4 2 4}
.arch-lab svg .ltl-lens{fill:#bae6fd;fill-opacity:.55;stroke:#e0f2fe;stroke-width:1.8}
.arch-lab svg .ltl-tip{fill:none;stroke:#e0f2fe;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .ltl-focus{fill:#f8fafc;stroke:none}
.arch-lab svg .ltl-ray{fill:none;stroke:#fde047;stroke-width:1.4;stroke-opacity:.75}
.arch-lab svg .ltl-ray0{fill:none;stroke:#fb923c;stroke-width:2.4}
.arch-lab svg .ltl-halo{fill:#facc15;fill-opacity:.3;stroke:none}
.arch-lab svg .ltl-src{fill:#facc15;stroke:#fef9c3;stroke-width:1.5}
.arch-lab svg .ltl-dim{stroke:#cbd5e1;stroke-width:1.4}
.arch-lab .phx-svg text.ltl-lab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ltl-zlab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#0f172a;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltl-flab{font-size:15px;font-weight:700;font-style:italic;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltl-note{font-size:13px;font-weight:600;fill:#cbd5e1;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltl-ghead{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab svg .ltl-axis1{stroke:#fdba74;stroke-width:1.2;stroke-dasharray:6 4}
.arch-lab svg .ltl-was{fill:none;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .ltl-arc{fill:none;stroke:#fdba74;stroke-width:2}
.arch-lab svg .ltl-virt{stroke:#c4b5fd;stroke-width:1.4;stroke-dasharray:6 4}
.arch-lab svg .ltl-zvirt{stroke:#c4b5fd;stroke-width:1;stroke-dasharray:4 3}
.arch-lab svg .ltl-trace{stroke:#fb923c;stroke-width:4;stroke-linecap:round;stroke-opacity:.8}
.arch-lab svg .ltl-ghost{fill:none;stroke:#fde047;stroke-width:2;stroke-dasharray:3 3}
.arch-lab svg .ltl-s1{fill:#c4b5fd;stroke:#f5f3ff;stroke-width:1.5}
.arch-lab svg .ltl-s2{fill:#fb923c;stroke:#fff7ed;stroke-width:1.5}
.arch-lab svg .ltl-mark{stroke:#4ade80;stroke-width:2.6}
.arch-lab svg .ltl-mdim{stroke:#4ade80;stroke-width:1.6}
.arch-lab svg .ltl-adim{stroke:#f472b6;stroke-width:2}
.arch-lab svg .ltl-farrow{fill:none;stroke:#c4b5fd;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg text.ltl-mlab{font-size:14px;font-weight:700;fill:#86efac;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ltl-alab{font-size:14px;font-weight:700;fill:#f9a8d4;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 11, №5 «Пластина в конденсаторе». A light board in both themes. */
.arch-lab .phx-stage.ldp-stage,.arch-lab .phx-stage.ldp-stage .phx-svg{max-height:none}
.arch-lab svg .ldp-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .ldp-plate{fill:#94a3b8;stroke:#334155;stroke-width:1.2}
.arch-lab svg .ldp-slab{fill:#bae6fd;fill-opacity:.85;stroke:#0369a1;stroke-width:1.6}
.arch-lab svg .ldp-ghost{fill:none;stroke:#64748b;stroke-width:1.4;stroke-dasharray:5 4}
.arch-lab svg .ldp-dim{stroke:#334155;stroke-width:1.4}
.arch-lab svg .ldp-force{stroke:#b91c1c;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .ldp-force-head{fill:#b91c1c;stroke:none}
.arch-lab svg .ldp-gbg{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .ldp-axis{stroke:#475569;stroke-width:1.5}
.arch-lab svg .ldp-start{stroke:#64748b;stroke-width:1.2;stroke-dasharray:5 4}
.arch-lab svg .ldp-curve{fill:none;stroke:#0369a1;stroke-width:3}
.arch-lab svg .ldp-now{fill:#0369a1;stroke:#fff;stroke-width:2}
.arch-lab svg .ldp-try{stroke:#15803d;stroke-width:2.6;stroke-dasharray:7 5}
.arch-lab svg .ldp-ans{stroke:#db2777;stroke-width:2;stroke-dasharray:3 4}
.arch-lab svg .ldp-hit{fill:#22c55e;stroke:#14532d;stroke-width:2}
.arch-lab svg .ldp-miss{fill:#fff;stroke:#b91c1c;stroke-width:2.5}
.arch-lab .phx-svg text.ldp-lab{font-size:15px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-small{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-note{font-size:13px;font-weight:600;fill:#475569;stroke:none}
.arch-lab .phx-svg text.ldp-tick{font-size:14px;font-weight:500;fill:#334155;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-slabt{font-size:14px;font-weight:700;fill:#0c4a6e;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-plus{font-size:17px;font-weight:800;fill:#dc2626;stroke:none}
.arch-lab .phx-svg text.ldp-minus{font-size:17px;font-weight:800;fill:#2563eb;stroke:none}
.arch-lab .phx-svg text.ldp-flab{font-size:16px;font-weight:800;font-style:italic;fill:#b91c1c;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ldp-tlab{font-size:14px;font-weight:700;fill:#15803d;stroke:#fff;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-alab{font-size:14px;font-weight:700;fill:#be185d;stroke:#fff;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldp-clock{font-size:15px;font-weight:700;fill:#0f172a;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 7–9, №1 «Заяц и волк». A light snowy field in both themes. */
.arch-lab .phx-stage.lpc-stage,.arch-lab .phx-stage.lpc-stage .phx-svg,.arch-lab .phx-stage.lpc-graph,.arch-lab .phx-stage.lpc-graph .phx-svg{max-height:none}
.arch-lab svg .lpc-field{fill:#cfe8bf;stroke:none}
.arch-lab svg .lpc-tuft{fill:none;stroke:#7fb069;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lpc-track{fill:none;stroke:#7c5a2c;stroke-width:2.5;stroke-dasharray:9 7}
.arch-lab svg .lpc-limit{fill:none;stroke:#2563eb;stroke-width:2;stroke-dasharray:3 5}
.arch-lab svg .lpc-trail{fill:none;stroke:#475569;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lpc-sight{stroke:#dc2626;stroke-width:2;stroke-dasharray:6 5}
.arch-lab svg .lpc-dim{stroke:#1f2937;stroke-width:1.3;stroke-dasharray:2 4}
.arch-lab svg .lpc-centre{fill:#1f2937;stroke:#fff;stroke-width:1}
.arch-lab svg .lpc-hare .lpc-body{fill:#b7791f;stroke:#5b3a0c;stroke-width:1.3}
.arch-lab svg .lpc-hare .lpc-ear{fill:#d6a25a;stroke:#5b3a0c;stroke-width:1}
.arch-lab svg .lpc-hare .lpc-tail{fill:#fff;stroke:#5b3a0c;stroke-width:1}
.arch-lab svg .lpc-wolf .lpc-body{fill:#64748b;stroke:#1e293b;stroke-width:1.3}
.arch-lab svg .lpc-wolf .lpc-ear{fill:#334155;stroke:#1e293b;stroke-width:1}
.arch-lab svg .lpc-wolf .lpc-tail{fill:none;stroke:none}
.arch-lab svg circle.lpc-hare{fill:#b7791f;stroke:#5b3a0c;stroke-width:1.3}
.arch-lab svg circle.lpc-wolf{fill:#64748b;stroke:#1e293b;stroke-width:1.3}
.arch-lab svg .lpc-vhare .phx-arrow-shaft{stroke:#92400e;stroke-width:3}
.arch-lab svg .lpc-vhare .phx-arrow-head{fill:#92400e;stroke:none}
.arch-lab svg .lpc-vwolf .phx-arrow-shaft{stroke:#1e293b;stroke-width:3}
.arch-lab svg .lpc-vwolf .phx-arrow-head{fill:#1e293b;stroke:none}
.arch-lab .phx-svg text.lpc-size{font-size:14px;font-weight:700;fill:#111827;stroke:#eef7e6;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpc-share{fill:#7c2d12}
.arch-lab .phx-svg text.lpc-swolf{fill:#1e293b}
.arch-lab svg .lpc-paper{fill:#fff;stroke:none}
.arch-lab svg .lpc-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lpc-axis{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lpc-curve{fill:none;stroke:#dc2626;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lpc-dot{fill:#dc2626;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lpc-level{stroke:#2563eb;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg text.lpc-tick{font-size:13px;font-weight:500;fill:#1f2937;stroke:#fff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpc-slevel{fill:#1d4ed8;stroke:#fff}
.arch-lab svg .lpc-hare .lpc-body{fill:#c58a3a}
.arch-lab svg .lpc-hare .lpc-ear{fill:#f6e7cf}
.arch-lab svg .lpc-wolf .lpc-body{fill:#6b7686;stroke-linejoin:round}
.arch-lab svg .lpc-wolf .lpc-ear{fill:#cbd5e1}
.arch-lab svg .lpc-hare .lpc-leg{stroke:#5b3a0c;stroke-width:2.4;stroke-linecap:round}
.arch-lab svg .lpc-wolf .lpc-leg{stroke:#1e293b;stroke-width:2.4;stroke-linecap:round}
.arch-lab svg .lpc-hare .lpc-eye{fill:#5b3a0c;stroke:none}
.arch-lab svg .lpc-wolf .lpc-eye{fill:#1e293b;stroke:none}
.arch-lab svg .lpc-wpt{fill:#1e293b;stroke:#fff;stroke-width:1.2}
.arch-lab svg .lpc-hpt{fill:#7c2d12;stroke:#fff;stroke-width:1.2}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 7–9, №2 «Ёлочный шарик между водой и маслом». Light in both themes. */
.arch-lab .phx-stage.lpf-stage,.arch-lab .phx-stage.lpf-stage .phx-svg{max-height:none}
.arch-lab svg .lpf-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpf-water{fill:#bfdbfe;stroke:none}
.arch-lab svg .lpf-oil{fill:#fde68a;stroke:none}
.arch-lab svg .lpf-border{stroke:#b45309;stroke-width:1.6;stroke-dasharray:6 4}
.arch-lab svg .lpf-glass{fill:none;stroke:#475569;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lpf-ball{fill:#fecaca;stroke:none;fill-opacity:.85}
.arch-lab svg .lpf-shell{fill:none;stroke:#991b1b;stroke-width:2}
.arch-lab svg .lpf-sand{fill:#b08d57;stroke:none}
.arch-lab svg .lpf-cap{fill:#ca8a04;stroke:#713f12;stroke-width:1}
.arch-lab svg .lpf-loop{fill:none;stroke:#713f12;stroke-width:1.5}
.arch-lab svg .lpf-mid{stroke:#111827;stroke-width:1.4;stroke-dasharray:3 4}
.arch-lab svg .lpf-kg .phx-arrow-shaft,.arch-lab svg line.lpf-kg{stroke:#111827;stroke-width:3.4}
.arch-lab svg .lpf-kg .phx-arrow-head{fill:#111827;stroke:none}
.arch-lab svg .lpf-kw .phx-arrow-shaft,.arch-lab svg line.lpf-kw{stroke:#1d4ed8;stroke-width:3.4}
.arch-lab svg .lpf-kw .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lpf-ko .phx-arrow-shaft,.arch-lab svg line.lpf-ko{stroke:#b45309;stroke-width:3.4}
.arch-lab svg .lpf-ko .phx-arrow-head{fill:#b45309;stroke:none}
.arch-lab .phx-svg text.lpf-size{font-size:14px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpf-dim{font-weight:500;fill:#334155}
.arch-lab svg .lpf-surface{fill:#fcd34d;stroke:#b45309;stroke-width:1}
.arch-lab svg .lpf-shine{stroke:#fff;stroke-width:4;stroke-linecap:round;opacity:.55}
.arch-lab svg .lpf-gloss{fill:none;stroke:#fff;stroke-width:3.5;stroke-linecap:round;opacity:.8}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 7–9, №3 «Чай для Деда Мороза». Light in both themes. */
.arch-lab .phx-stage.lpt-stage,.arch-lab .phx-stage.lpt-stage .phx-svg{max-height:none}
.arch-lab svg .lpt-bg{fill:#fffaf2;stroke:none}
.arch-lab svg .lpt-china{fill:#fff;stroke:#1e3a8a;stroke-width:2.2;stroke-linejoin:round}
.arch-lab svg .lpt-handle{fill:none;stroke:#1e3a8a;stroke-width:6;stroke-linecap:round}
.arch-lab svg .lpt-liquid{stroke:#7c2d12;stroke-width:1.2}
.arch-lab svg .lpt-cube{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.2}
.arch-lab svg .lpt-tube{fill:#fff;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lpt-merc{fill:#dc2626;stroke:none}
.arch-lab svg .lpt-axis{stroke:#1f2937;stroke-width:2}
.arch-lab svg .lpt-tea{fill:#f59e0b;stroke:#78350f;stroke-width:1}
.arch-lab svg .lpt-pot{fill:#fcd34d;stroke:#78350f;stroke-width:1}
.arch-lab svg .lpt-iw{fill:#e0f2fe;stroke:#075985;stroke-width:1}
.arch-lab svg .lpt-im{fill:#7dd3fc;stroke:#075985;stroke-width:1}
.arch-lab svg .lpt-ww{fill:#38bdf8;stroke:#075985;stroke-width:1}
.arch-lab svg .lpt-cw{fill:#a5b4fc;stroke:#3730a3;stroke-width:1}
.arch-lab .phx-svg text.lpt-size{font-size:14px;font-weight:700;fill:#111827;stroke:#fffaf2;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpt-onbar{stroke:none;fill:#0f172a}
.arch-lab .phx-svg text.lpt-tick{font-size:13px;font-weight:600;fill:#334155;stroke:#fffaf2;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpt-sign{font-size:34px;font-weight:800;fill:#b91c1c;stroke:#fffaf2;stroke-width:4px;paint-order:stroke}
.arch-lab svg .lpt-steam{fill:none;stroke:#94a3b8;stroke-width:2.5;stroke-linecap:round}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 7–9, №4 «Проточный водонагреватель». Light in both themes. */
.arch-lab .phx-stage.lph-stage,.arch-lab .phx-stage.lph-stage .phx-svg{max-height:none}
.arch-lab svg .lph-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lph-cold{fill:#93c5fd;stroke:none}
.arch-lab svg .lph-hot{fill:#f87171;stroke:none}
.arch-lab svg .lph-seg{stroke:none}
.arch-lab svg .lph-pipe{stroke:#334155;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lph-coil{fill:none;stroke:#7c2d12;stroke-width:2.6;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lph-wire{stroke:#111827;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .lph-socket{fill:#fef3c7;stroke:#92400e;stroke-width:1.6}
.arch-lab svg .lph-flow .phx-arrow-shaft{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .lph-flow .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lph-tube{fill:#fff;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lph-merc{fill:#dc2626;stroke:none}
.arch-lab .phx-svg text.lph-size{font-size:14px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lph-onbox{stroke:none}
.arch-lab svg .lph-stream{stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-dasharray:12 22;opacity:.75;animation:lph-flow 1.1s linear infinite}
@keyframes lph-flow{from{stroke-dashoffset:34}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.arch-lab svg .lph-stream{animation:none}}

/* Popov Academy — «Ломоносов» 2025/26, физика, финал 7–9, №5 «Капля с колеса». Light in both themes. */
.arch-lab .phx-stage.lpd-stage,.arch-lab .phx-stage.lpd-stage .phx-svg{max-height:none}
.arch-lab svg .lpd-sky{fill:#eef6fc;stroke:none}
.arch-lab svg .lpd-hill{fill:#d7e8c2;stroke:none}
.arch-lab svg .lpd-road{stroke:#4d7c0f;stroke-width:3}
.arch-lab svg .lpd-tyre{fill:#1f2937;stroke:#0f172a;stroke-width:1.5}
.arch-lab svg .lpd-rim{fill:#e5e7eb;stroke:#6b7280;stroke-width:1.5}
.arch-lab svg .lpd-spoke{stroke:#6b7280;stroke-width:2}
.arch-lab svg .lpd-hub{fill:#374151;stroke:none}
.arch-lab svg .lpd-ghost{opacity:.3}
.arch-lab svg .lpd-par{stroke:#64748b;stroke-width:1.3;stroke-dasharray:3 4}
.arch-lab svg .lpd-kc .phx-arrow-shaft,.arch-lab svg line.lpd-kc{stroke:#1d4ed8;stroke-width:3.2}
.arch-lab svg .lpd-kc .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lpd-ku .phx-arrow-shaft,.arch-lab svg line.lpd-ku{stroke:#c2410c;stroke-width:3.2}
.arch-lab svg .lpd-ku .phx-arrow-head{fill:#c2410c;stroke:none}
.arch-lab svg .lpd-kv .phx-arrow-shaft,.arch-lab svg line.lpd-kv{stroke:#0f172a;stroke-width:3.8}
.arch-lab svg .lpd-kv .phx-arrow-head{fill:#0f172a;stroke:none}
.arch-lab svg .lpd-path{fill:none;stroke:#0284c7;stroke-width:2.6;stroke-dasharray:2 5;stroke-linecap:round}
.arch-lab svg .lpd-drop{fill:#38bdf8;stroke:#075985;stroke-width:1.3}
.arch-lab svg .lpd-level0{stroke:#475569;stroke-width:1.3;stroke-dasharray:6 5}
.arch-lab svg .lpd-level{stroke:#b91c1c;stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab svg .lpd-dim{stroke:#b91c1c;stroke-width:1.6}
.arch-lab .phx-svg text.lpd-size{font-size:14px;font-weight:700;fill:#111827;stroke:#eef6fc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpd-tick{font-size:13px;font-weight:700;fill:#334155;stroke:#eef6fc;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 10, №1 «Стержень, нить и груз». Light stage in both themes. */
.arch-lab .phx-stage.lrd-stage,.arch-lab .phx-stage.lrd-stage .phx-svg{max-height:none}
.arch-lab svg .lrd-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lrd-floor{fill:#e7e5e4;stroke:none}
.arch-lab svg .lrd-floor-top{stroke:#57534e;stroke-width:2.5}
.arch-lab svg .lrd-hatch{stroke:#a8a29e;stroke-width:1.3}
.arch-lab svg .lrd-stand{stroke:#64748b;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lrd-rod{stroke:#1e3a8a;stroke-width:9;stroke-linecap:round}
.arch-lab svg .lrd-thread,.arch-lab svg line.lrd-thread{stroke:#92400e;stroke-width:2.2}
.arch-lab svg .lrd-pulley{fill:#e2e8f0;stroke:#334155;stroke-width:2.5}
.arch-lab svg .lrd-pin{fill:#1f2937;stroke:none}
.arch-lab svg .lrd-load{fill:#475569;stroke:#0f172a;stroke-width:1.5}
.arch-lab svg .lrd-ghost{fill:none;stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab svg .lrd-dim .phx-arrow-shaft{stroke:#475569;stroke-width:1.6}
.arch-lab svg .lrd-dim .phx-arrow-head{fill:#475569;stroke:none}
.arch-lab svg .lrd-hdim{stroke:#475569;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab svg .lrd-vdash{stroke:#1d4ed8;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg .lrd-ext{stroke:#92400e;stroke-width:1.2;stroke-dasharray:4 5}
.arch-lab svg .lrd-armT,.arch-lab svg line.lrd-armT{stroke:#c2410c;stroke-width:3;stroke-dasharray:7 4}
.arch-lab svg .lrd-armM,.arch-lab svg line.lrd-armM{stroke:#1d4ed8;stroke-width:3;stroke-dasharray:7 4}
.arch-lab svg .lrd-ang{fill:none;stroke:#334155;stroke-width:1.6}
.arch-lab svg .lrd-turn{fill:none;stroke:#7c3aed;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lrd-fM .phx-arrow-shaft{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .lrd-fM .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lrd-fT .phx-arrow-shaft{stroke:#c2410c;stroke-width:3}
.arch-lab svg .lrd-fT .phx-arrow-head{fill:#c2410c;stroke:none}
.arch-lab svg .lrd-up{fill:#fdba74;stroke:#9a3412;stroke-width:1}
.arch-lab svg .lrd-down{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lrd-load-bar{fill:#cbd5e1;stroke:#334155;stroke-width:1}
.arch-lab svg .lrd-rod-bar{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lrd-fric-bar{fill:#f97316;stroke:#7c2d12;stroke-width:1}
.arch-lab .phx-svg text.lrd-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lrd-num{font-size:14px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lrd-head{font-size:15px;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg text.lrd-on{font-size:16px;font-weight:700;fill:#fff;stroke:none}
.arch-lab .phx-svg text.lrd-vert{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lrd-size{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lrd-ok{fill:#166534}
.arch-lab .phx-svg text.lrd-bad{fill:#b91c1c}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 10, №2 «Шарик и клин». Light stage in both themes. */
.arch-lab .phx-stage.lwg-stage,.arch-lab .phx-stage.lwg-stage .phx-svg{max-height:none}
.arch-lab svg .lwg-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lwg-floor{fill:#e7e5e4;stroke:none}
.arch-lab svg .lwg-floor-top{stroke:#57534e;stroke-width:2.5}
.arch-lab svg .lwg-hatch{stroke:#a8a29e;stroke-width:1.3}
.arch-lab svg .lwg-wedge{fill:#fcd34d;stroke:#92400e;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lwg-stand{fill:#cbd5e1;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lwg-path,.arch-lab svg line.lwg-path{fill:none;stroke:#2563eb;stroke-width:2.2;stroke-dasharray:6 5}
.arch-lab svg .lwg-level{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:3 5}
.arch-lab svg .lwg-ball{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.5}
.arch-lab svg .lwg-dim .phx-arrow-shaft{stroke:#475569;stroke-width:1.6}
.arch-lab svg .lwg-dim .phx-arrow-head{fill:#475569;stroke:none}
.arch-lab svg .lwg-push .phx-arrow-shaft{stroke:#92400e;stroke-width:3}
.arch-lab svg .lwg-push .phx-arrow-head{fill:#92400e;stroke:none}
.arch-lab svg .lwg-ball-bar{fill:#fca5a5;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .lwg-wedge-bar{fill:#fcd34d;stroke:#92400e;stroke-width:1}
.arch-lab .phx-svg text.lwg-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lwg-head{font-size:15px;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg text.lwg-on{font-size:16px;font-weight:700;fill:#78350f;stroke:none}
.arch-lab .phx-svg text.lwg-size{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke}
.arch-lab .phx-svg text.lwg-ok{fill:#166534}
.arch-lab .phx-svg text.lwg-bad{fill:#b91c1c}
.arch-lab svg .lwg-tick{stroke:#2563eb;stroke-width:2.5}
.arch-lab svg .lwg-ldim{stroke:#1f2937;stroke-width:1.5}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 10, №3 «Гелий: самая высокая температура». Light in both themes. */
.arch-lab .phx-stage.lhe-stage,.arch-lab .phx-stage.lhe-stage .phx-svg{max-height:none}
.arch-lab svg .lhe-bg{fill:#fffaf2;stroke:none}
.arch-lab svg .lhe-wall{fill:#94a3b8;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lhe-inside{fill:#f8fafc;stroke:none}
.arch-lab svg .lhe-gas{fill:#fb923c;stroke:none}
.arch-lab svg .lhe-atom{fill:#7c2d12;stroke:#fff;stroke-width:1}
.arch-lab svg .lhe-piston{fill:#475569;stroke:#0f172a;stroke-width:1.5}
.arch-lab svg .lhe-rod{fill:#64748b;stroke:#0f172a;stroke-width:1}
.arch-lab svg .lhe-push .phx-arrow-shaft{stroke:#0f172a;stroke-width:3}
.arch-lab svg .lhe-push .phx-arrow-head{fill:#0f172a;stroke:none}
.arch-lab svg .lhe-tube{fill:#fff;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lhe-bulb,.arch-lab svg .lhe-mercury{fill:#dc2626;stroke:none}
.arch-lab svg .lhe-tmark{stroke:#475569;stroke-width:2}
.arch-lab svg .lhe-tmark-top{stroke:#b91c1c}
.arch-lab .lhe-stage .phx-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .lhe-stage .phx-axis{stroke:#1f2937;stroke-width:2}
.arch-lab .lhe-stage .phx-tick{font-size:13px;font-weight:600;fill:#334155;stroke:#fffaf2;stroke-width:3px;paint-order:stroke}
.arch-lab .lhe-stage .phx-axis-label{font-size:14px;font-weight:700;fill:#111827}
.arch-lab svg .lhe-proc,.arch-lab svg line.lhe-k-proc{stroke:#1d4ed8;stroke-width:3.4;stroke-linecap:round}
.arch-lab svg .lhe-ext{stroke:#1d4ed8;stroke-width:1.6;stroke-dasharray:5 5}
.arch-lab svg .lhe-iso0,.arch-lab svg line.lhe-k-iso0{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .lhe-iso,.arch-lab svg line.lhe-k-iso{fill:none;stroke:#ea580c;stroke-width:2.6}
.arch-lab svg .lhe-end{fill:#fff;stroke:#1d4ed8;stroke-width:2.4}
.arch-lab svg .lhe-now{fill:#ea580c;stroke:#7c2d12;stroke-width:2}
.arch-lab svg .lhe-top{fill:#fff;stroke:#b91c1c;stroke-width:3}
.arch-lab .phx-svg text.lhe-size{font-size:14px;font-weight:700;fill:#111827;stroke:#fffaf2;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lhe-small{font-weight:600;fill:#334155}
.arch-lab .phx-svg text.lhe-hot-t{fill:#b91c1c}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 10, №4 «Старая батарейка и две лампочки». Light stage in both themes. */
.arch-lab .phx-stage.lbb-stage,.arch-lab .phx-stage.lbb-stage .phx-svg{max-height:none}
.arch-lab svg .lbb-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lbb-panel{fill:#1e293b;stroke:#0f172a;stroke-width:1}
.arch-lab svg .lbb-wire{fill:none;stroke:#cbd5e1;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lbb-node{fill:#cbd5e1;stroke:none}
.arch-lab svg .lbb-batt{fill:#16a34a;stroke:#052e16;stroke-width:1.5}
.arch-lab svg .lbb-batt-old{fill:#a3a3a3;stroke:#262626;stroke-width:1.5}
.arch-lab svg .lbb-cap{fill:#e5e7eb;stroke:#374151;stroke-width:1}
.arch-lab svg .lbb-rint{fill:#fde68a;stroke:#78350f;stroke-width:1.2}
.arch-lab svg .lbb-glow,.arch-lab svg .lbb-glow-key{fill:#facc15;stroke:none}
.arch-lab svg .lbb-glass{fill:#fefce8;stroke:#a16207;stroke-width:1.5}
.arch-lab svg .lbb-fil{fill:none;stroke:#b45309;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .lbb-bar{fill:#facc15;stroke:#a16207;stroke-width:1}
.arch-lab svg .lbb-bar-new{fill:#86efac;stroke:#166534;stroke-width:1}
.arch-lab svg .lbb-mark{stroke:#166534;stroke-width:2;stroke-dasharray:4 3}
.arch-lab .phx-svg text.lbb-title{font-size:14px;font-weight:700;fill:#f8fafc;stroke:none}
.arch-lab .phx-svg text.lbb-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbb-plus{font-size:14px;font-weight:700;fill:#fff;stroke:none}
.arch-lab .phx-svg text.lbb-rlab{font-size:13px;font-weight:700;font-style:italic;fill:#78350f;stroke:none}
.arch-lab .phx-svg text.lbb-head{font-size:15px;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg text.lbb-size{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbb-ok{fill:#166534}
.arch-lab .phx-svg text.lbb-on{font-size:14px;font-weight:700;fill:#f8fafc;stroke:none;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 10, №5 «Точка и бегущая линза». A light optical bench in both themes. */
.arch-lab .phx-stage.lln-stage,.arch-lab .phx-stage.lln-stage .phx-svg{max-height:none}
.arch-lab svg .lln-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lln-room{fill:#1e293b;stroke:none}
.arch-lab svg .lln-rail{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab svg .lln-tick{stroke:#0f172a;stroke-width:1.2}
.arch-lab svg .lln-axis{stroke:#64748b;stroke-width:1.2;stroke-dasharray:6 5}
.arch-lab svg .lln-glass{fill:#bae6fd;fill-opacity:.55;stroke:#e0f2fe;stroke-width:1.8}
.arch-lab svg .lln-lens-tip{fill:none;stroke:#e0f2fe;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lln-cart{fill:#475569;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lln-wheel{fill:#0f172a;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lln-post{stroke:#94a3b8;stroke-width:3}
.arch-lab svg .lln-focus{fill:#f8fafc;stroke:none}
.arch-lab svg .lln-ray{fill:none;stroke:#fde047;stroke-width:1.8;stroke-opacity:.9}
.arch-lab svg .lln-halo{fill:#facc15;fill-opacity:.3;stroke:none}
.arch-lab svg .lln-src{fill:#facc15;stroke:#fef9c3;stroke-width:1.5}
.arch-lab svg .lln-img{fill:#c084fc;stroke:#f5f3ff;stroke-width:1.5}
.arch-lab svg .lln-ghost{fill:none;stroke:#fb923c;stroke-width:2.5;stroke-dasharray:4 3}
.arch-lab svg .lln-mark-src{fill:#facc15;fill-opacity:.45;stroke:none}
.arch-lab svg .lln-mark-img{fill:#c084fc;fill-opacity:.5;stroke:none}
.arch-lab svg .lln-mark-lens{stroke:#7dd3fc;stroke-opacity:.45;stroke-width:2}
.arch-lab svg .lln-dim{stroke:#cbd5e1;stroke-width:1.2;stroke-dasharray:2 3}
.arch-lab svg .lln-vsrc .phx-arrow-shaft{stroke:#fde047;stroke-width:3}
.arch-lab svg .lln-vsrc .phx-arrow-head{fill:#fde047;stroke:none}
.arch-lab svg .lln-vlens .phx-arrow-shaft{stroke:#7dd3fc;stroke-width:3}
.arch-lab svg .lln-vlens .phx-arrow-head{fill:#7dd3fc;stroke:none}
.arch-lab svg .lln-vimg .phx-arrow-shaft{stroke:#d8b4fe;stroke-width:3}
.arch-lab svg .lln-vimg .phx-arrow-head{fill:#d8b4fe;stroke:none}
.arch-lab .phx-svg text.lln-lab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lln-ilab{fill:#e9d5ff}
.arch-lab .phx-svg text.lln-glab{font-size:14px;font-weight:700;fill:#fdba74;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lln-flab{font-size:14px;font-weight:700;font-style:italic;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lln-cm{font-size:13px;font-weight:600;fill:#e2e8f0;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lln-head{font-size:14px;font-weight:700;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab svg .lln-paper{fill:#fff;stroke:none}
.arch-lab svg .lln-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lln-gaxis{stroke:#1f2937;stroke-width:1.6}
.arch-lab svg .lln-curve{fill:none;stroke:#7c3aed;stroke-width:2.8;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lln-try{stroke:#ea580c;stroke-width:2.4;stroke-dasharray:7 5}
.arch-lab svg .lln-dot{fill:#7c3aed;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.lln-gtick{font-size:13px;font-weight:500;fill:#1f2937;stroke:#fff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lln-ghead{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 11, №1 «Шайба и стенка». A light table in both themes. */
.arch-lab .phx-stage.lpk-stage,.arch-lab .phx-stage.lpk-stage .phx-svg{max-height:none}
.arch-lab svg .lpk-table{fill:#f3efe4;stroke:none}
.arch-lab svg .lpk-wall{fill:#cbd5e1;stroke:none}
.arch-lab svg .lpk-hatch{stroke:#64748b;stroke-width:1.5}
.arch-lab svg .lpk-edge{stroke:#0f172a;stroke-width:3}
.arch-lab svg .lpk-normal{stroke:#475569;stroke-width:1.4;stroke-dasharray:3 5}
.arch-lab svg .lpk-in,.arch-lab svg .lpk-out{stroke:#94a3b8;stroke-width:2;stroke-dasharray:6 6}
.arch-lab svg .lpk-angle{fill:none;stroke:#1f2937;stroke-width:1.5}
.arch-lab svg .lpk-puck{fill:#334155;stroke:#0f172a;stroke-width:1.6}
.arch-lab svg .lpk-mark{stroke:#fbbf24;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lpk-hub{fill:#fbbf24;stroke:none}
.arch-lab svg .lpk-spin{fill:none;stroke:#b45309;stroke-width:2}
.arch-lab svg .lpk-spinhead{fill:#b45309;stroke:none}
.arch-lab svg .lpk-proj{stroke:#64748b;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab svg .lpk-kv .phx-arrow-shaft,.arch-lab svg line.lpk-kv{stroke:#0f172a;stroke-width:3.4}
.arch-lab svg .lpk-kv .phx-arrow-head{fill:#0f172a;stroke:none}
.arch-lab svg .lpk-kx .phx-arrow-shaft,.arch-lab svg line.lpk-kx{stroke:#c2410c;stroke-width:3}
.arch-lab svg .lpk-kx .phx-arrow-head{fill:#c2410c;stroke:none}
.arch-lab svg .lpk-ky .phx-arrow-shaft,.arch-lab svg line.lpk-ky{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .lpk-ky .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lpk-kn .phx-arrow-shaft,.arch-lab svg line.lpk-kn{stroke:#15803d;stroke-width:3.4}
.arch-lab svg .lpk-kn .phx-arrow-head{fill:#15803d;stroke:none}
.arch-lab svg .lpk-kf .phx-arrow-shaft,.arch-lab svg line.lpk-kf{stroke:#b91c1c;stroke-width:3.4}
.arch-lab svg .lpk-kf .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.lpk-size{font-size:14px;font-weight:700;fill:#111827;stroke:#f8f5ec;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpk-kx-t{fill:#9a3412}
.arch-lab .phx-svg text.lpk-ky-t{fill:#1e40af}
.arch-lab .phx-svg text.lpk-kn-t{fill:#166534}
.arch-lab .phx-svg text.lpk-kf-t{fill:#991b1b;stroke:#dbe3ec}
.arch-lab .phx-svg text.lpk-wt{fill:#0f172a;stroke:#dbe3ec}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 11, №2 «Влажный воздух под поршнем». A light scene in both themes. */
.arch-lab .phx-stage.lmo-stage,.arch-lab .phx-stage.lmo-stage .phx-svg{max-height:none}
.arch-lab svg .lmo-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lmo-wallc{fill:#94a3b8;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lmo-inside{fill:#f1f5f9;stroke:none}
.arch-lab svg .lmo-gas{fill:#e0f2fe;stroke:none}
.arch-lab svg .lmo-water{fill:#3b82f6;stroke:#1d4ed8;stroke-width:1}
.arch-lab svg .lmo-air{fill:#2563eb;stroke:none;opacity:.7}
.arch-lab svg .lmo-vap{fill:#f97316;stroke:#c2410c;stroke-width:1}
.arch-lab svg .lmo-piston{fill:#475569;stroke:#1e293b;stroke-width:1.5}
.arch-lab svg .lmo-rod{fill:#64748b;stroke:#334155;stroke-width:1}
.arch-lab svg .lmo-push{stroke:#dc2626;stroke-width:4;fill:#dc2626}
.arch-lab svg .lmo-scol{fill:#e2e8f0;stroke:none}
.arch-lab svg .lmo-sair{fill:#93c5fd;stroke:#2563eb;stroke-width:1}
.arch-lab svg .lmo-svap{fill:#fdba74;stroke:#c2410c;stroke-width:1}
.arch-lab svg .lmo-tick{stroke:#0f172a;stroke-width:2.5}
.arch-lab svg .lmo-col{fill:#fff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .lmo-bar{fill:#fdba74;stroke:#c2410c;stroke-width:1}
.arch-lab svg .lmo-goal{stroke:#15803d;stroke-width:2.5;stroke-dasharray:6 4}
.arch-lab .phx-svg text.lmo-head{font-size:14px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmo-small{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmo-num{font-size:14px;font-weight:700;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmo-warn{font-size:14px;font-weight:700;fill:#1d4ed8;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lmo-goal-lab{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lmo-push-lab{font-size:15px;font-weight:700;fill:#b91c1c;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 11, №3 «Контур с диодом». A light board in both themes. */
.arch-lab .phx-stage.ldi-stage,.arch-lab .phx-stage.ldi-stage .phx-svg{max-height:none}
.arch-lab svg .ldi-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .ldi-wire{fill:none;stroke:#334155;stroke-width:2.5;stroke-linejoin:round}
.arch-lab svg .ldi-node{fill:#334155;stroke:none}
.arch-lab svg .ldi-key{stroke:#334155;stroke-width:3;stroke-linecap:round}
.arch-lab svg .ldi-coil{fill:none;stroke:#b45309;stroke-width:3}
.arch-lab svg .ldi-plate{fill:#94a3b8;stroke:#334155;stroke-width:1}
.arch-lab svg .ldi-plus{fill:#ef4444;stroke:#991b1b;stroke-width:1}
.arch-lab svg .ldi-minus{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .ldi-diode{fill:#e2e8f0;stroke:#334155;stroke-width:1.8}
.arch-lab svg .ldi-diode-on{fill:#4ade80;stroke:#166534;stroke-width:1.8}
.arch-lab svg .ldi-diode-bar{stroke:#334155;stroke-width:3}
.arch-lab svg .ldi-dot{fill:#f59e0b;stroke:#92400e;stroke-width:1}
.arch-lab svg .ldi-band0{fill:#eef2ff;stroke:none}
.arch-lab svg .ldi-band1{fill:#fef9c3;stroke:none}
.arch-lab svg .ldi-axis{stroke:#475569;stroke-width:1.5}
.arch-lab svg .ldi-curve{fill:none;stroke:#b45309;stroke-width:3}
.arch-lab svg .ldi-now{fill:#b45309;stroke:#fff;stroke-width:2}
.arch-lab svg .ldi-try{stroke:#c2410c;stroke-width:2.5;stroke-dasharray:7 5}
.arch-lab svg .ldi-ans{stroke:#15803d;stroke-width:2.5;stroke-dasharray:3 4}
.arch-lab .phx-svg text.ldi-lab{font-size:15px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldi-small{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldi-tick{font-size:14px;font-weight:500;fill:#334155;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldi-on{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ldi-sign{font-size:16px;font-weight:800;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.ldi-val{font-size:14px;font-weight:700;fill:#1e3a8a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ldi-cur{font-size:14px;font-weight:700;fill:#b45309;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 11, №4 «Две линзы и источник». A dark optical bench in both themes. */
.arch-lab .phx-stage.ltw-stage,.arch-lab .phx-stage.ltw-stage .phx-svg{max-height:none}
.arch-lab svg .ltw-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .ltw-room{fill:#1e293b;stroke:none}
.arch-lab svg .ltw-zoom{fill:#0f172a;stroke:#475569;stroke-width:1.2}
.arch-lab svg .ltw-axis{stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:10 4 2 4}
.arch-lab svg .ltw-axis2{stroke:#7dd3fc;stroke-width:1.2;stroke-dasharray:10 4 2 4}
.arch-lab svg .ltw-lens{fill:#bae6fd;fill-opacity:.55;stroke:#e0f2fe;stroke-width:1.8}
.arch-lab svg .ltw-tip{fill:none;stroke:#e0f2fe;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .ltw-focus{fill:#f8fafc;stroke:none}
.arch-lab svg .ltw-ray{fill:none;stroke:#fde047;stroke-width:1.4;stroke-opacity:.75}
.arch-lab svg .ltw-ray0{fill:none;stroke:#fb923c;stroke-width:2.4}
.arch-lab svg .ltw-ghost{stroke:#fde047;stroke-width:1.2;stroke-opacity:.5;stroke-dasharray:4 4}
.arch-lab svg .ltw-virt{stroke:#c4b5fd;stroke-width:1.4;stroke-dasharray:6 4}
.arch-lab svg .ltw-zvirt{stroke:#c4b5fd;stroke-width:1;stroke-opacity:.8}
.arch-lab svg .ltw-ring{fill:none;stroke:#4ade80;stroke-width:2.4;stroke-dasharray:8 5}
.arch-lab svg .ltw-halo{fill:#facc15;fill-opacity:.3;stroke:none}
.arch-lab svg .ltw-src{fill:#facc15;stroke:#fef9c3;stroke-width:1.5}
.arch-lab svg .ltw-s1{fill:none;stroke:#fde047;stroke-width:2;stroke-dasharray:3 3}
.arch-lab svg .ltw-s2{fill:#c4b5fd;stroke:#f5f3ff;stroke-width:1.5}
.arch-lab svg .ltw-dim{stroke:#cbd5e1;stroke-width:1.4}
.arch-lab svg .ltw-hdim{stroke:#f472b6;stroke-width:2.2}
.arch-lab svg .ltw-fplane{stroke:#64748b;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab .phx-svg text.ltw-lab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.ltw-zlab{font-size:14px;font-weight:600;fill:#f8fafc;stroke:#0f172a;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltw-flab{font-size:15px;font-weight:700;font-style:italic;fill:#f8fafc;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltw-note{font-size:13px;font-weight:600;fill:#cbd5e1;stroke:#1e293b;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.ltw-ghead{font-size:14px;font-weight:700;fill:#0f172a;stroke:none}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 11, №5 «Перемычка и три конденсатора». A light board in both themes. */
.arch-lab .phx-stage.lbr-stage,.arch-lab .phx-stage.lbr-stage .phx-svg{max-height:none}
.arch-lab svg .lbr-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lbr-wire{fill:none;stroke:#334155;stroke-width:2.5;stroke-linejoin:round}
.arch-lab svg .lbr-node{fill:#334155;stroke:none}
.arch-lab svg .lbr-key{stroke:#334155;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lbr-plate{fill:#94a3b8;stroke:#334155;stroke-width:1}
.arch-lab svg .lbr-plus{fill:#ef4444;stroke:#991b1b;stroke-width:1}
.arch-lab svg .lbr-minus{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lbr-dot{fill:#f59e0b;stroke:#92400e;stroke-width:1}
.arch-lab svg .lbr-axis{stroke:#475569;stroke-width:1.5}
.arch-lab svg .lbr-curve{fill:none;stroke:#b45309;stroke-width:3}
.arch-lab svg .lbr-now{fill:#b45309;stroke:#fff;stroke-width:2}
.arch-lab svg .lbr-try{stroke:#c2410c;stroke-width:2.5;stroke-dasharray:7 5}
.arch-lab svg .lbr-ans{stroke:#15803d;stroke-width:2.5;stroke-dasharray:3 4}
.arch-lab .phx-svg text.lbr-lab{font-size:15px;font-weight:700;fill:#0f172a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbr-small{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbr-tick{font-size:14px;font-weight:500;fill:#334155;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lbr-sign{font-size:16px;font-weight:800;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lbr-val{font-size:14px;font-weight:700;fill:#1e3a8a;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab svg .lbr-res{fill:#fde68a;stroke:#334155;stroke-width:2}
.arch-lab svg .lbr-jumper{stroke:#15803d;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lbr-dotj{fill:#22c55e;stroke:#14532d;stroke-width:1}
.arch-lab svg .lbr-jarrow{fill:none;stroke:#15803d;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lbr-bat{stroke:#334155;stroke-width:3}
.arch-lab svg .lbr-bat2{stroke:#334155;stroke-width:6}
.arch-lab .phx-svg text.lbr-jval{font-size:14px;font-weight:700;fill:#15803d;stroke:#f8fafc;stroke-width:3px;paint-order:stroke;font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 7–9, №1 «Штука-дрюка». Light in both themes. */
.arch-lab .phx-stage.lpa-stage,.arch-lab .phx-stage.lpa-stage .phx-svg{max-height:none}
.arch-lab svg .lpa-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpa-iron{fill:#64748b;stroke:#1e293b;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lpa-hole{fill:#f8fafc;stroke:#1e293b;stroke-width:2}
.arch-lab svg .lpa-zinc{fill:#bae6fd;stroke:#0369a1;stroke-width:2}
.arch-lab svg .lpa-pan{fill:#cbd5e1;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lpa-scale{fill:#fde68a;stroke:#92400e;stroke-width:1.5}
.arch-lab svg .lpa-display{fill:#fff;stroke:#92400e;stroke-width:1.2}
.arch-lab svg .lpa-ruler{fill:#fff;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lpa-rtick{stroke:#475569;stroke-width:1.3}
.arch-lab svg .lpa-mzn{stroke:#0369a1;stroke-width:3}
.arch-lab svg .lpa-mfe{stroke:#1e293b;stroke-width:3}
.arch-lab svg .lpa-msn{stroke:#b91c1c;stroke-width:3;stroke-dasharray:5 3}
.arch-lab svg .lpa-pointer{fill:#f59e0b;stroke:#78350f;stroke-width:1.5}
.arch-lab .phx-svg text.lpa-size{font-size:14px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpa-light{fill:#fff;stroke:#334155}
.arch-lab .phx-svg text.lpa-ondisp{stroke:none}
.arch-lab .phx-svg text.lpa-tick{font-size:13px;font-weight:600;fill:#334155;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 7–9, №2 «Пешком и на самокате». Light in both themes. */
.arch-lab .phx-stage.lps-stage,.arch-lab .phx-stage.lps-stage .phx-svg{max-height:none}
.arch-lab svg .lps-sky{fill:#e8f3fb;stroke:none}
.arch-lab svg .lps-grass{fill:#d7e8c2;stroke:none}
.arch-lab svg .lps-road{fill:#cbd5e1;stroke:none}
.arch-lab svg .lps-walked{stroke:#ea580c;stroke-width:6;stroke-linecap:round}
.arch-lab svg .lps-ridden{stroke:#2563eb;stroke-width:6;stroke-linecap:round}
.arch-lab svg .lps-wall{stroke:#1f2937;stroke-width:1.5}
.arch-lab svg .lps-roof{stroke:#1f2937;stroke-width:1.5;stroke-linejoin:round}
.arch-lab svg .lps-wall.lps-home{fill:#fde68a}.arch-lab svg .lps-roof.lps-home{fill:#b45309}
.arch-lab svg .lps-wall.lps-gran{fill:#fbcfe8}.arch-lab svg .lps-roof.lps-gran{fill:#9d174d}
.arch-lab svg .lps-wall.lps-shop{fill:#bbf7d0}.arch-lab svg .lps-roof.lps-shop{fill:#166534}
.arch-lab svg .lps-door{fill:#78350f;stroke:none}
.arch-lab svg .lps-mark{stroke:#475569;stroke-width:1.4;stroke-dasharray:3 3}
.arch-lab svg .lps-dim{stroke:#1f2937;stroke-width:1.4}
.arch-lab svg .lps-skin{fill:#fcd9b6;stroke:#7c2d12;stroke-width:1.3}
.arch-lab svg .lps-body{stroke:#1e3a8a;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lps-deck{stroke:#111827;stroke-width:2.6;stroke-linecap:round}
.arch-lab svg .lps-wheel{fill:#111827;stroke:none}
.arch-lab .phx-svg text.lps-size{font-size:14px;font-weight:700;fill:#111827;stroke:#eef6fc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lps-speed{fill:#1e3a8a}
.arch-lab .phx-svg text.lps-tick{font-size:13px;font-weight:600;fill:#334155;stroke:#dcebcb;stroke-width:3px;paint-order:stroke}
.arch-lab svg .lps-dimw{stroke:#c2410c;stroke-width:1.6}
.arch-lab .phx-svg text.lps-swalk{fill:#9a3412;stroke:#dcebcb}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 7–9, №3 «Лёд и чугунный шарик в калориметре». Light in both themes. */
.arch-lab .phx-stage.lpi-stage,.arch-lab .phx-stage.lpi-stage .phx-svg{max-height:none}
.arch-lab svg .lpi-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpi-jacket{fill:#e2e8f0;stroke:#475569;stroke-width:2}
.arch-lab svg .lpi-inner{fill:#fff;stroke:#64748b;stroke-width:1.5}
.arch-lab svg .lpi-water{fill:#bfdbfe;stroke:none}
.arch-lab svg .lpi-ice{fill:#f0f9ff;stroke:#0369a1;stroke-width:2}
.arch-lab svg .lpi-crack{stroke:#7dd3fc;stroke-width:2;stroke-linecap:round}
.arch-lab svg .lpi-ball{fill:#374151;stroke:#111827;stroke-width:1.5}
.arch-lab svg .lpi-post{stroke:#475569;stroke-width:5;stroke-linecap:round}
.arch-lab svg .lpi-foot{fill:#475569;stroke:none}
.arch-lab svg .lpi-beam{stroke:#1f2937;stroke-width:5;stroke-linecap:round}
.arch-lab svg .lpi-pivot{fill:#f59e0b;stroke:#78350f;stroke-width:1.5}
.arch-lab svg .lpi-string{stroke:#64748b;stroke-width:1.5}
.arch-lab svg .lpi-pan{fill:#94a3b8;stroke:#475569;stroke-width:1.2}
.arch-lab svg .lpi-gw{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lpi-gb{fill:#4b5563;stroke:#111827;stroke-width:1}
.arch-lab svg .lpi-iw{fill:#e0f2fe;stroke:#075985;stroke-width:1}
.arch-lab svg .lpi-im{fill:#7dd3fc;stroke:#075985;stroke-width:1}
.arch-lab svg .lpi-ww{fill:#38bdf8;stroke:#075985;stroke-width:1}
.arch-lab .phx-svg text.lpi-size{font-size:14px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpi-tick{font-size:13px;font-weight:600;fill:#334155;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 7–9, №4 «Забытые резисторы». Light stage in both themes. */
.arch-lab .phx-stage.lpr-stage,.arch-lab .phx-stage.lpr-stage .phx-svg{max-height:none}
.arch-lab svg .lpr-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpr-wire{stroke:#334155;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lpr-lead{stroke:#b91c1c;stroke-width:2.5;stroke-linecap:round}
.arch-lab svg .lpr-dot{fill:#f59e0b;stroke:#78350f;stroke-width:1}
.arch-lab svg .lpr-res1{fill:#fde68a;stroke:#1f2937;stroke-width:2}
.arch-lab svg .lpr-res2{fill:#bfdbfe;stroke:#1f2937;stroke-width:2}
.arch-lab svg .lpr-meter{fill:#fff;stroke:#1f2937;stroke-width:2}
.arch-lab svg .lpr-node{fill:#1f2937;stroke:none}
.arch-lab svg .lpr-bat{fill:#cbd5e1;stroke:#1f2937;stroke-width:2}
.arch-lab svg .lpr-batplus{fill:#fca5a5;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg text.lpr-size{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lpr-amp{fill:#9a3412}
.arch-lab .phx-svg text.lpr-rlab{font-size:15px;font-weight:700;font-style:italic;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpr-vert{font-size:17px;font-weight:700;font-style:italic;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpr-mletter{font-size:15px;font-weight:700;fill:#111827}
.arch-lab .phx-svg text.lpr-pole{font-size:18px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .lpr-choices{display:grid;gap:8px;margin:10px 0}
.arch-lab .lpr-choices .arch-toggle{flex-wrap:wrap}
.arch-lab .lpr-journal{width:100%;border-collapse:collapse;margin:10px 0;font-variant-numeric:tabular-nums;font-size:15px}
.arch-lab .lpr-journal caption{text-align:left;font-weight:700;padding-bottom:4px}
.arch-lab .lpr-journal th,.arch-lab .lpr-journal td{border:1px solid var(--line,#cbd5e1);padding:5px 8px;text-align:center}
.arch-lab .lpr-journal tbody th{text-align:left;font-weight:600}
.arch-lab .lpr-journal tr.lpr-now{outline:2px solid #f59e0b;outline-offset:-2px}
.arch-lab .lpr-journal tr.lpr-hit td:last-child{font-weight:800;color:#166534}
:root[data-theme="dark"] .arch-lab .lpr-journal tr.lpr-hit td:last-child{color:#4ade80}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .arch-lab .lpr-journal tr.lpr-hit td:last-child{color:#4ade80}}

/* Popov Academy — «Ломоносов» 2025/26, физика, отбор 7–9, №5 «Пластина на шарнире». Light stage in both themes. */
.arch-lab .phx-stage.lpp-stage,.arch-lab .phx-stage.lpp-stage .phx-svg{max-height:none}
.arch-lab svg .lpp-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lpp-wall{fill:#e2e8f0;stroke:none}
.arch-lab svg .lpp-face{stroke:#334155;stroke-width:2.5}
.arch-lab svg .lpp-tick{stroke:#64748b;stroke-width:1.3}
.arch-lab svg .lpp-ghost{fill:none;stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:6 5}
.arch-lab svg .lpp-dash{stroke:#94a3b8;stroke-width:1.3;stroke-dasharray:6 5}
.arch-lab svg .lpp-plate{fill:#cbd5e1;stroke:#1f2937;stroke-width:2;stroke-linejoin:round}
.arch-lab svg .lpp-cut{fill:#fee2e2;stroke:#b91c1c;stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab svg .lpp-cord{stroke:#92400e;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lpp-slack{stroke-dasharray:3 6}
.arch-lab svg .lpp-pin{fill:#1f2937;stroke:none}
.arch-lab svg .lpp-hinge{fill:#f59e0b;stroke:#78350f;stroke-width:1.5}
.arch-lab svg .lpp-arm{stroke:#7c3aed;stroke-width:2;stroke-dasharray:5 4}
.arch-lab svg .lpp-ang{fill:none;stroke:#334155;stroke-width:1.5}
.arch-lab svg .lpp-beta{stroke:#166534;stroke-width:2}
.arch-lab svg .lpp-fdown .phx-arrow-shaft{stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .lpp-fdown .phx-arrow-head{fill:#1d4ed8;stroke:none}
.arch-lab svg .lpp-fup .phx-arrow-shaft{stroke:#b91c1c;stroke-width:3}
.arch-lab svg .lpp-fup .phx-arrow-head{fill:#b91c1c;stroke:none}
.arch-lab svg .lpp-fcord .phx-arrow-shaft{stroke:#c2410c;stroke-width:3}
.arch-lab svg .lpp-fcord .phx-arrow-head{fill:#c2410c;stroke:none}
.arch-lab svg .lpp-up1{fill:#fbbf24;stroke:#78350f;stroke-width:1}
.arch-lab svg .lpp-up2{fill:#f87171;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .lpp-down{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1}
.arch-lab svg .lpp-mark{stroke:#1e3a8a;stroke-width:2;stroke-dasharray:4 3}
.arch-lab .phx-svg text.lpp-lab{font-size:14px;font-weight:600;fill:#1f2937;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpp-blab{fill:#166534;font-weight:700}
.arch-lab .phx-svg text.lpp-vert{font-size:16px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.lpp-size{font-size:15px;font-weight:700;fill:#111827;stroke:#f8fafc;stroke-width:3.5px;paint-order:stroke}
.arch-lab .phx-svg text.lpp-ok{fill:#166534}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 10 класс, №2 «Три корня». Light paper in both themes. */
.arch-lab .phx-stage.lmt-stage,.arch-lab .phx-stage.lmt-stage .phx-svg{max-height:none}
.arch-lab svg .lmt-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmt-pane{fill:#fff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .lmt-dom{fill:#dcfce7;stroke:none}
.arch-lab svg .lmt-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmt-axis{stroke:#475569;stroke-width:1.6}
.arch-lab svg .lmt-e0{stroke:#1d4ed8;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .lmt-e2{stroke:#c2410c;stroke-width:3.2;stroke-linecap:round}
.arch-lab svg .lmt-pt{fill:#0f172a;stroke:#fff;stroke-width:2.2}
.arch-lab svg .lmt-pt.lmt-out{fill:#dc2626}
.arch-lab svg .lmt-target{fill:none;stroke:#16a34a;stroke-width:3}
.arch-lab svg .lmt-b0{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab svg .lmt-b1{fill:#c4b5fd;stroke:#6d28d9;stroke-width:1.5}
.arch-lab svg .lmt-b2{fill:#fdba74;stroke:#c2410c;stroke-width:1.5}
.arch-lab svg .lmt-rec{stroke:#16a34a;stroke-width:3;stroke-dasharray:5 4}
.arch-lab .phx-svg text.lmt-num{font-size:11px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmt-it{font-size:14px;font-style:italic;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg text.lmt-cap{font-size:12px;fill:#334155}
.arch-lab .phx-svg text.lmt-cap.lmt-capb{font-size:13px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmt-val{font-size:13px;font-weight:800;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 10 класс, №4 «Божьи коровки на кубе». */
.arch-lab .lmb-scene{position:relative;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#f4f8fc;max-width:680px;margin-inline:auto;width:100%}
.arch-lab .lmb-3d{width:100%;aspect-ratio:1/0.86;outline-offset:2px}
.arch-lab .lmb-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab svg .lmb-free{fill:#475569;stroke:none}
.arch-lab svg .lmb-bug{fill:#dc2626;stroke:#111827;stroke-width:1.5}
.arch-lab svg .lmb-kv{fill:#7c3aed;stroke:none}
.arch-lab svg .lmb-ke{fill:#2563eb;stroke:none}
.arch-lab svg .lmb-kf{fill:#16a34a;stroke:none}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 10 класс, №5 «Вписанные шестиугольники». Light paper in both themes. */
.arch-lab .phx-stage.lmh-stage,.arch-lab .phx-stage.lmh-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmh-stage{max-width:580px;margin-inline:auto;width:100%}
.arch-lab svg .lmh-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmh-hex{stroke:#1f2937;stroke-width:1.8;stroke-linejoin:round}
.arch-lab svg .lmh-mark{stroke:#b91c1c;stroke-width:3.5;stroke-linecap:round}
.arch-lab svg .lmh-mark.lmh-mark2{stroke:#1d4ed8}
.arch-lab svg .lmh-pt{fill:#0f172a;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmh-kblue{fill:#bae6fd;stroke:#1f2937;stroke-width:1.2}
.arch-lab svg .lmh-klast{fill:#fb923c;stroke:#1f2937;stroke-width:1.2}
.arch-lab .phx-svg text.lmh-cap{font-size:14px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmh-q{font-size:15px;font-weight:800;fill:#0c4a6e}
.arch-lab .phx-svg text.lmh-last{font-size:16px;font-weight:800;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №1 «Сколько двоек в произведении». Light paper in both themes. */
.arch-lab .phx-stage.lmw-stage,.arch-lab .phx-stage.lmw-stage .phx-svg{max-height:none}
.arch-lab svg .lmw-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmw-card{fill:#eff6ff;stroke:#93c5fd;stroke-width:1.5}
.arch-lab svg .lmw-card.lmw-odd{fill:#f1f5f9;stroke:#cbd5e1}
.arch-lab svg .lmw-card.lmw-out{stroke:#dc2626;stroke-width:3.5}
.arch-lab svg .lmw-card.lmw-in{stroke:#16a34a;stroke-width:3.5}
.arch-lab svg .lmw-coin{fill:#fde047;stroke:#a16207;stroke-width:1.5}
.arch-lab .phx-svg text.lmw-k{font-size:17px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmw-two{font-weight:800;fill:#713f12;stroke:none}
.arch-lab .phx-svg text.lmw-sum{font-size:15px;font-weight:800;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №3 «Два корня на отрезке». Light paper in both themes. */
.arch-lab .phx-stage.lmg-stage,.arch-lab .phx-stage.lmg-stage .phx-svg{max-height:none}
.arch-lab svg .lmg-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmg-pane{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmg-seg{fill:#fef9c3;stroke:#ca8a04;stroke-width:1}
.arch-lab svg .lmg-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmg-axis{stroke:#475569;stroke-width:1.6}
.arch-lab svg .lmg-curve{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmg-level{stroke:#b45309;stroke-width:2.6;stroke-dasharray:9 5}
.arch-lab svg .lmg-drop{stroke:#16a34a;stroke-width:1.6;stroke-dasharray:4 4}
.arch-lab svg .lmg-root{fill:#16a34a;stroke:#fff;stroke-width:2}
.arch-lab svg .lmg-circ{fill:none;stroke:#cbd5e1;stroke-width:2}
.arch-lab svg .lmg-arc{fill:none;stroke:#ca8a04;stroke-width:5;stroke-linecap:round}
.arch-lab svg .lmg-ln{stroke:#1d4ed8;stroke-width:2.6}
.arch-lab svg .lmg-pivot{fill:#0f172a;stroke:#fff;stroke-width:1.5}
.arch-lab svg .lmg-endpt{fill:#a16207;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.lmg-num{font-size:11px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmg-num.lmg-end{font-size:13px;font-weight:800;fill:#713f12}
.arch-lab .phx-svg text.lmg-cap{font-size:12px;fill:#334155}
.arch-lab .phx-svg text.lmg-cap.lmg-capb{font-size:13px;font-weight:800;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №4 «Звезда и её наряды». Light paper in both themes. */
.arch-lab .phx-stage.lmz-stage,.arch-lab .phx-stage.lmz-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmz-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .lmz-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmz-piece{fill:#fff;stroke:#94a3b8;stroke-width:1.3;stroke-linejoin:round}
.arch-lab svg .lmz-piece.lmz-rh{fill:#f1f5f9;stroke-dasharray:5 4}
.arch-lab svg .lmz-piece.lmz-pa,.arch-lab svg .lmz-pa{fill:#fde047;stroke:#a16207;stroke-width:1.3}
.arch-lab svg .lmz-piece.lmz-pb,.arch-lab svg .lmz-pb{fill:#86efac;stroke:#15803d;stroke-width:1.3}
.arch-lab svg .lmz-star{fill:none;stroke:#0f172a;stroke-width:2.6;stroke-linejoin:round;pointer-events:none}
.arch-lab svg .lmz-out{fill:none;stroke:#0284c7;stroke-width:4.5;stroke-linejoin:round;stroke-dasharray:10 6;pointer-events:none}
.arch-lab svg .lmz-hit{cursor:pointer}
.arch-lab svg .lmz-hit:focus-visible{outline:3px solid #2563eb;outline-offset:2px}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №5 «Прямоугольники вокруг клетки». Light paper in both themes. */
.arch-lab .phx-stage.lmd-stage,.arch-lab .phx-stage.lmd-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmd-stage{max-width:640px;margin-inline:auto;width:100%}
.arch-lab svg .lmd-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmd-board{fill:#fff;stroke:#334155;stroke-width:2}
.arch-lab svg .lmd-grid{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmd-sel{fill:#bfdbfe;stroke:none}
.arch-lab svg .lmd-selframe{fill:none;stroke:#1d4ed8;stroke-width:3}
.arch-lab svg .lmd-mark{fill:#f97316;stroke:#9a3412;stroke-width:1.5}
.arch-lab svg .lmd-touch{fill:transparent;stroke:none;cursor:pointer}
.arch-lab svg .lmd-bar{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab svg .lmd-bar.lmd-cur{fill:#60a5fa;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab svg .lmd-mean{stroke:#16a34a;stroke-width:3;stroke-dasharray:6 4}
.arch-lab .phx-svg text.lmd-num{font-size:11px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmd-cap{font-size:12px;font-weight:700;fill:#334155}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №7 «Опора моста с ледорезом». */
.arch-lab .lmi-scene{position:relative;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#eaf4fb;max-width:680px;margin-inline:auto;width:100%}
.arch-lab .lmi-3d{width:100%;aspect-ratio:1/0.86;outline-offset:2px}
.arch-lab .lmi-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab svg .lmi-kbody{fill:#d6d3d1;stroke:#44403c;stroke-width:1.2}
.arch-lab svg .lmi-ksec{fill:#f97316;stroke:#9a3412;stroke-width:1.2}
.arch-lab svg .lmi-kup{stroke:#2563eb;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lmi-kwater{fill:#bae6fd;stroke:#38bdf8;stroke-width:1.2}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 11 класс, №8 «Номерки в гардеробе». Light paper in both themes. */
.arch-lab .phx-stage.lmv-stage,.arch-lab .phx-stage.lmv-stage .phx-svg{max-height:none}
.arch-lab svg .lmv-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmv-rail{fill:#92400e;stroke:none}
.arch-lab svg .lmv-hook{stroke:#57534e;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lmv-empty{fill:none;stroke:#cbd5e1;stroke-width:1.5;stroke-dasharray:4 4}
.arch-lab svg .lmv-free{fill:#fef08a;stroke:#ca8a04;stroke-width:2.5}
.arch-lab svg .lmv-tag{fill:#bbf7d0;stroke:#15803d;stroke-width:2}
.arch-lab svg .lmv-tag.lmv-wrong{fill:#fecaca;stroke:#b91c1c}
.arch-lab svg .lmv-tag.lmv-last{stroke-width:4}
.arch-lab .phx-svg text.lmv-num{font-size:13px;font-weight:700;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmv-t{font-size:16px;font-weight:800;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lmv-big{font-size:15px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmv-big.lmv-good{fill:#15803d}
.arch-lab .phx-svg text.lmv-big.lmv-badt{fill:#b91c1c}
.arch-lab svg .lmv-hit{cursor:pointer}
.arch-lab svg .lmv-hit:focus-visible{outline:3px solid #2563eb;outline-offset:2px}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №1 «Мышка и маятники». A light room in both themes. */
.arch-lab .phx-stage.lm1-stage,.arch-lab .phx-stage.lm1-stage .phx-svg{max-height:none}
.arch-lab svg .lm1-wall{fill:#fdf3e1;stroke:none}
.arch-lab svg .lm1-stripe{stroke:#f6e3c2;stroke-width:6}
.arch-lab svg .lm1-board{fill:#c9a27a;stroke:none}
.arch-lab svg .lm1-floor{fill:#b98a5e;stroke:none}
.arch-lab svg .lm1-cup{fill:#a9713f;stroke:#6e4320;stroke-width:1.5}
.arch-lab svg .lm1-cup-top{fill:#8a5a2e;stroke:#6e4320;stroke-width:1}
.arch-lab svg .lm1-cup-line{stroke:#6e4320;stroke-width:1.5}
.arch-lab svg .lm1-knob{fill:#f5d06a;stroke:#6e4320;stroke-width:.8}
.arch-lab svg .lm1-foot{fill:#6e4320;stroke:none}
.arch-lab svg .lm1-case{fill:#7a4a25;stroke:#4f2d12;stroke-width:1.5}
.arch-lab svg .lm1-face{fill:#fffdf6;stroke:#d9b56b;stroke-width:2.5}
.arch-lab svg .lm1-tick{stroke:#57534e;stroke-width:1.2}
.arch-lab svg .lm1-hand{stroke:#1f2937;stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .lm1-hand-s{stroke:#dc2626;stroke-width:1.2}
.arch-lab svg .lm1-pin{fill:#1f2937;stroke:none}
.arch-lab svg .lm1-plate{fill:#fff7d6;stroke:#d9b56b;stroke-width:1.2}
.arch-lab svg .lm1-plate-t{font-size:12px;font-weight:800;fill:#3b2a14;font-variant-numeric:tabular-nums}
.arch-lab svg .lm1-rod{stroke:#8d6e3f;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lm1-bob{stroke-width:2}
.arch-lab svg .lm1-bob-a{fill:#f59e0b;stroke:#b45309}
.arch-lab svg .lm1-bob-b{fill:#38bdf8;stroke:#0369a1}
.arch-lab svg .lm1-bob-c{fill:#a78bfa;stroke:#6d28d9}
.arch-lab svg .lm1-shine{fill:#fff;opacity:.7;stroke:none}
.arch-lab svg .lm1-touch{fill:#fde047;stroke:#ca8a04;stroke-width:2}
.arch-lab svg .lm1-fur{fill:#9ca3af;stroke:#4b5563;stroke-width:1}
.arch-lab svg .lm1-ear{fill:#f9a8d4;stroke:#4b5563;stroke-width:.9}
.arch-lab svg .lm1-eye,.arch-lab svg .lm1-nose{fill:#111827;stroke:none}
.arch-lab svg .lm1-nose{fill:#ec4899}
.arch-lab svg .lm1-tail{fill:none;stroke:#6b7280;stroke-width:1.3;stroke-linecap:round}
.arch-lab svg .lm1-paw{stroke:#4b5563;stroke-width:1.4;stroke-linecap:round}
.arch-lab svg .lm1-gbg{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lm1-gcup{fill:#d6b48c;stroke:#a9713f;stroke-width:1}
.arch-lab svg .lm1-gcap{font-size:11px;font-weight:700;fill:#4a2f14}
.arch-lab svg .lm1-gcap-m{fill:#475569;font-weight:600;font-size:12px}
.arch-lab svg .lm1-grow{stroke:#cbd5e1;stroke-width:1;stroke-dasharray:3 4}
.arch-lab svg .lm1-gtick{stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lm1-gnum{font-size:12px;fill:#475569;font-variant-numeric:tabular-nums}
.arch-lab svg .lm1-gl{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.arch-lab svg .lm1-gl-a{stroke:#f59e0b}.arch-lab svg .lm1-gl-b{stroke:#0ea5e9}.arch-lab svg .lm1-gl-c{stroke:#8b5cf6}
.arch-lab svg .lm1-gl-ghost{opacity:.28;stroke-width:1.6}
.arch-lab svg .lm1-way{fill:none;stroke:#1f2937;stroke-width:9;stroke-linecap:round;stroke-linejoin:round;opacity:.32}
.arch-lab svg .lm1-now{stroke:#475569;stroke-width:1.5;stroke-dasharray:4 4}
.arch-lab svg .lm1-chip{stroke-width:1.5}
.arch-lab svg .lm1-chip-t{font-size:12px;font-weight:800;fill:#111827}
.arch-lab .phx-svg text.lm1-plate-t,.arch-lab .phx-svg text.lm1-chip-t,.arch-lab .phx-svg text.lm1-gcap{stroke:none}
.arch-lab .phx-svg text.lm1-gcap-m{stroke:#fff}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №2 «Ведро водоноса». Light paper in both themes. */
.arch-lab .phx-stage.lm2-stage,.arch-lab .phx-stage.lm2-stage .phx-svg{max-height:none}
.arch-lab svg .lm2-sky{fill:#eef6ff;stroke:none}
.arch-lab svg .lm2-ground{fill:#c9b28a;stroke:none}
.arch-lab svg .lm2-hill{fill:#bfe3a8;stroke:#5f9a4a;stroke-width:1.5}
.arch-lab svg .lm2-hill-later{fill:none;stroke:#fff;stroke-width:3;stroke-dasharray:3 4;opacity:.9}
.arch-lab svg .lm2-man{fill:#ef4444;stroke:#7f1d1d;stroke-width:1.5}
.arch-lab svg .lm2-man-leg{stroke:#7f1d1d;stroke-width:2}
.arch-lab .phx-svg text.lm2-cap{font-size:12px;fill:#3f6212;font-weight:700}
.arch-lab svg .lm2-yoke{stroke:#8a5a2e;stroke-width:7;stroke-linecap:round}
.arch-lab svg .lm2-rope{stroke:#a8a29e;stroke-width:1.8}
.arch-lab svg .lm2-hook{fill:#57534e;stroke:none}
.arch-lab svg .lm2-water{fill:#38bdf8;stroke:#0284c7;stroke-width:1;stroke-linejoin:round}
.arch-lab svg .lm2-wall{fill:none;stroke:#1f2937;stroke-width:4;stroke-linejoin:miter;stroke-linecap:square}
.arch-lab svg .lm2-jet{fill:none;stroke:#38bdf8;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.arch-lab svg .lm2-jet-in{stroke-width:5}
.arch-lab svg .lm2-puddle{fill:#38bdf8;stroke:#0284c7;stroke-width:1}
.arch-lab .phx-svg text.lm2-amount{font-size:16px;font-weight:800;fill:#0c2d48;stroke:#e0f2fe;stroke-width:3.5px;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lm2-size{font-size:13px;fill:#475569;stroke:#eef6ff}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №3 «Горы и ямы». Light paper in both themes. */
.arch-lab .phx-stage.lm3-stage,.arch-lab .phx-stage.lm3-stage .phx-svg{max-height:none}
.arch-lab svg .lm3-sky{fill:#e6f3ff;stroke:none}
.arch-lab svg .lm3-sun{fill:#fde047;stroke:#facc15;stroke-width:3}
.arch-lab svg .lm3-earth{fill:#d9c7a3;stroke:none}
.arch-lab svg .lm3-grid{stroke:#fff;stroke-width:1;opacity:.7}
.arch-lab svg .lm3-massif{fill:#a7c4a0;stroke:none;opacity:.75}
.arch-lab svg .lm3-rock{fill:#8b9bb0;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lm3-rock.lm3-turn{fill:#f59e0b;stroke:#92400e}
.arch-lab svg .lm3-snow{fill:#fff;stroke:none;opacity:.95}
.arch-lab svg .lm3-lake{fill:#38bdf8;stroke:#0369a1;stroke-width:1.2}
.arch-lab svg .lm3-ridge{fill:none;stroke:#1f2937;stroke-width:2.5;stroke-linejoin:round;stroke-dasharray:1 5;stroke-linecap:round}
.arch-lab .phx-svg text.lm3-digit{font-size:22px;font-weight:800;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lm3-tag{font-size:13px;font-weight:800;fill:#92400e}
.arch-lab .phx-svg text.lm3-empty{font-size:15px;fill:#475569}
.arch-lab .lm3-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:420px}
.arch-lab .lm3-key{min-height:44px;border-radius:10px;border:1.5px solid var(--arch-field-line);background:var(--arch-surface);color:var(--arch-ink);font-size:19px;font-weight:800;cursor:pointer}
@media (min-width:560px){.arch-lab .lm3-keys{grid-template-columns:repeat(10,minmax(0,1fr));max-width:none}}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №4 «Кубик на доске». Light paper in both themes. */
.arch-lab .lm4-wrap{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.arch-lab .lm4-left,.arch-lab .lm4-right{display:grid;gap:8px;align-content:start;min-width:0}
@media (min-width:860px){.arch-lab .lm4-wrap.lm4-live{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:start}}
.arch-lab .lm4-scene{position:relative;border:1px solid #cbd5e1;border-radius:14px;overflow:hidden;background:#eef4fb}
.arch-lab .lm4-3d{width:100%;aspect-ratio:1/0.82;outline-offset:2px}
.arch-lab .lm4-3d canvas{display:block;width:100%;height:100%;touch-action:none}
.arch-lab .phx-stage.lm4-stage,.arch-lab .phx-stage.lm4-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lm4-stage{max-width:440px;margin-inline:auto;width:100%}
.arch-lab svg .lm4-cell{fill:#fbf1d8;stroke:#b9976a;stroke-width:1}
.arch-lab svg .lm4-cell-dark{fill:#b89468}
.arch-lab svg .lm4-cell-start{stroke:#ea580c;stroke-width:2}
.arch-lab svg .lm4-cell-near{cursor:pointer;fill:#fff7e0}
.arch-lab svg .lm4-cell-dark.lm4-cell-near{fill:#c8a67c}
.arch-lab svg .lm4-frame{fill:none;stroke:#6e4320;stroke-width:3}
.arch-lab svg .lm4-die{fill:#f97316;stroke:#9a3412;stroke-width:2}
.arch-lab svg .lm4-pip{fill:#1f2937;stroke:none;pointer-events:none}
.arch-lab svg .lm4-mark{stroke-width:1.5;pointer-events:none}
.arch-lab svg .lm4-mark-same{fill:#86efac;stroke:#15803d}
.arch-lab svg .lm4-mark-turned{fill:#fde68a;stroke:#b45309}
.arch-lab .lm4-map-head{margin:0;font-size:14px;font-weight:700;color:var(--arch-label);text-align:center}
.arch-lab .lm4-pad{display:grid;grid-template-columns:repeat(3,56px);grid-template-rows:repeat(3,48px);gap:6px;justify-content:center;margin:2px auto 0}
.arch-lab .lm4-pad .lm4-arrow{min-width:0;padding:0;font-size:24px;line-height:1;font-weight:800}
.arch-lab .lm4-arrow-N{grid-column:2;grid-row:1}.arch-lab .lm4-arrow-W{grid-column:1;grid-row:2}.arch-lab .lm4-arrow-E{grid-column:3;grid-row:2}.arch-lab .lm4-arrow-S{grid-column:2;grid-row:3}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №5 «Шарики в двух коробках». Light paper in both themes. */
.arch-lab .phx-stage.lm5-stage,.arch-lab .phx-stage.lm5-stage .phx-svg{max-height:none}
.arch-lab svg .lm5-bg{fill:#fafaf7;stroke:none}
.arch-lab svg .lm5-box{fill:#f1dfbf;stroke:#8a5a2e;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lm5-tube{fill:#fffdf8;stroke:#c9b28a;stroke-width:1.5}
.arch-lab svg .lm5-pile{stroke-width:1.5}
.arch-lab svg .lm5-ball{stroke-width:1.2}
.arch-lab svg .lm5-r{fill:#f87171;stroke:#b91c1c}.arch-lab svg .lm5-b{fill:#60a5fa;stroke:#1d4ed8}.arch-lab svg .lm5-g{fill:#4ade80;stroke:#15803d}
.arch-lab .phx-svg text.lm5-title{font-size:14px;font-weight:800;fill:#4a2f14;stroke:none}
.arch-lab .phx-svg text.lm5-n{font-size:15px;font-weight:800;fill:#1f2937;stroke:#f1dfbf;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lm5-row{font-size:13px;font-weight:700}
.arch-lab .phx-svg text.lm5-tr{fill:#b91c1c}.arch-lab .phx-svg text.lm5-tb{fill:#1d4ed8}.arch-lab .phx-svg text.lm5-tg{fill:#15803d}
.arch-lab .phx-svg text.lm5-tick{font-size:12px;fill:#64748b;font-variant-numeric:tabular-nums}
.arch-lab svg .lm5-track{stroke:#94a3b8;stroke-width:3;stroke-linecap:round}
.arch-lab svg .lm5-win{fill:#bbf7d0;stroke:#16a34a;stroke-width:1.5;opacity:.9}
.arch-lab svg .lm5-knob{stroke-width:2.5}
.arch-lab svg .lm5-ok{fill:#fff;stroke:#15803d}
.arch-lab svg .lm5-bad{fill:#fecaca;stroke:#b91c1c}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №6 «Сквозняк». Light paper in both themes. */
.arch-lab .phx-stage.lm6-stage,.arch-lab .phx-stage.lm6-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lm6-stage{max-width:480px;margin-inline:auto;width:100%}
.arch-lab svg .lm6-lawn{fill:#e7f6df;stroke:none}
.arch-lab svg .lm6-floor{stroke:none}
.arch-lab svg .lm6-wall-out{fill:none;stroke:#44403c;stroke-width:6}
.arch-lab svg .lm6-wall{stroke:#44403c;stroke-width:5}
.arch-lab svg .lm6-gap{fill:#e7f6df;stroke:none}
.arch-lab svg .lm6-gap-in{stroke:none}
.arch-lab svg .lm6-glass{fill:#7dd3fc;stroke:#0369a1;stroke-width:1.5}
.arch-lab svg .lm6-sash{stroke:#0369a1;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lm6-leaf{stroke:#92400e;stroke-width:6;stroke-linecap:round}
.arch-lab svg .lm6-hinge{fill:#451a03;stroke:none}
.arch-lab svg .lm6-plate{fill:#fff;stroke:#cbd5e1;stroke-width:1;opacity:.92}
.arch-lab svg .lm6-touch{fill:transparent;stroke:none}
.arch-lab svg .lm6-hit{cursor:pointer}
.arch-lab svg .lm6-hit:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arch-lab .phx-svg text.lm6-count{font-size:15px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.lm6-open{font-size:13px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.lm6-open.lm6-bad{fill:#b91c1c;font-weight:800}
.arch-lab svg .lm6-wind-bg{fill:none;stroke:#fff;stroke-width:9;stroke-linecap:round;opacity:.85}
.arch-lab svg .lm6-wind{fill:none;stroke:#0ea5e9;stroke-width:4;stroke-linecap:round;stroke-dasharray:10 9;animation:lm6-flow 1s linear infinite}
@keyframes lm6-flow{to{stroke-dashoffset:-19}}
@media (prefers-reduced-motion:reduce){.arch-lab svg .lm6-wind{animation:none}}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 7–8 классы, №7 «Плюсы на минусы». Light paper in both themes. */
.arch-lab .phx-stage.lm8-stage,.arch-lab .phx-stage.lm8-stage .phx-svg{max-height:none}
.arch-lab svg .lm8-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lm8-stand{fill:#94a3b8;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lm8-beam{stroke:#334155;stroke-width:7;stroke-linecap:round}
.arch-lab svg .lm8-pivot{fill:#f59e0b;stroke:#92400e;stroke-width:2}
.arch-lab svg .lm8-chain{stroke:#64748b;stroke-width:1.6}
.arch-lab svg .lm8-pan{fill:#cbd5e1;stroke:#475569;stroke-width:1.5}
.arch-lab svg .lm8-load{stroke-width:1.5}
.arch-lab svg .lm8-plus{fill:#86efac;stroke:#15803d}
.arch-lab svg .lm8-minus{fill:#fca5a5;stroke:#b91c1c}
.arch-lab .phx-svg text.lm8-sum{font-size:19px;font-weight:800;fill:#0f172a;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lm8-cap{font-size:13px;fill:#475569}
.arch-lab .phx-svg text.lm8-val{font-size:17px;font-weight:800;fill:#15803d;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.lm8-val.lm8-neg{fill:#b91c1c}
.arch-lab .lm8-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(46px,1fr));gap:5px}
.arch-lab .lm8-tile{min-height:40px;padding:0 2px;border-radius:9px;border:1.5px solid #15803d;background:#dcfce7;color:#14532d;font-weight:700;font-size:14px;font-variant-numeric:tabular-nums;cursor:pointer}
.arch-lab .lm8-tile.lm8-tile-minus{border-color:#b91c1c;background:#fee2e2;color:#7f1d1d}
.arch-lab .lm8-found-box{border:1px solid var(--arch-soft-line);border-radius:12px;padding:10px 12px;background:var(--arch-surface)}
.arch-lab .lm8-found-head{margin:0 0 4px;font-weight:700;font-size:14px;color:var(--arch-label)}
.arch-lab .lm8-found{margin:0;font-size:15px;color:var(--arch-ink);font-variant-numeric:tabular-nums}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №3 «Домофон». Light paper in both themes. */
.arch-lab .phx-stage.lmk-stage,.arch-lab .phx-stage.lmk-stage .phx-svg{max-height:none}
.arch-lab .phx-stage.lmk-stage{max-width:540px;margin-inline:auto;width:100%}
.arch-lab svg .lmk-bg{fill:#f8fafc;stroke:none}
.arch-lab svg .lmk-panel{fill:#334155;stroke:#0f172a;stroke-width:2}
.arch-lab svg .lmk-key{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.5}
.arch-lab svg .lmk-dead{fill:#475569;stroke:#64748b;stroke-width:1.5}
.arch-lab svg .lmk-k1{fill:#1d4ed8;stroke:#bfdbfe;stroke-width:2.5}
.arch-lab svg .lmk-ok{fill:#86efac;stroke:#15803d;stroke-width:2.5}
.arch-lab svg .lmk-k3ok{fill:#15803d;stroke:#bbf7d0;stroke-width:3}
.arch-lab svg .lmk-k3bad{fill:#b91c1c;stroke:#fecaca;stroke-width:3}
.arch-lab .phx-svg text.lmk-digit{font-size:21px;font-weight:800;fill:#0f172a;stroke:none}
.arch-lab .phx-svg text.lmk-digit.lmk-on{fill:#fff}
.arch-lab svg .lmk-line{stroke:#f59e0b;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lmk-line.lmk-linebad{stroke:#ef4444;stroke-dasharray:9 7}
.arch-lab svg .lmk-badge{fill:#fff;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab .phx-svg text.lmk-badge-t{font-size:12px;font-weight:800;fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg text.lmk-cap{font-size:12px;fill:#334155;stroke:none}
.arch-lab .phx-svg text.lmk-head{font-size:12px;font-weight:800;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmk-val{font-size:12.5px;font-weight:700;fill:#0f172a;stroke:none}
.arch-lab svg .lmk-cell{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmk-cell.lmk-diag{fill:#cbd5e1}
.arch-lab svg .lmk-cell.lmk-cseen{fill:#dcfce7}
.arch-lab svg .lmk-cell.lmk-cbad{fill:#fee2e2}
.arch-lab svg .lmk-cell.lmk-ccur{stroke:#f59e0b;stroke-width:3}
.arch-lab svg .lmk-hit{cursor:pointer}
.arch-lab svg .lmk-hit:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.arch-lab svg .lmk-core{stroke:none}
.arch-lab .phx-svg text.lmk-cap.lmk-capb{font-size:12.5px;font-weight:800;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №4 «Три коврика». Light floor in both themes. */
.arch-lab .phx-stage.lmr-stage,.arch-lab .phx-stage.lmr-stage .phx-svg{max-height:none}
.arch-lab svg .lmr-floor{fill:#f1e3c8;stroke:none}
.arch-lab svg .lmr-plank{stroke:#e2cfa9;stroke-width:1}
.arch-lab svg .lmr-stain{fill:#a8a29e;stroke:none}
.arch-lab svg .lmr-open{fill:#ef4444;stroke:none;opacity:.85}
.arch-lab svg .lmr-frame{fill:none;stroke:#1f2937;stroke-width:2;stroke-dasharray:7 5}
.arch-lab svg .lmr-rug{stroke-width:2.5;fill-opacity:.62}
.arch-lab svg .lmr-r0{fill:#60a5fa;stroke:#1d4ed8}
.arch-lab svg .lmr-r1{fill:#4ade80;stroke:#15803d}
.arch-lab svg .lmr-r2{fill:#fbbf24;stroke:#b45309}
.arch-lab .phx-svg text.lmr-side{font-size:15px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmr-dim{font-size:13px;font-weight:700;fill:#334155}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №5 «Пятиугольник». Light paper in both themes. */
.arch-lab .phx-stage.lmp-stage,.arch-lab .phx-stage.lmp-stage .phx-svg{max-height:none}
.arch-lab svg .lmp-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmp-abc{fill:#bfdbfe;stroke:none}
.arch-lab svg .lmp-acd{fill:#bbf7d0;stroke:none}
.arch-lab svg .lmp-adf{fill:#fed7aa;stroke:none}
.arch-lab svg .lmp-ahf{fill:#f9a8d4;stroke:none}
.arch-lab svg .lmp-diag{stroke:#475569;stroke-width:1.8}
.arch-lab svg .lmp-thin{stroke:#64748b;stroke-width:1.3;stroke-dasharray:5 4}
.arch-lab svg .lmp-edge{fill:none;stroke:#1f2937;stroke-width:2.6;stroke-linejoin:round}
.arch-lab svg .lmp-edge.lmp-bad{stroke:#b91c1c;stroke-dasharray:8 5}
.arch-lab svg .lmp-par1{stroke:#1d4ed8;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lmp-par2{stroke:#b45309;stroke-width:4;stroke-linecap:round}
.arch-lab svg .lmp-pt{fill:#0f172a;stroke:#fff;stroke-width:1.2}
.arch-lab .phx-svg text.lmp-name{font-size:15px;font-weight:800;font-style:italic;fill:#0f172a}
.arch-lab .phx-svg text.lmp-area{font-size:13px;font-weight:800;fill:#0f172a}
.arch-lab svg .lmp-par2.lmp-par2in{stroke-width:2.6}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №6 «Система со степенями». Light paper in both themes. */
.arch-lab .phx-stage.lms-stage,.arch-lab .phx-stage.lms-stage .phx-svg{max-height:none}
.arch-lab svg .lms-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lms-pane{fill:#fff;stroke:#94a3b8;stroke-width:1.2}
.arch-lab svg .lms-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lms-bis{stroke:#cbd5e1;stroke-width:1.2;stroke-dasharray:3 5}
.arch-lab svg .lms-c1{fill:none;stroke:#1d4ed8;stroke-width:2.4;stroke-linejoin:round}
.arch-lab svg .lms-c2{fill:none;stroke:#fb923c;stroke-width:6.5;stroke-linejoin:round}
.arch-lab svg .lms-diff{stroke:#16a34a;stroke-width:1.8;stroke-dasharray:7 5}
.arch-lab svg .lms-pt{fill:#0f172a;stroke:#fff;stroke-width:2.2}
.arch-lab svg .lms-target{fill:none;stroke:#16a34a;stroke-width:3}
.arch-lab .phx-svg text.lms-num{font-size:11px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lms-it{font-size:14px;font-style:italic;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg text.lms-cap{font-size:13px;font-weight:700;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №7 «Сумма кубов корней». Light paper in both themes. */
.arch-lab .phx-stage.lmc-stage,.arch-lab .phx-stage.lmc-stage .phx-svg{max-height:none}
.arch-lab svg .lmc-bg{fill:#fbfdff;stroke:none}
.arch-lab svg .lmc-pane{fill:#fff;stroke:#cbd5e1;stroke-width:1}
.arch-lab svg .lmc-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab svg .lmc-axis{stroke:#475569;stroke-width:1.6}
.arch-lab svg .lmc-curve{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linejoin:round}
.arch-lab svg .lmc-level{stroke:#b45309;stroke-width:2.6;stroke-dasharray:9 5}
.arch-lab svg .lmc-drop{stroke:#16a34a;stroke-width:1.6;stroke-dasharray:4 4}
.arch-lab svg .lmc-root{fill:#16a34a;stroke:#fff;stroke-width:2}
.arch-lab svg .lmc-bar{stroke-width:1.5}
.arch-lab svg .lmc-b0{fill:#93c5fd;stroke:#1d4ed8}
.arch-lab svg .lmc-b1{fill:#c4b5fd;stroke:#6d28d9}
.arch-lab svg .lmc-b2{fill:#fdba74;stroke:#c2410c}
.arch-lab svg .lmc-bsum{fill:#86efac;stroke:#15803d}
.arch-lab .phx-svg text.lmc-num{font-size:11px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.lmc-cap{font-size:12px;fill:#334155}
.arch-lab .phx-svg text.lmc-cap.lmc-capb{font-size:13px;font-weight:800;fill:#0f172a}
.arch-lab .phx-svg text.lmc-name{font-size:13px;font-weight:800;font-style:italic;fill:#0f172a}
.arch-lab .phx-svg text.lmc-val{font-size:13px;font-weight:700;fill:#0f172a}

/* Popov Academy — «Ломоносов» 2025/26, отборочный этап, 9 класс, №8 «Швабра и ковёр». Light floor in both themes. */
.arch-lab .phx-stage.lmm-stage,.arch-lab .phx-stage.lmm-stage .phx-svg{max-height:none}
.arch-lab svg .lmm-floor{fill:#f1e3c8;stroke:none}
.arch-lab svg .lmm-plank{stroke:#e2cfa9;stroke-width:1}
.arch-lab svg .lmm-carpet{fill:#9f8170;stroke:none}
.arch-lab svg .lmm-clean{fill:#fca5a5;stroke:none}
.arch-lab svg .lmm-edge{fill:none;stroke:#7f1d1d;stroke-width:2.5}
.arch-lab svg .lmm-strip{stroke:#fff;stroke-width:1.4;stroke-dasharray:6 5;opacity:.85}
.arch-lab svg .lmm-mop{fill:#38bdf8;stroke:#0c4a6e;stroke-width:2;fill-opacity:.9}
.arch-lab svg .lmm-plate{fill:#fff;stroke:#cbd5e1;stroke-width:1;opacity:.94}
.arch-lab .phx-svg text.lmm-clock{font-size:14px;font-weight:800;fill:#0f172a;stroke:none}
