/* N216 build15: the player frame of the five "Whole processes" guides (the accepted sample: _hub/reports/guide_frame_target). Shipped as
   assets/guide-frame.css by frame.py; loaded after guides-tree.css, which stays as it is. Tokens come from the site bundle (--ink, --ink-2,
   --line, --line-2, --acc, --f-sans, --f-mono, --head-h, --gutter) and from guides-tree.css (--dl-*, --gv-lh, the banner rules). Every class is
   gv-prefixed (the bundle has .next, .time, .eyebrow ...). No label is typed here: all text comes from the page's data block (frame.js).
   Names other code depends on: .gv, .gv-top, .gv-title, .gv-player, .gv-frame, .dl-open, [data-next], --gv-w, --gv-res, --gv-lh, --gv-ar.
   N216 build17 (owner 16.11: «полные гайды переводи под структуру как у нас было»): the frame lives in the <main> column of the ordinary guide
   shell (the bundle's .dl from 1024 px, guides-tree.css at 768-1023 px), so the tree and the logo stand where they stand on a tool guide. Every
   layout switch that depends on the frame's width is a container query on that column (gvcol, below); the window's height and the phone
   layouts (< 720 / < 768 px wide, as in build15) stay media queries. */

/* ---------- sizes ---------- */
/* The first screen = header + title row + picture + seek line + controls + steps. The picture's width follows the window height
   (--gv-pw = min(column, (height - reserve) * aspect)); where the column is at least 880 px wide the side column sits beside the picture, so
   --gv-w (what the language banner of guides-tree.css spans) is picture + gap + column. guides-tree.css sets --gv-lh when the banner is shown.
   The derived sizes are declared on .gv, not on <main>: <main> is the query container and cannot query itself. --gv-ar (the page's inline
   style) and --gv-toph (guide-frame.js below) stay on <main>; --gv-gap stays there too, it spaces the text under the frame.
   .gv-more (the page's text under the frame, a sibling of .gv) gets the same sizes: beside the side column its text keeps to the
   picture's width (--gv-pw), see "a column of 880 px and more" below. */
.dl.gv-drawer > main { container: gvcol / inline-size; --gv-ar: 1.7778; --gv-toph: 2.5rem; --gv-gap: 64px; }
/*zoom-twin*/@media (min-width: 1601px){/* N216 build15: the player frame of the five "Whole processes" guides (the accepted sample: _hub/reports/guide_frame_target). Shipped as assets/guide-frame.css by frame.py; loaded after guides-tree.css, which stays as it is. Tokens come from the site bundle (--ink, --ink-2, --line, --line-2, --acc, --f-sans, --f-mono, --head-h, --gutter) and from guides-tree.css (--dl-*, --gv-lh, the banner rules). Every class is gv-prefixed (the bundle has .next, .time, .eyebrow ...). No label is typed here: all text comes from the page's data block (frame.js). Names other code depends on: .gv, .gv-top, .gv-title, .gv-player, .gv-frame, .dl-open, [data-next], --gv-w, --gv-res, --gv-lh, --gv-ar. N216 build17 (owner 16.11: «полные гайды переводи под структуру как у нас было»): the frame lives in the <main> column of the ordinary guide shell (the bundle's .dl from 1024 px, guides-tree.css at 768-1023 px), so the tree and the logo stand where they stand on a tool guide. Every layout switch that depends on the frame's width is a container query on that column (gvcol, below); the window's height and the phone layouts (< 720 / < 768 px wide, as in build15) stay media queries. */ /* ---------- sizes ---------- */ /* The first screen = header + title row + picture + seek line + controls + steps. The picture's width follows the window height (--gv-pw = min(column, (height - reserve) * aspect)); where the column is at least 880 px wide the side column sits beside the picture, so --gv-w (what the language banner of guides-tree.css spans) is picture + gap + column. guides-tree.css sets --gv-lh when the banner is shown. The derived sizes are declared on .gv, not on <main>: <main> is the query container and cannot query itself. --gv-ar (the page's inline style) and --gv-toph (guide-frame.js below) stay on <main>; --gv-gap stays there too, it spaces the text under the frame. .gv-more (the page's text under the frame, a sibling of .gv) gets the same sizes: beside the side column its text keeps to the picture's width (--gv-pw), see "a column of 880 px and more" below. */ .dl.gv-drawer > main{--gv-gap:calc(64rem / 13.6)}}
.gv, .gv-more { --gv-aside: 21rem; --gv-cgap: 1.5rem; --gv-sidew: 0px; --gv-lh: 0px;
  --gv-pt: calc(var(--head-h) + .5rem); --gv-g1: .625rem; --gv-bar: 9rem; --gv-g2: 0px; --gv-row: 0px; --gv-pb: 1rem;
  --gv-res: calc(var(--gv-pt) + var(--gv-toph) + var(--gv-g1) + var(--gv-bar) + var(--gv-g2) + var(--gv-row) + var(--gv-pb) + var(--gv-lh));
  --gv-pw: min(calc(100% - var(--gv-sidew)), calc((100svh - var(--gv-res)) * var(--gv-ar)));
  --gv-w: calc(var(--gv-pw) + var(--gv-sidew)); }
@media (max-width: 1023.98px) { .gv { --gv-bar: 8.75rem; } }
@media (min-height: 641px) { @media (min-width: 1024px) { .gv, .gv-more { --gv-sidew: calc(var(--gv-aside) + var(--gv-cgap)); } } }
/* in the shell (from 768 px) the title row starts level with the tree, as the crumbs of a tool guide do */
@media (min-width: 768px) and (min-height: 641px) { .gv, .gv-more { --gv-pt: var(--dl-top); } }
/* the language banner's height (guides-tree.css sets it on .gv) counts for the text's width too */
.dl.gv-drawer > main:has(> .gv > .lang-hint) > .gv-more { --gv-lh: 5.25rem; }

