/*
Theme Name: Rezumka
Theme URI: https://rezumka.ru
Author: Rezumka
Description: Фирменная тема Резюмки. Лёгкая, без сборщиков и внешних шрифтов. Визуальный язык: лист анкеты, графлёные линии, штамп «ПРИНЯТ».
Version: 0.58.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rezumka
*/

/* =========================================================
   1. ТОКЕНЫ
   Мир продукта — кадровые документы: белый лист, графы
   анкеты, моно-метки печатной машинки и штемпельная краска.
   ========================================================= */
:root {
	--paper:      #ffffff;  /* лист */
	--paper-dim:  #f3f6f4;  /* подложка секций, едва зелёная */
	--ink:        #182420;  /* основной текст */
	--ink-soft:   #4c5c54;  /* вторичный текст */
	--line:       #d9e2dc;  /* графы, рамки */
	--stamp:      #157347;
	/* Оттенки для долей кольцевой диаграммы */
	--stamp-mid: #2f8f60;
	--stamp-soft: #6fb894;
	--stamp-pale: #b9dcc9;  /* штемпельная зелень: «ПРИНЯТ», кнопки, ссылки */
	--stamp-dark: #0e5434;
	--sample:     #b23a2e;  /* красный оттиск «ОБРАЗЕЦ» */
	--focus:      #157347;
	--stamp-blot: rgba(255,255,255,.35);
	--cta-bg:     #182420;

	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-mono: ui-monospace, "Cascadia Mono", "Courier New", monospace;

	--radius: 10px;
	--shadow-sheet: 0 1px 2px rgba(24,36,32,.06), 0 12px 32px -12px rgba(24,36,32,.18);
	--container: 1120px;
}

/* =========================================================
   2. БАЗА
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
}

img { max-width: 100%; height: auto; }

a { color: var(--stamp); text-underline-offset: 3px; }
a:hover { color: var(--stamp-dark); }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
	border-radius: 4px;
}

h1, h2, h3 {
	line-height: 1.15;
	letter-spacing: -0.015em;
	font-weight: 800;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 10px 16px;
	z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* Моно-метка — «печатная машинка» анкеты. Служебный ярлык раздела. */
.eyebrow {
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	display: block;
	margin-bottom: .8em;
}

/* =========================================================
   3. ШТАМПЫ — фирменный элемент
   ========================================================= */
.stamp {
	display: inline-block;
	font-family: var(--font-mono);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--stamp);
	border: 2.5px solid currentColor;
	border-radius: 7px;
	padding: .35em .7em;
	transform: rotate(-2deg);
	/* неровности оттиска: на светлой теме высветляют, на тёмной — затемняют */
	background:
		radial-gradient(circle at 30% 20%, var(--stamp-blot) 0 8%, transparent 9%),
		radial-gradient(circle at 75% 80%, var(--stamp-blot) 0 6%, transparent 7%);
}
.stamp--sample { color: var(--sample); transform: rotate(2deg); }
.stamp--flat   { transform: none; }

.stamp-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
	padding: 0;
	margin: 1.4em 0 0;
	list-style: none;
}

/* =========================================================
   4. КНОПКИ
   ========================================================= */
.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1.02rem;
	text-decoration: none;
	border-radius: var(--radius);
	padding: 14px 26px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary {
	background: var(--stamp);
	color: #fff;
}
.btn--primary:hover { background: var(--stamp-dark); color: #fff; }
.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--big { padding: 17px 34px; font-size: 1.1rem; }

/* =========================================================
   5. ШАПКА
   ========================================================= */
.site-header {
	border-bottom: 1px solid var(--line);
	background: var(--paper);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 64px;
}

.logo {
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	color: var(--ink);
	white-space: nowrap;
}
.logo:hover { color: var(--ink); }
.logo__tld { color: var(--stamp); }

.nav-toggle-input { display: none; }
.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
	position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	content: "";
	position: absolute;
	left: 11px;
	width: 20px;
	height: 2px;
	background: var(--ink);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -6px; left: 0; }
.nav-toggle span::after  { top: 6px;  left: 0; }

.site-nav { margin-left: auto; }
.site-nav ul {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}
.site-nav a {
	display: inline-block;
	text-decoration: none;
	color: var(--ink);
	font-weight: 600;
	padding: 9px 14px;
	border-radius: 8px;
}
.site-nav a:hover { background: var(--paper-dim); color: var(--ink); }
.site-nav .menu-cta > a {
	background: var(--stamp);
	color: #fff;
}
.site-nav .menu-cta > a:hover { background: var(--stamp-dark); }

@media (max-width: 800px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 10px 20px 18px;
		z-index: 50;
	}
	.site-header { position: relative; }
	.nav-toggle-input:checked ~ .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; }
	.site-nav a { display: block; }
}

/* =========================================================
   6. ГЕРОЙ: текст + CSS-лист анкеты со штампом
   ========================================================= */
.hero {
	padding: clamp(48px, 8vw, 96px) 0;
	background:
		linear-gradient(var(--paper) 60%, var(--paper-dim));
}
.hero__inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.hero__sub {
	font-size: 1.15rem;
	color: var(--ink-soft);
	max-width: 34em;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 1.6em;
}

/* Лист резюме, нарисованный CSS: графы анкеты + штамп «ПРИНЯТ». */
.sheet {
	position: relative;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	box-shadow: var(--shadow-sheet);
	aspect-ratio: 210 / 260;
	max-width: 340px;
	margin-inline: auto;
	padding: 9% 8%;
	transform: rotate(1.5deg);
}
.sheet__head {
	display: flex;
	gap: 8%;
	margin-bottom: 10%;
}
.sheet__photo {
	flex: 0 0 26%;
	aspect-ratio: 3 / 4;
	background: var(--paper-dim);
	border: 1px dashed var(--line);
	border-radius: 4px;
}
.sheet__title { flex: 1; }
.sheet__title i,
.sheet__line {
	display: block;
	height: 9px;
	border-radius: 4px;
	background: var(--paper-dim);
	margin-bottom: 9px;
}
.sheet__title i:first-child { width: 85%; height: 13px; background: #dfe8e2; }
.sheet__title i:nth-child(2) { width: 60%; }
.sheet__body .sheet__line:nth-child(2) { width: 92%; }
.sheet__body .sheet__line:nth-child(3) { width: 74%; }
.sheet__body .sheet__line:nth-child(5) { width: 88%; }
.sheet__body .sheet__line:nth-child(6) { width: 66%; }
.sheet__gap { height: 14px; }
.sheet .stamp {
	position: absolute;
	right: -6%;
	bottom: 10%;
	font-size: 1.05rem;
	transform: rotate(-9deg);
	background-color: rgba(255,255,255,.85);
}

@media (max-width: 800px) {
	.hero__inner { grid-template-columns: 1fr; }
	.sheet { max-width: 260px; }
}

/* =========================================================
   7. СЕКЦИИ
   ========================================================= */
.section { padding: clamp(44px, 7vw, 80px) 0; }
.section--dim { background: var(--paper-dim); }
.section__head { max-width: 640px; margin-bottom: 2em; }
.section__head p { color: var(--ink-soft); }

/* Шаги — графы анкеты с моно-номером */
.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
	counter-reset: step;
}
.steps li {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px;
	counter-increment: step;
}
.steps li::before {
	content: "шаг 0" counter(step);
	font-family: var(--font-mono);
	font-size: .75rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--stamp);
	display: block;
	margin-bottom: 10px;
}
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

@media (max-width: 800px) {
	.steps { grid-template-columns: 1fr; }
}

/* Карточки образцов */
.prof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
	padding: 0;
	margin: 0;
	list-style: none;
}
a.prof-card {
	position: relative;
	display: block;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	text-decoration: none;
	color: var(--ink);
	transition: border-color .15s ease, box-shadow .15s ease;
}
a.prof-card:hover {
	border-color: var(--stamp);
	box-shadow: var(--shadow-sheet);
	color: var(--ink);
}
a.prof-card h3 { font-size: 1.05rem; margin: 0 0 .4em; }
a.prof-card p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
a.prof-card .eyebrow { margin-bottom: .6em; }

.catalog-note {
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: 26px;
	color: var(--ink-soft);
	background: var(--paper);
}

/* FAQ */
.faq { max-width: 760px; }
.faq details {
	border-bottom: 1px solid var(--line);
	padding: 4px 0;
}
.faq summary {
	cursor: pointer;
	font-weight: 700;
	padding: 14px 0;
	list-style: none;
	position: relative;
	padding-right: 34px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	font-family: var(--font-mono);
	font-size: 1.2rem;
	color: var(--stamp);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin: 0 0 16px; }

/* Финальный призыв */
.cta-final {
	text-align: center;
	/* Свой цвет, а не --ink: на тёмной теме --ink светлеет,
	   и белый текст на нём становится нечитаемым. */
	background: var(--cta-bg);
	color: #fff;
	border-radius: 16px;
	padding: clamp(36px, 6vw, 64px) 24px;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.75); max-width: 36em; margin-inline: auto; }
.cta-final .btn--primary { margin-top: 1.2em; }

/* =========================================================
   8. КОНТЕНТ ЗАПИСЕЙ / СТРАНИЦ
   ========================================================= */
.entry { padding: clamp(36px, 6vw, 64px) 0; }
.entry__layout { max-width: 780px; }
.breadcrumbs {
	font-size: .85rem;
	color: var(--ink-soft);
	margin-bottom: 1.4em;
}
.breadcrumbs a { color: var(--ink-soft); }
.entry__title-row {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.3em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: .95rem;
}
.entry-content th, .entry-content td {
	border: 1px solid var(--line);
	padding: 9px 12px;
	text-align: left;
}
.entry-content th { background: var(--paper-dim); }
.entry-content blockquote {
	margin: 1.2em 0;
	padding: 4px 20px;
	border-left: 4px solid var(--stamp);
	background: var(--paper-dim);
	border-radius: 0 8px 8px 0;
}

/* Блок «создать по образцу» на странице профессии */
.prof-cta {
	margin-top: 2.5em;
	border: 2px solid var(--stamp);
	border-radius: var(--radius);
	padding: 26px;
	background: var(--paper);
}
.prof-cta h2 { font-size: 1.3rem; margin-top: 0; }
.prof-cta p { color: var(--ink-soft); }

/* Страница образца: факты и навыки */
.prof-salary {
	border: 1px solid var(--line);
	border-left: 4px solid var(--stamp);
	border-radius: 0 var(--radius) var(--radius) 0;
	background: var(--paper-dim);
	padding: 12px 16px;
	margin: 1.4em 0 0;
}
.prof-salary__note {
	display: block;
	font-size: .82rem;
	color: var(--ink-soft);
}
.prof-skills { margin-top: 1.6em; }
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: .6em;
}
.chip {
	display: inline-block;
	border: 1px solid var(--line);
	background: var(--paper);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: .92rem;
}

/* =========================================================
   9. ПОДВАЛ
   ========================================================= */
.site-footer {
	margin-top: 40px;
	border-top: 1px solid var(--line);
	background: var(--paper-dim);
	font-size: .92rem;
	color: var(--ink-soft);
}
.site-footer__inner {
	/* padding-block, а не padding: shorthand обнулял боковые отступы,
	   которые задаёт .container — на телефоне текст упирался в край. */
	padding-block: 36px 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	justify-content: space-between;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
}
.site-footer__legal { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: 18px; }

/* =========================================================
   10. ПРОЧЕЕ
   ========================================================= */
.pagination { margin-top: 2em; font-weight: 600; }
.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
	margin-right: 6px;
}
.pagination .current { background: var(--stamp); border-color: var(--stamp); color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}

/* =========================================================
   11. МИНИАТЮРЫ ШАБЛОНОВ НА ГЛАВНОЙ
   ========================================================= */
.tpl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media (max-width: 760px) {
	.tpl-grid { grid-template-columns: 1fr; max-width: 340px; margin-inline: auto; }
}
.tpl-card {
	display: block;
	text-align: center;
	text-decoration: none;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 20px 20px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.tpl-card:hover {
	transform: translateY(-3px);
	border-color: var(--stamp);
	box-shadow: 0 14px 30px -12px rgba(24, 36, 32, .25);
}
.tpl-card > b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.tpl-card > span:last-child { font-size: .88rem; color: var(--ink-soft); }

/* Мини-лист: рисуем шаблон чистым CSS */
.sheet--mini {
	display: block;
	width: 132px;
	height: 176px;
	margin: 0 auto 16px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	box-shadow: 0 8px 20px -10px rgba(24, 36, 32, .3);
	padding: 14px 12px;
	text-align: left;
}
.sheet--mini .sheet__name {
	display: block;
	height: 9px;
	width: 62%;
	background: var(--ink);
	border-radius: 2px;
	margin-bottom: 8px;
}
.sheet--mini .sheet__line {
	display: block;
	height: 5px;
	background: var(--line);
	border-radius: 2px;
	margin-bottom: 7px;
}
.sheet--mini .sheet__line--accent {
	background: var(--stamp);
	height: 3px;
	width: 46%;
	margin-bottom: 10px;
}
.sheet--mini .sheet__line--short { width: 55%; }

/* Компакт: тоньше и чаще */
.sheet--mini-compact { padding: 12px 11px; }
.sheet--mini-compact .sheet__name { height: 7px; margin-bottom: 6px; }
.sheet--mini-compact .sheet__line { height: 4px; margin-bottom: 5px; }
.sheet--mini-compact .sheet__line--accent { height: 2px; margin-bottom: 7px; }

/* Чернила: тёмная плашка сверху */
.sheet--mini-ink { padding: 0 0 12px; overflow: hidden; }
.sheet--mini-ink .sheet__band {
	display: block;
	background: var(--ink);
	padding: 14px 12px 12px;
	margin-bottom: 12px;
}
.sheet--mini-ink .sheet__band .sheet__name {
	background: #fff;
	margin-bottom: 0;
}
.sheet--mini-ink .sheet__line { margin-inline: 12px; }

/* =========================================================
   12. СТРАНИЦЫ-ИНСТРУМЕНТЫ: конструктор и письмо во всю ширину
   ========================================================= */
.page-app .entry__layout {
	max-width: 1280px;
}
.page-app .entry {
	padding-block: 24px 8px;
}
/* Заголовок и крошки на таких страницах компактнее — работа важнее вывески */
.page-app .entry__layout > h1 {
	font-size: 1.6rem;
	margin-bottom: .4em;
}
@media (min-width: 1360px) {
	.page-app .entry__layout { max-width: 1320px; }
}

/* =========================================================
   13. ШАПКА: меню из пяти пунктов не должно ломаться
   ========================================================= */
.site-nav ul {
	gap: 2px;
	flex-wrap: nowrap;
}
.site-nav a {
	white-space: nowrap;      /* «Конструктор резюме» больше не рвётся на две строки */
	padding: 9px 12px;
	font-size: .96rem;
}
.site-nav .menu-cta > a {
	margin-left: 6px;
	padding-inline: 16px;
}

/* Меню-бургер включаем раньше: пять пунктов не помещаются в строку
   на средних экранах, а сжимать текст до нечитаемого — плохой вариант. */
@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		padding: 10px 20px 18px;
		z-index: 50;
		margin-left: 0;
	}
	.nav-toggle-input:checked ~ .site-nav { display: block; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.site-nav a { display: block; font-size: 1rem; padding: 12px 14px; }
	.site-nav .menu-cta > a { margin-left: 0; text-align: center; margin-top: 6px; }
}

