/* 02.06.2026: страница прогноза снижения веса — начало */

.wf-page {
	max-width: 820px;
	margin: 0 auto;
	padding: 8px 0 48px;
}

.wf-page__head {
	margin-bottom: 24px;
}

.wf-page h1.wf-page__title,
.wf-page__title {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 28px;
	color: #1f2937;
	font-weight: 700;
	letter-spacing: normal;
}

.wf-page__lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #475569;
}

.wf-page__lead--prefill.is-hidden,
.is-hidden {
	display: none !important;
}

/* 02.06.2026: wf-panel и wf-chart-card — рамка как у калькулятора суточной нормы, без тени — начало */
.wf-panel,
.wf-chart-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 20px;
	padding: 20px 18px 22px;
	box-shadow: none;
	margin-bottom: 20px;
}
/* 02.06.2026: wf-panel и wf-chart-card — рамка как у калькулятора суточной нормы, без тени — конец */

.wf-chart-card {
	overflow: visible;
}

.wf-panel__title {
	margin: 0 0 16px;
	font-size: 1.05rem;
	font-weight: 800;
	color: #334155;
}

/* 02.06.2026: «Ваши данные» — шрифт, подписи и заливка полей как в калькуляторе — начало */
.wf-panel--form {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.wf-panel--form .wf-panel__title {
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.35;
	color: #333;
	margin: 0 0 14px;
	letter-spacing: normal;
}

.wf-panel--form .wf-field__label {
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 400;
	color: #444;
}

.wf-panel--form .wf-radio {
	font-size: 15px;
	color: #444;
}

.wf-panel--form .wf-input,
.wf-panel--form .wf-select {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	color: #333;
	/* 07.06.2026: было #f0fdf4 — зелёная заливка как в калькуляторе, убрали */
	/* background-color: #f0fdf4; */
	border-color: #d1d5db;
	transition: all 0.2s ease-in-out;
}
/* 02.06.2026: «Ваши данные» — шрифт, подписи и заливка полей как в калькуляторе — конец */

.wf-form-grid {
	display: grid;
	gap: 4px;
}

.wf-field {
	display: block;
	margin-bottom: 14px;
}

.wf-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.wf-radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 18px;
}

.wf-radio {
	font-size: 15px;
	color: #334155;
	cursor: pointer;
}

.wf-grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 4px;
}

@media (max-width: 620px) {
	.wf-grid-3 {
		grid-template-columns: 1fr;
	}
}

.wf-input,
.wf-select {
	width: 100%;
	box-sizing: border-box;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
	background: #fff;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.4;
	color: #1e293b;
}

/* 02.06.2026: focus полей — зелёная рамка без яркого glow — начало */
.wf-page .wf-input:focus,
.wf-page .wf-select:focus,
.wf-page input.wf-input:focus,
.wf-page select.wf-select:focus,
.wf-page .wf-input:focus-visible,
.wf-page .wf-select:focus-visible,
.wf-page input.wf-input:focus-visible,
.wf-page select.wf-select:focus-visible {
	outline: none !important;
	border-color: #86efac !important;
	box-shadow: none !important;
}

.wf-page .wf-input:invalid:focus,
.wf-page .wf-input:invalid:focus-visible,
.wf-page input.wf-input:invalid:focus,
.wf-page input.wf-input:invalid:focus-visible,
.wf-page .wf-select:invalid:focus,
.wf-page .wf-select:invalid:focus-visible {
	outline: none !important;
	border-color: #86efac !important;
	box-shadow: none !important;
}
/* 02.06.2026: focus полей — зелёная рамка без яркого glow — конец */

/* 02.06.2026: «Ваши данные» — focus полей как в калькуляторе суточной нормы — начало */
.wf-page .wf-panel--form .wf-input:focus,
.wf-page .wf-panel--form .wf-select:focus,
.wf-page .wf-panel--form input.wf-input:focus,
.wf-page .wf-panel--form select.wf-select:focus,
.wf-page .wf-panel--form .wf-input:focus-visible,
.wf-page .wf-panel--form .wf-select:focus-visible,
.wf-page .wf-panel--form input.wf-input:focus-visible,
.wf-page .wf-panel--form select.wf-select:focus-visible,
.wf-page .wf-panel--form .wf-input:invalid:focus,
.wf-page .wf-panel--form .wf-input:invalid:focus-visible,
.wf-page .wf-panel--form input.wf-input:invalid:focus,
.wf-page .wf-panel--form input.wf-input:invalid:focus-visible,
.wf-page .wf-panel--form .wf-select:invalid:focus,
.wf-page .wf-panel--form .wf-select:invalid:focus-visible {
	outline: none !important;
	background-color: #fff !important;
	border-color: #48bb78 !important;
	box-shadow: 0 0 0 2px rgba(72, 187, 120, 0.1) !important;
}
/* 02.06.2026: «Ваши данные» — focus полей как в калькуляторе суточной нормы — конец */

