
.snums .dash-tile {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 0;
}

.dash-card {
  container-type: inline-size;
}
.sflow.sbase {
  display: flex; flex-direction: column; justify-content: flex-start;
  gap: var(--sp-150);
}

.chart-box { display: flex; flex-direction: column; min-height: 0; }
.chart-box > .chart {
  flex: 1 1 auto; height: calc(var(--h-row) * 5); width: 100%;
}
.chart-box > .chart-ticks { flex: none; margin-top: var(--sp-075); }

.chart-ticks {
  display: grid;
  font-size: clamp(9px, 3.2cqi, 11.5px);
  line-height: 1.2;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
  overflow: clip;
}
.chart-ticks > span {
  position: relative;
  display: flex; justify-content: center;
  min-width: 0; white-space: nowrap;
}
.chart-ticks > span > i { flex: none; font-style: normal; }
.chart-ticks > span.to-start { justify-content: flex-start; }
.chart-ticks > span.to-end { justify-content: flex-end; }
.chart-ticks > span.now { color: var(--acc-ink); font-weight: var(--fw-semi); }
.chart-ticks > span.hot:not(.now) { color: var(--ink); font-weight: var(--fw-semi); }
.chart-ticks > span:is(.dot, .bare) > i { visibility: hidden; }
.chart-ticks > span.dot::before {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: var(--sp-050); height: var(--sp-050);
  border-radius: 50%;
  background: var(--line2);
  translate: -50% -50%;
}
.chart-ticks > span.now.dot::before { background: var(--acc); }

.chart-live { display: block; width: 100%; height: 100%; }

.chart-hit { fill: transparent; transition: fill .12s; }
.chart-hit:hover { fill: var(--a-100); }

.chart-dot { transition: r .12s; }
.chart-dot.on { r: 6; }

.dash-card .dash-seg { flex: none; display: flex; width: 100%; }
.dash-card .dash-seg > button { flex: 1 1 auto; }
.dash-card .dash-seg { container-type: inline-size; }
.dash-card .dash-seg .seg-label {
  font-size: clamp(11px, 4.4cqi, var(--fs));
  white-space: nowrap;
}
.dash-card > .dash-switch { flex: none; display: flex; max-width: 100%; }

.sband > .screen-head { margin-bottom: 0; } .sblock .chart-box { min-height: 160px; }
.sblock .chart-rows { min-height: 120px; }

.dash-head { margin-bottom: var(--sp-300); }
/* The greeting and the soft accent behind it (15.632, 22.10: «На фоне мягким градиентом акцентный цвет сверху вниз
   идёт не доходя до первых карточек»): the head on the left, its buttons on the right; the gradient runs the screen's
   whole width from its top edge and fades out at the head's foot */
.dash-head { position: relative; z-index: 0; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center;
             gap: var(--sp-150) var(--sp-300); padding-block: var(--sp-600) calc(var(--sp-600) + var(--sp-200)); }
/* 15.2935 («Ещё больше отступ и больше текст»): more air round the head, the greeting and the day's line larger */
.dash-intro { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-150); }
.dash-today { margin: 0; font-size: calc(var(--fs-l) * 1.25); line-height: 1.4; color: var(--ink2); text-wrap: pretty; }
.dash-hello { margin: 0; min-width: 0; font-family: var(--font-h); font-size: calc(var(--fs-board) * 1.75);
              line-height: 1.15; font-weight: var(--fw-bold); letter-spacing: -.01em; text-wrap: balance; }
/* A phone or a short window: the greeting is a heading with less air, below the figures, so they start above the fold */
html[data-mob] .dash-head { padding-block: var(--sp-300) var(--sp-400); }
html[data-mob] .dash-hello { font-size: calc(var(--fs-board) * .875); }
html[data-mob] .dash-today { font-size: var(--fs-l); }
@media (max-width: 700px) {
  .dash-head { padding-block: var(--sp-300) var(--sp-400); }
  .dash-hello { font-size: calc(var(--fs-board) * .875); }
  .dash-today { font-size: var(--fs-l); }
}
@media (max-height: 500px) {
  .dash-head { padding-block: var(--sp-200) var(--sp-300); }
  .dash-hello { font-size: var(--fs-board); }
}
/* Editing: the greeting gives room to the grid being edited */
.dash-head.editing { padding-block: var(--sp-200) var(--sp-300); }
.dash-head.editing .dash-hello { font-size: var(--fs-board); }
.dash-head > .nd-toolbar { flex: 0 1 auto; }
.dash-head .screen-head { margin-bottom: 0; }
/* 15.2974 («стильный красивый экран приветствия»; «не заключай в прямоугольник, сделай свободным на всю страницу, а к
   началу виджетов отрежь фэйдом»; «в точности повтори как это реализовано в эппл погоде»): the day's sky behind the
   greeting across the screen's whole width, from its top edge into the page's own ground; under the words the sun's wave
   across the same width as Apple Weather's sunrise tile, its night part melting toward the widgets */
html .dash-head[data-hero] { padding-block: var(--sp-500) 0; margin-bottom: 0; row-gap: var(--sp-300); }
.dash-sky { position: absolute; z-index: -1; pointer-events: none;
            left: calc(-1 * (var(--pad-side) + var(--notch-l, 0px)));
            right: calc(-1 * (var(--pad-end, var(--pad-side)) + var(--notch-r, 0px)));
            top: calc(-1 * var(--sp-300)); bottom: 0;
            background: linear-gradient(180deg, color-mix(in srgb, var(--sky-a) 55%, transparent) 0%,
                                                color-mix(in srgb, var(--sky-b) 40%, transparent) 100%);
            -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%);  /* own colour: a mask's alpha */
            mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }  /* own colour: a mask's alpha */
.dash-sky[data-phase="morning"] { --sky-a: var(--sky-morning-a); --sky-b: var(--sky-morning-b); }
.dash-sky[data-phase="day"] { --sky-a: var(--sky-day-a); --sky-b: var(--sky-day-b); }
.dash-sky[data-phase="evening"] { --sky-a: var(--sky-evening-a); --sky-b: var(--sky-evening-b); }
.dash-sky[data-phase="night"] { --sky-a: var(--sky-night-a); --sky-b: var(--sky-night-b); }
.dash-wave { --bleed-l: calc(var(--pad-side) + var(--notch-l, 0px)); --bleed-r: calc(var(--pad-end, var(--pad-side)) + var(--notch-r, 0px));
             position: relative; flex: 0 0 auto; width: calc(100% + var(--bleed-l) + var(--bleed-r));
             height: calc(var(--sp-600) * 3.75); margin-inline: calc(-1 * var(--bleed-l)) calc(-1 * var(--bleed-r)); }