/* =========================================================
   14. ФИРМЕННЫЕ ЦВЕТА ВМЕСТО СИСТЕМНЫХ
   ========================================================= */

/* Выделение текста мышью */
::selection {
	background: var(--stamp);
	color: #fff;
}
::-moz-selection {
	background: var(--stamp);
	color: #fff;
}

/* Флажки, переключатели, ползунки и индикаторы — вместо системного синего */
:root {
	accent-color: var(--stamp);
	color-scheme: light;
}

/* Поля ввода и выпадающие списки: единый вид и зелёный фокус */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], input[type="date"], textarea, select {
	accent-color: var(--stamp);
}
input:focus-visible, textarea:focus-visible, select:focus-visible,
button:focus-visible, a:focus-visible, summary:focus-visible {
	outline: 2px solid var(--stamp);
	outline-offset: 2px;
}
select {
	background-color: var(--paper);
	color: var(--ink);
}
/* Подсветка выбранного пункта — работает там, где браузер это позволяет */
select option:checked,
select option:hover {
	background: var(--stamp);
	color: #fff;
}

/* =========================================================
   15. ЛОГОТИП
   ========================================================= */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.logo__mark {
	display: block;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	flex: none;
	box-shadow: 0 2px 6px -2px rgba(21, 115, 71, .55);
}
.logo__text {
	font-weight: 800;
	font-size: 1.3rem;
	letter-spacing: -0.025em;
	line-height: 1;
}
@media (max-width: 480px) {
	.logo__mark { width: 26px; height: 26px; }
	.logo__text { font-size: 1.15rem; }
}

/* =========================================================
   16. ПЛАВАЮЩИЕ КНОПКИ: наверх и помощник
   ========================================================= */
.rz-sr {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.rz-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}
.rz-fab__btn {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--paper);
	color: var(--ink);
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 6px 18px -6px rgba(24, 36, 32, .35);
	transition: transform .15s ease, background-color .15s ease;
	display: grid;
	place-items: center;
}
.rz-fab__btn:hover { transform: translateY(-2px); }
.rz-fab__btn--tips {
	background: var(--stamp);
	border-color: var(--stamp);
	color: #fff;
}
.rz-fab__btn--tips:hover { background: var(--stamp-dark); }
.rz-fab--open .rz-fab__btn--tips { background: var(--stamp-dark); }

.rz-tips {
	width: min(330px, calc(100vw - 40px));
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 18px 40px -18px rgba(24, 36, 32, .45);
	padding: 14px 16px 12px;
	animation: rz-tips-in .18s ease-out;
}
@keyframes rz-tips-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: none; }
}
.rz-tips__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}
.rz-tips__head b {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: .7rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--stamp);
}
.rz-tips__close {
	border: 0;
	background: transparent;
	font-size: 1.35rem;
	line-height: 1;
	color: var(--ink-soft);
	cursor: pointer;
	padding: 0 2px;
}
.rz-tips__text {
	margin: 0 0 10px;
	font-size: .93rem;
	line-height: 1.55;
}
.rz-tips__more {
	border: 1px solid var(--line);
	background: transparent;
	border-radius: 8px;
	padding: 7px 12px;
	font: inherit;
	font-size: .85rem;
	font-weight: 600;
	color: var(--stamp);
	cursor: pointer;
}
.rz-tips__more:hover { border-color: var(--stamp); }

@media (max-width: 560px) {
	.rz-fab { right: 12px; bottom: 12px; }
	.rz-fab__btn { width: 44px; height: 44px; }
}
@media print { .rz-fab { display: none !important; } }

/* =========================================================
   17. КАТАЛОГ: инструменты и карточки
   ========================================================= */
.catalog-lead { max-width: 42em; color: var(--ink-soft); }

.catalog { margin-top: 1.6em; }
.catalog__tools {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}
.catalog__search { flex: 1 1 280px; }
.catalog__search input {
	width: 100%;
	font: inherit;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
}
.catalog__search input:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .15);
}
.catalog__sort select {
	font: inherit;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
	cursor: pointer;
}

.catalog__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}
.catalog__chips button {
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink-soft);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.catalog__chips button span {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: .72rem;
	color: var(--ink-soft);
	background: var(--paper-dim);
	border-radius: 20px;
	padding: 1px 7px;
}
.catalog__chips button:hover { border-color: var(--stamp); color: var(--ink); }
/* У кнопок задан display, поэтому атрибут hidden сам по себе их не прячет. */
.catalog__chips button[hidden] { display: none; }
.catalog__chips button[aria-pressed="true"] {
	background: var(--stamp);
	border-color: var(--stamp);
	color: #fff;
}
.catalog__chips button[aria-pressed="true"] span {
	background: rgba(255, 255, 255, .22);
	color: #fff;
}

.catalog__status {
	margin: 16px 0 0;
	font-size: .88rem;
	color: var(--ink-soft);
}
.catalog__reset {
	border: 0;
	background: transparent;
	font: inherit;
	font-size: .88rem;
	color: var(--stamp);
	text-decoration: underline;
	cursor: pointer;
	margin-left: 10px;
}

.prof-grid {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.prof-card { margin: 0; }
.prof-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px 16px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.prof-card__link:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	box-shadow: 0 14px 30px -16px rgba(24, 36, 32, .3);
	color: var(--ink);
}
.prof-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.prof-card__sfera {
	font-family: var(--font-mono, ui-monospace, monospace);
	font-size: .68rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.prof-card__salary {
	font-size: .8rem;
	font-weight: 700;
	color: var(--stamp);
	white-space: nowrap;
}
.prof-card h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	line-height: 1.3;
}
.prof-card p {
	margin: 0 0 14px;
	font-size: .88rem;
	color: var(--ink-soft);
	line-height: 1.5;
}
.prof-card__go {
	margin-top: auto;
	font-size: .85rem;
	font-weight: 700;
	color: var(--stamp);
}

.catalog__empty {
	margin-top: 24px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: 26px;
	text-align: center;
	color: var(--ink-soft);
}
.catalog__empty b { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.05rem; }
.catalog__empty p { margin: 0; max-width: 40em; margin-inline: auto; font-size: .92rem; }

/* =========================================================
   18. ФОРМЫ СВЯЗИ
   ========================================================= */
.rzf {
	margin: 1.6em 0 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 24px 20px;
}
.rzf__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}
.rzf__field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .rzf__grid { grid-template-columns: 1fr; } }

.rzf__field label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 5px;
}
.rzf__field label span { color: #b23a2e; }
.rzf__field input,
.rzf__field select,
.rzf__field textarea {
	width: 100%;
	font: inherit;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 9px;
	padding: 11px 13px;
}
.rzf__field textarea { resize: vertical; line-height: 1.55; }
.rzf__field input:focus,
.rzf__field select:focus,
.rzf__field textarea:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .15);
}
.rzf__field input:invalid:not(:placeholder-shown) { border-color: #d9a441; }

.rzf__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rzf__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 16px 0 4px;
	font-size: .88rem;
	color: var(--ink-soft);
	line-height: 1.5;
}
.rzf__consent input { margin-top: 3px; flex: none; }

.rzf__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 14px;
}
.rzf__note { font-size: .85rem; color: var(--ink-soft); }

.rzf__result {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: .93rem;
	line-height: 1.5;
}
.rzf__result--ok {
	background: rgba(21, 115, 71, .08);
	border: 1px solid rgba(21, 115, 71, .35);
	color: var(--stamp-dark, #0e5434);
}
.rzf__result--error {
	background: rgba(178, 58, 46, .07);
	border: 1px solid rgba(178, 58, 46, .35);
	color: #8f2c22;
}

/* =========================================================
   19. ТЕКУЩИЙ ПУНКТ МЕНЮ
   ========================================================= */
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav .current-menu-parent > a,
.site-nav .current-menu-ancestor > a,
.site-nav .menu-current {
	color: var(--stamp);
	background: var(--paper-dim);
	font-weight: 700;
	cursor: default;
}
.site-nav .menu-current {
	display: inline-block;
	padding: 9px 12px;
	border-radius: 8px;
	white-space: nowrap;
	font-size: .96rem;
}
.site-nav .menu-cta .menu-current,
.site-nav .menu-cta.current-menu-item > a {
	background: var(--stamp-dark, #0e5434);
	color: #fff;
	margin-left: 6px;
	padding-inline: 16px;
}
@media (max-width: 1080px) {
	.site-nav .menu-current { display: block; padding: 12px 14px; font-size: 1rem; }
}

/* =========================================================
   20. ТЁМНАЯ ТЕМА
   Переключается атрибутом data-theme на <html>: auto / light / dark.
   Лист резюме и письма всегда остаётся белым — это документ,
   он должен выглядеть так же, как будет напечатан.
   ========================================================= */

:root { color-scheme: light; }

@media (prefers-color-scheme: dark) {
	html[data-theme="auto"] { color-scheme: dark; }
	html[data-theme="auto"] body {
		--paper:      #141a18;
		--paper-dim:  #1b2320;
		--ink:        #e8efea;
		--ink-soft:   #a3b3ab;
		--line:       #2c3833;
		--stamp:      #3fa877;
		--stamp-dark: #2f8b60;
		--sample:     #e0705f;
		--stamp-blot: rgba(0,0,0,.32);
		--cta-bg:     #12503a;
		--shadow-sheet: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
	}
}
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body {
	--paper:      #141a18;
	--paper-dim:  #1b2320;
	--ink:        #e8efea;
	--ink-soft:   #a3b3ab;
	--line:       #2c3833;
	--stamp:      #3fa877;
	--stamp-dark: #2f8b60;
	--sample:     #e0705f;
	--stamp-blot: rgba(0,0,0,.32);
	--cta-bg:     #12503a;
	--shadow-sheet: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
}

html[data-theme="dark"] body,
html[data-theme="auto"] body {
	background: var(--paper);
	color: var(--ink);
}

/* Документы остаются светлыми в любой теме */
html[data-theme="dark"] .rz-sheet,
html[data-theme="dark"] .rzl-sheet,
html[data-theme="dark"] .sheet {
	--paper: #ffffff;
	--ink: #182420;
	--ink-soft: #4c5c54;
	--line: #d9e2dc;
	--stamp: #157347;
	background: #ffffff;
	color: #182420;
}
@media (prefers-color-scheme: dark) {
	html[data-theme="auto"] .rz-sheet,
	html[data-theme="auto"] .rzl-sheet,
	html[data-theme="auto"] .sheet {
		--paper: #ffffff;
		--ink: #182420;
		--ink-soft: #4c5c54;
		--line: #d9e2dc;
		--stamp: #157347;
		background: #ffffff;
		color: #182420;
	}
}

/* Тёмная шапка «Чернил» и мини-макеты не перекрашиваются */
html[data-theme="dark"] .sheet--mini-ink .sheet__band,
html[data-theme="dark"] .rz-sheet--ink .rz-s-head { background: #182420; }

/* =========================================================
   21. ПЕРЕКЛЮЧАТЕЛЬ ТЕМЫ
   ========================================================= */
.theme-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 3px;
	margin-left: 14px;
	background: var(--paper);
	flex: none;
}
.theme-switch button {
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink-soft);
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: .95rem;
	line-height: 1;
	padding: 0;
}
.theme-switch button:hover { background: var(--paper-dim); color: var(--ink); }
.theme-switch button[aria-pressed="true"] {
	background: var(--stamp);
	color: #fff;
}
@media (max-width: 1080px) {
	.theme-switch { order: 2; margin-left: auto; margin-right: 6px; }
	.nav-toggle { order: 3; margin-left: 0; }
}
@media print { .theme-switch { display: none; } }

/* =========================================================
   22. СВОИ ВЫПАДАЮЩИЕ СПИСКИ
   ========================================================= */
.rz-drop {
	position: absolute;
	z-index: 200;
	min-width: 180px;
	max-height: 320px;
	overflow-y: auto;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 18px 44px -16px rgba(24, 36, 32, .5);
	padding: 5px;
	font-size: .95rem;
}
.rz-drop__item {
	display: block;
	width: 100%;
	text-align: left;
	border: 0;
	background: transparent;
	color: var(--ink);
	font: inherit;
	padding: 9px 12px;
	border-radius: 7px;
	cursor: pointer;
	white-space: nowrap;
}
.rz-drop__item:hover,
.rz-drop__item.is-active {
	background: var(--paper-dim);
	color: var(--ink);
}
.rz-drop__item[aria-selected="true"] {
	background: var(--stamp);
	color: #fff;
	font-weight: 600;
}
.rz-drop__item[disabled] { opacity: .5; cursor: default; }

/* Логотип: свой файл под каждую тему */
.logo--custom { display: inline-flex; align-items: center; text-decoration: none; }
.logo__img {
	display: block;
	/* Только высота: ширина подстраивается сама. Ограничивать ширину нельзя —
	   широкий логотип тогда сжимается по высоте и превращается в полоску.
	   Значение задаётся в настройках темы: у разных файлов разные поля. */
	height: var(--rz-logo-h, 40px);
	width: auto;
}
@media (max-width: 560px) {
	.logo__img { height: calc(var(--rz-logo-h, 40px) * .75); }
}
/* Логотип — один элемент: адрес и высота меняются скриптом.
   Подложка, инверсия или «как есть» задаются одним классом logo--dark-*. */

/* =========================================================
   23. ПОХОЖИЕ ПРОФЕССИИ И СТРАНИЦЫ СФЕР
   ========================================================= */
.prof-related {
	margin-top: 2.6em;
	padding-top: 1.8em;
	border-top: 1px solid var(--line);
}
.prof-related h2 { margin-bottom: .3em; }
.prof-related__lead {
	color: var(--ink-soft);
	margin: 0 0 1.2em;
	max-width: 44em;
}
.prof-related .prof-grid { margin-top: 0; }
.prof-related__more {
	margin-top: 1.2em;
	font-size: .92rem;
	color: var(--ink-soft);
}
.prof-related__more a { color: var(--stamp); font-weight: 600; }

.sfera-nav { margin-top: 2.6em; }
.sfera-nav h2 { font-size: 1.2rem; margin-bottom: .6em; }
.sfera-nav .catalog__chips a {
	font-size: .88rem;
	font-weight: 600;
	padding: 7px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink-soft);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.sfera-nav .catalog__chips a:hover { border-color: var(--stamp); color: var(--ink); }
.sfera-nav .catalog__chips a span {
	font-family: var(--font-mono);
	font-size: .72rem;
	background: var(--paper-dim);
	border-radius: 20px;
	padding: 1px 7px;
}

/* Подсказки в поиске по каталогу */
.catalog__search { position: relative; }
.catalog__hints {
	position: absolute;
	left: 0; right: 0;
	top: calc(100% + 4px);
	z-index: 40;
	list-style: none;
	margin: 0;
	padding: 5px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 18px 40px -18px rgba(24, 36, 32, .5);
}
.catalog__hints li { margin: 0; }
.catalog__hints a {
	display: block;
	padding: 9px 12px;
	border-radius: 7px;
	text-decoration: none;
	color: var(--ink);
	font-size: .95rem;
}
.catalog__hints a:hover,
.catalog__hints a:focus-visible { background: var(--paper-dim); outline: none; }
.catalog__hints b { color: var(--stamp); }

/* Теги-группы отличаются от сфер */
.catalog__chips--tags { margin-top: 8px; }
.catalog__chips--tags button {
	font-size: .84rem;
	padding: 5px 12px;
	border-style: dashed;
}
.catalog__chips--tags button[aria-pressed="true"] { border-style: solid; }

/* Картинка в карточке — если её добавили */
.prof-card__img {
	display: block;
	width: 100%;
	height: 130px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 12px;
}


/* Финальный призыв: на светлой теме — тёмная плашка (максимальный контраст
   на белом), на тёмной — карточка с зелёной рамкой. Сплошной зелёный прямо­
   угольник на тёмном фоне смотрится тяжело и глушит кнопку. */
html[data-theme="dark"] .cta-final {
	background: var(--paper-dim);
	border: 1px solid var(--stamp);
	box-shadow: inset 0 0 0 1px rgba(63, 168, 119, .16);
}
html[data-theme="dark"] .cta-final h2 { color: var(--ink); }
html[data-theme="dark"] .cta-final p { color: var(--ink-soft); }

@media (prefers-color-scheme: dark) {
	html[data-theme="auto"] .cta-final {
		background: var(--paper-dim);
		border: 1px solid var(--stamp);
		box-shadow: inset 0 0 0 1px rgba(63, 168, 119, .16);
	}
	html[data-theme="auto"] .cta-final h2 { color: var(--ink); }
	html[data-theme="auto"] .cta-final p { color: var(--ink-soft); }
}

/* Таблицы цен на странице тарифов */
.rz-prices {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0 1.6em;
	font-size: .95rem;
}
.rz-prices th,
.rz-prices td {
	text-align: left;
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
}
.rz-prices thead th {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--ink-soft);
	border-bottom-width: 2px;
}
.rz-prices tbody tr:hover { background: var(--paper-dim); }
.rz-prices td:last-child { white-space: nowrap; font-weight: 600; }


