.edm-dashboard-menu,
.edm-dashboard-menu * {
	box-sizing: border-box;
}

.edm-dashboard-menu-shell {
	position: relative;
	width: 100%;
}

.edm-dashboard-menu__toggle-row {
	display: none;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
}

.edm-dashboard-menu__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 8px;
	appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #5a171b;
	font: inherit;
	line-height: 1;
	text-shadow: none;
	cursor: pointer;
}

.edm-dashboard-menu__toggle:hover,
.edm-dashboard-menu__toggle:focus,
.edm-dashboard-menu__toggle:active {
	box-shadow: none;
	text-shadow: none;
}

.edm-dashboard-menu__toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.edm-dashboard-menu__toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	font-size: 26px;
}

.edm-dashboard-menu__toggle-icon i,
.edm-dashboard-menu__toggle-icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.edm-dashboard-menu__toggle-icon svg {
	fill: currentColor;
}

.edm-dashboard-menu__toggle-icon--close {
	display: none;
}

.edm-dashboard-menu-shell.is-open .edm-dashboard-menu__toggle-icon--open {
	display: none;
}

.edm-dashboard-menu-shell.is-open .edm-dashboard-menu__toggle-icon--close {
	display: inline-flex;
}

.edm-dashboard-menu {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 10px 12px;
	background: #5a171b;
	box-shadow: none;
}

.edm-dashboard-menu__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.edm-dashboard-menu__entry {
	position: relative;
	margin: 0;
	padding: 0;
}

.edm-dashboard-menu__entry--divider {
	padding-top: 10px;
}

.edm-dashboard-menu__entry--divider::before {
	position: absolute;
	top: 5px;
	right: 0;
	left: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.18);
	content: "";
}

.edm-dashboard-menu__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 15px;
	width: 100%;
	margin: 0;
	padding: 13px 16px;
	appearance: none;
	background: transparent;
	border: 0 solid transparent;
	border-radius: 10px;
	box-shadow: none;
	color: #f8e9e1;
	font: inherit;
	line-height: 1.3;
	text-align: start;
	text-decoration: none;
	text-shadow: none;
	transition-property: color, background-color, border-color, transform;
	transition-duration: 160ms;
	transition-timing-function: ease;
}

a.edm-dashboard-menu__item,
button.edm-dashboard-menu__item {
	cursor: pointer;
}

.edm-dashboard-menu__item--text {
	cursor: default;
}

.edm-dashboard-menu__item:not(.edm-dashboard-menu__item--heading):hover,
.edm-dashboard-menu__item:not(.edm-dashboard-menu__item--heading):focus-visible {
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: none;
	color: #fff;
	text-decoration: none;
}

.edm-dashboard-menu__item--active,
.edm-dashboard-menu__item--active:hover,
.edm-dashboard-menu__item--active:focus-visible {
	background-color: #f4e4d4;
	color: #3f2723;
}

.edm-dashboard-menu__entry--heading {
	margin-top: 8px;
}

.edm-dashboard-menu__entry--heading:first-child {
	margin-top: 0;
}

.edm-dashboard-menu__item--heading,
.edm-dashboard-menu__item--heading:hover {
	display: block;
	padding: 12px 8px 4px;
	background-color: transparent;
	color: #d1a45c;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
	cursor: default;
}

.edm-dashboard-menu__item:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.edm-dashboard-menu__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	color: #f8e9e1;
	font-size: 20px;
	line-height: 1;
	transition: color 160ms ease;
}

.edm-dashboard-menu__item:hover .edm-dashboard-menu__icon,
.edm-dashboard-menu__item:focus-visible .edm-dashboard-menu__icon {
	color: #fff;
}

.edm-dashboard-menu__item--active .edm-dashboard-menu__icon,
.edm-dashboard-menu__item--active:hover .edm-dashboard-menu__icon,
.edm-dashboard-menu__item--active:focus-visible .edm-dashboard-menu__icon {
	color: #3f2723;
}

.edm-dashboard-menu__icon i,
.edm-dashboard-menu__icon svg {
	display: block;
	width: 1em;
	height: 1em;
}

.edm-dashboard-menu__icon svg {
	fill: currentColor;
}

.edm-dashboard-menu__label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.edm-dashboard-menu__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	margin-inline-start: auto;
	padding: 3px 7px;
	background: #f4e4d4;
	border-radius: 6px;
	color: #3f2723;
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.03em;
}

.edm-dashboard-menu__item--active .edm-dashboard-menu__badge {
	background: #5a171b;
	color: #f8e9e1;
}

@media (prefers-reduced-motion: reduce) {
	.edm-dashboard-menu__item {
		transition: none;
	}
}

@media (max-width: 767px) {
	.edm-dashboard-menu-shell--mobile-collapse .edm-dashboard-menu__toggle-row {
		display: flex;
	}

	.edm-dashboard-menu-shell--mobile-collapse .edm-dashboard-menu {
		position: absolute;
		top: calc(100% + 8px);
		width: 100%;
		max-width: 100%;
		max-height: 75vh;
		margin: 0;
		visibility: hidden;
		z-index: 999;
		overflow-x: hidden;
		overflow-y: auto;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 170ms ease, transform 170ms ease, visibility 0s linear 170ms;
		pointer-events: none;
	}

	.edm-dashboard-menu-shell--edge-left .edm-dashboard-menu {
		left: 0;
		right: auto;
	}

	.edm-dashboard-menu-shell--edge-right .edm-dashboard-menu {
		right: 0;
		left: auto;
	}

	.edm-dashboard-menu-shell--mobile-collapse.is-open .edm-dashboard-menu {
		visibility: visible;
		opacity: 1;
		transform: translateY(0);
		transition-delay: 0s;
		pointer-events: auto;
	}
}