/* 02.06.2026: стрелка select — отступ от правого края — начало */
.wf-select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 44px;
	cursor: pointer;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px;
}
/* 02.06.2026: стрелка select — отступ от правого края — конец */

/* 02.06.2026: желаемый вес — как обычное поле формы, без отдельной плашки — начало */
.wf-target-field {
	margin-bottom: 0;
}

/* 02.06.2026: без мигания «—» до init JS — начало */
#wf-app:not(.wf-app--ready) .wf-target-stepper__value,
#wf-app:not(.wf-app--ready) .wf-target-rail__labels {
	visibility: hidden;
}
/* 02.06.2026: без мигания «—» до init JS — конец */

.wf-target-stepper {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: stretch;
	border: 1px solid #dbe3ec;
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
}

.wf-target-stepper__btn {
	border: none !important;
	border-radius: 0 !important;
	background: #f8fafc;
	color: #475569;
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	min-height: 44px;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.15s ease, color 0.15s ease;
}

.wf-target-stepper__btn:first-child {
	border-right: 1px solid #dbe3ec !important;
}

.wf-target-stepper__btn:last-child {
	border-left: 1px solid #dbe3ec !important;
}

.wf-target-stepper__btn:hover {
	background: #f1f5f9;
	color: #1e293b;
	transform: none;
}

.wf-target-stepper__btn:focus {
	outline: none !important;
	box-shadow: none !important;
	border-color: #dbe3ec !important;
}

.wf-target-stepper__btn:focus-visible {
	outline: none !important;
	box-shadow: inset 0 0 0 2px #64748b !important;
}

.wf-target-stepper__btn:focus:not(:focus-visible) {
	box-shadow: none !important;
}

.wf-target-stepper__btn:active {
	background: #e2e8f0 !important;
	color: #0f172a !important;
	box-shadow: none !important;
}

.wf-target-stepper__value {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 6px;
	padding: 10px 8px;
	font-size: 22px;
	font-weight: 800;
	color: #1e293b;
	line-height: 1.2;
}

.wf-target-stepper__unit {
	font-size: 16px;
	font-weight: 600;
	color: #64748b;
}

/* 02.06.2026: без «— кг» до ввода текущего веса — начало */
.wf-target-stepper__value.is-empty .wf-target-stepper__unit {
	display: none;
}
/* 02.06.2026: без «— кг» до ввода текущего веса — конец */

/* 07.06.2026: демо-шкала до ввода текущего веса — бледные цифры и подписи — начало */
.wf-target-stepper__value.is-play,
.wf-target-stepper__value.is-play .wf-target-stepper__unit {
	color: #94a3b8;
}

.wf-target-rail--play .wf-target-rail__labels {
	color: #94a3b8;
}

.wf-target-rail--play .wf-target-rail__fill {
	background: #cbd5e1;
}
/* 07.06.2026: демо-шкала до ввода текущего веса — бледные цифры и подписи — конец */

/* 02.06.2026: шкала не двигается — узкий безопасный диапазон — начало */
.wf-target-rail--fixed {
	cursor: default;
}

.wf-target-rail--fixed .wf-target-rail__track,
.wf-target-rail--fixed .wf-target-rail__track::before {
	cursor: default;
}

.wf-target-rail--fixed .wf-target-rail__thumb {
	cursor: default;
	box-shadow: none;
}
/* 02.06.2026: шкала не двигается — узкий безопасный диапазон — конец */

.wf-target-rail {
	outline: none;
	margin-top: 12px;
	cursor: pointer;
	touch-action: none;
}

.wf-target-rail__track {
	position: relative;
	height: 14px;
	border-radius: 999px;
	background: #e8edf2;
	cursor: pointer;
	touch-action: none;
	overflow: visible;
}

