.quick-access {
	position: fixed;
	right: 0;
	top: 50%;
	z-index: 10001;
	display: flex;
	flex-direction: row;
	align-items: center;
	transform: translateY(-50%);
}

.quick-access__handle {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 4.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px 0 0 999px;
	background-color: #2d6a54;
	color: #ffffff;
	box-shadow: -4px 0 14px rgba(31, 45, 40, 0.18);
	cursor: pointer;
	transition:
		opacity 0.25s ease,
		width 0.25s ease,
		margin 0.25s ease,
		visibility 0.25s ease;
}

.quick-access__handle svg {
	width: 1.1rem;
	height: 1.1rem;
	fill: currentColor;
}

.quick-access__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1.25rem;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	padding-right: 0;
	transform: translateX(1rem);
	transition:
		max-width 0.3s ease,
		opacity 0.28s ease,
		transform 0.28s ease,
		padding 0.28s ease;
	pointer-events: none;
}

.quick-access__group {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.65rem;
}

.quick-access__group--top {
	margin-top: 0.35rem;
	padding-top: 1rem;
	position: relative;
}

.quick-access__group--top::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0.35rem;
	width: 2.25rem;
	height: 2px;
	background-color: rgba(45, 106, 84, 0.45);
	border-radius: 1px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.quick-access.is-open .quick-access__group--top::before {
	opacity: 1;
}

.quick-access__item {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	font: inherit;
}

.quick-access__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #2d6a54;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(31, 45, 40, 0.2);
	transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-access__icon svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: currentColor;
}

.quick-access__group--top .quick-access__icon {
	background-color: #1f523f;
}

.quick-access__label {
	overflow: hidden;
	max-width: 0;
	margin-right: 0;
	padding: 0;
	opacity: 0;
	white-space: nowrap;
	font-family: Raleway, Helvetica, sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1f2d28;
	background-color: #ffffff;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(31, 45, 40, 0.12);
	transition:
		max-width 0.28s ease,
		opacity 0.2s ease,
		margin-right 0.28s ease,
		padding 0.28s ease;
}

.quick-access.is-open .quick-access__handle {
	opacity: 0;
	width: 0;
	margin: 0;
	visibility: hidden;
	pointer-events: none;
}

.quick-access.is-open .quick-access__panel {
	max-width: 16rem;
	opacity: 1;
	padding-right: 0.75rem;
	transform: translateX(0);
	pointer-events: auto;
}

.quick-access__item:hover .quick-access__icon,
.quick-access__item:focus-visible .quick-access__icon {
	transform: scale(1.06);
	background-color: #358063;
	box-shadow: 0 6px 18px rgba(31, 45, 40, 0.24);
}

.quick-access__group--top .quick-access__item:hover .quick-access__icon,
.quick-access__group--top .quick-access__item:focus-visible .quick-access__icon {
	background-color: #2d6a54;
}

.quick-access__item:hover .quick-access__label,
.quick-access__item:focus-visible .quick-access__label {
	max-width: 11rem;
	margin-right: 0.65rem;
	padding: 0.55rem 0.9rem;
	opacity: 1;
}

.quick-access__item:focus-visible {
	outline: none;
}

.quick-access__item:focus-visible .quick-access__icon {
	outline: 2px solid #1f523f;
	outline-offset: 3px;
}

.quick-access__handle:focus-visible {
	outline: 2px solid #1f523f;
	outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.quick-access:hover .quick-access__handle {
		opacity: 0;
		width: 0;
		margin: 0;
		visibility: hidden;
		pointer-events: none;
	}

	.quick-access:hover .quick-access__panel {
		max-width: 16rem;
		opacity: 1;
		padding-right: 0.75rem;
		transform: translateX(0);
		pointer-events: auto;
	}

	.quick-access:hover .quick-access__group--top::before {
		opacity: 1;
	}
}

@media screen and (max-width: 736px) {
	.quick-access__handle {
		width: 1.75rem;
		height: 4rem;
	}

	.quick-access.is-open .quick-access__panel,
	.quick-access:hover .quick-access__panel {
		padding-right: 0.5rem;
		max-width: 14rem;
	}

	.quick-access__panel {
		gap: 1rem;
	}

	.quick-access__icon {
		width: 2.75rem;
		height: 2.75rem;
	}

	.quick-access__icon svg {
		width: 1.1rem;
		height: 1.1rem;
	}

	.quick-access__item:hover .quick-access__label,
	.quick-access__item:focus-visible .quick-access__label {
		max-width: 9rem;
		font-size: 0.7rem;
		padding: 0.45rem 0.75rem;
	}
}