/* the wave's night melts toward the widgets; the sun and its glow stand whole over it */
.dash-wave > svg { position: absolute; inset: 0; width: 100%; height: 100%;
                   -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);  /* own colour: a mask's alpha */
                   mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%); }  /* own colour: a mask's alpha */
.dash-sky-horizon { stroke: var(--ink3); stroke-width: 1; opacity: .45; vector-effect: non-scaling-stroke; }
.dash-sky-day { fill: none; stroke: var(--sun); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dash-sky-night { fill: none; stroke: var(--ink3); stroke-width: 2; opacity: .4; vector-effect: non-scaling-stroke; }
.dash-sky-light-top { stop-color: var(--sun); stop-opacity: .32; }
.dash-sky-light-foot { stop-color: var(--sun); stop-opacity: .04; }
.dash-sky-sun { position: absolute; width: var(--sp-200); height: var(--sp-200); margin: calc(var(--sp-100) * -1) 0 0 calc(var(--sp-100) * -1);
                border-radius: 50%; background: var(--sun);
                box-shadow: 0 0 0 var(--sp-075) color-mix(in srgb, var(--sun) 25%, transparent),
                            0 0 var(--sp-400) var(--sp-100) color-mix(in srgb, var(--sun) 45%, transparent); }
.dash-sky-sun.below { background: var(--card); border: 2px solid var(--ink3);
                      box-shadow: 0 0 0 var(--sp-075) color-mix(in srgb, var(--ink3) 15%, transparent); }
.dash-sky-mark { position: absolute; translate: var(--sp-100) var(--sp-100); white-space: nowrap;
                 font-size: var(--fs-s); line-height: 1.3; color: var(--ink2); font-variant-numeric: tabular-nums; }
.dash-sky-mark.set { translate: calc(-100% - var(--sp-100)) var(--sp-100); }
.dash-sky-mark-name { color: var(--ink3); }
@media (max-width: 700px) {
  html .dash-head[data-hero] { padding-top: var(--sp-300); row-gap: var(--sp-150); }
  .dash-wave { height: calc(var(--sp-600) * 2.75); }
  /* a narrow hump holds the two marks only on two lines each: the name over the time */
  .dash-sky-mark-name { display: block; }
  .dash-sky-mark.set { text-align: end; }
}
@media (max-height: 500px) {
  html .dash-head[data-hero] { padding-top: var(--sp-200); row-gap: var(--sp-100); }
  .dash-wave { height: calc(var(--sp-600) * 2.25); }
}
.dash-grid-pick { flex: none; }
.cp-pop:has(> .dash-grid-setup) { width: max-content; }
.dash-head .screen-head { flex-wrap: wrap; }
.dash-head .screen-head > .grow { min-width: min(240px, 100%); }

.dash-narrow { padding-right: calc((var(--dash-lib-w) + var(--float-gap)) / var(--screen-zoom, 1) + var(--sp-300)); }
.dash-page .sgrid {
  transform-origin: 0 0;
  transition: scale .24s cubic-bezier(.2, .7, .2, 1),
              width .24s cubic-bezier(.2, .7, .2, 1);
}
.dash-fit { transition: height .24s cubic-bezier(.2, .7, .2, 1); }
.dash-fit.dash-fit-moving { overflow: visible; }

.dash-grid > .sblock[data-widget] > .chart-box,
.dash-grid > .sblock[data-widget] > .sflow,
.dash-grid > .sblock[data-widget] > .chart-rows,
.dash-grid > .sblock[data-widget] > .fill {
  flex: 1 1 auto; min-height: 0;
}
.dash-grid > .sblock[data-widget] > .chart-rows {
  align-content: space-between;
}

.dash-grid > .sblock[data-widget] {
  container-type: inline-size;
  width: calc(100% / var(--fit, 1));
  height: calc(100% / var(--fit, 1));
  scale: var(--fit, 1);
  transform-origin: 50% 50%;
  translate: calc(-50% * (1 - var(--fit, 1))) calc(-50% * (1 - var(--fit, 1)));
}

.dash-grid { position: relative; }
.dash-cross {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  overflow: visible;
  color: var(--dash-cell);
  pointer-events: none;
  opacity: 0; transition: opacity .2s ease;
}
.dash-grid.dash-editing > .dash-cross { opacity: 1; }
.dash-grid > .sblock { position: relative; z-index: 1; }
:root { --dash-cell: color-mix(in srgb, var(--ink) 22%, transparent); }
:root[data-theme="dark"] { --dash-cell: color-mix(in srgb, #FFFFFF 26%, transparent); }

@keyframes dash-jiggle {
  0%   { rotate: calc(var(--tilt, .3deg) * -1); }
  28%  { rotate: calc(var(--tilt, .3deg) * .62); }
  53%  { rotate: var(--tilt, .3deg); }
  79%  { rotate: calc(var(--tilt, .3deg) * -.55); }
  100% { rotate: calc(var(--tilt, .3deg) * -1); }
}
.dash-editing .sblock[data-widget] {
  position: relative;
  cursor: var(--cur-grab);
  animation: dash-jiggle .34s ease-in-out infinite;
  transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}
.dash-editing .sblock[data-widget]:nth-child(2n) {
  animation-duration: .41s; animation-delay: -.13s;
}
.dash-editing .sblock[data-widget]:nth-child(3n) {
  animation-duration: .29s; animation-delay: -.21s;
}
.dash-editing .sblock[data-widget]:nth-child(5n) {
  animation-duration: .36s; animation-delay: -.07s;
}
.dash-editing .sblock[data-widget]:nth-child(7n) {
  animation-duration: .33s; animation-delay: -.25s;
}
.dash-ghost { opacity: .45; }
.dash-ghost .dash-handle { display: none; }

.dash-editing .sblock.dash-sizing {
  animation: none; rotate: 0deg;
  z-index: 6;
  transition: none;
  box-shadow: var(--sh-overlay);
}
.dash-editing .sblock[data-widget] > *:not(.dash-handle) { pointer-events: none; }

.dash-editing .sblock[data-widget] { overflow: visible; }
.dash-handle {
  position: absolute; z-index: 3;
  right: -16px; bottom: -16px;
  display: grid; place-items: center;
  width: 32px; height: 32px; padding: 0;
  border: var(--bw) solid var(--line);
  border-radius: var(--r-full);
  background: var(--card); color: var(--ink);
  box-shadow: var(--sh-raised);
  cursor: nwse-resize;
  opacity: 0; transform: scale(.8);
  transition: opacity .14s ease, transform .14s ease;
}
.dash-editing .sblock[data-widget]:hover > .dash-handle,
.dash-editing .sblock[data-widget] > .dash-handle:focus-visible {
  opacity: 1; transform: none;
}

:root { --dash-lib-w: min(420px, 34vw); }
.dash-lib { --shelf-w: var(--dash-lib-w); }

/* The editing's actions at the library's top (15.661): three large pictograms across its width */
.dash-lib > .list-head { align-items: center; }
.dash-lib-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-100);
                 padding: 0 var(--sp-200) var(--sp-150); }
.dash-lib-act { height: var(--sp-600); justify-content: center; }

.dash-lib-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-150);
  align-content: start;
  overflow-x: hidden; overflow-y: auto; min-height: 0;
}
.dash-lib-list > .empty-state { grid-column: 1 / -1; }
.dash-lib-list:has(> .empty-state) { align-content: center; }