/* 02.06.2026: шире hit-area — кружок 24px, дорожка 14px, иначе палец/клик не ловятся — начало */
.wf-target-rail__track::before {
	content: '';
	position: absolute;
	left: -14px;
	right: -14px;
	top: 50%;
	height: 44px;
	transform: translateY(-50%);
	cursor: pointer;
	z-index: 1;
}
/* 02.06.2026: шире hit-area — кружок 24px, дорожка 14px, иначе палец/клик не ловятся — конец */

.wf-target-rail__fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 0;
	border-radius: 999px;
	background: #86efac;
	pointer-events: none;
	transition: none;
	z-index: 2;
}

.wf-target-rail__thumb {
	position: absolute;
	top: 50%;
	left: 0;
	width: 24px;
	height: 24px;
	margin: 0;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #22c55e;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
	pointer-events: none;
	transform: translate(-50%, -50%);
	transition: none;
	z-index: 3;
	cursor: grab;
}

.wf-target-rail.is-dragging,
.wf-target-rail.is-dragging .wf-target-rail__thumb {
	cursor: grabbing;
}

/* 07.06.2026: touch / планшет — тянем только шарик, полоса без «прыжка» — начало */
@media (hover: none) and (pointer: coarse) {
	.wf-target-rail,
	.wf-target-rail__track,
	.wf-target-rail__track::before {
		cursor: default;
	}

	.wf-target-rail__thumb {
		pointer-events: auto;
		cursor: grab;
		touch-action: none;
	}

	.wf-target-rail.is-dragging .wf-target-rail__thumb {
		cursor: grabbing;
	}
}
/* 07.06.2026: touch / планшет — тянем только шарик — конец */

.wf-target-rail:focus-visible .wf-target-rail__thumb {
	box-shadow: 0 0 0 3px rgba(100, 116, 139, 0.22);
}

.wf-target-rail__labels {
	display: flex;
	justify-content: space-between;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #94a3b8;
}
/* 02.06.2026: желаемый вес — как обычное поле формы, без отдельной плашки — конец */

.wf-form-error {
	margin: 8px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.45;
}

.wf-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 16px;
	text-align: center;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	color: #64748b;
	font-size: 15px;
	line-height: 1.55;
	margin-bottom: 20px;
}

/* 07.06.2026: переносы и выравнивание текста в #wf-empty — начало */
#wf-empty-text {
	margin: 0;
	max-width: 36em;
	white-space: pre-line;
}
/* 07.06.2026: переносы и выравнивание текста в #wf-empty — конец */

.wf-results {
	margin-bottom: 20px;
}

.wf-results__toolbar {
	text-align: center;
	margin-bottom: 18px;
}

/* 02.06.2026: подпись над переключателем темпа — начало */
.wf-pace-label {
	margin: 0 auto 12px;
	max-width: 640px;
	text-align: center;
}
/* 02.06.2026: подпись над переключателем темпа — конец */

.wf-pace-switch.stats-period-switch {
	display: inline-flex;
	max-width: 100%;
}

.wf-pace-switch .stats-period-switch__btn {
	min-width: 72px;
	font-size: 13px;
	padding: 8px 12px;
}

.wf-pace-hint {
	margin: 14px auto 0;
	max-width: 640px;
	font-size: 15px;
	line-height: 1.55;
	color: #475569;
	min-height: 2.8em;
	text-align: center;
	white-space: pre-line;
}

.wf-date-card {
	margin-bottom: 16px;
	padding: 20px 16px;
	border-radius: 16px;
	background: #fff;
	border: 2px solid #d4a74c;
	text-align: center;
	/* 02.06.2026: было — золотая тень 0 10px 28px → убрали, выглядело грязновато */
}

.wf-date-card__label {
	font-size: 13px;
	font-weight: 700;
	color: #92702a;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.wf-date-card__date {
	margin-top: 6px;
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 900;
	color: #1e293b;
	line-height: 1.2;
}

.wf-date-card__sub {
	margin-top: 8px;
	font-size: 14px;
	color: #64748b;
}

.wf-date-card__human {
	margin-top: 6px;
	font-size: 15px;
	font-weight: 600;
	color: #d4a74c;
	line-height: 1.45;
}

/* 02.06.2026: мобильные — после двоеточия вторая строка — начало */
@media (max-width: 620px) {
	.wf-date-card__human-tail {
		display: block;
		margin-top: 2px;
	}
}
/* 02.06.2026: мобильные — после двоеточия вторая строка — конец */

.wf-stats-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 20px;
}

.wf-stat {
	padding: 14px 10px;
	border-radius: 12px;
	background: #f8fafc;
	text-align: center;
	border: 1px solid #eef2f6;
}

