/* Help & FAQ page — accordion styling, theme-aware. */

.scwc-help-wrap {
	max-width: 860px;
}

.scwc-help-title {
	margin-bottom: 4px;
}

.scwc-help-sub {
	margin: 0 0 22px;
	color: #50575e;
	font-size: 14px;
	max-width: 70ch;
}

.scwc-help-section {
	font-size: 15px;
	margin: 26px 0 10px;
	padding-left: 10px;
	border-left: 3px solid #6d5ce0;
	line-height: 1.3;
}

.scwc-help-group {
	background: #fff;
	border: 1px solid #e2e4e7;
	border-radius: 12px;
	overflow: hidden;
}

.scwc-help-item {
	border-bottom: 1px solid #f0f0f1;
}

.scwc-help-item:last-child {
	border-bottom: 0;
}

.scwc-help-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	cursor: pointer;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.scwc-help-item summary::-webkit-details-marker {
	display: none;
}

.scwc-help-item summary:hover {
	background: #f9f9fb;
}

.scwc-help-caret {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid #787c82;
	border-bottom: 2px solid #787c82;
	transform: rotate( 45deg );
	transition: transform 0.15s ease;
	margin-top: -4px;
}

.scwc-help-item[open] .scwc-help-caret {
	transform: rotate( 225deg );
	margin-top: 4px;
}

.scwc-help-item[open] summary {
	background: #f6f5ff;
}

.scwc-help-a {
	padding: 4px 18px 16px;
	font-size: 13px;
	line-height: 1.65;
	color: #3c434a;
	max-width: 75ch;
}

.scwc-help-a p {
	margin: 0 0 8px;
	font-size: 13px;
}

.scwc-help-a p:last-child {
	margin-bottom: 0;
}

.scwc-help-a a {
	color: #4f46c9;
}

@media ( prefers-color-scheme: dark ) {
	.scwc-help-sub,
	.scwc-help-a {
		color: #a7aaad;
	}
	.scwc-help-group {
		background: #1e1e1e;
		border-color: #3a3a3a;
	}
	.scwc-help-item {
		border-bottom-color: #2b2b2b;
	}
	.scwc-help-item summary {
		color: #f0f0f1;
	}
	.scwc-help-item summary:hover,
	.scwc-help-item[open] summary {
		background: #252525;
	}
	.scwc-help-a a {
		color: #b9b0f5;
	}
}
