/* Help landing page */

.help-page {
	--help-accent: #48206e;
	--help-accent-soft: rgba(72, 32, 110, 0.08);
	--help-border: rgba(72, 32, 110, 0.16);
	--help-muted: #64748b;
}

.help-search-panel {
	padding: 1.25rem 1.35rem 1.35rem;
	border: 1px solid var(--help-border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(72, 32, 110, 0.06), 0 8px 24px rgba(72, 32, 110, 0.08);
}

.help-search-panel__title {
	margin: 0 0 0.35rem;
	color: var(--help-accent);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
}

.help-search-panel__lead {
	margin: 0 0 1rem;
	color: var(--help-muted);
	font-size: 0.95rem;
	line-height: 1.45;
}

.help-search-panel__hint {
	margin: 0.85rem 0 0;
	color: var(--help-muted);
}

.help-search-panel__hint a {
	color: var(--help-accent);
	font-weight: 600;
	text-decoration: none;
}

.help-search-panel__hint a:hover,
.help-search-panel__hint a:focus {
	text-decoration: underline;
}

.help-browse-section {
	padding: 1rem 1.1rem 1.15rem;
	border: 1px solid var(--help-border);
	border-radius: 0.85rem;
	background: linear-gradient(180deg, rgba(72, 32, 110, 0.04) 0%, #fff 42%);
}

.help-browse-section h2 {
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid var(--help-border);
	color: var(--help-accent);
	font-size: 1.15rem;
	font-weight: 700;
}

.help-browse-section .tutorial {
	display: block;
	margin: 0 0 0.55rem;
	line-height: 1.35;
}

.help-browse-section .tutorial:last-child {
	margin-bottom: 0;
}

.help-browse-section .tutorial a {
	color: #1e293b;
	text-decoration: none;
}

.help-browse-section .tutorial a:hover,
.help-browse-section .tutorial a:focus {
	color: var(--help-accent);
	text-decoration: underline;
}

.help-browse-section .tutorial i {
	margin-right: 0.35rem;
	color: var(--help-accent);
}

.help-browse-section .tutorial.help-item--filtered-out,
.help-browse-section .tutorial[hidden] {
	display: none !important;
}

.help-browse-section[hidden] {
	display: none !important;
}

.help-search-panel__status {
	min-height: 1.25rem;
	color: var(--help-muted);
	font-size: 0.9rem;
}

.help-filter-empty {
	padding: 0.85rem 1rem;
	border: 1px dashed var(--help-border);
	border-radius: 0.75rem;
	background: rgba(72, 32, 110, 0.03);
	color: var(--help-muted);
}

.help-filter-empty a {
	color: var(--help-accent);
	font-weight: 600;
	text-decoration: none;
}

.help-filter-empty a:hover,
.help-filter-empty a:focus {
	text-decoration: underline;
}

.help-page__credit {
	padding-top: 0.25rem;
}

.help-page__credit img {
	max-width: 220px;
	height: auto;
	opacity: 0.9;
}

.help-search-results {
	padding-top: 1rem;
	border-top: 1px solid var(--help-border);
}

.help-search-results__count {
	color: var(--help-muted);
	font-size: 0.95rem;
}

.help-search-results__title {
	color: var(--help-accent);
	font-size: 1.05rem;
	font-weight: 700;
	text-decoration: none;
}

.help-search-results__title:hover,
.help-search-results__title:focus {
	text-decoration: underline;
}

.help-search-results__url {
	color: var(--help-muted);
	margin: 0.15rem 0 0.35rem;
	word-break: break-all;
}

.help-search-results__snippet {
	color: #334155;
	font-size: 0.95rem;
	line-height: 1.45;
}

.help-search-results__snippet strong {
	color: var(--help-accent);
}

@media (max-width: 575.98px) {
	.help-search-panel {
		padding: 1rem 1.05rem 1.1rem;
	}

	.help-browse-section {
		padding: 0.9rem 0.95rem 1rem;
	}
}
