/* 22503592 — сбор базы в окне Excel: строки находятся по одной, почты проверяются, в конце лист «Пояснения».
   Разметка: works/22503592/stage.html (собирает make_stage.py), движение: static/kinds/22503592.js.
   Без скрипта видна итоговая таблица и сводка под ней. */

#w22503592 .xw {
  --g: #17703f;
  --gh: #2f7d4c;
  --band: #e8f3ec;
  --grid: #e2e4e7;
  --hdr: #f6f6f6;
  --hl: #c9cbce;
  --rh: 25px;
  --cols: 36px 1.71fr 0.96fr 1.21fr 1.55fr 1.07fr 0.73fr 0.94fr 0.94fr;
  container: xw / inline-size;
  position: relative;
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  text-align: left;
  font: 400 12px/1.25 "Aptos Narrow", "Aptos", Calibri, "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.18), 0 2px 6px rgba(14, 26, 58, 0.08), 0 40px 70px -40px rgba(14, 26, 58, 0.6);
}
#w22503592 .xw svg { display: block; flex: none; }
#w22503592 .xw i, #w22503592 .xw em { font-style: normal; }

/* ——— заголовок окна ——— */
#w22503592 .xw-title { flex: none; display: flex; align-items: center; gap: 12px; height: 32px; padding-left: 10px; background: var(--g); color: #fff; font-size: 12px; white-space: nowrap; }
#w22503592 .xw-app svg { width: 18px; height: 18px; }
#w22503592 .xw-auto { display: inline-flex; align-items: center; gap: 6px; opacity: 0.92; }
#w22503592 .xw-auto i { position: relative; width: 26px; height: 13px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 7px; box-sizing: border-box; }
#w22503592 .xw-auto i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
#w22503592 .xw-qa { display: inline-flex; gap: 9px; }
#w22503592 .xw-qa svg { width: 15px; height: 15px; }
#w22503592 .xw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: center; }
#w22503592 .xw-name b { font-weight: 600; }
#w22503592 .xw-name span { opacity: 0.72; }
#w22503592 .xw-find { display: inline-flex; align-items: center; gap: 7px; width: 210px; height: 22px; padding: 0 9px; box-sizing: border-box; border-radius: 5px; background: rgba(255, 255, 255, 0.17); color: rgba(255, 255, 255, 0.85); }
#w22503592 .xw-find svg { width: 13px; height: 13px; }
#w22503592 .xw-win { display: flex; align-self: stretch; }
#w22503592 .xw-win i { position: relative; width: 44px; }
#w22503592 .xw-win i::before, #w22503592 .xw-win i::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; }
#w22503592 .xw-win i:nth-child(1)::before { width: 10px; height: 1px; background: #fff; }
#w22503592 .xw-win i:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid #fff; box-sizing: border-box; }
#w22503592 .xw-win i:nth-child(3)::before, #w22503592 .xw-win i:nth-child(3)::after { width: 13px; height: 1px; background: #fff; rotate: 45deg; }
#w22503592 .xw-win i:nth-child(3)::after { rotate: -45deg; }

