/* ============================================================
   GH Secure Panel — Dark + Gold theme (matches goldenhints.top)
   Font: DM Sans
   ============================================================ */

:root {
	--gh-bg: #0a0a0a;
	--gh-bg-elevated: #111111;
	--gh-card: #161616;
	--gh-card-hover: #1c1c1c;
	--gh-border: #222222;
	--gh-gold: #e8b923;
	--gh-gold-hover: #f0c83a;
	--gh-gold-dim: rgba(232, 185, 35, 0.15);
	--gh-text: #f5f5f5;
	--gh-text-muted: #9a9a9a;
	--gh-success: #22c55e;
	--gh-error: #ef4444;
	--gh-info: #3b82f6;
	--gh-radius: 12px;
	--gh-radius-sm: 8px;
	--gh-font: 'DM Sans', system-ui, -apple-system, sans-serif;
	--gh-sidebar-w: 260px;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html, body.ghsp-body {
	margin: 0;
	padding: 0;
	font-family: var(--gh-font);
	font-optical-sizing: auto;
	background: var(--gh-bg);
	color: var(--gh-text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
}

a {
	color: var(--gh-gold);
	text-decoration: none;
	transition: color 0.15s;
}
a:hover {
	color: var(--gh-gold-hover);
}

/* ---------- Auth pages (login / register) ---------- */
.ghsp-auth-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(232, 185, 35, 0.08) 0%, transparent 60%),
		var(--gh-bg);
}

.ghsp-auth-card {
	width: 100%;
	max-width: 420px;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius);
	padding: 40px 32px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.ghsp-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
}

.ghsp-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--gh-gold);
	color: #0a0a0a;
	font-weight: 700;
	font-size: 14px;
	border-radius: 8px;
}

.ghsp-logo-text {
	font-weight: 600;
	font-size: 18px;
	letter-spacing: -0.02em;
}

.ghsp-auth-card h1 {
	margin: 0 0 6px;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ghsp-subtitle {
	margin: 0 0 28px;
	color: var(--gh-text-muted);
	font-size: 15px;
}

/* Form */
.ghsp-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ghsp-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ghsp-field label {
	font-size: 13px;
	font-weight: 500;
	color: var(--gh-text-muted);
}

.ghsp-field input[type="email"],
.ghsp-field input[type="password"],
.ghsp-field input[type="text"] {
	width: 100%;
	padding: 12px 14px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-sm);
	color: var(--gh-text);
	font-family: var(--gh-font);
	font-size: 15px;
	transition: border-color 0.15s, box-shadow 0.15s;
	outline: none;
}

.ghsp-field input:focus {
	border-color: var(--gh-gold);
	box-shadow: 0 0 0 3px var(--gh-gold-dim);
}

.ghsp-field input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ghsp-remember label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: var(--gh-text-muted);
	cursor: pointer;
}

.ghsp-hint {
	font-size: 12px;
	color: var(--gh-text-muted);
	margin: 4px 0 0;
}

/* Buttons */
.ghsp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	font-family: var(--gh-font);
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: var(--gh-radius-sm);
	cursor: pointer;
	transition: background 0.15s, transform 0.1s;
}

.ghsp-btn:active {
	transform: scale(0.98);
}

.ghsp-btn-primary {
	background: var(--gh-gold);
	color: #0a0a0a;
	width: 100%;
}

.ghsp-btn-primary:hover {
	background: var(--gh-gold-hover);
}

.ghsp-btn-gold {
	background: var(--gh-gold);
	color: #0a0a0a;
	text-decoration: none !important;
	padding: 10px 18px;
	font-size: 14px;
	border-radius: 10px;
	white-space: nowrap;
}
.ghsp-btn-gold:hover {
	background: var(--gh-gold-hover);
	color: #0a0a0a;
}

.ghsp-btn-small {
	padding: 6px 12px;
	font-size: 13px;
	background: var(--gh-border);
	color: var(--gh-text);
}

.ghsp-btn-small:hover {
	background: #333;
}

.ghsp-footer-link {
	margin: 24px 0 0;
	text-align: center;
	font-size: 14px;
	color: var(--gh-text-muted);
}

/* Messages */
.ghsp-message {
	padding: 12px 14px;
	border-radius: var(--gh-radius-sm);
	font-size: 14px;
	margin-bottom: 16px;
}

.ghsp-message.success {
	background: rgba(34, 197, 94, 0.12);
	border: 1px solid rgba(34, 197, 94, 0.3);
	color: #4ade80;
}

.ghsp-message.error {
	background: rgba(239, 68, 68, 0.12);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #f87171;
}

/* ---------- Panel layout ---------- */
.ghsp-panel-layout {
	display: flex;
	min-height: 100vh;
}

.ghsp-sidebar {
	width: var(--gh-sidebar-w);
	background: var(--gh-bg-elevated);
	border-right: 1px solid var(--gh-border);
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 100;
	transition: transform 0.25s ease;
}

.ghsp-sidebar-header {
	padding: 24px 20px;
	border-bottom: 1px solid var(--gh-border);
}

.ghsp-nav {
	flex: 1;
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ghsp-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	border-radius: var(--gh-radius-sm);
	color: var(--gh-text-muted);
	font-size: 14px;
	font-weight: 500;
	transition: all 0.15s;
}

.ghsp-nav-item:hover {
	background: var(--gh-card);
	color: var(--gh-text);
}

.ghsp-nav-item.active {
	background: var(--gh-gold-dim);
	color: var(--gh-gold);
}

.nav-icon {
	font-size: 16px;
	opacity: 0.8;
}

.ghsp-sidebar-footer {
	padding: 16px;
	border-top: 1px solid var(--gh-border);
}

.ghsp-user-badge {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ghsp-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gh-gold);
	color: #0a0a0a;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 16px;
}

.ghsp-user-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ghsp-user-info .name {
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ghsp-user-info .status {
	font-size: 12px;
	color: var(--gh-text-muted);
}

.ghsp-user-info .status.vip {
	color: var(--gh-gold);
}

/* Main */
.ghsp-main {
	flex: 1;
	margin-left: var(--gh-sidebar-w);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ghsp-topbar {
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 28px;
	border-bottom: 1px solid var(--gh-border);
	background: var(--gh-bg);
	position: sticky;
	top: 0;
	z-index: 50;
}

.ghsp-mobile-toggle {
	display: none;
	background: none;
	border: none;
	color: var(--gh-text);
	font-size: 22px;
	cursor: pointer;
	padding: 4px 8px;
}

.ghsp-welcome {
	font-size: 14px;
	color: var(--gh-text-muted);
}

.ghsp-content {
	padding: 32px 28px;
	flex: 1;
}

.ghsp-page-header {
	margin-bottom: 32px;
}

.ghsp-page-header h1 {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.ghsp-page-header p {
	margin: 0;
	color: var(--gh-text-muted);
	font-size: 15px;
}

/* Cards */
.ghsp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
	margin-bottom: 28px;
}

.ghsp-card {
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius);
	padding: 22px;
}

.ghsp-card-label {
	font-size: 13px;
	color: var(--gh-text-muted);
	margin-bottom: 8px;
}

.ghsp-card-value {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ghsp-card-value.gold {
	color: var(--gh-gold);
}

.ghsp-card-meta {
	margin-top: 8px;
	font-size: 13px;
	color: var(--gh-text-muted);
}

a.ghsp-card-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
	transition: border-color .15s, transform .15s;
}
a.ghsp-card-link:hover {
	border-color: rgba(240,187,9,.4);
	transform: translateY(-1px);
}

/* Alerts */
.ghsp-alert {
	padding: 18px 20px;
	border-radius: var(--gh-radius);
	margin-bottom: 28px;
}

.ghsp-alert strong {
	display: block;
	margin-bottom: 4px;
}

.ghsp-alert p {
	margin: 0 0 12px;
	font-size: 14px;
	opacity: 0.9;
}

.ghsp-alert-gold {
	background: var(--gh-gold-dim);
	border: 1px solid rgba(232, 185, 35, 0.25);
}

.ghsp-alert-success {
	background: rgba(34, 197, 94, 0.1);
	border: 1px solid rgba(34, 197, 94, 0.25);
}

.ghsp-alert-info {
	background: rgba(59, 130, 246, 0.1);
	border: 1px solid rgba(59, 130, 246, 0.25);
}

/* Section */
.ghsp-section {
	margin-top: 36px;
}

.ghsp-section h2 {
	font-size: 18px;
	font-weight: 600;
	margin: 0 0 16px;
}

.ghsp-quick-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ghsp-quick-link {
	padding: 10px 16px;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-sm);
	font-size: 14px;
	color: var(--gh-text);
	transition: border-color 0.15s, background 0.15s;
}

.ghsp-quick-link:hover {
	border-color: var(--gh-gold);
	background: var(--gh-card-hover);
	color: var(--gh-gold);
}

/* Plans */
.ghsp-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-bottom: 36px;
}

.ghsp-plan-card {
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius);
	padding: 28px 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s;
}

