.add-question_email{
	padding: 25px;
    max-width: 680px;
    margin: 0 auto;
}
.add-question__email_confirm{
	padding-bottom: 15px;
}
.add-question__email_confirm_desk{
	font-size: 20px;
	color:#000;
	padding:0px 0 25px 0px;
}
/* Подтверждение вопроса кодом из письма (add_form_email_confirm.twig) */
.qconfirm {
	padding: 24px 16px 40px;
}
.qconfirm__card {
	max-width: 440px;
	margin: 0 auto;
	padding: 32px 28px 24px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(1, 66, 102, 0.10);
	text-align: center;
	color: #014266;
}
.qconfirm__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #E8F1F9;
	color: #166EB7;
}
.qconfirm__title {
	margin: 0 0 8px;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	color: #014266;
}
.qconfirm__lead {
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.45;
	color: #4A5B66;
}
.qconfirm__email {
	color: #014266;
	overflow-wrap: anywhere;
}
.qconfirm__form {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.qconfirm__label {
	margin-bottom: 8px;
	font-size: 13px;
	color: #707070;
}
.qconfirm__code {
	box-sizing: border-box;
	width: 100%;
	max-width: 240px;
	height: 60px;
	padding: 0 0 0 0.5em; /* компенсация letter-spacing справа, чтобы цифры стояли по центру */
	border: 2px solid #C9D6E0;
	border-radius: 12px;
	outline: none;
	background: #F7FAFC;
	font: 700 32px/1 "Courier New", monospace;
	letter-spacing: 0.5em;
	text-align: center;
	color: #014266;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.qconfirm__code::placeholder {
	color: #C9D6E0;
}
.qconfirm__code:focus {
	border-color: #166EB7;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(22, 110, 183, 0.15);
}
.qconfirm__code--error,
.qconfirm__code--error:focus {
	border-color: #D93025;
	box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12);
}
.qconfirm__error {
	margin-top: 10px;
	font-size: 14px;
	font-weight: 500;
	color: #D93025;
}
.qconfirm__submit {
	width: 100%;
	max-width: 240px;
	margin-top: 16px;
}
.qconfirm__note {
	margin: 16px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #707070;
}
.qconfirm__help {
	margin-top: 24px;
	padding: 16px 18px;
	border-radius: 12px;
	background: #FFF6E5;
	text-align: left;
	font-size: 14px;
	line-height: 1.5;
	color: #4A3A1A;
}
.qconfirm__help-title {
	margin-bottom: 6px;
	font-weight: 700;
	color: #000;
}
.qconfirm__help-list {
	margin: 0;
	padding-left: 18px;
}
.qconfirm__help a:not(.qconfirm__inbox) {
	color: #166EB7;
}
.qconfirm__help-list li + li {
	margin-top: 4px;
}
.qconfirm__inbox {
	display: inline-block;
	margin-top: 12px;
	padding: 8px 16px;
	border: 1px solid #166EB7;
	border-radius: 8px;
	font-weight: 500;
	text-decoration: none;
	color: #166EB7;
}
.qconfirm__inbox:hover {
	background: #166EB7;
	color: #fff;
}
@media (max-width: 480px) {
	.qconfirm {
		padding: 12px 0 24px;
	}
	.qconfirm__card {
		padding: 24px 16px 20px;
		border-radius: 12px;
	}
	.qconfirm__title {
		font-size: 21px;
	}
}

/* Ввод e-mail при размещении вопроса (add_form_email.twig) - в стиле qconfirm */
.qconfirm__steps {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: #9AA8B2;
}
.qconfirm__step {
	display: flex;
	align-items: center;
	gap: 6px;
}
.qconfirm__step + .qconfirm__step::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 1px;
	background: #D5DEE5;
}
.qconfirm__step--done {
	color: #2E9B4F;
}
.qconfirm__step--done::after {
	content: " ✓";
}
.qconfirm__step--current {
	font-weight: 700;
	color: #166EB7;
}
.qconfirm__field {
	width: 100%;
	text-align: left;
}
.qconfirm__field .qconfirm__label {
	display: block;
}
.qconfirm__input {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 2px solid #C9D6E0;
	border-radius: 10px;
	outline: none;
	background: #F7FAFC;
	font-size: 17px;
	color: #014266;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.qconfirm__input::placeholder {
	color: #A9B7C2;
}
.qconfirm__input:focus {
	border-color: #166EB7;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(22, 110, 183, 0.15);
}
.qconfirm__field .err_msg:not(:empty) {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #D93025;
	white-space: pre-line;
}
.qconfirm__check {
	width: 100%;
	margin-top: 14px;
	text-align: left;
	font-size: 13px;
	color: #4A5B66;
}
.qconfirm__submit--wide {
	max-width: none;
	margin-top: 20px;
}
.qconfirm__divider {
	height: 1px;
	margin: 24px 0 4px;
	background: #E3E9EE;
}
.qconfirm__social-links .social-button-list-small {
	justify-content: center;
	margin-top: 10px;
}
.qconfirm__legal {
	margin: 20px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #9AA8B2;
}
.qconfirm__legal a {
	color: #707070;
}

