.money-pot-edit {
	--drawn-border-height: 40px;
	position: relative;
}

.money-pot-edit__topbar {
	--edit-topbar-border-mask: url("../../../../images/components/border-brush/nav-bottom-border-mobile-98ElJhV.svg");
	--bg: var(--color-nude);
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 20;
	padding-top: 16px;
	transition: background-color 0.2s ease;
}

.money-pot-edit__topbar.is-stuck {
	--bg: var(--color-eggshell);
}

.money-pot-edit__topbar::after {
	background-color: var(--bg);
	bottom: 0;
	content: '';
	display: block;
	height: var(--drawn-border-height);
	left: 0;
	-webkit-mask-image: var(--edit-topbar-border-mask);
	mask-image: var(--edit-topbar-border-mask);
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	-webkit-mask-size: auto 100%;
	mask-size: auto 100%;
	position: absolute;
	right: 0;
	transform: translateY(100%);
	transition: background-color 0.2s ease;
}

.money-pot-edit__header {
	background: var(--bg);
	margin: 0;
	text-align: center;
	transition: background-color 0.2s ease;
}

.money-pot-edit__header h1 {
	margin: 0;
}

.money-pot-edit__tabs-defs {
	position: absolute;
	width: 0;
	height: 0;
}

.money-pot-edit__tabs {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 8px;
	margin: 16px 0 0;
}

