/* 22494170: отчёт по практическим работам с картами и расчётами (своя сцена).
   Разметка works/22494170/stage.html (собирает works/22494170/src/make.py), движение static/kinds/22494170.js.
   Без скрипта и при отключённых анимациях: карта с легендой, таблица 2.1, окно Excel с двумя листами и страницы отчёта столбиком.
   Режим истории (класс story на html): панели стоят абсолютно, их место, масштаб и прозрачность задаёт скрипт. */

#w22494170 .lx {
  --lx-ink: #1d2433; --lx-mu: #5e6a82; --lx-pap: #fbfaf5; --lx-red: #b23a22;
  --lx-xg: #1e7145; --lx-xgd: #185c37; --lx-grid: #e2e5e9; --lx-hd: #f3f4f6; --lx-hdl: #d4d8dd;
  display: flex; flex-direction: column; gap: 22px; width: 100%; color: var(--lx-ink); text-align: left;
}
#w22494170 .lx * { box-sizing: border-box; }
#w22494170 .lx svg { overflow: visible; }

/* ——— карта ——— */
#w22494170 .lx-pm { position: relative; width: 100%; max-width: 1028px; }
#w22494170 .lx-mapb {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: var(--lx-pap); cursor: zoom-in; line-height: 0;
  box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.12), 0 30px 60px -36px rgba(14, 26, 58, 0.55);
}
#w22494170 .lx-svg { display: block; width: 100%; height: auto; }
#w22494170 .lx-hint { display: none; }

/* ——— легенда ——— */
#w22494170 .lx-leg { font: 400 12.5px/1.25 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--lx-ink); max-width: 560px; }
#w22494170 .lx-leg { display: flex; flex-direction: column; }
#w22494170 .lx-lc { display: contents; }
#w22494170 .lx-legh { order: 0; }
#w22494170 .lx-lg1 { order: 1; }
#w22494170 .lx-lg2 { order: 2; }
#w22494170 .lx-lg0 { order: 3; }
#w22494170 .lx-lg3 { order: 4; }
#w22494170 .lx-legh { margin: 0 0 10px; font-size: 13px; line-height: 1.3; color: var(--lx-mu); }
#w22494170 .lx-legh b { display: block; color: var(--lx-ink); font-weight: 700; }
#w22494170 .lx-lg h4 { margin: 10px 0 4px; font: 700 10.5px/1.2 'Golos Text', system-ui, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lx-mu); }
#w22494170 .lx-lg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
#w22494170 .lx-lg li { display: flex; align-items: center; gap: 8px; min-height: 19px; }
#w22494170 .lx-lg svg { flex: none; overflow: visible; font-family: system-ui, sans-serif; }

#w22494170 .lx-cap { display: none; }

/* ——— полоса площадей (только в режиме истории) ——— */
#w22494170 .lx-band { display: none; }

/* ——— таблица 2.1: как в отчёте, Times и тонкие рамки ——— */
#w22494170 .lx-tab { background: #fff; padding: 16px 18px 18px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.1), 0 30px 60px -38px rgba(14, 26, 58, 0.5); }
#w22494170 .lx-tcap { margin: 0 0 6px; font: 15px/1.3 'Times New Roman', Times, 'Liberation Serif', serif; color: #000; }
#w22494170 .lx-tw { overflow-x: auto; }
#w22494170 .lx-t { width: 100%; min-width: 720px; border-collapse: collapse; font: 13px/1.22 'Times New Roman', Times, 'Liberation Serif', serif; color: #000; hyphens: auto; -webkit-hyphens: auto; }
#w22494170 .lx-t colgroup { display: none; }
#w22494170 .lx-t th, #w22494170 .lx-t td { border: 1px solid #000; padding: 3px 5px; vertical-align: top; text-align: left; }
#w22494170 .lx-t th { font-weight: 400; text-align: center; vertical-align: middle; }
#w22494170 .lx-t th:nth-child(1) { width: 16%; }
#w22494170 .lx-t th:nth-child(2) { width: 25%; }
#w22494170 .lx-t th:nth-child(3) { width: 23%; }
#w22494170 .lx-t th:nth-child(4) { width: 24%; }
#w22494170 .lx-t th:nth-child(5) { width: 12%; }
#w22494170 .lx-t td.n { text-align: right; white-space: nowrap; }
#w22494170 .lx-t td.n small { font-size: 12px; color: #333; }
#w22494170 .lx-t .sw { display: inline-block; width: 11px; height: 11px; margin-right: 5px; border: 1px solid #000; vertical-align: -1px; }
#w22494170 .lx-t tr { transition: background-color 0.25s; }
#w22494170 .lx-t tr.lx-cur td { background: #fff8d2; }