/* Форма «Задать вопрос» (add_form.twig). add.css / q_add.css на этой странице больше не подключаются */
#main_content_inner {
	padding: 0;
}
.qask {
	max-width: 720px;
	margin: 0 auto;
	padding: 24px 16px 40px;
	color: #014266;
}
.qask__head {
	margin-bottom: 20px;
	text-align: center;
}
.qask__title {
	margin: 0 0 10px;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 700;
	color: #014266;
}
.qask__subtitle {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 12px;
	font-size: 15px;
}
.qask__online,
.qask__free {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(1, 66, 102, 0.08);
	color: #4A5B66;
}
.qask__free {
	color: #2E9B4F;
	font-weight: 700;
}
.qask__online-dot {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #2E9B4F;
}
.qask__online-dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	background: rgba(46, 155, 79, 0.35);
	animation: qask-pulse 1.8s ease-out infinite;
}
@keyframes qask-pulse {
	from { transform: scale(.4); opacity: 1; }
	to { transform: scale(1.4); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
	.qask__online-dot::after { animation: none; }
}
.qask__card {
	padding: 28px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(1, 66, 102, 0.10);
}
.qask__errors {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 10px;
	background: #FDECEA;
	font-size: 14px;
	line-height: 1.45;
	color: #B3261E;
}
.qask__errors ul {
	margin: 0;
	padding-left: 18px;
}
.qask__field {
	margin-bottom: 20px;
}
.qask__field[hidden] {
	display: none;
}
.qask__label-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
}
.qask__label {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 700;
	color: #014266;
}
.qask__counter {
	font-size: 12px;
	color: #9AA8B2;
	font-variant-numeric: tabular-nums;
}
.qask__textarea,
.qask__input,
.qask__phone {
	box-sizing: border-box;
	width: 100%;
	border: 2px solid #C9D6E0;
	border-radius: 10px;
	background: #F7FAFC;
	color: #014266;
	transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.qask__textarea {
	display: block;
	min-height: 170px;
	padding: 12px 14px;
	resize: vertical;
	outline: none;
	font: 16px/1.5 Arial, sans-serif;
}
.qask__input {
	height: 48px;
	padding: 0 14px;
	outline: none;
	font-size: 16px;
}
.qask__textarea::placeholder,
.qask__input::placeholder,
.qask__phone-input::placeholder {
	color: #A9B7C2;
}
.qask__textarea:focus,
.qask__input:focus,
.qask__phone:focus-within {
	border-color: #166EB7;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(22, 110, 183, 0.15);
}
.qask__hint {
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.45;
	color: #707070;
}
.qask__hint--lock {
	display: flex;
	align-items: flex-start;
	gap: 6px;
}
.qask__hint--lock svg {
	flex: none;
	margin-top: 2px;
	color: #2E9B4F;
}
.qask__row {
	display: grid;
	grid-template-columns: 1fr 1.3fr;
	gap: 0 20px;
}
.qask__row > .qask__field--phone:only-child {
	grid-column: 1 / -1;
}
.qask__phone {
	display: flex;
	align-items: center;
	height: 48px;
	overflow: hidden;
}
/* состояния от JS-проверки номера (add.js) */
.qask__phone.is-valid {
	border-color: #2E9B4F;
}
.qask__phone.is-invalid {
	border-color: #D93025;
}
.qask__phone-pref {
	padding: 0 4px 0 14px;
	font-size: 16px;
	color: #4A5B66;
}
.qask__phone-input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0 14px 0 4px;
	border: 0;
	outline: none;
	background: transparent;
	font-size: 16px;
	color: #014266;
}
.qask__phone-error:not(:empty) {
	margin-top: 6px;
	font-size: 13px;
	color: #D93025;
}
/* подсказки JS-валидации add.js */
.qask .attentionInfo {
	display: none;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #D93025;
}
.qask .attentionInfo--show {
	display: block;
}
.qask__attach {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin-top: 12px;
}
.qask__attach-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #166EB7;
	cursor: pointer;
}
.qask__attach-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.qask__attach .voice_recorder {
	margin-bottom: 0;
}
.qask__attach .voice_recorder__start {
	color: #166EB7;
}
.qask__attach .voice_recorder__start svg {
	fill: currentColor;
}
.qask__files {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	width: 100%;
}
.qask__files:empty {
	display: none;
}
.qask__files .addq_preview_file__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #E8F1F9;
	font-size: 13px;
	color: #014266;
}
.qask__files .addq_preview_file__item span {
	display: inline-flex;
	cursor: pointer;
}
.qask__files .addq_preview_file__item svg {
	width: 12px;
	height: 12px;
	fill: #707070;
}
.qask__submit-wrap {
	margin-top: 4px;
}
.qask__submit {
	width: 100%;
	height: 54px;
	border-radius: 10px;
	font-size: 18px;
	font-weight: 700;
}
.qask__submit:disabled {
	opacity: .7;
	cursor: progress;
}
.qask__call {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 16px 18px;
	border: 2px solid #BFE3C9;
	border-radius: 14px;
	background: #F1FAF3;
}
.qask__call-title {
	font-size: 17px;
	font-weight: 700;
	color: #014266;
}
.qask__call-sub {
	margin-top: 2px;
	font-size: 14px;
	line-height: 1.4;
	color: #2B6B3D;
}
.qask__call-btn {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 8px;
	background: #2E9B4F;
	box-shadow: 0 1px 4px rgba(46, 155, 79, 0.3);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	color: #fff;
	transition: background-color .15s;
}
.qask__call-btn svg {
	width: 18px;
	height: 18px;
}
.qask__call-btn:hover,
.qask__call-btn:focus {
	background: #25843F;
	color: #fff;
}
.qask__or {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0;
	font-size: 13px;
	color: #9AA8B2;
}
.qask__or::before,
.qask__or::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #E3E9EE;
}
.qask__legal {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
	color: #9AA8B2;
}
.qask__legal a {
	color: #707070;
}
.qask__perks {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}
.qask__perk {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: #4A5B66;
}
.qask__perk b {
	color: #014266;
}
.qask__perk-icon {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E8F1F9;
	color: #166EB7;
}
@media (max-width: 640px) {
	.qask {
		padding: 12px 0 24px;
	}
	.qask__head {
		margin-bottom: 12px;
	}
	.qask__title {
		margin-bottom: 8px;
		font-size: 22px;
	}
	.qask__subtitle {
		gap: 6px;
		font-size: 13px;
	}
	.qask__online,
	.qask__free {
		padding: 4px 10px;
	}
	.qask__card {
		padding: 16px 12px;
		border-radius: 12px;
	}
	.qask__field {
		margin-bottom: 14px;
	}
	.qask__textarea {
		min-height: 120px;
		padding: 10px 12px;
	}
	.qask__hint--detail {
		display: none; /* «чем подробнее...» - на телефоне экономим высоту */
	}
	.qask__row {
		grid-template-columns: 1fr;
	}
	.qask__call {
		flex-direction: column;
		align-items: center;
		padding: 12px;
		text-align: center;
	}
	.qask__call-title {
		font-size: 16px;
	}
	.qask__call-sub {
		font-size: 13px;
	}
	.qask__or {
		margin: 14px 0;
	}
	.qask__perks {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 0 16px;
	}
}