.ghsp-plan-card:hover {
	border-color: #333;
}

.ghsp-plan-card.featured {
	border-color: var(--gh-gold);
	box-shadow: 0 0 0 1px var(--gh-gold);
}

.ghsp-plan-badge {
	position: absolute;
	top: -10px;
	right: 16px;
	background: var(--gh-gold);
	color: #0a0a0a;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.ghsp-plan-card h3 {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
}

.ghsp-plan-price {
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.03em;
	margin-bottom: 8px;
}

.ghsp-plan-price .currency {
	font-size: 20px;
	vertical-align: top;
	opacity: 0.8;
}

.ghsp-plan-desc {
	font-size: 13px;
	color: var(--gh-text-muted);
	margin: 0 0 20px;
}

.ghsp-plan-features {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
	flex: 1;
}

.ghsp-plan-features li {
	font-size: 14px;
	padding: 6px 0;
	color: var(--gh-text-muted);
	position: relative;
	padding-left: 20px;
}

.ghsp-plan-features li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--gh-gold);
	font-weight: 700;
}

/* Payment box */
.ghsp-payment-box {
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius);
	padding: 28px;
	max-width: 520px;
}

.ghsp-payment-box h2 {
	margin: 0 0 8px;
	font-size: 20px;
}

.ghsp-wallet-box {
	margin: 20px 0;
	padding: 16px;
	background: var(--gh-bg);
	border-radius: var(--gh-radius-sm);
	border: 1px solid var(--gh-border);
}

.ghsp-wallet-box label {
	display: block;
	font-size: 13px;
	color: var(--gh-text-muted);
	margin-bottom: 8px;
}

.ghsp-wallet-address {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ghsp-wallet-address code {
	font-size: 13px;
	word-break: break-all;
	background: transparent;
	color: var(--gh-gold);
}

/* Profile */
.ghsp-profile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 20px;
}

.ghsp-profile-grid .ghsp-card h3 {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	/* Force full off-canvas sidebar on phones (override force-collapsed / collapsed) */
	html.ghsp-force-collapsed body.ghsp-panel-body .ghsp-sidebar,
	.ghsp-sidebar-collapsed .ghsp-sidebar,
	.ghsp-sidebar {
		width: var(--gh-sidebar-w) !important;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
	}

	html.ghsp-force-collapsed body.ghsp-panel-body .ghsp-sidebar.open,
	.ghsp-sidebar-collapsed .ghsp-sidebar.open,
	.ghsp-sidebar.open {
		transform: translateX(0) !important;
	}

	html.ghsp-force-collapsed body.ghsp-panel-body .ghsp-main,
	.ghsp-sidebar-collapsed .ghsp-main,
	.ghsp-main {
		margin-left: 0 !important;
	}

	html.ghsp-force-collapsed .nav-label,
	.ghsp-sidebar-collapsed .nav-label,
	.ghsp-sidebar-collapsed .ghsp-logo,
	.ghsp-sidebar-collapsed .ghsp-nav-divider {
		display: block !important; /* restore labels when drawer is open on mobile */
	}

	.ghsp-sidebar-collapsed .ghsp-nav-item {
		justify-content: flex-start !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	.ghsp-collapse-btn {
		display: none !important; /* no collapse on pure mobile */
	}

	.ghsp-mobile-toggle {
		display: block;
	}

	.ghsp-content {
		padding: 20px 14px;
	}

	.ghsp-auth-card {
		padding: 32px 24px;
	}

	/* Topbar declutter & prevent overflow */
	.ghsp-topbar {
		padding: 0 12px !important;
		gap: 8px !important;
		height: 56px;
	}
	.ghsp-chip-name {
		display: none !important;
	}
	.ghsp-vip-pill {
		font-size: 11px !important;
		padding: 5px 9px !important;
		max-width: 110px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.ghsp-user-chip {
		padding: 3px !important;
		border: none !important;
	}
	.ghsp-topbar-right {
		gap: 6px !important;
		flex-shrink: 1;
		min-width: 0;
	}
	.ghsp-ea-download-top {
		padding: 8px !important;
	}
	.ghsp-ea-download-top span {
		display: none !important;
	}

	/* Prevent horizontal overflow */
	.ghsp-panel-layout,
	.ghsp-main,
	.ghsp-content {
		overflow-x: hidden;
		max-width: 100vw;
	}
}

/* Logo image */
.ghsp-logo-img {
	max-height: 42px;
	width: auto;
	display: block;
	object-fit: contain;
}

.ghsp-logo-center {
	justify-content: center;
	margin-bottom: 24px;
}

.ghsp-logo-center .ghsp-logo-img {
	max-height: 52px;
	margin: 0 auto;
}

.ghsp-logo-sidebar {
	max-height: 36px;
	max-width: 180px;
}

.ghsp-nav-divider {
	height: 1px;
	background: var(--gh-border);
	margin: 10px 8px;
}

.ghsp-shortcode-wrap {
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius);
	padding: 20px;
	overflow-x: auto;
}

.ghsp-shortcode-wrap img {
	max-width: 100%;
	height: auto;
}

.ghsp-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin-right: 12px;
}
.ghsp-badge.vip {
	background: var(--gh-gold-dim);
	color: var(--gh-gold);
	border: 1px solid rgba(232, 185, 35, 0.35);
}
.ghsp-badge.free {
	background: var(--gh-card);
	color: var(--gh-text-muted);
	border: 1px solid var(--gh-border);
}
.ghsp-topbar-right {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* Topbar chip + verified + bell */
.ghsp-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(22, 163, 74, 0.15);
	border: 1px solid rgba(22, 163, 74, 0.35);
	cursor: default;
	position: relative;
}
.ghsp-verified-dot {
	color: #22c55e;
	font-size: 13px;
	font-weight: 700;
}
.ghsp-verified:hover::after {
	content: attr(title);
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #1a1a1a;
	border: 1px solid var(--gh-border);
	color: var(--gh-text);
	font-size: 12px;
	padding: 8px 12px;
	border-radius: 8px;
	white-space: nowrap;
	z-index: 50;
	box-shadow: 0 8px 24px rgba(0,0,0,.4);
	max-width: 260px;
	white-space: normal;
	min-width: 160px;
}

.ghsp-bell-wrap { position: relative; }
.ghsp-bell {
	background: transparent;
	border: 1px solid var(--gh-border);
	color: var(--gh-text-muted);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
}
.ghsp-bell:hover { color: var(--gh-text); border-color: #333; }
.ghsp-bell-dot {
	position: absolute;
	top: -2px;
	right: -2px;
	background: var(--gh-gold);
	color: #0a0a0a;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
}
.ghsp-bell-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	width: 300px;
	max-height: 360px;
	overflow-y: auto;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0,0,0,.45);
	z-index: 80;
}
.ghsp-bell-head {
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	border-bottom: 1px solid var(--gh-border);
}
.ghsp-bell-empty { padding: 20px; color: var(--gh-text-muted); font-size: 13px; text-align: center; }
.ghsp-bell-item {
	padding: 12px 14px;
	border-bottom: 1px solid var(--gh-border);
	font-size: 13px;
}
.ghsp-bell-item.unread { background: rgba(232, 185, 35, 0.06); }
.ghsp-bell-item strong { display: block; margin-bottom: 4px; }
.ghsp-bell-item p { margin: 0 0 4px; color: var(--gh-text-muted); }
.ghsp-bell-item .meta { font-size: 11px; color: var(--gh-text-muted); }

.ghsp-user-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 10px 4px 4px;
	border: 1px solid var(--gh-border);
	border-radius: 24px;
}
.ghsp-avatar-sm {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gh-gold);
	color: #0a0a0a;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 12px;
}
.ghsp-chip-name {
	font-size: 13px;
	font-weight: 500;
	max-width: 120px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ghsp-field select,
.ghsp-field textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--gh-bg);
	border: 1px solid var(--gh-border);
	border-radius: var(--gh-radius-sm);
	color: var(--gh-text);
	font-family: var(--gh-font);
	font-size: 15px;
	outline: none;
}
.ghsp-field select:focus,
.ghsp-field textarea:focus {
	border-color: var(--gh-gold);
	box-shadow: 0 0 0 3px var(--gh-gold-dim);
}
.ghsp-field textarea { resize: vertical; min-height: 100px; }

