/* Курс 2.0 — страница урока, вид 2 (с 29.10.2026): обложка в две колонки, боковое оглавление, видео рядом с текстом,
   интерактивные виджеты (.w-*), макеты экранов диспетчера (.mk-*). Идёт после css/course2.css: плеер видео (.c2v),
   термины (.t, .c2-pop) — оттуда. Тёмная тема по умолчанию, светлая — html[data-theme="light"]. Анимации — js/course2-lesson.js. */
:root {
  --l-bg: #0a0d12; --l-s1: #10141b; --l-s2: #161b24; --l-s3: #1d2430;
  --l-line: rgba(255,255,255,.075); --l-line2: rgba(255,255,255,.14);
  --l-ink: #eef2f6; --l-ink2: #b9c2ce; --l-mu: #7f8a99;
  --l-acc: #22d3ee; --l-acc2: #67e8f9; --l-accb: rgba(34,211,238,.1); --l-acc-ink: #04161b;
  --l-pos: #34d399; --l-posb: rgba(52,211,153,.12); --l-neg: #f87171; --l-negb: rgba(248,113,113,.12);
  --l-warn: #fbbf24; --l-warnb: rgba(251,191,36,.12); --l-vi: #a78bfa; --l-vib: rgba(167,139,250,.14);
  --l-r: 16px; --l-r2: 22px;
  --l-sh: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -20px rgba(0,0,0,.6);
  --l-paper: #f7f8fa; --l-paper-ink: #111827;
  --l-nav: 64px;
  --l-ease: cubic-bezier(.2,.7,.2,1);
}
html[data-theme="light"] {
  --l-bg: #f5f6f8; --l-s1: #ffffff; --l-s2: #f3f5f8; --l-s3: #e9edf2;
  --l-line: #e3e7ed; --l-line2: #cfd6df;
  --l-ink: #0d1320; --l-ink2: #3a4556; --l-mu: #6a7586;
  --l-acc: #0891b2; --l-acc2: #0e7490; --l-accb: rgba(8,145,178,.08); --l-acc-ink: #ffffff;
  --l-pos: #059669; --l-posb: rgba(5,150,105,.09); --l-neg: #dc2626; --l-negb: rgba(220,38,38,.08);
  --l-warn: #b45309; --l-warnb: rgba(217,119,6,.1); --l-vi: #7c3aed; --l-vib: rgba(124,58,237,.08);
  --l-sh: 0 1px 2px rgba(15,23,42,.04), 0 12px 32px -12px rgba(15,23,42,.14);
}
/* overflow: hidden у html/body (course2.css) ломает position: sticky — оглавление и видео; clip режет так же, но не создаёт прокрутку */
html:has(body.l2), body.c2.l2 { overflow-x: clip; }
body.c2.l2 { background: var(--l-bg); color: var(--l-ink); font-size: 17.5px; line-height: 1.68; }
.l2 ::selection { background: rgba(34,211,238,.28); }
.l2 a { color: var(--l-acc); }
.l2 :focus-visible { outline: 2px solid var(--l-acc); outline-offset: 2px; }
.l2 button { font: inherit; color: inherit; }
.l2 [hidden] { display: none !important; }

/* ── типографика ── */
.l-eyebrow { font-size: 12.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--l-mu); }
.l-h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; font-weight: 750; letter-spacing: -.032em; margin: 10px 0 18px; text-wrap: balance; }
.l-h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.12; font-weight: 720; letter-spacing: -.026em; margin: 10px 0 14px; text-wrap: balance; }
.l-h3 { font-size: 22px; line-height: 1.25; font-weight: 680; letter-spacing: -.012em; margin: 64px 0 8px; }
.l-prose .l-h3 { margin-top: 0; }
.l-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--l-ink2); margin: 0; max-width: 64ch; }
.l-sub { color: var(--l-mu); margin: 0 0 20px; font-size: 16px; }
.l-prose { max-width: 66ch; color: var(--l-ink2); }
.l-prose p { margin: 0 0 16px; }
.l-prose b, .l-lead b { color: var(--l-ink); font-weight: 650; }
.l-fine { font-size: 14px; color: var(--l-mu); margin: 22px 0 0; }
.l-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; letter-spacing: -.01em; }

/* ── кнопки ── */
.l-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; background: var(--l-acc); color: var(--l-acc-ink) !important;
  font-weight: 650; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s var(--l-ease), box-shadow .2s, background .2s; box-shadow: 0 8px 24px -10px rgba(34,211,238,.7); }
.l-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(34,211,238,.8); }
.l-btn.ghost { background: transparent; color: var(--l-ink) !important; border: 1px solid var(--l-line2); box-shadow: none; }
.l-btn.ghost:hover { background: var(--l-s2); }
.l-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.l-link::after { content: '→'; transition: transform .2s; }
.l-link:hover::after { transform: translateX(3px); }

/* ── обложка ── */
.l-cover { padding: calc(var(--l-nav) + 40px) 0 56px; border-bottom: 1px solid var(--l-line); background:
  radial-gradient(900px 420px at 85% 10%, rgba(34,211,238,.08), transparent 60%), var(--l-bg); }
.l-cover-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: center; }
.l-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--l-mu); margin-bottom: 22px; }
.l-crumbs a { color: var(--l-ink2); text-decoration: none; }
.l-crumbs a:hover { color: var(--l-acc); }
.l-crumbs > * + *::before { content: '/'; margin-right: 8px; color: var(--l-line2); }
.l-cover-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin: 30px 0 0; }
.l-cover-meta { display: flex; gap: 14px; color: var(--l-mu); font-size: 15px; }
.l-cover-meta span + span::before { content: '·'; margin-right: 14px; }
.l-learn { list-style: none; padding: 26px 0 0; margin: 30px 0 0; border-top: 1px solid var(--l-line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.l-learn li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.5; color: var(--l-ink2); }
.l-learn li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--l-accb);
  -webkit-mask: none; box-shadow: inset 0 0 0 1.5px var(--l-acc); }
.l-learn li::after { content: ''; position: absolute; left: 5px; top: 8px; width: 6px; height: 3.5px; border-left: 1.8px solid var(--l-acc); border-bottom: 1.8px solid var(--l-acc); transform: rotate(-45deg); }
.l-cover-vis { position: relative; padding: 24px 0 40px 28px; }
.l-cover-photo { margin: 0; border-radius: var(--l-r2); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--l-sh); background: var(--l-s2); }
.l-cover-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); animation: l-ken 22s var(--l-ease) both; }
@keyframes l-ken { from { transform: scale(1.12) translate(1.5%, 1%); } to { transform: scale(1.03); } }
.l-float { position: absolute; border-radius: 16px; background: color-mix(in srgb, var(--l-s1) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--l-line2); box-shadow: 0 24px 50px -18px rgba(0,0,0,.55); padding: 14px 16px; font-size: 14px; }
.l-float-load { left: 0; top: 0; width: 290px; animation: l-in .8s .5s var(--l-ease) both, l-bob 7s 1.3s ease-in-out infinite; }
.l-float-week { right: -14px; bottom: 0; width: 270px; animation: l-in .8s 1s var(--l-ease) both, l-bob 8s 1.8s ease-in-out infinite reverse; }
@keyframes l-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes l-bob { 50% { transform: translateY(-6px); } }
.l-float-top { display: flex; justify-content: space-between; align-items: center; color: var(--l-mu); }
.l-chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 650; background: var(--l-s3); color: var(--l-ink2); }
.l-chip.ok { background: var(--l-posb); color: var(--l-pos); }
.l-chip.ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: l-pulse 1.8s infinite; }
@keyframes l-pulse { 50% { opacity: .35; } }
.l-float-route { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; font-size: 15px; }
.l-float-route i { flex: 1; height: 2px; background: linear-gradient(90deg, var(--l-acc) 50%, transparent 50%) 0 0/10px 2px repeat-x; animation: l-dash 1s linear infinite; }
@keyframes l-dash { to { background-position: 10px 0; } }
.l-float-meta { display: flex; gap: 12px; color: var(--l-mu); font-size: 13px; }
.l-float-rate { margin-left: auto; color: var(--l-ink); font-weight: 700; font-size: 16px; }
.l-float-cap { color: var(--l-mu); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.l-float-bars { display: flex; gap: 4px; height: 10px; margin: 12px 0; }
.l-float-bars i { width: var(--w); border-radius: 3px; background: var(--l-acc); transform-origin: left; animation: l-grow .7s var(--l-ease) both; }
.l-float-bars i:nth-child(1) { animation-delay: 1.4s; } .l-float-bars i:nth-child(2) { animation-delay: 1.7s; opacity: .8; } .l-float-bars i:nth-child(3) { animation-delay: 2s; opacity: .65; }
.l-float-bars i.wk { background: var(--l-vi); animation-delay: 2.3s; }
@keyframes l-grow { from { transform: scaleX(0); } }
.l-float-sum { display: flex; flex-direction: column; gap: 2px; }
.l-float-sum > b { font-size: 26px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.l-float-sum span { color: var(--l-mu); font-size: 13px; }
.l-float-sum span b { color: var(--l-pos); }
.l-float-sum span b.up { color: var(--l-warn); }

/* ── каркас: боковое оглавление + контент ── */
.l-shell { max-width: 1240px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.l-main { min-width: 0; padding-bottom: 80px; }
.l-side { position: relative; }
.l-side-in { position: sticky; top: calc(var(--l-nav) + 28px); padding: 40px 0 24px; max-height: calc(100vh - var(--l-nav) - 28px); overflow: auto; scrollbar-width: none; }
.l-side-back { display: inline-flex; gap: 6px; font-size: 14px; color: var(--l-mu) !important; text-decoration: none; }
.l-side-back::before { content: '←'; }
.l-side-back:hover { color: var(--l-ink) !important; }
.l-side-title { margin: 18px 0 14px; font-weight: 680; font-size: 16px; line-height: 1.35; }
.l-side-title small { display: block; font-size: 12px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--l-mu); margin-bottom: 4px; }
.l-side-prog { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.l-side-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--l-s3); overflow: hidden; }
.l-side-bar i { display: block; height: 100%; width: 0; background: var(--l-acc); border-radius: 4px; transition: width .5s var(--l-ease); }
.l-side-pct { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; min-width: 32px; text-align: right; }
.l-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.l-steps::before { content: ''; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 1px; background: var(--l-line2); }
.l-steps-x { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--l-line); }
.l-steps-x::before { display: none; }
.l-steps a { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 0; color: var(--l-mu); text-decoration: none; font-size: 14.5px; line-height: 1.3; border-radius: 8px; transition: color .2s; }
.l-steps a:hover { color: var(--l-ink); }
.l-steps i { flex: 0 0 auto; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700;
  background: var(--l-bg); border: 1px solid var(--l-line2); color: var(--l-mu); transition: all .25s; position: relative; z-index: 1; }
.l-steps i.x { width: 9px; height: 9px; margin: 0 7px; background: var(--l-line2); border: 0; }
.l-steps a.is-now { color: var(--l-ink); font-weight: 600; }
.l-steps a.is-now i { border-color: var(--l-acc); color: var(--l-acc); box-shadow: 0 0 0 4px var(--l-accb); }
.l-steps a.is-done i { background: var(--l-acc); border-color: var(--l-acc); color: transparent; }
.l-steps a.is-done i::after { content: ''; position: absolute; width: 8px; height: 4.5px; border-left: 2px solid var(--l-acc-ink); border-bottom: 2px solid var(--l-acc-ink); transform: rotate(-45deg) translate(1px, -1px); }
.l-steps a.is-now i.x, .l-steps a.is-done i.x { background: var(--l-acc); box-shadow: none; }
.l-steps a.is-done i.x::after { display: none; }

/* мобильная строка шага */
.l-mbar { display: none; }

/* ── шаг ── */
.l-step { padding: 88px 0 24px; border-bottom: 1px solid var(--l-line); scroll-margin-top: calc(var(--l-nav) + 8px); }
.l-step:last-child { border-bottom: 0; }
.l-step-h { margin-bottom: 40px; max-width: 780px; }

/* две колонки: текст + медиа (фото/видео) */
.l-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin: 56px 0 0; }
.l-step-h + .l-split { margin-top: 0; }
.l-split-v { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); margin-top: 72px; }
.l-split-v .l-media { position: sticky; top: calc(var(--l-nav) + 24px); }
.l-split .w-waffle { align-self: center; }
.l-photo { margin: 0; }
.l-photo img { width: 100%; height: auto; display: block; border-radius: var(--l-r2); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--l-sh); background: var(--l-s2); }
.l-photo figcaption { font-size: 14px; color: var(--l-mu); margin-top: 12px; line-height: 1.5; }
.l-band { margin: 0 0 40px; border-radius: var(--l-r2); overflow: hidden; aspect-ratio: 21/8; background: var(--l-s2); box-shadow: var(--l-sh); }
.l-band img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.6s var(--l-ease); }
.l-band.is-in img { transform: scale(1); }

/* видео в колонке */
.l-media .c2v { margin: 0; }
.l-media .c2v-head { margin-bottom: 12px; }
.l-media .c2v-head .tag { background: var(--l-s3); color: var(--l-ink2); border-radius: 6px; }
.l-media .c2v-stage { border-radius: var(--l-r); border-color: var(--l-line); box-shadow: var(--l-sh); }
.l-media .c2v-big { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
.l-media .c2v-big svg { width: 32px; height: 32px; }
.l-media .c2v-sub span { font-size: clamp(12px, 1.25vw, 16px); }

/* факты, подсказки, главное */
.l-facts { margin: 24px 0 0; display: grid; gap: 0; border-top: 1px solid var(--l-line); }
.l-facts div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--l-line); }
.l-facts dt { color: var(--l-mu); font-size: 14.5px; }
.l-facts dd { margin: 0; color: var(--l-ink); font-weight: 550; font-size: 15.5px; }
.l-watch { margin-top: 24px; padding: 18px 20px; border-radius: var(--l-r); background: var(--l-s1); border: 1px solid var(--l-line); }
.l-watch b { display: block; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; color: var(--l-acc); margin-bottom: 8px; }
.l-watch ul { margin: 0; padding: 0; list-style: none; }
.l-watch li { padding: 6px 0 6px 26px; position: relative; font-size: 15.5px; color: var(--l-ink2); line-height: 1.5; }
.l-watch li::before { content: '?'; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--l-line2); font-size: 11px; font-weight: 700; display: grid; place-items: center; color: var(--l-mu); }
.l-key { margin: 72px 0 0; padding: 24px 28px; border-radius: var(--l-r2); background: linear-gradient(180deg, var(--l-s1), var(--l-s1)) padding-box; border: 1px solid var(--l-line); position: relative; overflow: hidden; }
.l-key::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--l-acc); }
.l-key > b { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--l-mu); }
.l-key ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.l-key li { padding-left: 28px; position: relative; color: var(--l-ink2); font-size: 16.5px; line-height: 1.55; }
.l-key li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 14px; height: 7px; border-left: 2px solid var(--l-acc); border-bottom: 2px solid var(--l-acc); transform: rotate(-45deg) scale(.8); }
.l-key b, .l-key li b { color: var(--l-ink); font-weight: 650; }
.l-list { padding-left: 0; list-style: none; margin: 0 0 18px; }
.l-list li { padding: 8px 0 8px 22px; position: relative; border-bottom: 1px solid var(--l-line); }
.l-list li::before { content: ''; position: absolute; left: 2px; top: 18px; width: 7px; height: 7px; border-radius: 2px; background: var(--l-acc); }

/* три колонки «где работают» */
.l-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.l-col { padding: 22px 24px 24px 0; }
.l-col + .l-col { padding-left: 24px; border-left: 1px solid var(--l-line); }
.l-col-n { font-size: 13px; font-weight: 700; color: var(--l-acc); font-variant-numeric: tabular-nums; }
.l-col h4 { margin: 8px 0 8px; font-size: 18px; font-weight: 680; }
.l-col-n.hot { color: var(--l-pos); } .l-col-n.cold { color: var(--l-warn); }
.l-cols-v { grid-template-columns: 1fr; border-bottom: 0; }
.l-cols-v .l-col { padding: 18px 0; border-bottom: 1px solid var(--l-line); }
.l-cols-v .l-col + .l-col { padding-left: 0; border-left: 0; }
.l-col p { margin: 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }

/* документы, правила, рычаги */
.l-docs, .l-levers { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: d; }
.l-docs li, .l-levers li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--l-line); }
.l-docs li:first-child, .l-levers li:first-child { border-top: 1px solid var(--l-line); }
.l-docs b { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 14px; color: var(--l-acc); font-weight: 700; padding-top: 2px; }
.l-docs span, .l-levers span { color: var(--l-ink2); font-size: 15.5px; line-height: 1.5; }
.l-levers li { grid-template-columns: 150px 1fr; }
.l-levers b { color: var(--l-ink); font-size: 15.5px; }
.l-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.l-rule { padding: 22px; border-radius: var(--l-r); background: var(--l-s1); border: 1px solid var(--l-line); }
.l-rule span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--l-accb); color: var(--l-acc); font-weight: 750; font-size: 14px; margin-bottom: 14px; }
.l-rule p { margin: 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }
.l-rule b { color: var(--l-ink); }
.l-no { list-style: none; padding: 0; margin: 0 0 18px; }
.l-no li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--l-line); color: var(--l-ink2); }
.l-no li::before, .l-no li::after { content: ''; position: absolute; left: 6px; top: 22px; width: 14px; height: 2px; background: var(--l-neg); transform: rotate(45deg); border-radius: 2px; }
.l-no li::after { transform: rotate(-45deg); }

/* цифры рынка */
.l-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--l-line); border-bottom: 1px solid var(--l-line); }
.l-stats > div { padding: 26px 22px 24px 0; }
.l-stats > div + div { padding-left: 22px; border-left: 1px solid var(--l-line); }
.l-stats b { display: block; white-space: nowrap; font-size: clamp(26px, 2.5vw, 36px); font-weight: 750; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.l-stats span { display: block; margin-top: 10px; color: var(--l-mu); font-size: 14.5px; line-height: 1.45; }
.l-tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--l-line); }
.l-tools > div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--l-line); }
.l-tools > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--l-line); }
.l-tools b { font-size: 16.5px; }
.l-tools p { margin: 6px 0 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }

/* шпаргалка, следующий урок, источники */
.l-cheat { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--l-line); }
.l-cheat > div { padding: 18px 24px 18px 0; border-bottom: 1px solid var(--l-line); }
.l-cheat > div:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--l-line); }
.l-cheat b { font-size: 15.5px; }
.l-cheat p { margin: 4px 0 0; color: var(--l-ink2); font-size: 15px; line-height: 1.5; }
.l-cheat-act { margin-top: 20px; }
.l-next { margin-top: 56px; display: flex; align-items: center; gap: 24px; padding: 26px 28px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.l-next > div { flex: 1; }
.l-next small { color: var(--l-mu); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.l-next b { display: block; font-size: 20px; margin: 6px 0 4px; }
.l-next p { margin: 0; color: var(--l-ink2); font-size: 15px; }
.l-src { margin-top: 40px; font-size: 13.5px; color: var(--l-mu); line-height: 1.6; }
.l-src p { margin: 0 0 8px; }

/* появление при прокрутке */
/* прячем только при работающем скрипте: класс l-js ставит строка в <head> */
.l-js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--l-ease), transform .7s var(--l-ease); }
.l-js .rv.is-in { opacity: 1; transform: none; }
html.l-js { scroll-behavior: smooth; }
.l-step-end { height: 1px; }

/* ══════════ ВИДЖЕТЫ ══════════ */
.w-seg { display: inline-flex; padding: 4px; gap: 2px; border-radius: 12px; background: var(--l-s2); border: 1px solid var(--l-line); margin-bottom: 22px; position: relative; }
.w-seg button { position: relative; z-index: 1; border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; cursor: pointer; font-size: 14.5px; font-weight: 600; color: var(--l-mu); transition: color .2s; }
.w-seg button[aria-selected="true"] { color: var(--l-ink); }
.w-seg .w-seg-pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; border-radius: 9px; background: var(--l-s1); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 0 0 1px var(--l-line2); transition: left .35s var(--l-ease), width .35s var(--l-ease); }
html[data-theme="light"] .w-seg .w-seg-pill { box-shadow: 0 1px 3px rgba(15,23,42,.12), 0 0 0 1px var(--l-line); }

/* вкладки «4 части работы» */
.w-tabs { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); overflow: hidden; box-shadow: var(--l-sh); }
.w-tabs-list { display: flex; flex-direction: column; padding: 10px; gap: 4px; border-right: 1px solid var(--l-line); background: var(--l-bg); }
html[data-theme="light"] .w-tabs-list { background: var(--l-s2); }
.w-tabs-list button { position: relative; text-align: left; border: 0; background: transparent; padding: 14px 16px 16px; border-radius: 12px; cursor: pointer; transition: background .2s; overflow: hidden; }
.w-tabs-list button b { display: block; font-size: 16px; font-weight: 650; color: var(--l-mu); transition: color .2s; }
.w-tabs-list button span { display: block; font-size: 13.5px; color: var(--l-mu); margin-top: 2px; line-height: 1.4; }
.w-tabs-list button:hover { background: var(--l-s2); }
.w-tabs-list button[aria-selected="true"] { background: var(--l-s1); box-shadow: 0 0 0 1px var(--l-line2); }
html[data-theme="light"] .w-tabs-list button[aria-selected="true"] { box-shadow: 0 1px 3px rgba(15,23,42,.1), 0 0 0 1px var(--l-line); }
.w-tabs-list button[aria-selected="true"] b { color: var(--l-ink); }
.w-tabs-pg { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--l-line); overflow: hidden; opacity: 0; }
.w-tabs-pg::after { content: ''; position: absolute; inset: 0; background: var(--l-acc); transform: scaleX(var(--p, 0)); transform-origin: left; }
.w-tabs-list button[aria-selected="true"] .w-tabs-pg { opacity: 1; }
.w-tabs-stage { padding: 26px; min-width: 0; }
.w-tab { animation: w-fade .45s var(--l-ease); }
@keyframes w-fade { from { opacity: 0; transform: translateY(8px); } }
.w-tab-cap { margin: 18px 0 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; }
.w-tab-cap b { color: var(--l-ink); }

/* ── макеты экранов (mk) ── */
.mk-win { border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-bg); overflow: hidden; font-size: 14px; }
html[data-theme="light"] .mk-win { background: #fff; }
.mk-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--l-line); background: var(--l-s2); color: var(--l-mu); font-size: 12.5px; }
.mk-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--l-line2); }
.mk-bar span { margin-left: 10px; }
.mk-q { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-bottom: 1px solid var(--l-line); }
.mk-q span { padding: 6px 10px; border-radius: 8px; background: var(--l-s2); border: 1px solid var(--l-line); font-size: 13.5px; font-weight: 600; }
.mk-q small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.mk-q-sm { border: 1px solid var(--l-line); border-radius: 12px; margin-top: 14px; }
.mk-lb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mk-lb th { text-align: left; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); padding: 9px 12px; border-bottom: 1px solid var(--l-line); }
.mk-lb td { padding: 11px 12px; border-bottom: 1px solid var(--l-line); white-space: nowrap; }
.mk-lb tr:last-child td { border-bottom: 0; }
.mk-lb tr.is-pick td { background: var(--l-accb); }
.mk-lb tr.is-pick td:first-child { box-shadow: inset 3px 0 0 var(--l-acc); font-weight: 650; }
.mk-lb tr.is-bad td { color: var(--l-mu); }
.mk-cs { font-size: 12.5px; padding: 2px 8px; border-radius: 6px; background: var(--l-posb); color: var(--l-pos); font-weight: 600; }
.mk-cs.bad { background: var(--l-negb); color: var(--l-neg); }
.mk-cs.mid { background: var(--l-warnb); color: var(--l-warn); }
.mk-note { margin: 0; padding: 8px 12px; border-top: 1px solid var(--l-line); font-size: 12px; color: var(--l-mu); }
.mk-call { border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-bg); padding: 14px; display: grid; gap: 10px; }
html[data-theme="light"] .mk-call { background: #fff; }
.mk-call-h { display: flex; align-items: center; gap: 8px; color: var(--l-mu); font-size: 13px; font-weight: 600; padding-bottom: 6px; border-bottom: 1px solid var(--l-line); }
.mk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l-pos); animation: l-pulse 1.4s infinite; }
.mk-line { max-width: 86%; padding: 10px 14px; border-radius: 14px; background: var(--l-s2); font-size: 15px; line-height: 1.45; }
.mk-line b { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); margin-bottom: 3px; }
.mk-line small { display: block; margin-top: 5px; color: var(--l-mu); font-size: 13px; }
.mk-line.me { justify-self: end; background: var(--l-accb); border: 1px solid color-mix(in srgb, var(--l-acc) 30%, transparent); }
.mk-line.me b { color: var(--l-acc); }
.w-tab .mk-line { animation: w-fade .5s var(--l-ease) both; }
.w-tab .mk-line:nth-child(3) { animation-delay: .35s; } .w-tab .mk-line:nth-child(4) { animation-delay: .7s; } .w-tab .mk-line:nth-child(5) { animation-delay: 1.05s; }
.mk-doc { border-radius: 12px; background: var(--l-paper); color: var(--l-paper-ink); padding: 18px 20px; box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); font-size: 14px; }
.mk-doc-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 2px solid #111827; letter-spacing: .06em; }
.mk-doc-h span { font-family: ui-monospace, monospace; color: #475569; letter-spacing: 0; }
.mk-doc-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 14px 0; }
.mk-f { position: relative; padding: 8px 10px 8px 34px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; font-weight: 600; }
.mk-f small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #64748b; font-weight: 600; }
.mk-f::before { content: ''; position: absolute; left: 9px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #e2e8f0; transition: background .3s; }
.mk-f.ck::before { background: #10b981; }
.mk-f.ck::after { content: ''; position: absolute; left: 14px; top: 50%; width: 6px; height: 3px; margin-top: -3px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.mk-f.warn::before { background: #f59e0b; }
.mk-doc .mk-note { color: #64748b; border-top-color: #e2e8f0; }
.mk-doc-g > .mk-f.ck:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mk-f.warn::after { content: '!'; position: absolute; left: 15px; top: 50%; margin-top: -9px; color: #fff; font-size: 12px; font-weight: 800; }
.w-tab .mk-f { animation: w-fade .4s var(--l-ease) both; }
.w-tab .mk-f:nth-child(2) { animation-delay: .12s; } .w-tab .mk-f:nth-child(3) { animation-delay: .24s; } .w-tab .mk-f:nth-child(4) { animation-delay: .36s; } .w-tab .mk-f:nth-child(5) { animation-delay: .48s; } .w-tab .mk-f:nth-child(6) { animation-delay: .6s; }
.mk-doc-s { display: flex; align-items: flex-end; gap: 12px; color: #64748b; font-size: 12px; }
.mk-doc-s i { flex: 0 0 160px; height: 26px; border-bottom: 1.5px solid #94a3b8; background: no-repeat left bottom / 140px 24px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 24'%3E%3Cpath d='M4 18c10-12 16-14 18-8s-4 10 2 8 8-12 14-10-2 10 4 9 10-9 16-8 2 6 8 6 14-6 22-5 18 2 30 1' fill='none' stroke='%231e3a8a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mk-chat { border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-bg); padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
html[data-theme="light"] .mk-chat { background: #fff; }
.mk-chat-h { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--l-line); font-size: 14px; }
.mk-ava, .w-ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--l-s3); color: var(--l-ink2); font-weight: 700; font-size: 13px; flex: 0 0 auto; }
.mk-m { max-width: 82%; padding: 8px 12px 6px; border-radius: 14px; font-size: 14.5px; line-height: 1.4; background: var(--l-s2); align-self: flex-start; }
.mk-m.out { align-self: flex-end; background: var(--l-accb); }
.mk-m time { display: block; text-align: right; font-size: 11px; color: var(--l-mu); margin-top: 2px; }
.w-tab .mk-m { animation: w-fade .4s var(--l-ease) both; }
.w-tab .mk-m:nth-child(3) { animation-delay: .3s; } .w-tab .mk-m:nth-child(4) { animation-delay: .6s; } .w-tab .mk-m:nth-child(5) { animation-delay: .9s; } .w-tab .mk-m:nth-child(6) { animation-delay: 1.2s; }
.mk-status { display: flex; gap: 0; margin-top: 14px; font-size: 12px; font-weight: 600; }
.mk-status span { flex: 1; position: relative; padding-top: 16px; color: var(--l-mu); text-align: center; }
.mk-status span::before { content: ''; position: absolute; top: 4px; left: 0; right: 0; height: 3px; background: var(--l-line2); }
.mk-status span::after { content: ''; position: absolute; top: 0; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--l-s3); border: 2px solid var(--l-line2); }
.mk-status span.on { color: var(--l-ink2); }
.mk-status span.on::before { background: var(--l-pos); }
.mk-status span.on::after { background: var(--l-pos); border-color: var(--l-pos); }
.mk-status span.now { color: var(--l-acc); }
.mk-status span.now::after { background: var(--l-acc); border-color: var(--l-acc); box-shadow: 0 0 0 4px var(--l-accb); animation: l-pulse 1.6s infinite; }
.mk-trk { display: grid; gap: 8px; margin-top: 14px; }
.mk-trk > div { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--l-s2); border: 1px solid var(--l-line); font-size: 14px; }
.mk-trk span { color: var(--l-ink2); }
.mk-trk em { font-style: normal; font-size: 12.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.mk-trk em.am, .mk-calls .am { background: var(--l-warnb); color: var(--l-warn); }
.mk-trk em.ok, .mk-calls .ok { background: var(--l-posb); color: var(--l-pos); }
.mk-trk em.bad, .mk-calls .bad { background: var(--l-negb); color: var(--l-neg); }
.mk-calls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mk-calls span { padding: 7px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.mk-mail { margin-top: 14px; border-radius: 10px; border: 1px solid var(--l-line); overflow: hidden; }
.mk-mail > div { padding: 10px 14px; border-bottom: 1px solid var(--l-line); font-size: 14px; display: grid; }
.mk-mail > div:last-child { border-bottom: 0; }
.mk-mail span { color: var(--l-mu); font-size: 13px; }
.mk-mail .un { box-shadow: inset 3px 0 0 var(--l-acc); background: var(--l-accb); }

/* сортировка «да / нет» */
.w-sort ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.w-sort li { padding: 16px 18px; border-radius: var(--l-r); background: var(--l-s1); border: 1px solid var(--l-line); transition: border-color .3s, background .3s; }
.w-sort .q { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.45; }
.w-yn { display: flex; gap: 8px; margin-top: 12px; }
.w-yn button { flex: 1; height: 38px; border-radius: 10px; border: 1px solid var(--l-line2); background: transparent; cursor: pointer; font-weight: 600; font-size: 14.5px; transition: all .2s; }
.w-yn button:hover:not(:disabled) { background: var(--l-s2); }
.w-sort .why { display: none; margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--l-ink2); }
.w-sort li.is-ok { border-color: color-mix(in srgb, var(--l-pos) 55%, transparent); background: color-mix(in srgb, var(--l-pos) 5%, var(--l-s1)); }
.w-sort li.is-no { border-color: color-mix(in srgb, var(--l-neg) 55%, transparent); background: color-mix(in srgb, var(--l-neg) 5%, var(--l-s1)); }
.w-sort li.is-ok .why, .w-sort li.is-no .why { display: block; animation: w-fade .4s var(--l-ease); }
.w-yn button.pick.right { background: var(--l-pos); border-color: var(--l-pos); color: #04150e; }
.w-yn button.pick.wrong { background: var(--l-neg); border-color: var(--l-neg); color: #1b0606; }
.w-yn button.ans { box-shadow: inset 0 0 0 2px var(--l-pos); }
.w-yn button:disabled { cursor: default; }
.w-sort-foot { display: flex; align-items: center; gap: 16px; margin-top: 16px; color: var(--l-mu); font-size: 15px; }
.w-sort-foot b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-sort-foot button { border: 0; background: none; color: var(--l-acc); cursor: pointer; font-weight: 600; padding: 0; }

/* чат-решение */
.w-chat { margin-top: 72px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); overflow: hidden; box-shadow: var(--l-sh); max-width: 760px; }
.w-chat-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--l-line); }
.w-chat-h b { display: block; font-size: 15px; }
.w-chat-h small { display: block; font-size: 13px; color: var(--l-mu); }
.w-ava { width: 38px; height: 38px; font-size: 15px; background: var(--l-accb); color: var(--l-acc); }
.w-ava.b { background: var(--l-vib); color: var(--l-vi); } .w-ava.o { background: var(--l-warnb); color: var(--l-warn); } .w-ava.s { background: var(--l-negb); color: var(--l-neg); }
.w-chat-tag { margin-left: auto; font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--l-acc); }
.w-chat-log { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--l-bg); min-height: 70px; }
html[data-theme="light"] .w-chat-log { background: var(--l-s2); }
.w-chat-log .m { max-width: 80%; padding: 10px 14px 8px; border-radius: 16px; font-size: 15.5px; line-height: 1.45; animation: w-fade .4s var(--l-ease) both; }
.w-chat-log .m.in { align-self: flex-start; background: var(--l-s2); border-bottom-left-radius: 6px; }
html[data-theme="light"] .w-chat-log .m.in { background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.08); }
.w-chat-log .m.out { align-self: flex-end; background: var(--l-acc); color: var(--l-acc-ink); border-bottom-right-radius: 6px; }
.w-chat-log .m.sys { align-self: center; max-width: 92%; text-align: center; background: transparent; color: var(--l-ink2); font-size: 15px; padding: 2px 8px; }
.w-chat-log time { display: block; text-align: right; font-size: 11px; opacity: .6; margin-top: 2px; }
.w-chat-log .typing { align-self: flex-start; padding: 12px 16px; border-radius: 16px; background: var(--l-s2); display: flex; gap: 4px; }
.w-chat-log .typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--l-mu); animation: w-typ 1s infinite; }
.w-chat-log .typing i:nth-child(2) { animation-delay: .15s; } .w-chat-log .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes w-typ { 50% { transform: translateY(-3px); opacity: .4; } }
.w-chat-opts { padding: 14px 18px 18px; display: grid; gap: 8px; }
.w-chat-opts button { text-align: left; border: 1px solid var(--l-line2); background: transparent; padding: 12px 16px; border-radius: 12px; cursor: pointer; font-size: 15px; line-height: 1.45; transition: border-color .2s, background .2s, transform .15s; }
.w-chat-opts button:hover { border-color: var(--l-acc); background: var(--l-accb); }
.w-chat-opts button:active { transform: scale(.99); }
.w-chat.is-done .w-chat-opts { display: none; }
.w-chat-why { padding: 16px 18px 18px; border-top: 1px solid var(--l-line); animation: w-fade .45s var(--l-ease); }
.w-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 4px 12px; border-radius: 99px; }
.w-chat.is-right .w-verdict { background: var(--l-posb); color: var(--l-pos); }
.w-chat.is-wrong .w-verdict { background: var(--l-negb); color: var(--l-neg); }
.w-chat-why p { margin: 10px 0 12px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; }
.w-again { border: 0; background: none; color: var(--l-acc); font-weight: 600; cursor: pointer; padding: 0; font-size: 14.5px; }