/* =========================================================
   24. ЗАКРЕПЛЁННАЯ ШАПКА
   ========================================================= */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--paper);
	/* Плавная тень появляется, только когда страницу прокрутили */
	transition: box-shadow .18s ease;
}
body.is-scrolled .site-header {
	box-shadow: 0 6px 20px -12px rgba(24, 36, 32, .5);
}
/* Якорные ссылки не должны заезжать под шапку */
:root { scroll-padding-top: 84px; }
@media print { .site-header { position: static; box-shadow: none; } }

/* =========================================================
   25. ВЫПАДАЮЩЕЕ ПОДМЕНЮ
   ========================================================= */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .menu-item-has-children > a::after,
.site-nav .menu-item-has-children > .menu-current::after {
	content: "▾";
	font-size: .75em;
	margin-left: 6px;
	opacity: .65;
}
.site-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: 0 18px 40px -18px rgba(24, 36, 32, .5);
	z-index: 70;
}
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}
.site-nav .sub-menu li { width: 100%; }
.site-nav .sub-menu a,
.site-nav .sub-menu .menu-current {
	display: block;
	white-space: nowrap;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: .94rem;
}
.site-nav .sub-menu a:hover { background: var(--paper-dim); color: var(--ink); }
.site-nav .sub-menu .menu-current { background: var(--paper-dim); color: var(--stamp); }

@media (max-width: 1080px) {
	/* В мобильном меню подпункты просто вложены отступом */
	.site-nav .sub-menu {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		padding: 0 0 0 14px;
		min-width: 0;
		background: transparent;
	}
	.site-nav .menu-item-has-children > a::after { display: none; }
}

/* =========================================================
   26. СТАТЬИ: ТИПОГРАФИКА И БЛОКИ
   ========================================================= */
.article .entry__layout { max-width: 720px; }
.article__lead {
	font-size: 1.12rem;
	line-height: 1.6;
	color: var(--ink-soft);
	margin: .2em 0 1.4em;
}
.article__cover {
	margin: 0 0 1.8em;
}
.article__cover img {
	width: 100%;
	height: auto;
	border-radius: var(--radius);
	display: block;
}

/* Основной текст статьи */
.prose { font-size: 1.05rem; line-height: 1.72; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
	margin-top: 1.8em;
	margin-bottom: .5em;
	font-size: 1.55rem;
	line-height: 1.25;
	scroll-margin-top: 90px;
}
.prose h3 {
	margin-top: 1.5em;
	margin-bottom: .4em;
	font-size: 1.18rem;
}
.prose p { margin-bottom: 0; }
.prose a { color: var(--stamp); text-underline-offset: 3px; }

/* Списки: маркер фирменного цвета, воздух между пунктами */
.prose ul, .prose ol { padding-left: 1.4em; margin-block: 1.1em; }
.prose li + li { margin-top: .5em; }
.prose ul > li::marker { color: var(--stamp); }
.prose ol > li::marker { color: var(--stamp); font-weight: 700; }

/* Список-галочки: <ul class="checklist"> */
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist > li {
	position: relative;
	padding-left: 30px;
}
.prose ul.checklist > li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -1px;
	width: 21px;
	height: 21px;
	display: grid;
	place-items: center;
	font-size: .75rem;
	font-weight: 700;
	color: #fff;
	background: var(--stamp);
	border-radius: 50%;
}

/* Пары «плохо → хорошо»: <ul class="swap"> */
.prose ul.swap { list-style: none; padding-left: 0; }
.prose ul.swap > li {
	background: var(--paper-dim);
	border-left: 3px solid var(--line);
	border-radius: 0 10px 10px 0;
	padding: 12px 16px;
}
.prose ul.swap > li strong { color: var(--stamp); }

/* Цитата */
.prose blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	background: var(--paper-dim);
	border-left: 4px solid var(--stamp);
	border-radius: 0 12px 12px 0;
	font-size: .98rem;
}
.prose blockquote > *:first-child { margin-top: 0; }
.prose blockquote p + p { margin-top: .8em; }
.prose blockquote em { color: var(--ink-soft); font-style: normal; }

/* Врезки: <p class="note"> / <p class="warn"> / <p class="tip"> */
.prose .note,
.prose .warn,
.prose .tip {
	position: relative;
	margin: 1.5em 0;
	padding: 16px 20px 16px 54px;
	border-radius: 12px;
	font-size: .97rem;
	line-height: 1.6;
	border: 1px solid var(--line);
	background: var(--paper-dim);
}
.prose .note::before,
.prose .warn::before,
.prose .tip::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 17px;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
/* Закладка */
.prose .note::before {
	color: var(--ink-soft);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v18l-6-4-6 4z'/%3E%3C/svg%3E");
}
/* Лампочка */
.prose .tip::before {
	color: var(--stamp);
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.5 10.9V16h7v-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 21h4'/%3E%3Cpath d='M12 3a6 6 0 0 0-3.5 10.9V16h7v-2.1A6 6 0 0 0 12 3z'/%3E%3C/svg%3E");
}
/* Треугольник с восклицательным знаком */
.prose .warn::before {
	color: #b8862b;
	-webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 21.5 20H2.5z'/%3E%3Cpath d='M12 9.5v4.5M12 17.2h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5 21.5 20H2.5z'/%3E%3Cpath d='M12 9.5v4.5M12 17.2h.01'/%3E%3C/svg%3E");
}
html[data-theme="dark"] .prose .warn::before { color: #d9a441; }
.prose .tip {
	border-color: rgba(21, 115, 71, .4);
	background: rgba(21, 115, 71, .07);
}
.prose .warn {
	border-color: rgba(217, 164, 65, .55);
	background: rgba(217, 164, 65, .1);
}

/* Главная мысль: <p class="takeaway"> */
.prose .takeaway {
	margin: 1.8em 0;
	padding: 20px 24px;
	border: 2px solid var(--stamp);
	border-radius: 14px;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.55;
}
.prose .takeaway::before {
	content: "Коротко";
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--stamp);
	margin-bottom: 8px;
}

/* Таблицы в статьях */
.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
	font-size: .96rem;
}
.prose th, .prose td {
	text-align: left;
	padding: 11px 14px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
.prose thead th {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--ink-soft);
	border-bottom-width: 2px;
}

/* Призыв в конце статьи */
.article__cta {
	margin-top: 2.6em;
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper-dim);
}
.article__cta h2 { margin: 0 0 .3em; font-size: 1.3rem; }
.article__cta p { margin: 0 0 1em; color: var(--ink-soft); }

/* Лента статей */
.post-grid {
	list-style: none;
	margin: 1.8em 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 18px;
}
.post-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px 18px;
	transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.post-card__link:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	box-shadow: 0 14px 30px -16px rgba(24, 36, 32, .3);
	color: var(--ink);
}
.post-card__img {
	width: calc(100% + 44px);
	margin: -20px -22px 14px;
	height: 150px;
	object-fit: cover;
	border-radius: var(--radius) var(--radius) 0 0;
	display: block;
}
.post-card__date {
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.post-card h2 { font-size: 1.1rem; line-height: 1.3; margin: .4em 0 .5em; }
.post-card p { font-size: .92rem; color: var(--ink-soft); margin: 0 0 1em; }

.article-list { list-style: none; padding: 0; margin: 0; }
.article-list li + li { margin-top: .6em; }
.article-list a { font-weight: 600; color: var(--stamp); }

/* Постраничная навигация */
.pagination { margin-top: 2em; display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink);
	font-size: .93rem;
}
.pagination .page-numbers.current {
	background: var(--stamp);
	border-color: var(--stamp);
	color: #fff;
	font-weight: 700;
}
.pagination a.page-numbers:hover { border-color: var(--stamp); }

/* Логотип на тёмной теме: подложка или инверсия цветов.
   Инверсия с поворотом оттенка меняет светлое на тёмное, но сохраняет
   цвета: тёмные буквы становятся светлыми, зелёный знак остаётся зелёным. */
html[data-theme="dark"] .logo--dark-plate {
	background: #fff;
	padding: 6px 12px;
	border-radius: 12px;
	box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .5);
	transition: box-shadow .16s ease;
}
html[data-theme="dark"] .logo--dark-plate:hover {
	box-shadow: 0 4px 16px -4px rgba(63, 168, 119, .6);
}
html[data-theme="dark"] .logo--dark-invert .logo__img {
	filter: invert(1) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
	html[data-theme="auto"] .logo--dark-plate {
		background: #fff;
		padding: 6px 12px;
		border-radius: 12px;
		box-shadow: 0 2px 10px -4px rgba(0, 0, 0, .5);
	}
	html[data-theme="auto"] .logo--dark-invert .logo__img {
		filter: invert(1) hue-rotate(180deg);
	}
}

/* Содержание статьи */
.toc {
	margin: 1.6em 0 2em;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper-dim);
	padding: 4px 18px;
}
.toc > summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	font-family: var(--font-mono);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--stamp);
}
.toc > summary::-webkit-details-marker { display: none; }
.toc > summary::after {
	content: "–";
	margin-left: auto;
	font-size: 1.1rem;
	color: var(--ink-soft);
}
.toc:not([open]) > summary::after { content: "+"; }
.toc__list {
	margin: 0 0 14px;
	padding-left: 20px;
	font-size: .96rem;
	line-height: 1.5;
}
.toc__list li + li { margin-top: 7px; }
.toc__list li::marker { color: var(--stamp); font-weight: 700; }
.toc__list a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.toc__list a:hover { color: var(--stamp); border-bottom-color: currentColor; }
@media print { .toc { display: none; } }

/* Блок «Читайте дальше» */
.read-next .post-grid { margin-top: 1.2em; }
.read-next .post-card h3 { font-size: 1.05rem; line-height: 1.3; margin: .4em 0 .6em; }
.read-next--list .article-list { margin-top: 1em; }
.read-next--list .article-list li {
	padding-left: 18px;
	position: relative;
}
.read-next--list .article-list li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--stamp);
}

/* =========================================================
   27. КАТАЛОГ: ФИЛЬТРЫ И ПОДГРУЗКА
   ========================================================= */
.catalog__filters {
	margin-top: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
}
.catalog__filter { padding: 14px 16px; }
/* Разделительная линия между сферами и профессиями */
.catalog__filter + .catalog__filter { border-top: 1px solid var(--line); }
.catalog__filter--tags { background: var(--paper-dim); }

.catalog__filter-label {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 10px;
}
.catalog__filters .catalog__chips { margin-top: 0; }

/* Наведение: чипсы приподнимаются и подсвечиваются */
.catalog__chips button {
	transition: transform .14s ease, border-color .14s ease,
		background-color .14s ease, color .14s ease, box-shadow .14s ease;
}
.catalog__chips button:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	color: var(--stamp);
	background: rgba(21, 115, 71, .07);
	box-shadow: 0 6px 14px -8px rgba(21, 115, 71, .6);
}
.catalog__chips button:hover span {
	background: rgba(21, 115, 71, .16);
	color: var(--stamp);
}
.catalog__chips button[aria-pressed="true"]:hover {
	transform: translateY(-2px);
	background: var(--stamp-dark);
	border-color: var(--stamp-dark);
	color: #fff;
}
.catalog__chips button[aria-pressed="true"]:hover span {
	background: rgba(255, 255, 255, .25);
	color: #fff;
}
.catalog__chips button:active { transform: translateY(0); }

/* Профессии — пунктиром, чтобы отличались от сфер */
.catalog__chips--tags button::before {
	content: "#";
	color: var(--stamp);
	font-weight: 700;
	opacity: .7;
}

/* Кнопка подгрузки */
.catalog__more {
	margin-top: 22px;
	text-align: center;
}
.catalog__more .btn { min-width: 260px; }

/* Наведение на карточки сфер на страницах разделов */
.sfera-nav .catalog__chips a {
	transition: transform .14s ease, border-color .14s ease, color .14s ease;
}
.sfera-nav .catalog__chips a:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	color: var(--stamp);
}

/* =========================================================
   28. БЛОКИ ГЛАВНОЙ
   ========================================================= */
.section__head p { max-width: 46em; color: var(--ink-soft); }

/* Инструменты */
.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 18px;
}
.tool-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	text-decoration: none;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 24px 20px;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.tool-card:hover {
	transform: translateY(-3px);
	border-color: var(--stamp);
	box-shadow: 0 16px 34px -18px rgba(24, 36, 32, .35);
	color: var(--ink);
}
.tool-card__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(21, 115, 71, .1);
	color: var(--stamp);
	margin-bottom: 4px;
	transition: background-color .16s ease, transform .16s ease;
}
.tool-card__icon svg { width: 24px; height: 24px; display: block; }
.tool-card:hover .tool-card__icon {
	background: var(--stamp);
	color: #fff;
	transform: scale(1.06);
}
.tool-card b { font-size: 1.12rem; }
.tool-card > span:not(.tool-card__icon):not(.tool-card__go) {
	font-size: .93rem;
	color: var(--ink-soft);
	line-height: 1.55;
}
.tool-card__go { margin-top: auto; padding-top: 8px; font-size: .88rem; font-weight: 700; color: var(--stamp); }

/* Сравнение с другими сервисами */
.compare {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
}
.compare__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
}
.compare__row + .compare__row { border-top: 1px solid var(--line); }
.compare__bad,
.compare__good {
	padding: 15px 20px;
	font-size: .95rem;
	line-height: 1.5;
	position: relative;
	padding-left: 46px;
}
.compare__bad { color: var(--ink-soft); }
.compare__good { border-left: 1px solid var(--line); font-weight: 600; }
.compare__bad::before,
.compare__good::before {
	position: absolute;
	left: 18px;
	top: 14px;
	font-size: 1rem;
	font-weight: 700;
}
.compare__bad::before { content: "✕"; color: var(--sample); }
.compare__good::before { content: "✓"; color: var(--stamp); }
@media (max-width: 700px) {
	.compare__row { grid-template-columns: 1fr; }
	.compare__good { border-left: 0; border-top: 1px dashed var(--line); }
}