.ghsp-table-wrap { overflow-x: auto; }
.ghsp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.ghsp-table th,
.ghsp-table td {
	text-align: left;
	padding: 10px 8px;
	border-bottom: 1px solid var(--gh-border);
}
.ghsp-table th { color: var(--gh-text-muted); font-weight: 500; }
.ghsp-tag-ok { color: #22c55e; font-weight: 600; }
.ghsp-profile-grid .full-span { grid-column: 1 / -1; }

/* Hide old badge style if any */
.ghsp-badge { display: none !important; }

/* Collapsible sidebar */
.ghsp-sidebar {
	transition: width 0.2s ease;
	position: relative;
}
.ghsp-collapse-btn {
	position: absolute;
	right: -12px;
	top: 22px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 1px solid var(--gh-border);
	background: var(--gh-card);
	color: var(--gh-text-muted);
	cursor: pointer;
	font-size: 14px;
	line-height: 1;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.ghsp-collapse-btn:hover { color: var(--gh-gold); border-color: var(--gh-gold); }

.ghsp-sidebar-collapsed .ghsp-sidebar {
	width: 72px;
}
.ghsp-sidebar-collapsed .ghsp-main {
	margin-left: 0;
}
.ghsp-sidebar-collapsed .nav-label,
.ghsp-sidebar-collapsed .ghsp-logo,
.ghsp-sidebar-collapsed .ghsp-nav-divider {
	display: none !important;
}
.ghsp-sidebar-collapsed .ghsp-nav-item {
	justify-content: center;
	padding-left: 0;
	padding-right: 0;
}
.ghsp-sidebar-collapsed .nav-icon {
	margin: 0;
	font-size: 16px;
}
.ghsp-sidebar-collapsed .ghsp-collapse-btn {
	transform: rotate(180deg);
	right: -12px;
}
.ghsp-sidebar-collapsed .ghsp-sidebar-header {
	justify-content: center;
	padding: 16px 8px;
}

/* Gold VIP pill (no green check) */
.ghsp-vip-pill {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gh-gold);
	background: var(--gh-gold-dim);
	border: 1px solid rgba(232, 185, 35, 0.35);
	cursor: default;
	position: relative;
	letter-spacing: 0.02em;
}
.ghsp-vip-pill:hover::after {
	content: attr(title);
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	background: #1a1a1a;
	border: 1px solid var(--gh-border);
	color: var(--gh-text);
	font-size: 12px;
	font-weight: 400;
	padding: 8px 12px;
	border-radius: 8px;
	white-space: nowrap;
	z-index: 50;
	box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* Support centered */
.ghsp-support-center {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}
.ghsp-support-intro {
	color: var(--gh-text-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0 0 24px;
	max-width: 560px;
}
.ghsp-support-card {
	width: 100%;
}
.ghsp-support-card .ghsp-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 500;
	color: var(--gh-text-muted);
}
.ghsp-support-card select,
.ghsp-support-card textarea {
	color: var(--gh-text) !important;
	background: var(--gh-bg) !important;
	-webkit-appearance: none;
	appearance: none;
}
.ghsp-support-card select option {
	background: #1a1a1a;
	color: #f5f5f5;
}

/* ============================================================
   v3.5.0 — Header alignment, minimal icons, live notifications
   ============================================================ */

/* Topbar: user info + subscription pinned to the right */
.ghsp-topbar { justify-content: flex-start; gap: 12px; }
.ghsp-topbar-spacer { flex: 1 1 auto; }
.ghsp-topbar-right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 10px;
}

/* Sidebar layout (single source of truth, no double offset) */
.ghsp-sidebar { position: fixed; left: 0; top: 0; bottom: 0; }
.ghsp-main { margin-left: var(--gh-sidebar-w); transition: margin-left 0.2s ease; }
.ghsp-sidebar-collapsed .ghsp-main { margin-left: 72px; }
@media (max-width: 900px) {
	.ghsp-main,
	.ghsp-sidebar-collapsed .ghsp-main { margin-left: 0; }
}

/* Minimal line icons in the sidebar */
.nav-icon {
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	opacity: 1;
	color: currentColor;
}
.nav-icon svg { width: 19px; height: 19px; display: block; }
.ghsp-nav-item { color: #8d8d8d; }
.ghsp-nav-item:hover .nav-icon { color: var(--gh-gold); }
.ghsp-nav-item.active .nav-icon { color: var(--gh-gold); }
.ghsp-sidebar-collapsed .nav-icon { margin: 0; }

/* Collapse toggle: subtle, gold on hover */
.ghsp-collapse-btn {
	width: 26px;
	height: 26px;
	right: -13px;
	background: var(--gh-bg-elevated);
	border: 1px solid var(--gh-border);
	color: #7a7a7a;
	box-shadow: 0 2px 8px rgba(0,0,0,.45);
	transition: color .15s, border-color .15s, background .15s;
}
.ghsp-collapse-btn svg { width: 15px; height: 15px; display: block; }
.ghsp-collapse-btn:hover {
	color: var(--gh-gold);
	border-color: var(--gh-gold);
	background: var(--gh-gold-dim);
}
.ghsp-collapse-btn:focus-visible { outline: 2px solid var(--gh-gold); outline-offset: 2px; }

/* Bell: clearly visible, minimal */
.ghsp-bell {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	color: #d6d6d6;
	transition: color .15s, border-color .15s, background .15s;
}
.ghsp-bell svg { display: block; }
.ghsp-bell:hover,
.ghsp-bell.has-unread { color: var(--gh-gold); border-color: rgba(232,185,35,.45); }
.ghsp-bell-dot {
	background: var(--gh-gold);
	color: #0a0a0a;
	border: 2px solid var(--gh-bg);
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	border-radius: 9px;
}
.ghsp-bell-list { max-height: 300px; overflow-y: auto; }

/* Support form: no overlapping text */
.ghsp-field { gap: 8px; }
.ghsp-field label { line-height: 1.4; }
.ghsp-support-card .ghsp-field { margin-bottom: 4px; }
.ghsp-support-card select,
.ghsp-support-card textarea,
.ghsp-support-card input {
	display: block;
	width: 100%;
	min-height: 46px;
	line-height: 1.45;
	padding: 12px 40px 12px 14px;
	font-size: 15px;
	text-overflow: ellipsis;
	border-radius: var(--gh-radius-sm);
}
.ghsp-support-card select {
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9a9a' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 12px center !important;
	background-size: 16px 16px !important;
	background-color: var(--gh-bg) !important;
}
.ghsp-support-card textarea {
	padding: 12px 14px;
	min-height: 130px;
	line-height: 1.6;
}
.ghsp-support-card .ghsp-form { gap: 20px; }

/* Live notification toasts */
.ghsp-toast-stack {
	position: fixed;
	right: 20px;
	bottom: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 9999;
	max-width: 340px;
}
.ghsp-toast {
	background: var(--gh-card);
	border: 1px solid rgba(232,185,35,.35);
	border-left: 3px solid var(--gh-gold);
	border-radius: 10px;
	padding: 12px 14px;
	box-shadow: 0 14px 36px rgba(0,0,0,.5);
	font-size: 13px;
	color: var(--gh-text);
	opacity: 0;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease;
}
.ghsp-toast.show { opacity: 1; transform: translateY(0); }
.ghsp-toast strong { display: block; margin-bottom: 4px; font-size: 13px; }
.ghsp-toast p { margin: 0; color: var(--gh-text-muted); font-size: 12.5px; line-height: 1.5; }

/* ============================================================
   v4.0.8 — Clean theme, bell icon, partner links, ticket UI
   ============================================================ */

.ghsp-theme-toggle {
	width: 36px;
	height: 36px;
	border: 1px solid var(--gh-border);
	border-radius: 50%;
	background: var(--gh-card);
	color: var(--gh-text-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	z-index: 90;
	transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.ghsp-theme-toggle:hover,
.ghsp-theme-toggle:focus-visible {
	background: var(--gh-gold);
	border-color: var(--gh-gold);
	color: #111;
	outline: none;
	transform: translateY(-1px);
}
.ghsp-theme-icon { display: none; line-height: 0; }
.ghsp-theme-icon svg { display: block; }
body:not(.ghsp-light-theme) .ghsp-theme-moon { display: inline-flex; }
body.ghsp-light-theme .ghsp-theme-sun { display: inline-flex; }

/* Bell — solid filled icon, always visible */
.ghsp-bell {
	width: 36px;
	height: 36px;
	border: 1px solid var(--gh-border);
	border-radius: 50%;
	background: var(--gh-card);
	color: var(--gh-text-muted);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: relative;
	padding: 0;
	appearance: none;
	-webkit-appearance: none;
	z-index: 90;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.ghsp-bell-svg { display: block; width: 18px; height: 18px; }
.ghsp-bell:hover,
.ghsp-bell:focus-visible,
.ghsp-bell.has-unread {
	background: var(--gh-gold);
	border-color: var(--gh-gold);
	color: #111;
	outline: none;
}
.ghsp-bell-dot {
	position: absolute;
	top: -3px;
	right: -3px;
	background: var(--gh-gold);
	color: #0a0a0a;
	font-size: 10px;
	font-weight: 700;
	min-width: 16px;
	height: 16px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 4px;
	box-shadow: 0 0 0 2px var(--gh-bg);
}
.ghsp-bell.has-unread .ghsp-bell-dot {
	background: #111;
	color: var(--gh-gold);
}
.ghsp-bell-dropdown[hidden] { display: none !important; }

/* Light mode */
body.ghsp-light-theme,
html.ghsp-light-theme {
	--gh-bg: #f5f5f5;
	--gh-bg-elevated: #ffffff;
	--gh-card: #ffffff;
	--gh-card-hover: #f1f1f1;
	--gh-border: #dddddd;
	--gh-text: #171717;
	--gh-text-muted: #666666;
	--gh-gold: #b8860b;
	--gh-gold-hover: #9a7008;
}
body.ghsp-light-theme {
	background: var(--gh-bg);
	color: var(--gh-text);
}
body.ghsp-light-theme .ghsp-sidebar {
	background: #ffffff;
	border-color: #dddddd;
}
body.ghsp-light-theme .ghsp-topbar {
	background: rgba(255,255,255,.94);
	border-color: #dddddd;
}
body.ghsp-light-theme .ghsp-card,
body.ghsp-light-theme .ghsp-panel,
body.ghsp-light-theme .ghsp-auth-card {
	background: #ffffff;
	border-color: #dddddd;
	color: #171717;
}
body.ghsp-light-theme .ghsp-nav-item {
	color: #666666;
}
body.ghsp-light-theme .ghsp-nav-item:hover,
body.ghsp-light-theme .ghsp-nav-item.active {
	color: #171717;
	background: #f1f1f1;
}
body.ghsp-light-theme .ghsp-bell-dropdown {
	background: #ffffff;
	border-color: #dddddd;
	box-shadow: 0 16px 40px rgba(0,0,0,.14);
}
body.ghsp-light-theme .ghsp-bell-item {
	border-color: #eeeeee;
}
body.ghsp-light-theme .ghsp-bell-item.unread {
	background: rgba(184,134,11,.08);
}
body.ghsp-light-theme .ghsp-bell,
body.ghsp-light-theme .ghsp-theme-toggle {
	background: #f0f0f0;
	border-color: #d2d2d2;
	color: #444;
}
body.ghsp-light-theme .ghsp-bell:hover,
body.ghsp-light-theme .ghsp-bell.has-unread,
body.ghsp-light-theme .ghsp-theme-toggle:hover {
	background: var(--gh-gold);
	border-color: var(--gh-gold);
	color: #111;
}
body.ghsp-light-theme input,
body.ghsp-light-theme textarea,
body.ghsp-light-theme select {
	background: #fff;
	color: #111;
	border-color: #ddd;
}

/* Support tickets */
.ghsp-support-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 18px;
}
.ghsp-support-contact-card {
	display: block;
	text-decoration: none !important;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	padding: 16px;
	transition: .18s ease;
	color: var(--gh-text);
}
.ghsp-support-contact-card:hover {
	transform: translateY(-2px);
	border-color: rgba(232,185,35,.45);
}
.ghsp-support-contact-card strong {
	display: block;
	font-size: 14px;
	margin-bottom: 5px;
}
.ghsp-support-contact-card span {
	display: block;
	font-size: 12px;
	color: var(--gh-text-muted);
	line-height: 1.5;
}
.ghsp-ticket-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 18px;
	padding: 16px 18px;
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	background: var(--gh-card);
}
.ghsp-ticket-cta h3 { margin: 0 0 4px; font-size: 15px; }
.ghsp-ticket-cta p { margin: 0; color: var(--gh-text-muted); font-size: 12px; }
.ghsp-ticket-new-btn { white-space: nowrap; min-width: 150px; }
.ghsp-ticket-box { margin-bottom: 18px; }
.ghsp-ticket-box[hidden] { display: none !important; }
.ghsp-ticket-list { display: grid; gap: 10px; margin-top: 18px; }
.ghsp-ticket-item {
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	background: var(--gh-card);
	padding: 16px;
}
.ghsp-ticket-item h3 { margin: 0 0 6px; font-size: 14px; }
.ghsp-ticket-meta { font-size: 11px; color: var(--gh-text-muted); margin-bottom: 10px; }
.ghsp-ticket-status {
	display: inline-flex;
	padding: 3px 8px;
	border-radius: 99px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	background: rgba(232,185,35,.10);
	color: var(--gh-gold);
}
.ghsp-ticket-thread { display: grid; gap: 9px; margin-top: 12px; }
.ghsp-ticket-message-row {
	padding: 11px 13px;
	border-radius: 10px;
	background: var(--gh-bg-elevated);
	border: 1px solid var(--gh-border);
}
.ghsp-ticket-message-row.admin { border-left: 3px solid var(--gh-gold); }
.ghsp-ticket-message-row .who { font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.ghsp-ticket-message-row .date { float: right; color: var(--gh-text-muted); font-weight: 400; }
.ghsp-ticket-message-row .body {
	font-size: 13px;
	line-height: 1.6;
	white-space: pre-wrap;
	color: var(--gh-text);
}
.ghsp-ticket-reply-form { margin-top: 12px; }
.ghsp-ticket-reply-form textarea { width: 100%; min-height: 90px; resize: vertical; }
.ghsp-ticket-reply-message { margin-top: 8px; }

/* Partner links (dashboard) — minimal */
.ghsp-partner-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ghsp-partner-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border: 1px solid var(--gh-border);
	border-radius: 10px;
	background: var(--gh-card);
	color: var(--gh-text) !important;
	text-decoration: none !important;
	transition: border-color .15s ease, transform .15s ease;
	min-width: 180px;
}
.ghsp-partner-link:hover {
	border-color: rgba(232,185,35,.45);
	transform: translateY(-1px);
}
.ghsp-partner-logo {
	display: inline-flex;
	flex-shrink: 0;
}
.ghsp-partner-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1.3;
}
.ghsp-partner-text strong {
	font-size: 13px;
	font-weight: 600;
}
.ghsp-partner-text span {
	font-size: 11px;
	color: var(--gh-text-muted);
}

@media (max-width: 700px) {
	.ghsp-support-contact-grid { grid-template-columns: 1fr; }
	.ghsp-ticket-cta {
		align-items: flex-start;
		flex-direction: column;
	}
	.ghsp-ticket-new-btn { width: 100%; }
	.ghsp-partner-link { width: 100%; }
}


/* Bell item delete */
.ghsp-bell-item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 4px;
}
.ghsp-bell-item-head strong { margin-bottom: 0; flex: 1; }
.ghsp-bell-del {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--gh-text-muted);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	padding: 0 2px;
	border-radius: 4px;
}
.ghsp-bell-del:hover { color: var(--gh-error); background: rgba(239,68,68,.12); }