/* ——— окно Excel ——— */
#w22494170 .lx-xwrap { max-width: 100%; overflow-x: auto; }
#w22494170 .lx-xl {
  position: relative; display: flex; flex-direction: column; width: 900px; overflow: hidden; background: #fff; border-radius: 9px;
  font: 400 12.5px/1.2 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif; color: #1f2328; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.16), 0 36px 70px -40px rgba(14, 26, 58, 0.6); -webkit-user-select: none; user-select: none;
}
#w22494170 .lx-xt { flex: none; display: flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px; background: var(--lx-xgd); color: #fff; font-size: 12.5px; }
#w22494170 .lx-xt span { font-weight: 600; }
#w22494170 .lx-xt em { margin-left: auto; font-style: normal; opacity: 0.7; }
#w22494170 .lx-xi {
  flex: none; width: 16px; height: 16px; border-radius: 3px; background:
    linear-gradient(var(--lx-xgd), var(--lx-xgd)) 7.5px 0 / 1.5px 100% no-repeat, linear-gradient(var(--lx-xgd), var(--lx-xgd)) 0 7.5px / 100% 1.5px no-repeat, #fff;
}
#w22494170 .lx-xr { flex: none; display: flex; align-items: flex-end; gap: 2px; height: 28px; padding: 0 10px; background: var(--lx-xgd); color: rgba(255, 255, 255, 0.85); }
#w22494170 .lx-xr span { padding: 0 11px; height: 24px; line-height: 24px; border-radius: 5px 5px 0 0; }
#w22494170 .lx-xr span.on { background: #f6f7f8; color: var(--lx-xgd); font-weight: 600; }
#w22494170 .lx-xf { flex: none; display: flex; align-items: center; height: 30px; border-bottom: 1px solid var(--lx-hdl); background: #f6f7f8; }
#w22494170 .lx-xn { flex: none; width: 74px; height: 22px; margin: 0 6px; padding: 0 6px; border: 1px solid #cfd3d8; border-radius: 3px; background: #fff; line-height: 20px; font-weight: 600; }
#w22494170 .lx-xfx { flex: none; height: 100%; padding: 0 12px; border-inline: 1px solid #e1e4e8; display: flex; align-items: center; }
#w22494170 .lx-xfx i { font: italic 600 13px Georgia, 'Times New Roman', serif; color: #555b62; }
#w22494170 .lx-xff { flex: 1; min-width: 0; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #fff; height: 100%; line-height: 29px; }
#w22494170 .lx-xff .r { color: #2a6fdb; }
#w22494170 .lx-xb { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #fff; }
#w22494170 .lx-sh { position: relative; }
#w22494170 .lx-g { border-collapse: collapse; table-layout: fixed; width: var(--tw); }
#w22494170 .lx-g th, #w22494170 .lx-g td { padding: 0 6px; border: 1px solid var(--lx-grid); white-space: nowrap; overflow: hidden; text-overflow: clip; }
#w22494170 .lx-g thead th { height: 20px; background: var(--lx-hd); border-color: var(--lx-hdl); color: #60656c; font-weight: 400; font-size: 11.5px; text-align: center; width: var(--w); }
#w22494170 .lx-g .lx-rh { width: 32px; background: var(--lx-hd); border-color: var(--lx-hdl); color: #60656c; font-weight: 400; font-size: 11.5px; text-align: center; padding: 0; }
#w22494170 .lx-g td { text-align: right; }
#w22494170 .lx-g td.lx-l { text-align: left; }
#w22494170 .lx-g td.lx-ttl { overflow: visible; text-align: left; font-weight: 700; font-size: 13.5px; color: var(--lx-xgd); }
#w22494170 .lx-g td.lx-hd { background: #e3efe2; border-color: #a9c7a3; font-weight: 600; text-align: center; color: #1f3a27; }
#w22494170 .lx-g td.lx-hd.lx-l { text-align: left; }
#w22494170 .lx-g td.lx-wr { white-space: normal; line-height: 1.1; font-size: 11px; vertical-align: middle; padding: 0 4px; }
#w22494170 .lx-g td.lx-bd { border-color: #b9cbb4; }
#w22494170 .lx-g td.lx-b { font-weight: 700; background: #f2f7f0; }
#w22494170 .lx-g td.lx-in { background: #fff5d1; }
#w22494170 .lx-g td.lx-note { overflow: visible; text-align: left; color: #60656c; font-size: 11.5px; }
#w22494170 .lx-inl { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -2px; background: #fff5d1; border: 1px solid #c9b77a; }
#w22494170 .lx-g sub { font-size: 0.72em; line-height: 0; }
#w22494170 .lx-chart { position: absolute; left: 40px; background: #fff; border: 1px solid #c9cdd2; border-radius: 2px; padding: 10px 12px 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); line-height: 0; }
#w22494170 .lx-chart svg { display: block; }
#w22494170 .lx-cn { display: none; }
#w22494170 .lx-ch-a { top: 200px; }
#w22494170 .lx-ch-c1 { top: 236px; }
#w22494170 .lx-ch-c2 { top: 236px; left: 470px; }
#w22494170 .lx-gx { transform: scaleX(var(--k, 1)); transform-box: view-box; }
#w22494170 .lx-gy { transform: scaleY(var(--k, 1)); transform-box: view-box; }
#w22494170 .lx-sel { display: none; }
#w22494170 .lx-xs { flex: none; display: flex; align-items: stretch; height: 28px; padding-left: 34px; background: #f3f4f6; border-top: 1px solid var(--lx-hdl); color: #3b4148; }
#w22494170 .lx-xs span { padding: 0 14px; line-height: 27px; border-right: 1px solid #dde0e4; }
#w22494170 .lx-xs span.on { background: #fff; color: var(--lx-xg); font-weight: 700; box-shadow: inset 0 -2.5px 0 var(--lx-xg); }
#w22494170 .lx-plus { padding: 0 12px; line-height: 27px; color: #7b8189; font-weight: 400; }
#w22494170 .lx-xst { flex: none; display: flex; justify-content: space-between; height: 22px; padding: 0 12px; background: var(--lx-xg); color: #fff; font-size: 11.5px; line-height: 22px; }

