/* v5: правки по прогону 11.11.2026 (вторая запись). */

/* Схема: сюжет «от малого к большому» */
.eco.is-story .eco-svg { overflow: visible; }
.eco.is-story .eco-canvas { transform-origin: 880px 400px; transition: transform 1100ms var(--ease-out); }
.eco.is-story.st-wide .eco-canvas { transform: scale(.6); }
.eco.is-story.is-build .node { transition: opacity 600ms var(--ease-out), transform 1000ms var(--ease-out), background-color var(--dur-fast) ease; }
.eco.is-story.st-list .node.in-list { transform: translate(var(--lx), var(--ly)); width: 400px !important; min-height: 112px !important; transition-delay: calc(var(--li) * 50ms); }
.eco.is-story.is-build .node.in-list { transition-property: opacity, transform, width, min-height, background-color; }
.eco.is-story.st-list .eco-legend, .eco.is-story.st-list .eco-bar { opacity: 0; }
.eco.is-story .eco-legend { transition: opacity 500ms var(--ease-out); }
.eco .ghost { position: absolute; border-radius: 22px; border: 3px dashed rgb(131 168 227 / .5); background: rgb(131 168 227 / .05); opacity: 0; transform: scale(.85); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: 0ms; pointer-events: none; }
.eco .ghost::after { content: '+'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 300; color: rgb(131 168 227 / .7); }
.eco.st-wide .ghost { opacity: 1; transform: none; transition-delay: calc(700ms + var(--k) * 30ms); }
.eco .ghost-line { stroke: rgb(131 168 227 / .35); stroke-width: 3; stroke-dasharray: 8 10; fill: none; opacity: 0; transition: opacity 500ms var(--ease-out); }
.eco.st-wide .ghost-line { opacity: 1; transition-delay: calc(700ms + var(--k) * 30ms); }
.s-eco .eco-cap { position: absolute; left: 80px; right: 80px; bottom: 56px; text-align: center; font-size: 30px; color: var(--text); z-index: 3; }
.s-eco .eco-cap b { color: var(--ok); font-weight: 600; }
.node .n-ltitle { display: none; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
.eco.st-list .node .n-ltitle { display: block; }
.eco.st-list .node[data-id="plan"] .n-title, .eco.st-list .node[data-id="pres"] .n-title, .eco.st-list .node[data-id="plan"] .n-items { display: none; }
.eco.is-story.st-wide .eco-legend, .eco.is-story.st-wide .eco-bar { opacity: 0; pointer-events: none; }
.eco.is-story .eco-bar { transition: opacity 500ms var(--ease-out); }

/* Эффект: третья строка без часов */
.effect3 .kpi .v.v-word { font-size: 56px; letter-spacing: -0.03em; }

/* Рутина: справки */
.rout5 .rout-stage { height: 760px; transition: transform 700ms var(--ease-out); transform-origin: 50% 0; }
.rout5:has(.sprav.is-shown) .rout-stage { transform: scale(.66) translateY(-20px); }
.sprav { position: absolute; left: 0; right: 0; top: 540px; }
.sprav-h { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-size: var(--fs-s); color: var(--text-2); }
.sprav-h b { font-size: var(--fs-l); color: var(--ok); letter-spacing: -0.02em; }
.sprav-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px; }
.sprav-c { background: var(--surface); border-radius: var(--r-l); padding: 16px 16px 20px; box-shadow: inset 0 0 0 2px var(--ok); }
.sprav-ph { height: 120px; border-radius: var(--r-s); border: 2px dashed var(--line); display: grid; place-items: center; }
.sprav-c b { display: block; margin-top: 14px; font-size: var(--fs-b); }

