/* GT help — page-specific styles (loaded only on /gt/help/* pages). */

/* Two-column layout: article on the left, sidebar on the right.
   HTML order is article first, sidebar second, so mobile (single column)
   naturally stacks content above the nav. */
.glowed .help-layout {
	display: grid; grid-template-columns: 1fr 240px; gap: 32px; align-items: start;
}

/* Sidebar */
.glowed .help-sidebar {
	position: sticky; top: 80px;
	padding: 16px 18px;
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 8px;
	font-size: 0.9375rem;
}
.glowed .help-sidebar h4 {
	font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
	opacity: 0.55; color: #cfe6ff;
	margin: 16px 0 6px;
}
.glowed .help-sidebar h4:first-child { margin-top: 0; }
.glowed .help-sidebar h4.help-sidebar-h { opacity: 1; font-size: 0.8125rem; }
.glowed .help-sidebar h4.help-sidebar-h a {
	color: #fff; text-decoration: none; border-bottom: 0;
}
.glowed .help-sidebar h4.help-sidebar-h a.is-current { color: #8feaff; }
.glowed .help-sidebar ul { list-style: none; padding: 0; margin: 0 0 4px; }
.glowed .help-sidebar li { padding: 3px 0; line-height: 1.3; }
.glowed .help-sidebar li a {
	color: #cfe6ff; text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.12s ease, border-color 0.12s ease;
}
.glowed .help-sidebar li a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.4); }
.glowed .help-sidebar li.is-current a {
	color: #fff; font-weight: 600;
	border-bottom-color: rgba(143, 234, 255, 0.6);
}

/* Article column */
.glowed .help-article { min-width: 0; /* allow children to shrink in grid */ }

/* Override the global util-header padding (24px 40px 12px), which inside the
   article column looks indented relative to body content. */
.glowed .help-article .util-header { padding: 0; margin-bottom: 20px; }

/* Lede block (pre-section prose, intro paragraph, footer note) */
.glowed .gp-section.help-lede {
	background: transparent;
	border: 0;
	padding: 0;
}
.glowed .gp-section.help-lede > p:first-child { font-size: 1.0625rem; line-height: 1.55; color: #e4f0ff; }

/* Headings inside help article */
.glowed .help-article h3 {
	font-size: 1.0625rem; font-weight: 600; color: #fff;
	margin: 18px 0 8px;
	letter-spacing: 0.01em;
}

/* Help tables */
.glowed .help-table {
	width: 100%; border-collapse: collapse;
	margin: 12px 0;
	font-size: 0.9375rem;
}
.glowed .help-table th,
.glowed .help-table td {
	padding: 8px 14px; text-align: left; vertical-align: top;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.glowed .help-table th {
	background: rgba(255, 255, 255, 0.04); color: #fff;
	font-weight: 600;
	font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em;
}
.glowed .help-table tr:last-child td { border-bottom: 0; }
.glowed .help-table strong { color: #fff; }

/* Code blocks and inline code */
.glowed .help-article pre {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	padding: 12px 14px;
	margin: 12px 0;
	overflow-x: auto;
}
.glowed .help-article pre code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.8125rem;
	color: #cfe6ff;
	background: transparent;
	padding: 0;
	white-space: pre;
	line-height: 1.55;
}
.glowed .help-article code {
	font-family: 'JetBrains Mono', monospace;
	font-size: 0.85em;
	background: rgba(255, 255, 255, 0.07);
	padding: 1px 6px;
	border-radius: 3px;
	color: #e4f0ff;
}

/* Horizontal rule */
.glowed .help-hr {
	border: 0; height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
	margin: 24px 0;
}

/* Inline links within the article */
.glowed .help-article a {
	color: #8feaff; text-decoration: none;
	border-bottom: 1px solid rgba(143, 234, 255, 0.35);
	transition: color 0.12s ease, border-color 0.12s ease;
}
.glowed .help-article a:hover { color: #fff; border-bottom-color: #fff; }

/* Mobile breakpoint — collapse sidebar above the article */
@media (max-width: 820px) {
	.glowed .help-layout { grid-template-columns: 1fr; gap: 16px; }
	.glowed .help-sidebar { position: static; }
}