/* без скрипта: оба листа в окне друг под другом, графики в потоке */
#w22494170 .lx-xb { display: flex; flex-direction: column; gap: 12px; padding-bottom: 12px; }
#w22494170 .lx-sh { display: flex; flex-direction: column; }
#w22494170 .lx-sh .lx-g tbody tr:nth-child(n + 10) { display: none; }
#w22494170 .lx-sh .lx-chart { position: static; margin: 10px 0 0 40px; width: max-content; }
#w22494170 .lx-sh-c { flex-flow: row wrap; }
#w22494170 .lx-sh-c .lx-g { flex: 0 0 100%; }

/* ——— страницы отчёта ——— */
#w22494170 .lx-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
#w22494170 .lx-pg { display: block; padding: 0; border: 0; background: #fff; cursor: zoom-in; line-height: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.12), 0 18px 36px -24px rgba(14, 26, 58, 0.5); }
#w22494170 .lx-pg img { display: block; width: 100%; height: auto; }
#w22494170 .lx-pg { position: relative; }
#w22494170 .lx-pgc { display: block; padding: 6px 8px 7px; font: 500 12.5px/1.25 'Golos Text', system-ui, sans-serif; color: var(--lx-mu); background: #fff; text-align: left; border-top: 1px solid #eef1f4; }

/* ════════ Режим истории ════════ */
.story #w22494170 .stage { overflow: hidden; }
.story #w22494170 .lx { position: absolute; inset: 0; display: block; overflow: hidden; }
.story #w22494170 .lx-p { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform, opacity; }
.story #w22494170 .lx-xwrap, .story #w22494170 .lx-docs { display: contents; }
.story #w22494170 .lx-pm { width: 1028px; max-width: none; }
.story #w22494170 .lx-svg { width: 1028px; height: 868px; }

