/* The app's primitives, their look (Concepts/workflows/2610071200-ui-inventory §4; DESIGN.md «Примитивы»). One file per element, written against the tag and
   its attributes, reading only tokens (ui/tokens.css, linked before this file), so a page that links this file draws <hy-*> markup right
   even before ui/hy/index.js has upgraded it. A page never selects inside a hy-* element to restyle it: a missing variant goes into the
   primitive. */

/* <hy-kbd> and <kbd>: a key cap, the one look of every cap in the app (owner 2026-10-27 on round 5 of «shell, one look», r5-keys-look:
   the right click «шикарно - забрал» c6395227f14, the Frame Studio dock and the crop bar «отлично забираю» c57441239a6; on round 4 he asked
   for «серым bg и светлым шрифтом… как в этом примере с Annotation "Esc"… и без обводки»). A grey ground, light letters, no outline, no
   lower edge. The keys in the Mac's symbols, written by ui/hy/keys.js: one cap per key in menus, the «?» panel, tooltips, the hint line and
   the tip under a selection; one merged cap on a button's corner while ⌘ is held. Every place takes this file: no page draws a cap of its own.
   Sizes: l 20 (the default: menus, the «?» panel), m 18 (tooltips, the hint line, the tip, bars and docks, a button's key under ⌘),
   s 16 (inside a line of words: a panel's footnote, a hint, a tip; a tool's corner). Tones: dim, a helping cap inside a field (Esc and ⌘F
   in a search): the same cap a step darker, the muted letters; ink, a cap on a filled button (Done ↵ on blue): its words' colour at 20 %,
   so white at 20 % on the accent. quiet: the muted letters. up: the contrast step on a grey plate (round 8). A gesture is written by
   hyKeys.gesture: its word in the same cap, «Click», «Drag», «Scroll», with a motion of its own (data-g; round 9, r9-gesture-caps). */
:root, [data-hy-theme=light] { --hy-kbd-bg: #e4e4e7; --hy-kbd-ink: #52525b; --hy-kbd-dim: #f4f4f5; --hy-kbd-up: #d4d4d8; --hy-kbd-up-ink: #3f3f46; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --hy-kbd-bg: #27272a; --hy-kbd-ink: #a1a1aa; --hy-kbd-dim: #1c1c1f;
  --hy-kbd-up: #3f3f46; --hy-kbd-up-ink: #d4d4d8; } }
:root[data-theme="dark"], [data-hy-theme=dark] { --hy-kbd-bg: #27272a; --hy-kbd-ink: #a1a1aa; --hy-kbd-dim: #1c1c1f; --hy-kbd-up: #3f3f46; --hy-kbd-up-ink: #d4d4d8; }
:root { --hy-kbd-r: 4px; --hy-kbd-l: 20px; --hy-kbd-m: 18px; --hy-kbd-s: 16px; }

kbd, hy-kbd { display: inline-grid; place-items: center; box-sizing: border-box; flex: none; min-width: var(--hy-kbd-l); height: var(--hy-kbd-l); padding: 0 var(--hy-sp-6);
  /* hy-allow: spacing-literal a hairline nudge below the 2 px step */
  margin: 0; vertical-align: 1px; border: 0; border-radius: var(--hy-kbd-r); box-shadow: none; background: var(--hy-kbd-bg); color: var(--hy-kbd-ink);
  font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* m: a button's own key under ⌘ (ui/keyhints.js lays it over the button's right end) unless it says its size */
:is(kbd, hy-kbd)[size=m], button > :is(kbd, hy-kbd):not([size]) { min-width: var(--hy-kbd-m); height: var(--hy-kbd-m); padding: 0 var(--hy-sp-4); font-size: var(--hy-fs-10-5); }
/* s: a key named inside a grey line of words, «Esc closes», «↵ Frame Studio · Esc lets it go», «N puts a note here» */
:is(kbd, hy-kbd)[size=s], :is(.hy-side-ft, .hy-hint, hy-tip) :is(kbd, hy-kbd):not([size]) {
  min-width: var(--hy-kbd-s); height: var(--hy-kbd-s); padding: 0 var(--hy-sp-4); font-size: var(--hy-fs-10); border-radius: var(--hy-r-1); }
/* caps in a row of caps (a menu's key column, a tooltip's, a hint's, the «?» panel's): the row's gap between them, no margins */
:is(.mk, .oi-k, .tt-k, .ng-k, .kh-i, .k) > :is(kbd, hy-kbd) { margin: 0; vertical-align: 0; }
:is(kbd, hy-kbd)[quiet] { color: var(--muted); }
:is(kbd, hy-kbd)[tone=dim] { background: var(--hy-kbd-dim); color: var(--muted); }
/* never grey caps on a grey plate (owner 2026-10-27 on r8-gestures, cce367aec0e: «серые кнопки сверху вообще не видны из-за серого блока на
   бэкграунде… Так делать не надо»): on a plate of the glass (the hint line, the tip under a selection, the annotation bar, a Studio bar's
   hint) a cap takes the contrast step, a shade lighter with lighter letters; tone=up asks for it anywhere else */
:is(kbd, hy-kbd)[tone=up], :is(hy-keyhint:not([bare]), hy-nudge, .hy-annbar-h, .hy-annbar-done, .hint2) :is(kbd, hy-kbd):not([tone]) { background: var(--hy-kbd-up); color: var(--hy-kbd-up-ink); }
/* a gesture's cap (ui/hy/keys.js hyKeys.gesture; round 9 of «shell, one look», r9-gesture-caps, owner 2026-10-27, note n9y5bfln: 54 C,
   55 A, 56 D, 57 B, 58 A; refined on round 10, r10-gesture-motion, note nv3om444 «вот это берем на скринщоте»: 96 C, 97 A, 98 C): the word
   moves as its gesture, once when the cap shows and again when the pointer comes onto its row (keys.js restarts it). The word sits in a
   window (.gt, it clips) and moves as a row (.gr), so the cap never shows more than one word. Click, Double click and Right click are
   the same: the word shrinks twice, click-click, no colour change (96 C). Scroll is a ribbon: the second word stands right under the first
   (.gr::after) and both rise together, with a small bounce at the end (97 A). Drag presses the cap in, takes the word along an arc to the
   right and a little down, holds, lets the cap go, and the word springs back (98 C). One set of tokens for every place, no place draws a
   motion of its own: --hy-g-dur the length (1 s, Drag 1.2 s), --hy-g-press how far the word shrinks (18 %), --hy-g-bounce the ribbon's
   overshoot (8 % of a line), --hy-g-dist how far Drag pulls (17 px). The cap keeps its word inside (overflow hidden).
   The easings are the contract's: its ease-out is (.32,.72,0,1), a press goes in on (.45,0,.2,1). «Reduce motion»
   stops it. In the «?» panel the cap has the 12 px mouse glyph before the word (54 D, cc1ab2e88f7). */
:root { --hy-g-dur: 1s; --hy-g-press: .18; --hy-g-bounce: 8%; --hy-g-dist: 17px; }
:is(kbd, hy-kbd)[data-g=drag] { --hy-g-dur: 1.2s; }
:is(kbd, hy-kbd)[data-g] { display: inline-flex; align-items: center; gap: var(--hy-sp-4); overflow: hidden; }
/* hy-allow: spacing-literal a hairline nudge below the 2 px step */
:is(kbd, hy-kbd)[data-g] > .gi { display: grid; place-items: center; flex: none; margin-left: -1px; }
:is(kbd, hy-kbd)[data-g] > .gi > svg { display: block; width: 12px; height: 12px; }
:is(kbd, hy-kbd)[data-g] > .gt { display: inline-block; overflow: hidden; white-space: nowrap; line-height: var(--hy-sp-12); }
:is(kbd, hy-kbd)[data-g] .gr { position: relative; display: block; transform-origin: 50% 55%; }
:is(kbd, hy-kbd)[data-g=wheel] .gr::after { content: attr(data-w); position: absolute; left: 0; top: 100%; }
:is(kbd, hy-kbd):is([data-g=click], [data-g=dbl], [data-g=right]) .gr { animation: hy-g-press var(--hy-g-dur) var(--hy-ease) var(--hy-t-base) both; }
:is(kbd, hy-kbd)[data-g=wheel] .gr { animation: hy-g-wheel var(--hy-g-dur) linear var(--hy-t-base) both; }
:is(kbd, hy-kbd)[data-g=drag] { animation: hy-g-drag-cap var(--hy-g-dur) var(--hy-ease) var(--hy-t-base) both; }
:is(kbd, hy-kbd)[data-g=drag] .gr { animation: hy-g-drag var(--hy-g-dur) linear var(--hy-t-base) both; }
/* hy-allow: duration-literal a slow fade/loop longer than --hy-t-page */
:is(kbd, hy-kbd)[data-g=hover] > .gt { animation: hy-g-hover 1.5s var(--hy-ease) var(--hy-t-base) both; }
/* hy-allow: duration-literal a slow fade/loop longer than --hy-t-page */
:is(kbd, hy-kbd)[data-g=pinch] > .gt { animation: hy-g-pinch 1.5s var(--hy-ease) var(--hy-t-base) both; }
@keyframes hy-g-press { 0%, 56%, 100% { scale: 1; } 12%, 39% { scale: calc(1 - var(--hy-g-press)); animation-timing-function: cubic-bezier(.45,0,.2,1); } 27% { scale: 1; } }
@keyframes hy-g-wheel { 0% { translate: 0 0; animation-timing-function: cubic-bezier(.45,0,.2,1); }
  42% { translate: 0 calc(-100% - var(--hy-g-bounce)); animation-timing-function: cubic-bezier(.32,.72,0,1); } 55%, 99.9% { translate: 0 -100%; } 100% { translate: 0 0; } }
@keyframes hy-g-drag-cap { 0%, 86%, 100% { scale: 1; } 10% { scale: .92; animation-timing-function: cubic-bezier(.45,0,.2,1); } 70% { scale: .92; } 78% { scale: 1.03; } }
@keyframes hy-g-drag { 0%, 93%, 100% { translate: 0 0; } 12% { translate: 0 0; animation-timing-function: cubic-bezier(.45,0,.15,1); }
  34% { translate: calc(var(--hy-g-dist) * .7) calc(var(--hy-g-dist) * .32); } 48% { translate: calc(var(--hy-g-dist) * 1.05) calc(var(--hy-g-dist) * .18); }
  58% { translate: calc(var(--hy-g-dist) * .92) calc(var(--hy-g-dist) * .26); }
  70% { translate: var(--hy-g-dist) calc(var(--hy-g-dist) * .2); animation-timing-function: cubic-bezier(.33,0,.2,1); }
  84% { translate: calc(var(--hy-g-dist) * -.12) -1px; } }
@keyframes hy-g-hover { 0%, 100% { color: inherit; } 20%, 40% { color: var(--ink); } 60% { color: inherit; } }
@keyframes hy-g-pinch { 0%, 100% { scale: 1; } 18%, 30% { scale: .8 1; } 50% { scale: 1; } }
@media (prefers-reduced-motion: reduce) { :is(kbd, hy-kbd)[data-g], :is(kbd, hy-kbd)[data-g] > .gt, :is(kbd, hy-kbd)[data-g] .gr { animation: none !important; } }
:is(kbd, hy-kbd)[tone=ink], hy-button[variant=accent] > button :is(kbd, hy-kbd) { background: color-mix(in srgb, currentColor 20%, transparent); color: inherit; }



/* <hy-switch>: on or off in a setting's row, the wells' look (owner 2026-10-08, round 11 of Settings), the one look since 2026-10-27
   (round 2 of «shell, one look», c0e2027bc13: «да ок отлично»; the blue 30 × 18 went, a block or a bar takes <hy-minitoggle>, a list item
   <hy-check>; ui/tokens.css «On / off»). A 44 × 26 well with a 20 px knob of 6 px corners: off the knob is grey (a white plate in light),
   on it stands light at the right end (the well darkens under it in light). The track is the element, the knob its ::after, both drawn
   from the checked attribute, so the markup looks right before the script; the script puts a real checkbox (role=switch) over it for the
   pointer, the keyboard and VoiceOver. variant=well is still read, the same look. */
hy-switch { position: relative; display: inline-block; flex: none; box-sizing: border-box; width: 44px; height: 26px; vertical-align: middle;
  border-radius: var(--hy-well-r); background: var(--hy-well); cursor: pointer; transition: background var(--hy-t-base) var(--hy-ease), opacity var(--hy-t-base) ease, scale var(--hy-press-t) ease; }
hy-switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: var(--hy-well-in-r);
  background: var(--hy-knob-off); pointer-events: none; transition: transform var(--hy-t-slow) var(--hy-ease), background-color var(--hy-t-base) ease; }
hy-switch:not([checked], [disabled]):hover { background: var(--hy-well-hov); }
hy-switch[checked] { background: var(--hy-well-on); }
hy-switch[checked]::after { transform: translateX(18px); background: var(--hy-knob-on); }
hy-switch[disabled] { opacity: var(--hy-dis-op); cursor: default; }
hy-switch[static] { cursor: inherit; }
hy-switch > .hy-in { position: absolute; left: -3px; top: -3px; width: calc(100% + 6px); height: calc(100% + 6px); margin: 0; padding: 0; opacity: 0; cursor: inherit; z-index: var(--hy-z-local); }
@media (prefers-reduced-motion: reduce) { hy-switch, hy-switch::after { transition: none; } }



/* <hy-check>: a checkbox with its words (Concepts/workflows/2610071200-ui-inventory §2.8: six boxes and three native accent colours before it), the
   kind for the items of a list (owner 2026-10-27, c0e2027bc13; ui/tokens.css «On / off»). A 14 px box with a 4 px corner and a 1.5 px edge,
   the place's colour with the registry's check when checked, a bar when indeterminate; the words are the element's own text. The script
   puts a real checkbox over the whole element. */
hy-check { position: relative; display: inline-flex; align-items: center; gap: var(--hy-sp-8); min-height: var(--hy-h-s); vertical-align: middle;
  color: var(--ink); font: 400 var(--hy-fs-13) var(--sans); cursor: pointer; transition: scale var(--hy-press-t) ease; }
hy-check::before { content: ""; flex: none; box-sizing: border-box; width: 14px; height: 14px; border: 1.5px solid var(--hy-tog-edge); border-radius: var(--hy-check-r);
  background: transparent center / 11px no-repeat; transition: background-color var(--hy-t-base) var(--hy-ease), border-color var(--hy-t-base) var(--hy-ease); }
hy-check:hover::before { border-color: var(--sub); }
hy-check[checked]::before { border-color: var(--hy-tog-on, var(--hy-sel)); background-color: var(--hy-tog-on, var(--hy-sel)); background-image: var(--hy-ic-check-on); }
hy-check[indeterminate]::before { border-color: var(--hy-tog-on, var(--hy-sel)); background-color: var(--hy-tog-on, var(--hy-sel)); background-image: var(--hy-ic-minus-on); }
hy-check[disabled] { opacity: var(--hy-dis-op); cursor: default; }
hy-check > .hy-in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: inherit; z-index: var(--hy-z-local); }
@media (prefers-reduced-motion: reduce) { hy-check::before { transition: none; } }



/* <hy-badge>: a count on a button's corner, or a dot (Concepts/workflows/2610071200-ui-inventory §2.2: two badges of two sizes and colours, two dots). 16 px,
   the selection's colour; tone=red for what needs the owner, tone=neutral a quiet count. dot: an 8 px dot. A zero count hides it. */
hy-badge { display: inline-grid; place-items: center; box-sizing: border-box; min-width: 16px; height: 16px; padding: 0 var(--hy-sp-4); border-radius: var(--hy-r-pill); vertical-align: middle;
  background: var(--hy-sel); color: var(--hy-on-accent); font: 400 var(--hy-fs-10)/1.6 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
hy-badge[tone=red] { background: var(--hy-red); }
hy-badge[tone=neutral] { background: var(--raise); color: var(--sub); box-shadow: inset 0 0 0 1px var(--line); }
hy-badge[count]:empty::before { content: attr(count); }   /* the count before the script writes it */
hy-badge[dot] { min-width: 0; width: var(--hy-dot-sz); height: var(--hy-dot-sz); padding: 0; font-size: 0; }
hy-badge[hidden], hy-badge[count="0"]:not([zero]) { display: none; }



/* <hy-chip>, and the library's .fc (ui/hy/chip.css is its one geometry since 2026-10-21: the pill rule's padding, its height, words and
   corners; library.html keeps its states): a filter (Concepts/workflows/2610071200-ui-inventory §2.2: the library's capsule chips 28 and its window's 30). A click shows (+), the second
   leaves it out (−), the third takes it off (the library's filters, DESIGN.md «Панель фильтров библиотеки»); cycle=two is a plain on/off.
   Included: the ink plate; left out: red and struck through. count: a quiet number after the words; pinned: the pin before them. */
:is(hy-chip, .fc) { display: inline-flex; align-items: center; gap: var(--hy-sp-6); box-sizing: border-box; height: var(--hy-h-opt); padding: 0 var(--hy-pad-opt); border-radius: var(--hy-chip-r);
  vertical-align: middle; background: transparent; color: var(--sub); font: 400 var(--hy-fs-13) var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color var(--hy-t-base) var(--hy-ease), color var(--hy-t-base) var(--hy-ease), scale var(--hy-press-t) ease; }
hy-chip:hover { background: var(--raise); color: var(--ink); }
hy-chip[state=include] { background: var(--ink); color: var(--panel); }
hy-chip[state=exclude] { background: color-mix(in srgb, var(--hy-red) 14%, transparent); color: var(--hy-red); }
hy-chip[state=exclude] > .hy-lbl { text-decoration: line-through; }
hy-chip[disabled] { opacity: var(--hy-dis-op); cursor: default; }
hy-chip > .hy-n { color: var(--muted); font-variant-numeric: tabular-nums; }
hy-chip[state=include] > .hy-n { color: inherit; opacity: .6; }
hy-chip > svg { flex: none; }



/* Hints (owner 2026-10-06, about the 3D studio's Scene panel in white body text: «Вот эти комментарии никто не читает. Нужно сделать их
   либо меньше, прям таким микро шрифтом, как Apple обычно делает ... и выделял важное ... Если текст не ключевой, то зачем он вообще нужен
   ... каким-то элементом дал описание, если оно необходимо»). The rule for every panel, popover, empty state and setting, plugins too:
     not key           not written at all
     key but long      one footnote line, <hy-hint> (or .hy-hint): 11 px, the quiet colour, the words that matter in <b> (or .k)
     really unclear    a ⓘ beside the title, <hy-info tip="…"> (or .hy-info): a round button whose explanation is its tooltip
   A paragraph of more than 14 words in body text fails scripts/validate.py «panel-prose» and the design audit's «prose». */
:is(.hy-hint, hy-hint) { margin: 0; font: 400 var(--hy-fs-11)/var(--hy-sp-16) var(--sans); letter-spacing: .01em; color: var(--hy-hint); text-wrap: pretty; }
hy-hint { display: block; }
:is(.hy-hint, hy-hint) :is(b, strong, .k) { font-weight: var(--hy-fw-400); color: var(--ink); }
/* ⓘ: ui/icons.js «info» as a mask (--hy-ic-info, which icons.js sets on every page), drawn from the class or the tag alone; 14 px in a
   24 px target that takes no room in the line (negative margins) */
:is(.hy-info, hy-info) { display: inline-grid; place-items: center; width: 24px; height: 24px;
  margin: calc(var(--hy-sp-6) * -1) calc(var(--hy-sp-6) * -1) calc(var(--hy-sp-6) * -1) calc(var(--hy-sp-2) * -1); padding: 0; border: 0; border-radius: 50%; background: none;
  color: var(--muted); cursor: help; vertical-align: middle; flex: none; transition: color var(--hy-t-base) ease; }
:is(.hy-info, hy-info)::before { content: ""; width: 14px; height: 14px; background: currentColor;   /* ui/icons.js «info» */
  -webkit-mask: var(--hy-ic-info) center / contain no-repeat; mask: var(--hy-ic-info) center / contain no-repeat; }
:is(.hy-info, hy-info):hover { color: var(--ink); }



/* <hy-swatch>: one colour to pick (Concepts/workflows/2610071200-ui-inventory §2.16: the menus' colours, the board's note colours and Home's icon colours were
   three swatches). A circle of 18 px (size=m 22), the colour from color= (a value or a token's name), a rim against any paper (below); the chosen
   one wears a ring of the text colour. none: no colour, a slashed circle. <hy-swatches> holds a row of them, one chosen. static: only shows the colour. */
hy-swatches { display: inline-flex; align-items: center; flex-wrap: wrap; gap: var(--hy-sp-6); }
hy-swatch { position: relative; display: inline-block; flex: none; box-sizing: border-box; width: 18px; height: 18px; border-radius: 50%; vertical-align: middle;
  background-color: var(--hy-sw, transparent); border: 2px solid transparent; cursor: pointer;
  transition: border-color var(--hy-t-fast) var(--hy-ease), scale var(--hy-t-fast) var(--hy-ease); }
/* The rim (owner 2026-11-18 on a transparent colour's swatch on a dark plate: «обводка цвета тоже хорошая, её нужно employ»): a hairline of ink at 16 % at the
   colour's own edge, so a white swatch reads on white paper and a transparent or dark one on a dark plate (the block's 9 % hairline over the dark rim all but
   vanished on a dark colour in the dark theme, 2026-11-18 check). It is drawn by ::before over the whole box: a shadow on the swatch itself lies inside the 2 px
   border kept for [selected], a ring 2 px in from the edge that read as a target and made a light colour on light paper look smaller than a dark one (2026-11-18
   check, both themes); an outline would go with the board's :focus rule. A swatch drawn without
   the border sets ::before { inset: 0 } (3D's layer dot). A colour drawn as a mark inside another control (a token's chip, a list row) has no border and wears
   the same rim as its own shadow with the class hy-sw, which sets nothing else */
hy-swatch::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); }
.hy-sw { box-shadow: inset 0 0 0 1px var(--hy-pline), inset 0 0 0 1px var(--hy-swatch-rim); }
hy-swatch[size=m] { width: 22px; height: 22px; }
hy-swatch:hover { scale: 1.12; }
hy-swatch[selected] { border-color: var(--ink); }
hy-swatch[static] { cursor: default; pointer-events: none; }   /* a picture of a colour (the Tokens panel's value dots): nothing to press */
hy-swatch[none] { background: linear-gradient(135deg, transparent 45%, var(--sub) 45% 55%, transparent 55%); }
hy-swatch[none]::before { box-shadow: inset 0 0 0 1px var(--sub); }
/* hy-allow: spacing-literal a hairline nudge below the 2 px step */
hy-swatch[marked]::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%;
  background: var(--hy-sel); }   /* marked: its value was changed (Frame Studio's colour ranges), a dot under it */
hy-swatch[disabled] { opacity: var(--hy-dis-op); cursor: default; scale: 1; }
@media (prefers-reduced-motion: reduce) { hy-swatch { transition: none; } hy-swatch:hover { scale: 1; } }



/* <hy-button> and <hy-icon-button>: three heights and four kinds (ui/hy/button.js; owner 2026-10-14 on the card «Кнопки», c16f1241f2f:
   «А давай да»). Heights are the scale's tokens: s 24, m 30 (the default), l 38, a plate of the top row (its glass, edge and shadow).
   plain the raised ground; accent the place's main action (--hy-pri: light grey, dark words; a Studio's own colour inside its root); ghost no
   ground until the pointer; danger red words on a red tint. on: an option that is on is the ink plate inside a bar; a plate of the top
   row lifts to the raised ground with ink words. menu: the arrow behind a hairline, the button's own height, kind and corner. The element
   is the look; the script moves its words into a real <button> that fills it, so the keyboard, VoiceOver, menu.js and keyhints.js (a key
   cap in the button shows under ⌘) work as they did. */
:is(hy-button, hy-open-in), hy-icon-button { --hy-bh: var(--hy-h-m); --hy-bpad: var(--hy-pad-m); --hy-mn-w: 26px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none;
  box-sizing: border-box; height: var(--hy-bh); border: 0; border-radius: var(--hy-btn-r); vertical-align: middle; background: var(--raise); color: var(--sub);
  font: 400 var(--hy-fs-13)/var(--hy-sp-12) var(--sans); white-space: nowrap; cursor: pointer; -webkit-user-select: none; user-select: none;
  transition: background-color var(--hy-t-base) var(--hy-ease), color var(--hy-t-base) var(--hy-ease), opacity var(--hy-t-base) ease, box-shadow var(--hy-t-base) ease,
    scale var(--hy-press-t) ease, filter var(--hy-press-t) ease; }
:is(hy-button, hy-open-in) { gap: var(--hy-bgap, 6px); padding: 0 var(--hy-bpad); }
:is(hy-button, hy-open-in):is(:defined, :has(> button)) { padding: 0; }   /* its real button carries the padding: upgraded, or written whole on a page without the modules (Home) */
:is(hy-button, hy-icon-button, hy-open-in) > button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: inherit;
  width: 100%; height: 100%; border-radius: inherit; color: inherit; font: inherit; cursor: inherit; white-space: nowrap; }
:is(hy-button, hy-open-in) > button { padding: 0 var(--hy-bpad); }
:is(hy-button, hy-icon-button, hy-open-in) svg { flex: none; display: block; }
:is(hy-button, hy-icon-button, hy-open-in)[size=s] { --hy-bh: var(--hy-h-s); --hy-bpad: var(--hy-pad-s); --hy-mn-w: 20px; font-size: var(--hy-fs-12); }
:is(hy-button, hy-icon-button, hy-open-in)[size=l] { --hy-bh: var(--hy-h-l); --hy-bpad: var(--hy-pad-l); --hy-mn-w: 30px; border-radius: var(--hy-plate-r); border: 1px solid var(--line);
  /* a plate of the top row: its shadow is the row's (ui/tokens.css --hy-sh-row) */
  background: var(--hy-glass-bg); -webkit-backdrop-filter: var(--hy-glass-blur); backdrop-filter: var(--hy-glass-blur); box-shadow: var(--hy-sh-row); }
