.ws-help {
	--help-bg: oklch(99% .002 240);
	--help-surface: oklch(100% 0 0);
	--help-ink: oklch(18% .012 250);
	--help-muted: oklch(54% .012 250);
	--help-border: oklch(92% .005 250);
	--help-accent: oklch(58% .18 255);
	--help-accent-soft: oklch(58% .18 255 / .08);
	min-height: 100vh;
	background: var(--help-bg);
	color: var(--help-ink);
	font-family: var(--font-display, Lexend, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.ws-help *,
.ws-help *::before,
.ws-help *::after {
	box-sizing: border-box;
}

.ws-help button {
	font: inherit;
}

.ws-help svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.ws-help__body {
	max-width: 1200px;
	padding-top: 28px;
	padding-bottom: 64px;
}

.ws-help-library {
	padding-top: 16px;
}

.ws-help-filters {
	display: flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	margin: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.ws-help-filters::-webkit-scrollbar {
	display: none;
}

.ws-help-filter {
	min-height: 36px;
	padding: 0 11px;
	border: 1px solid var(--help-border);
	border-radius: 6px;
	background: var(--help-surface);
	color: #737e90;
	font-size: .72rem;
	font-weight: 520;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.ws-help-filter:hover {
	border-color: #cbd1dc;
	background: #fff;
	color: var(--help-ink);
}

.ws-help-filter.is-active {
	border-color: var(--help-ink);
	background: var(--help-ink);
	color: #fff;
}

.ws-help-card-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.ws-help-card {
	display: flex;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--help-border);
	border-radius: 12px;
	background: var(--help-surface);
	box-shadow: 0 1px 2px rgba(20, 27, 45, .03), 0 8px 24px rgba(20, 27, 45, .04);
	color: inherit;
	flex-direction: column;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ws-help-card:hover {
	border-color: #d8dce5;
	box-shadow: 0 2px 4px rgba(20, 27, 45, .04), 0 14px 30px rgba(20, 27, 45, .08);
	transform: translateY(-3px);
}

.ws-help-card[hidden] {
	display: none;
}

.ws-help-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #e8ebef;
}

.ws-help-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 450ms cubic-bezier(.2, .75, .25, 1);
}

.ws-help-card:hover .ws-help-card__media img {
	transform: scale(1.035);
}

.ws-help-card__content {
	display: flex;
	min-height: 154px;
	min-width: 0;
	padding: 14px;
	flex: 1;
	flex-direction: column;
}

.ws-help-card__category {
	display: inline-flex;
	align-self: flex-start;
	max-width: 100%;
	margin-bottom: 9px;
	padding: 4px 7px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--help-accent-soft);
	color: var(--help-accent);
	font-size: .56rem;
	font-weight: 620;
	letter-spacing: .045em;
	line-height: 1.25;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.ws-help-card__title {
	display: -webkit-box;
	overflow: hidden;
	max-width: 590px;
	margin: 0;
	color: var(--help-ink);
	font-size: .9rem;
	font-weight: 620;
	letter-spacing: -.012em;
	line-height: 1.42;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ws-help-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 11px;
	border-top: 1px solid #f0f1f4;
}

.ws-help-card__time {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #848d9e;
	font-size: .64rem;
	white-space: nowrap;
}

.ws-help-card__time svg {
	width: 12px;
	height: 12px;
}

.ws-help-card__icon-button {
	display: grid;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid #1f2937;
	border-radius: 50%;
	background: #1f2937;
	color: #fff;
	cursor: pointer;
	place-items: center;
	transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.ws-help-card__icon-button:hover {
	border-color: var(--help-accent);
	background: var(--help-accent);
	color: #fff;
	transform: translateX(2px);
}

.ws-help-card:hover .ws-help-card__icon-button {
	border-color: var(--help-accent);
	background: var(--help-accent);
}

.ws-help-card__icon-button svg {
	width: 12px;
	height: 12px;
}

.ws-help-empty {
	padding: 70px 20px;
	text-align: center;
}

.ws-help-empty[hidden] {
	display: none;
}

.ws-help-empty__icon {
	display: grid;
	width: 50px;
	height: 50px;
	margin: 0 auto 16px;
	border-radius: 14px;
	background: #eef0f4;
	color: #7a8495;
	place-items: center;
}

.ws-help-empty__icon svg {
	width: 23px;
	height: 23px;
}

.ws-help-empty h3 {
	margin: 0;
	color: var(--help-ink);
	font-size: 16px;
	font-weight: 650;
}

.ws-help-empty p {
	margin: 7px 0 18px;
	color: var(--help-muted);
	font-size: 11px;
}

.ws-help-empty button {
	padding: 9px 13px;
	border: 1px solid var(--help-border);
	border-radius: 8px;
	background: #fff;
	color: #475467;
	font-size: 10px;
	font-weight: 650;
	cursor: pointer;
}

.ws-help a:focus-visible,
.ws-help button:focus-visible {
	outline: 3px solid rgba(86, 104, 216, .28);
	outline-offset: 3px;
}

@media (max-width: 1050px) {
	.ws-help-card-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 820px) {
	.ws-help__body {
		padding-top: 24px;
		padding-bottom: 56px;
	}

	.ws-help-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 680px) {
	.ws-help-library {
		padding-top: 20px;
	}

	.ws-help-filters {
		width: 100%;
	}

	.ws-help-card-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.ws-help-card {
		display: grid;
		grid-template-columns: 40% minmax(0, 1fr);
		min-height: 148px;
		border-radius: 11px;
	}

	.ws-help-card__media {
		min-height: 148px;
		aspect-ratio: auto;
	}

	.ws-help-card__content {
		min-height: 148px;
		padding: 12px;
	}

	.ws-help-card__category {
		margin-bottom: 7px;
		padding: 4px 6px;
		font-size: .5rem;
	}

	.ws-help-card__title {
		font-size: .8rem;
		line-height: 1.4;
		-webkit-line-clamp: 3;
	}

	.ws-help-card__footer {
		padding-top: 9px;
	}

	.ws-help-card__time {
		font-size: .58rem;
	}

	.ws-help-card__icon-button {
		width: 28px;
		height: 28px;
	}
}

@media (max-width: 380px) {
	.ws-help-card-grid {
		gap: 8px;
	}

	.ws-help-card {
		grid-template-columns: 38% minmax(0, 1fr);
		min-height: 140px;
	}

	.ws-help-card__media {
		min-height: 140px;
	}

	.ws-help-card__content {
		min-height: 140px;
		padding-inline: 9px;
	}

	.ws-help-card__title {
		font-size: .74rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ws-help *,
	.ws-help *::before,
	.ws-help *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