/* Support social + FAQ */
.ghsp-support-social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}
.ghsp-support-social-row a {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border: 1px solid var(--gh-border);
	border-radius: 999px;
	font-size: 12px;
	color: var(--gh-text-muted) !important;
	background: var(--gh-card);
	text-decoration: none !important;
	transition: .15s ease;
}
.ghsp-support-social-row a:hover {
	color: var(--gh-text) !important;
	border-color: rgba(232,185,35,.45);
}
.ghsp-faq-list { display: grid; gap: 8px; }
.ghsp-faq-item {
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	background: var(--gh-card);
	padding: 0;
	overflow: hidden;
}
.ghsp-faq-item summary {
	cursor: pointer;
	padding: 14px 16px;
	font-weight: 600;
	font-size: 14px;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ghsp-faq-item summary::-webkit-details-marker { display: none; }
.ghsp-faq-item summary::after {
	content: '+';
	color: var(--gh-gold);
	font-weight: 700;
	font-size: 16px;
}
.ghsp-faq-item[open] summary::after { content: '–'; }
.ghsp-faq-item p {
	margin: 0;
	padding: 0 16px 16px;
	color: var(--gh-text-muted);
	font-size: 13px;
	line-height: 1.65;
}


/* Dashboard: 4 cards + muted inactive license */
.ghsp-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}
.ghsp-card-muted {
	opacity: 0.72;
}
.ghsp-card-muted .ghsp-card-value code {
	opacity: 0.85;
	user-select: all;
}

.ghsp-back-site { margin-top: 8px !important; }
.ghsp-back-site a { color: var(--gh-text-muted) !important; font-size: 13px; }
.ghsp-back-site a:hover { color: var(--gh-gold) !important; }


/* ===== Dashboard layout (screenshot match) ===== */
.ghsp-dash-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.ghsp-partner-links-top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
	margin: 0;
}
.ghsp-partner-links-top .ghsp-partner-link {
	padding: 8px 12px;
	border-radius: 12px;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
}
.ghsp-cards-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 12px !important;
	margin-bottom: 8px;
}