/* an icon button is a square of its height, a circle in the round look, no ground until the pointer unless plain */
hy-icon-button { width: var(--hy-bh); padding: 0; background: transparent; }
hy-icon-button[variant=plain] { background: var(--raise); }
:is(hy-button, hy-icon-button, hy-open-in):hover { color: var(--ink); }
:is(hy-button, hy-icon-button, hy-open-in)[variant=ghost] { background: transparent; }
:is(hy-button, hy-icon-button, hy-open-in)[variant=ghost]:where(:not([on])):hover { background: var(--raise); }   /* on keeps its plate under the pointer */
:is(hy-button, hy-icon-button, hy-open-in)[variant=accent] { background: var(--hy-pri); border-color: var(--hy-pri); color: var(--hy-pri-ink); }   /* ui/tokens.css */
:is(hy-button, hy-icon-button, hy-open-in)[variant=accent]:hover { background: color-mix(in srgb, var(--hy-pri) 88%, var(--ink)); }
:is(hy-button, hy-icon-button, hy-open-in)[variant=danger] { background: color-mix(in srgb, var(--hy-red) 14%, transparent); color: var(--hy-red); }
:is(hy-button, hy-icon-button, hy-open-in)[variant=danger]:hover { background: color-mix(in srgb, var(--hy-red) 22%, transparent); color: var(--hy-red); }
:is(hy-button, hy-icon-button, hy-open-in)[on] { background: var(--ink); color: var(--panel); }
:is(hy-button, hy-icon-button, hy-open-in)[size=l][on] { background: var(--raise); color: var(--ink); }
:is(hy-button, hy-icon-button, hy-open-in)[disabled] { opacity: var(--hy-dis-op); cursor: default; }
/* a danger button with nothing to do (Reset with no filter on) is a plain one, its words grey, no red: as the library's resets were (ui.css .hy-reset) */
:is(hy-button, hy-icon-button)[variant=danger][disabled] { background: var(--raise); color: var(--hy-dis-ink); opacity: 1; }
:is(hy-button, hy-icon-button, hy-open-in)[disabled]:not([variant=accent], [variant=danger], [on]):hover { color: var(--sub); }
/* an icon button: three sizes, the shape by its place (owner 2026-10-27 on round 2 of «shell, one look», cf093816bf0: «да ок отлично»).
   s 24 a square with the blocks' 6 px corner (panels, inspectors, blocks: straight things around it); m 30 and l 38 circles (m: Info, the
   viewer; l: the dock, the bars, the top row: pills around it). No ground of its own until the pointer (--hy-hov), except when on ([on]):
   the place's colour, the icon white. plate: a key of the top row that stands alone (Home's bell), the row's glass, edge and shadow.
   shape= keeps one shape whatever the place */
hy-icon-button[size=s] { border-radius: var(--hy-ctl-r); }
hy-icon-button[size=l]:not([plate]) { border: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
hy-icon-button:is(:not([variant]), [variant=ghost]):not([on], [disabled]):hover { background: var(--hy-hov); }
/* on: the chosen tool's light see-through plate, the glyph in ink (tokens.css --hy-on-fill, owner 2026-11-12 and 11-13, variant A); a Studio sets
   --hy-icon-on to its mode colour (ui/modes.js, the Frame Studio's editor-studio.css) */
hy-icon-button[on], hy-icon-button[size=l][on] { background: var(--hy-icon-on, var(--hy-on-fill)); color: var(--hy-icon-on-ink, var(--hy-on-ink)); }
hy-icon-button[shape=round] { border-radius: 50%; }
hy-icon-button[shape=square] { border-radius: var(--hy-r-3); }
hy-icon-button[shape=square][size=s] { border-radius: var(--hy-ctl-r); }
/* hy-allow: radius-literal the corner of a 38 px square/pro shape, between r-3 8 and r-4 14 */
hy-icon-button[shape=square][size=l] { border-radius: 12px; }
/* a button whose popover is open (its button's aria-expanded): the hover's ground stays, as a menu's ▾ (.oi-more) */
hy-icon-button:not([on], [menu], [variant=accent], [variant=danger]):has(> button[aria-expanded=true]) { background: var(--hy-hov); }
/* dock: a dock's key (design system round «Док», slice 1, 2026-10-31; Codex REVIEW-dock-core: an opt-in adapter first, then one dock at a time).
   The docks' old rules for every button in a .bar reach the inner button of a component standing there: ui/board-chrome.css 34 (!important:
   38 high, a pill, --raise, --sub, --ink under the pointer), ui/studio.css 71 (30 high, --st-r, --raise), plugins/dev/canvas.js 555 (an id
   and :not(#_)), ui/look.css 51 (the Pro corner). So the inner button says its own with !important and three :not(#_) (the repo's way,
   dev/canvas.js), the host paints every state: no ground at rest, --hy-hov under the pointer, on in the place's colour --hy-dock-on (the
   board's --sel unless a dock sets it: a Studio's own inside its root) with the glyph and the focus ring in --hy-dock-on-ink (white unless set), disabled in --hy-dis-ink at
   full opacity under the pointer too, as the docks draw it. The host's corner is the inner button's in every look: a circle, --hy-r-3 in
   Pro (look.css 51), --st-r in the Studio look. Always with size=l; never with menu (a key with an arrow is hy-mode, slice 2). A key that
   stays on or off uses toggle too, so aria-pressed says «false» when it is off (button.js sync). ⌘F's bar did this for itself (ui/boardfind.css 21-23) */
hy-icon-button[dock] { flex: none; color: var(--sub); }
hy-icon-button[dock]:not([menu]):not(#_):not(#_):not(#_) > button { width: 100% !important; height: 100% !important; padding: 0 !important; border: 0 !important;
  border-radius: inherit !important; background: transparent !important; color: inherit !important; box-shadow: none !important; font: inherit !important; }
hy-icon-button[dock]:not(#_) > button > svg { width: var(--hy-dock-icon, var(--hy-icon-m)); height: var(--hy-dock-icon, var(--hy-icon-m)); }
hy-icon-button[dock]:not([on], [disabled]):hover { background: var(--hy-hov); color: var(--ink); }
hy-icon-button[dock][on] { background: var(--hy-dock-on, var(--hy-on-fill)); color: var(--hy-dock-on-ink, var(--hy-on-ink)); --hy-focus-c: var(--hy-dock-on-ink, var(--hy-on-ink)); }
hy-icon-button[dock][disabled], hy-icon-button[dock][disabled]:hover { color: var(--hy-dis-ink); opacity: 1; }
:root[data-shape=pro] hy-icon-button[dock] { border-radius: var(--hy-r-3); }
:root[data-ui="studio"] hy-icon-button[dock] { border-radius: var(--st-r); --hy-bh: var(--st-h); --hy-dock-icon: 16px; }   /* its dock: 30 high, 16 px glyphs (studio.css 71-76) */
/* menu: the main part, then the arrow behind a hairline of the words' colour; the corners are the button's, split between the two */
/* the two parts touch at the hairline: the host's gap is the words' gap inside each part, never room between them (owner 2026-10-27 on
   r8-top, 144548-…png: «Почему такая черная… промежуток при выделении… вся левая область от деления должна… иметь hover эффект на всю
   область без этого обрезанного черного края») */
:is(hy-button, hy-icon-button, hy-open-in)[menu] { width: auto; gap: 0; }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > button { gap: var(--hy-bgap, 6px); }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > button { width: auto; border-radius: inherit; }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > .oi-go { flex: 1 1 auto; padding-right: var(--hy-bpad); border-top-right-radius: 0; border-bottom-right-radius: 0; }
hy-icon-button[menu] > .oi-go { width: var(--hy-bh); padding: 0; }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > .oi-more { flex: none; width: var(--hy-mn-w); padding: 0; border-left: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-top-left-radius: 0; border-bottom-left-radius: 0; transition: background-color var(--hy-t-base) var(--hy-ease); }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > :is(.oi-go, .oi-more):hover,
:is(hy-button, hy-icon-button, hy-open-in)[menu] > .oi-more[aria-expanded=true] { background: var(--hy-hov); }
:is(hy-button, hy-icon-button, hy-open-in):is([variant=accent], [variant=danger])[menu] > :is(.oi-go, .oi-more):hover,
:is(hy-button, hy-icon-button, hy-open-in):is([variant=accent], [variant=danger])[menu] > .oi-more[aria-expanded=true] { background: color-mix(in srgb, currentColor 10%, transparent); }
/* a plate of the top row with words: the hover fills the plate, the row's one fill (round 8 of «shell, one look», r8-top 30 A) */
:is(hy-button, hy-open-in)[size=l]:not([variant], [on], [disabled], [menu]):hover { background: color-mix(in srgb, var(--ink) 6%, var(--hy-glass-bg)); }
:is(hy-button, hy-icon-button, hy-open-in)[menu] .oi-cv { width: 12px; height: 12px; color: var(--hy-caret, currentColor); transform: rotate(90deg);
  transition: transform var(--hy-t-base) var(--hy-ease); }
/* the arrow's grey on a filled button: its words' colour, dimmed (ui/tokens.css --hy-caret) */
:is(hy-button, hy-icon-button, hy-open-in):is([variant=accent], [variant=danger]) { --hy-caret: color-mix(in srgb, currentColor 66%, transparent); }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > .oi-more[aria-expanded=true] .oi-cv { transform: rotate(-90deg); }
:is(hy-button, hy-icon-button, hy-open-in) > [hidden] { display: none; }
:is(hy-button, hy-icon-button, hy-open-in)[hidden] { display: none; }   /* the host's own display would beat the browser's hidden */
@media (prefers-reduced-motion: reduce) { :is(hy-button, hy-icon-button, hy-open-in), :is(hy-button, hy-icon-button, hy-open-in) .oi-cv { transition: none; } }

/* === on-blue and over-picture (owner 2026-11-02, decisions page comp-decisions-r1, questions 6 and 7, both A) ===
   variant=on-blue: a key on a bar in the place's colour (the library's selection bar: «Select all», ×): white glass on the blue, the words
   --hy-on-accent, a pill at the size's height; usable on any blue bar. A bar of another ground sets --hy-onblue-bg, -hov and -ink (the
   Studio's library bar: the raised ground, the ink). variant=over-picture: an arrow standing on the picture itself (the viewer's ‹ ›),
   no plate that would cover the frame: a white glyph (22 px, a 1 px line) with a shadow, 44 × 64 as the edge's hit area, dimmed until the pointer. */
:is(hy-button, hy-icon-button)[variant=on-blue]:not([plate]) { border-radius: var(--hy-r-pill);   /* :not([plate]): over size=l's transparent ground */
  /* hy-allow: css-color (next line) a white glass on a blue bar, the same in both themes */
  background: var(--hy-onblue-bg, rgba(255,255,255,.18)); color: var(--hy-onblue-ink, var(--hy-on-accent)); }
:is(hy-button, hy-icon-button)[variant=on-blue]:hover { background: var(--hy-onblue-hov, rgba(255,255,255,.3)); color: var(--hy-onblue-ink, var(--hy-on-accent)); }   /* hy-allow: css-color */
hy-icon-button[variant=on-blue]:has(> button:active) { filter: var(--hy-press-dim); }
hy-icon-button[variant=over-picture] { width: 44px; height: 64px; border-radius: 0; background: transparent; color: var(--hy-on-accent); }
hy-icon-button[variant=over-picture]:not([disabled]) { opacity: .7; }   /* hy-allow: disabled-op dimmed until the pointer, not disabled */
hy-icon-button[variant=over-picture]:hover { background: transparent; color: var(--hy-on-accent); }
hy-icon-button[variant=over-picture]:not([disabled]):hover { opacity: 1; }
/* hy-allow: css-color, icon-stroke (next line) the shadow that keeps a white glyph readable on a light picture; 1.09 is the glyph's line as the runtime drew it (a 1 px line at 22) */
hy-icon-button[variant=over-picture] > button > svg { width: var(--hy-icon-l); height: var(--hy-icon-l); stroke-width: 1.09; filter: drop-shadow(0 1px 3px rgba(0,0,0,.6)); }
/* === end on-blue and over-picture === */

/* Held (round 10 of «shell, one look», r10-keyboard 109 A, owner 2026-10-27 c7b1fbeb4a4: «Все отлично, тоже принимаю рекомендацию»): ONE
   pressed state for the app, while the mouse, Space or ↵ holds a button. A button presses in to --hy-press (.96) and darkens a step, in
   --hy-press-t (90 ms) both ways: a filled one dims (--hy-press-dim), one with no ground of its own takes --hy-press-fill. A row of a menu
   or a list only darkens: a column of rows ripples when they shrink. The studios' own .85–.97 are gone; a plugin's button takes the same
   tokens, or the class hy-press. «Pressed» is this, an option that is on is [on]. */
:is(hy-button, hy-icon-button, hy-open-in):not([disabled]):has(> button:active),
:is(hy-segmented > button, .hy-press):not(:disabled):active { scale: var(--hy-press); }
/* the other pressable controls take the same press (2026-11-09, parts audit: check, chip, switch, minitoggle, swatch and the stepper's keys had no :active). The toggles
   lay a real checkbox (.hy-in) over themselves, so it is that input that is held; a chip and a swatch are their own button. A scrub and a slider are held as a drag
   (.hy-scrubbing, .drag), a text field is not pressed */
:is(hy-chip, hy-swatch):not([disabled], [static]):active, :is(hy-check, hy-switch, hy-minitoggle):not([disabled], [static]):has(> .hy-in:active),
hy-stepper > .hy-stp-b:not(:disabled):active { scale: var(--hy-press); }
:is(hy-segmented > button, .hy-press) { transition: scale var(--hy-press-t) ease, filter var(--hy-press-t) ease, background-color var(--hy-t-base) var(--hy-ease), color var(--hy-t-base) ease; }
:is(hy-button, hy-open-in):not([disabled], [variant=ghost]):has(> button:active), hy-icon-button:is([variant=plain], [variant=accent], [variant=danger], [on]):has(> button:active),
hy-segmented > button[aria-checked=true]:active { filter: var(--hy-press-dim); }
:is(hy-button, hy-open-in)[variant=ghost]:not([disabled]):has(> button:active),
hy-icon-button:is(:not([variant]), [variant=ghost]):not([on], [disabled]):has(> button:active) { background: var(--hy-press-fill); }
:is(hy-button, hy-icon-button, hy-open-in)[menu] > :is(.oi-go, .oi-more):active { background: var(--hy-press-fill); }
hy-segmented > button:not([aria-checked=true]):not(:disabled):active { background: var(--hy-press-fill); }
:is(#ctx, #lctx, .menu, [data-hymenu], .hy-sub, .hy-oi-menu, .hy-pm, .hy-pm .plist) > button:not(:disabled, [aria-disabled=true]):active { background: var(--hy-press-fill) !important; }
@media (prefers-reduced-motion: reduce) {
  :is(hy-button, hy-icon-button, hy-open-in, hy-segmented > button, .hy-press, hy-chip, hy-swatch, hy-check, hy-switch, hy-minitoggle,
    hy-stepper > .hy-stp-b) { scale: none !important; } }

/* ==== hy-button: dock (a dock key with words) and progress (work is running); owner 2026-11-02, comp-decisions-r1 Q1 and Q10, both A ==== */
/* dock: hy-icon-button[dock]'s rules (above), as wide as the words (the board's «100%», a Studio's «Actions»); size=l, no menu. The inner button
   takes the same !important and :not(#_) as the icon key's, against the docks' old `.bar button` rules. The page may give the host a
   min-width (the view's percent keeps the dock's width) */
hy-button[dock] { flex: none; border: 0; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; color: var(--sub);
  font-variant-numeric: tabular-nums; }
hy-button[dock]:not([menu]):not(#_):not(#_):not(#_) > button { flex: 1 1 auto !important; width: auto !important; height: 100% !important; padding: 0 var(--hy-pad-l) !important; border: 0 !important;
  border-radius: inherit !important; background: transparent !important; color: inherit !important; box-shadow: none !important; font: inherit !important; }
hy-button[dock]:not(#_) > button > svg { width: var(--hy-dock-icon, 18px); height: var(--hy-dock-icon, 18px); }
hy-button[dock]:not([on], [disabled]):hover { background: var(--hy-hov); color: var(--ink); }
hy-button[dock][on] { background: var(--hy-dock-on, var(--hy-on-fill)); color: var(--hy-dock-on-ink, var(--hy-on-ink)); --hy-focus-c: var(--hy-dock-on-ink, var(--hy-on-ink)); }
hy-button[dock][disabled], hy-button[dock][disabled]:hover { color: var(--hy-dis-ink); opacity: 1; }
:root[data-shape=pro] hy-button[dock] { border-radius: var(--hy-r-3); }
:root[data-ui="studio"] hy-button[dock] { border-radius: var(--st-r); --hy-bh: var(--st-h); --hy-dock-icon: 16px; }
/* progress: the button is filled by a bar, left to right (the same --hy-pv and keyframes as hy-progress.css), the words on top; progress="" runs
   a third across (not known); cancel: a × behind a hairline, the menu's second part. A plate that quiet mode marks (data-qk, ui/quietmode.js) keeps
   its fade, the fill with the words (--q-c). The running third stops while the page's UI is hidden (opacity 0, board-chrome.css), as nothing shows it */
hy-button[progress] { overflow: hidden; }
hy-button[progress]::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--hy-pv, 0) * 100%); pointer-events: none;
  background: color-mix(in srgb, var(--hy-sel, var(--sel)) 30%, transparent); opacity: var(--q-c, 1); transition: width var(--hy-t-page) linear; }
/* hy-allow: duration-literal a loop longer than --hy-t-page */
hy-button[progress=""]::before { width: 34%; animation: hy-progress-run 1.4s var(--hy-ease, cubic-bezier(.32,.72,0,1)) infinite; transition: none; }
:root.hy-hideui hy-button[progress=""]::before { animation-play-state: paused; }
hy-button[progress] > button { position: relative; }
hy-button > .oi-pb { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); pointer-events: none; }
hy-button[cancel] { gap: 0; }
hy-button[cancel] > button:not(.oi-x) { flex: 1 1 auto; width: auto; }
hy-button[cancel] > .oi-x { position: relative; flex: none; width: var(--hy-mn-w); padding: 0; border-left: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 0 var(--hy-btn-r) var(--hy-btn-r) 0; color: var(--sub); }
hy-button[cancel] > .oi-x:hover { background: var(--hy-hov); color: var(--ink); }
hy-button[size=l][data-qk] { background: color-mix(in srgb, var(--hy-glass-bg) calc(var(--q-a, 1) * 100%), transparent);
  border-color: color-mix(in srgb, var(--line) calc(var(--q-a, 1) * 100%), transparent); }
@media (prefers-reduced-motion: reduce) { hy-button[progress]::before { transition: none; } hy-button[progress=""]::before { animation: none; width: 100%; opacity: calc(var(--q-c, 1) * .5); } }

/* link: words that read as a link inside a panel (owner 2026-11-02, group 9 of the raw-buttons audit): hy-button link variant=ghost size=s|m.
   Left-aligned, as wide as its words and never wider than its place; a long one ends in an ellipsis, so the words stand in a span of their own
   inside the button (Home's path, the Kanban sheet's parent and «Implemented by»). */
hy-button[link] { max-width: 100%; min-width: 0; justify-content: flex-start; }
hy-button[link] > button { min-width: 0; justify-content: flex-start; }
hy-button[link] > button > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ==== hy-button select: a dropdown of a value (owner 2026-11-02, comp-decisions-r1 question 2, option B, «2») ====
   The words, then a thin ▾ (button.js draws the chevron of ui/icons.js, 12 px, as the field select's .hy-sel-c: --hy-caret, else --muted;
   up while its list is open, aria-expanded on the real button). At every size and kind: plain, ghost, dock. The ground stays while the list
   is open, as an icon key's. Not the split button (menu): that is an action and a ▾ of other ways behind a hairline. */
