:root{
	scroll-padding-top:90px;
}

.help-page{
	background:#f6f7fb;
}

.help-wrap{
	max-width:1080px;
	margin:0 auto;
	padding-bottom:32px;
}

.help-wrap>h1{
	margin:22px 0 6px;
	font-size:clamp(1.85rem,5vw,2.6rem);
	line-height:1.12;
}

.help-card{
	min-width:0;
	margin:18px 0;
	padding:clamp(16px,2.5vw,24px);
	background:#fff;
	border:1px solid rgba(15,23,42,.10);
	border-radius:16px;
	box-shadow:0 8px 24px rgba(15,23,42,.045);
}

.help-card h2{
	margin-top:0;
	font-size:clamp(1.4rem,3.5vw,1.85rem);
}

.help-card h3{
	font-size:clamp(1.15rem,3vw,1.4rem);
	line-height:1.3;
}

.help-card h4{
	margin-bottom:8px;
}

.help-card p,
.help-card li{
	line-height:1.62;
}

.help-card a,
.help-card code{
	overflow-wrap:anywhere;
}

.help-card pre{
	max-width:100%;
	overflow:auto;
	-webkit-overflow-scrolling:touch;
}

.help-card hr{
	margin:24px 0;
	border:0;
	border-top:1px solid rgba(15,23,42,.09);
}

.help-grid{
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:18px;
	align-items:start;
}

.help-grid>*{
	min-width:0;
}

.help-grid[id],
.help-card[id],
.help-card [id]{
	scroll-margin-top:90px;
}

.help-step{
	padding:14px 16px;
	border:1px solid rgba(37,99,235,.10);
	border-radius:12px;
	background:rgba(37,99,235,.035);
}

.help-step ol{
	margin:0;
	padding-left:22px;
}

.help-step li{
	margin:7px 0;
	padding-left:2px;
}

.help-note{
	color:rgba(15,23,42,.76);
}

.help-grid>.help-note{
	padding:14px 16px;
	border-left:4px solid #2563eb;
	border-radius:0 12px 12px 0;
	background:rgba(37,99,235,.055);
}

.help-kicker{
	margin-top:-6px;
	font-size:.9rem;
	line-height:1.55;
	color:rgba(15,23,42,.66);
}

.help-back{
	margin:18px 0 0;
}

.help-back a,
.help-anchor a,
.help-toc a{
	text-decoration:none;
}

.help-toc>h2{
	margin-bottom:14px;
}

.help-toc>ul{
	display:grid;
	grid-template-columns:minmax(0,1fr);
	gap:14px;
	margin:0;
	padding:0;
	list-style:none;
}

.help-toc>ul>li{
	min-width:0;
	padding:14px;
	border:1px solid rgba(15,23,42,.09);
	border-radius:14px;
	background:#f8fafc;
}

.help-toc>ul>li>a{
	display:block;
	font-size:1.05rem;
	font-weight:850;
}

.help-toc ul ul{
	display:grid;
	gap:2px;
	margin:10px 0 0;
	padding:0;
	list-style:none;
}

.help-toc ul ul a{
	display:flex;
	align-items:center;
	min-height:36px;
	padding:5px 9px;
	border-radius:8px;
	line-height:1.35;
}

.help-toc ul ul a:hover,
.help-toc ul ul a:focus-visible{
	background:rgba(37,99,235,.08);
}

.perm-wrap{
	max-width:100%;
	margin:10px 0 16px;
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
}

.perm-table{
	width:100%;
	border-collapse:collapse;
	font-size:14px;
}

.perm-table th,
.perm-table td{
	padding:8px 9px;
	border:1px solid rgba(15,23,42,.12);
	text-align:center;
	vertical-align:top;
}

.perm-table th:first-child,
.perm-table td:first-child{
	min-width:190px;
	text-align:left;
}

.perm-table thead th{
	background:#f1f5f9;
}

.perm-yes{
	font-weight:800;
	color:#0f7a2f;
}

.perm-no{
	color:rgba(15,23,42,.45);
}

.help-skip-link{
	position:fixed;
	top:8px;
	left:8px;
	z-index:1000;
	padding:10px 14px;
	background:#fff;
	border:2px solid #2563eb;
	border-radius:10px;
	transform:translateY(-150%);
}

.help-skip-link:focus{
	transform:translateY(0);
}

.help-floating-toc{
	display:none;
}

@media (max-width:760px){
	:root{
		scroll-padding-top:16px;
	}

	.help-wrap{
		padding-bottom:76px;
	}

	.help-wrap>h1{
		margin-top:16px;
	}

	.help-card{
		margin:12px 0;
		padding:15px;
		border-radius:14px;
		box-shadow:0 4px 14px rgba(15,23,42,.045);
	}

	.help-card hr{
		margin:20px 0;
	}

	.help-grid{
		gap:14px;
	}

	.help-grid[id],
	.help-card[id],
	.help-card [id]{
		scroll-margin-top:16px;
	}

	.help-toc>ul{
		grid-template-columns:1fr;
		gap:10px;
	}

	.help-toc>ul>li{
		padding:12px;
	}

	.help-toc ul ul a{
		min-height:42px;
		padding:7px 8px;
	}

	.perm-wrap{
		overflow:visible;
	}

	.perm-table,
	.perm-table tbody,
	.perm-table tr,
	.perm-table th,
	.perm-table td{
		display:block;
		width:100%;
	}

	.perm-table thead{
		position:absolute;
		width:1px;
		height:1px;
		padding:0;
		margin:-1px;
		overflow:hidden;
		clip:rect(0,0,0,0);
		white-space:nowrap;
		border:0;
	}

	.perm-table tbody{
		display:grid;
		gap:10px;
	}

	.perm-table tr{
		overflow:hidden;
		border:1px solid rgba(15,23,42,.12);
		border-radius:12px;
		background:#fff;
	}

	.perm-table th,
	.perm-table td,
	.perm-table th:first-child,
	.perm-table td:first-child{
		min-width:0;
		padding:9px 11px;
		border:0;
		border-bottom:1px solid rgba(15,23,42,.08);
		text-align:left;
	}

	.perm-table tbody th{
		background:#f1f5f9;
		font-size:.95rem;
	}

	.perm-table td{
		display:grid;
		grid-template-columns:minmax(0,1fr) auto;
		gap:12px;
		align-items:center;
		text-align:right;
	}

	.perm-table td::before{
		content:attr(data-label);
		color:var(--text);
		font-weight:650;
		text-align:left;
	}

	.perm-table tr>*:last-child{
		border-bottom:0;
	}

	.help-floating-toc{
		display:inline-flex;
		position:fixed;
		right:14px;
		bottom:max(14px,env(safe-area-inset-bottom));
		z-index:50;
		align-items:center;
		justify-content:center;
		min-height:44px;
		padding:10px 16px;
		border:1px solid rgba(30,64,175,.25);
		border-radius:999px;
		background:#2563eb;
		box-shadow:0 8px 24px rgba(15,23,42,.24);
		color:#fff;
		font-weight:850;
		text-decoration:none;
	}

	.help-floating-toc:hover,
	.help-floating-toc:focus-visible{
		background:#1d4ed8;
		color:#fff;
		text-decoration:none;
	}
}

@media (max-width:420px){
	.help-card{
		padding:13px;
	}

	.help-step,
	.help-grid>.help-note{
		padding:12px;
	}

	.help-card ul,
	.help-card ol{
		padding-left:21px;
	}
}

@media (prefers-reduced-motion:reduce){
	.help-page *,
	.help-page *::before,
	.help-page *::after{
		scroll-behavior:auto!important;
		transition:none!important;
	}
}