.dash-fit {
  min-width: 0;
  overflow: clip;
  overflow-clip-margin: var(--sp-300);
}

.dash-lib-card {
  display: flex; flex-direction: column; gap: var(--sp-100);
  padding: var(--sp-150);
  border: var(--bw) solid var(--line); border-radius: var(--r-l);
  background: var(--bg);
  cursor: var(--cur-grab);
}
.dash-lib-view {
  height: calc(var(--prev-h, 320px) * var(--prev-scale, .5));
  overflow: hidden; border-radius: var(--r);
  pointer-events: none;
}
.dash-lib-view > .sblock {
  width: var(--prev-w, 320px);
  height: var(--prev-h, 320px);
  transform: scale(var(--prev-scale, .5));
  transform-origin: 0 0;
}
.dash-lib-note { gap: var(--sp-025); }

.dash-lib-drop {
  position: absolute; inset: var(--sp-150); z-index: 2;
  display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sp-100);
  background: color-mix(in srgb, var(--card) 92%, transparent);
  color: var(--danger-ink);
  border: 2px dashed var(--danger);
  border-radius: calc(var(--r-xl) - var(--sp-150));
  font-weight: var(--fw-med);
}
.dash-lib.over .dash-lib-drop { display: flex; }

@media (prefers-reduced-motion: reduce) {
  .dash-editing .sblock[data-widget],
  .dash-lib { animation: none; }
}
[data-motion="calm"] .dash-editing .sblock[data-widget],
[data-motion="calm"] .dash-lib { animation: none; }