/* ——— вкладки ленты и лента ——— */
#w22503592 .xw-menu { flex: none; display: flex; height: 30px; padding: 0 6px; overflow: hidden; background: #f3f3f3; color: #3d3d3d; font-size: 12.5px; white-space: nowrap; }
#w22503592 .xw-menu span { position: relative; display: flex; align-items: center; padding: 0 9px; }
#w22503592 .xw-menu .on { color: var(--g); font-weight: 700; }
#w22503592 .xw-menu .on::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--g); }
#w22503592 .xw-ribw { flex: none; padding: 0 8px 8px; background: #f3f3f3; }
#w22503592 .xw-rib { display: flex; height: 76px; padding: 5px 2px 2px; box-sizing: border-box; overflow: hidden; border-radius: 8px; background: #fff; color: #2f2f2f; font-size: 11.5px; box-shadow: 0 0 0 1px #e1e1e1, 0 1px 3px rgba(0, 0, 0, 0.07); }
#w22503592 .rg { flex: none; display: flex; flex-direction: column; padding: 0 9px; border-right: 1px solid #e6e6e6; }
#w22503592 .rg:last-child { border-right: 0; }
#w22503592 .rg-in { flex: 1; display: flex; align-items: flex-start; gap: 3px; }
#w22503592 .rg small { display: block; font-size: 10.5px; line-height: 14px; text-align: center; color: #707070; white-space: nowrap; }
#w22503592 .rb { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 1px 4px; font-size: 11px; line-height: 1.12; text-align: center; white-space: nowrap; }
#w22503592 .rb svg { width: 26px; height: 26px; }
#w22503592 .rc { display: flex; flex-direction: column; gap: 4px; padding-top: 1px; }
#w22503592 .rc-s { gap: 1px; padding-top: 0; }
#w22503592 .rc-s .ri { height: 17px; }
#w22503592 .rr { display: flex; align-items: center; gap: 2px; }
#w22503592 .ri, #w22503592 .rt { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 2px; box-sizing: border-box; border-radius: 3px; font-size: 12px; color: #2f2f2f; }
#w22503592 b.rt { font-weight: 800; }
#w22503592 i.rt { font-style: italic; font-family: Georgia, serif; }
#w22503592 u.rt { text-decoration: underline; }
#w22503592 .rt sup { font-size: 8px; line-height: 0; }
#w22503592 .ri svg { width: 15px; height: 15px; }
#w22503592 .ri.on { background: #e3e3e3; }
#w22503592 .rs { position: relative; display: inline-flex; align-items: center; height: 21px; padding: 0 20px 0 6px; box-sizing: border-box; border: 1px solid #c9c9c9; border-radius: 3px; font-size: 12px; background: #fff; }
#w22503592 .rs::after { content: ""; position: absolute; right: 6px; top: 8px; border: 4px solid transparent; border-bottom: 0; border-top-color: #555; }
#w22503592 .rs-f { width: 112px; }
#w22503592 .rs-n { width: 40px; }
#w22503592 .rs-g { width: 104px; }
#w22503592 .rbw { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 4px; white-space: nowrap; }
#w22503592 .rbw svg { width: 15px; height: 15px; }

/* ——— строка формул ——— */
#w22503592 .xw-fx { flex: none; display: flex; align-items: stretch; height: 28px; border-top: 1px solid #dedede; border-bottom: 1px solid #dedede; background: #fff; font-size: 12.5px; }
#w22503592 .xw-nm { position: relative; flex: none; display: flex; align-items: center; width: 110px; padding-left: 9px; box-sizing: border-box; border-right: 1px solid #dedede; }
#w22503592 .xw-nm::after { content: ""; position: absolute; right: 8px; top: 12px; border: 4px solid transparent; border-bottom: 0; border-top-color: #666; }
#w22503592 .xw-fb { flex: none; display: flex; align-items: center; gap: 13px; padding: 0 12px; border-right: 1px solid #dedede; color: #9a9a9a; }
#w22503592 .xw-fb em { font: italic 14px/1 Georgia, "Times New Roman", serif; color: #444; }
#w22503592 .xw-fv { flex: 1; min-width: 0; display: flex; align-items: center; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ——— лист ——— */
#w22503592 .xw-sheets { position: relative; flex: 1; min-height: 0; }
#w22503592 .xw-grid { position: relative; }
#w22503592 .xw-cols, #w22503592 .xw-hd, #w22503592 .xr { display: grid; grid-template-columns: var(--cols); }
#w22503592 .xw-cols i { display: grid; place-items: center; height: 20px; overflow: hidden; background: var(--hdr); color: #5f5f5f; font-size: 11.5px; border-right: 1px solid #dcdcdc; border-bottom: 1px solid var(--hl); transition: background-color 0.2s, color 0.2s; }
#w22503592 .xw-cols i:first-child { background: var(--hdr) linear-gradient(135deg, transparent 62%, #b9b9b9 62% 76%, transparent 76%) no-repeat right 4px bottom 3px / 10px 10px; }
#w22503592 .xw-cols i.sel { background-color: #dcebe2; color: var(--g); font-weight: 700; box-shadow: inset 0 -2px var(--g); }
#w22503592 .xw-hd i, #w22503592 .xr > i { display: grid; place-items: center; overflow: hidden; background: var(--hdr); color: #5f5f5f; font-size: 11.5px; border-right: 1px solid var(--hl); border-bottom: 1px solid #dcdcdc; transition: background-color 0.2s, color 0.2s; }

