/* VSHP: движок тестов. Стиль школы: синий #dd183b, мягкий фон #fff6f3, шрифт сайта.
   Кнопки движка носят в классе слово «interactive»: тема красит все <button>, кроме таких. */
.vshp-test {
	--v-blue: #dd183b;
	--v-blue-d: #b80f2f;
	--v-blue-dd: #8e0b24;
	--v-soft: #fff6f3;
	--v-soft2: #ffede6;
	--v-line: #f0e3e6;
	--v-text: #140609;
	--v-mute: #6f6266;
	--v-ok: #019e7c;
	--v-warn: #b45309;
	max-width: 820px;
	margin: 32px auto;
	color: var(--v-text);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.55;
	box-sizing: border-box;
}
.vshp-test.vshp-test.vshp-test *, .vshp-test.vshp-test.vshp-test *::before, .vshp-test.vshp-test.vshp-test *::after { box-sizing: border-box; }
.vshp-test.vshp-test.vshp-test [hidden] { display: none !important; }

/* карточка */
.vshp-test.vshp-test.vshp-test .vshp-t-card {
	background: #fff;
	border: 1px solid var(--v-line);
	border-radius: 20px;
	box-shadow: 0 12px 34px rgba(221, 24, 59, .09);
	padding: 38px 40px;
	margin: 0 0 20px;
	animation: vshpIn .35s ease both;
}
@keyframes vshpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vshp-test.vshp-test.vshp-test .vshp-t-card { animation: none; } }

.vshp-test.vshp-test.vshp-test .vshp-t-eyebrow {
	display: inline-block;
	background: var(--v-soft);
	color: var(--v-blue);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 6px 14px;
	margin: 0 0 16px;
}
.vshp-test.vshp-test.vshp-test .vshp-t-title {
	font-size: 30px;
	line-height: 1.22;
	font-weight: 800;
	color: var(--v-text);
	margin: 0 0 10px;
}
.vshp-test.vshp-test.vshp-test .vshp-t-sub { font-size: 18px; color: var(--v-mute); margin: 0 0 22px; }
.vshp-test.vshp-test.vshp-test .vshp-t-text { margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.vshp-test.vshp-test.vshp-test .vshp-t-chips li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--v-soft);
	border: 1px solid var(--v-line);
	border-radius: 999px;
	padding: 7px 15px;
	font-size: 14px;
	font-weight: 600;
	color: var(--v-blue-d);
	margin: 0;
}
.vshp-test.vshp-test.vshp-test .vshp-t-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--v-blue); }

