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

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

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

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

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

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

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

/* 10.2 2024/25 (ht25-10-2-ruler): the drawing sheet, the wooden two-sided ruler, lines of the steps, rhombi and the triangle */
.arch-lab .phx-stage.y102-stage{max-height:none}
.arch-lab .phx-stage.y102-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y102-paper{fill:#fffefa;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg text.y102-t,.arch-lab .phx-svg text.y102-plab,.arch-lab .phx-svg text.y102-head{fill:#1f2937;stroke:#fffefa;stroke-width:3.5px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y102-plab{font-size:13.5px;font-weight:800}
.arch-lab .phx-svg text.y102-head{font-size:14px;font-weight:800}
.arch-lab .phx-svg .y102-old{stroke:#64748b;stroke-width:1.5}
.arch-lab .phx-svg .y102-new{stroke:#ea580c;stroke-width:2.8}
.arch-lab .phx-svg .y102-tri-l{stroke:#7c3aed;stroke-width:2.2}
.arch-lab .phx-svg .y102-tri{fill:#ddd6fe;fill-opacity:.75;stroke:#6d28d9;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg .y102-rh{fill:#fed7aa;fill-opacity:.55;stroke:#ea580c;stroke-width:1.5}
.arch-lab .phx-svg .y102-ruler{fill:#e7c48f;stroke:#8a5a2b;stroke-width:1.2}
.arch-lab .phx-svg .y102-ruler-edge{stroke:#7c4a25;stroke-width:2.4}
.arch-lab .phx-svg text.y102-rtext{font-size:12px;font-weight:700;fill:#5b3a1a;stroke:none;font-style:italic}
.arch-lab .phx-svg .y102-pt{fill:#1f2937;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .y102-pt.y102-key-pt{fill:#ea580c;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .y102-none{stroke:none}
.arch-lab .phx-svg .y102-pill{fill:#ffffff;stroke:#ea580c;stroke-width:1.6}
.arch-lab .phx-svg text.y102-pillt{font-size:13.5px;font-weight:800;fill:#9a3412;stroke:none}
.arch-lab .phx-svg .y102-h{stroke:#ea580c;stroke-width:2;stroke-dasharray:3 3}
.arch-lab .phx-svg .y102-rangle{fill:none;stroke:#ea580c;stroke-width:2}
.arch-lab .phx-svg.y102-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y102-box{display:grid;gap:10px}
.arch-lab .y102-box[hidden]{display:none}
.arch-lab .phx-svg.y102-key .y102-pt{fill:var(--arch-ink);stroke:var(--arch-surface)}

.arch-lab .phx-svg .y102-lbg{fill:#fffefa;fill-opacity:.94;stroke:none}
.arch-lab .y102-rad{text-decoration:overline;text-decoration-thickness:1.5px}
.arch-lab .y102-root{white-space:nowrap}

/* 10.3 2024/25 (ht25-10-3-bluetriangle): a cork board with push-pins and red / blue threads */
.arch-lab .phx-stage.y103-stage{max-height:none}
.arch-lab .phx-stage.y103-stage .phx-svg{max-height:none;touch-action:none;cursor:pointer}
.arch-lab .phx-svg .y103-frame{fill:#b07a43;stroke:#7c4a25;stroke-width:2}
.arch-lab .phx-svg .y103-cork{fill:#e8c99a;stroke:#9a6a3a;stroke-width:1}
.arch-lab .phx-svg .y103-speck{fill:#b98a55;opacity:.55;stroke:none}
.arch-lab .phx-svg .y103-red{stroke:#dc2626;stroke-width:4.2;stroke-linecap:round}
.arch-lab .phx-svg .y103-blue{stroke:#2563eb;stroke-width:1.8;stroke-linecap:round;stroke-opacity:.85}
.arch-lab .phx-svg .y103-tri{fill:#60a5fa;fill-opacity:.4;stroke:#1d4ed8;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg .y103-burst{fill:#fecaca;stroke:#b91c1c;stroke-width:2.5;stroke-dasharray:3 2}
.arch-lab .phx-svg .y103-burst-c{fill:#b91c1c;stroke:none}
.arch-lab .phx-svg .y103-shadow{fill:#3f2a14;opacity:.3;stroke:none}
.arch-lab .phx-svg .y103-head{stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg .y103-head.y103-h0{fill:#facc15}.arch-lab .phx-svg .y103-head.y103-h1{fill:#a7f3d0}.arch-lab .phx-svg .y103-head.y103-h2{fill:#f9a8d4}.arch-lab .phx-svg .y103-head.y103-h3{fill:#fde68a}
.arch-lab .phx-svg .y103-head.y103-selpin{stroke:#7c3aed;stroke-width:4}
.arch-lab .phx-svg .y103-shine{fill:#ffffff;opacity:.75;stroke:none}
.arch-lab .phx-svg text.y103-num{font-size:13px;font-weight:800;fill:#1f2937;stroke:none;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .y103-group{fill:#ffffff;fill-opacity:.3;stroke:#7c3aed;stroke-width:2.4;stroke-dasharray:8 5}
.arch-lab .phx-svg text.y103-glab{font-size:13.5px;font-weight:800;fill:#5b21b6;stroke:#e8c99a;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg.y103-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg.y103-key .y103-head{fill:#facc15}

/* 10.4 2024/25 (ht25-10-4-trianglecut): triangular grid, the figure of 19 small triangles, measuring tool, three pieces and their turns */
.arch-lab .phx-stage.y104-stage{max-height:none}
.arch-lab .phx-stage.y104-stage .phx-svg{max-height:none;cursor:pointer}
.arch-lab .phx-svg .y104-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg .y104-gl{stroke:#d8cdb4;stroke-width:1;stroke-dasharray:2 3}
.arch-lab .phx-svg .y104-fig{fill:#dbeafe;stroke:#1e3a8a;stroke-width:2.6;stroke-linejoin:round;fill-opacity:.85}
.arch-lab .phx-svg .y104-ghost{fill:none;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:5 4}
.arch-lab .phx-svg .y104-final{fill:none;stroke:#7c3aed;stroke-width:4;stroke-linejoin:round}
.arch-lab .phx-svg .y104-piece{stroke-width:2.2;stroke-linejoin:round;fill-opacity:.9}
.arch-lab .phx-svg .y104-node{fill:#ffffff;stroke:#1e3a8a;stroke-width:1.6}
.arch-lab .phx-svg .y104-node-sel{fill:#7c3aed;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .y104-meas{stroke:#7c3aed;stroke-width:3.4;stroke-linecap:round}
.arch-lab .phx-svg .y104-meas.y104-out{stroke-dasharray:6 4;stroke:#b91c1c}
.arch-lab .phx-svg .y104-cut{stroke:#dc2626;stroke-width:3;stroke-dasharray:8 5}
.arch-lab .phx-svg .y104-arc{fill:none;stroke:#111827;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .y104-centre{fill:#dc2626;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .y104-pill{fill:#ffffff;stroke:#7c3aed;stroke-width:1.6}
.arch-lab .phx-svg text.y104-pillt{font-size:14px;font-weight:800;fill:#5b21b6;stroke:none}
.arch-lab .phx-svg text.y104-t,.arch-lab .phx-svg text.y104-let,.arch-lab .phx-svg text.y104-head,.arch-lab .phx-svg text.y104-count,.arch-lab .phx-svg text.y104-turn{fill:#1f2937;stroke:#fbf7ee;stroke-width:3.5px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y104-let{font-size:15px;font-weight:800;font-style:italic}
.arch-lab .phx-svg text.y104-head{font-size:14px;font-weight:800}
.arch-lab .phx-svg text.y104-count{font-size:14px;font-weight:800;fill:#1e3a8a;stroke:#dbeafe}
.arch-lab .phx-svg text.y104-turn{font-size:14px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg.y104-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y104-play{display:grid;gap:10px}
.arch-lab .y104-play[hidden]{display:none}
.arch-lab .phx-svg.y104-key .y104-arc{stroke:var(--arch-ink)}

.arch-lab .y104-rad{text-decoration:overline;text-decoration-thickness:1.5px}
.arch-lab .y104-root{white-space:nowrap}

/* 10.5 2024/25 (ht25-10-5-stones): cardboard boxes on a circle with pebbles, the unfolding of the positions on a number line */
.arch-lab .phx-stage.y105-stage{max-height:none}
.arch-lab .phx-stage.y105-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y105-floor{fill:#f6f1e7;stroke:#e2d6bd;stroke-width:1}
.arch-lab .phx-svg .y105-ring{fill:none;stroke:#cbbd9c;stroke-width:2;stroke-dasharray:4 6}
.arch-lab .phx-svg .y105-dir{fill:none;stroke:#7c3aed;stroke-width:2.4;marker-end:none}
.arch-lab .phx-svg text.y105-t,.arch-lab .phx-svg text.y105-dirt,.arch-lab .phx-svg text.y105-lab,.arch-lab .phx-svg text.y105-num,.arch-lab .phx-svg text.y105-boxn,.arch-lab .phx-svg text.y105-sum,.arch-lab .phx-svg text.y105-more{fill:#1f2937;stroke:#f6f1e7;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y105-dirt{font-size:13px;font-weight:700;fill:#6d28d9}
.arch-lab .phx-svg .y105-box{fill:#d6a86b;stroke:#7c4a25;stroke-width:1.6}
.arch-lab .phx-svg .y105-box.y105-start{fill:#cbd5e1;stroke:#334155}
.arch-lab .phx-svg .y105-box.y105-goal{fill:#bbf7d0;stroke:#15803d;stroke-width:2.4}
.arch-lab .phx-svg .y105-flap{fill:#e8c18f;stroke:#7c4a25;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .y105-tape{stroke:#b8864d;stroke-width:2}
.arch-lab .phx-svg .y105-shadow{fill:#3f2a14;opacity:.18;stroke:none}
.arch-lab .phx-svg .y105-stone{fill:#9ca3af;stroke:#4b5563;stroke-width:1}
.arch-lab .phx-svg text.y105-count{font-size:12px;font-weight:800;fill:#3f2a14;stroke:none}
.arch-lab .phx-svg .y105-seen{fill:#86efac;fill-opacity:.55;stroke:#16a34a;stroke-width:2.4}
.arch-lab .phx-svg text.y105-lab{font-size:13px;font-weight:800}
.arch-lab .phx-svg text.y105-lab-goal{fill:#15803d}
.arch-lab .phx-svg text.y105-lab-start{fill:#334155}
.arch-lab .phx-svg .y105-axis{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y105-tick{stroke:#1f2937;stroke-width:1.2}
.arch-lab .phx-svg text.y105-num{font-size:12px;font-weight:700}
.arch-lab .phx-svg text.y105-boxn{font-size:11px;fill:#7c4a25}
.arch-lab .phx-svg text.y105-boxn-goal{fill:#15803d;font-weight:800}
.arch-lab .phx-svg .y105-dot{stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .y105-ring-cw{fill:none;stroke:#7c3aed;stroke-width:2.4}
.arch-lab .phx-svg .y105-ring-ccw{fill:none;stroke:#ea580c;stroke-width:2.4}
.arch-lab .phx-svg .y105-ring-tr{fill:none;stroke:#16a34a;stroke-width:2.4}
.arch-lab .phx-svg text.y105-sum{font-size:15px;font-weight:800;fill:#4c1d95}
.arch-lab .phx-svg text.y105-more{font-size:12px;font-weight:800}
.arch-lab .phx-svg.y105-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y105-sel{display:flex;flex-wrap:wrap;gap:10px}
.arch-lab .y105-sel label{display:flex;align-items:center;gap:6px}
.arch-lab .phx-svg.y105-key .y105-axis{stroke:var(--arch-ink)}
.arch-lab .phx-svg text.y105-boxnum{font-size:13px;font-weight:800;fill:#3f2a14;stroke:none;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .y105-cpill{fill:#ffffff;stroke:#7c4a25;stroke-width:1.2}

/* touch target: the dropdowns are at least 44 px high on tablets and phones (coordinator, device matrix) */
[data-arch-lab="ht25-10-5-stones"] select{min-height:44px;font-size:16px}
[data-arch-lab="ht25-10-5-stones"] select{-webkit-appearance:none;appearance:none;min-height:44px!important;padding:8px 28px 8px 12px;border:1px solid var(--arch-line,#94a3b8);border-radius:10px;background:var(--arch-surface,#fff) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%2364748b%27 stroke-width=%272%27/%3E%3C/svg%3E") no-repeat right 10px center;color:inherit}

/* 10.6 2024/25 (ht25-10-6-iterate): the machine g on a graph with the cobweb, the four special points with the arrows of g and f */
.arch-lab .phx-stage.y106-stage{max-height:none}
.arch-lab .phx-stage.y106-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y106-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .y106-stage .phx-svg .phx-tick,.arch-lab .y106-stage .phx-svg .phx-axis-label{fill:#1f2937;stroke:#fbf7ee}
.arch-lab .y106-stage .phx-svg .phx-grid{stroke:#e2d8c3}
.arch-lab .y106-stage .phx-svg .phx-axis{stroke:#475569}
.arch-lab .phx-svg .y106-par{fill:none;stroke:#2563eb;stroke-width:2.8}
.arch-lab .phx-svg .y106-diag{stroke:#475569;stroke-width:1.8;stroke-dasharray:7 5}
.arch-lab .phx-svg .y106-web{fill:none;stroke:#7c3aed;stroke-width:2;stroke-linejoin:round}
.arch-lab .phx-svg .y106-cyc{fill:#fed7aa;fill-opacity:.35;stroke:#ea580c;stroke-width:2.4;stroke-dasharray:6 4}
.arch-lab .phx-svg .y106-start{fill:#7c3aed;stroke:#fff;stroke-width:1.6}
.arch-lab .phx-svg .y106-end{fill:#fff;stroke:#7c3aed;stroke-width:2.4}
.arch-lab .phx-svg .y106-fix{fill:#16a34a;stroke:#fff;stroke-width:1.6}
.arch-lab .phx-svg .y106-cp{fill:#ea580c;stroke:#fff;stroke-width:1.6}
.arch-lab .phx-svg text.y106-t,.arch-lab .phx-svg text.y106-lab,.arch-lab .phx-svg text.y106-head,.arch-lab .phx-svg text.y106-glab,.arch-lab .phx-svg text.y106-flab{fill:#1f2937;stroke:#fbf7ee;stroke-width:3.5px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y106-lab{font-size:13.5px;font-weight:800}
.arch-lab .phx-svg text.y106-lab-fix{fill:#15803d}
.arch-lab .phx-svg text.y106-lab-cyc{fill:#c2410c}
.arch-lab .phx-svg text.y106-lab-g{fill:#1d4ed8;font-size:16px;font-style:italic}
.arch-lab .phx-svg text.y106-head{font-size:14px;font-weight:800;fill:#1d4ed8}
.arch-lab .phx-svg text.y106-glab{font-size:15px;font-weight:800;fill:#475569}
.arch-lab .phx-svg text.y106-flab{font-size:15px;font-weight:800;fill:#6d28d9}
.arch-lab .phx-svg .y106-card{fill:#ffffff;stroke:#334155;stroke-width:1.8}
.arch-lab .phx-svg .y106-card-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.6}
.arch-lab .phx-svg .y106-shadow{fill:#0f172a;opacity:.12;stroke:none}
.arch-lab .phx-svg text.y106-cardt{font-size:15px;font-weight:800;fill:#1f2937;stroke:none;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .y106-garr{fill:none;stroke:#64748b;stroke-width:2}
.arch-lab .phx-svg .y106-garrh{fill:none;stroke:#64748b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .y106-farr{fill:none;stroke:#7c3aed;stroke-width:2.6}
.arch-lab .phx-svg .y106-farr.y106-forced{stroke-dasharray:6 4}
.arch-lab .phx-svg .y106-farr.y106-bad{stroke:#dc2626}
.arch-lab .phx-svg .y106-farrh{fill:none;stroke:#7c3aed;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg.y106-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y106-sels{display:flex;flex-wrap:wrap;gap:8px 14px}
.arch-lab .y106-sels label{display:flex;align-items:center;gap:6px}
.arch-lab .phx-svg.y106-key .y106-diag{stroke:var(--arch-ink)}

/* touch target: the dropdowns are at least 44 px high on tablets and phones (coordinator, device matrix) */
[data-arch-lab="ht25-10-6-iterate"] select{min-height:44px;font-size:16px}
[data-arch-lab="ht25-10-6-iterate"] select{-webkit-appearance:none;appearance:none;min-height:44px!important;padding:8px 28px 8px 12px;border:1px solid var(--arch-line,#94a3b8);border-radius:10px;background:var(--arch-surface,#fff) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%278%27%3E%3Cpath d=%27M1 1l5 5 5-5%27 fill=%27none%27 stroke=%27%2364748b%27 stroke-width=%272%27/%3E%3C/svg%3E") no-repeat right 10px center;color:inherit}

.arch-lab .phx-svg .y106-pill{fill:#fbf7ee;stroke-width:1.2}
.arch-lab .phx-svg .y106-pill.y106-lab-fix{stroke:#15803d}
.arch-lab .phx-svg .y106-pill.y106-lab-cyc{stroke:#c2410c}
.arch-lab .y106-rad{text-decoration:overline;text-decoration-thickness:1.5px}
.arch-lab .y106-root{white-space:nowrap}

/* «Высшая проба» 2024/25, 11 класс (ht25-11-*): base rules of the six labs live here (the first of the ht25-11-* files,
   assets.mjs joins the files in name order). The scenes are light pictures in both themes; text.hq-t is dark with a light halo. */
.arch-lab .phx-svg text.hq-t{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14px}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.hq-stage{max-height:none}.arch-lab .phx-stage.hq-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg.hq-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .hq-note{margin:0;padding:8px 12px;border-radius:10px;background:var(--arch-surface);border:1px solid var(--arch-soft-line);font-size:15px}
.arch-lab .hq-note[hidden]{display:none}
.arch-lab .hq-box{display:grid;gap:10px}
.arch-lab .hq-box[hidden]{display:none}
.arch-lab .hq-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-size:.88em}
.arch-lab .hq-frac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .15em}
.arch-lab .hq-frac>span:last-child{padding:0 .15em}
.arch-lab .phx-svg .hq1-wall{fill:#eef2f7}
.arch-lab .phx-svg .hq1-floor{fill:#e2e8f0}
.arch-lab .phx-svg .hq1-table{fill:#c08a4e;stroke:#7c4a1e;stroke-width:1.5}
.arch-lab .phx-svg .hq1-table-side{fill:#8a5a2b}
.arch-lab .phx-svg .hq1-table-ring{fill:none;stroke:#e0b07a;stroke-width:1.5;opacity:.8}
.arch-lab .phx-svg .hq1-face{fill:#7dd3fc;stroke:none}
.arch-lab .phx-svg .hq1-face1{fill:#3b82f6;stroke:none}
.arch-lab .phx-svg .hq1-face2{fill:#10b981;stroke:none}
.arch-lab .phx-svg .hq1-edge{stroke:#0f3d5e;stroke-width:2.2;stroke-linecap:round}
.arch-lab .phx-svg .hq1-edge-back{stroke:#0f3d5e;stroke-width:1.4;stroke-dasharray:5 4;opacity:.7}
.arch-lab .phx-svg .hq1-edge-sel{stroke:#ea580c;stroke-width:5;stroke-linecap:round}
.arch-lab .phx-svg .hq1-path1{stroke:#1d4ed8;stroke-width:4;stroke-linecap:round}
.arch-lab .phx-svg .hq1-path2{stroke:#047857;stroke-width:4;stroke-linecap:round;stroke-dasharray:9 4}
.arch-lab .phx-svg .hq1-vertex{fill:#334155;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg text.hq1-letter{font-size:15px;font-weight:800;font-style:italic}
.arch-lab .phx-svg .hq1-pill{fill:#ffffff;stroke:#64748b;stroke-width:1}
.arch-lab .phx-svg .hq1-pill-sel{fill:#ffedd5;stroke:#ea580c;stroke-width:2}
.arch-lab .phx-svg .hq1-pill1{fill:#dbeafe;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab .phx-svg .hq1-pill2{fill:#d1fae5;stroke:#047857;stroke-width:1.5}
.arch-lab .phx-svg text.hq1-len{font-size:13px;font-weight:700;fill:#1f2937;font-variant-numeric:tabular-nums;stroke:none}
.arch-lab .phx-svg .hq1-board{fill:#ffffff;stroke:#94a3b8;stroke-width:1;opacity:.94}
.arch-lab .phx-svg text.hq1-sum{font-size:16px;font-weight:800}
.arch-lab .phx-svg text.hq1-small{font-size:14px}
.arch-lab .phx-svg .hq1-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .hq1-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .hq1-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg .hq1-bound{stroke:#b91c1c;stroke-width:2;stroke-dasharray:7 5}
.arch-lab .phx-svg text.hq1-bound-t{font-size:13px;font-weight:700;fill:#b91c1c}
.arch-lab .phx-svg text.hq1-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.hq1-axis-t{font-size:13px;font-weight:700}
.arch-lab .phx-svg .hq1-curve{fill:none;stroke:#1d4ed8;stroke-width:2.6;stroke-linejoin:round}
.arch-lab .phx-svg .hq1-cur{fill:#ea580c;stroke:#ffffff;stroke-width:2}
.arch-lab .hq-note:empty{display:none}

/* «Высшая проба» 2024/25, 11 класс, задача 2 (ht25-11-2-power2025): the board of coefficient tiles and the strip of powers. */
.arch-lab .hq-box-h{margin:0;font-weight:700}
.arch-lab .phx-svg .hq2-bg{fill:#f5f1e6}
.arch-lab .phx-svg .hq2-board{fill:#efe6cf;stroke:#b8a272;stroke-width:1.5}
.arch-lab .phx-svg .hq2-tile{fill:#fffdf6;stroke:#a8956a;stroke-width:1.3}
.arch-lab .phx-svg .hq2-tile-neg{fill:#fee2e2;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg .hq2-tile-sel{fill:none;stroke:#7c3aed;stroke-width:3}
.arch-lab .phx-svg .hq2-tile-sh{fill:#0f172a;opacity:.14}
.arch-lab .phx-svg text.hq2-pow{font-size:12px;font-weight:700;fill:#6b5a35}
.arch-lab .phx-svg text.hq2-num{font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.hq2-numneg{fill:#991b1b}
.arch-lab .phx-svg text.hq2-head{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.hq2-sub{font-size:14px;font-weight:700}
.arch-lab .phx-svg text.hq2-bad{fill:#b91c1c}
.arch-lab .phx-svg text.hq2-good{fill:#047857}
.arch-lab .phx-svg .hq2-chip-bad{fill:#fecaca;stroke:#b91c1c;stroke-width:1.3}
.arch-lab .phx-svg .hq2-chip-ok{fill:#bbf7d0;stroke:#047857;stroke-width:1.3}
.arch-lab .phx-svg .hq2-chip-cur{fill:none;stroke:#7c3aed;stroke-width:3}
.arch-lab .phx-svg text.hq2-chip-t{font-size:11px;font-weight:700;fill:#1f2937;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}

/* «Высшая проба» 2024/25, 11 класс, задача 3 (ht25-11-3-hexagon): squared paper, the hexagon and the tracing paper. */
.arch-lab .phx-svg .hq3-sheet{fill:#fdfcf7}
.arch-lab .phx-svg .hq3-grid{stroke:#dbe7f3;stroke-width:1}
.arch-lab .phx-svg .hq3-hex{fill:#e0ecff;stroke:none}
.arch-lab .phx-svg .hq3-hex-line{fill:none;stroke:#1f2937;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .hq3-angA{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.2;opacity:.85}
.arch-lab .phx-svg .hq3-angB{fill:#86efac;stroke:#047857;stroke-width:1.2;opacity:.85}
.arch-lab .phx-svg .hq3-tick{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .hq3-tick-o{stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg .hq3-dot{fill:#1f2937;stroke:#ffffff;stroke-width:1.2}
.arch-lab .phx-svg text.hq3-letter{font-size:16px;font-weight:800;font-style:italic}
.arch-lab .phx-svg text.hq3-prime{fill:#7c3aed}
.arch-lab .phx-svg text.hq3-ang-t{font-size:13px;font-weight:700;fill:#334155}
.arch-lab .phx-svg .hq3-ghost{fill:none;stroke:#a16207;stroke-width:1.2;stroke-dasharray:5 4}
.arch-lab .phx-svg .hq3-paper{fill:#fde68a;fill-opacity:.55;stroke:#a16207;stroke-width:2;stroke-linejoin:round}
.arch-lab .phx-svg .hq3-paper-edge{fill:#fbbf24;fill-opacity:.8}
.arch-lab .phx-svg .hq3-par{fill:#bbf7d0;fill-opacity:.7;stroke:#047857;stroke-width:1.5;stroke-dasharray:6 4}
.arch-lab .phx-svg .hq3-cf{stroke:#ea580c;stroke-width:3.5;stroke-linecap:round}
.arch-lab .phx-svg .hq3-cf2{stroke-dasharray:8 5}
.arch-lab .phx-svg .hq3-long{stroke:#7c3aed;stroke-width:3;stroke-linecap:round;opacity:.85}
.arch-lab .phx-svg .hq3-board{fill:#ffffff;stroke:#94a3b8;stroke-width:1;opacity:.95}
.arch-lab .phx-svg text.hq3-sum{font-size:16px;font-weight:800}
.arch-lab .phx-svg text.hq3-small{font-size:14px}
.arch-lab .phx-svg text.hq3-good{fill:#047857}
.arch-lab .phx-svg text.hq3-warn{font-size:15px;font-weight:800;fill:#b91c1c}

/* «Высшая проба» 2024/25, 11 класс, задача 4 (ht25-11-4-trains): the depot and the map of the trains. */
.arch-lab .phx-svg .hq4-sky{fill:#eaf4fb}
.arch-lab .phx-svg .hq4-rail{fill:#6b7280}
.arch-lab .phx-svg .hq4-sleeper{fill:#92400e;opacity:.8}
.arch-lab .phx-svg .hq4-loco{fill:#1e3a5f;stroke:#0f172a;stroke-width:1}
.arch-lab .phx-svg .hq4-loco-dark{fill:#0f172a}
.arch-lab .phx-svg .hq4-win{fill:#dbeafe;stroke:#334155;stroke-width:.8}
.arch-lab .phx-svg .hq4-wheel{fill:#334155;stroke:#0f172a;stroke-width:1}
.arch-lab .phx-svg .hq4-hub{fill:#cbd5e1}
.arch-lab .phx-svg .hq4-hook{stroke:#334155;stroke-width:2}
.arch-lab .phx-svg .hq4-wag-r{fill:#dc2626;stroke:#7f1d1d;stroke-width:1.2}
.arch-lab .phx-svg .hq4-wag-y{fill:#facc15;stroke:#a16207;stroke-width:1.2}
.arch-lab .phx-svg text.hq4-num{font-size:12px;font-weight:700}
.arch-lab .phx-svg text.hq4-small{font-size:14px}
.arch-lab .phx-svg text.hq4-bold{font-weight:800}
.arch-lab .phx-svg text.hq4-good{fill:#047857;font-weight:800}
.arch-lab .phx-svg text.hq4-grey{fill:#475569}
.arch-lab .phx-svg text.hq4-axis{font-size:13px;font-weight:700}
.arch-lab .phx-svg .hq4-map{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .hq4-grid{stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg .hq4-diag{stroke:#b91c1c;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab .phx-svg .hq4-node-long{fill:#dbeafe;stroke:#1d4ed8;stroke-width:1.3}
.arch-lab .phx-svg .hq4-node-short{fill:#e5e7eb;stroke:#6b7280;stroke-width:1.1}
.arch-lab .phx-svg .hq4-node-here{fill:#fde68a;stroke:#b45309;stroke-width:2.5}
.arch-lab .phx-svg text.hq4-node-t{font-weight:700;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .hq4-path{fill:none;stroke:#ea580c;stroke-width:4;stroke-linejoin:round;stroke-linecap:round;opacity:.85}
.arch-lab .phx-svg .hq4-stick{fill:#ede9fe;stroke:#7c3aed;stroke-width:1.5}
.arch-lab .phx-svg .hq4-stick-end{fill:#c4b5fd;stroke:#7c3aed;stroke-width:2.5}
.arch-lab .hq4-red{border-color:#dc2626}
.arch-lab .hq4-yel{border-color:#ca8a04}
.arch-lab .phx-svg .hq4-node-path{fill:none;stroke:#ea580c;stroke-width:3}
.arch-lab .phx-svg .hq4-paperbg{fill:#f8fafc;stroke:none}

/* «Высшая проба» 2024/25, 11 класс, задача 5 (ht25-11-5-chips): Sasha, Gosha, the wooden board and the graph of Σd². */
.arch-lab .phx-svg .hq5-room{fill:#eef2f7}
.arch-lab .phx-svg .hq5-floor{fill:#e7dccb}
.arch-lab .phx-svg text.hq5-name{font-size:15px;font-weight:700}
.arch-lab .phx-svg text.hq5-name-on{fill:#b45309;font-weight:900}
.arch-lab .phx-svg .hq5-score{fill:#fffbeb;stroke:#b45309;stroke-width:2}
.arch-lab .phx-svg text.hq5-big{font-size:20px;font-weight:900;fill:#1f2937}
.arch-lab .phx-svg text.hq5-small{font-size:14px;fill:#334155}
.arch-lab .phx-svg text.hq5-up{fill:#047857;font-weight:800}
.arch-lab .phx-svg text.hq5-turn{font-size:15px;font-weight:800;fill:#b45309}
.arch-lab .phx-svg .hq5-frame{fill:#8a5a2b;stroke:#5b3a1a;stroke-width:2}
.arch-lab .phx-svg .hq5-cell-a{fill:#f6e7c8}
.arch-lab .phx-svg .hq5-cell-b{fill:#dfe9f5}
.arch-lab .phx-svg .hq5-cell-c{fill:#e9dcf3}
.arch-lab .phx-svg .hq5-cellline{fill:none;stroke:#c8b48c;stroke-width:.8}
.arch-lab .phx-svg text.hq5-edge-t{font-weight:800;fill:#fff7ed;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;stroke:none}
.arch-lab .phx-svg .hq5-target{fill:#86efac;fill-opacity:.6;stroke:#047857;stroke-width:2}
.arch-lab .phx-svg .hq5-rectopt{fill:none;stroke:#7c3aed;stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab .phx-svg .hq5-lastrect{fill:#c4b5fd;fill-opacity:.25;stroke:#7c3aed;stroke-width:2.5}
.arch-lab .phx-svg .hq5-trail{stroke:#047857;stroke-width:3;stroke-dasharray:6 4;stroke-linecap:round}
.arch-lab .phx-svg .hq5-shadow{fill:#0f172a;opacity:.25}
.arch-lab .phx-svg .hq5-chip{fill:#b91c1c;stroke:#7f1d1d;stroke-width:1.5}
.arch-lab .phx-svg .hq5-chip-sel{stroke:#facc15;stroke-width:4}
.arch-lab .phx-svg .hq5-chip-ring{fill:none;stroke:#fca5a5;stroke-width:1.5;opacity:.8}
.arch-lab .phx-svg text.hq5-chip-t{font-weight:900;fill:#ffffff;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;stroke:none}
.arch-lab .phx-svg .hq5-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .hq5-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .hq5-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.hq5-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.hq5-axis-t{font-size:13px;font-weight:700}
.arch-lab .phx-svg .hq5-curve{fill:none;stroke:#1d4ed8;stroke-width:2.6;stroke-linejoin:round}
.arch-lab .phx-svg .hq5-cur{fill:#ea580c;stroke:#ffffff;stroke-width:2}

/* «Высшая проба» 2024/25, 11 класс, задача 6 (ht25-11-6-rectsets): the carpenter's table with the spiral planks. */
.arch-lab .phx-svg .hq6-table{fill:#f3ead8}
.arch-lab .phx-svg text.hq6-small{font-size:14px;font-weight:700;fill:#5b4423}
.arch-lab .phx-svg text.hq6-margin{font-size:13px;font-weight:700;fill:#5b4423}
.arch-lab .phx-svg .hq6-frame{fill:#7c4a1e;stroke:#5b3a1a;stroke-width:1.5}
.arch-lab .phx-svg .hq6-shadow{fill:#0f172a;opacity:.18}
.arch-lab .phx-svg .hq6-plank{stroke:#5b3a1a;stroke-width:1.4;fill-opacity:.85}
.arch-lab .phx-svg .hq6-on{stroke:#1e1b4b;stroke-width:4;fill-opacity:1}
.arch-lab .phx-svg .hq6-grain{stroke:#5b3a1a;stroke-width:1;opacity:.25}
.arch-lab .phx-svg .hq6-badge{fill:#ffffff;stroke:#5b3a1a;stroke-width:1.2}
.arch-lab .phx-svg text.hq6-badge-t{font-size:13px;font-weight:800;fill:#1f2937;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.hq6-badge-t2{font-size:13px;font-weight:800;fill:#1f2937;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .hq6-spiral{fill:none;stroke:#dc2626;stroke-width:2.5;stroke-linejoin:round;opacity:.75}
.arch-lab .phx-svg .hq6-cross{stroke:#dc2626;stroke-width:5;stroke-linecap:round}
.arch-lab .phx-svg text.hq6-res{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.hq6-good{fill:#047857}
.arch-lab .phx-svg text.hq6-bad{fill:#b91c1c}

/* «Высшая проба» 2024/25, 7 класс, задача 1 (ht25-7-1-books): a shelf with stacks of books on a light wall (fixed colours in
   both themes), a wooden ruler, −/+ for the numbers of thick books under the picture. */
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.y71-stage{max-height:none}.arch-lab .phx-stage.y71-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .y71-wall{fill:#f7f0e3;stroke:none}
.arch-lab .phx-svg text.y71-t{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round;font-size:13px}
.arch-lab .phx-svg text.y71-h{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.y71-ok{fill:#047857;font-weight:800}
.arch-lab .phx-svg text.y71-bad{fill:#b91c1c}
.arch-lab .phx-svg text.y71-q{fill:#7c3aed;font-weight:800}
.arch-lab .phx-svg text.y71-under{font-size:12.5px;font-weight:600}
.arch-lab .phx-svg text.y71-need{fill:#475569;font-weight:500}
.arch-lab .phx-svg .y71-ruler{fill:#fde68a;stroke:#a16207;stroke-width:1.2}
.arch-lab .phx-svg .y71-tick{stroke:#713f12;stroke-width:1}
.arch-lab .phx-svg text.y71-rnum{font-size:12px;font-weight:700;fill:#713f12;stroke:none}
.arch-lab .phx-svg text.y71-runit{font-size:12px}
.arch-lab .phx-svg .y71-shelf{fill:#b07a43;stroke:#7c4a25;stroke-width:1.2}
.arch-lab .phx-svg .y71-shelf-edge{fill:#8a5a2b;stroke:none}
.arch-lab .phx-svg .y71-divider{stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:5 5}
.arch-lab .phx-svg .y71-pages{fill:#fffbeb;stroke:#a8a29e;stroke-width:.8}
.arch-lab .phx-svg .y71-cover{stroke:#1f2937;stroke-width:.8;filter:brightness(.8)}
.arch-lab .phx-svg .y71-spine{stroke:#1f2937;stroke-width:.9}
.arch-lab .phx-svg .y71-band{fill:#ffffff;fill-opacity:.35;stroke:none}
.arch-lab .phx-svg .y71-add{fill:#f97316;fill-opacity:.85;stroke:#9a3412;stroke-width:1;stroke-dasharray:3 2}
.arch-lab .phx-svg text.y71-num{font-size:12.5px;font-weight:800;fill:#ffffff;stroke:none}
.arch-lab .phx-svg text.y71-num-dark{fill:#1f2937}
.arch-lab .phx-svg text.y71-num-thin{font-size:12px}
.arch-lab .phx-svg text.y71-num-add{fill:#ffffff;stroke:#9a3412;stroke-width:2.5px;paint-order:stroke}
.arch-lab .phx-svg .y71-key-thick{fill:#1d4ed8;stroke:#1f2937;stroke-width:.8}
.arch-lab .phx-svg .y71-key-thin{fill:#93c5fd;stroke:#1f2937;stroke-width:.8}
.arch-lab .phx-svg.y71-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg.y71-key text.y71-t{font-size:18px}
.arch-lab .y71-kbox{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}
.arch-lab .y71-kitem{display:grid;gap:4px;padding:6px 10px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .y71-kname{font-weight:600;color:var(--arch-label);font-size:15px}
.arch-lab .y71-krow{display:flex;align-items:center;gap:10px}
.arch-lab .y71-kbtn{min-width:48px;min-height:44px;font-size:22px;font-weight:700}
.arch-lab .y71-kval{min-width:2ch;text-align:center;font-size:22px;font-weight:800;color:var(--arch-ink);font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .y71-box{fill:#d6a86a;stroke:#7c4a25;stroke-width:1.2}
.arch-lab .phx-svg .y71-box-top{fill:#e7c08a;stroke:#7c4a25;stroke-width:1}
.arch-lab .phx-svg .y71-box-side{fill:#b8874c;stroke:#7c4a25;stroke-width:1}
.arch-lab .phx-svg .y71-tape{fill:#f5e6c8;fill-opacity:.85;stroke:none}
.arch-lab .phx-svg text.y71-qbig{font-size:40px;font-weight:800;fill:#7c3aed;stroke:#ffffff;stroke-width:3px;paint-order:stroke}

/* 7.2 (ht25-7-2-harefox): a forest meadow with seven glades, paths, a hare and a fox */
[data-arch-lab="ht25-7-2-harefox"] .phx-stage{max-height:none}
[data-arch-lab="ht25-7-2-harefox"] .phx-stage .phx-svg{max-height:none;touch-action:manipulation}
.arch-lab .phx-svg .y72-meadow{fill:#d9efc4;stroke:#9cc983;stroke-width:1.5}
.arch-lab .phx-svg .y72-path-edge{stroke:#a87a46;stroke-width:13;stroke-linecap:round}
.arch-lab .phx-svg .y72-path{stroke:#e7c993;stroke-width:8;stroke-linecap:round;stroke-dasharray:2 7}
.arch-lab .phx-svg .y72-ring-path{stroke:#16a34a;stroke-width:4;stroke-linecap:round;stroke-dasharray:10 6;opacity:.9;pointer-events:none}
.arch-lab .phx-svg .y72-glade{fill:#a8d88a;stroke:#5f9d4b;stroke-width:2}
.arch-lab .phx-svg .y72-glade-shadow{fill:#6b9e52;opacity:.35}
.arch-lab .phx-svg .y72-tuft{fill:none;stroke:#4d8a3a;stroke-width:1.4;stroke-linejoin:round;pointer-events:none}
.arch-lab .phx-svg .y72-flower{fill:#fde047;stroke:#ca8a04;stroke-width:.8;pointer-events:none}
.arch-lab .phx-svg .y72-flower-b{fill:#f9a8d4;stroke:#be185d;stroke-width:.8;pointer-events:none}
.arch-lab .phx-svg .y72-can{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-dasharray:7 5;pointer-events:none}
.arch-lab .phx-svg .y72-ring{fill:#ffffff;fill-opacity:.55;stroke:#16a34a;stroke-width:3}
.arch-lab .phx-svg .y72-ring-key{fill:#ffffff;fill-opacity:.55;stroke:#16a34a;stroke-width:2.5}
.arch-lab .phx-svg .y72-hit{cursor:pointer}
.arch-lab .phx-svg .y72-hit:focus-visible{outline:none}
.arch-lab .phx-svg .y72-hit:focus-visible .y72-glade{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .y72-post{stroke:#7c4a25;stroke-width:3}
.arch-lab .phx-svg .y72-sign{fill:#fef3c7;stroke:#7c4a25;stroke-width:1.5}
.arch-lab .phx-svg text.y72-sign-t{font-size:14px;font-weight:800;fill:#5b3a12;stroke:none}
.arch-lab .phx-svg .y72-tree{pointer-events:none}
.arch-lab .phx-svg .y72-trunk{fill:#8a5a2b;stroke:#5b3a12;stroke-width:1}
.arch-lab .phx-svg .y72-crown{fill:#4f9a45;stroke:#2f6b2a;stroke-width:1.2}
.arch-lab .phx-svg .y72-crown-hi{fill:#7cc46a;stroke:none}
.arch-lab .phx-svg .y72-animal{pointer-events:none}
.arch-lab .phx-svg .y72-shadow{fill:#1f2937;opacity:.18;stroke:none}
.arch-lab .phx-svg .y72-hare{fill:#c9b79c;stroke:#6b5a43;stroke-width:1.4}
.arch-lab .phx-svg .y72-hare-belly{fill:#efe6d6;stroke:none}
.arch-lab .phx-svg .y72-ear-in{fill:#f3b4c0;stroke:none}
.arch-lab .phx-svg .y72-tail{fill:#ffffff;stroke:#9ca3af;stroke-width:1}
.arch-lab .phx-svg .y72-fox{fill:#ea7a2b;stroke:#8a3b0d;stroke-width:1.4}
.arch-lab .phx-svg .y72-white{fill:#fff7ed;stroke:none}
.arch-lab .phx-svg .y72-ear-dark{fill:#3f2a1a;stroke:none}
.arch-lab .phx-svg .y72-paw{fill:#3f2a1a;stroke:none}
.arch-lab .phx-svg .y72-eye{fill:#111827;stroke:none}
.arch-lab .phx-svg .y72-glint{fill:#ffffff;stroke:none}
.arch-lab .phx-svg .y72-nose{fill:#1f2937;stroke:none}
.arch-lab .phx-svg .y72-whisk{fill:none;stroke:#6b5a43;stroke-width:.8}
.arch-lab .phx-svg .y72-pp{fill:#b91c1c;stroke:#ffffff;stroke-width:.8;opacity:.85}
.arch-lab .phx-svg .y72-pawprint{pointer-events:none}
.arch-lab .phx-svg .y72-tag-bg{fill:#fff7ed;stroke:#c2410c;stroke-width:1.5}
.arch-lab .phx-svg text.y72-tag-t{font-size:13px;font-weight:700;fill:#9a3412;stroke:none}
.arch-lab .phx-svg .y72-burst-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg .y72-burst-good{fill:#dcfce7;stroke:#047857;stroke-width:2}
.arch-lab .phx-svg text.y72-burst-t{font-size:15px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg.y72-key{display:inline-block;width:34px;height:26px;flex:0 0 34px}
.arch-lab .y72-log{margin:0;padding-left:1.4em;font-size:14px;color:var(--arch-muted);display:grid;gap:2px}
.arch-lab .y72-roles .arch-toggle{flex-wrap:wrap}
.arch-lab .phx-svg text.y72-tag-end{fill:#1f2937}

/* 7.3 (ht25-7-3-lucky): a fraction factory — three paper cards on a belt, a ruler 0…1, a shelf of found fractions, divisors */
.arch-lab .phx-stage.y73-stage{max-height:none}
.arch-lab .phx-stage.y73-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y73-card{fill:#fffdf7;stroke:#c9b98f;stroke-width:1.5}
.arch-lab .phx-svg .y73-card-ok{fill:#ecfdf5;stroke:#047857;stroke-width:2.5}
.arch-lab .phx-svg .y73-card-stripe{fill:#e9dcb8;stroke:none}
.arch-lab .phx-svg .y73-shadow{fill:#0f172a;opacity:.14;stroke:none}
.arch-lab .phx-svg .y73-belt{fill:#64748b;stroke:#334155;stroke-width:1.2}
.arch-lab .phx-svg .y73-roller{fill:#94a3b8;stroke:#334155;stroke-width:1}
.arch-lab .phx-svg .y73-arrow{fill:none;stroke:var(--arch-fig-line);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg text.y73-ft{fill:#1f2937;stroke:none;font-weight:700;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .y73-bar{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y73-strike{stroke:#dc2626;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg text.y73-small{fill:#1f2937;stroke:none;font-size:14px;font-weight:600}
.arch-lab .phx-svg text.y73-small-bad{fill:#b91c1c}
.arch-lab .phx-svg text.y73-cap{font-size:13px;fill:var(--arch-muted);font-weight:600}
.arch-lab .phx-svg .y73-stamp-ok{fill:#047857;stroke:#065f46;stroke-width:1}
.arch-lab .phx-svg .y73-stamp-no{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg text.y73-stamp-t{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg .y73-stamp-ok+text.y73-stamp-t{fill:#ffffff}
.arch-lab .phx-svg text.y73-stamp-tight{font-size:12px}
.arch-lab .phx-svg .y73-ruler{stroke:var(--arch-fig-line);stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .y73-tick{stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg text.y73-tl{font-size:14px;fill:var(--arch-ink);font-weight:600}
.arch-lab .phx-svg .y73-bar-ink{stroke:var(--arch-fig-line);stroke-width:1.5}
.arch-lab .phx-svg .y73-found{stroke:#16a34a;stroke-width:2.5;stroke-linecap:round}
.arch-lab .phx-svg .y73-pointer{fill:#f97316;stroke:#9a3412;stroke-width:1.2}
.arch-lab .phx-svg.y73-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y73-hfrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums}
.arch-lab .y73-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .y73-hfrac>span:last-child{padding:0 .2em}
.arch-lab .y73-shelf,.arch-lab .y73-divs{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--p25-paper)}
.arch-lab .y73-shelf-head{margin:0;font-weight:600;color:var(--arch-label);font-size:15px}
.arch-lab .y73-shelf-row{display:flex;flex-wrap:wrap;gap:8px}
.arch-lab .y73-chip{display:inline-flex;align-items:center;gap:4px;min-height:52px;padding:4px 10px;border-radius:12px;border:1.5px solid #16a34a;background:#f0fdf4;color:#14532d;font-size:16px;font-weight:600;cursor:pointer}
.arch-lab .y73-chip-book{border-style:dashed;border-color:#64748b;background:#f8fafc;color:#1f2937}
.arch-lab .y73-chip-on{box-shadow:0 0 0 3px #f97316}
.arch-lab .y73-eq{padding:0 2px}
.arch-lab .y73-table-wrap{overflow-x:auto}
.arch-lab table.y73-table{border-collapse:collapse;margin:0 auto}
.arch-lab table.y73-table td{min-width:64px;padding:4px 6px;background:#fffdf7;color:#1f2937}
.arch-lab table.y73-table td.y73-dok{background:#dcfce7}
.arch-lab table.y73-table td.y73-d1{background:#f1f5f9;color:#64748b}
.arch-lab .y73-dv{display:block;font-weight:700;font-size:16px}
.arch-lab .y73-small-frac{font-size:13px}
.arch-lab .y73-dnote{display:block;font-size:12px}
.arch-lab .y73-dchip{display:inline-flex;min-width:44px;justify-content:center;padding:4px 8px;border-radius:10px;border:1px solid #c9b98f;background:#fffdf7;color:#1f2937}
.arch-lab .y73-dchip.y73-dok{background:#dcfce7;border-color:#16a34a}
.arch-lab .y73-dchip.y73-d1{color:#64748b}

/* «Высшая проба» 2024/25, 7 класс, задача 4 (ht25-7-4-rectangles) and 8 класс, задача 3 (ht25-8-3-anytriangle, which reuses the
   helpers): a sheet of squared paper with a shadow on a light desk (fixed colours in both themes), blue and orange rectangles,
   the panel of areas on top; the graph S(t) uses the theme colours. */
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.y74-stage{max-height:none}.arch-lab .phx-stage.y74-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .y74-desk{fill:#eef2f7;stroke:none}
.arch-lab .phx-svg .y74-shadow{fill:#0f172a;fill-opacity:.18;stroke:none}
.arch-lab .phx-svg .y74-paper{fill:#fffdf6;stroke:none}
.arch-lab .phx-svg .y74-paper-k{fill:#fffdf6;stroke:#334155;stroke-width:1.4}
.arch-lab .phx-svg .y74-tex{stroke:#dbe7f5;stroke-width:1}
.arch-lab .phx-svg .y74-edge{fill:none;stroke:#1f2937;stroke-width:2.2;stroke-linejoin:round}
.arch-lab .phx-svg .y74-ghost{fill:#ffffff;fill-opacity:.55;stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:6 4}
.arch-lab .phx-svg .y74-grid{stroke:#64748b;stroke-width:1.3;stroke-dasharray:5 4}
.arch-lab .phx-svg .y74-grid-frame{fill:none;stroke:#64748b;stroke-width:1.3;stroke-dasharray:5 4}
.arch-lab .phx-svg .y74-r1{fill:#60a5fa;fill-opacity:.82;stroke:#1d4ed8;stroke-width:2}
.arch-lab .phx-svg .y74-r2{fill:#fb923c;fill-opacity:.85;stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg .y74-out{fill:#ef4444;fill-opacity:.55;stroke:#b91c1c;stroke-width:1.5;stroke-dasharray:4 3}
.arch-lab .phx-svg .y74-leader{stroke:#7c2d12;stroke-width:1.3}
.arch-lab .phx-svg .y74-scrap{fill:#e2e8f0;stroke:#64748b;stroke-width:1;stroke-dasharray:3 3}
.arch-lab .phx-svg .y74-cut{fill:none;stroke:#dc2626;stroke-width:2.6;stroke-dasharray:8 5}
.arch-lab .phx-svg .y74-anim .y74-cut{animation:y74-snip 1.6s linear 2}
@keyframes y74-snip{from{stroke-dashoffset:130}to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.arch-lab .phx-svg .y74-anim .y74-cut{animation:none}}
.arch-lab .phx-svg .y74-blade{fill:#cbd5e1;stroke:#334155;stroke-width:1}
.arch-lab .phx-svg .y74-handle{fill:none;stroke:#dc2626;stroke-width:3}
.arch-lab .phx-svg .y74-pin{fill:#334155}
.arch-lab .phx-svg .y74-thin{fill:none;stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg text.y74-t{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round;font-size:14px}
.arch-lab .phx-svg text.y74-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab .phx-svg text.y74-leg{font-size:14px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.y74-area{font-size:15px;font-weight:800}
.arch-lab .phx-svg .y74-fbar{stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg text.y74-ft{font-weight:800}
.arch-lab .phx-svg .y74-on1 text.y74-t,.arch-lab .phx-svg text.y74-on1{fill:#0b2a66}
.arch-lab .phx-svg .y74-on1 .y74-fbar{stroke:#0b2a66}
.arch-lab .phx-svg .y74-on2 text.y74-t,.arch-lab .phx-svg text.y74-on2{fill:#7c2d12}
.arch-lab .phx-svg .y74-on2 .y74-fbar{stroke:#7c2d12}
.arch-lab .phx-svg .y74-frac-scrap text.y74-t{fill:#475569}
.arch-lab .phx-svg .y74-frac-scrap .y74-fbar{stroke:#475569}
.arch-lab .phx-svg .y74-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg .y74-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab .phx-svg text.y74-pl{font-weight:700}
.arch-lab .phx-svg text.y74-good{fill:#047857}
.arch-lab .phx-svg .y74-good .y74-fbar{stroke:#047857}
.arch-lab .phx-svg .y74-good text.y74-t{fill:#047857}
.arch-lab .phx-svg text.y74-need{fill:#475569}
.arch-lab .phx-svg .y74-need text.y74-t{fill:#475569}
.arch-lab .phx-svg .y74-need .y74-fbar{stroke:#475569}
/* the graph: theme colours */
.arch-lab .phx-svg .y74-curve{fill:none;stroke:var(--arch-accent);stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg .y74-goal{stroke:var(--arch-good);stroke-width:2;stroke-dasharray:7 5}
.arch-lab .phx-svg .y74-dot{fill:var(--arch-accent);stroke:var(--arch-surface);stroke-width:2}
.arch-lab .phx-svg .y74-now{stroke:var(--arch-accent);stroke-width:1.2;stroke-dasharray:3 4;stroke-opacity:.7}
.arch-lab .phx-svg .y74-max{stroke:var(--arch-muted);stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab .phx-svg .y74-maxdot{fill:none;stroke:var(--arch-good);stroke-width:2.5}
.arch-lab .phx-svg text.y74-gl,.arch-lab .phx-svg .y74-gl text.y74-t{fill:var(--arch-ink);stroke:var(--arch-surface);font-size:13px;font-weight:700}
.arch-lab .phx-svg .y74-gl .y74-fbar{stroke:var(--arch-ink)}
.arch-lab .phx-svg text.y74-gcur{fill:var(--arch-accent)}
.arch-lab .phx-svg.y74-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y74-side{display:grid;gap:4px}
.arch-lab .y74-side-head{margin:0;font-weight:600;color:var(--arch-label)}
.arch-lab .y74-hfrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums}
.arch-lab .y74-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .y74-hfrac>span:last-child{padding:0 .2em}

/* 7.5 (ht25-7-5-birthday): three friends with cards and speech bubbles, 16 sheets of a tear-off calendar */
[data-arch-lab="ht25-7-5-birthday"] .phx-stage{max-height:none}
[data-arch-lab="ht25-7-5-birthday"] .phx-stage .phx-svg{max-height:none;touch-action:manipulation}
.arch-lab .phx-svg .y75-room{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1}
.arch-lab .phx-svg .y75-wall{fill:#efe4cf;stroke:#c9b98f;stroke-width:1.5}
.arch-lab .phx-svg .y75-shadow{fill:#0f172a;opacity:.16;stroke:none}
.arch-lab .phx-svg .y75-sheet{fill:#fffdf7;stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg .y75-sheet-off{fill:#f1f5f9}
.arch-lab .phx-svg .y75-band-0{fill:#bfdbfe;stroke:none}
.arch-lab .phx-svg .y75-band-1{fill:#e9d5ff;stroke:none}
.arch-lab .phx-svg .y75-band-2{fill:#bbf7d0;stroke:none}
.arch-lab .phx-svg .y75-ring{fill:#64748b;stroke:#f8fafc;stroke-width:1}
.arch-lab .phx-svg text.y75-month{font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y75-day{font-weight:800;fill:#b91c1c;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.y75-year{font-weight:600;fill:#334155;stroke:none}
.arch-lab .phx-svg .y75-hit{cursor:pointer}
.arch-lab .phx-svg .y75-hit:focus-visible{outline:none}
.arch-lab .phx-svg .y75-hit:focus-visible .y75-sheet{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .y75-sel{fill:none;stroke:#1d4ed8;stroke-width:4;pointer-events:none}
.arch-lab .phx-svg .y75-look{fill:none;stroke-width:3;stroke-dasharray:6 4;pointer-events:none}
.arch-lab .phx-svg .y75-look.y75-p0{stroke:#be185d}.arch-lab .phx-svg .y75-look.y75-p1{stroke:#c2410c}.arch-lab .phx-svg .y75-look.y75-p2{stroke:#047857}
.arch-lab .phx-svg .y75-cross{stroke-width:3;stroke-linecap:round;opacity:.6;pointer-events:none}
.arch-lab .phx-svg .y75-cross.y75-p0{stroke:#be185d}.arch-lab .phx-svg .y75-cross.y75-p1{stroke:#c2410c}.arch-lab .phx-svg .y75-cross.y75-p2{stroke:#047857}
.arch-lab .phx-svg .y75-badge-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.5}
.arch-lab .phx-svg .y75-badge-no{fill:#fef3c7;stroke:#a16207;stroke-width:1.5}
.arch-lab .phx-svg text.y75-badge-t{font-size:13px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg .y75-bubble{stroke-width:1.6}
.arch-lab .phx-svg .y75-bubble-ok{fill:#f0fdf4;stroke:#047857}
.arch-lab .phx-svg .y75-bubble-no{fill:#fff1f2;stroke:#b91c1c}
.arch-lab .phx-svg .y75-bubble-tail{stroke-width:1.6}
.arch-lab .phx-svg text.y75-bubble-t{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y75-mark-ok{font-size:17px;font-weight:800;fill:#047857;stroke:none}
.arch-lab .phx-svg text.y75-mark-no{font-size:17px;font-weight:800;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg .y75-card{fill:#fffdf7;stroke-width:2}
.arch-lab .phx-svg .y75-card.y75-p0{stroke:#be185d}.arch-lab .phx-svg .y75-card.y75-p1{stroke:#c2410c}.arch-lab .phx-svg .y75-card.y75-p2{stroke:#047857}
.arch-lab .phx-svg text.y75-card-k{font-size:10.5px;fill:#475569;stroke:none}
.arch-lab .phx-svg text.y75-card-v{font-size:12.5px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y75-name{font-size:14px;font-weight:800}
.arch-lab .phx-svg text.y75-name.y75-p0{fill:#be185d}.arch-lab .phx-svg text.y75-name.y75-p1{fill:#c2410c}.arch-lab .phx-svg text.y75-name.y75-p2{fill:#047857}
.arch-lab .phx-svg text.y75-said{font-size:11.5px;fill:var(--arch-muted)}
.arch-lab .phx-svg .y75-sel-key{fill:#fffdf7;stroke:#1d4ed8;stroke-width:3}
.arch-lab .phx-svg .y75-look-key{fill:#fffdf7;stroke:#be185d;stroke-width:2.5;stroke-dasharray:5 3}
.arch-lab .phx-svg.y75-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y75-looks .arch-toggle{flex-wrap:wrap}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg text.y75-name.y75-p0{fill:#f9a8d4}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg text.y75-name.y75-p1{fill:#fdba74}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg text.y75-name.y75-p2{fill:#6ee7b7}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg text.y75-name.y75-p0{fill:#f9a8d4}:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg text.y75-name.y75-p1{fill:#fdba74}:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg text.y75-name.y75-p2{fill:#6ee7b7}

/* 7.6 (ht25-7-6-sages): the king's round table with 16 name plates and cards, two rooms with the sages */
[data-arch-lab="ht25-7-6-sages"] .phx-stage{max-height:none}
[data-arch-lab="ht25-7-6-sages"] .phx-stage .phx-svg{max-height:none;touch-action:manipulation}
.arch-lab .phx-svg .y76-table{fill:#c08a52;stroke:#7c4a25;stroke-width:3}
.arch-lab .phx-svg .y76-table-in{fill:#d6a56f;stroke:#a87a46;stroke-width:1.5;stroke-dasharray:4 5}
.arch-lab .phx-svg .y76-table-shadow{fill:#0f172a;opacity:.18;stroke:none}
.arch-lab .phx-svg .y76-plate{stroke-width:2}
.arch-lab .phx-svg .y76-plate-ok{fill:#dcfce7;stroke:#047857}
.arch-lab .phx-svg .y76-plate-bad{fill:#fee2e2;stroke:#b91c1c}
.arch-lab .phx-svg text.y76-num{font-size:16px;font-weight:800;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .y76-selbox{fill:none;stroke:#1d4ed8;stroke-width:3.5}
.arch-lab .phx-svg .y76-hit{cursor:pointer}
.arch-lab .phx-svg .y76-hit:focus-visible{outline:none}
.arch-lab .phx-svg .y76-hit:focus-visible .y76-plate{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .y76-card{stroke:#475569;stroke-width:1.3}
.arch-lab .phx-svg .y76-card-shadow{fill:#0f172a;opacity:.2;stroke:none}
.arch-lab .phx-svg .y76-c1{fill:#fecaca}.arch-lab .phx-svg .y76-c2{fill:#bfdbfe}.arch-lab .phx-svg .y76-c3{fill:#fde68a}.arch-lab .phx-svg .y76-c4{fill:#e5e7eb}
.arch-lab .phx-svg text.y76-card-t{font-size:15px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y76-card-big{font-size:19px}
.arch-lab .phx-svg .y76-partner{fill:none;stroke:#7c3aed;stroke-width:2.5;stroke-dasharray:4 3;pointer-events:none}
.arch-lab .phx-svg .y76-edge{stroke:#5b3a12;stroke-width:1.6;opacity:.55;pointer-events:none}
.arch-lab .phx-svg .y76-edge-hot{stroke:#7c3aed;stroke-width:3;opacity:.9}
.arch-lab .phx-svg .y76-cmp{fill:none;stroke-width:2.5;stroke-dasharray:6 4;pointer-events:none}
.arch-lab .phx-svg .y76-cmp-ok{stroke:#047857}.arch-lab .phx-svg .y76-cmp-bad{stroke:#b91c1c}
.arch-lab .phx-svg text.y76-sum{font-size:14px;font-weight:700;fill:var(--arch-muted)}
.arch-lab .phx-svg text.y76-sum-max{fill:var(--arch-bad);font-weight:800}
.arch-lab .phx-svg .y76-crown{fill:#facc15;stroke:#a16207;stroke-width:1.5}
.arch-lab .phx-svg .y76-gem{fill:#ef4444;stroke:#991b1b;stroke-width:1}
.arch-lab .phx-svg .y76-room{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1.5}
.arch-lab .phx-svg text.y76-room-t{font-size:13.5px;font-weight:700;fill:var(--arch-label)}
.arch-lab .phx-svg text.y76-room-s{font-size:13px;fill:var(--arch-muted)}
.arch-lab .phx-svg text.y76-verdict{font-size:13.5px;font-weight:800}
.arch-lab .phx-svg text.y76-good{fill:var(--arch-good)}.arch-lab .phx-svg text.y76-bad{fill:var(--arch-bad)}
.arch-lab .phx-svg.y76-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y76-cardrow{align-items:center}
.arch-lab .y76-sel-out{font-weight:700;font-variant-numeric:tabular-nums;min-width:7.5em;text-align:center;color:var(--arch-ink)}
.arch-lab .y76-step{min-width:48px;min-height:48px;font-size:22px}
.arch-lab .y76-cardlabel{margin:0}

/* 8.1 (ht25-8-1-digits2025): a paper tape of digit tiles, frames around «2025», a map of the whole tape */
.arch-lab .phx-stage.y81-stage{max-height:none}
.arch-lab .phx-stage.y81-stage .phx-svg{max-height:none;cursor:default}
.arch-lab .phx-svg .y81-paper{fill:#fbf6e9;stroke:#d6c79f;stroke-width:1.2}
.arch-lab .phx-svg .y81-hole{fill:#e7dcc0;stroke:none}
.arch-lab .phx-svg .y81-tile{stroke:#b9a984;stroke-width:1}
.arch-lab .phx-svg .y81-tile-a{fill:#ffffff}
.arch-lab .phx-svg .y81-tile-b{fill:#e8eefb}
.arch-lab .phx-svg text.y81-digit{fill:#1f2937;stroke:none;font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.arch-lab .phx-svg text.y81-dots{font-size:16px;font-weight:700;fill:var(--arch-muted)}
.arch-lab .phx-svg .y81-brace{stroke:var(--arch-muted);stroke-width:1.5;stroke-linecap:round}
.arch-lab .phx-svg text.y81-num{font-size:13px;fill:var(--arch-muted);font-weight:600}
.arch-lab .phx-svg text.y81-num-here{fill:var(--arch-ink);font-weight:800}
.arch-lab .phx-svg .y81-frame{fill:none;stroke:#d97706;stroke-width:3.5}
.arch-lab .phx-svg .y81-cut{stroke:#b91c1c;stroke-width:2.5;stroke-dasharray:4 3}
.arch-lab .phx-svg text.y81-ftag{font-size:12px;font-weight:700;fill:#b45309}
.arch-lab .phx-svg .y81-frame.y81-c-tail{stroke:#2563eb}.arch-lab .phx-svg text.y81-ftag.y81-c-tail{fill:#1d4ed8}
.arch-lab .phx-svg .y81-frame.y81-c-head{stroke:#16a34a}.arch-lab .phx-svg text.y81-ftag.y81-c-head{fill:#15803d}
.arch-lab .phx-svg .y81-frame.y81-c-j2{stroke:#ea580c}.arch-lab .phx-svg text.y81-ftag.y81-c-j2{fill:#c2410c}
.arch-lab .phx-svg .y81-frame.y81-c-j3{stroke:#9333ea}.arch-lab .phx-svg text.y81-ftag.y81-c-j3{fill:#7e22ce}
.arch-lab .phx-svg text.y81-cap{font-size:12.5px;fill:var(--arch-muted);font-weight:600}
.arch-lab .phx-svg .y81-maphit{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1;cursor:pointer}
.arch-lab .phx-svg .y81-axis{stroke:var(--arch-fig-line);stroke-width:2.5;stroke-linecap:round}
.arch-lab .phx-svg .y81-tick{stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab .phx-svg text.y81-tl{font-size:11.5px;fill:var(--arch-muted)}
.arch-lab .phx-svg .y81-mark-seen{stroke:#d97706;stroke-width:2.5;stroke-linecap:round}
.arch-lab .phx-svg .y81-mark-seen.y81-m-tail{stroke:#2563eb}.arch-lab .phx-svg .y81-mark-seen.y81-m-head{stroke:#16a34a}
.arch-lab .phx-svg .y81-mark-seen.y81-m-j2{stroke:#ea580c}.arch-lab .phx-svg .y81-mark-seen.y81-m-j3{stroke:#9333ea}
.arch-lab .phx-svg .y81-mark-book{stroke:#94a3b8;stroke-width:2;stroke-linecap:round}
.arch-lab .phx-svg .y81-here{fill:#f97316;stroke:#9a3412;stroke-width:1}
.arch-lab .phx-svg.y81-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y81-list{display:grid;gap:10px;padding:10px 12px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--p25-paper)}
.arch-lab .y81-list-head{margin:0;font-weight:600;color:var(--arch-label)}
.arch-lab .y81-group{display:grid;gap:6px}
.arch-lab .y81-gname{margin:0;font-size:15px;color:var(--arch-ink);display:flex;align-items:center;gap:8px}
.arch-lab .y81-dot{display:inline-block;width:14px;height:14px;border-radius:4px;border:3px solid #d97706;flex:0 0 14px}
.arch-lab .y81-dot.y81-c-tail{border-color:#2563eb}.arch-lab .y81-dot.y81-c-head{border-color:#16a34a}.arch-lab .y81-dot.y81-c-j2{border-color:#ea580c}.arch-lab .y81-dot.y81-c-j3{border-color:#9333ea}
.arch-lab .y81-chips{display:flex;flex-wrap:wrap;gap:6px}
.arch-lab .y81-chip{min-height:44px;padding:4px 10px;border-radius:10px;border:1.5px dashed #64748b;background:#f8fafc;color:#1f2937;font-variant-numeric:tabular-nums;font-size:15px;cursor:pointer}
.arch-lab .y81-chip-seen{border-style:solid;border-color:#d97706;background:#fff7ed}

/* 8.2 (ht25-8-2-cells2x2): a 2 × 2 square of ceramic tiles on a tray, the goal, multiplier tags, doubling bars */
.arch-lab .phx-stage.y82-stage{max-height:none}
.arch-lab .phx-stage.y82-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y82-tray{fill:#c08a52;stroke:#7c4a25;stroke-width:1.5}
.arch-lab .phx-svg .y82-tile{fill:#fffaf0;stroke:#b9a984;stroke-width:1.5}
.arch-lab .phx-svg .y82-tile-edge{fill:#cdb88f;stroke:none}
.arch-lab .phx-svg .y82-shine{fill:#ffffff;opacity:.6;stroke:none}
.arch-lab .phx-svg .y82-tile-ok{fill:#ecfdf5;stroke:#047857;stroke-width:3}
.arch-lab .phx-svg .y82-tile-over{fill:#fef2f2;stroke:#b91c1c;stroke-width:3}
.arch-lab .phx-svg text.y82-num{fill:#1f2937;stroke:none;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .y82-fbar{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg text.y82-okmark{fill:#047857;stroke:none;font-weight:800;font-size:18px}
.arch-lab .phx-svg text.y82-overmark{fill:#b91c1c;stroke:none;font-weight:900;font-size:20px}
.arch-lab .phx-svg .y82-rowsel{fill:none;stroke:#f97316;stroke-width:3;stroke-dasharray:8 5}
.arch-lab .phx-svg .y82-tag{fill:#f97316;stroke:#9a3412;stroke-width:1}
.arch-lab .phx-svg text.y82-tagt{fill:#ffffff;stroke:none;font-weight:800;font-size:15px}
.arch-lab .phx-svg .y82-tag~g .y82-fbar{stroke:#fff}
.arch-lab .phx-svg .y82-track{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg .y82-fill{fill:#3b82f6;stroke:none}
.arch-lab .phx-svg .y82-seg{stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .y82-goal{stroke:#047857;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .y82-goaltile{fill:#f0fdf4;stroke:#86a98f;stroke-width:1.2}
.arch-lab .phx-svg .y82-goal-done{fill:#bbf7d0;stroke:#047857;stroke-width:2}
.arch-lab .phx-svg text.y82-gnum{fill:#14532d;stroke:none;font-weight:800}
.arch-lab .phx-svg text.y82-cap{font-size:13.5px;font-weight:600;fill:var(--arch-muted)}
.arch-lab .phx-svg text.y82-count{font-size:16px;font-weight:800;fill:var(--arch-ink)}
.arch-lab .phx-svg .y82-arrow{fill:none;stroke:var(--arch-fig-line);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg.y82-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y82-hfrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums}
.arch-lab .y82-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .y82-hfrac>span:last-child{padding:0 .2em}
.arch-lab .y82-v{font-variant-numeric:tabular-nums;font-weight:600}
.arch-lab .y82-logbox{display:grid;gap:4px;padding:8px 12px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--p25-paper)}
.arch-lab .y82-loghead{margin:0;font-weight:600;color:var(--arch-label)}
.arch-lab .y82-log{margin:0;padding-left:1.6em;color:var(--arch-ink);line-height:1.9}

/* «Высшая проба» 2024/25, 8 класс, задача 3 (ht25-8-3-anytriangle): the sheet, rectangles and panel come from the classes y74-*
   of ht25-7-4-rectangles.css; here — the altitude, its thirds, the extension of AC and the draggable vertex B. */
.arch-lab .phx-svg .y83-alt{stroke:#7c3aed;stroke-width:2;stroke-dasharray:6 4}
.arch-lab .phx-svg .y83-ext{stroke:#64748b;stroke-width:1.5;stroke-dasharray:4 4}
.arch-lab .phx-svg .y83-tick{stroke:#7c3aed;stroke-width:2.4}
.arch-lab .phx-svg .y83-eq{stroke:#7c3aed;stroke-width:1.6}
.arch-lab .phx-svg .y83-handle{cursor:grab;touch-action:none}
.arch-lab .phx-svg .y83-hit{fill:#f59e0b;fill-opacity:.18;stroke:#b45309;stroke-width:1.2;stroke-dasharray:3 3}
.arch-lab .phx-svg .y83-knob{fill:#f59e0b;stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.y83-warn{fill:#b91c1c;font-weight:800;font-size:13px}
.arch-lab .phx-svg text.y83-bad{fill:#b91c1c}
.arch-lab .phx-svg text.y83-note{font-size:12.5px;fill:#475569;font-weight:600}
.arch-lab .phx-svg.y83-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y74-stage svg{touch-action:pan-y}

/* 8.4 (ht25-8-4-bulbs): a panel of lamps with keys and bridges between neighbouring keys. The stage keeps its full height
   on phones (100 lamps in a «snake» of rows). Lamps, keys and the board are physical objects: own colours in both themes. */
[data-arch-lab="ht25-8-4-bulbs"] .phx-stage{max-height:none}
[data-arch-lab="ht25-8-4-bulbs"] .phx-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y84-panel{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1.5}
.arch-lab .phx-svg .y84-hit{cursor:pointer;outline:none}
.arch-lab .phx-svg .y84-hit:focus-visible .y84-glass,.arch-lab .phx-svg .y84-hit:focus-visible .y84-bridge{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .y84-glass{fill:#e2e8f0;fill-opacity:.92;stroke:#64748b;stroke-width:1.4}
.arch-lab .phx-svg .y84-glass.y84-on{fill:#fde047;fill-opacity:1;stroke:#a16207;stroke-width:1.6}
.arch-lab .phx-svg .y84-glow{pointer-events:none}
.arch-lab .phx-svg .y84-glow-key{fill:#fde047;opacity:.45;stroke:none}
.arch-lab .phx-svg .y84-fil{fill:none;stroke:#94a3b8;stroke-width:1.1;stroke-linejoin:round}
.arch-lab .phx-svg .y84-fil-on{stroke:#b45309;stroke-width:1.4}
.arch-lab .phx-svg .y84-shine{fill:#ffffff;opacity:.75;stroke:none}
.arch-lab .phx-svg .y84-neck{fill:#e2e8f0;stroke:#64748b;stroke-width:1}
.arch-lab .phx-svg .y84-base{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab .phx-svg .y84-ridge{stroke:#475569;stroke-width:.9}
.arch-lab .phx-svg .y84-wire{stroke:var(--arch-muted);stroke-width:1.2}
.arch-lab .phx-svg .y84-btn{fill:var(--p25-card);stroke:var(--p25-card-edge);stroke-width:1.5}
.arch-lab .phx-svg text.y84-num{font-size:11.5px;font-weight:700;fill:#1f2937;stroke:none;pointer-events:none}
.arch-lab .phx-svg .y84-keycap{pointer-events:none}
.arch-lab .phx-svg .y84-bridge{fill:none;stroke:var(--arch-muted);stroke-width:2;stroke-dasharray:4 3;stroke-linecap:round}
.arch-lab .phx-svg .y84-bridge.y84-pressed{stroke:#ea580c;stroke-width:5;stroke-dasharray:none}
.arch-lab .phx-svg .y84-bridge-hit{fill:none;stroke:transparent;stroke-width:18;stroke-linecap:round}
.arch-lab .phx-svg .y84-band{fill:none;stroke-width:11;stroke-linecap:round;opacity:.45;pointer-events:none}
.arch-lab .phx-svg .y84-band-a0{stroke:#3b82f6}.arch-lab .phx-svg .y84-band-a1{stroke:#a855f7}
.arch-lab .phx-svg .y84-band-b0{stroke:#22c55e}.arch-lab .phx-svg .y84-band-b1{stroke:#14b8a6}
.arch-lab .phx-svg .y84-pairring{fill:none;stroke-width:2.5;pointer-events:none}
.arch-lab .phx-svg .y84-pairring-a0{stroke:#2563eb}.arch-lab .phx-svg .y84-pairring-a1{stroke:#9333ea}
.arch-lab .phx-svg .y84-tab{fill:#1f2937;stroke:#475569;stroke-width:1.5}
.arch-lab .phx-svg .y84-tab-ok{fill:#14532d;stroke:#16a34a}
.arch-lab .phx-svg text.y84-tabtext{font-size:14px;font-weight:700;fill:#fde68a;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg.y84-key{display:inline-block;width:34px;height:24px;flex:0 0 34px}

.arch-lab .phx-svg .y84-was{fill:none;stroke:#d97706;stroke-width:2;stroke-dasharray:3 2.5;pointer-events:none}

/* 8.5 (ht25-8-5-holecut): a sheet of squared paper with the figure; cuts by grid segments and by quarter arcs. The paper stays
   light in both themes (a real sheet), so its labels have their own dark ink and a white halo. */
[data-arch-lab="ht25-8-5-holecut"] .phx-stage{max-height:none}
[data-arch-lab="ht25-8-5-holecut"] .phx-stage .phx-svg{max-height:none;touch-action:manipulation}
.arch-lab .phx-svg .y85-sheet{fill:#fffdf6;stroke:#d6d3c4;stroke-width:1.2}
.arch-lab .phx-svg .y85-sheet-ok{stroke:#16a34a;stroke-width:5}
.arch-lab .phx-svg .y85-piece{stroke-width:1;pointer-events:none}
.arch-lab .phx-svg .y85-free{fill:#ffffff;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg .y85-grid{stroke:#64748b;stroke-width:1.2;stroke-dasharray:2 4;pointer-events:none}
.arch-lab .phx-svg .y85-cand{fill:none;stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 4;opacity:.75;pointer-events:none}
.arch-lab .phx-svg .y85-outline{fill:none;stroke:#111827;stroke-width:3;stroke-linejoin:round;pointer-events:none}
.arch-lab .phx-svg .y85-hole{fill:#fffdf6;stroke:#111827;stroke-width:3;pointer-events:none}
.arch-lab .phx-svg .y85-cut{fill:none;stroke:#dc2626;stroke-width:4.5;stroke-linecap:round;pointer-events:none}
.arch-lab .phx-svg .y85-ear{fill:none;stroke:#92400e;stroke-width:2.5;stroke-dasharray:5 4;pointer-events:none}
.arch-lab .phx-svg .y85-axis{stroke:#7c3aed;stroke-width:3;stroke-dasharray:9 6;pointer-events:none}
.arch-lab .phx-svg .y85-hit{stroke:transparent;stroke-width:22;stroke-linecap:round;cursor:pointer;outline:none}
.arch-lab .phx-svg .y85-hit:focus-visible{stroke:#f59e0b;stroke-opacity:.6}
.arch-lab .phx-svg .y85-hit-a{fill:transparent;stroke:none;cursor:pointer;outline:none}
.arch-lab .phx-svg .y85-hit-a:hover,.arch-lab .phx-svg .y85-hit-a:focus-visible{fill:#f59e0b;fill-opacity:.18}
.arch-lab .phx-svg .y85-badge-g{pointer-events:none}
.arch-lab .phx-svg .y85-badge{fill:#ffffff;stroke-width:2}
.arch-lab .phx-svg .y85-badge-ok{fill:#dcfce7}
.arch-lab .phx-svg text.y85-t{fill:#111827;stroke:#ffffff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.y85-badge-text{font-size:15px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.y85-tick{fill:#047857}
.arch-lab .phx-svg .y85-fbar{stroke:#111827;stroke-width:1.5}
.arch-lab .phx-svg .y85-num-bg{stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg text.y85-num{font-size:13px;font-weight:800;fill:#ffffff;stroke:none}
.arch-lab .phx-svg text.y85-demo-text{font-size:14px;font-weight:700;fill:#5b21b6;stroke:none}
.arch-lab .phx-svg.y85-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y85-harea{white-space:nowrap}
.arch-lab .y85-hfrac{display:inline-flex;flex-direction:column;vertical-align:middle;text-align:center;font-size:.85em;line-height:1.1;margin:0 .1em}
.arch-lab .y85-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .15em}
.arch-lab .phx-svg .y85-demo-bg{fill:#f5f3ff;stroke:#7c3aed;stroke-width:1.5}

/* 8.6 (ht25-8-6-boards): a squared board nailed to a plaster wall; the wall, the board and the plaque are physical objects
   with their own colours in both themes, so their labels have their own ink and halo. */
[data-arch-lab="ht25-8-6-boards"] .phx-stage{max-height:none}
[data-arch-lab="ht25-8-6-boards"] .phx-stage .phx-svg{max-height:none;touch-action:manipulation}
.arch-lab .phx-svg .y86-wall{fill:#ece4d6;stroke:none}
.arch-lab .phx-svg .y86-brick{fill:none;stroke:#d9cdb8;stroke-width:1}
.arch-lab .phx-svg .y86-shadow{fill:#0f172a;opacity:.25;stroke:none}
.arch-lab .phx-svg .y86-frame{fill:#b07a43;stroke:#6b4423;stroke-width:2}
.arch-lab .phx-svg .y86-nail{fill:#64748b;stroke:#334155;stroke-width:1}
.arch-lab .phx-svg .y86-nail-shine{fill:#e2e8f0;stroke:none}
.arch-lab .phx-svg .y86-string{stroke:#6b4423;stroke-width:1.5}
.arch-lab .phx-svg .y86-cell{stroke:#94a3b8;stroke-width:1;cursor:pointer}
.arch-lab .phx-svg .y86-w{fill:#f8fafc}
.arch-lab .phx-svg .y86-b{fill:#1f2937;stroke:#475569}
.arch-lab .phx-svg .y86-bad{fill:#ef4444;fill-opacity:.16;stroke:#dc2626;stroke-width:3;pointer-events:none}
.arch-lab .phx-svg .y86-pair{fill:none;stroke:#f59e0b;stroke-width:4;stroke-dasharray:7 4;pointer-events:none}
.arch-lab .phx-svg .y86-cursor{fill:none;stroke:#f59e0b;stroke-width:4;pointer-events:none}
.arch-lab .phx-svg .y86-plaque{fill:#fef3c7;stroke:#a16207;stroke-width:1.5}
.arch-lab .phx-svg .y86-plaque-ok{fill:#dcfce7;stroke:#15803d;stroke-width:2.5}
.arch-lab .phx-svg text.y86-plaque-text{font-size:14px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y86-mark{font-size:16px;font-weight:800;stroke:#ece4d6;stroke-width:3px}
.arch-lab .phx-svg text.y86-ok{fill:#047857}
.arch-lab .phx-svg text.y86-no{fill:#b91c1c}
.arch-lab .phx-svg.y86-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg.y86-key text.y86-mark{font-size:11px;stroke:none}

/* 9.1 2024/25 (ht25-9-1-diamond): Саша's machine «◊» with wagons, cards of fractions and the bar of a step; a light picture in both themes */
.arch-lab .phx-stage.y91-stage{max-height:none}
.arch-lab .phx-stage.y91-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y91-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg text.y91-t,.arch-lab .phx-svg text.y91-num,.arch-lab .phx-svg text.y91-sign,.arch-lab .phx-svg text.y91-cap,.arch-lab .phx-svg text.y91-small,.arch-lab .phx-svg text.y91-one,.arch-lab .phx-svg text.y91-good,.arch-lab .phx-svg text.y91-wnum,.arch-lab .phx-svg text.y91-curlab,.arch-lab .phx-svg text.y91-diamond{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y91-num{font-weight:800;font-variant-numeric:tabular-nums;stroke:none}
.arch-lab .phx-svg text.y91-sign{font-weight:700;stroke:none}
.arch-lab .phx-svg .y91-bar{stroke:#1f2937;stroke-width:1.8;stroke-linecap:round}
.arch-lab .phx-svg text.y91-cap{font-size:13px;font-weight:700;fill:#5b4a2a}
.arch-lab .phx-svg text.y91-small{font-size:12.5px;fill:#475569}
.arch-lab .phx-svg text.y91-one{font-size:15px;font-weight:800;fill:#7c2d12}
.arch-lab .phx-svg text.y91-good{font-size:13.5px;font-weight:800;fill:#047857}
.arch-lab .phx-svg .y91-dmd{fill:#f8fafc;stroke:#1e3a5f;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg text.y91-more{font-size:13.5px;font-weight:800;fill:#9a3412;stroke:#fff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.y91-wnum{font-size:15px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.y91-curlab{font-size:13px;font-weight:800;fill:#6d28d9}
.arch-lab .phx-svg .y91-card{fill:#fffdf7;stroke:#a8956a;stroke-width:1.5}
.arch-lab .phx-svg .y91-card-in{stroke:#2563eb}
.arch-lab .phx-svg .y91-card-out{stroke:#7c3aed;stroke-width:2.4}
.arch-lab .phx-svg .y91-card-one{fill:#ecfdf5;stroke:#047857}
.arch-lab .phx-svg .y91-shadow{fill:#0f172a;opacity:.12;stroke:none}
.arch-lab .phx-svg .y91-shine{fill:#ffffff;opacity:.55;stroke:none}
.arch-lab .phx-svg .y91-machine{fill:#9fb7d3;stroke:#355373;stroke-width:2}
.arch-lab .phx-svg .y91-window{fill:#ffffff;stroke:#355373;stroke-width:1.5}
.arch-lab .phx-svg .y91-funnel{fill:#c9d6e6;stroke:#355373;stroke-width:2;stroke-linejoin:round}
.arch-lab .phx-svg .y91-gear{fill:#f2c94c;stroke:#8a6d1a;stroke-width:2;stroke-dasharray:3 2}
.arch-lab .phx-svg .y91-gear-hub{fill:#8a6d1a;stroke:none}
.arch-lab .phx-svg .y91-rivet{fill:#d9e3ef;stroke:#355373;stroke-width:1}
.arch-lab .phx-svg .y91-chute{fill:none;stroke:#355373;stroke-width:2;stroke-dasharray:4 3}
.arch-lab .phx-svg .y91-rail{stroke:#64748b;stroke-width:3}
.arch-lab .phx-svg .y91-sleeper{fill:#8a5a2b;stroke:none}
.arch-lab .phx-svg .y91-wagon{fill:#fde68a;stroke:#92400e;stroke-width:1.6}
.arch-lab .phx-svg .y91-wagon-now{fill:#fb923c;stroke:#9a3412;stroke-width:2.2}
.arch-lab .phx-svg .y91-wagon-done{fill:#e2e8f0;stroke:#94a3b8}
.arch-lab .phx-svg .y91-wheel{fill:#334155;stroke:#0f172a;stroke-width:1}
.arch-lab .phx-svg .y91-piece-a{fill:#60a5fa;stroke:#1d4ed8;stroke-width:1.2}
.arch-lab .phx-svg .y91-piece-b{fill:#fb923c;stroke:#c2410c;stroke-width:1.2}
.arch-lab .phx-svg .y91-dash{stroke:#7c2d12;stroke-width:1.6;stroke-dasharray:5 4;fill:none}
.arch-lab .phx-svg .y91-curve{fill:none;stroke:#7c3aed;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .y91-odd{fill:#10b981;stroke:#065f46;stroke-width:1.5}
.arch-lab .phx-svg .y91-cur{fill:#7c3aed;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg.y91-stage .phx-axes text,.arch-lab .y91-stage .phx-svg .phx-tick,.arch-lab .y91-stage .phx-svg .phx-axis-label{fill:#1f2937;stroke:#fbf7ee}
.arch-lab .y91-stage .phx-svg .phx-grid{stroke:#e2d8c3}
.arch-lab .y91-stage .phx-svg .phx-axis{stroke:#475569}
.arch-lab .phx-svg.y91-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y91-hfrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums}
.arch-lab .y91-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .y91-eq{font-size:17px}
.arch-lab .phx-svg .y91-hidden{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:5 4}

/* 9.2 2024/25 (ht25-9-2-table36): the table 36×36 as a coloured sheet, frames of the extreme squares, the 18×18 square and its pieces */
.arch-lab .phx-stage.y92-stage{max-height:none}
.arch-lab .phx-stage.y92-stage .phx-svg{max-height:none;cursor:crosshair}
.arch-lab .phx-svg .y92-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg .y92-grid9{stroke:#1f2937;stroke-width:.6;stroke-opacity:.35}
.arch-lab .phx-svg .y92-border{fill:none;stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg .y92-min{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-dasharray:7 4}
.arch-lab .phx-svg .y92-max{fill:none;stroke:#dc2626;stroke-width:3;stroke-dasharray:3 3}
.arch-lab .phx-svg .y92-big{fill:none;stroke:#111827;stroke-width:3.2}
.arch-lab .phx-svg .y92-piece{fill:#ffffff;fill-opacity:.25;stroke:none}
.arch-lab .phx-svg .y92-piece-l{fill:none;stroke:#111827;stroke-width:1.6}
.arch-lab .phx-svg .y92-centre{fill:#22c55e;stroke:#065f46;stroke-width:1.4}
.arch-lab .phx-svg .y92-block{fill:none;stroke:#065f46;stroke-width:3.2}
.arch-lab .phx-svg .y92-pill{fill:#ffffff;stroke:#1f2937;stroke-width:1.2}
.arch-lab .phx-svg .y92-pill.y92-pc{stroke:#065f46;stroke-width:2}
.arch-lab .phx-svg text.y92-pt{font-size:12.5px;font-weight:800;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.y92-pt.y92-pc{fill:#065f46}
.arch-lab .phx-svg text.y92-cap{font-size:13.5px;font-weight:700;fill:#1f2937;stroke:#fbf7ee;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg.y92-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y92-box{display:grid;gap:10px}
.arch-lab .y92-box[hidden]{display:none}
.arch-lab .y92-facts p{margin:4px 0}
.arch-lab .phx-svg.y92-key .y92-big{stroke:var(--arch-ink)}

/* 9.3 = 10.1 2024/25 (ht25-9-3-parityroots): the number line with chips of roots, factor tiles, graphs of P, Q and P + Q */
.arch-lab .phx-stage.y93-stage{max-height:none}
.arch-lab .phx-stage.y93-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y93-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg text.y93-t,.arch-lab .phx-svg text.y93-num,.arch-lab .phx-svg text.y93-headp,.arch-lab .phx-svg text.y93-headq,.arch-lab .phx-svg text.y93-xlab,.arch-lab .phx-svg text.y93-rowlab,.arch-lab .phx-svg text.y93-val,.arch-lab .phx-svg text.y93-sum,.arch-lab .phx-svg text.y93-lp,.arch-lab .phx-svg text.y93-lq,.arch-lab .phx-svg text.y93-ls{fill:#1f2937;stroke:#fbf7ee;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .y93-axis{stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y93-tick{stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg text.y93-num{font-size:11px;fill:#475569}
.arch-lab .phx-svg text.y93-headp{font-size:13px;font-weight:800;fill:#1d4ed8}
.arch-lab .phx-svg text.y93-headq{font-size:13px;font-weight:800;fill:#c2410c}
.arch-lab .phx-svg .y93-chip-p{fill:#3b82f6;stroke:#1e3a8a;stroke-width:1.6}
.arch-lab .phx-svg .y93-chip-q{fill:#f97316;stroke:#7c2d12;stroke-width:1.6}
.arch-lab .phx-svg .y93-sel{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .y93-shine{fill:#ffffff;opacity:.45;stroke:none}
.arch-lab .phx-svg .y93-shadow{fill:#0f172a;opacity:.14;stroke:none}
.arch-lab .phx-svg text.y93-chipt{fill:#ffffff;stroke:none;font-weight:800}
.arch-lab .phx-svg .y93-stem{stroke:#64748b;stroke-width:1.2;stroke-dasharray:2 2}
.arch-lab .phx-svg .y93-xmark{fill:#7c3aed;stroke:#4c1d95;stroke-width:1.2}
.arch-lab .phx-svg text.y93-xlab{font-size:14px;font-weight:800;fill:#6d28d9}
.arch-lab .phx-svg text.y93-rowlab{font-size:14px;font-weight:800}
.arch-lab .phx-svg text.y93-rowlab.y93-p,.arch-lab .phx-svg text.y93-val.y93-p{fill:#1d4ed8}
.arch-lab .phx-svg text.y93-rowlab.y93-q,.arch-lab .phx-svg text.y93-val.y93-q{fill:#c2410c}
.arch-lab .phx-svg .y93-tile{fill:#ffffff;stroke-width:2}
.arch-lab .phx-svg .y93-p-edge{stroke:#1d4ed8}
.arch-lab .phx-svg .y93-q-edge{stroke:#c2410c}
.arch-lab .phx-svg .y93-tile.y93-even{fill:#bbf7d0}
.arch-lab .phx-svg .y93-tile.y93-odd{fill:#fef08a}
.arch-lab .phx-svg text.y93-tilet{font-size:14px;font-weight:800;fill:#1f2937;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.y93-dot{font-size:16px;font-weight:800;fill:#475569;stroke:none}
.arch-lab .phx-svg text.y93-val{font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .y93-sumbox{fill:#f5f3ff;stroke:#7c3aed;stroke-width:1.6}
.arch-lab .phx-svg .y93-sumbox.y93-zero{fill:#fee2e2;stroke:#b91c1c}
.arch-lab .phx-svg text.y93-sum{font-size:14.5px;font-weight:800;fill:#4c1d95;stroke:none}
.arch-lab .phx-svg .y93-cp{fill:none;stroke:#2563eb;stroke-width:2}
.arch-lab .phx-svg .y93-cq{fill:none;stroke:#ea580c;stroke-width:2;stroke-dasharray:7 4}
.arch-lab .phx-svg .y93-cs{fill:none;stroke:#7c3aed;stroke-width:3}
.arch-lab .phx-svg .y93-zeroline{stroke:#1f2937;stroke-width:1.4}
.arch-lab .phx-svg .y93-root{fill:#ffffff;stroke:#7c3aed;stroke-width:2.4}
.arch-lab .phx-svg .y93-tested{stroke:#047857;stroke-width:2.2;fill:none}
.arch-lab .phx-svg .y93-xline{stroke:#7c3aed;stroke-width:1.2;stroke-dasharray:4 4}
.arch-lab .phx-svg .y93-pt-p{fill:#2563eb;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg .y93-pt-q{fill:#ea580c;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg .y93-pt-s{fill:#7c3aed;stroke:#fff;stroke-width:1.5}
.arch-lab .phx-svg text.y93-lp{font-size:13px;font-weight:800;fill:#1d4ed8}
.arch-lab .phx-svg text.y93-lq{font-size:13px;font-weight:800;fill:#c2410c}
.arch-lab .phx-svg text.y93-ls{font-size:13px;font-weight:800;fill:#6d28d9}
.arch-lab .y93-stage .phx-svg .phx-tick,.arch-lab .y93-stage .phx-svg .phx-axis-label{fill:#1f2937;stroke:#fbf7ee}
.arch-lab .y93-stage .phx-svg .phx-grid{stroke:#e2d8c3}
.arch-lab .y93-stage .phx-svg .phx-axis{stroke:#475569}
.arch-lab .phx-svg.y93-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg.y93-key .y93-cp,.arch-lab .phx-svg.y93-key .y93-cq,.arch-lab .phx-svg.y93-key .y93-cs{stroke-width:2.4}

/* 9.5 2024/25 (ht25-9-5-dissection): the triangle, the square of the same area, six coloured pieces and their motions */
.arch-lab .phx-stage.y95-stage{max-height:none}
.arch-lab .phx-stage.y95-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .y95-paper{fill:#fbf7ee;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg text.y95-t,.arch-lab .phx-svg text.y95-len,.arch-lab .phx-svg text.y95-in,.arch-lab .phx-svg text.y95-q,.arch-lab .phx-svg text.y95-head,.arch-lab .phx-svg text.y95-turn{fill:#1f2937;stroke:#fbf7ee;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg .y95-tri{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .y95-key-tri{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab .phx-svg .y95-ghost{fill:none;stroke:#047857;stroke-width:2.2;stroke-dasharray:7 5}
.arch-lab .phx-svg .y95-ghost-tri{fill:none;stroke:#94a3b8;stroke-width:1.2;stroke-dasharray:3 4}
.arch-lab .phx-svg .y95-piece{stroke-width:2;stroke-linejoin:round;fill-opacity:.92}
.arch-lab .phx-svg .y95-badge{fill:#ffffff;stroke-width:2}
.arch-lab .phx-svg text.y95-badge-t{font-size:13px;font-weight:800;fill:#1f2937;stroke:none}
.arch-lab .phx-svg .y95-cut{stroke:#dc2626;stroke-width:2.6;stroke-dasharray:8 5}
.arch-lab .phx-svg .y95-arrow{fill:none;stroke:#111827;stroke-width:2.4;stroke-linecap:round}
.arch-lab .phx-svg .y95-arrow-l{fill:none;stroke:#111827;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .y95-arrowhead{fill:none;stroke:#111827;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .y95-centre{fill:#dc2626;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg text.y95-turn{font-size:14px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg text.y95-len{font-size:18px;font-weight:800;font-style:italic}
.arch-lab .phx-svg text.y95-in{font-size:14px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.y95-q{font-size:16px;font-weight:800;fill:#065f46}
.arch-lab .phx-svg text.y95-q.y95-idx{font-size:13px;stroke-width:2px}
.arch-lab .phx-svg .y95-rad{fill:none;stroke:#065f46;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}
.arch-lab .phx-svg .y95-fbar{stroke:#065f46;stroke-width:1.8}
.arch-lab .phx-svg text.y95-head{font-size:14px;font-weight:800}
.arch-lab .phx-svg.y95-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .y95-play{display:grid;gap:10px}
.arch-lab .y95-play[hidden]{display:none}
.arch-lab .phx-svg.y95-key .y95-arrow-l{stroke:var(--arch-ink)}
/* the student's own cuts (VP-R13): marks of the boundary, the two parts of a cut, the previewed motion; the paper stays light in both themes */
.arch-lab .phx-svg .y95-m{stroke:#ffffff;stroke-width:1.6}
.arch-lab .phx-svg .y95-m-v{fill:#1f2937}
.arch-lab .phx-svg .y95-m-mid{fill:#1d4ed8}
.arch-lab .phx-svg .y95-m-q{fill:#047857}
.arch-lab .phx-svg .y95-m-foot{fill:#7c3aed}
.arch-lab .phx-svg .y95-m-sel{stroke:#dc2626;stroke-width:3}
.arch-lab .phx-svg .y95-hit{fill:transparent;stroke:none;cursor:pointer;outline:none}
.arch-lab .phx-svg .y95-hit:focus-visible{stroke:#dc2626;stroke-width:2.5}
.arch-lab .phx-svg .y95-part1{fill:#fde047;fill-opacity:.55;stroke:#a16207;stroke-width:1.4;cursor:pointer}
.arch-lab .phx-svg .y95-part2{fill:#93c5fd;fill-opacity:.55;stroke:#1d4ed8;stroke-width:1.4;cursor:pointer}
.arch-lab .phx-svg .y95-preview{fill:#fde68a;fill-opacity:.35;stroke:#b45309;stroke-width:2.2;stroke-dasharray:6 4}
.arch-lab .y95-play[hidden],.arch-lab .y95-moves[hidden],.arch-lab .y95-log[hidden]{display:none}
.arch-lab .y95-moves .arch-secondary[aria-pressed="true"]{outline:3px solid #dc2626;outline-offset:1px}
.arch-lab .phx-svg.y95-key .y95-m-v{fill:var(--arch-ink)}

/* 9.6 2024/25 (ht25-9-6-stripgame): squared paper, the strip with its points, Alice and Bob, the segments of the game */
.arch-lab .phx-stage.y96-stage{max-height:none}
.arch-lab .phx-stage.y96-stage .phx-svg{max-height:none;cursor:pointer}
.arch-lab .phx-svg .y96-paper{fill:#fdfcf7;stroke:#e7dcc4;stroke-width:1}
.arch-lab .phx-svg .y96-grid{stroke:#dbe7f3;stroke-width:1}
.arch-lab .phx-svg text.y96-t,.arch-lab .phx-svg text.y96-name,.arch-lab .phx-svg text.y96-cap,.arch-lab .phx-svg text.y96-end,.arch-lab .phx-svg text.y96-num,.arch-lab .phx-svg text.y96-axl{fill:#1f2937;stroke:#fdfcf7;stroke-width:3px;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.arch-lab .phx-svg text.y96-name{font-size:14px;font-weight:800}
.arch-lab .phx-svg text.y96-na{fill:#6d28d9}
.arch-lab .phx-svg text.y96-nb{fill:#1d4ed8}
.arch-lab .phx-svg text.y96-num{font-size:12px;font-weight:800}
.arch-lab .phx-svg text.y96-cap{font-size:14px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.y96-end{font-size:15px;font-weight:800;fill:#9f1239}
.arch-lab .phx-svg .y96-ea{stroke:#7c3aed;stroke-width:6;stroke-linecap:round}
.arch-lab .phx-svg .y96-eb{stroke:#2563eb;stroke-width:6;stroke-linecap:round}
.arch-lab .phx-svg .y96-free{stroke:#94a3b8;stroke-width:2.2;stroke-dasharray:5 5;stroke-linecap:round}
.arch-lab .phx-svg .y96-n0{fill:#ffffff;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y96-n1{fill:#cbd5e1;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y96-n2{fill:#1f2937;stroke:#1f2937;stroke-width:2}
.arch-lab .phx-svg .y96-rect{fill:#fda4af;stroke:#e11d48;stroke-width:3;animation:y96-flash 1s ease-in-out 3}
@keyframes y96-flash{50%{fill:#fecdd3}}
@media (prefers-reduced-motion:reduce){.arch-lab .phx-svg .y96-rect{animation:none}}
.arch-lab .phx-svg .y96-axis{stroke:#059669;stroke-width:2;stroke-dasharray:9 5}
.arch-lab .phx-svg text.y96-axl{font-size:17px;font-weight:800;fill:#047857;font-style:italic}
.arch-lab .phx-svg .y96-bubble{fill:#ffffff;stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg text.y96-bt{font-size:13px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg.y96-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg.y96-key .y96-ea,.arch-lab .phx-svg.y96-key .y96-eb{stroke-width:5}
.arch-lab .y96-logbox{border:1px solid var(--arch-soft-line);border-radius:12px;padding:8px 12px;max-height:240px;overflow:auto}
.arch-lab .y96-loghead{margin:0 0 4px;font-weight:700;color:var(--arch-label)}
.arch-lab .y96-log:empty::before{content:'Пока ни одного хода.';color:var(--arch-muted)}
.arch-lab .y96-stage .phx-svg .p25-o,.arch-lab .y96-stage .phx-svg .p25-o-thin{stroke:#1f2937}
.arch-lab .phx-svg.y96-key .y96-n2{fill:var(--arch-ink);stroke:var(--arch-ink)}
.arch-lab .phx-svg.y96-key .y96-n0{stroke:var(--arch-ink)}

/* «Высшая проба» 2025/26, 10 класс, задача 1 (ht26-10-1-powers): the board of coefficient tiles, the balance of the two parity
   sums and the graph of the coefficients. The base rule text.h10-t (dark text with a light halo on the painted scenes) is defined
   here, the first of the ht26-10-* files (assets.mjs joins the files in name order); the scenes are light pictures in both themes. */
.arch-lab .phx-svg text.h10-t{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h10-stage{max-height:none}.arch-lab .phx-stage.h10-stage .phx-svg{max-height:none}}
.arch-lab .h10-own{border:1px solid var(--arch-soft-line);border-radius:12px;padding:8px 12px;background:var(--arch-surface)}
.arch-lab .h10-own>summary{cursor:pointer;font-weight:700;min-height:44px;display:flex;align-items:center}
.arch-lab .h10-own[open]>summary{margin-bottom:6px}
.arch-lab .h10-note{margin:0;font-size:14px;color:var(--arch-muted)}
.arch-lab .phx-svg.h10-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg .h101-bg{fill:#f5f1e6}
.arch-lab .phx-svg .h101-board{fill:#efe6cf;stroke:#b8a272;stroke-width:1.5}
.arch-lab .phx-svg .h101-tile{fill:#fffdf6;stroke:#a8956a;stroke-width:1.3}
.arch-lab .phx-svg .h101-tile-neg{fill:#fee2e2;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg .h101-tile-sel{fill:none;stroke:#7c3aed;stroke-width:3}
.arch-lab .phx-svg .h101-tile-sh{fill:#0f172a;opacity:.14}
.arch-lab .phx-svg .h101-shine{fill:#ffffff;opacity:.7}
.arch-lab .phx-svg .h101-even{fill:#2563eb}
.arch-lab .phx-svg .h101-odd{fill:#ea580c}
.arch-lab .phx-svg text.h101-pow{font-size:12px;font-weight:700;fill:#6b5a35}
.arch-lab .phx-svg text.h101-num{font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h101-numneg{fill:#991b1b}
.arch-lab .phx-svg text.h101-head{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.h101-sum{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h101-a{fill:#1d4ed8}
.arch-lab .phx-svg text.h101-b{fill:#c2410c}
.arch-lab .phx-svg text.h101-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h101-good{fill:#047857}
.arch-lab .phx-svg .h101-beam{fill:#8a6a3a;stroke:#5b4423;stroke-width:1.2}
.arch-lab .phx-svg .h101-pan{fill:#cbd5e1;stroke:#475569;stroke-width:1.4}
.arch-lab .phx-svg .h101-string{stroke:#475569;stroke-width:1.2;fill:none}
.arch-lab .phx-svg .h101-weight-a{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.4}
.arch-lab .phx-svg .h101-weight-b{fill:#fdba74;stroke:#c2410c;stroke-width:1.4}
.arch-lab .phx-svg .h101-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h101-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .h101-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg .h101-zero{stroke:#1f2937;stroke-width:1.6}
.arch-lab .phx-svg text.h101-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.h101-axis-t{font-size:13px;font-weight:700}
.arch-lab .phx-svg .h101-line{fill:none;stroke:#1d4ed8;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .h101-line-neg{fill:none;stroke:#dc2626;stroke-width:2.8;stroke-linejoin:round}
.arch-lab .phx-svg .h101-negzone{fill:#fee2e2;opacity:.55}
.arch-lab .phx-svg .h101-cur{fill:#7c3aed;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .h101-curline{stroke:#7c3aed;stroke-width:1.4;stroke-dasharray:4 4}
.arch-lab .phx-svg text.h101-cur-t{font-size:13px;font-weight:800;fill:#5b21b6}
/* a real fraction inside the HTML text of the ht26-10-* labs (numerator over a bar over the denominator), never «a/b» */
.arch-lab .h10-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;font-variant-numeric:tabular-nums;margin:0 .12em;font-size:.88em}
.arch-lab .h10-frac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .15em}
.arch-lab .h10-frac>span:last-child{padding:0 .15em}

/* «Высшая проба» 2025/26, 10 класс, задача 2 (ht26-10-2-isosceles): a clock face with blue points and the isosceles triangles. */
.arch-lab .phx-svg .h102-bg{fill:#f4f7fb}
.arch-lab .phx-svg .h102-rim{fill:#e7dcc3;stroke:#8a6a3a;stroke-width:2}
.arch-lab .phx-svg .h102-face{fill:#fffdf6;stroke:#b8a272;stroke-width:1.2}
.arch-lab .phx-svg .h102-circle{fill:none;stroke:#94a3b8;stroke-width:1.4}
.arch-lab .phx-svg .h102-tick{stroke:#c9b98f;stroke-width:2;stroke-linecap:round}
.arch-lab .phx-svg .h102-pt{fill:#2563eb;stroke:#ffffff;stroke-width:1}
.arch-lab .phx-svg .h102-pt-sel{fill:#1d4ed8;stroke:#f59e0b;stroke-width:2.4}
.arch-lab .phx-svg .h102-pt-me{fill:#7c3aed;stroke:#ffffff;stroke-width:2.2}
.arch-lab .phx-svg .h102-halo{fill:none;stroke:#7c3aed;stroke-width:2;stroke-dasharray:3 3}
.arch-lab .phx-svg .h102-lonely{fill:none;stroke:#ea580c;stroke-width:2.4}
.arch-lab .phx-svg .h102-dup{fill:none;stroke:#b91c1c;stroke-width:2.6}
.arch-lab .phx-svg .h102-in{fill:#22c55e;fill-opacity:.1;stroke:#15803d;stroke-width:1.6;stroke-linejoin:round}
.arch-lab .phx-svg .h102-in-thin{fill:none;stroke:#15803d;stroke-width:.8;stroke-opacity:.6}
.arch-lab .phx-svg .h102-cross{fill:#ef4444;fill-opacity:.12;stroke:#b91c1c;stroke-width:2;stroke-linejoin:round}
.arch-lab .phx-svg .h102-tri0{fill:#3b82f6;fill-opacity:.1;stroke:#1d4ed8;stroke-width:2}
.arch-lab .phx-svg .h102-tri1{fill:#f97316;fill-opacity:.1;stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg .h102-tri2{fill:#22c55e;fill-opacity:.1;stroke:#15803d;stroke-width:2}
.arch-lab .phx-svg .h102-tri3{fill:#a855f7;fill-opacity:.1;stroke:#7e22ce;stroke-width:2}
.arch-lab .phx-svg .h102-axis{stroke:#7c3aed;stroke-width:1.4;stroke-dasharray:6 4}
.arch-lab .phx-svg .h102-eqmark{stroke:#7c3aed;stroke-width:2.2}
.arch-lab .phx-svg text.h102-big{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h102-small{font-size:13px;font-weight:700}
.arch-lab .phx-svg text.h102-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h102-good{fill:#047857}
.arch-lab .phx-svg text.h102-me{fill:#5b21b6}
.arch-lab .h102-table{margin:0}
.arch-lab .h102-add{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--arch-soft-line);border-radius:12px;background:var(--arch-surface)}
.arch-lab .h102-add>p{margin:0;font-weight:700}
/* Galaxy S8 (360 px): the table of groups fits the screen — short headers, smaller type; words wrap only between words */
@media (max-width:400px){.arch-lab .h102-table{font-size:13.5px;table-layout:auto;overflow-wrap:normal;word-break:normal;width:100%}.arch-lab .h102-table th,.arch-lab .h102-table td{padding:4px 5px}}

/* one legend for the page (GPT-2 VP-U17): as in the proof and its figure, blue — the price divided by 2 is odd, orange — even */
/* «Высшая проба» 2025/26, 10 класс, задача 3 (ht26-10-3-railways): a map with houses, the capital and railways with tariff plates. */
.arch-lab .phx-svg .h103-land{fill:#e8f2dc}
.arch-lab .phx-svg .h103-field{fill:#d7e9c3}
.arch-lab .phx-svg .h103-bed{fill:none;stroke:#8a6a3a;stroke-width:8;stroke-dasharray:2.5 5;stroke-linecap:butt}
.arch-lab .phx-svg .h103-rail{fill:none;stroke:#15803d;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h103-rail-off{fill:none;stroke:#94a3b8;stroke-width:2.2;stroke-dasharray:6 5;stroke-linecap:round}
.arch-lab .phx-svg .h103-bed-off{fill:none;stroke:#b9a88a;stroke-width:7;stroke-dasharray:2 7;opacity:.55}
.arch-lab .phx-svg .h103-plate{fill:#fffbeb;stroke:#92400e;stroke-width:1.4}
.arch-lab .phx-svg .h103-plate-off{fill:#f1f5f9;stroke:#64748b;stroke-width:1.4}
.arch-lab .phx-svg text.h103-plate-t{font-size:12.5px;font-weight:800;fill:#78350f;stroke:none}
.arch-lab .phx-svg text.h103-plate-off-t{font-size:12.5px;font-weight:800;fill:#475569;stroke:none}
.arch-lab .phx-svg text.h103-x{font-size:13px;font-weight:900;fill:#b91c1c}
.arch-lab .phx-svg .h103-wall{fill:#fef3c7;stroke:#78350f;stroke-width:1.3}
.arch-lab .phx-svg .h103-roof{fill:#b45309;stroke:#78350f;stroke-width:1.3;stroke-linejoin:round}
.arch-lab .phx-svg .h103-roof-even{fill:#f97316;stroke:#9a3412;stroke-width:1.3;stroke-linejoin:round}
.arch-lab .phx-svg .h103-roof-odd{fill:#2563eb;stroke:#1e3a8a;stroke-width:1.3;stroke-linejoin:round}
.arch-lab .phx-svg .h103-door{fill:#92400e}
.arch-lab .phx-svg .h103-win{fill:#bfdbfe;stroke:#78350f;stroke-width:.8}
.arch-lab .phx-svg .h103-cap-wall{fill:#fde68a;stroke:#78350f;stroke-width:1.4}
.arch-lab .phx-svg .h103-dome{fill:#facc15;stroke:#a16207;stroke-width:1.4}
.arch-lab .phx-svg .h103-star{fill:#dc2626;stroke:#7f1d1d;stroke-width:.8}
.arch-lab .phx-svg .h103-coin{fill:#fde047;stroke:#a16207;stroke-width:1.4}
.arch-lab .phx-svg .h103-coin-none{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1.4}
.arch-lab .phx-svg text.h103-coin-t{font-size:12.5px;font-weight:800;fill:#713f12;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h103-name{font-size:12px;font-weight:700}
.arch-lab .phx-svg .h103-sel{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:5 3}
.arch-lab .phx-svg text.h103-big{font-size:15px;font-weight:800}
.arch-lab .phx-svg text.h103-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h103-good{fill:#047857}

/* «Высшая проба» 2025/26, 10 класс, задача 4 (ht26-10-4-functional): the checking machine, the graph of f and the ladder of values. */
.arch-lab .phx-svg .h104-bg{fill:#f4f7fb}
.arch-lab .phx-svg .h104-body{fill:#cbd5e1;stroke:#334155;stroke-width:1.8}
.arch-lab .phx-svg .h104-panel{fill:#e2e8f0;stroke:#475569;stroke-width:1.2}
.arch-lab .phx-svg .h104-funnel{fill:#94a3b8;stroke:#334155;stroke-width:1.5;stroke-linejoin:round}
.arch-lab .phx-svg .h104-ball-x{fill:#93c5fd;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab .phx-svg .h104-ball-y{fill:#fdba74;stroke:#c2410c;stroke-width:1.5}
.arch-lab .phx-svg .h104-screen{fill:#f8fafc;stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg .h104-lamp-ok{fill:#22c55e;stroke:#14532d;stroke-width:1.5}
.arch-lab .phx-svg .h104-lamp-bad{fill:#ef4444;stroke:#7f1d1d;stroke-width:1.5}
.arch-lab .phx-svg .h104-glow-ok{fill:#86efac;opacity:.45}
.arch-lab .phx-svg .h104-glow-bad{fill:#fca5a5;opacity:.45}
.arch-lab .phx-svg .h104-bolt{fill:#64748b}
.arch-lab .phx-svg .h104-leg{fill:#475569}
.arch-lab .phx-svg text.h104-cap{font-size:12px;font-weight:700;fill:#334155}
.arch-lab .phx-svg text.h104-val{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h104-x{fill:#1d4ed8}
.arch-lab .phx-svg text.h104-y{fill:#c2410c}
.arch-lab .phx-svg text.h104-ok{fill:#047857}
.arch-lab .phx-svg text.h104-bad{fill:#b91c1c}
.arch-lab .phx-svg .h104-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h104-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .h104-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg .h104-one{stroke:#b91c1c;stroke-width:1.2;stroke-dasharray:6 4}
.arch-lab .phx-svg text.h104-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.h104-axis-t{font-size:13px;font-weight:700}
.arch-lab .phx-svg .h104-curve{fill:none;stroke:#1d4ed8;stroke-width:2.4;stroke-linejoin:round}
.arch-lab .phx-svg .h104-mark{stroke:#7c3aed;stroke-width:1.3;stroke-dasharray:4 4}
.arch-lab .phx-svg .h104-dot{fill:#7c3aed;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .h104-dot-x{fill:#2563eb;stroke:#ffffff;stroke-width:1.8}
.arch-lab .phx-svg .h104-dot-y{fill:#ea580c;stroke:#ffffff;stroke-width:1.8}
.arch-lab .phx-svg text.h104-pt{font-size:13px;font-weight:800;fill:#5b21b6}
.arch-lab .phx-svg .h104-step{fill:#fef3c7;stroke:#92400e;stroke-width:1.3}
.arch-lab .phx-svg .h104-step-on{fill:#dbeafe;stroke:#1d4ed8;stroke-width:1.6}
.arch-lab .phx-svg .h104-step-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.2}
.arch-lab .phx-svg .h104-step-need{fill:#dcfce7;stroke:#15803d;stroke-width:1.6}
.arch-lab .phx-svg text.h104-k{font-size:11.5px;font-weight:700;fill:#475569}
.arch-lab .phx-svg text.h104-v{font-size:14px;font-weight:800}
.arch-lab .h104-why{margin:0;padding:8px 12px;border-left:4px solid #7c3aed;background:var(--arch-surface);border-radius:8px}
.arch-lab .h104-proof{display:grid;gap:4px;padding:10px 14px;border-left:4px solid #047857;background:var(--arch-surface);border-radius:8px}
.arch-lab .h104-proof p{margin:0}
.arch-lab .h104-proof .h104-eq{padding-left:1.2em;white-space:nowrap;font-variant-numeric:tabular-nums}
.arch-lab .h104-nw{white-space:nowrap}

/* «Высшая проба» 2025/26, 10 класс, задача 5 (ht26-10-5-ferries): the archipelago with islands, flags of three companies and ferries. */
.arch-lab .phx-svg .h105-sea{fill:#d6ecfa}
.arch-lab .phx-svg .h105-wave{fill:none;stroke:#ffffff;stroke-width:1.4;opacity:.8}
.arch-lab .phx-svg .h105-zone{fill:#ffffff;opacity:.35;stroke:#7fa9c9;stroke-width:1;stroke-dasharray:5 4}
.arch-lab .phx-svg text.h105-zone-t{font-size:15px;font-weight:800;fill:#1e3a5f}
.arch-lab .phx-svg .h105-sand{fill:#f5deb3;stroke:#c8a165;stroke-width:1.2}
.arch-lab .phx-svg .h105-grass{fill:#86c06c;stroke:#4d7c3a;stroke-width:1}
.arch-lab .phx-svg .h105-trunk{fill:none;stroke:#8a5a2b;stroke-width:2.2;stroke-linecap:round}
.arch-lab .phx-svg .h105-leaf{fill:#3f9142;stroke:#24622a;stroke-width:.8}
.arch-lab .phx-svg .h105-pole{stroke:#475569;stroke-width:1.2}
.arch-lab .phx-svg .h105-f0{fill:#2563eb;stroke:#1e3a8a;stroke-width:.9}
.arch-lab .phx-svg .h105-f1{fill:#f97316;stroke:#9a3412;stroke-width:.9}
.arch-lab .phx-svg .h105-f2{fill:#9333ea;stroke:#581c87;stroke-width:.9}
.arch-lab .phx-svg .h105-foff{fill:#ffffff;stroke:#94a3b8;stroke-width:.9}
.arch-lab .phx-svg .h105-a0{stroke:#1d4ed8;fill:none;stroke-width:1.6}
.arch-lab .phx-svg .h105-a1{stroke:#c2410c;fill:none;stroke-width:1.6}
.arch-lab .phx-svg .h105-a2{stroke:#7e22ce;fill:none;stroke-width:1.6}
.arch-lab .phx-svg .h105-h0{fill:#1d4ed8}
.arch-lab .phx-svg .h105-h1{fill:#c2410c}
.arch-lab .phx-svg .h105-h2{fill:#7e22ce}
.arch-lab .phx-svg .h105-new{stroke-width:3.4}
.arch-lab .phx-svg .h105-boat{fill:#ffffff;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h105-sel{fill:none;stroke:#7c3aed;stroke-width:3;stroke-dasharray:5 3}
.arch-lab .phx-svg .h105-free{fill:none;stroke:#64748b;stroke-width:2;stroke-dasharray:3 3}
.arch-lab .phx-svg .h105-star-glow{fill:#fde047;opacity:.55}
.arch-lab .phx-svg text.h105-star{font-size:18px;fill:#ca8a04;stroke:#713f12;stroke-width:.8}
.arch-lab .phx-svg text.h105-num{font-size:12.5px;font-weight:800}
.arch-lab .phx-svg text.h105-big{font-size:14.5px;font-weight:800}
.arch-lab .phx-svg text.h105-c0{fill:#1d4ed8}
.arch-lab .phx-svg text.h105-c1{fill:#c2410c}
.arch-lab .phx-svg text.h105-c2{fill:#7e22ce}
.arch-lab .phx-svg text.h105-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h105-good{fill:#047857}
.arch-lab .phx-svg .h105-thin{stroke-width:1;stroke-opacity:.65}
.arch-lab .phx-svg .h105-plate{fill:#ffffff;fill-opacity:.92;stroke:#7fa9c9;stroke-width:1.2}
.arch-lab .phx-svg .h105-grp{stroke:none;opacity:.32}
.arch-lab .phx-svg .h105-g0{fill:#60a5fa}
.arch-lab .phx-svg .h105-g1{fill:#fb923c}
.arch-lab .phx-svg .h105-g2{fill:#c084fc}
.arch-lab .phx-svg .h105-sum{stroke-linecap:round}
.arch-lab .phx-svg .h105-gplate{fill:#ffffff;stroke-width:2.2;cursor:pointer}
.arch-lab .phx-svg .h105-gp0{stroke:#1d4ed8}
.arch-lab .phx-svg .h105-gp1{stroke:#c2410c}
.arch-lab .phx-svg .h105-gp2{stroke:#7e22ce}
.arch-lab .phx-svg text.h105-pl{font-size:13px;font-weight:800}
.arch-lab .phx-svg text.h105-small{font-size:13px;font-weight:600}

/* «Высшая проба» 2025/26, 10 класс, задача 6 (ht26-10-6-segments): the coordinate plane with 25 red and blue segments and the 5 × 5 table. */
.arch-lab .phx-svg .h106-bg{fill:#fbfcfe}
.arch-lab .phx-svg .h106-paper{fill:#ffffff;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h106-grid{stroke:#eef2f7;stroke-width:1}
.arch-lab .phx-svg .h106-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg .h106-red{stroke:#dc2626;stroke-width:4.2;stroke-linecap:round}
.arch-lab .phx-svg .h106-blue{stroke:#2563eb;stroke-width:4.2;stroke-linecap:round}
.arch-lab .phx-svg .h106-glow{stroke:#fde047;stroke-width:12;stroke-linecap:round;opacity:.9}
.arch-lab .phx-svg .h106-move{stroke:#7c3aed;stroke-width:9;stroke-linecap:round;opacity:.35}
.arch-lab .phx-svg .h106-pt{fill:#1f2937;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg text.h106-lbl{font-size:13.5px;font-weight:800}
.arch-lab .phx-svg text.h106-crd{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.h106-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg .h106-cell-r{fill:#fca5a5;stroke:#991b1b;stroke-width:1.2}
.arch-lab .phx-svg .h106-cell-b{fill:#93c5fd;stroke:#1e3a8a;stroke-width:1.2}
.arch-lab .phx-svg .h106-hatch{stroke:#1f2937;stroke-width:1.5;opacity:.7}
.arch-lab .phx-svg .h106-cross{fill:none;stroke:#7c3aed;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg .h106-badge{fill:#fde047;stroke:#713f12;stroke-width:1.2}
.arch-lab .phx-svg text.h106-badge-t{font-size:12px;font-weight:800;fill:#713f12;stroke:none}
.arch-lab .phx-svg text.h106-slope{font-size:12px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.h106-head{font-size:13px;font-weight:800}
.arch-lab .phx-svg text.h106-big{font-size:14.5px;font-weight:800}
.arch-lab .phx-svg text.h106-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h106-good{fill:#047857}
.arch-lab .h106-ix{white-space:nowrap}
.arch-lab .h106-ix sub{font-size:.72em;line-height:0;vertical-align:-.25em}
.arch-lab .phx-svg .h106-glow-own{stroke:#86efac;stroke-width:12;stroke-linecap:round;opacity:.95}
.arch-lab .phx-svg .h106-own-c{fill:none;stroke:#166534;stroke-width:2.6;stroke-dasharray:5 3}
.arch-lab .phx-svg .h106-cross-bad{fill:none;stroke:#ea580c;stroke-width:4;stroke-linejoin:round}
.arch-lab .h106-own{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .h106-own p{margin:0}
.arch-lab .h106-res{display:grid;gap:4px}
.arch-lab .h106-res-bad p+p{color:var(--arch-bad);font-weight:600}
.arch-lab .h106-res-good p+p{color:var(--arch-good);font-weight:600}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс. Base of the grade-11 labs (.ht11: text sizes, messages, tables), then
   №1 «Фокус с конвертом»: a light stage with curtains and a light green card table (own colours in both themes: no dark
   background with white elements), cards, step arcs, the envelope, the cards in the magician's hand. */
.arch-lab .ht11 .arch-help{font-size:16px;line-height:1.5}
.arch-lab .ht11 .arch-table th,.arch-lab .ht11 .arch-table td{padding:5px 9px;font-size:15px}
.arch-lab .ht11 .arch-legend{font-size:14.5px}
.arch-lab .ht11 .arch-legend svg{flex:0 0 auto}
.arch-lab .ht11 .phx-svg text{stroke:none}
.arch-lab .ht11 .phx-svg .p25-o,.arch-lab .ht11 .phx-svg .p25-o-thin{stroke:#111827}
/* the scene keeps its full height on phones (the drawing is the model) */
.arch-lab .phx-stage.ht11-stage,.arch-lab .phx-stage.ht111-stage{max-height:none}
.arch-lab .phx-stage.ht11-stage .phx-svg,.arch-lab .phx-stage.ht111-stage .phx-svg{max-height:none}
.arch-lab .ht11 .ht11-msg,.arch-lab .ht111-msg{margin:0;color:var(--arch-bad);font-weight:600}
.arch-lab .ht11 .ht11-msg:empty,.arch-lab .ht111-msg:empty{display:none}
.arch-lab .ht11 .ht11-good,.arch-lab .ht111-good{margin:0;color:var(--arch-good);font-weight:700}
.arch-lab .ht11 .ht11-bad,.arch-lab .ht111-bad{margin:0;color:var(--arch-bad);font-weight:700}
.arch-lab .ht11 .ht11-box{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface);min-width:0}
.arch-lab .ht11 .ht11-box-h{margin:0;font-weight:700;color:var(--arch-label)}

.arch-lab .phx-svg .ht111-wall{fill:#f3ecfa;stroke:none}
.arch-lab .phx-svg .ht111-floor{fill:#e8d3b3;stroke:none}
.arch-lab .phx-svg .ht111-curtain{fill:#e11d48;fill-opacity:.85;stroke:#9f1239;stroke-width:1}
.arch-lab .phx-svg .ht111-shadow{fill:#000;fill-opacity:.15;stroke:none}
.arch-lab .phx-svg .ht111-rim{fill:#b9824c;stroke:#7c4a25;stroke-width:2}
.arch-lab .phx-svg .ht111-felt{fill:#bfe6c8;stroke:#4d9a63;stroke-width:2}
.arch-lab .phx-svg .ht111-felt2{fill:#dcf3e1;fill-opacity:.8;stroke:none}
.arch-lab .phx-svg .ht111-tbl{fill:#14532d;font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht111-tbl2{fill:#14532d;font-size:12px}
.arch-lab .phx-svg .ht111-cshadow{fill:#000;fill-opacity:.18;stroke:none}
.arch-lab .phx-svg .ht111-c-face{fill:#fffdf7;stroke:#64748b;stroke-width:1.6}
.arch-lab .phx-svg .ht111-c-red{fill:#fee2e2;stroke:#dc2626;stroke-width:2.4}
.arch-lab .phx-svg .ht111-c-blue{fill:#dbeafe;stroke:#2563eb;stroke-width:2.4}
.arch-lab .phx-svg .ht111-cnum{fill:#1f2937;font-weight:800}
.arch-lab .phx-svg .ht111-key{cursor:pointer;outline:none}
.arch-lab .phx-svg .ht111-key:focus-visible rect:nth-child(2){stroke:#facc15;stroke-width:4}
.arch-lab .phx-svg .ht111-arc{fill:none;stroke-width:3.2;stroke-linecap:round}
.arch-lab .phx-svg .ht111-badge{stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht111-badge-t{fill:#ffffff;font-weight:800}
.arch-lab .phx-svg .ht111-who{fill:#3b2414;font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht111-ink .p25-o,.arch-lab .phx-svg .ht111-ink .p25-o-thin{stroke:#111827}
.arch-lab .phx-svg .ht111-okc{fill:#16a34a;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht111-badc{fill:#dc2626;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht111-okt{fill:#ffffff;font-size:12px;font-weight:800}
.arch-lab .ht111-lg-ok{display:inline-block;width:30px;text-align:center;font-weight:800;color:var(--arch-good)}
.arch-lab svg .ht111-c-red{fill:#fee2e2;stroke:#dc2626;stroke-width:2}
.arch-lab svg .ht111-c-blue{fill:#dbeafe;stroke:#2563eb;stroke-width:2}
.arch-lab svg .ht111-c-face{fill:#fffdf7;stroke:#64748b;stroke-width:1.5}
.arch-lab svg .ht111-arc{fill:none;stroke-width:3}
.arch-lab .ht111-pairs{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface);min-width:0}
.arch-lab .ht111-pairs-h{margin:0;font-weight:700;color:var(--arch-label)}
.arch-lab .ht111-dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px;vertical-align:-1px}
/* binomial coefficient C with stacked indices (grade-11 labs) */
.arch-lab .ht11 .ht11-binom{white-space:nowrap}
.arch-lab .ht11 .ht11-bi{display:inline-flex;flex-direction:column;vertical-align:middle;font-size:.68em;line-height:1.05;margin-left:1px;text-align:left}
.arch-lab .phx-svg .ht111-env{fill:#ffffff;stroke:#475569;stroke-width:1.4}
.arch-lab .phx-svg .ht111-env-flap{fill:#e2e8f0;stroke:#475569;stroke-width:1.2;stroke-linejoin:round}
.arch-lab .phx-svg .ht111-env-t{fill:#1f2937;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht111-hnum{fill:#1e3a8a;font-size:12px;font-weight:800}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс, №2 «Станок проверки многочленов»: a workshop (own colours in both themes),
   steel plates with fractions, the machine with the ticket and the lamp, the belt of n; HTML fractions in the formula line. */
.arch-lab .phx-stage.ht112-stage{max-height:none}
.arch-lab .phx-stage.ht112-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .ht112-wall{fill:#e7e5e4;stroke:none}
.arch-lab .phx-svg .ht112-floor{fill:#d6d3d1;stroke:none}
.arch-lab .phx-svg .ht112-pshadow{fill:#000;fill-opacity:.18;stroke:none}
.arch-lab .phx-svg .ht112-plate{fill:#cbd5e1;stroke:#475569;stroke-width:1.6;cursor:pointer}
.arch-lab .phx-svg .ht112-plate-on{fill:#fde68a;stroke:#b45309;stroke-width:3}
.arch-lab .phx-svg .ht112-plate-zero{fill:#e2e8f0}
.arch-lab .phx-svg .ht112-bolt{fill:#64748b;stroke:none}
.arch-lab .phx-svg .ht112-pnum{fill:#0f172a;font-weight:800}
.arch-lab .phx-svg .ht112-bar{stroke:#0f172a;stroke-width:1.6}
.arch-lab .phx-svg .ht112-px{fill:#1e3a8a;font-weight:700;font-style:italic}
.arch-lab .phx-svg .ht112-plab{fill:#475569;font-size:10.5px}
.arch-lab .phx-svg .ht112-body{fill:#1e40af;stroke:#1e3a8a;stroke-width:2}
.arch-lab .phx-svg .ht112-screen{fill:#f0f9ff;stroke:#1e3a8a;stroke-width:1.4}
.arch-lab .phx-svg .ht112-scr{fill:#0f172a;font-size:15px;font-weight:700}
.arch-lab .phx-svg .ht112-scr2{fill:#0f172a;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht112-scr-i{font-style:italic}
.arch-lab .phx-svg .ht112-sbar{stroke:#0f172a;stroke-width:1.5}
.arch-lab .phx-svg .ht112-sbar2{stroke:#0f172a;stroke-width:1.2}
.arch-lab .phx-svg .ht112-gear{fill:#94a3b8;stroke:#334155;stroke-width:1.2}
.arch-lab .phx-svg .ht112-hub{fill:#334155;stroke:none}
.arch-lab .phx-svg .ht112-hopper{fill:#a8a29e;stroke:#57534e;stroke-width:1.6}
.arch-lab .phx-svg .ht112-ball{fill:#f97316;stroke:#9a3412;stroke-width:1.6}
.arch-lab .phx-svg .ht112-ball-t{fill:#ffffff;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht112-ball-n{fill:#1f2937;font-size:14px;font-weight:700;font-style:italic}
.arch-lab .phx-svg .ht112-pipe{stroke:#57534e;stroke-width:5;fill:none;stroke-dasharray:2 5;stroke-linecap:round}
.arch-lab .phx-svg .ht112-ticket{fill:#fffbeb;stroke:#a16207;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab .phx-svg .ht112-tk{fill:#0f172a;font-weight:800;font-size:16px}
.arch-lab .phx-svg .ht112-tk-s{fill:#0f172a;font-size:12px}
.arch-lab .phx-svg .ht112-tbar{stroke:#0f172a;stroke-width:1.5}
.arch-lab .phx-svg .ht112-lamp{fill:#94a3b8;stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg .ht112-lamp-on{fill:#22c55e;stroke:#14532d;stroke-width:1.5}
.arch-lab .phx-svg .ht112-lamp-t{fill:#1f2937;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht112-belt-t{fill:#1f2937;font-size:13px;font-weight:700}
.arch-lab svg .ht112-cell{fill:#ffffff;stroke:#a8a29e;stroke-width:1}
.arch-lab svg .ht112-cell-zero{fill:#e7e5e4}
.arch-lab svg .ht112-cell-int{fill:#22c55e;stroke:#15803d}
.arch-lab svg .ht112-cell-band{stroke:#eab308;stroke-width:3}
.arch-lab svg .ht112-cell-sel{stroke:#1d4ed8;stroke-width:3.2}
.arch-lab .phx-svg .ht112-cell-t{fill:#334155;font-weight:600}
.arch-lab .phx-svg .ht112-cell-ti{fill:#ffffff;font-weight:800}
.arch-lab svg .ht112-curve{fill:none;stroke:var(--phx-a);stroke-width:2.4}
.arch-lab svg .ht112-gdot{fill:#16a34a;stroke:var(--arch-surface);stroke-width:1.2}
.arch-lab .phx-svg .ht112-gcur{fill:none;stroke:#f97316;stroke-width:3}
.arch-lab .ht112-formula{display:grid;gap:6px;padding:10px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface);font-size:18px;line-height:1.9;overflow-wrap:anywhere}
.arch-lab .ht112-formula p{margin:0}
.arch-lab .ht112-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 2px;font-size:.85em}
.arch-lab .ht112-num{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .ht112-den{padding:0 3px}
.arch-lab .ht112-var{font-style:italic}
.arch-lab .ht112-f-lab{font-style:normal;color:var(--arch-muted)}
.arch-lab .ht112-ok{color:var(--arch-good);font-weight:700}
.arch-lab .ht112-no{color:var(--arch-muted)}
.arch-lab .ht112-tiles button{min-height:44px}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс, №3 «Тетраэдры многогранника»: a lit showcase with a wooden turntable (own
   colours in both themes), a glass polyhedron with shaded faces, balls at the vertices, the orange tetrahedron, two planes. */
.arch-lab .phx-stage.ht113-stage{max-height:none}
.arch-lab .phx-stage.ht113-stage .phx-svg{max-height:none;cursor:grab}
.arch-lab .phx-svg .ht113-wall{fill:#eef2f7;stroke:none}
.arch-lab .phx-svg .ht113-floor{fill:#dfe5ee;stroke:none}
.arch-lab .phx-svg .ht113-table{fill:#7c4a25;stroke:#4a2a12;stroke-width:1.5}
.arch-lab .phx-svg .ht113-table-top{fill:#b07a43;stroke:#7c4a25;stroke-width:1.5}
.arch-lab .phx-svg .ht113-shadow{fill:#000;fill-opacity:.15;stroke:none}
.arch-lab svg .ht113-face{fill:#3b82f6;stroke:none}
.arch-lab svg .ht113-face-back{fill:#93c5fd;fill-opacity:.18;stroke:none}
.arch-lab svg .ht113-edge{stroke:#0f172a;stroke-width:2.4;stroke-linecap:round}
.arch-lab svg .ht113-hid{stroke:#64748b;stroke-width:1.5;stroke-dasharray:5 4}
.arch-lab svg .ht113-tet{fill:#f97316;fill-opacity:.32;stroke:none}
.arch-lab svg .ht113-tet-e{stroke:#c2410c;stroke-width:2.2;stroke-dasharray:6 3}
.arch-lab svg .ht113-v{fill:#e2e8f0;stroke:#0f172a;stroke-width:1.6;cursor:pointer}
.arch-lab svg .ht113-v-on{fill:#f97316;stroke:#facc15;stroke-width:3.5}
.arch-lab svg .ht113-v-a{fill:#2563eb}
.arch-lab svg .ht113-v-b{fill:#ea580c}
.arch-lab .phx-svg .ht113-v-hi{fill:#ffffff;fill-opacity:.85;stroke:none;pointer-events:none}
.arch-lab .phx-svg .ht113-lt{fill:#0f172a;font-size:15px;font-weight:800}
.arch-lab .phx-svg .ht113-vtag{fill:#fff7ed;stroke:#c2410c;stroke-width:1.4}
.arch-lab .phx-svg .ht113-vtag-t{fill:#7c2d12;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht113-name{fill:#0f172a;font-size:14px;font-weight:700}
.arch-lab .phx-svg .ht113-name2{fill:#475569;font-size:12.5px}
.arch-lab svg .ht113-plane-a{fill:#2563eb;fill-opacity:.14;stroke:#2563eb;stroke-width:1.4}
.arch-lab svg .ht113-plane-b{fill:#ea580c;fill-opacity:.14;stroke:#ea580c;stroke-width:1.4}
/* vertex letters keep a halo of the wall colour: the edge of a plane or an edge line behind a letter never crosses it */
.arch-lab .ht11 .phx-svg .ht113-lt{paint-order:stroke;stroke:#eef2f7;stroke-width:4px;stroke-linejoin:round}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс, №4 «Числа в кубе»: a glass cube on a light stand (own colours in both
   themes), coloured unit cubes with numbers, ghost trail, dashed targets, the yellow cone of an ancestor. */
.arch-lab .phx-stage.ht114-stage{max-height:none}
.arch-lab .phx-stage.ht114-stage .phx-svg{max-height:none;cursor:grab}
.arch-lab .phx-svg .ht114-wall{fill:#f1f5f9;stroke:none}
.arch-lab .phx-svg .ht114-floor{fill:#e2e8f0;stroke:none}
.arch-lab .phx-svg .ht114-base{fill:#cbd5e1;fill-opacity:.55;stroke:#64748b;stroke-width:1.2}
.arch-lab .phx-svg .ht114-grid{stroke:#94a3b8;stroke-width:.8}
.arch-lab .phx-svg .ht114-frame{stroke:#475569;stroke-width:1.4;stroke-dasharray:6 4}
.arch-lab .phx-svg .ht114-axis{stroke:#64748b;stroke-width:1.4}
.arch-lab .phx-svg .ht114-axl{fill:#334155;font-size:14px;font-style:italic;font-weight:700}
.arch-lab .phx-svg .ht114-cube{stroke:#1f2937;stroke-width:1.2;stroke-linejoin:round}
.arch-lab .phx-svg .ht114-num{fill:#ffffff;font-weight:800;paint-order:stroke;stroke:#111827!important;stroke-width:2.6px!important}
.arch-lab .phx-svg .ht114-selring{fill:none;stroke:#0f172a;stroke-width:2.4;stroke-dasharray:4 3}
.arch-lab .phx-svg .ht114-trail{fill-opacity:.5;stroke-width:1.2}
.arch-lab .phx-svg .ht114-cone{fill:#fde047;fill-opacity:.45;stroke:#a16207;stroke-width:1.2}
.arch-lab .phx-svg .ht114-tgt-ok{fill:#22c55e;fill-opacity:.18;stroke:#15803d;stroke-width:1.6;stroke-dasharray:4 3;cursor:pointer}
.arch-lab .phx-svg .ht114-tgt-no{fill:#94a3b8;fill-opacity:.12;stroke:#64748b;stroke-width:1.2;stroke-dasharray:3 3}
.arch-lab .phx-svg .ht114-arrow-ok{stroke:#15803d;stroke-width:2.4}
.arch-lab .phx-svg .ht114-arrow-no{stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:3 3}
.arch-lab .phx-svg .ht114-tgt-t{fill:#14532d;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht114-tgt-x{fill:#475569;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht114-name{fill:#0f172a;font-size:14px;font-weight:700}
.arch-lab .phx-svg .ht114-name2{fill:#475569;font-size:12.5px}
.arch-lab svg .ht114-lg-ok{stroke:#15803d;stroke-width:2.4;stroke-dasharray:4 3;fill:none}
.arch-lab svg .ht114-lg-no{stroke:#64748b;stroke-width:1.6;stroke-dasharray:3 3;fill:none}
.arch-lab .phx-svg .ht114-dark{fill:#000;stroke:#1f2937;stroke-width:1.2;stroke-linejoin:round}
.arch-lab .phx-svg .ht114-numbg{stroke-width:1.6;fill-opacity:1}
.arch-lab .ht11 .phx-svg .ht114-axl{paint-order:stroke;stroke:#f1f5f9;stroke-width:4px;stroke-linejoin:round}

/* the numbers m in the table «число m / побывало в» (outside the drawing field): the colours of the cubes, light in the dark theme
   (GPT-1 VP-R14: the dark colours on the dark page had contrast 1,8–2,6 : 1) */
.arch-lab .ht114-m1{color:#991b1b}.arch-lab .ht114-m2{color:#92400e}.arch-lab .ht114-m3{color:#166534}.arch-lab .ht114-m4{color:#1e3a8a}.arch-lab .ht114-m5{color:#6b21a8}.arch-lab .ht114-m6{color:#9d174d}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m1{color:#fca5a5}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m2{color:#fdba74}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m3{color:#86efac}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m4{color:#93c5fd}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m5{color:#d8b4fe}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .ht114-m6{color:#f9a8d4}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m1{color:#fca5a5}:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m2{color:#fdba74}:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m3{color:#86efac}:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m4{color:#93c5fd}:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m5{color:#d8b4fe}:root[data-design="v2"][data-theme="dark"] .arch-lab .ht114-m6{color:#f9a8d4}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс, №5 «Линейка периметров»: a light evening sky with dark stars (own colours in both
   themes: no dark background with white lines), a wooden ruler with thin ticks (no bars), triangles APQ and BPQ. Shared fraction style of the grade-11 labs. */
.arch-lab .ht11 .ht11-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 2px;font-size:.88em}
.arch-lab .ht11 .ht11-fn{border-bottom:1.5px solid currentColor;padding:0 3px}
.arch-lab .ht11 .ht11-fd{padding:0 3px}
.arch-lab .phx-stage.ht115-stage{max-height:none}
.arch-lab .phx-stage.ht115-stage .phx-svg{max-height:none}
.arch-lab svg .ht115-sky{fill:#e3ecfb;stroke:none}
.arch-lab svg .ht115-sky-lg{fill:#dfe9fa;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg .ht115-dust{fill:#334155;fill-opacity:.28;stroke:none}
.arch-lab .phx-svg .ht115-moon{fill:#fcd34d;stroke:#b45309;stroke-width:1.2}
.arch-lab svg .ht115-star{fill:#1e293b;stroke:#0f172a;stroke-width:.8}
.arch-lab .phx-svg .ht115-glow{fill:#fbbf24;fill-opacity:.35;stroke:none;cursor:grab}
.arch-lab .phx-svg .ht115-lt{fill:#0f172a;font-size:15px;font-weight:800}
.arch-lab .ht11 .phx-svg .ht115-lt{paint-order:stroke;stroke:#eef3fb;stroke-width:4px;stroke-linejoin:round}
.arch-lab svg .ht115-big{fill:#64748b;fill-opacity:.1;stroke:#475569;stroke-width:1.3;stroke-dasharray:5 4}
.arch-lab svg .ht115-small{fill:#22c55e;fill-opacity:.3;stroke:#15803d;stroke-width:1.6}
.arch-lab svg .ht115-apq{fill:#3b82f6;fill-opacity:.2;stroke:#1d4ed8;stroke-width:1.8}
.arch-lab svg .ht115-bpq{fill:#f97316;fill-opacity:.18;stroke:#c2410c;stroke-width:1.8}
.arch-lab .phx-svg .ht115-pq{stroke:#0f172a;stroke-width:3.2}
.arch-lab .phx-svg .ht115-ab{stroke:#15803d;stroke-width:4}
.arch-lab .phx-svg .ht115-pickt{fill:#ec4899;fill-opacity:.2;stroke:#be185d;stroke-width:2.2}
.arch-lab .phx-svg .ht115-rbg{fill:#f8fafc;stroke:none}
.arch-lab svg .ht115-wood{fill:#fde7c2;stroke:#a16207;stroke-width:1.4}
.arch-lab svg .ht115-tick{stroke:#334155;stroke-width:.9;stroke-opacity:.6;fill:none}
.arch-lab svg .ht115-tick-near{stroke:#dc2626;stroke-width:3}
.arch-lab svg .ht115-tick-pick{stroke:#db2777;stroke-width:3.4}
.arch-lab .phx-svg .ht115-tick-a{stroke:#2563eb;stroke-width:3}
.arch-lab .phx-svg .ht115-tick-b{stroke:#ea580c;stroke-width:3}
.arch-lab .phx-svg .ht115-dec{stroke:#475569;stroke-width:1.4}
.arch-lab .phx-svg .ht115-dec-t{fill:#334155;font-size:12px}
.arch-lab .phx-svg .ht115-axis{fill:#334155;font-size:12.5px;font-weight:600}
.arch-lab .phx-svg .ht115-near-t{fill:#b91c1c;font-size:12.5px;font-weight:700}
.arch-lab svg .ht115-tick-lg{stroke:#334155;stroke-width:1.6}

/* Popov Academy — «Высшая проба» 2025/26, 11 класс, №6 «Таблица под карточками»: a wooden table (own colours in both themes),
   cream tiles with numbers, cards with a patterned blue back, restored and differing cells, the swap cycle, the graph. */
.arch-lab .phx-stage.ht116-stage{max-height:none}
.arch-lab .phx-stage.ht116-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .ht116-wood{fill:#c08a52;stroke:none}
.arch-lab .phx-svg .ht116-grain{fill:none;stroke:#a87440;stroke-width:1.2;stroke-opacity:.6}
.arch-lab .phx-svg .ht116-frame{fill:#7c4a25;stroke:#4a2a12;stroke-width:1.5}
.arch-lab svg .ht116-tile{fill:#fffbeb;stroke:#a16207;stroke-width:1.2;cursor:pointer}
.arch-lab svg .ht116-tile-ded{fill:#bbf7d0;stroke:#15803d;stroke-width:2}
.arch-lab svg .ht116-tile-srch{fill:#dbeafe;stroke:#1d4ed8;stroke-width:2}
.arch-lab svg .ht116-tile-diff{fill:#fde047;stroke:#a16207;stroke-width:2.4}
.arch-lab svg .ht116-card{fill:#1e40af;stroke:#1e3a8a;stroke-width:1.5;cursor:pointer}
.arch-lab svg .ht116-card-d{fill:none;stroke:#93c5fd;stroke-width:1.5;pointer-events:none}
.arch-lab .phx-svg .ht116-card-c{fill:#93c5fd;stroke:none;pointer-events:none}
.arch-lab .phx-svg .ht116-num{fill:#1f2937;font-weight:800;pointer-events:none;font-size:14px}
.arch-lab .phx-svg .ht116-why{fill:#15803d;font-size:12px;font-weight:800;pointer-events:none}
.arch-lab .phx-svg .ht116-title{fill:#fff7ed;font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht116-neq{fill:#fff7ed;font-size:26px;font-weight:800}
.arch-lab .phx-svg .ht116-cycle{fill:none;stroke:#dc2626;stroke-width:2.6;stroke-dasharray:6 4;stroke-opacity:.85;pointer-events:none}
.arch-lab .phx-svg .ht116-gt{font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht116-gn{font-size:12px;font-weight:700;fill:#0f172a}
.arch-lab .phx-svg .ht116-gr{fill:#dbeafe;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab .phx-svg .ht116-gc{fill:#ffedd5;stroke:#c2410c;stroke-width:1.5}
.arch-lab .phx-svg .ht116-ge{stroke:var(--arch-muted);stroke-width:1.6}
.arch-lab .phx-svg .ht116-ge-c{stroke:#dc2626;stroke-width:3.4}
.arch-lab svg .ht116-lg-wood{fill:#c08a52;stroke:#7c4a25;stroke-width:1}
.arch-lab svg .ht116-lg-num{fill:#1f2937;font-size:13px;font-weight:800}

/* 7.1 (ht26-7-1-house): a sheet of squared paper with the «house»; three paints, area badges, cut lines. The paper stays
   light in both themes (a real sheet), so its labels have their own dark ink and a white halo. */
[data-arch-lab="ht26-7-1-house"] .phx-stage{max-height:none}
[data-arch-lab="ht26-7-1-house"] .phx-stage .phx-svg{max-height:none;touch-action:none}
.arch-lab .phx-svg .h71-sheet{fill:#fffdf6;stroke:#d6d3c4;stroke-width:1.2}
.arch-lab .phx-svg .h71-sheet-ok{stroke:#16a34a;stroke-width:5}
.arch-lab .phx-svg .h71-grid{stroke:#a8b4c4;stroke-width:1;stroke-dasharray:3 3}
.arch-lab .phx-svg .h71-piece{stroke:#94a3b8;stroke-width:1;cursor:pointer;transition:fill .15s}
.arch-lab .phx-svg .h71-piece:focus-visible{outline:none;stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .h71-free{fill:#ffffff;fill-opacity:.85;stroke:#94a3b8}
.arch-lab .phx-svg .h71-p1{fill:#93c5fd;stroke:#3b82f6}
.arch-lab .phx-svg .h71-p2{fill:#fdba74;stroke:#ea580c}
.arch-lab .phx-svg .h71-p3{fill:#86efac;stroke:#16a34a}
.arch-lab .phx-svg .h71-tri-hint{fill:none;stroke:#a16207;stroke-width:4;stroke-dasharray:6 4;pointer-events:none}
.arch-lab .phx-svg .h71-outline{fill:none;stroke:#111827;stroke-width:3.2;stroke-linejoin:round;pointer-events:none}
.arch-lab .phx-svg .h71-cut{stroke:#dc2626;stroke-width:4.5;stroke-linecap:round;pointer-events:none}
.arch-lab .phx-svg text.h71-t{fill:#111827;stroke:#ffffff;stroke-width:3px;pointer-events:none}
.arch-lab .phx-svg .h71-label{pointer-events:none}
.arch-lab .phx-svg .h71-badge{fill:#ffffff;stroke:#475569;stroke-width:1.5}
.arch-lab .phx-svg .h71-badge-1{stroke:#1d4ed8}.arch-lab .phx-svg .h71-badge-2{stroke:#c2410c}.arch-lab .phx-svg .h71-badge-3{stroke:#047857}
.arch-lab .phx-svg .h71-badge-ok{fill:#dcfce7;stroke-width:2.5}
.arch-lab .phx-svg text.h71-badge-text{font-size:14px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.h71-key-text{font-size:11px}
.arch-lab .phx-svg text.h71-tri-num{font-size:15px;font-weight:700;fill:#713f12}
.arch-lab .phx-svg .h71-mirror{stroke:#7c3aed;stroke-width:3;stroke-dasharray:9 6;pointer-events:none}
.arch-lab .phx-svg text.h71-mirror-text{fill:#6d28d9;font-weight:700;font-size:14px}
.arch-lab .phx-svg .h71-shift-arrow .phx-arrow-shaft{stroke:#9a3412;stroke-width:3.5}
.arch-lab .phx-svg .h71-shift-arrow .phx-arrow-head{fill:#9a3412}
.arch-lab .phx-svg text.h71-shift-text{fill:#9a3412;font-weight:700;font-size:14px}
.arch-lab .phx-svg.h71-key{display:inline-block;width:30px;height:22px;flex:0 0 30px}
.arch-lab .h71-paints button{min-width:96px;font-weight:600;display:inline-flex;align-items:center;gap:8px}
.arch-lab .h71-paints button::before{content:'';width:18px;height:18px;border-radius:50%;flex:0 0 18px;border:2px solid #475569;background:#fff}
.arch-lab .h71-paints .h71-paint-1::before{background:#93c5fd;border-color:#1d4ed8}
.arch-lab .h71-paints .h71-paint-2::before{background:#fdba74;border-color:#c2410c}
.arch-lab .h71-paints .h71-paint-3::before{background:#86efac;border-color:#047857}
.arch-lab .h71-paints .h71-paint-0::before{background:repeating-linear-gradient(45deg,#fff 0 3px,#cbd5e1 3px 6px);border-color:#64748b}
.arch-lab .h71-paints button[aria-pressed=true]{border-width:3px}

/* 7.2 (ht26-7-2-pancakes): a table with a stack of pancakes, a cutting board, guests with plates and their shares */
[data-arch-lab="ht26-7-2-pancakes"] .phx-stage{max-height:none}
[data-arch-lab="ht26-7-2-pancakes"] .phx-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .h72-table{fill:#f3e8d6;stroke:#c8a97e;stroke-width:1.5}
.arch-lab .phx-svg .h72-board{fill:#d9a76a;stroke:#9a6a33;stroke-width:2}
.arch-lab .phx-svg .h72-grain{stroke:#b8834a;stroke-width:1.2;opacity:.6;pointer-events:none}
.arch-lab .phx-svg .h72-pk{stroke:#a8691d;stroke-width:1.4}
.arch-lab .phx-svg .h72-piece{stroke:#a8691d;stroke-width:1.4;cursor:pointer}
.arch-lab .phx-svg .h72-piece-sel{stroke:#1d4ed8;stroke-width:4}
.arch-lab .phx-svg .h72-piece:focus-visible,.arch-lab .phx-svg .h72-cut-hit:focus-visible,.arch-lab .phx-svg .h72-hit:focus-visible{outline:none;stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .h72-gone{fill:#ffffff;fill-opacity:.35;stroke:#a8691d;stroke-width:1.2;stroke-dasharray:3 3;cursor:pointer}
.arch-lab .phx-svg .h72-piece-bad{fill:#fca5a5;stroke:#b91c1c;stroke-width:3}
.arch-lab .phx-svg .h72-piece-key{fill:#f4c15d;stroke:#a8691d;stroke-width:1.4}
.arch-lab .phx-svg .h72-mini{stroke-width:1.2}
.arch-lab .phx-svg .h72-mark{stroke:#7c4a12;stroke-width:1.2;stroke-dasharray:3 3;opacity:.75;pointer-events:none}
.arch-lab .phx-svg .h72-cut{stroke:#1f2937;stroke-width:3.5;stroke-linecap:round;pointer-events:none}
.arch-lab .phx-svg .h72-cut-key{stroke:#1f2937;stroke-width:3.5}
.arch-lab .phx-svg .h72-cut-hit{stroke:#000;stroke-opacity:0;stroke-width:16;cursor:pointer}
.arch-lab .phx-svg .h72-center{fill:#7c4a12}
.arch-lab .phx-svg .h72-plate{fill:#f8fafc;stroke:#94a3b8;stroke-width:1.4}
.arch-lab .phx-svg .h72-selring{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-dasharray:6 4}
.arch-lab .phx-svg .h72-hit{cursor:pointer}
.arch-lab .phx-svg .h72-guest-zone{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1}
.arch-lab .phx-svg .h72-guest-ready{stroke:#1d4ed8;stroke-width:2;stroke-dasharray:5 4}
.arch-lab .phx-svg text.h72-gnum{font-weight:700;fill:var(--arch-muted)}
.arch-lab .phx-svg text.h72-label{fill:#5b3a12;stroke:#f3e8d6;font-weight:700}
.arch-lab .phx-svg text.h72-count{fill:#3f2a0e;stroke:#e7c99a;font-weight:700;font-size:13.5px}
.arch-lab .phx-svg text.h72-muted{fill:#5b3a12;stroke:none}
.arch-lab .phx-svg .h72-frac text.h72-ft{fill:#4a2c0a;stroke:#fde68a;stroke-width:2.5px;font-weight:700;pointer-events:none}
.arch-lab .phx-svg .h72-fbar{stroke:#4a2c0a;stroke-width:1.5;pointer-events:none}
.arch-lab .phx-svg .h72-frac-bad text.h72-ft{fill:#7f1d1d;stroke:#fecaca}
.arch-lab .phx-svg .h72-frac-bad .h72-fbar{stroke:#7f1d1d}
.arch-lab .phx-svg text.h72-gone-text{fill:#5b3a12;stroke:none;font-weight:700;pointer-events:none}
.arch-lab .phx-svg .h72-tag{stroke-width:1.6}
.arch-lab .phx-svg .h72-tag-ok{fill:#dcfce7;stroke:#15803d}
.arch-lab .phx-svg .h72-tag-low{fill:#fef3c7;stroke:#b45309}
.arch-lab .phx-svg .h72-tag-high{fill:#fee2e2;stroke:#b91c1c}
.arch-lab .phx-svg text.h72-share{font-size:15px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg .h72-share-frac text.h72-ft{fill:#1f2937;stroke:none}
.arch-lab .phx-svg .h72-share-frac .h72-fbar{stroke:#1f2937}
.arch-lab .phx-svg .h72-check-dot{fill:#15803d;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg text.h72-check{font-size:11px;font-weight:800;fill:#ffffff;stroke:none}
.arch-lab .phx-svg.h72-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .h72-hfrac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;margin:0 .12em;font-variant-numeric:tabular-nums}
.arch-lab .h72-hfrac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .2em}
.arch-lab .h72-hfrac>span:last-child{padding:0 .2em}
.arch-lab .phx-svg text.h72-share-s{font-size:13px}
.arch-lab .phx-svg text.h72-label-big{font-size:17px}
.arch-lab .phx-svg .h72-strip-bg{fill:#fffbeb;stroke:#d6b98c;stroke-width:1.2}
.arch-lab .phx-svg .h72-strip-pk{fill:#f4c15d;stroke:#a8691d;stroke-width:1.5}
.arch-lab .phx-svg .h72-strip-g{stroke:#475569;stroke-width:1}
.arch-lab .phx-svg .h72-strip-bad{fill:#fca5a5;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg .h72-strip-tick{stroke:#7c4a12;stroke-width:1}
.arch-lab .phx-svg .h72-strip-edge{stroke:#111827;stroke-width:3.5}
.arch-lab .phx-svg text.h72-strip-cap{fill:#3f2a0e;stroke:none;font-weight:600}
.arch-lab .phx-svg text.h72-strip-n{font-size:12px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.h72-strip-sum{fill:#1f2937;stroke:none;font-weight:700;font-size:13.5px}
.arch-lab .phx-svg .h72-strip-edge-thin{stroke:#111827;stroke-width:1.5;stroke-dasharray:3 2}

/* 7.3 (ht26-7-3-ages): four children with two speech clouds each, the age on the T-shirt, a chalkboard with the facts */
[data-arch-lab="ht26-7-3-ages"] .phx-stage{max-height:none}
[data-arch-lab="ht26-7-3-ages"] .phx-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .h73-zone{fill:var(--p25-paper);stroke:var(--arch-soft-line);stroke-width:1}
.arch-lab .phx-svg .h73-zone-ok{stroke:#16a34a;stroke-width:2.5}
.arch-lab .phx-svg .h73-cloud{stroke-width:1.6;transition:fill .2s}
.arch-lab .phx-svg .h73-true{fill:#dcfce7;stroke:#15803d}
.arch-lab .phx-svg .h73-false{fill:#fee2e2;stroke:#b91c1c}
.arch-lab .phx-svg .h73-lit{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg text.h73-ct{font-size:12.5px;fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.h73-ok-mark{font-size:16px;font-weight:700;fill:#15803d;stroke:none}
.arch-lab .phx-svg text.h73-bad-mark{font-size:16px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg .h73-shirt{fill:#ffffff;stroke:#1f2937;stroke-width:1.4}
.arch-lab .phx-svg .h73-shirt-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.5}
.arch-lab .phx-svg text.h73-age{font-size:16px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg text.h73-who{font-weight:700;fill:var(--arch-label)}
.arch-lab .phx-svg text.h73-verdict-ok{font-weight:700;fill:var(--arch-good)}
.arch-lab .phx-svg text.h73-verdict-bad{font-weight:700;fill:var(--arch-bad)}
.arch-lab .phx-svg .h73-board-lit{fill:#fde047;fill-opacity:.35;stroke:#d97706;stroke-width:1.5}
.arch-lab .phx-svg.h73-key{display:inline-block;width:30px;height:22px;flex:0 0 30px}
.arch-lab .h73-step{font-size:15px;line-height:1.5}
.arch-lab .phx-svg .h73-wb-frame{fill:#cbd5e1;stroke:#475569;stroke-width:1.4}
.arch-lab .phx-svg .h73-wb{fill:#ffffff;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg .h73-wb-tray{fill:#94a3b8;stroke:#475569;stroke-width:1}
.arch-lab .phx-svg text.h73-wb-t{fill:#1e3a8a;stroke:none;font-weight:600;font-variant-numeric:tabular-nums}

/* 7.4 (ht26-7-4-lift): a skyscraper in section — two floors, the shaft, the cabin with the businessman, suitcases, the display */
[data-arch-lab="ht26-7-4-lift"] .phx-stage{max-height:none}
[data-arch-lab="ht26-7-4-lift"] .phx-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .h74-sky{fill:#e0f2fe}
.arch-lab .phx-svg .h74-wall{fill:#cbd5e1;stroke:#64748b;stroke-width:1.5}
.arch-lab .phx-svg .h74-roof{fill:#94a3b8;stroke:#475569;stroke-width:1.5}
.arch-lab .phx-svg .h74-win-s{fill:#bae6fd;stroke:#64748b;stroke-width:1}
.arch-lab .phx-svg text.h74-mid{fill:#334155;stroke:#cbd5e1;font-weight:600}
.arch-lab .phx-svg .h74-room{fill:#fef9ee;stroke:#94a3b8;stroke-width:1}
.arch-lab .phx-svg .h74-slab{fill:#78716c;stroke:#44403c;stroke-width:1}
.arch-lab .phx-svg .h74-window{fill:#bae6fd;stroke:#475569;stroke-width:1.5}
.arch-lab .phx-svg .h74-frame{stroke:#475569;stroke-width:1.5}
.arch-lab .phx-svg text.h74-floor-name{fill:#334155;stroke:#fef9ee;font-weight:700}
.arch-lab .phx-svg .h74-shaft{fill:#475569;stroke:#1e293b;stroke-width:1.5}
.arch-lab .phx-svg .h74-cable{stroke:#94a3b8;stroke-width:1.5;stroke-dasharray:4 3}
.arch-lab .phx-svg .h74-cable-on{stroke:#1e293b;stroke-width:2.5}
.arch-lab .phx-svg .h74-cabin{fill:#e2e8f0;stroke:#334155;stroke-width:2.5}
.arch-lab .phx-svg .h74-cabin-light{fill:#fef08a;stroke:none}
.arch-lab .phx-svg .h74-man-tag{fill:#ffffff;stroke:#334155;stroke-width:1.4}
.arch-lab .phx-svg text.h74-man-text{font-size:12.5px;font-weight:700;fill:#1f2937;stroke:none}
.arch-lab .phx-svg .h74-bag{cursor:pointer}
.arch-lab .phx-svg .h74-bag:focus-visible{outline:none}
.arch-lab .phx-svg .h74-bag:focus-visible .h74-bag-body{stroke:#f59e0b!important;stroke-width:4}
.arch-lab .phx-svg .h74-far{opacity:.92;cursor:default}
.arch-lab .phx-svg .h74-bag-body{stroke-width:1.8}
.arch-lab .phx-svg .h74-bag-shine{fill:#ffffff;fill-opacity:.35;stroke:none}
.arch-lab .phx-svg .h74-handle{fill:none;stroke:#1f2937;stroke-width:2.5;stroke-linejoin:round}
.arch-lab .phx-svg .h74-strap{stroke-width:1.5;opacity:.6}
.arch-lab .phx-svg .h74-wheel{fill:#1f2937;stroke:none}
.arch-lab .phx-svg text.h74-bag-num{font-weight:800;fill:#111827;stroke:#ffffff;stroke-width:2.5px}
.arch-lab .phx-svg .h74-display-ok{fill:#dcfce7;stroke:#15803d;stroke-width:2.5}
.arch-lab .phx-svg .h74-display-bad{fill:#fee2e2;stroke:#b91c1c;stroke-width:2.5}
.arch-lab .phx-svg text.h74-disp-cap{fill:#475569;stroke:none}
.arch-lab .phx-svg text.h74-disp{font-size:16px;font-weight:700;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h74-disp-verdict{font-size:15px;font-weight:800;fill:#111827;stroke:none}
.arch-lab .phx-svg.h74-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .h74-tab .h74-row-ok td{background:var(--arch-ok-bg)}
.arch-lab .h74-tab .h74-cur td{outline:2px solid var(--arch-pressed-line);outline-offset:-2px;font-weight:700}
.arch-lab .h74-log{margin:0;padding-left:1.6em;line-height:1.6;font-variant-numeric:tabular-nums}
.arch-lab .h74-tab td{white-space:nowrap}
@media (max-width:420px){.arch-lab table.h74-tab th,.arch-lab table.h74-tab td{padding:3px 4px;font-size:.9em}}

/* 7.5 (ht26-7-5-cups): a shop cabinet 3 × 3 with drawn cups and price tags, three paper receipts, coins with prices */
[data-arch-lab="ht26-7-5-cups"] .phx-stage{max-height:none}
[data-arch-lab="ht26-7-5-cups"] .phx-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .h75-cabinet{fill:#f5ecdc;stroke:#a77b4b;stroke-width:2}
.arch-lab .phx-svg .h75-shelf{fill:#b07a43;stroke:#7c4a25;stroke-width:1}
.arch-lab .phx-svg text.h75-col{fill:#3f2a0e;stroke:#f5ecdc;font-weight:700}
.arch-lab .phx-svg text.h75-row{stroke:#f5ecdc;font-weight:700}
.arch-lab .phx-svg .h75-cell{fill:#fffaf0;fill-opacity:.6;stroke:none}
.arch-lab .phx-svg .h75-cell-twice{fill:#fde68a;fill-opacity:.55;stroke:#b45309;stroke-width:2;stroke-dasharray:6 4}
.arch-lab .phx-svg .h75-hit{cursor:pointer}
.arch-lab .phx-svg .h75-hit:focus-visible{outline:none}
.arch-lab .phx-svg .h75-hit:focus-visible .h75-cell,.arch-lab .phx-svg .h75-hit:focus-visible .h75-receipt{stroke:#f59e0b;stroke-width:4}
.arch-lab .phx-svg .h75-body{stroke-width:1.6}
.arch-lab .phx-svg .h75-handle{fill:none;stroke-width:5;stroke-linecap:round}
.arch-lab .phx-svg .h75-pat{fill:#ffffff;fill-opacity:.92;stroke:none}
.arch-lab .phx-svg .h75-shine{fill:#ffffff;fill-opacity:.28;stroke:none;pointer-events:none}
.arch-lab .phx-svg .h75-rim{fill:#ffffff;stroke-width:1.6}
.arch-lab .phx-svg .h75-string{stroke:#78350f;stroke-width:1;stroke-dasharray:2 2}
.arch-lab .phx-svg .h75-tag{fill:#fef3c7;stroke:#78350f;stroke-width:1.5}
.arch-lab .phx-svg .h75-tag-empty{fill:#ffffff;stroke-dasharray:3 2}
.arch-lab .phx-svg .h75-tag-new{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:2.5}
.arch-lab .phx-svg .h75-tag-key{fill:#fdba74;stroke:#9a3412;stroke-width:3}
.arch-lab .phx-svg text.h75-tag-text{font-size:15px;font-weight:800;fill:#78350f;stroke:none}
.arch-lab .phx-svg text.h75-twice{font-size:16px;font-weight:800;fill:#b45309;stroke:#fffaf0}
.arch-lab .phx-svg text.h75-twice-key{font-size:13px;font-weight:800;fill:#b45309;stroke:none}
.arch-lab .phx-svg .h75-sel{fill:none;stroke:#1d4ed8;stroke-width:3.5;stroke-dasharray:7 4}
.arch-lab .phx-svg .h75-key-cup{fill:none;stroke:#c2410c;stroke-width:4}
.arch-lab .phx-svg .h75-rec-frame{fill:none;stroke-width:3}
.arch-lab .phx-svg .h75-receipt{fill:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .h75-receipt-on{stroke-width:3.5;fill:#f8fafc}
.arch-lab .phx-svg text.h75-rt{font-size:13.5px;font-weight:700;stroke:none}
.arch-lab .phx-svg text.h75-rsum{font-size:16px;font-weight:700;fill:#111827;stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h75-rok{font-size:14px;font-weight:700;fill:#15803d;stroke:none}
.arch-lab .phx-svg text.h75-rbad{font-size:14px;font-weight:700;fill:#b91c1c;stroke:none}
.arch-lab .phx-svg text.h75-rneed{font-size:14px;fill:#475569;stroke:none}
.arch-lab .phx-svg .h75-cmp{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab .phx-svg .h75-cmp-ok{fill:#dcfce7;stroke:#15803d}
.arch-lab .phx-svg .h75-cmp-bad{fill:#fee2e2;stroke:#b91c1c}
.arch-lab .phx-svg text.h75-cmp-t{font-size:13.5px;fill:#111827;stroke:none}
.arch-lab .phx-svg text.h75-cmp-b{font-weight:700}
.arch-lab .phx-svg.h75-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .h75-coins{display:flex;flex-wrap:wrap;gap:8px}
.arch-lab button.h75-coin{width:48px;height:48px;min-width:48px;padding:0;border-radius:50%;font-weight:800;font-size:18px;color:#78350f;background:radial-gradient(circle at 35% 30%,#fef3c7,#fbbf24 60%,#b45309);border:2px solid #92400e;box-shadow:0 2px 0 #92400e}
.arch-lab button.h75-coin.h75-coin-used{background:#e2e8f0;color:#64748b;border-color:#94a3b8;box-shadow:none}
.arch-lab .phx-svg .h75-idea{fill:#fef3c7;stroke:#b45309;stroke-width:1.5;stroke-dasharray:5 3}
.arch-lab .phx-svg text.h75-row-s{font-size:12px}

/* 7.6 (ht26-7-6-redcells): a board n × n with red tiles, counters of the rows and columns, touching marks, a pair of rows */
.arch-lab .h76-board{padding:6px}
.arch-lab .h76-board svg.h76-svg{display:block;width:100%;max-width:640px;height:auto;margin:0 auto;touch-action:manipulation;max-height:none}
.arch-lab .arch-zoomed .h76-board svg.h76-svg{width:var(--h76-zw);max-width:none}
.arch-lab .phx-svg .h76-frame{fill:#8a5a2b;stroke:#5b3a12;stroke-width:2}
.arch-lab .phx-svg .h76-cell{fill:#fbf7ef;stroke:#cbd5e1;stroke-width:1;cursor:pointer}
.arch-lab .phx-svg .h76-cell-b{fill:#f3ece0}
.arch-lab .phx-svg .h76-cellk{fill:#fbf7ef;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h76-cell.h76-q0{fill:#dbeafe}.arch-lab .phx-svg .h76-cell.h76-q1{fill:#ffedd5}.arch-lab .phx-svg .h76-cell.h76-q2{fill:#dcfce7}.arch-lab .phx-svg .h76-cell.h76-q3{fill:#f3e8ff}
.arch-lab .phx-svg .h76-sq{stroke:#475569;stroke-width:2.5;pointer-events:none}
.arch-lab .phx-svg .h76-half{stroke:#334155;stroke-width:4;pointer-events:none}
.arch-lab .phx-svg .h76-tile{pointer-events:none}
.arch-lab .phx-svg .h76-red{fill:#ef4444;stroke:#991b1b;stroke-width:1.5}
.arch-lab .phx-svg .h76-red-shine{fill:#fca5a5;stroke:none}
.arch-lab .phx-svg .h76-touch{fill:none;stroke:#b91c1c;stroke-width:6;stroke-linecap:round;opacity:.9;pointer-events:none}
.arch-lab .phx-svg .h76-colhl{fill:#ef4444;fill-opacity:.14;stroke:#b91c1c;stroke-width:1.5;stroke-dasharray:4 3;pointer-events:none}
.arch-lab .phx-svg .h76-pair{fill:none;stroke:#1d4ed8;stroke-width:4;pointer-events:none}
.arch-lab .phx-svg .h76-empty-col{fill:#fde047;fill-opacity:.35;stroke:#a16207;stroke-width:2;stroke-dasharray:6 4;pointer-events:none}
.arch-lab .phx-svg .h76-cursor{fill:none;stroke:#f59e0b;stroke-width:4;pointer-events:none}
.arch-lab .phx-svg text.h76-cnt{font-size:20px;font-weight:800;fill:var(--arch-muted);stroke:none}
.arch-lab .phx-svg text.h76-cnt-ok{fill:var(--arch-good)}
.arch-lab .phx-svg text.h76-cnt-over{fill:var(--arch-bad)}
.arch-lab .phx-svg.h76-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg text.h76-colnum{font-size:14px;fill:var(--arch-muted);stroke:none}

/* «Высшая проба» 2025/26, 8 класс, задача 1 (ht26-8-1-tactics): the game screen of «Тактика онлайн». The base rule text.h8-t (dark text with a light halo on the painted scenes) is defined only here, before the colour classes of all ht26-8-* labs (assets.mjs joins the files in name order). The screen is a light
   painted picture in both themes (fixed colours), so its text is dark with a light halo. */
.arch-lab .phx-svg text.h8-t{fill:#1f2937;stroke:#ffffff;stroke-width:3px;stroke-opacity:.85;paint-order:stroke;stroke-linejoin:round}
.arch-lab .phx-svg .h81-screen{fill:#f1f5fb;stroke:#94a3b8;stroke-width:1.5}
.arch-lab .phx-svg .h81-bar{fill:#c7d7f2;stroke:none}
.arch-lab .phx-svg text.h81-title{font-size:14px;font-weight:800;letter-spacing:.06em;fill:#1e3a8a}
.arch-lab .phx-svg text.h81-goal{font-size:14px;font-weight:700;fill:#1e3a8a}
.arch-lab .phx-svg .h81-avatar{fill:#e0ecff;stroke:#93c5fd;stroke-width:1.5}
.arch-lab .phx-svg text.h81-name{font-size:14px;font-weight:700}
.arch-lab .phx-svg text.h81-label{font-size:14px;fill:#475569}
.arch-lab .phx-svg text.h81-score{font-size:34px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h81-score-ok{fill:#047857}
.arch-lab .phx-svg text.h81-ok{font-size:15px;font-weight:700;fill:#047857}
.arch-lab .phx-svg text.h81-off{font-size:15px;font-weight:600;fill:#b45309}
.arch-lab .phx-svg .h81-tile{stroke-width:1.6}
.arch-lab .phx-svg .h81-tile-win{fill:#fff7d6;stroke:#d4a017}
.arch-lab .phx-svg .h81-tile-draw{fill:#eef2f7;stroke:#94a3b8}
.arch-lab .phx-svg .h81-tile-loss{fill:#fde8e8;stroke:#e57373}
.arch-lab .phx-svg text.h81-tile-name{font-size:15px;font-weight:700}
.arch-lab .phx-svg text.h81-small{font-size:13px;fill:#475569}
.arch-lab .phx-svg text.h81-tile-sum{font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .h81-gold{fill:#f5c542;stroke:#a16207;stroke-width:1.2}
.arch-lab .phx-svg .h81-gold-dark{fill:#b7791f;stroke:#7c4a03;stroke-width:1}
.arch-lab .phx-svg .h81-gold-line{fill:none;stroke:#a16207;stroke-width:2}
.arch-lab .phx-svg .h81-shine{fill:none;stroke:#fff;stroke-width:1.6;opacity:.8}
.arch-lab .phx-svg .h81-ribbon{fill:#60a5fa;stroke:#1e40af;stroke-width:1}
.arch-lab .phx-svg .h81-silver{fill:#e2e8f0;stroke:#64748b;stroke-width:1.4}
.arch-lab .phx-svg .h81-eq{stroke:#334155;stroke-width:1.8}
.arch-lab .phx-svg .h81-red{fill:#ef4444;stroke:#991b1b;stroke-width:1.2}
.arch-lab .phx-svg .h81-x{stroke:#ffffff;stroke-width:2.6;stroke-linecap:round}
.arch-lab .phx-svg .h81-res{fill:#ede9fe;stroke:#7c3aed;stroke-width:1.4}
.arch-lab .phx-svg text.h81-res-t{font-size:13px;font-weight:800;fill:#5b21b6}
.arch-lab .phx-svg .h81-resline{fill:#ede9fe;stroke:#7c3aed;stroke-width:1.4}
.arch-lab .phx-svg .h81-resline-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab .phx-svg text.h81-resline-t{font-size:14px;font-weight:700}
.arch-lab .phx-svg.h81-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg .h81-key-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab .phx-svg .h81-key-res{fill:#ede9fe;stroke:#7c3aed;stroke-width:1.4}
.arch-lab .h81-table{width:100%;max-width:560px}
.arch-lab .h81-table caption{caption-side:top;text-align:left;padding-bottom:6px}
.arch-lab .h81-table tr.h81-row-ok td{background:var(--arch-ok-bg);font-weight:700}
/* phones: the painted scene keeps its full width (lab.css limits a stage to 40vh, which would shrink the picture) */
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg text.h81-tile-name-sm{font-size:13px}
.arch-lab .phx-svg text.h81-tile-count{font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .h81-nw{white-space:nowrap}
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}

/* «Высшая проба» 2025/26, 8 класс, задача 2 (ht26-8-2-gnomes): a round wooden table seen from above, gnomes around it.
   A painted light picture in both themes (fixed colours), dark text with a light halo. */
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h82-floor{fill:#f4ecdf;stroke:#d6c4a6;stroke-width:1}
.arch-lab .phx-svg .h82-shadow{fill:#5b3a1a;opacity:.18}
.arch-lab .phx-svg .h82-rim{fill:#9a6436;stroke:#5b3a1a;stroke-width:1.5}
.arch-lab .phx-svg .h82-table{fill:#d6a466;stroke:#8a5a2b;stroke-width:1}
.arch-lab .phx-svg .h82-grain{fill:none;stroke:#b98443;stroke-width:1.2;opacity:.6}
.arch-lab .phx-svg .h82-dir{fill:none;stroke:#7c4a1d;stroke-width:2.2;stroke-dasharray:6 4;opacity:.8}
.arch-lab .phx-svg .h82-dir-head{fill:#7c4a1d;opacity:.8}
.arch-lab .phx-svg text.h82-dir-t{font-size:13px;font-weight:700;fill:#5b3a1a}
.arch-lab .phx-svg .h82-o{stroke:#1f2937;stroke-width:1.6;stroke-linejoin:round}
.arch-lab .phx-svg .h82-boots{fill:#3f2a17;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h82-face{fill:#f6d2b4;stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg .h82-beard{fill:#f8fafc;stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg .h82-eye{fill:#1f2937}
.arch-lab .phx-svg .h82-sel{fill:#fde68a;fill-opacity:.55;stroke:#d97706;stroke-width:2.5}
.arch-lab .phx-svg .h82-cry-a{fill:#8b5cf6;stroke:#312e81;stroke-width:1}
.arch-lab .phx-svg .h82-cry-b{fill:#06b6d4;stroke:#164e63;stroke-width:1}
.arch-lab .phx-svg .h82-cry-c{fill:#a78bfa;stroke:#312e81;stroke-width:1}
.arch-lab .phx-svg text.h82-num{font-size:14px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h82-up{font-size:18px;font-weight:800;fill:#047857}
.arch-lab .phx-svg text.h82-down{font-size:16px;font-weight:800;fill:#64748b}
.arch-lab .phx-svg text.h82-same{font-size:16px;font-weight:800;fill:#b45309}
.arch-lab .phx-svg text.h82-mark-sm{font-size:11px;stroke-width:2px}
.arch-lab .phx-svg .h82-arr-r{fill:none;stroke:#1d4ed8;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h82-arr-l{fill:none;stroke:#c2410c;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h82-head-r{fill:#1d4ed8;stroke:none}
.arch-lab .phx-svg .h82-head-l{fill:#c2410c;stroke:none}
.arch-lab .phx-svg text.h82-count{font-size:16px;font-weight:800;fill:#065f46}
.arch-lab .phx-svg text.h82-count-l{fill:#9a3412}
.arch-lab .phx-svg text.h82-arrows{font-size:14px;font-weight:700;fill:#1e3a8a}
.arch-lab .phx-svg.h82-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg text.h82-num-up{fill:#047857}
.arch-lab .phx-svg text.h82-num-down{fill:#475569}
.arch-lab .phx-svg text.h82-num-same{fill:#b45309}
.arch-lab .phx-svg .h82-tri-up{fill:#047857;stroke:#ffffff;stroke-width:.8}
.arch-lab .phx-svg .h82-tri-down{fill:#64748b;stroke:#ffffff;stroke-width:.8}
/* crowded table (n > 24): a light plaque under the counters, small gnome heads around the rim */
.arch-lab .phx-svg .h82-plaque{fill:#fffbeb;fill-opacity:.95;stroke:#b45309;stroke-width:1.2}
.arch-lab .phx-svg text.h82-on-plaque{stroke:none}
.arch-lab .phx-svg .h82-o-sm{stroke-width:1.3}
.arch-lab .phx-svg .h82-face-sm{stroke-width:1.1}
.arch-lab .phx-svg .h82-beard-sm{stroke:#64748b;stroke-width:1}
/* the magnifier under a crowded table (VP-U06): drawn 1 : 1 in px, so the labels keep their size on a phone */
.arch-lab .phx-svg.h82-loupe{display:block;width:auto;max-width:100%;height:auto;margin:8px auto 0}
.arch-lab .phx-svg .h82-loupe-bg{stroke:#b45309;stroke-width:1.5}
.arch-lab .phx-svg text.h82-loupe-name{font-size:14px;font-weight:700}
.arch-lab .phx-svg text.h82-loupe-me{fill:#b45309}
.arch-lab .phx-svg text.h82-loupe-t{font-size:14px}
.arch-lab .phx-svg text.h82-loupe-b{font-size:15px;font-weight:800}
.arch-lab .phx-svg .h82-flow{fill:none;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h82-flow.h82-flow-in{stroke:#047857}
.arch-lab .phx-svg .h82-flow.h82-flow-out{stroke:#64748b}
.arch-lab .phx-svg .h82-flow-head.h82-flow-in{fill:#047857}
.arch-lab .phx-svg .h82-flow-head.h82-flow-out{fill:#64748b}
.arch-lab .phx-svg text.h82-flow-t{font-size:14px;font-weight:800}
.arch-lab .phx-svg text.h82-flow-t.h82-flow-in{fill:#047857}
.arch-lab .phx-svg text.h82-flow-t.h82-flow-out{fill:#475569}

/* «Высшая проба» 2025/26, 8 класс, задача 3 (ht26-8-3-bisector): an exact drawing on light squared paper (fixed colours in
   both themes), dark text with a light halo. */
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h83-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h83-grid{stroke:#e3ebf6;stroke-width:1}
.arch-lab .phx-svg .h83-tri{fill:#eef4ff;fill-opacity:.6;stroke:#1f2937;stroke-width:2.2;stroke-linejoin:round}
.arch-lab .phx-svg .h83-dbc{fill:#bfdbfe;fill-opacity:.8;stroke:#1d4ed8;stroke-width:1.5}
.arch-lab .phx-svg .h83-de{stroke:#1d4ed8;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h83-df{stroke:#047857;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h83-dc{stroke:#c2410c;stroke-width:2.6;stroke-linecap:round}
.arch-lab .phx-svg .h83-thin{fill:none;stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg .h83-arc1{fill:none;stroke:#047857;stroke-width:2.6}
.arch-lab .phx-svg .h83-arc2{fill:none;stroke:#7c3aed;stroke-width:2.6}
.arch-lab .phx-svg .h83-tick{stroke:#1d4ed8;stroke-width:2.4}
.arch-lab .phx-svg .h83-dot{fill:#1f2937}
.arch-lab .phx-svg text.h83-pt{font-size:17px;font-weight:800;font-style:italic}
.arch-lab .phx-svg text.h83-small{font-size:13px;font-weight:600}
.arch-lab .phx-svg text.h83-a1{font-size:14px;font-weight:800;fill:#047857}
.arch-lab .phx-svg text.h83-a2{font-size:14px;font-weight:800;fill:#6d28d9}
.arch-lab .phx-svg text.h83-dcl{fill:#c2410c}
.arch-lab .phx-svg text.h83-part{font-size:15px;font-weight:800}
.arch-lab .phx-svg .h83-panel{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg .h83-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.6}
.arch-lab .phx-svg text.h83-line{font-size:14.5px;font-weight:700}
.arch-lab .phx-svg text.h83-line2{font-size:13.5px;fill:#334155}
.arch-lab .phx-svg text.h83-verdict{font-size:14px;font-weight:800;fill:#b91c1c}
.arch-lab .phx-svg text.h83-ok{fill:#047857}
.arch-lab .phx-svg.h83-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg text.h83-ratio{font-size:13.5px;font-weight:700;fill:#1e3a8a}

/* «Высшая проба» 2025/26, 8 класс, задача 4 (ht26-8-4-strongmen; reused by 9 класс, задача 4): a circus arena with strongmen
   and cast-iron weights. A painted light picture in both themes (fixed colours), dark text with a light halo. */
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h84-tent{fill:#fff4e8;stroke:#e5c9a8;stroke-width:1}
.arch-lab .phx-svg .h84-stripe{fill:#e05252;opacity:.85}
.arch-lab .phx-svg .h84-back{fill:#fdeee0}
.arch-lab .phx-svg .h84-sand{fill:#f3d9a4;stroke:#d9b26b;stroke-width:1.5}
.arch-lab .phx-svg .h84-sel{fill:#fde68a;fill-opacity:.55;stroke:#d97706;stroke-width:2.2}
.arch-lab .phx-svg .h84-cur{fill:none;stroke:#047857;stroke-width:3;stroke-dasharray:6 4}
.arch-lab .phx-svg .h84-tag{fill:#fffbeb;stroke:#92400e;stroke-width:1}
.arch-lab .phx-svg text.h84-tag-t{font-size:12.5px;font-weight:800;stroke-width:0;fill:#7c2d12;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h84-cap{font-size:13px;font-weight:700;fill:#7c2d12}
.arch-lab .phx-svg text.h84-factor{font-size:17px;font-weight:800;fill:#334155;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h84-big{fill:#b45309}
.arch-lab .phx-svg text.h84-zero{fill:#b91c1c}
.arch-lab .phx-svg text.h84-a{font-size:13px;font-weight:700;fill:#475569}
.arch-lab .phx-svg .h84-iron{fill:#4b5563;stroke:#111827;stroke-width:2.5}
.arch-lab .phx-svg .h84-iron-dark{fill:#2f3640;stroke:#111827;stroke-width:2.5}
.arch-lab .phx-svg .h84-shine{fill:none;stroke:#ffffff;stroke-width:5;opacity:.45;stroke-linecap:round}
.arch-lab .phx-svg text.h84-bell-t{fill:#ffffff;stroke:none;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .h84-ghost .h84-iron,.arch-lab .phx-svg .h84-ghost .h84-iron-dark{fill:none;stroke:#94a3b8;stroke-dasharray:8 6}
.arch-lab .phx-svg .h84-ghost .h84-shine{display:none}
.arch-lab .phx-svg .h84-rack{fill:#b07a43;stroke:#6f4a22;stroke-width:1.2}
.arch-lab .phx-svg .h84-glow{fill:#fde68a;fill-opacity:.7;stroke:#d97706;stroke-width:1.6}
.arch-lab .phx-svg .h84-free{fill:#bbf7d0;fill-opacity:.85;stroke:#047857;stroke-width:1.8}
.arch-lab .phx-svg .h84-taken{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab .phx-svg .h84-panel{fill:#ffffff;stroke:#e5c9a8;stroke-width:1.4}
.arch-lab .phx-svg .h84-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.8}
.arch-lab .phx-svg text.h84-prod{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h84-goal{font-size:14px;font-weight:700;fill:#b45309}
.arch-lab .phx-svg text.h84-ok{fill:#047857}
.arch-lab .phx-svg text.h84-say{font-size:13px;font-weight:700;fill:#065f46}
.arch-lab .phx-svg.h84-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg .h84-skin{fill:#f2c7a5;stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .h84-arm{fill:none;stroke:#f2c7a5;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .h84-muscle{fill:none;stroke:#b7835f;stroke-width:1.6}
.arch-lab .phx-svg .h84-tights{fill:#334155;stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg .h84-boot{fill:#7c2d12;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h84-leo{stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .h84-leo-stripe{fill:none;stroke:#ffffff;stroke-width:2.2;opacity:.7}
.arch-lab .phx-svg .h84-belt{fill:#facc15;stroke:#854d0e;stroke-width:1}
.arch-lab .phx-svg .h84-hair{fill:#3f2a17;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h84-eye{fill:#1f2937}
.arch-lab .phx-svg .h84-tache{fill:#3f2a17}
.arch-lab .phx-svg text.h84-cap-sm{font-size:12.5px}

/* «Высшая проба» 2025/26, 8 класс, задача 5 (ht26-8-5-phones): a laboratory desk with two phones and the graph of their charge.
   Painted light pictures in both themes (fixed colours), dark text with a light halo. */
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h85-wall{fill:#eef3f8}
.arch-lab .phx-svg .h85-desk{fill:#d9b98c}
.arch-lab .phx-svg .h85-desk-edge{fill:#b8915d}
.arch-lab .phx-svg .h85-socket{fill:#ffffff;stroke:#94a3b8;stroke-width:1.5}
.arch-lab .phx-svg .h85-hole{fill:#475569}
.arch-lab .phx-svg .h85-plug{fill:#e2e8f0;stroke:#475569;stroke-width:1.2}
.arch-lab .phx-svg .h85-cable{fill:none;stroke:#334155;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .h85-shadow{fill:#0f172a;opacity:.18}
.arch-lab .phx-svg .h85-body{fill:#475569;stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg .h85-screen{fill:#f8fafc;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h85-speaker{fill:#1f2937}
.arch-lab .phx-svg text.h85-name{font-size:12.5px;font-weight:700;fill:#334155}
.arch-lab .phx-svg .h85-cap{fill:#64748b}
.arch-lab .phx-svg .h85-batt{fill:#ffffff;stroke:#334155;stroke-width:2.5}
.arch-lab .phx-svg .h85-lv-hi{fill:#22c55e}
.arch-lab .phx-svg .h85-lv-mid{fill:#facc15}
.arch-lab .phx-svg .h85-lv-lo{fill:#ef4444}
.arch-lab .phx-svg .h85-bolt{fill:#fde047;stroke:#854d0e;stroke-width:1.3;stroke-linejoin:round}
.arch-lab .phx-svg .h85-leaf{fill:#86efac;stroke:#166534;stroke-width:1.3}
.arch-lab .phx-svg .h85-leaf-vein{fill:none;stroke:#166534;stroke-width:1}
.arch-lab .phx-svg .h85-down{fill:none;stroke:#1e3a8a;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg text.h85-pct{font-size:17px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h85-mode{font-size:12px;font-weight:600;fill:#475569}
.arch-lab .phx-svg text.h85-clock{font-size:14px;font-weight:800;fill:#1e3a8a;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h85-sum{font-size:15px;font-weight:800}
.arch-lab .phx-svg .h85-paper{fill:#fbfcfe;stroke:#cbd5e1;stroke-width:1}
.arch-lab .phx-svg .h85-grid{stroke:#e2e8f0;stroke-width:1}
.arch-lab .phx-svg .h85-axis{stroke:#1f2937;stroke-width:1.5}
.arch-lab .phx-svg text.h85-tick{font-size:12px;fill:#475569}
.arch-lab .phx-svg text.h85-axis-t{font-size:13px;font-weight:700}
.arch-lab .phx-svg .h85-mark{stroke:#94a3b8;stroke-width:1.3;stroke-dasharray:4 4}
.arch-lab .phx-svg text.h85-msum{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h85-ok{fill:#047857}
.arch-lab .phx-svg text.h85-bad{fill:#b91c1c}
.arch-lab .phx-svg text.h85-ask{fill:#7c3aed}
.arch-lab .phx-svg text.h85-want{font-size:12px;fill:#475569}
.arch-lab .phx-svg .h85-c1{fill:none;stroke:#1d4ed8;stroke-width:2.6;stroke-linejoin:round}
.arch-lab .phx-svg .h85-c2{fill:none;stroke:#c2410c;stroke-width:2.6;stroke-linejoin:round}
.arch-lab .phx-svg line.h85-c1,.arch-lab .phx-svg line.h85-c2{stroke-width:3}
.arch-lab .phx-svg .h85-dot1{fill:#1d4ed8;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .h85-dot2{fill:#c2410c;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .h85-cursor{stroke:#7c3aed;stroke-width:2}
.arch-lab .phx-svg .h85-swdot{fill:#fde68a;stroke:#92400e;stroke-width:1.8}
.arch-lab .phx-svg text.h85-delta{font-size:12.5px;font-weight:800}
.arch-lab .phx-svg text.h85-not10{fill:#b45309}
.arch-lab .phx-svg text.h85-m10{fill:#475569}
.arch-lab .phx-svg.h85-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg text.h85-rowname{font-weight:700;fill:#334155}
/* the sum line and the two half hours (VP-U08) */
.arch-lab .phx-svg .h85-csum{fill:none;stroke:#15803d;stroke-width:3;stroke-linejoin:round}
.arch-lab .phx-svg line.h85-csum{stroke-width:3.4}
.arch-lab .phx-svg .h85-band{fill:#fde68a;fill-opacity:.35;stroke:none}
.arch-lab .phx-svg .h85-dotsum{fill:#15803d;stroke:#ffffff;stroke-width:2}
.arch-lab .phx-svg .h85-swdot-sum{stroke:#15803d}

/* «Высшая проба» 2025/26, 8 класс, задача 6 (ht26-8-6-battleship): a sea-battle board with ships and their shadows.
   A painted light picture in both themes (fixed colours), dark text with a light halo. */
[data-arch-lab^="ht26-8-"] [hidden]{display:none!important}
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h8-stage{max-height:none}.arch-lab .phx-stage.h8-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h86-bg{fill:#f4f7fb}
.arch-lab .phx-svg .h86-water{fill:#cfe8fb}
.arch-lab .phx-svg .h86-wave{fill:none;stroke:#ffffff;stroke-width:1.4;opacity:.8}
.arch-lab .phx-svg .h86-gridl{stroke:#8db8de;stroke-width:1}
.arch-lab .phx-svg .h86-border{fill:none;stroke:#1e3a8a;stroke-width:2.2}
.arch-lab .phx-svg .h86-frame{fill:none;stroke:#475569;stroke-width:1.8;stroke-dasharray:7 5}
.arch-lab .phx-svg text.h86-coord{font-weight:700;fill:#1e3a8a;stroke-width:2px}
.arch-lab .phx-svg .h86-hull{fill:#475569;stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .h86-hull-bad{fill:#dc2626;stroke:#7f1d1d}
.arch-lab .phx-svg .h86-port{fill:#e2e8f0}
.arch-lab .phx-svg .h86-sh4{fill:#bfdbfe;fill-opacity:.75;stroke:#1d4ed8;stroke-width:2}
.arch-lab .phx-svg .h86-sh3{fill:#bbf7d0;fill-opacity:.75;stroke:#047857;stroke-width:2}
.arch-lab .phx-svg .h86-sh2{fill:#fed7aa;fill-opacity:.75;stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg .h86-sh1{fill:#ddd6fe;fill-opacity:.75;stroke:#7c3aed;stroke-width:2}
.arch-lab .phx-svg .h86-sh-bad{fill:#fecaca;fill-opacity:.75;stroke:#b91c1c;stroke-width:2.4}
.arch-lab .phx-svg .h86-cursor{fill:none;stroke:#f59e0b;stroke-width:3;stroke-dasharray:5 3}
.arch-lab .phx-svg text.h86-count{font-size:14.5px;font-weight:800}
.arch-lab .phx-svg text.h86-bad{fill:#b91c1c}
.arch-lab .phx-svg.h86-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .h86-yard-title{margin:0}
.arch-lab .h86-tile{display:inline-flex;gap:6px;align-items:center;font-variant-numeric:tabular-nums}
.arch-lab .h86-tile-ship{color:#475569;letter-spacing:-2px;font-size:14px}
.arch-lab .h86-frac{display:inline-flex;flex-direction:column;align-items:center;vertical-align:middle;line-height:1.1;font-variant-numeric:tabular-nums;margin:0 .1em;font-size:.92em}
.arch-lab .h86-frac>span:first-child{border-bottom:1.5px solid currentColor;padding:0 .15em}
.arch-lab .h86-frac>span:last-child{padding:0 .15em}
/* the example 100 × 100 step by step (VP-U09) */
.arch-lab .h86-build{margin-top:10px}
.arch-lab .h86-build-title{margin:0 0 6px}
.arch-lab .phx-svg.h86-build-svg{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
.arch-lab .phx-svg .h86-b-r0{fill:#e0f2fe;stroke:none}
.arch-lab .phx-svg .h86-b-r1{fill:#fef3c7;stroke:none}
.arch-lab .phx-svg .h86-b-edge{fill:none;stroke:#1e3a8a;stroke-width:1.6}
.arch-lab .phx-svg .h86-b-center{fill:#dc2626}
.arch-lab .phx-svg .h86-b-strip{fill:none;stroke:#64748b;stroke-width:.5}
.arch-lab .phx-svg .h86-b-sA{fill:#bfdbfe;stroke:#1d4ed8;stroke-width:.5}
.arch-lab .phx-svg .h86-b-sB{fill:#bbf7d0;stroke:#047857;stroke-width:.5}
.arch-lab .phx-svg .h86-b-hl{fill:#fdba74;stroke:#c2410c;stroke-width:2}
.arch-lab .phx-svg text.h86-b-t{font-size:14px}
.arch-lab .phx-svg text.h86-b-strong{font-weight:800}
/* the ship glyph of the tiles in the dark theme (GPT-1 VP-R14, the same check over all labs: #475569 on the dark tile was 1,8 : 1) */
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .h86-tile-ship{color:#cbd5e1}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .h86-tile-ship{color:#cbd5e1}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №1 «Рейтинг»: the app card keeps its own light colours in both themes
   (a phone screen), the line of the share follows the theme. */
.arch-lab{--ht91-a:#1d4ed8;--ht91-a-soft:#dbe7ff;--ht91-b:#c2410c;--ht91-b-soft:#ffe1cc;--ht91-flag:#dc2626}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--ht91-a:#93c5fd;--ht91-a-soft:#1e3a66;--ht91-b:#fdba74;--ht91-b-soft:#5a2e12;--ht91-flag:#f87171}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--ht91-a:#93c5fd;--ht91-a-soft:#1e3a66;--ht91-b:#fdba74;--ht91-b-soft:#5a2e12;--ht91-flag:#f87171}
.arch-lab .phx-stage.ht91-stage{max-height:none}
.arch-lab .phx-stage.ht91-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .ht91-shadow{fill:#0f172a;fill-opacity:.12;stroke:none}
.arch-lab .phx-svg .ht91-card{fill:#f8fafc;stroke:#94a3b8;stroke-width:1.2}
.arch-lab .phx-svg .ht91-head{fill:#1e3a5f;stroke:none}
.arch-lab .phx-svg .ht91-head-t{fill:#ffffff;stroke:none;font-size:14px;font-weight:700}
.arch-lab .phx-svg .ht91-head-s{fill:#c7d7ee;stroke:none;font-size:12px}
.arch-lab .phx-svg .ht91-avatar-bg{fill:#e0ecff;stroke:#b6c8e4;stroke-width:1}
.arch-lab .phx-svg .ht91-name{fill:#1f2937;stroke:none;font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht91-tile{fill:#ffffff;stroke:#cbd5e1;stroke-width:1.2}
.arch-lab .phx-svg .ht91-tile-hot{fill:#fff7e6;stroke:#e9a23b;stroke-width:1.6}
.arch-lab .phx-svg .ht91-tile-l{fill:#5b6b82;stroke:none;font-size:12px}
.arch-lab .phx-svg .ht91-tile-v{fill:#0f172a;stroke:none;font-size:19px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .ht91-tile-v-sm{font-size:15px}
.arch-lab .phx-svg .ht91-up{fill:#15803d;stroke:none;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht91-down{fill:#b91c1c;stroke:none;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht91-small{fill:#334155;stroke:none;font-size:12.5px}
.arch-lab .phx-svg .ht91-count{fill:#0f172a;stroke:none;font-size:14px;font-weight:700;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .ht91-today{fill:#fff7e6;stroke:#e9a23b;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab .phx-svg .ht91-ghost{fill:#f1f5f9;stroke:#94a3b8;stroke-width:1;stroke-dasharray:3 2}
.arch-lab .phx-svg .ht91-ghost-t{fill:#94a3b8;stroke:none;font-size:11px;font-weight:700}
.arch-lab svg .ht91-cup{fill:#f5b301;stroke:#8a5a00;stroke-width:1.1;stroke-linejoin:round}
.arch-lab svg .ht91-cup-h{fill:none;stroke:#8a5a00;stroke-width:1.6}
.arch-lab svg .ht91-cup-shine{fill:none;stroke:#fff6c8;stroke-width:1.5;stroke-linecap:round}
.arch-lab svg .ht91-loss{fill:#dc2626;stroke:#7f1d1d;stroke-width:1}
.arch-lab svg .ht91-loss-x{fill:none;stroke:#ffffff;stroke-width:2.4;stroke-linecap:round}
/* the line of the share (theme-aware) */
.arch-lab .phx-svg .ht91-axis{stroke:var(--arch-fig-line);stroke-width:2}
.arch-lab .phx-svg .ht91-tick{stroke:var(--arch-fig-line);stroke-width:1.3}
.arch-lab .phx-svg .ht91-tick-t{font-size:12.5px;fill:var(--arch-muted);stroke:none;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .ht91-axis-t{font-size:13px;font-weight:600;fill:var(--arch-label);stroke:none}
.arch-lab svg .ht91-band-a{fill:var(--ht91-a-soft);stroke:var(--ht91-a);stroke-width:1;stroke-dasharray:3 2}
.arch-lab svg .ht91-band-b{fill:var(--ht91-b-soft);stroke:var(--ht91-b);stroke-width:1;stroke-dasharray:3 2;fill-opacity:.85}
.arch-lab svg .ht91-pt-a{fill:var(--ht91-a);stroke:var(--arch-surface);stroke-width:2}
.arch-lab svg .ht91-pt-b{fill:var(--ht91-b);stroke:var(--arch-surface);stroke-width:2}
.arch-lab .phx-svg .ht91-t-a{fill:var(--ht91-a);font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht91-t-b{fill:var(--ht91-b);font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht91-frac-t{font-size:12.5px}
.arch-lab .phx-svg .ht91-fracbar{stroke:var(--arch-fig-line);stroke-width:1.2}
.arch-lab svg .ht91-pole{stroke:var(--arch-fig-line);stroke-width:1.6}
.arch-lab svg .ht91-flag{fill:var(--ht91-flag);stroke:none}
.arch-lab .phx-svg .ht91-flag-t{fill:var(--ht91-flag);font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht91-arc{fill:none;stroke:var(--arch-fig-line);stroke-width:1.6;stroke-dasharray:4 3}
.arch-lab .phx-svg .ht91-arc-head{fill:var(--arch-fig-line);stroke:none}
.arch-lab .ht91-ratio{font-size:15px}
.arch-lab .ht91-ratio:empty{display:none}
.arch-lab .phx-svg .ht91-ink .p25-o,.arch-lab .phx-svg .ht91-ink .p25-o-thin{stroke:#1f2937}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №2 «Весы объёмов»: wooden balance, coloured 3D bodies, the triangle, the ladder. */
.arch-lab{--ht92-wood:#b07a43;--ht92-ok:#047857;--ht92-bad:#b91c1c;--ht92-tri:#eef4ff}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--ht92-ok:#6ee7b7;--ht92-bad:#fca5a5;--ht92-tri:#1e2c45}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--ht92-ok:#6ee7b7;--ht92-bad:#fca5a5;--ht92-tri:#1e2c45}
.arch-lab .phx-stage.ht92-stage{max-height:none}
.arch-lab .phx-stage.ht92-stage .phx-svg{max-height:none}
.arch-lab svg .ht92-face{stroke:#1f2937;stroke-width:1.1;stroke-linejoin:round}
.arch-lab svg .ht92-shine{stroke:#ffffff;stroke-width:2;stroke-linecap:round;opacity:.7;fill:none}
.arch-lab .phx-svg .ht92-on{fill:#ffffff;stroke:#0f172a;stroke-width:2.5px;paint-order:stroke;font-size:13px;font-weight:700}
.arch-lab .phx-svg .ht92-on-b{font-size:12.5px}
.arch-lab .phx-svg .ht92-wood{fill:var(--ht92-wood);stroke:#7c4a25;stroke-width:1.2}
.arch-lab .phx-svg .ht92-needle{fill:#ef4444;stroke:#7f1d1d;stroke-width:1}
.arch-lab .phx-svg .ht92-beam{stroke:#64748b;stroke-width:7;stroke-linecap:round}
.arch-lab .phx-svg .ht92-pivot{fill:#cbd5e1;stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg .ht92-string{stroke:var(--arch-muted);stroke-width:1.3}
.arch-lab .phx-svg .ht92-plate{fill:#cbd5e1;stroke:#334155;stroke-width:1.5}
.arch-lab .phx-svg .ht92-sum{font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht92-sum-v{font-size:15px}
.arch-lab .phx-svg .ht92-tri{fill:var(--ht92-tri);stroke:var(--arch-fig-line);stroke-width:2;stroke-linejoin:round}
.arch-lab .phx-svg .ht92-arc-ok,.arch-lab svg .ht92-arc-ok{fill:none;stroke:var(--ht92-ok);stroke-width:2.5}
.arch-lab .phx-svg .ht92-arc-bad{fill:none;stroke:var(--ht92-bad);stroke-width:2.5}
.arch-lab .phx-svg .ht92-ang-ok{fill:var(--ht92-ok);font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht92-ang-bad{fill:var(--ht92-bad);font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht92-lbl-a{fill:#1d4ed8;font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht92-lbl-b{fill:#15803d;font-size:13.5px;font-weight:700}
.arch-lab .phx-svg .ht92-lbl-c{fill:#6d28d9;font-size:13.5px;font-weight:700}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg :is(.ht92-lbl-a){fill:#93c5fd}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg .ht92-lbl-b{fill:#86efac}:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg .ht92-lbl-c{fill:#c4b5fd}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg .ht92-lbl-a{fill:#93c5fd}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg .ht92-lbl-b{fill:#86efac}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg .ht92-lbl-c{fill:#c4b5fd}
/* the ladder of the proof */
.arch-lab .ht92-ladder{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .ht92-ladder-head{margin:0 0 4px;font-weight:700;color:var(--arch-label)}
.arch-lab .ht92-rung{display:flex;justify-content:space-between;gap:12px;padding:8px 12px;border-radius:10px;font-weight:700;font-variant-numeric:tabular-nums;color:#1f2937}
.arch-lab .ht92-r-l{background:#dbeafe}.arch-lab .ht92-r-m{background:#fef3c7}.arch-lab .ht92-r-r{background:#ede9fe}
.arch-lab .ht92-gap{display:flex;gap:10px;align-items:flex-start;padding:2px 12px;font-size:14px;color:var(--arch-ink)}
.arch-lab .ht92-gap-sign{font-weight:800;font-size:18px;line-height:1.1;min-width:1.2em;text-align:center}
.arch-lab .ht92-gap-ok .ht92-gap-sign{color:var(--ht92-ok)}
.arch-lab .ht92-gap-bad .ht92-gap-sign{color:var(--ht92-bad)}
.arch-lab .ht92-gap-bad{color:var(--ht92-bad);font-weight:600}
.arch-lab .phx-svg .ht92-over{fill:var(--arch-label);stroke:var(--arch-surface);stroke-width:3px;paint-order:stroke;font-size:13px;font-weight:700}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №3 «Биссектриса прямого угла»: exact drawing, theme-aware colours. */
.arch-lab{--ht93-de:#c2410c;--ht93-bis:#7c3aed;--ht93-sq2:#047857;--ht93-tan:#db2777;--ht93-strip:#fde7d2;--ht93-hatch:#f0a56a;--ht93-tri:#eef4ff;--ht93-sq:#d1fae5}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--ht93-de:#fdba74;--ht93-bis:#c4b5fd;--ht93-sq2:#6ee7b7;--ht93-tan:#f9a8d4;--ht93-strip:#4a2a14;--ht93-hatch:#9a5a2a;--ht93-tri:#1b2840;--ht93-sq:#123b2c}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--ht93-de:#fdba74;--ht93-bis:#c4b5fd;--ht93-sq2:#6ee7b7;--ht93-tan:#f9a8d4;--ht93-strip:#4a2a14;--ht93-hatch:#9a5a2a;--ht93-tri:#1b2840;--ht93-sq:#123b2c}
.arch-lab .phx-stage.ht93-stage{max-height:none}
.arch-lab .phx-stage.ht93-stage .phx-svg{max-height:none}
.arch-lab svg .ht93-tri{fill:var(--ht93-tri);stroke:none}
.arch-lab svg .ht93-strip,.arch-lab .ht93-strip{fill:var(--ht93-strip);stroke:none}
.arch-lab svg .ht93-strip-h{stroke:none}
.arch-lab svg .ht93-hatch-l{stroke:var(--ht93-hatch);stroke-width:1.4}
.arch-lab svg .ht93-side{stroke:var(--arch-fig-line);stroke-width:2.2;stroke-linecap:round}
.arch-lab svg .ht93-thin{stroke:var(--arch-fig-line);stroke-width:1.2;fill:none}
.arch-lab svg .ht93-de{stroke:var(--ht93-de);stroke-width:4;stroke-linecap:round}
.arch-lab svg .ht93-dim{stroke:var(--ht93-de);stroke-width:1.6}
.arch-lab svg .ht93-dimhead{fill:var(--ht93-de);stroke:none}
.arch-lab svg .ht93-bis{stroke:var(--ht93-bis);stroke-width:3;stroke-linecap:round}
.arch-lab svg .ht93-sq2{stroke:var(--ht93-sq2);stroke-width:6;stroke-linecap:round;stroke-opacity:.75}
.arch-lab svg .ht93-circ{fill:none;stroke:var(--ht93-sq2);stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab svg .ht93-square{fill:var(--ht93-sq);stroke:var(--ht93-sq2);stroke-width:1.4}
.arch-lab svg .ht93-tan{stroke:var(--ht93-tan);stroke-width:2.4;stroke-dasharray:7 4}
.arch-lab svg .ht93-tick{stroke:var(--ht93-tan);stroke-width:2}
.arch-lab svg .ht93-tanpt{fill:var(--ht93-tan);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab svg .ht93-pt{fill:var(--arch-fig-line);stroke:none}
.arch-lab svg .ht93-opt{fill:var(--ht93-sq2);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab svg .ht93-kpt{fill:var(--ht93-bis);stroke:var(--arch-surface);stroke-width:1.5}
.arch-lab .phx-svg .ht93-letter{font-size:15px;font-weight:700;font-style:italic}
.arch-lab .phx-svg .ht93-letter-o{fill:var(--ht93-sq2)}
.arch-lab .phx-svg .ht93-letter-k{fill:var(--ht93-bis)}
.arch-lab .phx-svg .ht93-letter-t{fill:var(--ht93-tan)}
.arch-lab .phx-svg .ht93-head{font-size:12.5px;fill:var(--arch-muted);stroke:none}
.arch-lab svg .ht93-pill{fill:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht93-pill-t{font-size:13px;font-weight:800;stroke:none;fill:#1f2937}
.arch-lab svg .ht93-pill.ht93-pill-dim,.arch-lab svg .ht93-pill.ht93-pill-de{stroke:#c2410c}
.arch-lab svg .ht93-pill.ht93-pill-sq2{stroke:#047857}
.arch-lab svg .ht93-pill.ht93-pill-bis{stroke:#7c3aed}
.arch-lab .phx-svg .ht93-pill-t.ht93-pill-dim,.arch-lab .phx-svg .ht93-pill-t.ht93-pill-de{fill:#9a3412}
.arch-lab .phx-svg .ht93-pill-t.ht93-pill-sq2{fill:#065f46}
.arch-lab .phx-svg .ht93-pill-t.ht93-pill-bis{fill:#5b21b6}
.arch-lab .ht93-graph{display:block;width:100%;max-width:560px;height:auto}
.arch-lab svg .ht93-curve{fill:none;stroke:var(--ht93-bis);stroke-width:2.6}
.arch-lab svg .ht93-sq2-line{stroke:var(--ht93-sq2);stroke-width:1.8;stroke-dasharray:6 4}
.arch-lab .phx-svg .ht93-sq2-t{fill:var(--ht93-sq2);font-size:13px;font-weight:700}
.arch-lab svg .ht93-gdot{fill:var(--ht93-bis);stroke:var(--arch-surface);stroke-width:2}
.arch-lab svg .ht93-panel{fill:var(--arch-surface);stroke:var(--arch-soft-line);stroke-width:1.5}
.arch-lab .phx-svg .ht93-panel-h{font-size:12.5px;font-weight:700;fill:var(--arch-muted)}
.arch-lab .phx-svg .ht93-panel-k{font-size:14px;fill:var(--arch-ink)}
.arch-lab .phx-svg .ht93-panel-v{font-size:14.5px;font-weight:800;fill:var(--arch-ink);font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .ht93-panel-bis{fill:var(--ht93-bis)}
.arch-lab .phx-svg .ht93-panel-sq2{fill:var(--ht93-sq2)}
/* the overview of a stretched triangle (VP-U12): the whole triangle small, the big drawing framed */
.arch-lab svg .ht93-mini{fill:var(--arch-surface);stroke:var(--arch-soft-line);stroke-width:1.5}
.arch-lab svg .ht93-side.ht93-mini-l,.arch-lab svg .ht93-bis.ht93-mini-l{stroke-width:1.4}
.arch-lab svg .ht93-de.ht93-mini-de{stroke-width:2.2}
.arch-lab svg .ht93-mini-frame{fill:none;stroke:var(--arch-ink);stroke-width:1.6;stroke-dasharray:4 3}
.arch-lab .phx-svg .ht93-letter.ht93-mini-t{font-size:13px}
.arch-lab .phx-svg .ht93-mini-cap{font-size:13px;fill:var(--arch-muted);stroke:none}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №4 «Силачи и гири: 6048»: the circus arena of grade 8, problem 4 (styles copied
   with own class names) and the stone staircase of the factors. Fixed colours in both themes (a painted light picture). */
@media (max-width:600px) and (min-height:500px){.arch-lab .phx-stage.h94-stage{max-height:none}.arch-lab .phx-stage.h94-stage .phx-svg{max-height:none}}
.arch-lab .phx-svg .h94-tent{fill:#fff4e8;stroke:#e5c9a8;stroke-width:1}
.arch-lab .phx-svg .h94-stripe{fill:#e05252;opacity:.85}
.arch-lab .phx-svg .h94-back{fill:#fdeee0}
.arch-lab .phx-svg .h94-sand{fill:#f3d9a4;stroke:#d9b26b;stroke-width:1.5}
.arch-lab .phx-svg .h94-sel{fill:#fde68a;fill-opacity:.55;stroke:#d97706;stroke-width:2.2}
.arch-lab .phx-svg .h94-cur{fill:none;stroke:#047857;stroke-width:3;stroke-dasharray:6 4}
.arch-lab .phx-svg .h94-tag{fill:#fffbeb;stroke:#92400e;stroke-width:1}
.arch-lab .phx-svg text.h94-tag-t{font-size:12.5px;font-weight:800;stroke-width:0;fill:#7c2d12;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h94-cap{font-size:13px;font-weight:700;fill:#7c2d12}
.arch-lab .phx-svg text.h94-factor{font-size:17px;font-weight:800;fill:#334155;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h94-big{fill:#b45309}
.arch-lab .phx-svg text.h94-zero{fill:#b91c1c}
.arch-lab .phx-svg text.h94-a{font-size:13px;font-weight:700;fill:#475569}
.arch-lab .phx-svg .h94-iron{fill:#4b5563;stroke:#111827;stroke-width:2.5}
.arch-lab .phx-svg .h94-iron-dark{fill:#2f3640;stroke:#111827;stroke-width:2.5}
.arch-lab .phx-svg .h94-shine{fill:none;stroke:#ffffff;stroke-width:5;opacity:.45;stroke-linecap:round}
.arch-lab .phx-svg text.h94-bell-t{fill:#ffffff;stroke:none;font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg .h94-ghost .h94-iron,.arch-lab .phx-svg .h94-ghost .h94-iron-dark{fill:none;stroke:#94a3b8;stroke-dasharray:8 6}
.arch-lab .phx-svg .h94-ghost .h94-shine{display:none}
.arch-lab .phx-svg .h94-rack{fill:#b07a43;stroke:#6f4a22;stroke-width:1.2}
.arch-lab .phx-svg .h94-glow{fill:#fde68a;fill-opacity:.7;stroke:#d97706;stroke-width:1.6}
.arch-lab .phx-svg .h94-free{fill:#bbf7d0;fill-opacity:.85;stroke:#047857;stroke-width:1.8}
.arch-lab .phx-svg .h94-taken{fill:#e2e8f0;stroke:#94a3b8;stroke-width:1.4;stroke-dasharray:4 3}
.arch-lab .phx-svg .h94-panel{fill:#ffffff;stroke:#e5c9a8;stroke-width:1.4}
.arch-lab .phx-svg .h94-panel-ok{fill:#dcfce7;stroke:#047857;stroke-width:1.8}
.arch-lab .phx-svg text.h94-prod{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums}
.arch-lab .phx-svg text.h94-goal{font-size:14px;font-weight:700;fill:#b45309}
.arch-lab .phx-svg text.h94-ok{fill:#047857}
.arch-lab .phx-svg text.h94-say{font-size:13px;font-weight:700;fill:#065f46}
.arch-lab .phx-svg.h94-key{display:inline-block;width:30px;height:24px;flex:0 0 30px}
.arch-lab .phx-svg .h94-skin{fill:#f2c7a5;stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .h94-arm{fill:none;stroke:#f2c7a5;stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.arch-lab .phx-svg .h94-muscle{fill:none;stroke:#b7835f;stroke-width:1.6}
.arch-lab .phx-svg .h94-tights{fill:#334155;stroke:#1f2937;stroke-width:1.3}
.arch-lab .phx-svg .h94-boot{fill:#7c2d12;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h94-leo{stroke:#1f2937;stroke-width:1.4;stroke-linejoin:round}
.arch-lab .phx-svg .h94-leo-stripe{fill:none;stroke:#ffffff;stroke-width:2.2;opacity:.7}
.arch-lab .phx-svg .h94-belt{fill:#facc15;stroke:#854d0e;stroke-width:1}
.arch-lab .phx-svg .h94-hair{fill:#3f2a17;stroke:#1f2937;stroke-width:1}
.arch-lab .phx-svg .h94-eye{fill:#1f2937}
.arch-lab .phx-svg .h94-tache{fill:#3f2a17}
.arch-lab .phx-svg text.h94-cap-sm{font-size:12.5px}
.arch-lab .phx-stage.h94-stage{max-height:none}
.arch-lab .phx-stage.h94-stage .phx-svg{max-height:none}
.arch-lab .phx-svg text.h94-t{stroke:#ffffff;stroke-width:3px;paint-order:stroke}
.arch-lab .phx-svg text.h94-f7{fill:#6d28d9}
.arch-lab .phx-svg text.h94-f5{fill:#b91c1c}
.arch-lab .phx-svg .h94-ldbg{fill:#fff4e8;stroke:#e5c9a8;stroke-width:1}
.arch-lab .phx-svg .h94-step,.arch-lab svg .h94-step{fill:#d6c3a5;stroke:#6f4a22;stroke-width:1.3}
.arch-lab .phx-svg .h94-step7,.arch-lab svg .h94-step7{fill:#c4b5fd;stroke:#6d28d9;stroke-width:2}
.arch-lab .phx-svg .h94-step5,.arch-lab svg .h94-step5{fill:#fca5a5;stroke:#b91c1c;stroke-width:2}
.arch-lab .phx-svg .h94-steptop{fill:#efe4d2;stroke:#6f4a22;stroke-width:1}
.arch-lab .phx-svg .h94-brick{stroke:#6f4a22;stroke-width:.7;opacity:.55}
.arch-lab .phx-svg .h94-ground{fill:#6f4a22;stroke:none}
.arch-lab .phx-svg text.h94-stepn{font-size:16px;font-weight:800;fill:#334155}
.arch-lab .phx-svg text.h94-down{font-size:12.5px;font-weight:700;fill:#047857}
.arch-lab .phx-svg text.h94-down-bad{font-size:12.5px;font-weight:700;fill:#047857}
.arch-lab .phx-svg .h94-t{fill:#1f2937}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №5 «Фокус с карточками»: stage with curtains and a velvet table (own colours in
   both themes), playing cards, the 2 × 2 cheat sheet, the table of 24 envelopes. */
.arch-lab .phx-stage.ht95-stage{max-height:none}
.arch-lab .phx-stage.ht95-stage .phx-svg{max-height:none}
.arch-lab .phx-svg .ht95-wall{fill:#f6eedf;stroke:none}
.arch-lab .phx-svg .ht95-floor{fill:#e3cfae;stroke:#b08a5a;stroke-width:1}
.arch-lab .phx-svg .ht95-curtain{fill:#9f1239;stroke:#4c0519;stroke-width:1}
.arch-lab .phx-svg .ht95-cloth{fill:#7e22ce;stroke:#3b0764;stroke-width:1.2}
.arch-lab .phx-svg .ht95-cloth2{fill:#6b21a8;stroke:#3b0764;stroke-width:1.2}
.arch-lab .phx-svg .ht95-fringe{fill:none;stroke:#facc15;stroke-width:1.6}
.arch-lab .phx-svg .ht95-who{fill:#3b0764;stroke:none;font-size:14px;font-weight:700}
.arch-lab .phx-svg .ht95-tag{fill:#fde68a;stroke:none;font-size:12px;font-weight:700}
.arch-lab .phx-svg .ht95-ink .p25-o,.arch-lab .phx-svg .ht95-ink .p25-o-thin{stroke:#111827}
.arch-lab .phx-svg .ht95-shadow{fill:#0f172a;fill-opacity:.18;stroke:none}
.arch-lab svg .ht95-face{fill:#fffdf7}
.arch-lab .phx-svg .ht95-cl{fill:#ffffff;stroke:none;font-weight:800}
.arch-lab .phx-svg .ht95-num{stroke:none;font-weight:800}
.arch-lab .phx-svg .ht95-ok{fill:#15803d;stroke:none;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht95-in{fill:#334155;stroke:none;font-size:13px;font-weight:800}
.arch-lab .phx-svg .ht95-dim{opacity:.42}
.arch-lab .phx-svg .ht95-key{cursor:pointer;outline:none}
.arch-lab .phx-svg .ht95-key:focus-visible .ht95-face{stroke:var(--arch-focus)!important;stroke-width:4!important}
.arch-lab .phx-svg .ht95-deckt{font-size:14px;font-weight:600;fill:var(--arch-label);stroke:none}
.arch-lab .ht95-msg{margin:0;color:var(--arch-bad);font-weight:600}
.arch-lab .ht95-msg:empty{display:none}
.arch-lab .ht95-why{font-size:15px;color:var(--arch-muted)}
.arch-lab .ht95-cheat,.arch-lab .ht95-own{display:grid;gap:6px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .ht95-cheat-h{margin:0;font-weight:700;color:var(--arch-label)}
.arch-lab .ht95-tbl th,.arch-lab .ht95-tbl td{padding:6px 10px}
.arch-lab table.arch-table td.ht95-cell{background:var(--cs);color:#1f2937;border-left:5px solid var(--c)!important;text-align:left!important}
.arch-lab .ht95-cell strong{margin-right:6px}
.arch-lab .ht95-cell-on{outline:3px solid var(--arch-focus);outline-offset:-3px;font-weight:700}
.arch-lab .ht95-codelist{margin:0;padding-left:1.2em;display:grid;gap:2px;font-variant-numeric:tabular-nums}
.arch-lab .ht95-clash{color:var(--arch-bad);font-weight:700}
.arch-lab .ht95-bad{margin:0;color:var(--arch-bad);font-weight:700}
.arch-lab .ht95-good{margin:0;color:var(--arch-good);font-weight:700}
.arch-lab .ht95-t24{display:grid;gap:8px}
.arch-lab .ht95-grid24{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}
.arch-lab .ht95-grid24 li{display:flex;align-items:center;gap:6px;padding:4px 6px;border:1px solid var(--arch-soft-line);border-radius:8px;background:var(--arch-surface)}
.arch-lab .ht95-grid24 li.ht95-now{outline:3px solid var(--arch-focus);outline-offset:-2px}
.arch-lab .ht95-env{display:inline-flex;gap:2px}
.arch-lab .ht95-chip{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:22px;padding:0 4px;border-radius:5px;background:#fffdf7;color:#1f2937;border:2px solid var(--c);font-weight:800;font-size:13px}
.arch-lab .ht95-chip-m{background:var(--c);color:#fff;border-color:var(--c);white-space:nowrap}
.arch-lab .ht95-arrow{color:var(--arch-muted)}
.arch-lab .ht95-lg-in,.arch-lab .ht95-lg-ok{display:inline-block;width:20px;text-align:center;font-weight:800}
.arch-lab .ht95-lg-ok{color:var(--arch-good)}
.arch-lab .phx-svg .ht95-okc{fill:#16a34a;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht95-badc{fill:#dc2626;stroke:#ffffff;stroke-width:1.5}
.arch-lab .phx-svg .ht95-okt{fill:#ffffff;stroke:none;font-size:12px;font-weight:800}
.arch-lab .phx-svg .ht95-plq{fill:#fffdf7;stroke:#3b0764;stroke-width:1.2}
.arch-lab .phx-svg .ht95-plq-t{fill:#3b0764;stroke:none;font-size:13px;font-weight:700}
.arch-lab .ht95-tbl th{white-space:nowrap}
.arch-lab .ht95-guess{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .ht95-grow{display:flex;flex-wrap:nowrap;align-items:center;gap:6px}
.arch-lab .ht95-grow .arch-toggle{flex-wrap:nowrap;gap:4px}
.arch-lab .ht95-grow .arch-toggle button{width:44px;min-width:0;min-height:44px;padding:0;font-size:17px;font-weight:700}
.arch-lab .ht95-chip.ht95-gl{flex:none;min-width:60px;height:32px;font-size:15px;white-space:nowrap}
.arch-lab .ht95-gm{min-width:20px;font-size:18px;font-weight:800}
.arch-lab .ht95-gres{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.arch-lab .ht95-gres li{margin:0}

/* Popov Academy — «Высшая проба» 2025/26, 9 класс, №6 «Пробирки и экспертиза»: bench with flasks, a wooden rack of test tubes,
   codes under the tubes, the circle scheme. Glass and liquids keep their colours in both themes. */
.arch-lab{--ht96-bench:#eef2f7;--ht96-rack:#f3e3cc;--ht96-code:#1f2937}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab{--ht96-bench:#1a2433;--ht96-rack:#3a2c1c;--ht96-code:#e5edf7}}
:root[data-design="v2"][data-theme="dark"] .arch-lab{--ht96-bench:#1a2433;--ht96-rack:#3a2c1c;--ht96-code:#e5edf7}
.arch-lab .phx-stage.ht96-stage,.arch-lab .phx-stage.ht96-cstage{max-height:none}
.arch-lab .phx-stage.ht96-stage .phx-svg,.arch-lab .phx-stage.ht96-cstage .phx-svg{max-height:none}
.arch-lab .phx-svg .ht96-bench{fill:var(--ht96-bench);stroke:none}
.arch-lab .phx-svg .ht96-rack{fill:var(--ht96-rack);stroke:#a0763f;stroke-width:1.5}
.arch-lab .phx-svg .ht96-head,.arch-lab .phx-svg .ht96-head2{font-size:13px;font-weight:600;fill:var(--arch-label)}
.arch-lab .phx-svg .ht96-small{font-size:12.5px;font-weight:400}
.arch-lab svg .ht96-glass{fill:#ffffff;fill-opacity:.35;stroke:#475569;stroke-width:1.4;stroke-linejoin:round}
.arch-lab svg .ht96-rim{fill:#cbd5e1;stroke:#475569;stroke-width:1}
.arch-lab svg .ht96-liq{fill:#7dd3fc;stroke:none}
.arch-lab svg .ht96-liq-bad{fill:#fca5a5;stroke:none}
.arch-lab svg .ht96-selring{fill:#f59e0b;fill-opacity:.22;stroke:#f59e0b;stroke-width:2.5}
.arch-lab svg .ht96-tube{fill:#ffffff;fill-opacity:.5;stroke:#475569;stroke-width:1.2}
.arch-lab svg .ht96-tube-sel{stroke:#16a34a;stroke-width:3}
.arch-lab svg .ht96-water{fill:#bae6fd;stroke:none}
.arch-lab svg .ht96-chem{fill:#a855f7;stroke:none}
.arch-lab .phx-svg .ht96-hit{fill:transparent;stroke:none}
.arch-lab .phx-svg .ht96-key{cursor:pointer;outline:none}
.arch-lab .phx-svg .ht96-key:focus-visible .ht96-hit{fill:var(--arch-focus);fill-opacity:.2}
.arch-lab .phx-svg .ht96-fno{font-size:12.5px;font-weight:700}
.arch-lab .phx-svg .ht96-fcnt{font-size:14px;font-weight:800;fill:#0c4a6e;stroke:#ffffff;stroke-width:2.5px;paint-order:stroke}
.arch-lab .phx-svg .ht96-fpct{font-size:12px;font-weight:600;fill:var(--arch-muted)}
.arch-lab .phx-svg .ht96-fbad{fill:var(--arch-bad)}
.arch-lab .phx-svg .ht96-tno{font-size:12px;fill:var(--arch-muted);stroke:none}
.arch-lab .phx-svg .ht96-code{font-size:12.5px;font-weight:700;fill:var(--ht96-code);stroke:none}
.arch-lab .phx-svg .ht96-code-dup{fill:var(--arch-bad)}
.arch-lab .phx-svg .ht96-lamp-on{fill:#22c55e;stroke:#14532d;stroke-width:1.2}
.arch-lab .phx-svg .ht96-lamp-off{fill:#cbd5e1;stroke:#64748b;stroke-width:1}
.arch-lab .phx-svg .ht96-pour{fill:none;stroke:#0ea5e9;stroke-width:2;stroke-dasharray:4 4;animation:ht96-fade 1.4s ease-out forwards}
@keyframes ht96-fade{from{opacity:1}to{opacity:0}}
@media (prefers-reduced-motion:reduce){.arch-lab .phx-svg .ht96-pour{animation:none;opacity:.6}}
.arch-lab .ht96-msg{margin:0;color:var(--arch-bad);font-weight:600}
.arch-lab .ht96-msg:empty{display:none}
.arch-lab .ht96-count{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--arch-soft-line);border-radius:14px;background:var(--arch-surface)}
.arch-lab .ht96-count p{margin:0}
.arch-lab .ht96-count-h{font-weight:700;color:var(--arch-label)}
.arch-lab .ht96-good{color:var(--arch-good);font-weight:700}
.arch-lab .ht96-bad{color:var(--arch-bad);font-weight:700}
.arch-lab .ht96-lg-dup{color:var(--arch-bad);font-weight:800;font-size:13px;width:26px;text-align:center}
.arch-lab .phx-svg .ht96-chord{stroke:#0ea5e9;stroke-width:1.2;stroke-opacity:.7}
.arch-lab .phx-svg .ht96-chord-dup{stroke:#dc2626;stroke-width:2;stroke-opacity:1}
.arch-lab .phx-svg .ht96-stub{stroke:#16a34a;stroke-width:3;stroke-linecap:round}
.arch-lab .phx-svg .ht96-node{fill:#e0f2fe;stroke:#0369a1;stroke-width:1.5}
.arch-lab .phx-svg .ht96-node-t{font-size:12px;font-weight:800;fill:#0c4a6e;stroke:none}
.arch-lab .phx-svg .ht96-chord-dim{stroke-opacity:.35}
.arch-lab .phx-svg .ht96-chord-on{stroke:#ea580c;stroke-width:3;stroke-opacity:1}
.arch-lab .phx-svg .ht96-stub-on{stroke:#ea580c;stroke-width:4.5}
.arch-lab .phx-svg .ht96-node-on{fill:#ffedd5;stroke:#ea580c;stroke-width:2.5}
.arch-lab .phx-svg .ht96-sum{font-size:14px;font-weight:700;fill:#c2410c}
.arch-lab .phx-svg .ht96-key:focus-visible .ht96-node{stroke:var(--arch-focus);stroke-width:3}
@media (prefers-color-scheme: dark){:root[data-design="v2"]:not([data-theme="light"]) .arch-lab .phx-svg .ht96-sum{fill:#fdba74}}
:root[data-design="v2"][data-theme="dark"] .arch-lab .phx-svg .ht96-sum{fill:#fdba74}