/* Dashboard 4 cards — minimal light tints (break uniformity) */
.ghsp-cards-4 > .ghsp-card:nth-child(1) {
	background: linear-gradient(160deg, rgba(240, 187, 9, 0.07) 0%, var(--gh-card) 55%);
	border-color: rgba(240, 187, 9, 0.18);
}
.ghsp-cards-4 > .ghsp-card:nth-child(2) {
	background: linear-gradient(160deg, rgba(56, 189, 248, 0.07) 0%, var(--gh-card) 55%);
	border-color: rgba(56, 189, 248, 0.18);
}
.ghsp-cards-4 > .ghsp-card:nth-child(3) {
	background: linear-gradient(160deg, rgba(167, 139, 250, 0.07) 0%, var(--gh-card) 55%);
	border-color: rgba(167, 139, 250, 0.18);
}
.ghsp-cards-4 > .ghsp-card:nth-child(4) {
	background: linear-gradient(160deg, rgba(52, 211, 153, 0.07) 0%, var(--gh-card) 55%);
	border-color: rgba(52, 211, 153, 0.18);
}
body.ghsp-light-theme .ghsp-cards-4 > .ghsp-card:nth-child(1) {
	background: linear-gradient(160deg, rgba(240, 187, 9, 0.1) 0%, #ffffff 55%);
	border-color: rgba(240, 187, 9, 0.22);
}
body.ghsp-light-theme .ghsp-cards-4 > .ghsp-card:nth-child(2) {
	background: linear-gradient(160deg, rgba(14, 165, 233, 0.08) 0%, #ffffff 55%);
	border-color: rgba(14, 165, 233, 0.2);
}
body.ghsp-light-theme .ghsp-cards-4 > .ghsp-card:nth-child(3) {
	background: linear-gradient(160deg, rgba(139, 92, 246, 0.08) 0%, #ffffff 55%);
	border-color: rgba(139, 92, 246, 0.2);
}
body.ghsp-light-theme .ghsp-cards-4 > .ghsp-card:nth-child(4) {
	background: linear-gradient(160deg, rgba(16, 185, 129, 0.08) 0%, #ffffff 55%);
	border-color: rgba(16, 185, 129, 0.2);
}
.ghsp-section-tight {
	margin-top: 20px !important;
	margin-bottom: 0 !important;
}
.ghsp-section-tight h2 {
	margin-bottom: 10px !important;
	font-size: 15px;
}
.ghsp-dash-split {
	display: block;
	margin-top: 22px;
}
.ghsp-dash-more {
	margin-top: 12px;
	text-align: center;
}
.ghsp-dash-more a {
	color: var(--gh-gold) !important;
	font-size: 13px;
	font-weight: 600;
}
.ghsp-results-mini .wsl-overview,
.ghsp-results-mini .wsl-perf-wrap {
	margin: 0;
}
@media (max-width: 1100px) {
	.ghsp-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ghsp-dash-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.ghsp-cards-4 { grid-template-columns: 1fr !important; }
	.ghsp-dash-top { flex-direction: column; }
	.ghsp-partner-links-top { justify-content: flex-start; }
}

/* ===== Support layout (screenshot match) ===== */
.ghsp-support-top {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.ghsp-support-top .ghsp-support-contact-grid {
	flex: 1 1 100%;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	width: 100%;
}
.ghsp-support-top {
	flex-direction: column;
}
.ghsp-support-top .ghsp-support-social-row {
	flex: 0 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 0;
	max-width: 220px;
	padding-top: 4px;
}
.ghsp-support-split {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 28px;
	align-items: start;
}
.ghsp-support-col .ghsp-ticket-cta {
	margin: 0 0 16px;
}
.ghsp-support-contact-card {
	min-height: 110px;
}
@media (max-width: 1100px) {
	.ghsp-support-top .ghsp-support-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ghsp-support-split { grid-template-columns: 1fr; }
	.ghsp-support-top .ghsp-support-social-row { max-width: none; }
}
@media (max-width: 640px) {
	.ghsp-support-top .ghsp-support-contact-grid { grid-template-columns: 1fr; }
}

/* Membership alerts spacing */
.ghsp-payment-embed .gh-payment-page {
	margin-top: 8px;
}
.ghsp-alert {
	margin-bottom: 12px;
}


/* EA download */
.ghsp-ea-download {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
	color: inherit !important;
}
.ghsp-ea-download-top {
	padding: 7px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(240,187,9,.18), rgba(240,187,9,.08));
	border: 1px solid rgba(240,187,9,.45);
	color: var(--gh-gold) !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	transition: background .15s ease, transform .15s ease;
}
.ghsp-ea-download-top:hover {
	background: linear-gradient(135deg, rgba(240,187,9,.28), rgba(240,187,9,.12));
	transform: translateY(-1px);
}
.ghsp-ea-download-dash {
	width: 100%;
	padding: 16px 18px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(240,187,9,.14), rgba(15,20,25,.4));
	border: 1px solid rgba(240,187,9,.4);
	gap: 14px;
	transition: border-color .15s ease, transform .15s ease;
}
.ghsp-ea-download-dash:hover {
	border-color: rgba(240,187,9,.7);
	transform: translateY(-1px);
}
.ghsp-ea-download-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(240,187,9,.15);
	color: var(--gh-gold);
	flex-shrink: 0;
}
.ghsp-ea-download-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ghsp-ea-download-text strong {
	font-size: 15px;
	color: var(--gh-text);
}
.ghsp-ea-download-text span {
	font-size: 12px;
	color: var(--gh-text-muted);
}
.ghsp-support-contact-link {
	margin: 0 0 18px;
}
.ghsp-support-contact-link a {
	font-size: 13px;
	color: var(--gh-text-muted) !important;
	text-decoration: none !important;
}
.ghsp-support-contact-link a:hover {
	color: var(--gh-gold) !important;
}
.ghsp-support-split { display: block !important; }
@media (max-width: 700px) {
	.ghsp-ea-download-top span { display: none; }
	.ghsp-ea-download-top { padding: 8px; }
}


/* Onboarding */
.ghsp-onboarding {
	margin: 0 0 16px;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(240,187,9,.35);
	background: linear-gradient(135deg, rgba(240,187,9,.08), rgba(255,255,255,.02));
}
.ghsp-onboarding-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}
.ghsp-onboarding-dismiss {
	background: transparent;
	border: 0;
	color: var(--gh-text-muted);
	font-size: 18px;
	cursor: pointer;
	line-height: 1;
}
.ghsp-onboarding-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}
.ghsp-onboarding-steps li {
	display: flex;
	gap: 10px;
	padding: 10px;
	border-radius: 12px;
	background: rgba(0,0,0,.15);
	border: 1px solid var(--gh-border);
}
.ghsp-onboarding-steps .step-num {
	width: 24px; height: 24px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; font-weight: 700;
	background: rgba(240,187,9,.2); color: var(--gh-gold);
	flex-shrink: 0;
}
.ghsp-onboarding-steps li.is-done .step-num { background: rgba(34,197,94,.25); color: #86efac; }
.ghsp-onboarding-steps li.is-active { border-color: rgba(240,187,9,.45); }
.ghsp-onboarding-steps strong { display: block; font-size: 13px; margin-bottom: 2px; }
.ghsp-onboarding-steps p { margin: 0 0 6px; font-size: 12px; color: var(--gh-text-muted); line-height: 1.4; }
.ghsp-onboarding-steps a { font-size: 12px; font-weight: 600; color: var(--gh-gold) !important; }
.step-ok { font-size: 12px; color: #86efac; font-weight: 600; }

/* Status bar */
.ghsp-status-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	padding: 10px 14px;
	margin: 0 0 14px;
	border-radius: 12px;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
	font-size: 13px;
}
.ghsp-status-bar em {
	font-style: normal;
	color: var(--gh-text-muted);
	margin-right: 4px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ghsp-status-bar .sep { color: var(--gh-text-muted); opacity: .5; }

/* Week strip */
.ghsp-week-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 14px 0;
}
.ghsp-week-item {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--gh-card);
	border: 1px solid var(--gh-border);
}
.ghsp-week-item .label {
	display: block;
	font-size: 11px;
	color: var(--gh-text-muted);
	margin-bottom: 4px;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.ghsp-week-item strong { font-size: 18px; }

/* Mini row */
.ghsp-mini-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 8px;
}
.ghsp-mini-title { display: block; font-size: 14px; margin: 4px 0; }
.ghsp-mini-body { margin: 0 0 8px; font-size: 12px; color: var(--gh-text-muted); line-height: 1.45; }
.ghsp-empty-inline { margin: 6px 0; font-size: 13px; color: var(--gh-text-muted); }

/* Empty + skeleton */
.ghsp-empty-state {
	padding: 28px 18px;
	text-align: center;
	border-radius: 14px;
	border: 1px dashed var(--gh-border);
	background: rgba(255,255,255,.02);
	color: var(--gh-text-muted);
}
.ghsp-empty-state p { margin: 0; }
.ghsp-has-skeleton .ghsp-skel-content { visibility: hidden; }
.ghsp-has-skeleton.is-ready .ghsp-skel-content { visibility: visible; }
.ghsp-skeleton { padding: 8px 0; }
.ghsp-skel-line {
	height: 14px;
	border-radius: 8px;
	margin-bottom: 10px;
	background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.1), rgba(255,255,255,.04));
	background-size: 200% 100%;
	animation: ghsp-shimmer 1.2s ease-in-out infinite;
}
.ghsp-skel-line.short { width: 55%; }
@keyframes ghsp-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}
.ghsp-copy-mini {
	margin-left: 8px;
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 6px;
	border: 1px solid var(--gh-border);
	background: transparent;
	color: var(--gh-text-muted);
	cursor: pointer;
}
.ghsp-copy-mini:hover { color: var(--gh-gold); border-color: rgba(240,187,9,.4); }