/* схема груза */
.w-flow { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-flow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.w-flow-line { position: absolute; left: 10%; right: 10%; top: 38px; height: 2px; background: var(--l-line2); z-index: 0; overflow: hidden; }
.w-flow-line i { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--l-acc) 0 14px, transparent 14px 26px); animation: w-flow 1.2s linear infinite; opacity: .9; }
.w-flow[data-mode="money"] .w-flow-line i { background: repeating-linear-gradient(90deg, var(--l-pos) 0 6px, transparent 6px 16px); animation-duration: .9s; }
.w-flow[data-mode="docs"] .w-flow-line i { background: repeating-linear-gradient(90deg, var(--l-vi) 0 10px, transparent 10px 22px); animation-duration: 1.6s; }
@keyframes w-flow { from { transform: translateX(-26px); } to { transform: translateX(0); } }
.w-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 10px 6px 14px; border: 1px solid transparent; border-radius: 14px; background: transparent; cursor: pointer; transition: background .2s, border-color .2s; }
.w-node:hover { background: var(--l-s2); }
.w-node.is-open { background: var(--l-s2); border-color: var(--l-line2); }
.w-node .ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--l-s1); border: 1px solid var(--l-line2); color: var(--l-ink2); margin-bottom: 6px; transition: all .3s; }
html[data-theme="light"] .w-node .ic { background: #fff; }
html[data-theme="light"] .w-node.is-me .ic { background: var(--l-acc); }
.w-node .ic svg { width: 26px; height: 26px; }
.w-node.is-me .ic { background: var(--l-acc); border-color: var(--l-acc); color: var(--l-acc-ink); box-shadow: 0 0 0 6px var(--l-accb); }
.w-node b { font-size: 15px; line-height: 1.25; }
.w-node small { font-size: 12.5px; color: var(--l-mu); }
.w-node em { font-style: normal; font-size: 13px; line-height: 1.35; color: var(--l-ink2); margin-top: 6px; min-height: 36px; animation: w-fade .4s var(--l-ease); }
.w-flow[data-mode="money"] .w-node em { color: var(--l-pos); font-weight: 600; }
.w-flow[data-mode="docs"] .w-node em { color: var(--l-vi); font-weight: 600; }
.w-flow-cap { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--l-line); color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; }
.w-flow-hint { font-size: 13.5px; color: var(--l-mu); margin-top: 6px; }
.w-flow-detail:empty { display: none; }
.w-fd { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin-top: 18px; padding: 18px; border-radius: var(--l-r); background: var(--l-s2); border: 1px solid var(--l-line); animation: w-fade .4s var(--l-ease); }
.w-fd:not(:has(img)) { grid-template-columns: 1fr; }
.w-fd img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.w-fd h4 { margin: 0 0 8px; font-size: 18px; }
.w-fd p { margin: 0 0 10px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; }
.w-fd-k { color: var(--l-ink) !important; padding-left: 12px; border-left: 2px solid var(--l-acc); }

/* деньги одного груза */
.w-money { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 22px 24px; }
.w-money-row { display: grid; grid-template-columns: 260px 1fr 80px; gap: 18px; align-items: center; padding: 10px 0; }
.w-money-l { color: var(--l-ink2); font-size: 15px; }
.w-money-row > b { text-align: right; font-size: 18px; font-variant-numeric: tabular-nums; }
.w-money-row.is-me > b { color: var(--l-pos); }
.w-money-bar { height: 28px; border-radius: 8px; background: var(--l-s2); display: flex; overflow: hidden; }
.w-money-bar i { width: var(--w); height: 100%; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--l-ease); position: relative; }
.w-money.is-in .w-money-bar i { transform: scaleX(1); }
.w-money-row:nth-child(2) i { transition-delay: .35s; } .w-money-row:nth-child(3) i { transition-delay: .7s; }
.w-money-bar .a { background: var(--l-ink2); opacity: .55; }
.w-money-bar .b { background: var(--l-acc); }
.w-money-bar .m { background: repeating-linear-gradient(135deg, var(--l-vi) 0 6px, color-mix(in srgb, var(--l-vi) 55%, transparent) 6px 12px); }
.w-money-l em { display: flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--l-vi); margin-top: 2px; }
.w-money-l em::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--l-vi) 0 3px, color-mix(in srgb, var(--l-vi) 55%, transparent) 3px 6px); }
.w-money-bar .c { background: var(--l-pos); min-width: 6px; }
.w-money-n { margin: 12px 0 0; color: var(--l-mu); font-size: 14.5px; line-height: 1.55; }

/* брокер | диспетчер; без | с диспетчером */
.w-vs, .w-ba { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-vs-rows { margin: 0; }
.w-vs-rows > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--l-line); }
.w-vs-rows dt { color: var(--l-mu); font-size: 15px; }
.w-vs-rows dd { margin: 0; font-weight: 600; font-size: 16.5px; }
.w-vs-rows dd.swap, .w-ba-rows span.swap { animation: w-swap .45s var(--l-ease); }
@keyframes w-swap { from { opacity: 0; transform: translateX(10px); } }
.w-vs[data-side="d"] dd, .w-vs[data-side="s"] dd { color: var(--l-acc); }
.w-vs3[data-side="v"] dd { color: var(--l-acc); } .w-vs3[data-side="r"] dd { color: var(--l-vi); } .w-vs3[data-side="f"] dd { color: var(--l-warn); }
.w-vs-n { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 14px; }
.w-ba-rows { list-style: none; margin: 0; padding: 0; }
.w-ba-rows li { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--l-line); align-items: baseline; }
.w-ba-rows b { color: var(--l-mu); font-weight: 500; font-size: 15px; }
.w-ba-rows span { font-size: 16px; line-height: 1.5; padding-left: 26px; position: relative; }
.w-ba-rows span::before { content: ''; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 50%; }
.w-ba[data-side="a"] .w-ba-rows span::before { background: var(--l-negb); box-shadow: inset 0 0 0 1.5px var(--l-neg); }
.w-ba[data-side="b"] .w-ba-rows span::before { background: var(--l-posb); box-shadow: inset 0 0 0 1.5px var(--l-pos); }
/* data-good="a": хороший вариант слева (груз А), зелёный у него */
.w-ba[data-good="a"][data-side="a"] .w-ba-rows span::before { background: var(--l-posb); box-shadow: inset 0 0 0 1.5px var(--l-pos); }
.w-ba[data-good="a"][data-side="b"] .w-ba-rows span::before { background: var(--l-negb); box-shadow: inset 0 0 0 1.5px var(--l-neg); }
.w-ba-n { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 14.5px; }

/* карточки ситуаций */
.w-cases { position: relative; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-cases-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--l-mu); font-size: 14px; }
.w-cases-top > span:first-child { white-space: nowrap; }
.w-cases-dots { display: flex; gap: 6px; flex: 1; max-width: 230px; }
.w-cases-dots i { flex: 0 1 22px; min-width: 8px; height: 4px; border-radius: 3px; background: var(--l-line2); transition: background .3s; }
.w-cases-dots i.ok { background: var(--l-pos); } .w-cases-dots i.no { background: var(--l-neg); } .w-cases-dots i.now { background: var(--l-acc); }
.w-case { display: none; }
.w-case.is-now { display: block; animation: w-case .45s var(--l-ease); }
@keyframes w-case { from { opacity: 0; transform: translateX(24px); } }
.w-case > p { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 550; min-height: 86px; }
.w-case .why { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.55; color: var(--l-ink2); background: var(--l-s2); }
.w-case.is-ans .why { display: block; animation: w-fade .4s var(--l-ease); }
.w-case .w-verdict { margin-right: 8px; }
.w-case.is-right .w-verdict { background: var(--l-posb); color: var(--l-pos); }
.w-case.is-wrong .w-verdict { background: var(--l-negb); color: var(--l-neg); }
.w-cases-btns { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.w-cases-btns button { flex: 1; min-width: 200px; height: 48px; border-radius: 12px; border: 1px solid var(--l-line2); background: transparent; cursor: pointer; font-weight: 650; font-size: 15px; transition: all .2s; }
.w-cases-btns button:hover:not(:disabled) { border-color: var(--l-acc); background: var(--l-accb); }
.w-cases-btns button.next { flex: 0 0 auto; min-width: 0; padding: 0 22px; background: var(--l-acc); color: var(--l-acc-ink); border-color: var(--l-acc); }
/* до шести ответов («кому звонить»): кнопки остаются после ответа, видно выбранный и верный */
.w-cases-btns.many button { flex: 1 1 150px; min-width: 150px; }
.w-cases-btns.many button.next { flex: 0 0 auto; min-width: 0; }
.w-cases-btns.many button:disabled { cursor: default; opacity: .55; }
.w-cases-btns.many button.right, .w-cases-btns.many button.ans { opacity: 1; border-color: var(--l-pos); background: var(--l-posb); color: var(--l-pos); }
.w-cases-btns.many button.ans { border-style: dashed; }
.w-cases-btns.many button.wrong { opacity: 1; border-color: var(--l-neg); background: var(--l-negb); color: var(--l-neg); }
.w-case-t { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--l-acc); background: var(--l-accb); font-variant-numeric: tabular-nums; }
.w-cases-end { text-align: center; padding: 12px 0; }
.w-cases-end b { display: block; font-size: 40px; font-weight: 750; letter-spacing: -.02em; }
.w-cases-end p { color: var(--l-ink2); margin: 6px 0 14px; }

/* вафля 91,5% */
.w-waffle { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-waffle-g { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; max-width: 320px; margin: 0 auto; }
.w-waffle-g i { aspect-ratio: 1; border-radius: 3px; background: var(--l-s3); transition: background .3s, transform .3s; transform: scale(.6); opacity: .5; }
.w-waffle-g i.on { background: var(--l-acc); transform: scale(1); opacity: 1; }
.w-waffle-g i.half { background: linear-gradient(90deg, var(--l-acc) 50%, var(--l-s3) 50%); transform: scale(1); opacity: 1; }
.w-waffle-g i.off { transform: scale(1); opacity: 1; }
.w-waffle-l { display: flex; justify-content: center; gap: 18px; margin-top: 16px; font-size: 13.5px; color: var(--l-mu); flex-wrap: wrap; }
.w-waffle-l i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--l-s3); margin-right: 6px; vertical-align: -1px; }
.w-waffle-l i.on { background: var(--l-acc); }

/* рабочий день */
.w-day { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 22px 24px 26px; box-shadow: var(--l-sh); }
.w-day-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.w-day-tz { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--l-mu); }
.w-day-tz select { height: 36px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); padding: 0 10px; font: inherit; font-size: 14px; }
.w-day-now { font-size: 13.5px; color: var(--l-mu); }
.w-day-now b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-day-rail { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-bottom: 20px; }
.w-day-rail::before { content: ''; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: var(--l-line2); }
.w-day-rail button { position: relative; border: 0; background: none; cursor: pointer; padding: 0 0 4px; text-align: center; color: var(--l-mu); }
.w-day-rail button i { display: block; width: 14px; height: 14px; margin: 16px auto 10px; border-radius: 50%; background: var(--l-s1); border: 2px solid var(--l-line2); transition: all .25s; position: relative; z-index: 1; }
.w-day-rail button time { display: block; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--l-ink2); }
.w-day-rail button small { display: block; font-size: 12.5px; }
.w-day-rail button span { position: absolute; left: 50%; top: -2px; transform: translateX(-50%); font-size: 11px; white-space: nowrap; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-day-rail button[aria-selected="true"] i { background: var(--l-acc); border-color: var(--l-acc); box-shadow: 0 0 0 5px var(--l-accb); }
.w-day-rail button[aria-selected="true"] time, .w-day-rail button[aria-selected="true"] small { color: var(--l-acc); }
.w-day-rail button.done i { background: var(--l-acc); border-color: var(--l-acc); }
.w-day-ev { display: none; }
.w-day-ev.is-now { display: block; animation: w-fade .4s var(--l-ease); }
.w-day-ev h4 { margin: 0 0 6px; font-size: 19px; }
.w-day-at { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 8px; font-size: 13px; font-weight: 650; color: var(--l-acc); font-variant-numeric: tabular-nums; }
.w-day-at span { color: var(--l-mu); font-weight: 500; }
.w-day-ev > p { margin: 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; max-width: 70ch; }

/* шкала процента */
.w-scale { padding: 52px 26px 20px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); position: relative; }
.w-scale-bar { position: relative; height: 64px; border-radius: 12px; background: var(--l-s2); overflow: hidden; }
.w-scale-bar i { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); display: flex; flex-direction: column; justify-content: center; padding: 0 14px; font-style: normal; transform: scaleX(0); transform-origin: left; transition: transform .9s var(--l-ease); }
.w-scale.is-in .w-scale-bar i { transform: scaleX(1); }
.w-scale-bar i:nth-child(2) { transition-delay: .4s; } .w-scale-bar i:nth-child(3) { transition-delay: .8s; }
.w-scale-bar .a { background: color-mix(in srgb, var(--l-acc) 22%, transparent); }
.w-scale-bar .b { background: color-mix(in srgb, var(--l-acc) 45%, transparent); }
.w-scale-bar .c { background: var(--l-acc); color: var(--l-acc-ink); }
.w-scale-bar b { font-size: 13.5px; } .w-scale-bar span { font-size: 18px; font-weight: 750; }
.w-scale-ax { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-scale-pin { position: absolute; left: calc(26px + (100% - 52px) * .8); top: 44px; height: 80px; width: 2px; background: var(--l-warn); }
.w-scale-pin span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--l-warn); background: var(--l-warnb); padding: 3px 10px; border-radius: 99px; }
.w-scale-n { margin: 18px 0 0; font-size: 14px; color: var(--l-mu); }

/* неделя трака */
.w-week { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-week-days { display: grid; grid-template-columns: repeat(7, 1fr); font-size: 12.5px; font-weight: 650; color: var(--l-mu); text-transform: uppercase; letter-spacing: .06em; padding-bottom: 8px; border-bottom: 1px solid var(--l-line); }
.w-week-days span { padding-left: 8px; }
.w-week-days span + span { border-left: 1px dashed var(--l-line); }
.w-week-lane { position: relative; height: 92px; margin: 12px 0 0; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), var(--l-line) calc(100% / 7 - 1px) calc(100% / 7)); }
.w-week-ld { position: absolute; top: 8px; bottom: 8px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, var(--l-acc) 12%, var(--l-s1)); border: 1px solid color-mix(in srgb, var(--l-acc) 45%, transparent); display: flex; flex-direction: column; justify-content: center; overflow: hidden; transition: left .55s var(--l-ease), width .55s var(--l-ease), opacity .3s; animation: w-grow .55s var(--l-ease) both; transform-origin: left; }
@keyframes w-grow { from { transform: scaleX(.2); opacity: 0; } }
.w-week-ld b { font-size: 16px; font-variant-numeric: tabular-nums; }
.w-week-ld span { font-size: 12.5px; line-height: 1.3; color: var(--l-ink2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 2px; }
.w-week-ld.wk { background: color-mix(in srgb, var(--l-vi) 14%, var(--l-s1)); border-color: color-mix(in srgb, var(--l-vi) 50%, transparent); }
.w-week-ld.idle { background: repeating-linear-gradient(135deg, var(--l-negb) 0 8px, transparent 8px 16px), var(--l-s1); border: 1px dashed color-mix(in srgb, var(--l-neg) 60%, transparent); }
.w-week-ld.idle b { color: var(--l-neg); font-size: 14px; }
.w-week-sum { display: grid; grid-template-columns: auto auto 1fr; gap: 12px 40px; align-items: end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--l-line); }
.w-week-sum small { display: block; font-size: 13px; color: var(--l-mu); }
.w-week-sum b { font-size: 34px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-week-d { color: var(--l-pos); }
.w-week-n { margin: 0; color: var(--l-ink2); font-size: 15px; line-height: 1.5; }
.w-week[data-k="bad"] .w-week-g { color: var(--l-neg); }

/* калькулятор */
.w-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 36px; padding: 26px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); box-shadow: var(--l-sh); }
.w-calc-in { display: grid; gap: 22px; align-content: start; }
.w-calc-in label > span { display: flex; justify-content: space-between; font-size: 15px; color: var(--l-ink2); margin-bottom: 10px; }
.w-calc-in output { color: var(--l-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.w-calc input[type=range], .w-gq input[type=range], .w-deck input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; }
.w-calc input[type=range]::-webkit-slider-thumb, .w-gq input[type=range]::-webkit-slider-thumb, .w-deck input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-calc input[type=range]::-moz-range-thumb, .w-gq input[type=range]::-moz-range-thumb, .w-deck input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-calc-out { display: grid; gap: 10px; }
.w-calc-out > div { padding: 14px 18px; border-radius: 14px; background: var(--l-s2); border: 1px solid var(--l-line); }
.w-calc-out small { display: block; font-size: 13px; color: var(--l-mu); }
.w-calc-out b { font-size: 26px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.w-calc-out .big { background: var(--l-accb); border-color: color-mix(in srgb, var(--l-acc) 35%, transparent); }
.w-calc-out .big b { font-size: 36px; color: var(--l-acc); }
.w-calc-n { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--l-mu); }

/* готовность к старту */
.w-ready { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 24px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); box-shadow: var(--l-sh); }
.w-ready-meter { text-align: center; align-self: start; position: sticky; top: calc(var(--l-nav) + 24px); }
.w-ready-ring { position: relative; width: 140px; height: 140px; margin: 0 auto; }
.w-ready-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-ready-ring circle { fill: none; stroke: var(--l-s3); stroke-width: 3; }
.w-ready-ring circle.v { stroke: var(--l-acc); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .6s var(--l-ease); }
.w-ready-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-ready-meter p { margin: 10px 0 0; color: var(--l-mu); font-size: 14px; }
.w-ready ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.w-ready label { display: flex; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--l-line); cursor: pointer; transition: border-color .2s, background .2s; }
.w-ready label:hover { border-color: var(--l-line2); }
.w-ready input { -webkit-appearance: none; appearance: none; flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; border-radius: 7px; border: 1.5px solid var(--l-line2); position: relative; cursor: pointer; transition: all .2s; }
.w-ready input:checked { background: var(--l-acc); border-color: var(--l-acc); }
.w-ready input:checked::after { content: ''; position: absolute; left: 6px; top: 7px; width: 8px; height: 4px; border-left: 2px solid var(--l-acc-ink); border-bottom: 2px solid var(--l-acc-ink); transform: rotate(-45deg); }
.w-ready label:has(input:checked) { background: var(--l-accb); border-color: color-mix(in srgb, var(--l-acc) 35%, transparent); }
.w-ready label b { display: block; font-size: 16px; }
.w-ready label small { display: block; color: var(--l-mu); font-size: 14px; line-height: 1.5; margin-top: 2px; }

/* практика «Соберите неделю трака» */
.w-game { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); overflow: hidden; box-shadow: var(--l-sh); }
.w-game-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border-bottom: 1px solid var(--l-line); }
.w-game-map { position: relative; background: var(--l-bg); border-right: 1px solid var(--l-line); min-height: 280px; }
html[data-theme="light"] .w-game-map { background: var(--l-s2); }
.w-game-map svg { display: block; width: 100%; height: auto; }
.w-game-map .st { fill: var(--l-s2); stroke: var(--l-line2); stroke-width: .8; }
html[data-theme="light"] .w-game-map .st { fill: #fff; }
.w-game-map .rt { fill: none; stroke: var(--l-acc); stroke-width: 5; stroke-linecap: round; }
.w-game-map .rt.wait { stroke: var(--l-neg); }
.w-game-map .pv { fill: none; stroke: var(--l-warn); stroke-width: 4; stroke-dasharray: 10 9; animation: w-dash .8s linear infinite; }
@keyframes w-dash { to { stroke-dashoffset: -19; } }
.w-game-map .cty circle { fill: var(--l-s1); stroke: var(--l-mu); stroke-width: 3; }
.w-game-map .cty text { fill: var(--l-ink2); font-size: 23px; font-weight: 600; font-family: Inter, sans-serif; paint-order: stroke; stroke: var(--l-bg); stroke-width: 6px; stroke-linejoin: round; }
.w-game-map .cty.here text { fill: var(--l-ink); }
html[data-theme="light"] .w-game-map .cty text { stroke: var(--l-s2); }
.w-game-map .cty.here circle { fill: var(--l-acc); stroke: var(--l-acc); }
.w-game-map .truck { fill: var(--l-acc); filter: drop-shadow(0 0 6px rgba(34,211,238,.8)); transition: transform .9s var(--l-ease); }
.w-game-side { padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; }
.w-game-day { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.w-game-day span { text-align: center; font-size: 11.5px; font-weight: 650; color: var(--l-mu); padding: 6px 0; border-radius: 6px; background: var(--l-s2); }
.w-game-day span.used { background: var(--l-accb); color: var(--l-acc); }
.w-game-day span.idle { background: var(--l-negb); color: var(--l-neg); }
.w-game-day span.now { box-shadow: inset 0 0 0 1.5px var(--l-acc); color: var(--l-ink); }
.w-game-k { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.w-game-k > div { padding: 10px 12px; border-radius: 12px; background: var(--l-s2); }
.w-game-k small { display: block; font-size: 12px; color: var(--l-mu); }
.w-game-k b { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-game-k .rev b { color: var(--l-acc); }
.w-game-msg { font-size: 14.5px; color: var(--l-ink2); line-height: 1.5; }
.w-game-msg b { color: var(--l-ink); }
.w-game-board { padding: 18px 22px 22px; }
.w-game-board h4 { margin: 0 0 12px; font-size: 15px; font-weight: 650; color: var(--l-mu); }
.w-game-board h4 b { color: var(--l-ink); }
.w-game-loads { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.w-game-loads button { text-align: left; border: 1px solid var(--l-line2); background: var(--l-s2); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, transform .15s, background .2s; display: grid; gap: 4px; animation: w-fade .4s var(--l-ease) both; }
.w-game-loads button:nth-child(2) { animation-delay: .06s; } .w-game-loads button:nth-child(3) { animation-delay: .12s; } .w-game-loads button:nth-child(4) { animation-delay: .18s; }
.w-game-loads button:hover { border-color: var(--l-acc); background: var(--l-accb); }
.w-game-loads button:active { transform: scale(.98); }
.w-game-loads b { font-size: 16px; }
.w-game-loads .r { font-size: 22px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-game-loads small { color: var(--l-mu); font-size: 13px; }
.w-game-loads .hot { color: var(--l-pos); } .w-game-loads .cold { color: var(--l-warn); }
.w-game-loads button.wait { background: transparent; border-style: dashed; }
.w-game-loads button.wait .r { color: var(--l-neg); }
.w-game-end { text-align: center; padding: 26px 20px 28px; }
.w-game-end .tier { display: inline-block; padding: 5px 14px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.w-game-end .tier.bad { background: var(--l-negb); color: var(--l-neg); } .w-game-end .tier.norm { background: var(--l-accb); color: var(--l-acc); }
.w-game-end .tier.above, .w-game-end .tier.good { background: var(--l-posb); color: var(--l-pos); }
.w-game-end > b { display: block; font-size: 48px; font-weight: 780; letter-spacing: -.03em; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.w-game-sub { color: var(--l-mu); font-size: 15px; }
.w-game-sub b { color: var(--l-pos); }
.w-game-msg .cold, .w-game-loads small.cold { color: var(--l-warn); }
.w-game-end p { max-width: 560px; margin: 8px auto 18px; color: var(--l-ink2); line-height: 1.6; }
.w-game-log { list-style: none; padding: 0; margin: 0 auto 18px; max-width: 560px; text-align: left; font-size: 14.5px; }
.w-game-log li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--l-line); color: var(--l-ink2); }
.w-game-log li b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-game-log li.idle b { color: var(--l-neg); }

/* угадайте цифру */
.w-guess { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.w-gq { padding: 20px 22px; border-radius: var(--l-r); background: var(--l-s1); border: 1px solid var(--l-line); display: flex; flex-direction: column; gap: 14px; transition: border-color .3s; }
.w-gq .q { margin: 0; font-weight: 600; font-size: 16.5px; line-height: 1.45; }
.w-gq-ui { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; margin-top: auto; }
.w-gq-ui label { display: grid; gap: 12px; }
.w-gq-ui output { font-size: 26px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--l-acc); line-height: 1; }
.w-gq-ui .l-btn { height: 40px; padding: 0 16px; font-size: 14.5px; }
.w-gq.is-ans { border-color: var(--l-line2); }
.w-gq.is-ans .w-gq-ui { display: none; }
.w-gq-res { display: grid; gap: 8px; animation: w-fade .4s var(--l-ease); }
.w-gq-res .w-verdict { justify-self: start; background: var(--l-warnb); color: var(--l-warn); }
.w-gq-res .w-verdict.ok { background: var(--l-posb); color: var(--l-pos); }
.w-gq-bar { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; white-space: nowrap; gap: 10px; align-items: center; font-size: 13px; color: var(--l-mu); }
.w-gq-bar i { display: block; height: 10px; width: var(--w); border-radius: 5px; transform-origin: left; animation: l-grow .8s var(--l-ease) both; }
.w-gq-bar.me i { background: var(--l-s3); box-shadow: inset 0 0 0 1px var(--l-line2); }
.w-gq-bar.ans i { background: var(--l-acc); animation-delay: .25s; }
.w-gq-bar em { font-style: normal; font-weight: 700; color: var(--l-ink); font-variant-numeric: tabular-nums; font-size: 14.5px; }
.w-gq-bar.ans em { color: var(--l-acc); }
.w-gq .why { display: none; font-size: 15px; line-height: 1.55; color: var(--l-ink2); padding-top: 12px; border-top: 1px solid var(--l-line); }
.w-gq.is-ans .why { display: block; animation: w-fade .45s .2s var(--l-ease) both; }

/* спот и контракт: пары полос */
.w-pair { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 22px 24px; box-shadow: var(--l-sh); }
.w-pair-lg { display: flex; gap: 18px; font-size: 13.5px; color: var(--l-mu); margin-bottom: 6px; }
.w-pair-lg i, .w-fsc-k i, .w-season-lg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.w-pair i.s { background: var(--l-acc); } .w-pair i.c { background: var(--l-ink2); opacity: .5; }
.w-pair-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 150px; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--l-line); }
.w-pair-row > b { font-size: 15.5px; }
.w-pair-bars { display: grid; gap: 6px; }
.w-pair-bars > div { display: flex; align-items: center; gap: 10px; }
.w-pair-bars i { display: block; height: 14px; width: var(--w); border-radius: 4px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--l-ease); }
.w-pair.is-in .w-pair-bars i { transform: scaleX(1); }
.w-pair-row:nth-child(3) i { transition-delay: .2s; } .w-pair-row:nth-child(4) i { transition-delay: .4s; }
.w-pair-bars em { font-style: normal; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.w-pair-d { font-size: 13.5px; color: var(--l-mu); text-align: right; }
.w-pair-d.up { color: var(--l-pos); font-weight: 650; }
.w-pair-n { margin: 14px 0 0; color: var(--l-ink2); font-size: 15px; line-height: 1.6; }

/* цикл рынка */
.w-cycle { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-cycle-chart { position: relative; height: 286px; padding-bottom: 26px; color: var(--l-acc); }
.w-cycle-chart svg { display: block; width: 100%; height: 260px; overflow: visible; clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--l-ease); }
.w-cycle.is-in .w-cycle-chart svg, .w-cycle:not(.rv) .w-cycle-chart svg { clip-path: inset(0 0 0 0); }
.w-cycle-chart .band { fill: var(--l-acc); opacity: 0; transition: opacity .4s; }
.w-cycle-chart .band.on { opacity: .09; }
.w-cycle-chart .g { stroke: var(--l-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.w-cycle-chart .curve { fill: none; stroke: var(--l-acc); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.w-cycle-yr { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 12px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-cycle-ax { position: absolute; left: 0; font-size: 11.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); background: var(--l-s1); padding: 0 6px 0 0; }
.w-cycle-ax.hi { top: 0; } .w-cycle-ax.lo { bottom: 32px; }
.w-cycle-dot { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--l-acc); box-shadow: 0 0 0 6px var(--l-accb), 0 0 18px rgba(34,211,238,.6); transition: left .6s var(--l-ease), top .6s var(--l-ease); }
.w-cycle-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 18px; }
.w-cycle-tabs button { border: 1px solid var(--l-line2); background: transparent; border-radius: 12px; padding: 10px 8px; cursor: pointer; text-align: center; transition: all .2s; }
.w-cycle-tabs button:hover { background: var(--l-s2); }
.w-cycle-tabs b { display: block; font-size: 15px; } .w-cycle-tabs small { display: block; font-size: 12px; color: var(--l-mu); }
.w-cycle-tabs button[aria-selected="true"] { border-color: var(--l-acc); background: var(--l-accb); }
.w-cycle-tabs button[aria-selected="true"] b { color: var(--l-acc); }
.w-cycle-p { display: none; }
.w-cycle-p.is-now { display: block; padding-bottom: 6px; animation: w-fade .4s var(--l-ease); }
.w-cycle-p h4 { margin: 0 0 10px; font-size: 19px; }
.w-cycle-p ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.w-cycle-p li { position: relative; padding-left: 18px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }
.w-cycle-p li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--l-acc); }
.w-cycle-n { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 13.5px; }

/* календарь сезонов */
.w-season { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-season-lg { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--l-mu); margin-bottom: 14px; }
.w-season i.v, .w-fsc-k i.b { background: var(--l-acc); } .w-season i.r { background: var(--l-vi); } .w-season i.f { background: var(--l-warn); }
.w-season-rail { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 20px; }
.w-season-rail button { position: relative; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 8px 2px 6px; cursor: pointer; display: grid; gap: 6px; justify-items: center; transition: background .2s, border-color .2s; }
.w-season-rail button:hover { background: var(--l-s2); }
.w-season-rail button[aria-selected="true"] { background: var(--l-s2); border-color: var(--l-acc); }
.w-season-rail b { font-size: 12.5px; font-weight: 650; color: var(--l-mu); }
.w-season-rail button[aria-selected="true"] b { color: var(--l-ink); }
.w-season-rail button.now::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--l-pos); animation: l-pulse 1.8s infinite; }
.w-season-bars { display: flex; align-items: flex-end; gap: 2px; height: 46px; }
.w-season-bars i { display: block; width: 7px; height: var(--h); border-radius: 2px 2px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--l-ease); }
.w-season.is-in .w-season-bars i, .w-season:not(.rv) .w-season-bars i { transform: scaleY(1); }
.w-season-rail button:nth-child(n+4) i { transition-delay: .1s; } .w-season-rail button:nth-child(n+7) i { transition-delay: .2s; } .w-season-rail button:nth-child(n+10) i { transition-delay: .3s; }
.w-season-m { display: none; }
.w-season-m.is-now { display: block; animation: w-fade .4s var(--l-ease); }
.w-season-m h4 { margin: 0 0 12px; font-size: 19px; }
.w-season-m > p { margin: 0 0 12px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; max-width: 72ch; }
.w-season-meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.w-season-meters > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--l-s2); }
.w-season-meters small { font-size: 12.5px; color: var(--l-mu); font-weight: 600; }
.w-season-meters em { font-style: normal; font-size: 12.5px; font-weight: 650; text-align: right; }
.w-season-meters .lv { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; order: 3; }
.w-season-meters .lv i { height: 5px; border-radius: 3px; background: var(--l-s3); }
.w-season-meters .v .lv i { --c: var(--l-acc); } .w-season-meters .r .lv i { --c: var(--l-vi); } .w-season-meters .f .lv i { --c: var(--l-warn); }
.w-season-meters .lv1 i:nth-child(-n+1), .w-season-meters .lv2 i:nth-child(-n+2), .w-season-meters .lv3 i { background: var(--c); }
.w-season-k { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--l-accb); color: var(--l-ink2); font-size: 15px; line-height: 1.55; }
.w-season-k b { color: var(--l-acc); }
.w-season-n { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 13.5px; }