/* Ситуации */
.cases {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 14px;
}
.case-card {
	display: block;
	text-decoration: none;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 3px solid var(--stamp);
	border-radius: 4px var(--radius) var(--radius) 4px;
	padding: 16px 20px;
	transition: transform .15s ease, box-shadow .15s ease;
}
.case-card:hover {
	transform: translateX(3px);
	box-shadow: 0 10px 24px -16px rgba(24, 36, 32, .4);
	color: var(--ink);
}
.case-card b { display: block; margin-bottom: 5px; font-size: 1.02rem; }
.case-card span { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }

/* Текст о сервисе */
.home-text { max-width: 44em; }
.home-text h2 { font-size: 1.55rem; margin-bottom: .6em; }
.home-text h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.home-text p { line-height: 1.72; color: var(--ink-soft); }
.home-text p + p { margin-top: 1em; }
.home-text a { color: var(--stamp); }

/* =========================================================
   29. БЛОКИ ВНУТРИ МАТЕРИАЛОВ
   ========================================================= */

/* Заметная кнопка-призыв внутри текста */
.prose .cta-box,
.entry .cta-box {
	margin: 2em 0;
	padding: 22px 26px;
	border: 2px solid var(--stamp);
	border-radius: 14px;
	background: linear-gradient(180deg, rgba(21,115,71,.06), rgba(21,115,71,.02));
	display: grid;
	gap: 6px;
	justify-items: start;
}
.cta-box__title {
	display: block;
	font-size: 1.15rem;
	font-weight: 800;
	line-height: 1.3;
}
.cta-box__text {
	display: block;
	font-size: .95rem;
	color: var(--ink-soft);
	line-height: 1.55;
	margin-bottom: 6px;
}
.cta-box .btn,
.cta-box a.btn--primary {
	margin-top: 4px;
	font-size: 1.02rem;
	padding: 14px 26px;
	box-shadow: 0 10px 24px -12px rgba(21, 115, 71, .8);
}
.cta-box .btn:hover { transform: translateY(-2px); }
@media (max-width: 560px) {
	.prose .cta-box, .entry .cta-box { padding: 18px 18px; }
	.cta-box .btn { width: 100%; justify-content: center; }
}

/* Нумерованные шаги карточками */
.prose ol.steps {
	list-style: none;
	padding: 0;
	margin: 1.6em 0;
	counter-reset: rzstep;
	display: grid;
	gap: 12px;
}
.prose ol.steps > li {
	counter-increment: rzstep;
	position: relative;
	margin: 0;
	padding: 16px 20px 16px 62px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 12px;
	transition: border-color .15s ease, transform .15s ease;
}
.prose ol.steps > li:hover { border-color: var(--stamp); transform: translateX(2px); }
.prose ol.steps > li::before {
	content: counter(rzstep);
	position: absolute;
	left: 18px;
	top: 15px;
	width: 30px;
	height: 30px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--stamp);
	color: #fff;
	font-family: var(--font-mono);
	font-size: .9rem;
	font-weight: 700;
}
.prose ol.steps b { display: block; margin-bottom: 3px; }

/* Плитка ссылок с решёткой */
.prose ul.tiles {
	list-style: none;
	padding: 0;
	margin: 1.4em 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 10px;
}
.prose ul.tiles > li { margin: 0; }
.prose ul.tiles a {
	display: block;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	text-decoration: none;
	color: var(--ink);
	font-size: .93rem;
	font-weight: 600;
	transition: border-color .14s ease, transform .14s ease, color .14s ease;
}
.prose ul.tiles a::before { content: "#"; color: var(--stamp); margin-right: 6px; }
.prose ul.tiles a:hover { border-color: var(--stamp); color: var(--stamp); transform: translateY(-2px); }

/* Моношрифтовые выделения и маркер */
.prose code {
	font-family: var(--font-mono);
	font-size: .9em;
	background: var(--paper-dim);
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: 1px 6px;
	white-space: nowrap;
}
.prose mark {
	background: rgba(217, 164, 65, .32);
	color: inherit;
	padding: 0 3px;
	border-radius: 3px;
}
.prose small { font-size: .86em; color: var(--ink-soft); }

/* Акцент в заголовке */
h1 em, h2 em { font-style: normal; color: var(--stamp); }

/* =========================================================
   30. ШАГИ КАРТОЧКАМИ И ЭФФЕКТЫ НАВЕДЕНИЯ
   ========================================================= */
.steps--cards {
	list-style: none;
	counter-reset: rzs;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}
.steps--cards > li {
	counter-increment: rzs;
	position: relative;
	margin: 0;
	padding: 26px 24px 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.steps--cards > li::before {
	content: counter(rzs);
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: rgba(21, 115, 71, .1);
	color: var(--stamp);
	font-family: var(--font-mono);
	font-size: 1.05rem;
	font-weight: 700;
	transition: background-color .16s ease, color .16s ease, transform .16s ease;
}
.steps--cards > li:hover {
	transform: translateY(-3px);
	border-color: var(--stamp);
	box-shadow: 0 16px 34px -18px rgba(24, 36, 32, .35);
}
.steps--cards > li:hover::before {
	background: var(--stamp);
	color: #fff;
	transform: scale(1.06);
}
.steps--cards h3 { margin: 0 0 .4em; font-size: 1.12rem; }
.steps--cards p { margin: 0; font-size: .94rem; color: var(--ink-soft); line-height: 1.6; }

/* Таблицы: подсветка строки и ячейки под курсором */
.prose table,
.rz-prices { position: relative; }
.prose tbody tr,
.rz-prices tbody tr { transition: background-color .14s ease; }
.prose tbody tr:hover { background: rgba(21, 115, 71, .05); }
.prose tbody td { transition: color .14s ease; }
.prose tbody tr:hover td:first-child { color: var(--ink); font-weight: 600; }
.prose thead th { position: relative; }

/* Вопросы-ответы: отклик на наведение */
.faq details,
.entry details {
	transition: border-color .15s ease, background-color .15s ease;
}
.faq details:hover,
.entry details:hover { border-color: var(--stamp); }
.faq summary,
.entry summary { transition: color .15s ease; }
.faq details:hover > summary,
.entry details:hover > summary { color: var(--stamp); }

/* Ссылки в подвале и списках статей */
.site-footer a { transition: color .14s ease; }
.article-list a { transition: color .14s ease, padding-left .14s ease; }
.article-list a:hover { padding-left: 3px; }

/* Карточки образцов и статей: мягкий подъём */
.prof-card__link, .post-card__link, .tool-card, .case-card {
	will-change: transform;
}

/* =========================================================
   31. СХЕМЫ И ДИАГРАММЫ В МАТЕРИАЛАХ
   ========================================================= */

/* Горизонтальные полосы: сравнение долей */
.prose .rz-bars {
	list-style: none;
	padding: 0;
	margin: 1.6em 0;
	display: grid;
	gap: 10px;
}
.prose .rz-bars > li { margin: 0; }
.prose .rz-bars > li::before { display: none; }

/*
 * Сетка применяется и к элементу списка, и к отдельному классу:
 * в статьях разметка пишется без дополнительного класса, и без
 * этого правила подписи с полосами разъезжались.
 */
.prose .rz-bars > li,
.rz-bar {
	display: grid;
	grid-template-columns: minmax(110px, 30%) 1fr minmax(96px, auto);
	align-items: center;
	gap: 14px;
	font-size: .94rem;
}
.rz-bar__label { font-weight: 600; }
.rz-bar__track {
	position: relative;
	height: 26px;
	background: var(--paper-dim);
	border: 1px solid var(--line);
	border-radius: 8px;
	overflow: hidden;
}
.rz-bar__fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--stamp), var(--stamp-dark));
	border-radius: 7px 0 0 7px;
	transition: filter .16s ease;
}
.rz-bar__value {
	font-family: var(--font-mono);
	font-size: .76rem;
	color: var(--ink-soft);
	text-align: right;
	white-space: nowrap;
}
/* Полоса растёт из нуля при появлении блока */
.rz-bar__fill {
	transform-origin: left center;
	animation: rz-grow .7s cubic-bezier(.2, .7, .3, 1) both;
}
@keyframes rz-grow {
	from { transform: scaleX(0); }
	to   { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
	.rz-bar__fill { animation: none; }
}
.prose .rz-bars > li:hover .rz-bar__fill { filter: brightness(1.12); }
@media (max-width: 560px) {
	.rz-bar { grid-template-columns: 1fr; gap: 5px; }
	.rz-bar__value { text-align: left; }
}

/* Шкала-этапы */
.prose .rz-scale {
	list-style: none;
	padding: 0;
	margin: 1.6em 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}
.prose .rz-scale > li {
	margin: 0;
	padding: 16px 16px 14px;
	background: var(--paper);
	border-right: 1px solid var(--line);
	transition: background-color .15s ease;
}
.prose .rz-scale > li:last-child { border-right: 0; }
.prose .rz-scale > li:hover { background: var(--paper-dim); }
.rz-scale__mark {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--stamp);
	margin-bottom: 6px;
}
.rz-scale__title { display: block; font-weight: 700; margin-bottom: 4px; }
.rz-scale__note { display: block; font-size: .87rem; color: var(--ink-soft); line-height: 1.5; }
.prose .rz-scale > li.is-pick { background: rgba(21, 115, 71, .07); }
.prose .rz-scale > li.is-pick .rz-scale__title { color: var(--stamp); }
@media (max-width: 560px) {
	.prose .rz-scale { grid-template-columns: 1fr; }
	.prose .rz-scale > li { border-right: 0; border-bottom: 1px solid var(--line); }
	.prose .rz-scale > li:last-child { border-bottom: 0; }
}

/* =========================================================
   32. ШАГИ ВЕРТИКАЛЬНЫМ ПОТОКОМ СО СТРЕЛКАМИ
   Сбрасываем базовую сетку .steps: там три колонки и карточки.
   ========================================================= */
.steps.steps--flow {
	display: block;
	grid-template-columns: none;
	gap: 0;
	counter-reset: rzf;
	padding: 0;
	margin: 0;
	list-style: none;
}
.steps.steps--flow > li {
	counter-increment: rzf;
	position: relative;
	display: block;
	margin: 0;
	padding: 12px 16px 26px 56px;
	border: 0;
	background: transparent;
	border-radius: 10px;
	transition: background-color .16s ease;
}
.steps.steps--flow > li:last-child { padding-bottom: 12px; }
.steps.steps--flow > li:hover { background: rgba(21, 115, 71, .05); }

/* Номер в круге с контуром */
.steps.steps--flow > li::before {
	content: counter(rzf);
	position: absolute;
	left: 12px;
	top: 12px;
	width: 30px;
	height: 30px;
	margin: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 1.5px solid var(--stamp);
	background: var(--paper);
	color: var(--stamp);
	font-family: var(--font-mono);
	font-size: .88rem;
	font-weight: 700;
	transition: background-color .18s ease, color .18s ease;
	z-index: 2;
}
.steps.steps--flow > li:hover::before { background: var(--stamp); color: #fff; }

/* Линия со стрелкой к следующему шагу */
.steps.steps--flow > li::after {
	content: "";
	position: absolute;
	left: 19px;
	top: 46px;
	bottom: 4px;
	width: 16px;
	background-color: var(--line);
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M8 0V92' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M3.5 87 8 93.5 12.5 87' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 100' preserveAspectRatio='none' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M8 0V92' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M3.5 87 8 93.5 12.5 87' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
	transition: background-color .18s ease;
}
.steps.steps--flow > li:last-child::after { display: none; }
.steps.steps--flow > li:hover::after { background-color: var(--stamp); }

/* Заголовок на одной линии с номером, текст под ним */
.steps.steps--flow h3 {
	margin: 4px 0 .3em;
	font-size: 1.06rem;
	line-height: 1.3;
}
.steps.steps--flow p {
	margin: 0;
	color: var(--ink-soft);
	font-size: .95rem;
	line-height: 1.65;
	max-width: 62em;
}

@media (max-width: 560px) {
	.steps.steps--flow > li { padding: 10px 10px 22px 46px; }
	.steps.steps--flow > li::before { left: 6px; top: 10px; width: 27px; height: 27px; font-size: .8rem; }
	.steps.steps--flow > li::after { left: 12px; top: 42px; width: 14px; }
}

/* =========================================================
   33. ДОПОЛНИТЕЛЬНЫЕ БЛОКИ МАТЕРИАЛОВ
   ========================================================= */

/* Две колонки: плохо / хорошо */
.prose .vs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 1.7em 0;
}
.prose .vs__col {
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px 18px 14px;
	background: var(--paper);
}
.prose .vs__col--bad  { border-color: rgba(178, 58, 46, .4); background: rgba(178, 58, 46, .05); }
.prose .vs__col--good { border-color: rgba(21, 115, 71, .45); background: rgba(21, 115, 71, .05); }
.vs__t {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.vs__col--bad .vs__t  { color: var(--sample); }
.vs__col--good .vs__t { color: var(--stamp); }
.prose .vs ul { margin: 0; padding-left: 1.2em; font-size: .94rem; }
.prose .vs li + li { margin-top: .45em; }
@media (max-width: 620px) { .prose .vs { grid-template-columns: 1fr; } }

/* Крупная цифра */
.prose .stat {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 20px;
	margin: 1.8em 0;
	padding: 20px 24px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--stamp);
	border-radius: 4px 12px 12px 4px;
	background: var(--paper-dim);
}
.stat__n {
	font-size: 2.9rem;
	font-weight: 800;
	line-height: 1;
	color: var(--stamp);
	white-space: nowrap;
}
.stat__n small { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .04em; }
.stat__b b { display: block; margin-bottom: 3px; }
.stat__b p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 560px) {
	.prose .stat { grid-template-columns: 1fr; gap: 10px; }
	.stat__n { font-size: 2.3rem; }
}

/* Временная шкала */
.prose .tline {
	list-style: none;
	margin: 1.7em 0;
	padding: 0 0 0 26px;
	position: relative;
}
.prose .tline::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--line);
}
.prose .tline > li { position: relative; margin: 0 0 18px; }
.prose .tline > li:last-child { margin-bottom: 0; }
.prose .tline > li::before {
	content: "";
	position: absolute;
	left: -26px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--paper);
	border: 3px solid var(--stamp);
	transition: transform .16s ease;
}
.prose .tline > li:hover::before { transform: scale(1.25); }
.tline__w {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--stamp);
	margin-bottom: 3px;
}
.prose .tline p { margin: 0; font-size: .95rem; line-height: 1.6; }

