.cws-accordion {
	--cws-indent: 12px;
	background: #fff;
	border: 1px solid #e4e8e6;
	border-radius: 10px;
	color: #073642;
	overflow: hidden;
	width: 100%;
}

.cws-heading {
	border-bottom: 1px solid #e4e8e6;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	padding: 16px;
}

.cws-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cws-item,
.cws-row {
	margin: 0;
}

.cws-item--root {
	border-bottom: 1px solid #e4e8e6;
}

.cws-item--root:last-child {
	border-bottom: 0;
}

.cws-row {
	align-items: center;
	display: flex;
	gap: 10px;
	min-width: 0;
}

.cws-item--root > .cws-row {
	padding: 14px 16px;
}

.cws-category-link {
	align-items: center;
	color: inherit;
	display: flex;
	flex: 1 1 auto;
	gap: 8px;
	min-width: 0;
	text-decoration: none;
	transition: color .2s ease;
}

.cws-item--root > .cws-row .cws-category-link {
	font-size: 14px;
	font-weight: 600;
}

.cws-category-link:focus-visible,
.cws-toggle:focus-visible {
	border-radius: 3px;
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.cws-category-name {
	overflow-wrap: anywhere;
}

.cws-count {
	font-size: .82em;
	opacity: .68;
}

.cws-toggle {
	--cws-icon-size: 12px;
	appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	cursor: pointer;
	flex: 0 0 28px;
	height: 28px;
	margin: -5px -7px -5px 0;
	padding: 0;
	position: relative;
	width: 28px;
}

.cws-toggle::before,
.cws-toggle::after {
	background: currentColor;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity .2s ease, transform .2s ease;
}

.cws-toggle::before {
	height: 2px;
	width: var(--cws-icon-size);
}

.cws-toggle::after {
	height: var(--cws-icon-size);
	width: 2px;
}

.cws-is-open > .cws-row > .cws-toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg);
}

.cws-panel {
	overflow: hidden;
}

.cws-item--root > .cws-panel {
	padding: 0 9px 12px;
}

.cws-children .cws-row {
	border-radius: 5px;
	padding: 7px 10px 7px 12px;
}

.cws-children .cws-children {
	padding-left: var(--cws-indent);
}

.cws-children .cws-category-link {
	color: #5c6260;
	font-size: 14px;
	font-weight: 400;
}

.cws-children .cws-item.cws-is-current > .cws-row {
	background: #f1f5f2;
}

.cws-children .cws-item.cws-is-current > .cws-row .cws-category-link {
	color: #28623d;
	font-weight: 600;
}

.cws-empty {
	background: #fff8e5;
	border: 1px solid #f0d58c;
	border-radius: 5px;
	padding: 12px;
}

@media (prefers-reduced-motion: reduce) {
	.cws-category-link,
	.cws-toggle::before,
	.cws-toggle::after {
		transition: none;
	}
}