/* 15.2557: the widgets reworked after the sketch - one head, square cells on the grid's own gap */
/* one edge for the cards and the number tiles, as the sketch: a --line border on the --card ground, no ring */
.dash-grid > .sblock.dash-card {
  gap: var(--sp-150); padding: var(--gap); border: var(--bw) solid var(--line);
}
/* above the new look's frameless islands (`:root[data-design="new"] :is(.sblock, .card)`) */
:root .dash-grid > .sblock.dash-card { border-color: var(--line); }
:root .dash-grid > .sblock.dash-card:not(.dash-sizing) { box-shadow: none; }
.dash-card-head { flex: none; display: flex; align-items: center; gap: var(--sp-150); min-height: var(--h-btn-sm); }
.dash-card-title { margin: 0; flex: 1 1 auto; min-width: 0; font: var(--fw-semi) var(--fs)/var(--lh) var(--font-h); }
.dash-card-note { flex: none; max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
                  color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-card-link { flex: none; }
/* a quiet note beside a head's ghost button: the button's own padding is the rest of the air */
.dash-card-acts { flex: none; display: flex; align-items: center; gap: var(--sp-050); min-width: 0; }
.dash-card-acts > .dash-card-note { max-width: none; }
/* 15.2577: «Обновить курсы» turns while the sources are asked; under reduced motion it stands, disabled */
.dash-rates-again.busy > svg { animation: btn-busy-turn .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .dash-rates-again.busy > svg { animation: none; } }
[data-motion="calm"] .dash-rates-again.busy > svg { animation: none; }
.dash-grid > .sblock[data-widget] > .chart-cols { flex: 1 1 auto; min-height: 0; }
/* a list longer than its widget scrolls inside, the kit's fade at its edges */
/* (as the sketch: no bar, the fade says more lies beyond); the rows' hover reaches into the card's padding, so the flow
   lends them that room - their words stay on the head's edges and nothing scrolls sideways */
.sblock.dash-card > .sflow {
  overflow-x: hidden; overflow-y: auto; scrollbar-width: none; scrollbar-gutter: auto;
  margin-inline: calc(-1 * var(--sp-100)); padding-inline: var(--sp-100);
}
.sblock.dash-card > .sflow::-webkit-scrollbar { display: none; }

/* the main numbers: the band of the old shape, scaled as every widget; its tiles share it (15.636), each a tile of the
   new look on the grid's gap, the band itself has no frame */
.dash-grid > .sblock.dash-nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  align-content: stretch;
  gap: inherit;
}
.dash-num.dash-tile {
  min-width: 0; min-height: 0; overflow: hidden;
  gap: var(--sp-200); padding: var(--sp-250);
}
.dash-num > .dash-tile-text { flex: none; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-100); }
.dash-num .snum-t { color: var(--ink2); font-size: var(--fs); line-height: var(--lh); }
.dash-num .snum-v { font: var(--fw-semi) var(--fs-board)/1.2 var(--font-h); letter-spacing: -.01em; white-space: nowrap; }
.dash-num-foot.dash-tile-d { flex-wrap: wrap; gap: var(--sp-050) var(--sp-100); min-height: var(--h-chip); }
.dash-num.feet-under .dash-num-foot { flex-direction: column; align-items: flex-start; }
.dash-num-to { color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-delta {
  display: inline-flex; align-items: center; gap: var(--sp-050);
  height: var(--h-chip); padding: 0 var(--sp-100); border-radius: var(--r-xs);
  font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap;
}
/* 15.2572: a month's change is no state - the chip is quiet, its arrow and sign say the way */
.dash-delta.up, .dash-delta.down { background: var(--a-200); color: var(--ink2); }
.dash-num .snum-t, .dash-num-to { white-space: nowrap; }
.dash-num.feet-wrap .dash-num-to { white-space: normal; }
/* the band of the set (3 × 0.5) and a phone's tiles (half a cell high): 2 : 1 tiles */
:is(.dash-nums[data-fig$="x0.5"], .dash-grid[data-phone] > .dash-nums) > .dash-num {
  flex-direction: row; align-items: stretch; padding: var(--sp-150) var(--gap);
}
:is(.dash-nums[data-fig$="x0.5"], .dash-grid[data-phone] > .dash-nums) > .dash-num > .dash-tile-text {
  flex: 1 1 auto; justify-content: center; gap: var(--sp-050);
}

/* «Компания»: the company's place at the foot */
.dash-card .dash-quota { flex: none; padding-top: var(--sp-150); border-top: var(--bw) solid var(--line); }
.dash-grid > .sblock[data-widget="company"] > .dash-quota { margin-top: auto; }

/* a phone (15.2562): the computer's shapes on square cells (`phoneLayOut`) - one column upright, two on the
   side; the numbers band is the one half-height shape, its tiles half a cell high */
.dash-grid[data-phone] > .sblock.dash-nums { align-content: stretch; box-shadow: none; }
.dash-grid[data-phone] > .sblock.dash-card { padding: var(--sp-200); gap: var(--sp-100); }
.dash-grid[data-phone] > .sblock.dash-card .empty-state { padding: 0; }
/* a head's action is a finger's target; the head keeps its height; a switch keeps the kit's height (15.2578) */
.dash-grid[data-phone] .dash-card-link { min-height: var(--tap); margin-block: calc((var(--h-btn-sm) - var(--tap)) / 2); }
.dash-grid[data-phone] .chart-meter.chart-go { min-height: var(--tap); justify-content: center; }
.dash-grid[data-phone] .chart-meters:has(> .chart-meter.chart-go) { gap: var(--sp-050); }

/* a list at rest ends on its last whole row (`fillRows`, `data-cut`) and scrolls a row at a time */
.dash-grid > .sblock[data-widget] > .sflow[data-cut] { flex: 0 1 auto; height: var(--rows-h); }
.sblock.dash-card > .sflow:has(> :is(.list-rows, .chart-meters)) { scroll-snap-type: y proximity; }
.sblock.dash-card > .sflow > :is(.list-rows > .list-row, .chart-meters > .chart-meter) { scroll-snap-align: start; }
/* «Системы просчёта» (as the former widget): the ring at the left, taking the height the systems leave */
/* one column, never wrapped (the kit's `.dash-donut` wraps): a low box shrinks the ring, the systems stay under it */
.dash-card .dash-donut { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: var(--sp-200); }
.dash-card .dash-donut > .chart-donut {
  flex: 1 1 auto; height: calc(var(--h-row) * 5); width: auto; max-width: 100%; aspect-ratio: 1 / 1; min-height: 0;
}
.dash-card .dash-donut > .chart-meters { flex: none; width: 100%; }
/* the number in the ring is sized by the ring (its 200 drawing): the same share of it as in «Требует внимания» (22 of 120) */
.dash-card .dash-donut > .chart-donut .chart-center { font-size: calc(var(--fs-num-s) * 5 / 3); }

/* a number tile pressed as a whole (`pressable`): the row's hover and press over its own ground */
.dash-num.go { cursor: pointer; }
@media (hover: hover) { .dash-num.go:hover { background-image: linear-gradient(var(--a-100), var(--a-100)); } }
.dash-num.go:active { background-image: linear-gradient(var(--a-200), var(--a-200)); }
/* «Ссылки и просмотры»: a link open right now - its sign in the accent */
.list-row-sign.dash-live { background: var(--acc-weak); color: var(--acc-ink); }
/* «Echo»: the ring and the two numbers, the month's days under them, who spends at the foot */
.dash-grid > .sblock[data-widget] > .sflow.dash-echo-top { flex: 0 1 auto; }
/* Echo's days keep their whole height; the spenders under them give way and scroll */
.dash-grid > .sblock[data-widget="echo"] > .chart-cols { min-height: auto; }
/* a tile with no past has its words alone: they stand in a column, as beside a past */
:is(.dash-nums[data-fig$="x0.5"], .dash-grid[data-phone] > .dash-nums) > .dash-num:not(:has(> .dash-tile-text)) {
  flex-direction: column; justify-content: center; gap: var(--sp-050);
}
/* a phone on its side: three tiles in a row - the type follows the tile's width; the chip stands under the number */
.dash-grid[data-phone="2"] > .dash-nums > .dash-num {
  container-type: inline-size; column-gap: var(--sp-150); padding-inline: var(--sp-150);
}
.dash-grid[data-phone="2"] > .dash-nums > .dash-num .snum-v { font-size: clamp(var(--fs-h), 11cqi, var(--fs-board)); }
.dash-grid[data-phone="2"] > .dash-nums > .dash-num .dash-delta {
  padding: 0 var(--sp-050); font-size: clamp(var(--fs-xs), 5.2cqi, var(--fs-s));
}
/* a tile too narrow for the chip's arrow: the sign and the colour say the way alone */
@container (width < 200px) { .dash-grid[data-phone="2"] > .dash-nums > .dash-num .dash-delta > :not(.num) { display: none; } } /* вне шкалы: the chip's width with its arrow */
/* «Курсы валют» (15.2570): a block a currency sharing the box (`evenColumns`), a hairline between blocks; a block -
   the sign, the code and the source, the rate at the right with its move under it, the past values at the foot */
.dash-grid > .sblock[data-widget] > .dash-rates { flex: 1 1 auto; min-height: 0; }
.dash-rates {
  display: grid; grid-auto-rows: minmax(0, 1fr); overflow: clip;
  margin: calc(-1 * var(--sp-150));
}
/* the block is the container its own width is asked of; its insides are the grid */
.dash-rate {
  container-type: size; min-width: 0; min-height: 0; overflow: hidden;
  display: flex; flex-direction: column; padding: var(--sp-150);
}
.dash-rate-in {
  flex: 1 1 auto; min-height: 0;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "sign name value" "sign name move";
  grid-template-rows: auto auto;
  align-content: center; column-gap: var(--sp-150); row-gap: var(--sp-050);
}
/* the hairlines stand only between blocks (`data-cols` - the columns `evenColumns` gave), never on the card's edge */
.dash-rates[data-cols="1"] > .dash-rate:nth-child(n + 2),
.dash-rates[data-cols="2"] > .dash-rate:nth-child(n + 3),
.dash-rates[data-cols="3"] > .dash-rate:nth-child(n + 4),
.dash-rates[data-cols="4"] > .dash-rate:nth-child(n + 5),
.dash-rates[data-cols="5"] > .dash-rate:nth-child(n + 6),
.dash-rates[data-cols="6"] > .dash-rate:nth-child(n + 7) { border-top: var(--bw) solid var(--line); }
.dash-rates[data-cols="2"] > .dash-rate:not(:nth-child(2n + 1)),
.dash-rates[data-cols="3"] > .dash-rate:not(:nth-child(3n + 1)),
.dash-rates[data-cols="4"] > .dash-rate:not(:nth-child(4n + 1)),
.dash-rates[data-cols="5"] > .dash-rate:not(:nth-child(5n + 1)),
.dash-rates[data-cols="6"] > .dash-rate:not(:nth-child(6n + 1)) { border-left: var(--bw) solid var(--line); }
.dash-rate.has-past { gap: var(--sp-100); }
.dash-rate.has-past > .dash-rate-in { flex: none; }
.dash-rate-in > .list-row-sign { grid-area: sign; align-self: start; width: var(--h-field); height: var(--h-field); }
/* the currency's sign in its shape: centred by its cap height, as the kit's badges (15.567) */
.dash-rate-sign {
  display: block; font: var(--fw-semi) var(--fs-h)/1 var(--font-h); color: var(--ink);
  text-align: center; align-content: center; text-box: trim-both cap alphabetic;
}
.dash-rate-name { grid-area: name; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-025); }
.dash-rate-code { font-size: var(--fs); line-height: var(--lh); font-weight: var(--fw-med); }
.dash-rate-own { color: var(--ink2); font-weight: var(--fw-reg); }
.dash-rate-from { color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-rate-v { grid-area: value; justify-self: end; font: var(--fw-semi) var(--fs-num)/1.2 var(--font-h); white-space: nowrap; }
.dash-rate-move {
  grid-area: move; justify-self: end; display: inline-flex; align-items: center; gap: var(--sp-050);
  color: var(--ink2); font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap;
}
.dash-rate-move.first { color: var(--ink3); }
/* the past values as a line across the block under its words, the days and the range at its foot */
.dash-rate-area { flex: 1 1 auto; min-height: var(--sp-500); display: flex; flex-direction: column; gap: var(--sp-050); }
.dash-rate-ends { display: flex; justify-content: space-between; gap: var(--sp-100);
                  color: var(--ink3); font-size: var(--fs-xs); line-height: var(--lh-xs); white-space: nowrap; }
/* 15.2575: a currency without history - the chart's place says so with the kit's sign, no line is drawn */
.dash-rate-area.none { align-items: center; justify-content: center; }
.dash-rate-area.none > .empty-state { flex: 1 1 auto; min-height: 0; padding: 0; }
/* the sign in its disc (120) with the words under it needs the block's words (41) over it: lower, the words alone */
@container (height < 208px) { .dash-rate-area.none .empty-sign { display: none; } } /* вне шкалы: the words, the sign and its caption whole */
/* a block too low for the line with its foot (many currencies in one box): the line shrinks to a sparkline under
   the words, its dates and range said in its tooltip; the words (41), the gap and a line of 40 with its foot */
@container (height < 96px) { /* вне шкалы: the words, the line and its foot whole */
  .dash-rate-ends { display: none; }
  .dash-rate-area { min-height: var(--sp-200); }
}
@container (width < 260px) and (height < 144px) { /* вне шкалы: a narrow block's three rows of words and a line */
  .dash-rate-ends { display: none; }
  .dash-rate-area { min-height: var(--sp-200); }
}
/* a narrow block: the rate and its move under the name, at the block's right */
@container (width < 260px) { /* вне шкалы: the sign, a code and a rate side by side */
  .dash-rate-in { grid-template-areas: "sign name name" "value value value" "move move move";
                  grid-template-rows: auto auto auto; }
}
/* 15.2576: a cell of the currencies' grid - the sign, the code and the rate on the first line, the move under them, the
   chart filling the rest; the source is said in the block's tooltip; the chart's foot keeps only what stands whole */
.dash-rates[data-grid] .dash-rate-from { display: none; }
.dash-rates[data-grid] .dash-rate-in { align-content: start; }
.dash-rate-ends[data-fit="dates"] > :nth-child(2) { display: none; }
.dash-rate-ends[data-fit="none"] { display: none; }
/* a box no layout fits (the smallest widget with many currencies): the rows keep their own height - a narrow block's
   three rows of words and a sparkline - and the list scrolls */
.dash-rates[data-scroll] { grid-auto-rows: auto; overflow-y: auto; overscroll-behavior: contain; }
.dash-rates[data-scroll] > .dash-rate { height: calc(var(--sp-600) * 2 + var(--sp-500)); }
.dash-rates[data-grid] .dash-rate-dot { display: none; }
.dash-rates[data-tight] > .dash-rate { padding: var(--sp-100); gap: var(--sp-050); }
/* the code is never cut: its column is at least the code's width, the company's name under it takes no width of its own */
.dash-rates[data-grid] .dash-rate-in { grid-template-columns: auto minmax(min-content, 1fr) auto; }
.dash-rates[data-grid] .dash-rate-code { overflow: visible; text-overflow: clip; }
.dash-rates[data-grid] .dash-rate-own { width: 0; min-width: 100%; }
.dash-rates[data-grid] .dash-rate-own { display: block; overflow: hidden; text-overflow: ellipsis; font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-rate-d { white-space: pre; }
/* a narrow cell: the sign, the code and the move's share on the first line, the rate under them */
@container (width < 172px) { /* вне шкалы: a small sign, a code and a share on one line */
  .dash-rates[data-grid] .dash-rate-in { grid-template-columns: auto minmax(min-content, 1fr) auto; column-gap: var(--sp-100);
                                         grid-template-areas: "sign name move" "value value value"; grid-template-rows: auto auto; }
  .dash-rates[data-grid] .dash-rate-in > .list-row-sign { width: var(--h-btn-sm); height: var(--h-btn-sm); }
  .dash-rates[data-grid] .dash-rate-sign { font-size: var(--fs); }
  .dash-rates[data-grid] .dash-rate-v { justify-self: start; font-size: var(--fs-num-s); }
  .dash-rates[data-grid] .dash-rate-move { align-self: start; }
  .dash-rates[data-grid] .dash-rate-d, .dash-rates[data-grid] .dash-rate-own { display: none; }
}
/* a cell too narrow for the sign beside the code and the share: the code leads alone */
@container (width < 120px) { /* вне шкалы: a code and a share on one line */
  .dash-rates[data-grid] .dash-rate-in { grid-template-areas: "name move" "value value"; grid-template-columns: minmax(min-content, 1fr) auto; }
  .dash-rates[data-grid] .dash-rate-in > .list-row-sign { display: none; }
}
@container (width >= 172px) { /* вне шкалы: a small sign, a code and a rate on one line */
  /* the move under the code and the rate together: the rate's column is as wide as the rate alone */
  .dash-rates[data-grid] .dash-rate-in { grid-template-areas: "sign name value" "sign move move"; grid-template-rows: auto auto; }
  /* the last block over several cells is wide: its move beside its own name, its words as low as its neighbours' */
  .dash-rates[data-grid] > .dash-rate[data-span] .dash-rate-in { grid-template-areas: "sign name value" "sign name move"; }
}
@container (172px <= width < 220px) { /* вне шкалы: the full sign, a code and a rate on one line */
  .dash-rates[data-grid] .dash-rate-in { column-gap: var(--sp-100); }
  .dash-rates[data-grid] .dash-rate-in > .list-row-sign { width: var(--h-btn); height: var(--h-btn); }
  .dash-rates[data-grid] .dash-rate-sign { font-size: var(--fs-l); }
  .dash-rates[data-grid] .dash-rate-v { font-size: var(--fs-num-s); }
}

/* ══ 15.2572 («Смелее», accepted 17.11): the widgets' free room taken by a large graphic that carries data ══ */

/* a sign in a square: no state - the quiet square; a state - its own fill and ink */
.list-row-sign.dash-sign.warn { background: var(--warn-weak); color: var(--warn-ink); }
.list-row-sign.dash-sign.danger { background: var(--danger-weak); color: var(--danger-ink); }
.list-row-sign.dash-sign.small { width: var(--sp-300); height: var(--sp-300); border-radius: var(--r-xs); }

/* a quiet caption over a chart, its number at the right */
.dash-cap { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-100);
            color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap; }
.dash-cap > .num { color: var(--ink); }
/* a chart over the rows: its caption, the columns of a fixed height */
.dash-chart { flex: none; display: flex; flex-direction: column; gap: var(--sp-050);
              height: calc(var(--sp-600) * 2 + var(--sp-500)); }
.dash-chart.low { height: calc(var(--sp-600) * 2 + var(--sp-100)); }
.dash-chart > .chart-cols { flex: 1 1 auto; min-height: 0; }
.dash-chart .chart-cols-plot { min-height: 0; }

/* a large ring with its number in the middle */
.dash-bring { flex: none; position: relative; display: grid; width: calc(var(--sp-600) * 2 + var(--sp-300)); aspect-ratio: 1;
              container-type: inline-size; }
.dash-bring > .progress-ring { grid-area: 1 / 1; width: 100%; height: 100%; }
.dash-bring .progress-ring circle { stroke-width: 2.5; } /* вне шкалы: the ring's line in its 24 drawing */
.dash-bring.warn .progress-ring-run { stroke: var(--warn); }
.dash-bring.danger .progress-ring-run { stroke: var(--danger); }
.dash-bring-in { grid-area: 1 / 1; place-self: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-050); }
.dash-bring-n { font: var(--fw-semi) var(--fs-num-l)/1 var(--font-h); color: var(--ink); white-space: nowrap; }
.dash-echo-head .dash-bring-n { font-size: var(--fs-num); }
/* a small ring: its number follows its width, its word under it goes */
@container (width < 104px) { /* вне шкалы: the ring's number and word inside it */
  .dash-bring-n, .dash-echo-head .dash-bring-n { font-size: clamp(var(--fs-s), 22cqi, var(--fs-num)); }
  .dash-bring-u { display: none; }
}
.dash-bring-u { color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap; }