@media (max-width: 900px) {
	.ghsp-onboarding-steps { grid-template-columns: 1fr; }
	.ghsp-mini-row { grid-template-columns: 1fr; }
	.ghsp-cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
	.ghsp-week-strip { grid-template-columns: 1fr; }
	.ghsp-cards-4 { grid-template-columns: 1fr !important; }
}


/* Consistent spacing scale */
.ghsp-content { padding: 24px 20px 40px; }
.ghsp-section { margin-top: 24px; }
.ghsp-page-header { margin-bottom: 20px; }

a.ghsp-week-strip {
	text-decoration: none !important;
	color: inherit !important;
	position: relative;
	transition: border-color .15s ease, transform .15s ease;
}
a.ghsp-week-strip:hover {
	border-color: rgba(240,187,9,.4);
}
.ghsp-week-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 14px 0;
	padding: 4px;
	border-radius: 14px;
	border: 1px solid transparent;
}
.ghsp-week-more {
	grid-column: 1 / -1;
	text-align: right;
	font-size: 12px;
	font-weight: 600;
	color: var(--gh-gold);
	padding: 0 6px 4px;
}

.ghsp-tag-ok {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(34,197,94,.15);
	color: #86efac;
	font-size: 11px;
	font-weight: 700;
}
.ghsp-tag-pending {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(245,158,11,.15);
	color: #fbbf24;
	font-size: 11px;
	font-weight: 700;
}

/* Mobile bottom nav */
.ghsp-bottom-nav {
	display: none;
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 100;
	background: var(--gh-card);
	border-top: 1px solid var(--gh-border);
	padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px));
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
}
.ghsp-bottom-nav a {
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	color: var(--gh-text-muted) !important;
	text-decoration: none !important;
	padding: 8px 4px;
	border-radius: 10px;
}
.ghsp-bottom-nav a.active {
	color: var(--gh-gold) !important;
	background: rgba(240,187,9,.1);
}

html.ghsp-force-collapsed body.ghsp-panel-body .ghsp-sidebar {
	width: 72px;
}
html.ghsp-force-collapsed body.ghsp-panel-body .ghsp-main {
	margin-left: 72px;
}
html.ghsp-force-collapsed .nav-label { display: none; }

@media (max-width: 768px) {
	.ghsp-bottom-nav { display: grid; }
	.ghsp-main { padding-bottom: 72px; }
	.ghsp-content { padding: 16px 14px 88px; }

	/* Dark overlay when mobile drawer is open */
	body.ghsp-sidebar-open {
		overflow: hidden;
	}
	body.ghsp-sidebar-open::after {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,.55);
		z-index: 150;
		pointer-events: auto;
	}
	.ghsp-sidebar {
		z-index: 200;
		box-shadow: 8px 0 32px rgba(0,0,0,.45);
	}
	.ghsp-mobile-toggle {
		z-index: 210;
		position: relative;
	}
}

.ghsp-ticket-archive-box {
	margin-top: 20px;
	border: 1px solid var(--gh-border);
	border-radius: 12px;
	padding: 0;
	background: rgba(255,255,255,.02);
}
.ghsp-ticket-archive-box > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--gh-text-muted);
	user-select: none;
}
.ghsp-ticket-archive-box > summary::-webkit-details-marker { display: none; }
.ghsp-arch-icon::before { content: '+'; font-size: 16px; font-weight: 700; color: var(--gh-gold); }
.ghsp-ticket-archive-box[open] > summary .ghsp-arch-icon::before { content: '−'; }
.ghsp-ticket-archive-box .ghsp-ticket-list { padding: 0 12px 12px; }
.ghsp-ticket-item.is-archived { opacity: .85; }
.ghsp-mini-ticket-cta { display: flex; flex-direction: column; justify-content: center; }

/* Mobile header declutter (kept for compatibility; main rules above) */
@media (max-width: 768px) {
	.ghsp-topbar .ghsp-chip-name { display: none !important; }
	.ghsp-user-chip { padding: 3px !important; }
}

/* Signal-style tables */
.ghsp-table-signals {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
}
.ghsp-table-signals thead th {
	text-align: left;
	padding: 10px 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gh-text-muted);
	border-bottom: 1px solid var(--gh-border);
	background: rgba(255,255,255,.03);
}
.ghsp-table-signals tbody tr {
	transition: background .12s ease;
}
.ghsp-table-signals tbody tr:hover {
	background: rgba(255,255,255,.04);
}
.ghsp-table-signals td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--gh-border);
	vertical-align: middle;
}
.ghsp-table-signals tbody tr:last-child td {
	border-bottom: none;
}
.ghsp-td-strong { font-weight: 600; color: var(--gh-text); }
.ghsp-td-muted { color: var(--gh-text-muted); font-size: 12px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ghsp-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 12px;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(255,255,255,.06);
	border: 1px solid var(--gh-border);
}
.ghsp-table-wrap {
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 12px;
	overflow: hidden;
	background: transparent;
}
body.ghsp-light-theme .ghsp-table-wrap,
html.ghsp-light-theme .ghsp-table-wrap {
	border-color: rgba(0,0,0,.08);
}

/* Social icons one line */
.ghsp-support-social-row {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 14px;
}
.ghsp-social-ico {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 8px 14px !important;
	border-radius: 999px !important;
	border: 1px solid var(--gh-border) !important;
	background: var(--gh-card) !important;
	color: var(--gh-text) !important;
	text-decoration: none !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1;
	transition: border-color .15s ease, color .15s ease, transform .12s ease;
}
.ghsp-social-ico svg { flex-shrink: 0; opacity: .9; }
.ghsp-social-ico:hover {
	border-color: rgba(240,187,9,.45) !important;
	color: var(--gh-gold) !important;
	transform: translateY(-1px);
}
@media (max-width: 560px) {
	.ghsp-social-ico span { display: none; }
	.ghsp-social-ico { padding: 10px !important; }
	.ghsp-table-signals thead { display: none; }
	.ghsp-table-signals tr {
		display: block;
		padding: 12px 14px;
		border-bottom: 1px solid var(--gh-border);
	}
	.ghsp-table-signals td {
		display: flex;
		justify-content: space-between;
		gap: 12px;
		padding: 4px 0;
		border: none;
	}
	.ghsp-table-signals td::before {
		content: attr(data-label);
		color: var(--gh-text-muted);
		font-size: 11px;
		font-weight: 600;
		text-transform: uppercase;
	}
}

/* Support social as 4 equal cards in a row */
.ghsp-support-social-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}
.ghsp-social-card {
	text-align: center;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 110px;
}
.ghsp-social-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(240,187,9,.12);
	color: var(--gh-gold);
	margin: 0 auto 4px;
}
.ghsp-social-card strong {
	display: block;
	font-size: 14px;
}
.ghsp-social-card > span:last-child {
	font-size: 12px;
	color: var(--gh-text-muted);
}
@media (max-width: 900px) {
	.ghsp-support-social-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
	.ghsp-support-social-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* Coming soon pages */
.ghsp-coming-soon {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(62vh, 520px);
	padding: 24px 12px 40px;
}
.ghsp-coming-soon-inner {
	max-width: 520px;
	width: 100%;
	text-align: center;
}
.ghsp-coming-soon-text {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--gh-text);
}
.ghsp-coming-soon-sub {
	margin: 0 0 28px;
	font-size: 13px;
	color: var(--gh-text-muted);
	line-height: 1.6;
}
.ghsp-coming-soon-badge {
	display: inline-block;
	margin-top: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--gh-gold);
	border: 1px solid rgba(240,187,9,.35);
	background: rgba(240,187,9,.08);
}

/* Animated loader (CSS, no GIF needed) */
.ghsp-loader {
	position: relative;
	width: 64px;
	height: 64px;
	margin: 0 auto;
}
.ghsp-loader-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid rgba(240,187,9,.18);
	border-top-color: var(--gh-gold);
	animation: ghsp-spin 0.9s linear infinite;
}
.ghsp-loader-core {
	position: absolute;
	inset: 16px;
	border-radius: 50%;
	background: radial-gradient(circle at 40% 35%, rgba(240,187,9,.55), rgba(240,187,9,.08));
	box-shadow: 0 0 18px rgba(240,187,9,.25);
	animation: ghsp-pulse 1.4s ease-in-out infinite;
}
.ghsp-loader-core-book {
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(240,187,9,.5), rgba(240,187,9,.12));
}
@keyframes ghsp-spin {
	to { transform: rotate(360deg); }
}
@keyframes ghsp-pulse {
	0%, 100% { transform: scale(0.92); opacity: .75; }
	50% { transform: scale(1); opacity: 1; }
}