/* Ритмичность: сначала общий график */
.rh7 { position: relative; }
.rh7 .rh-over { position: absolute; left: 0; right: 0; top: 36px; z-index: 2; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); transform-origin: 30% 30%; }
.rh7 .rh-over .shot { width: 1320px; }
.rh-over-cap { margin-top: 18px; font-size: var(--fs-b); display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.rh7:has(.rh-go.is-shown) .rh-over { opacity: 0; transform: scale(.55); pointer-events: none; }
.rh7:not(:has(.rh-go.is-shown)) .rh { opacity: 0; }
.rh7 .rh { transition: opacity 500ms var(--ease-out) 250ms; }
.rh-goal { font-size: var(--fs-s); color: var(--text-2); line-height: 1.35; background: var(--surface); border-radius: var(--r-l); padding: 20px 24px; box-shadow: inset 0 0 0 2px var(--ok); }
.rh-goal b { display: block; font-size: var(--fs-l); color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; }
.rh7 .rh-avg { font-size: var(--fs-b); }

/* Стан: воскресенья — не ошибка планирования */
.cal-why .warn-c { box-shadow: inset 0 0 0 2px var(--warn); }

/* КПЭ: три этапа */
.kpt { display: grid; grid-template-columns: 340px 1fr; gap: 48px; margin-top: 64px; align-items: stretch; }
.kpt-base { background: var(--surface); border-radius: var(--r-l); padding: 32px; display: flex; flex-direction: column; justify-content: center; font-size: var(--fs-b); color: var(--text-2); line-height: 1.3; }
.kpt-base b { font-size: 96px; color: var(--text); letter-spacing: -0.04em; line-height: 1; margin-bottom: 12px; }
.kpt-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kpt-st { background: var(--surface); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.kpt-st .when { font-size: var(--fs-s); color: var(--flow); font-weight: 600; }
.kpt-st h3 { font-size: 36px; letter-spacing: -0.02em; line-height: 1.1; }
.kpt-st .muted { font-size: var(--fs-s); line-height: 1.35; }
.kpt-st.fin { box-shadow: inset 0 0 0 2px var(--ok); }
.kpt-th { display: flex; gap: 10px; margin: 6px 0; }
.kpt-th span { font-size: 32px; font-weight: 600; background: var(--surface-2); border-radius: var(--r-s); padding: 6px 14px; }
.kpt-chain { margin-top: 48px; }

/* Команда и амбассадоры */
.team5 { display: grid; grid-template-columns: 820px 1fr; gap: 72px; margin-top: 48px; }
.team5 .date-big { font-size: 150px; }
.team5 .date-big small { margin-top: 16px; }
.team5 .crew.big { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.team5 .crew.big .av { width: 96px; height: 96px; font-size: 36px; }
.team5 .crew.big b { font-size: 22px; }
.path.compact { grid-template-columns: repeat(3, 1fr); margin-top: 40px; gap: 28px; }
.path.compact .pt h3 { font-size: 34px; }
.path.compact .pt p { font-size: var(--fs-s); }
.team5-sum { margin-top: 56px; background: var(--surface); border-radius: var(--r-l); padding: 28px 32px; font-size: var(--fs-b); color: var(--text-2); box-shadow: inset 0 0 0 2px var(--ok); }
.team5-sum b { display: block; font-size: 48px; color: var(--text); letter-spacing: -0.02em; margin-bottom: 6px; }

/* Open WebUI: галочки вместо крестиков */
.strike.checks li .x.ok { color: var(--ok); }
.facts.three { grid-template-columns: repeat(3, 1fr); }
.ow.ow5 { grid-template-columns: 700px 1fr; }

/* Проекты: готовность и срок на каждом слайде */
.pstat { display: flex; gap: 16px; margin-top: 28px; }
.pstat > span { background: var(--surface); border-radius: var(--r-l); padding: 16px 22px; font-size: var(--fs-s); color: var(--text-2); display: flex; flex-direction: column; gap: 4px; min-width: 200px; position: relative; overflow: hidden; }
.pstat b { font-size: 34px; color: var(--text); letter-spacing: -0.02em; line-height: 1.1; }
.pstat-pct i { position: absolute; left: 0; bottom: 0; height: 6px; width: var(--p); background: var(--st-c, var(--ok)); }
.pstat-pct.st-ok { --st-c: var(--ok); } .pstat-pct.st-warn { --st-c: var(--warn); } .pstat-pct.st-plan { --st-c: var(--plan); }
.pstat-pct.st-ok b { color: var(--ok); } .pstat-pct.st-warn b { color: var(--warn); } .pstat-pct.st-plan b { color: var(--plan); }
.pstat-due { flex: 1; }
.pstat-due b { white-space: nowrap; }
.proj dl { margin-top: 28px; gap: 18px; }
.proj { grid-template-columns: 700px 1fr; gap: 56px; }
.proj h2 { font-size: 56px; line-height: 1.05; }
.proj dd { font-size: 25px; line-height: 1.3; }
.proj .feeds { margin-top: 14px; }

/* Следующие проекты */
.nxt { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; margin-top: 48px; }
.nxt-c { background: var(--surface); border-radius: var(--r-l); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 16px; }
.nxt-c.main { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--ok); }
.nxt-c h3 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.1; }
.nxt-c p { font-size: 23px; line-height: 1.35; color: var(--text-2); }
.nxt-c p b { display: block; font-size: 19px; color: var(--flow); font-weight: 600; margin-bottom: 4px; }
.nxt-c .nxt-e { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--text); }
.nxt-c .nxt-e b { color: var(--ok); }

/* Запрос: три пункта */
.asks.three { grid-template-columns: 1.25fr 1fr 1fr; gap: 24px; margin-top: 72px; }
.asks.three .ask { grid-template-columns: 56px 1fr; padding: 36px; min-height: 420px; align-content: start; }
.asks.three .ask .k { font-size: 52px; }
.asks.three .ask h3 { font-size: 38px; }
.ask .ask-why { font-size: 22px; color: var(--text); background: rgb(255 255 255 / .06); border-radius: var(--r-s); padding: 14px 16px; margin-top: 18px; }
.pstat { flex-wrap: wrap; }
.pstat .pstat-x { flex-basis: 100%; flex-direction: row; align-items: baseline; gap: 14px; }