/* a list under a graphic ends on its last whole row (`wholeRows`) */
:is(.dash-recent, .dash-orders, .dash-best, .dash-att) > .sflow {
  flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
  margin-inline: calc(-1 * var(--sp-100)); padding-inline: var(--sp-100);
}
:is(.dash-recent, .dash-orders, .dash-best, .dash-att) > .sflow[data-cut] { flex: 0 1 auto; height: var(--rows-h); }

/* a fact: its quiet name, its value, a quiet line under */
.dash-fact { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-025); }
.dash-fact-t { color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-fact-v { color: var(--ink); font-weight: var(--fw-med); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-fact-v.big { font: var(--fw-semi) var(--fs-num-s)/1.2 var(--font-h); }
.dash-fact-s { color: var(--ink2); font-size: var(--fs-s); line-height: var(--lh-s); }
.dash-fact-s.warn { color: var(--warn-ink); }
.dash-over, .dash-fact-v.dash-over { color: var(--danger-ink); }

/* two large numbers side by side, a square as the chart's legend */
.dash-two { flex: none; display: flex; flex-wrap: wrap; gap: var(--sp-100) var(--sp-400); }
.dash-two-one { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-025); }
.dash-two-t { display: inline-flex; align-items: center; gap: var(--sp-075);
              color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap; }
.dash-two-v { font: var(--fw-semi) var(--fs-board)/1.2 var(--font-h); letter-spacing: -.01em; color: var(--ink); white-space: nowrap; }
.dash-two-one.past .dash-two-v { color: var(--ink2); }
.dash-sq { display: block; width: var(--sp-150); height: var(--sp-150); border-radius: var(--r-xs); }
.dash-sq.now { background: var(--acc-weak-2); }
.dash-sq.past { background: var(--line); }

/* «Главные числа»: the words at the top, the month's running total across the whole tile under them */
.dash-num:has(> .dash-run),
:is(.dash-nums[data-fig$="x0.5"], .dash-grid[data-phone] > .dash-nums) > .dash-num:has(> .dash-run) {
  flex-direction: column; align-items: stretch; gap: var(--sp-150);
}
:is(.dash-nums[data-fig$="x0.5"], .dash-grid[data-phone] > .dash-nums) > .dash-num:has(> .dash-run) > .dash-tile-text {
  flex: none; justify-content: flex-start;
}
.dash-run { flex: 1 1 auto; min-height: var(--sp-400); display: flex; flex-direction: column; gap: var(--sp-050); }
/* a tile too low for the line under its words (the grid's smallest cells) keeps its words alone */
.dash-nums > .dash-num:has(> .dash-run) { container-type: size; }
@container (height < 136px) { /* вне шкалы: the words (88), a line of 32 and its foot whole */
  .dash-num > .dash-run { display: none; }
}
.dash-axis { flex: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-100);
             color: var(--ink3); font-size: var(--fs-xs); line-height: var(--lh-xs); white-space: nowrap; }