/* шапка таблицы: стиль таблицы Excel, фильтры, закреплённая строка */
#w22503592 .xw-hd { position: relative; z-index: 2; height: var(--rh); box-shadow: 0 1px 0 #8f8f8f, 0 3px 4px -2px rgba(0, 0, 0, 0.18); }
#w22503592 .xw-hd b { position: relative; display: flex; align-items: center; min-width: 0; padding: 0 25px 0 7px; overflow: hidden; background: var(--gh); color: #fff; font-weight: 700; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.22); }
#w22503592 .xw-hd b::after { content: ""; position: absolute; right: 5px; top: 50%; width: 15px; height: 15px; translate: 0 -50%; border-radius: 2px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 3.2h7L5 7.2z' fill='%23444'/%3E%3C/svg%3E") center / 9px no-repeat; box-shadow: inset 0 0 0 1px #aeb8b2; }

#w22503592 .xw-body { position: relative; }
#w22503592 .xw-rows { position: relative; }
#w22503592 .xr { height: var(--rh); overflow: hidden; }
#w22503592 .xr > span { display: flex; align-items: center; min-width: 0; padding: 0 7px; overflow: hidden; white-space: nowrap; background-color: #fff; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
#w22503592 .xr.bd > span { background-color: var(--band); }
#w22503592 .xr > span:nth-child(6) { color: #1a56c4; }
#w22503592 .xr > span:nth-child(7), #w22503592 .xr > span:nth-child(8) { color: #4a4a4a; }
#w22503592 .xr > span.n.mk { background-image: linear-gradient(225deg, #d13438 0 5px, transparent 5px); background-repeat: no-repeat; background-position: top right; background-size: 9px 9px; }
#w22503592 .v-old { display: none; }
#w22503592 .xr-x, #w22503592 .xr-e { display: none; }

/* проверка почты: встроенные стили ячеек Excel «Хороший», «Нейтральный», «Плохой» */
#w22503592 .xr > .st { font-weight: 600; }
#w22503592 .xr > .st.s-ok { background-color: #c6efce; color: #006100; }
#w22503592 .xr > .st.s-ok::before { content: "✓"; margin-right: 5px; font-weight: 800; }
#w22503592 .xr > .st.s-chk { background-color: #ffeb9c; color: #8a5300; }
#w22503592 .xr > .st.s-bad { background-color: #ffc7ce; color: #9c0006; }
#w22503592 .xr > .st.s-find { color: #7a7a7a; font-weight: 400; font-style: italic; }
#w22503592 .xr > .st.s-miss { background-color: #ececec; color: #555; }
#w22503592 .xr > .st.s-dup { background-color: #ffc7ce; color: #9c0006; }

/* выделенная ячейка с маркером заполнения */
#w22503592 .xw-sel { display: none; }

/* заметка Excel к ячейке */
#w22503592 .xw-note { display: none; }

/* ——— лист «Пояснения» ——— */
#w22503592 .xw-sum { --cols: 36px minmax(190px, 290px) minmax(96px, 150px) minmax(0, 1fr); border-top: 1px solid #dedede; }
#w22503592 .xs-top { position: relative; z-index: 2; box-shadow: 0 1px 0 #8f8f8f, 0 3px 4px -2px rgba(0, 0, 0, 0.16); }
#w22503592 .xw-cap { margin: 0; padding: 8px 10px; background: #f3f3f3; color: var(--g); font-weight: 700; border-bottom: 1px solid #dedede; }
#w22503592 .xs-cols { display: grid; grid-template-columns: var(--cols); }
#w22503592 .xs-r { display: grid; grid-template-columns: var(--cols); min-height: 27px; }
#w22503592 .xs-h { min-height: 32px; }
#w22503592 .xs-r > i { display: grid; place-items: center; background: var(--hdr); color: #5f5f5f; font-size: 11.5px; border-right: 1px solid var(--hl); border-bottom: 1px solid #dcdcdc; transition: background-color 0.2s, color 0.2s; }
#w22503592 .xs-r > span { position: relative; display: flex; align-items: center; min-width: 0; padding: 0 8px; overflow: hidden; white-space: nowrap; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
#w22503592 .xs-h .xs-t { grid-column: 2 / -1; font-size: 15px; font-weight: 700; color: var(--g); }
#w22503592 .xs-th > span { font-weight: 700; color: #1f1f1f; background: #f1f7f3; border-bottom: 2px solid var(--gh); }
#w22503592 .xs-th > span:nth-child(3) { justify-content: flex-end; }
#w22503592 .xs-v { justify-content: flex-end; font-weight: 700; }
#w22503592 .xs-note { color: #5a5a5a; }
#w22503592 .xs-bar s { position: absolute; left: 6px; top: 5px; bottom: 5px; width: calc((100% - 12px) * var(--w) / 100); border: 1px solid #63be7b; box-sizing: border-box; background: linear-gradient(90deg, #63be7b, #d9efdf); text-decoration: none; transform-origin: 0 50%; }
#w22503592 .xs-bar { color: #134d2b; font-weight: 600; }
#w22503592 .xs-bar em { position: relative; padding-left: 4px; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff; }
#w22503592 .xs-rows, #w22503592 .xs-fill { position: relative; }
#w22503592 .xs-fill .xs-e { display: none; }