/* Говорят — на самом деле */
.prose .mf {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 1.7em 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
}
.prose .mf__m, .prose .mf__f { padding: 16px 18px; }
.prose .mf__m { background: rgba(178, 58, 46, .05); border-right: 1px solid var(--line); }
.prose .mf__f { background: rgba(21, 115, 71, .05); }
.mf__l {
	display: block;
	font-family: var(--font-mono);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	margin-bottom: 8px;
}
.mf__m .mf__l { color: var(--sample); }
.mf__f .mf__l { color: var(--stamp); }
.prose .mf p { margin: 0; font-size: .94rem; line-height: 1.6; }
@media (max-width: 620px) {
	.prose .mf { grid-template-columns: 1fr; }
	.prose .mf__m { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* Разбор разговора */
.prose .talk {
	margin: 1.7em 0;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper-dim);
}
.talk__t {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 14px;
}
.talk__row { margin-bottom: 14px; }
.talk__row:last-child { margin-bottom: 0; }
.prose .talk__msg {
	max-width: 84%;
	padding: 11px 15px;
	border-radius: 16px;
	font-size: .95rem;
	line-height: 1.5;
}
.prose .talk__msg p { margin: 0; }
.talk__msg--them {
	background: var(--paper);
	border: 1px solid var(--line);
	border-bottom-left-radius: 5px;
}
.talk__msg--you {
	margin-left: auto;
	background: var(--stamp);
	color: #fff;
	border-bottom-right-radius: 5px;
}
.prose .talk__note {
	margin: 8px 0 0;
	font-size: .88rem;
	color: var(--ink-soft);
	line-height: 1.55;
}
.prose .talk__note b { color: var(--ink); }

/* Метка уровня риска */
.risk {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	white-space: nowrap;
}
.risk::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	flex: none;
}
.risk--hi::before  { background: #b23a2e; }
.risk--mid::before { background: #d9a441; }
.risk--low::before { background: #157347; }
.risk--hi  { color: #a1342a; }
.risk--mid { color: #96731f; }
.risk--low { color: var(--stamp); }
html[data-theme="dark"] .risk--hi  { color: #e0705f; }
html[data-theme="dark"] .risk--mid { color: #d9a441; }

/* Раскрывающийся разбор */
.prose details.more {
	margin: 1.6em 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	overflow: hidden;
	transition: border-color .15s ease;
}
.prose details.more:hover { border-color: var(--stamp); }
.prose details.more > summary {
	cursor: pointer;
	list-style: none;
	padding: 14px 18px;
	font-weight: 700;
	font-size: .98rem;
	display: flex;
	align-items: center;
	gap: 10px;
}
.prose details.more > summary::-webkit-details-marker { display: none; }
.prose details.more > summary::after {
	content: "+";
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: 1.2rem;
	color: var(--stamp);
}
.prose details.more[open] > summary::after { content: "–"; }
.more__b { padding: 0 18px 16px; }
.more__b > *:first-child { margin-top: 0; }

/* Подпись под таблицей */
.prose .tbl-fig { margin: 1.6em 0; }
.prose .tbl-fig table { margin: 0; }
.prose .tbl-fig figcaption {
	margin-top: 9px;
	font-size: .85rem;
	color: var(--ink-soft);
	line-height: 1.5;
}

/* =========================================================
   34. КНОПКИ ВНУТРИ ТЕКСТА
   Правило .prose a перекрашивало текст кнопки в зелёный —
   на зелёном фоне он становился невидимым.
   ========================================================= */
.prose a.btn,
.entry a.btn,
.home-text a.btn { text-decoration: none; }
.prose a.btn--primary,
.entry a.btn--primary,
.cta-box a.btn--primary { color: #fff; }
.prose a.btn--primary:hover,
.entry a.btn--primary:hover,
.cta-box a.btn--primary:hover { color: #fff; }
.prose a.btn--ghost,
.entry a.btn--ghost { color: var(--ink); }

/* =========================================================
   35. СПИСКИ В ФИРМЕННОМ СТИЛЕ
   ========================================================= */
.prose ul:not(.checklist):not(.swap):not(.tiles):not(.rz-bars):not(.rz-scale):not(.tline) {
	list-style: none;
	padding-left: 0;
}
.prose ul:not(.checklist):not(.swap):not(.tiles):not(.rz-bars):not(.rz-scale):not(.tline) > li {
	position: relative;
	padding-left: 26px;
}
/* Маркер — фирменная «галочка-штрих» */
.prose ul:not(.checklist):not(.swap):not(.tiles):not(.rz-bars):not(.rz-scale):not(.tline) > li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: .62em;
	width: 9px;
	height: 2px;
	border-radius: 2px;
	background: var(--stamp);
}
/* Вложенные списки — пустой квадрат */
.prose ul ul > li::before {
	width: 7px;
	height: 7px;
	top: .5em;
	background: transparent;
	border: 2px solid var(--stamp);
	border-radius: 2px;
}

/* Нумерованные списки — цифра в круге */
.prose ol:not(.steps) {
	list-style: none;
	counter-reset: rzol;
	padding-left: 0;
}
.prose ol:not(.steps) > li {
	counter-increment: rzol;
	position: relative;
	padding-left: 38px;
	margin-bottom: .6em;
}
.prose ol:not(.steps) > li::before {
	content: counter(rzol);
	position: absolute;
	left: 0;
	top: -1px;
	width: 25px;
	height: 25px;
	display: grid;
	place-items: center;
	border: 1.5px solid var(--stamp);
	border-radius: 50%;
	background: var(--paper);
	color: var(--stamp);
	font-family: var(--font-mono);
	font-size: .78rem;
	font-weight: 700;
	transition: background-color .15s ease, color .15s ease;
}
.prose ol:not(.steps) > li:hover::before { background: var(--stamp); color: #fff; }
.prose li > p:first-child { margin-top: 0; }

/* =========================================================
   36. ТАБЛИЦЫ ВНЕ СТАТЕЙ (главная и разделы)
   ========================================================= */
/* Браузер по умолчанию даёт figure отступы 40px по бокам —
   из-за этого таблица на главной стояла правее остального текста. */
figure.tbl-fig { margin: 1.6em 0; }
.tbl-wrap { overflow-x: auto; }
.tbl {
	width: 100%;
	border-collapse: collapse;
	font-size: .96rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.tbl th,
.tbl td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
	line-height: 1.5;
}
.tbl thead th {
	font-size: .74rem;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--ink-soft);
	background: var(--paper-dim);
	border-bottom-width: 2px;
}
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background-color .14s ease; }
.tbl tbody tr:hover { background: rgba(21, 115, 71, .06); }
.tbl tbody td { transition: color .14s ease; }

/* Первая колонка — «как у других», вторая — «как у нас» */
.compare-fig .tbl td:first-child {
	color: var(--ink-soft);
	position: relative;
	padding-left: 42px;
}
.compare-fig .tbl td:last-child {
	font-weight: 600;
	position: relative;
	padding-left: 42px;
	border-left: 1px solid var(--line);
}
.compare-fig .tbl td:first-child::before,
.compare-fig .tbl td:last-child::before {
	position: absolute;
	left: 18px;
	top: 13px;
	font-weight: 700;
	font-size: 1rem;
}
.compare-fig .tbl td:first-child::before { content: "✕"; color: var(--sample); }
.compare-fig .tbl td:last-child::before { content: "✓"; color: var(--stamp); }
.compare-fig .tbl tbody tr:hover td:last-child { color: var(--stamp); }
.compare-fig figcaption {
	margin-top: 10px;
	font-size: .85rem;
	color: var(--ink-soft);
}
@media (max-width: 620px) {
	.compare-fig .tbl thead { display: none; }
	.compare-fig .tbl tr { display: block; border-bottom: 1px solid var(--line); }
	.compare-fig .tbl td { display: block; border-bottom: 0; }
	.compare-fig .tbl td:last-child { border-left: 0; }
}

/* =========================================================
   37. ТЕГИ СТАТЕЙ
   ========================================================= */
.post-tags {
	margin-top: 2.2em;
	padding-top: 1.4em;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}
.post-tags__label {
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-right: 4px;
}
.post-tags a {
	display: inline-block;
	padding: 6px 13px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .86rem;
	font-weight: 600;
	color: var(--ink-soft);
	text-decoration: none;
	transition: transform .14s ease, border-color .14s ease, color .14s ease, background-color .14s ease;
}
.post-tags a::before { content: "#"; color: var(--stamp); margin-right: 4px; }
.post-tags a:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	color: var(--stamp);
	background: rgba(21, 115, 71, .06);
}

/* =========================================================
   38. КОЛЬЦЕВАЯ ДИАГРАММА
   Сегменты рисуются штрихом окружности: длина штриха задаёт долю,
   сдвиг — начало сектора. Без библиотек и скриптов.
   Длина окружности при r=54 равна 339.3.
   ========================================================= */
.prose .donut {
	display: grid;
	/* Ячейки закреплены явно: WordPress вставляет между элементами пустые
	   абзацы, и без закрепления легенда уезжала под диаграмму. */
	grid-template-columns: 168px minmax(0, 1fr);
	grid-template-rows: auto auto;
	gap: 24px 28px;
	align-items: center;
	margin: 1.8em 0;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--paper);
}
.donut__svg {
	width: 168px;
	height: 168px;
	transform: rotate(-90deg);
	grid-column: 1;
	grid-row: 1;
}
.donut__hole {
	fill: none;
	stroke: var(--paper-dim);
	stroke-width: 26;
}
.donut__seg {
	fill: none;
	stroke-width: 26;
	stroke-linecap: butt;
	transform-origin: 84px 84px;
	transition: stroke-width .18s ease, opacity .18s ease, transform .18s ease;
	cursor: default;
}
/* Появление: сегменты «дорисовываются» при первом показе */
.donut__seg {
	stroke-dashoffset: var(--rz-off, 0);
	animation: rz-donut .9s cubic-bezier(.25, .8, .3, 1) both;
}
@keyframes rz-donut {
	from { opacity: 0; transform: rotate(-12deg) scale(.94); }
	to   { opacity: 1; transform: rotate(0) scale(1); }
}

/* Наведение на сегмент: он выделяется, остальные притухают */
.prose .donut:hover .donut__seg { opacity: .38; }
.prose .donut .donut__seg:hover,
.prose .donut__k > li:hover ~ .donut__svg .donut__seg { opacity: 1; }
.prose .donut .donut__seg:hover {
	stroke-width: 32;
	opacity: 1;
}

/* Наведение на строку легенды подсвечивает её саму */
.prose .donut__k > li {
	padding: 3px 8px;
	margin: 0 -8px;
	border-radius: 8px;
	transition: background-color .15s ease;
	cursor: default;
}
.prose .donut__k > li:hover { background: var(--paper-dim); }
.donut__d { transition: transform .15s ease, box-shadow .15s ease; }
.prose .donut__k > li:hover .donut__d {
	transform: scale(1.35);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .15);
}

@media (prefers-reduced-motion: reduce) {
	.donut__seg { animation: none; }
}

/* 50% · 18% · 14% · 10% · 8% от 339.3 */
.donut__seg--1 { stroke: #157347; stroke-dasharray: 169.7 339.3; stroke-dashoffset: 0; }
.donut__seg--2 { stroke: #2f8b60; stroke-dasharray: 61.1 339.3;  stroke-dashoffset: -169.7; }
.donut__seg--3 { stroke: #55a37f; stroke-dasharray: 47.5 339.3;  stroke-dashoffset: -230.8; }
.donut__seg--4 { stroke: #86bfa3; stroke-dasharray: 33.9 339.3;  stroke-dashoffset: -278.3; }
.donut__seg--5 { stroke: #b9dbc9; stroke-dasharray: 27.1 339.3;  stroke-dashoffset: -312.2; }

.prose .donut__k {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
	font-size: .94rem;
	grid-column: 2;
	grid-row: 1;
	align-content: center;
}
.prose .donut__k > li {
	display: grid;
	grid-template-columns: 14px 1fr auto;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
}
.prose .donut__k > li::before { display: none; }
.donut__d {
	width: 12px;
	height: 12px;
	border-radius: 3px;
	display: block;
}
.donut__d--1 { background: #157347; }
.donut__d--2 { background: #2f8b60; }
.donut__d--3 { background: #55a37f; }
.donut__d--4 { background: #86bfa3; }
.donut__d--5 { background: #b9dbc9; }
.donut__n {
	font-family: var(--font-mono);
	font-size: .82rem;
	font-weight: 700;
	color: var(--ink-soft);
}
.prose .donut__note {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 4px 0 0;
	font-size: .85rem;
	color: var(--ink-soft);
	line-height: 1.55;
}
@media (max-width: 620px) {
	.prose .donut { grid-template-columns: 1fr; justify-items: center; }
	.prose .donut__k { width: 100%; }
	.prose .donut__note { text-align: left; }
}

/* =========================================================
   39. ПОИСК ПО СТАТЬЯМ
   ========================================================= */
.artsearch { margin-top: 1.8em; }
.artsearch__field { position: relative; max-width: 560px; }
.artsearch__field input {
	width: 100%;
	font: inherit;
	padding: 13px 17px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--paper);
	color: var(--ink);
}
.artsearch__field input:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .15);
}
.artsearch .catalog__chips { margin-top: 14px; }
.artsearch .catalog__status { margin-top: 14px; }
.artsearch .post-grid { margin-top: 18px; }

/* Цитата с источником */
.prose blockquote cite {
	display: block;
	margin-top: 10px;
	font-style: normal;
	font-size: .85rem;
	color: var(--ink-soft);
}
.prose blockquote cite::before { content: "— "; }

/* Врезка-подтверждение */
.prose .ok {
	position: relative;
	margin: 1.5em 0;
	padding: 16px 20px 16px 54px;
	border-radius: 12px;
	font-size: .97rem;
	line-height: 1.6;
	border: 1px solid rgba(21, 115, 71, .4);
	background: rgba(21, 115, 71, .07);
}
.prose .ok::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 17px;
	width: 20px;
	height: 20px;
	background-color: var(--stamp);
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================================================
   40. КЛЮЧЕВЫЕ НАВЫКИ НА СТРАНИЦЕ ОБРАЗЦА
   ========================================================= */
.prof-skills .chip {
	cursor: default;
	transition: transform .15s ease, border-color .15s ease,
		color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.prof-skills .chip:hover {
	transform: translateY(-2px);
	border-color: var(--stamp);
	color: var(--stamp);
	background: rgba(21, 115, 71, .07);
	box-shadow: 0 6px 14px -9px rgba(21, 115, 71, .7);
}

/* =========================================================
   41. РАЗДЕЛЫ И ТЕМЫ В ЛЕНТЕ СТАТЕЙ
   ========================================================= */
.artsearch__filters {
	margin-top: 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--paper);
}
.artsearch__group { padding: 14px 16px; }
.artsearch__group + .artsearch__group { border-top: 1px solid var(--line); }
.artsearch__group--tags { background: var(--paper-dim); }
.artsearch__label {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 10px;
}
.artsearch__filters .catalog__chips { margin-top: 0; }

/* Разделы — сплошной контур, темы — пунктир с решёткой */
.artsearch__group--cats .catalog__chips button { border-style: solid; }
.artsearch__group--tags .catalog__chips button::before {
	content: "#";
	color: var(--stamp);
	font-weight: 700;
	opacity: .7;
}

/* Кнопка подгрузки статей */
.artsearch__more { margin-top: 22px; text-align: center; }
.artsearch__more .btn { min-width: 260px; }

/* =========================================================
   42. ИНТЕРАКТИВНЫЙ ЧЕК-ЛИСТ «ПРОВЕРЬТЕ СЕБЯ»
   Отметки не сохраняются между визитами — список для одного
   прохода, а не трекер. Это осознанно и оговорено в тексте.
   ========================================================= */
.prose .check-list {
	list-style: none;
	padding: 0;
	margin: 1.7em 0;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--paper);
	counter-reset: none;
}
.prose .check-list > li {
	margin: 0;
	padding: 0;
}
.prose .check-list > li::before { display: none; }
.prose .check-list > li + li { border-top: 1px solid var(--line); }

.prose .check-list label {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	padding: 14px 18px;
	cursor: pointer;
	transition: background-color .14s ease;
}
.prose .check-list label:hover { background: var(--paper-dim); }
.prose .check-list input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}
.prose .check-list .box {
	flex: none;
	width: 21px;
	height: 21px;
	margin-top: 1px;
	border: 1.8px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
	display: grid;
	place-items: center;
	transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
}
.prose .check-list .box::after {
	content: "";
	width: 11px;
	height: 11px;
	background-color: #fff;
	opacity: 0;
	transform: scale(.6);
	transition: opacity .14s ease, transform .14s ease;
	-webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
	mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.prose .check-list label:hover .box { border-color: var(--stamp); }
.prose .check-list input:focus-visible + .box {
	outline: 2px solid var(--stamp);
	outline-offset: 2px;
}
.prose .check-list input:checked + .box {
	background: var(--stamp);
	border-color: var(--stamp);
	transform: scale(1.04);
}
.prose .check-list input:checked + .box::after { opacity: 1; transform: scale(1); }

.prose .check-list .txt {
	font-size: .96rem;
	line-height: 1.55;
	transition: color .15s ease;
}
.prose .check-list .txt b { font-weight: 700; }
.prose .check-list input:checked ~ .txt {
	color: var(--ink-soft);
	text-decoration: line-through;
	text-decoration-color: var(--line);
	text-decoration-thickness: 1.5px;
}
.prose .check-list__note {
	margin: 10px 0 0;
	font-size: .84rem;
	color: var(--ink-soft);
}

/* =========================================================
   43. ГЛАВНАЯ КНОПКА: ЭФФЕКТ ВНИМАНИЯ
   Расходящееся кольцо плюс лёгкое дыхание самой кнопки.
   Только для главного призыва — если так мигает всё подряд,
   не выделяется ничего.
   ========================================================= */
.btn--pulse {
	position: relative;
	isolation: isolate;
	animation: rz-breath 2.6s ease-in-out infinite;
	box-shadow: 0 10px 26px -10px rgba(21, 115, 71, .75);
}
.btn--pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	border: 2px solid var(--stamp);
	opacity: 0;
	z-index: -1;
	animation: rz-ring 2.6s ease-out infinite;
}
@keyframes rz-breath {
	0%, 100% { transform: scale(1); }
	50%      { transform: scale(1.035); }
}
@keyframes rz-ring {
	0%   { transform: scale(1);    opacity: .55; }
	70%  { transform: scale(1.28); opacity: 0; }
	100% { transform: scale(1.28); opacity: 0; }
}
/* При наведении «дыхание» останавливаем: человек уже заметил */
.btn--pulse:hover,
.btn--pulse:focus-visible {
	animation: none;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -10px rgba(21, 115, 71, .85);
}
.btn--pulse:hover::after,
.btn--pulse:focus-visible::after { animation: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
	.btn--pulse,
	.btn--pulse::after { animation: none; }
}

/* =========================================================
   44. БОКОВАЯ КОЛОНКА СТАТЕЙНОГО РАЗДЕЛА
   ========================================================= */
.article__cols { display: block; }

@media (min-width: 1060px) {
	.article__cols {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 44px;
		align-items: start;
	}
	.article .entry__layout,
	.entry__layout--wide { max-width: none; }
	/* Закрепляем колонку: шапка 64px плюс воздух */
	.sidebar {
		position: sticky;
		top: 86px;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		overscroll-behavior: contain;
		scrollbar-width: thin;
	}
	/* На больших экранах в тексте содержание не дублируем */
	.toc-inline { display: none; }
}

.sidebar { margin-top: 2.4em; }
@media (min-width: 1060px) { .sidebar { margin-top: 0; } }

.sidebar__box {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	padding: 16px 18px;
	margin-bottom: 16px;
}
.sidebar__title {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 10px;
}
.sidebar__box p {
	margin: 0 0 12px;
	font-size: .9rem;
	line-height: 1.55;
	color: var(--ink-soft);
}
.sidebar__box--cta {
	border-color: var(--stamp);
	background: linear-gradient(180deg, rgba(21,115,71,.07), rgba(21,115,71,.02));
}
.sidebar__box--cta .sidebar__title { color: var(--stamp); }
.sidebar__box--cta .btn { width: 100%; justify-content: center; }

/* Содержание в колонке: без рамки, компактно */
.sidebar__box--toc { padding-bottom: 6px; }
.sidebar__box--toc .toc {
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
}
.sidebar__box--toc .toc > summary { display: none; }
.sidebar__box--toc .toc__list {
	margin: 0 0 10px;
	padding-left: 18px;
	font-size: .88rem;
}
.sidebar__box--toc .toc__list li + li { margin-top: 6px; }

.sidebar__list { list-style: none; margin: 0; padding: 0; }
.sidebar__list li + li { margin-top: 8px; }
.sidebar__list a {
	font-size: .92rem;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	display: inline-block;
	transition: color .14s ease, padding-left .14s ease;
}
.sidebar__list a:hover { color: var(--stamp); padding-left: 3px; }
.sidebar__more {
	display: inline-block;
	margin-top: 12px;
	font-size: .86rem;
	font-weight: 700;
	color: var(--stamp);
	text-decoration: none;
}

.sidebar__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.sidebar__chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .84rem;
	font-weight: 600;
	color: var(--ink-soft);
	text-decoration: none;
	transition: transform .14s ease, border-color .14s ease, color .14s ease;
}
.sidebar__chips a span {
	font-family: var(--font-mono);
	font-size: .72rem;
	background: var(--paper-dim);
	border-radius: 20px;
	padding: 1px 6px;
}
.sidebar__chips a:hover { transform: translateY(-2px); border-color: var(--stamp); color: var(--stamp); }

.sidebar__back { font-size: .9rem; }
.sidebar__back a { color: var(--stamp); font-weight: 600; }

@media print { .sidebar { display: none; } }

/* =========================================================
   45. КОММЕНТАРИИ
   ========================================================= */
.comments {
	margin-top: 2.8em;
	padding-top: 1.8em;
	border-top: 1px solid var(--line);
}
.comments__title { font-size: 1.35rem; margin-bottom: 1em; }
.comments__list { list-style: none; margin: 0 0 2em; padding: 0; }
.comments__list ol.children {
	list-style: none;
	margin: 14px 0 0;
	padding-left: 26px;
	border-left: 2px solid var(--line);
}
.comments__list > li + li { margin-top: 16px; }

.comment__body {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	padding: 14px 18px 12px;
	transition: border-color .15s ease;
}
.comment__body:hover { border-color: var(--stamp); }
.comment--author > .comment__body {
	border-color: rgba(21, 115, 71, .45);
	background: rgba(21, 115, 71, .05);
}

.comment__head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.comment__avatar {
	width: 30px;
	height: 30px;
	flex: none;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--paper-dim);
	color: var(--stamp);
	font-weight: 800;
	font-size: .92rem;
	text-transform: uppercase;
}
.comment--author .comment__avatar { background: var(--stamp); color: #fff; }
.comment__name { font-weight: 700; font-size: .96rem; }
.comment__badge {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 20px;
	background: var(--stamp);
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .04em;
	vertical-align: 1px;
}
.comment__date {
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: .72rem;
	color: var(--ink-soft);
}
.comment__text { font-size: .96rem; line-height: 1.6; }
.comment__text p { margin: 0 0 .7em; }
.comment__text p:last-child { margin-bottom: 0; }
.comment__pending { font-size: .84rem; color: var(--ink-soft); font-style: italic; }
.comment__foot { margin-top: 8px; }
.comment-reply-link {
	font-size: .85rem;
	font-weight: 600;
	color: var(--stamp);
	text-decoration: none;
}
.comment-reply-link:hover { text-decoration: underline; }

/* Форма */
.comment-respond {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper-dim);
	padding: 20px 22px 18px;
}
.comment-reply-title { font-size: 1.12rem; margin: 0 0 .6em; }
.comment-reply-title small { font-size: .8rem; font-weight: 400; margin-left: 8px; }
.comments__note, .comments__hint {
	font-size: .85rem;
	color: var(--ink-soft);
	line-height: 1.5;
}
.comments__hint { display: block; margin-top: 4px; }
.comment-respond label {
	display: block;
	font-size: .88rem;
	font-weight: 600;
	margin-bottom: 5px;
}
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
	width: 100%;
	font: inherit;
	padding: 11px 13px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--paper);
	color: var(--ink);
}
.comment-respond textarea { resize: vertical; line-height: 1.55; }
.comment-respond input:focus,
.comment-respond textarea:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .15);
}
.comment-form-author, .comment-form-email { display: inline-block; width: calc(50% - 7px); vertical-align: top; }
.comment-form-author { margin-right: 12px; }
@media (max-width: 620px) {
	.comment-form-author, .comment-form-email { display: block; width: 100%; margin-right: 0; }
}
.form-submit { margin-top: 14px; }
.comments__closed { color: var(--ink-soft); font-size: .92rem; }

/* =========================================================
   46. БЛОК «ЧАСТЫЕ ВОПРОСЫ»
   ========================================================= */
.faq-block {
	margin-top: 2.6em;
	padding-top: 1.6em;
	border-top: 1px solid var(--line);
}
.faq-block h2 { font-size: 1.35rem; margin-bottom: .8em; }
.faq-block__list { display: grid; gap: 10px; }
.faq-block details {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	overflow: hidden;
	transition: border-color .15s ease;
}
.faq-block details:hover { border-color: var(--stamp); }
.faq-block summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	transition: color .15s ease;
}
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary::after {
	content: "+";
	margin-left: auto;
	flex: none;
	font-family: var(--font-mono);
	font-size: 1.25rem;
	color: var(--stamp);
	transition: transform .18s ease;
}
.faq-block details[open] summary::after { content: "–"; }
.faq-block details:hover summary { color: var(--stamp); }
.faq-block__a {
	padding: 0 18px 16px;
	font-size: .96rem;
	line-height: 1.65;
	color: var(--ink-soft);
}
.faq-block__a p { margin: 0 0 .7em; }
.faq-block__a p:last-child { margin-bottom: 0; }
.faq-block__a a { color: var(--stamp); }

/* =========================================================
   47. СРАВНЕНИЕ ДВУХ ВАРИАНТОВ (нейтральное)
   Отличается от «плохо / хорошо»: обе колонки равноправны,
   предпочтительная помечается зелёной рамкой и подписью.
   ========================================================= */
.prose .vs--choice .vs__col {
	border-color: var(--line);
	background: var(--paper);
}
.prose .vs--choice .vs__t { color: var(--ink-soft); }
.prose .vs--choice .vs__col--pick {
	border-color: var(--stamp);
	background: rgba(21, 115, 71, .05);
	position: relative;
}
.prose .vs--choice .vs__col--pick .vs__t { color: var(--stamp); }
.vs__mark {
	position: absolute;
	top: -10px;
	right: 14px;
	padding: 2px 10px;
	border-radius: 20px;
	background: var(--stamp);
	color: #fff;
	font-family: var(--font-mono);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
/* Итоговая строка под сравнением */
.prose .vs__result {
	margin: -.4em 0 1.6em;
	padding: 12px 16px;
	border-left: 3px solid var(--stamp);
	background: var(--paper-dim);
	border-radius: 0 10px 10px 0;
	font-size: .95rem;
	line-height: 1.6;
}

/* =========================================================
   48. ОТКЛИК СХЕМ НА НАВЕДЕНИЕ
   Полосы, шкала, крупная цифра и хронология реагируют так же,
   как диаграмма: активный элемент выделяется, соседние притухают.
   ========================================================= */

/* Полосы сравнения */
.prose .rz-bars:hover > li { opacity: .5; }
.prose .rz-bars > li {
	transition: opacity .18s ease, transform .18s ease;
	border-radius: 8px;
	padding: 2px 6px;
	margin-inline: -6px;
}
.prose .rz-bars > li:hover {
	opacity: 1;
	transform: translateX(3px);
	background: var(--paper-dim);
}
.rz-bar__track { transition: border-color .18s ease; }
.prose .rz-bars > li:hover .rz-bar__track { border-color: var(--stamp); }
.prose .rz-bars > li:hover .rz-bar__fill {
	filter: brightness(1.1);
	box-shadow: 0 0 14px -2px rgba(21, 115, 71, .55);
}
.rz-bar__label { transition: color .18s ease; }
.prose .rz-bars > li:hover .rz-bar__label { color: var(--stamp); }
.rz-bar__value { transition: color .18s ease, transform .18s ease; }
.prose .rz-bars > li:hover .rz-bar__value { color: var(--ink); transform: translateX(2px); }

/* Шкала-этапы */
.prose .rz-scale:hover > li { opacity: .55; }
.prose .rz-scale > li { transition: opacity .18s ease, background-color .18s ease; }
.prose .rz-scale > li:hover { opacity: 1; }
.rz-scale__title { transition: color .18s ease; }
.prose .rz-scale > li:hover .rz-scale__title { color: var(--stamp); }

/* Крупная цифра */
.prose .stat { transition: border-color .18s ease, box-shadow .18s ease; }
.prose .stat:hover {
	border-left-color: var(--stamp);
	box-shadow: 0 12px 28px -20px rgba(24, 36, 32, .55);
}
.stat__n { transition: transform .2s ease; display: inline-block; }
.prose .stat:hover .stat__n { transform: scale(1.05); }

/* Хронология */
.prose .tline:hover > li { opacity: .55; }
.prose .tline > li { transition: opacity .18s ease; }
.prose .tline > li:hover { opacity: 1; }
.tline__w { transition: letter-spacing .18s ease; }
.prose .tline > li:hover .tline__w { letter-spacing: .16em; }

@media (prefers-reduced-motion: reduce) {
	.prose .rz-bars > li,
	.prose .rz-scale > li,
	.prose .tline > li,
	.prose .stat,
	.stat__n { transition: none; }
	.prose .rz-bars > li:hover { transform: none; }
}

/* =========================================================
   49. КАРТА САЙТА ДЛЯ ЛЮДЕЙ
   ========================================================= */
.sitemap { display: grid; gap: 40px; margin-top: 1.4em; }

.sitemap__title {
	display: flex;
	align-items: baseline;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 18px;
	font-size: 1.4rem;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line);
}
.sitemap__title > span { position: relative; }
.sitemap__title > span::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -12px;
	height: 2px;
	background: var(--stamp);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s ease;
}
.sitemap__block:hover .sitemap__title > span::after { transform: scaleX(1); }
.sitemap__all {
	margin-left: auto;
	font-size: .86rem;
	font-weight: 700;
	color: var(--stamp);
	text-decoration: none;
	white-space: nowrap;
}

/* Инструменты — крупные карточки со стрелкой */
.sitemap__tools {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 14px;
}
.sitemap__tool {
	position: relative;
	display: block;
	padding: 20px 46px 18px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	text-decoration: none;
	color: var(--ink);
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.sitemap__tool b { display: block; font-size: 1.06rem; margin-bottom: 4px; }
.sitemap__tool span { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.sitemap__tool i {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-style: normal;
	font-size: 1.25rem;
	color: var(--stamp);
	transition: transform .2s ease;
}
.sitemap__tool:hover {
	transform: translateY(-3px);
	border-color: var(--stamp);
	box-shadow: 0 16px 32px -20px rgba(24, 36, 32, .45);
	color: var(--ink);
}
.sitemap__tool:hover i { transform: translateY(-50%) translateX(5px); }

/* Сферы — раскрывающиеся блоки */
.sitemap__spheres { display: grid; gap: 10px; }
.sitemap__sphere {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	overflow: hidden;
	transition: border-color .15s ease;
}
.sitemap__sphere:hover { border-color: var(--stamp); }
.sitemap__sphere > summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	font-weight: 700;
	font-size: 1.02rem;
}
.sitemap__sphere > summary::-webkit-details-marker { display: none; }
.sitemap__sphere > summary::after {
	content: "▾";
	margin-left: auto;
	color: var(--stamp);
	transition: transform .22s ease;
}
.sitemap__sphere[open] > summary::after { transform: rotate(180deg); }
.sitemap__sphere-name { transition: color .15s ease; }
.sitemap__sphere:hover .sitemap__sphere-name { color: var(--stamp); }
.sitemap__count {
	font-family: var(--font-mono);
	font-size: .72rem;
	font-weight: 700;
	color: var(--ink-soft);
	background: var(--paper-dim);
	border-radius: 20px;
	padding: 2px 9px;
}
.sitemap__sphere-link {
	display: inline-block;
	margin: 0 18px 16px;
	font-size: .87rem;
	font-weight: 700;
	color: var(--stamp);
	text-decoration: none;
}

/* Списки ссылок */
.sitemap__list {
	list-style: none;
	margin: 0 0 12px;
	padding: 4px 18px 0;
	columns: 2;
	column-gap: 28px;
}
.sitemap__list--flat { columns: 2; padding: 0; }
.sitemap__list li { break-inside: avoid; margin-bottom: 9px; }
.sitemap__list a {
	position: relative;
	display: inline-block;
	padding-left: 16px;
	font-size: .95rem;
	color: var(--ink);
	text-decoration: none;
	transition: color .14s ease, transform .14s ease;
}
.sitemap__list a::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--stamp);
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity .16s ease, transform .16s ease;
}
.sitemap__list a:hover { color: var(--stamp); transform: translateX(4px); }
.sitemap__list a:hover::before { opacity: 1; transform: translateX(0); }
@media (max-width: 640px) {
	.sitemap__list, .sitemap__list--flat { columns: 1; }
}