/* срок MCS-150 по номеру USDOT */
.w-due { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 26px 36px; padding: 26px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); box-shadow: var(--l-sh); }
.w-due-in > span { display: block; font-size: 15px; color: var(--l-ink2); margin-bottom: 10px; }
.w-due-in input { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: 650 22px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.w-due-in input:focus { outline: none; border-color: var(--l-acc); box-shadow: 0 0 0 4px var(--l-accb); }
.w-due-digs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; min-height: 46px; }
.w-due-digs i { display: grid; place-items: center; width: 34px; height: 44px; border-radius: 8px; background: var(--l-s2); border: 1px solid var(--l-line); font: 650 20px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; color: var(--l-mu); }
.w-due-digs i.m { color: var(--l-acc); border-color: var(--l-acc); background: var(--l-accb); animation: w-pop .45s var(--l-ease); }
.w-due-digs i.y { color: var(--l-vi); border-color: var(--l-vi); background: var(--l-vib); animation: w-pop .45s .08s var(--l-ease) both; }
@keyframes w-pop { from { transform: translateY(6px) scale(.9); opacity: 0; } }
.w-due-res { padding: 18px 20px; border-radius: 16px; background: var(--l-s2); border: 1px solid var(--l-line); animation: w-fade .4s var(--l-ease); }
.w-due-res > small { display: block; font-size: 13px; color: var(--l-mu); }
.w-due-res > b { display: block; margin: 2px 0 12px; font-size: 32px; font-weight: 750; letter-spacing: -.02em; color: var(--l-acc); font-variant-numeric: tabular-nums; }
.w-due-res > b em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--l-warn); background: var(--l-warnb); padding: 3px 8px; border-radius: 6px; vertical-align: 6px; }
.w-due-why { margin: 0; display: grid; gap: 6px; color: var(--l-ink2); font-size: 15px; line-height: 1.5; }
.w-due-why span { padding-left: 14px; border-left: 3px solid; }
.w-due-why span.m { border-color: var(--l-acc); } .w-due-why span.y { border-color: var(--l-vi); }
.w-due-why b { color: var(--l-ink); }
.w-due-n { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--l-mu); }

/* дорога этапов */
.w-road { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 26px 24px 24px; box-shadow: var(--l-sh); }
.w-road-rail { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: 30px 0 22px; }
.w-road-line { position: absolute; top: 9px; left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 4px; border-radius: 4px; background: var(--l-s3); overflow: hidden; }
.w-road-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--l-acc), var(--l-pos)); transition: width .9s var(--l-ease); }
.w-road-car { position: absolute; top: -26px; left: 0; width: 34px; height: 20px; margin-left: -17px; color: var(--l-acc); transition: left .9s var(--l-ease); pointer-events: none; filter: drop-shadow(0 0 8px rgba(34,211,238,.45)); }
.w-road-car svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.w-road-car svg circle { fill: var(--l-s1); stroke: currentColor; stroke-width: 2; }
.w-road-rail button { position: relative; display: grid; justify-items: center; gap: 4px; padding: 0 2px 6px; border: 0; background: none; cursor: pointer; text-align: center; }
.w-road-rail button > i { width: 22px; height: 22px; border-radius: 50%; background: var(--l-s1); border: 3px solid var(--l-s3); transition: border-color .4s, background .4s, transform .3s; }
.w-road-rail button.done > i { border-color: var(--l-acc); background: var(--l-acc); }
.w-road-rail button[aria-selected="true"] > i { border-color: var(--l-acc); background: var(--l-s1); transform: scale(1.18); box-shadow: 0 0 0 6px var(--l-accb); }
.w-road-rail button b { margin-top: 6px; font-size: 14.5px; font-weight: 650; line-height: 1.25; color: var(--l-ink2); }
.w-road-rail button small { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-road-rail button[aria-selected="true"] b { color: var(--l-acc); }
.w-road-s { display: none; }
.w-road-s.is-now { display: block; padding: 18px 20px; border-radius: 16px; background: var(--l-s2); border: 1px solid var(--l-line); animation: w-fade .4s var(--l-ease); }
.w-road-k { margin-bottom: 4px; font-size: 12.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--l-acc); }
.w-road-s h4 { margin: 0 0 8px; font-size: 19px; }
.w-road-s p { margin: 0; color: var(--l-ink2); font-size: 15.5px; line-height: 1.6; }
.w-road-s p + p { margin-top: 8px; }
.w-road-s .tip { margin-top: 12px; padding: 10px 14px; border-radius: 10px; background: var(--l-accb); font-size: 15px; }
.w-road-s .tip b { color: var(--l-acc); }
.w-road-n { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 13.5px; }

/* год бумаг */
.w-year { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-year-lg { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: var(--l-mu); margin-bottom: 14px; }
.w-year-lg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.w-year i.t { background: var(--l-acc); } .w-year i.r { background: var(--l-vi); } .w-year i.c { background: var(--l-warn); }
.w-year-rail { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-bottom: 20px; }
.w-year-rail button { position: relative; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 10px 2px 8px; cursor: pointer; display: grid; gap: 8px; justify-items: center; transition: background .2s, border-color .2s; }
.w-year-rail button:hover { background: var(--l-s2); }
.w-year-rail button[aria-selected="true"] { background: var(--l-s2); border-color: var(--l-acc); }
.w-year-rail b { font-size: 12.5px; font-weight: 650; color: var(--l-mu); }
.w-year-rail button[aria-selected="true"] b { color: var(--l-ink); }
.w-year-rail button.now::after { content: ''; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--l-pos); animation: l-pulse 1.8s infinite; }
.w-year-dots { display: flex; gap: 3px; height: 8px; }
.w-year-dots i { width: 8px; height: 8px; border-radius: 50%; transform: scale(0); transition: transform .5s var(--l-ease); }
.w-year.is-in .w-year-dots i, .w-year:not(.rv) .w-year-dots i { transform: scale(1); }
.w-year-rail button:nth-child(n+4) i { transition-delay: .1s; } .w-year-rail button:nth-child(n+7) i { transition-delay: .2s; } .w-year-rail button:nth-child(n+10) i { transition-delay: .3s; }
.w-year-m { display: none; }
.w-year-m.is-now { display: block; animation: w-fade .4s var(--l-ease); }
.w-year-m h4 { margin: 0 0 12px; font-size: 19px; }
.w-year-m ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.w-year-m li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--l-s2); color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }
.w-year-m li > b { font-size: 14.5px; color: var(--l-ink); }
.w-year-m li[data-c="t"] > b { color: var(--l-acc); } .w-year-m li[data-c="r"] > b { color: var(--l-vi); } .w-year-m li[data-c="c"] > b { color: var(--l-warn); }
.w-year-m li.q { grid-template-columns: 1fr; background: transparent; border: 1px dashed var(--l-line2); color: var(--l-mu); }
.w-year-n { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--l-line); color: var(--l-mu); font-size: 13.5px; }

/* калькулятор: груз и страховка */
.w-calc-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--l-s3); }
.w-calc-bar i { display: block; height: 100%; transition: width .45s var(--l-ease); }
.w-calc-bar i.i { background: var(--l-pos); } .w-calc-bar i.o { background: var(--l-neg); }
.w-calc-out .vd { display: grid; gap: 10px; }
.w-calc-out .vd b { font-size: 18px; color: var(--l-pos); letter-spacing: 0; }
.w-calc-out .vd.bad b { color: var(--l-neg); }
.w-calc-out .vd.bad { background: var(--l-negb); border-color: color-mix(in srgb, var(--l-neg) 30%, transparent); }
.w-calc-out .own b { color: var(--l-neg); }

/* урок 05: английский на слух — кнопка звука, фразы, алфавит, разговорник, часовые пояса, звонок, пары */
.au { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 15px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s; }
.au:hover { border-color: var(--l-acc); }
.au-ic { flex: 0 0 auto; position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--l-acc); }
.au-ic::before { content: ''; position: absolute; left: 12px; top: 9px; border-left: 11px solid var(--l-acc-ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.au.is-play .au-ic::before, .is-play > .au-ic::before { left: 10px; top: 10px; width: 12px; height: 12px; border: 0; border-radius: 2px; background: var(--l-acc-ink); }
.au-w { display: inline-flex; align-items: center; gap: 3px; height: 22px; }
.au-w i { width: 3px; height: 30%; border-radius: 2px; background: var(--l-mu); transition: height .2s; }
.au.is-play .au-w i { background: var(--l-acc); animation: au-w .9s ease-in-out infinite; }
.au.is-play .au-w i:nth-child(2) { animation-delay: -.7s; } .au.is-play .au-w i:nth-child(3) { animation-delay: -.45s; }
.au.is-play .au-w i:nth-child(4) { animation-delay: -.2s; } .au.is-play .au-w i:nth-child(5) { animation-delay: -.55s; }
@keyframes au-w { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.au.is-err .au-ic { background: var(--l-neg); }
.au.big { height: 56px; padding-right: 22px; font-size: 16px; } .au.big .au-ic { width: 44px; height: 44px; }
.au.big .au-ic::before { left: 17px; top: 13px; border-left-width: 14px; border-top-width: 9px; border-bottom-width: 9px; }
.au.big.is-play .au-ic::before { left: 15px; top: 15px; width: 14px; height: 14px; }
.au.mini { height: 30px; padding: 0 10px 0 3px; font-size: 13px; gap: 6px; } .au.mini .au-ic { width: 24px; height: 24px; }
.au.mini .au-ic::before { left: 9px; top: 7px; border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; }
.au.mini.is-play .au-ic::before { left: 8px; top: 8px; width: 8px; height: 8px; }
.au.mini .au-w { display: none; }
.w-slow { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--l-line2); background: transparent; color: var(--l-ink2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.w-slow i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; position: relative; }
.w-slow i::after { content: ''; position: absolute; left: 4px; top: 1px; width: 2px; height: 5px; background: currentColor; }
.w-slow[aria-pressed="true"] { border-color: var(--l-acc); color: var(--l-acc); background: var(--l-accb); }

.w-ear { position: relative; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 24px; box-shadow: var(--l-sh); }
.w-ear-top { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--l-mu); font-size: 14px; }
.w-ear-top > span:first-child { white-space: nowrap; }
.w-ear-i { display: none; }
.w-ear-i.is-now { display: block; animation: w-case .45s var(--l-ease); }
.w-ear-q { margin: 16px 0 12px; font-size: 18px; font-weight: 650; }
.w-ear-row { display: flex; gap: 10px; flex-wrap: wrap; }
.w-ear-in { flex: 1 1 220px; display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--l-line2); background: var(--l-bg); transition: border-color .2s; }
.w-ear-in:focus-within { border-color: var(--l-acc); }
.w-ear-in span { color: var(--l-mu); font-size: 20px; font-weight: 650; }
.w-ear-in input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--l-ink); font: inherit; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.w-ear-ck { height: 52px; padding: 0 22px; border-radius: 12px; border: 0; background: var(--l-acc); color: var(--l-acc-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.w-ear-ck:disabled { opacity: .45; cursor: default; }
.w-ear-i.is-right .w-ear-in { border-color: var(--l-pos); background: var(--l-posb); }
.w-ear-i.is-wrong .w-ear-in { border-color: var(--l-neg); background: var(--l-negb); }
.w-ear-o { display: flex; gap: 10px; flex-wrap: wrap; }
.w-ear-o button { flex: 1 1 150px; min-height: 52px; padding: 8px 16px; border-radius: 12px; border: 1px solid var(--l-line2); background: transparent; color: var(--l-ink); font: inherit; font-size: 16.5px; font-weight: 650; cursor: pointer; transition: all .2s; }
.w-ear-o button:hover:not(:disabled) { border-color: var(--l-acc); background: var(--l-accb); }
.w-ear-o button:disabled { cursor: default; opacity: .55; }
.w-ear-o button.right { opacity: 1; border-color: var(--l-pos); background: var(--l-posb); color: var(--l-pos); }
.w-ear-o button.wrong { opacity: 1; border-color: var(--l-neg); background: var(--l-negb); color: var(--l-neg); }
.w-ear-t { display: none; margin: 16px 0 0; padding-left: 14px; border-left: 3px solid var(--l-acc); font-size: 18px; font-style: italic; color: var(--l-ink); }
.w-ear-t b { font-style: normal; color: var(--l-acc); }
.w-ear-i .why { display: none; margin-top: 12px; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; line-height: 1.55; color: var(--l-ink2); background: var(--l-s2); }
.w-ear-i.is-ans .w-ear-t, .w-ear-i.is-ans .why { display: block; animation: w-fade .4s var(--l-ease); }
.w-ear-i .w-verdict { margin-right: 8px; }
.w-ear-i.is-right .w-verdict { background: var(--l-posb); color: var(--l-pos); }
.w-ear-i.is-wrong .w-verdict { background: var(--l-negb); color: var(--l-neg); }
.w-ear-nav { margin-top: 16px; text-align: right; }

.w-abc { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 20px; box-shadow: var(--l-sh); }
.w-abc-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.w-abc-t { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 12px 9px; border-radius: 12px; border: 1px solid var(--l-line); background: var(--l-s2); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.w-abc-t:hover { border-color: var(--l-acc); transform: translateY(-2px); }
.w-abc-t b { font-size: 26px; line-height: 1.1; font-weight: 800; color: var(--l-acc); }
.w-abc-t span { font-size: 15.5px; font-weight: 700; }
.w-abc-t small { font-size: 12px; color: var(--l-mu); }
.w-abc-t.is-play { border-color: var(--l-acc); background: var(--l-accb); transform: scale(1.04); }
.w-abc-t.is-play::after { content: ''; position: absolute; right: 10px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--l-acc); animation: au-dot 1s ease-in-out infinite; }
@keyframes au-dot { 50% { transform: scale(1.6); opacity: .4; } }
.w-spell { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--l-line); }
.w-spell label { display: block; font-size: 14px; color: var(--l-mu); margin-bottom: 8px; }
.w-spell input { width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--l-line2); background: var(--l-bg); color: var(--l-ink); font: inherit; font-size: 19px; font-weight: 650; letter-spacing: .04em; outline: 0; }
.w-spell input:focus { border-color: var(--l-acc); }
.w-spell-out { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; min-height: 10px; }
.w-spell-out span { padding: 5px 11px; border-radius: 999px; background: var(--l-s2); border: 1px solid var(--l-line); font-size: 15px; animation: w-fade .3s var(--l-ease); }
.w-spell-out span b { color: var(--l-acc); margin-right: 3px; }
.w-spell-out .lt { cursor: pointer; } .w-spell-out .dg b { color: var(--l-warn); } .w-spell-out .sy b { color: var(--l-vi); }
.w-spell-out p { margin: 0; color: var(--l-mu); font-size: 14.5px; }

.w-say { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 8px 20px 20px; box-shadow: var(--l-sh); }
.w-say-h { display: flex; align-items: center; gap: 12px; padding: 12px 0 4px; color: var(--l-mu); font-size: 14px; }
.w-say-g h4 { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--l-acc); }
.w-say-g h4 .au { flex: none; margin-left: auto; white-space: nowrap; text-transform: none; letter-spacing: 0; }
.w-say-i { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; width: 100%; padding: 10px 12px; margin: 0 0 6px; border-radius: 12px; border: 1px solid var(--l-line); background: var(--l-s2); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.w-say-i:hover { border-color: var(--l-acc); }
.w-say-i .au-ic { grid-row: span 2; width: 34px; height: 34px; }
.w-say-i .au-ic::before { left: 13px; top: 10px; }
.w-say-i.is-play .au-ic::before { left: 11px; top: 11px; }
.w-say-i b { font-size: 16.5px; font-weight: 650; line-height: 1.4; }
.w-say-i small { font-size: 14px; color: var(--l-mu); line-height: 1.4; }
.w-say-i.is-play { border-color: var(--l-acc); background: var(--l-accb); }
.w-chat-log .m.has-au { display: flex; align-items: flex-start; gap: 10px; }
.w-chat-log .m .au.mini { flex: 0 0 auto; margin-top: -2px; }

.w-tz { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 22px; box-shadow: var(--l-sh); }
.w-tz-z { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.w-tz-z button { padding: 10px 10px 9px; border-radius: 12px; border: 1px solid var(--l-line2); background: transparent; color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; transition: all .2s; }
.w-tz-z button b { display: block; font-size: 15px; }
.w-tz-z button small { display: block; font-size: 12px; color: var(--l-mu); line-height: 1.35; }
.w-tz-z button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); }
.w-tz-s { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 4px 14px; margin: 20px 0 8px; }
.w-tz-s span { color: var(--l-mu); font-size: 14px; }
.w-tz-s b { font-size: 30px; font-weight: 800; letter-spacing: -.01em; text-align: right; font-variant-numeric: tabular-nums; }
.w-tz-s input { grid-column: 1 / -1; width: 100%; accent-color: var(--l-acc); }
.w-tz-l { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.w-tz-l div { padding: 12px; border-radius: 12px; background: var(--l-s2); border: 1px solid transparent; }
.w-tz-l div.on { border-color: var(--l-acc); }
.w-tz-l span { display: block; font-size: 12.5px; color: var(--l-mu); }
.w-tz-l b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.w-tz-l em, .w-tz-you em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--l-warn); }
.w-tz-you { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--l-accb); }
.w-tz-you span { color: var(--l-ink2); font-size: 14px; } .w-tz-you b { font-size: 19px; font-variant-numeric: tabular-nums; }
.w-tz-n { margin: 12px 0 0; color: var(--l-warn); font-size: 14.5px; }

.w-call { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 22px; box-shadow: var(--l-sh); }
.w-call-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.w-call-who { display: inline-flex; align-items: center; gap: 8px; min-width: 120px; font-weight: 700; font-size: 15px; color: var(--l-ink2); }
.w-call-who i { width: 10px; height: 10px; border-radius: 50%; background: var(--l-line2); }
.w-call-who.b i { background: var(--l-warn); } .w-call-who.d i { background: var(--l-acc); }
.w-call-who.talk i { animation: au-dot 1s ease-in-out infinite; }
.w-call-pos { color: var(--l-mu); font-size: 14px; font-variant-numeric: tabular-nums; }
.w-call-prog { display: flex; gap: 4px; margin: 0 0 16px; }
.w-call-prog i { flex: 1; height: 4px; border-radius: 3px; background: var(--l-line2); transition: background .3s; }
.w-call-prog i.ok { background: var(--l-acc); } .w-call-prog i.now { background: var(--l-acc2); }
.w-call-tools { display: flex; gap: 18px; margin: 14px 0 0; }
.w-call-tools button { border: 0; background: none; padding: 0; color: var(--l-acc); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; }
.w-call-lines { margin: 12px 0 0; padding: 14px; border-radius: 14px; background: var(--l-bg); max-height: 340px; overflow: auto; }
.w-call-lines p { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; margin: 0 0 6px; padding: 6px 10px; border-radius: 10px; font-size: 15.5px; line-height: 1.45; cursor: pointer; transition: background .2s; }
.w-call-lines p b { font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.w-call-lines p[data-who="b"] b { color: var(--l-warn); } .w-call-lines p[data-who="d"] b { color: var(--l-acc); }
.w-call-lines p.is-now { background: var(--l-accb); }
.w-call-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--l-line); }
.w-call-form > h4 { grid-column: 1 / -1; margin: 0; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--l-mu); }
.w-call-form label { min-width: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--l-mu); }
.w-call-form input, .w-call-form select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--l-line2); background: var(--l-bg); color: var(--l-ink); font: inherit; font-size: 16px; font-weight: 600; outline: 0; }
.w-call-form input:focus, .w-call-form select:focus { border-color: var(--l-acc); }
.w-call-form select:invalid { color: var(--l-mu); }
.w-call-form label.ok input, .w-call-form label.ok select { border-color: var(--l-pos); background: var(--l-posb); }
.w-call-form label.bad input, .w-call-form label.bad select { border-color: var(--l-neg); background: var(--l-negb); }
.w-call-form .ans { font-style: normal; font-size: 13.5px; color: var(--l-neg); font-weight: 650; }
.w-call-form > .l-btn { grid-column: 1 / -1; justify-self: start; }
.w-call-res { grid-column: 1 / -1; padding: 12px 16px; border-radius: 12px; background: var(--l-negb); }
.w-call-res.ok { background: var(--l-posb); } .w-call-res p { margin: 0; font-size: 15.5px; }

.w-match { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px 18px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 20px; box-shadow: var(--l-sh); }
.w-match-a, .w-match-b { display: grid; gap: 8px; align-content: start; }
.w-match button { min-height: 44px; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 16px; font-weight: 650; text-align: left; cursor: pointer; transition: all .2s; }
.w-match-a button { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 18px; letter-spacing: .08em; text-align: center; }
.w-match button:hover:not(:disabled) { border-color: var(--l-acc); }
.w-match button.sel { border-color: var(--l-acc); background: var(--l-accb); box-shadow: 0 0 0 2px var(--l-accb); }
.w-match button.ok { border-color: var(--l-pos); background: var(--l-posb); color: var(--l-pos); cursor: default; }
.w-match button.no { animation: w-shake .4s; border-color: var(--l-neg); }
@keyframes w-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.w-match-s { grid-column: 1 / -1; margin: 6px 0 0; color: var(--l-mu); font-size: 14.5px; }

/* урок 05: «как это звучит», фраза и запись */
.l-hear-h { margin: 0 0 10px; font-size: 13px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--l-acc); }
.l-hear { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--l-line); }
.l-hear li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr) minmax(0, 1fr); gap: 2px 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--l-line); }
.l-hear i { font-size: 16.5px; color: var(--l-ink); }
.l-hear b { font-size: 17px; font-weight: 750; color: var(--l-acc); font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-hear small { font-size: 14px; color: var(--l-mu); line-height: 1.4; }
@media (max-width: 640px) { .l-hear li { grid-template-columns: minmax(0, 1fr) auto; } .l-hear small { grid-column: 1 / -1; } }

/* надбавка в ставке */
.w-fsc-k { margin-right: 14px; }
.w-fsc-k i.m { background: repeating-linear-gradient(135deg, var(--l-vi) 0 3px, color-mix(in srgb, var(--l-vi) 55%, transparent) 3px 6px); }

/* практика: два сезона */
.w-game-seg { margin: 16px 0 16px 20px; }
.w-game-cmp { max-width: 560px; margin: 0 auto 16px !important; padding: 12px 16px; border-radius: 12px; background: var(--l-s2); font-size: 15px; }
.w-game-cmp b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-game-end > .l-btn + .l-btn { margin-left: 10px; }

/* проверка */
.w-quiz { border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); padding: 26px; box-shadow: var(--l-sh); max-width: 820px; }
.w-quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-quiz-bar { flex: 1; height: 4px; border-radius: 4px; background: var(--l-s3); overflow: hidden; }
.w-quiz-bar i { display: block; height: 100%; background: var(--l-acc); width: 0; transition: width .4s var(--l-ease); }
.w-q { display: none; }
.w-q.is-now { display: block; animation: w-case .4s var(--l-ease); }
.w-q > p { font-size: 20px; font-weight: 650; line-height: 1.4; margin: 0 0 18px; }
.w-q > button { display: block; width: 100%; text-align: left; margin-bottom: 8px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--l-line2); background: transparent; cursor: pointer; font-size: 16px; line-height: 1.45; transition: all .2s; }
.w-q > button:hover:not(:disabled) { border-color: var(--l-acc); background: var(--l-accb); }
.w-q > button:disabled { cursor: default; }
.w-q > button.right { border-color: var(--l-pos); background: var(--l-posb); }
.w-q > button.wrong { border-color: var(--l-neg); background: var(--l-negb); }
.w-q-ex { margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: var(--l-s2); color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; animation: w-fade .4s var(--l-ease); }
.w-quiz-nav { display: flex; justify-content: flex-end; margin-top: 18px; }
.w-quiz-res { text-align: center; padding: 10px 0; }
.w-quiz-ring { width: 150px; height: 150px; margin: 0 auto 14px; position: relative; }
.w-quiz-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.w-quiz-ring circle { fill: none; stroke: var(--l-s3); stroke-width: 3; }
.w-quiz-ring circle.v { stroke: var(--l-pos); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s var(--l-ease); }
.w-quiz-res.fail .w-quiz-ring circle.v { stroke: var(--l-warn); }
.w-quiz-ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; font-weight: 780; font-variant-numeric: tabular-nums; }
.w-quiz-res h4 { font-size: 22px; margin: 0 0 6px; }
.w-quiz-res p { color: var(--l-ink2); margin: 0 0 18px; }

/* ── оглавление курса (course-2.html): без бокового меню ── */
.l-wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px 80px; }
.l-step > .l-split-v:first-child { margin-top: 0; }
.l-split-v .l-prose > .l-eyebrow + .l-h2 { margin-top: 10px; }
.l-cols.c4 { grid-template-columns: repeat(4, 1fr); }
.l2 .c2-prog { display: grid; gap: 10px; margin-top: 0; }
.l2 .c2-blk { border: 1px solid var(--l-line); border-radius: var(--l-r); background: var(--l-s1); overflow: hidden; transition: border-color .2s; }
.l2 .c2-blk[open] { border-color: var(--l-line2); box-shadow: var(--l-sh); }
.l2 .c2-blk summary { padding: 18px 22px; gap: 18px; }
.l2 .c2-blk-n { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; font-weight: 750; color: var(--l-acc); background: var(--l-accb); border: 0; }
.l2 .c2-blk-t small { color: var(--l-mu); font-weight: 650; }
.l2 .c2-blk-t b { font-size: 18px; font-weight: 680; letter-spacing: -.01em; }
.l2 .c2-blk-x { border-color: var(--l-mu); border-width: 0 2px 2px 0; width: 10px; height: 10px; }
.l2 .c2-les { padding: 0 10px 10px; }
.l2 .c2-les li > a, .l2 .c2-les li > div { border-top: 1px solid var(--l-line); padding: 13px 12px; border-radius: 10px; }
.l2 .c2-les li > a:hover { background: var(--l-s2); }
.l2 .c2-les .n { color: var(--l-mu); font-weight: 700; }
.l2 .c2-les .lt b { font-weight: 620; font-size: 16px; color: var(--l-ink); }
.l2 .c2-les .lt small { color: var(--l-mu); font-size: 14.5px; }
.l2 .c2-les .st { color: var(--l-mu); font-weight: 600; }
.l2 .c2-les .st.on, .l2 .c2-les li.is-out .n { color: var(--l-acc); }
.l2 .c2-tag, .l2 .c2-les em { background: var(--l-warnb); color: var(--l-warn); font-weight: 700; }
@media (max-width: 900px) { .l-cols.c4 { grid-template-columns: 1fr 1fr; } .l-cols.c4 .l-col:nth-child(3) { border-left: 0; padding-left: 0; } .l-cols.c4 .l-col:nth-child(n+3) { border-top: 1px solid var(--l-line); } }
@media (max-width: 640px) { .l-wrap { padding: 0 16px 60px; } .l-cols.c4 { grid-template-columns: 1fr; } .l-cols.c4 .l-col { padding-left: 0; border-left: 0; } .l2 .c2-blk summary { padding: 14px 16px; gap: 12px; } }