/* диаграмма поверх листа: где нашлись руководители */
#w22503592 .xs-chart { position: relative; width: min(430px, 64%); margin: 12px 0 12px 46px; padding: 10px 16px 12px 12px; box-sizing: border-box; border: 1px solid #c9c9c9; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); }
#w22503592 .ch-t { margin: 0 0 8px; text-align: center; font-size: 13px; color: #404040; }
#w22503592 .ch-b { position: relative; margin-left: 96px; background: repeating-linear-gradient(90deg, #e3e3e3 0 1px, transparent 1px 20%); box-shadow: inset 1px 0 #9a9a9a; }
#w22503592 .ch-r { position: relative; display: flex; align-items: center; height: 26px; }
#w22503592 .ch-r span { position: absolute; right: calc(100% + 8px); white-space: nowrap; font-size: 11.5px; color: #555; }
#w22503592 .ch-r b { display: flex; align-items: center; flex: 1; height: 16px; font-weight: 400; }
#w22503592 .ch-r s { display: block; height: 100%; width: calc(var(--w) * 0.86%); background: var(--gh); transform-origin: 0 50%; text-decoration: none; }
#w22503592 .ch-r em { margin-left: 6px; font-size: 11.5px; color: #333; }
#w22503592 .ch-h { display: none; }
#w22503592 .xs-wide > .xs-v { grid-column: 3 / -1; justify-content: flex-start; padding-block: 5px; font-weight: 400; color: #3d3d3d; white-space: normal; line-height: 1.3; }
#w22503592 .xs-v:only-child { font-weight: 400; }

/* ——— вкладки листов и строка состояния ——— */
#w22503592 .xw-tabs { flex: none; display: flex; align-items: stretch; height: 30px; overflow: hidden; background: #f3f3f3; border-top: 1px solid #d4d4d4; color: #444; font-size: 12.5px; white-space: nowrap; }
#w22503592 .xw-nav { flex: none; display: flex; align-items: center; justify-content: center; gap: 12px; width: 54px; }
#w22503592 .xw-nav i { width: 6px; height: 6px; border-left: 1.5px solid #8a8a8a; border-bottom: 1.5px solid #8a8a8a; rotate: 45deg; }
#w22503592 .xw-nav i + i { rotate: -135deg; }
#w22503592 .xw-tab { position: relative; display: flex; align-items: center; padding: 0 16px; border-right: 1px solid #dadada; transition: background-color 0.3s, color 0.3s; }
#w22503592 .xw-tab.on { background: #fff; color: var(--g); font-weight: 700; }
#w22503592 .xw-tab.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 3px; border-radius: 2px; background: var(--g); }
#w22503592 .xw-tab.ping { background: #cfe8d8; color: var(--g); }
#w22503592 .xw-plus { display: flex; align-items: center; padding: 0 13px; color: #666; font-size: 17px; }
#w22503592 .xw-stat { flex: none; display: flex; align-items: center; gap: 16px; height: 24px; padding: 0 12px; background: #f3f3f3; border-top: 1px solid #e0e0e0; color: #3f3f3f; font-size: 11.5px; white-space: nowrap; }
#w22503592 .xw-cnt { margin-left: auto; }
#w22503592 .xw-views { display: flex; gap: 10px; }
#w22503592 .xw-views i { width: 12px; height: 10px; border: 1px solid #777; box-sizing: border-box; }
#w22503592 .xw-views i:first-child { background: linear-gradient(#777, #777) 0 3px / 100% 1px no-repeat, linear-gradient(#777, #777) 4px 0 / 1px 100% no-repeat; }
#w22503592 .xw-zoom { display: flex; align-items: center; gap: 8px; }
#w22503592 .xw-zoom s { position: relative; width: 90px; height: 1px; background: #8a8a8a; }
#w22503592 .xw-zoom s::after { content: ""; position: absolute; left: 50%; top: -5px; width: 3px; height: 11px; background: #444; }