.wf-stat__label {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
}

.wf-stat__value {
	margin-top: 4px;
	font-size: 18px;
	font-weight: 800;
	color: #334155;
}

.wf-chart-card__title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	font-weight: 800;
	color: #1e293b;
	text-align: center;
}

.wf-chart-hint {
	margin: 0 0 14px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.45;
	text-align: center;
}

.wf-chart-canvas-wrap {
	position: relative;
	width: 100%;
	height: min(52vw, 380px);
	min-height: 280px;
	max-height: 420px;
	overflow: visible;
}

/* 02.06.2026: canvas — touch-action без задержки 300ms, точки легче тапать — начало */
.wf-chart-canvas-wrap canvas {
	display: block;
	max-width: 100%;
	touch-action: manipulation;
}
/* 02.06.2026: canvas — touch-action без задержки 300ms, точки легче тапать — конец */

.wf-milestones {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 16px;
}

@media (max-width: 640px) {
	.wf-milestones {
		grid-template-columns: 1fr;
	}

	.wf-plan__actions {
		flex: 1 1 100%;
		text-align: center;
	}

	.wf-plan__actions .wf-plan__save {
		width: 100%;
	}
}

.wf-milestone {
	padding: 12px;
	border-radius: 12px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	font-size: 13px;
	line-height: 1.45;
	color: #166534;
}

.wf-milestone strong {
	display: block;
	font-size: 14px;
	margin-bottom: 2px;
}

.wf-plan {
	margin-bottom: 14px;
	padding: 16px;
	border-radius: 14px;
	background: #fdfbf5;
	border: 1px solid #ecd9a8;
}

.wf-plan__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 16px;
}

.wf-plan__main {
	flex: 1 1 200px;
	min-width: 0;
}

.wf-plan__actions {
	flex: 0 0 auto;
	margin: 0;
	text-align: right;
}

.wf-plan__actions .wf-plan__save {
	margin: 0;
	white-space: nowrap;
}

.wf-plan__title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #334155;
}

.wf-plan__kcal {
	margin: 0;
	font-size: 24px;
	font-weight: 900;
	color: #d4a74c;
}

.wf-plan__macros,
.wf-plan__deficit {
	margin: 6px 0 0;
	font-size: 14px;
	color: #64748b;
	line-height: 1.45;
}

/* 02.06.2026: дефицит плана — подпись и значение построчно — начало */
.wf-plan__deficit {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 10px;
}

.wf-plan__deficit-row {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wf-plan__deficit-label {
	font-size: 13px;
	color: #94a3b8;
}

.wf-plan__deficit-value {
	font-size: 15px;
	font-weight: 700;
	color: #475569;
	font-variant-numeric: tabular-nums;
}
/* 02.06.2026: дефицит плана — подпись и значение построчно — конец */

.wf-toggle {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0 0;
	padding: 12px;
	border-radius: 12px;
	background: #f8fafc;
	cursor: pointer;
	font-size: 14px;
	line-height: 1.45;
	color: #475569;
}

.wf-toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.wf-toggle__box {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 2px;
	border: 2px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
}

.wf-toggle input:checked + .wf-toggle__box {
	background: #22c55e;
	border-color: #22c55e;
	box-shadow: inset 0 0 0 3px #fff;
}

.wf-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	margin-top: 8px;
}

@media (max-width: 720px) {
	.wf-cards {
		grid-template-columns: 1fr;
	}
}

.wf-info-card {
	padding: 16px;
	border-radius: 14px;
	background: #f8fafc;
	border: 1px solid #e8edf2;
}

/* 02.06.2026: заголовки инфо-карточек — мягче, без «грубого» 800 — начало */
.wf-info-card__title {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	line-height: 1.4;
}
/* 02.06.2026: заголовки инфо-карточек — мягче, без «грубого» 800 — конец */

.wf-info-card__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

.wf-info-card__link {
	color: #475569;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(71, 85, 105, 0.35);
	text-underline-offset: 3px;
}

.wf-info-card__link:hover {
	color: #334155;
	text-decoration-color: rgba(51, 65, 85, 0.5);
}

.wf-cta {
	margin-top: 28px;
	padding: 20px 22px;
	border-radius: 16px;
	background: #fdfbf5;
	border: 1px solid #ecd9a8;
	text-align: left;
}

.wf-cta__body {
	max-width: 52rem;
}

