.nf-guide-shell {
	--nf-accent: var(--global-color-8, #0284c7);
	--nf-accent-hover: color-mix(in srgb, var(--nf-accent) 85%, #000000);
	--nf-guide-font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	max-width: 1180px;
	margin: 2.25rem auto 3.5rem auto;
	padding: 0 1.25rem;
	font-family: var(--nf-guide-font);
	color: #0f172a;
	box-sizing: border-box;
}

.nf-guide-shell *,
.nf-guide-shell *::before,
.nf-guide-shell *::after {
	box-sizing: border-box;
}

.nf-guide-top-bar {
	background: #ffffff;
	border: 1.5px solid rgba(148, 163, 184, 0.32);
	border-radius: 20px;
	box-shadow: var(--nf-shadow-tile, 0 10px 24px -4px rgba(148, 163, 184, 0.22));
	padding: 1.25rem 1.5rem;
	margin-bottom: 1.65rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.nf-guide-top-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nf-guide-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.36rem 0.88rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--nf-accent) 11%, #ffffff);
	color: var(--nf-accent);
	border: 1px solid color-mix(in srgb, var(--nf-accent) 28%, transparent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.nf-guide-stat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	padding: 0.36rem 0.78rem;
	border-radius: 9999px;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.28);
	font-size: 0.8rem;
	font-weight: 600;
	color: #475569;
}

.nf-guide-stat-pill svg {
	color: var(--nf-accent);
}

.nf-guide-quick-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.nf-guide-quick-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.8rem;
	border-radius: 9999px;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.3);
	color: #334155 !important;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.16s ease;
}

.nf-guide-quick-link:hover,
.nf-guide-quick-link.is-active {
	background: var(--nf-accent);
	border-color: var(--nf-accent);
	color: #ffffff !important;
	transform: translateY(-1px);
}

.nf-guide-grid {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 1.65rem;
	align-items: start;
}