/* Разделы советов */
.sitemap__cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 22px;
}
.sitemap__cat {
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	padding: 16px 4px 8px;
	transition: border-color .15s ease, transform .15s ease;
}
.sitemap__cat:hover { border-color: var(--stamp); transform: translateY(-2px); }
.sitemap__cat h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 18px 10px;
	font-size: 1.02rem;
}
.sitemap__cat h3 a { color: var(--ink); text-decoration: none; }
.sitemap__cat:hover h3 a { color: var(--stamp); }
.sitemap__cat .sitemap__list { columns: 1; margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
	.sitemap__tool, .sitemap__cat, .sitemap__list a,
	.sitemap__title > span::after { transition: none; }
}

/* Текст о сервисе на главной */
.home-text { max-width: 62em; }
.home-text__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 26px;
	margin: 1.6em 0;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
}
.home-text__cols h3 { margin: 0 0 .5em; font-size: 1.06rem; }
.home-text__cols p { margin: 0; font-size: .95rem; }

.home-text__links {
	list-style: none;
	padding: 0;
	margin: 1.2em 0 1.6em;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
}
.home-text__links a {
	display: block;
	padding: 15px 18px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--stamp);
	border-radius: 4px 12px 12px 4px;
	background: var(--paper);
	text-decoration: none;
	color: var(--ink);
	transition: transform .15s ease, box-shadow .15s ease;
}
.home-text__links a:hover {
	transform: translateX(4px);
	box-shadow: 0 10px 24px -18px rgba(24, 36, 32, .5);
	color: var(--ink);
}
.home-text__links b { display: block; margin-bottom: 4px; color: var(--stamp); }
.home-text__links span { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.home-text__note { font-size: .93rem; }


/* WordPress добавляет пустые абзацы между элементами разметки.
   Внутри блоков-сеток они становятся лишними ячейками. */
.prose .donut > p:empty,
.prose .vs > p:empty,
.prose .mf > p:empty,
.prose .talk > p:empty,
.prose .rz-scale > p:empty { display: none; }

/* =========================================================
   50. КАТАЛОГ КУРСОВ
   ========================================================= */
.prose .kursy-cta,
.entry .kursy-cta {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
	margin: 2em 0;
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--sample);
	border-radius: 4px 14px 14px 4px;
	background: var(--paper-dim);
	transition: transform .16s ease, box-shadow .16s ease;
}
.prose .kursy-cta:hover { transform: translateX(3px); box-shadow: 0 12px 26px -20px rgba(24,36,32,.5); }
.kursy-cta__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(178, 58, 46, .1);
	color: var(--sample);
}
.kursy-cta__icon svg { width: 24px; height: 24px; }
.kursy-cta__body b { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.prose .kursy-cta__body p { margin: 0 0 12px; font-size: .94rem; color: var(--ink-soft); line-height: 1.55; }

/* Карточка курса */
.kurs-card {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	padding: 20px 22px 18px;
	transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.kurs-card:hover {
	transform: translateY(-3px);
	border-color: var(--stamp);
	box-shadow: 0 16px 32px -20px rgba(24, 36, 32, .45);
}
.kurs-card__name { display: block; font-size: 1.12rem; line-height: 1.3; margin-bottom: 12px; }
.prose .kurs-card__meta {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 7px;
	font-size: .93rem;
}
.prose .kurs-card__meta > li {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 10px;
	margin: 0;
	padding: 0;
}
.prose .kurs-card__meta > li::before { display: none; }
.kurs-card__meta span {
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-soft);
	padding-top: 3px;
}
.prose .kurs-card__note { margin: 0 0 12px; font-size: .88rem; color: var(--ink-soft); }
.kurs-card__go {
	display: inline-block;
	font-weight: 700;
	font-size: .95rem;
	color: var(--stamp);
	text-decoration: none;
	transition: transform .14s ease;
}
.kurs-card:hover .kurs-card__go { transform: translateX(3px); }
.kurs-card__mark {
	display: block;
	margin-top: 8px;
	font-family: var(--font-mono);
	font-size: .66rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}

/* Сетка карточек на странице каталога */
.prose .kursy-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 1.6em 0;
}