/* кнопки */
.vshp-test.vshp-test.vshp-test .vshp-interactive-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	background: var(--v-blue);
	border: 2px solid var(--v-blue);
	border-radius: 999px;
	padding: 15px 32px;
	cursor: pointer;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 8px 20px rgba(221, 24, 59, .28);
	transition: background .2s, transform .2s, box-shadow .2s;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-btn:hover { background: var(--v-blue-d); border-color: var(--v-blue-d); color: #fff; transform: translateY(-1px); }
.vshp-test.vshp-test.vshp-test .vshp-interactive-btn:focus-visible, .vshp-test.vshp-test.vshp-test .vshp-interactive-opt:focus-visible, .vshp-test.vshp-test.vshp-test .vshp-interactive-link:focus-visible {
	outline: 3px solid #f5b83d;
	outline-offset: 2px;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-btn.is-ghost {
	background: transparent;
	color: var(--v-blue);
	box-shadow: none;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-btn.is-ghost:hover { background: var(--v-soft); color: var(--v-blue-d); }
.vshp-test.vshp-test.vshp-test .vshp-interactive-link {
	display: inline-block;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--v-mute);
	background: none;
	border: 0;
	padding: 6px 0;
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	border-radius: 0;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-link:hover { color: var(--v-blue); background: none; }

/* вопрос */
.vshp-test.vshp-test.vshp-test .vshp-t-progress { height: 8px; background: var(--v-soft2); border-radius: 999px; overflow: hidden; margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-progress > span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #f46060, var(--v-blue));
	border-radius: 999px;
	transition: width .35s ease;
}
.vshp-test.vshp-test.vshp-test .vshp-t-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--v-mute); margin: 0 0 22px; }
.vshp-test.vshp-test.vshp-test .vshp-t-q { font-size: 23px; line-height: 1.38; font-weight: 700; color: var(--v-text); margin: 0 0 24px; min-height: 64px; }
.vshp-test.vshp-test.vshp-test .vshp-t-opts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.vshp-test.vshp-test.vshp-test .vshp-t-opts li { margin: 0; padding: 0; }
.vshp-test.vshp-test.vshp-test .vshp-interactive-opt {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
	text-align: left;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--v-text);
	background: #fff;
	border: 2px solid var(--v-line);
	border-radius: 14px;
	padding: 14px 18px;
	cursor: pointer;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	transition: border-color .15s, background .15s, transform .15s;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-opt:hover { border-color: var(--v-blue); background: var(--v-soft); color: var(--v-text); transform: translateY(-1px); }
.vshp-test.vshp-test.vshp-test .vshp-interactive-opt .vshp-t-key {
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--v-soft2);
	color: var(--v-blue);
	font-size: 14px;
	font-weight: 800;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, color .15s;
}
.vshp-test.vshp-test.vshp-test .vshp-interactive-opt.is-picked { border-color: var(--v-blue); background: var(--v-soft2); }
.vshp-test.vshp-test.vshp-test .vshp-interactive-opt.is-picked .vshp-t-key { background: var(--v-blue); color: #fff; }
.vshp-test.vshp-test.vshp-test .vshp-t-nav { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 0; }
.vshp-test.vshp-test.vshp-test .vshp-t-hint { font-size: 13px; color: var(--v-mute); }

/* результат */
.vshp-test.vshp-test.vshp-test .vshp-t-hero {
	background: linear-gradient(135deg, var(--v-soft) 0%, #fff 70%);
	border: 1px solid var(--v-line);
	border-radius: 20px;
	padding: 38px 40px;
	margin: 0 0 20px;
	animation: vshpIn .4s ease both;
}
.vshp-test.vshp-test.vshp-test .vshp-t-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v-mute); margin: 0 0 6px; }
.vshp-test.vshp-test.vshp-test .vshp-t-name { font-size: 40px; line-height: 1.1; font-weight: 800; color: var(--v-blue); margin: 0 0 8px; }
.vshp-test.vshp-test.vshp-test .vshp-t-tag { font-size: 19px; color: var(--v-text); font-weight: 600; margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-lead { font-size: 17px; margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-mix {
	display: inline-block;
	background: #fff;
	border: 1px dashed var(--v-blue);
	border-radius: 12px;
	padding: 8px 14px;
	font-size: 15px;
	color: var(--v-blue-d);
	margin: 4px 0 0;
}
.vshp-test.vshp-test.vshp-test .vshp-t-scales { margin: 22px 0 0; display: grid; gap: 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-scale-top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.vshp-test.vshp-test.vshp-test .vshp-t-scale-top span:last-child { color: var(--v-blue); }
.vshp-test.vshp-test.vshp-test .vshp-t-bar { height: 12px; background: var(--v-soft2); border-radius: 999px; overflow: hidden; }
.vshp-test.vshp-test.vshp-test .vshp-t-bar > span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #f46060, var(--v-blue)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.vshp-test.vshp-test.vshp-test .vshp-t-bar-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--v-mute); margin: 4px 0 0; }

.vshp-test.vshp-test.vshp-test .vshp-t-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.vshp-test.vshp-test.vshp-test .vshp-t-box { background: #fff; border: 1px solid var(--v-line); border-radius: 16px; padding: 24px 26px; margin: 0; }
.vshp-test.vshp-test.vshp-test .vshp-t-box h4, .vshp-test.vshp-test.vshp-test .vshp-t-box .vshp-t-boxh {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--v-blue);
	margin: 0 0 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.vshp-test.vshp-test.vshp-test .vshp-t-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.vshp-test.vshp-test.vshp-test .vshp-t-box li { position: relative; padding: 0 0 0 22px; margin: 0; font-size: 15.5px; line-height: 1.5; }
.vshp-test.vshp-test.vshp-test .vshp-t-box li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--v-ok); }
.vshp-test.vshp-test.vshp-test .vshp-t-box.is-risk li::before { background: var(--v-warn); }
.vshp-test.vshp-test.vshp-test .vshp-t-box.is-plain li::before { background: var(--v-blue); }

.vshp-test.vshp-test.vshp-test .vshp-t-prof { border-left: 5px solid var(--v-blue); background: var(--v-soft); border-radius: 0 16px 16px 0; padding: 24px 26px; margin: 0 0 20px; }
.vshp-test.vshp-test.vshp-test .vshp-t-prof .vshp-t-boxh { font-size: 17px; font-weight: 800; color: var(--v-blue); margin: 0 0 12px; }
.vshp-test.vshp-test.vshp-test .vshp-t-prof h5 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--v-mute); margin: 14px 0 8px; }
.vshp-test.vshp-test.vshp-test .vshp-t-prof ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vshp-test.vshp-test.vshp-test .vshp-t-prof li { position: relative; padding: 0 0 0 22px; margin: 0; font-size: 15.5px; }
.vshp-test.vshp-test.vshp-test .vshp-t-prof li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--v-blue); font-weight: 800; }