/* иконки */
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════ АДАПТИВ ══════════ */
@media (max-width: 1180px) {
  .l-shell { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 980px; }
  .l-side { display: none; }
  .l-mbar { display: block; position: sticky; top: var(--l-nav); z-index: 40; background: color-mix(in srgb, var(--l-bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--l-line); }
  .l-mbar-btn { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 980px; margin: 0 auto; height: 48px; padding: 0 28px; border: 0; background: none; cursor: pointer; text-align: left; font-size: 14.5px; }
  .l-mbar-n { color: var(--l-mu); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .l-mbar-t { font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .l-mbar-x { margin-left: auto; width: 8px; height: 8px; border-right: 1.8px solid var(--l-mu); border-bottom: 1.8px solid var(--l-mu); transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
  .l-mbar.is-open .l-mbar-x { transform: rotate(-135deg); }
  .l-mbar-p { height: 2px; background: transparent; }
  .l-mbar-p i { display: block; height: 100%; width: 0; background: var(--l-acc); transition: width .4s var(--l-ease); }
  .l-mbar-menu[hidden] { display: none; }
  .l-mbar-menu { max-width: 980px; margin: 0 auto; padding: 4px 20px 16px; max-height: 70vh; overflow: auto; }
  .l-mbar-menu .l-steps { padding: 0 8px; }
  .l-cover-in { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 40px; }
}
@media (max-width: 900px) {
  .l-cover-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .l-cover-vis { max-width: 560px; }
  .l-split, .l-split-v { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .l-split-v .l-media { position: static; }
  .l-rules { grid-template-columns: 1fr; }
  .l-stats { grid-template-columns: 1fr 1fr; }
  .l-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .l-stats > div:nth-child(n+3) { border-top: 1px solid var(--l-line); }
  .w-tabs { grid-template-columns: minmax(0, 1fr); }
  .w-tabs-list { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--l-line); scrollbar-width: none; }
  .w-tabs-list button { flex: 0 0 auto; padding: 10px 14px 14px; }
  .w-tabs-list button span { display: none; }
  .w-game-top { grid-template-columns: minmax(0, 1fr); }
  .w-game-map { border-right: 0; border-bottom: 1px solid var(--l-line); min-height: 0; }
  .w-calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .w-tz-z, .w-tz-l { grid-template-columns: repeat(2, 1fr); }
  .w-tz-l div:last-child { grid-column: 1 / -1; }
  .w-tz-s b { font-size: 24px; }
  .w-call-form { grid-template-columns: minmax(0, 1fr); }
  .w-call-lines p { grid-template-columns: 1fr; }
  .w-abc-g { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .w-abc-t { padding: 8px 9px; } .w-abc-t b { font-size: 22px; } .w-abc-t span { font-size: 14px; }
  .w-ear, .w-call, .w-tz, .w-abc, .w-match { padding: 16px; }
  .w-say { padding: 4px 14px 14px; }
  .w-match { grid-template-columns: 1fr 1.5fr; gap: 8px 10px; }
  .w-match button { font-size: 14.5px; padding: 6px 10px; }
  body.c2.l2 { font-size: 16.5px; }
  .l-cover { padding: calc(var(--l-nav) + 24px) 0 36px; }
  .l-cover-in, .l-shell { padding: 0 16px; }
  .l-mbar-btn { padding: 0 16px; }
  .l-learn { grid-template-columns: 1fr; }
  .l-cover-vis { padding: 18px 0 30px 0; }
  .l-float-load { left: 10px; top: 0; width: 250px; }
  .l-float-week { right: 10px; width: 230px; }
  .l-step { padding-top: 60px; }
  .l-step-h { margin-bottom: 28px; }
  .l-h3 { margin-top: 48px; }
  .l-split-v, .l-key, .w-chat { margin-top: 48px; }
  .l-band { aspect-ratio: 16/9; margin-bottom: 28px; }
  .l-facts div { grid-template-columns: 1fr; gap: 2px; }
  .l-cols { grid-template-columns: 1fr; }
  .l-col, .l-col + .l-col { padding: 18px 0; border-left: 0; }
  .l-col + .l-col { border-top: 1px solid var(--l-line); }
  .l-tools, .l-cheat { grid-template-columns: 1fr; }
  .l-tools > div:nth-child(even), .l-cheat > div:nth-child(even) { padding-left: 0; border-left: 0; }
  .l-docs li { grid-template-columns: 72px 1fr; }
  .l-levers li { grid-template-columns: 1fr; gap: 2px; }
  .l-next { flex-direction: column; align-items: flex-start; }
  .w-tabs-stage, .w-flow, .w-vs, .w-ba, .w-cases, .w-day, .w-week, .w-calc, .w-quiz, .w-money, .w-ready { padding: 18px 16px; }
  .w-scale { padding: 48px 16px 18px; }
  .w-scale-pin { left: calc(16px + (100% - 32px) * .8); }
  .w-scale-bar b { font-size: 12px; } .w-scale-bar span { font-size: 15px; }
  .w-scale-bar i { padding: 0 8px; }
  .mk-lb th:nth-child(4), .mk-lb td:nth-child(4) { display: none; }
  .mk-lb td, .mk-lb th { padding: 9px 8px; font-size: 13px; }
  .mk-doc-g { grid-template-columns: 1fr; }
  .w-sort ol { grid-template-columns: 1fr; }
  .w-flow-track { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .w-flow-line { left: 43px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .w-flow-line i { background: repeating-linear-gradient(180deg, var(--l-acc) 0 14px, transparent 14px 26px); animation-name: w-flowy; }
  .w-flow[data-mode="money"] .w-flow-line i { background: repeating-linear-gradient(180deg, var(--l-pos) 0 6px, transparent 6px 16px); }
  .w-flow[data-mode="docs"] .w-flow-line i { background: repeating-linear-gradient(180deg, var(--l-vi) 0 10px, transparent 10px 22px); }
  @keyframes w-flowy { from { transform: translateY(-26px); } to { transform: translateY(0); } }
  .w-node { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto auto; column-gap: 14px; text-align: left; align-items: center; padding: 8px 10px; }
  .w-node .ic { grid-row: 1 / 4; margin: 0; width: 48px; height: 48px; }
  .w-node em { margin: 2px 0 0; min-height: 0; }
  .w-fd { grid-template-columns: 1fr; }
  .w-money-row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .w-money-bar { grid-column: 1 / -1; grid-row: 2; }
  .w-vs-rows > div, .w-ba-rows li { grid-template-columns: 1fr; gap: 4px; }
  .w-guess { grid-template-columns: 1fr; }
  .w-pair, .w-cycle, .w-season { padding: 18px 16px; }
  .w-pair-row { grid-template-columns: 70px minmax(0, 1fr); gap: 4px 12px; }
  .w-pair-d { grid-column: 2; text-align: left; }
  .w-cycle-chart { height: 206px; } .w-cycle-chart svg { height: 180px; }
  .w-cycle-yr { font-size: 10.5px; }
  .w-cycle-tabs { grid-template-columns: repeat(3, 1fr); }
  .w-cycle-p ul { grid-template-columns: 1fr; }
  .w-season-rail { grid-template-columns: repeat(6, 1fr); row-gap: 8px; }
  .w-season-meters { grid-template-columns: 1fr; }
  .w-due, .w-road, .w-year { padding: 18px 16px; }
  .w-due { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .w-due-res > b { font-size: 27px; }
  .w-road-rail { margin-top: 28px; }
  .w-road-rail { margin-bottom: 16px; }
  .w-road-rail button b, .w-road-rail button small { display: none; }
  .w-road-rail button > i { width: 18px; height: 18px; }
  .w-road-line { top: 7px; }
  .w-road-car { width: 28px; height: 17px; margin-left: -14px; top: -22px; }
  .w-road-s.is-now { padding: 14px 16px; }
  .w-year-rail { grid-template-columns: repeat(6, 1fr); row-gap: 8px; }
  .w-year-m li { grid-template-columns: 1fr; gap: 2px; }
  .w-game-seg { margin: 12px 12px 12px; }
  .w-day-rail { gap: 2px; }
  .w-day-rail button small, .w-day-rail button span { display: none; }
  .w-day-rail button time { font-size: 13.5px; }
  .mk-trk > div { grid-template-columns: 1fr auto; gap: 4px 10px; }
  .mk-trk span { grid-column: 1 / -1; grid-row: 2; font-size: 13.5px; }
  .mk-lb th:nth-child(2):nth-last-child(n+4), .mk-lb td:nth-child(2):nth-last-child(n+4) { display: none; }
  .w-cases-btns { flex-direction: column; }
  .w-cases-btns button { height: auto; min-height: 48px; padding: 10px 16px; }
  .w-cases-btns button.next { align-self: flex-end; height: 48px; }
  .w-cases-btns.many { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .w-cases-btns.many button { min-width: 0; padding: 10px 12px; }
  .w-cases-btns.many button.next { grid-column: 1 / -1; justify-self: end; }
  .w-week-days { display: none; }
  .w-week-lane { height: auto; margin: 0; background: none; display: grid; gap: 6px; }
  .w-week-ld { position: static; width: auto !important; display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 10px; padding: 10px 12px; }
  .w-week-ld::before { content: attr(data-d); font-size: 12.5px; font-weight: 650; color: var(--l-mu); text-transform: uppercase; letter-spacing: .04em; }
  .w-week-ld b { order: 3; font-size: 15px; }
  .w-week-ld span { order: 2; margin: 0; font-size: 13.5px; -webkit-line-clamp: 1; }
  .w-week-ld.idle b { order: 2; }
  .w-week-sum { grid-template-columns: 1fr 1fr; }
  .w-week-n { grid-column: 1 / -1; }
  .w-ready { grid-template-columns: 1fr; }
  .w-ready-meter { position: static; display: flex; align-items: center; gap: 16px; text-align: left; }
  .w-ready-ring { width: 76px; height: 76px; margin: 0; }
  .w-ready-ring b { font-size: 18px; }
  .w-cases-btns button { min-width: 0; }
  .w-case > p { font-size: 17px; min-height: 0; }
  .w-q > p { font-size: 18px; }
  .w-game-end > b { font-size: 38px; }
}
/* ── урок 06: точки на схеме (.w-hot) — трейлер сбоку и строка поста ── */
.w-hot { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-hot-pic { position: relative; }
.w-hot-trl svg { display: block; width: 100%; height: auto; overflow: visible; }
.w-hot-lab { position: absolute; top: 100%; transform: translate(-50%, 6px); font-size: 12px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--l-mu); white-space: nowrap; pointer-events: none; }
.w-hot-trl { margin-bottom: 26px; }
.w-hot-trl .gr { stroke: var(--l-line2); stroke-width: 2; }
.w-hot-trl .tb { fill: var(--l-s2); stroke: var(--l-line2); stroke-width: 2; }
.w-hot-trl .ti { fill: var(--l-bg); }
.w-hot-trl .lt { fill: rgba(250,204,21,.16); }
.w-hot-trl .et { stroke: var(--l-mu); stroke-width: 4; stroke-dasharray: 12 6; opacity: .7; }
.w-hot-trl .tp rect { fill: rgba(212,165,106,.5); stroke: rgba(212,165,106,.95); stroke-width: 1.5; }
.w-hot-trl .pb rect { fill: #8a6237; }
.w-hot-trl .lb { fill: var(--l-acc); }
.w-hot-trl .fl { fill: #7a5a37; }
.w-hot-trl .kp, .w-hot-trl .lg { fill: var(--l-mu); }
.w-hot-trl .sr { fill: var(--l-s3); stroke: var(--l-line2); }
.w-hot-trl .sh circle { fill: var(--l-bg); }
.w-hot-trl .su { fill: var(--l-s3); }
.w-hot-trl .tw { fill: #1b2029; stroke: #3a4350; stroke-width: 3; }
.w-hot-trl .th { fill: #6b7584; }
.w-hot-trl .dr { fill: var(--l-s3); stroke: var(--l-line2); }
.w-hot-trl .rd line { stroke: var(--l-mu); stroke-width: 3; stroke-linecap: round; }
.w-hot-trl .hd rect { fill: var(--l-ink2); }
.w-hot-trl .sl { fill: var(--l-neg); } .w-hot-trl .sl2 { stroke: var(--l-neg); stroke-width: 3; }
.w-hot-trl .lp rect { fill: var(--l-neg); opacity: .85; }
html[data-theme="light"] .w-hot-trl .ti { fill: #fbfcfd; }
html[data-theme="light"] .w-hot-trl .tw { fill: #2a313c; stroke: #111827; }
.w-hot-pt { position: absolute; transform: translate(-50%, -50%); width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 0; background: var(--l-acc); color: var(--l-acc-ink); font-size: 14px; font-weight: 750; cursor: pointer; display: grid; place-items: center; box-shadow: 0 0 0 4px var(--l-accb), 0 4px 14px rgba(0,0,0,.35); transition: transform .25s var(--l-ease), background .25s, color .25s; }
.w-hot-pt::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--l-acc); animation: w-hot-ping 2.2s var(--l-ease) infinite; pointer-events: none; }
.w-hot-pt:hover { transform: translate(-50%, -50%) scale(1.1); }
.w-hot-pt.seen { background: var(--l-s1); color: var(--l-acc); box-shadow: inset 0 0 0 2px var(--l-acc), 0 4px 14px rgba(0,0,0,.3); }
.w-hot-pt.seen::after { display: none; }
.w-hot-pt.on { background: var(--l-warn); color: #1a1205; box-shadow: 0 0 0 5px var(--l-warnb), 0 4px 14px rgba(0,0,0,.35); transform: translate(-50%, -50%) scale(1.14); }
@keyframes w-hot-ping { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.w-hot-info { margin-top: 18px; min-height: 150px; display: flex; flex-direction: column; }
.w-hot-hint { margin: 0; color: var(--l-mu); font-size: 15.5px; }
.w-hot-i { display: none; }
.w-hot-i.is-now { display: block; animation: w-fade .4s var(--l-ease); }
.w-hot-i h4 { margin: 0 0 6px; font-size: 18px; font-weight: 680; letter-spacing: -.01em; }
.w-hot-i p { margin: 0 0 10px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }
.w-hot-i .tip { padding: 10px 14px; border-radius: 10px; background: var(--l-accb); font-size: 15px; margin: 0; }
.w-hot-i .tip b { color: var(--l-acc); }
.w-hot-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--l-mu); }
.w-hot-nx { border: 1px solid var(--l-line2); background: transparent; border-radius: 10px; padding: 8px 14px; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--l-ink); white-space: nowrap; }
.w-hot-nx:hover { background: var(--l-s2); }
.w-hot-nx::after { content: ' →'; }
/* строка поста на доске: поля — кнопки */
.mk-post { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
.mk-pc { position: relative; flex: 1 1 auto; min-width: 0; text-align: left; border: 1px solid var(--l-line); background: var(--l-s1); border-radius: 8px; padding: 7px 22px 8px 10px; font-size: 14.5px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--l-ink); cursor: pointer; transition: border-color .2s, background .2s; }
.mk-pc small { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); margin-bottom: 2px; }
.mk-pc.w4 { flex-basis: 100%; font-weight: 550; }
.mk-pc:not(.seen)::after { content: ''; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--l-acc); animation: l-pulse 1.6s infinite; }
.mk-pc:hover { border-color: var(--l-line2); }
.mk-pc.seen { border-color: color-mix(in srgb, var(--l-acc) 30%, var(--l-line)); }
.mk-pc.on { background: var(--l-accb); border-color: var(--l-acc); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-hot-post .w-hot-info { min-height: 130px; }

/* ── урок 06: пол фургона сверху (.w-deck) — паллеты, вес против места ── */
.w-deck { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-deck-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-bottom: 22px; }
.w-deck .w-seg { margin-bottom: 0; }
.w-deck-chk { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; cursor: pointer; }
.w-deck-chk input { width: 18px; height: 18px; accent-color: var(--l-acc); margin: 0; }
.w-deck-in { display: grid; gap: 10px; flex: 1 1 240px; min-width: 200px; margin-bottom: 4px; }
.w-deck-in span { font-size: 14.5px; color: var(--l-mu); display: flex; justify-content: space-between; gap: 10px; }
.w-deck-in output { font-weight: 750; color: var(--l-acc); font-variant-numeric: tabular-nums; }
.w-deck-goods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.w-deck-goods button { border: 1px solid var(--l-line2); background: var(--l-s2); border-radius: 12px; padding: 9px 14px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.w-deck-goods b { display: block; font-size: 15px; font-weight: 650; }
.w-deck-goods small { font-size: 12.5px; color: var(--l-mu); }
.w-deck-goods [aria-checked="true"] { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-deck-floor { position: relative; margin: 30px 0 34px; }
.w-deck-area { position: relative; aspect-ratio: 630 / 100; border-radius: 6px 12px 12px 6px; border: 2px solid var(--l-line2); border-left: 7px solid var(--l-mu);
  background: repeating-linear-gradient(90deg, color-mix(in srgb, #8b6a43 18%, var(--l-s2)) 0 23px, color-mix(in srgb, #8b6a43 10%, var(--l-s2)) 23px 25px); }
.w-deck-area i { position: absolute; border-radius: 3px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 2px, transparent 2px 9px), #d2a56c; box-shadow: inset 0 0 0 1px rgba(60,35,10,.45), inset 0 -3px 0 rgba(60,35,10,.25); transition: background-color .3s; }
.w-deck-area i.x2 { background-color: #b98446; }
.w-deck-area i.ov { background-color: #ef6b6b; box-shadow: inset 0 0 0 1px rgba(90,10,10,.55), inset 0 -3px 0 rgba(90,10,10,.3); }
.w-deck-area i.x2::after { content: '×2'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #2b1a08; }
.w-deck-area i.n { animation: w-deck-in .38s var(--l-ease) both; animation-delay: var(--d); }
@keyframes w-deck-in { from { opacity: 0; transform: translateX(-14px) scale(.9); } }
.w-deck-nose, .w-deck-door { position: absolute; top: -22px; font-size: 11.5px; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--l-mu); }
.w-deck-nose { left: 0; } .w-deck-door { right: 0; }
.w-deck-ruler { position: absolute; left: 7px; right: 2px; top: calc(100% + 6px); height: 16px; }
.w-deck-ruler i { position: absolute; transform: translateX(-50%); font-style: normal; font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-deck-ruler i:first-child { transform: none; }
.w-deck-out { display: grid; gap: 12px; }
.w-deck-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.w-deck-stats div { padding: 12px 14px; border-radius: 12px; background: var(--l-s2); }
.w-deck-stats small { display: block; font-size: 12.5px; color: var(--l-mu); margin-bottom: 2px; }
.w-deck-stats b { font-size: 22px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-deck-v { margin: 0; padding: 12px 16px; border-radius: 12px; border-left: 3px solid var(--l-acc); background: var(--l-accb); font-size: 15.5px; line-height: 1.5; animation: w-fade .35s var(--l-ease); }
.w-deck-v.ok { border-color: var(--l-pos); background: var(--l-posb); }
.w-deck-v.warn { border-color: var(--l-warn); background: var(--l-warnb); }
.w-deck-v.bad { border-color: var(--l-neg); background: var(--l-negb); }
.w-deck-wt { margin: 0 0 16px; padding-top: 18px; }
.w-deck-bar { position: relative; height: 14px; border-radius: 7px; background: var(--l-s3); }
.w-deck-bar i, .w-deck-bar em { position: absolute; top: 0; bottom: 0; transition: width .45s var(--l-ease), left .45s var(--l-ease); }
.w-deck-bar i { left: 0; border-radius: 7px 0 0 7px; background: var(--l-acc); }
.w-deck-bar em { background: var(--l-neg); border-radius: 0 7px 7px 0; }
.w-deck-bar b { position: absolute; left: var(--lim); top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--l-ink); border-radius: 1px; }
.w-deck-bar b::after { content: attr(data-l); position: absolute; bottom: calc(100% + 3px); left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 650; white-space: nowrap; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-deck-nums { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; margin-top: 10px; font-size: 14px; color: var(--l-mu); }
.w-deck-nums b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-deck-n { margin: 12px 0 0; font-size: 13.5px; color: var(--l-mu); }
/* ── урок 07: рефрижератор в разрезе (.w-hot-rf) — агрегат, воздуховод, круг воздуха ── */
.w-hot-rf .un { fill: var(--l-s3); stroke: var(--l-mu); stroke-width: 2; }
.w-hot-rf .ug line { stroke: var(--l-mu); stroke-width: 3; stroke-linecap: round; opacity: .55; }
.w-hot-rf .dp { fill: #0b1a24; stroke: #38bdf8; stroke-width: 1.5; }
.w-hot-rf .dpt { fill: #38bdf8; font-size: 15px; font-weight: 700; text-anchor: middle; font-family: inherit; }
.w-hot-rf .inl { fill: none; stroke: var(--l-mu); stroke-width: 1.5; stroke-dasharray: 3 5; opacity: .55; }
.w-hot-rf .ch { fill: rgba(56,189,248,.18); stroke: rgba(56,189,248,.65); stroke-width: 1.5; }
.w-hot-rf .bh rect { fill: var(--l-s3); stroke: var(--l-line2); }
.w-hot-rf .bh line { stroke: var(--l-mu); stroke-width: 2; stroke-dasharray: 4 6; }
.w-hot-rf .tf { fill: #9aa5b1; }
.w-hot-rf .tfg line { stroke: #5b6673; stroke-width: 2; }
.w-hot-rf .af { fill: none; stroke: #38bdf8; stroke-width: 3; stroke-dasharray: 14 12; stroke-linecap: round; opacity: .85; animation: w-rf-air 1.6s linear infinite; }
.w-hot-rf .afh path { fill: #38bdf8; }
@keyframes w-rf-air { to { stroke-dashoffset: -26; } }
.w-hot-rf .ft { fill: var(--l-s3); stroke: var(--l-mu); stroke-width: 2; }
.w-hot-rf .ftc { fill: var(--l-mu); }
.w-hot-rf .gk { fill: none; stroke: #38bdf8; stroke-width: 2; stroke-dasharray: 6 5; opacity: .55; }
html[data-theme="light"] .w-hot-rf .af, html[data-theme="light"] .w-hot-rf .gk { stroke: #0284c7; }
html[data-theme="light"] .w-hot-rf .afh path { fill: #0284c7; }
html[data-theme="light"] .w-hot-rf .ch { fill: rgba(2,132,199,.12); stroke: rgba(2,132,199,.55); }

/* ── урок 07: термометр рефрижератора (.w-therm) — диапазон груза на шкале °F и °C ── */
.w-therm { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-therm-goods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.w-therm-goods button { border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.w-therm-goods [aria-checked="true"] { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-therm-c { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 0 0 26px; animation: w-fade .35s var(--l-ease); }
.w-therm-c b { font-size: 26px; font-weight: 780; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-therm-c span { font-size: 16px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-therm-bar { position: relative; height: 18px; border-radius: 9px; background: linear-gradient(90deg, #1e3a8a, #2563eb 25%, #38bdf8 60%, #fbbf24 86%, #f97316); }
.w-therm-band { position: absolute; top: -6px; bottom: -6px; min-width: 8px; margin-left: -4px; padding: 0 4px; box-sizing: content-box; border-radius: 9px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--l-acc), 0 4px 14px rgba(0,0,0,.35); transition: left .5s var(--l-ease), width .5s var(--l-ease); }
.w-therm-zero { position: absolute; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; background: var(--l-ink); opacity: .6; }
.w-therm-zero em { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 650; white-space: nowrap; color: var(--l-ink2); }
.w-therm-ticks { position: relative; height: 36px; margin-top: 10px; }
.w-therm-ticks i { position: absolute; top: 0; transform: translateX(-50%); font-style: normal; text-align: center; line-height: 1.25; }
.w-therm-ticks i:first-child { transform: none; text-align: left; }
.w-therm-ticks i:last-child { transform: translateX(-100%); text-align: right; }
.w-therm-ticks b { display: block; font-size: 12px; font-weight: 650; color: var(--l-ink2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-therm-ticks small { display: block; font-size: 11px; color: var(--l-mu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-therm-info { margin-top: 16px; min-height: 130px; }
.w-therm-i { display: none; }
.w-therm-i.is-on { display: block; animation: w-fade .35s var(--l-ease); }
.w-therm-i h4 { margin: 0 0 6px; font-size: 18px; font-weight: 680; letter-spacing: -.01em; }
.w-therm-i p { margin: 0 0 10px; color: var(--l-ink2); font-size: 15.5px; line-height: 1.55; }
.w-therm-i .tip { padding: 10px 14px; border-radius: 10px; background: var(--l-accb); font-size: 15px; margin: 0; }
.w-therm-i .tip b { color: var(--l-acc); }
.w-therm-n { margin: 12px 0 0; font-size: 13.5px; color: var(--l-mu); }

/* ── урок 07: температура в пути (.w-temp) — запись агрегата за 12 часов ── */
.w-temp { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-temp .w-seg { margin-bottom: 0; }
.w-temp .w-deck-ctl { margin-bottom: 14px; }
.w-temp-chart { margin: 0 0 18px; }
.w-temp-plot { position: relative; height: 230px; margin: 12px 4px 30px 34px; border-left: 1px solid var(--l-line2); border-bottom: 1px solid var(--l-line2); }
.w-temp-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.w-temp-bg .bd { fill: var(--l-posb); }
.w-temp-bg .gx { stroke: var(--l-line); stroke-width: 1; }
.w-temp-bg .spl { stroke: var(--l-pos); stroke-width: 1.5; stroke-dasharray: 5 5; opacity: .85; }
.w-temp-ln .ai { fill: none; stroke: #38bdf8; stroke-width: 2; stroke-linejoin: round; }
.w-temp-ln .pu { fill: none; stroke: #f59e0b; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.w-temp-ln { animation: w-temp-draw 1.4s var(--l-ease) both; }
@keyframes w-temp-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.w-temp-y { position: absolute; left: -8px; transform: translate(-100%, -50%); font-size: 12px; color: var(--l-mu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-temp-x { position: absolute; top: calc(100% + 6px); transform: translateX(-50%); font-size: 12px; color: var(--l-mu); white-space: nowrap; }
.w-temp-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--l-ink2); }
.w-temp-leg span { display: inline-flex; align-items: center; gap: 7px; }
.w-temp-leg span::before { content: ''; width: 18px; height: 3px; border-radius: 2px; }
.w-temp-leg .ai::before { background: #38bdf8; height: 2px; }
.w-temp-leg .pu::before { background: #f59e0b; height: 4px; }
.w-temp-leg .bd::before { background: var(--l-posb); height: 10px; box-shadow: inset 0 0 0 1px var(--l-pos); }
.w-temp-leg .df { color: var(--l-mu); }
.w-temp-leg .df::before { display: none; }
.w-deck-stats b.neg { color: var(--l-neg); }
.w-temp-vd { display: block; font-size: 16.5px; font-weight: 750; margin-bottom: 8px; }
.w-temp-ck { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.w-temp-ck li { position: relative; padding-left: 24px; font-size: 15px; line-height: 1.5; }
.w-temp-ck li::before { content: '✓'; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--l-pos); }
.w-temp-ck li.bad::before { content: '✕'; color: var(--l-neg); }
.w-temp-ck li.req::before { content: '!'; left: 4px; color: var(--l-warn); }
html[data-theme="light"] .w-temp-ln .ai, html[data-theme="light"] .w-temp-leg .ai::before { stroke: #0284c7; background: #0284c7; }
html[data-theme="light"] .w-temp-ln .pu { stroke: #d97706; }
html[data-theme="light"] .w-temp-leg .pu::before { background: #d97706; }
/* урок 08: открытые платформы — высота и вес (.w-hgt), крепления (.w-tie), негабарит (.w-od) */
.w-hgt, .w-tie, .w-od { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-hgt .w-deck-goods, .w-tie .w-deck-goods, .w-od .w-deck-goods { margin-bottom: 16px; }
.w-hgt input[type=range], .w-tie input[type=range], .w-od input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; }
.w-hgt input[type=range]::-webkit-slider-thumb, .w-tie input[type=range]::-webkit-slider-thumb, .w-od input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-hgt input[type=range]::-moz-range-thumb, .w-tie input[type=range]::-moz-range-thumb, .w-od input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-hgt-vis, .w-tie-vis, .w-od-vis { margin: 4px 0 16px; }
.w-hgt-vis svg, .w-tie-vis svg, .w-od-vis svg { display: block; width: 100%; height: auto; overflow: visible; }
.w-hgt-vis .gr, .w-od-vis .ln { stroke: var(--l-line2); stroke-width: 2; fill: var(--l-s3); }
.w-hgt-vis .lim, .w-od-vis .lm { stroke: var(--l-warn); stroke-width: 1.5; stroke-dasharray: 6 6; }
.w-hgt-vis .lt, .w-od-vis .lt { fill: var(--l-warn); font-size: 13px; font-weight: 700; text-anchor: end; }
.w-od-vis .lt.mu { fill: var(--l-mu); font-weight: 600; }
.w-hgt-vis .dk, .w-tie-vis .dk { fill: #64748b; }
.w-hgt-vis .lg { fill: #475569; }
.w-hgt-vis .wh, .w-od-vis .wh { fill: #1e293b; stroke: #94a3b8; stroke-width: 3; }
.w-hgt-vis .cg, .w-tie-vis .cg, .w-od-vis .cg { fill: var(--l-accb); stroke: var(--l-acc); stroke-width: 2; transition: y .35s var(--l-ease), height .35s var(--l-ease), x .35s var(--l-ease), width .35s var(--l-ease); }
.w-hgt-vis .cg.bad, .w-od-vis .cg.bad { fill: var(--l-negb); stroke: var(--l-neg); }
.w-hgt-vis .tt { fill: var(--l-ink); font-size: 14px; font-weight: 750; text-anchor: middle; }
.w-hgt-vis .tt.bad { fill: var(--l-neg); }
.w-hgt-vis .nm { fill: var(--l-ink2); font-size: 15px; font-weight: 700; text-anchor: middle; }
.w-hgt-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.w-hgt-cards div { padding: 12px 14px; border-radius: 12px; background: var(--l-s2); border-top: 3px solid var(--l-pos); }
.w-hgt-cards div.warn { border-top-color: var(--l-warn); }
.w-hgt-cards div.bad { border-top-color: var(--l-neg); }
.w-hgt-cards small { display: block; font-size: 13px; font-weight: 700; color: var(--l-ink2); }
.w-hgt-cards b { display: block; font-size: 22px; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-hgt-cards span { display: block; font-size: 12.5px; color: var(--l-mu); margin: 2px 0 6px; }
.w-hgt-cards em { font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--l-pos); }
.w-hgt-cards .warn em { color: var(--l-warn); }
.w-hgt-cards .bad em { color: var(--l-neg); }
.w-tie .w-deck-ctl + .w-deck-ctl { margin-top: -6px; }
.w-tie-vis .rl { fill: var(--l-mu); font-size: 12px; text-anchor: middle; }
.w-tie-vis .hd { fill: var(--l-warn); }
.w-tie-vis .hl { fill: var(--l-warn); font-size: 12px; font-weight: 700; }
.w-tie-vis .st line { stroke: #facc15; stroke-width: 4; stroke-linecap: round; }
.w-tie-vis .st circle { fill: #facc15; }
.w-tie-vis .st.ch line { stroke: #cbd5e1; stroke-dasharray: 3 3; stroke-width: 5; }
.w-tie-vis .st.ch circle { fill: #cbd5e1; }
.w-tie-vis .st.ex line { stroke: var(--l-warn); }
.w-tie-vis .st { animation: w-fade .4s var(--d, 0ms) var(--l-ease) both; }
.w-tie .w-deck-stats .nd { background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-tie-sum { margin: 10px 0 0; font-size: 14.5px; color: var(--l-ink2); }
.w-tie-sum b { color: var(--l-ink); }
.w-od-vis svg { max-width: 560px; margin: 0 auto; }
.w-od-vis .tr { fill: #475569; }
.w-od-vis .fl { fill: #f97316; }
html[data-theme="light"] .w-tie-vis .st line, html[data-theme="light"] .w-tie-vis .st circle { stroke: #ca8a04; fill: #ca8a04; }
html[data-theme="light"] .w-tie-vis .st.ch line { stroke: #64748b; }
html[data-theme="light"] .w-tie-vis .st.ch circle { fill: #64748b; }
html[data-theme="light"] .w-hgt-vis .wh, html[data-theme="light"] .w-od-vis .wh { fill: #334155; stroke: #cbd5e1; }
/* урок 09: чужой трейлер на осмотре (.w-hot-po), box truck (.w-box), hotshot и CDL (.w-gc), per diem (.w-pd), готовые недели (.w-calc-pre) */
.w-hot-po .pn line { stroke: rgba(15,23,42,.14); stroke-width: 2; }
.w-hot-po .no { fill: var(--l-ink2); font: 800 26px ui-monospace, Menlo, Consolas, monospace; }
.w-hot-po .dc { fill: #facc15; stroke: #a16207; stroke-width: 1.5; }
.w-hot-po .dc2 { stroke: #713f12; stroke-width: 2.5; stroke-linecap: round; }
.w-hot-po .dn { fill: rgba(15,23,42,.28); stroke: rgba(15,23,42,.35); stroke-width: 1.5; }
.w-hot-po .rt { stroke: #ef4444; stroke-width: 5; stroke-dasharray: 22 14; }
.w-hot-po .mk { fill: #f59e0b; }
.w-box, .w-gc, .w-pd { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-box .w-deck-goods, .w-gc .w-deck-goods { margin-bottom: 16px; }
.w-box .w-deck-ctl + .w-deck-ctl { margin-top: -8px; }
.w-box input[type=range], .w-gc input[type=range], .w-pd input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; cursor: pointer; }
.w-box input[type=range]::-webkit-slider-thumb, .w-gc input[type=range]::-webkit-slider-thumb, .w-pd input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-box input[type=range]::-moz-range-thumb, .w-gc input[type=range]::-moz-range-thumb, .w-pd input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-box-vis, .w-gc-vis, .w-pd-vis { margin: 4px 0 16px; }
.w-box-vis svg, .w-gc-vis svg { display: block; width: 100%; height: auto; overflow: visible; }
.w-box-vis .bx { fill: var(--l-s2); stroke: var(--l-line2); stroke-width: 3; }
.w-box-vis .cb { fill: #0e7490; } .w-box-vis .cw { fill: rgba(186,230,253,.55); }
.w-box-vis .lgt { fill: var(--l-s3); stroke: var(--l-line2); stroke-width: 2; stroke-dasharray: 5 4; }
.w-box-vis .lgt.on { fill: var(--l-posb); stroke: var(--l-pos); stroke-dasharray: none; }
.w-box-vis .lgt.bad { fill: var(--l-negb); stroke: var(--l-neg); stroke-dasharray: none; }
.w-box-vis .pl { fill: #d2a56c; stroke: rgba(60,35,10,.55); stroke-width: 1.5; animation: w-fade .35s var(--d, 0ms) var(--l-ease) both; }
.w-box-vis .pl.hv { fill: #b98446; }
.w-box-vis .pl.bad { fill: #ef6b6b; stroke: rgba(90,10,10,.6); }
.w-box-vis .lb, .w-gc-vis .nm { fill: var(--l-mu); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.w-box-vis .lb.e { text-anchor: end; }
.w-box-vis .lb.lg { fill: var(--l-pos); } .w-box-vis .lb.bad { fill: var(--l-neg); }
.w-gc-vis .nm { text-anchor: middle; fill: var(--l-ink2); letter-spacing: .02em; text-transform: none; font-size: 15px; }
.w-gc-vis .dk { fill: #64748b; }
.w-gc-vis .pk { fill: #0e7490; } .w-gc-vis .gl { fill: rgba(186,230,253,.55); }
.w-gc-vis .wh { fill: #1e293b; stroke: #94a3b8; stroke-width: 3; }
.w-gc-vis .cg { fill: var(--l-accb); stroke: var(--l-acc); stroke-width: 2; transition: x .35s var(--l-ease), width .35s var(--l-ease); }
.w-gc-vis .cg.bad { fill: var(--l-negb); stroke: var(--l-neg); }
.w-gc-vis .tt { fill: var(--l-ink); font-size: 14px; font-weight: 750; text-anchor: middle; }
.w-gc-vis .sc { fill: var(--l-s3); }
.w-gc-vis .sr { fill: #94a3b8; transition: width .35s var(--l-ease); }
.w-gc-vis .st { fill: #22d3ee; transition: x .35s var(--l-ease), width .35s var(--l-ease); }
.w-gc-vis .st.bad { fill: var(--l-neg); }
.w-gc-vis .lim { stroke: var(--l-warn); stroke-width: 2; stroke-dasharray: 5 4; }
.w-gc-vis .lt { fill: var(--l-warn); font-size: 13px; font-weight: 700; text-anchor: middle; }
.w-gc-vis .sm { fill: var(--l-ink); font-size: 13px; font-weight: 750; text-anchor: middle; font-variant-numeric: tabular-nums; }
.w-pd .w-deck-ctl + .w-deck-ctl { margin-top: -8px; }
.w-pd-days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 5px; }
.w-pd-days div { padding: 8px 2px 7px; border-radius: 10px; text-align: center; background: var(--l-s2); border: 1px solid var(--l-line); animation: w-fade .3s var(--d, 0ms) var(--l-ease) both; }
.w-pd-days small { display: block; font-size: 11.5px; color: var(--l-mu); }
.w-pd-days b { display: block; font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-pd-days span { display: block; min-height: 1.3em; font-size: 10.5px; font-weight: 650; color: var(--l-mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-pd-days .fr { background: var(--l-posb); border-color: color-mix(in srgb, var(--l-pos) 40%, transparent); }
.w-pd-days .fr span { color: var(--l-pos); }
.w-pd-days .pd { background: var(--l-negb); border-color: color-mix(in srgb, var(--l-neg) 40%, transparent); }
.w-pd-days .pd span { color: var(--l-neg); }
.w-pd-days .rt { box-shadow: inset 0 0 0 2px var(--l-acc); }
.w-pd-days .af { opacity: .45; }
.w-pd-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13px; color: var(--l-mu); }
.w-pd-key span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.w-pd-key .fr::before { background: var(--l-pos); } .w-pd-key .pd::before { background: var(--l-neg); } .w-pd-key .rt::before { background: transparent; box-shadow: inset 0 0 0 2px var(--l-acc); }
.w-deck-v > .w-tie-sum:first-child { margin-top: 0; }
.w-calc-pre { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.w-calc-pre button { border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s; }
.w-calc-pre button:hover { border-color: var(--l-acc); }
.w-calc-pre [aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
html[data-theme="light"] .w-gc-vis .wh { fill: #334155; stroke: #cbd5e1; }
html[data-theme="light"] .w-box-vis .cb, html[data-theme="light"] .w-gc-vis .pk { fill: #0891b2; }
html[data-theme="light"] .w-hot-po .pn line { stroke: rgba(15,23,42,.12); }
/* урок 10: вес по осям (.w-ax), весовой талон (.w-tkt), собственный вес и весенние ограничения в калькуляторе */
.w-ax, .w-tkt { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-ax .w-deck-goods { margin-bottom: 16px; }
.w-ax input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; cursor: pointer; }
.w-ax input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-ax input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-ax .w-deck-ctl + .w-deck-ctl { margin-top: -8px; }
.w-ax-vis, .w-tkt-vis { margin: 4px 0 16px; }
.w-ax-vis svg, .w-tkt-vis svg { display: block; width: 100%; height: auto; overflow: visible; }
.w-ax-vis .tb, .w-tkt-vis .tb { fill: var(--l-s2); stroke: var(--l-line2); stroke-width: 3; }
.w-ax-vis .rl, .w-tkt-vis .rl { fill: var(--l-s3); }
.w-ax-vis .lg, .w-tkt-vis .lg { fill: #64748b; }
.w-ax-vis .cg, .w-tkt-vis .cg { fill: #d2a56c; stroke: rgba(60,35,10,.55); stroke-width: 1.5; transition: x .35s var(--l-ease), width .35s var(--l-ease); }
.w-ax-vis .ct, .w-tkt-vis .ct { fill: #3b2208; font-size: 16px; font-weight: 800; text-anchor: middle; font-variant-numeric: tabular-nums; }
.w-ax-vis .cm, .w-tkt-vis .cm { fill: var(--l-acc); }
.w-ax-vis .kp, .w-tkt-vis .kp { fill: var(--l-warn); }
.w-ax-vis .tr, .w-tkt-vis .tr { fill: #0e7490; } .w-ax-vis .wd, .w-tkt-vis .wd { fill: rgba(186,230,253,.55); }
.w-ax-vis .ch, .w-tkt-vis .ch { fill: #475569; }
.w-ax-vis .wh, .w-tkt-vis .wh { fill: #1e293b; stroke-width: 4; transition: stroke .3s; }
.w-ax-vis .wh.ok, .w-tkt-vis .wh.ok { stroke: var(--l-pos); } .w-ax-vis .wh.warn, .w-tkt-vis .wh.warn { stroke: var(--l-warn); } .w-ax-vis .wh.bad, .w-tkt-vis .wh.bad { stroke: var(--l-neg); }
.w-ax-vis .gd, .w-tkt-vis .gd { stroke: var(--l-line2); stroke-width: 2; }
.w-ax-vis .aw, .w-tkt-vis .aw { font-size: 17px; font-weight: 800; text-anchor: middle; font-variant-numeric: tabular-nums; }
.w-ax-vis .aw.ok, .w-tkt-vis .aw.ok { fill: var(--l-pos); } .w-ax-vis .aw.warn, .w-tkt-vis .aw.warn { fill: var(--l-warn); } .w-ax-vis .aw.bad, .w-tkt-vis .aw.bad { fill: var(--l-neg); }
.w-ax-vis .lb, .w-tkt-vis .lb { fill: var(--l-mu); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.w-ax-vis .lb.e, .w-tkt-vis .lb.e { text-anchor: end; }
.w-ax-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 12px; }
.w-ax-stats em { display: block; font-style: normal; font-size: 12px; color: var(--l-mu); margin-top: 2px; }
.w-deck-stats b.warn { color: var(--l-warn); }
.w-tkt .w-seg { margin-bottom: 14px; }
.w-tkt-task { margin: 0 0 16px; font-size: 15.5px; color: var(--l-ink2); }
.w-tkt-g { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.w-tkt-paper { padding: 14px 16px 12px; border-radius: 6px; background: #fbfaf6; color: #1f2937; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; box-shadow: 0 6px 18px rgba(0,0,0,.28); animation: w-fade .3s var(--l-ease); }
.w-tkt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 2px dashed #cbd5e1; }
.w-tkt-h b { font-size: 16px; letter-spacing: .08em; } .w-tkt-h span { font-size: 12px; color: #64748b; }
.w-tkt-paper > div:not(.w-tkt-h) { display: grid; grid-template-columns: 1fr auto 62px; gap: 8px; align-items: baseline; padding: 6px 0; border-bottom: 1px dotted #cbd5e1; }
.w-tkt-paper span { font-size: 12.5px; color: #475569; } .w-tkt-paper b { font-size: 16px; font-variant-numeric: tabular-nums; }
.w-tkt-paper i { font-style: normal; font-size: 13px; font-weight: 700; text-align: right; color: #059669; }
.w-tkt-paper .bad b, .w-tkt-paper .bad i { color: #dc2626; } .w-tkt-paper .warn b, .w-tkt-paper .warn i { color: #b45309; }
.w-tkt-paper .w-tkt-f { margin: 8px 0 0; font-size: 12px; line-height: 1.4; color: #475569; }
.w-tkt-act { display: flex; flex-wrap: wrap; gap: 8px; }
.w-tkt-act button { border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); border-radius: 12px; padding: 9px 14px; font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.w-tkt-act button:hover:not(:disabled) { border-color: var(--l-acc); }
.w-tkt-act button:disabled { opacity: .4; cursor: default; }
.w-tkt-act .go { background: var(--l-acc); border-color: var(--l-acc); color: #06202a; }
.w-tkt-out { margin-top: 16px; display: grid; gap: 10px; }
.w-tkt-log { margin: 0; padding-left: 22px; font-size: 14px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-tkt-out .w-again { border: 0; background: none; padding: 0; color: var(--l-acc); font: inherit; font-weight: 700; cursor: pointer; }
.w-calc-bar i.t { background: #64748b; }
.w-calc-out .vd.warn { background: var(--l-warnb); border-color: color-mix(in srgb, var(--l-warn) 30%, transparent); }
.w-calc-out .vd.warn b { color: var(--l-warn); }
html[data-theme="light"] .w-ax-vis .tr, html[data-theme="light"] .w-tkt-vis .tr { fill: #0891b2; }
html[data-theme="light"] .w-ax-vis .wh, html[data-theme="light"] .w-tkt-vis .wh { fill: #334155; }
html[data-theme="light"] .w-tkt-paper { box-shadow: 0 4px 14px rgba(15,23,42,.14), 0 0 0 1px #e2e8f0; }
html[data-theme="light"] .w-tkt-act .go { color: #fff; }
@media (max-width: 640px) {
  .w-ax, .w-tkt { padding: 16px; }
  .w-ax-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-ax-vis .aw, .w-tkt-vis .aw { font-size: 30px; }
  .w-ax-vis .ct, .w-tkt-vis .ct { font-size: 26px; }
  .w-ax-vis .lb, .w-tkt-vis .lb { font-size: 24px; }
  .w-tkt-g { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .w-tkt-act button { flex: 1 1 calc(50% - 4px); padding: 9px 10px; font-size: 13.5px; }
  .w-tkt-act .go { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .w-box, .w-gc, .w-pd { padding: 16px; }
  .w-box-vis .lb { font-size: 25px; }
  .w-gc-vis .nm { font-size: 27px; }
  .w-gc-vis .tt, .w-gc-vis .lt, .w-gc-vis .sm { font-size: 24px; }
  .w-pd-days { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .w-pd-days span { font-size: 9.5px; }
  .w-calc-pre button { flex: 1 1 auto; padding: 8px 12px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .w-hgt, .w-tie, .w-od { padding: 16px; }
  .w-hgt-cards { gap: 6px; }
  .w-hgt-cards div { padding: 10px 8px; }
  .w-hgt-cards b { font-size: 17px; }
  .w-hgt-cards em { font-size: 12.5px; }
  .w-hgt-vis .nm { font-size: 20px; }
  .w-hgt-vis .tt { font-size: 19px; }
  .w-hgt-vis .lt { font-size: 17px; }
  .w-tie-vis .rl, .w-tie-vis .hl { font-size: 17px; }
}
@media (max-width: 640px) {
  .w-hot, .w-deck { padding: 16px; }
  .w-hot-pt { width: 26px; height: 26px; font-size: 12px; box-shadow: 0 0 0 3px var(--l-accb), 0 3px 10px rgba(0,0,0,.35); }
  .w-hot-info { min-height: 0; }
  .mk-pc { font-size: 13.5px; padding: 6px 18px 7px 8px; }
  .w-deck-ctl { gap: 12px; }
  .w-deck .w-seg button { padding: 8px 11px; font-size: 13.5px; }
  .w-deck-stats { gap: 6px; }
  .w-deck-stats div { padding: 10px; }
  .w-deck-stats b { font-size: 17px; }
  .w-deck-area i.x2::after { font-size: 9px; }
  .w-deck-goods button { padding: 8px 11px; flex: 1 1 calc(50% - 4px); }
  .w-therm, .w-temp { padding: 16px; }
  .w-therm-goods button { padding: 7px 11px; font-size: 13.5px; }
  .w-therm-ticks i:nth-child(even) { display: none; }
  .w-therm-c b { font-size: 22px; }
  .w-temp .w-seg button { padding: 8px 11px; font-size: 13.5px; }
  .w-temp-plot { height: 190px; margin-left: 30px; }
}
/* урок 11: журнал ELD за день (.w-eld), часы смены в калькуляторе (.w-hos-vis), недельные часы (.w-recap), план рейса (.w-trip).
   Цвета статусов везде одни: за рулём бирюзовый, On Duty жёлтый, Off Duty серый, спальник фиолетовый, «ещё можно» зелёный */
.w-eld, .w-recap, .w-trip { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-recap input[type=range], .w-trip input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; cursor: pointer; }
.w-recap input[type=range]::-webkit-slider-thumb, .w-trip input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-recap input[type=range]::-moz-range-thumb, .w-trip input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 8px rgba(0,0,0,.35); }
.w-eld-log { --row: 34px; display: grid; grid-template-columns: 92px minmax(0, 1fr) 56px; align-items: start; }
.w-eld-lab, .w-eld-tot { display: grid; grid-template-rows: repeat(4, var(--row)); padding-top: 20px; }
.w-eld-lab span { display: flex; flex-direction: column; justify-content: center; padding-right: 10px; line-height: 1.15; }
.w-eld-lab b { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.w-eld-lab small { font-size: 11px; color: var(--l-mu); white-space: nowrap; }
.w-eld-lab .off b { color: #94a3b8; } .w-eld-lab .sb b { color: var(--l-vi); } .w-eld-lab .d b { color: var(--l-acc); } .w-eld-lab .on b { color: var(--l-warn); }
.w-eld-hrs { position: relative; height: 20px; }
.w-eld-hrs span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-eld-grid { position: relative; height: calc(var(--row) * 4); border: 1px solid var(--l-line2); border-radius: 4px; background-color: var(--l-s2);
  background-image: linear-gradient(to bottom, var(--l-line2) 1px, transparent 1px), linear-gradient(to right, var(--l-line2) 1px, transparent 1px), linear-gradient(to right, var(--l-line) 1px, transparent 1px);
  background-size: 100% 25%, 12.5% 100%, 4.1667% 100%; background-position: 0 -1px, -1px 0, -1px 0; }
.w-eld-grid svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-eld-grid .ln { fill: none; stroke: var(--l-acc); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.w-eld-cur { position: absolute; top: 0; bottom: 0; background: var(--l-accb); box-shadow: inset 1px 0 0 var(--l-acc), inset -1px 0 0 var(--l-acc); transition: left .35s var(--l-ease), width .35s var(--l-ease); animation: w-eld-pulse 1.6s ease-in-out infinite; }
@keyframes w-eld-pulse { 50% { opacity: .45; } }
.w-eld-tot span { display: flex; align-items: center; justify-content: flex-end; font-size: 13.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.w-eld-tot em { font-style: normal; text-align: right; font-size: 12px; font-weight: 700; color: var(--l-mu); padding-top: 4px; border-top: 1px solid var(--l-line2); margin-top: 2px; }
.w-eld-q { margin-top: 18px; }
.w-eld-card, .w-eld-end { padding: 16px 18px; border-radius: 14px; background: var(--l-s2); border: 1px solid var(--l-line); animation: w-fade .3s var(--l-ease); }
.w-eld-top { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--l-mu); }
.w-eld-time { font-weight: 700; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-eld-t { margin: 6px 0 2px; font-size: 17px; font-weight: 650; line-height: 1.4; }
.w-eld-ask { margin: 0 0 12px; font-size: 14px; color: var(--l-mu); }
.w-eld-btns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.w-eld-btns button { --c: #94a3b8; display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border: 1px solid var(--l-line2); border-radius: 12px; background: var(--l-s1); font-size: 14px; font-weight: 700; line-height: 1.2; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.w-eld-btns button::before { content: ''; width: 24px; height: 4px; border-radius: 2px; background: var(--c); }
.w-eld-btns .sb { --c: var(--l-vi); } .w-eld-btns .d { --c: var(--l-acc); } .w-eld-btns .on { --c: var(--l-warn); }
.w-eld-btns button:hover:not(:disabled) { border-color: var(--c); }
.w-eld-btns button:disabled { cursor: default; opacity: .45; }
.w-eld-btns button.right, .w-eld-btns button.ans { opacity: 1; border-color: var(--l-pos); background: var(--l-posb); }
.w-eld-btns button.ans { border-style: dashed; }
.w-eld-btns button.wrong { opacity: 1; border-color: var(--l-neg); background: var(--l-negb); }
.w-eld-why { margin-top: 12px; padding: 10px 14px; border-radius: 12px; animation: w-fade .3s var(--l-ease); }
.w-eld-why p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; }
.w-eld-why.ok { background: var(--l-posb); } .w-eld-why.ok .w-verdict { padding: 0; color: var(--l-pos); }
.w-eld-why.no { background: var(--l-negb); } .w-eld-why.no .w-verdict { padding: 0; color: var(--l-neg); }
.w-eld-next { margin-top: 12px; height: 42px; font-size: 15px; }
.w-eld-sc { font-size: 16px; margin-bottom: 10px; }
.w-eld-end .l-btn { margin-top: 14px; height: 42px; font-size: 15px; }
.w-calc .w-hos-vis { grid-column: 1 / -1; display: grid; gap: 14px; }
.w-hos-row { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; column-gap: 14px; }
.w-hos-k { grid-row: 1 / 3; font-size: 13.5px; font-weight: 700; color: var(--l-ink2); line-height: 1.3; }
.w-hos-bar { position: relative; margin-top: 20px; }
.w-hos-bar .f { display: flex; height: 18px; border-radius: 9px; overflow: hidden; background: var(--l-s3); }
.w-hos-bar i { display: block; height: 100%; flex: none; transition: width .45s var(--l-ease); }
.w-hos-x { grid-column: 2; display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-hos-row:nth-child(2) .w-hos-bar { margin-top: 0; }
.w-hos-bar .now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--l-ink); border-radius: 1px; transition: left .45s var(--l-ease); }
.w-hos-bar .now span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--l-ink2); white-space: nowrap; }
.w-hos-bar .dr, .w-hos-leg .dr::before, .w-trip-trk .d, .w-hos-leg .d::before { background: var(--l-acc); }
.w-hos-bar .wt, .w-hos-leg .wt::before, .w-trip-trk .on, .w-hos-leg .on::before { background: var(--l-warn); }
.w-hos-bar .br, .w-hos-leg .br::before, .w-trip-trk .br { background: #94a3b8; }
.w-hos-bar .ok, .w-hos-leg .ok::before { background: color-mix(in srgb, var(--l-pos) 70%, transparent); }
.w-hos-bar .lost, .w-hos-leg .lost::before { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--l-neg) 55%, transparent) 0 3px, transparent 3px 7px); }
.w-trip-trk .rest, .w-hos-leg .rest::before { background: color-mix(in srgb, var(--l-vi) 45%, transparent); }
.w-trip-trk .rs, .w-hos-leg .rs::before { background: repeating-linear-gradient(-45deg, var(--l-vi) 0 4px, color-mix(in srgb, var(--l-vi) 55%, transparent) 4px 8px); }
.w-hos-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--l-ink2); }
.w-hos-leg span { display: inline-flex; align-items: center; gap: 7px; }
.w-hos-leg span::before { content: ''; width: 12px; height: 12px; border-radius: 3px; }
.w-recap-days { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; padding-top: 16px; margin-bottom: 18px; }
.w-recap-c { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 2px 6px; border: 1px solid transparent; border-radius: 12px; background: none; font: inherit; color: var(--l-ink); cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
button.w-recap-c:hover { border-color: var(--l-line2); }
.w-recap-c em { font-style: normal; font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-recap-c .b { display: flex; align-items: flex-end; width: min(34px, 70%); height: 120px; border-radius: 6px; background: var(--l-s3); overflow: hidden; }
.w-recap-c .b i { display: block; width: 100%; border-radius: 6px 6px 0 0; background: var(--l-acc); transition: height .35s var(--l-ease), background .3s; }
.w-recap-c small { font-size: 12.5px; color: var(--l-mu); line-height: 1.2; }
.w-recap-c small.x { min-height: 14px; font-size: 11px; font-weight: 700; color: var(--l-warn); white-space: nowrap; }
.w-recap-c.sel { border-color: var(--l-acc); background: var(--l-accb); }
.w-recap-c.drop .b i { background: var(--l-warn); }
.w-recap-c.gone { opacity: .4; } .w-recap-c.gone .b i { background: #64748b; }
.w-recap-c.rs::before { content: ''; position: absolute; left: -4px; top: 6px; bottom: 6px; border-left: 2px dashed var(--l-vi); }
.w-recap-c u { position: absolute; top: -14px; left: -4px; transform: translateX(-50%); z-index: 1; padding: 1px 7px; border-radius: 99px; background: var(--l-vi); color: #fff; font-size: 11px; font-weight: 750; text-decoration: none; white-space: nowrap; }
.w-recap-c.tm { cursor: default; border: 1px dashed var(--l-line2); }
.w-recap-c.tm em, .w-recap-c.tm small.x { color: var(--l-pos); } .w-recap-c.tm .b i { background: var(--l-pos); }
.w-recap-c.tm.lo em, .w-recap-c.tm.lo small.x { color: var(--l-warn); } .w-recap-c.tm.lo .b i { background: var(--l-warn); }
.w-recap-c.tm.no em, .w-recap-c.tm.no small.x { color: var(--l-neg); }
.w-recap .w-deck-in span { justify-content: flex-start; gap: 6px; }
.w-recap .w-deck-in span b { font-weight: 650; color: var(--l-ink); }
.w-recap .w-deck-in output { margin-left: auto; }
.w-recap-rs { border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); border-radius: 999px; padding: 8px 16px; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s; }
.w-recap-rs:hover { border-color: var(--l-vi); }
.w-recap-rs[aria-pressed="true"] { border-color: var(--l-vi); background: var(--l-vib); box-shadow: inset 0 0 0 1px var(--l-vi); }
.w-recap-out, .w-trip-out { display: grid; gap: 12px; }
.w-trip .w-calc-pre { margin-bottom: 18px; }
.w-trip-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 28px; margin-bottom: 22px; }
.w-trip-in .w-deck-in { min-width: 0; margin: 0; }
.w-trip-vis { display: grid; gap: 6px; margin-bottom: 16px; }
.w-trip-hrs, .w-trip-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; }
.w-trip-hrs > div { position: relative; height: 16px; }
.w-trip-hrs > div span { position: absolute; top: 0; transform: translateX(-50%); font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-trip-hrs > div span:first-child { transform: none; } .w-trip-hrs > div span:last-child { transform: translateX(-100%); }
.w-trip-row b { font-size: 13px; font-weight: 700; color: var(--l-mu); }
.w-trip-trk { position: relative; height: 24px; border-radius: 6px; background-color: var(--l-s2); background-image: linear-gradient(to right, var(--l-line2) 1px, transparent 1px); background-size: 25% 100%; }
.w-trip-trk i { position: absolute; top: 3px; bottom: 3px; border-radius: 3px; animation: w-fade .35s var(--l-ease); }
.w-trip-trk .ap { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--l-ink); border-radius: 1px; z-index: 1; }
.w-trip-trk .ap span { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); padding: 0 6px; border-radius: 4px; background: var(--l-ink); color: var(--l-bg); font-style: normal; font-size: 11px; font-weight: 750; line-height: 17px; white-space: nowrap; }
.w-trip-trk .ap.r span { left: auto; right: 5px; }
.w-trip-vis .w-hos-leg { margin-top: 8px; }
.w-trip-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
html[data-theme="light"] .w-eld-lab .off b { color: #64748b; }
html[data-theme="light"] .w-eld-grid { background-color: #fbfcfd; }
html[data-theme="light"] .w-hos-bar .br, html[data-theme="light"] .w-hos-leg .br::before, html[data-theme="light"] .w-trip-trk .br { background: #64748b; }
@media (max-width: 640px) {
  .w-eld, .w-recap, .w-trip { padding: 16px; }
  .w-eld-log { --row: 30px; grid-template-columns: 34px minmax(0, 1fr) 44px; }
  .w-eld-lab small { display: none; }
  .w-eld-lab b { font-size: 11.5px; }
  .w-eld-hrs span { font-size: 10.5px; }
  .w-eld-tot span { font-size: 12px; }
  .w-eld-tot em { font-size: 11px; }
  .w-eld-card, .w-eld-end { padding: 14px; }
  .w-eld-t { font-size: 16px; }
  .w-eld-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-hos-row { grid-template-columns: minmax(0, 1fr); }
  .w-hos-k { grid-row: auto; }
  .w-hos-x { grid-column: 1; }
  .w-hos-bar, .w-hos-row:nth-child(2) .w-hos-bar { margin-top: 26px; }
  .w-recap-days { gap: 3px; }
  .w-recap-c { padding: 6px 0 4px; border-radius: 9px; }
  .w-recap-c em { font-size: 12px; }
  .w-recap-c .b { height: 92px; width: min(22px, 80%); }
  .w-recap-c small { font-size: 11px; }
  .w-recap-c small.x { font-size: 9px; }
  .w-recap-c:nth-child(8) small.x { visibility: hidden; }
  .w-recap-c u { font-size: 9.5px; padding: 1px 5px; left: -2px; }
  .w-recap-c.rs::before { left: -2px; }
  .w-recap-rs { flex: 1 1 100%; font-size: 13.5px; }
  .w-trip-in { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .w-trip-hrs, .w-trip-row { grid-template-columns: 30px minmax(0, 1fr); }
  .w-trip-row b { font-size: 11.5px; }
  .w-trip-trk { height: 22px; }
  .w-trip-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* урок 12: доска постов (.w-board), пустые мили и топливо в .w-calc, деньги за день (.w-day-vis), пороги (.w-thr), два груза (.w-chain), торг (.w-nego) */
.w-board, .w-thr, .w-chain, .w-nego { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-board-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.w-board-top .w-seg { margin-bottom: 0; transition: opacity .3s; }
.w-board:not(.on) .w-seg { visibility: hidden; opacity: 0; }
.w-board-from { font-size: 13px; font-weight: 650; color: var(--l-mu); letter-spacing: .02em; }
.w-board-list { --rh: 58px; border: 1px solid var(--l-line2); border-radius: 12px; overflow: hidden; background: var(--l-bg); }
html[data-theme="light"] .w-board-list { background: #fff; }
.w-board-h, .w-board-r { display: grid; grid-template-columns: minmax(0, 1fr) 76px 88px 120px; align-items: center; gap: 10px; padding: 0 16px; }
.w-board-h { height: 34px; background: var(--l-s2); border-bottom: 1px solid var(--l-line); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-board-h span:not(:first-child), .w-board-r > span:not(.to) { text-align: right; }
.w-board-rows { position: relative; height: calc(var(--n) * var(--rh) - 1px); }
.w-board-r { position: absolute; left: 0; right: 0; top: 0; height: var(--rh); transform: translateY(calc(var(--k, 0) * var(--rh))); transition: transform .55s var(--l-ease), background .2s, box-shadow .2s; border: 0; border-bottom: 1px solid var(--l-line); background: transparent; color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; }
.w-board-r:hover { background: var(--l-s2); }
.w-board-r .to { display: flex; flex-direction: column; min-width: 0; }
.w-board-r .to b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-board-r .to em { font-style: normal; font-size: 11.5px; font-weight: 750; color: var(--l-mu); min-height: 15px; line-height: 15px; }
.w-board-r .mi, .w-board-r .r { font-size: 15px; font-variant-numeric: tabular-nums; color: var(--l-ink2); }
.w-board-r .r { font-weight: 700; color: var(--l-ink); }
.w-board-r .pm { display: grid; justify-items: end; gap: 5px; }
.w-board-r .pm b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--l-mu); }
.w-board-r .pm i { position: relative; display: block; width: 100%; height: 4px; border-radius: 2px; background: var(--l-s3); overflow: hidden; }
.w-board-r .pm i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 2px; background: var(--l-acc); transition: width .7s var(--l-ease); }
.w-board.on .w-board-r .pm i::after { width: var(--w); }
.w-board.on .w-board-r .pm b { color: var(--l-ink); }
.w-board-r.best { background: var(--l-posb); }
.w-board-r.best .to em, .w-board.on .w-board-r.best .pm b { color: var(--l-pos); }
.w-board-r.best .pm i::after { background: var(--l-pos); }
.w-board-r.you .to em { color: var(--l-warn); }
.w-board-r.cur { box-shadow: inset 3px 0 0 var(--l-acc); }
.w-board-out { display: grid; gap: 10px; justify-items: start; margin-top: 14px; }
.w-board-out:empty { display: none; }
.w-board-out .w-deck-v { justify-self: stretch; }
.w-board-calc { margin: 8px 0 0; font-size: 14.5px; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-dh-bar i.ld, .w-fsc-bar i.lh { background: var(--l-acc); }
.w-dh-bar i.dh { background: repeating-linear-gradient(-45deg, var(--l-neg) 0 4px, color-mix(in srgb, var(--l-neg) 40%, transparent) 4px 8px); }
.w-fsc-bar i.fs { background: var(--l-warn); }
.w-dh-cap { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-fsc-f { display: block; margin-top: 2px; font-size: 13px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-calc .w-day-vis { grid-column: 1 / -1; display: grid; gap: 6px; }
.w-trip-trk .idle, .w-hos-leg .idle::before { background: repeating-linear-gradient(-45deg, color-mix(in srgb, #94a3b8 60%, transparent) 0 3px, transparent 3px 7px); }
.w-trip-trk .ap.nx { background: var(--l-pos); }
.w-trip-trk .ap.nx span { background: var(--l-pos); color: #04150d; }
.w-thr .w-calc-pre { margin-bottom: 14px; }
.w-thr .w-seg { margin-bottom: 18px; }
.w-thr .w-trip-in { margin-bottom: 14px; }
.w-thr-vis { position: relative; padding-top: 42px; margin-bottom: 18px; }
.w-thr-chip { position: absolute; top: 0; left: 0; padding: 5px 11px; border-radius: 99px; background: var(--l-acc); color: var(--l-acc-ink); font-size: 13.5px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; transition: left .35s var(--l-ease), background .3s; }
.w-thr-chip.bad { background: var(--l-neg); color: #fff; }
.w-thr-chip.top { background: var(--l-pos); color: #04150d; }
.w-thr-sc { position: relative; height: 18px; border-radius: 9px; background: var(--l-s3); }
.w-thr-sc i { position: absolute; top: 0; bottom: 0; transition: left .35s var(--l-ease), width .35s var(--l-ease); }
.w-thr-sc .zl { left: 0; border-radius: 9px 0 0 9px; background: color-mix(in srgb, var(--l-neg) 30%, transparent); }
.w-thr-sc .zm { background: color-mix(in srgb, var(--l-pos) 16%, transparent); }
.w-thr-sc .zh { right: 0; border-radius: 0 9px 9px 0; background: color-mix(in srgb, var(--l-pos) 36%, transparent); }
.w-thr-sc em { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; border-radius: 1px; transition: left .35s var(--l-ease); }
.w-thr-sc em.th { background: var(--l-neg); }
.w-thr-sc em.av { background: var(--l-ink2); }
.w-thr-sc s, .w-thr-sc u { position: absolute; top: 50%; border-radius: 50%; transition: left .35s var(--l-ease), background .3s; }
.w-thr-sc s { width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 2px solid var(--l-ink2); background: var(--l-s1); box-sizing: border-box; }
.w-thr-sc u { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--l-acc); box-shadow: 0 0 0 4px var(--l-s1); z-index: 1; }
.w-thr-sc u.bad { background: var(--l-neg); }
.w-thr-sc u.top { background: var(--l-pos); }
.w-thr-lab { position: relative; height: 36px; margin-top: 10px; }
.w-thr-lab span { position: absolute; top: 0; display: grid; justify-items: center; line-height: 1.25; transition: left .35s var(--l-ease); }
.w-thr-lab .th, .w-thr-lab .av { transform: translateX(-50%); }
.w-thr-lab .mn, .w-thr-lab .mx { top: 8px; font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-thr-lab .mn { left: 0; } .w-thr-lab .mx { right: 0; }
.w-thr-lab small { font-size: 11.5px; color: var(--l-mu); }
.w-thr-lab b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.w-thr-lab .th b { color: var(--l-neg); }
.w-thr-leg { margin-top: 8px; }
.w-thr-leg .ld::before { box-sizing: border-box; border: 2px solid var(--l-ink2); border-radius: 50%; background: transparent; }
.w-thr-leg .al::before { border-radius: 50%; background: var(--l-acc); }
.w-thr-out { display: grid; gap: 12px; }
.w-chain-in { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }
.w-chain-map { border-radius: 14px; background: var(--l-bg); border: 1px solid var(--l-line); padding: 8px 8px 10px; }
html[data-theme="light"] .w-chain-map { background: #f8fafc; }
.w-chain-map svg { display: block; width: 100%; height: auto; }
.w-chain-map pattern circle { fill: var(--l-line2); }
.w-chain-map .ct circle { fill: #60a5fa; }
.w-chain-map .ct.hot circle { fill: #fb923c; }
.w-chain-map .ct .hl { opacity: 0; transition: opacity .3s; }
.w-chain-map .ct.on .hl { opacity: .3; }
.w-chain-map text { font-size: 12px; font-weight: 700; fill: var(--l-mu); text-anchor: middle; paint-order: stroke; stroke: var(--l-bg); stroke-width: 3px; transition: fill .3s; }
html[data-theme="light"] .w-chain-map text { stroke: #f8fafc; }
.w-chain-map .ct.on text { fill: var(--l-ink); }
.w-chain-map text.e { text-anchor: end; }
.w-chain-map path { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; }
.w-chain-map path.on { opacity: 1; stroke-dashoffset: 0; animation: w-chain-l .8s var(--l-ease); }
@keyframes w-chain-l { from { stroke-dashoffset: 1; } }
.w-chain-map .l1 { stroke: var(--l-acc); }
.w-chain-map .l2 { stroke: var(--l-vi); }
.w-chain-key { display: flex; gap: 14px; justify-content: center; margin-top: 6px; font-size: 12px; color: var(--l-mu); }
.w-chain-key span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: #60a5fa; }
.w-chain-key .hot::before { background: #fb923c; }
.w-chain-pick { display: grid; gap: 18px; }
.w-chain-st h4 { margin: 0 0 10px; font-size: 13px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; color: var(--l-mu); }
.w-chain-cs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.w-chain-c { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; cursor: pointer; transition: border-color .2s, background .2s; animation: w-fade .35s var(--l-ease) both; }
.w-chain-c:hover { border-color: var(--l-acc); }
.w-chain-c.on { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-chain-c[data-l="2"].on { border-color: var(--l-vi); background: var(--l-vib); box-shadow: inset 0 0 0 1px var(--l-vi); }
.w-chain-c .rt { font-size: 14.5px; font-weight: 700; }
.w-chain-c .mt { font-size: 13px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-chain-c b { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-chain-c small { justify-self: start; margin-top: 4px; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 700; background: rgba(96,165,250,.14); color: #60a5fa; }
.w-chain-c small.hot { background: rgba(251,146,60,.14); color: #fb923c; }
html[data-theme="light"] .w-chain-c small { color: #2563eb; }
html[data-theme="light"] .w-chain-c small.hot { color: #c2410c; }
.w-chain-ph { margin: 0; padding: 18px; border-radius: 12px; border: 1px dashed var(--l-line2); color: var(--l-mu); font-size: 14.5px; text-align: center; }
.w-chain-out, .w-nego-out { display: grid; gap: 12px; justify-items: start; }
.w-chain-out { margin-top: 18px; }
.w-chain-out:empty, .w-nego-out:empty { display: none; }
.w-chain-out > div, .w-nego-out > div { justify-self: stretch; }
.w-chain-h small { display: block; margin-bottom: 4px; font-size: 12.5px; color: var(--l-mu); }
.w-chain-h ul { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--l-ink2); }
.w-chain-h b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-nego-post { margin-bottom: 18px; }
.w-nego-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--l-line); }
.w-nego-row span { display: grid; gap: 2px; padding: 10px 12px; background: var(--l-bg); font-size: 14.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
html[data-theme="light"] .w-nego-row span { background: #fff; }
.w-nego-row small { font-size: 11px; font-weight: 650; letter-spacing: .05em; text-transform: uppercase; color: var(--l-mu); }
.w-nego-row .ck { color: var(--l-acc); }
.w-nego .w-deck-in { max-width: 520px; }
.w-nego input[type=range], .w-thr input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; }
.w-nego input[type=range]::-webkit-slider-thumb, .w-thr input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-nego input[type=range]::-moz-range-thumb, .w-thr input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.w-nego input:disabled { opacity: .5; }
.w-nego-live { margin: 10px 0 16px; font-size: 14.5px; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-nego-act { margin-bottom: 4px; }
.w-nego-log { border-radius: 14px; margin-bottom: 14px; }
.w-nego-ch { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-self: flex-end; animation: w-fade .35s var(--l-ease) both; }
@media (max-width: 640px) {
  .w-board, .w-thr, .w-chain, .w-nego { padding: 16px; }
  .w-board-list { --rh: 56px; }
  .w-board-h, .w-board-r { grid-template-columns: minmax(0, 1fr) 48px 62px 66px; gap: 6px; padding: 0 10px; }
  .w-board-h { font-size: 10px; letter-spacing: .03em; }
  .w-board-r .to b, .w-board-r .mi, .w-board-r .r { font-size: 13.5px; }
  .w-board-r .to em { font-size: 10.5px; }
  .w-board-r .pm b { font-size: 14.5px; }
  .w-chain-in { grid-template-columns: minmax(0, 1fr); }
  .w-chain-map { justify-self: center; width: 100%; max-width: 340px; box-sizing: border-box; }
  .w-chain-cs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-chain-c { padding: 10px 12px; }
  .w-chain-c b { font-size: 19px; }
  .w-nego-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-nego-row span { padding: 8px 10px; font-size: 13.5px; }
}
/* урок 13: расходы по группам (.w-bin), дизель, постоянные, безубыточность и груз в .w-calc, IFTA (.w-ifta), отчёт недели (.w-rep) */
.w-bin, .w-ifta, .w-rep { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-bin-list { border: 1px solid var(--l-line2); border-radius: 12px; overflow: hidden; background: var(--l-bg); }
html[data-theme="light"] .w-bin-list { background: #fff; }
.w-bin-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--l-line); box-shadow: inset 3px 0 0 transparent; transition: box-shadow .25s, background .25s; }
.w-bin-r:last-child { border-bottom: 0; }
.w-bin-r.ok { box-shadow: inset 3px 0 0 var(--l-pos); }
.w-bin-r.bad { box-shadow: inset 3px 0 0 var(--l-warn); }
.w-bin-t { display: grid; gap: 1px; min-width: 0; }
.w-bin-t b { font-size: 15px; font-weight: 700; }
.w-bin-t small { font-size: 13px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-bin-g { display: flex; gap: 6px; }
.w-bin-g button { padding: 7px 12px; border-radius: 99px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 13.5px; font-weight: 650; white-space: nowrap; cursor: pointer; transition: border-color .2s, background .2s, color .2s, opacity .2s; }
.w-bin-g button:hover:not(:disabled) { border-color: var(--l-acc); color: var(--l-ink); }
.w-bin-g button:disabled { cursor: default; opacity: .45; }
.w-bin-g button[aria-pressed="true"] { opacity: 1; }
.w-bin-r.ok button[aria-pressed="true"] { border-color: var(--l-pos); background: var(--l-posb); color: var(--l-pos); }
.w-bin-r.bad button[aria-pressed="true"] { border-color: var(--l-warn); background: var(--l-warnb); color: var(--l-warn); text-decoration: line-through; }
.w-bin-g button.right { opacity: 1; border-style: dashed; border-color: var(--l-pos); color: var(--l-pos); }
.w-bin-w { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; color: var(--l-ink2); animation: w-fade .35s var(--l-ease) both; }
.w-bin-r.ok .w-bin-w b { color: var(--l-pos); } .w-bin-r.bad .w-bin-w b { color: var(--l-warn); }
.w-bin-sum { display: grid; gap: 12px; justify-items: start; margin-top: 16px; }
.w-bin-sum:empty { display: none; }
.w-bin-sum > div { justify-self: stretch; }
.w-bin-left { margin: 0; font-size: 14px; color: var(--l-mu); }
.w-bin .w-deck-stats, .w-bin-sum .w-deck-v, .w-ifta-out .w-deck-stats { animation: w-fade .35s var(--l-ease) both; }
.w-deck-stats em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-deck-stats b.pos { color: var(--l-pos); }
.w-mpg-bar i.dr { background: var(--l-acc); }
.w-mpg-bar i.id { background: var(--l-warn); }
.w-mpg-cap, .w-fix-cap, .w-pl-cap { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-calc .w-fix-vis, .w-calc .w-be-vis, .w-calc .w-pl-vis { grid-column: 1 / -1; }
.w-fix-t { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--l-mu); }
.w-fix-ch { position: relative; height: 170px; margin-left: 48px; border-left: 1px solid var(--l-line2); border-bottom: 1px solid var(--l-line2); }
.w-fix-ch svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-fix-ch path { fill: none; vector-effect: non-scaling-stroke; }
.w-fix-ch .gd { stroke: var(--l-line); stroke-dasharray: 3 4; }
.w-fix-ch .ar { fill: color-mix(in srgb, var(--l-acc) 12%, transparent); }
.w-fix-ch .cv { stroke: var(--l-acc); stroke-width: 2.5; }
.w-fix-ch .bs { stroke: var(--l-mu); stroke-width: 1.5; stroke-dasharray: 5 5; }
.w-fix-y span { position: absolute; left: -48px; width: 40px; text-align: right; transform: translateY(-50%); font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-fix-ch .pt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--l-acc); box-shadow: 0 0 0 4px var(--l-s1); transition: left .35s var(--l-ease), top .35s var(--l-ease); }
.w-fix-ch .pt span { position: absolute; font-style: normal; left: 14px; bottom: 10px; padding: 3px 9px; border-radius: 99px; background: var(--l-acc); color: var(--l-acc-ink); font-size: 12.5px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-fix-ch .pt.r span { left: auto; right: 14px; }
.w-fix-x { position: relative; height: 22px; margin-left: 48px; }
.w-fix-x span { position: absolute; top: 5px; transform: translateX(-50%); font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-fix-x span:first-child { transform: none; } .w-fix-x span:last-child { transform: translateX(-100%); }
.w-be-bar, .w-pl-bar { position: relative; padding: 26px 0 26px; }
.w-be-bar .f, .w-pl-bar .f { display: flex; height: 22px; border-radius: 11px; overflow: hidden; background: var(--l-s3); }
.w-be-bar i, .w-pl-bar i { display: block; height: 100%; flex: none; transition: width .45s var(--l-ease); }
.w-be-bar em, .w-pl-bar em { position: absolute; top: 20px; height: 34px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--l-ink); transition: left .45s var(--l-ease); }
.w-be-bar em span, .w-pl-bar em span { position: absolute; font-style: normal; font-size: 12px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--l-ink2); }
.w-be-bar em.th span, .w-pl-bar em.pay span { bottom: 100%; right: 4px; }
.w-be-bar em.be { background: var(--l-neg); }
.w-be-bar em.be span { top: 100%; left: 50%; transform: translateX(-50%); color: var(--l-neg); }
.w-be-bar em.be.r span { left: auto; right: -1px; transform: none; }
.w-be-bar em.be.l span { left: -1px; transform: none; }
.w-pl-bar em.pay { background: var(--l-neg); }
.w-pl-bar em.pay span { color: var(--l-neg); }
.w-be-bar .fx, .w-13-leg .fx::before { background: var(--l-vi); }
.w-be-bar .fu, .w-13-leg .fu::before, .w-pl-bar .mi, .w-13-leg .mi::before { background: var(--l-acc); }
.w-be-bar .ot, .w-13-leg .ot::before { background: #64748b; }
.w-be-bar .dv, .w-13-leg .dv::before { background: #f472b6; }
.w-be-bar .fe, .w-pl-bar .fe, .w-13-leg .fe::before { background: var(--l-warn); }
.w-be-bar .ow, .w-pl-bar .ow, .w-13-leg .ow::before { background: var(--l-pos); }
.w-pl-bar .dy, .w-13-leg .dy::before { background: var(--l-vi); }
.w-13-leg .ls::before { background: repeating-linear-gradient(-45deg, var(--l-neg) 0 3px, transparent 3px 6px); }
.w-13-leg b { font-weight: 750; color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-ifta-route { display: flex; gap: 4px; margin-bottom: 14px; }
.w-ifta-route button { display: grid; place-content: center; gap: 1px; min-width: 64px; height: 58px; padding: 0 4px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.w-ifta-route button:hover { border-color: var(--l-acc); }
.w-ifta-route b { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.w-ifta-route small { font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; white-space: nowrap; }
.w-ifta-route button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-ifta.on .w-ifta-route button.best:not([aria-pressed="true"]) { border-color: var(--l-pos); background: var(--l-posb); }
.w-ifta-tbl table, .w-rep-loads table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.w-ifta-tbl th, .w-rep-loads th { padding: 0 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); text-align: right; border-bottom: 1px solid var(--l-line2); }
.w-ifta-tbl td, .w-rep-loads td { padding: 9px 10px; text-align: right; border-bottom: 1px solid var(--l-line); color: var(--l-ink2); }
.w-ifta-tbl th:first-child, .w-ifta-tbl td:first-child, .w-rep-loads th:nth-child(-n+2), .w-rep-loads td:nth-child(-n+2) { text-align: left; }
.w-ifta-tbl td b { color: var(--l-ink); }
.w-ifta-tbl tr.sel td { background: var(--l-accb); color: var(--l-ink); }
.w-ifta-tbl .nt { font-weight: 700; color: var(--l-ink); }
.w-ifta-tbl tr.best .nt { color: var(--l-pos); }
.w-ifta-tbl .nt em { display: block; font-style: normal; font-size: 11px; font-weight: 700; }
.w-ifta-out { display: grid; gap: 12px; margin-top: 16px; }
.w-ifta-hint { margin: 0; padding: 16px; border-radius: 12px; border: 1px dashed var(--l-line2); color: var(--l-mu); font-size: 14.5px; text-align: center; }
.w-ifta-math { margin: 0; font-size: 13px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-ifta .w-deck-stats .nd { background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-ifta .w-deck-n, .w-rep .w-deck-n { margin: 14px 0 0; }
.w-rep-ev { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.w-rep-ev button { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.w-rep-ev button::before { content: '+'; display: inline-block; width: 1em; margin-right: 4px; font-weight: 800; color: var(--l-mu); }
.w-rep-ev button:hover { border-color: var(--l-acc); color: var(--l-ink); }
.w-rep-ev button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); }
.w-rep-ev button[aria-pressed="true"]::before { content: '✓'; color: var(--l-acc); }
.w-rep-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.w-rep-loads tr.off td { color: var(--l-mu); text-decoration: line-through; }
.w-rep-loads tr.off td:last-child { text-decoration: none; color: var(--l-neg); font-weight: 700; }
.w-rep-loads tr.dh td { color: var(--l-warn); font-weight: 650; }
.w-rep-loads td:last-child { font-weight: 700; color: var(--l-ink); }
.w-rep-card { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-bg); font-variant-numeric: tabular-nums; animation: w-fade .35s var(--l-ease) both; }
html[data-theme="light"] .w-rep-card { background: #fff; }
.w-rep-t { margin: 0 0 6px; font-size: 11.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-rep-card > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--l-line); font-size: 14px; color: var(--l-ink2); }
.w-rep-card > div b { color: var(--l-ink); font-weight: 700; white-space: nowrap; }
.w-rep-card > .m b { color: var(--l-ink2); font-weight: 600; }
.w-rep-card > .ow { align-items: baseline; margin-top: 4px; padding-top: 10px; border-bottom: 0; border-top: 1px solid var(--l-line2); font-weight: 700; color: var(--l-ink); }
.w-rep-card > .ow b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--l-pos); }
.w-rep-card > .ow.neg b { color: var(--l-neg); }
.w-rep-out { margin-top: 14px; }
@media (max-width: 640px) {
  .w-bin, .w-ifta, .w-rep { padding: 16px; }
  .w-bin-r { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .w-bin-g button { flex: 1 1 0; padding: 8px 4px; font-size: 13px; }
  .w-fix-ch { height: 150px; margin-left: 42px; }
  .w-fix-y span { left: -42px; width: 36px; }
  .w-fix-x { margin-left: 42px; }
  .w-ifta-route { gap: 3px; }
  .w-ifta-route button { min-width: 52px; padding: 0 2px; }
  .w-ifta-route small { font-size: 10.5px; }
  .w-ifta-tbl .nm { display: none; }
  .w-ifta-tbl table, .w-rep-loads table { font-size: 13px; }
  .w-ifta-tbl th, .w-rep-loads th { padding: 0 5px 7px; font-size: 10px; letter-spacing: .02em; }
  .w-ifta-tbl td, .w-rep-loads td { padding: 8px 5px; }
  .w-rep-in { grid-template-columns: minmax(0, 1fr); }
  .w-rep-ev button { font-size: 13.5px; padding: 7px 12px; }
}
/* урок 14: температура рынка (.w-mkt), круг в .w-calc (rt), волна сезонов (.w-wave), карта штатов (.w-usm),
   три груза вперёд (.w-plan3), выезд из холодного рынка (.w-esc), домой к пятнице (.w-home). Уровни: lv-h горячо, lv-w тепло, lv-s по сезону, lv-c холодно */
.w-mkt, .w-wave, .w-usm, .w-plan3, .w-esc, .w-home { --hot: #f97316; --wrm: #eab308; --sea: var(--l-vi); --cld: #38bdf8; padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
html[data-theme="light"] :is(.w-mkt, .w-wave, .w-usm, .w-plan3, .w-esc, .w-home) { --hot: #ea580c; --wrm: #ca8a04; --cld: #0284c7; }
.w-mkt-tl, .w-usm-tl { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 12px; background: var(--l-s2); border: 1px solid var(--l-line); }
.w-mkt-tl button, .w-usm-tl button { padding: 7px 16px; border: 0; border-radius: 9px; background: transparent; color: var(--l-mu); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s; }
.w-mkt-tl button[aria-pressed="true"], .w-usm-tl button[aria-pressed="true"] { background: var(--l-s1); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-line2); }
.w-mkt-cities { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
.w-mkt-cities button { display: grid; gap: 2px; justify-items: start; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 0 3px 0 var(--c, transparent); transition: border-color .2s, background .2s; }
.w-mkt-cities button:hover { border-color: var(--l-acc); }
.w-mkt-cities b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.w-mkt-cities small { font-size: 13px; font-weight: 700; color: var(--c); font-variant-numeric: tabular-nums; }
.w-mkt-cities button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); }
:is(.w-mkt, .w-usm, .w-plan3) .lv-h { --c: var(--hot); } :is(.w-mkt, .w-usm, .w-plan3) .lv-w { --c: var(--wrm); }
:is(.w-mkt, .w-usm, .w-plan3) .lv-s { --c: var(--sea); } :is(.w-mkt, .w-usm, .w-plan3) .lv-c { --c: var(--cld); }
.w-mkt-out { display: grid; }
.w-mkt-card { display: grid; gap: 14px; animation: w-fade .35s var(--l-ease) both; }
.w-mkt-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.w-mkt-big { display: grid; }
.w-mkt-big b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.w-mkt-big small { margin-top: 4px; font-size: 13.5px; color: var(--l-mu); }
.w-mkt-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 99px; font-size: 13px; font-weight: 750; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent); white-space: nowrap; }
.w-mkt-sc { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(90deg, color-mix(in srgb, var(--cld) 35%, transparent), color-mix(in srgb, var(--wrm) 30%, transparent) 45%, color-mix(in srgb, var(--hot) 35%, transparent)); }
.w-mkt-sc i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: var(--c); transition: width .5s var(--l-ease); }
.w-mkt-sc em { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--l-ink); border-radius: 1px; }
.w-mkt-sc em span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 3px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--l-ink2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-mkt-g { padding-top: 18px; }
.w-mkt-ax { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; color: var(--l-mu); }
.w-mkt-st .w-mkt-tr { display: grid; grid-template-rows: auto 1fr; }
.w-mkt-st .w-mkt-sp { display: flex; align-items: flex-end; gap: 6px; height: 46px; margin-top: 14px; padding: 0; border-radius: 0; background: none; }
.w-mkt-sp i { position: relative; flex: 1; min-height: 4px; border-radius: 4px 4px 2px 2px; background: color-mix(in srgb, var(--c) 45%, transparent); }
.w-mkt-sp i:last-child { background: var(--c); }
.w-mkt-sp span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: var(--l-mu); font-variant-numeric: tabular-nums; font-style: normal; }
.w-mkt-why { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--l-ink2); }
.w-mkt-why b { color: var(--l-ink); }
.w-rt-cap { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-calc .w-rt-vis { grid-column: 1 / -1; display: grid; gap: 8px; margin-top: 4px; }
.w-rt-r { display: grid; grid-template-columns: 130px minmax(0, 1fr) 64px; align-items: center; gap: 12px; font-size: 13.5px; }
.w-rt-r > span { color: var(--l-ink2); font-weight: 600; }
.w-rt-r > b { text-align: right; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-rt-t { position: relative; height: 18px; border-radius: 5px; background: var(--l-s2); }
.w-rt-r.hd .w-rt-t { height: 18px; background: none; }
.w-rt-t i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--l-pos); transition: width .4s var(--l-ease); }
.w-rt-r.mid .w-rt-t i { background: var(--l-warn); } .w-rt-r.lo .w-rt-t i { background: var(--l-neg); }
.w-rt-r.all .w-rt-t i { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--l-ink) 25%, transparent); }
.w-rt-t s { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--l-ink); opacity: .55; text-decoration: none; }
.w-rt-t s.th { opacity: .9; }
.w-rt-t em { position: absolute; bottom: 0; font-style: normal; font-size: 11px; font-weight: 700; color: var(--l-mu); white-space: nowrap; }
.w-rt-t em.be { transform: translateX(-100%); padding-right: 5px; } .w-rt-t em.th { padding-left: 5px; color: var(--l-ink2); }
/* волна сезонов */
.w-wave-grid { display: grid; gap: 3px; }
.w-wave-hd, .w-wave-r { display: grid; grid-template-columns: 170px repeat(12, minmax(0, 1fr)); gap: 3px; align-items: center; }
.w-wave-hd button { position: relative; height: 30px; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--l-mu); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.w-wave-hd button:hover { color: var(--l-ink); }
.w-wave-hd button.now { color: var(--l-ink); }
.w-wave-hd button.now::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--l-acc); }
.w-wave-hd button i { position: absolute; top: 3px; right: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--l-warn); }
.w-wave-hd button[aria-selected="true"] { background: var(--l-accb); border-color: var(--l-acc); color: var(--l-ink); }
.w-wave-g { margin-top: 8px; font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--l-mu); }
.w-wave-g:first-of-type { margin-top: 2px; }
.w-wave-r > span { font-size: 13.5px; color: var(--l-ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-wave-r i { height: 20px; border-radius: 3px; background: var(--l-s2); cursor: pointer; transition: box-shadow .2s, opacity .2s; }
.w-wave-r i.on.r { background: var(--l-acc); } .w-wave-r i.on.f { background: var(--l-warn); } .w-wave-r i.on.v { background: var(--l-vi); }
.w-wave-r i.on { opacity: .8; }
.w-wave-r i.on.a { border-top-left-radius: 9px; border-bottom-left-radius: 9px; } .w-wave-r i.on.b { border-top-right-radius: 9px; border-bottom-right-radius: 9px; }
.w-wave-r i.sel { opacity: 1; box-shadow: 0 0 0 2px var(--l-ink); }
.w-wave-r i.sel:not(.on) { box-shadow: 0 0 0 1px var(--l-line2); background: var(--l-s3); }
.w-wave-out { margin-top: 16px; }
.w-wave-card { display: grid; gap: 12px; animation: w-fade .35s var(--l-ease) both; }
.w-wave-card h4 { margin: 0; font-size: 18px; font-weight: 750; }
.w-wave-card h4 small { margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--l-accb); color: var(--l-acc); font-size: 12px; font-weight: 700; vertical-align: 2px; }
.w-wave-ls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.w-wave-ls div { padding: 10px 14px; border-radius: 12px; background: var(--l-s2); box-shadow: inset 3px 0 0 var(--c); }
.w-wave-ls .r { --c: var(--l-acc); } .w-wave-ls .f { --c: var(--l-warn); } .w-wave-ls .v { --c: var(--l-vi); }
.w-wave-ls small { display: block; font-size: 12px; color: var(--l-mu); margin-bottom: 2px; }
.w-wave-ls b { font-size: 14.5px; font-weight: 650; line-height: 1.4; }
.w-wave-ev { margin: 0; font-size: 14.5px; color: var(--l-ink2); }
.w-wave-ev b { color: var(--l-warn); }
/* карта штатов */
.w-usm-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.w-usm-map svg { display: block; width: 100%; height: auto; }
.w-usm-map g { cursor: pointer; fill: color-mix(in srgb, var(--c) 62%, var(--l-s2)); stroke: var(--l-s1); stroke-width: 1.4; transition: fill .3s; }
.w-usm-map g:hover { fill: color-mix(in srgb, var(--c) 80%, var(--l-s2)); }
.w-usm-map g.on { fill: var(--c); stroke: var(--l-ink); stroke-width: 2; }
.w-usm-lg { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; font-size: 12.5px; color: var(--l-ink2); }
.w-usm-lg span { display: inline-flex; align-items: center; gap: 6px; }
.w-usm-lg span::before { content: ''; width: 11px; height: 11px; border-radius: 3px; background: var(--c); }
.w-usm-card { display: grid; }
.w-usm-c { display: grid; gap: 10px; animation: w-fade .35s var(--l-ease) both; }
.w-usm-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.w-usm-h h4 { margin: 0; font-size: 18px; font-weight: 750; }
.w-usm-c > p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--l-ink2); }
.w-usm-cty b { color: var(--l-ink); }
.w-usm-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.w-usm-list button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; }
.w-usm-list button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.w-usm-list button:hover { border-color: var(--l-acc); }
.w-usm-list button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); }
/* три груза вперёд, выезд, дом */
.w-plan3-path { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 14px; font-size: 14.5px; }
.w-plan3-path .st { padding: 3px 10px; border-radius: 99px; background: var(--l-accb); color: var(--l-acc); font-size: 12.5px; font-weight: 750; }
.w-plan3-path .rt { color: var(--l-ink2); }
.w-plan3-path .rt b { color: var(--l-ink); }
.w-plan3-back { margin-left: auto; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; }
.w-plan3-back:hover { border-color: var(--l-acc); }
.w-plan3-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.w-plan3.done .w-plan3-in { grid-template-columns: minmax(0, 1fr); }
.w-plan3.done .w-plan3-map { max-width: 560px; justify-self: center; width: 100%; }
.w-plan3-opts { display: grid; gap: 8px; }
.w-plan3-opts button { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; box-shadow: inset 3px 0 0 var(--c); transition: border-color .2s, background .2s; animation: w-fade .3s var(--l-ease) both; }
.w-plan3-opts button:hover { border-color: var(--l-acc); background: var(--l-accb); }
.w-plan3-opts .to { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-width: 0; }
.w-plan3-opts .to b { font-size: 15px; font-weight: 700; }
.w-plan3-opts .to em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--c); }
.w-plan3-opts .pay { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.w-plan3-opts .mi { grid-column: 1 / -1; font-size: 13px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-plan3-map svg { display: block; width: 100%; height: auto; }
.w-plan3-map .st path { fill: var(--l-s3); stroke: var(--l-line2); stroke-width: 1.2; }
.w-plan3-map .ln { fill: none; stroke: var(--l-acc); stroke-width: 4; stroke-linecap: round; }
.w-plan3-map .op { fill: none; stroke: var(--l-mu); stroke-width: 2; stroke-dasharray: 6 6; opacity: .7; }
.w-plan3-map .ct circle { fill: var(--c); stroke: var(--l-s1); stroke-width: 3; }
.w-plan3-map .ct.here circle { stroke: var(--l-ink); }
.w-plan3-map .ct text { font: 700 26px/1 system-ui, sans-serif; fill: var(--l-ink); text-anchor: middle; paint-order: stroke; stroke: var(--l-s1); stroke-width: 5px; }
.w-plan3-out, .w-esc-out, .w-home-out { display: grid; gap: 14px; margin-top: 16px; }
.w-plan3-out:empty { display: none; }
.w-plan3-st { grid-template-columns: repeat(3, minmax(0, 1fr)); animation: w-fade .35s var(--l-ease) both; }
.w-plan3-st > div:nth-child(5):last-child { grid-column: span 2; }
.w-plan3-st .nd { background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-plan3-st .bad { background: var(--l-negb); box-shadow: inset 0 0 0 1px var(--l-neg); }
.w-plan3-st .bad b { color: var(--l-neg); }
.w-plan3-out .w-trip-vis, .w-esc-out .w-trip-vis, .w-home-out .w-trip-vis { margin: 0; }
.w-trip-trk .dh, .w-hos-leg .dh::before { background: repeating-linear-gradient(-45deg, var(--l-acc) 0 4px, color-mix(in srgb, var(--l-acc) 35%, transparent) 4px 8px); }
.w-trip-trk .ap.dl { background: var(--l-warn); }
.w-trip-trk .ap.dl span { background: var(--l-warn); color: #1a1204; top: auto; bottom: 100%; transform: none; margin-bottom: 1px; }
.w-hos-leg .dl { font-weight: 700; color: var(--l-ink); }
.w-hos-leg .dl::before { width: 3px; height: 16px; border-radius: 2px; background: var(--l-warn); }
.w-esc-opts, .w-home-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.w-home-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-esc-opts button, .w-home-opts button { display: grid; gap: 3px; align-content: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.w-esc-opts button:hover, .w-home-opts button:hover { border-color: var(--l-acc); }
.w-esc-opts b, .w-home-opts b { font-size: 15px; font-weight: 700; }
.w-esc-opts small, .w-home-opts small { font-size: 13px; line-height: 1.45; color: var(--l-mu); }
.w-esc-opts button[aria-pressed="true"], .w-home-opts button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-esc-opts button.best, .w-home-opts button.best { border-color: var(--l-pos); }
.w-esc-opts button.best:not([aria-pressed="true"]), .w-home-opts button.best:not([aria-pressed="true"]) { background: var(--l-posb); }
.w-home-opts button.late:not([aria-pressed="true"]) { opacity: .6; }
.w-esc-cmp { display: grid; gap: 7px; }
.w-esc-cmp p { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-esc-r { display: grid; grid-template-columns: 220px minmax(0, 1fr) 64px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--l-ink2); }
.w-esc-r div { height: 14px; border-radius: 4px; background: var(--l-s2); }
.w-esc-r i { display: block; height: 100%; border-radius: 4px; background: color-mix(in srgb, var(--l-acc) 55%, transparent); transition: width .5s var(--l-ease); }
.w-esc-r.best i { background: var(--l-pos); }
.w-esc-r.sel { color: var(--l-ink); font-weight: 650; }
.w-esc-r.sel:not(.best) i { background: var(--l-warn); }
.w-esc-r b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) {
  .w-mkt-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-usm-in, .w-plan3-in { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .w-mkt, .w-wave, .w-usm, .w-plan3, .w-esc, .w-home { padding: 16px; }
  .w-mkt-cities { gap: 5px; }
  .w-mkt-cities button { padding: 8px 9px; }
  .w-mkt-cities b { font-size: 13px; }
  .w-mkt-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-mkt-big b { font-size: 34px; }
  .w-rt-r { grid-template-columns: 84px minmax(0, 1fr) 54px; gap: 8px; font-size: 12.5px; }
  .w-rt-t em { font-size: 10px; }
  .w-wave-hd, .w-wave-r { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; }
  .w-wave-hd > span { display: none; }
  .w-wave-hd button { height: 28px; font-size: 10px; letter-spacing: -.02em; }
  .w-wave-r > span { grid-column: 1 / -1; margin-top: 3px; font-size: 12.5px; }
  .w-wave-r i { height: 14px; }
  .w-wave-ls { grid-template-columns: minmax(0, 1fr); }
  .w-plan3-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-plan3-path .rt { font-size: 13.5px; }
  .w-esc-opts, .w-home-opts { grid-template-columns: minmax(0, 1fr); }
  .w-esc-r { grid-template-columns: minmax(0, 1fr) 62px; gap: 4px 10px; }
  .w-esc-r span { grid-column: 1 / -1; }
  .w-esc-r div { grid-column: 1; grid-row: 2; }
  .w-esc-r b { grid-row: 2; }
}
/* урок 15: карточка ставки DAT (.w-rcard), тарифы (.w-dplan), срок средней (.w-lag), верить ли цифре (.w-trust),
   13 месяцев направления (.w-hist), обзор недели (.w-wk), цифры до звонка (.w-ask); вопрос внутри задания (.w-q15) */
.w-rcard, .w-dplan, .w-lag, .w-trust, .w-hist, .w-wk, .w-ask { --sp: var(--l-acc); --ct: var(--l-vi); --fu: var(--l-warn); padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
:is(.w-lag-b, .w-lag-w, .w-hist-tl, .w-wk-eq, .w-ask-tl) { display: flex; flex-wrap: wrap; gap: 6px; }
:is(.w-lag-b, .w-lag-w, .w-hist-tl, .w-wk-eq, .w-ask-tl) button { display: grid; gap: 1px; justify-items: start; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
:is(.w-lag-b, .w-lag-w, .w-hist-tl, .w-wk-eq, .w-ask-tl) button:hover { border-color: var(--l-acc); color: var(--l-ink); }
:is(.w-lag-b, .w-lag-w, .w-hist-tl, .w-wk-eq, .w-ask-tl) button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-acc); }
:is(.w-lag-w, .w-hist-tl, .w-ask-tl) small { font-size: 12px; font-weight: 600; color: var(--l-mu); }
/* вопрос в задании */
.w-q15-t { margin: 0 0 10px; font-size: 15.5px; font-weight: 650; line-height: 1.45; }
.w-q15-o { display: grid; gap: 6px; margin-bottom: 10px; }
.w-q15-o button { padding: 10px 14px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 14.5px; line-height: 1.4; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s; }
.w-q15-o button:hover { border-color: var(--l-acc); }
.w-q15-o button.ok { border-color: var(--l-pos); background: var(--l-posb); }
.w-q15-o button.no { border-color: var(--l-neg); background: var(--l-negb); }
.w-q15-o button.off { opacity: .6; }
/* карточка ставки */
.w-rcard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.w-rcard > .w-deck-n { grid-column: 1 / -1; margin: 0; }
.w-rcard-c { display: grid; gap: 10px; padding: 14px; border-radius: 14px; background: var(--l-bg); border: 1px solid var(--l-line2); }
.w-rcard .n { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--l-s3); color: var(--l-mu); font-style: normal; font-size: 11px; font-weight: 800; font-variant-numeric: tabular-nums; flex: none; transition: background .2s, color .2s; }
.w-rcard .hs { position: relative; display: grid; gap: 2px; align-content: start; justify-items: start; padding: 10px 12px 10px 36px; border-radius: 10px; border: 1px solid var(--l-line); background: var(--l-s1); color: var(--l-ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.w-rcard .hs > .n { position: absolute; left: 10px; top: 11px; }
.w-rcard .hs:hover { border-color: var(--l-acc); }
.w-rcard .hs.seen > .n, .w-rcard-tf.seen > .n { background: color-mix(in srgb, var(--l-acc) 30%, var(--l-s3)); color: var(--l-ink); }
.w-rcard .hs.on { border-color: var(--l-acc); background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-rcard .hs.on > .n, .w-rcard-tf.on > .n { background: var(--l-acc); color: var(--l-acc-ink); }
.w-rcard .hs small { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-rcard .hs b { font-size: 18px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.w-rcard .hs b.big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--l-acc); }
.w-rcard .hs b.big span { font-size: 15px; font-weight: 650; color: var(--l-mu); margin-left: 2px; }
.w-rcard .hs em { font-style: normal; font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-rcard-hd { display: flex; align-items: stretch; gap: 8px; }
.w-rcard-hd .hs { flex: 1; min-width: 0; }
.w-rcard-hd .hs b { font-size: 15.5px; }
.w-rcard-hd .eq { display: grid; place-items: center; padding: 0 14px; border-radius: 10px; background: var(--l-s2); color: var(--l-ink2); font-size: 13px; font-weight: 700; }
.w-rcard-tf { position: relative; display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 36px; border-radius: 10px; border: 1px solid var(--l-line); background: var(--l-s1); transition: border-color .2s, box-shadow .2s; }
.w-rcard-tf > .n { position: absolute; left: 10px; top: 50%; margin-top: -9.5px; }
.w-rcard-tf.on { border-color: var(--l-acc); box-shadow: inset 0 0 0 1px var(--l-acc); }
.w-rcard-tf button { flex: 1; padding: 7px 4px; border: 0; border-radius: 7px; background: transparent; color: var(--l-mu); font: inherit; font-size: 13.5px; font-weight: 650; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.w-rcard-tf button:hover { color: var(--l-ink); }
.w-rcard-tf button[aria-pressed="true"] { background: var(--l-s3); color: var(--l-ink); }
.w-rcard-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }
.w-rcard-rg { width: 100%; }
.w-rcard-rg .bar { position: relative; display: block; width: 100%; height: 12px; margin-top: 8px; border-radius: 6px; background: var(--l-s3); }
.w-rcard-rg .bar i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: color-mix(in srgb, var(--l-acc) 55%, transparent); transition: left .4s var(--l-ease), width .4s var(--l-ease); }
.w-rcard-rg .bar s { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--l-ink); transition: left .4s var(--l-ease); }
.w-rcard-rg .lab { position: relative; display: block; width: 100%; height: 16px; margin-top: 3px; }
.w-rcard-rg .lab span { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: var(--l-ink2); font-variant-numeric: tabular-nums; transition: left .4s var(--l-ease); }
.w-rcard-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.w-rcard-out { display: grid; gap: 14px; }
.w-rcard-ex { display: grid; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--l-s2); animation: w-fade .35s var(--l-ease) both; }
.w-rcard-eh { display: flex; align-items: center; gap: 10px; }
.w-rcard-eh .n { width: 24px; height: 24px; font-size: 12.5px; background: var(--l-acc); color: var(--l-acc-ink); }
.w-rcard-eh b { font-size: 18px; font-weight: 750; }
.w-rcard-ex p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--l-ink2); }
.w-rcard-ex p b { color: var(--l-ink); font-variant-numeric: tabular-nums; }
.w-rcard-ex .q { padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--l-line2); color: var(--l-ink); font-weight: 600; }
.w-rcard-ex .q small { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-rcard-nav > small { display: block; margin-bottom: 8px; font-size: 13px; color: var(--l-mu); }
.w-rcard-nav > div { display: flex; flex-wrap: wrap; gap: 6px; }
.w-rcard-nav button { padding: 5px 11px; border-radius: 99px; border: 1px solid var(--l-line2); background: transparent; color: var(--l-mu); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.w-rcard-nav button:hover { border-color: var(--l-acc); color: var(--l-ink); }
.w-rcard-nav button.seen { color: var(--l-ink2); border-color: color-mix(in srgb, var(--l-acc) 40%, var(--l-line2)); }
.w-rcard-nav button.on { background: var(--l-accb); border-color: var(--l-acc); color: var(--l-ink); }
/* тарифы */
.w-dplan { display: grid; gap: 18px; }
.w-dplan-h { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--l-mu); }
.w-dplan-q { display: grid; gap: 10px; }
.w-dplan-r { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: center; }
.w-dplan-r > span { font-size: 14.5px; color: var(--l-ink2); font-weight: 600; }
.w-dplan-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--l-s2); border: 1px solid var(--l-line); justify-self: start; }
.w-dplan-seg button { padding: 7px 14px; border: 0; border-radius: 9px; background: transparent; color: var(--l-mu); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: background .2s, color .2s; }
.w-dplan-seg button:hover { color: var(--l-ink); }
.w-dplan-seg button[aria-pressed="true"] { background: var(--l-s1); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-acc); }
.w-dplan-pl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.w-dplan-c { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 4px; padding: 14px 12px 12px; border-radius: 14px; border: 1px solid var(--l-line2); background: var(--l-s2); transition: border-color .3s, background .3s, opacity .3s; }
.w-dplan-c > b { font-size: 15px; font-weight: 750; }
.w-dplan-c .p { font-size: 24px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-dplan-c .p small { font-size: 12.5px; font-weight: 600; color: var(--l-mu); margin-left: 2px; }
.w-dplan-c .rl { font-size: 13px; font-weight: 700; color: var(--l-acc); }
.w-dplan-c ul { margin: 4px 0 6px; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 12.5px; line-height: 1.4; color: var(--l-ink2); }
.w-dplan-c li::before { content: '· '; color: var(--l-mu); }
.w-dplan-c em { justify-self: start; padding: 3px 9px; border-radius: 99px; font-style: normal; font-size: 12px; font-weight: 700; background: var(--l-s3); color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-dplan-c.fit { border-color: var(--l-pos); background: var(--l-posb); box-shadow: inset 0 0 0 1px var(--l-pos); }
.w-dplan-c.fit em { background: var(--l-pos); color: #04150e; }
.w-dplan-c.no { opacity: .55; }
.w-dplan-c.no em { background: var(--l-negb); color: var(--l-neg); }
.w-dplan-c.no .rl { color: var(--l-mu); }
.w-dplan-in { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 26px; padding: 16px 18px; border-radius: 14px; background: var(--l-s2); }
.w-dplan-out { display: grid; gap: 12px; }
.w-dplan-st { grid-template-columns: repeat(4, minmax(0, 1fr)); animation: w-fade .35s var(--l-ease) both; }
.w-dplan-st .nd, .w-lag-st .nd, .w-hist-st .nd { background: var(--l-accb); box-shadow: inset 0 0 0 1px var(--l-acc); }
/* срок средней */
.w-lag { display: grid; gap: 14px; }
.w-lag-sc { display: grid; gap: 8px; }
.w-lag-d { margin: 0; font-size: 14px; color: var(--l-mu); }
.w-lag-w button { min-width: 108px; }
.w-lag-ch { display: grid; gap: 6px; }
.w-lag-plot { position: relative; height: 230px; margin: 8px 64px 0 0; border-radius: 10px; background: var(--l-s2); }
.w-lag-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-lag-plot .win { fill: color-mix(in srgb, var(--l-acc) 13%, transparent); transition: x .4s var(--l-ease), width .4s var(--l-ease); }
.w-lag-plot .dl { fill: none; stroke: var(--l-ink2); stroke-width: 1.6; stroke-linejoin: round; vector-effect: non-scaling-stroke; opacity: .8; }
.w-lag-plot .av { stroke: var(--l-acc); stroke-width: 3.5; vector-effect: non-scaling-stroke; }
.w-lag-plot .y { position: absolute; left: 8px; transform: translateY(-50%); margin-top: 0; font-size: 11px; font-weight: 700; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-lag-plot .y:first-of-type { transform: none; top: 6px !important; }
.w-lag-plot .y:nth-of-type(2) { transform: translateY(-100%); margin-top: -6px; }
.w-lag-plot i.td { position: absolute; right: -6px; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--l-ink); box-shadow: 0 0 0 3px var(--l-s1); }
.w-lag-plot .tg { position: absolute; left: calc(100% + 10px); transform: translateY(-50%); padding: 2px 7px; border-radius: 6px; font-style: normal; font-size: 12px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-lag-plot .tg.av { background: var(--l-acc); color: var(--l-acc-ink); }
.w-lag-plot .tg.td { background: var(--l-ink); color: var(--l-s1); }
.w-lag-ax { display: flex; justify-content: space-between; margin-right: 64px; font-size: 11.5px; color: var(--l-mu); }
.w-lag-lg { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--l-ink2); }
.w-lag-lg span { display: inline-flex; align-items: center; gap: 6px; }
.w-lag-lg span::before { content: ''; width: 14px; height: 3px; border-radius: 2px; background: var(--c, var(--l-mu)); }
.w-lag-lg .dl { --c: var(--l-ink2); } .w-lag-lg .av { --c: var(--l-acc); }
.w-lag-lg .win::before { height: 11px; background: color-mix(in srgb, var(--l-acc) 22%, transparent); }
.w-lag-lg .td::before { width: 9px; height: 9px; border-radius: 50%; background: var(--l-ink); }
.w-lag-out { display: grid; gap: 12px; }
.w-lag-st { grid-template-columns: repeat(4, minmax(0, 1fr)); animation: w-fade .35s var(--l-ease) both; }
.w-lag-all { display: grid; gap: 6px; }
.w-lag-all p { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-lag-r { display: grid; grid-template-columns: 170px minmax(0, 1fr) 90px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--l-ink2); }
.w-lag-r div { position: relative; height: 12px; border-radius: 4px; background: var(--l-s2); }
.w-lag-r div::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--l-line2); }
.w-lag-r i { position: absolute; top: 0; bottom: 0; border-radius: 4px; transition: width .4s var(--l-ease); }
.w-lag-r i.lo { right: 50%; background: color-mix(in srgb, var(--l-neg) 60%, transparent); }
.w-lag-r i.hi { left: 50%; background: color-mix(in srgb, var(--l-warn) 65%, transparent); }
.w-lag-r b { text-align: right; font-variant-numeric: tabular-nums; }
.w-lag-r.sel { color: var(--l-ink); font-weight: 650; }
.w-lag-r.sel div { box-shadow: 0 0 0 1px var(--l-acc); }
/* верить ли цифре */
.w-trust-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; }
.w-trust-c { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: 14px; border: 1px solid var(--l-line2); background: var(--l-s2); transition: border-color .3s, background .3s; }
.w-trust-c.ok { border-color: var(--l-pos); background: color-mix(in srgb, var(--l-pos) 6%, var(--l-s2)); }
.w-trust-c.no { border-color: var(--l-neg); background: color-mix(in srgb, var(--l-neg) 6%, var(--l-s2)); }
.w-trust-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.w-trust-h b { font-size: 15px; font-weight: 750; }
.w-trust-h span { font-size: 12.5px; font-weight: 650; color: var(--l-mu); }
.w-trust-n { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.w-trust-n b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.w-trust-n b small { font-size: 13px; font-weight: 650; color: var(--l-mu); margin-left: 2px; }
.w-trust-n b.na { font-size: 18px; color: var(--l-mu); }
.w-trust-n span { font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-trust-bar { position: relative; height: 10px; border-radius: 5px; background: var(--l-s3); }
.w-trust-bar.na { background: repeating-linear-gradient(-45deg, var(--l-s3) 0 6px, transparent 6px 12px); }
.w-trust-bar i { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in srgb, var(--l-acc) 55%, transparent); }
.w-trust-bar s { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--l-ink); }
.w-trust-ax { position: relative; height: 15px; font-size: 11.5px; font-weight: 700; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-trust-ax span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.w-trust-ax span:first-child { transform: translateX(-80%); } .w-trust-ax span:last-child:not(:first-child) { transform: translateX(-20%); }
.w-trust-ax.na { height: auto; }
.w-trust-ax span.w { position: static; transform: none; font-weight: 600; color: var(--l-mu); white-space: normal; }
.w-trust-m { margin: 0; font-size: 13px; color: var(--l-ink2); }
.w-trust-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.w-trust-o button { padding: 8px 6px; border-radius: 9px; border: 1px solid var(--l-line2); background: var(--l-s1); color: var(--l-ink); font: inherit; font-size: 12.5px; font-weight: 650; line-height: 1.25; cursor: pointer; transition: border-color .2s, background .2s; }
.w-trust-o button:hover { border-color: var(--l-acc); }
.w-trust-o button[aria-pressed="true"] { border-color: var(--l-neg); background: var(--l-negb); }
.w-trust-o button.right { border-color: var(--l-pos); background: var(--l-posb); }
.w-trust-w { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--l-ink2); animation: w-fade .35s var(--l-ease) both; }
.w-trust-w b { color: var(--l-ink); }
.w-trust-sum { margin-top: 12px; }
.w-trust-sum:empty { display: none; }
/* 13 месяцев */
.w-hist { display: grid; gap: 14px; }
.w-hist-gr { display: grid; grid-template-columns: 44px minmax(0, 1fr); }
.w-hist-y { position: relative; }
.w-hist-y span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; font-weight: 700; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-hist-plot { position: relative; height: 240px; }
.w-hist-plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.w-hist-plot .gl line { stroke: var(--l-line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.w-hist-plot .up { fill: color-mix(in srgb, var(--l-pos) 22%, transparent); }
.w-hist-plot .dn { fill: color-mix(in srgb, var(--ct) 22%, transparent); }
.w-hist-plot polyline { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.w-hist-plot .sp { stroke: var(--sp); stroke-width: 3.5; }
.w-hist-plot polyline.ct { stroke: var(--ct); stroke-width: 2.5; stroke-dasharray: 7 5; }
.w-hist-plot .cur { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--l-line2); transition: left .3s var(--l-ease); }
.w-hist-plot .dt { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; box-shadow: 0 0 0 3px var(--l-s1); transition: left .3s var(--l-ease), top .3s var(--l-ease); }
.w-hist-plot .dt.sp { background: var(--sp); } .w-hist-plot .dt.ct { background: var(--ct); }
.w-hist-mo { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 2px; margin-left: 44px; }
.w-hist-mo button { position: relative; display: grid; justify-items: center; align-content: end; height: 40px; padding: 0 0 6px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--l-mu); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.w-hist-mo button:hover { color: var(--l-ink); background: var(--l-s2); }
.w-hist-mo button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); }
.w-hist-mo small { position: absolute; top: 3px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 700; color: var(--l-ink2); }
.w-hist-lg .sp { --c: var(--sp); } .w-hist-lg .ct { --c: var(--ct); }
.w-hist-lg .up::before, .w-hist-lg .dn::before { height: 11px; }
.w-hist-lg .up::before { background: color-mix(in srgb, var(--l-pos) 30%, transparent); } .w-hist-lg .dn::before { background: color-mix(in srgb, var(--l-vi) 30%, transparent); }
.w-hist-rd { display: grid; gap: 10px; }
.w-hist-rh { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; animation: w-fade .35s var(--l-ease) both; }
.w-hist-rh b { font-size: 18px; font-weight: 750; }
.w-hist-rh span { font-size: 13.5px; color: var(--l-mu); }
.w-hist-st { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.w-hist-st .pos { color: var(--l-pos); } .w-hist-st .neg { color: var(--ct); }
.w-hist-q, .w-wk-qi { padding: 16px; border-radius: 14px; background: var(--l-s2); }
.w-hist-q .w-q15-o button, .w-wk-qi .w-q15-o button { background: var(--l-s1); }
.w-hist-q .w-q15-o button.ok, .w-wk-qi .w-q15-o button.ok { background: var(--l-posb); }
.w-hist-q .w-q15-o button.no, .w-wk-qi .w-q15-o button.no { background: var(--l-negb); }
/* обзор недели */
.w-wk { display: grid; gap: 14px; }
.w-wk-t { display: grid; gap: 0; animation: w-fade .35s var(--l-ease) both; }
.w-wk-r { display: grid; grid-template-columns: 170px repeat(3, minmax(0, 1fr)); gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--l-line); }
.w-wk-r:last-child { border-bottom: 0; }
.w-wk-r > span { font-size: 13.5px; font-weight: 650; color: var(--l-ink2); }
.w-wk-r > div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.w-wk-r > div b { font-size: 17px; font-weight: 750; }
.w-wk-r.al > div b { font-size: 21px; }
.w-wk-r.hd { padding-top: 0; }
.w-wk-r.hd b { font-size: 12.5px; font-weight: 700; color: var(--l-mu); }
.w-wk-r em { font-style: normal; font-size: 12.5px; font-weight: 700; }
.w-wk-r em.up { color: var(--l-pos); } .w-wk-r em.dn { color: var(--l-neg); } .w-wk-r em.nc { color: var(--l-mu); }
.w-wk-r.nt small { font-size: 12.5px; line-height: 1.35; color: var(--l-mu); }
.w-wk-r.br > div { display: block; }
.w-wk-bar { display: flex; width: 100%; height: 14px; border-radius: 4px; overflow: hidden; background: var(--l-s2); }
.w-wk-bar i { display: block; height: 100%; transition: width .4s var(--l-ease); }
.w-wk-bar .lh, .w-wk-lg .lh::before { background: var(--l-acc); }
.w-wk-bar .fu, .w-wk-lg .fu::before { background: var(--fu); }
.w-wk-lg span::before { height: 10px; }
.w-wk-yo { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--l-s2); }
.w-wk-yo p { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-wk-y { display: grid; grid-template-columns: 90px minmax(0, 1fr) 52px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--l-ink2); }
.w-wk-y div { height: 12px; border-radius: 4px; background: var(--l-s3); }
.w-wk-y i { display: block; height: 100%; border-radius: 4px; background: color-mix(in srgb, var(--l-pos) 50%, transparent); }
.w-wk-y.sel { color: var(--l-ink); font-weight: 700; }
.w-wk-y.sel i { background: var(--l-pos); }
.w-wk-y b { text-align: right; font-variant-numeric: tabular-nums; }
.w-wk-q { display: grid; gap: 10px; }
/* цифры до звонка */
.w-ask { display: grid; gap: 16px; }
.w-ask-tl button.done { border-color: var(--l-pos); }
.w-ask-tl button.done small { color: var(--l-pos); }
.w-ask-st { grid-template-columns: repeat(3, minmax(0, 1fr)); animation: w-fade .35s var(--l-ease) both; }
.w-ask-st b { font-size: 18px; }
.w-ask-st .tr { font-size: 22px; }
.w-ask-st .tr.up { color: var(--l-pos); } .w-ask-st .tr.down { color: var(--l-neg); } .w-ask-st .tr.flat { color: var(--l-warn); }
.w-ask-st .dst.h { color: #f97316; } .w-ask-st .dst.c { color: #38bdf8; }
html[data-theme="light"] .w-ask-st .dst.h { color: #ea580c; } html[data-theme="light"] .w-ask-st .dst.c { color: #0284c7; }
.w-ask-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 26px; padding: 16px 18px; border-radius: 14px; background: var(--l-s2); }
.w-ask-vis { display: grid; gap: 3px; padding: 4px 0; }
.w-ask-lb { position: relative; height: 22px; }
.w-ask-lb span { position: absolute; top: 2px; transform: translateX(-50%); padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; transition: left .25s var(--l-ease); }
.w-ask-lb span.l { transform: translateX(-12px); } .w-ask-lb span.r { transform: translateX(calc(-100% + 12px)); }
.w-ask-lb .of { background: var(--l-warnb); color: var(--l-warn); box-shadow: inset 0 0 0 1px var(--l-warn); }
.w-ask-lb .ak { background: var(--l-acc); color: var(--l-acc-ink); }
.w-ask-lb .fl { background: var(--l-negb); color: var(--l-neg); box-shadow: inset 0 0 0 1px var(--l-neg); }
.w-ask-lb .dat { color: var(--l-ink2); font-weight: 650; }
.w-ask-tr { position: relative; height: 16px; border-radius: 6px; background: var(--l-s3); }
.w-ask-tr .dat { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: color-mix(in srgb, var(--l-acc) 32%, transparent); }
.w-ask-tr .avg { position: absolute; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; background: var(--l-ink2); }
.w-ask-tr b { position: absolute; top: -5px; bottom: -5px; width: 4px; margin-left: -2px; border-radius: 2px; transition: left .25s var(--l-ease); }
.w-ask-tr .of { background: var(--l-warn); } .w-ask-tr .ak { background: var(--l-acc); } .w-ask-tr .fl { background: var(--l-neg); }
.w-ask-ax { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-ask-out { display: grid; gap: 12px; }
.w-ask-out .w-deck-v .w-tie-sum + .w-tie-sum { margin-top: 6px; }
:is(.w-dplan, .w-lag, .w-trust, .w-hist, .w-wk, .w-ask, .w-q15-o + .w-deck-v) .w-deck-v > p:last-child, .w-q15-o + .w-deck-v > p:last-child { margin-bottom: 0; }
.w-ask-say { padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--l-line2); }
.w-ask-say small { display: block; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-ask-say p { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.45; }
@media (max-width: 900px) {
  .w-rcard { grid-template-columns: minmax(0, 1fr); }
  .w-dplan-pl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .w-dplan-r { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 640px) {
  .w-rcard, .w-dplan, .w-lag, .w-trust, .w-hist, .w-wk, .w-ask { padding: 16px; }
  .w-rcard-c { padding: 10px; gap: 8px; }
  .w-rcard .hs { padding: 9px 10px; }
  .w-rcard .hs > .n { left: auto; right: 7px; top: 7px; }
  .w-rcard .hs small { padding-right: 20px; }
  .w-rcard-row .hs small { padding-right: 0; }
  .w-rcard-row .hs > .n { top: auto; bottom: 7px; }
  .w-rcard-row .hs b { margin-top: 6px; }
  .w-rcard .hs b.big { font-size: 28px; }
  .w-rcard-tf { padding-left: 32px; } .w-rcard-tf > .n { left: 8px; }
  .w-rcard-tf button { font-size: 12.5px; padding: 7px 2px; }
  .w-rcard-row .hs em { font-size: 11.5px; }
  .w-rcard-row .hs small { font-size: 10px; letter-spacing: .03em; }
  .w-rcard-row .hs b { font-size: 16px; }
  .w-dplan-pl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-dplan-c .p { font-size: 21px; }
  .w-dplan-in, .w-ask-in { grid-template-columns: minmax(0, 1fr); }
  .w-dplan-st, .w-lag-st, .w-hist-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-lag-w button { min-width: 0; flex: 1 1 40%; }
  .w-lag-plot { height: 180px; margin-right: 58px; }
  .w-lag-ax { margin-right: 58px; font-size: 10.5px; }
  .w-lag-r { grid-template-columns: minmax(0, 1fr) 82px; gap: 4px 10px; }
  .w-lag-r span { grid-column: 1 / -1; }
  .w-lag-r div { grid-column: 1; grid-row: 2; }
  .w-lag-r b { grid-row: 2; }
  .w-trust-g { grid-template-columns: minmax(0, 1fr); }
  .w-trust-o { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, .9fr); }
  .w-hist-gr { grid-template-columns: 38px minmax(0, 1fr); }
  .w-hist-plot { height: 190px; }
  .w-hist-mo { margin-left: 38px; gap: 1px; }
  .w-hist-mo button { font-size: 9px; letter-spacing: -.04em; height: 36px; padding-bottom: 5px; border-radius: 6px; }
  .w-hist-mo small { font-size: 8px; letter-spacing: -.02em; }
  .w-hist-tl button { flex: 1 1 100%; }
  .w-wk-r { grid-template-columns: 72px repeat(3, minmax(0, 1fr)); gap: 6px; }
  .w-wk-r > span { font-size: 12px; }
  .w-wk-r > div { display: grid; gap: 1px; }
  .w-wk-r > div b { font-size: 15px; } .w-wk-r.al > div b { font-size: 17px; }
  .w-wk-r.hd b { font-size: 11px; }
  .w-wk-r em { font-size: 11.5px; }
  .w-wk-r.nt small { font-size: 11px; }
  .w-wk-y { grid-template-columns: 70px minmax(0, 1fr) 46px; }
  .w-ask-st { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .w-ask-tl button { flex: 1 1 100%; }
}
/* урок 16: счёт недели (.w-inv), окупаемость диспетчера (.w-roi), месяц трака (.w-mon), что на руках (.w-net),
   сколько траков (.w-cap), первый год (.w-grow), пары грузов (.w-pair) */
.w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow, .w-pair { --rt: var(--l-acc); --dy: var(--l-vi); padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); display: grid; gap: 18px; }
:is(.w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow, .w-pair) > .w-deck-n { margin: 0; }
:is(.w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow, .w-pair) .w-deck-v > p:last-child { margin-bottom: 0; }
:is(.w-roi-in, .w-net-in, .w-cap-in, .w-grow-in) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 26px; padding: 16px 18px; border-radius: 14px; background: var(--l-s2); }
:is(.w-inv-in, .w-mon-in) { padding: 14px 18px; border-radius: 14px; background: var(--l-s2); }
:is(.w-inv-st, .w-roi-st, .w-mon-st, .w-net-st, .w-cap-st, .w-grow-st) { animation: w-fade .35s var(--l-ease) both; }
:is(.w-roi-st, .w-mon-st, .w-net-st, .w-cap-st, .w-grow-st, .w-inv-st) b { font-size: 20px; }
:is(.w-cap-pre, .w-pair-tl) { display: flex; flex-wrap: wrap; gap: 6px; }
:is(.w-cap-pre, .w-pair-tl, .w-net-pl) button { display: grid; gap: 1px; justify-items: start; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 14px; font-weight: 650; text-align: left; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
:is(.w-cap-pre, .w-pair-tl, .w-net-pl) button:hover { border-color: var(--l-acc); color: var(--l-ink); }
:is(.w-cap-pre, .w-pair-tl, .w-net-pl) button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); box-shadow: inset 0 0 0 1px var(--l-acc); }
:is(.w-cap-pre, .w-pair-tl, .w-net-pl) small { font-size: 12px; font-weight: 600; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-pair-tl button.done { border-color: var(--l-pos); }
.w-pair-tl button.done small { color: var(--l-pos); }
/* ползунки заданий уроков 15–16 */
:is(.w-dplan, .w-ask, .w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow) input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--l-acc) var(--v, 50%), var(--l-s3) var(--v, 50%)); outline: none; }
:is(.w-dplan, .w-ask, .w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow) input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
:is(.w-dplan, .w-ask, .w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow) input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px var(--l-accb), 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
/* счёт недели */
.w-inv { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.w-inv > :not(.w-inv-g):not(.w-inv-doc) { grid-column: 1 / -1; }
.w-inv-g { display: grid; gap: 8px; }
.w-inv-r { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); transition: border-color .2s, background .2s; }
.w-inv-r.ok { border-color: color-mix(in srgb, var(--l-pos) 55%, transparent); }
.w-inv-r.no { border-color: var(--l-neg); background: var(--l-negb); }
.w-inv-r .d { font-size: 12px; font-weight: 700; letter-spacing: .03em; color: var(--l-mu); }
.w-inv-r .tt { display: grid; gap: 1px; min-width: 0; }
.w-inv-r .tt b { font-size: 14.5px; font-weight: 650; line-height: 1.35; }
.w-inv-r .tt .a { font-size: 13.5px; font-weight: 700; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-inv-r .tt .a.neg { color: var(--l-neg); }
.w-inv-r .w { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--l-ink2); animation: w-fade .35s var(--l-ease) both; }
.w-inv-r.ok .w b { color: var(--l-pos); } .w-inv-r.no .w b { color: var(--l-neg); }
.w-inv-seg { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--l-s1); border: 1px solid var(--l-line); }
.w-inv-seg button { padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--l-mu); font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.w-inv-seg button:hover { color: var(--l-ink); }
.w-inv-seg button[aria-pressed="true"] { background: var(--l-s3); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-acc); }
.w-inv-doc { position: sticky; top: 90px; }
.w-inv-paper { display: grid; gap: 10px; padding: 18px 20px; border-radius: 12px; background: var(--l-paper); color: var(--l-paper-ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.w-inv-paper .hd { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 2px solid #111827; letter-spacing: .06em; }
.w-inv-paper .hd span, .w-inv-paper .mt span:last-child { font-family: ui-monospace, monospace; letter-spacing: 0; color: #475569; }
.w-inv-paper .mt { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 12.5px; color: #334155; font-weight: 600; }
.w-inv-paper .ln { display: grid; gap: 0; border-top: 1px solid #e2e8f0; }
.w-inv-paper .ln div { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e2e8f0; animation: w-fade .3s var(--l-ease) both; }
.w-inv-paper .ln b, .w-inv-paper .tot b, .w-inv-paper .fee b { white-space: nowrap; }
.w-inv-paper .neg { color: #dc2626; }
.w-inv-paper .em { margin: 0; padding: 14px 0; color: #64748b; font-size: 13px; border-top: 1px dashed #cbd5e1; border-bottom: 1px dashed #cbd5e1; }
.w-inv-paper .tot, .w-inv-paper .fee, .w-inv-paper .due { display: flex; justify-content: space-between; gap: 10px; }
.w-inv-paper .tot { font-weight: 700; }
.w-inv-paper .fee { padding: 9px 12px; margin: 0 -12px; border-radius: 8px; background: #e0f2fe; font-size: 15px; font-weight: 800; }
.w-inv-paper .due { font-size: 12.5px; color: #475569; }
.w-inv-out { display: grid; gap: 12px; }
.w-inv-again { justify-self: start; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s; }
.w-inv-again:hover { border-color: var(--l-acc); }
/* окупаемость */
.w-roi-vis { display: grid; gap: 10px; }
.w-roi-r { display: grid; grid-template-columns: 150px minmax(0, 1fr) 70px; gap: 12px; align-items: center; }
.w-roi-r > span { font-size: 14px; font-weight: 650; color: var(--l-ink2); }
.w-roi-r > b { text-align: right; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.w-roi-b { display: flex; height: 22px; border-radius: 7px; background: var(--l-s2); overflow: hidden; }
.w-roi-b i { display: block; height: 100%; transition: width .35s var(--l-ease); }
.w-roi-b .fee { background: var(--l-warn); border-radius: 7px; }
.w-roi-b .rt { background: var(--rt); } .w-roi-b .dy { background: var(--dy); }
.w-roi-lg, .w-cap-lg { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: 162px; font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-roi-lg span, .w-cap-lg span { display: inline-flex; align-items: center; gap: 6px; }
.w-roi-lg span::before, .w-cap-lg span::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: var(--rt); }
.w-roi-lg .dy::before { background: var(--dy); }
.w-roi-sc { position: relative; margin: 8px 0 4px; padding-top: 26px; }
.w-roi-sc .bd { position: relative; height: 30px; border-radius: 8px; overflow: hidden; background: var(--l-s2); }
.w-roi-sc .bd i b { font-weight: 650; }
.w-roi-sc .bd i { position: absolute; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 4px; font-style: normal; font-size: 12px; font-weight: 650; color: var(--l-ink2); white-space: nowrap; overflow: hidden; border-right: 1px solid var(--l-s1); }
.w-roi-sc .bd i:nth-child(1) { background: color-mix(in srgb, var(--l-acc) 10%, var(--l-s2)); }
.w-roi-sc .bd i:nth-child(2) { background: color-mix(in srgb, var(--l-acc) 20%, var(--l-s2)); }
.w-roi-sc .bd i:nth-child(3) { background: color-mix(in srgb, var(--l-acc) 32%, var(--l-s2)); border-right: 0; }
.w-roi-sc s { position: absolute; top: 20px; bottom: -4px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--l-ink); text-decoration: none; transition: left .3s var(--l-ease); }
.w-roi-sc s b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; padding: 1px 7px; border-radius: 6px; background: var(--l-ink); color: var(--l-bg); font-size: 12px; font-weight: 800; white-space: nowrap; }
/* месяц трака */
.w-mon-g { display: grid; gap: 8px; }
.w-mon-r { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; align-items: center; }
.w-mon-r > span { font-size: 14px; font-weight: 700; color: var(--l-ink2); }
.w-mon-seg { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: var(--l-s2); border: 1px solid var(--l-line); }
.w-mon-seg button { display: grid; gap: 1px; padding: 6px 4px; border: 0; border-radius: 9px; background: transparent; color: var(--l-mu); font: inherit; text-align: center; cursor: pointer; transition: background .2s, color .2s; }
.w-mon-seg button b { font-size: 13.5px; font-weight: 650; }
.w-mon-seg button small { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.w-mon-seg button:hover { color: var(--l-ink); }
.w-mon-seg button[aria-pressed="true"] { background: var(--l-s1); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-acc); }
.w-mon-tk { position: relative; display: flex; gap: 3px; height: 38px; margin-top: 18px; }
.w-mon-tk i { display: grid; place-items: center; height: 100%; border-radius: 7px; overflow: hidden; transition: width .35s var(--l-ease); }
.w-mon-tk i span { font-style: normal; font-size: 12px; font-weight: 750; color: #0b1220; white-space: nowrap; font-variant-numeric: tabular-nums; }
.w-mon-tk i.g { background: var(--l-pos); } .w-mon-tk i.n { background: var(--l-acc); } .w-mon-tk i.b { background: var(--l-warn); } .w-mon-tk i.h { background: var(--l-vi); }
.w-mon-tk s { position: absolute; top: -18px; height: 22px; width: 2px; margin-left: -1px; background: var(--l-ink); text-decoration: none; transition: left .3s var(--l-ease); }
.w-mon-tk s b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 750; white-space: nowrap; color: var(--l-ink2); }
.w-mon-q, .w-grow-q { display: grid; gap: 14px; }
:is(.w-mon-qi, .w-grow-qi) { padding: 14px 16px; border-radius: 14px; background: var(--l-s2); }
:is(.w-mon-qi, .w-grow-qi) .w-q15-o button { background: var(--l-s1); }
:is(.w-mon-qi, .w-grow-qi) .w-q15-o button.ok { background: var(--l-posb); }
:is(.w-mon-qi, .w-grow-qi) .w-q15-o button.no { background: var(--l-negb); }
/* что на руках */
.w-net-pl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.w-net-pl > span { margin-right: 6px; font-size: 14px; font-weight: 650; color: var(--l-ink2); }
.w-net-wf { display: grid; gap: 6px; }
.w-net-r { display: grid; grid-template-columns: 200px minmax(0, 1fr) 76px; gap: 12px; align-items: center; }
.w-net-r > span { font-size: 13.5px; color: var(--l-ink2); }
.w-net-r > b { text-align: right; font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.w-net-b { position: relative; height: 20px; border-radius: 6px; background: var(--l-s2); }
.w-net-b i { position: absolute; top: 0; bottom: 0; border-radius: 6px; transition: left .35s var(--l-ease), width .35s var(--l-ease); }
.w-net-r.in i { background: var(--l-acc); } .w-net-r.out i { background: var(--l-warn); } .w-net-r.sub i { background: color-mix(in srgb, var(--l-acc) 55%, var(--l-s3)); }
.w-net-r.tax i { background: var(--l-vi); } .w-net-r.tk i { background: var(--l-pos); }
.w-net-r.out > b, .w-net-r.tax > b { color: var(--l-mu); }
.w-net-r.sub, .w-net-r.tk { padding-top: 6px; border-top: 1px dashed var(--l-line2); }
.w-net-r.tk > span, .w-net-r.tk > b { font-weight: 800; color: var(--l-ink); font-size: 15px; }
/* сколько траков */
.w-cap-vis { display: grid; gap: 10px; }
.w-cap-tk { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.w-cap-tk i { display: grid; place-items: center; width: 46px; height: 32px; border-radius: 8px; background: var(--l-s2); border: 1px solid var(--l-line); transition: background .25s, border-color .25s; }
.w-cap-tk svg { width: 30px; height: 18px; fill: var(--l-s3); transition: fill .25s; }
.w-cap-tk i.on { background: var(--l-accb); border-color: color-mix(in srgb, var(--l-acc) 50%, transparent); }
.w-cap-tk i.on svg { fill: var(--l-acc); }
.w-cap-tk em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--l-mu); }
.w-cap-hb { display: flex; height: 28px; border-radius: 8px; overflow: hidden; background: var(--l-s2); }
.w-cap-hb i { display: grid; place-items: center; height: 100%; flex: none; transition: width .3s var(--l-ease); }
.w-cap-hb i.tk { background: var(--l-acc); border-right: 2px solid var(--l-s1); }
.w-cap-hb i.tk span { font-style: normal; font-size: 11.5px; font-weight: 800; color: #0b1220; }
.w-cap-hb i.f { background: var(--l-s3); }
.w-cap-hb i.r { margin-left: auto; background: repeating-linear-gradient(135deg, var(--l-warn) 0 5px, color-mix(in srgb, var(--l-warn) 45%, transparent) 5px 10px); }
.w-cap-lg { margin-left: 0; }
.w-cap-lg .f::before { background: var(--l-s3); }
.w-cap-lg .r::before { background: repeating-linear-gradient(135deg, var(--l-warn) 0 3px, color-mix(in srgb, var(--l-warn) 45%, transparent) 3px 6px); }
/* первый год */
.w-grow-ck { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--l-ink2); cursor: pointer; }
.w-grow-ck input { width: 18px; height: 18px; accent-color: var(--l-acc); }
.w-grow-pl { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; align-items: end; height: 190px; padding-top: 18px; border-bottom: 1px solid var(--l-line2); }
.w-grow-pl button { position: relative; display: flex; align-items: flex-end; height: 100%; padding: 0; border: 0; border-radius: 7px 7px 0 0; background: transparent; cursor: pointer; }
.w-grow-pl button:hover { background: var(--l-s2); }
.w-grow-pl i { position: relative; display: grid; place-items: start center; width: 100%; min-height: 2px; border-radius: 6px 6px 0 0; background: color-mix(in srgb, var(--l-acc) 55%, var(--l-s3)); transition: height .35s var(--l-ease), background .2s; }
.w-grow-pl i span { padding-top: 4px; font-style: normal; font-size: 12px; font-weight: 800; color: #0b1220; }
.w-grow-pl button[aria-pressed="true"] i { background: var(--l-acc); box-shadow: 0 0 0 2px var(--l-s1), 0 0 0 3px var(--l-acc); }
.w-grow-pl s { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); text-decoration: none; font-size: 13px; font-weight: 800; color: var(--l-neg); }
.w-grow-ax { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-top: 6px; text-align: center; font-size: 12px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-grow-rd p { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--l-s2); font-size: 14.5px; line-height: 1.45; color: var(--l-ink2); }
.w-grow-rd b { color: var(--l-ink); }
/* пары грузов */
.w-pair-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.w-pair-c { display: grid; gap: 4px; align-content: start; padding: 16px; border-radius: 14px; border: 1px solid var(--l-line2); background: var(--l-s2); transition: border-color .25s, background .25s; }
.w-pair-c > small { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-pair-c .r { font-size: 17px; font-weight: 750; }
.w-pair-c .pay { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--l-acc); font-variant-numeric: tabular-nums; }
.w-pair-c p { margin: 0; font-size: 14px; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-pair-c em { font-style: normal; font-size: 13px; color: var(--l-mu); }
.w-pair-c > button { justify-self: start; margin-top: 8px; padding: 9px 18px; border-radius: 10px; border: 1px solid var(--l-acc); background: transparent; color: var(--l-ink); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; transition: background .2s; }
.w-pair-c > button:hover, .w-pair-c > button[aria-pressed="true"] { background: var(--l-accb); }
.w-pair-c.best { border-color: var(--l-pos); background: var(--l-posb); }
.w-pair-c.no { border-color: var(--l-neg); background: var(--l-negb); }
.w-pair-out { display: grid; gap: 12px; }
.w-pair-t { display: grid; border-radius: 12px; border: 1px solid var(--l-line); overflow: hidden; animation: w-fade .35s var(--l-ease) both; }
.w-pair-t > div { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px; gap: 10px; align-items: center; padding: 8px 14px; border-bottom: 1px solid var(--l-line); font-size: 14px; }
.w-pair-t > div:last-child { border-bottom: 0; }
.w-pair-t .hd { background: var(--l-s2); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--l-mu); }
.w-pair-t > div > span { color: var(--l-ink2); }
.w-pair-t > div > b { text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.w-pair-t .hd b { font-weight: 700; }
.w-pair-t .ow { background: color-mix(in srgb, var(--l-pos) 5%, transparent); }
.w-pair-t b.w { color: var(--l-pos); font-weight: 800; }
html[data-theme="light"] :is(.w-mon-tk i span, .w-cap-hb i.tk span, .w-grow-pl i span) { color: #fff; }
@media (max-width: 900px) {
  .w-inv { grid-template-columns: minmax(0, 1fr); }
  .w-inv-doc { position: static; }
  :is(.w-roi-in, .w-net-in, .w-cap-in, .w-grow-in) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .w-inv, .w-roi, .w-mon, .w-net, .w-cap, .w-grow, .w-pair { padding: 16px; }
  :is(.w-roi-in, .w-net-in, .w-cap-in, .w-grow-in) { grid-template-columns: minmax(0, 1fr); }
  :is(.w-roi-st, .w-mon-st, .w-net-st, .w-cap-st, .w-grow-st, .w-inv-st) b { font-size: 17px; }
  .w-inv-r { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .w-inv-r .d { order: -1; }
  .w-inv-seg { justify-self: start; }
  .w-inv-paper { padding: 14px 14px; }
  .w-inv-paper .fee { margin: 0 -6px; padding: 9px 8px; font-size: 14px; }
  .w-roi-r { grid-template-columns: minmax(0, 1fr) 64px; gap: 4px 10px; }
  .w-roi-r > span { grid-column: 1 / -1; }
  .w-roi-r > .w-roi-b { grid-row: 2; }
  .w-roi-r > b { grid-row: 2; }
  .w-roi-lg { margin-left: 0; }
  .w-roi-sc .bd i { font-size: 11.5px; }
  .w-roi-sc .bd i b { display: none; }
  .w-net-pl > span { flex: 1 1 100%; margin: 0 0 2px; }
  .w-net-pl button { flex: 1 1 20%; padding: 8px 10px; }
  .w-mon-r { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .w-mon-seg { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 3px; }
  .w-mon-seg button b { font-size: 13px; }
  .w-mon-seg button small { font-size: 11px; }
  .w-mon-tk i span { font-size: 10.5px; }
  .w-net-r { grid-template-columns: minmax(0, 1fr) 68px; gap: 3px 10px; }
  .w-net-r > span { grid-column: 1 / -1; }
  .w-net-r > .w-net-b { grid-row: 2; }
  .w-net-r > b { grid-row: 2; }
  .w-cap-tk i { width: 38px; height: 28px; }
  .w-cap-tk svg { width: 26px; height: 16px; }
  .w-grow-pl { gap: 3px; height: 160px; }
  .w-grow-ax { gap: 3px; font-size: 10.5px; }
  .w-grow-pl i span { font-size: 10.5px; }
  .w-pair-g { gap: 8px; }
  .w-pair-c { padding: 12px; }
  .w-pair-c .r { font-size: 14.5px; }
  .w-pair-c .pay { font-size: 22px; }
  .w-pair-c p { font-size: 12.5px; }
  .w-pair-c em { font-size: 12px; }
  .w-pair-c > button { padding: 8px 12px; font-size: 13.5px; }
  .w-pair-t > div { grid-template-columns: minmax(0, 1fr) 64px 64px; gap: 6px; padding: 8px 10px; font-size: 12.5px; }
  .w-pair-tl button { flex: 1 1 28%; }
}
/* урок 17: форма поиска (.w-srch), выдача (.w-res), карточка груза (.w-prep), CreditScore (.w-cs), Days to Pay (.w-dtp),
   пост трака (.w-tpost), утро по шагам (.w-seq) */
.w-srch, .w-res, .w-prep, .w-cs, .w-dtp, .w-tpost, .w-seq { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); display: grid; gap: 18px; }
:is(.w-srch, .w-res, .w-prep, .w-cs, .w-dtp, .w-tpost, .w-seq) > .w-deck-n { margin: 0; }
:is(.w-srch, .w-res, .w-prep, .w-cs, .w-dtp, .w-tpost, .w-seq) .w-deck-v > p:last-child { margin-bottom: 0; }
:is(.w-srch-fl, .w-srch-o, .w-srch-g, .w-tpost-bv, .w-tpost-m .hd, .w-res-bar, .w-prep-r .tt, .w-prep-call) small { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--l-mu); }
.w-seg17 { display: inline-flex; flex-wrap: wrap; justify-self: start; gap: 3px; padding: 3px; border-radius: 10px; background: var(--l-s1); border: 1px solid var(--l-line); }
.w-seg17 button { padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--l-mu); font: inherit; font-size: 13px; font-weight: 650; white-space: nowrap; cursor: pointer; font-variant-numeric: tabular-nums; transition: background .2s, color .2s; }
.w-seg17 button:hover { color: var(--l-ink); }
.w-seg17 button[aria-pressed="true"] { background: var(--l-s3); color: var(--l-ink); box-shadow: 0 0 0 1px var(--l-acc); }
:is(.w-prep-again, .w-seq-again) { justify-self: start; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s; }
:is(.w-prep-again, .w-seq-again):hover { border-color: var(--l-acc); }
/* форма поиска */
.w-srch { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; }
.w-srch > .w-deck-n { grid-column: 1 / -1; }
.w-srch-f, .w-tpost-f { display: grid; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--l-s2); }
.w-srch-fl, .w-srch-o { display: grid; gap: 5px; }
.w-srch-o b { font-size: 15px; }
.w-srch-r { display: grid; gap: 12px; align-content: start; }
.w-srch-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; animation: w-fade .35s var(--l-ease) both; }
.w-srch-n b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.w-srch-n span { font-size: 13.5px; color: var(--l-mu); }
.w-srch-hid { margin: 0; font-size: 13px; font-weight: 600; color: var(--l-warn); }
.w-srch-none { margin: 0; padding: 14px; border-radius: 12px; border: 1px dashed var(--l-line2); color: var(--l-mu); font-size: 14px; }
:is(.w-srch-t, .w-res-t, .w-tpost-m) { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 12px; border: 1px solid var(--l-line); overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; }
.w-srch-t > div { display: grid; grid-template-columns: 46px minmax(0, 1.5fr) minmax(0, 1fr) 62px 54px 52px; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--l-line); align-items: center; }
:is(.w-srch-t, .w-res-t) span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
:is(.w-srch-t, .w-res-t) > .hd { border-top: 0; background: var(--l-s2); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--l-mu); }
:is(.w-srch-t, .w-res-t) i { font-style: normal; color: var(--l-mu); }
:is(.w-srch-t, .w-res-t, .w-tpost-m) .ag { color: var(--l-acc); font-weight: 650; }
:is(.w-srch-t, .w-res-t, .w-tpost-m) .rt { font-weight: 750; }
.w-srch-t .mr { margin: 0; padding: 7px 10px; border-top: 1px solid var(--l-line); font-size: 12.5px; color: var(--l-mu); }
.w-srch-g { display: grid; gap: 7px; padding: 12px 14px; border-radius: 12px; background: var(--l-s2); }
.w-srch-g p { display: flex; gap: 9px; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink2); }
.w-srch-g p i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; border: 1.5px solid var(--l-line2); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.w-srch-g p.ok { color: var(--l-ink); }
.w-srch-g p.ok i { border-color: var(--l-pos); background: var(--l-pos); color: #fff; }
/* выдача */
.w-res-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.w-res-bar small { margin-right: 4px; }
.w-res-bar button { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink2); font: inherit; font-size: 13.5px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.w-res-bar button:hover { border-color: var(--l-acc); color: var(--l-ink); }
.w-res-bar button[aria-pressed="true"] { border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); }
.w-res-bar button.add { border-style: dashed; color: var(--l-acc); }
.w-res-t > .hd, .w-res-t > button { display: grid; grid-template-columns: 44px 56px 58px minmax(0, 1.3fr) minmax(0, 1fr) 42px 58px 50px; gap: 8px; padding: 8px 10px; align-items: center; }
.w-res-t.all > .hd, .w-res-t.all > button { grid-template-columns: 44px 56px 58px minmax(0, 1.3fr) minmax(0, 1fr) 42px 58px 50px 62px; }
.w-res-t > button { border: 0; border-top: 1px solid var(--l-line); background: transparent; color: var(--l-ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
.w-res-t > button:hover { background: var(--l-s2); }
.w-res-t > button.on { background: var(--l-accb); box-shadow: inset 3px 0 0 var(--l-acc); }
.w-res-t > button.lo { color: var(--l-mu); }
.w-res-t .al { font-weight: 750; color: var(--l-pos); }
.w-res-t > .hd .al, .w-res-t .al.nr { color: var(--l-mu); }
.w-res-t > button.lo .al { color: var(--l-neg); }
.w-res-t .cr.mid { color: var(--l-warn); }
.w-res-t .cr.bad { color: var(--l-neg); }
.w-res-out { display: grid; gap: 10px; }
.w-res-thr { margin: 0; font-size: 13px; color: var(--l-mu); }
.w-res-pick { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--l-s2); font-variant-numeric: tabular-nums; animation: w-fade .35s var(--l-ease) both; }
.w-res-pick span { font-size: 14px; color: var(--l-ink2); }
:is(.w-res-pick) em { font-style: normal; font-weight: 700; }
.w-res-pick em.up { color: var(--l-pos); }
.w-res-pick em.dn { color: var(--l-neg); }
/* карточка груза */
.w-prep-g, .w-cs-l { display: grid; gap: 8px; }
.w-prep-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); transition: border-color .2s, background .2s; }
:is(.w-prep-r, .w-cs-c).ok { border-color: color-mix(in srgb, var(--l-pos) 55%, transparent); }
:is(.w-prep-r, .w-cs-c).no { border-color: var(--l-neg); background: var(--l-negb); }
.w-prep-r .tt { display: grid; gap: 1px; min-width: 0; }
.w-prep-r .tt b { font-size: 14.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
:is(.w-prep-r, .w-cs-c) .w { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--l-ink2); animation: w-fade .35s var(--l-ease) both; }
:is(.w-prep-r, .w-cs-c).ok .w b { color: var(--l-pos); }
:is(.w-prep-r, .w-cs-c).no .w b { color: var(--l-neg); }
.w-prep-out { display: grid; gap: 12px; }
.w-prep-call { padding: 16px 18px; border-radius: 12px; background: var(--l-paper); color: var(--l-paper-ink); box-shadow: 0 16px 40px -18px rgba(0,0,0,.5); animation: w-fade .35s var(--l-ease) both; }
.w-prep-call small { color: #64748b; }
.w-prep-call .en { margin: 6px 0 0; color: var(--l-paper-ink); font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.w-prep-call .tr { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #e2e8f0; font-size: 13.5px; line-height: 1.5; color: #475569; }
/* CreditScore */
.w-cs-g { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.w-cs-c { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.w-cs-c.on { box-shadow: inset 0 0 0 1px var(--l-acc); border-color: var(--l-acc); }
.w-cs-c .tt { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; }
.w-cs-c .tt b { font-size: 15px; }
.w-cs-c .sc { font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; }
:is(.w-cs-c .sc, .w-cs-gv .v span).ok, .w-cs-gv.ok .v span { color: var(--l-pos); }
.w-cs-c .sc.mid, .w-cs-gv.mid .v span { color: var(--l-warn); }
.w-cs-c .sc.bad, .w-cs-gv.bad .v span { color: var(--l-neg); }
.w-cs-c .sc.none, .w-cs-gv.none .v span { color: var(--l-mu); }
.w-cs-c .x { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink2); }
.w-cs-gv { position: sticky; top: 90px; display: grid; justify-items: center; gap: 2px; padding: 16px; border-radius: 14px; background: var(--l-s2); animation: w-fade .35s var(--l-ease) both; }
.w-cs-gv svg { width: 100%; max-width: 280px; }
.w-cs-gv .z { fill: none; stroke-width: 16; }
.w-cs-gv .z.bad { stroke: color-mix(in srgb, var(--l-neg) 70%, transparent); }
.w-cs-gv .z.mid { stroke: color-mix(in srgb, var(--l-warn) 75%, transparent); }
.w-cs-gv .z.ok { stroke: color-mix(in srgb, var(--l-pos) 75%, transparent); }
.w-cs-gv text { fill: var(--l-mu); font-size: 10px; }
.w-cs-gv .nd { stroke: var(--l-ink); stroke-width: 3.5; stroke-linecap: round; fill: var(--l-ink); }
.w-cs-gv .v { display: grid; justify-items: center; text-align: center; }
.w-cs-gv .v b { font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.w-cs-gv .v span { font-size: 14px; font-weight: 700; }
.w-cs-gv .v small { font-size: 12.5px; color: var(--l-mu); }
/* Days to Pay */
.w-dtp { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
.w-dtp > :is(.w-dtp-tg, .w-dtp-q, .w-deck-n) { grid-column: 1 / -1; }
.w-dtp-tg .w-seg17 button { font-size: 14px; padding: 7px 14px; }
.w-dtp-g { padding: 8px; border-radius: 14px; background: var(--l-s2); }
.w-dtp-g svg { display: block; width: 100%; height: auto; }
.w-dtp-g .zb.ok { fill: color-mix(in srgb, var(--l-pos) 11%, transparent); }
.w-dtp-g .zb.bad { fill: color-mix(in srgb, var(--l-neg) 11%, transparent); }
.w-dtp-g .gl { stroke: var(--l-line); stroke-width: 1; }
.w-dtp-g .gl.n30 { stroke: var(--l-mu); stroke-dasharray: 4 4; }
.w-dtp-g .ax { fill: var(--l-mu); font-size: 11px; }
.w-dtp-g .lb { fill: var(--l-mu); font-size: 11px; font-weight: 700; }
.w-dtp-g .dt { cursor: pointer; outline: none; }
.w-dtp-g .dt circle { fill: var(--l-s1); stroke: var(--l-acc); stroke-width: 2.5; transition: fill .2s; }
.w-dtp-g .dt.nf circle { stroke: var(--l-neg); stroke-dasharray: 5 3; }
.w-dtp-g .dt text { fill: var(--l-ink); font-size: 13px; font-weight: 800; pointer-events: none; }
.w-dtp-g .dt.on circle { fill: var(--l-acc); }
.w-dtp-g .dt.on text { fill: #fff; }
.w-dtp-g .dt:focus-visible circle { stroke-width: 4.5; }
.w-dtp-p { display: grid; gap: 10px; animation: w-fade .35s var(--l-ease) both; }
.w-dtp-p .hd { display: grid; gap: 2px; }
.w-dtp-p .hd b { font-size: 17px; }
.w-dtp-p .hd span { font-size: 13.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-dtp-p .fa { margin: 0; font-size: 13.5px; font-weight: 650; }
.w-dtp-p .fa.ok { color: var(--l-pos); }
.w-dtp-p .fa.no { color: var(--l-neg); }
.w-dtp-p .bar { position: relative; height: 14px; border-radius: 7px; background: var(--l-s2); }
.w-dtp-p .bar i { display: block; height: 100%; min-width: 8px; border-radius: 7px; background: var(--l-acc); transition: width .45s var(--l-ease); }
.w-dtp-p .bar s { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--l-mu); }
.w-dtp-p .lg { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 6px; font-size: 12.5px; color: var(--l-mu); font-variant-numeric: tabular-nums; }
.w-dtp-p .lg b { color: var(--l-ink); }
.w-dtp-q { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* пост трака */
.w-tpost { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; }
.w-tpost > .w-deck-n { grid-column: 1 / -1; }
.w-tpost-cm { display: flex; flex-wrap: wrap; gap: 6px; }
.w-tpost-cm button { padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--l-line2); background: transparent; color: var(--l-mu); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.w-tpost-cm button:hover { color: var(--l-ink); }
.w-tpost-cm button[aria-pressed="true"] { border-style: solid; border-color: var(--l-acc); background: var(--l-accb); color: var(--l-ink); }
.w-tpost-cm button[aria-pressed="true"]::before { content: '✓ '; color: var(--l-acc); }
.w-tpost-act { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.w-tpost-act button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--l-line2); background: var(--l-s1); color: var(--l-ink); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.w-tpost-act .bell svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.w-tpost-act .bell[aria-pressed="true"] { border-color: var(--l-warn); background: var(--l-warnb); color: var(--l-warn); }
.w-tpost-act .bell[aria-pressed="true"] svg { fill: currentColor; }
.w-tpost-act .tm { border-color: var(--l-acc); color: var(--l-acc); }
.w-tpost-act .tm:hover { background: var(--l-accb); }
.w-tpost-act .tm:disabled { opacity: .45; cursor: default; background: none; }
.w-tpost-v { display: grid; gap: 12px; align-content: start; }
.w-tpost-bv { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--l-s2); }
.w-tpost-bv .row { display: flex; flex-wrap: wrap; gap: 3px 12px; padding: 10px 12px; border-radius: 10px; background: var(--l-s1); border: 1px solid var(--l-line); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.w-tpost-bv .row em { flex-basis: 100%; font-style: normal; color: var(--l-ink2); }
.w-tpost-bv .sp { display: flex; align-items: center; gap: 10px; }
.w-tpost-bv .sp .bar { flex: 1; height: 8px; border-radius: 4px; background: var(--l-s3); overflow: hidden; }
.w-tpost-bv .sp .bar i { display: block; height: 100%; border-radius: 4px; background: var(--l-acc); transition: width .3s var(--l-ease); }
.w-tpost-bv .sp span { font-size: 12.5px; font-weight: 700; color: var(--l-mu); white-space: nowrap; }
.w-tpost-bv p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink2); }
.w-tpost-m .hd { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--l-s2); }
.w-tpost-m .hd b { font-size: 15px; }
.w-tpost-m .bdg { min-width: 22px; height: 22px; margin-left: auto; padding: 0 7px; border-radius: 11px; display: grid; place-items: center; background: var(--l-s3); color: var(--l-mu); font-size: 12px; font-weight: 800; }
.w-tpost-m .bdg.on { background: var(--l-pos); color: #fff; }
.w-tpost-m > div:not(.hd) { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-top: 1px solid var(--l-line); }
.w-tpost-m > div:not(.hd) span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-tpost-m .nw { background: color-mix(in srgb, var(--l-pos) 10%, transparent); animation: w-fade .4s var(--l-ease) both; }
.w-tpost-m .nw em { font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--l-pos); }
/* утро по шагам */
.w-seq { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.w-seq > .w-seq-out { grid-column: 1 / -1; }
.w-seq.fin > .w-seq-pool { display: none; }
.w-seq.fin > .w-seq-done { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.w-seq-pool { display: grid; gap: 8px; }
.w-seq-pool button { padding: 11px 14px; border-radius: 12px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 14.5px; line-height: 1.4; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.w-seq-pool button:hover { border-color: var(--l-acc); }
.w-seq-pool button.no { border-color: var(--l-neg); background: var(--l-negb); animation: w-shake17 .35s var(--l-ease); }
@keyframes w-shake17 { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.w-seq-done { list-style: none; counter-reset: sq; display: grid; gap: 8px; align-content: start; min-height: 64px; margin: 0; padding: 0; border-radius: 12px; }
.w-seq-done:empty { border: 1px dashed var(--l-line2); }
.w-seq-done li { counter-increment: sq; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid color-mix(in srgb, var(--l-pos) 45%, transparent); background: color-mix(in srgb, var(--l-pos) 9%, var(--l-s2)); font-size: 14.5px; line-height: 1.4; animation: w-fade .3s var(--l-ease) both; }
.w-seq-done li::before { content: counter(sq); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--l-pos); color: #fff; font-size: 13px; font-weight: 800; }
.w-seq-out { display: grid; gap: 10px; }
@media (max-width: 900px) {
  .w-srch, .w-dtp, .w-tpost, .w-seq, .w-cs-g { grid-template-columns: minmax(0, 1fr); }
  .w-cs-gv { position: static; order: -1; padding: 12px; }
  .w-cs-gv svg { max-width: 220px; }
  .w-seq-done:empty { display: none; }
  .w-seq.fin > .w-seq-done { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .w-srch, .w-res, .w-prep, .w-cs, .w-dtp, .w-tpost, .w-seq { padding: 16px; }
  .w-srch-t > div { grid-template-columns: 42px minmax(0, 1.3fr) minmax(0, 1fr) 50px; gap: 6px; padding: 7px 8px; font-size: 12.5px; }
  .w-srch-t > div > span:nth-child(4), .w-srch-t > div > span:nth-child(6) { display: none; }
  .w-res-t > .hd { display: none; }
  .w-res-t > button, .w-res-t.all > button { grid-template-columns: 40px minmax(0, 1.25fr) minmax(0, 1fr) 56px; grid-template-areas: "ag og ds rt" "ag tr cr dm"; gap: 2px 8px; padding: 8px 10px; font-size: 12.5px; }
  .w-res-t .og { white-space: normal; }
  .w-res-t.all > button { grid-template-areas: "ag og ds rt" "ag cr dm al"; }
  .w-res-t > button > span:nth-child(1) { grid-area: ag; align-self: start; }
  .w-res-t > button > span:nth-child(2) { grid-area: rt; text-align: right; }
  .w-res-t > button > span:nth-child(3) { grid-area: tr; color: var(--l-mu); }
  .w-res-t > button > span:nth-child(4) { grid-area: og; }
  .w-res-t > button > span:nth-child(5) { grid-area: ds; }
  .w-res-t > button > span:nth-child(5)::before { content: '→ '; color: var(--l-mu); }
  .w-res-t > button > span:nth-child(6) { display: none; }
  .w-res-t > button > span:nth-child(7) { grid-area: cr; }
  .w-res-t > button > span:nth-child(8) { grid-area: dm; color: var(--l-mu); }
  .w-res-t > button > span:nth-child(9) { grid-area: al; text-align: right; }
  .w-res-t.all > button > span:nth-child(3) { display: none; }
  .w-res-t > button:not(.all) > span:nth-child(8) { text-align: right; }
  .w-prep-r { grid-template-columns: minmax(0, 1fr); }
  .w-dtp-q { grid-template-columns: minmax(0, 1fr); }
  .w-dtp-g { padding: 4px; }
}
/* урок 18: задание практикума (.w-task) и итог десяти заданий (.w-tsum) */
.w-task { padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); display: grid; gap: 14px; }
.w-task > .w-deck-n { margin: 0; }
.w-task-in, .w-task-out { display: grid; gap: 12px; min-width: 0; }
.w-task-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.w-task-k { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--l-accb); color: var(--l-acc); }
.w-task-k.k1 { background: var(--l-vib); color: var(--l-vi); }
.w-task-k.k2 { background: var(--l-negb); color: var(--l-neg); }
.w-task-k.k3 { background: var(--l-posb); color: var(--l-pos); }
.w-task-n { font-size: 12.5px; font-weight: 650; color: var(--l-mu); }
.w-task-ok { margin-left: auto; font-size: 12.5px; font-weight: 750; color: var(--l-pos); }
.w-task-s { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--l-ink); }
.w-task-tr { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.w-task-tr li { padding: 5px 10px; border-radius: 8px; background: var(--l-s2); border: 1px solid var(--l-line); font-size: 13px; font-weight: 600; color: var(--l-ink2); font-variant-numeric: tabular-nums; }
.w-task-h { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--l-vib); font-size: 13.5px; color: var(--l-ink2); }
.w-task-t { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: 12px; border: 1px solid var(--l-line); overflow: hidden; font-size: 13px; font-variant-numeric: tabular-nums; }
.w-task-t > .q { padding: 7px 12px; background: var(--l-s2); border-bottom: 1px solid var(--l-line); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; color: var(--l-mu); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-task-t > .hd, .w-task-row { display: grid; gap: 8px; padding: 8px 12px; align-items: center; }
.w-task-t > .hd { background: var(--l-s2); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--l-mu); }
.w-task-t > .hd span, .w-task-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-task-row { border: 0; border-top: 1px solid var(--l-line); background: transparent; color: var(--l-ink); font: inherit; font-size: 13px; text-align: left; transition: background .15s, box-shadow .15s; }
button.w-task-row { cursor: pointer; }
button.w-task-row:hover { background: var(--l-s2); }
.w-task-row.on { background: var(--l-accb); box-shadow: inset 3px 0 0 var(--l-acc); }
.w-task-row.on.ok { background: var(--l-posb); box-shadow: inset 3px 0 0 var(--l-pos); }
.w-task-row.on.no { background: var(--l-negb); box-shadow: inset 3px 0 0 var(--l-neg); }
.w-task-row.ok:not(.on) { box-shadow: inset 3px 0 0 var(--l-pos); }
.w-task-row.no:not(.on) { box-shadow: inset 3px 0 0 var(--l-neg); }
.w-task-row > small.x { grid-column: 1 / -1; margin-top: -2px; font-size: 12px; color: var(--l-mu); white-space: normal; }
.w-task-row i { font-style: normal; color: var(--l-mu); }
.w-task-row .ag { color: var(--l-acc); font-weight: 650; }
.w-task-row .rt { font-weight: 750; }
.w-task-row > .og, .w-task-row > .ds { white-space: normal; overflow-wrap: anywhere; }
.w-task-row .og.nm { font-weight: 700; }
.w-task-row .al { font-weight: 750; }
.w-task-row .al.up { color: var(--l-pos); }
.w-task-row .al.dn { color: var(--l-neg); }
.w-task-row .cr.mid { color: var(--l-warn); }
.w-task-row .cr.bad { color: var(--l-neg); }
.w-task-row .iv { overflow: visible; }
.w-task-row .iv input { width: 100%; box-sizing: border-box; padding: 6px 9px; border-radius: 8px; border: 1px solid var(--l-line2); background: var(--l-s2); color: var(--l-ink); font: inherit; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.w-task-row .iv input:focus { outline: none; border-color: var(--l-acc); box-shadow: 0 0 0 3px var(--l-accb); }
.w-task-row .iv input.ok { border-color: var(--l-pos); background: var(--l-posb); }
.w-task-row .iv input.no { border-color: var(--l-neg); background: var(--l-negb); }
.w-task-row .iv.ok { font-size: 14px; font-weight: 800; color: var(--l-pos); }
.w-task-row .ct { overflow: visible; justify-self: end; }
.w-task-row .ct .w-seg17 button { padding: 5px 9px; font-size: 12.5px; }
.w-task-act { display: flex; flex-wrap: wrap; gap: 8px; }
.w-task-btn { padding: 9px 18px; border-radius: 10px; border: 1px solid var(--l-acc); background: var(--l-acc); color: var(--l-acc-ink); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; transition: opacity .2s, background .2s; }
.w-task-btn.sec { background: transparent; color: var(--l-acc); }
.w-task-btn:disabled { opacity: .4; cursor: default; }
.w-task-p { display: grid; gap: 6px; padding: 10px 14px; border-radius: 12px; background: var(--l-s2); animation: w-fade .35s var(--l-ease) both; }
.w-task-p > b { font-size: 15px; }
.w-task-p ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13.5px; }
.w-task-p li { display: flex; gap: 8px; align-items: baseline; color: var(--l-ink2); }
.w-task-p li::before { content: '✓'; flex: none; width: 16px; font-weight: 800; color: var(--l-pos); }
.w-task-p li.n { color: var(--l-ink); }
.w-task-p li.n::before { content: '✕'; color: var(--l-neg); }
.w-task-q { display: grid; gap: 8px; padding-top: 4px; }
.w-task-again { justify-self: start; }
.w-task-lf { justify-self: start; display: grid; gap: 1px; padding: 9px 14px 9px 40px; border-radius: 12px; border: 1px dashed var(--l-line2); color: var(--l-ink); text-decoration: none; position: relative; transition: border-color .2s; }
.w-task-lf::before { content: '🔎'; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); font-size: 16px; }
.w-task-lf:hover { border-color: var(--l-acc); }
.w-task-lf small { font-size: 11.5px; color: var(--l-mu); }
.w-task-lf b { font-size: 14px; }
.w-tsum { display: grid; gap: 14px; padding: 22px; border-radius: var(--l-r2); background: var(--l-s1); border: 1px solid var(--l-line); }
.w-tsum-hd { display: grid; gap: 8px; }
.w-tsum-hd b { font-size: 18px; }
.w-tsum-hd .bar { height: 8px; border-radius: 4px; background: var(--l-s3); overflow: hidden; }
.w-tsum-hd .bar i { display: block; height: 100%; border-radius: 4px; background: var(--l-pos); transition: width .5s var(--l-ease); }
.w-tsum-l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.w-tsum-r { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--l-line); background: var(--l-s2); color: var(--l-ink); text-decoration: none; transition: border-color .2s; }
.w-tsum-r:hover { border-color: var(--l-acc); }
.w-tsum-r i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--l-s3); font-style: normal; font-size: 13px; font-weight: 800; color: var(--l-mu); }
.w-tsum-r.on { border-color: color-mix(in srgb, var(--l-pos) 45%, transparent); }
.w-tsum-r.on i { background: var(--l-pos); color: #fff; }
.w-tsum-r span { display: grid; min-width: 0; }
.w-tsum-r b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-tsum-r small { font-size: 12px; color: var(--l-mu); }
.w-tsum-r em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--l-acc); }
.w-tsum-r.on em { color: var(--l-pos); font-size: 16px; }
@media (max-width: 900px) {
  .w-tsum-l { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .w-task, .w-tsum { padding: 16px; }
  .w-task-t > .hd { display: none; }
  .w-task-row { display: flex !important; flex-wrap: wrap; gap: 3px 12px; padding: 10px 12px; }
  .w-task-row > span { flex: none; max-width: 100%; }
  .w-task-row > span[data-l]:not([data-l=""])::before { content: attr(data-l) ' '; font-size: 10.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--l-mu); }
  .w-task-row > .og, .w-task-row > .ds { font-size: 14px; font-weight: 650; }
  .w-task-row > .og { order: -2; }
  .w-task-row > .ds { order: -1; flex: 1 1 auto; }
  .w-task-row > .ag { order: -3; }
  .w-task-row > .iv, .w-task-row > .ct { flex: 1 0 100%; justify-self: stretch; display: flex; align-items: center; gap: 10px; }
  .w-task-row > .iv input { max-width: 160px; }
  .w-task-row > small.x { flex: 1 0 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .l2 *, .l2 *::before, .l2 *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .l-js .rv { opacity: 1; transform: none; }
  html.l-js { scroll-behavior: auto; }
}
@media print {
  .l-js .rv { opacity: 1 !important; transform: none !important; }
  .l-cover, .l-side, .l-mbar, #nav-placeholder, .l-step:not(#cheat), .l-cheat-act, .l-next, .assistant-widget { display: none !important; }
  body.c2.l2 { background: #fff; color: #000; }
  .l-shell { display: block; padding: 0; }
  #cheat { padding: 0; }
  .l-cheat p { color: #222; }
}

/* ══════════ МИНИАТЮРЫ ВИДЕО В БОКОВОМ МЕНЮ (с 29.10.2026) ══════════
   компактная сетка по 4 иконки в ряд над шагами; нажатие прокручивает к видео и запускает его (js/course2-lesson.js) */
.l-vids { display: grid; grid-template-columns: repeat(4, 42px); gap: 4px; margin: 0 0 12px; }
.l-th { position: relative; display: block; min-width: 0; padding: 0; border: 1px solid var(--l-line2); border-radius: 5px; overflow: hidden; background: #070b14; cursor: pointer; aspect-ratio: 16 / 9;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--l-ease); }
.l-th img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7) saturate(.85); transition: transform .3s var(--l-ease), filter .2s; }
.l-th b { position: absolute; left: 3px; bottom: 1px; font-size: 9.5px; font-weight: 800; line-height: 1; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.9); font-variant-numeric: tabular-nums; }
.l-th:hover, .l-th:focus-visible { border-color: var(--l-acc); transform: translateY(-1px); }
.l-th:hover img, .l-th:focus-visible img { filter: none; transform: scale(1.08); }
.l-th:focus-visible { outline: 2px solid var(--l-acc); outline-offset: 2px; }
.l-th.is-cur { border-color: var(--l-acc); box-shadow: 0 0 0 2px var(--l-accb); }
.l-th.is-cur img { filter: none; }
.l-th.is-seen::after { content: '✓'; position: absolute; right: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--l-pos); color: #04161b; font-size: 8px; font-weight: 900; line-height: 11px; text-align: center; }
.l-th.is-on { border-color: var(--l-acc); box-shadow: 0 0 0 2px var(--l-acc); }
.l-th.is-on img { filter: none; }
.l-th.is-on::before { content: ''; position: absolute; right: 4px; bottom: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--l-acc); animation: l-th-pulse 1.2s ease-in-out infinite; }
@keyframes l-th-pulse { 50% { opacity: .35; } }
@media (max-width: 1180px) {
  .l-mbar-menu .l-vids { margin: 8px 8px 10px; grid-template-columns: repeat(auto-fill, 42px); }
}
@media (prefers-reduced-motion: reduce) { .l-th, .l-th img { transition: none; } .l-th.is-on::before { animation: none; } }
html[data-theme="light"] .l-th img { filter: brightness(.9); }
html[data-theme="light"] .l-th:hover img, html[data-theme="light"] .l-th.is-cur img, html[data-theme="light"] .l-th.is-on img { filter: none; }
@media print { .l-vids { display: none !important; } }
