.nb-cs {
	position: relative;
	display: inline-block;
	font-size: 14px;
	line-height: 1.2;
}
.nb-cs__btn {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border: 1px solid currentColor;
	border-radius: 8px;
	font-weight: 600;
	user-select: none;
}
.nb-cs__btn::-webkit-details-marker { display: none; }
.nb-cs__btn::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}
.nb-cs[open] .nb-cs__btn::after { transform: rotate(-135deg); }
.nb-cs__list {
	position: absolute;
	right: 0;
	z-index: 9999;
	margin: 6px 0 0;
	padding: 6px;
	min-width: 240px;
	max-height: 60vh;
	overflow-y: auto;
	list-style: none;
	background: #fff;
	color: #111;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.nb-cs__list li { margin: 0; padding: 0; }
.nb-cs__list a {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 9px 10px;
	border-radius: 6px;
	color: inherit;
	text-decoration: none;
}
.nb-cs__list a:hover,
.nb-cs__list a:focus-visible { background: rgba(0, 0, 0, .06); }
.nb-cs__list a.is-active { font-weight: 700; background: rgba(0, 0, 0, .08); }
.nb-cs__code { opacity: .7; white-space: nowrap; }
.nb-cs__list .nb-cs__attr a { justify-content: center; font-size: 11px; opacity: .55; padding: 6px 10px 2px; }
.nb-cs-menu-item { display: flex; align-items: center; list-style: none; }
.nb-cs-menu-item .nb-cs__list { left: auto; right: 0; }
.nb-cs-float { position: fixed; left: 16px; bottom: 16px; z-index: 99998; }
.nb-cs-float .nb-cs__btn { background: #fff; color: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.nb-cs-float .nb-cs__list { right: auto; left: 0; top: auto; bottom: 100%; margin: 0 0 6px; }