/* Profile tables: no gold frame */
.ghsp-profile-grid .ghsp-table-wrap,
.ghsp-profile-grid .ghsp-card .ghsp-table-wrap {
	border: 1px solid #2a2a2a !important;
	box-shadow: none !important;
	outline: none !important;
	background: transparent !important;
}
.ghsp-profile-grid .ghsp-table-signals,
.ghsp-profile-grid .ghsp-table {
	border: none !important;
	outline: none !important;
}
.ghsp-profile-grid .ghsp-table-signals thead th,
.ghsp-profile-grid .ghsp-table-signals td,
.ghsp-profile-grid .ghsp-table th,
.ghsp-profile-grid .ghsp-table td {
	border-color: #2a2a2a !important;
	border-left: none !important;
	border-right: none !important;
	border-top: none !important;
}
.ghsp-profile-grid .ghsp-table-signals thead th {
	border-bottom: 1px solid #2a2a2a !important;
	background: rgba(255,255,255,.02) !important;
}
.ghsp-profile-grid .ghsp-card {
	border-color: #2a2a2a !important;
	box-shadow: none !important;
}

/* Social cards: centered icon + text */
.ghsp-support-social-grid .ghsp-social-card,
a.ghsp-support-contact-card.ghsp-social-card {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	padding: 18px 12px !important;
	gap: 8px !important;
}
.ghsp-social-card-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto !important;
	width: 48px !important;
	height: 48px !important;
	border-radius: 14px !important;
}
.ghsp-social-card-icon svg {
	display: block;
	margin: 0 auto;
}
.ghsp-social-card strong,
.ghsp-social-card > span {
	text-align: center !important;
	width: 100%;
}


/* ========== Education / Lessons (list layout) ========== */
.ghsp-edu {
	max-width: none;
	width: 100%;
}

.ghsp-edu-intro {
	margin-bottom: 28px;
}
.ghsp-edu-intro h1 {
	font-size: 26px;
	font-weight: 750;
	color: var(--gh-gold);
	margin: 0 0 14px;
	letter-spacing: -0.02em;
}
.ghsp-edu-bullets {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	width: 100%;
}
.ghsp-edu-bullets li {
	position: relative;
	display: block !important;
	width: 100% !important;
	padding-left: 22px !important;
	margin: 0 !important;
	font-size: 14px;
	line-height: 1.55;
	color: var(--gh-text);
}
.ghsp-edu-bullets li::before {
	content: '▪️';
	position: absolute;
	left: 0;
	top: 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--gh-gold);
}

.ghsp-edu-vip-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 18px;
	margin-bottom: 22px;
	border-radius: 14px;
	border: 1px solid rgba(240,187,9,.35);
	background: linear-gradient(135deg, rgba(240,187,9,.1), rgba(255,255,255,.02));
}
.ghsp-edu-vip-banner strong { display: block; color: var(--gh-gold); margin-bottom: 2px; }
.ghsp-edu-vip-banner span { font-size: 13px; color: var(--gh-text-muted); }

.ghsp-edu-progress-bar {
	position: relative;
	height: 26px;
	border-radius: 20px;
	background: rgba(255,255,255,.06);
	border: 1px solid var(--gh-border);
	margin-bottom: 28px;
	overflow: hidden;
}
.ghsp-edu-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, rgba(240,187,9,.35), var(--gh-gold));
	border-radius: 20px;
	transition: width .4s ease;
}
.ghsp-edu-progress-bar span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--gh-text);
	pointer-events: none;
}

/* Category sections */
.ghsp-edu-section {
	margin-bottom: 18px;
	border: 1px solid var(--gh-border);
	border-radius: 14px;
	background: var(--gh-card);
	overflow: hidden;
}
.ghsp-edu-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid transparent;
}
.ghsp-edu-section.is-open .ghsp-edu-section-head,
.ghsp-edu-section:not(.is-collapsible) .ghsp-edu-section-head {
	border-bottom-color: var(--gh-border);
}
.ghsp-edu-section-head.is-toggle {
	cursor: pointer;
	user-select: none;
	transition: background .15s;
}
.ghsp-edu-section-head.is-toggle:hover {
	background: rgba(255,255,255,.03);
}
.ghsp-edu-section-titles {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 10px;
	min-width: 0;
}
.ghsp-edu-section-titles h2 {
	font-size: 16px;
	font-weight: 700;
	color: var(--gh-text);
	margin: 0;
}
.ghsp-edu-section-titles p {
	margin: 0;
	font-size: 12px;
	color: var(--gh-text-muted);
	font-weight: 400;
}
.ghsp-edu-section-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.ghsp-edu-count {
	font-size: 12px;
	color: var(--gh-text-muted);
	font-weight: 500;
}
.ghsp-edu-toggle-icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: rgba(240,187,9,.12);
	border: 1px solid rgba(240,187,9,.3);
	color: var(--gh-gold);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
}

/* Lesson rows (one per line) */
.ghsp-edu-list {
	display: flex;
	flex-direction: column;
}
.ghsp-edu-list[hidden] { display: none !important; }

.ghsp-edu-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-top: 1px solid var(--gh-border);
	transition: background .12s;
}
.ghsp-edu-row:first-child { border-top: none; }
.ghsp-edu-row.is-unlocked { cursor: pointer; }
.ghsp-edu-row.is-unlocked:hover { background: rgba(255,255,255,.03); }
.ghsp-edu-row.is-locked { opacity: .78; }

.ghsp-edu-row-main {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	flex: 1;
}
.ghsp-edu-row-icon {
	flex-shrink: 0;
	padding-top: 2px;
}
.ghsp-edu-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
}
.ghsp-edu-status.play {
	background: rgba(240,187,9,.15);
	color: var(--gh-gold);
}
.ghsp-edu-status.done {
	background: rgba(34,197,94,.15);
	color: #4ade80;
}
.ghsp-edu-status.lock {
	background: rgba(255,255,255,.06);
	color: #888;
	font-size: 13px;
}

.ghsp-edu-row-info { min-width: 0; flex: 1; }
.ghsp-edu-row-info h3 {
	margin: 0 0 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--gh-text);
	line-height: 1.35;
}
.ghsp-edu-row-desc {
	display: inline;
	font-size: 12px;
	font-weight: 400;
	color: var(--gh-text-muted);
	margin-left: 8px;
}
.ghsp-edu-row-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 11.5px;
	color: var(--gh-text-muted);
	margin-bottom: 2px;
}
.ghsp-edu-row-meta .tag {
	padding: 2px 7px;
	border-radius: 5px;
	font-weight: 650;
	font-size: 11px;
}
.ghsp-edu-row-meta .tag.free {
	background: rgba(34,197,94,.15);
	color: #4ade80;
}
.ghsp-edu-row-meta .tag.done {
	background: rgba(240,187,9,.15);
	color: var(--gh-gold);
}
.ghsp-edu-row-meta .tag.locked {
	background: rgba(255,255,255,.06);
	color: #999;
}
.ghsp-edu-cta {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	color: var(--gh-gold);
	text-decoration: none;
	margin-top: 4px;
}
.ghsp-edu-cta.muted { color: var(--gh-text-muted); cursor: default; }
.ghsp-edu-cta:not(.muted):hover { text-decoration: underline; }

/* Thumbnail at the end (narrow column) */
.ghsp-edu-row-side {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.ghsp-edu-row-thumb {
	width: 72px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: #0d0d0d;
	flex-shrink: 0;
}
.ghsp-edu-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ghsp-edu-row-thumb.placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #444;
}
.ghsp-edu-row-thumb.placeholder svg { width: 20px; height: 20px; }

.ghsp-edu-play-btn {
	appearance: none;
	border: 1px solid rgba(240,187,9,.4);
	background: rgba(240,187,9,.12);
	color: var(--gh-gold);
	font-size: 12px;
	font-weight: 650;
	padding: 7px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s, border-color .15s;
	white-space: nowrap;
}
.ghsp-edu-play-btn:hover {
	background: rgba(240,187,9,.22);
	border-color: var(--gh-gold);
}

/* Modal player */
.ghsp-edu-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ghsp-edu-modal[hidden] { display: none !important; }
.ghsp-edu-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.78);
}
.ghsp-edu-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	background: var(--gh-bg-elevated);
	border: 1px solid var(--gh-border);
	border-radius: 16px;
	padding: 18px 18px 20px;
	box-shadow: 0 24px 60px rgba(0,0,0,.55);
}
.ghsp-edu-modal-dialog h3 {
	margin: 0 36px 12px 0;
	font-size: 17px;
	font-weight: 650;
}
.ghsp-edu-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 32px;
	height: 32px;
	border: none;
	background: transparent;
	color: var(--gh-text-muted);
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	border-radius: 8px;
}
.ghsp-edu-modal-close:hover { color: var(--gh-text); background: rgba(255,255,255,.06); }
.ghsp-edu-player-wrap {
	border-radius: 10px;
	overflow: hidden;
	background: #000;
}
.ghsp-edu-player-wrap video {
	display: block;
	width: 100%;
	max-height: 70vh;
	background: #000;
}
body.ghsp-edu-modal-open { overflow: hidden; }