/* ——— режим истории: окно на всю сцену, строки появляются по ходу прокрутки ——— */
.story #w22503592 .stage { container: xs / size; }
.story #w22503592 .xw { position: absolute; inset: 0; max-width: none; }
.story #w22503592 .xw-grid, .story #w22503592 .xw-sum { position: absolute; inset: 0; display: flex; flex-direction: column; transition: opacity 0.35s; }
.story #w22503592 .xw-body { flex: 1; min-height: 0; overflow: hidden; }
.story #w22503592 .xw-rows { transition: transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.story #w22503592 .xr { transition: height 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story #w22503592 .xr > span { transition: color 0.25s, background-color 0.3s; }
.story #w22503592 .xr:is(.xr-x, .xr-e) { display: grid; }
.story #w22503592 .xr.gone { height: 0; }
.story #w22503592 .xr:not(.p1) > span { color: transparent; background-color: #fff; }
.story #w22503592 .xr:not(.p2) > span:nth-child(3),
.story #w22503592 .xr:not(.p3) > span:nth-child(4),
.story #w22503592 .xr:not(.p4) > span:is(:nth-child(5), :nth-child(8)),
.story #w22503592 .xr:not(.p5) > span:nth-child(6),
.story #w22503592 .xr:not(.p6) > span:nth-child(7) { color: transparent; }
.story #w22503592 .xr > span.typing::after { content: ""; flex: none; width: 1px; height: 1.15em; margin-left: 1px; background: #1f1f1f; animation: w22503592-caret 1s steps(1) infinite; }
@keyframes w22503592-caret { 50% { opacity: 0; } }
.story #w22503592 .xr:not(.p1) > .st { color: transparent; background-color: #fff; }
.story #w22503592 .xr.old .v-old { display: inline; }
.story #w22503592 .xr.old .v-new { display: none; }
.story #w22503592 .xr.badnow > span:nth-child(6) { color: #9c0006; text-decoration: line-through; }
.story #w22503592 .xr.dup > span { background-color: #ffc7ce; color: #9c0006; }
.story #w22503592 .xr.miss > span { background-color: #f4f4f4; color: #8a8a8a; }
.story #w22503592 .xr.miss > span:nth-child(2) { text-decoration: line-through; }
.story #w22503592 .xr.cur > i { background-color: #dcebe2; color: var(--g); font-weight: 700; box-shadow: inset -2px 0 var(--g); }
.story #w22503592 .xr-e > span { color: transparent; }

.story #w22503592 .xw-sel { display: block; position: absolute; left: 0; top: 0; z-index: 1; height: var(--rh); border: 2px solid var(--g); box-sizing: border-box; pointer-events: none; transition: transform 0.18s, width 0.18s, opacity 0.2s; }
.story #w22503592 .xw-sel::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 5px; height: 5px; border: 1px solid #fff; background: var(--g); }

.story #w22503592 .xw-note { display: block; position: absolute; left: 0; top: 0; z-index: 6; width: 236px; padding: 7px 10px 8px; box-sizing: border-box; border: 1px solid #b3a96d; background: #fff8c8; color: #262626; font-size: 12.5px; line-height: 1.38; box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2); opacity: 0; scale: 0.94; transition: opacity 0.22s, scale 0.22s; pointer-events: none; }
.story #w22503592 .xw-note b { display: block; margin-bottom: 1px; font-weight: 700; }
#w22503592 .xw-note .ns { display: none; }
.story #w22503592 .xw-note::before { content: ""; position: absolute; width: 11px; height: 11px; box-sizing: border-box; background: inherit; rotate: 45deg; border: 0 solid #b3a96d; }
.story #w22503592 .xw-note:not(.lft, .up, .dn)::before { left: -6px; top: var(--ty, 14px); margin-top: -5.5px; border-left-width: 1px; border-bottom-width: 1px; }
.story #w22503592 .xw-note.lft::before { right: -6px; top: var(--ty, 14px); margin-top: -5.5px; border-top-width: 1px; border-right-width: 1px; }
.story #w22503592 .xw-note.up::before { bottom: -6px; left: var(--tx, 20px); margin-left: -5.5px; border-right-width: 1px; border-bottom-width: 1px; }
.story #w22503592 .xw-note.dn::before { top: -6px; left: var(--tx, 20px); margin-left: -5.5px; border-left-width: 1px; border-top-width: 1px; }
.story #w22503592 .xw-note.on { opacity: 1; scale: 1; }