.gv { padding: var(--gv-pt) 0 0; }
.gv-stage { display: grid; justify-content: center; column-gap: var(--gv-cgap); row-gap: var(--gv-g1);
  grid-template-columns: var(--gv-pw); grid-template-areas: "top" "player" "aside"; }
/* in the shell the frame starts at the column's left edge, as the text under it and every tool guide's content do */
@media (min-width: 768px) { .gv-stage { justify-content: start; } }
@media (min-height: 641px) {
  @media (min-width: 1024px) {
    .gv-stage { grid-template-columns: var(--gv-pw) var(--gv-aside); grid-template-areas: "top top" "player aside"; }
  }
}

/* round 2: a title row that cannot settle at the picture's width (guide-frame.js, a long title in a short window) spans the column; the
   picture and the side column keep --gv-pw (100% there is the same column) */
.gv-stage.is-wide { grid-template-columns: minmax(0, 1fr); }
.gv-stage.is-wide > .gv-player, .gv-stage.is-wide > .gv-aside { width: var(--gv-pw); justify-self: start; }
@media (max-width: 767.98px) { .gv-stage.is-wide > .gv-player, .gv-stage.is-wide > .gv-aside { justify-self: center; } }

/* ---------- title row: the "Tools & guides > Whole processes" pill (the page's own .dl-open button) + the only title ---------- */
.gv-top { grid-area: top; display: flex; align-items: center; gap: .5rem 1rem; height: var(--gv-toph); min-width: 0; }
.gv .dl-open { flex: none; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; margin: 0; padding: 0 1rem 0 .875rem; border: 0; border-radius: 99rem;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 600 .875rem/1.25 var(--f-sans); text-decoration: none; cursor: pointer; }
.gv .dl-open:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.gv .dl-list { flex: none; width: 1rem; height: .75rem; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat,
  linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.gv .dl-path { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.gv .dl-sep { white-space: normal; color: var(--ink-2); }
.gv .dl-chev { display: none; width: .45rem; height: .45rem; margin: 0 0 0 .125rem; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-2px) rotate(45deg); }
.gv-title { margin: 0; min-width: 0; font: 700 clamp(1.25rem, 1.05rem + .6vw, 1.75rem)/1.25 var(--f-sans); letter-spacing: -.015em; text-wrap: balance; }
/* guides-tree.css hides the pill from 768 px; the accepted sample shows it beside the title at computer widths. From 768 px the tree is the
   shell's column beside the frame (build15: below it at 768-1023 px), so the pill has no down chevron there; phones keep it (the tree opens above) */
@media (min-width: 768px) and (min-height: 641px) { .dl.gv-drawer .gv-top .dl-open { display: inline-flex !important; } }
@media (max-width: 767.98px) { .gv .dl-chev { display: block; } }

/* ---------- the player column ---------- */
.gv-player { grid-area: player; min-width: 0; display: flex; flex-direction: column; }
.gv-frame { position: relative; aspect-ratio: var(--gv-ar); overflow: hidden; border-radius: 14px; background: #2B2B2B; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(31, 34, 49, .10); }
/*zoom-twin*/@media (min-width: 1601px){.gv-frame{border-radius:calc(14rem / 13.6)}}
.gv-frame video { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.gv-big { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%;
  background: rgba(31, 34, 49, .78); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .15s; pointer-events: none; }
.gv-big svg { width: 2rem; height: 2rem; fill: currentColor; margin-left: .25rem; }
.gv:not(.is-started) .gv-big { opacity: 1; }

/* seek line: segments = steps (YouTube-like) */
.gv-sk { position: relative; height: 1.5rem; margin-top: .375rem; cursor: pointer; touch-action: none; outline: none; -webkit-tap-highlight-color: transparent; }
.gv-sk:focus-visible { outline: 3px solid var(--violet, #5B3BE0); outline-offset: 2px; border-radius: .375rem; }
/*zoom-twin*/@media (min-width: 1601px){.gv-sk:focus-visible{outline:calc(3rem / 13.6) solid var(--violet, #5B3BE0)}}
.gv-segs { position: absolute; inset: 0; display: flex; align-items: center; gap: 4px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-segs{gap:calc(4rem / 13.6)}}
.gv-seg { position: relative; flex: var(--len) 1 0; min-width: 6px; height: 4px; border-radius: 2px; background: #E4E6EF; overflow: hidden; transition: height .12s ease; }
/*zoom-twin*/@media (min-width: 1601px){.gv-seg{min-width:calc(6rem / 13.6);height:calc(4rem / 13.6)}}
.gv-seg > i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: inherit; }
.gv-seg .b { background: #CBCEE0; }                                  /* buffered: lighter than played */
.gv-seg .h { background: rgba(91, 59, 224, .22); }                   /* hover preview */
.gv-seg .p { background: var(--acc); background-size: var(--bw, 100%) 100%; background-position: var(--bx, 0) 0; }   /* played: one gradient across the whole line */
.gv-sk:hover .gv-seg, .gv-sk.is-drag .gv-seg { height: 6px; }
/*zoom-twin*/@media (min-width: 1601px){/* played: one gradient across the whole line */ .gv-sk:hover .gv-seg, .gv-sk.is-drag .gv-seg{height:calc(6rem / 13.6)}}
.gv-sk .gv-seg.is-hover { height: 10px; border-radius: 3px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-sk .gv-seg.is-hover{height:calc(10rem / 13.6);border-radius:calc(3rem / 13.6)}}
.gv-knob { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #5B3BE0;
  box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(31, 34, 49, .35); transition: transform .12s ease; pointer-events: none; }
/*zoom-twin*/@media (min-width: 1601px){.gv-knob{width:calc(14rem / 13.6);height:calc(14rem / 13.6);box-shadow:0 0 0 2px #fff, 0 2px calc(6rem / 13.6) rgba(31, 34, 49, .35)}}
.gv-sk:hover .gv-knob, .gv-sk.is-drag .gv-knob { transform: scale(1.2); }
.gv-tip { position: absolute; bottom: calc(100% + .375rem); left: 0; z-index: 4; display: none; width: max-content; max-width: min(24rem, 100%); padding: .5rem .75rem .5625rem;
  border-radius: .625rem; background: var(--ink); color: #fff; box-shadow: 0 .75rem 1.5rem -.75rem rgba(31, 34, 49, .7); pointer-events: none; white-space: normal; }
.gv-tip::after { content: ""; position: absolute; top: 100%; left: var(--ax, 50%); margin-left: -6px; border: 6px solid transparent; border-top-color: var(--ink); }
/*zoom-twin*/@media (min-width: 1601px){.gv-tip::after{border:calc(6rem / 13.6) solid transparent}}
.gv-sk.is-tip .gv-tip { display: block; }
.gv-tip b { display: block; font: 700 .875rem/1.3 var(--f-sans); overflow-wrap: anywhere; }
.gv-tip b span { color: #B9B4FF; font-weight: 700; }
.gv-tip time { display: block; margin-top: .125rem; font: 500 .75rem/1.2 var(--f-mono); color: rgba(255, 255, 255, .72); }

/* controls row: play, time, current step, full screen */
.gv-ctrl { display: flex; align-items: center; gap: .75rem; min-height: 2.75rem; margin-top: .125rem; }
.gv-ib { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
/*zoom-twin*/@media (min-width: 1601px){.gv-ib{width:calc(40rem / 13.6);height:calc(40rem / 13.6)}}
.gv-ib:hover { background: rgba(31, 34, 49, .07); }
.gv-ib svg { width: 22px; height: 22px; fill: currentColor; }
/*zoom-twin*/@media (min-width: 1601px){.gv-ib svg{width:calc(22rem / 13.6);height:calc(22rem / 13.6)}}
.gv-ib.gv-pp { background: var(--ink); color: #fff; }
.gv-ib.gv-pp:hover { background: #343a55; }
.gv-ib.gv-pp svg { width: 20px; height: 20px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-ib.gv-pp svg{width:calc(20rem / 13.6);height:calc(20rem / 13.6)}}
.gv-pp .i-pause, .gv.is-playing .gv-pp .i-play { display: none; }
.gv.is-playing .gv-pp .i-pause { display: block; }
.gv-time { flex: none; font: 500 .875rem/1 var(--f-mono); font-variant-numeric: tabular-nums; color: var(--ink-2); }
.gv-time b { font-weight: 500; color: var(--ink); }
.gv-cur { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: .5rem; margin: 0; font: 700 1rem/1.3 var(--f-sans); }
.gv-cur::before { content: ""; flex: none; align-self: center; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }
/*zoom-twin*/@media (min-width: 1601px){.gv-cur::before{width:calc(4rem / 13.6);height:calc(4rem / 13.6)}}
.gv-cur .n { flex: none; font: 500 .8125rem/1 var(--f-mono); color: var(--ink-2); }
.gv-cur .t { min-width: 0; overflow-wrap: anywhere; }

/* step buttons + Next (the accessible name of a step button is its full title; the visible chip is the short name) */
.gv-chips { container: gvrow / inline-size; display: flex; align-items: stretch; gap: .5rem; margin-top: .5rem; padding-right: var(--gv-cr, 0px); }
.gv-chips ol { flex: 1; display: flex; gap: .5rem; min-width: 0; margin: 0; padding: 0; list-style: none; }
.gv-chips li { flex: 1 1 auto; min-width: 0; display: flex; }
.gv-chip { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .3125rem .75rem .3125rem .5rem; border: 0; border-radius: 10px;
  background: #EEF0F6; box-shadow: inset 0 0 0 1px #D3D7E4; color: var(--ink); font: 600 .875rem/1.2 var(--f-sans); text-align: left; cursor: pointer; transition: background .15s, box-shadow .15s; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chip{border-radius:calc(10rem / 13.6)}}
.gv-chip .n { flex: none; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #C3C8D8; font: 700 .75rem/1 var(--f-mono); }
.gv-chip .t { min-width: 0; overflow-wrap: anywhere; }
.gv-chip .t:lang(ja), .gv-chip .t:lang(ko), .gv-chip .t:lang(zh) { word-break: keep-all; }   /* no single character left on a second line */
.gv-chip:hover { background: #E2E5F0; box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.gv-chip.is-on, .gv-chip.is-on:hover { background: #5B3BE0; box-shadow: none; color: #fff; }
.gv-chip.is-on .n { box-shadow: none; color: #3B2FC0; }
/* with the script on (.is-js) a step name is one line (build17 round 2; build15 allowed two, and at 1280 px «Star and rings» took two): a chip
   is as wide as its name, and the script steps down while the row overflows - .is-snug (tighter padding, gaps and type), then .is-focus (the
   current step keeps its name, the others show their numbers; the name of a hidden step is the button's title and stays in its accessible
   name), then .is-compact (numbers only, the name in the line above). Without the script the names may break anywhere. */
@media (min-width: 720px) {
  :where(.gv.is-js) .gv-chips li { min-width: min-content; }
  :where(.gv.is-js) .gv-chip .t { overflow-wrap: normal; white-space: nowrap; }
}
.gv-chip:focus-visible, .gv-next:focus-visible { outline: 3px solid #5B3BE0; outline-offset: 2px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chip:focus-visible, .gv-next:focus-visible{outline:calc(3rem / 13.6) solid #5B3BE0}}
.gv-next { flex: none; display: inline-flex; align-items: center; gap: .25rem; min-height: 2.75rem; padding: 0 .875rem 0 1.125rem; border: 0; border-radius: 99rem;
  background: var(--ink); color: #fff; font: 700 .9375rem/1 var(--f-sans); white-space: nowrap; cursor: pointer; }
.gv-next:hover { background: #343a55; }
.gv-next svg { width: 20px; height: 20px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-next svg{width:calc(20rem / 13.6);height:calc(20rem / 13.6)}}

/* ---------- side column: On screen now + Hint (page HTML, not inside the video) ---------- */
/* build17 round 2: one text edge for both cards. --gv-ci = from a card's outer left edge to its text (On screen now: the 4 px yellow edge
   + 1rem; Hint: the card's .625rem + the heading's and the tool rows' own inset), in every form of the column (beside, under, phones) */
.gv { --gv-ci: calc(1rem + 4px); }
/*zoom-twin*/@media (min-width: 1601px){/* ---------- side column: On screen now + Hint (page HTML, not inside the video) ---------- */ /* build17 round 2: one text edge for both cards. --gv-ci = from a card's outer left edge to its text (On screen now: the 4 px yellow edge + 1rem; Hint: the card's .625rem + the heading's and the tool rows' own inset), in every form of the column (beside, under, phones) */ .gv{--gv-ci:calc(1rem + calc(4rem / 13.6))}}
.gv-aside { grid-area: aside; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.gv-blk { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.gv-eyebrow { margin: 0; font: 600 max(13px, .75rem)/1 var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
/*zoom-twin*/@media (min-width: 1601px){.gv-eyebrow{font:600 max(calc(13rem / 13.6), .75rem)/1 var(--f-mono)}}
.gv-osn-card { display: flex; flex-direction: column; gap: .625rem; padding: .875rem 1rem .9375rem calc(var(--gv-ci) - 4px); border-left: 4px solid #FEC400; border-radius: 14px;
  background: #fff; box-shadow: 0 0 0 1px rgba(31, 34, 49, .10); }
/*zoom-twin*/@media (min-width: 1601px){.gv-osn-card{padding:.875rem 1rem .9375rem calc(var(--gv-ci) - calc(4rem / 13.6));border-left:calc(4rem / 13.6) solid #FEC400;border-radius:calc(14rem / 13.6)}}
.gv-osn-cue { display: flex; flex-direction: column; gap: .25rem; min-width: 0; transition: opacity .15s; }
.gv-osn-cue.is-swap { opacity: .25; }
.gv-osn-act { margin: 0; font: 700 1.0625rem/1.3 var(--f-sans); letter-spacing: -.005em; color: var(--ink); }
.gv-osn-txt { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.gv-osn-where { margin: auto 0 0; padding-top: .5625rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.4; color: var(--ink); }
.gv-osn-where span { color: var(--ink-2); font-weight: 600; }
.gv-osn-where i { font-style: normal; }
.gv-osn-where[hidden] { display: none; }
.gv-hint { flex: 1; }
.gv-hint-card { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: .875rem .625rem .625rem; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(31, 34, 49, .09); }
/*zoom-twin*/@media (min-width: 1601px){.gv-hint-card{border-radius:calc(14rem / 13.6)}}
.gv-hint-h { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding: 0 .375rem .5rem calc(var(--gv-ci) - .625rem); }
.gv-hint-h h2 { margin: 0; font: 700 1.0625rem/1.2 var(--f-sans); letter-spacing: -.01em; }
.gv-hint-h > span { font-size: .8125rem; color: var(--ink-2); }
.gv-hint-h .h-step, .gv-hint-h .c-step, .gv-all { display: none; }
/* rows are as tall as the tallest row (no fixed size, no ellipsis: a tool line wraps); the list never stretches its rows past 4.6 rem each, so 3 tools stay compact */
.gv-tl { flex: 1; display: grid; grid-auto-rows: minmax(max-content, 1fr); gap: 2px; margin: 0; padding: 0; list-style: none; max-height: calc(var(--gv-tn, 8) * 4.6rem); }
.gv-tl a { display: grid; grid-template-columns: 1.625rem minmax(0, 1fr); column-gap: .625rem; align-items: center; align-content: center; height: 100%;
  padding: .3125rem .5rem .3125rem calc(var(--gv-ci) - .625rem); border-radius: .625rem; color: var(--ink); text-decoration: none; transition: background .15s, box-shadow .15s; }
.gv-tl a:hover { background: #EEF0F5; }
.gv-tl img { grid-row: span 2; width: 1.625rem; height: 1.625rem; }
.gv-tl b { font: 700 .9375rem/1.2 var(--f-sans); overflow-wrap: anywhere; }
.gv-tl small { font-size: max(12px, .8125rem); line-height: 1.3; color: var(--ink-2); overflow-wrap: anywhere; }
/*zoom-twin*/@media (min-width: 1601px){.gv-tl small{font-size:max(calc(12rem / 13.6), .8125rem)}}
/* hub 16.11: every tool of the current step is highlighted (is-step), on desktop and phone alike; is-now (the cue's tool) is a subset of it */
.gv-tl li.is-step a, .gv-tl li.is-now a { background: #F1EEFF; box-shadow: inset 3px 0 0 #5B3BE0; }
/*zoom-twin*/@media (min-width: 1601px){/* hub 16.11: every tool of the current step is highlighted (is-step), on desktop and phone alike; is-now (the cue's tool) is a subset of it */ .gv-tl li.is-step a, .gv-tl li.is-now a{box-shadow:inset calc(3rem / 13.6) 0 0 #5B3BE0}}
.gv-tl li.is-step b, .gv-tl li.is-now b { color: #3B2FC0; }

/* a column of 880 px and more: the tool rows are a little denser, so the side column mostly ends level with the step buttons. It never
   stretches the frame's row: with many tools the Hint card runs past the step buttons, beside the page's text, and that text starts
   right under the buttons, as in build15 (no empty band). There the text keeps to the picture's width, so it never runs under the card. */
@media (min-height: 641px) {
  @media (min-width: 1024px) {
    .gv-stage > .gv-aside { height: 0; min-height: 100%; }
    .gv-stage > .gv-aside .gv-hint-card { flex: 1 0 auto; }
    .gv-more .gv-about { max-width: min(46rem, var(--gv-pw)); }
    .gv-aside { gap: .875rem; }
    .gv-blk { gap: .375rem; }
    .gv-tl a { padding-block: .125rem; }
    .gv-tl b { line-height: 1.15; }
    .gv-tl small { line-height: 1.25; }
  }
}

/* ---------- one column (a column below 880 px, and every window up to 640 px tall): the side column goes under the controls ----------
   the same block twice: a container query and a media query cannot share one condition */
@media (max-width: 1023.98px) {
  .gv-aside { gap: 1.25rem; margin-top: 1.25rem; }
  .gv-osn-card { flex-direction: row; align-items: center; gap: 1.25rem; padding: .875rem 1.25rem .875rem calc(var(--gv-ci) - 4px); }
  .gv-osn-cue { flex: 1 1 auto; min-width: 0; }
  .gv-osn-where { flex: 0 1 24rem; margin: 0; padding: .125rem 0 .125rem 1.25rem; border-top: 0; border-left: 1px solid var(--line); }
  .gv-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--gv-tr, 4), minmax(max-content, 1fr)); grid-auto-flow: column; column-gap: .5rem; max-height: none; flex: none; }
  .gv-tl a { grid-template-columns: 1.625rem auto minmax(0, 1fr); column-gap: .625rem; }
  .gv-tl img { grid-row: auto; }
}
@media (max-height: 640px) {
  .gv-aside { gap: 1.25rem; margin-top: 1.25rem; }
  .gv-osn-card { flex-direction: row; align-items: center; gap: 1.25rem; padding: .875rem 1.25rem .875rem calc(var(--gv-ci) - 4px); }
/*zoom-twin*/@media (min-width: 1601px){.gv-osn-card{padding:.875rem 1.25rem .875rem calc(var(--gv-ci) - calc(4rem / 13.6))}}
  .gv-osn-cue { flex: 1 1 auto; min-width: 0; }
  .gv-osn-where { flex: 0 1 24rem; margin: 0; padding: .125rem 0 .125rem 1.25rem; border-top: 0; border-left: 1px solid var(--line); }
  .gv-tl { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--gv-tr, 4), minmax(max-content, 1fr)); grid-auto-flow: column; column-gap: .5rem; max-height: none; flex: none; }
  .gv-tl a { grid-template-columns: 1.625rem auto minmax(0, 1fr); column-gap: .625rem; }
  .gv-tl img { grid-row: auto; }
}

/* a narrow column (768-1023 px windows: 500-750 px beside the tree; build15 gave the frame the full window there): two tool columns left a
   description 70-100 px, so below 36rem the side blocks take the short windows' narrow form (one tool column, "Where to click" under the cue) */
@media (max-width: 1023.98px) { .gv-stage > .gv-aside { container: gvaside / inline-size; } }
@container gvaside (max-width: 36rem) {
  .gv-osn-card { flex-direction: column; align-items: stretch; gap: .625rem; padding: .875rem 1rem .9375rem calc(var(--gv-ci) - 4px); }
/*zoom-twin*/@media (min-width: 1601px){.gv-osn-card{padding:.875rem 1rem .9375rem calc(var(--gv-ci) - calc(4rem / 13.6))}}
  .gv-osn-where { flex: none; padding: .5625rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .gv-tl { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .gv-tl a { grid-template-columns: 1.625rem minmax(0, 1fr); }
  .gv-tl img { grid-row: span 2; }
}

/* ---------- phones: the frame has the page's gutters (from 768 px the shell's column has its own) ---------- */
@media (max-width: 767.98px) { .gv { padding-inline: var(--gutter, 1.25rem); } }

/* one column, a low window (1152x720): the button and a two-line title share the row; a smaller title keeps the picture's share of the window */
@media (min-width: 720px) and (min-height: 641px) and (max-height: 760px) { @media (max-width: 1023.98px) { .gv-title { font-size: 1.125rem; } } }

/* a narrow steps row (the consent card takes its right side; build17: the column beside the tree): the current step keeps its name (.is-lab,
   set by the script), the others show their numbers. build15 showed numbers only and «Next» as an arrow here; that is .is-compact now, which
   the script turns on when even this form overflows */
@media (min-width: 720px) {
  @container gvrow (max-width: 44rem) {
    .gv-chip:not(.is-lab) { justify-content: center; padding-inline: .5rem; }
    .gv-chip:not(.is-lab) .t { display: none; }
  }
  /* build17 round 2, the script's steps before numbers only (see .is-js above) */
  .gv-chips.is-snug, .gv-chips.is-snug ol { gap: .375rem; }
  .gv-chips.is-snug .gv-chip { gap: .375rem; padding: .25rem .5rem .25rem .375rem; font-size: .8125rem; }
  .gv-chips.is-snug .gv-next { padding: 0 .75rem 0 1rem; font-size: .875rem; }
  .gv-chips.is-focus .gv-chip:not(.is-lab) { justify-content: center; padding-inline: .5rem; }
  .gv-chips.is-focus .gv-chip:not(.is-lab) .t { display: none; }
  /* the same row when the script found that the step names do not fit (long names in other languages) */
  .gv-chips.is-compact .gv-chip { justify-content: center; padding: 0; }
  .gv-chips.is-compact .gv-chip .t { display: none; }
  .gv-chips.is-compact .gv-chip .n { width: auto; height: auto; background: none; box-shadow: none; color: inherit; font-size: .9375rem; }
  .gv-chips.is-compact ol { gap: .25rem; }
  .gv-chips.is-compact li { min-width: 28px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chips.is-compact li{min-width:calc(28rem / 13.6)}}   /* 36 px did not fit 5 numbers beside the consent card at 844x390 (fabric, ring: a narrower player) */
  .gv-chips.is-compact .gv-next { width: 44px; justify-content: center; padding: 0; gap: 0; font-size: 0; }
/*zoom-twin*/@media (min-width: 1601px){/* 36 px did not fit 5 numbers beside the consent card at 844x390 (fabric, ring: a narrower player) */ .gv-chips.is-compact .gv-next{width:calc(44rem / 13.6)}}
  /* build17: still too narrow (the frame beside the tree, the consent card over the row's right part): 24 px numbers, a 2 px gap */
  .gv-chips.is-tight ol { gap: 2px; }
  .gv-chips.is-tight li { min-width: 24px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chips.is-tight li{min-width:calc(24rem / 13.6)}}
}

/* ---------- windows up to 640 px tall (960x600, a phone on its side 844x390): the picture keeps build14's height ----------
   The title row goes below the steps, the seek line and the controls lie over the bottom of the picture (they hide ~2 s after the last pointer or key
   activity while it plays), the language banner follows the title row; the steps row is compact when it is narrow. */
@media (min-width: 720px) and (max-height: 640px) {
  .dl.gv-drawer > main { --gv-toph: 0px; }
  .gv { --gv-pt: calc(var(--head-h) + .25rem); --gv-g1: 0px; --gv-bar: 0px; --gv-g2: 6px; --gv-row: 2.75rem; --gv-pb: 10px; }
/*zoom-twin*/@media (min-width: 1601px){.gv{--gv-g2:calc(6rem / 13.6);--gv-pb:calc(10rem / 13.6)}}
  .gv-stage { display: contents; }
  .gv-stage > .gv-player, .gv-stage > .gv-top, .gv-stage > .gv-aside { width: var(--gv-pw); max-width: 100%; margin-inline: auto; }
  @media (min-width: 768px) { .gv-stage > .gv-player, .gv-stage > .gv-top, .gv-stage > .gv-aside { margin-inline: 0 auto; } }   /* the shell's column edge */
  .gv-stage > .gv-player { order: 1; display: grid; grid-template-columns: minmax(0, 1fr); }
  .gv-stage > .gv-top { order: 3; height: 2.5rem; margin-top: 6px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-stage > .gv-top{margin-top:calc(6rem / 13.6)}}
  .gv-stage > .gv-top .gv-title { font-size: .8125rem; line-height: 1.15; }   /* two lines fit the 2.5rem row beside the Tools & guides button */
  .gv > .lang-hint { order: 4; }
  .gv-stage > .gv-aside { order: 5; }
  .gv-frame { grid-area: 1 / 1; }
  .gv-bar { grid-area: 1 / 1; align-self: end; z-index: 2; padding: 1.25rem .5rem 0; border-radius: 0 0 14px 14px; color: #fff; transition: opacity .2s;
    background: linear-gradient(to top, rgba(20, 22, 42, .88), rgba(20, 22, 42, 0)); }
/*zoom-twin*/@media (min-width: 1601px){.gv-bar{border-radius:0 0 calc(14rem / 13.6) calc(14rem / 13.6)}}
  .gv.is-playing.is-idle .gv-bar:not(:hover):not(:focus-within) { opacity: 0; }
  .gv-bar .gv-ib { color: #fff; }
  .gv-bar .gv-sk:focus-visible, .gv-bar .gv-ib:focus-visible { outline-color: #fff; }   /* on the picture the violet ring is too dark */
  .gv-bar .gv-ib:hover { background: rgba(255, 255, 255, .14); }
  .gv-bar .gv-ib.gv-pp { background: rgba(255, 255, 255, .2); }
  .gv-bar .gv-time, .gv-bar .gv-time b, .gv-bar .gv-cur { color: #fff; }
  .gv-bar .gv-cur::before { display: none; }
  .gv-bar .gv-cur .n { color: rgba(255, 255, 255, .78); }
  .gv-chips { grid-area: 2 / 1; margin-top: 6px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chips{margin-top:calc(6rem / 13.6)}}
  .gv-player:fullscreen .gv-bar { background: none; }
  /* a narrow steps row (the phone on its side: the picture is 450 px wide): the numbers only, Next as its arrow; the step name is in the bar */
  @container gvrow (max-width: 36rem) {
    .gv-chip { justify-content: center; min-height: 36px; padding: 0; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chip{min-height:calc(36rem / 13.6)}}
    .gv-chip .t { display: none; }
    .gv-chip .n { width: auto; height: auto; background: none; box-shadow: none; color: inherit; font-size: .9375rem; }
    .gv-chip.is-on .n { color: inherit; }
    .gv-chips ol { gap: .25rem; }
    .gv-chips li { min-width: 36px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-chips li{min-width:calc(36rem / 13.6)}}
    .gv-next { width: 44px; justify-content: center; padding: 0; gap: 0; font-size: 0; min-height: 36px; }
/*zoom-twin*/@media (min-width: 1601px){.gv-next{width:calc(44rem / 13.6);min-height:calc(36rem / 13.6)}}
  }
  /* the side column is as wide as the picture. When that is narrow (a phone on its side: 378-450 px) two tool columns leave 10-90 px for a
     description (one letter per line, seen 16.11 on fabric and on the gold star), so the tools are one column with the description under the
     name and "Where to click" goes under the cue - the same pieces as below 720 px */
  .gv-stage > .gv-aside { container: gvaside / inline-size; }
  @container gvaside (max-width: 36rem) {
    .gv-osn-card { flex-direction: column; align-items: stretch; gap: .625rem; padding: .875rem 1rem .9375rem calc(var(--gv-ci) - 4px); }
/*zoom-twin*/@media (min-width: 1601px){.gv-osn-card{padding:.875rem 1rem .9375rem calc(var(--gv-ci) - calc(4rem / 13.6))}}
    .gv-osn-where { flex: none; padding: .5625rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
    .gv-tl { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
    .gv-tl a { grid-template-columns: 1.625rem minmax(0, 1fr); }
    .gv-tl img { grid-row: span 2; }
  }
  /* a narrow bar (fabric, ring: a taller picture, so 378 px on a phone on its side): the step name takes its own line under "Step N";
     beside the time and the buttons it had 75 px and broke inside a word in de, fr, it, nl, pt */
  .gv-bar { container: gvbar / inline-size; }
  @container gvbar (max-width: 25rem) {
    .gv-cur { flex-wrap: wrap; row-gap: 1px; font-size: .875rem; line-height: 1.2; }
    .gv-cur .t { flex: 1 1 100%; }
  }
}

/* ---------- phones, below 768 px: the tree is a block above the page (guides-tree.css); below 720 px the pieces stack ---------- */
@media (max-width: 719.98px) {
  .dl.gv-drawer > main { --gv-gap: 40px; }
  .gv { --gv-g1: .5rem; }
  .gv-stage, .gv-player, .gv-bar, .gv-aside { display: contents; }
  .gv-top { order: 0; flex-direction: column; align-items: flex-start; gap: .5rem; height: auto; margin-bottom: .75rem; }
  .gv .dl-open { min-height: 40px; font-size: .8125rem; }
  .gv-title { font-size: 1.25rem; line-height: 1.25; }
  /* edge to edge by the negative margins, not by 100vw: 100vw counts a classic scrollbar and would bring a side scroll in a narrow desktop window */
  .gv-frame { order: 1; width: auto; align-self: stretch; margin-inline: calc(-1 * var(--gutter, 1.25rem)); border-radius: 0; box-shadow: none; }
  .gv-sk { order: 2; height: 2rem; margin-top: .25rem; }
  .gv-seg { height: 5px; }
  .gv-sk.is-drag .gv-seg { height: 7px; }
  .gv-sk .gv-seg.is-hover { height: 11px; }
  .gv-knob { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
  .gv-ctrl { order: 3; flex-wrap: wrap; margin-top: 0; gap: 0 .625rem; }
  .gv-fs { margin-left: auto; }
  .gv-time { font-size: .8125rem; }
  .gv-cur { order: 3; flex: 1 0 100%; display: block; margin-top: .25rem; font-size: .9375rem; }
  .gv-cur::before { display: none; }
  .gv-cur .n { margin-right: .5rem; }
  .gv-osn { order: 4; margin-top: .875rem; }
  .gv-osn-card { flex-direction: column; align-items: stretch; gap: .625rem; padding: .875rem 1rem .9375rem calc(var(--gv-ci) - 4px); }
  .gv-osn-where { flex: none; padding: .5625rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .gv-chips { order: 5; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .875rem; padding-right: 0; }
  .gv-chips ol { display: contents; }
  .gv-chips li { min-width: 0; }
  .gv-chip { min-height: 44px; font-size: .9375rem; }
  .gv-next { justify-content: center; min-height: 44px; padding: 0 .5rem 0 .75rem; white-space: normal; line-height: 1.15; text-align: center; }   /* a long label takes two lines */
  .gv-next svg { flex: none; }
  @media (max-width: 379.98px) { .gv-chip { font-size: .875rem; } }   /* 360 px phones: a long one-word step name stays whole */
  .gv-chips[data-even] .gv-next { grid-column: 1 / -1; }
  .gv > .lang-hint { order: 6; }
  .gv-hint { order: 7; margin-top: 1.5rem; }
  .gv-tl { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; grid-auto-rows: minmax(3.25rem, auto); max-height: none; flex: none; }
  .gv-tl li.is-step { order: -1; }
  .gv-hint-card.is-collapsed .gv-tl li:not(.is-step), .gv-hint-card.is-collapsed .h-all, .gv-hint-card.is-collapsed .c-all { display: none; }
  .gv-hint-card.is-collapsed .h-step, .gv-hint-card.is-collapsed .c-step { display: inline; }
  .gv-all { display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%; min-height: 44px; margin-top: .375rem; padding: .25rem .5rem 0 calc(var(--gv-ci) - .625rem);
    border: 0; border-top: 1px solid var(--line); background: none; color: #3B2FC0; font: 700 .9375rem/1.2 var(--f-sans); cursor: pointer; }
  .gv-all i { width: .5rem; height: .5rem; margin-right: .25rem; border: solid currentColor; border-width: 0 1.8px 1.8px 0; transform: translateY(-2px) rotate(45deg); }
  .gv-hint-card:not(.is-collapsed) .gv-all i { transform: translateY(2px) rotate(-135deg); }
  .gv-tl a { grid-template-columns: 1.625rem minmax(0, 1fr); }
  .gv-tl img { grid-row: span 2; }
  .gv-tl b { font-size: 1rem; }
  .gv-tl small { font-size: .875rem; }
}

/* full screen: the player (picture, seek line, controls) on black; the steps stay out */
.gv-player:fullscreen { display: flex; flex-direction: column; justify-content: center; width: 100vw; background: #000; }
.gv-player:fullscreen .gv-frame { flex: 1 1 auto; aspect-ratio: auto; border-radius: 0; box-shadow: none; background: #000; }
.gv-player:fullscreen video { object-fit: contain; }   /* the whole recording, bars at the sides or above and below: never a cut toolbar */
.gv-player:fullscreen .gv-chips { display: none; }
.gv-player:fullscreen .gv-bar { padding: 0 .75rem; color: #fff; }
.gv-player:fullscreen .gv-ib, .gv-player:fullscreen .gv-time, .gv-player:fullscreen .gv-time b, .gv-player:fullscreen .gv-cur { color: #fff; }
.gv-player:fullscreen .gv-ib.gv-pp { background: rgba(255, 255, 255, .2); }

/* ---------- below the first screen: the page's own text, as in build14 (the "Tools used here" list is gone: the Hint above replaces it) ---------- */
.dl.gv-drawer > main .gv-more > .wrap, .dl.gv-drawer > main .gv-more > .pager.wrap, .dl.gv-drawer > main .gv-more ~ .section > .wrap { width: 100%; max-width: 100%; margin-inline: auto; }
.dl.gv-drawer > main .gv-more { padding-block: 3.5rem 0; }
.gv-about { max-width: 46rem; color: var(--ink-2); font-size: 1rem; }
.gv-about p { margin: 0 0 .5rem; }
.gv-about .lead { margin: 0 0 .75rem; max-width: none; color: var(--ink); font-size: 1.0625rem; line-height: 1.55; }
.gv-about .byline { font-size: .875rem; }
/* build17 round 2: the basics links under the byline are one line of text, like the byline: pages.css makes the row a flex box with 1.25rem
   gaps and 2.75rem tall links, so its « · » (a bare text node, set apart from both links and at the row's top) hung loose. In the text flow
   the dot sits on the baseline between the links, a link never breaks inside, and a phone wraps the row between the two links; the padding
   keeps the links' tap height without moving the lines. */
.gv-about .need-basics { display: block; margin: .75rem 0 0; line-height: 1.6; }
.gv-about .need-basics a { display: inline; min-height: 0; padding-block: .625rem; white-space: nowrap; }
.gv-more > .pager { margin-top: var(--gv-gap); }
.dl.gv-drawer > main .gv-more ~ .section { padding-block: var(--gv-gap); }
.dl.gv-drawer > main .gv-more ~ .section > .wrap { padding-block: 0; }
.dl.gv-drawer > main .gv-more ~ .section .faq-sec { margin-top: 0; }
.dl.gv-drawer > main .gv-more ~ .section .home-learn { margin-top: var(--gv-gap); padding-bottom: 3.5rem; }
.dl.gv-drawer .faq-sec h2 { font-size: 1.375rem; letter-spacing: -.01em; }
.dl.gv-drawer .faq-sec .faq { max-width: 45rem; }

@media (prefers-reduced-motion: reduce) { .gv *, .gv *::before, .gv *::after { transition: none !important; } }

/* ---------- N216 build17 round 5, variant b4 (appended by shell17.py to variant a's file, whose beside switch shell17.py turns from «a column
   of 880 px» into «a window from 1024 px wide», BESIDE_B4): build15's composition in the B3 guide shell. Owner 17.11 about B2 / B3: «в чем
   проблема просто сделать меньше видео и просто поставить справа»; the hub: «а так версия 3» (the B3 shell, guides-tree-b3.css).
   1. From 1024 px wide and 641 px tall «On screen now» and «Hint · In this video» stand at the RIGHT of the player, their top level with the
      picture's top, as in build15; the player takes what is left of the shell's column (or what the window's height allows). The frame stays
      in the column: its right edge is the column's, level with the header's right end (round 3's run into the free right margin is not
      used, NOTES.md «B4»). Below 1024 px and in windows up to 640 px tall nothing here applies except the cue rule.
   2. The side column is build15's 21rem with build15's 1.5rem gap where the column has room for it (from about a 1440 px window; 1023 px
      column there, as build15's 937 + 1.5rem + 21rem frame at 1440x900 is 1243 px), and narrows with the column down to 17rem, so a 1024 px
      window (a 681 px column) keeps a player of about 414 px rather than 375. 28cqw = 28 % of the shell's column (<main>, container gvcol).
      Not 16rem: the player's right edge then stood 8 px under the open consent card (fixed, bottom right, 310 px wide) at 1024x768, and
      where the step name takes two lines (de, fr, id, uk gold-star) the card covered the full-screen button's corner.
   3. Round 3's cue rule: a cue whose heading is its step's name hides that heading (guide-frame.js, shell17.R3_JS).
   4. B4 fix (hub 17.11: «Карточка Hint растянута по высоте сетки, под строками 200+ px пустоты. Высота должна идти по содержимому»):
      beside the player the Hint block, its card and the tool list no longer grow to the side column's height (a's .gv-hint flex: 1,
      .gv-hint-card flex: 1 0 auto, .gv-tl flex: 1 with rows up to 4.6rem); the card ends one padding under its last row. The rows
      stay equal (the 1fr rows of a grid without a set height are each as tall as the tallest row). Where the tools need more room than
      the player's height the card runs past the step buttons beside the text, as before (the side column's height is still 0 with a
      min-height of the row, so it never stretches the frame's row). ---------- */
@media (min-width: 1024px) and (min-height: 641px) {
  .gv, .gv-more { --gv-aside: clamp(17rem, 28cqw, 21rem); }
  .gv-stage > .gv-aside .gv-hint, .gv-stage > .gv-aside .gv-hint-card, .gv-stage > .gv-aside .gv-tl { flex: none; }
}
.gv-osn-act[hidden] { display: none; }

/* ---------- build22 (hub 23.11: «Да, чинить»; owner 22.11: «минимум дергания по верстке»): the card «On screen now» keeps one height ----------
   The card was as tall as the cue's text (72-370 px over one guide) and moved what lies under it each time the clip reached the next
   cue: on phones the step buttons, the Hint card and the page (81-257 px), up to 1023 px the Hint card and the page, beside the player
   the Hint card. Every page now carries a hidden copy of the card for each cue (.gv-osn-ghost, written by osn22.py from the page's data
   block). The live card and the copies share one grid cell, so the cell - and the live card with it - is as tall as the tallest copy:
   at every width, in every language and font, from the first paint, without a script. */
.gv-osn-hold { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.gv-osn-hold > .gv-osn-card { grid-area: 1 / 1; min-width: 0; }
.gv-osn-ghost { visibility: hidden; pointer-events: none; }
