/* Интерактивные схемы курса «MBA в медицине». */
.mba-viz {
  --mba-ink: #102c3c;
  --mba-navy: #163d56;
  --mba-emerald: #287e72;
  --mba-gold: #c89a4d;
  --mba-red: #b8625d;
  --mba-paper: #f5f7f6;
  margin: 30px 0 36px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #d8e1df;
  border-radius: 22px;
  background: radial-gradient(circle at 95% 0, #dce9e5 0, transparent 34%), linear-gradient(145deg, #fafbf9, #eff4f2);
  box-shadow: 0 22px 48px -40px #163d56;
  color: var(--mba-ink);
}
.mba-viz figcaption { display: grid; gap: 6px; margin-bottom: 22px; }
.mba-viz__eyebrow { color: var(--mba-emerald); font: 700 .72rem/1.3 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.mba-viz__title { font: 600 clamp(1.28rem, 2.5vw, 1.75rem)/1.16 var(--serif); }
.mba-viz__hint { max-width: 66em; color: #5f7379; font: 400 .88rem/1.45 var(--sans); }
.mba-viz button, .mba-viz input { font-family: var(--sans); }
.mba-viz button { cursor: pointer; }
.mba-viz button:focus-visible, .mba-viz input:focus-visible { outline: 3px solid #e3bd77; outline-offset: 3px; }
.mba-viz__panel { margin-top: 14px; padding: 17px 19px; border-radius: 14px; background: var(--mba-ink); color: #fff; }
.mba-viz__panel b { display: block; color: #f3ce86; font: 700 .72rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mba-viz__panel strong { display: block; margin-top: 7px; font: 600 1.12rem/1.2 var(--serif); }
.mba-viz__panel p { margin: 6px 0 0 !important; font: 400 .86rem/1.45 var(--sans) !important; }
.mba-viz__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mba-viz__chip { padding: 8px 12px; border: 1px solid #cbd9d6; border-radius: 999px; background: #fff; color: var(--mba-ink); font-size: .78rem; font-weight: 700; }
.mba-viz__chip[aria-pressed="true"] { border-color: var(--mba-ink); background: var(--mba-ink); color: #fff; }
.mba-viz__note { margin: 16px 0 0 !important; color: #62777d; font: 400 .77rem/1.4 var(--sans) !important; }

/* 7S. */
.mba-7s { display: grid; grid-template-columns: minmax(250px, 330px) minmax(0, 1fr); align-items: center; gap: 24px; }
.mba-7s__map { position: relative; min-height: 330px; }
.mba-7s__core { position: absolute; inset: 34% 31%; display: grid; place-content: center; border-radius: 50%; background: var(--mba-ink); color: #fff; text-align: center; box-shadow: 0 14px 28px -20px #102c3c; }
.mba-7s__core b { font: 600 2rem/1 var(--serif); }
.mba-7s__core small { margin-top: 4px; font: 600 .54rem/1.2 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.mba-7s__item { position: absolute; width: 104px; min-height: 58px; padding: 8px; border: 1px solid #cedbd8; border-radius: 14px; background: #fff; color: var(--mba-ink); font-size: .73rem; font-weight: 700; box-shadow: 0 10px 22px -20px #102c3c; }
.mba-7s__item[aria-pressed="true"] { border-color: var(--mba-emerald); background: var(--mba-emerald); color: #fff; }
.mba-7s__item:nth-child(2) { top: 0; left: calc(50% - 52px); }
.mba-7s__item:nth-child(3) { top: 16%; right: 0; }
.mba-7s__item:nth-child(4) { top: 52%; right: 0; }
.mba-7s__item:nth-child(5) { bottom: 0; right: 5%; }
.mba-7s__item:nth-child(6) { bottom: 0; left: 5%; }
.mba-7s__item:nth-child(7) { top: 52%; left: 0; }
.mba-7s__item:nth-child(8) { top: 16%; left: 0; }
.mba-7s__detail { min-height: 225px; padding: 22px; border: 1px solid #d6e1df; border-radius: 17px; background: #fff; }
.mba-7s__detail small { color: var(--mba-emerald); font: 700 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.mba-7s__detail h3 { margin: 7px 0 10px !important; font: 600 1.35rem/1.2 var(--serif) !important; }
.mba-7s__detail p { margin: 0 0 9px !important; font: 400 .88rem/1.45 var(--sans) !important; }

/* Портфель. */
.mba-matrix { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; }
.mba-controls { display: grid; gap: 12px; }
.mba-range { display: block; padding: 14px; border: 1px solid #d4dfdc; border-radius: 14px; background: #fff; }
.mba-range span { display: flex; justify-content: space-between; gap: 10px; font: 600 .78rem/1.3 var(--sans); }
.mba-range output { color: var(--mba-emerald); font-weight: 800; }
.mba-range input { width: 100%; margin-top: 13px; accent-color: var(--mba-emerald); }
.mba-matrix__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 92px); border: 1px solid #cad8d5; border-radius: 16px; overflow: hidden; background: #fff; }
.mba-matrix__cell { padding: 9px; border-right: 1px solid #dce5e3; border-bottom: 1px solid #dce5e3; color: #698087; font: 600 .66rem/1.25 var(--sans); }
.mba-matrix__cell:nth-child(3n) { border-right: 0; }
.mba-matrix__cell:nth-child(n+7) { border-bottom: 0; }
.mba-matrix__cell.is-grow { background: #e7f3ee; }
.mba-matrix__cell.is-select { background: #f7f1df; }
.mba-matrix__cell.is-exit { background: #f5e9e7; }
.mba-matrix__dot { position: absolute; left: 50%; bottom: 50%; width: 22px; height: 22px; border: 5px solid #fff; border-radius: 50%; background: var(--mba-gold); box-shadow: 0 3px 13px #173c5380; transform: translate(-50%, 50%); transition: left .2s, bottom .2s; }
.mba-matrix__axis { display: flex; justify-content: space-between; margin-top: 7px; color: #687d83; font: 600 .67rem/1.2 var(--sans); }

/* Стратегическая карта. */
.mba-strategy { display: grid; gap: 8px; }
.mba-strategy__layer { display: grid; grid-template-columns: 130px repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.mba-strategy__name { display: grid; place-content: center start; padding: 12px; border-radius: 12px; background: #dfeae7; color: var(--mba-navy); font: 700 .75rem/1.25 var(--sans); }
.mba-strategy__node { padding: 13px 14px; border: 1px solid #d1ddda; border-radius: 12px; background: #fff; color: var(--mba-ink); text-align: left; font-size: .78rem; font-weight: 600; }
.mba-strategy__node[aria-pressed="true"] { border-color: var(--mba-gold); background: #fff8e8; box-shadow: inset 0 0 0 2px #dfb66c; }
.mba-strategy__arrow { height: 13px; margin-left: 64px; border-left: 2px solid #94aaa5; }

/* Рост структуры от кабинета до группы. */
.mba-growth__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; }
.mba-growth__step { position: relative; min-height: 105px; padding: 13px 10px; border: 1px solid #d1ddda; border-radius: 13px; background: #fff; color: var(--mba-ink); text-align: left; }
.mba-growth__step::after { content: '›'; position: absolute; top: 39%; right: -8px; z-index: 2; color: var(--mba-gold); font-size: 1.4rem; }
.mba-growth__step:last-child::after { display: none; }
.mba-growth__step[aria-pressed="true"] { border-color: var(--mba-emerald); background: #e9f3ef; box-shadow: inset 0 0 0 2px var(--mba-emerald); }
.mba-growth__step small { display: block; color: var(--mba-emerald); font: 700 .65rem/1.2 var(--sans); letter-spacing: .08em; }
.mba-growth__step b { display: block; margin-top: 8px; overflow-wrap: anywhere; hyphens: auto; font: 600 .88rem/1.2 var(--serif); }
.mba-growth__step span { display: block; margin-top: 7px; overflow-wrap: anywhere; color: #6a7f84; font: 400 .68rem/1.3 var(--sans); }
.mba-growth__body { display: grid; grid-template-columns: minmax(230px, .85fr) minmax(0, 1.15fr); gap: 13px; margin-top: 14px; }
.mba-growth__org { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-content: center; gap: 8px; min-height: 230px; padding: 20px; border: 1px solid #d4dfdc; border-radius: 15px; background: #fff; }
.mba-growth__org::before { content: ''; position: absolute; top: 50%; left: 12%; right: 12%; height: 2px; background: #bfd0cc; }
.mba-growth__node { position: relative; z-index: 1; display: grid; place-content: center; min-height: 44px; padding: 7px; border: 1px solid #c9d8d4; border-radius: 10px; background: #f7faf9; color: var(--mba-ink); text-align: center; font: 700 .64rem/1.2 var(--sans); }
.mba-growth__node.is-chief { grid-column: 1 / -1; justify-self: center; width: 120px; border-color: var(--mba-navy); background: var(--mba-navy); color: #fff; }
.mba-growth__node.is-center { border-color: #d1ab64; background: #fff7e7; }
.mba-growth__detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mba-growth__fact { padding: 14px; border: 1px solid #d4dfdc; border-radius: 13px; background: #fff; }
.mba-growth__fact small { display: block; color: #6a8085; font: 700 .63rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mba-growth__fact b { display: block; margin-top: 7px; font: 600 .87rem/1.3 var(--serif); }
.mba-growth__signal { grid-column: 1 / -1; padding: 15px 17px; border-radius: 13px; background: var(--mba-ink); color: #fff; }
.mba-growth__signal small { color: #f0c979; font: 700 .65rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mba-growth__signal b { display: block; margin-top: 7px; font: 600 1rem/1.3 var(--serif); }

/* Путь пациента. */
.mba-journey { overflow-x: auto; padding-bottom: 5px; }
.mba-journey__track { display: grid; grid-template-columns: repeat(7, minmax(115px, 1fr)); min-width: 805px; gap: 7px; }
.mba-journey__stage { position: relative; min-height: 112px; padding: 13px 11px; border: 1px solid #d2dedb; border-radius: 13px; background: #fff; color: var(--mba-ink); text-align: left; }
.mba-journey__stage::after { content: '›'; position: absolute; top: 42%; right: -8px; z-index: 2; color: var(--mba-gold); font-size: 1.5rem; }
.mba-journey__stage:last-child::after { display: none; }
.mba-journey__stage[aria-pressed="true"] { border-color: var(--mba-emerald); background: #e8f3ef; box-shadow: inset 0 0 0 2px var(--mba-emerald); }
.mba-journey__stage small { display: block; color: #71858a; font: 700 .66rem/1.2 var(--sans); }
.mba-journey__stage b { display: block; margin-top: 9px; font: 600 .87rem/1.23 var(--serif); }
.mba-journey__stage i { display: block; height: 6px; margin-top: 14px; border-radius: 9px; background: #d5e1df; }
.mba-journey__stage.is-loss i { background: var(--mba-red); }

/* Мощность и узкое место. */
.mba-capacity__controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mba-capacity__flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 17px; }
.mba-capacity__station { position: relative; padding: 16px; border: 1px solid #d2dedb; border-radius: 14px; background: #fff; text-align: center; }
.mba-capacity__station::after { content: '→'; position: absolute; top: 42%; right: -14px; z-index: 2; color: var(--mba-gold); font-weight: 800; }
.mba-capacity__station:last-child::after { display: none; }
.mba-capacity__station.is-limit { border-color: var(--mba-red); box-shadow: inset 0 0 0 2px var(--mba-red); }
.mba-capacity__station small { display: block; color: #688087; font: 600 .68rem/1.2 var(--sans); }
.mba-capacity__station b { display: block; margin-top: 7px; font: 600 1.45rem/1 var(--serif); }
.mba-capacity__queue { display: flex; justify-content: center; gap: 4px; min-height: 18px; margin-top: 12px; }
.mba-capacity__queue i { width: 10px; height: 16px; border-radius: 5px 5px 3px 3px; background: #d4a45d; }

/* Три отчёта. */
.mba-reports { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.mba-report { min-height: 160px; padding: 17px; border: 1px solid #d3dfdc; border-radius: 15px; background: #fff; }
.mba-report.is-active { border-color: var(--mba-emerald); background: #f1f8f5; }
.mba-report small { color: #698087; font: 700 .67rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mba-report b { display: block; margin-top: 8px; font: 600 1.05rem/1.2 var(--serif); }
.mba-report strong { display: block; margin-top: 16px; color: var(--mba-emerald); font: 700 .9rem/1.3 var(--sans); }
.mba-report p { margin: 7px 0 0 !important; color: #60767c; font: 400 .78rem/1.4 var(--sans) !important; }

/* Инвестиционный график. */
.mba-invest { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 20px; }
.mba-invest__chart { display: flex; align-items: stretch; min-height: 230px; padding: 12px 10px 27px; border-left: 1px solid #9eb0ac; border-bottom: 1px solid #9eb0ac; background: repeating-linear-gradient(0deg, transparent 0 44px, #dce5e250 44px 45px); }
.mba-invest__bars { display: flex; flex: 1; align-items: center; justify-content: space-around; gap: 7px; }
.mba-invest__bar { position: relative; display: flex; flex: 1; align-items: center; flex-direction: column; height: 100%; justify-content: center; color: #61777d; font: 600 .66rem/1 var(--sans); }
.mba-invest__bar i { display: block; width: min(34px, 82%); height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(#53a18f, #24776d); transition: height .2s; }
.mba-invest__bar.is-negative i { background: linear-gradient(#d28b72, #ae5f59); transform: translateY(50%); }
.mba-invest__bar span { position: absolute; bottom: -18px; }
.mba-invest__result { margin-top: 10px; padding: 15px; border-radius: 13px; background: var(--mba-ink); color: #fff; }
.mba-invest__result b { display: block; font: 600 1.22rem/1.1 var(--serif); }
.mba-invest__result span { display: block; margin-top: 6px; color: #bfd2cd; font: 600 .76rem/1.35 var(--sans); }
.mba-invest__result.is-bad { background: #713f43; }

/* Дерево решений. */
.mba-decision { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 20px; align-items: center; }
.mba-decision__tree { display: grid; grid-template-columns: 120px 38px minmax(0, 1fr); align-items: center; gap: 8px; }
.mba-decision__root { padding: 17px 12px; border-radius: 13px; background: var(--mba-ink); color: #fff; text-align: center; font: 700 .78rem/1.3 var(--sans); }
.mba-decision__fork { color: var(--mba-gold); font: 700 1.8rem/1 var(--serif); text-align: center; }
.mba-decision__options { display: grid; gap: 8px; }
.mba-decision__option { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 13px; border: 1px solid #d2dfdb; border-radius: 12px; background: #fff; }
.mba-decision__option.is-best { border-color: var(--mba-emerald); background: #edf7f3; box-shadow: inset 0 0 0 2px var(--mba-emerald); }
.mba-decision__option b { font: 600 .82rem/1.25 var(--sans); }
.mba-decision__option strong { color: var(--mba-emerald); font: 700 .85rem/1.2 var(--sans); }
.mba-decision__option small { grid-column: 1 / -1; color: #657b81; font: 400 .71rem/1.35 var(--sans); }

/* Гант. */
.mba-gantt { overflow-x: auto; padding-bottom: 6px; }
.mba-gantt__board { min-width: 760px; }
.mba-gantt__scale, .mba-gantt__row { display: grid; grid-template-columns: 150px repeat(13, 1fr); gap: 2px; align-items: center; }
.mba-gantt__scale { color: #6a8086; font: 600 .65rem/1 var(--sans); }
.mba-gantt__scale span:not(:first-child) { text-align: center; }
.mba-gantt__row { min-height: 38px; border-top: 1px solid #e0e7e5; }
.mba-gantt__row > b { padding-right: 8px; font: 600 .72rem/1.2 var(--sans); }
.mba-gantt__bar { align-self: center; height: 19px; border-radius: 5px; background: #91b9af; grid-column: var(--start) / span var(--span); }
.mba-gantt__row.is-critical .mba-gantt__bar { background: linear-gradient(90deg, #c89a4d, #dfb967); box-shadow: 0 0 0 1px #a77c34; }
.mba-gantt__row.is-delayed .mba-gantt__bar { background: var(--mba-red); }
.mba-gantt__legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; color: #60767c; font: 600 .71rem/1.3 var(--sans); }
.mba-gantt__legend i { display: inline-block; width: 18px; height: 8px; margin-right: 6px; border-radius: 4px; background: #91b9af; }
.mba-gantt__legend span:nth-child(2) i { background: var(--mba-gold); }

/* Дашборд. */
.mba-dashboard__filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.mba-dashboard__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.mba-kpi { min-height: 130px; padding: 15px; border: 1px solid #d3dfdc; border-radius: 14px; background: #fff; color: var(--mba-ink); text-align: left; }
.mba-kpi[hidden] { display: none; }
.mba-kpi[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--mba-emerald); }
.mba-kpi__top { display: flex; justify-content: space-between; gap: 8px; color: #657b81; font: 600 .72rem/1.3 var(--sans); }
.mba-kpi__status { flex: none; padding: 3px 6px; border-radius: 999px; background: #e6f2ed; color: #277668; font-size: .61rem; text-transform: uppercase; }
.mba-kpi.is-warn .mba-kpi__status { background: #fbf0d9; color: #8a6426; }
.mba-kpi.is-bad .mba-kpi__status { background: #f7e5e3; color: #9d4d48; }
.mba-kpi strong { display: block; margin-top: 15px; font: 600 1.45rem/1 var(--serif); }
.mba-kpi small { display: block; margin-top: 7px; color: #6c8186; font: 400 .7rem/1.3 var(--sans); }
.mba-kpi__trend { display: flex; align-items: end; gap: 3px; height: 22px; margin-top: 9px; }
.mba-kpi__trend i { flex: 1; max-width: 19px; height: var(--h); border-radius: 3px 3px 0 0; background: #8cb8ae; }

/* Пять сил рынка. */
.mba-forces { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(250px, 1fr); gap: 24px; align-items: center; }
.mba-forces__controls { display: grid; gap: 10px; }
.mba-forces__controls label, .mba-goals__control label { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid #d4dfdc; border-radius: 12px; background: #fff; }
.mba-forces__controls label span, .mba-goals__control label span { display: flex; justify-content: space-between; gap: 10px; color: #425e66; font: 700 .75rem/1.25 var(--sans); }
.mba-forces__controls output, .mba-goals__control output { color: var(--mba-emerald); }
.mba-forces__radar { position: relative; width: min(100%, 330px); aspect-ratio: 1; margin: 0 auto; }
.mba-forces__rings { position: absolute; inset: 14%; background: repeating-radial-gradient(circle, transparent 0 18%, #b8cbc650 19% 20%); clip-path: polygon(50% 0, 98% 35%, 80% 94%, 20% 94%, 2% 35%); border: 1px solid #aabfba; }
.mba-forces__rings::before, .mba-forces__rings::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1px; background: #bdcbc8; transform-origin: center; }
.mba-forces__rings::after { transform: rotate(72deg); }
.mba-forces__shape { position: absolute; inset: 14%; background: #2c87766e; clip-path: polygon(50% 10%, 86% 39%, 72% 79%, 28% 79%, 10% 39%); transition: clip-path .2s; filter: drop-shadow(0 4px 5px #166f6250); }
.mba-forces__radar span { position: absolute; left: var(--x); top: var(--y); width: 84px; transform: translate(-50%, -50%); color: #48656c; font: 700 .62rem/1.15 var(--sans); text-align: center; }

/* Дерево целей. */
.mba-goals__control { max-width: 390px; margin-bottom: 18px; }
.mba-goals__tree { display: grid; justify-items: center; }
.mba-goals__node { width: min(100%, 480px); padding: 16px 18px; border: 1px solid #bfd1cd; border-radius: 14px; background: #fff; text-align: center; }
.mba-goals__node.is-strategy { background: var(--mba-ink); color: #fff; }
.mba-goals__node.is-year { border-color: var(--mba-emerald); background: #eaf4f1; }
.mba-goals__node small, .mba-goals__branches small { display: block; color: #6d8388; font: 700 .63rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.mba-goals__node.is-strategy small { color: #bcd1cc; }
.mba-goals__node b { display: block; margin-top: 5px; font: 600 1.15rem/1.15 var(--serif); }
.mba-goals__node span { display: block; margin-top: 5px; font: 600 .72rem/1.3 var(--sans); }
.mba-goals__tree > i { width: 2px; height: 20px; background: var(--mba-gold); }
.mba-goals__branches { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; padding-top: 15px; }
.mba-goals__branches::before { content: ''; position: absolute; top: 0; left: 12%; right: 12%; height: 1px; background: var(--mba-gold); }
.mba-goals__branches div { padding: 13px 9px; border: 1px solid #d3dfdc; border-radius: 12px; background: #fff; text-align: center; }
.mba-goals__branches b { display: block; margin-top: 7px; color: var(--mba-emerald); font: 700 .83rem/1.25 var(--sans); }

/* Мотивация команд. */
.mba-motivation__roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mba-motivation__roles button { padding: 12px; border: 1px solid #cbdad6; border-radius: 12px; background: #fff; color: var(--mba-ink); font-weight: 700; }
.mba-motivation__roles button[aria-pressed="true"] { border-color: var(--mba-emerald); background: var(--mba-emerald); color: #fff; }
.mba-motivation__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.mba-motivation__grid article { min-height: 122px; padding: 16px; border: 1px solid #d2dfdc; border-radius: 14px; background: #fff; }
.mba-motivation__grid article.is-danger { border-color: #ebcfca; background: #fff6f4; }
.mba-motivation__grid article.is-soft { border-color: #d4dfc8; background: #f4f8ef; }
.mba-motivation__grid small { color: #6c8186; font: 700 .64rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; }
.mba-motivation__grid b { display: block; margin-top: 10px; font: 600 .88rem/1.38 var(--sans); }

/* Цепочка «сервис — прибыль». */
.mba-service__chain { display: grid; grid-template-columns: repeat(7, minmax(95px, 1fr)); gap: 10px; overflow-x: auto; padding: 4px 2px 12px; }
.mba-service__chain button { position: relative; min-height: 118px; padding: 13px 10px; border: 1px solid #d2dfdc; border-radius: 13px; background: #fff; color: var(--mba-ink); text-align: left; }
.mba-service__chain button::after { content: '→'; position: absolute; top: 45%; right: -10px; z-index: 2; color: var(--mba-gold); font-weight: 800; }
.mba-service__chain button:last-child::after { display: none; }
.mba-service__chain button[aria-pressed="true"] { border-color: var(--mba-emerald); background: #e9f4f0; box-shadow: inset 0 0 0 2px var(--mba-emerald); }
.mba-service__chain small { color: var(--mba-emerald); font: 700 .64rem/1 var(--sans); }
.mba-service__chain b { display: block; margin-top: 17px; overflow-wrap: anywhere; hyphens: auto; font: 600 .76rem/1.28 var(--sans); }
.mba-service__detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 5px; }
.mba-service__detail div { padding: 15px; border-radius: 13px; background: var(--mba-ink); color: #fff; }
.mba-service__detail small { color: #bcd0cc; font: 700 .63rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.mba-service__detail b { display: block; margin-top: 8px; font: 600 .82rem/1.35 var(--sans); }

/* Потери в потоке пациента. */
.mba-lean__time { display: flex; min-height: 94px; overflow: hidden; border-radius: 14px; box-shadow: inset 0 0 0 1px #ccd9d6; }
.mba-lean__time > div { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 13px; }
.mba-lean__value { flex: 0 0 var(--share); background: var(--mba-emerald); color: #fff; }
.mba-lean__waste { flex: 1; background: repeating-linear-gradient(135deg, #f0d7bd 0 10px, #f7e5d2 10px 20px); color: #6e4d32; }
.mba-lean__time b { font: 600 1.2rem/1 var(--serif); }
.mba-lean__time span { margin-top: 7px; font: 600 .68rem/1.2 var(--sans); }
.mba-lean__picker { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.mba-lean__picker button { padding: 8px 10px; border: 1px solid #d4dfdc; border-radius: 999px; background: #fff; color: var(--mba-ink); font-size: .7rem; font-weight: 700; }
.mba-lean__picker button[aria-pressed="true"] { border-color: #9b684c; background: #9b684c; color: #fff; }

/* Управление изменениями. */
.mba-change__progress { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.mba-change__progress > span { flex: 1; height: 10px; overflow: hidden; border-radius: 999px; background: #d8e3e0; }
.mba-change__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mba-gold), var(--mba-emerald)); transition: width .2s; }
.mba-change__progress b { color: var(--mba-emerald); font: 700 .75rem/1 var(--sans); }
.mba-change__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mba-change__steps button { min-height: 96px; padding: 12px; border: 1px solid #d2dfdc; border-radius: 13px; background: #fff; color: var(--mba-ink); text-align: left; }
.mba-change__steps button[aria-pressed="true"] { border-color: var(--mba-emerald); background: #e9f4f0; }
.mba-change__steps button[aria-pressed="true"] small::after { content: ' ✓'; }
.mba-change__steps small { color: var(--mba-emerald); font: 700 .63rem/1 var(--sans); }
.mba-change__steps b { display: block; margin-top: 10px; font: 600 .77rem/1.3 var(--sans); }

/* Карта схем на странице курса. */
.mba-viz-map { margin: 25px 0 30px; padding: clamp(19px, 3vw, 28px); border: 1px solid #d6e0de; border-radius: 22px; background: linear-gradient(130deg, #e6efec, #fbfbf8 62%, #f7eddc); }
.mba-viz-map h2 { margin: 0 !important; font: 600 clamp(1.4rem, 2.4vw, 1.8rem)/1.15 var(--serif) !important; }
.mba-viz-map > p { margin: 8px 0 0 !important; color: #5e747a; font: 400 .84rem/1.45 var(--sans) !important; }
.mba-viz-map__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 19px; }
.mba-viz-map__grid a { display: flex; flex-direction: column; min-height: 105px; padding: 13px; border: 1px solid #d6e0de; border-radius: 13px; background: #fff; color: var(--mba-ink); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.mba-viz-map__grid a:hover, .mba-viz-map__grid a:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 24px -20px #173d53; }
.mba-viz-map__grid span { color: var(--mba-emerald); font: 700 .66rem/1 var(--sans); letter-spacing: .1em; }
.mba-viz-map__grid b { margin-top: auto; font: 600 .84rem/1.2 var(--serif); }
.mba-viz-map__grid i { width: 28px; height: 23px; margin: 9px 0; border-radius: 6px; background: linear-gradient(135deg, var(--mba-emerald) 0 45%, var(--mba-gold) 45% 58%, var(--mba-navy) 58%); }

@media (max-width: 760px) {
  .mba-7s, .mba-matrix, .mba-invest, .mba-decision, .mba-forces { grid-template-columns: 1fr; }
  .mba-growth__body { grid-template-columns: 1fr; }
  .mba-7s__map { width: min(100%, 350px); margin-inline: auto; }
  .mba-viz-map__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mba-dashboard__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mba-change__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .mba-viz { padding: 17px 14px; }
  .mba-capacity__controls, .mba-capacity__flow, .mba-reports { grid-template-columns: 1fr; }
  .mba-growth__steps { grid-template-columns: 1fr; }
  .mba-growth__step { min-height: 0; }
  .mba-growth__step::after { content: '↓'; top: auto; right: 50%; bottom: -17px; transform: translateX(50%); }
  .mba-capacity__station::after { content: '↓'; top: auto; right: 50%; bottom: -18px; transform: translateX(50%); }
  .mba-strategy__layer { grid-template-columns: 95px 1fr; }
  .mba-strategy__node:last-child { grid-column: 2; }
  .mba-strategy__arrow { margin-left: 47px; }
  .mba-dashboard__grid { grid-template-columns: 1fr; }
  .mba-goals__branches, .mba-motivation__grid, .mba-motivation__roles, .mba-service__detail { grid-template-columns: 1fr; }
  .mba-goals__branches::before { display: none; }
  .mba-lean__time { min-height: 110px; }
  .mba-lean__time span { font-size: .6rem; }
  .mba-7s__item { width: 94px; font-size: .65rem; }
  .mba-7s__item:nth-child(2) { left: calc(50% - 47px); }
  .mba-7s__item:nth-child(5) { right: 18%; }
  .mba-7s__item:nth-child(6) { left: 18%; }
}
@media (prefers-reduced-motion: reduce) { .mba-viz * { transition: none !important; animation: none !important; } }
@media print { .mba-viz { break-inside: avoid; box-shadow: none; } }
