:root {
	--kse-app-ink: #2f2a35;
	--kse-app-muted: #6f6674;
	--kse-app-purple: #8248d2;
	--kse-app-teal: #1ba79b;
	--kse-app-ivory: #fffaf5;
	--kse-app-footer: #2d2d2f;
	--kse-app-safe-bottom: env(safe-area-inset-bottom, 0px);
	--kse-app-safe-top: env(safe-area-inset-top, 0px);
}

html {
	min-height: 100%;
	background: #fbf7f9;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body.kse-diet-app-theme {
	min-width: 280px;
	min-height: 100%;
	margin: 0;
	overflow-x: hidden;
	background:
		radial-gradient(500px 360px at -15% 4%, rgba(183, 139, 244, .17), transparent 68%),
		radial-gradient(520px 390px at 112% 35%, rgba(95, 219, 203, .15), transparent 70%),
		radial-gradient(460px 330px at 54% 104%, rgba(255, 192, 218, .18), transparent 70%),
		linear-gradient(180deg, #fcfafb 0%, #f8f3f6 54%, #fff9f5 100%);
	color: var(--kse-app-ink);
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.kse-diet-app-theme *,
body.kse-diet-app-theme *::before,
body.kse-diet-app-theme *::after {
	box-sizing: border-box;
}

body.kse-diet-app-theme img {
	max-width: 100%;
	height: auto;
}

body.kse-diet-app-theme a {
	color: inherit;
}

body.kse-diet-app-theme button,
body.kse-diet-app-theme input,
body.kse-diet-app-theme select,
body.kse-diet-app-theme textarea {
	font: inherit;
}

/*
 * KSE Diet App v0.1.8 typography contract.
 * Montserrat is used across the app at 400/500, including Home category labels.
 */
body.kse-diet-app-theme h1,
body.kse-diet-app-theme h2,
body.kse-diet-app-theme h3,
body.kse-diet-app-theme h4,
body.kse-diet-app-theme h5,
body.kse-diet-app-theme h6,
body.kse-diet-app-theme strong,
body.kse-diet-app-theme b,
body.kse-diet-app-theme summary,
body.kse-diet-app-theme button,
body.kse-diet-app-theme input[type="button"],
body.kse-diet-app-theme input[type="submit"],
body.kse-diet-app-theme input[type="reset"],
body.kse-diet-app-theme label,
body.kse-diet-app-theme legend,
body.kse-diet-app-theme th,
body.kse-diet-app-theme .kse-button,
body.kse-diet-app-theme .kse-dcs-language-switcher__item,
body.kse-diet-app-theme .kse-dcs-app-nav__label {
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
	font-weight: 500 !important;
}

.kse-app-shell {
	position: relative;
	display: flex;
	min-height: 100vh;
	min-height: 100dvh;
	flex-direction: column;
	isolation: isolate;
}

.kse-app-shell::before,
.kse-app-shell::after {
	position: fixed;
	z-index: -1;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	content: "";
	filter: blur(78px);
	pointer-events: none;
}

.kse-app-shell::before {
	top: 90px;
	left: -165px;
	background: rgba(151, 107, 231, .24);
}

.kse-app-shell::after {
	right: -170px;
	bottom: 80px;
	background: rgba(84, 208, 190, .22);
}

.kse-site-header {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 92px;
	padding: calc(8px + var(--kse-app-safe-top)) 18px 8px;
	border-bottom: 1px solid rgba(102, 78, 90, .09);
	background: rgba(255, 255, 255, .76);
	box-shadow: 0 7px 24px rgba(64, 42, 58, .035);
	backdrop-filter: blur(24px) saturate(145%);
	-webkit-backdrop-filter: blur(24px) saturate(145%);
}

.kse-site-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 230px;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.kse-site-logo__image,
.kse-site-logo .custom-logo {
	display: block;
	width: auto;
	max-width: min(52vw, 210px);
	height: auto;
	max-height: 78px;
	object-fit: contain;
}

.kse-app-main {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	min-height: 1px;
	flex: 1 0 auto;
}

.kse-content {
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.kse-content > :first-child {
	margin-top: 0;
}

.kse-content > :last-child {
	margin-bottom: 0;
}

.kse-content--article {
	width: calc(100% - 24px);
	max-width: 720px;
	margin: 14px auto 32px;
}

.kse-article,
.kse-not-found,
.kse-archive-header {
	margin: 0 0 14px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 18px;
	background: rgba(255, 255, 255, .76);
	box-shadow: 0 14px 34px rgba(66, 45, 61, .09), inset 0 1px 0 rgba(255, 255, 255, .92);
	backdrop-filter: blur(24px) saturate(145%);
	-webkit-backdrop-filter: blur(24px) saturate(145%);
}

.kse-article__title,
.kse-archive-header h1,
.kse-not-found h1 {
	margin: 0 0 14px;
	font-size: clamp(22px, 6vw, 32px);
	line-height: 1.18;
}

.kse-article__title a {
	text-decoration: none;
}

.kse-article__content {
	font-size: 15px;
	line-height: 1.65;
}

.kse-button {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #8d54dc, #6f46bd);
	box-shadow: 0 10px 24px rgba(105, 67, 174, .22);
	color: #fff !important;
	font-weight: 500;
	text-decoration: none;
}

.kse-site-footer {
	position: relative;
	z-index: 2;
	width: 100%;
	margin-top: auto;
	padding: 28px 18px calc(28px + var(--kse-app-safe-bottom));
	background: var(--kse-app-footer);
	color: rgba(255, 255, 255, .86);
	font-size: 12px;
	line-height: 1.5;
	text-align: center;
}

.kse-site-footer p {
	margin: 0;
}

.kse-desktop-gate {
	display: none;
}

/* Fitness Trainer and Elementor compatibility without Enfold wrappers. */
body.kse-diet-app-theme .elementor,
body.kse-diet-app-theme .elementor-section,
body.kse-diet-app-theme .elementor-container,
body.kse-diet-app-theme .elementor-widget-wrap,
body.kse-diet-app-theme .elementor-widget-container {
	max-width: 100%;
}

body.kse-diet-app-theme #profile-account2.bootstrap-wrapper.around-separetor,
body.kse-diet-app-theme #profile-account2.bootstrap-wrapper.around-separator,
body.kse-diet-app-theme #profile-account2 {
	width: 100% !important;
	max-width: 100% !important;
	min-height: calc(100dvh - 92px) !important;
	margin: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	background: transparent !important;
}

body.kse-diet-app-theme #profile-account2 > .row,
body.kse-diet-app-theme #profile-account2 .row.margin-top-10 {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body.kse-diet-app-theme #profile-account2 > .row > [class*="col-"],
body.kse-diet-app-theme #profile-account2 .row.margin-top-10 > [class*="col-"] {
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.kse-diet-app-theme #profile-account2 .profile-content {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	box-sizing: border-box;
}

body.kse-diet-app-theme .kse-dcs-app-nav,
body.kse-diet-app-theme .kse-dcs-language-switcher {
	font-family: inherit !important;
}

@media (max-width: 767px) {
	.kse-desktop-gate {
		display: none !important;
	}

	.kse-app-shell {
		display: flex !important;
	}

	body.kse-diet-app-home-route .kse-site-footer {
		margin-top: 0;
	}
}

@media (min-width: 768px) {
	body.kse-diet-app-theme:not(.kse-force-mobile-preview) .kse-app-shell,
	body.kse-diet-app-theme:not(.kse-force-mobile-preview) .kse-dcs-app-nav,
	body.kse-diet-app-theme:not(.kse-force-mobile-preview) .kse-dcs-language-switcher,
	body.kse-diet-app-theme:not(.kse-force-mobile-preview) [data-kse-dcs-language-switcher],
	body.kse-diet-app-theme:not(.kse-force-mobile-preview) .kpj-modal {
		display: none !important;
	}

	body.kse-diet-app-theme:not(.kse-force-mobile-preview) .kse-desktop-gate {
		display: flex;
		min-height: 100vh;
		align-items: center;
		justify-content: center;
		padding: 32px;
	}

	.kse-desktop-gate__panel {
		width: min(420px, 100%);
		padding: 32px;
		border: 1px solid rgba(255, 255, 255, .86);
		border-radius: 28px;
		background: rgba(255, 255, 255, .78);
		box-shadow: 0 30px 80px rgba(56, 38, 52, .14), inset 0 1px 0 rgba(255, 255, 255, .98);
		text-align: center;
		backdrop-filter: blur(30px) saturate(160%);
		-webkit-backdrop-filter: blur(30px) saturate(160%);
	}

	.kse-desktop-gate__panel .kse-site-logo__image,
	.kse-desktop-gate__panel .custom-logo {
		width: auto;
		max-width: 240px;
		max-height: 108px;
	}

	.kse-desktop-gate__panel p {
		margin: 18px 0 0;
		color: var(--kse-app-muted);
	}

	body.kse-force-mobile-preview .kse-app-shell {
		width: 560px;
		max-width: calc(100% - 40px);
		margin: 20px auto;
		overflow: hidden;
		border: 1px solid rgba(255, 255, 255, .9);
		border-radius: 28px;
		box-shadow: 0 30px 90px rgba(48, 32, 45, .2);
	}

	body.kse-force-mobile-preview .kse-desktop-gate {
		display: none;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.kse-site-header,
	.kse-article,
	.kse-not-found,
	.kse-archive-header,
	.kse-desktop-gate__panel {
		background: rgba(255, 255, 255, .96);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/*
 * KSE Diet App v0.1.1 — Fitness Trainer mobile content shell.
 *
 * Fitness Trainer renders its legacy desktop profile sidebar before every
 * internal fitprofile view. The app Home and global bottom navigation replace
 * that menu, so the sidebar is hidden presentation-only and the real content
 * column is expanded. No Fitness Trainer template or access logic is changed.
 */
body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > .col-md-3.col-12:first-child,
body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > [class~="col-md-3"]:first-child,
body.kse-diet-app-theme #profile-account2 .profile-sidebar {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	flex: 0 0 0 !important;
	overflow: hidden !important;
}

body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > .col-md-9.col-12,
body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > [class~="col-md-9"] {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
	flex: 0 0 100% !important;
}

body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > .col-md-9.col-12 > .profile-content,
body.kse-diet-app-theme #profile-account2 > .row.margin-top-10 > [class~="col-md-9"] > .profile-content {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
}

/*
 * KSE Diet App v0.1.3 — internal profile UI alignment.
 *
 * Based strictly on v0.1.1. These rules do not change Fitness Trainer output,
 * routes, access checks, post data, or the /n/ Home layout.
 */

/* The standalone theme logo belongs only to /n/. DCS supplies the compact
 * branded language bar on internal Fitness Trainer screens. */
body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-site-header {
	display: none !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2.bootstrap-wrapper.around-separetor,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2.bootstrap-wrapper.around-separator,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 {
	min-height: 100vh !important;
	min-height: 100dvh !important;
}

/* Internal BG/EN bar: same material, dimensions and controls as /n/. */
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar.app-language-switcher-slot {
	display: flex !important;
	width: calc(100% - 24px) !important;
	max-width: 536px !important;
	min-height: 54px !important;
	align-items: center !important;
	justify-content: stretch !important;
	margin: 14px auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher.is-inline {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	z-index: 20 !important;
	display: flex !important;
	width: 100% !important;
	min-height: 54px !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin: 0 !important;
	padding: 7px 9px 7px 11px !important;
	overflow: hidden !important;
	border: 1px solid rgba(255, 255, 255, .92) !important;
	border-radius: 17px !important;
	background:
		radial-gradient(120% 150% at 0% -40%, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, 0) 55%),
		linear-gradient(135deg, rgba(255, 255, 255, .80), rgba(250, 243, 250, .54)) !important;
	box-shadow:
		0 16px 34px rgba(67, 45, 65, .09),
		0 2px 7px rgba(67, 45, 65, .05),
		inset 0 1px 0 rgba(255, 255, 255, .96),
		inset 0 -1px 0 rgba(108, 77, 121, .05) !important;
	backdrop-filter: blur(30px) saturate(185%) brightness(1.03) !important;
	-webkit-backdrop-filter: blur(30px) saturate(185%) brightness(1.03) !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher::before {
	position: absolute;
	top: -24px;
	right: 14%;
	left: 14%;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .72);
	content: "";
	filter: blur(10px);
	pointer-events: none;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__brand,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__actions {
	position: relative;
	z-index: 1;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__brand {
	display: inline-flex !important;
	align-items: center !important;
	min-width: 0 !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__logo {
	display: block !important;
	width: auto !important;
	max-width: 98px !important;
	height: 32px !important;
	max-height: 32px !important;
	object-fit: contain !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__actions {
	display: flex !important;
	align-items: center !important;
	gap: 3px !important;
	margin-left: auto !important;
	padding: 3px !important;
	border: 1px solid rgba(120, 84, 139, .08) !important;
	border-radius: 999px !important;
	background: rgba(249, 246, 251, .72) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .88) !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__actions .kse-dcs-language-switcher__item + .kse-dcs-language-switcher__item {
	margin-left: 0 !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__item {
	min-width: 45px !important;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #514a58 !important;
	font-family: inherit !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	line-height: 1 !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__item.is-active,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher__item[aria-pressed="true"] {
	background: linear-gradient(145deg, rgba(151, 91, 224, .96), rgba(111, 57, 191, .96)) !important;
	box-shadow: 0 8px 18px rgba(105, 54, 178, .25), inset 0 1px 0 rgba(255, 255, 255, .42) !important;
	color: #fff !important;
}

/* Fitness Trainer's legacy "Download PDF" control is not part of the app UI.
 * The href selector also catches installations where the class attribute was
 * accidentally polluted while the original btn-xs/green-haze classes remain. */
body.kse-diet-app-theme #profile-account2 .profile-content a[href*="fitnessplanpdf"],
body.kse-diet-app-theme #profile-account2 .profile-content a[class*="btn-xs"][class*="green-haze"][class*="custom_color"] {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

@supports selector(h2:has(> small > a)) {
	body.kse-diet-app-theme #profile-account2 .profile-content h1 small:has(a[href*="fitnessplanpdf"]),
	body.kse-diet-app-theme #profile-account2 .profile-content h2 small:has(a[href*="fitnessplanpdf"]),
	body.kse-diet-app-theme #profile-account2 .profile-content h1 small:has(a[class*="btn-xs"][class*="green-haze"][class*="custom_color"]),
	body.kse-diet-app-theme #profile-account2 .profile-content h2 small:has(a[class*="btn-xs"][class*="green-haze"][class*="custom_color"]) {
		display: none !important;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar .kse-dcs-language-switcher {
		background: rgba(255, 255, 255, .96) !important;
	}
}


/*
 * KSE Diet App v0.1.4 — full-bleed inner shell and RBC mark-control cleanup.
 * Presentation only: no Fitness Trainer or RBC templates/data are modified.
 */

/* The in-page DCS brand/language control replaces the standalone theme header. */
body.kse-diet-app-theme .kse-site-header {
	display: none !important;
}

/* Remove only the outer application/page-builder gutters on internal routes. */
body.kse-diet-app-theme:not(.kse-diet-app-home-route),
body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-shell,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-main,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content,
body.kse-diet-app-theme.kse-fitness-profile-page .kse-profile-shell-ancestor {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-main {
	min-height: 100vh !important;
	min-height: 100dvh !important;
	overflow-x: clip;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2.bootstrap-wrapper.around-separetor,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2.bootstrap-wrapper.around-separator,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10 > [class*="col-"] {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet.light {
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
}

/* RBC keeps the native checkbox as the state/persistence source. Conceal only
 * its visible square; tapping the enclosing “Маркирай” label still toggles it. */
body.kse-diet-app-theme .rbc-re-day__check {
	position: relative !important;
	gap: 0 !important;
}

body.kse-diet-app-theme .rbc-re-day__check .rbc-re-day__input,
body.kse-diet-app-theme .rbc-re-day__check input[type="checkbox"] {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	pointer-events: none !important;
}

body.kse-diet-app-theme .rbc-re-day__check .rbc-re-day__input:focus-visible + .rbc-re-day__badge,
body.kse-diet-app-theme .rbc-re-day__check input[type="checkbox"]:focus-visible + .rbc-re-day__badge {
	outline: 2px solid rgba(130, 72, 210, .72) !important;
	outline-offset: 3px !important;
}

/*
 * KSE Diet App v0.1.5 — subtle inner-content breathing room.
 *
 * v0.1.4 correctly kept the application background full-bleed, but its zero
 * content gutters made regimen, shopping-list, FAQ and other Fitness Trainer
 * views touch the viewport edges. Keep the shell/background full-screen and
 * add only a small content inset inside the real profile column.
 */
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet,
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet.light {
	padding-right: 6px !important;
	padding-left: 6px !important;
}

/* Preserve the Home-equivalent visual width of the compact BG/EN bar after
 * the new 6px profile inset (12px effective viewport gutter on each side). */
body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .kse-dcs-profile-language-bar.app-language-switcher-slot {
	width: calc(100% - 12px) !important;
}

/*
 * KSE Diet App v0.1.11 — hide legacy discussion/footer UI.
 * Presentation only: no stored comment or post data is deleted.
 */
body.kse-diet-app-theme .comment-respond,
body.kse-diet-app-theme #respond.comment-respond,
body.kse-diet-app-theme [data-kse-hidden-legacy-footer-heading="true"] {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	max-width: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

@supports selector(h4:has(~ .comment-respond)) {
	body.kse-diet-app-theme #profile-account2 .portlet-body > h4:empty:has(~ .comment-respond),
	body.kse-diet-app-theme #profile-account2 .portlet-body > h4:empty:has(~ #respond.comment-respond) {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
}


/*
 * KSE Diet App v0.1.24 — lock the mobile canvas to the viewport width.
 * Vertical scrolling and pinch zoom remain available; only unintended
 * horizontal page dragging/elastic overscroll is suppressed.
 */
html,
body.kse-diet-app-theme {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	overscroll-behavior-x: none;
}

body.kse-diet-app-theme .kse-app-shell,
body.kse-diet-app-theme .kse-app-main,
body.kse-diet-app-theme .kse-content,
body.kse-diet-app-theme .kse-home-2026,
body.kse-diet-app-theme #profile-account2 {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: clip;
}

body.kse-diet-app-theme .kse-app-shell {
	touch-action: pan-y pinch-zoom;
	overscroll-behavior-x: none;
}

@supports not (overflow: clip) {
	body.kse-diet-app-theme .kse-app-shell,
	body.kse-diet-app-theme .kse-app-main,
	body.kse-diet-app-theme .kse-content,
	body.kse-diet-app-theme .kse-home-2026,
	body.kse-diet-app-theme #profile-account2 {
		overflow-x: hidden;
	}
}

/* KSE Diet App v0.1.25 — compact branded header and custom language controls. */
html body.kse-diet-app-theme form.kse-dcs-language-switcher,
html body.kse-diet-app-theme .kse-dcs-profile-language-bar,
html body.kse-diet-app-theme [data-kse-dcs-language-switcher] {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

.kse-app-topbar {
	position: relative;
	z-index: 30;
	display: flex;
	width: calc(100% - 12px);
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: calc(6px + var(--kse-app-safe-top)) auto 8px;
	padding: 7px 8px 7px 11px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .86);
	border-radius: 15px;
	background:
		radial-gradient(110% 145% at 8% -45%, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 58%),
		linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(245, 239, 248, .52));
	box-shadow:
		0 10px 24px rgba(54, 38, 56, .08),
		inset 0 1px 0 rgba(255, 255, 255, .94),
		inset 0 -1px 0 rgba(103, 77, 111, .05);
	backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
	-webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
}

.kse-app-topbar::before {
	position: absolute;
	top: -25px;
	right: 14%;
	left: 14%;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .72);
	content: "";
	filter: blur(10px);
	pointer-events: none;
}

.kse-app-topbar__logo,
.kse-app-language-form {
	position: relative;
	z-index: 1;
}

.kse-app-topbar__logo {
	display: inline-flex;
	min-width: 0;
	align-items: center;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}

.kse-app-topbar__logo .kse-site-logo__image,
.kse-app-topbar__logo .custom-logo {
	display: block;
	width: auto;
	max-width: min(38vw, 132px);
	height: 36px;
	max-height: 36px;
	object-fit: contain;
}

.kse-app-language-form {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding: 3px;
	border: 1px solid rgba(116, 82, 133, .10);
	border-radius: 999px;
	background: rgba(247, 244, 250, .70);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .90);
}

.kse-app-language-form__button {
	display: inline-flex;
	min-width: 44px;
	height: 36px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 11px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	box-shadow: none;
	color: #514a58;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
	font-size: 12px;
	font-weight: 500 !important;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

.kse-app-language-form__button.is-active,
.kse-app-language-form__button[aria-pressed="true"] {
	background:
		radial-gradient(90% 110% at 25% 0%, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 54%),
		linear-gradient(145deg, #9a61e2, #6f39bf);
	box-shadow:
		0 7px 16px rgba(101, 53, 174, .24),
		inset 0 1px 0 rgba(255, 255, 255, .43);
	color: #fff;
}

.kse-app-language-form__button:focus-visible,
.kse-app-topbar__logo:focus-visible {
	outline: 2px solid rgba(126, 77, 199, .78);
	outline-offset: 2px;
}

.kse-app-topbar--logo-only {
	justify-content: flex-start;
}

@media (max-width: 340px) {
	.kse-app-topbar {
		gap: 7px;
		padding-left: 8px;
	}

	.kse-app-topbar__logo .kse-site-logo__image,
	.kse-app-topbar__logo .custom-logo {
		max-width: 112px;
		height: 32px;
		max-height: 32px;
	}

	.kse-app-language-form__button {
		min-width: 39px;
		height: 34px;
		padding: 0 9px;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.kse-app-topbar {
		background: rgba(255, 255, 255, .96);
	}
}

/* v0.1.26 compact Home header; bottom app navigation is intentionally untouched. */
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-topbar {
  width:100%;
  max-width:520px;
  min-height:78px;
  margin:0 auto;
  padding:12px 16px;
  border:0;
  background:transparent;
  box-shadow:none;
}
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-topbar__logo {
  width:auto;
  max-width:190px;
  height:54px;
  display:flex;
  align-items:center;
}
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-topbar__logo .kse-site-logo__image {
  width:auto !important;
  max-width:180px !important;
  height:52px !important;
  object-fit:contain;
  object-position:left center;
}
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-language-form {
  padding:4px !important;
  border:1px solid rgba(49,70,43,.08) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.80) !important;
  box-shadow:0 8px 20px rgba(48,68,42,.08), inset 0 1px 0 rgba(255,255,255,.95) !important;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-language-form__button {
  min-width:46px !important;
  height:38px !important;
  border-radius:999px !important;
  color:#5d665b !important;
  font-weight:500 !important;
}
html body.kse-diet-app-theme.kse-diet-app-home-route .kse-app-language-form__button.is-active {
  background:linear-gradient(135deg,#68ad31,#3f8a27) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(59,134,37,.22), inset 0 1px 0 rgba(255,255,255,.30) !important;
}

/*
 * KSE Diet App v0.1.29 — compact internal-page top spacing and safe gutters.
 * Presentation only: Fitness Trainer, RBC, MSL, FAQ and stored post data are untouched.
 */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-topbar {
	margin-bottom: 2px !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-main,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-profile-shell-ancestor,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10 > [class*="col-"] {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Keep the application background full-width while giving the actual content
 * a small, consistent breathing room on every Fitness Trainer internal view. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content.portlet.light {
	box-sizing: border-box !important;
	padding-top: 0 !important;
	padding-right: 10px !important;
	padding-left: 10px !important;
}

/* Neutralise Bootstrap negative row gutters inside the padded profile content
 * so lists, filters, regimens and shopping lists do not touch the viewport. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .row,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > div > .row,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content .portlet-body > .row {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

/* Remove legacy heading/content margins that create the empty strip directly
 * below the compact application header on category and single-post screens. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > :first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h1:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h2:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h3:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .portlet-title:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .portlet-body:first-child {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h1:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h2:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h3:first-child {
	margin-bottom: 10px !important;
}

/* Direct single/archive theme templates receive the same compact top and
 * 10px side gutters as Fitness Trainer-rendered screens. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content--article {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 10px 28px !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content--article > :first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-article:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-archive-header:first-child {
	margin-top: 0 !important;
}

/* Empty auto-paragraphs/line breaks at the very top should not recreate the gap. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > p:empty:first-child,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > br:first-child {
	display: none !important;
}

/*
 * KSE Diet App v0.1.30 — remove the real internal-page top spacer.
 *
 * DCS inserts an empty profile language-slot before the first Fitness Trainer
 * block. The theme owns the visible compact header, so that legacy slot must
 * not reserve margin/height. The first real content block is then compacted
 * without changing Fitness Trainer/DCS output or stored data.
 */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar.app-language-switcher-slot[data-kse-dcs-profile-language-bar="1"],
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content .kse-dcs-profile-language-bar.app-language-switcher-slot[data-kse-dcs-profile-language-bar="1"] {
	display: none !important;
	position: absolute !important;
	visibility: hidden !important;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	max-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) form.kse-dcs-language-switcher,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 form.kse-dcs-language-switcher {
	display: none !important;
	position: absolute !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	pointer-events: none !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-topbar {
	margin-bottom: 0 !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 > .row.margin-top-10 > [class*="col-"],
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* The hidden DCS slot remains the first DOM child, therefore :first-child did
 * not reach the actual heading/portlet. Target the adjacent real block too. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + h1,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + h2,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + h3,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + .portlet,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + .portlet-body,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h1,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h2,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > h3,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .portlet:first-of-type,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .portlet-body:first-of-type {
	margin-top: 0 !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .portlet.light:first-of-type,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content > .kse-dcs-profile-language-bar + .portlet.light {
	padding-top: 8px !important;
}


/* KSE Diet App v0.1.31 — intentional compact gap below the internal header. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content {
	margin-top: 11px !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content--article {
	margin-top: 11px !important;
}


/* KSE Diet App v0.1.32 — reliable 11px gap after the compact internal header.
 * Applying padding to the header's immediate main sibling avoids collapsing
 * margins inside Fitness Trainer wrappers and works for categories and posts. */
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-app-topbar + .kse-app-main {
	box-sizing: border-box !important;
	padding-top: 11px !important;
}

html body.kse-diet-app-theme:not(.kse-diet-app-home-route) #profile-account2 .profile-content,
html body.kse-diet-app-theme:not(.kse-diet-app-home-route) .kse-content--article {
	margin-top: 0 !important;
}

/* KSE Diet App v0.1.33 — keep RBC text-size controls interactive after dynamic DOM replacement. */
html body.kse-diet-app-theme .rbc-re .rbc-re__controls {
	position: relative !important;
	z-index: 6 !important;
	pointer-events: auto !important;
}

html body.kse-diet-app-theme .rbc-re .rbc-re__font-btn[data-rbc-font] {
	position: relative !important;
	z-index: 7 !important;
	pointer-events: auto !important;
	touch-action: manipulation !important;
	-webkit-user-select: none !important;
	user-select: none !important;
}

/* KSE Diet App v0.1.34 — Progress Journey route integration. */
html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-app-topbar {
	/* Explicitly retain the exact compact Home header on the Journey route. */
	width: 100%;
	max-width: 520px;
	min-height: 78px;
	margin: 0 auto;
	padding: 12px 16px;
	border: 0;
	background: transparent;
	box-shadow: none;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-app-topbar__logo {
	width: auto;
	max-width: 190px;
	height: 54px;
	display: flex;
	align-items: center;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-app-topbar__logo .kse-site-logo__image,
html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-app-topbar__logo .custom-logo {
	width: auto !important;
	max-width: 180px !important;
	height: 52px !important;
	object-fit: contain;
	object-position: left center;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-content--journey {
	width: 100%;
	max-width: 584px;
	margin: 0 auto;
	padding: 0 10px calc(92px + env(safe-area-inset-bottom));
	box-sizing: border-box;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-route-language-slot,
html body.kse-diet-app-theme.kse-diet-app-journey-route [data-kse-dcs-language-switcher],
html body.kse-diet-app-theme.kse-diet-app-journey-route .kse-dcs-profile-language-bar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-mobile-shell--standalone {
	width: 100%;
	max-width: 560px;
	margin: 0 auto !important;
	box-sizing: border-box;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-page-nav {
	margin-top: 0;
}

.kse-journey-unavailable {
	margin: 0 auto;
	padding: 28px 20px;
	border: 1px solid rgba(100, 74, 111, .10);
	border-radius: 20px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 12px 28px rgba(49, 35, 54, .08);
	text-align: center;
}

.kse-journey-unavailable h1 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 500;
}

.kse-journey-unavailable p {
	margin: 0 0 18px;
	color: #6b6370;
	font-size: 14px;
	line-height: 1.5;
}

.kse-journey-unavailable a {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	justify-content: center;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(145deg, #9a61e2, #6f39bf);
	color: #fff !important;
	font-weight: 500;
	text-decoration: none !important;
}

/* KSE Diet App v0.1.35 — theme-owned restoration of the approved DCS app navigation. */
.kse-dcs-app-nav {
	display: none;
}

@media (max-width: 767px) {
	body.kse-dcs-app-nav-visible {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav {
		position: fixed !important;
		right: auto !important;
		bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
		left: 50% !important;
		z-index: 2147482000;
		display: block;
		width: calc(100% - 48px) !important;
		max-width: 430px !important;
		font-family: Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
		transform: translateX(-50%) !important;
		pointer-events: none;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__inner {
		position: relative !important;
		display: flex;
		isolation: isolate;
		overflow: hidden !important;
		align-items: center !important;
		justify-content: space-between;
		width: 100% !important;
		max-width: none !important;
		min-height: 60px !important;
		margin: 0 auto;
		padding: 5px !important;
		box-sizing: border-box;
		border: 1px solid rgba(255, 255, 255, .82) !important;
		border-radius: 999px !important;
		background:
			radial-gradient(130% 110% at 12% -28%, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, 0) 53%),
			radial-gradient(95% 90% at 98% 132%, rgba(255, 155, 220, .32) 0%, rgba(255, 155, 220, 0) 62%),
			radial-gradient(78% 82% at 42% 125%, rgba(113, 220, 255, .22) 0%, rgba(113, 220, 255, 0) 64%),
			linear-gradient(112deg, rgba(224, 246, 255, .74) 0%, rgba(255, 238, 241, .70) 50%, rgba(255, 220, 243, .66) 100%) !important;
		box-shadow:
			0 18px 42px rgba(40, 28, 51, .18),
			0 3px 10px rgba(40, 28, 51, .08),
			inset 0 1px 0 rgba(255, 255, 255, .96),
			inset 0 -1px 0 rgba(108, 75, 130, .08) !important;
		backdrop-filter: blur(30px) saturate(185%) brightness(1.04) !important;
		-webkit-backdrop-filter: blur(30px) saturate(185%) brightness(1.04) !important;
		pointer-events: auto;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__inner::before {
		position: absolute;
		top: -62%;
		right: 8%;
		left: 8%;
		z-index: 0;
		height: 82%;
		border-radius: 50%;
		background: rgba(255, 255, 255, .70);
		filter: blur(14px);
		content: "";
		pointer-events: none;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__inner::after {
		position: absolute;
		top: 1px;
		right: 12%;
		left: 12%;
		z-index: 0;
		height: 1px;
		border-radius: 999px;
		background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .96), transparent);
		content: "";
		pointer-events: none;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured {
		position: relative;
		z-index: 1;
		display: flex;
		flex: 1 1 0;
		flex-direction: column;
		align-items: center;
		justify-content: center !important;
		min-width: 0;
		height: 50px !important;
		min-height: 50px !important;
		margin-top: 0 !important;
		padding: 3px 2px 2px !important;
		box-sizing: border-box;
		border-radius: 999px !important;
		background: transparent !important;
		box-shadow: none !important;
		color: #625b69 !important;
		font-size: 8.8px !important;
		font-weight: 500 !important;
		line-height: 1.05;
		text-align: center;
		text-decoration: none !important;
		transition: color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
		-webkit-tap-highlight-color: transparent;
		touch-action: manipulation;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item::after {
		display: none !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__icon,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured .kse-dcs-app-nav__icon {
		display: grid !important;
		place-items: center !important;
		width: 28px !important;
		height: 28px !important;
		margin: 0 auto 2px !important;
		border: 0 !important;
		border-radius: 11px !important;
		background: transparent !important;
		box-shadow: none !important;
		color: currentColor !important;
		transition: transform .16s ease, color .16s ease;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__icon svg,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured .kse-dcs-app-nav__icon svg {
		display: block;
		width: 21px !important;
		height: 21px !important;
		overflow: visible;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.8 !important;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__label {
		display: block;
		width: 100%;
		overflow: hidden;
		line-height: 1.05 !important;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-active {
		background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(234, 214, 249, .58)) !important;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, .92),
			inset 0 0 0 1px rgba(126, 68, 181, .08),
			0 5px 14px rgba(111, 66, 145, .10) !important;
		color: #7f42ba !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-active .kse-dcs-app-nav__icon,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured.is-active .kse-dcs-app-nav__icon {
		background: rgba(255, 255, 255, .34) !important;
		box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42) !important;
		color: #7f42ba !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item:active {
		transform: scale(.96);
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item:focus-visible {
		outline: 2px solid rgba(127, 66, 186, .82);
		outline-offset: 2px;
	}

	html.kpj-modal-open .kse-dcs-app-nav {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}
}

@media (max-width: 370px) {
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav {
		width: calc(100% - 22px) !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured {
		font-size: 8px !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__icon,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured .kse-dcs-app-nav__icon {
		width: 26px !important;
		height: 26px !important;
	}

	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__icon svg,
	body.kse-dcs-app-nav-visible .kse-dcs-app-nav__item.is-featured .kse-dcs-app-nav__icon svg {
		width: 20px !important;
		height: 20px !important;
	}
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	@media (max-width: 767px) {
		body.kse-dcs-app-nav-visible .kse-dcs-app-nav__inner {
			background: rgba(250, 246, 252, .97) !important;
		}
	}
}

/* KSE Diet App v0.1.37 — one consistent app header on the Progress route. */
html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-page-nav,
html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-route-language-slot,
html body.kse-diet-app-theme.kse-diet-app-journey-route [data-kse-dcs-language-switcher].kpj-route-language-slot {
	display: none !important;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-mobile-shell--standalone {
	margin-top: 0 !important;
}

html body.kse-diet-app-theme.kse-diet-app-journey-route .kpj-mobile-shell--standalone > .kpj-journey-hero:first-of-type {
	margin-top: 0 !important;
}
