/*
 * «Экспозиция» (Exposition) — the design approved by the customer (concept 3 of Design Review 2.0).
 * One dark room, documents lit like exhibits, amber as the only light. Oswald (condensed display) +
 * IBM Plex Sans. Square corners. Layered over main.css (layout); this file sets the look.
 * Ported from design-review-live/variants/v3.css; no photographs of people.
 */

/* ------------------------------------------------------------------ tokens */
:root {
	--bg: #0e1316; --bg-2: #161d21; --bg-3: #1e272c; --line: rgba(236, 239, 241, .14); --line-2: #36424a;
	--ink: #eceff1; --ink-2: #aab4bb; --amber: #ffb21e; --amber-2: #ffc94f;
	--ok: #8fdcb2; --ok-bg: #183a2a; --bad: #ff9c8c; --bad-bg: #4a1c1a;
	--steel: var(--amber); --steel-dark: var(--amber-2); --signal: var(--amber);
	--paper: var(--bg); --concrete: var(--bg-2); --rule: var(--line); --rule-strong: var(--ink); --radius: 0;
	--safe: var(--ok); --danger: var(--bad);
	--display: "Oswald", "Arial Narrow", sans-serif;
	--font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--fs-3xl: clamp(2.5rem, 1.3rem + 4.2vw, 4.9rem);
	--fs-2xl: clamp(2rem, 1.3rem + 2.4vw, 3.2rem);
	--focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--amber);
	--ease: cubic-bezier(.2, .7, .2, 1);
	color-scheme: dark;
}
body { background: var(--bg); color: var(--ink); font-family: var(--font); }
::selection { background: var(--amber); color: #111; }
h1, h2, h3, .section__title, .page-head__title, .pob-panel__title, .pob-quiz__title, .site-footer__h, .pob-list__title { font-family: var(--display); font-weight: 600; letter-spacing: .005em; line-height: 1.06; }
a { color: var(--amber); }
a:hover { color: var(--amber-2); }
.muted, .pob-muted { color: var(--ink-2); }
.skip-link, .skip-link:focus { background: var(--amber); color: #111; }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel], input[type=url], input[type=number], input[type=date], select, textarea { background: var(--bg-2); color: var(--ink); border: 1.5px solid #4a5760; border-radius: 0; min-height: 48px; }
input::placeholder, textarea::placeholder { color: #7f8b92; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
input[type=checkbox], input[type=radio] { accent-color: var(--amber); width: 20px; height: 20px; }

/* ------------------------------------------------------------------ header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header__top { color: var(--ink-2); border-color: var(--line); }
.site-header__main { min-height: 96px; }
.brand { padding-block: 10px; }
.brand__logo { width: 152px; height: auto; display: block; }
@media (min-width: 75em) { .brand__logo { width: 176px; } }
@media (max-width: 30em) { .brand__logo { width: 124px; } .site-header__main { min-height: 80px; } }
.site-nav__list a, .site-nav__phone { color: var(--ink); }
.site-nav__list a { font-weight: 500; }
.site-nav__list a:hover { color: var(--amber); }
.site-nav__list a[aria-current], .site-nav__list .current-menu-item > a { border-bottom-color: var(--amber); }
.lang__list a { color: var(--ink-2); }
.lang__list a:hover { background: var(--bg-3); color: var(--ink); }
.lang__list a[aria-current] { background: var(--amber); color: #111; }
.nav-toggle { background: transparent; color: var(--ink); border-color: var(--line-2); }
@media (max-width: 74.99em) { .site-nav { background: var(--bg-2); border-color: var(--line); } .site-nav__list a { border-color: var(--line); } }
@media (min-width: 75em) { .site-nav { gap: var(--sp-5); } .site-nav__list a { padding-inline: .6rem; } }
/* Home: the header floats over the first screen. */
/* Large screens: the home header lies over the hero film. Phones and tablets: the header stays in the page flow, so the
   logo can never cover the headline whatever the header's height (wrapped lines, translations, larger text settings). */
@media (min-width: 64em) {
	.home .site-header { position: absolute; inset: 0 0 auto; background: linear-gradient(180deg, rgba(14,19,22,.85), rgba(14,19,22,0)); border-color: transparent; }
	.home .site-header__top { border-color: rgba(255,255,255,.12); }
}

/* ------------------------------------------------------------------ buttons */
.btn, .pob-btn, .ex-btn { border-radius: 0; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font-weight: 600; letter-spacing: .01em; min-height: 48px; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:hover, .pob-btn:hover { background: var(--bg-3); color: var(--ink); }
.btn--primary, .pob-btn--primary, .ex-btn--amber { background: var(--amber); border-color: var(--amber); color: #111; }
.btn--primary:hover, .pob-btn--primary:hover, .ex-btn--amber:hover { background: var(--amber-2); border-color: var(--amber-2); color: #111; }
.pob-btn--accent { background: var(--ink); color: #111; border-color: var(--ink); }
.pob-btn--accent:hover { background: #fff; color: #111; }
.btn:active, .pob-btn:active, .ex-btn:active { transform: scale(.97); }
.pob-btn[disabled], .btn[disabled] { opacity: .45; cursor: not-allowed; }
.pob-btn[aria-busy="true"] { cursor: progress; }
.ex-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 1.6rem; text-decoration: none; }
.ex-btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.ex-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.pob-link-btn { all: unset; cursor: pointer; color: var(--amber); text-decoration: underline; text-underline-offset: .18em; font-size: var(--fs-s); }
.pob-link-btn:focus-visible { box-shadow: var(--focus); }

/* ------------------------------------------------------------------ hero: the client's film, integrated (2026-11-09) */
/* The film is 4:3 (1440×1080) and carries its titles at the top edge. It takes the full width wherever the screen
   allows the whole 4:3 picture below the header (phones, tablets); on wider screens it grows to the available height and
   up to --film-ar wide, cropping only from the bottom (object-position keeps the top). Its side and bottom edges fade
   (soft eased mask) into a lightly blurred live copy of the same film (canvas, exposition.js; poster as fallback), so
   there is no rectangle, border or shadow; the picture itself stays sharp and undimmed. */
.ex-hero--film {
	--film-gap: 0px;
	--film-ar: 1.6;
	--film-h: calc(100svh - var(--pob-header-h, 64px) - var(--film-gap));
	min-height: 0; display: grid; justify-items: center; align-items: start; padding: 0; background: var(--bg); container-type: inline-size;
}
.ex-hero--film::after { content: none; }
.ex-hero__backdrop { position: absolute; inset: -48px; z-index: -2; background: var(--bg-2) center / cover no-repeat; filter: blur(30px) saturate(1.15) brightness(.78); transform: translateZ(0); }
.ex-hero__glow { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.ex-hero__glow.is-live { opacity: 1; }
/* Only the header's strip is darkened (legible navigation) and the foot melts into the page. */
.ex-hero--film::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(14,19,22,.5) 0, rgba(14,19,22,.22) calc(var(--pob-header-h, 64px) * .9), rgba(14,19,22,0) calc(var(--pob-header-h, 64px) + 40px), rgba(14,19,22,0) 72%, var(--bg) 100%); }
.ex-hero__frame {
	--film-w: min(100cqw, var(--film-h) * var(--film-ar), 1920px);
	--fade: clamp(0px, (100cqw - var(--film-w)) * .5, 150px); /* sides: only where the film is narrower than the screen */
	--fade-b: clamp(24px, 6cqw, 72px);
	--fade-t: 0px;
	position: relative; overflow: hidden;
	width: var(--film-w);
	height: min(var(--film-h), var(--film-w) * .75);
	/* Whole pixels: a fractional edge shows a 1px seam where the mask meets the surround. */
	width: round(down, var(--film-w), 1px);
	height: round(down, min(var(--film-h), var(--film-w) * .75), 1px);
	-webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.2) calc(var(--fade) * .3), rgba(0,0,0,.65) calc(var(--fade) * .62), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0,0,0,.65) calc(100% - var(--fade) * .62), rgba(0,0,0,.2) calc(100% - var(--fade) * .3), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--fade-t), #000 calc(100% - var(--fade-b)), rgba(0,0,0,.6) calc(100% - var(--fade-b) * .45), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.2) calc(var(--fade) * .3), rgba(0,0,0,.65) calc(var(--fade) * .62), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0,0,0,.65) calc(100% - var(--fade) * .62), rgba(0,0,0,.2) calc(100% - var(--fade) * .3), transparent 100%), linear-gradient(180deg, transparent 0, #000 var(--fade-t), #000 calc(100% - var(--fade-b)), rgba(0,0,0,.6) calc(100% - var(--fade-b) * .45), transparent 100%);
	-webkit-mask-composite: source-in;
	mask-composite: intersect;
}
.ex-hero.ex-hero--film .ex-hero__frame .ex-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; opacity: 1; transition: none; } /* beats the dimming of .has-media/.has-video below */
.ex-hero--film .ex-hero__frame .ex-hero__video img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
@media (min-width: 64em) {
	/* The home header lies over the backdrop; the film starts right at its bottom rule (--pob-header-h is measured by exposition.js). */
	.ex-hero--film { --film-h: calc(100svh - var(--pob-header-h, 162px)); padding-top: var(--pob-header-h, 162px); } /* fallback ≈ the real two-row header until measured */
	/* Top: a short fade into the header strip (some scenes begin with a thin black band; the titles start below it). */
	.ex-hero__frame { --fade-t: clamp(14px, 1.8cqw, 36px); }
}

/* ------------------------------------------------------------------ hero: the lit wall */
.ex-hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 90% at 78% 30%, #1d272d 0%, var(--bg) 62%); }
.ex-hero__stage { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ex-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.ex-hero.has-video .ex-hero__video { opacity: .55; }
.ex-hero.has-video .ex-hero__wall, .ex-hero.has-video .ex-hero__mark { opacity: 0; }
/* Background film (Russian page): its poster (a frame without people or captions) is the still fallback on phones,
   with reduced motion or data saving and in browsers without video; a dark scrim keeps the headline and the lit list readable over busy footage. */
.ex-hero.has-media .ex-hero__video { opacity: .5; }
.ex-hero.has-media .ex-hero__wall, .ex-hero.has-media .ex-hero__mark { display: none; }
.ex-hero.has-media .ex-hero__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,19,22,.86) 0%, rgba(14,19,22,.62) 42%, rgba(14,19,22,.4) 100%); }
.ex-hero__video img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 47.99em) { .ex-hero.has-media .ex-hero__video, .ex-hero__video img { object-position: 58% 50%; } }
/* Typographic wall: the directions in giant condensed type, dim, drifting slowly; a beam of amber light passes. */
.ex-hero__wall { position: absolute; inset: 8% -10% 30% -10%; display: grid; align-content: center; gap: .1em; transform: rotate(-4deg); transition: opacity 1s; }
.ex-hero__word { font-family: var(--display); font-weight: 600; font-size: clamp(3.4rem, 1rem + 9vw, 9.5rem); line-height: .98; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236,239,241,.11); text-transform: none; animation: ex-drift 60s linear infinite; animation-delay: calc(var(--i) * -9s); }
.ex-hero__word:nth-child(even) { animation-direction: reverse; padding-left: 18vw; }
@keyframes ex-drift { from { transform: translateX(0); } to { transform: translateX(-30vw); } }
.ex-hero__mark { position: absolute; right: -4vw; top: 12%; width: min(52vw, 640px); color: rgba(255,178,30,.22); transition: opacity 1s; }
.ex-hero__beam { position: absolute; inset: -20% -40%; background: linear-gradient(105deg, transparent 38%, rgba(255,178,30,.07) 46%, rgba(255,210,127,.13) 50%, rgba(255,178,30,.07) 54%, transparent 62%); animation: ex-beam 14s var(--ease) infinite; mix-blend-mode: screen; }
@keyframes ex-beam { 0% { transform: translateX(-35%); } 60%, 100% { transform: translateX(35%); } }
.ex-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,19,22,.3) 0%, rgba(14,19,22,.15) 40%, rgba(14,19,22,.85) 75%, var(--bg) 100%); }
.ex-hero__inner { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 56px; width: 100%; }
.ex-hero__text { display: grid; gap: 22px; justify-items: start; }
.ex-hero__text > * { animation: ex-in 1s var(--ease) both; }
.ex-hero__text > :nth-child(2) { animation-delay: .15s; }
.ex-hero__text > :nth-child(3) { animation-delay: .3s; }
@keyframes ex-in { from { opacity: 0; transform: translateY(24px); } }
.ex-hero__title { color: #fff; font-size: var(--fs-3xl); max-width: 17ch; margin: 0; text-wrap: balance; }
:lang(zh) .ex-hero__title { max-width: 12em; line-height: 1.2; letter-spacing: .02em; }
.ex-hero__lead { color: #d7dde1; font-size: var(--fs-l); max-width: 36rem; margin: 0; }
.ex-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
/* The lit list: every direction, one lit at a time (static list with reduced motion). */
.ex-hero__ticker { border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; animation: ex-in 1s .45s var(--ease) both; }
.ex-hero__ticker-label { margin: 0 0 10px; color: var(--amber); font-size: var(--fs-s); }
.ex-ticker { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ex-ticker__item { font-family: var(--display); font-weight: 500; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.25; color: #8d989f; transition: color .6s var(--ease), transform .6s var(--ease); }
.ex-ticker__item.is-lit { color: #fff; transform: translateX(10px); }
.ex-ticker__item.is-lit::before { content: ""; display: inline-block; width: 18px; height: 2px; margin: 0 10px .3em -28px; background: var(--amber); vertical-align: middle; }
@media (min-width: 64em) {
	/* --pob-header-h: measured header height (exposition.js); the fallback covers the usual one-line header. */
	.ex-hero__inner { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: end; padding-top: max(200px, calc(var(--pob-header-h, 140px) + 64px)); padding-bottom: 72px; }
	.ex-hero__ticker { border-top: 0; border-left: 1px solid rgba(255,255,255,.2); padding: 0 0 0 36px; }
}
@media (max-width: 63.99em) {
	.ex-hero { min-height: auto; }
}
@media (max-width: 47.99em) {
	.ex-hero__inner { padding-top: 40px; padding-bottom: 40px; gap: 32px; }
	/* Phones: a confident but not overwhelming headline; an over-long word may break rather than run past the edge. */
	.ex-hero__title { font-size: clamp(1.875rem, 1.05rem + 4.1vw, 2.5rem); line-height: 1.06; overflow-wrap: break-word; hyphens: manual; }
	.ex-hero__lead { font-size: var(--fs-m, 1.0625rem); }
	.ex-hero__word { -webkit-text-stroke-color: rgba(236,239,241,.08); }
	.ex-hero__mark { width: 90vw; top: 6%; right: -30vw; }
}
@media (prefers-reduced-motion: reduce) {
	.ex-hero__word, .ex-hero__beam { animation: none; }
	.ex-ticker__item { color: #d7dde1; transform: none; }
	.ex-ticker__item.is-lit::before { display: none; }
}

/* ------------------------------------------------------------------ facts */
.ex-facts ul { list-style: none; margin: 0 auto; padding-block: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 32px; }
.ex-facts li { display: grid; gap: 6px; border-left: 2px solid var(--amber); padding-left: 18px; }
.ex-facts strong { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1; color: var(--amber); font-variant-numeric: tabular-nums; }
.ex-facts span { color: var(--ink-2); max-width: 20ch; }

/* ------------------------------------------------------------------ sections */
.section { padding-block: clamp(72px, 7vw, 128px); }
.section--band { background: var(--bg-2); }
.section--rule { border-color: var(--line); }
.section__head { margin-bottom: 48px; }
.section__title { font-size: var(--fs-2xl); color: var(--ink); }
.section__lead { color: var(--ink-2); }
.section__head--row { align-items: end; }

/* reveal */
.ex-js [data-ex-reveal] { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--ease) var(--ex-d, 0ms), transform .7s var(--ease) var(--ex-d, 0ms); }
.ex-js [data-ex-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .ex-js [data-ex-reveal] { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ directions: lit rows */
.ex-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ex-row { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 6px 22px; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: background .35s; }
.ex-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.ex-row:hover { background: rgba(255,178,30,.05); }
.ex-row:hover::before, .ex-row:focus-within::before { transform: scaleX(1); }
.ex-row__ico { grid-row: span 2; width: 56px; height: 56px; border: 1.5px solid var(--amber); color: var(--amber); border-radius: 50%; display: grid; place-items: center; transition: background .3s, color .3s; }
.ex-row:hover .ex-row__ico { background: var(--amber); color: #111; }
.ex-row h3 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2.1rem); margin: 0; overflow-wrap: anywhere; hyphens: auto; }
.ex-row h3 a { color: var(--ink); text-decoration: none; }
.ex-row h3 a::after { content: ""; position: absolute; inset: 0; }
.ex-row__desc { margin: 0; color: var(--ink-2); max-width: 62ch; }
.ex-row__meta { margin: 0; font-size: var(--fs-s); color: var(--amber); }
/* No catalog-count caption since 2026-11-19: name and description share the width that the caption column took. */
@media (min-width: 64em) { .ex-row { grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.25fr); gap: 6px 32px; align-items: center; } .ex-row__ico { grid-row: auto; } }

/* ------------------------------------------------------------------ about (typographic) */
/* Heading on the left, the company's statement across the rest of the band (no «what we do» list since 2026-11-19). */
.ex-about__grid { display: grid; gap: 20px; }
.ex-about__grid .section__title { margin: 0; }
@media (min-width: 56em) { .ex-about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; align-items: start; } }
.ex-about__lead { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.2; color: var(--ink); max-width: 36ch; margin: 0; text-wrap: pretty; }
.ex-about__label { color: var(--amber); font-size: var(--fs-s); margin: 0 0 12px; }
.ex-about__index { list-style: none; counter-reset: ab; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ex-about__index li { counter-increment: ab; display: grid; grid-template-columns: 3rem 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-l); }
.ex-about__index li::before { content: counter(ab, decimal-leading-zero); font-family: var(--display); color: var(--amber); }

/* ------------------------------------------------------------------ steps */
.ex-steps { list-style: none; counter-reset: step; margin: 0 0 40px; padding: 0; display: grid; gap: 32px; }
@media (min-width: 48em) { .ex-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64em) { .ex-steps { grid-template-columns: repeat(4, 1fr); } }
.ex-steps li { counter-increment: step; position: relative; border-top: 1px solid var(--line); padding-top: 72px; }
.ex-steps li::before { content: counter(step); position: absolute; top: 14px; left: 0; font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--amber); }
.ex-steps h3 { font-size: 1.5rem; margin-bottom: 8px; }
.ex-steps p { color: var(--ink-2); margin: 0; }

/* ------------------------------------------------------------------ news */
.ex-news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ex-news li { position: relative; display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 64em) { .ex-news li { grid-template-columns: 16rem 1fr 8rem; gap: 32px; align-items: baseline; } }
.ex-news__tags { margin: 0; color: var(--amber); font-size: var(--fs-s); }
.ex-news h3 { margin: 0; font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); }
.ex-news h3 a { color: var(--ink); text-decoration: none; transition: color .2s; }
.ex-news h3 a::after { content: ""; position: absolute; inset: 0; }
.ex-news li:hover h3 a { color: var(--amber); }
.ex-news__date { margin: 0; color: var(--ink-2); font-size: var(--fs-s); }
@media (min-width: 64em) { .ex-news__date { text-align: right; } }

/* ------------------------------------------------------------------ exhibits (documents) */
.ex-proof { overflow: hidden; }
/* position: relative makes the track the containing block of its visually hidden labels (absolutely positioned):
   without it they escaped the scroll box and widened the whole page on phones (seen on the EN/ZH home pages). */
.ex-track { position: relative; list-style: none; margin: 0 0 32px; padding: 8px max(16px, calc((100vw - 76rem) / 2 + 32px)) 24px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 300px); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #39444b transparent; }
.ex-track:focus-visible { outline: 2px solid var(--amber); outline-offset: -2px; }
.ex-track li { scroll-snap-align: start; }
/* Home: licences / letters of thanks (2026-11-19) — a swipe row with arrows up to tablets, an even grid of the same
   cards on wide screens, aligned with the page column. */
.ex-proof + .ex-proof { padding-top: 0; }
@media (min-width: 64em) {
	.ex-proof .ex-track { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--sp-6); }
	.ex-proof .ex-track__nav { display: none; }
}
.ex-track__nav { display: flex; gap: 8px; }
.ex-track__nav button { width: 52px; height: 52px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); font-size: 20px; cursor: pointer; transition: border-color .2s, background .2s; }
.ex-track__nav button:hover { border-color: var(--amber); background: var(--bg-3); }
.ex-exhibit { margin: 0; height: 100%; display: grid; grid-template-rows: auto 1fr; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s var(--ease); }
.ex-exhibit:hover, .ex-exhibit:focus-within { border-color: rgba(255, 178, 30, .55); }
/* The scan is matted like a framed exhibit: graphite passe-partout, even margins, the document itself untouched. */
.ex-exhibit__open { display: grid; place-items: center; padding: 26px 26px 22px; background: radial-gradient(110% 80% at 50% 25%, #2a3439 0%, #1b2327 75%); cursor: zoom-in; }
.ex-exhibit__open:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; box-shadow: none; }
.ex-exhibit img { width: 100%; aspect-ratio: 1058 / 1497; object-fit: contain; object-position: center; filter: drop-shadow(0 18px 22px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(0,0,0,.6)); transition: transform .45s var(--ease); display: block; }
.ex-exhibit__open:hover img { transform: translateY(-6px); }
@media (prefers-reduced-motion: reduce) { .ex-exhibit__open:hover img { transform: none; } }
.ex-exhibit figcaption { display: grid; gap: 4px; align-content: start; padding: 16px 20px 18px; border-top: 1px solid var(--line); font-size: var(--fs-s); line-height: 1.45; color: var(--ink-2); }
.ex-exhibit__title { color: var(--ink); font-weight: 600; text-wrap: pretty; }
.ex-exhibit__no { font-variant-numeric: tabular-nums; }
.ex-exhibit__file { justify-self: start; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: var(--fs-xs, .8125rem); text-decoration: none; transition: border-color .2s, color .2s; }
.ex-exhibit__file::before { content: "PDF"; padding: 1px 4px; background: var(--amber); color: #111; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.ex-exhibit__file:hover { border-color: var(--amber); color: var(--amber); }

/* ------------------------------------------------------------------ partners */
/* One light board instead of separate white boxes: the partners' marks are made for a light ground, so they sit
   directly on a single panel divided by hairlines (no per-logo rectangles). Each mark keeps its own optical width
   (--logo-w from PartnerLogos: shape and ink density), never stretched or enlarged beyond 1.25× the source; --logo-k
   scales the wall down on small screens. A mostly white mark (light) gets a small graphite mount of its own. */
.ex-partners__grid { --cols: 2; --logo-k: .74; --board: #e6e8e8; --hair: rgba(14, 19, 22, .13); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--board); border-top: 3px solid var(--amber); overflow: hidden; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
@media (min-width: 40em) { .ex-partners__grid { --cols: 3; --logo-k: .86; } }
@media (min-width: 64em) { .ex-partners__grid { --cols: 4; --logo-k: 1; } }
.ex-partners__grid > li { display: grid; min-width: 0; grid-column: span calc(12 / var(--cols)); box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair); }
/* An incomplete last row is shared out evenly (no empty slot that reads as a missing logo). */
@media (max-width: 39.99em) { .ex-partners__grid > li:first-child:nth-last-child(2n+1) ~ li:last-child { grid-column: span 12; } }
@media (min-width: 40em) and (max-width: 63.99em) {
	.ex-partners__grid > li:first-child:nth-last-child(3n+1) ~ li:last-child { grid-column: span 12; }
	.ex-partners__grid > li:first-child:nth-last-child(3n+2) ~ li:nth-last-child(-n+2) { grid-column: span 6; }
}
@media (min-width: 64em) {
	.ex-partners__grid > li:first-child:nth-last-child(4n+1) ~ li:last-child { grid-column: span 12; }
	.ex-partners__grid > li:first-child:nth-last-child(4n+2) ~ li:nth-last-child(-n+2) { grid-column: span 6; }
	.ex-partners__grid > li:first-child:nth-last-child(4n+3) ~ li:nth-last-child(-n+3) { grid-column: span 4; }
}
.ex-plate { display: grid; place-items: center; min-width: 0; height: 112px; padding: 14px 16px; }
@media (min-width: 40em) { .ex-plate { height: 128px; padding: 16px 22px; } }
@media (min-width: 64em) { .ex-plate { height: 148px; padding: 20px 28px; } }
.ex-plate img { display: block; width: calc(var(--logo-w, 120px) * var(--logo-k, 1)); max-width: 100%; height: auto; }
.ex-plate--dark img { box-sizing: content-box; max-width: calc(100% - 24px); padding: 8px 12px; background: var(--bg-3); }
a.ex-plate { transition: background-color .3s var(--ease); }
a.ex-plate:hover { background: #f1f2f2; }
a.ex-plate:focus-visible { outline: 3px solid var(--amber); outline-offset: -3px; }

/* ------------------------------------------------------------------ contact CTA, footer */
.section--contact { background: var(--bg-2); border-top: 1px solid var(--line); color: var(--ink); }
.section--contact p { color: var(--ink-2); }
.ex-cta .section__title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); }
.ex-cta .contact-list--large { font-family: var(--display); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); }
.ex-cta .contact-list a { color: var(--amber); text-decoration: none; overflow-wrap: anywhere; }
.ex-cta .contact-list li:last-child { font-family: var(--font); font-size: var(--fs-l); }
.site-footer { background: #090c0e; border-top: 1px solid var(--line); color: var(--ink-2); }
.site-footer a { color: var(--ink); }
.site-footer__h { color: var(--ink); }
.site-footer__credit a { color: var(--amber); }
/* The company's own logo in place of the descriptive line (client meeting 2026-11-19); same artwork as the header. */
.site-footer__brand { margin: 0; line-height: 0; }
.site-footer__brand a { display: inline-block; }
.site-footer__logo { width: clamp(140px, 40vw, 176px); height: auto; }
.site-footer__brand + .site-footer__social { margin-top: var(--sp-5); }

/* ------------------------------------------------------------------ inner pages */
.page-head { background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 48px 56px; }
.page-head__title { font-size: var(--fs-3xl); color: var(--ink); overflow-wrap: anywhere; hyphens: auto; }
.page-head__lead { color: var(--ink-2); max-width: 60ch; }
.crumbs, .crumbs a { color: var(--ink-2); }
.prose, .entry, .page-body { color: var(--ink); }
.stamp { border-color: var(--line); background: var(--bg-2); }
.stamp__title { border-color: var(--line); }
.stamp__title::before { background: var(--amber); }
.stamp__cell { border-color: var(--line) !important; }
.stamp__cell dt { color: var(--ink-2); }
table, .pob-table th, .pob-table td, .prose th, .prose td { color: var(--ink); border-color: var(--line); }
.pob-alert--info { background: var(--bg-3); color: var(--ink); border-color: var(--line-2); }
.pob-alert--error { background: var(--bad-bg); color: #ffd9d2; border-color: var(--bad); }
.pob-notice, .pob-empty { color: var(--ink-2); }
.pob-notice { background: var(--bg-3); border: 1px solid var(--line-2); padding: 12px 16px; color: var(--ink); }
.pob-badge { background: var(--bg-3); color: var(--ink); }
.pob-badge--fail { background: var(--bad-bg); color: #ffb4a8; }
.pob-badge--pass { background: var(--ok-bg); color: #9fe0bd; }
.news-filter a { border-color: var(--line-2); color: var(--ink); }
.news-filter a:hover { border-color: var(--amber); color: var(--amber); }
.news-filter a[aria-current] { background: var(--amber); color: #111; border-color: var(--amber); }
.post-list { border-color: var(--line); }
.post-row { border-color: var(--line); }
.post-row__title a { color: var(--ink); font-family: var(--display); font-weight: 500; }
.post-row__title a:hover { color: var(--amber); }
.post-row__meta, .post-row__excerpt, .post-row__source { color: var(--ink-2); }
.tag--topic { background: var(--bg-3); color: var(--ink); }
.article__notice, .article__note { background: var(--bg-2); color: var(--ink-2); }
.article__status { border-color: var(--line); }
.contacts__row dt { color: var(--ink-2); }
.contacts__row dt .icon { color: var(--amber); }
.contacts__list { border-color: var(--ink); }
.contacts__row { border-color: var(--line); }
.contacts__phone { color: var(--ink); }
.contacts__map { border: 1px solid var(--line); border-top: 3px solid var(--amber); background: var(--bg-2); }
.map__caption { color: var(--ink-2); background: var(--bg-2); border-top-color: var(--line); }
.map__link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.map__link:hover { color: var(--amber); text-decoration-color: var(--amber); }

/* Legacy (Elementor) content: no white sheet any more — the text sits in the dark room. */
.page-body--legacy, .ex-legacy { --ink: #eceff1; --ink-2: #c3cbd0; color: var(--ink); background: transparent; padding: 0; }
.page-body--legacy :is(p, li, span, strong, b, h2, h3, h4, div) { color: inherit !important; background-color: transparent !important; }
.page-body--legacy .elementor-heading-title { font-family: var(--display) !important; font-weight: 500 !important; color: var(--ink) !important; }
.page-body--legacy .elementor-widget-text-editor { color: var(--ink-2) !important; }
.page-body--legacy .elementor-section, .page-body--legacy .elementor-column-wrap, .page-body--legacy .elementor-widget-wrap { background: transparent !important; }
.page-body--legacy img { background: #f4f4f0; }
.ex-docs__enrol .page-body--legacy img { padding: 10px; background: var(--bg-3); border: 1px solid var(--line); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .9); }
.ex-docs__enrol .elementor-top-section + .elementor-top-section { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.page-body--legacy a { color: var(--amber) !important; }

/* ------------------------------------------------------------------ documents page */
.ex-docs { padding-block: 40px 72px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
.ex-chip { font: inherit; cursor: pointer; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); background: transparent; color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.ex-chip:hover { border-color: var(--amber); }
.ex-chip[aria-pressed="true"] { background: var(--amber); border-color: var(--amber); color: #111; }
.ex-chip__n { opacity: .7; margin-left: 4px; font-variant-numeric: tabular-nums; }
.ex-docs__groups { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px 24px; }
.ex-docs__group { grid-column: 1 / -1; min-width: 0; }
.ex-docs__title { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ex-docs__count { font-family: var(--font); font-size: var(--fs-s, .9375rem); font-weight: 600; color: var(--amber); font-variant-numeric: tabular-nums; }
.ex-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ex-docs .ex-gallery > li { min-width: 0; }
@media (min-width: 30em) and (max-width: 47.99em) { .ex-docs .ex-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .ex-docs .ex-exhibit__open { padding: 18px 16px 14px; } .ex-docs .ex-exhibit figcaption { padding: 12px 14px 14px; } }
@media (min-width: 48em) {
	.ex-docs .ex-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ex-docs__group[data-n="1"] { grid-column: span 6; }
	.ex-docs__group[data-n="1"] .ex-gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 64em) {
	.ex-docs__group[data-n="1"] { grid-column: span 4; }
	.ex-docs__group[data-n="2"] { grid-column: span 8; }
	.ex-docs__group[data-n="3"] .ex-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ex-docs__groups:has(> .ex-docs__group[hidden]) .ex-docs__group:not([hidden]) { grid-column: 1 / -1; }
.ex-docs__groups:has(> .ex-docs__group[hidden]) .ex-gallery { grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); }
.ex-docs__note { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-s); max-width: 70ch; }
.ex-docs__enrol { border-top: 1px solid var(--line); background: var(--bg-2); }

/* ------------------------------------------------------------------ lightbox */
.ex-lb { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; color: #e6e9ec; }
.ex-lb::backdrop { background: rgba(6, 9, 11, .88); }
.ex-lb[open] { animation: ex-lb-in .28s var(--ease); }
@keyframes ex-lb-in { from { opacity: 0; transform: scale(.96); } }
.ex-lb__fig { margin: 0; display: grid; justify-items: center; gap: 12px; }
.ex-lb__fig img { max-width: 100%; max-height: 82vh; width: auto; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.ex-lb.is-swap .ex-lb__fig img { animation: ex-swap .25s ease-out; }
@keyframes ex-swap { from { opacity: .3; transform: translateX(10px); } }
.ex-lb figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; align-items: baseline; text-align: center; }
.ex-lb__cap { margin: 0; font-size: 15px; max-width: 70ch; }
.ex-lb__file { color: var(--amber); }
.ex-lb__close, .ex-lb__nav { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font: 28px/1 system-ui, sans-serif; cursor: pointer; transition: background .2s; }
.ex-lb__close:hover, .ex-lb__nav:hover { background: rgba(255,255,255,.28); }
.ex-lb__close { top: 16px; right: 16px; }
.ex-lb__prev { left: 16px; top: 50%; }
.ex-lb__next { right: 16px; top: 50%; }

/* ------------------------------------------------------------------ catalog: directions on top, professions below */
.pob-cats { margin: 0 0 56px; }
.pob-cats__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 12px; }
/* Name and count centred in the tile, both ways (client meeting 2026-11-03: "посередине, не по низу"). */
.pob-cat { box-sizing: border-box; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; min-height: 104px; padding: 18px 20px; border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; background: var(--bg-2); transition: border-color .2s, background .2s; }
.pob-cat:hover { border-color: var(--amber); color: var(--ink); background: var(--bg-3); }
.pob-cat[aria-current] { background: var(--amber); border-color: var(--amber); color: #111; }
.pob-cat__name { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }
.pob-cat__count { font-family: var(--display); font-size: 1.6rem; color: var(--amber); font-variant-numeric: tabular-nums; }
.pob-cat[aria-current] .pob-cat__count { color: #111; }
.pob-list__head { display: grid; gap: 16px; margin-bottom: 24px; }
.pob-list__title { font-size: var(--fs-2xl); margin: 0; }
.pob-search label { display: block; margin-bottom: 6px; color: var(--ink-2); }
.pob-search__row { display: flex; gap: 8px; }
.pob-search__row input { flex: 1; min-width: 0; font-size: var(--fs-m); }
.pob-list__count { margin: 0; color: var(--ink-2); }
.pob-prof { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pob-prof__item { position: relative; display: grid; gap: 4px 24px; padding: 16px 8px; border-bottom: 1px solid var(--line); }
.pob-prof__item.is-available:hover { background: rgba(255,178,30,.05); }
@media (min-width: 56em) { .pob-prof__item { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: baseline; } }
.pob-prof__main { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; min-width: 0; }
.pob-prof__name { font-family: var(--display); font-weight: 500; font-size: 1.25rem; color: var(--ink); overflow-wrap: anywhere; }
a.pob-prof__name { text-decoration: none; }
a.pob-prof__name::after { content: ""; position: absolute; inset: 0; }
a.pob-prof__name:hover { color: var(--amber); }
.pob-prof__meta { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: var(--fs-s); color: var(--ink-2); }
.pob-prof__item.is-available .pob-prof__status { color: var(--amber); }
.pob-list__more { margin-top: 24px; }
.pob-prof__item[hidden], [data-ex-group][hidden], .pob-step[hidden] { display: none !important; }
.pob-empty { padding: 32px 0; }

/* ------------------------------------------------------------------ test page: entry panel (code → participant → test) */
@media (min-width: 64em) { .test-layout { grid-template-columns: minmax(0, 1fr) minmax(25rem, 31rem); gap: 56px; } }
@media (min-width: 75em) { .test-layout { grid-template-columns: minmax(0, 1fr) 32rem; gap: 72px; } }
.pob-panel { container-type: inline-size; border: 1px solid var(--line); border-top: 3px solid var(--amber); background: var(--bg-2); padding: 28px 24px 24px; }
@media (min-width: 30em) { .pob-panel { padding: 32px 32px 28px; } }
.pob-panel__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 0 0 22px; }
.pob-panel__meta, .pob-panel__org, .pob-panel__status { color: var(--ink-2); }
.pob-panel__meta { margin: 16px 0 0; font-size: var(--fs-xs, .8125rem); line-height: 1.5; }
.pob-panel__status.is-error { color: var(--bad); }
.pob-panel__who { font-weight: 600; margin: 0 0 12px; overflow-wrap: anywhere; }
.pob-panel__privacy { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pob-steps { list-style: none; counter-reset: ps; margin: 0 0 26px; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.pob-steps li { counter-increment: ps; padding: 10px 0 0; border-top: 3px solid var(--line-2); font-size: var(--fs-xs, .8125rem); line-height: 1.3; color: var(--ink-2); transition: border-color .25s var(--ease), color .25s; }
.pob-steps li::before { content: counter(ps); display: block; margin-bottom: 2px; font-family: var(--display); font-size: 1.05rem; color: var(--ink-2); }
.pob-steps li[aria-current] { color: var(--ink); border-top-color: var(--amber); }
.pob-steps li.is-done { border-top-color: rgba(255, 178, 30, .45); }
.pob-steps li[aria-current]::before, .pob-steps li.is-done::before { color: var(--amber); }
.pob-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 16px; margin-bottom: 22px; }
@container (min-width: 26rem) { .pob-fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pob-field--wide { grid-column: 1 / -1; } }
.pob-step .pob-field { margin: 0; min-width: 0; }
.pob-step form > .pob-field, .pob-form[data-pob-step="code"] .pob-field { margin-bottom: 22px; }
.pob-step label { display: block; margin-bottom: 8px; font-weight: 600; font-size: var(--fs-s, .9375rem); }
.pob-step input[type=text], .pob-step input[type=tel] { width: 100%; min-height: 52px; padding: 0 14px; background: var(--bg); border: 1px solid var(--line-2); font-size: 1.0625rem; transition: border-color .2s, box-shadow .2s; }
.pob-step input[type=text]:hover, .pob-step input[type=tel]:hover { border-color: #55636b; }
.pob-step input[type=text]:focus-visible, .pob-step input[type=tel]:focus-visible { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 30, .22); }
.pob-step input[aria-invalid="true"] { border-color: var(--bad); }
.pob-step input[name="code"] { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; font-size: 1.4rem; }
.pob-step input[name="iin"], .pob-step input[name="phone"] { font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.pob-hint { display: block; margin-top: 7px; font-size: var(--fs-xs, .8125rem); line-height: 1.45; color: var(--ink-2); }
.pob-error { display: flex; gap: 8px; align-items: baseline; margin-top: 7px; font-size: var(--fs-s, .9375rem); line-height: 1.4; color: var(--bad); }
.pob-error[hidden] { display: none; }
.pob-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 700; line-height: 1; transform: translateY(2px); }
.pob-field:has(.pob-error:not([hidden])) .pob-hint { display: none; }
.pob-check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; margin: 0 0 22px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); font-size: var(--fs-s, .9375rem); line-height: 1.5; color: var(--ink-2); }
.pob-check input { width: 22px; height: 22px; margin: 1px 0 0; }
.pob-check label { margin: 0; font-weight: 400; font-size: inherit; }
.pob-check a { color: var(--amber); }
.pob-check .pob-error { grid-column: 2; margin-top: 0; }
.pob-check:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.pob-step .pob-btn--primary, .pob-step [data-pob-start] { width: 100%; min-height: 54px; font-size: 1.0625rem; }
.pob-step[data-pob-step="ready"] p:last-child { margin: 12px 0 0; text-align: center; }

/* ------------------------------------------------------------------ quiz */
.pob-quiz { border: 1px solid var(--line); background: var(--bg-2); }
.pob-quiz__head, .pob-quiz__aside { border-color: var(--line); background: var(--bg-3); }
.pob-quiz__timer { color: #111; background: var(--amber); border-color: var(--amber); font-variant-numeric: tabular-nums; }
.pob-quiz__timer.is-urgent { background: var(--bad); color: #111; }
.pob-q__body, .pob-q__legend { color: var(--ink); }
.pob-q__body { font-size: var(--fs-l); }
.pob-q__hint, .pob-quiz__save, .pob-quiz__progress { color: var(--ink-2); }
.pob-q__option { border-color: var(--line-2); background: var(--bg); transition: border-color .2s, background .2s; }
.pob-q__option:hover { border-color: #55636b; }
.pob-q__option:has(input:checked) { border-color: var(--amber); background: rgba(255,178,30,.08); }
.pob-quiz input[type=checkbox], .pob-quiz input[type=radio] { outline: 1.5px solid #9aa6ad; outline-offset: -1px; }
.pob-quiz__palette button { background: var(--bg); color: var(--ink); border-color: var(--line-2); min-width: 40px; min-height: 40px; }
.pob-quiz__palette button.is-answered { background: var(--ink); color: #111; }
.pob-quiz__palette button[aria-current] { box-shadow: 0 0 0 3px var(--amber); }
.pob-dialog { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); border-top: 3px solid var(--amber); }
.pob-dialog::backdrop { background: rgba(6, 9, 11, .75); }
.pob-dialog h2 { font-family: var(--display); }
body.pob-exam-running .site-header__top { display: none; }

/* ------------------------------------------------------------------ results and review */
.pob-result__summary { background: var(--bg-2); border-color: var(--line); }
.pob-result__test { margin: 0 0 4px; color: var(--ink-2); font-size: var(--fs-s); }
.pob-result__verdict { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin: 0 0 8px; }
.pob-result__summary--fail .pob-result__verdict { color: var(--bad); }
.pob-result__summary--pass .pob-result__verdict { color: var(--ok); }
.pob-result__score { margin: 0 0 8px; }
.pob-result__score [data-testid="result-percent"] { font-family: var(--display); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--ink); }
.pob-result__pass { color: var(--ink-2); }
.pob-result__facts dt { color: var(--ink-2); }
.pob-result__next { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.pob-result__help { color: var(--ink-2); font-size: var(--fs-s); max-width: 70ch; }
.pob-review-wrap { margin-top: 40px; }
.pob-review-wrap > h2 { font-size: var(--fs-2xl); margin-bottom: 20px; }
.pob-review { list-style: none; padding: 0; margin: 0; max-width: 54rem; display: grid; gap: 16px; }
.pob-review__item { --state: var(--bad); margin: 0; border: 1px solid var(--line); border-left: 2px solid var(--state); background: var(--bg-2); padding: 20px 22px 22px; }
.pob-review__item--correct { --state: var(--ok); }
.pob-review__item--unanswered { --state: var(--ink-2); }
.pob-review__head { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.pob-review__num { font-family: var(--display); font-size: 1.1rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pob-review__mark { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border: 1px solid var(--state); color: var(--state); font-size: var(--fs-xs, .8125rem); font-weight: 600; letter-spacing: .02em; }
.pob-review__mark::before { content: "✕"; font-size: .85em; }
.pob-review__item--correct .pob-review__mark::before { content: "✓"; }
.pob-review__item--unanswered .pob-review__mark::before { content: "–"; }
.pob-review__q { margin: 0 0 14px; font-size: var(--fs-m, 1.0625rem); line-height: 1.5; color: var(--ink); }
.pob-review__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pob-opt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; align-items: start; padding: 11px 14px; border: 1px solid var(--line); color: var(--ink-2); line-height: 1.45; }
.pob-opt__mark { width: 18px; height: 18px; margin-top: 2px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; line-height: 1; }
.pob-opt__body { min-width: 0; overflow-wrap: anywhere; }
.pob-opt__tags { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.pob-opt.is-selected { color: var(--ink); }
.pob-opt.is-correct { border-color: var(--ok); background: rgba(143, 220, 178, .06); color: var(--ink); }
.pob-opt.is-correct .pob-opt__mark { border-color: var(--ok); background: var(--ok); color: #0e1316; }
.pob-opt.is-correct .pob-opt__mark::before { content: "✓"; }
.pob-opt.is-wrong { border-color: var(--bad); background: rgba(255, 156, 140, .06); }
.pob-opt.is-wrong .pob-opt__mark { border-color: var(--bad); background: var(--bad); color: #0e1316; }
.pob-opt.is-wrong .pob-opt__mark::before { content: "✕"; }
.pob-opt.is-selected:not(.is-correct):not(.is-wrong) .pob-opt__mark { border-color: var(--ink); }
.pob-tag { display: inline-block; margin: 0; padding: 1px 8px; font-size: var(--fs-xs, .8125rem); font-weight: 600; line-height: 1.6; border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.pob-tag--mine { border-color: currentColor; }
.pob-opt.is-wrong .pob-tag--mine { color: var(--bad); }
.pob-opt.is-correct .pob-tag { color: var(--ok); border-color: var(--ok); }
/* several correct answers, option letters and pictures in questions (docs/25) */
.pob-opt { grid-template-columns: 22px 1.2em minmax(0, 1fr); }
.pob-opt__letter { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.pob-opt__tags { grid-column: 3; }
.pob-review__type { margin-left: auto; padding: 2px 10px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: var(--fs-xs, .8125rem); }
.pob-review__sets { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; color: var(--ink-2); font-size: var(--fs-s); }
.pob-review__sets b { color: var(--ink); letter-spacing: .04em; }
.pob-q__hint--multi { color: var(--amber); font-weight: 600; }
.pob-q-img { display: block; max-width: 100%; height: auto; margin: 10px 0; background: #fff; }
.pob-q__option .pob-q-img, .pob-opt__body .pob-q-img { max-height: 260px; width: auto; }
.pob-tag--ok { color: var(--ok); border-color: var(--ok); }
.pob-review__expl { margin-top: 12px; color: var(--ink-2); font-size: var(--fs-s); border-left: 2px solid var(--amber); padding-left: 12px; }
.pob-results-list { padding-left: 1.2rem; display: grid; gap: 8px; }

/* ------------------------------------------------------------------ focus */
:focus-visible { box-shadow: var(--focus); outline: none; }
.ex-row h3 a:focus-visible, a.pob-prof__name:focus-visible { box-shadow: none; outline: 2px solid var(--amber); outline-offset: 4px; }

/* News list: picture beside the row, search; article: more news (2026-11-12). */
.post-row--media { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
@media (min-width: 40em) { .post-row--media { grid-template-columns: 12rem minmax(0, 1fr); align-items: start; } }
.post-row__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.news-search { display: flex; gap: var(--sp-2); margin: 0 0 var(--sp-6); max-width: 36rem; }
.news-search input { flex: 1; min-width: 0; padding: var(--sp-2) var(--sp-3); background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); font: inherit; }
.news-search input:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.article__more { margin-top: var(--sp-7, 3rem); border-top: 1px solid var(--line); padding-top: var(--sp-5); }

/* Exam variants (catalog row and exam page, 2026-11-12) */
.pob-variants { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); margin: var(--sp-2) 0 0; font-size: var(--fs-s); color: var(--ink-2); }
.pob-variants ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pob-variants a, .pob-variants .is-unavailable { display: inline-grid; place-items: center; min-width: 2.25rem; min-height: 2.25rem; padding: 0 var(--sp-2); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.pob-variants a:hover { border-color: var(--amber); color: var(--amber); }
.pob-variants a[aria-current] { background: var(--amber); border-color: var(--amber); color: #111; }
.pob-variants .is-unavailable { opacity: .45; }
.test-layout__main > .pob-variants { margin: 0 0 var(--sp-5); }
.pob-prof__item .pob-variants { position: relative; z-index: 2; }