.dash-axis-keys { display: flex; gap: var(--sp-150); min-width: 0; overflow: hidden; }
.dash-axis-keys > span { display: inline-flex; align-items: center; gap: var(--sp-050); }
.dash-lkey { flex: none; display: block; width: var(--sp-150); height: 2px; border-radius: var(--r-full); background: var(--acc-solid); } /* вне шкалы: a line's key */
.dash-lkey.past { background: none; border-top: 2px dashed var(--ink3); height: 0; } /* вне шкалы: a line's key */

/* «Требует внимания»: nothing waits - the calm sign takes the card */
.dash-calm { flex: 1; min-height: 0; display: grid; place-items: center; }
/* the ring of what waits by state and the rows under it stand together in the card's middle: the ring takes up to 60 %
   of the room and half the width, the rows keep theirs and end on a whole row (`wholeRows`) */
.dash-att { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; gap: var(--gap);
            container-type: size; }
.dash-att-top { flex: none; display: flex; align-items: center; justify-content: center; gap: var(--sp-400); }
.dash-att > .sflow { flex: 0 1 auto; min-height: 0; }
/* the ring's size is the room the rows leave (`ringFill`, `--ring`); before it is measured - its share */
.dash-att-ring.chart-donut { flex: none; width: var(--ring, min(48cqi, 60cqh)); height: auto; aspect-ratio: 1; } /* вне шкалы: the ring leaves the keys and the rows their room */
/* a tall box: the keys in a row under the ring */
.dash-att[data-stack] > .dash-att-top { flex-direction: column; gap: var(--sp-200); }
/* a tall box: the keys in three even columns under the ring - the state's square and count over its word */
.dash-att[data-stack] .dash-att-keys { align-self: stretch; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-200); }
.dash-att[data-stack] .dash-att-key { grid-template-columns: var(--sp-150) auto; grid-template-areas: "sq n" "word word";
                                      justify-content: center; justify-items: center; row-gap: var(--sp-025); }