hy-button:is([select], [disclosure]):not(#_) > button { gap: inherit; }   /* the docks' `.bar button { gap: 0 }` would close the words up */
hy-button:is([select], [disclosure]):not(#_) > button > .oi-cv { width: 12px; height: 12px; color: var(--hy-caret, var(--muted));
  transition: transform var(--hy-t-base) var(--hy-ease); }
hy-button[select]:not(#_) > button > .oi-cv { transform: rotate(90deg); }
hy-button[select]:not(#_) > button[aria-expanded=true] > .oi-cv { transform: rotate(-90deg); }
hy-button[select]:not([on], [variant=accent], [variant=danger]):has(> button[aria-expanded=true]) { background: var(--hy-hov); }
hy-button[select][dock]:has(> button[aria-expanded=true]):not([on]) { color: var(--ink); }
/* disclosure: the same chevron, pointing right (closed) and turning down (aria-expanded on the real button); the button keeps no ground while open */
hy-button[disclosure]:not(#_) > button[aria-expanded=true] > .oi-cv { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { hy-button:is([select], [disclosure]):not(#_) > button > .oi-cv { transition: none; } }



/* The annotation pin, one primitive for the board, every Studio, a draft and a layer's row (owner 2026-10-10: «у аннотаций есть символ
   такой с уголком слева — нужно вместо круга именно такой круг с уголком внизу слева, и тогда будет очень нативно», and «так вот же у
   тебя уже так начало положено»: the board's pin since 2026-10-07). A bubble whose bottom left corner is sharp and stands exactly on the
   annotated spot (the element's left and top are that spot; it rises above and to the right of it), in the place's colour: --sel, the
   board's blue, a Studio's own inside it (Image purple, 3D pink, Dev green; ui/modes.js).
     .hy-apin           the count alone, filled with the place's colour, white digits (a Studio's pin)
     .hy-apin.face      its author's face and the replies counted, on the panel's ground (the board's pin, ui/comments.js .cmpin)
     .hy-apin.draft     a new one not sent: the ground with a ring in the place's colour
     .hy-apin .hy-apin-d  the dot of words typed and kept (P4 B-03, S-32)
     .hy-apin.s         compact, on a layer's row: no taller than the row's lock and eye (owner 2026-10-10: «очень крупные ... просто меньше
                        размер»), a quiet tint, its click target padded to 24 px */
.hy-apin { position: absolute; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--hy-sp-2); min-width: 24px; height: 24px;
  /* hy-allow: radius-literal a bubble with one sharp corner, round in both shapes */
  margin: 0; padding: 0 var(--hy-sp-8); border: 0; border-radius: 999px 999px 999px var(--hy-r-1); background: var(--hy-studio, var(--sel)); color: var(--hy-on-accent, #fff);
  box-shadow: 0 0 0 2px var(--panel), var(--hy-sh-ctl); font: 500 var(--hy-fs-11)/var(--hy-sp-12) var(--sans, system-ui); font-variant-numeric: tabular-nums; cursor: pointer;
  transform: translate(0, -100%); transform-origin: 0 100%; transition: box-shadow var(--hy-t-base) var(--hy-ease), opacity var(--hy-t-base) ease; pointer-events: auto; }
.hy-apin:hover, .hy-apin.on { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--hy-studio, var(--sel)), var(--hy-sh-ctl); }
.hy-apin.face { height: auto; min-width: 0; padding: var(--hy-sp-4); background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--hy-sh-ctl); --hy-av-ring: var(--panel); }
.hy-apin.face:hover, .hy-apin.face.on { box-shadow: 0 0 0 2px var(--hy-studio, var(--sel)), var(--hy-sh-ctl); }
.hy-apin.face.found { background: var(--hy-found); color: var(--hy-found-ink); --hy-av-ring: var(--hy-found); z-index: var(--hy-z-local-3);
  /* a comment the board's search (⌘F) found; .cur is the one it stands on */
  box-shadow: 0 0 0 1.5px var(--hy-found-ink), 0 0 0 4px color-mix(in srgb, var(--hy-found) 35%, transparent), var(--hy-sh-ctl); }
/* hy-allow: z-literal a stacking step above --hy-z-local-3 inside one part (local range, tokens stop at 3) */
.hy-apin.face.found.cur { background: var(--hy-found-cur); z-index: 4; --hy-av-ring: var(--hy-found-cur);
  box-shadow: 0 0 0 1.5px var(--hy-found-ink), 0 0 0 5px color-mix(in srgb, var(--hy-found-cur) 45%, transparent), var(--hy-sh-ctl); }
.hy-apin.face.found .cmp-n { color: var(--hy-found-ink); }
.hy-apin.draft { background: var(--panel); color: var(--hy-studio, var(--sel)); box-shadow: 0 0 0 2px var(--hy-studio, var(--sel)), var(--hy-sh-ctl); }
.hy-apin .hy-apin-d { position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--hy-studio, var(--sel));
  box-shadow: 0 0 0 1.5px var(--panel); pointer-events: none; }
/* hy-allow: radius-literal a bubble with one sharp corner, round in both shapes */
.hy-apin.s { position: relative; flex: none; min-width: 14px; height: 14px; padding: 0 var(--hy-sp-4); border-radius: 99px 99px 99px 2px; transform: none;
  background: color-mix(in srgb, var(--hy-studio, var(--sel)) 24%, transparent); color: var(--hy-studio, var(--sel)); box-shadow: none;
  font: 400 var(--hy-fs-10)/var(--hy-sp-12) var(--sans, system-ui); }
.hy-apin.s::after { content: ""; position: absolute; inset: -5px -5px; }   /* the click target: 24 px tall around 14 */
.hy-apin.s:hover { background: color-mix(in srgb, var(--hy-studio, var(--sel)) 40%, transparent); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .hy-apin { transition: none; } }
/* <hy-apin> (ui/hy/apin.js, 2026-11-02): its one real button lies over the whole pin, in its shape, and carries the name, the keys and the focus ring
   (ui/look.css); the face, the count and the dot beside it let the press through to it */
.hy-apin > button { all: unset; position: absolute; inset: 0; border-radius: inherit; cursor: pointer; }
.hy-apin > :not(button) { pointer-events: none; }

   /* <hy-apin>: the annotation pin (2026-11-02) */

/* <hy-plate> (or .hy-plate): a plate of the top row that has no look of its own (owner 2026-10-07: «breadcrumb area тоже разношерстная»):
   the crumb's glass, edge, shadow, corners and words; its long text ends in … inside the capsule's padding. A page places it and never
   restyles it (scripts/validate.py «row-plate»). kind=capsule holds buttons (the window buttons, the crumb's steps): 4 px in, the buttons
   inside are 30 px (size=l); place=row-left or row-right stands it in the top row (ui/look.css, the row's tokens). */
:is(.hy-plate, hy-plate) { box-sizing: border-box; height: var(--hy-plate-h); max-width: 360px; padding: 0 var(--hy-pad-l); border: 1px solid var(--line); border-radius: var(--hy-plate-r);
  background: var(--hy-glass-bg); -webkit-backdrop-filter: var(--hy-glass-blur); backdrop-filter: var(--hy-glass-blur); box-shadow: var(--hy-sh-row);
  color: var(--sub); font: 400 var(--hy-fs-13) var(--sans);
  line-height: round(nearest, calc(var(--hy-plate-h) - 2px), var(--hy-sp-4)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
hy-plate { display: inline-block; vertical-align: middle; }
/* Quiet mode (owner 2026-10-30, round 15 «Тихий режим», decision 12 A: «шикарно, идеально, делаем так!»; DESIGN.md «Тихий режим»): ui/quietmode.js
   marks a plate data-qk and sets its --k (0 awake, 1 quiet). The two numbers below are what a plate reads: --q-a how much ground, line and shadow
   it keeps, --q-c how much of its words and icons (down to --hy-quiet-level, 20 %). Its blur is not touched. A plate with no data-qk reads 1. */
[data-qk] { --q-a: calc(1 - var(--k, 0)); --q-c: calc(1 - var(--k, 0) * (1 - var(--hy-quiet-level, .2))); }
/* the part's own shadow="on|off" (ui/tokens.css) beats quiet mode; hush only flattens a plate that says auto or nothing */
[data-qk=hush]:not([shadow="on"], [shadow="off"], [data-shadow="on"], [data-shadow="off"]) {
  --hy-sh-row: none; --hy-sh-row-ctl: 0 0 #0000; --hy-sh-pop: 0 0 #0000; --plate-sh: none; }   /* a shadow cannot be scaled through a token: it steps off at k .5 */
:is(.hy-plate, hy-plate) { background: color-mix(in srgb, var(--hy-glass-bg) calc(var(--q-a, 1) * 100%), transparent);
  border-color: color-mix(in srgb, var(--line) calc(var(--q-a, 1) * 100%), transparent); }
:is(.hy-plate, hy-plate)[data-qk] { --hy-plate-ink: color-mix(in srgb, var(--sub) calc(var(--q-c, 1) * 100%), transparent); color: var(--hy-plate-ink); }
#crumb[data-qk] { background: color-mix(in srgb, var(--hy-glass-bg) calc(var(--q-a, 1) * 100%), transparent);   /* the top row's crumb is a plate of the row */
  border-color: color-mix(in srgb, var(--line) calc(var(--q-a, 1) * 100%), transparent); }
:is(.hy-plate, hy-plate, #crumb)[data-qk] > * { opacity: var(--q-c, 1); }
hy-plate[kind=capsule] { display: inline-flex; align-items: center; gap: var(--hy-sp-2); max-width: none; padding: 0 var(--hy-sp-4); overflow: visible; }
/* kind=key, or the classes «hy-plate hy-key» on a page's own <button>: a round key of the row that stands alone, one icon in its middle
   (the library's button, Home's copy of it while a board loads, Frame Studio's own row). A new lone key is <hy-icon-button size=l plate>;
   these are the ones other scripts and tests press by their id */
hy-plate[kind=key], .hy-plate.hy-key { display: grid; place-items: center; width: var(--hy-plate-h); max-width: none; padding: 0; overflow: visible; cursor: pointer; }
hy-plate[place] { position: fixed; z-index: var(--hy-z-chrome); top: var(--hy-row-top); }
hy-plate[place=row-left] { left: var(--hy-row-lead); }
hy-plate[place=row-right] { right: var(--hy-row-gut); }



/* <hy-mode>: the dock's plate at its right end, where the person is (ui/hy/mode.js; ui/modes.js writes it as #modebtn). The glyph of Board
   or of the open Studio, its name, a grey chevron (owner 2026-10-26 on r2-docks, c3767bdac7c: «что мне у этой кнопки нравится больше это
   серая стрелочка»); the words and the glyph wear the place's colour, --hy-mode-c (the Studio's, else the board's --sel), not the plate
   (owner 2026-10-13: «не саму кнопку, а именно текст, и то, что беленькое со стрелочкой»); as tall as the dock's keys, on the raised
   ground --mode-g. No tool word and no key on it (owner 2026-10-31, c3d0a0249f3: «нахрена тут Select V это нужно убрать»). compact: the
   name steps out when the dock has no room (ui/modes.js fit). The real <button> inside carries the aria and the keyboard; a page that
   wrote it before the module came keeps it (the element adopts a sole button child, as ui/hy/button.js does). Slice 2 of the dock round:
   moved here from ui/modes.js's css string, the rules as they were. */
:root { --mode-g: color-mix(in srgb, var(--ink) 6%, transparent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --mode-g: var(--raise); } }
:root[data-theme="dark"] { --mode-g: var(--raise); }
hy-mode { display: inline-flex; flex: none; width: auto !important; min-width: 0; height: var(--hy-h-l) !important; border-radius: var(--hy-row-r, 9px) !important;
  background: var(--mode-g) !important; color: var(--hy-mode-c, var(--sel)) !important; transition: background var(--hy-t-base) var(--hy-ease); }
/* the docks' rules for every button in a .bar (ui/board-chrome.css 23 and 34 with !important, ui/studio.css 71) reach the button inside: it says its own
   with !important and three :not(#_), as the dock key does (ui/hy/button.css dock) */
hy-mode:not(#_):not(#_):not(#_) > button { all: unset; box-sizing: border-box; display: inline-flex !important; align-items: center; gap: var(--hy-sp-8) !important; width: auto !important;
  height: 100% !important; padding: 0 var(--hy-pad-l) !important; border: 0 !important; border-radius: inherit !important; background: transparent !important;
  color: inherit !important; font: 400 var(--hy-fs-12-5) var(--sans) !important; white-space: nowrap; box-shadow: none !important; cursor: pointer;
  outline-offset: var(--hy-focus-off); }   /* the reset above would put the keyboard's ring outside; it sits inside as everywhere (ui/look.css) */
hy-mode:hover, hy-mode:has(> button[aria-expanded=true]) { background: color-mix(in srgb, var(--ink) 12%, var(--raise)) !important; }
hy-mode .mg { display: inline-flex; flex: none; }
hy-mode .mc { display: inline-flex; flex: none; color: var(--muted); }
/* the glyph 17, the chevron 12, whatever the look's rule for a bar's svg says (ui/studio.css 16) */
hy-mode:not(#_) .mg svg { display: block; width: 17px; height: 17px; }
hy-mode:not(#_) .mc svg { display: block; width: 12px; height: 12px; }
hy-mode[compact] .mn { display: none; }
hy-mode[compact]:not(#_):not(#_):not(#_) > button { padding: 0 var(--hy-sp-8) !important; gap: var(--hy-sp-6) !important; }
@media (prefers-reduced-motion: reduce) { hy-mode { transition: none; } }

   /* <hy-mode>: the dock's plate at its right end, where the person is (ui/modes.js #modebtn; slice 2, 2026-10-31) */

/* <hy-grip>: a column's edge to drag (ui/hy/grip.js). One grip for the Library (library.html #lgrip, dragged by ui/lib-modes.js) and for the
   board's left column, Pages and Agent (ui/sidetab.js, dragged there): 10 wide, a half-round, 12 in from the top and the bottom, lit under the
   pointer and while dragged ([active]); the Library's used to be 12 wide with a 6 px corner straddling its edge (owner 2026-10-31 on the shell
   round's cards: «hy-grip · rest» chosen; design round «Оболочка доски», r2). The tokens are the dock round's way: ui/tokens.css --hy-grip-*.
   It stands inside its column at the right edge; a place that cannot hold it inside (the Library's main scrolls) positions it itself and
   keeps the look (lib-float.css #lgrip). */
hy-grip { position: absolute; top: var(--hy-grip-in); bottom: var(--hy-grip-in); right: 0; z-index: var(--hy-z-local-3); display: block; width: var(--hy-grip-w);
  border-radius: var(--hy-grip-r); cursor: col-resize; outline: none; }
hy-grip:is(:hover, [active]) { background: var(--hy-grip-hov); }

   /* <hy-grip>: a column's edge to drag (the Library's, the board's left column's; 2026-11-01) */

/* <hy-bar>: the plate of the bar over a selection (ui/hy/bar.js; ui/board-handles.js draws it over the selection and scales it by the zoom
   through the class .tidy). --hy-bar-h high with --hy-bar-ctl controls (ui/tokens.css: 38 / 28 since rounds 2 and 3 of «shell, one look»,
   2026-10-27), the glass of the top row (--hy-bar-bg, --hy-bar-blur), a hairline edge, the controls' shadow; its corner --hy-bar-r follows
   the look as the dock's does (board-chrome.css). The buttons on it are hy-button / hy-icon-button at the controls' height with the bar's
   padding; a hairline .sep stands between two groups that have something (ui/selbar.js join; dock.js hides a doubled one) */
hy-bar { display: inline-flex; align-items: center; gap: var(--hy-sp-2); box-sizing: border-box; height: var(--hy-bar-h);
  /* hy-allow: spacing-literal measured against the page's own variable, off the scale */
  padding: 0 calc((var(--hy-bar-h) - var(--hy-bar-ctl)) / 2 - 1px); border: 1px solid var(--line); border-radius: var(--hy-bar-r); white-space: nowrap; color: var(--ink);
  background: var(--hy-bar-bg); -webkit-backdrop-filter: var(--hy-bar-blur); backdrop-filter: var(--hy-bar-blur); box-shadow: var(--hy-bar-sh); }
hy-bar :is(hy-button, hy-icon-button) { --hy-bh: var(--hy-bar-ctl); --hy-bpad: var(--hy-bar-pad); }
/* the hairline: a direct one is stretched to the bar by ui/dock.js 35, a nested one (textstyle.js .tfx) keeps 18 */
hy-bar .sep { flex: none; width: 1px; height: 18px; margin: 0 var(--hy-bar-sep-gap); background: var(--line); }
/* ♥: pink when every selected one is liked (owner 2026-10-01), the heart filled; no plate of the accent under it */
hy-bar hy-icon-button.fv[on] { background: transparent; color: var(--hy-heart); }
hy-bar hy-icon-button.fv[on] svg path { fill: currentColor; }
/* the opacity slider on the bar (ui/board-opacity.js opPlate): the app's slider, the number and % one size, the % grey (owner 2026-10-27,
   round 4 r4-toolbars «Opacity: число и % одним размером») */
hy-bar .op { display: inline-flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-bar-ctl); padding: 0 0 0 var(--hy-sp-4); color: var(--ink); font: 400 var(--hy-fs-12) var(--sans);
  cursor: default; }
hy-bar .op .hy-slider { width: 200px; --hy-sl-h: var(--hy-bar-ctl); }
hy-bar .op .hy-slider-v { font: 400 var(--hy-fs-12-5)/var(--hy-sp-12) var(--sans); font-variant-numeric: tabular-nums; } hy-bar .op .hy-slider-u { color: var(--muted); }
/* a raw <button> written by a builder not yet on the primitives (a note's bar, a timeline's, the frame ratio bar, ui/textstyle.js with its nested
   Auto, ui/cropformats.js, a plugin's editBar: 3D's .m3bplate, the bug report's): today's rules, for every button in the bar except a
   primitive's own inner one (button.css 17 sizes that). Slice 2 converts the writers */
hy-bar button:not(:is(hy-button, hy-icon-button, hy-open-in) > *) { display: inline-flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-bar-ctl);
  padding: 0 var(--hy-bar-pad); border: 0; border-radius: var(--hy-r-pill); background: transparent; color: var(--ink); font: 400 var(--hy-fs-12-5) var(--sans); cursor: pointer; }
hy-bar button:not(:is(hy-button, hy-icon-button, hy-open-in) > *):hover { background: var(--raise); }
/* an icon alone, its words in the tooltip (owner 2026-10-06) */
hy-bar button.ic:not(:is(hy-button, hy-icon-button, hy-open-in) > *) { width: var(--hy-bar-ctl); padding: 0; justify-content: center; }
hy-bar .sws { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: var(--hy-sp-6); padding: 0 var(--hy-sp-8) 0 var(--hy-sp-8); }
/* a note's colours: <hy-swatch> (ui/hy/swatch.css); an arrow's: <hy-swatches class="sws"> (ui/arrowbar.js) */
hy-bar.tsz .hx { padding: 0 var(--hy-bar-pad); font-weight: var(--hy-fw-500); color: var(--sub); }
hy-bar.tsz .hx.on { background: var(--ink); color: var(--panel); }
hy-bar.tsz .tsl { padding: 0 var(--hy-bar-pad) 0 var(--hy-sp-6); font: 400 var(--hy-fs-12) var(--sans); color: var(--muted); }

   /* <hy-bar>: the plate of the bar over a selection (2026-11-01) */

/* <hy-segmented>: one choice of a few, the app's one choice component (owner 2026-10-06: «why isn't this a switch like ours»). It is the
   .seg capsule of ui/look.css with the thumb ui/seg.js slides under the chosen option; the element takes the class seg when the script
   upgrades it, this file gives it its size before that and its variants. Options are <button value> children, 28 px (size=s 24);
   full stretches it to its row, each option an equal share; variant=tabs has tab roles and the look of a block header's tabs (block.css,
   round 12 «A · Line», owner 2026-10-09): no track, 24 px tabs, the chosen one on the plate of ink at 8 % the thumb slides as.
   One choice of a few has one look (owner 2026-10-27 on round 2's «Выбор одного из нескольких», c956d9ad902: «всё отлично нужно
   делать»; question 31 A): the grey track with the dark thumb that slides to the chosen option, in docks, bars, panels and Settings.
   variant=tint (no track, a blue tint) is gone; size=s is the panels' height. A tool (V, C, the pen) is not a choice of a few: it is a
   dock's round button filled with the place's colour when on. Settings keep their well (round 3, owner 2026-10-27 on r3-seg-studio,
   cffb566c1e5: «B определенно лучше выглядит!!! 100!!!»): variant=well below; the studios' blocks keep their own (micro, cafc2efd741). */
/* the capsule and its thumb on this element itself, so a page that links only hy.css (a design file, a board card) draws it whole; the same
   values as the raw .seg of ui/look.css, which pages of the app's own also link (owner 11-07: the example design page's still showed the thumb
   as an empty pill under the options, look.css was not there) */
hy-segmented.seg { position: relative; padding: var(--hy-seg-pad); border-radius: var(--hy-r-pill); background: var(--hy-seg-track); isolation: isolate; }
hy-segmented.seg > .st { position: absolute; left: 0; top: 0; z-index: 0; width: 0; height: 0; border-radius: var(--hy-r-pill); background: var(--panel);
  pointer-events: none;
  box-shadow: var(--hy-seg-thumb-sh);
  transition: transform var(--hy-t-slow) var(--hy-ease-out), width var(--hy-t-slow) var(--hy-ease-out), height var(--hy-t-slow) var(--hy-ease-out), opacity var(--hy-t-base) var(--hy-ease-out); }
hy-segmented.seg > .st.now { transition: none; }
hy-segmented.seg > button { position: relative; z-index: var(--hy-z-local); border: 0; background: transparent; border-radius: var(--hy-r-pill); color: var(--sub); cursor: pointer;
  transition: color var(--hy-t-base) var(--hy-ease-out); }
hy-segmented.seg > button:hover { color: var(--ink); }
hy-segmented.seg.has-st > button[aria-pressed=true], hy-segmented.seg.has-st > button.on {
  background: transparent !important; box-shadow: none !important; color: var(--ink); }
hy-segmented.seg > button:focus, hy-segmented.seg > button:focus-visible { outline: none; }
/* hy-allow: duration-literal a quick fade, shorter than --hy-t-fast (token gap: a .1 s step) */
@media (prefers-reduced-motion: reduce) { hy-segmented.seg > .st { transition: opacity .1s; } }
hy-segmented { --hy-so: var(--hy-h-opt); --hy-sp: var(--hy-pad-opt); display: inline-flex; align-items: center; gap: var(--hy-sp-2); box-sizing: border-box; vertical-align: middle; }
hy-segmented:not(.seg) { padding: var(--hy-seg-pad); border-radius: var(--hy-seg-r); background: var(--hy-seg-track, var(--raise)); }
/* the corners from the tokens, so a part of a page in the other shape (data-hy-shape) gets its own: the track, its thumb, its options */
hy-segmented.seg { border-radius: var(--hy-seg-r); }
hy-segmented.seg > .st { border-radius: max(0px, calc(var(--hy-seg-r) - var(--hy-seg-pad))); }
hy-segmented[size=s] { --hy-so: var(--hy-h-s); --hy-sp: var(--hy-pad-s); }
hy-segmented[full] { display: flex; width: 100%; }
:is(hy-segmented, hy-segmented.seg) > button { display: inline-flex; align-items: center; justify-content: center; gap: var(--hy-sp-6); box-sizing: border-box; height: var(--hy-so);
  min-width: var(--hy-so);
  padding: 0 var(--hy-sp); border: 0; border-radius: max(0px, calc(var(--hy-seg-r) - var(--hy-seg-pad))); background: transparent; color: var(--sub);
  font: 400 var(--hy-fs-12)/1 var(--sans); white-space: nowrap; cursor: pointer; }
hy-segmented > button:has(> svg:only-child) { padding: 0; }
:is(hy-segmented[full], hy-segmented[full].seg) > button { flex: 1 1 0; min-width: 0; }
hy-segmented > button:disabled { opacity: var(--hy-dis-op); cursor: default; }
hy-segmented > button > svg { flex: none; display: block; }
hy-segmented:not(.has-st) > button.on { background: var(--panel); color: var(--ink); }
/* the track's room (round 4, 2026-10-27, r4-track B and c72aec8ccab, ui/tokens.css --hy-seg-out): the grey reaches 1 px past the track's box
   on every side (a ring of its own colour), so the black around it is 1 px less, and the options grow by those 2 px; the box keeps its size,
   nothing beside it moves. The thumb is 2 px taller and sits the same 3 px from the track's edge above, below and at either end, so where it
   meets a round end no dark gap opens. A place whose track lies on a ground of its own sets --hy-seg-out: 0px */
hy-segmented:not([variant]) { padding: calc(var(--hy-seg-pad) - var(--hy-seg-out)); box-shadow: 0 0 0 var(--hy-seg-out) var(--hy-seg-track); }
hy-segmented:not([variant]) > button { height: calc(var(--hy-so) + 2 * var(--hy-seg-out)); }
/* variant=well (owner 2026-10-08, round 11 of Settings; back 2026-10-27, round 3, cffb566c1e5): a dark well, the chosen option on a light
   plate (--hy-well, --hy-thumb, ui/tokens.css); 24 px options (the contract's smallest target) in a 28 px well, 8 px corners in both
   shapes, its words a touch smaller. Settings' rows are square, the well and the switch's well beside it are one family there */
hy-segmented[variant=well] { --hy-so: var(--hy-h-s); --hy-sp: var(--hy-pad-s); --hy-seg-pad: 2px; }
hy-segmented[variant=well], hy-segmented[variant=well].seg { border-radius: var(--hy-well-r); background: var(--hy-well); }
hy-segmented[variant=well].seg > .st { border-radius: var(--hy-well-in-r); background: var(--hy-thumb); box-shadow: var(--hy-thumb-sh); }
:is(hy-segmented[variant=well], hy-segmented[variant=well].seg) > button { border-radius: var(--hy-well-in-r); font-size: var(--hy-fs-11-5); transition: color var(--hy-t-base) ease; }
hy-segmented[variant=well] > button.on, hy-segmented[variant=well] > button:hover { color: var(--ink); }
hy-segmented[variant=well]:not(.has-st) > button.on { background: var(--hy-thumb); }
/* variant=tabs: a block header's tabs (ui/hy/block.css .hy-bh-tab, round 12 «A · Line»): no track, quiet words, the chosen one on the
   plate of ink at 8 % (the thumb), 7 px corners in both shapes; an icon before the words takes 14 px */
hy-segmented[variant=tabs] { --hy-so: var(--hy-h-s); --hy-sp: var(--hy-pill-min); --hy-seg-pad: 0px; gap: var(--hy-sp-2); }   /* 7 px corners: the floor, not a capsule's half height */
hy-segmented[variant=tabs], hy-segmented[variant=tabs].seg { padding: 0; border-radius: var(--hy-tab-r); background: transparent; }
hy-segmented[variant=tabs].seg > .st { background: var(--hy-tab-on); box-shadow: none; }
:root[data-shape] hy-segmented[variant=tabs] > :is(.st, button) { border-radius: var(--hy-tab-r) !important; }   /* look.css squares a .seg's to 8 in «pro» */
:is(hy-segmented[variant=tabs], hy-segmented[variant=tabs].seg) > button { gap: var(--hy-sp-6); border-radius: var(--hy-tab-r); color: var(--muted);
  font: 400 var(--hy-fs-12-5) var(--sans); transition: color var(--hy-t-base) ease; }
hy-segmented[variant=tabs] > button > svg { width: 14px; height: 14px; }
hy-segmented[variant=tabs] > button:hover, hy-segmented[variant=tabs] > button.on { color: var(--ink); }
hy-segmented[variant=tabs]:not(.has-st) > button.on { background: var(--hy-tab-on); }
/* a tab's count, as .hy-bh-tab em (the ⌘F hits on the left column's Pages tab) */
hy-segmented[variant=tabs] > button > em { font: 400 var(--hy-fs-11-5) var(--sans); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
/* variant=micro (owner 2026-10-09, round 15 «Micro UI», control 3, r15-micro.html: «Все топ, все делай»): 2 to 4 options in a 22 px well,
   2 px of it around 18 px options, words 500 10.5 px, an icon option 26 px wide with a 12 px icon; the chosen one on the value's plate
   (--hy-val-on, --hy-val-ink: the grey --hy-thumb and ink by default, a Studio's own colour where the Studio sets them, as the 3 × 3 grid's chosen
   cell; round 10 Q2's default, «each Studio keeps its own colour»), the rest muted. Under the contract's 24 px target on purpose: the owner approved
   the micro sizes at 1:1 (design/contract.json target_exempt) */
hy-segmented[variant=micro] { --hy-so: 18px; --hy-seg-pad: 2px; gap: 0; }
hy-segmented[variant=micro], hy-segmented[variant=micro].seg { padding: var(--hy-sp-2); border-radius: var(--hy-r-2); background: var(--hy-well); }
hy-segmented[variant=micro].seg > .st { background: var(--hy-val-on); box-shadow: var(--hy-thumb-sh); }
:root[data-shape] hy-segmented[variant=micro] { border-radius: var(--hy-r-2) !important; }
:root[data-shape] hy-segmented[variant=micro] > :is(.st, button) { border-radius: var(--hy-r-1) !important; }
:is(hy-segmented[variant=micro], hy-segmented[variant=micro].seg) > button { min-width: 22px; padding: 0 var(--hy-sp-8); color: var(--muted); font: 400 var(--hy-fs-10-5)/var(--hy-sp-12) var(--sans);
  transition: color var(--hy-t-fast) ease; }
hy-segmented[variant=micro] > button:has(> svg:only-child) { width: 26px; min-width: 0; padding: 0; }
hy-segmented[variant=micro] > button > svg { width: 12px; height: 12px; }
hy-segmented[variant=micro] > button:hover { color: var(--ink); }
hy-segmented[variant=micro] > button.on { color: var(--hy-val-ink); }
hy-segmented[variant=micro]:not(.has-st) > button.on { background: var(--hy-val-on); }
/* variant=pill (owner 2026-10-10 on the bell: «Почему ты не можешь сделать нотификации точно так же, как здесь?», «здесь» the «?» panel's
   «Tips | All keys 60»): a side panel header's tabs, round 15's drawing (r15-tips.html): a dark pill with 3 px around 30 px tabs, words
   500 13.5 px, a count in <em> after them, the chosen one on the panel's colour with a hairline. One look for the «?» panel and the bell */
hy-segmented[variant=pill] { --hy-so: var(--hy-h-m); --hy-sp: var(--hy-pad-m); --hy-seg-pad: 3px; gap: 0; }
/* hy-allow: radius-literal the pill variant is a capsule in both shapes */
hy-segmented[variant=pill], hy-segmented[variant=pill].seg { padding: var(--hy-sp-4); border-radius: 999px; background: color-mix(in srgb, var(--ink) 6%, var(--panel)); }
/* hy-allow: radius-literal the pill variant is a capsule in both shapes */
hy-segmented[variant=pill].seg > .st { border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, var(--panel)); }
/* hy-allow: radius-literal the pill variant is a capsule in both shapes */
:root[data-shape] hy-segmented[variant=pill] > :is(.st, button) { border-radius: 999px !important; }
/* the track too: look.css gave a .seg the pro corner while its thumb stayed a pill (design audit 'inset', concentric) */
/* hy-allow: radius-literal the pill variant is a capsule in every shape */
:root[data-shape] hy-segmented[variant=pill].seg { border-radius: 999px !important; }
/* hy-allow: radius-literal the pill variant is a capsule in both shapes */
:is(hy-segmented[variant=pill], hy-segmented[variant=pill].seg) > button { gap: var(--hy-sp-6); border-radius: 999px; color: var(--sub); font: 400 var(--hy-fs-13-5) var(--sans);
  transition: background-color var(--hy-t-base) ease, color var(--hy-t-base) ease; }
hy-segmented[variant=pill] > button:hover, hy-segmented[variant=pill] > button.on { color: var(--ink); }
hy-segmented[variant=pill]:not(.has-st) > button.on { background: var(--panel); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 12%, var(--panel)); }
hy-segmented[variant=pill] > button > em { font: 400 var(--hy-fs-11-5) var(--sans); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }



/* A block, its header, its sections and the controls in it: round 12 «A · Line», the one look of every panel beside the work (owner
   2026-10-09 on «Figma · раунд 12», r12/image-headers.html: «А сейчас пока реализуй уже A Line версию на весь интерфейс»; on
   r12/image-effects.html and image-raw.html: «реализуй этот дизайн»). docs/glossary.md: a Block is a panel beside your work, its Tabs sit in
   its header, a Section is part of one tool inside it. The board's panels (History, Notifications, the library's path bar, Info's
   sections), Home's sidebar and the three Studios take these classes; a page keeps only where its block stands and what is its own.

   .hy-blk        a block: a step lighter than the paper (--hy-blk), a hairline (--hy-pline), 14 px corners; inside it every control is a
                  dark well without a border (r4-board/b3), 24 px with 6 px corners in both shapes (r8/scale)
   .hy-bh         its header, 34 px, words 12.5 / 500
   .hy-bh-tab     a tab in it (or the block's one title): 24 px, a 14 px icon, words; the chosen one (.on, aria-selected) on a plate of
                  ink at 8 %, the others quiet. <hy-segmented variant=tabs> wears the same (segmented.css)
   .hy-bh-n       a tab's count, small and quiet        .hy-bh-sp  the room before the header's buttons
   .hy-bh-l       the words of a tab: when the tabs do not fit the unchosen ones keep their icon only, a tooltip says the words (bhfit.js)
   .hy-bh-btn     a header's button: 24 px, a 14 px icon, quiet until pointed at; a toggle that is on (.on, aria-pressed) lies on the plate of the chosen tab
   .hy-sec        a section; Line: a hairline between two (.hy-sec + .hy-sec)
   .hy-sh         a section's head, 28 px, its name 12.5 / 400 in --muted (r12 sheet 7, owner 2026-11-18: muted words and heads), never capitals;
                  .hy-sh-cv its chevron's 16 px box, .hy-sh-n its count at the right end, .hy-sh-act a 20 px button on it; the reset dot
                  (.hy-rdot, ui/hy/prow.css) after the name, the eye (<hy-icon-button icon=eye>) at the right end turns the section off
   .hy-div        a hairline across the plate between two parts of a panel, --hy-sec-gap (10 px) above and below it, --hy-div-bleed to the plate's edge
   .hy-sub        a label inside a section (White balance, Location): 10 px capitals, the only capitals left
   .hy-well       a field, a select, a number made by a page: the well
   .hy-wbtn       a button lying on the block (not a well): a hair lighter than it
   The room between things (r11/image-spacing): rows 2 (--hy-gap-row), controls 4, sections 6, blocks 8. The tokens: ui/tokens.css. */

/* ---------- the block ---------- */
.hy-blk { --hy-row-r: var(--hy-ctl-r); --hy-btn-r: var(--hy-ctl-r);
  box-sizing: border-box; display: flex; flex-direction: column; min-height: 0; border: 1px solid var(--hy-pline); border-radius: var(--hy-blk-r);
  background: var(--hy-blk); color: var(--ink); }

/* ---------- the header and its tabs ---------- */
.hy-bh { box-sizing: border-box; display: flex; align-items: center; gap: var(--hy-sp-2); height: var(--hy-bh-h); flex: none; padding: 0 var(--hy-sp-6) 0 var(--hy-sp-8); min-width: 0;
  color: var(--sub); font: 400 var(--hy-fs-12-5) var(--sans); user-select: none; -webkit-user-select: none; }
.hy-bh-tab { box-sizing: border-box; display: inline-flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-h-s); min-width: 0; flex: none; padding: 0 var(--hy-pill-min);
  border: 0; border-radius: var(--hy-tab-r); background: transparent; color: var(--muted); font: 400 var(--hy-fs-12-5) var(--sans); letter-spacing: 0; text-transform: none;
  white-space: nowrap; cursor: pointer; transition: background-color var(--hy-t-base) ease, color var(--hy-t-base) ease; }
.hy-bh-tab > svg, .hy-bh-tab .hy-bh-i > svg { width: 14px; height: 14px; flex: none; display: block; }
.hy-bh-tab:hover { color: var(--ink); }
.hy-bh-tab:is(.on, [aria-selected="true"]) { background: var(--hy-tab-on); color: var(--ink); }
.hy-bh-tab.hy-bh-title { cursor: default; }   /* a block's one title: the chosen tab of a block that has one */
.hy-bh-n, .hy-bh-tab em { font: 400 var(--hy-fs-11-5) var(--sans); font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.hy-bh-sp { flex: 1 1 auto; min-width: 0; }
/* tabs that do not fit (owner 2026-10-12, audit A-06, A-07: 3D Studio's Annotations ended 14 px past its panel, three Studios drew their tabs three
   ways): the words of a tab sit in .hy-bh-l; ui/hy/bhfit.js adds .tight to the header when the tabs run out of room, and then only the chosen tab
   keeps its words, the others are their icon with the words as a tooltip. A header whose tabs fit is untouched */
.hy-bh-l { display: inline-block; max-width: 160px; overflow: hidden; white-space: nowrap; transition: max-width var(--hy-t-slow) var(--ease, ease), opacity var(--hy-t-base) ease; }
.hy-bh.tight { overflow: hidden; }
.hy-bh.tight .hy-bh-tab:not(.on, [aria-selected="true"], .hy-bh-title) { gap: 0; padding: 0 var(--hy-sp-8); }
.hy-bh.tight .hy-bh-tab:not(.on, [aria-selected="true"], .hy-bh-title) .hy-bh-l { max-width: 0; opacity: 0; }
.hy-bh.meas .hy-bh-l, .hy-side-hd.meas .hy-bh-l { transition: none !important; }
/* the same in a side panel's header (the left column's tabs, owner 2026-11-15): <hy-segmented variant=tabs> tabs, bhfit.js sets .tight on .hy-side-hd */
/* [data-bare]: the chosen tab too, when even its clipped words are gone */
.hy-side-hd.tight > hy-segmented[variant=tabs] > button:is(:not(.on, [aria-selected="true"]), [data-bare]) { gap: 0; padding-inline: var(--hy-sp-6); }
.hy-side-hd.tight > hy-segmented[variant=tabs] > button:not(.on, [aria-selected="true"]) .hy-bh-l { max-width: 0; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .hy-bh-l { transition: none; } }
.hy-bh-btn { box-sizing: border-box; display: grid; place-items: center; width: var(--hy-h-s); height: var(--hy-h-s); flex: none; padding: 0; border: 0;
  border-radius: var(--hy-ctl-r); background: transparent; color: var(--muted); cursor: pointer; transition: background-color var(--hy-t-base) ease, color var(--hy-t-base) ease; }
.hy-bh-btn:hover, .hy-bh-btn[aria-expanded="true"] { background: var(--hy-hov); color: var(--ink); }
.hy-bh-btn:is(.on, [aria-pressed="true"]) { background: var(--hy-tab-on); color: var(--ink); }   /* a header's toggle that is on: the plate of the chosen tab (round 29, the group's full height) */
.hy-bh-btn > svg { width: 14px; height: 14px; display: block; }

/* ---------- sections: Line, a hairline between two ---------- */
.hy-sec + .hy-sec { border-top: 1px solid var(--hy-pline); }
.hy-sh { box-sizing: border-box; display: flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-sec-h); flex: none;
  padding: 0 var(--hy-sp-6) 0 var(--hy-sp-4); border-radius: var(--hy-r-3);
  color: var(--muted); font: 400 var(--hy-fs-12-5) var(--sans); letter-spacing: 0; text-transform: none; white-space: nowrap; }
/* the eye at the right end (after the count, when there is one): the first trailing control takes the room, the ones after it stand beside it */
.hy-sh > hy-icon-button { flex: none; }
.hy-sh > :is(.hy-sh-n, hy-icon-button):not(:is(.hy-sh-n, hy-icon-button) ~ *) { margin-left: auto; }
/* a hairline across the plate, as far from what is above it as from what is below (r12 sheet 2) */
.hy-div { flex: none; height: 1px; margin: var(--hy-sec-gap) calc(-1 * var(--hy-div-bleed)); border: 0; background: var(--hy-pline); }
.hy-sh-cv { display: grid; place-items: center; width: 16px; height: 16px; flex: none; color: var(--muted); }
.hy-sh-cv > svg { width: 11px; height: 11px; transition: rotate var(--hy-t-base) var(--hy-ease); }
/* a head that folds (ui/hy/prow.js hyProw.head): a button, its chevron turned down while open; the name cut with an ellipsis before the value and the eye */
.hy-sh[role=button] { cursor: pointer; transition: color var(--hy-t-base) ease; }
.hy-sh[role=button]:hover { color: var(--ink); }
.hy-sh[aria-expanded=true] > .hy-sh-cv > svg { rotate: 90deg; }
.hy-sh-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (prefers-reduced-motion: reduce) { .hy-sh-cv > svg { transition: none; } }
.hy-sh-n { margin-left: auto; color: var(--muted); font: 400 var(--hy-fs-11) var(--sans); letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; }
.hy-sh-act { display: grid; place-items: center; width: 20px; height: 20px; flex: none; padding: 0; border: 0; border-radius: var(--hy-r-2); background: none; color: var(--muted); cursor: pointer; }
.hy-sh-act:hover { background: var(--hy-hov); color: var(--ink); }
.hy-sub { margin: var(--hy-sp-8) 0 var(--hy-sp-2); font: var(--hy-cap); letter-spacing: var(--hy-cap-ls); text-transform: uppercase; color: var(--hy-cap-ink); }

/* ---------- the controls inside a block: dark wells, 24 px, 6 px corners (r11.css «controls inside panels») ---------- */
.hy-blk .hy-slider:not(.sm) { --hy-sl-h: var(--hy-ctl-h); --hy-sl-r: var(--hy-ctl-r); --hy-sl-bg: var(--hy-well); --hy-sl-accent: var(--hy-acc);
  --hy-sl-fill: var(--hy-val); --hy-sl-line: var(--ink); font-size: var(--hy-fs-12); }
.hy-blk .hy-slider:not(.sm):hover { background: var(--hy-well-hov); }
.hy-blk .hy-slider:not(.sm).drag { --hy-sl-fill: var(--hy-val-drag); }
.hy-blk .hy-slider .hy-slider-l, .hy-blk .hy-slider .hy-slider-v { z-index: var(--hy-z-local); }   /* the words over the fill, which slider.js may append after them */
.hy-blk .hy-slider .hy-slider-l { left: 9px; color: var(--sub); }
.hy-blk .hy-slider .hy-slider-v { right: 9px; font-size: var(--hy-fs-11-5); }
.hy-blk .hy-slider .hy-slider-ed { right: 8px; }
.hy-well { box-sizing: border-box; height: var(--hy-ctl-h); border: 0; border-radius: var(--hy-row-r); background: var(--hy-well); box-shadow: none; color: var(--ink);
  font: 400 var(--hy-fs-12) var(--sans); transition: background-color var(--hy-t-base) ease; }
.hy-well:hover { background: var(--hy-well-hov); }
.hy-wbtn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: var(--hy-sp-6); height: var(--hy-ctl-h); padding: 0 var(--hy-sp-8);
  border: 0; border-radius: var(--hy-ctl-r); background: var(--hy-wbtn); box-shadow: none; color: var(--ink); font: 400 var(--hy-fs-12) var(--sans); white-space: nowrap; cursor: pointer; }
.hy-wbtn:hover { background: var(--hy-wbtn-hov); }
.hy-wbtn > svg { color: var(--sub); }

   /* a block, its header and tabs, its sections and its wells: round 12 «A · Line» (owner 2026-10-09) */

/* <hy-keyhint>: the keys of what the person is doing now (owner 2026-10-08: «подсказка внизу справа ... полупрозрачная: Shift+Enter —
   готово»). Written bare on the thing being done where it has a surface (a note, a field), a small glass capsule of caps and words where it
   has none (a drag, a resize, the Hint bar); never in the way: no pointer events, fixed over the page, placed by ui/hy/keyhint.js. The
   capsule reads on any picture and on both papers: the panel's ground at two thirds with a blur under it, the words in the quiet colour.
   An item used a few times is quieter, then gone (the learning). */
/* z 50: the contract's overlay layer, over the board and its chrome, under menus and dialogs; an anchor inside a menu, a dialog or the
   settings window lifts its hint just over that layer (lift() in keyhint.js) */
hy-keyhint { --kh-pad: max(var(--hy-pill-min), calc(23px * var(--hy-pill-ratio)));
  position: fixed; left: 0; top: 0; z-index: var(--hy-z-overlay); display: flex; align-items: center; gap: var(--hy-sp-8); box-sizing: border-box; height: 23px;
  padding: 0 var(--kh-pad); border-radius: var(--hy-row-r, 999px); pointer-events: none; user-select: none; white-space: nowrap;
  font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); letter-spacing: .01em; color: var(--sub);
  background: color-mix(in srgb, var(--panel) 66%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--line) 80%, transparent);
  opacity: 0; scale: .96; transition: opacity var(--hy-t-base) var(--hy-ease), scale var(--hy-t-slow) var(--hy-ease); }
