.help__search--floating {
	position: fixed;
	top: 260px;
	left: 50%;
	z-index: 0;
	width: calc(100% - 40px);
	max-width: 640px;
	opacity: 0;
	pointer-events: none;
	transform: translateX(-50%) translateY(-8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

body.no-scroll .help__search--floating {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(-50%);
}

.help__search--floating .help__searchInput {
	display: flex;
	box-sizing: border-box;
	width: 100%;
	padding: 10px;
	align-items: center;
	gap: 12px;
	border-radius: 32px;
	background: var(--bg-surf-0);
	box-shadow: 0 0 0 1px var(--base-slate-a-150), 0 2px 2px -1px var(--base-slate-a-100), 0 6px 6px -3px var(--base-slate-a-100), 0 12px 12px -6px var(--base-slate-a-50);
}

.help__search--floating .help__searchInput ws-icon {
	margin-left: 8px;
}

.help__search--floating .help_searchInput-input {
	flex-grow: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	font: var(--font-body-reg-sm);
	color: var(--text-base-primary);
}

.help__search--floating .help_searchInput-input::placeholder {
	color: var(--text-base-tertiatry);
}

.help__search--floating .help_searchInput-input:placeholder-shown + .onsearch {
	display: none;
}

.help__search--floating .help__searchInput:has(.help_searchInput-input:focus) {
	outline: 2px dashed var(--base-greengrey-990);
	outline-offset: 8px;
}

.help__search--floating .help__search-results {
	position: relative;
	width: 100%;
}

#helpArticle {
	overflow: visible;

	.helpArticle__wrapper {
		display: flex;
		max-width: 1200px;
		margin: 0 auto;
		align-items: flex-start;
		gap: 20px;
	}

	.helpArticle__content {
		flex: 1;
		min-width: 0;
		padding: 80px 40px 120px 0;
		border-right: 1px solid var(--border-mid-high);
	}

	.helpArticle__headings {
		padding-bottom: 24px;

		.helpArticle__breadcrumbs {
			display: flex;
			gap: 8px;
			align-items: center;
			margin-bottom: 0;

			ul {
				list-style: none;
				display: flex;
				gap: 4px;
				align-items: center;
				flex-wrap: nowrap;
				min-width: 0;

				li {
					display: flex;
					gap: 4px;
					align-items: center;
					font: var(--font-body-reg-sm);
					color: var(--text-base-secondary);
					white-space: nowrap;

					&:last-child {
						min-width: 0;

						svg { flex-shrink: 0; }

						a, span {
							overflow: hidden;
							text-overflow: ellipsis;
						}
					}

					a {
						text-decoration: none;
						color: inherit;
						&:hover { color: var(--text-base-primary); }
					}
				}
			}
		}

		.helpArticle__h1 {
			padding-top: 26px;

			h1 {
				margin: 0 0 12px 0;
			}

			.helpArticle__copyUrl {
				display: flex;
				align-items: center;
				gap: 6px;
				background: none;
				border: none;
				cursor: pointer;
				padding: 0;
				color: var(--color-blue-700);
				font-size: 13px;
				font-weight: 600;

				&:hover { text-decoration: underline; }
			}
		}
	}

	.helpArticle__topic {
		background: var(--bg-surf-0);

		.helpArticle__feature {
			display: flex;
			flex-direction: column;
			gap: 6px;
			padding: 12px 16px;
			margin-bottom: 12px;
			border-radius: 16px;
			background: var(--bg-surf-10);

			.helpArticle__feature-row {
				display: flex;
				gap: 4px;
				align-items: center;
				font: var(--font-body-reg-xs);

				.helpArticle__feature-label {
					font-weight: 700;
					color: var(--text-base-primary);
				}
				.helpArticle__feature-value {
					color: var(--text-base-secondary);
				}
			}
		}

		.helpArticle__related {
			margin-top: 80px;

			.helpArticle__related-list {
				border: 1px solid var(--border-mid-high);
				border-radius: 20px;
				padding: 16px;
				overflow: hidden;
			}

			.helpArticle__related-item {
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding: 12px 16px;
				text-decoration: none;
				color: var(--base-slate-990);
				font: var(--font-body-reg-sm);
				border-radius: 8px;

				&:hover {
					background: #EBF8FA;
					color: var(--color-blue-950);
				}
			}
		}

		.helpArticle__pagination {
			display: flex;
			justify-content: space-between;
			gap: 20px;
			margin-top: 80px;

			.helpArticle__pagination-prev,
			.helpArticle__pagination-next {
				display: flex;
				flex-direction: column;
				gap: 4px;
				max-width: 40%;
			}

			.helpArticle__pagination-prev { align-items: flex-end; }

			.helpArticle__pagination-label {
				color: var(--text-base-tertiatry);
				font: var(--font-body-reg-xs);
			}

			a {
				display: flex;
				align-items: center;
				gap: 6px;
				text-decoration: none;
				color: var(--text-base-primary);
				font: var(--font-body-med-sm);
				text-wrap: balance;

				ws-icon {
					transition: all 0.25s ease-out;
				}
			}

			.helpArticle__pagination-next {
				a {
					&:hover {
						ws-icon {
							transform: translateX(2px);
						}
					}
				}
			}
			.helpArticle__pagination-prev {
				a {
					text-align: right;

					&:hover {
						ws-icon {
							transform: translateX(-2px);
						}
					}
				}
			}
		}
	}

	.helpArticle__nav {
		width: 300px;
		flex-shrink: 0;
		position: sticky;
		top: 20px;
		padding-top: 80px;
		padding-bottom: 40px;

		.helpArticle__nav-inner {
			display: flex;
			flex-direction: column;
		}

		.helpArticle__nav-back {
			padding-bottom: 32px;

			a {
				display: flex;
				align-items: center;
				gap: 6px;
				text-decoration: none;
				color: var(--text-base-primary);
				font: var(--font-body-semi-xl);

				ws-icon {
					transition: all 0.25s ease-out;
					svg {
						fill: var(--text-base-tertiatry);
					}
				}

				&:hover {
					ws-icon {
						transform: translateX(-6px);
						svg {
							fill: var(--text-base-primary);
						}
					}
				}
			}
		}

		.helpArticle__nav-subcat {
			display: flex;
			min-height: 32px;
			padding-left: 24px;
			padding-bottom: 12px;
			align-items: center;
			overflow: hidden;
			color: var(--color-blue-700);
			text-overflow: ellipsis;
			font: var(--font-body-semi-md);
		}

		.helpArticle__nav-section {
			margin: 12px 0;
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			align-self: stretch;
			border-radius: 12px;
			box-shadow: 0 0 0 1px var(--base-slate-a-150), 0 4px 4px -2px var(--base-slate-a-150), 0 12px 12px -6px var(--base-slate-a-100);
			background: var(--bg-surf-0);

			.helpArticle__nav-section-header {
				display: flex;
				padding: 8px 12px;
				align-items: center;
				gap: 8px;
				align-self: stretch;
				border-bottom: 0.5px solid var(--border-mid-high);
				background: var(--base-greengrey-a-50);
				color: var(--text-base-primary);
				font: var(--font-body-med-xs);
				user-select: none;

				ws-icon.mobile-only {
					margin-left: auto;
					display: none;
				}
			}

			.helpArticle__nav-anchors {
				padding: 8px 0;
				display: flex;
				flex-direction: column;
				box-sizing: border-box;
				width: 100%;

				.helpArticle__nav-anchor-item {
					margin: 0 16px;
					border-bottom: 1px solid var(--border-high);
					&:last-child {
						border-bottom: none;
					}

					.helpArticle__nav-anchor {
						display: flex;
						padding: 10px 8px;
						align-items: center;
						flex: 1 0 0;
						box-sizing: border-box;
						width: 100%;
						color: var(--text-base-secondary);
						font: var(--font-body-reg-sm);
						text-decoration: none;

						&:hover {
							text-decoration-line: underline;
							text-decoration-style: solid;
							text-decoration-skip-ink: auto;
							text-decoration-color: var(--base-txt-secondary);
							text-decoration-thickness: 8%;
							text-underline-offset: 8%;
						}

						&.is-active {
							color: var(--text-base-primary);
							font: var(--font-body-semi-sm);
						}
					}
				}
			}
		}

		.helpArticle__nav-siblings {
			display: flex;
			flex-direction: column;
			padding-left: 24px;

			.helpArticle__nav-sibling {

				padding: 12px 0;

				overflow: hidden;
				color: var(--text-base-primary);
				text-overflow: ellipsis;
				font: var(--font-body-reg-md);
				text-decoration: none;

				&:hover {
					text-decoration-line: underline;
					text-decoration-style: solid;
					text-decoration-skip-ink: auto;
					text-decoration-color: var(--base-txt-primary);
					text-decoration-thickness: 8%;
					text-underline-offset: 8%;
				}
			}
		}
	}
	.helpArticle__footer {
		padding: 80px 40px;
		background: linear-gradient(0deg, rgba(255, 255, 255, 0.00) 0%, var(--base-greengrey-a-50) 100%);
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 20px;
		align-self: stretch;
		border-top: 0.5px solid var(--border-mid);

		.helpArticle__footer-heading {
			color: var(--text-base-primary);
			text-align: center;
			font: var(--font-body-med-lg);
		}
		.helpArticle__footer-buttons {
			display: flex;
			align-items: center;
			justify-content: center;
			gap: 12px;
		}
	}
}

.helpArticle__feedback {
	margin-top: 80px;
	border-radius: 20px;
	background: var(--base-greengrey-a-100);
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	justify-content: center;
	padding: 28px 0;

	.helpArticle__feedback-texts {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.helpArticle__feedback-label {
			font: var(--font-body-reg-xs);
			color: var(--text-base-tertiatry);
		}
		.helpArticle__feedback-question {
			font: var(--font-heading-med-sm);
			color: var(--text-base-primary);
		}
	}

	.helpArticle__feedback-buttons {
		display: flex;
		align-items: center;
		gap: 24px;

		.helpArticle__feedback-sep {
			width: 1px;
			height: 48px;
			background: var(--border-high);
		}

		button {
			font: var(--font-body-semi-xl);
		}
	}

	.helpArticle__feedback-comment {
		display: grid;
		grid-template-rows: 0fr;
		overflow: hidden;
		transition: grid-template-rows 0.2s ease;
		align-self: stretch;
		margin: 0 40px;

		&.is-visible {
			grid-template-rows: 1fr;
			margin-top: 20px;
			border-top: 1px solid var(--border-mid-high);
			padding-top: 20px;
		}

		.helpArticle__feedback-comment-inner {
			overflow: hidden;
			display: flex;
			flex-direction: column;
			gap: 12px;
			color: var(--text-base-primary);
			font: var(--font-body-med-md);

			.helpArticle__feedback-options {
				display: flex;
				flex-direction: column;
				gap: 4px;
				align-self: stretch;
				padding-bottom: 12px;

				label {
					display: flex;
					gap: 8px;
					align-items: center;
					padding: 2px 0 0 2px;
					color: var(--text-base-primary);
					font: var(--font-body-reg-sm);
					align-self: stretch;
					cursor: pointer;
					user-select: none;

					input[type="radio"] {
						appearance: none;
						width: 20px;
						height: 20px;
						border-radius: 12px;
						border: 1.5px solid var(--input-radio-border-default);
						position: relative;
						flex-shrink: 0;
						box-sizing: border-box;

						&:checked {
							border: none;
							background: var(--input-radio-border-active-default);
							display: flex;
							align-items: center;
							justify-content: center;

							&:before {
								content: '';
								position: absolute;
								inset: 6px;
								border-radius: 50%;
								background: var(--bg-surf-0);
								box-shadow: 0 0 0 1.5px var(--border-mid-high);
							}
						}
					}
				}
			}

			.helpArticle__feedback-inputs {
				display: flex;
				flex-direction: column;
				gap: 20px;

				textarea {
					border: 0;
					border-radius: 10px;
					background: var(--input-form-bg-default);
					box-shadow: var(--shadow-input-form-default);
					padding: 10px 12px;
					width: calc(100% - 4px);
					box-sizing: border-box;
					margin: 0 2px;

					&:hover {
						box-shadow: var(--shadow-input-form-hover);
					}
				}

				.btn {
					margin: 0 0 2px 2px;
					align-self: flex-start;
				}
			}
		}
	}
}