.dash-att[data-stack] .dash-att-key > i { grid-area: sq; }
.dash-att[data-stack] .dash-att-key > b { grid-area: n; }
.dash-att[data-stack] .dash-att-key > span { grid-area: word; display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.chart-arc.dash-st-danger { stroke: var(--danger); } /* живой: the arc takes «dash-st-» + its state in `cardAttention` */
.chart-arc.dash-st-warn { stroke: var(--warn); } /* живой: the arc takes «dash-st-» + its state in `cardAttention` */
.chart-arc.dash-st-info { stroke: var(--a-300); } /* живой: the arc takes «dash-st-» + its state in `cardAttention` */
.dash-att-keys { min-width: 0; display: flex; flex-direction: column; gap: var(--sp-100); }
.dash-att-key { display: grid; grid-template-columns: var(--sp-150) var(--sp-400) minmax(0, 1fr); align-items: center;
                column-gap: var(--sp-100); color: var(--ink2); white-space: nowrap; }
.dash-att-key.none { color: var(--ink3); }
@container (width < 280px) { /* вне шкалы: a ring, a key, a count and its word side by side */
  .dash-att-key { grid-template-columns: var(--sp-150) auto; }
  .dash-att-key > span { display: none; }
}
.dash-att-n { font: var(--fw-semi) var(--fs-num-s)/1.2 var(--font-h); color: var(--ink); }
.dash-att-key.none .dash-att-n { color: var(--ink3); }
.dash-att-n.danger { color: var(--danger-ink); }
.dash-att-n.warn { color: var(--warn-ink); }
.dash-st-key { display: block; width: var(--sp-150); height: var(--sp-150); border-radius: var(--r-xs); }
.dash-st-key.danger { background: var(--danger); }
.dash-st-key.warn { background: var(--warn); }
.dash-st-key.info { background: var(--a-300); }

/* «Лучшие за месяц»: the podium - faces on columns of their value from one baseline */
.dash-best { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--sp-200); overflow: hidden; }
.dash-best > .sflow { flex: 0 1 auto; }
.dash-podium-box { flex: 1 1 0; min-height: calc(var(--sp-600) * 3); display: flex; }
.dash-podium { flex: 1 1 auto; display: grid; gap: var(--sp-150); border-bottom: var(--bw) solid var(--line); }
/* a step: air over it, the face, the words, the column; the air and the column share the height by the value */
.dash-step { min-width: 0; min-height: 0; display: flex; flex-direction: column; align-items: center; gap: var(--sp-050);
             text-align: center; }
.dash-step-air { flex: 1 1 0; min-height: 0; }
.dash-step-face { flex: none; height: calc(var(--sp-600) + var(--sp-200)); display: flex; align-items: flex-end;
                  justify-content: center; padding-bottom: var(--sp-050); }