/* Модалка «вопрос не опубликован» при уходе со страницы ввода e-mail (add_form_email.twig) */
.qleave[hidden] {
	display: none;
}
.qleave {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.qleave__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	animation: qleave-fade .2s ease-out;
}
.qleave__dialog {
	position: relative;
	width: 100%;
	max-width: 420px;
	padding: 32px 28px 24px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(1, 66, 102, 0.35);
	text-align: center;
	color: #014266;
	animation: qleave-pop .25s ease-out;
}
.qleave__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: #FFF6E5;
	color: #E8890C;
}
.qleave__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 700;
	color: #000;
}
.qleave__text {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.5;
	color: #4a5a66;
}
.qleave__stay {
	width: 100%;
}
.qleave__leave {
	display: inline-block;
	margin-top: 14px;
	font-size: 13px;
	color: #8a949c;
	text-decoration: underline;
}
.qleave__leave:hover {
	color: #014266;
}
@keyframes qleave-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes qleave-pop {
	from { opacity: 0; transform: translateY(12px) scale(.97); }
	to { opacity: 1; transform: none; }
}
@media (max-width: 480px) {
	.qleave__dialog {
		padding: 24px 18px 20px;
	}
	.qleave__title {
		font-size: 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.qleave__backdrop, .qleave__dialog { animation: none; }
}