.nf-guide-sidebar {
	position: sticky;
	top: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.nf-guide-side-card {
	background: #ffffff;
	border: 1.5px solid rgba(148, 163, 184, 0.32);
	border-radius: 20px;
	box-shadow: var(--nf-shadow-tile, 0 10px 24px -4px rgba(148, 163, 184, 0.22));
	padding: 1.3rem 1.2rem;
}

.nf-guide-side-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-bottom: 0.7rem;
	margin-bottom: 0.85rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.nf-guide-side-title {
	display: flex;
	align-items: center;
	gap: 0.48rem;
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
}

.nf-guide-side-title svg {
	color: var(--nf-accent);
}

.nf-guide-toc-toggle {
	background: transparent;
	border: none;
	color: var(--nf-accent);
	font-family: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	padding: 3px 7px;
	border-radius: 6px;
}

.nf-guide-toc-toggle:hover {
	background: color-mix(in srgb, var(--nf-accent) 12%, transparent);
}

.nf-guide-toc-list {
	list-style: none;
	padding: 0 0.2rem 0 0;
	margin: 0;
	max-height: 430px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.nf-guide-toc-list.is-collapsed {
	display: none;
}

.nf-guide-toc-list::-webkit-scrollbar {
	width: 5px;
}

.nf-guide-toc-list::-webkit-scrollbar-thumb {
	background: rgba(148, 163, 184, 0.45);
	border-radius: 999px;
}

.nf-guide-toc-list a {
	display: flex;
	align-items: flex-start;
	gap: 0.48rem;
	padding: 0.44rem 0.6rem;
	border-radius: 10px;
	font-size: 0.84rem;
	font-weight: 600;
	line-height: 1.35;
	color: #475569;
	text-decoration: none !important;
	transition: all 0.16s ease;
}

.nf-guide-toc-list a:hover {
	background: color-mix(in srgb, var(--nf-accent) 9%, #ffffff);
	color: var(--nf-accent);
}

.nf-guide-toc-num {
	flex-shrink: 0;
	font-size: 0.74rem;
	font-weight: 800;
	color: var(--nf-accent);
	padding-top: 1px;
}

.nf-guide-promo-text {
	font-size: 0.86rem;
	line-height: 1.55;
	color: #475569;
	margin: 0 0 0.95rem 0;
}

.nf-guide-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	padding: 0.68rem 0.9rem;
	border-radius: 12px;
	background: var(--nf-accent);
	color: #ffffff !important;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--nf-accent) 26%, transparent);
	transition: background 0.18s ease, transform 0.18s ease;
	margin-bottom: 0.6rem;
}

.nf-guide-btn-primary:hover {
	background: var(--nf-accent-hover);
	transform: translateY(-1px);
}

.nf-guide-btn-outline {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: 100%;
	padding: 0.62rem 0.9rem;
	border-radius: 12px;
	background: #f8fafc;
	border: 1.5px solid rgba(148, 163, 184, 0.34);
	color: #0f172a !important;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.18s ease;
}

.nf-guide-btn-outline svg {
	color: var(--nf-accent);
}

.nf-guide-btn-outline:hover {
	border-color: var(--nf-accent);
	color: var(--nf-accent) !important;
}

.nf-guide-card {
	background: #ffffff;
	border: 1.5px solid rgba(148, 163, 184, 0.32);
	border-radius: 24px;
	box-shadow: var(--nf-shadow-tile, 0 10px 24px -4px rgba(148, 163, 184, 0.25));
	padding: 2.35rem 2.5rem;
}

.nf-guide-body h2 {
	font-size: 1.48rem;
	font-weight: 800;
	color: #0f172a;
	margin: 2.35rem 0 0.95rem 0;
	padding: 0.85rem 0 0 0.95rem;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	border-left: 4px solid var(--nf-accent);
	line-height: 1.3;
	scroll-margin-top: 1.5rem;
}

.nf-guide-body h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.nf-guide-body h3 {
	font-size: 1.1rem;
	font-weight: 800;
	color: #0f172a;
	margin: 1.45rem 0 0.55rem 0;
	padding: 0.72rem 1rem;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 12px;
	line-height: 1.4;
}

.nf-guide-body p {
	font-size: 1rem;
	line-height: 1.78;
	color: #334155;
	margin: 0 0 1rem 0;
}

.nf-guide-body p:last-child {
	margin-bottom: 0;
}

.nf-guide-body a {
	color: var(--nf-accent);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nf-guide-body a:hover {
	color: var(--nf-accent-hover);
}

.nf-guide-body ul,
.nf-guide-body ol {
	margin: 0.7rem 0 1.35rem 0;
	padding: 1rem 1.25rem 1rem 2rem;
	background: #f8fafc;
	border: 1px solid rgba(148, 163, 184, 0.24);
	border-radius: 16px;
	color: #334155;
}

.nf-guide-body li {
	font-size: 0.98rem;
	line-height: 1.68;
	margin-bottom: 0.45rem;
}

.nf-guide-body li:last-child {
	margin-bottom: 0;
}

.nf-guide-body li::marker {
	color: var(--nf-accent);
	font-weight: 800;
}

.nf-guide-body code,
.nf-guide-body kbd {
	background: color-mix(in srgb, var(--nf-accent) 10%, #ffffff);
	color: var(--nf-accent);
	padding: 0.14rem 0.45rem;
	border-radius: 6px;
	font-size: 0.88em;
	font-weight: 700;
	border: 1px solid color-mix(in srgb, var(--nf-accent) 24%, transparent);
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.nf-guide-body figure.wp-block-image {
	margin: 1.6rem 0;
	background: #f8fafc;
	border: 1.5px solid rgba(148, 163, 184, 0.28);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.1);
}

.nf-guide-body figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

.nf-guide-body figure.wp-block-image figcaption {
	margin: 0;
	padding: 0.75rem 1rem;
	font-size: 0.86rem;
	font-weight: 600;
	color: #64748b;
	text-align: center;
	background: #ffffff;
	border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.nf-guide-body strong {
	color: #0f172a;
}

@media (max-width: 960px) {
	.nf-guide-grid {
		grid-template-columns: 1fr;
	}

	.nf-guide-sidebar {
		position: static;
		order: 1;
	}

	.nf-guide-card {
		order: 2;
	}

	.nf-guide-toc-list {
		max-height: 260px;
	}
}

@media (max-width: 640px) {
	.nf-guide-top-bar {
		padding: 1rem 1.1rem;
	}

	.nf-guide-card {
		padding: 1.45rem 1.15rem;
		border-radius: 20px;
	}

	.nf-guide-body h2 {
		font-size: 1.25rem;
		margin-top: 1.75rem;
	}

	.nf-guide-body ul,
	.nf-guide-body ol {
		padding: 0.85rem 1rem 0.85rem 1.65rem;
	}
}
