.shower {
	--slide-ratio: calc(16 / 9);
}

/* ——— Акценты ——— */
.slide .a   { color: #6f00ff; }
.slide .dim { color: #8a8a8a; }

.slide .tag {
	display: inline-block;
	background: #f1eafb;
	color: #5a12c8;
	padding: .12em .6em;
	border-radius: .4em;
	font-size: .55em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	vertical-align: middle;
}

.slide .lead { font-size: 1.15em; line-height: 1.35; }

/* ——— Заголовки: Montserrat bold, чёрный ——— */
.slide h2 {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color: #000;
	font-size: 42px;
	letter-spacing: -0.01em;
}
/* Контентный заголовок поднимаем на уровень кружка пагинации (центр ≈44px) */
.slide:not(.titlepage):not(.endpage):not(.divider) > h2:first-child {
	margin-top: -51px;
}
/* Длинные заголовки в одну строку */
.slide h2.fit { font-size: 34px; }

/* ——— Фоновые макеты Сбер ——— */
/* Контентные слайды: белый макет page.svg с кружком для пагинации */
.slide {
	background: #fff url("pictures/page.svg") no-repeat center / cover;
}
/* Полноэкранные слайды с собственным содержимым (кроме финала) сами задают фон */
.slide.clear:not(.endpage) { background-image: none; }

/* Обложка */
.slide.titlepage {
	background-image: url("pictures/face.svg");
	color: #f1eafb;
}
/* Разделители, финал и «крикливые» слайды — тёмный макет end back.svg */
.slide.divider,
.slide.endpage,
.slide:has(h2.shout) {
	background-color: #0a0714;
	background-image: url("pictures/end back.svg");
	color: #f1eafb;
}
/* Секции-разделители и «крикливые» слайды — чистая абстракция без логотипа */
.slide.divider,
.slide:has(h2.shout) {
	background-image: url("pictures/section.svg");
}

/* ——— Круглый аватар спикера ——— */
.speaker { display: flex; align-items: center; gap: 16px; }
.speaker .avatar {
	width: 92px; height: 92px; border-radius: 50%; flex: none;
	object-fit: cover; object-position: 50% 18%;
	border: 3px solid rgba(178,133,224,.9);
	box-shadow: 0 6px 18px rgba(0,0,0,.5);
}
.speaker b    { display: block; color: #fff; font-size: 28px; line-height: 1.2; }
.speaker span { color: #c2a6e6; font-size: 19px; }

/* ——— Обложка ——— */
/* Контент выровнен по левому краю белого текста «Agentic Dev» логотипа (≈176px) */
.slide.titlepage { padding-top: 46px; padding-left: 150px; }
.slide.titlepage .kicker {
	color: #b285e0; text-transform: uppercase;
	letter-spacing: .2em; font-weight: 700;
	font-size: .6em; margin: 0 0 .5em;
}
.slide.titlepage h2 {
	color: #fff; font-size: 29px; line-height: 1.16; margin: 0;
	max-width: 700px; text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.slide.titlepage .subtitle { color: #ddd0ee; font-size: .8em; margin-top: .5em; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.slide.titlepage .speaker { margin-top: 30px; }

/* ——— Финальный слайд ——— */
.slide.endpage h2 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6); }
.slide.endpage .speaker { align-items: center; gap: 16px; }
.slide.endpage .speaker .avatar { width: 92px; height: 92px; border-width: 2px; }
.slide.endpage .speaker b    { display: block; font-size: 21px; line-height: 1.18; margin: 0; }
.slide.endpage .speaker span { display: block; font-size: 16px; line-height: 1.2; margin: 1px 0 0; }
.slide.endpage .tg-contact {
	display: flex; align-items: center; gap: 7px;
	margin: 3px 0 0; font-size: 16px; font-weight: 600; color: #c2a6e6; line-height: 1.15;
}
.slide.endpage .tg-contact .tg-ico { width: 18px; height: 18px; color: #b285e0; flex: none; }
.slide.endpage .fb-arrow {
	position: absolute; top: 155px; left: 531px; width: 200px; height: 200px;
	color: #b285e0; transform: scaleY(-1);
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); pointer-events: none;
}
/* Нижний ряд: QR техлида слева, блок спикера — по центру слайда */
.slide.endpage .tq { width: 180px; display: block; }

/* ——— Разделители секций и «крикливые» слайды ——— */
.slide h2.shout { font-size: 56px; line-height: 1.28; margin: 0; padding: 0; }
.slide.divider h2.shout,
.slide:has(h2.shout) h2.shout { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.65); }
.slide:has(h2.shout) .a { color: #b285e0; }

.shower { counter-reset: slide subsection; }

/* ═══ УРОВЕНЬ 1 — РАЗДЕЛ = «обложка главы»: левая колонка, крупный    ═══
   ═══ заголовок, толстая вертикальная акцент-полоса. Роль — навигация. ═══ */
.slide.divider h2.shout {
	left: 100px; right: auto; width: auto; max-width: 580px;
	font-size: 48px;
	text-align: left; padding-left: 26px;
	border-left: 4px solid #6f00ff;
}
.slide.divider .sub {
	position: absolute; left: 126px; right: auto; max-width: 520px; bottom: 64px;
	color: #e5d9f6; font-size: .8em; text-align: left;
	text-shadow: 0 1px 12px rgba(0,0,0,.6);
}

/* ═══ УРОВЕНЬ 2 — ПОДРАЗДЕЛ = вложенный шаг: слева крупный порядковый  ═══
   ═══ номер + заголовок поменьше. Подчинён разделу, но всё ещё веха.    ═══ */
.slide.subsection { counter-increment: subsection; }
.slide.subsection h2.shout {
	left: 100px; right: auto; width: auto; max-width: 620px;
	font-size: 44px; text-align: left;
}
.slide.subsection h2.shout::before {
	content: counter(subsection, decimal-leading-zero);
	display: block;
	font: 800 82px/0.9 'Montserrat', sans-serif;
	letter-spacing: -0.02em; margin-bottom: 10px;
	background: linear-gradient(135deg, #8a4dff, #b285e0);
	-webkit-background-clip: text; background-clip: text;
	color: transparent; text-shadow: none;
}

/* ═══ УРОВЕНЬ 3 — SHOUT = «реплика/тезис»: по центру, короткое        ═══
   ═══ горизонтальное подчёркивание. Роль — эмоциональный акцент.       ═══ */
.slide:has(h2.shout):not(.divider):not(.subsection) h2.shout::after {
	content: "";
	display: block; width: 76px; height: 4px; border-radius: 2px;
	margin: 30px auto 0;
	background: linear-gradient(90deg, #6f00ff, #b285e0);
}

/* ——— Большая цифра / KPI ——— */
.slide .kpi { color: #6f00ff; font-weight: 800; font-size: 2.6em; line-height: 1; }

/* ——— Карточки-этапы ——— */
.slide .cards { display: flex; gap: 18px; margin-top: .3em; }
.slide .cards .card {
	flex: 1; background: #f4f1fa; border-radius: 12px;
	padding: 18px 20px; border-top: 4px solid #6f00ff;
}
.slide .cards .card b { display: block; color: #26064f; margin-bottom: .25em; line-height: 1.1; }
.slide .cards .card b code { font: inherit; }
.slide .cards .card .yr { color: #6f00ff; font-weight: 700; font-size: .7em; letter-spacing: .04em; }
.slide .cards .card p { font-size: .72em; line-height: 1.3; margin: .3em 0 0; }
/* опциональный шаг цикла */
.slide .cards .card.opt { background: #faf8fe; border-top-style: dashed; border-top-color: #b892ff; }
.slide .cards .card.opt .yr { color: #9a6bff; }
.slide .cards .card.opt b { color: #4a2a80; }

/* ——— Сравнение фреймворков (звёзды GitHub) ——— */
.slide .fw-grid { display: flex; gap: 18px; margin-top: .55em; align-items: stretch; }
.slide .fw {
	flex: 1; background: #f4f1fa; border-radius: 14px;
	padding: 22px 22px 20px; border-top: 4px solid #b892ff;
	position: relative; display: flex; flex-direction: column;
}
.slide .fw-name { color: #26064f; font-weight: 700; font-size: 1.05em; line-height: 1.15; }
.slide .fw-star {
	color: #6f00ff; font-weight: 800; font-size: 1.9em; line-height: 1;
	margin: .22em 0 .34em; letter-spacing: -.01em;
}
.slide .fw p { font-size: .72em; line-height: 1.32; margin: 0; color: #555; }
.slide .fw.pick { background: #6f00ff; border-top-color: #26064f; }
.slide .fw.pick .fw-name,
.slide .fw.pick .fw-star { color: #fff; }
.slide .fw.pick p { color: #e5d9f6; }
.slide .fw-tag {
	position: absolute; top: -11px; left: 22px;
	background: #26064f; color: #fff; font-size: .56em; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; padding: .32em .7em; border-radius: .5em;
}

/* ——— «Почему это работает»: тезисы + эмуляция лога агента ——— */
.slide .why-work { display: flex; gap: 26px; align-items: flex-start; margin-top: .35em; }
.slide .why-work .why-reasons { flex: 1 1 42%; margin: 0; align-self: center; font-size: .76em; line-height: 1.34; }
.slide .why-work .why-reasons li { margin-bottom: .55em; }

.slide .cc-term {
	flex: 1 1 56%; align-self: stretch;
	background: #0f0b1a; border: 1px solid rgba(178,133,224,.28); border-radius: 12px;
	box-shadow: 0 14px 36px rgba(20,6,50,.30); overflow: hidden;
	font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
}
.slide .cc-bar {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 14px; font-size: 12px; letter-spacing: .02em;
	color: #9a8fb5; background: rgba(255,255,255,.035);
	border-bottom: 1px solid rgba(178,133,224,.16);
}
.slide .cc-glyph { color: #b285e0; font-size: 13px; }
.slide .cc-log { padding: 14px 16px 15px; font-size: 14px; line-height: 1.5; }
.slide .cc-log p { margin: 0 0 .3em; }
.slide .cc-prompt { color: #8a7fa8; margin-bottom: .7em; }
.slide .cc-step   { color: #ece7f5; margin-top: .5em; }
.slide .cc-sub    { color: #8f88a3; padding-left: 15px; }
.slide .cc-dot    { color: #b285e0; margin-right: 5px; }
.slide .cc-path   { color: #7fd6c4; }
.slide .cc-ok     { color: #9ae6b4; }
.slide .cc-cursor { color: #b285e0; margin-left: 2px; }

/* ——— Лестница зрелости ——— */
.slide .ladder { display: flex; gap: 12px; align-items: flex-end; margin-top: .4em; }
.slide .ladder .lvl {
	flex: 1; background: #f2ecfa; border-radius: 10px 10px 0 0;
	padding: 14px 14px 16px; text-align: left; line-height: 1.2;
}
.slide .ladder .lvl span { color: #5a12c8; font-weight: 800; font-size: .7em; letter-spacing: .05em; }
.slide .ladder .lvl b { display: block; font-size: .82em; margin: .15em 0 .3em; line-height: 1.15; }
.slide .ladder .lvl p { font-size: .62em; line-height: 1.25; margin: 0; color: #555; }
.slide .ladder .lvl.l0 { min-height: 110px; }
.slide .ladder .lvl.l1 { min-height: 140px; }
.slide .ladder .lvl.l2 { min-height: 170px; }
.slide .ladder .lvl.l3 { min-height: 200px; background: #6f00ff; }
.slide .ladder .lvl.l3 span,
.slide .ladder .lvl.l3 b   { color: #fff; }
.slide .ladder .lvl.l3 p   { color: #e5d9f6; }
.slide .ladder .lvl.l4 { min-height: 230px; background: #26064f; }
.slide .ladder .lvl.l4 span { color: #c2a6e6; }
.slide .ladder .lvl.l4 b   { color: #fff; }
.slide .ladder .lvl.l4 p   { color: #ddd0ee; }

/* ——— Вопрос залу ——— */
.slide .ask {
	position: absolute; inset: 0;
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 16px;
}
.slide .ask .ask-hand { font-size: 160px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.slide .ask .ask-q {
	margin: 0; text-align: center;
	font-size: 58px; font-weight: 800; color: #26064f; line-height: 1.1;
}

.slide pre.tree { font-size: .62em; line-height: 1.5; }
.slide .ok  { color: #6f00ff; font-weight: 700; }
.slide .bad { color: #c0392b; font-weight: 700; }

/* ——— Скриншоты сервиса spek ——— */
.slide .shot {
	display: block; margin: 16px auto 0;
	border: 1px solid #ddd8e8; border-radius: 10px;
	box-shadow: 0 12px 34px rgba(10,7,20,.16);
}
.slide .shot-cap { text-align: center; color: #8a8a8a; font-size: .62em; margin: 10px 0 0; }

/* ——— Матрица инженерных практик (из ai-maturity-model) ——— */
.prac-matrix { width: 100%; border-collapse: collapse; font-size: 17px; margin-top: 2px; }
.prac-matrix th {
	padding: 5px 12px; text-align: left; font-size: 14px;
	text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #d8d8d8;
}
.prac-matrix th.col-l2 { color: #4b86c2; text-align: center; }
.prac-matrix th.col-l3 { color: #6f00ff; text-align: center; }
.prac-matrix td { padding: 6px 12px; border-bottom: 1px solid #e3e3e3; vertical-align: middle; line-height: 1.5; }
.prac-matrix .prac-name { font-weight: bold; }
.prac-matrix .col-l2, .prac-matrix .col-l3 { text-align: center; width: 150px; }
.prac-matrix .col-l2 { background: rgba(75, 134, 194, 0.06); }
.prac-matrix .col-l3 { background: rgba(111, 0, 255, 0.06); }
.prac-matrix .lvl-ico { display: inline-block; vertical-align: -4px; margin-right: 7px; }
.prac-matrix .lvl-ico svg { width: 19px; height: 19px; }
.ptag {
	display: inline-block; min-width: 118px; font-size: 13px; font-weight: bold;
	border-radius: 20px; padding: 2px 10px;
}
.ptag-no   { color: #b0b0b0; font-weight: normal; }
.ptag-soft { background: rgba(75, 134, 194, 0.08); color: #7c9bba; font-weight: normal; }
.ptag-plus { background: rgba(75, 134, 194, 0.18); color: #2f6093; }
.ptag-must { background: rgba(111, 0, 255, 0.15); color: #6f00ff; }
.ptag-base { background: #000000; color: #ffffff; }

/* ——— Список выводов: увеличенные отступы ——— */
.slide ol.conclusions { line-height: 1.4; }
.slide ol.conclusions > li { margin-top: .9em; }
.slide ol.conclusions > li:first-child { margin-top: 0; }

/* ——— Стопка слоёв harness: SDD как фундамент ——— */
.hstack { max-width: 840px; margin: 10px auto 0; }
.hstack .layer-top {
	display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
	padding: 12px 14px 18px;
	border: 2px dashed #d8c8ee; border-bottom: none;
	border-radius: 14px 14px 0 0; background: rgba(111,0,255,.05);
}
.hstack .layer-top .chip {
	background: #fff; border: 1px solid #dccdee; border-radius: 999px;
	padding: 6px 15px; font-size: 19px; font-weight: 600; color: #382c50;
}
.hstack .layer-cap {
	text-align: center; font-size: 15px; letter-spacing: .04em;
	text-transform: uppercase; color: #5a12c8; font-weight: 700; margin: 0 0 3px;
}
.hstack .layer-base {
	background: #26064f; color: #fff; border-radius: 0 0 14px 14px;
	padding: 16px 26px; text-align: center; margin-top: -8px;
	box-shadow: 0 10px 28px rgba(38,6,79,.22);
}
.hstack .layer-base b { font-size: 30px; line-height: 1.05; display: block; }
.hstack .layer-base b .a { color: #b285e0; }
.hstack .layer-base p { margin: 6px 0 0; font-size: 18px; color: #ddd0ee; }

/* ——— Точечное уменьшение для висячих слов / переполнения ——— */
.slide.tight ul, .slide.tight ol { font-size: .9em; }
.slide.tight > p { font-size: .94em; }
.slide.tight > p.lead { font-size: 1em; }

.slide.tighter ul, .slide.tighter ol { font-size: .82em; line-height: 1.32; }
.slide.tighter > p.lead { font-size: .98em; }

/* ——— Просторный список: больше воздуха между пунктами ——— */
.slide.roomy ul { line-height: 1.5; }
.slide.roomy ul > li { margin-top: .85em; }
.slide.roomy ul > li:first-child { margin-top: 0; }

.slide.s-tool > p { font-size: .92em; }
.slide.s-tool ul { font-size: .92em; }
.slide.s-tool .kpi { font-size: 2em; }

.slide.s-matrix > p { font-size: .92em; }
.slide.s-matrix table.striped { font-size: .9em; }

.slide ul.spaced > li { margin-bottom: .5em; }
.slide ul.spaced > li:last-child { margin-bottom: 0; }

/* ——— Карточки скилов ——— */
.slide .cards.skills .card { padding: 16px 18px; }
.slide .cards.skills .card ul { margin: .35em 0 0; padding-left: 1.05em; list-style: disc; }
.slide .cards.skills .card li { font-size: .64em; line-height: 1.32; margin: 0 0 .28em; }
.slide .cards.skills .card li::before { content: none; } /* убираем тему-маркер «—», оставляем disc */
.slide .cards.skills .card li:last-child { margin-bottom: 0; }
.slide .cards.skills .card li b { font-weight: 700; }

/* ——— Карточки докладов «Погружение в SDD» ——— */
.slide.sdd-talks > h2 { margin-top: -6px; }
.talk-cards { display: flex; flex-direction: row; gap: 20px; margin: 10px 0 0; align-items: stretch; }
.talk-card {
	flex: 1 1 0; min-width: 0;
	display: flex; flex-direction: column;
	padding: 16px 20px 18px;
	border: 1px solid #e2e2e2;
	border-radius: 16px;
	background: #fafafa;
	position: relative;
}
.talk-card.is-soon {
	border: 2px solid #6f00ff;
	background: #ffffff;
	box-shadow: 0 8px 26px rgba(111, 0, 255, 0.12);
}
.talk-card.is-rec {
	border: 2px solid #d6dbd8;
	background: #ffffff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.talk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 11px; }
.logo-chip {
	display: inline-flex; align-items: center; justify-content: center;
	height: 36px; box-sizing: border-box;
	background: #15171c; border-radius: 8px;
	padding: 0 12px;
}
.logo-chip img { height: 21px; width: auto; display: block; }
.logo-chip.is-icon img { height: 26px; }
.conf-name { font-size: 15px; font-weight: 700; color: #444444; }
.flag-tag {
	align-self: flex-start;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; font-weight: 700;
	padding: 4px 13px; border-radius: 20px;
	margin-bottom: 10px;
	letter-spacing: 0.2px;
}
.flag-tag svg { width: 15px; height: 15px; }
.flag-soon { background: #6f00ff; color: #ffffff; }
.flag-rec  { background: rgba(0, 0, 0, 0.07); color: #555555; }
.talk-title {
	font-size: 21px; font-weight: 700; line-height: 1.24;
	min-height: 92px;
	margin: 0 0 12px; color: #111111;
}
.talk-bottom { margin-top: auto; }
.talk-who-row { display: flex; align-items: center; gap: 13px; }
.talk-photo {
	width: 54px; height: 54px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
.talk-who { font-size: 16px; line-height: 1.3; }
.talk-who b { display: block; color: #1a1a1a; font-size: 17px; }
.talk-who span { color: #666666; }
.talk-when { margin-top: 12px; }
.talk-when-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.badge-when {
	display: inline-block;
	font-size: 14px; font-weight: 700;
	padding: 5px 14px; border-radius: 20px;
	background: rgba(0, 0, 0, 0.07); color: #333333;
	letter-spacing: 0.3px;
}
.badge-when.is-soon { background: rgba(111, 0, 255, 0.12); color: #5a12c8; }
.talk-qr {
	width: 52px; height: 52px; display: block;
	border-radius: 7px; padding: 3px;
	background: #ffffff; border: 1px solid #dccdee;
}
.talk-qr-cap { font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #5a12c8; text-align: center; margin-top: 3px; line-height: 1; }
.talk-qr-wrap { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }

/* ——— Схемы: сквозной SDD vs SDD разработчика ——— */
/* Слайд — флекс-колонка: заголовок сверху, схема центрируется по вертикали
   в оставшемся пространстве (не липнет к верху). */
.slide.s-diagram { display: flex; flex-direction: column; }
.slide.s-diagram > h2 { margin-bottom: 10px; flex: none; }
.dgm { display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 13px; flex: 1 1 auto; margin-top: 0; }

/* Полоса внешней системы / источника требований */
.dgm-ext {
	display: flex; align-items: center; gap: 16px;
	width: 100%; max-width: 860px; box-sizing: border-box;
	padding: 12px 22px; border-radius: 12px;
}
.dgm-ext__ico { display: flex; flex: none; }
.dgm-ext__ico svg { width: 30px; height: 30px; }
.dgm-ext--bad  .dgm-ext__ico { color: #8a8a8a; }
.dgm-ext--good .dgm-ext__ico { color: #6f00ff; }
.dgm-ext b { display: block; font-size: 21px; color: #26064f; line-height: 1.15; }
.dgm-ext span { font-size: 15px; color: #555; }
.dgm-ext--bad  { background: #f3f1f4; border: 2px dashed #b9b2c4; }
.dgm-ext--bad b { color: #4a4a4a; }
.dgm-ext--good { background: #f4f1fa; border: 2px solid #6f00ff; }

.dgm-down { font-size: 14px; color: #8a8a8a; font-weight: 600; letter-spacing: .02em; }

/* Ряд ролей */
.dgm-roles { display: flex; align-items: stretch; justify-content: center; gap: 10px; width: 100%; }
.role {
	flex: 1 1 0; min-width: 0;
	background: #fafafa; border: 1px solid #e2e2e2; border-radius: 12px;
	padding: 13px 14px; text-align: center;
	display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.role__ico { display: flex; }
.role__ico svg { width: 27px; height: 27px; }
.role > b { font-size: 18px; color: #1a1a1a; line-height: 1.12; }
.role > span { font-size: 13.5px; color: #666; line-height: 1.3; }

.role--out { opacity: .8; }
.role--out .role__ico { color: #8a8a8a; }
.role--dev { border: 2px solid #c0392b; background: #fff; }
.role--dev .role__ico { color: #c0392b; }
.role--in  { border: 2px solid #6f00ff; background: #fff; }
.role--in  .role__ico { color: #6f00ff; }
.role--end { border: 2px solid #26064f; background: #26064f; justify-content: center; }
.role--end .role__ico { color: #fff; }
.role--end > b { color: #fff; font-size: 17px; }

/* Островной слой спек у разработчика (антипаттерн) */
.role__sdd {
	margin-top: 3px; font-size: 12.5px; line-height: 1.3; color: #444;
	background: #f4f1fa; border-radius: 8px; padding: 7px 9px;
}
.sdd-badge {
	display: inline-block; background: #6f00ff; color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .06em;
	border-radius: 6px; padding: 2px 7px; margin-bottom: 4px;
}

/* Команды роли */
.role__cmd { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 2px; }
.role__cmd code {
	background: #26064f; color: #fff; border-radius: 6px;
	padding: 2px 8px; font-size: 13px; font-weight: 700;
}

.dgm-arrow { align-self: center; color: #6f00ff; font-size: 26px; font-weight: 800; flex: 0 0 auto; }

/* Обёртка «единая платформа» */
.sdd-platform {
	width: 100%; max-width: 900px; box-sizing: border-box;
	border: 2px solid #6f00ff; border-radius: 16px;
	background: rgba(111,0,255,.05); padding: 14px 18px 12px;
}
.sdd-platform__cap {
	text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; color: #5a12c8; margin: 0 0 11px;
}

/* Quality-gate между ролями */
.gate {
	align-self: center; flex: 0 0 auto;
	background: #2f6093; border: none; color: #fff;
	border-radius: 12px; padding: 8px 12px; line-height: 1.05;
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
	text-align: center;
}

/* Строка «тестировщик держит gate» */
.gate-owner {
	margin-top: 11px; padding-top: 10px; border-top: 1px dashed #d8c8ee;
	text-align: center; font-size: 15px; color: #2f6093;
	display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.gate-owner b { color: #2f6093; }
.gate-owner .role__ico { color: #2f6093; }
.gate-owner .role__ico svg { width: 20px; height: 20px; }

.dgm-note { font-size: 16px; margin: 4px 0 0; text-align: center; }
.dgm-note--bad  { color: #c0392b; font-weight: 600; }
.dgm-note--good { color: #5a12c8; font-weight: 600; }

/* Отброшенная идея — перечёркнутый блок роли */
.role--strike { position: relative; border: 2px dashed #c0392b; background: #fdf3f2; }
.role--strike > * { opacity: .5; }
.role--strike .role__ico { color: #c0392b; }
.role--strike > b { color: #c0392b; }
.role--strike::after {
	content: ""; position: absolute; inset: -1px; border-radius: 12px; pointer-events: none;
	background:
		linear-gradient(to top right, transparent calc(50% - 1.5px), #c0392b calc(50% - 1.5px), #c0392b calc(50% + 1.5px), transparent calc(50% + 1.5px)),
		linear-gradient(to bottom right, transparent calc(50% - 1.5px), #c0392b calc(50% - 1.5px), #c0392b calc(50% + 1.5px), transparent calc(50% + 1.5px));
}

/* Разработчик пишет e2e в одном цикле с кодом */
.role--loop { box-shadow: 0 0 0 3px rgba(111,0,255,.14); }
.role > span.role__loop {
	margin-top: 5px; display: inline-flex; align-items: center; gap: 6px;
	background: #26064f; color: #fff; border-radius: 999px;
	padding: 4px 11px; font-size: 12.5px; font-weight: 800; line-height: 1.1;
}
.role__loop svg { width: 15px; height: 15px; flex: none; }

/* ——— Tiny team: состав команды ——— */
.tt-team {
	width: 100%; max-width: 720px; box-sizing: border-box;
	border: 2px solid #6f00ff; border-radius: 16px;
	background: rgba(111,0,255,.05); padding: 16px 20px 18px;
}
.tt-team__cap {
	text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .04em;
	text-transform: uppercase; color: #5a12c8; margin: 0 0 13px;
}
.role .role__badge {
	display: inline-block; background: #6f00ff; color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
	border-radius: 6px; padding: 3px 10px; margin-top: 4px;
}

/* ——— Full-cycle инженер вбирает дисциплины ——— */
.fc-target {
	align-self: center; display: inline-flex; align-items: center; gap: 12px;
	background: #26064f; color: #fff; border-radius: 14px; padding: 12px 28px;
	box-shadow: 0 10px 28px rgba(38,6,79,.22);
}
.fc-target .role__ico { color: #fff; }
.fc-target .role__ico svg { width: 26px; height: 26px; }
.fc-target b { font-size: 23px; line-height: 1.1; }

.dgm-up { font-size: 14px; color: #8a8a8a; font-weight: 600; letter-spacing: .02em; text-align: center; }

.role .role__stat {
	margin-top: 5px; display: inline-flex; align-items: center; gap: 5px;
	border-radius: 999px; padding: 3px 11px;
	font-size: 12.5px; font-weight: 800; line-height: 1.1;
}
.role .role__stat svg { width: 14px; height: 14px; flex: none; }
.role .role__stat.is-ok { background: #6f00ff; color: #fff; }
.role .role__stat.is-q  { background: #f5c542; color: #5a3d00; }
.role .role__stat.is-q b { font-size: 15px; font-weight: 900; }
.role .role__extra {
	margin-top: 5px; font-size: 11.5px; font-weight: 700; color: #5a12c8;
	background: #f1eafb; border-radius: 6px; padding: 2px 9px; line-height: 1.15;
}

/* ——— Переходный период: делим план и катим двумя /apply ——— */
.tp-split { display: flex; align-items: center; gap: 30px; margin-top: 12px; }
.slide pre.tree.tp-plan {
	flex: 0 0 auto; margin: 0;
	background: #faf8fe; border: 1px solid #e3d9f5; border-radius: 12px;
	padding: 14px 22px; font-size: .58em; line-height: 1.42;
}
.tp-file { color: #8a8a8a; }
.tp-h { color: #6f00ff; font-weight: 800; }
.tp-flow { display: flex; align-items: center; gap: 22px; }
.tp-arrow { color: #6f00ff; font-size: 40px; font-weight: 800; flex: none; }
.tp-cmds { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.tp-cmds code {
	background: #26064f; color: #fff; border-radius: 10px;
	padding: 10px 20px; font-size: 24px; font-weight: 700;
}
.tp-note { font-size: 15px; color: #555; line-height: 1.35; margin: 6px 0 0; max-width: 270px; }

/* ——— Пагинация: цифра внутри кружка макета page.svg ——— */
.slide::after {
	top: 24px;
	left: auto;
	right: 16px;
	width: 41px;
	height: 41px;
	padding: 0;
	line-height: 41px;
	background: none;
	color: #4a4a4a;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}
/* На тёмных макетах кружка нет — прячем номер */
.slide.titlepage::after,
.slide.divider::after,
.slide.endpage::after,
.slide:has(h2.shout)::after { visibility: hidden; }