hy-keyhint[shown] { opacity: .9; scale: 1; }
hy-keyhint .kh-i { display: inline-flex; align-items: center; gap: var(--hy-sp-4); transition: opacity var(--hy-t-base) ease; }
hy-keyhint .kh-i[quiet] { opacity: .5; }
/* hy-allow: spacing-literal a hairline nudge below the 2 px step */
hy-keyhint .kh-or { color: var(--muted); font-weight: var(--hy-fw-400); margin: 0 -1px; }
/* bare: written on the thing itself, a note or a field (owner 2026-10-09: «просто Enter символа достаточно, даже без подложки»): its ink,
   quieter; the keys are glyphs in that ink, no cap plate, no glass, no border */
hy-keyhint[bare] { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; padding: 0; gap: var(--hy-sp-8); }
hy-keyhint[bare][shown] { opacity: .55; }
hy-keyhint[bare] .kh-t { color: inherit; }
hy-keyhint[bare] hy-kbd { min-width: 0; height: auto; padding: 0; border: 0; background: none; box-shadow: none; color: inherit; font: 400 var(--hy-fs-12)/1 var(--sans); }
/* the words reached a field's hint (yield), or a toast stands where the Hint bar does (hush): it steps back until there is room again */
hy-keyhint[shown]:is([yield], [hush]) { opacity: 0; }
/* the Hint bar (place "top"): the keys of a Studio or a tool just opened, top centre on the line under the top row; a hair between items */
hy-keyhint[place=top] { --kh-pad: max(var(--hy-pill-min), calc(26px * var(--hy-pill-ratio))); top: var(--hy-row-under, 58px); height: 26px; gap: var(--hy-sp-8); }
hy-keyhint[place=top] .kh-i + .kh-i::before { content: ""; width: 1px; height: 12px; margin-right: var(--hy-sp-4); background: var(--line); }
/* hy-allow: duration-literal a quick fade, shorter than --hy-t-fast (token gap: a .1 s step) */
@media (prefers-reduced-motion: reduce) { hy-keyhint { transition: opacity .1s ease; scale: 1; } }

   /* <hy-keyhint>: the keys of what the person is doing now (owner 2026-10-08) */

/* One way to reorder a list by dragging (round 9 of «shell, one look», r9-dnd 83 A, owner 2026-10-27 «А, А - Беру»): the row in the hand
   lifts (the raised ground and the pop shadow) and follows the pointer, the others glide aside to make room, no line. ui/hy/sort.js puts
   .hy-sorting on the list and .hy-lift on the row; Pages, the left column's Pages tab, Frame Studio's Layers and its filter blocks use it. */
.hy-sorting > :not(.hy-lift) { transition: transform var(--hy-t-base) var(--hy-ease, cubic-bezier(.32,.72,0,1)); }
.hy-lift.hy-lift { position: relative; z-index: var(--hy-z-local-2); background: var(--raise); color: var(--ink); box-shadow: var(--hy-sh-pop); cursor: grabbing; transition: none; }
@media (prefers-reduced-motion: reduce) { .hy-sorting > :not(.hy-lift) { transition: none; } }

   /* a list reordered by dragging: the row lifts, the others part (round 9, r9-dnd 83 A), ui/hy/sort.js */

/* The app's row list, one for every Studio (ui/hy/rows.js; owner 2026-11-03: Dev's element tree, 3D's outliner and Frame Studio's layers were three copies of it).
   Read from tokens only: the row is --hy-trow-h tall with --hy-trow-r corners, the hover is the block's step (--hy-blk-hov), the picked row is the app's selected row
   (--hy-trow-on and its line --hy-trow-ring, in a Studio the Studio's colour), the guides are --line, the chevron turns with the app's curve, and two rows never touch:
   --hy-gap-row between what they paint (a clear border half of it, the background clipped inside; the rule look.css gives menus and the other lists, tests/test_design_rowgap.py).
   The state fills set background-color, never the background shorthand: that resets background-clip and the fill would cover the gap again (look.css's .hy-hovrow:focus-visible
   uses the shorthand, so the clip is important here, as in the shared gap rule). A plugin sets only what is its own (a name's font, the colours of its label's parts) and never
   restates the row's size, gap, hover or pick. */
.hy-rows { --rw-step: 12px; --rw-line: 7px; --rw-clip: 10px;   /* the guides' geometry (a level's step, where the line stands) and a clipped row's step: local, no token */
  flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; outline: 0; }
.hy-row { position: relative; display: flex; align-items: center; box-sizing: border-box; height: var(--hy-rw-h, var(--hy-trow-h)); padding: 0 var(--hy-gap-sec) 0 var(--hy-gap-row);
  border-block: calc(var(--hy-gap-row) / 2) solid transparent; background-clip: padding-box !important; border-radius: var(--hy-trow-r);
  color: var(--sub); font: 400 var(--hy-fs-12)/1 var(--sans); white-space: nowrap; user-select: none; cursor: default; outline: 0; }
.hy-row:is(:hover, .hov, .hc-row) { background-color: var(--hy-hov); color: var(--ink); }   /* the dock's hover; .hc-row: a question beside it */
.hy-row.sel { color: var(--ink); background-color: var(--hy-trow-on); box-shadow: var(--hy-trow-ring); }
.hy-row:is(:hover, .hov, .hc-row, .sel):not(.hy-rt) > .hy-row-ic { color: var(--ink); }   /* the icon lights with its words (owner 2026-11-12) */
.hy-row:focus-visible { box-shadow: var(--hy-trow-ring); }
.hy-row.soft:not(.sel) { background-color: var(--hy-trow-soft); }   /* holds the pick: the picked thing is under it (3D: a part of this model) */
.hy-row:is(.hid, .dim) > :is(.nm, .hy-row-ic, .hy-row-lead) { opacity: var(--hy-rw-hid, .45); }   /* hidden, or dimmed: one strength a list can set (--hy-rw-hid) ... */
.hy-row.dim:not(.hid) > :is(.nm, .hy-row-ic, .hy-row-lead) { opacity: var(--hy-rw-dim, var(--hy-rw-hid, .45)); }   /* ... and a dimmed one that is not hidden itself (hidden by its folder) its own */
.hy-row .hy-row-end .inh, .hy-row:hover .hy-row-end .inh { opacity: var(--hy-rw-inh, .42); }   /* a folder's eye or lock shown on the row: faint beside the row's own */
.hy-row.into { box-shadow: inset 0 0 0 1.5px var(--hy-sel); }   /* a drag drops into this folder (rows-drag.js) */
.hy-row.hy-lift { pointer-events: none; }   /* the rows in the hand never stand between the pointer and what it drops on (dragOver reads elementFromPoint) */
.hy-row.hy-rt > :is(.nm, .hy-row-ic) { color: var(--hy-rt); }   /* the row's colour on its name and icon (item.tint) */
.hy-row.act > .nm { color: var(--ink); font-weight: var(--hy-fw-400); } .hy-row.act:not(.hy-rt) > .hy-row-ic { color: var(--ink); }   /* the active one (3D: the card's camera) */
.hy-row-g { flex: none; position: relative; width: var(--rw-step); height: var(--hy-rw-h, var(--hy-trow-h)); }
.hy-row-cl { flex: none; width: var(--rw-clip); }   /* item.clip: the row one step in */
.hy-row-g::before { content: ""; position: absolute; left: var(--rw-line); top: calc(var(--hy-gap-row) / -2); bottom: calc(var(--hy-gap-row) / -2); border-left: 1px solid var(--line); }
.hy-row-g.end::before { bottom: 0; }   /* the last row under its branch: the guide stops at its edge, not in the gap below */
.hy-row-g.hy-rgc::before { border-left-color: color-mix(in srgb, var(--hy-rg) 70%, transparent); }   /* the branch's colour (item.branch of the row above) */
.hy-row > .chev { flex: none; display: grid; place-items: center; width: var(--hy-ctl-h); height: var(--hy-ctl-h); color: var(--muted);
  margin: calc(var(--hy-gap-ctl) * -1) 0 calc(var(--hy-gap-ctl) * -1) calc(var(--hy-gap-ctl) * -1); }   /* 16 in the row, 24 to the pointer */
.hy-row > .chev .hy-chev { transition: transform var(--hy-t-slow) var(--hy-ease); }   /* the glyph's size is .hy-chev's (look.css) */
.hy-row:not(.closed) > .chev .hy-chev { transform: rotate(90deg); }
.hy-row-ic { flex: none; display: grid; place-items: center; margin-right: var(--hy-gap-blk); color: var(--sub); }   /* the glyph is drawn at its size (hyIcon) */
.hy-row-lead { flex: none; display: flex; align-items: center; gap: var(--hy-gap-ctl); min-width: var(--hy-rw-lead, 0); margin-right: var(--hy-gap-blk); }   /* item.lead */
.hy-row > .nm { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* the caller's: counts, marks, the buttons shown on hover */
.hy-row-end { flex: none; display: flex; align-items: center; gap: var(--hy-gap-row); margin-left: auto; padding-left: var(--hy-gap-sec); }
.hy-row.editing, .hy-row.editing > .nm { overflow: visible; }
.hy-row.editing > .nm { flex: 1 1 auto; }
.hy-row-in { box-sizing: border-box; height: var(--hy-ctl-h); min-width: 4ch; max-width: 100%; padding: 0 var(--hy-gap-sec); border-radius: var(--hy-ctl-r); color: var(--ink); font: inherit;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hy-sel) 65%, transparent); }
.hy-row-in:not([style*="width"]) { width: 100%; }
/* a fold that glides (glide: true, rows-guides.js): the rows under the folder in a wrapper that changes its height along the app's curve */
.hy-rows-kids { overflow: hidden; transition: height var(--hy-t-slow) var(--hy-ease); }
.hy-rows-kids.out { pointer-events: none; }
.hy-rows-none { padding: var(--hy-row-gut) var(--hy-gap-blk); color: var(--muted); font-size: var(--hy-fs-12); }
@media (prefers-reduced-motion: reduce) { .hy-row > .chev .hy-chev, .hy-rows-kids { transition: none; } }
/* One row look for the side lists, first behind the Debug switch «Grid contract (preview)» (ui/gridpreview.js puts .hy-grid on the root; owner
   2026-11-19, audit question 16: «С предложением согласен, но прочитай комментарии, я прокомментировал, что оставить, а что поменять»): a list row
   32 (--hy-h-row: the bell's board rows, Dropbox), a tree row 28 (--hy-tree-h: the pages, the library's folders), padding 8, corner 8, one hover
   (--hy-hov) and one chosen row (--hy-side-on with its ring). Kept as they were, his threads on the slide: the board switcher's tall rows
   (c3bd7097031 «эти высокие я бы не менял»), History's spacing (c5a6ad07456 «расстояние между ними оставить как было»: only its corner, hover
   and chosen row change), the collapsed autosave rows (c55e28c381c «как было до этого»), a menu's red Delete (c0e61a2d280), the chosen row's
   bright icon (ce2ab1b329d «оставил бы ярким, а не серым»). Once he keeps it, these values move into each list's own rule and this block goes */
