.nest-help-wrap,
.nest-help-article-shell {
	box-sizing: border-box;
	max-width: 980px;
	margin: 0 auto;
	color: #1f2933;
}

.nest-help-wrap *,
.nest-help-wrap *::before,
.nest-help-wrap *::after,
.nest-help-article-shell *,
.nest-help-article-shell *::before,
.nest-help-article-shell *::after {
	box-sizing: border-box;
}

.nest-help-wrap a,
.nest-help-article-shell a {
	color: #2563eb;
	text-underline-offset: 3px;
}

.nest-help-hero {
	padding: 2rem 0 1.25rem;
}

.nest-help-hero h1,
.nest-help-wrap h1 {
	margin: 0 0 1rem;
	font-size: 2rem;
	line-height: 1.15;
	letter-spacing: 0;
}

.nest-help-search {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) auto;
	gap: 0.65rem;
	align-items: center;
	max-width: 760px;
}

.nest-help-search input[type="search"] {
	width: 100%;
	min-height: 44px;
	border: 1px solid #cfd8e3;
	border-radius: 6px;
	padding: 0.55rem 0.75rem;
	background: #fff;
	color: #1f2933;
	font: inherit;
}

.nest-help-search button,
.nest-help-feedback button,
.nest-help-widget-toggle,
.nest-help-widget-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #2563eb;
	border-radius: 6px;
	background: #2563eb;
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

.nest-help-search button {
	min-height: 44px;
	padding: 0.55rem 1rem;
}

.nest-help-section {
	margin: 1.6rem 0;
}

.nest-help-section h2,
.nest-help-related h2 {
	margin: 0 0 0.85rem;
	font-size: 1.25rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.nest-help-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 0.85rem;
}

.nest-help-card,
.nest-help-categories a,
.nest-help-answer,
.nest-help-related {
	border: 1px solid #dfe5ee;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.nest-help-card {
	padding: 1rem;
}

.nest-help-card h3 {
	margin: 0 0 0.45rem;
	font-size: 1.05rem;
	line-height: 1.3;
	letter-spacing: 0;
}

.nest-help-card h3 a {
	color: #111827;
	text-decoration: none;
}

.nest-help-card h3 a:hover {
	color: #2563eb;
	text-decoration: underline;
}

.nest-help-card p,
.nest-help-empty {
	margin: 0.35rem 0;
	color: #4b5563;
}

.nest-help-meta,
.nest-help-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.75rem;
	color: #697386;
	font-size: 0.84rem;
}

.nest-help-article-meta span {
	display: inline-flex;
	align-items: center;
	border: 1px solid #dfe5ee;
	border-radius: 999px;
	padding: 0.25rem 0.55rem;
	background: #f8fafc;
}

.nest-help-categories {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 0.75rem;
}

.nest-help-categories a {
	display: grid;
	gap: 0.2rem;
	padding: 0.85rem;
	color: #111827;
	text-decoration: none;
}

.nest-help-categories a:hover {
	border-color: #93c5fd;
}

.nest-help-categories small {
	color: #697386;
}

.nest-help-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 1rem;
	color: #697386;
	font-size: 0.9rem;
}

.nest-help-answer {
	margin: 1rem 0;
	padding: 1rem;
	background: #f8fafc;
}

.nest-help-answer strong {
	display: block;
	margin-bottom: 0.4rem;
	color: #111827;
}

.nest-help-answer p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.55;
}

.nest-help-full-article {
	margin-top: 1.25rem;
	line-height: 1.65;
}

.nest-help-related {
	margin-top: 1.5rem;
	padding: 1rem;
}

.nest-help-related ul {
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.nest-help-feedback {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #edf2f7;
}

.nest-help-feedback button {
	min-height: 32px;
	padding: 0.4rem 0.7rem;
}

.nest-help-feedback button[data-nest-help-feedback="no"] {
	border-color: #64748b;
	background: #64748b;
}

.nest-help-community-cta {
	margin: 1rem 0 0;
	font-weight: 700;
}

.nest-help-widget {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	width: min(360px, calc(100vw - 2rem));
	font-family: inherit;
}

.nest-help-widget-toggle {
	gap: 0.45rem;
	min-height: 42px;
	margin-left: auto;
	padding: 0.55rem 0.85rem;
	box-shadow: 0 10px 25px rgba(37, 99, 235, 0.22);
}

.nest-help-widget-toggle span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.2);
}

.nest-help-widget-panel {
	margin-top: 0.65rem;
	border: 1px solid #cfd8e3;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
	overflow: hidden;
}

.nest-help-widget-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #edf2f7;
}

.nest-help-widget-close {
	width: 30px;
	height: 30px;
	border-color: #e2e8f0;
	background: #f8fafc;
	color: #111827;
	font-size: 1.2rem;
}

.nest-help-widget-results {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
	color: #4b5563;
}

.nest-help-widget-item {
	display: grid;
	gap: 0.2rem;
}

.nest-help-widget-item a {
	color: #111827;
	font-weight: 700;
	text-decoration: none;
}

.nest-help-widget-item a:hover {
	color: #2563eb;
	text-decoration: underline;
}

.nest-help-widget-item p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.45;
}

.nest-help-widget-all {
	display: block;
	padding: 0.75rem 1rem;
	border-top: 1px solid #edf2f7;
	background: #f8fafc;
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 700px) {
	.nest-help-search {
		grid-template-columns: 1fr;
	}

	.nest-help-wrap,
	.nest-help-article-shell {
		max-width: 100%;
	}

	.nest-help-widget {
		right: 0.75rem;
		bottom: 0.75rem;
		width: calc(100vw - 1.5rem);
	}
}