@media (max-width: 640px) {
	.ghsp-edu-intro h1 { font-size: 22px; }
	.ghsp-edu-bullets li { font-size: 13px; }
	.ghsp-edu-vip-banner { flex-direction: column; align-items: flex-start; }
	.ghsp-edu-vip-banner .ghsp-btn { width: 100%; text-align: center; }
	.ghsp-edu-row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.ghsp-edu-row-side {
		justify-content: space-between;
	}
	.ghsp-edu-row-thumb {
		width: 96px;
		height: 54px;
	}
	.ghsp-edu-modal { padding: 10px; }
	.ghsp-edu-modal-dialog { padding: 14px; }
}

/* ===== Certificate banners & modal ===== */
.ghsp-cert-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 18px;
	border-radius: 12px;
	margin: 14px 0 20px;
	border: 1px solid var(--gh-border);
	background: var(--gh-card);
}
.ghsp-cert-ready {
	border-color: rgba(240, 187, 9, 0.35);
	background: linear-gradient(120deg, rgba(240, 187, 9, 0.1), var(--gh-card) 50%);
}
.ghsp-cert-pending {
	border-color: rgba(56, 189, 248, 0.3);
	background: linear-gradient(120deg, rgba(56, 189, 248, 0.08), var(--gh-card) 50%);
}
.ghsp-cert-issued {
	border-color: rgba(52, 211, 153, 0.35);
	background: linear-gradient(120deg, rgba(52, 211, 153, 0.1), var(--gh-card) 50%);
}
.ghsp-cert-banner-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.ghsp-cert-banner-text strong {
	font-size: 15px;
	color: var(--gh-text);
}
.ghsp-cert-banner-text span,
.ghsp-cert-pending span {
	font-size: 13px;
	color: var(--gh-text-muted);
}

.ghsp-cert-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ghsp-cert-modal[hidden] { display: none !important; }
.ghsp-cert-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.65);
}
.ghsp-cert-modal-panel {
	position: relative;
	z-index: 1;
	width: min(920px, 100%);
	max-height: 92vh;
	overflow: auto;
	background: #0b0f14;
	border-radius: 16px;
	padding: 20px;
	border: 1px solid rgba(240,187,9,.25);
}
.ghsp-cert-modal-close {
	position: absolute;
	top: 10px;
	right: 14px;
	border: none;
	background: transparent;
	color: #aaa;
	font-size: 28px;
	cursor: pointer;
	line-height: 1;
}
.ghsp-cert-modal-actions {
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

/* Certificate design */
.ghsp-certificate {
	background: linear-gradient(145deg, #0f1419 0%, #161c24 100%);
	border: 2px solid rgba(240, 187, 9, 0.45);
	border-radius: 8px;
	padding: 8px;
}
.ghsp-cert-inner {
	border: 1px solid rgba(240, 187, 9, 0.2);
	border-radius: 4px;
	padding: 36px 40px 28px;
	text-align: center;
	color: #e8eaed;
}
.ghsp-cert-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 8px;
}
.ghsp-cert-logo {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	background: linear-gradient(135deg, #f0bb09, #c9a006);
	color: #111;
	font-weight: 800;
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.ghsp-cert-org {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #f0bb09;
}
.ghsp-cert-kicker {
	margin: 10px 0 4px;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #9aa3b2;
}
.ghsp-cert-title {
	margin: 0 0 18px;
	font-size: 26px;
	font-weight: 700;
	color: #fff;
}
.ghsp-cert-award {
	margin: 0;
	font-size: 14px;
	color: #9aa3b2;
}
.ghsp-cert-name {
	margin: 8px 0 16px;
	font-size: 32px;
	font-weight: 700;
	color: #f0bb09;
	letter-spacing: -0.02em;
}
.ghsp-cert-body {
	margin: 0 auto 22px;
	max-width: 560px;
	font-size: 14px;
	line-height: 1.6;
	color: #c4c9d4;
}
.ghsp-cert-meta-row {
	display: flex;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 28px;
}
.ghsp-cert-meta-row > div {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 110px;
}
.ghsp-cert-meta-row span {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8b93a3;
}
.ghsp-cert-meta-row strong {
	font-size: 14px;
	color: #fff;
}
.ghsp-cert-signers {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	max-width: 520px;
	margin: 0 auto;
}
.ghsp-cert-sign {
	flex: 1;
	text-align: center;
}
.ghsp-cert-sign-line {
	border-top: 1px solid rgba(240, 187, 9, 0.45);
	padding-top: 8px;
	font-weight: 600;
	font-size: 14px;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
}
.ghsp-cert-sign span {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #9aa3b2;
}
.ghsp-cert-seal {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(240, 187, 9, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f0bb09;
	font-size: 18px;
	flex-shrink: 0;
	margin-bottom: 8px;
}

@media print {
	body * { visibility: hidden !important; }
	.ghsp-cert-modal, .ghsp-cert-modal * { visibility: visible !important; }
	.ghsp-cert-modal {
		position: static !important;
		padding: 0 !important;
		background: #fff !important;
	}
	.ghsp-cert-modal-backdrop,
	.ghsp-cert-modal-close,
	.ghsp-cert-modal-actions { display: none !important; }
	.ghsp-cert-modal-panel {
		border: none !important;
		padding: 0 !important;
		max-height: none !important;
		background: #fff !important;
	}
	.ghsp-certificate {
		background: #fff !important;
		border-color: #c9a006 !important;
		color: #111 !important;
	}
	.ghsp-cert-inner { color: #111 !important; border-color: #e5d48a !important; }
	.ghsp-cert-name, .ghsp-cert-org, .ghsp-cert-seal { color: #b8860b !important; }
	.ghsp-cert-title, .ghsp-cert-meta-row strong, .ghsp-cert-sign-line { color: #111 !important; }
	.ghsp-cert-body, .ghsp-cert-award, .ghsp-cert-kicker, .ghsp-cert-sign span, .ghsp-cert-meta-row span { color: #444 !important; }
}

.ghsp-certificate { position: relative; overflow: hidden; }
.ghsp-cert-wm {
	position: absolute;
	inset: 12% 15%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	opacity: 0.14;
	pointer-events: none;
	z-index: 0;
}
.ghsp-cert-inner { position: relative; z-index: 1; }
.ghsp-cert-logo-img {
	display: block;
	margin: 0 auto 24px;
	height: 52px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
}
.ghsp-cert-brand {
	margin-bottom: 4px;
}
.ghsp-cert-sign-img {
	display: block;
	margin: 0 auto 4px;
	height: 48px;
	width: auto;
	max-width: 140px;
	object-fit: contain;
	filter: none;
}
.ghsp-cert-brand { margin-bottom: 4px; }

/* Google sign-in button */
.ghsp-btn-google {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 12px 16px !important;
	margin-bottom: 4px;
	border: 1px solid rgba(255,255,255,.14) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: #1f1f1f !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: background .15s, border-color .15s;
}
.ghsp-btn-google:hover {
	background: #f7f7f7 !important;
	border-color: #dadce0 !important;
	color: #1f1f1f !important;
}
.ghsp-btn-google svg { flex-shrink: 0; }
.ghsp-auth-divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 16px 0 14px;
	color: var(--gh-text-muted, #8b93a3);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
}
.ghsp-auth-divider::before,
.ghsp-auth-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--gh-border, rgba(255,255,255,.1));
}

.ghsp-edu-next {
	margin-top: 16px;
	padding: 18px 18px 16px;
	border-radius: 14px;
	border: 1px solid rgba(240,187,9,.4);
	background: linear-gradient(135deg, rgba(240,187,9,.16), rgba(240,187,9,.04) 55%);
	text-align: center;
}
.ghsp-edu-next-label {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #f0bb09;
}
.ghsp-edu-next .ghsp-btn {
	width: 100%;
	max-width: 480px;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 14px 18px !important;
}
#ghsp-edu-next-title {
	font-size: 16px;
	font-weight: 700;
}

/* Category fully watched — minimal tint */
.ghsp-edu-section.is-category-done {
	border-color: rgba(74, 222, 128, 0.18);
	background: rgba(74, 222, 128, 0.04);
}
.ghsp-edu-section.is-category-done > .ghsp-edu-section-head {
	border-bottom-color: rgba(74, 222, 128, 0.12);
}
.ghsp-edu-section.is-category-done .ghsp-edu-section-title::after {
	content: " ✓";
	color: rgba(74, 222, 128, 0.75);
	font-weight: 600;
	font-size: 0.85em;
}

/* Brand logo (square GH mark) */
.ghsp-logo-img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 120px;
	object-fit: contain;
}
.ghsp-logo-center .ghsp-logo-img {
	margin: 0 auto 12px;
	height: 64px;
	max-width: 140px;
}
.ghsp-logo-sidebar {
	height: 40px !important;
	max-width: 88px !important;
}