.story #w22503592 .xw-cap { display: none; }
.story #w22503592 .xw-sum { border-top: 0; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.story #w22503592 .xw.on-sum .xw-sum { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.story #w22503592 .xw.on-sum .xw-grid { opacity: 0; }
.story #w22503592 .xs-body { flex: 1; min-height: 0; overflow: hidden; }
.story #w22503592 .xs-rows { transition: transform 0.38s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story #w22503592 .xs-r[data-x] > span { color: transparent; transition: color 0.3s, background-color 0.3s; }
.story #w22503592 .xs-r[data-x].on > span { color: inherit; }
.story #w22503592 .xs-r[data-x].on > .xs-note { color: #5a5a5a; }
.story #w22503592 .xs-r[data-x].on > .xs-bar { color: #134d2b; }
.story #w22503592 .xs-r[data-x].on > .xs-v { color: #1f1f1f; }
.story #w22503592 .xs-r.xs-wide.on > .xs-v { color: #3d3d3d; }
.story #w22503592 .xs-bar s { transform: scaleX(0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story #w22503592 .xs-r.on .xs-bar s { transform: none; }
.story #w22503592 .xs-r.cur > i { background-color: #dcebe2; color: var(--g); font-weight: 700; box-shadow: inset -2px 0 var(--g); }
.story #w22503592 .xs-r.cur > .xs-v { box-shadow: inset 0 0 0 2px var(--g); }
.story #w22503592 .xs-fill .xs-e { display: grid; }
.story #w22503592 .xs-chart { position: absolute; left: 46px; top: 12px; margin: 0; opacity: 0; translate: 0 8px; transition: opacity 0.35s, translate 0.35s; }
.story #w22503592 .xs-chart.on { opacity: 1; translate: none; }
.story #w22503592 .xs-chart .ch-r s { transform: scaleX(0); transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.story #w22503592 .xs-chart.on .ch-r s { transform: none; }
.story #w22503592 .xs-chart.on .ch-r:nth-child(2) s { transition-delay: 0.08s; }
.story #w22503592 .xs-chart.on .ch-r:nth-child(3) s { transition-delay: 0.16s; }
.story #w22503592 .xs-chart.on .ch-r:nth-child(4) s { transition-delay: 0.24s; }
.story #w22503592 .xs-chart.cur { border-color: #8a8a8a; }
.story #w22503592 .xs-chart.cur .ch-h { display: block; position: absolute; inset: -5px; pointer-events: none;
  background: radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px) no-repeat;
  background-size: 9px 9px;
  background-position: 0 0, 50% 0, 100% 0, 0 50%, 100% 50%, 0 100%, 50% 100%, 100% 100%;
  background-image: radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px), radial-gradient(circle, #fff 0 2.6px, #6b6b6b 2.6px 3.6px, transparent 3.8px); }

/* ——— ширина окна: лишние группы ленты и столбцы прячутся, буквы столбцов идут с пропусками, как у скрытых столбцов ——— */
@container xw (max-width: 1240px) { #w22503592 .g-cell { display: none; } }
@container xw (max-width: 1080px) { #w22503592 .g-align { display: none; } }
@container xw (max-width: 900px) { #w22503592 .g-num, #w22503592 .xw-find { display: none; } }
@container xw (max-width: 700px) { #w22503592 .g-sty, #w22503592 .xw-auto { display: none; } }
@container xw (max-width: 1000px) {
  #w22503592 .xw-grid { --cols: 34px 1.71fr 0.96fr 1.21fr 1.55fr 1.07fr 0.73fr 0.94fr; }
  #w22503592 .xw-grid :is(.xw-cols, .xw-hd, .xr) > :nth-child(8) { display: none; }
}
@container xw (max-width: 840px) {
  #w22503592 .xw-sheets { font-size: 11.5px; }
  #w22503592 .xr > span { padding: 0 5px; }
  #w22503592 .xw-hd b { padding-left: 5px; }
}
@container xw (max-width: 700px) {
  #w22503592 .xw-sum { --cols: 32px 1.45fr 0.78fr 1.55fr; }
  #w22503592 .xw-grid { --cols: 32px 1.71fr 0.96fr 1.21fr 1.07fr 0.94fr; }
  #w22503592 .xw-grid :is(.xw-cols, .xw-hd, .xr) > :is(:nth-child(5), :nth-child(7)) { display: none; }
}
@container xw (max-width: 560px) {
  #w22503592 .xw-sheets { --rh: 23px; font-size: 11px; }
  #w22503592 .xw-grid { --cols: 22px 1.48fr 0.93fr 0.88fr; }
  #w22503592 .xw-grid :is(.xw-cols, .xw-hd, .xr) > :is(:nth-child(3), :nth-child(4)) { display: none; }
  #w22503592 .xw-sum { --cols: 22px 1.62fr 0.74fr 0.82fr; }
  #w22503592 .xs-note { font-size: 0; }
  #w22503592 .xs-th > span:nth-child(4) { font-size: 0; }
  #w22503592 .xs-th > span:nth-child(4)::after { content: "Доля"; font-size: 11.5px; }
  #w22503592 .xw-title { gap: 8px; height: 26px; font-size: 11px; }
  #w22503592 .xw-qa, #w22503592 .xw-name span { display: none; }
  #w22503592 .xw-name { text-align: left; }
  #w22503592 .xw-win i { width: 28px; }
  #w22503592 .xw-menu { height: 25px; font-size: 11px; padding: 0 2px; }
  #w22503592 .xw-menu span { padding: 0 6px; }
  #w22503592 .xw-menu .on::after { left: 6px; right: 6px; bottom: 2px; }
  #w22503592 .xw-ribw { display: none; }
  #w22503592 .xw-fx { height: 24px; font-size: 11.5px; }
  #w22503592 .xw-nm { width: 46px; padding-left: 6px; }
  #w22503592 .xw-nm::after { display: none; }
  #w22503592 .xw-fb { gap: 0; padding: 0 8px; }
  #w22503592 .xw-fb i { display: none; }
  #w22503592 .xw-fv { padding: 0 7px; }
  #w22503592 .xw-cols i { height: 17px; font-size: 10.5px; }
  #w22503592 .xw-hd i, #w22503592 .xr > i, #w22503592 .xs-r > i { font-size: 10px; }
  #w22503592 .xw-hd b { padding: 0 19px 0 4px; }
  #w22503592 .xw-hd b::after { right: 3px; width: 13px; height: 13px; background-size: 8px; }
  #w22503592 .xr > span { padding: 0 4px; }
  #w22503592 .xs-chart { display: none; }
  #w22503592 .xr > .st.s-ok::before { margin-right: 3px; }
  #w22503592 .xs-r { min-height: 24px; }
  #w22503592 .xs-h { min-height: 28px; }
  #w22503592 .xs-r > span { padding: 0 6px; }
  #w22503592 .xs-h .xs-t { font-size: 13px; }
  #w22503592 .xs-wide > .xs-v { grid-column: 3 / -1; padding-block: 4px; }
  #w22503592 .xw-tabs { height: 26px; font-size: 11.5px; }
  #w22503592 .xw-nav { display: none; }
  #w22503592 .xw-tab { padding: 0 10px; }
  #w22503592 .xw-tab.on::after { left: 8px; right: 8px; bottom: 2px; }
  #w22503592 .xw-plus { padding: 0 8px; }
  #w22503592 .xw-stat { height: 20px; font-size: 10.5px; padding: 0 8px; }
  #w22503592 .xw-views, #w22503592 .xw-zoom { display: none; }
  .story #w22503592 .xw-note { width: calc(100% - 16px); font-size: 12px; padding: 5px 9px 6px; }
  .story #w22503592 .xw-note b { display: inline; }
  .story #w22503592 .xw-note .nl { display: none; }
  .story #w22503592 .xw-note .ns { display: inline; }
}

/* ——— высота сцены: на низких экранах лента сворачивается, как в Excel, потом уходят служебные строки ——— */
@container xs (max-height: 520px) { #w22503592 .xw-ribw { display: none; } }
@container xs (max-height: 620px) { #w22503592 .xs-minor { display: none; } }
@container xs (max-height: 700px) { #w22503592 .xs-chart { display: none; } }
@container xs (max-height: 340px) { #w22503592 .xw-menu, #w22503592 .xw-stat { display: none; } }
@container xs (max-height: 250px) {
  #w22503592 .xw-stat, #w22503592 .xw-fx { display: none; }
  #w22503592 .xw-title { height: 24px; }
}