/* Личные данные владельца: до сборки скриптом видно многоточие */
.rz-priv { white-space: nowrap; }
.rz-priv__dots { letter-spacing: .12em; color: var(--ink-soft); }

/* =========================================================
   51. ПОДВАЛ В НЕСКОЛЬКО КОЛОНОК
   ========================================================= */
.footer__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 32px;
	margin: 28px 0;
	padding: 24px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__col-title {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .55;
	margin-bottom: 12px;
}
.footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.footer__list a {
	font-size: .93rem;
	text-decoration: none;
	opacity: .82;
	display: inline-block;
	transition: opacity .14s ease, transform .14s ease;
}
.footer__list a:hover { opacity: 1; transform: translateX(3px); }

@media (max-width: 780px) {
	.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 480px) {
	.footer__cols { grid-template-columns: 1fr; }
}

/* =========================================================
   52. БЛОКИ СТРАНИЦЫ ОБРАЗЦА
   Формулировки копируются нажатием, требования и ошибки
   стоят рядом — так их читают как противопоставление.
   ========================================================= */
.pblock { margin: 2.4em 0; }

.pblock__head {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: start;
	margin-bottom: 16px;
}
.pblock__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(21, 115, 71, .1);
	color: var(--stamp);
}
.pblock__icon svg { width: 22px; height: 22px; }
.prose .pblock__head h2 { margin: 0 0 3px; font-size: 1.3rem; }
.prose .pblock__head p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.pblock__all {
	font: inherit;
	font-size: .84rem;
	font-weight: 700;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: transparent;
	color: var(--stamp);
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .15s ease, background-color .15s ease;
}
.pblock__all:hover { border-color: var(--stamp); background: rgba(21, 115, 71, .07); }
@media (max-width: 620px) {
	.pblock__head { grid-template-columns: 40px minmax(0, 1fr); }
	.pblock__all { grid-column: 1 / -1; justify-self: start; }
}

/* Список формулировок */
.prose .dlist {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
	background: var(--paper);
}
.prose .dlist > li { margin: 0; padding: 0; }
.prose .dlist > li::before { display: none; }
.prose .dlist > li + li { border-top: 1px solid var(--line); }

.dlist__row {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 34px;
	align-items: center;
	gap: 4px;
	width: 100%;
	font: inherit;
	text-align: left;
	background: transparent;
	border: 0;
	padding: 13px 14px 13px 0;
	cursor: pointer;
	color: inherit;
	transition: background-color .14s ease;
}
.dlist__row:hover { background: var(--paper-dim); }
.dlist__n {
	font-family: var(--font-mono);
	font-size: .72rem;
	font-weight: 700;
	color: var(--ink-soft);
	text-align: center;
	transition: color .14s ease;
}
.dlist__row:hover .dlist__n { color: var(--stamp); }
.dlist__t { font-size: .97rem; line-height: 1.55; }
.dlist__c {
	display: grid;
	place-items: center;
	color: var(--ink-soft);
	opacity: 0;
	transform: translateX(-3px);
	transition: opacity .15s ease, transform .15s ease, color .15s ease;
}
.dlist__c svg { width: 17px; height: 17px; }
.dlist__row:hover .dlist__c,
.dlist__row:focus-visible .dlist__c { opacity: 1; transform: translateX(0); color: var(--stamp); }
.dlist__row.is-copied { background: rgba(21, 115, 71, .09); }
.dlist__row.is-copied .dlist__c { opacity: 1; color: var(--stamp); }
@media (hover: none) { .dlist__c { opacity: .45; transform: none; } }

/* Требования и ошибки рядом */
.pblock--pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}
.pcol {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px 20px 16px;
	background: var(--paper);
	transition: transform .16s ease, box-shadow .16s ease;
}
.pcol:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(24, 36, 32, .5); }
.pcol__t {
	display: block;
	font-family: var(--font-mono);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--line);
}
.pcol--want { border-top: 3px solid var(--stamp); }
.pcol--want .pcol__t { color: var(--stamp); }
.pcol--avoid { border-top: 3px solid var(--sample); }
.pcol--avoid .pcol__t { color: var(--sample); }

.prose .pcol__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.prose .pcol__list > li {
	position: relative;
	margin: 0;
	padding-left: 27px;
	font-size: .95rem;
	line-height: 1.55;
}
.prose .pcol__list > li::before {
	position: absolute;
	left: 0;
	top: .18em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: .72rem;
	font-weight: 700;
	line-height: 1;
	background: none;
}
.prose .pcol--want .pcol__list > li::before {
	content: "✓";
	background: rgba(21, 115, 71, .12);
	color: var(--stamp);
}
.prose .pcol--avoid .pcol__list > li::before {
	content: "×";
	background: rgba(178, 58, 46, .12);
	color: var(--sample);
	font-size: .86rem;
}

/* Навыки, копируемые нажатием */
.chips--copy .chip {
	font: inherit;
	cursor: pointer;
	border: 1px solid var(--line);
	background: transparent;
	color: inherit;
	transition: border-color .14s ease, background-color .14s ease, transform .12s ease;
}
.chips--copy .chip:hover { border-color: var(--stamp); color: var(--stamp); }
.chips--copy .chip:active { transform: scale(.97); }
.chips--copy .chip.is-copied {
	border-color: var(--stamp);
	background: rgba(21, 115, 71, .12);
	color: var(--stamp);
}
.prof-skills__note {
	display: block;
	margin-top: 9px;
	font-size: .82rem;
	color: var(--ink-soft);
}

/* Нижний ряд подвала: образцы по профессиям */
.footer__pop { margin: 22px 0 6px; }
.footer__pop-title {
	display: block;
	font-family: var(--font-mono);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	opacity: .5;
	margin-bottom: 10px;
}
.footer__pop ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}
.footer__pop a {
	font-size: .88rem;
	text-decoration: none;
	opacity: .72;
	transition: opacity .14s ease;
}
.footer__pop a:hover { opacity: 1; }
.footer__pop-all a { font-weight: 700; opacity: .9; }
.rz-mail a { text-decoration: underline; }

/* =========================================================
   53. НОВОЕ В РАЗДЕЛЕ СОВЕТОВ
   ========================================================= */
.sovety-new { margin: 26px 0 34px; }
.sovety-new__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line);
}
.sovety-new__count { font-size: .84rem; color: var(--ink-soft); }

.sovety-new__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 14px;
}
.sovety-new__card {
	display: grid;
	gap: 7px;
	align-content: start;
	padding: 18px 20px 16px;
	border: 1px solid var(--line);
	border-top: 3px solid var(--stamp);
	border-radius: 4px 4px 14px 14px;
	background: var(--paper);
	text-decoration: none;
	color: var(--ink);
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.sovety-new__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 34px -24px rgba(24, 36, 32, .55);
	color: var(--ink);
}
.sovety-new__cat {
	font-family: var(--font-mono);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--stamp);
}
.sovety-new__card b { font-size: 1.02rem; line-height: 1.32; }
.sovety-new__exc { font-size: .89rem; line-height: 1.5; color: var(--ink-soft); }
.sovety-new__date {
	font-family: var(--font-mono);
	font-size: .7rem;
	letter-spacing: .06em;
	color: var(--ink-soft);
	opacity: .8;
	margin-top: 2px;
}

/* Кнопка раскрытия фильтров по профессиям */
.catalog__chips-more {
	font: inherit;
	font-size: .82rem;
	font-weight: 700;
	padding: 6px 14px;
	border: 1px dashed var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--stamp);
	cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.catalog__chips-more:hover {
	border-style: solid;
	border-color: var(--stamp);
	background: rgba(21, 115, 71, .07);
}

/* Развёрнутое состояние списка фильтров */
.catalog__chips-more.is-open {
	border-style: solid;
	border-color: var(--ink-soft);
	color: var(--ink-soft);
}
.catalog__chips-more.is-open:hover {
	border-color: var(--stamp);
	color: var(--stamp);
}

/* =========================================================
   54. ПОИСК ПО КАРТЕ САЙТА
   ========================================================= */
.smap-find { margin: 0 0 20px; }
.smap-find__field {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.smap-find__field:focus-within {
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .12);
}
.smap-find__icon { display: grid; place-items: center; color: var(--ink-soft); }
.smap-find__icon svg { width: 19px; height: 19px; }
.smap-find__field input {
	flex: 1;
	min-width: 0;
	font: inherit;
	font-size: 1rem;
	border: 0;
	background: transparent;
	color: inherit;
	outline: none;
}
.smap-find__field input::-webkit-search-cancel-button { display: none; }
.smap-find__clear {
	font: inherit;
	font-size: 1.3rem;
	line-height: 1;
	width: 26px;
	height: 26px;
	border: 0;
	border-radius: 50%;
	background: rgba(24, 36, 32, .08);
	color: var(--ink-soft);
	cursor: pointer;
}
.smap-find__clear:hover { background: rgba(24, 36, 32, .16); color: var(--ink); }
.smap-find__hint {
	margin: 8px 0 0;
	font-size: .84rem;
	color: var(--ink-soft);
}

