tabset, .tab-group {
	margin: 2rem 0 1rem 0;
}
tabset [role=tablist] li.selected, .tab-group [role=tablist] li.selected {
	background-color: var(--colour-green);
	color: var(--colour-white);
}
tabset > ul,
tabset .tab-scroll > ul, .tab-group > ul,
.tab-group .tab-scroll > ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin: 0;
	padding: 0;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}
tabset > ul li.separator,
tabset .tab-scroll > ul li.separator, .tab-group > ul li.separator,
.tab-group .tab-scroll > ul li.separator {
	border-bottom: 1px solid #7f7f7f;
	border-left: 1px solid #7f7f7f;
	display: inline-block;
	-webkit-box-flex: 1;
	    -ms-flex: 1 1 auto;
	        flex: 1 1 auto;
	margin: 0.45rem 0 0 0;
	width: auto;
}
tabset .tab-hidden, .tab-group .tab-hidden {
	display: none;
}
tabset [role=tab], .tab-group [role=tab] {
	background-color: #FFF;
	border-left: 1px solid #7f7f7f;
	border-radius: 0.5rem 0.5rem 0 0;
	border-top: 1px solid #7f7f7f;
	cursor: pointer;
	display: block;
	-webkit-box-flex: 0;
	    -ms-flex: 0 0 auto;
	        flex: 0 0 auto;
	margin: 0;
	max-width: 100vw;
	overflow: hidden;
	padding: 1rem 1.5rem 0.14rem 1.5rem;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	white-space: normal;
	word-break: break-word;
}
tabset [role=tab]:last-of-type, .tab-group [role=tab]:last-of-type {
	border-right: 1px solid #7f7f7f;
}
tabset [role=tab]:not(.selected), .tab-group [role=tab]:not(.selected) {
	background-color: #f0f0f0;
	border-bottom: 1px solid #7f7f7f;
}
tabset [role=tab] span, .tab-group [role=tab] span {
	display: block;
	margin: 0 0 0.5rem 0;
}
tabset [role=tabpanel], .tab-group [role=tabpanel] {
	background-color: #FFF;
	border: 1px solid #7f7f7f;
	border-top: none;
	padding: 1rem;
	z-index: 1;
}
tabset [role=tabpanel]:not(.open), .tab-group [role=tabpanel]:not(.open) {
	display: none;
}

.tab-scroll {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}
.tab-scroll::-webkit-scrollbar {
	display: none;
}
.tab-scroll > ul {
	-ms-flex-wrap: nowrap;
	    flex-wrap: nowrap;
	min-width: 100%;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
}

.tab-scroll-wrapper {
	position: relative;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
}
.tab-scroll-wrapper::before, .tab-scroll-wrapper::after {
	content: "";
	position: absolute;
	top: 0;
	width: 2.5rem;
	height: 100%;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}
.tab-scroll-wrapper::before {
	background: radial-gradient(circle at left center, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.5) 75%, rgba(255, 255, 255, 0.25) 95%, transparent 100%);
	border-top-right-radius: 2.5rem;
	border-bottom-right-radius: 2.5rem;
	left: 0;
}
.tab-scroll-wrapper::after {
	right: 0;
	background: radial-gradient(circle at right center, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.5) 75%, rgba(255, 255, 255, 0.25) 95%, transparent 100%);
	border-top-left-radius: 2.5rem;
	border-bottom-left-radius: 2.5rem;
}
.tab-scroll-wrapper.is-overflowing::before, .tab-scroll-wrapper.is-overflowing::after {
	opacity: 0;
	-webkit-transition: opacity 0.15s ease-out;
	transition: opacity 0.15s ease-out;
	-webkit-transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
	transition: opacity 0.12s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-scroll-wrapper.is-overflowing.show-left::before {
	opacity: 1;
}
.tab-scroll-wrapper.is-overflowing.show-right::after {
	opacity: 1;
}
.tab-scroll-wrapper .tab-scroll-arrow {
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	cursor: pointer;
	display: none;
	height: 100%;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	position: absolute;
	top: 0;
	-webkit-user-select: none;
	   -moz-user-select: none;
	    -ms-user-select: none;
	        user-select: none;
	width: 2.5rem;
	z-index: 3;
}
.tab-scroll-wrapper .tab-scroll-arrow path {
	fill: #7f7f7f;
}
.tab-scroll-wrapper .tab-scroll-arrow.left {
	left: 0;
}
.tab-scroll-wrapper .tab-scroll-arrow.right {
	right: 0;
}
.tab-scroll-wrapper .tab-scroll-arrow.hidden {
	display: none !important;
	pointer-events: none;
	visibility: hidden;
}
.tab-scroll-wrapper.is-overflowing .tab-scroll-arrow {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}