:root.hy-grid :is(#ntf .hb-h, .dbx-row, #pages .row, .frow) { gap: var(--hy-sp-8); border-radius: var(--hy-r-3); color: var(--sub); font: 400 var(--hy-fs-13) var(--sans); }
:root.hy-grid :is(#ntf .hb-h, .dbx-row) { height: var(--hy-h-row); min-height: 0; padding-inline: var(--hy-sp-8); }
:root.hy-grid :is(#pages .row, .frow) { height: var(--hy-tree-h); }
:root.hy-grid #pages .row { padding-inline: var(--hy-sp-8); }
:root.hy-grid .frow { padding-inline: calc(var(--hy-sp-8) + var(--d) * var(--hy-sp-16)) var(--hy-sp-8); }
:root.hy-grid :is(#histList, #evList) .hv { border-radius: var(--hy-r-3); }
:root.hy-grid :is(#ntf .hb-h, .dbx-row, #pages .row, .frow, #histList .hv, #evList .hv):hover { background-color: var(--hy-hov); color: var(--ink); }
:root.hy-grid :is(#pages .row.cur, .frow.picked, #histList .hv.viewing) { background-color: var(--hy-side-on); box-shadow: var(--hy-side-ring); color: var(--ink); }
:root.hy-grid :is(#pages .row.cur, .frow.picked) svg { color: var(--ink); }

   /* the row list of a Studio's area: one look for Dev's tree, 3D's outliner, Frame Studio's layers (2026-11-03), ui/hy/rows.js */

/* <hy-tip>: one short line about one thing you can do here (DESIGN.md «Семья подсказок»; round 12's version 9, owner 2026-10-09: «9
   версия идеальна — делай»). A bulb in front, the key words in <b>; still, a click shows the next, the old line fades and lifts 4 px.
   × on hover closes the place's tips, the bulb stays at half strength and brings them back. Bare on a block or in a field, on the key
   hint's quiet glass over pictures (glass). Its place gives it only the free part: the line ends in an ellipsis, the title has it whole. */
:root, [data-hy-theme=dark] { --hy-tip-ic: #e6c13b; --hy-tip-key: var(--sub); }
:root[data-theme=light], [data-hy-theme=light] { --hy-tip-ic: #a87a06; --hy-tip-key: var(--ink); }
hy-tip { position: relative; display: inline-flex; align-items: center; gap: var(--hy-sp-6); min-width: 0; max-width: 100%; box-sizing: border-box; white-space: nowrap;
  font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); color: var(--hy-hint); cursor: pointer; user-select: none; pointer-events: auto; }
hy-tip > svg { width: 11px; height: 11px; flex: none; color: var(--hy-tip-ic); }
hy-tip .tip-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity var(--hy-t-slow) var(--hy-ease), translate var(--hy-t-slow) var(--hy-ease); }
hy-tip b { font-weight: var(--hy-fw-400); color: var(--hy-tip-key); }
hy-tip[out] .tip-t { opacity: 0; translate: 0 -4px; }
/* drawn 16 px, a click takes 24 (the contract's target): the 4 px around it is padding the background does not paint */
hy-tip .tip-x { display: none; position: absolute; left: calc(100% - 4px); top: 50%; translate: 0 -50%; box-sizing: border-box;
  width: 24px; height: 24px; margin: 0; padding: var(--hy-sp-4); place-items: center; border: 0; border-radius: var(--hy-r-3); background: none; background-clip: content-box;
  color: var(--muted); cursor: pointer; }
hy-tip .tip-x svg { width: 9px; height: 9px; }
hy-tip .tip-x:hover { color: var(--ink); background-color: var(--hy-hov); }   /* the colour only: the shorthand would paint the padding too */
hy-tip:hover:not([off]) .tip-x { display: grid; }
/* × stands just past the line's end, so the line never moves when it shows; closed: the bulb alone, at half strength, the way back */
hy-tip[off] .tip-t, hy-tip[off] .tip-x { display: none; }
hy-tip[off] { cursor: default; }
hy-tip[off] > svg { opacity: .5; cursor: pointer; }
hy-tip[glass] { height: 23px; padding: 0 var(--hy-sp-8) 0 var(--hy-sp-8); border-radius: var(--hy-row-r, 999px); color: var(--sub);
  background: color-mix(in srgb, var(--panel) 66%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: inset 0 0 0 .5px color-mix(in srgb, var(--line) 80%, transparent); }
/* hy-allow: duration-literal a quick fade, shorter than --hy-t-fast (token gap: a .1 s step) */
@media (prefers-reduced-motion: reduce) { hy-tip .tip-t { transition: opacity .1s ease; } hy-tip[out] .tip-t { translate: none; } }

   /* <hy-tip>: one line about one thing you can do here, for someone only looking (owner 2026-10-09) */

/* <hy-tooltip>: the one tooltip of the app (owner 2026-10-11, round 20 question 11, version A «Одна своя подсказка»: «идеально!!!»).
   A button's name over it or under it after a short rest, its keys as caps, a quiet line between them when there is one («Undo  Moved 3
   pictures  ⌘Z»), the glass of the menus. Before it there were four: the system's title on the board, the library and Home (a pale box
   of macOS after a second, keys in words), the mode switch's #modetip, the dock's step plate #hydkstep and Image Studio's #tip. One
   element per page, placed by ui/hy/tooltip.js; the pointer passes through it. z 1299: the top of the takeover layer, over Image Studio
   lying over the board and over a dock's list (1210), so a tooltip is never under what it names. */
/* hy-allow: z-literal above the takeover layer (1100-1299) and its menus (1220, 1240): a tip must win; the layer has one token for the whole range (token gap) */
hy-tooltip { position: fixed; left: 0; top: 0; z-index: 1299; display: flex; align-items: center; gap: var(--hy-sp-8); box-sizing: border-box; height: 30px;
  max-width: min(420px, calc(100vw - 16px)); padding: 0 var(--hy-sp-12); border: 1px solid var(--line); border-radius: var(--hy-plate-r, 999px);
  --tt-bg: color-mix(in srgb, var(--panel) 92%, transparent); background: var(--tt-bg); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--plate-sh); color: var(--ink); font: 400 var(--hy-fs-12-5)/var(--hy-sp-16) var(--sans); white-space: nowrap; pointer-events: none; user-select: none;
  opacity: 0; transition: opacity var(--hy-t-fast) var(--hy-ease, cubic-bezier(.32,.72,0,1)), transform var(--hy-t-slow) var(--hy-ease, cubic-bezier(.32,.72,0,1)); }
hy-tooltip[shown] { opacity: 1; }
hy-tooltip[keys] { padding-right: var(--hy-sp-6); }
/* a long description wraps on a few lines instead of running off the window */
hy-tooltip[long] { height: auto; min-height: 30px; padding-block: var(--hy-sp-6); white-space: normal; line-height: var(--hy-sp-16); border-radius: var(--hy-r-4); }
hy-tooltip .tt-s { color: var(--sub); font-weight: var(--hy-fw-400); }
hy-tooltip .tt-k { display: inline-flex; align-items: center; gap: var(--hy-sp-2); flex: none; }   /* one cap per key (round 4, 2026-10-27) */
/* a step's pictures (the dock's Undo, round 21: «Имя шага над Undo с вещами»): 18 px tiles overlapped, then «+N» */
hy-tooltip .tt-th { display: inline-flex; align-items: center; flex: none; }
hy-tooltip .tt-th b { width: 18px; height: 18px; margin-left: calc(var(--hy-sp-6) * -1); border-radius: var(--hy-r-1); background: var(--raise) center / cover no-repeat;
  box-shadow: 0 0 0 2px var(--panel); }
hy-tooltip .tt-th b:first-child { margin-left: 0; }
hy-tooltip .tt-th em { margin-left: var(--hy-sp-6); font-style: normal; color: var(--muted); font-weight: var(--hy-fw-400); }
/* hy-allow: spacing-literal a hairline nudge below the 2 px step */
hy-tooltip .tt-or { color: var(--muted); font-weight: var(--hy-fw-400); margin: 0 1px; }
/* the first time a thing is pointed at (data-first, Image Studio's mask thumbnail): at once, tinted with the selection's blue */
hy-tooltip[first] { --tt-bg: color-mix(in srgb, var(--sel) 30%, var(--panel)); --tt-edge: color-mix(in srgb, var(--sel) 60%, transparent);
  border-color: var(--tt-edge); }

/* The tail (round 8 of «shell, one look», r8-tooltips 39 A «самый надежный нейтральный», 40: on the plain tooltip too): a sharp tip with
   soft arcs to the plate, on the side that faces the thing (data-at, set by ui/hy/tooltip.js with --tt-tx or --tt-ty). Two masks on the
   tooltip itself: ::after the fill, which reaches 1 px into the plate over its edge, ::before the edge, only along the two arcs; so it never
   breaks on the glass and follows the theme. */
/* the drawing is the app's one tail, also the help card's (ui/agentconnect.css .ac-hint) */
/* hy-allow-begin: icon-inline, file-size the tooltip's tail, a mask drawn in the plate's own shape, not an icon */
:root { --tt-tw: 22px; --tt-th: 10px;
  --tt-fill: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'%3E%3Cpath d='M0 10 C6.5 10 8.6 4.2 11 0.4 C13.4 4.2 15.5 10 22 10 Z'/%3E%3C/svg%3E");
  --tt-line: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'\
%3E%3Cpath d='M0 9.5 C6.5 9.5 8.6 4.2 11 0.6 C13.4 4.2 15.5 9.5 22 9.5' fill='none' stroke='black' stroke-width='1.1'/%3E%3C/svg%3E"); }
/* hy-allow-end */
hy-tooltip { --tt-edge: var(--line); }
hy-tooltip::before, hy-tooltip::after { content: ""; position: absolute; left: calc(var(--tt-tx, 50%) - var(--tt-tw) / 2); top: calc(-1 * var(--tt-th));
  width: var(--tt-tw); height: var(--tt-th); pointer-events: none; -webkit-mask: var(--tt-m) center / 100% 100% no-repeat; mask: var(--tt-m) center / 100% 100% no-repeat; }
hy-tooltip::before { --tt-m: var(--tt-line); background: var(--tt-edge); }
hy-tooltip::after { --tt-m: var(--tt-fill); background: var(--tt-bg); }
hy-tooltip[data-at=top]::before, hy-tooltip[data-at=top]::after { top: auto; bottom: calc(-1 * var(--tt-th)); transform: scaleY(-1); }
/* beside the thing: the same drawing turned a quarter, its middle on the plate's edge at --tt-ty */
hy-tooltip:is([data-at=left], [data-at=right])::before, hy-tooltip:is([data-at=left], [data-at=right])::after {
  top: calc(var(--tt-ty, 50%) - var(--tt-th) / 2); left: calc(-1 * (var(--tt-tw) + var(--tt-th)) / 2); transform: rotate(-90deg); }
hy-tooltip[data-at=left]::before, hy-tooltip[data-at=left]::after { left: auto; right: calc(-1 * (var(--tt-tw) + var(--tt-th)) / 2); transform: rotate(90deg); }

/* The rich one (r8-tooltips 36-38 A): while the pointer rests on a button with a clip a grey fill runs over the same tooltip, left to right
   in --tt-grow (his 1100 ms); full, it grows: 252 wide, the clip (ui/hy/tipclips.js, about 2 s round) and one line under the name. */
@property --tt-p { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
hy-tooltip[growing] { background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 10%, transparent) var(--tt-p), transparent var(--tt-p)), var(--tt-bg);
  animation: hyTtFill var(--tt-grow, 1100ms) linear forwards; }
@keyframes hyTtFill { to { --tt-p: 100%; } }
hy-tooltip[rich] { flex-wrap: wrap; width: 252px; max-width: 252px; height: auto; row-gap: var(--hy-sp-8); padding: var(--hy-sp-8) var(--hy-sp-8) var(--hy-sp-8) var(--hy-sp-12);
  border-radius: var(--hy-r-4); white-space: normal;
  transition: opacity var(--hy-t-fast) var(--hy-ease), transform var(--hy-t-slow) var(--hy-ease), width var(--hy-t-slow) var(--hy-ease), height var(--hy-t-slow) var(--hy-ease);
    }   /* one curve: it grows away from the button */
hy-tooltip[rich] .tt-t { flex: 1; }
hy-tooltip .tt-pv { order: 5; flex: 0 0 100%; box-sizing: border-box; height: 128px; margin-left: calc(var(--hy-sp-4) * -1); overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--hy-r-3);
  background: var(--bg); animation: hyTtIn var(--hy-t-slow) var(--hy-ease) both; }
hy-tooltip .tt-l { order: 6; flex: 0 0 100%; color: var(--sub); font: 400 var(--hy-fs-12)/var(--hy-sp-16) var(--sans); }
@keyframes hyTtIn { from { opacity: 0; transform: translateY(-3px) scale(.98); } }

/* the clips: the app's own shapes, colours by tokens, one loop of --tt-clip (about 2 s) */
/* hy-allow-begin: icon-stroke, font-size the clips draw the board small in their own 220 × 128 units, not icons */
hy-tooltip .tc { display: block; width: 100%; height: 100%; --tt-clip: 2s; }
hy-tooltip .tc * { animation-duration: var(--tt-clip); animation-iteration-count: infinite; animation-timing-function: var(--hy-ease); }
hy-tooltip .tc-pic { fill: var(--hy-gc-blue); } hy-tooltip .tc-red { fill: var(--hy-gc-red); } hy-tooltip .tc-yellow { fill: var(--hy-gc-yellow); }
hy-tooltip .tc-green { fill: var(--hy-gc-green); }
hy-tooltip .tc-ring { fill: none; stroke: var(--hy-on-accent); stroke-opacity: .7; stroke-width: 1.2; }
hy-tooltip .tc text { font: 400 9.5px var(--sans); fill: var(--sub); }
/* crop: the frame's edges come in, the outside dims, back */
hy-tooltip .tc-dim { fill: var(--bg); animation-name: tcCropD; }
hy-tooltip .tc-cf { fill: none; stroke: var(--ink); stroke-width: 1.5; animation-name: tcCropF; }
hy-tooltip .tc-hd { fill: var(--ink); animation-name: tcCropH; }
@keyframes tcCropF { 0%, 12%, 100% { x: 52px; y: 22px; width: 116px; height: 84px; } 45%, 78% { x: 74px; y: 34px; width: 70px; height: 58px; } }
@keyframes tcCropD { 0%, 12%, 100% { opacity: 0; } 45%, 78% { opacity: .62; } }
@keyframes tcCropH { 0%, 12%, 100% { transform: translate(0, 0); } 45%, 78% { transform: translate(var(--hx), var(--hy)); } }
/* make frame: three cards close in, a frame draws around them, its name shows */
hy-tooltip .tc-fr { fill: none; stroke: var(--sel); stroke-width: 1.6; stroke-dasharray: 420; animation-name: tcFrDraw; }
hy-tooltip .tc-fl { animation-name: tcFrLbl; } hy-tooltip .tc-c { animation-name: tcFrC; }
@keyframes tcFrDraw { 0%, 10% { stroke-dashoffset: 420; } 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tcFrLbl { 0%, 45% { opacity: 0; } 55%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tcFrC { 0%, 10% { transform: translate(var(--dx), 0); } 40%, 100% { transform: translate(0, 0); } }
/* Frame Studio: the card grows, the panels come in from the sides, the top row shows */
hy-tooltip .tc-panel { fill: var(--panel); stroke: var(--raise); } hy-tooltip .tc-row { fill: var(--line); } hy-tooltip .tc-well { fill: var(--raise); }
hy-tooltip .tc-on { fill: var(--frame, var(--sel)); } hy-tooltip .tc-half { fill-opacity: .5; }
hy-tooltip .tc-cd { transform-origin: 110px 64px; transform-box: view-box; animation-name: tcFsCard; }
hy-tooltip .tc-pl { animation-name: tcFsPl; } hy-tooltip .tc-pr { animation-name: tcFsPr; } hy-tooltip .tc-tp { animation-name: tcFsTp; }
@keyframes tcFsCard { 0%, 12%, 100% { transform: scale(.42); } 45%, 82% { transform: scale(1); } }
@keyframes tcFsPl { 0%, 25%, 100% { transform: translateX(-60px); } 55%, 82% { transform: translateX(0); } }
@keyframes tcFsPr { 0%, 25%, 100% { transform: translateX(60px); } 55%, 82% { transform: translateX(0); } }
@keyframes tcFsTp { 0%, 35%, 100% { opacity: 0; } 60%, 82% { opacity: 1; } }
/* annotate: a stroke draws itself, a pin drops, its bubble opens */
hy-tooltip .tc-st { fill: none; stroke: var(--hy-red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; animation-name: tcAnSt; }
hy-tooltip .tc-pin circle { fill: var(--sel); } hy-tooltip .tc-pin text { fill: var(--hy-on-accent); text-anchor: middle; font-size: 9px; font-weight: var(--hy-fw-500); }
hy-tooltip .tc-pin { transform-box: fill-box; transform-origin: 50% 100%; animation-name: tcAnPin; }
hy-tooltip .tc-bub rect { fill: var(--panel); stroke: var(--raise); } hy-tooltip .tc-bub text { fill: var(--ink); font-weight: var(--hy-fw-400); font-size: 9px; }
hy-tooltip .tc-bub { animation-name: tcAnBub; }
@keyframes tcAnSt { 0%, 8% { stroke-dashoffset: 260; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes tcAnPin { 0%, 50% { transform: translateY(-14px); opacity: 0; } 60%, 92% { transform: translateY(0); opacity: 1; } 100% { opacity: 0; } }
@keyframes tcAnBub { 0%, 64% { opacity: 0; } 72%, 92% { opacity: 1; } 100% { opacity: 0; } }
/* hy-allow-end */
/* with Reduce motion: no fill running (the tooltip still grows when it is due), the clip stands on its first frame */
/* hy-allow: duration-literal a quick fade, shorter than --hy-t-fast (token gap: a .1 s step) */
@media (prefers-reduced-motion: reduce) { hy-tooltip { transition: opacity .1s ease; } hy-tooltip[growing] { animation: none; background: var(--tt-bg); }
  hy-tooltip .tc *, hy-tooltip .tt-pv { animation: none !important; } }

   /* <hy-tooltip>: the one tooltip of the app, words and key caps (owner 2026-10-11, round 20) */

/* <hy-nudge>: the one thing worth learning about what is picked, under it at its left edge (owner 2026-10-11, round 21 row 24, ♥ A,
   r21/hints-a.html): the bulb of the tips (ui/hy/tip.css), the keys as caps, the words with the main ones in <b>, × at the end. Glass a
   little denser than the key hint's, 28 px; it takes the pointer only on its ×, so a click on the board under it still lands. Placed by
   ui/hy/nudge.js. z 50, the overlay layer of the hints. */
hy-nudge { position: fixed; left: 0; top: 0; z-index: var(--hy-z-overlay); display: inline-flex; align-items: center; gap: var(--hy-sp-8); box-sizing: border-box; height: 28px;
  padding: 0 var(--hy-sp-4) 0 var(--hy-sp-8); border: 1px solid var(--line); border-radius: var(--hy-row-r, 999px); white-space: nowrap; pointer-events: none; user-select: none;
  background: var(--hy-glass-bg); -webkit-backdrop-filter: var(--hy-glass-blur); backdrop-filter: var(--hy-glass-blur);
  color: var(--sub); font: 400 var(--hy-fs-12) var(--sans); opacity: 0; translate: 0 0;
  transition: opacity var(--hy-t-base) var(--hy-ease, cubic-bezier(.32,.72,0,1)); }
hy-nudge[shown] { opacity: 1; }
hy-nudge > svg { width: 13px; height: 13px; flex: none; color: var(--hy-tip-ic, #e6c13b); }
hy-nudge .ng-k { display: inline-flex; gap: var(--hy-sp-2); }
hy-nudge b { color: var(--ink); font-weight: var(--hy-fw-400); }
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
hy-nudge .ng-x { pointer-events: auto; display: grid; place-items: center; width: var(--hy-h-s); height: var(--hy-h-s); margin-left: 0; padding: 0; border: 0; border-radius: 99px;
  background: none; color: var(--muted); cursor: pointer; }
hy-nudge .ng-x:hover { color: var(--ink); background: var(--hy-hov, var(--raise)); }
hy-nudge .ng-x svg { width: 9px; height: 9px; }
/* hy-allow: duration-literal a quick fade, shorter than --hy-t-fast (token gap: a .1 s step) */
@media (prefers-reduced-motion: reduce) { hy-nudge { transition: opacity .1s ease; } }

   /* <hy-nudge>: what to learn about what is picked, under it (owner 2026-10-11, round 21) */

/* <hy-studio-actions>: a Studio's session actions in the top row, at its right end (owner 2026-10-09: «кнопки Done у нас всегда
   стандартизированы справа вверху»; DESIGN.md «Действия студии»). The row's line and height (--hy-row-top, --hy-plate-h), the row's gap
   between the plates and before the round buttons; ui/hy/actions.js sets right= from where those stand. Each action is a plate of the
   row (<hy-button size=l>), the primary one the accent variant: the Studio's colour (--sel of its root), white words, a check.
   ⌘. hides it with the row (data-hyui, upward as the crumb and the round buttons go). */
hy-studio-actions { position: fixed; z-index: var(--hy-z-chrome); top: var(--hy-row-top); right: var(--hy-row-gut); display: flex; align-items: center; gap: var(--hy-row-gap);
  --hy: -16px; }
hy-studio-actions:empty { display: none; }
/* quiet mode (ui/quietmode.js, the --k contract of plate.css): the actions are plates of the row, they lose ground and line (the shadow goes with
   the tokens at k .5) and keep their words at the quiet level; the accent one's white words turn the plates' grey once its blue is half gone */
hy-studio-actions[data-qk] > * { opacity: var(--q-c, 1); }
hy-studio-actions[data-qk] > :is(hy-button, hy-open-in, hy-icon-button[plate]):not([variant], :hover) {
  background: color-mix(in srgb, var(--hy-glass-bg) calc(var(--q-a, 1) * 100%), transparent); border-color: color-mix(in srgb, var(--line) calc(var(--q-a, 1) * 100%), transparent); }
hy-studio-actions[data-qk] > [variant=accent]:not(:hover) { background: color-mix(in srgb, var(--hy-pri) calc(var(--q-a, 1) * 100%), transparent);
  border-color: color-mix(in srgb, var(--hy-pri) calc(var(--q-a, 1) * 100%), transparent); }
hy-studio-actions[data-qk=hush] > [variant=accent]:not(:hover) { color: var(--sub); }   /* from k .5, as the shadows step off */
hy-studio-actions > hy-button { --hy-bgap: 8px; }
hy-studio-actions > hy-button > button > svg { flex: none; }
/* an action's key is always there, after its words, not only while ⌘ is held (round 8 of «shell, one look», r8-top 34 A, owner 2026-10-27
   note nuc7w24w «все топ»: «Save ⌘↵», «Done Esc», «Send ⌘↵», «Back to current Esc»); on the place's colour the cap is white at 20 % (kbd.css) */
hy-studio-actions > hy-button > button > kbd.hy-k { position: static !important; translate: none; opacity: 1; scale: 1; margin: 0 calc(var(--hy-sp-4) * -1) 0 0 !important; }
hy-studio-actions > hy-button > button:has(> kbd)::after { content: none; }

   /* <hy-studio-actions>: a Studio's Save, Cancel, Done … top right (owner 2026-10-09) */

/* The menu of a button with an arrow (<hy-button menu>, ui/hy/button.js) and <hy-open-in>: «Open in <Browser>», a plate of the top row with
   the browsers of this Mac (ui/hy/openin.js, owner 2026-10-09): the main part with the browser's own icon and its name, the arrow always:
   without the Mac app the main part reads «Open in browser» and the menu offers the default browser alone. The menu is the app's menu
   look: glass panel, 32 px rows, the default marked in muted words, the chosen one checked; its rows end in key caps (hy-kbd m). */
hy-open-in { --hy-bgap: 8px; }
:is(hy-open-in, .hy-oi-menu) .oi-ic { display: block; width: 18px; height: 18px; flex: none; }
/* hy-allow: z-literal the menu layer holds 60-79: this one stands above the 60 menus, one token for the range (token gap) */
.hy-oi-menu { position: fixed; z-index: 70; box-sizing: border-box; min-width: 220px; padding: var(--hy-pop-pad, 6px); border: 1px solid var(--line); border-radius: var(--hy-pop-r, 14px);
  background: var(--hy-pop-bg, var(--panel)); -webkit-backdrop-filter: var(--hy-pop-blur); backdrop-filter: var(--hy-pop-blur);   /* a pop-up (panels audit P-17) */
  box-shadow: var(--hy-sh-pop); color: var(--sub); font: 400 var(--hy-fs-13) var(--sans); transform-origin: 100% 0; animation: hyOiIn var(--hy-t-base) var(--hy-ease); }
.hy-oi-menu > button, .hy-oi-menu .hy-sub > button { all: unset; box-sizing: border-box; display: flex;
  align-items: center; gap: var(--hy-sp-8); width: 100%; height: var(--hy-h-item); padding: 0 var(--hy-sp-8); border-radius: var(--hy-r-3);
  color: var(--sub); white-space: nowrap; cursor: default; }
.hy-oi-menu > button:is(:hover, :focus), .hy-oi-menu .hy-sub > button:is(:hover, :focus), .hy-oi-menu > button[aria-expanded=true] { background: var(--hy-hov); color: var(--ink); }
/* a row with a submenu («Open with ›», round 20): its words take the room, the chevron at the right end; the submenu's rows as the menu's */
.hy-oi-menu .ml { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* not block.css's small heading of the same name; nearly opaque: a backdrop blur inside the menu's own does not blur the page under it */
.hy-oi-menu .hy-sub { margin: 0; color: var(--sub); font: 400 var(--hy-fs-13) var(--sans); letter-spacing: normal; text-transform: none;
  background: color-mix(in srgb, var(--panel) 97%, transparent); }
.hy-oi-menu .oi-ck { flex: none; width: 14px; height: 14px; visibility: hidden; color: var(--ink); }
.hy-oi-menu > button[aria-checked=true] .oi-ck { visibility: visible; }
.hy-oi-menu .oi-n { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hy-oi-menu .oi-def { margin-left: var(--hy-sp-12); color: var(--muted); font-weight: var(--hy-fw-400); font-size: var(--hy-fs-grey); }
.hy-oi-menu > button[aria-disabled=true], .hy-oi-menu .hy-sub > button[aria-disabled=true] { color: var(--hy-dis-ink); }
.hy-oi-menu .oi-k { display: inline-flex; gap: var(--hy-sp-2); margin-left: var(--hy-sp-12); }
.hy-oi-menu .oi-sep { height: 1px; margin: var(--hy-sp-6) var(--hy-sp-8); background: var(--line); }
/* a Studio's row: a dot in the Studio's colour where the icon stands (round 19, switch-b.html) */
.hy-oi-menu .oi-dot { display: grid; place-items: center; }
.hy-oi-menu .oi-dot::before { content: ""; width: var(--hy-dot-sz); height: var(--hy-dot-sz); border-radius: 50%; background: var(--oi-c, var(--sel)); }
@keyframes hyOiIn { from { opacity: 0; transform: scale(.96); } }
@media (prefers-reduced-motion: reduce) { .hy-oi-menu { animation: none; } }

   /* a button's menu, and <hy-open-in>: «Open in <Browser>» with the browsers of this Mac */

/* <hy-minitoggle>: round 15's mini toggle (owner 2026-10-09, r15-micro.html, control 1). 22 px tall: a 20 × 11 track (::before) with an
   8 px knob (::after) 4 px in from the left, the words 6 px after it at 500 11 px. Off: the track ink at 18 %, the words muted; on: the
   track the place's colour (--hy-tog-on, else --hy-sel: the Studio's inside a Studio), the knob white, the words ink (ui/tokens.css «On /
   off», owner 2026-10-27: the mini is the kind for blocks and bars). Drawn from the attributes, so the markup looks right before the
   script; the script lays a checkbox over it, a pixel past the top and the bottom (24 px to click). static: it only shows a state, inside
   a row that toggles it (a menu item) */
hy-minitoggle { position: relative; display: inline-flex; align-items: center; flex: none; box-sizing: border-box; height: 22px; min-width: 28px;
  /* hy-allow: spacing-literal the knob lane of the switch, a size of the part */
  padding: 0 var(--hy-sp-4) 0 30px; border-radius: var(--hy-r-2); vertical-align: middle; color: var(--muted); font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); white-space: nowrap;
  cursor: pointer; transition: color var(--hy-t-fast) ease, opacity var(--hy-t-base) ease, scale var(--hy-press-t) ease; }
hy-minitoggle:is(:empty, [bare]) { width: 28px; padding: 0; }
hy-minitoggle::before { content: ""; position: absolute; left: 4px; top: 5.5px; width: 20px; height: 11px; box-sizing: border-box;
  border-radius: var(--hy-switch-r); background: var(--hy-tog-off); transition: background var(--hy-t-fast) ease; }
/* hy-allow: radius-literal the knob's corner derived from the switch's, minus its inset */
hy-minitoggle::after { content: ""; position: absolute; left: 5.5px; top: 7px; width: 8px; height: 8px; border-radius: max(0px, calc(var(--hy-switch-r) - 1.5px));
  background: var(--ink); pointer-events: none; transition: transform var(--hy-t-fast) var(--hy-ease), background var(--hy-t-fast) ease; }
hy-minitoggle:hover { color: var(--sub); }
hy-minitoggle[checked] { color: var(--ink); }
hy-minitoggle[checked]::before { background: var(--hy-tog-on, var(--hy-sel)); }
hy-minitoggle[checked]::after { transform: translateX(9px); background: var(--hy-tog-mark); }
hy-minitoggle[static] { cursor: inherit; }
hy-minitoggle[disabled] { opacity: var(--hy-dis-op); cursor: default; }
hy-minitoggle > .hy-in { position: absolute; left: 0; top: -1px; width: 100%; height: calc(100% + 2px); margin: 0; padding: 0; opacity: 0; cursor: inherit; z-index: var(--hy-z-local); }
@media (prefers-reduced-motion: reduce) { hy-minitoggle::before, hy-minitoggle::after { transition: none; } }

   /* round 15's micro UI (owner 2026-10-09, r15-micro.html): <hy-minitoggle>, <hy-scope>, <hy-led>, */

/* <hy-scope>: round 15's count as the scope (owner 2026-10-09, r15-micro.html, control 2). An 18 px button at the end of a field: «22 / 87»
   at 500 11 px in tabular digits, the slash muted; hover lights it on the hover plate, all (aria-pressed) keeps the words ink on the plate
   of ink at 8 %. Under the contract's 24 px target on purpose: the owner approved the micro sizes at 1:1 (design/contract.json target_exempt) */
hy-scope { display: inline-flex; flex: none; vertical-align: middle; }
hy-scope > .hy-scope-b { display: inline-flex; align-items: center; height: 18px; padding: 0 var(--hy-sp-6); border: 0; border-radius: var(--hy-r-2); background: transparent;
  color: var(--sub); font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; transition: background var(--hy-t-fast) ease,
    color var(--hy-t-fast) ease; }
/* hy-allow: spacing-literal a hairline nudge below the 2 px step */
hy-scope > .hy-scope-b > i { margin: 0 1px; color: var(--muted); font-style: normal; }
hy-scope > .hy-scope-b:hover { background: var(--hy-hov); color: var(--ink); }
hy-scope[all] > .hy-scope-b { background: var(--hy-tab-on); color: var(--ink); }
hy-scope > .hy-scope-b:disabled { opacity: var(--hy-dis-op); cursor: default; }
hy-scope[hidden], hy-led[hidden] { display: none; }

   /* <hy-stepper>, and the marks .hy-dot, .hy-tag, .hy-ri in micro.css; the micro segments are segmented.css */

/* <hy-led>: round 15's status LED (owner 2026-10-09, r15-micro.html, control 4: «The LED is 6 px, flat, no glow: the Studio's colour inside a
   Studio, green for «running» on the board and in Settings, a ring for «off», a dot that blinks only while busy»). No shadow, no gradient. */
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
hy-led { display: inline-block; flex: none; box-sizing: border-box; width: 6px; height: 6px; border-radius: 99px; vertical-align: middle; background: var(--hy-sel); }
hy-led[state=ok] { background: var(--hy-ok); }
hy-led[state=warn] { background: var(--hy-warn); }   /* waits for a yes, an update to take (Settings › Version and updates, r7-colours 10 A) */
hy-led[state=new] { background: var(--hy-info); }
hy-led[state=err] { background: var(--hy-red); }   /* a write refused (P4 S-39) */
hy-led[state=off] { background: transparent; box-shadow: inset 0 0 0 1.2px var(--muted); }
hy-led[state=idle] { background: var(--muted); }   /* nothing yet: a grey dot, not the ring of «can't» (owner 2026-10-10, r18 question 17) */
/* hy-allow: duration-literal a loop longer than --hy-t-page */
hy-led[state=busy] { animation: hy-led-busy 1.2s linear infinite; }
@keyframes hy-led-busy { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: .25; } }   /* on, off: a blink, no fade */
@media (prefers-reduced-motion: reduce) { hy-led[state=busy] { animation: none; opacity: .6; } }



/* <hy-progress value="0.42" state="paused|waiting">: the one progress bar of the app (round 9 of «shell, one look», r9-jobs 73 A; owner
   2026-10-27, note nt5bop6m: «Все отлично, давай делать так»). 4 px, the track ink at 12 %, the fill the place's colour (blue on the board,
   the Studio's inside a Studio); paused or waiting the fill goes grey; no value: a third that runs (the work goes, how far is not known).
   ui/hy/progress.js turns value into --hy-pv; a page without modules (Home) may write style="--hy-pv: .42" itself. Before round 9 there
   were seven bars of 2, 3 and 4 px on five tracks (the jobs list, Settings › Background jobs, the update card, the agent's panel, the
   library, Frame Studio's render card, Usage). */
/* hy-allow: radius-literal half the width of a bar thinner than the 4 px step */
hy-progress { position: relative; display: block; box-sizing: border-box; flex: none; height: 4px; min-width: 24px; overflow: hidden; border-radius: 2px;
  background: color-mix(in srgb, var(--ink) 12%, transparent); }
hy-progress::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--hy-pv, 0) * 100%); border-radius: inherit; background: var(--hy-sel, var(--sel));
  transition: width var(--hy-t-page) linear; }
hy-progress:is([state=paused], [state=waiting])::before { background: color-mix(in srgb, var(--ink) 34%, transparent); }
hy-progress[state=err]::before { background: var(--hy-red); }   /* a limit nearly reached (Usage), a job that failed */
/* hy-allow: duration-literal a loop longer than --hy-t-page */
hy-progress:not([value])::before, hy-progress[value=""]::before { width: 34%; animation: hy-progress-run 1.4s var(--hy-ease, cubic-bezier(.32,.72,0,1)) infinite; transition: none; }
@keyframes hy-progress-run { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
@media (prefers-reduced-motion: reduce) { hy-progress::before { transition: none; } hy-progress:not([value])::before, hy-progress[value=""]::before { animation: none; width: 100%; opacity: .5; } }

   /* <hy-progress>: the one progress bar (round 9, r9-jobs 73 A) */

/* <hy-spin>: the one spinner of the app (round 9 of «shell, one look», r9-jobs 74 A; owner 2026-10-27, note nt5bop6m: «Все отлично,
   давай делать так»). A ring with a gap, a line of 1.5, one turn in .8 s, in the row's text colour; its size follows the text beside it:
   s 10 (11–12 px words), the default 12 (13 px), l 14 (a heading). A list whose current row turns (Home's steps, the board's loading
   steps) asks for it with class hy-spins on the list: its li.now carries the same ring before its words. Before round 9 there were nine
   of their own, 8–12 px, lines 1.5–2, .7–1 s, two drawings. */
hy-spin, .hy-spins > li.now::before { content: ""; display: inline-block; flex: none; box-sizing: border-box; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px;
  /* hy-allow: duration-literal a loop longer than --hy-t-page */
  border: 1.5px solid currentColor; border-right-color: transparent; animation: hy-spin .8s linear infinite; }
hy-spin[size=s], .hy-spins > li.now::before { width: 10px; height: 10px; }
hy-spin[size=l] { width: 14px; height: 14px; }
@keyframes hy-spin { to { rotate: 1turn; } }
/* hy-allow: duration-literal a loop longer than --hy-t-page */
@media (prefers-reduced-motion: reduce) { hy-spin, .hy-spins > li.now::before { animation-duration: 2.4s; } }

   /* <hy-spin>: the one spinner (round 9, r9-jobs 74 A) */

/* <hy-stepper>: round 15's tiny stepper (owner 2026-10-09, r15-micro.html, control 6). One 22 px well: − 20 px, the number at least 26 px
   at 500 12 px in tabular digits, + 20 px; the buttons muted, ink on the hover plate, faded at the end of the range. Under the contract's
   24 px target on purpose: the owner approved the micro sizes at 1:1 (design/contract.json target_exempt) */
hy-stepper { display: inline-flex; align-items: center; flex: none; box-sizing: border-box; height: 22px; border-radius: var(--hy-r-2); vertical-align: middle;
  background: var(--hy-well); font: 400 var(--hy-fs-12)/1 var(--sans); }
hy-stepper > .hy-stp-b { display: grid; place-items: center; width: 20px; height: 22px; padding: 0; border: 0; border-radius: var(--hy-r-2); background: transparent;
  color: var(--muted); font: 400 var(--hy-fs-13)/var(--hy-sp-12) var(--sans); cursor: pointer;
  transition: background var(--hy-t-fast) ease, color var(--hy-t-fast) ease, scale var(--hy-press-t) ease; }
hy-stepper > .hy-stp-b:hover:not(:disabled) { background: var(--hy-hov); color: var(--ink); }
hy-stepper > .hy-stp-b:disabled { color: var(--hy-dis-ink); cursor: default; }
hy-stepper > .hy-stp-n { min-width: 26px; text-align: center; color: var(--ink); font: inherit; font-variant-numeric: tabular-nums; outline: none; }
hy-stepper[disabled] { opacity: var(--hy-dis-op); }
/* a stepper row in a menu (the board's «Arrange › Columns»): a 32 px row like the menu's items, and the stepper's own buttons kept small
   where the menu styles every button as a row (#ctx button) */
.hy-mstp { display: flex; align-items: center; gap: var(--hy-sp-8); height: 32px; padding: 0 var(--hy-sp-6) 0 var(--hy-sp-8); color: var(--sub); font: 400 var(--hy-fs-13) var(--sans);
  letter-spacing: 0;
  text-transform: none; white-space: nowrap; }   /* a submenu is a .hy-sub, the class of a block's capitals label too (block.css) */
.hy-mstp > .ml { flex: 1; min-width: 0; }
:is(#ctx, #lctx, .menu) hy-stepper > .hy-stp-b { display: grid; place-items: center; width: 20px; height: 22px; padding: 0; border-radius: var(--hy-r-2); background: transparent;
  color: var(--muted); font: 400 var(--hy-fs-13)/var(--hy-sp-12) var(--sans); }
:is(#ctx, #lctx, .menu) hy-stepper > .hy-stp-b:hover:not(:disabled) { background: var(--hy-hov); color: var(--ink); }



/* The rest of round 15's micro UI (owner 2026-10-09 on r15-micro.html: «Все топ, все делай»), plain classes for marks without behaviour.
   .hy-dot  control 7, the change dot: 5 px in the selection's colour (the Studio's inside a Studio) after what changed and is not saved
            yet, or what differs from its source (a 3D material overridden); a title says what it means.
   .hy-tag  control 7, the colour dot on a chip: a 22 px capsule, a ring of ink at 14 %, its .hy-dot 6 px in the chip's own colour
            (--hy-dot); .off fades it and rings the dot (a filter turned off).
   .hy-hovrow / .hy-ri  control 8, icons on hover: a row's icon buttons (.hy-ri, 20 px, muted) show while the row is hovered or holds the
            focus; one that is set (.keep, or [data-set]: locked, hidden) stays, a step brighter. The icon keeps the size its list draws. */
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
.hy-dot { display: inline-block; flex: none; width: 5px; height: 5px; border-radius: 99px; vertical-align: middle; background: var(--hy-sel); }
.hy-tag { display: inline-flex; align-items: center; gap: var(--hy-sp-6); flex: none; box-sizing: border-box; height: var(--hy-h-tag); padding: 0 var(--hy-pad-tag); border: 0;
  border-radius: var(--hy-r-pill);
  vertical-align: middle; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink);
  font: 400 var(--hy-fs-11-5)/var(--hy-sp-12) var(--sans); white-space: nowrap; }
.hy-tag > .hy-dot { width: 6px; height: 6px; background: var(--hy-dot, var(--hy-sel)); }
.hy-tag.off { opacity: .45; } .hy-tag.off > .hy-dot { background: none; box-shadow: inset 0 0 0 1.2px var(--muted); }
button.hy-tag { cursor: pointer; } button.hy-tag:hover { background: var(--hy-hov); }
.hy-ri { display: grid; place-items: center; flex: none; box-sizing: border-box; width: 20px; height: 20px; padding: 0; border: 0; border-radius: var(--hy-r-2);
  background: none; color: var(--muted); opacity: 0; cursor: pointer; transition: opacity var(--hy-t-base) var(--hy-ease), background var(--hy-t-fast) ease, color var(--hy-t-fast) ease; }
:is(.hy-hovrow:hover, .hy-hovrow:focus-within) .hy-ri, .hy-ri:is(.keep, [data-set]) { opacity: 1; }
.hy-ri:is(.keep, [data-set]) { color: var(--sub); }
.hy-ri:hover { background: var(--hy-hov); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hy-ri { transition: none; } }



/* Scrub a number (owner 2026-10-10 on round 16's r16-scrub.html, version A: «отлично, беру»; ui/hy/scrub.js). The handle (.hy-scrub-h, the
   letter or icon left of the number) shows ew-resize and, under the pointer or while dragged, the selection's colour at 26 % (the Studio's
   in a Studio) with the words in ink; the field being dragged (.hy-scrubbing) wears a 1 px ring of that colour, and the whole page keeps
   ew-resize until the drag ends. A page's own label becomes a handle by scrub(); it stretches to its field's height. Its plate is round,
   a pill, not a box (round 3 of «one look», r3-inputs, owner 2026-10-27, c0a5f805e6a: «вот эти блоки с текстом по которым можно скролить
   и видимые когда hover делаешь, можно не прямоугольные а круглые сделать в стиль - так будет больше в тему»); <hy-scrub>'s own handle too, a
   pill 2 px inside the field's well (r3 decision 17 A). */
.hy-scrub-h { cursor: ew-resize; align-self: stretch; display: inline-grid; place-items: center; flex: none; min-width: 14px; padding: 0 var(--hy-sp-6); margin: 0 calc(var(--hy-sp-6) * -1);
  /* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
  border-radius: 999px; touch-action: none; user-select: none; -webkit-user-select: none; transition: background var(--hy-t-fast) ease, color var(--hy-t-fast) ease; }
.hy-scrub-h:hover, .hy-scrubbing .hy-scrub-h { background: color-mix(in srgb, var(--hy-sel) 26%, transparent); color: var(--ink); }
.hy-scrubbing { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hy-sel) 70%, transparent) !important; }
:root.hy-scrub-drag, :root.hy-scrub-drag * { cursor: ew-resize !important; }
/* <hy-scrub>: the whole field, a 24 px well (the blocks' --hy-ctl-h): a 22 px handle cell with its 11 px letter (an X, Y, Z in its axis
   colour) or a 12 px icon, the number at 12 px in tabular digits, its unit muted; typing it, a 1.5 px ring of the selection's colour */
hy-scrub { position: relative; display: inline-flex; align-items: center; box-sizing: border-box; width: 88px; min-width: 0; height: var(--hy-ctl-h, 24px); border-radius: var(--hy-ctl-r, 6px);
  vertical-align: middle; background: var(--hy-well); color: var(--ink); font: 400 var(--hy-fs-12)/1 var(--sans); font-variant-numeric: tabular-nums; }
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
hy-scrub > .hy-scrub-l { width: 20px; min-width: 20px; margin: var(--hy-sp-2) 0 var(--hy-sp-2) var(--hy-sp-2); padding: 0; border-radius: 999px; color: var(--muted);
  font: 400 var(--hy-fs-11)/var(--hy-sp-12) var(--sans); font-style: normal; }
hy-scrub > .hy-scrub-l > svg { width: 12px; height: 12px; }
hy-scrub > .hy-scrub-l[data-axis=x] { color: var(--hy-axis-x); } hy-scrub > .hy-scrub-l[data-axis=y] { color: var(--hy-axis-y); }
hy-scrub > .hy-scrub-l[data-axis=z] { color: var(--hy-axis-z); }
hy-scrub > .hy-scrub-l:hover, hy-scrub.hy-scrubbing > .hy-scrub-l { color: var(--ink); }
hy-scrub > .hy-scrub-v { flex: 1; min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0 var(--hy-sp-2) 0 var(--hy-sp-4); border: 0; outline: 0; background: transparent; color: inherit;
  font: inherit; font-variant-numeric: tabular-nums; cursor: text; }
hy-scrub > .hy-scrub-u { flex: none; padding-right: var(--hy-sp-6); color: var(--muted); }
hy-scrub > .hy-scrub-u:empty { padding-right: var(--hy-sp-4); }
hy-scrub:focus-within { box-shadow: inset 0 0 0 1.5px var(--hy-sel); }
hy-scrub[disabled] { opacity: var(--hy-dis-op); }
/* fill: the room its row or strip gives; invalid: a red hairline while the page refuses what was typed; the angle's ∠ and the degree's ° as large as
   the letters beside them (scrub.js data-glyph; Frame Studio's ∠ at 12 px was half as tall as X, owner 2026-10-16) */
hy-scrub[fill] { flex: 1 1 0; width: auto; min-width: 0; }
hy-scrub[invalid] { box-shadow: inset 0 0 0 1px var(--hy-red); }
hy-scrub > :is(.hy-scrub-l, .hy-scrub-u)[data-glyph] { font-size: var(--hy-fs-17); line-height: var(--hy-sp-12); }
@media (prefers-reduced-motion: reduce) { .hy-scrub-h { transition: none; } }

   /* round 16's scrub a number: <hy-scrub> and scrub() on a page's own label (owner 2026-10-10) */

/* <hy-avatar> (ui/avatar.js): a person's face, his picture or his initials on his colour; an agent acting for him is a round badge on
   the bottom right, 45 % of the face, ringed in the surface it lies on (--hy-av-ring, the panel by default). 16, 20, 24, 28 (the top row) and 32 px.
   The badge alone (.hya-solo) is as big as a face: Settings › Profile › Agents. */
hy-avatar { --hya-s: 20px; position: relative; display: inline-block; flex: none; width: var(--hya-s); height: var(--hya-s); vertical-align: middle; line-height: 0; }
hy-avatar[size="16"] { --hya-s: 16px; } hy-avatar[size="24"] { --hya-s: 24px; } hy-avatar[size="28"] { --hya-s: 28px; } hy-avatar[size="32"] { --hya-s: 32px; }
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
hy-avatar .hya-p { display: grid; place-items: center; width: 100%; height: 100%; box-sizing: border-box; overflow: hidden; border-radius: 999px;
  background: var(--hya-c, var(--muted)); color: var(--hy-av-ink); font: 650 calc(var(--hya-s) * .42)/1 var(--sans); letter-spacing: -.02em;
  line-height: max(var(--hy-sp-12), round(nearest, calc(var(--hya-s) * .42), var(--hy-sp-4)));
  box-shadow: inset 0 0 0 1px var(--hy-swatch-rim); user-select: none; }
hy-avatar .hya-p[data-i]::before { content: attr(data-i); }
hy-avatar .hya-p img { display: block; width: 100%; height: 100%; object-fit: cover; }
hy-avatar .hya-p > svg { display: block; width: 62%; height: 62%; }   /* a face with no name and no picture: the registry's person */
/* the badge: our glyph on the kind's colour; the company's mark or this Mac's own picture lies over it (::after, ui/avatar.js paints which) */
/* hy-allow: radius-literal a dot, avatar or knob: a circle in both shapes */
.hya-b { display: grid; place-items: center; box-sizing: border-box; border-radius: 999px; background: var(--hy-ag-agent); color: var(--hy-on-accent); }
.hya-b svg { display: block; width: 78%; height: 78%; }
.hya-b::after { position: absolute; inset: 0; border-radius: inherit; background: center / cover no-repeat; box-shadow: inset 0 0 0 .5px var(--hy-swatch-rim); }
hy-avatar .hya-b { position: absolute; right: calc(var(--hya-s) * -.1); bottom: calc(var(--hya-s) * -.1);
  width: calc(var(--hya-s) * .45); height: calc(var(--hya-s) * .45); box-shadow: 0 0 0 2px var(--hy-av-ring, var(--panel)); }
hy-avatar[size="16"] .hya-b { box-shadow: 0 0 0 1.5px var(--hy-av-ring, var(--panel)); }
.hya-b.hya-solo { position: relative; flex: none; width: var(--hya-bs, 24px); height: var(--hya-bs, 24px); overflow: hidden; }
.hya-b.hya-solo svg { width: 62%; height: 62%; }
.hya-b[data-k=claude] { background: var(--hy-ag-claude); }
.hya-b[data-k=codex] { background: var(--hy-ag-codex); }
.hya-b[data-k=gemini] { background: var(--hy-ag-gemini); }
.hya-b[data-k=kimi] { background: var(--hy-ag-kimi); }
.hya-b[data-k=opencode] { background: var(--hy-ag-opencode); }
/* a row of faces (Home's news, a thread's people): each over the one before by a third */
.hy-faces { display: inline-flex; align-items: center; }
.hy-faces > hy-avatar + hy-avatar { margin-left: calc(var(--hya-s) * -.3); }
.hy-faces > hy-avatar .hya-p { box-shadow: 0 0 0 1.5px var(--hy-av-ring, var(--panel)); }

   /* <hy-avatar>, defined by ui/avatar.js (a classic script: Home loads no modules) */

/* The app's one field (round 14 of «shell, one look», sheet A, Concepts/html/shell-unify-r14/r14-a-fields-split.html; owner 2026-10-29:
   «Интерфейс: 2 Тихое поле, кнопка. Студии: как сейчас»). A box a person types in or picks a value from wears .hy-fld: a search's input
   (ui/hy/search.js), a value button (.hy-sel, ui/palette.js), a text field, a reply box. The look is the three tokens of ui/tokens.css
   (--hy-field, --hy-field-hov, --hy-field-foc): a quiet well a step lighter than its ground, no border, no ring; the focus is the well one step
   brighter, not a line round it. A place sets only its geometry (height, corner, padding, font), never a ground, a border or a shadow.
   Studios (a block .hy-blk, a studio's search .hy-q-well) keep the dark well they had (--hy-well), the ring stays there (ui/look.css).
   A box that sends what is typed in it also carries .hy-compose and ends with the send (below). */
/* Selected words in a text being written: the letters read through (--hy-sel-text). The one rule for the board's text and docs boxes (textarea), Frame Studio's
   text on the picture (.txe) and a name being renamed (.hy-rename); a box of its own writes no ::selection (2026-11-04: it was written three times). */
:is(textarea, [contenteditable], .txe, .hy-rename)::selection { background: var(--hy-sel-text); }
.hy-fld { background: var(--hy-field); border: 0; box-shadow: none; outline: 0; transition: background-color var(--hy-t-base) ease; }
/* No fill on a box one types in, anywhere in the interface (owner 2026-11-11 on the grid preview: «серое выделение полей нахрена… в bug report…
   короче везде где это добавлено это точно нужно без цвета», with Frame Studio's Feather field): the field tokens are transparent (ui/tokens.css) and
   a place's own well under an input, a text area or a select is taken off here. The board's content keeps its own (its Kanban and table cards are
   interface and follow). A search's input keeps its tray (--hy-tray, ui/hy/search.css) */
:is(input:is([type=text], [type=number], [type=email], [type=url], [type=password], [type=tel], :not([type])), textarea, select):not(#world *, .hy-search > input),
#world :is(.plg[data-type="kanban"], .plg[data-type="table"])
  :is(input:is([type=text], [type=number], [type=email], [type=url], [type=password], [type=tel], :not([type])), textarea, select) {
  background-color: transparent !important; background-image: none !important; }
/* a box of a page's own markup (not .hy-fld, the well, a rename, a compose box, a search) takes the field's look too: no line, no shadow, no ring */
input:is([type=text],[type=number],[type=email],[type=url],[type=password],[type=tel],:not([type])):not(.hy-fld,.hy-well,.hy-rename,.hy-compose,.hy-search *,.hy-q *,[data-hyq] *,#world *),
:is(textarea, select):not(.hy-fld, .hy-well, .hy-rename, .hy-compose, .hy-search *, .hy-q *, [data-hyq] *, #world *) {
  border: 0 !important; box-shadow: none !important; outline: 0 !important; }
.hy-fld:hover:not(:disabled) { background: var(--hy-field-hov); }
.hy-fld:is(:focus-within, [aria-expanded=true]) { background: var(--hy-field-foc); box-shadow: none; }
/* as every disabled control (hy-check, hy-chip, hy-switch ...): the one --hy-dis-op, no lift under the pointer */
.hy-fld:disabled { background: var(--hy-field); opacity: var(--hy-dis-op); cursor: default; }
:is(.hy-blk, .hy-q-well) .hy-fld { --hy-field: var(--hy-well); --hy-field-hov: var(--hy-well-hov); --hy-field-foc: var(--hy-well); }
.hy-blk .hy-fld[aria-expanded=true] { background: var(--hy-well-hov); }
/* Typed words in a field row (round 12 of «Панели», patterns.html: «typed words .hy-fld on .hy-well»): the well is the box around the input, the input itself
   keeps no fill (above). <label class="hy-well hy-txt"><input class="hy-fld" …></label>: a component's text prop, a set's captions, a plugin panel's text */
.hy-txt { display: flex; align-items: center; min-width: 0; border-radius: var(--hy-ctl-r); cursor: text; }
.hy-txt > input { flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0 var(--hy-sp-8); color: var(--ink); font: 400 var(--hy-fs-12) var(--sans); }

/* The send of a compose box: the note's corner glyph (owner 2026-11-02: «в chat и в comment должна быть такая же кнопка/символ в углу для
   отправки: поле, в котором пишешь, и просто в углу enter symbol, как у notes»). It is <hy-icon-button variant="send" size="s"> with the glyph
   ↵ as its words: bare, no plate and no round, the font and the quiet of the key hint written on a note (ui/hy/keyhint.css,
   hy-keyhint[bare]), but the button's own real <button> inside (the keyboard, the ring from ui/look.css, its name read aloud), a hit area
   of 24. Dim while the box is empty (there is nothing to send: hover does not brighten it), the note's quiet once there is a word, full on
   hover; a keyboard focus lights it so the ring is seen. The one markup for every compose box:
     <div class="hy-compose"><textarea class="hy-fld" placeholder="Reply…"></textarea>
       <hy-icon-button variant="send" size="s" label="Send · ↵">↵</hy-icon-button></div>
   A direct child of .hy-compose lies in the box's bottom right corner, inside the field (a place sets --hy-send-r and --hy-send-b to the
   field's own corner and gives the field room on the right, so words never run under it). In a row of other controls (the agent's input:
   Chat | Voice, the chip, the mic) the same element is an ordinary item at the end of that row, inside the compose box, and the row is not
   changed. The empty state reads the field's placeholder, so the field has one. */
.hy-compose { position: relative; }
hy-icon-button[variant=send] { background: transparent; color: var(--ink); opacity: .55; }
.hy-compose > hy-icon-button[variant=send] { position: absolute; right: var(--hy-send-r, 10px); bottom: var(--hy-send-b, 8px); }
.hy-compose:has(textarea:not(:placeholder-shown)) hy-icon-button[variant=send]:hover { opacity: 1; }
.hy-compose:has(textarea:placeholder-shown) hy-icon-button[variant=send] { opacity: .25; cursor: default; }
.hy-compose hy-icon-button[variant=send]:has(> button:focus-visible) { opacity: 1; }

   /* one field: the quiet well of every search, text field and value button, .hy-fld (round 14, sheet A, owner 2026-10-29) */

/* A pair of sizes, W ↔ H (owner 2026-11-18 on the output size row of a Studio, W · link · H px: «вот же элементарное решение, может не такое яркое, но вот так можно»):
   two fields of one width, the proportions' link between them, their unit once, inside the last field, when both have the same one. One markup wherever two sizes stand together
   (the Properties inspector's Size row, a Studio's canvas, transform and output size):
     <div class="hy-pair"><hy-scrub label="W" …></hy-scrub><hy-icon-button size="s" icon="linkWH" on label="Proportions linked"></hy-icon-button>
       <hy-scrub label="H" unit="px" …></hy-scrub></div>
   A field is any child (a <hy-scrub>, a well with an input, a field's wrapper); each keeps its own letter or icon. The shared unit stands inside the last field's box,
   at its right edge, never outside the fields (owner 2026-11-18: «cm я бы внутрь поместил»). The key is a setting of the two numbers, read beside them, so on it is a
   neutral muted key (--hy-on-fill, --hy-on-ink), in a Studio too: not the Studio's colour, which is the fill of a tool in hand. */
.hy-pair { display: flex; align-items: center; gap: var(--hy-gap-ctl); min-width: 0; }
.hy-pair > :not(hy-icon-button) { flex: 1 1 0; min-width: 0; width: auto; }
:is(.hy-pair, .hy-nums) > hy-icon-button { flex: none; }
:is(.hy-pair, .hy-nums) > hy-icon-button[on] { background: var(--hy-on-fill); color: var(--hy-on-ink); }   /* a set's uniform link too (ui/hy/nums.css) */
/* A narrow pair (the inspector in a panel under ~300 px: its fields are 57 to 66 px wide) never cuts a number: a field narrower than a 4-digit number
   and its unit need lets the unit go, and under 64 px its letter's cell steps from 20 to 16 px, so «H 1080» stays whole at 280 (2026-11-18 check
   of the pair at 290 and 280: «12(», «144(»). The number matters more than the unit beside it; the unit comes back when the panel is wider.
   A set of numbers (.hy-nums: X Y Z, four sides) and a lone number of a field row (.hy-prow > hy-scrub: Corners, a colour's opacity) follow the same
   rule; under 48 px (four sides at 280) the letter's cell is 12 px */
:is(.hy-pair, .hy-nums) > :not(hy-icon-button), .hy-prow > hy-scrub { container-type: inline-size; }
@container (max-width: 75.98px) { :is(.hy-pair, .hy-nums, .hy-prow) hy-scrub > .hy-scrub-u { display: none; } }
@container (max-width: 63.98px) { :is(.hy-pair, .hy-nums, .hy-prow) hy-scrub > .hy-scrub-l { width: 16px; min-width: 16px; } }
@container (max-width: 47.98px) { :is(.hy-pair, .hy-nums, .hy-prow) hy-scrub > .hy-scrub-l { width: 12px; min-width: 12px; }
  :is(.hy-pair, .hy-nums, .hy-prow) hy-scrub > .hy-scrub-v { padding-left: var(--hy-sp-2); } }

/* The link's glyph (owner 2026-10-07: «и какая-то анимация, чтобы понятно было, что включили»): ui/icons.js linkWH, its halves .la and .lb, the bar between them .lm.
   Off, the halves stand apart and the bar is gone; on, they close on the bar along the app's curve in 240 ms. In a pair the key's own [on] says which; a link that stands
   alone (a layer's chain, a bar's key) is an svg .hy-link, closed by .on on it or on its button */
:is(.hy-link, :is(.hy-pair, .hy-nums) > hy-icon-button) :is(.la, .lb, .lm) { transform-box: view-box; transform-origin: 12px 12px;
  transition: transform var(--hy-t-base) var(--hy-ease), opacity var(--hy-t-base) var(--hy-ease); }
:not(.on) > .hy-link:not(.on) .la, :is(.hy-pair, .hy-nums) > hy-icon-button:not([on]) .la { transform: translateX(-2.5px); }
:not(.on) > .hy-link:not(.on) .lb, :is(.hy-pair, .hy-nums) > hy-icon-button:not([on]) .lb { transform: translateX(2.5px); }
:not(.on) > .hy-link:not(.on) .lm, :is(.hy-pair, .hy-nums) > hy-icon-button:not([on]) .lm { transform: scaleX(0); opacity: 0; }
@media (prefers-reduced-motion: reduce) { :is(.hy-link, :is(.hy-pair, .hy-nums) > hy-icon-button) :is(.la, .lb, .lm) { transition: none; } }

   /* a pair of sizes, W ↔ H: two fields, the link between them, one unit at the end (.hy-pair, owner 2026-11-18); the link's glyph .hy-link */

/* A field row of a panel (round 12 of «Панели: одна система», owner 2026-11-18 on a Studio's own size row, W · link · H px: «вот же элементарное
   решение, может не такое яркое, но вот так можно… и остальные посмотри элементы, может можно ещё подобными или другими решениями объединить или
   упростить»; the spec is Concepts/html/panels-system-r12/patterns.html and parts.html). One grid in every panel, the board's Info and Properties and
   the Studios: the word 72 (--hy-prow-w), field A, the joint 24 (--hy-ctl-h), field B, 4 px between (--hy-gap-ctl), no tail column. A row is as
   wide as its plate leaves (288 on the 320 plate) and every row ends on the same right edge.
     <div class="hy-prow" data-one><span class="hy-prow-w"><span>Corners</span><i class="hy-rdot" hidden><button type="button" aria-label="Reset · Corners">
       </button></i></span><hy-scrub icon="radius" …></hy-scrub></div>
   ui/hy/prow.js writes that markup (hyProw.row, hyProw.dot). What stands where follows from what it is:
     a number (<hy-scrub>) or a colour (.hy-color)          A; a second number after it B (Spacing: line height and letter spacing; a colour's opacity);
                                                            after a colour anything stands in B (its opacity, or the name of the token it edits as a fact)
     a pair (.hy-pair)                                      A, the joint, B: its link in the joint, nothing there when the two numbers do not depend
     a strip (.hy-strip) after a number                     the joint and B (Order: Z, then its four buttons)
     a toggle (<hy-minitoggle>), a 3 × 3 grid (.hy-grid9)    A, at its start
     a fact (.hy-fact) and a key (<hy-icon-button>) after it  the fact A and the joint, the key at the end of B
     anything else (a choice, a list, a set .hy-nums, a text field, swatches, a fact)   A to B
   A row without a word continues the row above (a second line of presets). The word is --muted and stands at the top of a tall row (a text area,
   the grid). While the value differs from its default a dot stands after the word (.hy-rdot): under the pointer or the keyboard's focus it turns into
   the reset sign, a click or ↵ puts the default back (the page listens for the click on its button and hides the dot again). In a row whose only
   field is one number and that says data-one (Corners, Blur, a text's Size, Padding, Gap; never a colour's opacity or Order's Z) the word drags that
   number too (ui/hy/scrub.js scrubWord). The dot's reset sign is the registry's own icon drawn by CSS (--hy-ic-reset, ui/icons.js), so the button needs
   no markup inside. A row is a container (hy-prow), which needs a width from what holds it: in a box that takes its content's width (inline-block, a
   flex item with flex: none, a float) it would have none, so such a box gives it one; --hy-prow-min is its floor there. */
.hy-prow { display: grid; grid-template-columns: var(--hy-prow-w) minmax(0, 1fr) var(--hy-ctl-h) minmax(0, 1fr); column-gap: var(--hy-gap-ctl);
  align-items: center; min-width: var(--hy-prow-min); min-height: var(--hy-ctl-h); container: hy-prow / inline-size; }   /* a container: a set evens out in a narrow row */
.hy-prow + .hy-prow { margin-top: var(--hy-gap-ctl); }   /* 4 px between rows in a plate (r12 sheet 7: the blocks' 2 px is for a Studio's lists) */
.hy-prow > * { grid-column: 2 / -1; min-width: 0; }
.hy-prow > :is(hy-scrub, .hy-color) { grid-column: 2; width: auto; }
.hy-prow > :is(hy-scrub, .hy-color) ~ hy-scrub, .hy-prow > .hy-color ~ * { grid-column: 4; }
.hy-prow > :is(hy-scrub, .hy-color) ~ .hy-strip { grid-column: 3 / -1; }
.hy-prow > hy-icon-button { grid-column: 3; }
.hy-prow > :is(hy-minitoggle, .hy-grid9) { grid-column: 2; justify-self: start; }
/* a value to read with its key after it (a text box's words and its Auto): the fact from A through the joint, the key at the end of B */
.hy-prow > .hy-fact:has(~ hy-icon-button) { grid-column: 2 / 4; }
.hy-prow > .hy-fact ~ hy-icon-button { grid-column: 4; justify-self: end; }
/* a pair hosted by the row: its fields under A and B, its link in the joint, the joint left empty when there is no link (Offset X, Y) */
.hy-prow > .hy-pair { display: grid; grid-template-columns: minmax(0, 1fr) var(--hy-ctl-h) minmax(0, 1fr); column-gap: var(--hy-gap-ctl); }
.hy-prow > .hy-pair > :not(hy-icon-button):first-child { grid-column: 1; }
.hy-prow > .hy-pair > hy-icon-button { grid-column: 2; }
.hy-prow > .hy-pair > :not(hy-icon-button):last-child { grid-column: 3; }
/* a choice of two to four in a row: the track 24, an option 20 with 4 px corners (r12 sheet 7; the micro choice of a Studio's bar keeps 22 and 18) */
.hy-prow > hy-segmented[variant=micro] { --hy-so: 20px; }

/* the word: muted, cut with an ellipsis, a row's first 24 px tall so it stays at the top of a taller row */
.hy-prow > .hy-prow-w { grid-column: 1; align-self: start; display: flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-ctl-h); min-width: 0;
  color: var(--muted); font: 400 var(--hy-fs-12)/var(--hy-sp-16) var(--sans); }
.hy-prow-w > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hy-prow-w > span.hy-scrub-h { display: block; flex: 0 1 auto; line-height: var(--hy-ctl-h); }   /* the word that drags the row's number: the handle's pill */
.hy-prow:has(> hy-scrub[disabled]) > .hy-prow-w > .hy-scrub-h { background: none; color: inherit; cursor: default; }   /* a number that is off: its word too */

/* the reset dot: 5 px in the selection's colour (a Studio's own inside a Studio), a 17 px target; the reset sign in its place under the pointer
   or the focus. hidden while the value is the default, so it is no Tab stop then */
.hy-rdot { position: relative; display: inline-grid; place-items: center; flex: none; width: 5px; height: 5px; }
.hy-rdot[hidden] { display: none; }
/* hy-allow: radius-literal a dot: a circle in both shapes */
.hy-rdot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hy-sel); transition: opacity var(--hy-t-fast) ease; }
.hy-rdot > button { position: absolute; inset: calc(-1 * var(--hy-sp-6)); display: grid; place-items: center; margin: 0; padding: 0; border: 0;
  border-radius: var(--hy-r-1); background: transparent; color: var(--ink); cursor: pointer; }
.hy-rdot > button::after { content: ""; width: 13px; height: 13px; background: currentColor; opacity: 0; transition: opacity var(--hy-t-fast) ease;
  -webkit-mask: var(--hy-ic-reset) center / contain no-repeat; mask: var(--hy-ic-reset) center / contain no-repeat; }
.hy-rdot > button > svg { display: none; }   /* a sign written inside (before the CSS one) is not drawn twice */
.hy-rdot:is(:hover, :focus-within)::before { opacity: 0; }
.hy-rdot:is(:hover, :focus-within) > button::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hy-rdot::before, .hy-rdot > button::after { transition: none; } }

   /* a field row of a panel: the word 72, A, the 24 px joint, B, and its reset dot (round 12 of «Панели», owner 2026-11-18) */

/* A set of three or four numbers of one quantity (round 12 of «Панели: одна система», owner 2026-11-18; patterns.html, pattern 4): X Y Z of a
   position, a rotation or a scale, the four sides of a padding. It takes the row from A to B; three fields share it 1 · 1 · 1.3, the last a step wider
   for the row's one unit, which stands inside it at its right edge (owner 2026-11-18: «cm я бы внутрь поместил»); four share it evenly.
     <div class="hy-nums" role="group" aria-label="Location"><hy-scrub label="X" …></hy-scrub><hy-scrub label="Y" …></hy-scrub>
       <hy-scrub label="Z" unit="cm" …></hy-scrub></div>
   A uniform link (one value for all of them, 3D's Scale) is the set's last child, a 24 px key at the right end: while it is on, the set shows its one
   field (.hy-nums-one, the first child) across the three, and the three again when it is off. The key's look, its glyph and the rule that lets the
   unit go before a number is cut are the pair's (ui/hy/pair.css), shared, not copied. ui/hy/nums.js reads a padding typed «8 16» and says which
   fields to draw. */
.hy-nums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); column-gap: var(--hy-gap-ctl); align-items: center; min-width: 0; }
.hy-nums > hy-scrub { width: auto; min-width: 0; }
.hy-nums:has(> hy-scrub:not(.hy-nums-one) ~ hy-scrub:not(.hy-nums-one) ~ hy-scrub:not(.hy-nums-one) ~ hy-scrub:not(.hy-nums-one)) {
  grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hy-nums:has(> hy-icon-button) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) var(--hy-ctl-h); }
.hy-nums > hy-icon-button { grid-column: -2; grid-row: 1; }
.hy-nums > .hy-nums-one { grid-column: 1 / 4; grid-row: 1; }
.hy-nums:has(> hy-icon-button[on]) > hy-scrub:not(.hy-nums-one), .hy-nums:not(:has(> hy-icon-button[on])) > .hy-nums-one { display: none; }
/* a row narrower than 272 (a panel under 304: 290, 280) lets the unit go anyway, so the last field gives back its extra width: three even fields keep
   «-63» and «100» whole (2026-11-18 check in WebKit at 280: X «100» cut at 41 px) */
@container hy-prow (max-width: 271.98px) {
  .hy-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hy-nums:has(> hy-icon-button) { grid-template-columns: repeat(3, minmax(0, 1fr)) var(--hy-ctl-h); }
}

   /* a set of three or four numbers, X Y Z or four sides, the unit inside the last, a uniform link (round 12 of «Панели») */

/* A field's token control (owner 2026-11-07: «токены которые мы можем ставить, а не просто номера вписывать»; round 12 of «Панели: одна система», owner
   2026-11-18: no tail column for it, it stays inside the field). A layer over the field's cell, written right after the field in its row or pair (so Tab
   comes to it after the field): the token key at the field's right end, shown while the field is under the pointer or in focus and while bound; a bound
   field's chip with the token's short name over its number (a colour's square before it), hidden while the number is typed; a dot on the key when the
   value equals a token. The page opens its list from the key and the chip (the app's one list, ui/favlist.js) and writes the choice.
     <hy-scrub …></hy-scrub><span class="hy-tok c2 bound"><span class="hy-tok-c" role="button" tabindex="0"><span>space-4</span></span>
       <hy-icon-button class="hy-tok-b" size="s" icon="token" label="Token space-4: click to change"></hy-icon-button><i class="hy-tok-d"></i></span>
   Its cell: c2 field A, c4 field B, cw A to B (ui/hy/prow.css; in a pair c2 and c4 are its two fields). Its chip's start: 24 px after a handle, l0 a field
   with none, lc after a colour's square. Used by Dev Studio's inspector (review/ui/inspector/tokenui.js) and Design Studio's panel, one markup. */
.hy-prow, .hy-prow > .hy-pair { position: relative; }   /* the layer's containing blocks: it takes its cell's box */
.hy-tok { position: absolute; inset: 0; grid-row: 1; pointer-events: none; --hy-tok-l: 24px; }
.hy-prow > .hy-tok.c2 { grid-column: 2; } .hy-prow > .hy-tok.c4 { grid-column: 4; } .hy-prow > .hy-tok.cw { grid-column: 2 / -1; }
.hy-pair > .hy-tok.c2 { grid-column: 1; } .hy-pair > .hy-tok.c4 { grid-column: 3; }
.hy-prow > .hy-pair > hy-scrub:nth-of-type(2) { grid-column: 3; }   /* B after its token layer: in its cell, never the joint */
.hy-tok.l0 { --hy-tok-l: 0px; } .hy-tok.lc { --hy-tok-l: 26px; }
.hy-tok-b { position: absolute; right: 0; top: 0; z-index: var(--hy-z-local-2); opacity: 0; pointer-events: none; background: var(--hy-well-hov); color: var(--muted);
  transition: opacity var(--hy-t-base) var(--hy-ease), color var(--hy-t-base) var(--hy-ease); }
:is(.hy-prow, .hy-pair) > :is(:hover, :focus-within) + .hy-tok > .hy-tok-b, .hy-tok:hover > .hy-tok-b, .hy-tok.bound > .hy-tok-b, .hy-tok-b:focus-visible {
  opacity: 1; pointer-events: auto; }
.hy-tok-b:hover, .hy-tok.bound > .hy-tok-b { color: var(--hy-sel); }
/* hy-allow: radius-literal a dot: a circle in both shapes */
.hy-tok-d { position: absolute; z-index: var(--hy-z-local-3); right: 4px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--hy-sel); }
.hy-tok-c { position: absolute; z-index: var(--hy-z-local); left: var(--hy-tok-l); right: 26px; top: 2px; bottom: 2px; display: flex; align-items: center; gap: var(--hy-sp-6);
  min-width: 0; padding: 0 var(--hy-sp-6); border-radius: var(--hy-r-1); background: color-mix(in srgb, var(--hy-sel) 16%, var(--hy-well)); color: var(--ink);
  cursor: pointer; pointer-events: auto; font: 400 var(--hy-fs-12) var(--sans); transition: background-color var(--hy-t-base) var(--hy-ease); }
.hy-tok-c:hover { background: color-mix(in srgb, var(--hy-sel) 26%, var(--hy-well)); }
.hy-tok-c > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hy-tok-c.mix { color: var(--muted); }
.hy-prow:has(input:focus) > .hy-tok > .hy-tok-c, .hy-pair:has(input:focus) > .hy-tok > .hy-tok-c { visibility: hidden; }   /* typing the number detaches */
.hy-tok-s { flex: none; display: inline-block; width: 12px; height: 12px; border-radius: var(--hy-r-1); }   /* a colour token's square; its rim: .hy-sw (swatch.css) */
@media (prefers-reduced-motion: reduce) { .hy-tok-b, .hy-tok-c { transition: none; } }

   /* a field's token control, the layer over its cell: the key, the bound chip, the dot (Dev's inspector, Design Studio; 2026-11-18) */

/* A colour field (round 12 of «Панели: одна система», owner 2026-11-18; patterns.html, pattern 9): in A an outlined square of the colour and its hex,
   in B the opacity as its own field with its icon (<hy-scrub icon="opacity" unit="%">), two fields as before (owner 2026-11-18 on the one-field try:
   «тут явно было удобнее и иконка была»). A colour without an opacity leaves B empty. The square wears the swatches' rim (ui/hy/swatch.css: ink at
   16 % at its edge, owner 2026-11-18: «и обводка цвета тоже хорошая, её нужно employ»), a transparent colour lies on a checker.
     <div class="hy-color" style="--hy-c:#b8b8b4"><span class="hy-color-sw"><input type="color" value="#b8b8b4" aria-label="Colour"></span>
       <input class="hy-color-hex" value="B8B8B4" spellcheck="false" aria-label="Colour, hex"></div>
   ui/hy/color.js writes it (hyColor.html) and makes every one alive without a call: the square opens the system's picker, the hex is typed (↵ keeps
   it, Esc puts it back, a text that is no colour says invalid), and the field says hy-input while the picker moves and hy-change once it is kept. */
.hy-color { box-sizing: border-box; display: flex; align-items: center; gap: 0; height: var(--hy-ctl-h); min-width: 0; padding: 0 0 0 var(--hy-sp-4);
  border-radius: var(--hy-ctl-r); background: var(--hy-well); color: var(--ink); font: 400 var(--hy-fs-11-5) "Geist Mono", ui-monospace, monospace;
  transition: background-color var(--hy-t-base) ease; }
.hy-color:hover { background: var(--hy-well-hov); }
.hy-color:focus-within { box-shadow: inset 0 0 0 1.5px var(--hy-sel); }
.hy-color[invalid] { box-shadow: inset 0 0 0 1px var(--hy-red); }
.hy-color[disabled] { opacity: var(--hy-dis-op); pointer-events: none; }
/* the square: the colour over a checker that shows only where the colour lets it through, the rim at its edge */
.hy-color-sw { position: relative; flex: none; width: 16px; height: 16px; margin-right: var(--hy-sp-6); border-radius: var(--hy-r-1); overflow: hidden;
  background: linear-gradient(var(--hy-c, transparent), var(--hy-c, transparent)),
    conic-gradient(var(--hy-color-chk) 25%, transparent 0 50%, var(--hy-color-chk) 0 75%, transparent 0) 0 0 / 8px 8px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 16%, transparent); cursor: pointer; }
.hy-color { --hy-color-chk: color-mix(in srgb, var(--ink) 14%, transparent); }
/* raw: a value that is no plain colour (a gradient, url(), var(), a word, transparent) paints the square itself and its words stay as written */
.hy-color[raw] > .hy-color-sw { background: var(--hy-c-raw), conic-gradient(var(--hy-color-chk) 25%, transparent 0 50%, var(--hy-color-chk) 0 75%, transparent 0) 0 0 / 8px 8px;
  background-size: cover, 8px 8px; }
.hy-color[raw] > .hy-color-hex { font-family: var(--sans); }
.hy-color-sw > input[type=color] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.hy-color-hex { flex: 1 1 auto; min-width: 0; height: 100%; margin: 0; padding: 0 var(--hy-sp-8) 0 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit;
  font-variant-numeric: tabular-nums; }   /* the hex in capitals: color.js writes it so, a typed one is written so once kept */
.hy-color-hex::placeholder { color: var(--muted); font-family: var(--sans); }
/* a narrow A (a 280 panel: 70 px) keeps the six digits whole: less room around them and the hex a half step smaller (2026-11-18 check, WebKit: «B8B8B») */
.hy-color { container-type: inline-size; }
@container (max-width: 75.98px) { .hy-color-sw { margin-right: var(--hy-sp-4); } .hy-color-hex { padding-right: var(--hy-sp-2); font-size: var(--hy-fs-11); } }
@media (prefers-reduced-motion: reduce) { .hy-color { transition: none; } }

   /* a colour field: the outlined square and the hex, the opacity a field of its own beside it (round 12 of «Панели») */

/* A strip of buttons of one kind in one well (round 12 of «Панели: одна система», owner 2026-11-18; patterns.html, pattern 11): nothing in it stays
   chosen, each press does its thing once: the order of a block (to the front, forward, backward, to the back: «вот это мне больше нравится», «А
   конечно», Order = Z and the strip), a frame's standard sizes. A well 24 tall, buttons 20 with 4 px corners sharing its width; a last button marked
   data-more opens a list (28 wide, a chevron). One Tab stop, ← → move inside it (ui/hy/rove.js).
     <div class="hy-strip" role="group" aria-label="Order"><button type="button" aria-label="Bring to front" title="Bring to front"><svg…></button>…</div> */
.hy-strip { box-sizing: border-box; display: flex; align-items: center; gap: 0; height: var(--hy-ctl-h); min-width: 0; padding: var(--hy-sp-2);
  border-radius: var(--hy-ctl-r); background: var(--hy-well); }
.hy-strip > button { flex: 1 1 0; min-width: 0; height: calc(var(--hy-ctl-h) - 2 * var(--hy-sp-2)); display: grid; place-items: center; margin: 0;
  padding: 0 var(--hy-sp-4); border: 0; border-radius: var(--hy-r-1); background: transparent; color: var(--sub);
  font: 400 var(--hy-fs-12) var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer;
  transition: background-color var(--hy-t-fast) ease, color var(--hy-t-fast) ease, scale var(--hy-press-t) ease; }
.hy-strip > button:hover { background: var(--hy-hov); color: var(--ink); }
.hy-strip > button:active { scale: var(--hy-press); background: var(--hy-press-fill); }
.hy-strip > button:disabled { color: var(--hy-dis-ink); cursor: default; background: transparent; }
/* a button of the strip that is a two-state key (aria-pressed: a layer's flip) shows on while it is on, on the value's plate (a Studio's own colour in a Studio) */
.hy-strip > button[aria-pressed=true] { background: var(--hy-val-on); color: var(--hy-val-ink); }
.hy-strip > button > svg { width: 13px; height: 13px; }
.hy-strip > button[data-more] { flex: 0 0 28px; }
@media (prefers-reduced-motion: reduce) { .hy-strip > button { transition: none; } }

   /* buttons of one kind in one well, none stays chosen: Order's four, the standard sizes (round 12 of «Панели») */

/* A choice of a place in 3 × 3 (round 12 of «Панели: одна система», owner 2026-11-18; patterns.html, pattern 6): a canvas's anchor, the alignment of
   a flex box's children. Until now two copies (the inspector's grid of icon buttons, Frame Studio's anchor of nine dots); one part now: a well with
   nine 22 px cells, 2 px apart, a dot in each, the chosen cell on the value's plate (--hy-val-on) with its dot in ink and larger. A radio group: one
   Tab stop on the chosen cell, the arrows move in two directions (ui/hy/rove.js), a click or Space chooses and says hy-change { value: 0…8, x, y }.
     <div class="hy-grid9" role="radiogroup" aria-label="Anchor"><button type="button" role="radio" aria-checked="false" aria-label="Top left"></button>…</div> */
.hy-grid9 { box-sizing: border-box; display: inline-grid; grid-template-columns: repeat(3, 22px); grid-auto-rows: 22px; gap: var(--hy-sp-2);
  padding: var(--hy-sp-2); border-radius: var(--hy-ctl-r); background: var(--hy-well); }
.hy-grid9 > button { position: relative; display: grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: var(--hy-r-1);
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color var(--hy-t-fast) ease; }
/* hy-allow: radius-literal a dot: a circle in both shapes */
.hy-grid9 > button::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; transition: scale var(--hy-t-fast) var(--hy-ease); }
.hy-grid9 > button:hover { background: var(--hy-hov); color: var(--ink); }
.hy-grid9 > button[aria-checked=true] { background: var(--hy-val-on); color: var(--hy-val-ink); }
.hy-grid9 > button[aria-checked=true]::before { scale: 1.5; }
.hy-grid9 > button:disabled { color: var(--hy-dis-ink); cursor: default; background: transparent; }
@media (prefers-reduced-motion: reduce) { .hy-grid9 > button, .hy-grid9 > button::before { transition: none; } }

   /* a place in 3 × 3: a canvas's anchor, a flex box's alignment, one part for two copies (round 12 of «Панели») */

/* A value to read (round 12 of «Панели: одна система», owner 2026-11-18; patterns.html, pattern 14): no well, from the start of A, the word beside it
   in the row's column. The board's Info and a card's Properties: File, Generation, Source. In ink, 12 / 16, cut with an ellipsis (its title the whole
   text), selectable; .mono a path or a file name, .mute what is not recorded. A link inside it is a <u> or <a> the page wires.
     <div class="hy-prow"><span class="hy-prow-w"><span>File</span></span><span class="hy-fact mono" title="Breadcrumb.tsx">Breadcrumb.tsx</span></div> */
.hy-fact { display: block; min-width: 0; overflow: hidden; color: var(--ink); font: 400 var(--hy-fs-12)/var(--hy-sp-16) var(--sans); text-overflow: ellipsis;
  white-space: nowrap; user-select: text; -webkit-user-select: text; }
.hy-fact.mono { font: 400 var(--hy-fs-11-5)/var(--hy-sp-16) "Geist Mono", ui-monospace, monospace; }
.hy-fact.mute { color: var(--muted); }
/* .wrap: a fact that is read whole, not cut (a check's reason, an address): its lines wrap, a long word or URL breaks anywhere; the row grows, the word stays at its top */
.hy-fact.wrap { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
/* a colour read (Dev Studio's computed styles): its square before the words, --hy-c the colour, the swatches' rim (.hy-sw, ui/hy/swatch.css) */
.hy-fact > .hy-sw { display: inline-block; width: 10px; height: 10px; margin-right: var(--hy-sp-6); border-radius: var(--hy-r-1); vertical-align: -1px;
  background: var(--hy-c, transparent); }
.hy-fact :is(u, a) { color: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; cursor: pointer; }
.hy-fact :is(u, a):hover { text-decoration-color: currentColor; }

   /* a value to read in a row: no well, from the start of A (round 12 of «Панели») */

/* The field that takes a name's place while the name is typed in (the group's title on the board, the same title stuck at the top): one border
   (the selection's), one corner (--hy-r-2), the panel's ground and the selected words in the text-selection colour (field.css). A place sets
   only its geometry: the width, and --rn-k when it sits in a zoomed space (the board's groups: calc(1 / var(--z))). The keys are
   ui/typing.js hyTyping.keys, the hint beside it is hyHint (↵ saves). Applied by class on a textarea or an input: <textarea class="hy-rename"> */
.hy-rename { --rn-k: 1; display: block; box-sizing: border-box; margin: 0; font: inherit; line-height: inherit; color: var(--ink); background: var(--panel);
  border: calc(1px * var(--rn-k)) solid var(--sel); border-radius: calc(var(--hy-r-2) * var(--rn-k)); padding: calc(var(--hy-sp-2) * var(--rn-k)) calc(var(--hy-sp-6) * var(--rn-k));
  outline: 0; resize: none; overflow: hidden; }

   /* the field in a name's place while it is renamed: a group's title, its stuck copy (ui/board-groups.js, board-cull.js) */

/* The app's one search field (ui/hy/search.js; round 3 of «shell, one look», r3-search 1 A: a well without a hairline, its height by the
   place; owner 2026-10-28: «почему Search/filter input не консистентные в разных местах»). Every place is the same markup and these rules;
   a size changes tokens only, a place changes nothing but its width and where it stands:
     field   32 / 9   panels, windows, popovers, Home
     well    24 / 6   a studio's block, the rows' height (the block's corner, ui/hy/block.css)
     pill    36       a dock, its round form (the board's ⌘F, the library window's search); 8 in «pro» as every pill
     head    42       a menu's head: a strip the menu's width, a line under it, no well (hyPalette.menu, hyFavList)
   The ground is the field's (ui/hy/field.css, round 14, owner 2026-10-29: the quiet well, no ring); only the studio's «well» size keeps the
   dark well and the ring (ui/look.css :focus-visible), in the place's colour (--hy-sel: pink in 3D, green in Dev).
   The right end (.hy-q-end): the count (.hy-q-n) and × (.hy-q-x) once typed, the shortcut as a dim cap (.hy-q-k)
   while empty; a menu's head keeps its dim Esc. !important on the field's own box: pages' old rules for every search input (the
   library's) must never reshape it. */
.hy-search { --hy-field: var(--hy-tray); --hy-field-hov: var(--hy-tray-hov); --hy-field-foc: var(--hy-tray-foc);   /* the tray, not a typed-in box's no fill */
  --hy-q-h: var(--hy-h-row, 32px); --hy-q-r: var(--hy-side-q-r, 8px); --hy-q-gl: 13px; --hy-q-gx: 10px; --hy-q-pl: 32px; --hy-q-fs: var(--hy-fs-12-5);
  position: relative; display: flex; align-items: center; flex: 1; min-width: 0; box-sizing: border-box; margin: 0; color: var(--muted); }
.hy-search.hy-q-well { --hy-q-h: var(--hy-ctl-h, 24px); --hy-q-r: var(--hy-ctl-r, 6px); --hy-q-gl: 12px; --hy-q-gx: 8px; --hy-q-pl: 24px; --hy-q-fs: var(--hy-fs-12); }
.hy-search.hy-q-pill { --hy-field: color-mix(in srgb, var(--ink) 8%, transparent); --hy-field-hov: color-mix(in srgb, var(--ink) 8.9%, transparent);   /* on the dock's glass */
  --hy-q-endx: 10px; --hy-q-h: 36px; --hy-q-r: var(--hy-row-r, 999px); --hy-q-gl: 14px; --hy-q-gx: 13px; --hy-q-pl: 32px; --hy-q-fs: var(--hy-fs-13); }
.hy-search > svg { position: absolute; left: var(--hy-q-gx); top: 50%; translate: 0 -50%; width: var(--hy-q-gl); height: var(--hy-q-gl); color: var(--muted);
  pointer-events: none; }
.hy-search > input { flex: 1; display: block; width: 100% !important; min-width: 0; height: var(--hy-q-h) !important; box-sizing: border-box; margin: 0;
  padding: 0 var(--hy-sp-8) 0 var(--hy-q-pl) !important; border: 0 !important; border-radius: var(--hy-q-r) !important; outline: none; box-shadow: none !important;
  color: var(--ink); caret-color: var(--ink); font: 400 var(--hy-q-fs) var(--sans) !important;
  -webkit-appearance: none; appearance: none; }   /* its ground is the field's (ui/hy/field.css .hy-fld, the tokens --hy-field*) */
.hy-search > input::placeholder { color: var(--muted); opacity: 1; }
.hy-search > input::-webkit-search-cancel-button, .hy-search > input::-webkit-search-decoration { -webkit-appearance: none; display: none; }

/* a menu's head (r3-search 4 A): the strip as it was, the glass in the row, the words 14 / 500 */
.hy-search.hy-q-head { flex: none; gap: var(--hy-sp-8); height: 42px; padding: 0 var(--hy-sp-8) 0 var(--hy-sp-12); border-bottom: 1px solid var(--line); }
.hy-search.hy-q-head > svg { position: static; translate: none; flex: none; width: 15px; height: 15px; }
.hy-search.hy-q-head > input { height: 28px !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; font: 400 var(--hy-fs-14) var(--sans) !important; }
.hy-search.hy-q-head > input:hover { background: transparent !important; }
.hy-search.hy-q-head > input.bad { color: var(--hy-red); }

/* the right end */
.hy-q > .hy-q-end { position: absolute; right: var(--hy-q-endx, 7px); top: 50%; translate: 0 -50%; }
.hy-search.hy-q-head > .hy-q-end { position: static; translate: none; flex: none; }
.hy-q-end { display: inline-flex; align-items: center; gap: var(--hy-sp-6); color: var(--muted); font: 400 var(--hy-fs-11) var(--sans); font-variant-numeric: tabular-nums;
  white-space: nowrap; pointer-events: none; }
.hy-q-end > * { pointer-events: auto; }
.hy-q-n[hidden], .hy-q-n:empty { display: none; }
/* its own button look over a bar's or a panel's rules for every button in it */
.hy-q-end > .hy-q-x { display: grid; place-items: center; width: 16px; height: 16px; min-width: 0; flex: none; margin: 0; padding: 0; border: 0;
  border-radius: 50%; cursor: pointer; background: color-mix(in srgb, var(--ink) 14%, transparent); color: var(--ink); }
.hy-q-end > .hy-q-x:hover { background: color-mix(in srgb, var(--ink) 24%, transparent); }
.hy-q-x > svg { width: 9px; height: 9px; }
.hy-q-k { margin: 0; }
.hy-q:has(> input:placeholder-shown) > .hy-q-end > :is(.hy-q-x, .hy-q-n) { display: none; }
.hy-q:not(.hy-q-head):not(:has(> input:placeholder-shown)) > .hy-q-end > .hy-q-k { display: none; }

   /* one search field: its well variant, its right end (× and the count, a dim shortcut cap), ui/hy/search.js */

/* A side panel (owner 2026-10-11, round 20's configurator r20/panels-config.html, DESIGN.md «Боковая панель»): one anatomy for the
   bell, «?», History, Settings at the side, the annotations' list, Info, Home's bell and the Library beside the board. Before it each
   panel had its own width (300 to 412), corner (14, 18), glass (66, 92, 97 % or a solid block), header (34, 40, 52, 58 px), close (round
   30, square 24, square 28 or none) and empty list (four sizes). Tokens: ui/tokens.css --hy-side-*; the parts' markup: ui/side.js.

     .hy-side       the panel: 412 wide, 18 corners, glass 97 %, a hairline, as tall as its content up to 12 px over the window's bottom
     .hy-side-hd    its header, 52 px: the tabs in it (<hy-segmented variant=pill>, 30 px tabs) or its title, then its buttons, square 24
                    (<hy-icon-button size=s shape=square>); no ×: Esc and the top row's round button close it
     .hy-side-t     a title (when the panel has one view), 14 / 600 (round 8, r8-type 52 A), its count in <em>
     .hy-side-sub   a strip under the header with one small choice in it (the bell's Comments tab: All | Open only), 10 px at its sides
     .hy-side-q     where the search stands (the app's one field, ui/hy/search.css «field» 32 / 9): 10 px at its sides, 6 under it
     .hy-side-body  what scrolls
     .hy-side-ft    the footnote at its foot, as Settings' («For the whole app: Home and every board»)
     .hy-side-none  an empty list: its words in the middle, 14 px, as the Library's «Nothing matches these filters»
     .hy-side-on    the chosen row (and a new one): the cool grey-blue plate, no line (--hy-trow-on, variant D, owner 11-13), as the Library's tree
   A page keeps only its panel's own place (Home's bell is fixed, the Library stands at the left) and its open state. */
/* clip, not hidden: a hidden box still scrolls from code, and a row's scrollIntoView slid the whole column under its own header and search (owner
   2026-11-13, the Pages tab: the project's head behind «Find a page or an item»); only .hy-side-body and a tab's own lists scroll */
.hy-side { position: absolute; top: var(--hy-side-top); right: var(--hy-side-gut); width: var(--hy-side-w); max-height: var(--hy-side-max); box-sizing: border-box;
  display: flex; flex-direction: column; overflow: clip; padding: 0; border: 1px solid var(--hy-side-line); border-radius: var(--hy-side-r);
  background: var(--hy-side-bg); -webkit-backdrop-filter: var(--hy-side-blur); backdrop-filter: var(--hy-side-blur); box-shadow: var(--hy-sh-pop);
  color: var(--ink); font: 400 var(--hy-fs-13)/var(--hy-sp-16) var(--sans); }
/* quiet mode (plate.css, ui/quietmode.js): the ground, the line and the content follow --k; the blur stays */
.hy-side[data-qk], #info[data-qk] { background: color-mix(in srgb, var(--hy-side-bg) calc(var(--q-a, 1) * 100%), transparent);
  border-color: color-mix(in srgb, var(--hy-side-line) calc(var(--q-a, 1) * 100%), transparent); }
.hy-side[data-qk] > *, #info[data-qk] > * { opacity: var(--q-c, 1); }
.hy-side-hd { flex: none; box-sizing: border-box; display: flex; align-items: center; gap: var(--hy-sp-6); height: var(--hy-side-hd); min-width: 0; padding: 0 var(--hy-sp-8) 0 var(--hy-sp-8); }
.hy-side-hd > .hy-side-sp { flex: 1; min-width: 0; }
.hy-side-hd > hy-segmented { flex: none; min-width: 0; }
.hy-side-t { min-width: 0; padding-left: var(--hy-sp-6); overflow: hidden; color: var(--ink); font: 400 var(--hy-fs-14) var(--sans); letter-spacing: -.005em; text-overflow: ellipsis;
  white-space: nowrap; }
.hy-side-t > em { margin-left: var(--hy-sp-6); color: var(--muted); font: 400 var(--hy-fs-grey) var(--sans); font-style: normal; font-variant-numeric: tabular-nums; }
.hy-side-sub { flex: none; display: flex; padding: 0 var(--hy-sp-8) var(--hy-sp-8); }
.hy-side-q.hy-search { flex: none; margin: 0 var(--hy-sp-8) var(--hy-sp-6); }
.hy-side-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.hy-side-ft { flex: none; box-sizing: border-box; padding: var(--hy-sp-8) var(--hy-sp-12); border-top: 1px solid var(--hy-pline); color: var(--hy-hint);
  font: 400 var(--hy-fs-grey)/var(--hy-sp-16) var(--sans); }
.hy-side-ft b { color: var(--ink); font-weight: var(--hy-fw-400); }
.hy-side-none { display: grid; place-items: center; align-content: center; gap: var(--hy-sp-4); box-sizing: border-box; min-height: 96px; padding: var(--hy-sp-24) var(--hy-sp-16); color: var(--sub);
  font: 400 var(--hy-fs-14)/var(--hy-sp-20) var(--sans); text-align: center; }
.hy-side-none > .hy-hint { margin: 0; max-width: 260px; }   /* how one action fills it (r7-empty 20 A) */
.hy-side-none > hy-button { margin-top: var(--hy-sp-8); }   /* what fixes it, on the spot (21 A) */
.hy-side-on, .hy-side-on:hover { background-color: var(--hy-side-on); box-shadow: var(--hy-side-ring); }
/* the left column's chrome (ui/colshell.js, ui/sidetab.css): the header, the search row under it and its gap, one height on every tab */
/* the corner inside the ring's line: the same step (grid contract, concentric on the 4 px scale) */
:root { --hy-col-chrome: calc(var(--hy-side-hd) + var(--hy-side-q) + var(--hy-sp-4)); --hy-side-r-in: var(--hy-side-r);
  --hy-col-foot: calc(var(--hy-sp-16) + 2 * var(--hy-sp-8) + 1px); }   /* the foot line: .hy-side-ft's line, its padding and its hairline */

   /* a side panel, one anatomy for all (owner 2026-10-11, round 20): .hy-side and its parts, ui/side.js */

/* The question's shell, form 1 of the three window forms (owner 2026-10-27 on round 7 of «shell, one look», r7-dialogs decisions 1-6: «ок
   всё принимаю»; DESIGN.md «Три формы окна»). One look for every question in the middle of the window: hyConfirm / hyAsk / hyLeave
   (ui/confirm.js) and the windows that ask with a body (Save as preset and Copy properties, Arrange folders like the board, a heavy job's
   price, Frame Studio's dialogs). Classes, not ids, so a page that keeps its own behaviour (Frame Studio's #dlgw) wears the same shell:
     .hc-veil   the veil over the window: the panel at 30 %, centred, the dialog layer (z 99)
     .hc-box    the box: 320 wide at least, 420 at most (wide: 480), corner 14 (--hy-panel-r), padding 14, as tall as its content
     .hc-t      the title, 13 / 600; .hc-name the thing's name after it, grey; an icon only on a delete (the trash, decision 1 A)
     .hc-note   the footnote, 11 grey; .hc-body what the window asks about (checkboxes, a field, numbers); .hc-input a field there
     .hc-btns   the answers, hy-button's m pills: the safe one left of the main one, the main one in the place's colour (--hc-c: the
                board's blue, a Studio's own), a delete or a move of files red words on a red tint; .hc-sp pushes an answer to the left */
/* hy-allow: z-literal a dialog veil above the 80 dialogs of the dialog layer (80-99); one token for the layer (token gap) */
.hc-veil { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; background: color-mix(in srgb, var(--panel) 30%, transparent);
  opacity: 0; transition: opacity var(--hy-t-base) var(--hy-ease); --hc-c: var(--hy-pri); --hc-ink: var(--hy-pri-ink); }
.hc-veil.on { opacity: 1; }
:root[data-studio]:not(.hy-bugmode) .hc-veil { --hc-c: var(--hy-studio, var(--sel)); --hc-ink: var(--hy-on-accent); }   /* the report over a Studio keeps the app's blue (ui/modes.js) */
.hc-veil[data-accent] { --hc-c: var(--hc-accent); --hc-ink: var(--hy-on-accent); }
.hc-box { width: fit-content; min-width: 320px; max-width: min(420px, calc(100vw - 32px));   /* three answers widen it */
  box-sizing: border-box; padding: var(--hy-sp-12); border-radius: var(--hy-panel-r, 14px); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 86%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: var(--plate-sh); color: var(--ink); font: 400 var(--hy-fs-13)/var(--hy-sp-20) var(--sans);
  transform: translateY(8px) scale(.98); transition: transform var(--hy-t-slow) var(--hy-ease); }
.hc-box.hc-wide { width: 480px; max-width: calc(100vw - 32px); }
.hc-veil.on .hc-box { transform: none; }
/* a question about one row of a list stands at that row (ui/confirm.js at): no veil, the box beside the row */
.hc-veil.hc-at { display: block; background: transparent; }
.hc-veil.hc-at .hc-box { position: fixed; margin: 0; transform: translateX(-6px) scale(.98); }
.hc-veil.hc-at.on .hc-box { transform: none; }
.hc-t { font-weight: var(--hy-fw-400); font-size: var(--hy-fs-13); margin-bottom: var(--hy-sp-12); display: flex; align-items: center; gap: var(--hy-sp-8); min-width: 0; }
.hc-t > svg { color: var(--sub); flex: none; }
.hc-t > span { min-width: 0; }
.hc-name { color: var(--muted); font-weight: var(--hy-fw-400); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hc-note { font: 400 var(--hy-fs-11)/var(--hy-sp-16) var(--sans); letter-spacing: .01em; color: var(--hy-hint, var(--muted)); }
.hc-box > .hc-note { white-space: pre-line; }   /* a note of a few lines keeps its breaks (the transcription's first use) */
.hc-body { display: grid; gap: var(--hy-sp-8); }
.hc-box > .hc-note + .hc-body, .hc-box > .hc-input + .hc-body { margin-top: var(--hy-sp-12); }
/* a field in the window: 32 / 9 like every text field (round 3 of «one look», r3-inputs decision 20 A), its ground the field's (.hy-fld, ui/hy/field.css:
   the quiet well, no ring, round 14 sheet A, owner 2026-10-29) */
:is(#hyConfirm, #dlgw, .hc-veil) .hc-input { display: block; box-sizing: border-box; width: 100%; height: var(--hy-tf-h); padding: 0 var(--hy-sp-8); border-radius: var(--hy-tf-r);
  color: var(--ink); font: 400 var(--hy-fs-13) var(--sans); }
:is(#hyConfirm, #dlgw, .hc-veil) .hc-input::placeholder { color: var(--muted); }
.hc-btns { display: flex; justify-content: flex-end; align-items: center; gap: var(--hy-sp-8); margin-top: var(--hy-sp-12); } .hc-sp { flex: 1; }
/* (each rule under the veil's id as well: a page's own rules for every button or field, the library's focus ring among them, give way) */
/* the answers are <hy-button> (ui/hy/button.css, m, since 2026-10-29): the raised ground; the main one the place's colour (owner 2026-10-09 on a white
   Discard: «Она должна быть такого цвета, в каком режиме мы сейчас находимся») by --sel; a delete is the danger variant, red words on a red tint */
.hc-btns > hy-button[variant=accent] { --sel: var(--hc-c); --hy-pri: var(--hc-c); --hy-pri-ink: var(--hc-ink); }
.hc-btns > hy-button:not([variant], [disabled]) { color: var(--ink); }   /* the answers' words are ink, as before */
.hc-btns > hy-button[variant=danger] { --hc-c: var(--hy-red); }
.hc-btns > hy-button[variant=accent][disabled] { background: var(--raise); color: var(--sub); opacity: 1; }   /* Save before there is a name: grey, not a faded blue */
/* the answer ↵ presses (the one with the focus, .hc-on follows it): a ring of its colour, the safe one's in ink, shown whatever moved the
   focus there; the app's keyboard ring (look.css :focus-visible) would draw a second one in blue */
.hc-btns > hy-button > button:focus-visible { outline: none !important; }
.hc-btns > hy-button.hc-on { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px color-mix(in srgb, var(--ink) 40%, transparent); }
.hc-btns > hy-button.hc-on:is([variant=accent], [variant=danger]) { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--hc-c); }
@media (prefers-reduced-motion: reduce) { .hc-veil, .hc-box { transition: none; } }

   /* the question's shell, form 1 of the three window forms (round 7, r7-dialogs): ui/confirm.js and the windows that ask with a body */

/* The text style controls (ui/textstyle.js hyTextStyle: the board's text bar and Frame Studio's strip are one component). A family and a weight are the
   system's ghost button on the app's well, their names left and the arrow right, the warning in the app's orange; the rows of the family menu show each
   family in its own face and where it comes from on the right. The small and big A, the hairline and the Auto cell take the host's bar (ui/hy/bar.css,
   a Studio's own strip). Moved from a <style> string in the script (2026-11-04) so the design layer holds the look; a page that uses the component links hy.css. */
hy-button:is(.hts-fam,.hts-wgt){--hy-bh:var(--hy-ctl-h,28px);--hy-bpad:8px;background:var(--hy-well,var(--raise));color:var(--ink);min-width:0}
hy-button.hts-fam{width:156px}
hy-button.hts-wgt{width:108px}
/* fill: the family or the weight takes its cell, as <hy-scrub fill> does (a field row of a panel: Frame Studio's Character, round 12 of «Панели») */
hy-button:is(.hts-fam,.hts-wgt)[fill]{width:auto}
hy-button:is(.hts-fam,.hts-wgt)>button{justify-content:flex-start;min-width:0;font:400 var(--hy-fs-12-5) var(--sans)}
hy-button.fz{width:var(--hy-bh);font-weight:var(--hy-fw-500)}
hy-button.fz,hy-icon-button.tauto{color:var(--ink)}
hy-button.fz>button{padding:0;line-height:normal}
/* [variant]: above the system's disabled hover ink */
hy-button.fz[variant][disabled]{color:var(--hy-dis-ink);opacity:1}
hy-button.fz[variant][disabled]:hover{background:transparent;color:var(--hy-dis-ink)}
.hts-fn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.hts-chev{flex:none;color:var(--hy-caret,var(--muted))}
.hts-warn{flex:none;display:grid;color:var(--hy-gc-orange)}
.hy-pm .hts-fp{font-size:var(--hy-fs-14);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hy-pm .hts-src{margin-left:auto;padding-left:var(--hy-sp-8);display:inline-flex;align-items:center;gap:var(--hy-sp-4);color:var(--muted);font-size:var(--hy-fs-11);white-space:nowrap}

   /* the text style controls: family, weight, size (ui/textstyle.js; moved from a script's <style> string, 2026-11-04) */

/* Scrolling: one bar and one edge for the whole app (owner 2026-10-27 on round 9 of «shell, one look», r9-scroll, note njkx5rrn: «Все,
   что рекомендовано тут все беру, забираю, делай»: 84 B, 85 A, 86 A, 87 A). Before it 53 places scrolled each its own way: 14 hid the
   bar, 8 drew it thin, 31 left the system's, and 32 let the wheel run on into what lies under them at the end of the list.
   .hy-scroll    a vertical list of a panel, a menu, a studio or a window. The system's bar is gone; ui/hy/scroll.js draws one bar of
                 6 px over the list's right edge (no room taken) while it scrolls and while the pointer is at that edge (8 px there, it
                 can be grabbed), and it fades 1 s after the scrolling stops. The place keeps its own overflow.
   .hy-scroll-x  a row that runs sideways (tabs, chips, crumbs, the docks): no bar, the edge fades over 24 px while there is more beyond
                 it (ui/hy/scroll.js says which end has more).
   Both keep the wheel to themselves at the end (overscroll-behavior: contain). No other file writes ::-webkit-scrollbar, scrollbar-width
   or scrollbar-color (scripts/validate.py «scrollbar»). Cards on the board never scroll (decided before round 9). */
:root { --hy-scroll-w: 6px; --hy-scroll-w-grab: 8px; --hy-scroll-fade: 24px;
  --hy-scroll-thumb: color-mix(in srgb, var(--ink) 30%, transparent); --hy-scroll-thumb-on: color-mix(in srgb, var(--ink) 48%, transparent); }
.hy-scroll { overscroll-behavior: contain; scrollbar-width: none; }
.hy-scroll[data-fit] { overscroll-behavior: auto; }   /* nothing to scroll here: the wheel goes on to the list around it (ui/hy/scroll.js fits) */
.hy-scroll-x { overscroll-behavior-x: contain; scrollbar-width: none; }
/* a sideways row that fits (ui/hy/scroll.js data-still) is no scroller: Chrome may draw a composited scroller's content blank while its raster
   waits, and the dock's buttons (its zoom % changing every frame) blinked out for up to a second on a busy tilted board (owner 2026-11-14:
   «в 3D режиме у нас опять UI лагает, мерцает»). Clip measures the same, so the row scrolls again once it has more */
.hy-scroll-x[data-still] { overflow-x: clip !important; }
:is(.hy-scroll, .hy-scroll-x)::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* the bar (one per document, ui/hy/scroll.js puts it next to the list that scrolls, inside the same panel or menu, and lays it over the
   list's right edge) */
/* hy-allow: z-literal above the takeover layer (1100-1299) and its menus (1220, 1240): a tip must win; the layer has one token for the whole range (token gap) */
.hy-sbar { position: fixed; z-index: 1299; left: 0; top: 0; width: var(--hy-scroll-w-grab); height: 0; box-sizing: border-box;
  display: flex; justify-content: flex-end; pointer-events: none; opacity: 0; transition: opacity var(--hy-t-slow) ease; }
/* hy-allow: radius-literal a scrollbar thumb is always a capsule */
.hy-sbar > i { display: block; width: var(--hy-scroll-w); height: 100%; border-radius: 99px; background: var(--hy-scroll-thumb);
  transition: width var(--hy-t-fast) ease, background-color var(--hy-t-fast) ease; }
.hy-sbar[shown] { opacity: 1; transition-duration: var(--hy-t-fast); }
.hy-sbar[grab] { pointer-events: auto; cursor: default; }
.hy-sbar[grab] > i, .hy-sbar[drag] > i { width: var(--hy-scroll-w-grab); background: var(--hy-scroll-thumb-on); }

/* the sideways edge: a fade at the end that has more beyond it (ui/hy/scroll.js writes data-fade «l», «r» or «l r»); a row that does not
   scroll has no mask and keeps its shadow */
.hy-scroll-x[data-fade=l] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--hy-scroll-fade));
  mask-image: linear-gradient(90deg, transparent, #000 var(--hy-scroll-fade)); }
.hy-scroll-x[data-fade=r] { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--hy-scroll-fade)), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - var(--hy-scroll-fade)), transparent); }
.hy-scroll-x[data-fade="l r"] { -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--hy-scroll-fade), #000 calc(100% - var(--hy-scroll-fade)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--hy-scroll-fade), #000 calc(100% - var(--hy-scroll-fade)), transparent); }
@media (prefers-reduced-motion: reduce) { .hy-sbar, .hy-sbar > i { transition: none; } }

   /* one scrollbar and one sideways edge for every list (round 9, r9-scroll 84 B, 86 A, 87 A): .hy-scroll, .hy-scroll-x, ui/hy/scroll.js */

/* The browser's own bold (b, strong, h1-h6 with no rule of the app's: 700) in the interface is the medium weight (owner 2026-11-13, the quieter type:
   «куча … жирных крупных шрифтов … гораздо аккуратнее»). No specificity, so every rule that sets a weight still wins; the board's content keeps its own. */
:where(b, strong, h1, h2, h3, h4, h5, h6):where(:not(#world *)) { font-weight: var(--hy-fw-500); }

   /* the browser's bold in the interface is the medium weight (the quieter type, 2026-11-13) */