.smap-find__results {
	margin-top: 12px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 8px;
}
.smap-hit {
	display: grid;
	gap: 2px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--stamp);
	border-radius: 3px 10px 10px 3px;
	text-decoration: none;
	color: var(--ink);
	transition: transform .14s ease, background-color .14s ease;
}
.smap-hit:hover { transform: translateX(2px); background: var(--paper-dim); color: var(--ink); }
.smap-hit__t { font-size: .95rem; line-height: 1.4; font-weight: 600; }
.smap-hit__t mark { background: rgba(21, 115, 71, .2); color: inherit; border-radius: 3px; padding: 0 1px; }
.smap-hit__s {
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-soft);
}
.smap-find__empty { margin: 0; font-size: .93rem; color: var(--ink-soft); }

/* Пока идёт поиск, сами разделы приглушаем */
.sitemap.is-searching .sitemap__block { opacity: .45; }
.sitemap.is-searching .sitemap__block:hover { opacity: 1; }

/* Навигация по разделам карты */
.smap-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}
.smap-nav a {
	font-size: .84rem;
	font-weight: 600;
	padding: 6px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
	color: var(--ink-soft);
	transition: border-color .14s ease, color .14s ease;
}
.smap-nav a:hover { border-color: var(--stamp); color: var(--stamp); }

/* =========================================================
   55. ПОЯСНЕНИЕ ТЕРМИНА
   Текст лежит во вложенном элементе, а не в атрибуте:
   атрибуты data-* вырезаются при сохранении материала.
   ========================================================= */
.prose .term {
	position: relative;
	border-bottom: 1px dashed var(--stamp);
	cursor: help;
	color: inherit;
}
.prose .term__note {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(4px);
	width: max-content;
	max-width: min(300px, 76vw);
	padding: 10px 13px;
	border-radius: 10px;
	background: var(--ink);
	color: var(--paper);
	font-size: .86rem;
	font-weight: 400;
	font-style: normal;
	line-height: 1.45;
	text-align: left;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	z-index: 40;
	box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .5);
}
.prose .term__note::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 100%;
	transform: translateX(-50%);
	border: 6px solid transparent;
	border-top-color: var(--ink);
}
@media (hover: hover) {
	.prose .term:hover > .term__note {
		opacity: 1;
		visibility: visible;
		transform: translateX(-50%) translateY(0);
	}
}
.prose .term.is-open > .term__note {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.prose .term:focus-visible { outline: 2px solid var(--stamp); outline-offset: 2px; border-radius: 2px; }

/* У края экрана подсказка не должна уходить за границу */
@media (max-width: 560px) {
	.prose .term__note { max-width: 82vw; }
}

/* =========================================================
   56. ГОТОВАЯ ФРАЗА С КОПИРОВАНИЕМ
   ========================================================= */
.prose .phrase {
	margin: 1.5em 0;
	border: 1px solid var(--line);
	border-left: 3px solid var(--stamp);
	border-radius: 3px 12px 12px 3px;
	padding: 16px 18px 14px;
	background: var(--paper);
}
.prose .phrase__label {
	display: block;
	font-family: var(--font-mono);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--stamp);
	margin-bottom: 8px;
}
.prose .phrase__text {
	margin: 0 0 12px;
	font-size: 1rem;
	line-height: 1.6;
}
.prose .phrase__copy {
	font: inherit;
	font-size: .84rem;
	font-weight: 700;
	padding: 7px 15px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: transparent;
	color: var(--stamp);
	cursor: pointer;
	transition: border-color .14s ease, background-color .14s ease;
}
.prose .phrase__copy:hover { border-color: var(--stamp); background: rgba(21, 115, 71, .07); }
.prose .phrase__copy.is-done { border-color: var(--stamp); background: rgba(21, 115, 71, .14); }

/* =========================================================
   57. ФОРМЫ СВЯЗИ: ОТКЛИК НА ДЕЙСТВИЯ
   Форма — последний шаг перед обращением, и она должна
   ощущаться живой: заметный фокус, спокойные переходы,
   понятное состояние отправки.
   ========================================================= */
.rzf {
	position: relative;
	transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.rzf:hover { border-color: rgba(21, 115, 71, .45); }
.rzf:focus-within {
	border-color: var(--stamp);
	box-shadow: 0 18px 40px -30px rgba(24, 36, 32, .55);
}

/* Поля */
.rzf__field { position: relative; }
.rzf__field input,
.rzf__field select,
.rzf__field textarea {
	transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.rzf__field input:hover,
.rzf__field select:hover,
.rzf__field textarea:hover { border-color: rgba(21, 115, 71, .5); }
.rzf__field input:focus,
.rzf__field select:focus,
.rzf__field textarea:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .13);
	background: var(--paper);
}

/* Подпись подсвечивается вместе с полем — видно, где вы находитесь */
.rzf__field label { transition: color .16s ease; }
.rzf__field:focus-within label { color: var(--stamp); }

/* Заполненное поле помечается: видно, что осталось */
.rzf__field input:not(:placeholder-shown) { border-color: rgba(21, 115, 71, .35); }

/* Кнопка отправки */
.rzf button[type="submit"] {
	position: relative;
	overflow: hidden;
	transition: transform .14s ease, box-shadow .2s ease, opacity .2s ease;
}
.rzf button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -16px rgba(21, 115, 71, .8);
}
.rzf button[type="submit"]:active { transform: translateY(0); }
.rzf button[type="submit"][disabled] { opacity: .6; transform: none; box-shadow: none; }

/* Полоса-индикатор во время отправки */
.rzf.is-sending::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	border-radius: 0 0 var(--radius, 14px) var(--radius, 14px);
	background: linear-gradient(90deg, transparent, var(--stamp), transparent);
	background-size: 40% 100%;
	background-repeat: no-repeat;
	animation: rzf-run 1.1s linear infinite;
}
@keyframes rzf-run {
	0%   { background-position: -40% 0; }
	100% { background-position: 140% 0; }
}

/* Ошибка поля — короткое покачивание, чтобы её заметили */
.rzf__field.is-error input,
.rzf__field.is-error select,
.rzf__field.is-error textarea {
	border-color: var(--sample);
	box-shadow: 0 0 0 3px rgba(178, 58, 46, .12);
	animation: rzf-shake .32s ease;
}
@keyframes rzf-shake {
	0%, 100% { transform: translateX(0); }
	25%      { transform: translateX(-4px); }
	75%      { transform: translateX(4px); }
}

/* Успех */
.rzf__done {
	animation: rzf-in .35s cubic-bezier(.2, .8, .3, 1);
}
@keyframes rzf-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.rzf, .rzf__field input, .rzf button[type="submit"] { transition: none; }
	.rzf.is-sending::after, .rzf__field.is-error input, .rzf__done { animation: none; }
}

/* =========================================================
   58. КОЛЬЦЕВАЯ ДИАГРАММА ИЗ ШОРТКОДА  [rz_donut]
   Доли приходят переменными --a…--e. Старая диаграмма на SVG
   осталась без изменений — у неё своя разметка и свои правила.
   ========================================================= */
.prose .donut--fig {
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr);
	gap: 26px;
	align-items: center;
	margin: 1.8em 0 .8em;
	padding: 22px 24px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
}
@media (max-width: 620px) {
	.prose .donut--fig { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
}

.donut__fig {
	position: relative;
	display: block;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	/* Доли складываются нарастающим итогом: каждая начинается там, где кончилась предыдущая. */
	background: conic-gradient(
		var(--stamp)                   0,
		var(--stamp)                   calc(var(--a, 0) * 1%),
		var(--stamp-mid, #2f8f60)      calc(var(--a, 0) * 1%),
		var(--stamp-mid, #2f8f60)      calc((var(--a, 0) + var(--b, 0)) * 1%),
		var(--stamp-soft, #6fb894)     calc((var(--a, 0) + var(--b, 0)) * 1%),
		var(--stamp-soft, #6fb894)     calc((var(--a, 0) + var(--b, 0) + var(--c, 0)) * 1%),
		var(--stamp-pale, #b9dcc9)     calc((var(--a, 0) + var(--b, 0) + var(--c, 0)) * 1%),
		var(--stamp-pale, #b9dcc9)     calc((var(--a, 0) + var(--b, 0) + var(--c, 0) + var(--d, 0)) * 1%),
		var(--line)                    calc((var(--a, 0) + var(--b, 0) + var(--c, 0) + var(--d, 0)) * 1%)
	);
	animation: rz-donut-in .6s cubic-bezier(.25, .8, .3, 1) both;
}
/* Отверстие в середине */
.donut__fig::after {
	content: "";
	position: absolute;
	inset: 27%;
	border-radius: 50%;
	background: var(--paper);
}
@keyframes rz-donut-in {
	from { transform: rotate(-18deg) scale(.94); opacity: 0; }
	to   { transform: none; opacity: 1; }
}

.donut__legend {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.prose .donut__legend > li {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: .94rem;
	line-height: 1.45;
}
.prose .donut__legend > li::before { display: none; }
.donut__key {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 3px;
	transform: translateY(1px);
}
.donut__key--a { background: var(--stamp); }
.donut__key--b { background: var(--stamp-mid, #2f8f60); }
.donut__key--c { background: var(--stamp-soft, #6fb894); }
.donut__key--d { background: var(--stamp-pale, #b9dcc9); }
.donut__key--e { background: var(--line); }

.prose .donut__note {
	margin: 0 0 1.6em;
	font-size: .86rem;
	line-height: 1.55;
	color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
	.donut__fig { animation: none; }
}

/* Подсветка доли при наведении на пункт легенды */
.donut__fig::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: conic-gradient(
		rgba(24, 36, 32, .5) 0,
		rgba(24, 36, 32, .5) var(--hl-from, 0%),
		transparent          var(--hl-from, 0%),
		transparent          var(--hl-to, 0%),
		rgba(24, 36, 32, .5) var(--hl-to, 0%),
		rgba(24, 36, 32, .5) 100%
	);
	opacity: 0;
	transition: opacity .18s ease;
	pointer-events: none;
}
.donut--fig.is-hl .donut__fig::before { opacity: 1; }
.donut--fig .donut__fig { transition: transform .2s cubic-bezier(.25, .8, .3, 1); }
.donut--fig.is-hl .donut__fig { transform: scale(1.03); }

.prose .donut__legend > li {
	padding: 3px 8px;
	margin-left: -8px;
	border-radius: 7px;
	cursor: default;
	transition: background-color .15s ease, opacity .15s ease;
}
.donut--fig.is-hl .donut__legend > li { opacity: .45; }
.donut--fig .donut__legend > li.is-active {
	opacity: 1;
	background: rgba(21, 115, 71, .09);
	font-weight: 600;
}
.donut__key { transition: transform .15s ease; }
.donut__legend > li.is-active .donut__key { transform: translateY(1px) scale(1.25); }

@media (prefers-reduced-motion: reduce) {
	.donut--fig .donut__fig,
	.donut__fig::before,
	.prose .donut__legend > li { transition: none; }
	.donut--fig.is-hl .donut__fig { transform: none; }
}


/* Предохранитель от горизонтальной прокрутки на телефоне.
   Дешевле поставить его один раз, чем ловить переполнение
   в каждом новом блоке. */
@media (max-width: 720px) {
	html, body { overflow-x: clip; }
	.prose img,
	.prose table,
	.prose pre { max-width: 100%; }
	.prose .tbl-fig { overflow-x: auto; }
}

/* =========================================================
   59. ПРОМО-БЛОК В РАЗДЕЛЕ
   ========================================================= */
.rzpromo {
	margin: 1.9em 0;
	padding: 20px 22px 16px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--stamp);
	border-radius: 4px 14px 14px 4px;
	background: linear-gradient(180deg, rgba(21, 115, 71, .05), transparent 70%), var(--paper);
	display: grid;
	gap: 14px;
	align-items: center;
}
@media (min-width: 620px) {
	.rzpromo--button { grid-template-columns: 1fr auto; }
	.rzpromo--button .rzpromo__note { grid-column: 1 / -1; }
}
.rzpromo__body { display: grid; gap: 6px; min-width: 0; }
.rzpromo__title {
	font-family: var(--font-display, inherit);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.25;
}
.rzpromo__text { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.rzpromo__btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: 10px;
	background: var(--stamp);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	transition: transform .14s ease, box-shadow .18s ease;
}
.rzpromo__btn:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -16px rgba(21, 115, 71, .85);
}
.rzpromo__note {
	font-family: var(--font-mono);
	font-size: .68rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-soft);
	opacity: .75;
}
.rzpromo--banner { padding: 16px; }
.rzpromo--banner img { max-width: 100%; height: auto; display: block; margin-inline: auto; }
.rzpromo--archive { margin: 0 0 2em; }

@media (max-width: 560px) {
	.rzpromo { padding: 16px 16px 12px; }
	.rzpromo__btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.rzpromo__btn { transition: none; }
	.rzpromo__btn:hover { transform: none; }
}

/* =========================================================
   60. БОКОВАЯ КОЛОНКА НА СТРАНИЦЕ ОБРАЗЦА
   Только на широких экранах: на телефоне она ушла бы
   под текст и мешала читать.
   ========================================================= */
.profside { display: none; }

@media (min-width: 1180px) {
	.single-profession .entry__layout {
		max-width: 1140px;
		display: grid;
		grid-template-columns: minmax(0, 780px) 300px;
		gap: 46px;
		/* Без align-items: start — колонка должна тянуться на всю
		   высоту текста, иначе прилипанию некуда двигаться. */
	}
	.single-profession .entry__main { min-width: 0; }

	.profside { display: block; min-width: 0; }
	.profside__inner {
		position: sticky;
		top: 96px;
		display: grid;
		gap: 14px;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding-right: 2px;
	}
}

.profside__box {
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--paper);
}
.profside__title {
	display: block;
	font-family: var(--font-mono);
	font-size: .66rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-soft);
	margin-bottom: 10px;
}
.profside__field input {
	width: 100%;
	font: inherit;
	font-size: .92rem;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 9px;
	background: var(--paper-dim);
	color: inherit;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.profside__field input:focus {
	outline: none;
	border-color: var(--stamp);
	box-shadow: 0 0 0 3px rgba(21, 115, 71, .12);
	background: var(--paper);
}
.profside__hits { display: grid; gap: 2px; margin-top: 10px; }
.profside__hits a {
	display: block;
	padding: 7px 9px;
	border-radius: 7px;
	font-size: .9rem;
	line-height: 1.35;
	text-decoration: none;
	color: var(--ink);
	transition: background-color .13s ease;
}
.profside__hits a:hover { background: rgba(21, 115, 71, .09); color: var(--stamp); }
.profside__empty { font-size: .88rem; color: var(--ink-soft); }
.profside__hint { margin: 10px 0 0; font-size: .82rem; color: var(--ink-soft); }

.profside__toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.profside__toc a {
	display: block;
	padding: 5px 9px;
	border-left: 2px solid var(--line);
	font-size: .88rem;
	line-height: 1.35;
	text-decoration: none;
	color: var(--ink-soft);
	transition: border-color .13s ease, color .13s ease;
}
.profside__toc a:hover { border-color: var(--stamp); color: var(--stamp); }

.profside__cta p { margin: 0 0 12px; font-size: .88rem; line-height: 1.5; color: var(--ink-soft); }
.profside__cta .btn { width: 100%; text-align: center; }