.money-pot-edit__tab {
	appearance: none;
	background: transparent;
	border: 0;
	color: var(--color-carbon, #1a1a1a);
	cursor: pointer;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.2;
	padding: 6px 14px 10px;
	position: relative;
	transition: color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.money-pot-edit__tab:hover {
	color: var(--color-raspberry);
}

.money-pot-edit__tab--active {
	font-weight: 800;
}

.money-pot-edit__tab-label {
	position: relative;
	z-index: 1;
}

.money-pot-edit__tab-badge {
	align-items: center;
	background: var(--color-raspberry);
	border-radius: 50%;
	color: var(--color-white);
	display: inline-flex;
	font-size: 0.7rem;
	font-weight: 700;
	height: 16px;
	justify-content: center;
	line-height: 1;
	position: relative;
	top: -2px;
	width: 16px;
	z-index: 1;
}

.money-pot-edit__tab-underline {
	bottom: 0;
	color: var(--color-raspberry);
	height: 8px;
	left: 14px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	position: absolute;
	right: 14px;
	transition: opacity 0.18s ease;
}

.money-pot-edit__tab-underline svg {
	display: block;
	height: 100%;
	width: 100%;
}

.money-pot-edit__tab--active .money-pot-edit__tab-underline {
	opacity: 1;
}

.money-pot-edit__tab-spark {
	color: var(--color-raspberry);
	height: 22px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: -12px;
	transition: opacity 0.16s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.5, 1);
	transform: scale(0.4) rotate(-12deg);
	width: 22px;
}

.money-pot-edit__tab-spark svg {
	display: block;
	height: 100%;
	width: 100%;
}

.money-pot-edit__tab-spark--left {
	left: -8px;
}

.money-pot-edit__tab-spark--right {
	right: -8px;
}

.money-pot-edit__tab--active .money-pot-edit__tab-spark {
	opacity: 1;
	transform: scale(1) rotate(0deg);
	transition-delay: 0.06s;
}

.money-pot-edit__panel {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.money-pot-edit__panel[hidden] {
	display: none;
}

.money-pot-edit__danger-zone {
	align-items: center;
	border: 1px dashed var(--color-raspberry);
	border-radius: 12px;
	display: flex;
	gap: 16px;
	padding: 16px 20px;
}

.money-pot-edit__cancel-btn {
	background-color: transparent;
	border: 2px solid var(--color-raspberry);
	border-radius: 50px;
	color: var(--color-raspberry);
	flex-shrink: 0;
	font-family: 'Passion One', sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 24px;
	padding: 8px 24px;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.money-pot-edit__cancel-btn:hover {
	background-color: var(--color-raspberry);
	color: var(--color-white);
}

.money-pot-edit__danger-explain {
	color: var(--color-praline);
	font-size: 0.875rem;
	line-height: 1.4;
	margin: 0;
}

@media screen and (max-width: 719px) {
	.money-pot-edit__danger-zone {
		align-items: stretch;
		flex-direction: column;
		gap: 12px;
	}

	.money-pot-edit__cancel-btn {
		text-align: center;
	}
}

.money-pot-edit__save-bar {
	--bg: var(--color-nude);
	--drawn-border-height: 18px;
	--save-bar-border-mask: url("../../../../images/components/border-brush/nav-bottom-border-mobile-98ElJhV.svg");
	background: var(--bg);
	bottom: 0;
	margin-top: calc(var(--drawn-border-height) + 8px);
	position: sticky;
	z-index: 10;
	transition: background-color 0.2s ease;
}

.money-pot-edit__save-bar.is-stuck {
	--bg: var(--color-eggshell);
}

.money-pot-edit__save-bar-content {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: flex-end;
	margin: 0 auto;
	max-width: 960px;
	padding: 12px 24px;
}

.money-pot-edit__save-bar::before {
	background-color: var(--bg);
	content: '';
	display: block;
	height: var(--drawn-border-height);
	left: 0;
	right: 0;
	top: 0;
	position: absolute;
	-webkit-mask-image: var(--save-bar-border-mask);
	mask-image: var(--save-bar-border-mask);
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	-webkit-mask-size: auto 100%;
	mask-size: auto 100%;
	transform: translateY(-100%) scaleY(-1);
	transition: background-color 0.2s ease;
}

.money-pot-edit__unsaved {
	color: var(--color-praline);
	font-size: 0.8125rem;
	font-weight: 600;
	margin: 0;
	margin-right: auto;
}

.money-pot-edit__unsaved[hidden] {
	display: none;
}

.money-pot-edit__save {
	background-color: var(--color-raspberry);
	border: 2px solid var(--color-raspberry);
	border-radius: 50px;
	color: var(--color-white);
	cursor: pointer;
	font-family: 'Passion One', sans-serif;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 24px;
	padding: 10px 28px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	margin-top: 0 !important;
}

.money-pot-edit__save:hover:not([disabled]) {
	background-color: var(--color-dark-raspberry);
	border-color: var(--color-dark-raspberry);
}

.money-pot-edit__save[disabled] {
	background-color: var(--color-eggshell);
	border-color: var(--color-caramel);
	color: var(--color-caramel);
	cursor: not-allowed;
}

@media screen and (max-width: 719px) {

	.money-pot-edit {
		padding-bottom: 96px;
	}

	.money-pot-edit__save-bar {
		bottom: 0;
		left: 0;
		position: fixed;
		right: 0;
	}

	.money-pot-edit__save-bar-content {
		padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	}

	.money-pot-edit__save {
		flex: 1;
	}

	.money-pot-edit__tab {
		font-size: 0.9375rem;
		padding: 6px 8px 10px;
	}
}

.money-pot-edit__form {
	max-width: 960px;
	padding: 0 24px;
	padding-top: calc(var(--drawn-border-height) + 8px);
}

@media screen and (min-width: 720px) {
	.money-pot-edit {
		height: 100%;
	}

	.money-pot-edit__save-bar,
	.money-pot-edit__topbar {
		margin-right: calc(calc(var(--brush-border-width) + 8px) * -1);
	}

	.money-pot-edit__save-bar-content {
		padding-right: calc(var(--brush-border-width) + 8px);
	}

	.money-pot-edit__topbar {
		--edit-topbar-border-mask: url("../../../../images/components/border-brush/nav-bottom-border-desktop-AhjPrvK.svg");
	}

	.money-pot-edit__save-bar {
		--save-bar-border-mask: url("../../../../images/components/border-brush/nav-bottom-border-desktop-AhjPrvK.svg");
	}

	.money-pot-edit__form {
		max-width: 960px;
		padding-left: 24px;
		padding-right: 24px;
		margin: auto;
	}

	.concept-banner {
		position: sticky;
		top: 15%;
	}



	.money-pot-edit-page .right::after {
		z-index: 21 !important;
	}

	nav::after {
		z-index: 22 !important;
	}

	footer::before {
		z-index: 22 !important;
	}

}