/* нативный блок школы */
.vshp-test.vshp-test.vshp-test .vshp-t-school {
	background: linear-gradient(135deg, var(--v-blue-d) 0%, var(--v-blue) 100%);
	color: #fff;
	border-radius: 20px;
	padding: 38px 40px;
	margin: 0 0 20px;
	box-shadow: 0 16px 36px rgba(23, 74, 130, .28);
}
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-t-eyebrow { background: rgba(255, 255, 255, .16); color: #fff; }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-t-sh-title { font-size: 26px; line-height: 1.25; font-weight: 800; color: #fff; margin: 0 0 10px; }
.vshp-test.vshp-test.vshp-test .vshp-t-school p { color: rgba(255, 255, 255, .92); margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-school ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.vshp-test.vshp-test.vshp-test .vshp-t-school li { position: relative; padding: 0 0 0 30px; margin: 0; color: #fff; font-size: 16.5px; }
.vshp-test.vshp-test.vshp-test .vshp-t-school li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .2em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
.vshp-test.vshp-test.vshp-test .vshp-t-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-interactive-btn { background: #fff; color: var(--v-blue-d); border-color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-interactive-btn:hover { background: var(--v-soft); color: var(--v-blue-dd); }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-interactive-btn.is-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); box-shadow: none; }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-interactive-btn.is-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-t-fine { font-size: 13px; color: rgba(255, 255, 255, .75); margin: 16px 0 0; }

.vshp-test.vshp-test.vshp-test .vshp-t-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 14px; }
.vshp-test.vshp-test.vshp-test .vshp-t-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--v-mute); }
.vshp-test.vshp-test.vshp-test .vshp-t-share a, .vshp-test.vshp-test.vshp-test .vshp-t-share .vshp-interactive-link {
	border: 1px solid var(--v-line);
	background: #fff;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 14px;
	font-weight: 600;
	color: var(--v-blue);
	text-decoration: none;
}
.vshp-test.vshp-test.vshp-test .vshp-t-share a:hover, .vshp-test.vshp-test.vshp-test .vshp-t-share .vshp-interactive-link:hover { background: var(--v-soft); color: var(--v-blue-d); }
.vshp-test.vshp-test.vshp-test .vshp-t-disc { font-size: 13.5px; line-height: 1.5; color: var(--v-mute); margin: 8px 0 0; }

@media (max-width: 640px) {
	.vshp-test { margin: 20px auto; }
	.vshp-test.vshp-test.vshp-test .vshp-t-card, .vshp-test.vshp-test.vshp-test .vshp-t-hero, .vshp-test.vshp-test.vshp-test .vshp-t-school { padding: 26px 20px; border-radius: 16px; }
	.vshp-test.vshp-test.vshp-test .vshp-t-title { font-size: 25px; }
	.vshp-test.vshp-test.vshp-test .vshp-t-q { font-size: 20px; min-height: 0; }
	.vshp-test.vshp-test.vshp-test .vshp-t-name { font-size: 32px; }
	.vshp-test.vshp-test.vshp-test .vshp-t-grid { grid-template-columns: 1fr; }
	.vshp-test.vshp-test.vshp-test .vshp-interactive-btn { width: 100%; padding: 15px 20px; }
	.vshp-test.vshp-test.vshp-test .vshp-interactive-opt { padding: 13px 14px; font-size: 16px; }
	.vshp-test.vshp-test.vshp-test .vshp-t-hint { display: none; }
	.vshp-test.vshp-test.vshp-test .vshp-t-school .vshp-t-sh-title { font-size: 22px; }
}

/* режим «профиль»: карточки шкал, предупреждение о искренности ответов */
.vshp-test.vshp-test.vshp-test .vshp-t-mix.is-warn { border-color: var(--v-warn); color: var(--v-warn); background: #fff8f1; }
.vshp-test.vshp-test.vshp-test .vshp-t-pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.vshp-test.vshp-test.vshp-test .vshp-t-pcard { display: block; }
.vshp-test.vshp-test.vshp-test .vshp-t-pcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 0 12px; }
.vshp-test.vshp-test.vshp-test .vshp-t-pcard-top .vshp-t-boxh { margin: 0; }
.vshp-test.vshp-test.vshp-test .vshp-t-pcard .vshp-t-scale-top { display: none; }
.vshp-test.vshp-test.vshp-test .vshp-t-lvl { flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 4px 11px; background: var(--v-soft2); color: var(--v-blue-d); }
.vshp-test.vshp-test.vshp-test .vshp-t-lvl.is-high { background: var(--v-blue); color: #fff; }
.vshp-test.vshp-test.vshp-test .vshp-t-lvl.is-low { background: #eef1f4; color: var(--v-mute); }
.vshp-test.vshp-test.vshp-test .vshp-t-ptext { font-size: 15.5px; line-height: 1.5; margin: 12px 0 0; }
@media (max-width: 640px) { .vshp-test.vshp-test.vshp-test .vshp-t-pgrid { grid-template-columns: 1fr; } }

/* Редблоки (ТЗ): строка в пунктирной рамке вместо большой карточки */
.vshp-test.vshp-test.vshp-test p.rb-nudge { border: 1px dashed #dd183b; border-radius: 12px; padding: 12px 16px; margin: 18px 0; font-size: .95em; line-height: 1.5; background: transparent; color: inherit; min-height: 44px; }
.vshp-test.vshp-test.vshp-test p.rb-nudge a { color: #b80f2f; font-weight: 600; text-decoration: underline; }
.vshp-test.vshp-test.vshp-test p.rb-nudge a:hover { color: #dd183b; }