.story #w22494170 .lx-fline { stroke-dasharray: 1 1; }
.story #w22494170 .lx-hint {
  display: flex; align-items: center; gap: 10px; position: absolute; right: 22px; bottom: 22px; padding: 11px 18px 11px 14px; border-radius: 999px;
  background: var(--lx-ink); color: #fff; font: 600 19px/1 'Golos Text', system-ui, sans-serif; opacity: 0; pointer-events: none;
}
.story #w22494170 .lx-hint i { width: 18px; height: 18px; border: 2.5px solid currentColor; border-radius: 50%; position: relative; }
.story #w22494170 .lx-hint i::after { content: ""; position: absolute; width: 8px; height: 2.5px; background: currentColor; right: -7px; bottom: -4px; rotate: 45deg; border-radius: 2px; }
.story #w22494170 .lx-leg { width: 196px; max-width: none; }
.story #w22494170 .lx-leg.lx-tight { font-size: 11.5px; }
.story #w22494170 .lx-leg.lx-tight .lx-lg li { min-height: 16px; }
.story #w22494170 .lx-leg.lx-tight .lx-lg svg { width: 26px; height: 15px; }
.story #w22494170 .lx-leg.lx-tight .lx-lg h4 { margin-top: 7px; }
.story #w22494170 .lx-band {
  display: block; width: 480px; padding: 18px 20px 16px; background: #fff; border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.1), 0 24px 50px -36px rgba(14, 26, 58, 0.5); font: 400 14px/1.3 'Golos Text', system-ui, sans-serif;
}
.story #w22494170 .lx-bh { margin: 0; color: var(--lx-mu); font-size: 14px; }
.story #w22494170 .lx-bn { margin: 2px 0 12px; font-size: 18px; font-weight: 600; }
.story #w22494170 .lx-bn b { font: 800 52px/1 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.story #w22494170 .lx-bn span { color: var(--lx-mu); font-weight: 400; font-size: 14px; margin-left: 4px; }
.story #w22494170 .lx-bar { display: flex; gap: 2px; height: 22px; background: #eef1f4; border-radius: 4px; overflow: hidden; }
.story #w22494170 .lx-bs { display: block; height: 100%; width: 0; flex: none; }
.story #w22494170 .lx-bs:last-child { border-radius: 0 4px 4px 0; }
.story #w22494170 .lx-bl { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.story #w22494170 .lx-bl li { display: grid; grid-template-columns: 12px 1fr; column-gap: 6px; row-gap: 1px; align-items: center; opacity: 0.28; transition: opacity 0.3s; font-size: 13px; }
.story #w22494170 .lx-bl li.lx-v { opacity: 1; }
.story #w22494170 .lx-bl li i { width: 12px; height: 12px; border-radius: 3px; }
.story #w22494170 .lx-bl li span, .story #w22494170 .lx-bl li em { grid-column: 2; font-style: normal; font-variant-numeric: tabular-nums; white-space: nowrap; }
.story #w22494170 .lx-bl li em { color: var(--lx-mu); font-size: 12px; }
.story #w22494170 .lx-bl li.lx-on b { text-decoration: underline 2px; text-underline-offset: 3px; }
.story #w22494170 .lx-tab { width: 860px; }
.story #w22494170 .lx-tw { overflow: hidden; }
.story #w22494170 .lx-t { min-width: 0; }
.story #w22494170 .lx-t td { transition: opacity 0.25s; }
.story #w22494170 .lx-xl { width: 900px; height: 574px; }
.story #w22494170 .lx-xb { display: block; padding: 0; }
.story #w22494170 .lx-sh { position: absolute; inset: 0; display: block; will-change: transform; }
.story #w22494170 .lx-sh .lx-g tbody tr:nth-child(n + 10) { display: table-row; }
.story #w22494170 .lx-sh .lx-chart { position: absolute; margin: 0; }
.story #w22494170 .lx-sh-c { visibility: hidden; }
.story #w22494170 .lx-xl.lx-s2 .lx-sh-c { visibility: visible; }
.story #w22494170 .lx-xl.lx-s2 .lx-sh-a { visibility: hidden; }
.story #w22494170 .lx-tc { transition: color 0.18s, background-color 0.3s; }
.story #w22494170 .lx-tc:not(.lx-v) { color: transparent; }
.story #w22494170 .lx-tc.lx-v.lx-fresh { background-color: #e1f2e6; }
.story #w22494170 .lx-cv { transition: opacity 0.3s; }
.story #w22494170 .lx-chart.lx-pre .lx-cv { opacity: 0; }
.story #w22494170 .lx-sel { display: block; position: absolute; left: 0; top: 0; border: 2px solid var(--lx-xg); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.story #w22494170 .lx-sel.lx-rng { background: rgba(30, 113, 69, 0.07); }
.story #w22494170 .lx-sel i { position: absolute; right: -4px; bottom: -4px; width: 7px; height: 7px; background: var(--lx-xg); border: 1px solid #fff; }
.story #w22494170 .lx-pg { width: 794px; height: 1123px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.14), 0 40px 80px -40px rgba(14, 26, 58, 0.65); }
.story #w22494170 .lx-pg img { height: 100%; }
.story #w22494170 .lx-pgc {
  position: absolute; left: 4%; bottom: 2.2%; padding: 0.3em 0.65em 0.35em; border: 0; border-radius: 0.5em; background: var(--lx-ink); color: #fff;
  font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none;
}