.rg-avatar.dash-face-l { width: var(--sp-600); height: var(--sp-600); font-size: var(--fs-l); }
.dash-step-name { flex: none; width: 100%; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-step-v { flex: none; color: var(--ink); font-weight: var(--fw-semi); white-space: nowrap; }
.dash-step-p { flex: none; color: var(--ink3); font-size: var(--fs-s); line-height: var(--lh-s); white-space: nowrap; }
.dash-step-bar { flex: 1 1 0; min-height: var(--sp-050); display: block; width: 100%; margin-top: var(--sp-050);
                 max-width: 40px; /* вне шкалы: the widest bar of the kit (15.2246) */
                 border-radius: var(--sp-050) var(--sp-050) 0 0; background: var(--acc-weak-2); }
.dash-step.first .dash-step-bar { background: var(--acc-solid); }

/* «Компания»: the seats' ring and the facts beside it, the people present, the place at the foot */
.dash-co { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: safe center; gap: var(--sp-200);
           overflow: hidden; container-type: size; }
/* the seats' ring takes the height the people and the place leave, from 120 up to 192 */
.dash-co-top { flex: none; display: flex; align-items: center; gap: var(--sp-300); min-width: 0; }
/* the seats' ring: half the width and the height the people present leave (their caption, faces and names - 128) */
.dash-co-top > .dash-bring { width: min(48cqi, calc(100cqh - var(--sp-600) * 2 - var(--sp-400))); } /* вне шкалы: the ring leaves the facts and the people their room */
/* a low box (the grid's smallest cells): the facts alone, who is here by the count alone */
@container (height < 200px) { /* вне шкалы: a ring of 64 over the people */
  .dash-co-top > .dash-bring, .dash-co-here > .dash-people { display: none; }
}
.dash-co-facts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-200); }
.dash-co-here { display: flex; flex-direction: column; gap: var(--sp-100); min-width: 0; }
.dash-people { display: flex; gap: var(--sp-150); min-width: 0; }
.dash-person { flex: none; width: calc(var(--sp-600) + var(--sp-150)); display: flex; flex-direction: column; align-items: center; gap: var(--sp-050); }
.dash-person > .rg-avatar { width: var(--sp-600); height: var(--sp-600); font-size: var(--fs-l); }
.dash-more.rg-avatar { border-radius: var(--r-full); background: var(--a-200); color: var(--ink2); }
.dash-person-n { width: 100%; text-align: center; overflow-wrap: anywhere; color: var(--ink2); font-size: var(--fs-s); line-height: var(--lh-s);
                 display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* «Динамика»: the two totals over the chart, the chart taking the rest */
.dash-dyn { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--sp-100); }
.dash-dyn > .chart-cols { flex: 1 1 auto; min-height: 0; }
.dash-dyn > .chart-cols > .chart-cols-plot { min-height: 0; }

/* «Проекты»: the kit's project tiles (/kit/projecttile.js) with their pictures large */
/* the names keep the page's own line (1.45 of the text), as before the kit tile */
.dash-ptile-flow .ptile-cell { --ptile-name-h: calc(var(--fs) * 1.45); }
.dash-ptile-flow[style*="--pic-h"] .ptile-pic { aspect-ratio: auto; height: var(--pic-h); }
/* up to four tiles share the box by their count (`wholeTiles`, `data-fill`): the pictures take the height the words leave;
   three - one large over two, or three in a row in a wide box; the lowest picture allowed - `--pic-least` */
.dash-ptile-flow { --pic-least: var(--sp-600); container-type: size; }
.dash-ptile-flow[data-fill] { overflow: hidden; }
.dash-ptile-flow[data-fill] > .ptiles { height: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.dash-ptile-flow[data-fill="1"] > .ptiles { grid-template-columns: minmax(0, 1fr); }
.dash-ptile-flow[data-fill="3"] > .ptiles > .ptile-cell:first-child { grid-column: 1 / -1; }
.dash-ptile-flow[data-fill] .ptile-cell { min-height: 0; display: flex; flex-direction: column; }
.dash-ptile-flow[data-fill] .ptile { flex: 1 1 0; min-height: 0; }
.dash-ptile-flow[data-fill] .ptile-pic { flex: 1 1 0; min-height: 0; aspect-ratio: auto; }
@container (min-aspect-ratio: 2 / 1) { /* вне шкалы: a wide box - the tiles side by side */
  .dash-ptile-flow[data-fill] > .ptiles { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .dash-ptile-flow[data-fill="3"] > .ptiles > .ptile-cell:first-child { grid-column: auto; }
}

/* «Заказы в работе»: the count and the sum, the share bar by who leads them, the rows under; a proposal's views */
.dash-orders { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--gap); }
.dash-orders-top { flex: none; display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--sp-200) var(--sp-400); }
.dash-orders-top > .dash-two { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.dash-orders-top > .share-bar { flex: 1 1 calc(var(--sp-600) * 5); }
.dash-seen { display: inline-flex; align-items: center; gap: var(--sp-050); }

/* «Echo»: the ring of the month beside its two numbers, over the days */
.dash-echo-head { flex: none; display: flex; align-items: center; gap: var(--sp-300); min-width: 0; container-type: inline-size; }
.dash-echo-head > .dash-bring { width: min(calc(var(--sp-600) * 2 + var(--sp-300)), 36cqi); } /* вне шкалы: the ring leaves the numbers their room */
.dash-echo-facts { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-150); }

/* «Последние работы»: the strip over the rows */
.dash-recent { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: var(--gap); }
/* the strip takes what the whole rows leave (`wholeRows`): no empty band under the last row */
.dash-recent > .dash-chart { flex: 1 0 auto; }

/* «Сообщения»: the last message's lines and the rows' height by the box (`linesFill`) */
.dash-msgs .list-row-sub.lines { -webkit-line-clamp: var(--msg-lines, 1); }
.dash-msgs[style*="--msg-row"] .list-row { min-height: var(--msg-row); }
/* rows grown by a box wide enough: a face of 48 and the chat's name a step larger, as Telegram's chat list */
.dash-msgs { container-type: inline-size; }
@container (width >= 280px) { /* вне шкалы: a face of 48, the name and the date side by side */
  .dash-msgs[style*="--msg-row"] .list-row > :is(.rg-avatar, .list-row-sign) { width: var(--sp-600); height: var(--sp-600); font-size: var(--fs-l); }
  .dash-msgs[style*="--msg-row"] .list-row-main > .ellipsis { font-size: var(--fs-l); line-height: var(--lh-l); }
}

/* «Журнал изменений»: the day's kinds, their legend in rows of the card's width; the author's face, the kind's sign at its corner */
.share-bar.dash-kinds { flex: none; }
.dash-kinds > .share-legend { display: flex; flex-wrap: wrap; gap: var(--sp-050) var(--sp-200); }
.dash-kinds .share-key { display: inline-flex; align-items: center; gap: var(--sp-075); }
.dash-kinds .share-key-n { display: none; }
.dash-who { flex: none; position: relative; display: block; width: var(--h-btn); height: var(--h-btn); }
.dash-act {
  position: absolute; right: calc(-1 * var(--sp-050)); bottom: calc(-1 * var(--sp-050));
  width: var(--sp-200); height: var(--sp-200); border-radius: var(--r-full);
  display: grid; place-items: center; background: var(--card); color: var(--ink2);
  outline: var(--bw) solid var(--line);
}