.wf-cta__text {
	margin: 0 0 12px;
	font-size: 15px;
	color: #475569;
	line-height: 1.6;
}

.wf-cta__text:last-child {
	margin-bottom: 0;
}

/* 02.06.2026: CTA — список разделов построчно — начало */
.wf-cta__text--intro {
	margin-bottom: 0;
}

.wf-cta__tools {
	list-style: none;
	margin: 0 0 12px;
	padding: 20px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wf-cta__tools-item {
	margin: 0;
	font-size: 15px;
	color: #475569;
	line-height: 1.55;
}
/* 02.06.2026: CTA — список разделов построчно — конец */

.wf-cta__link {
	color: #475569;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: rgba(71, 85, 105, 0.35);
	text-underline-offset: 3px;
}

.wf-cta__link:hover {
	color: #334155;
	text-decoration-color: rgba(51, 65, 85, 0.5);
}

.wf-cta__actions {
	margin-top: 18px;
	text-align: center;
}

.wf-cta__btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border-radius: 999px;
	border: 2px solid transparent !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.wf-cta__btn--primary {
	background: #22c55e;
	border-color: #22c55e !important;
	color: #fff !important;
	box-shadow: 0 3px 12px rgba(34, 197, 94, 0.28) !important;
}

.wf-cta__btn--primary:hover {
	background: #16a34a;
	border-color: #16a34a !important;
	color: #fff !important;
	box-shadow: 0 4px 14px rgba(34, 197, 94, 0.32) !important;
}

.wf-cta__btn--primary:focus,
.wf-cta__btn--primary:active {
	outline: none !important;
	border-color: #16a34a !important;
	box-shadow: none !important;
}

.wf-cta__btn--primary:focus-visible {
	outline: none !important;
	border-color: #16a34a !important;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35) !important;
}

.wf-cta__btn--primary:focus:not(:focus-visible) {
	box-shadow: 0 3px 12px rgba(34, 197, 94, 0.28) !important;
}

.wf-cta__btn--ghost {
	background: #fff;
	border-color: #d4a74c !important;
	color: #92702a !important;
}

.wf-cta__btn--ghost:hover {
	background: #fff8eb;
	color: #7c5a12 !important;
}

.wf-cta__btn--ghost:focus-visible {
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(212, 167, 76, 0.35) !important;
}

/* Переключатель темпа (как .stats-period-switch на /stats/) */
.wf-page .stats-period-switch {
	display: inline-flex;
	align-items: stretch;
	flex: 0 0 auto;
	gap: 4px;
	padding: 4px;
	border: none;
	border-radius: 999px;
	background: #eef2f6;
}

.wf-page .stats-period-switch__btn {
	min-width: 88px;
	min-height: 36px;
	padding: 8px 16px;
	border: 2px solid transparent !important;
	border-radius: 999px;
	background: transparent;
	color: #64748b;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none !important;
	outline: none !important;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.2s ease, color 0.2s ease;
}

.wf-page .stats-period-switch__btn:focus,
.wf-page .stats-period-switch__btn:active {
	outline: none !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.wf-page .stats-period-switch__btn:focus-visible {
	outline: none !important;
	border-color: transparent !important;
	box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.35) !important;
}

.wf-page .stats-period-switch__btn.is-active:focus,
.wf-page .stats-period-switch__btn.is-active:active {
	border-color: transparent !important;
}

.wf-page .stats-period-switch__btn:hover:not(.is-active) {
	background: rgba(255, 255, 255, 0.55);
	color: #334155;
}

.wf-page .stats-period-switch__btn.is-active {
	background: #22c55e;
	color: #fff;
}

.wf-page .stats-period-switch__btn.is-active:hover {
	background: #16a34a;
	color: #fff;
}

/* 07.06.2026: слот рекламы [ads-pc-2][ads-mob-2] — как .diary-ads-slot — начало */
/* было padding-bottom 48px у .wf-page + разный margin → одинаковый зазор над/под рекламой */
.wf-page:has(+ .wf-ads-slot) {
	padding-bottom: 0;
}

.wf-ads-slot {
	max-width: 790px;
	margin: 24px 0;
	padding: 0;
	clear: both;
}

.wf-ads-slot iframe {
	max-width: 100%;
}

.wf-ads-slot + .forecast-comments {
	margin-top: 24px;
	padding-top: 0;
}
/* 07.06.2026: слот рекламы [ads-pc-2][ads-mob-2] — конец */

/* 02.06.2026: страница прогноза снижения веса — конец */