/* узкая сцена (телефон): таблица без двух столбцов, окно Excel уже, часть столбцов скрыта */
.story #w22494170 .lx-n .lx-tab { width: 410px; padding: 12px 12px 14px; }
.story #w22494170 .lx-n .lx-tcap { font-size: 14px; }
.story #w22494170 .lx-n .lx-t { font-size: 13.5px; }
.story #w22494170 .lx-n .lx-t th:nth-child(2), .story #w22494170 .lx-n .lx-t td:nth-child(2),
.story #w22494170 .lx-n .lx-t th:nth-child(3), .story #w22494170 .lx-n .lx-t td:nth-child(3) { display: none; }
.story #w22494170 .lx-n .lx-t th:nth-child(1) { width: 30%; }
.story #w22494170 .lx-n .lx-t th:nth-child(4) { width: 50%; }
.story #w22494170 .lx-n .lx-t th:nth-child(5) { width: 20%; }
.story #w22494170 .lx-n .lx-xl { width: 372px; font-size: 12px; border-radius: 7px; }
.story #w22494170 .lx-n .lx-xr, .story #w22494170 .lx-n .lx-xt em { display: none; }
.story #w22494170 .lx-n .lx-xt { height: 28px; }
.story #w22494170 .lx-n .lx-xn { width: 48px; }
.story #w22494170 .lx-n .lx-xs span { padding: 0 9px; }
.story #w22494170 .lx-n .lx-xs { padding-left: 4px; }
.story #w22494170 .lx-n .lx-g { width: var(--twn); }
.story #w22494170 .lx-n .lx-g thead th { width: var(--nw); }
.story #w22494170 .lx-n .lx-g .lx-rh { width: 22px; }
.story #w22494170 .lx-n .lx-g td { padding: 0 3px; }
.story #w22494170 .lx-n .lx-g td.lx-ttl { padding-left: 4px; }
.story #w22494170 .lx-n .lx-g .lx-nh { display: none; }
.story #w22494170 .lx-n .lx-g td.lx-ttl { font-size: 12.5px; }
.story #w22494170 .lx-n .lx-cw { display: none; }
.story #w22494170 .lx-n .lx-cn { display: block; }
.story #w22494170 .lx-n .lx-chart { left: 8px; padding: 7px 7px 5px; }
.story #w22494170 .lx-n .lx-ch-c1 { display: none; }
.story #w22494170 .lx-n .lx-ch-c2 { left: 8px; }
.story #w22494170 .lx-n .lx-pg { box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.16), 0 20px 40px -24px rgba(14, 26, 58, 0.6); }

/* высокая узкая сцена: легенда под картой в две колонки */
.story #w22494170 .lx-n .lx-leg { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; align-items: start; font-size: 11.5px; line-height: 1.2; }
.story #w22494170 .lx-n .lx-lc { display: block; }
.story #w22494170 .lx-n .lx-legh { display: none; }
.story #w22494170 .lx-n .lx-lg h4 { margin: 4px 0 3px; font-size: 10px; }
.story #w22494170 .lx-n .lx-lg ul { gap: 2px; }
.story #w22494170 .lx-n .lx-lg li { gap: 6px; min-height: 16px; }
.story #w22494170 .lx-n .lx-lg svg { width: 24px; height: 14px; }

/* совсем низкая сцена (телефон горизонтально): лента из карты и страниц, рядом подпись шага */
.story #w22494170 .lx-mini .lx-cap {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin: 0;
  font: 500 13px/1.3 'Golos Text', system-ui, -apple-system, sans-serif; color: var(--lx-ink);
}
.story #w22494170 .lx-mini .lx-mapb { border-radius: 3px; box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.18); }
.story #w22494170 .lx-mini .lx-pg { box-shadow: 0 0 0 1px rgba(14, 26, 58, 0.2), 0 6px 12px -8px rgba(14, 26, 58, 0.5); }
