body.helpy-mode-client {
	box-shadow: inset 0 0 0 6px #22c55e;
}

body.helpy-mode-pro {
	box-shadow: inset 0 0 0 6px #3b82f6;
}

.helpy-register-debug {
	margin: 0 0 18px;
	padding: 10px 14px;
	border: 1px solid #d8dbe3;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #f8fafc;
	color: #0f172a;
}

.helpy-become-pro-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding: 10px 14px;
	border: 1px solid #d8dbe3;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	background: #fff;
	color: #0f172a;
}

.helpy-become-pro-toggle input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	flex: 0 0 auto;
}

.helpy-account-badge {
	margin: 0 0 22px;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.helpy-account-badge-pro {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

.helpy-hidden-for-client {
	display: none !important;
}

.helpy-client-dashboard {
	margin-top: 0;
	display: grid;
	gap: 22px;
}

.helpy-client-dashboard__hero {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	padding: 24px;
}

.helpy-client-dashboard__hero h2 {
	margin: 0 0 12px;
	font-size: 28px;
	line-height: 1.15;
}

.helpy-client-dashboard__lead {
	margin: 0;
	color: #4b5563;
	font-size: 16px;
	line-height: 1.6;
}

.helpy-client-dashboard__meta {
	margin: 14px 0 0 !important;
	color: #111827;
	font-size: 14px;
	line-height: 1.6;
}

.helpy-mode-switch-bar {
	margin: -8px 0 22px;
}

.helpy-mode-switch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	border: 1px solid transparent;
	box-sizing: border-box;
	transition: 0.2s ease;
}

.helpy-mode-switch-btn-client {
	background: #fff1f2;
	border-color: #fecdd3;
	color: #be123c;
}

.helpy-mode-switch-btn-pro {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #1d4ed8;
}

.helpy-mode-switch-btn:hover {
	opacity: 0.92;
}

/* Sidebar mode UI */
.helpy-sidebar-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.helpy-sidebar-mode-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
	border: 1px solid transparent;
	flex: 0 0 auto;
}

.helpy-sidebar-mode-badge-client {
	border-color: #a7f3d0;
	background: #ecfdf5;
	color: #065f46;
}

.helpy-sidebar-mode-badge-pro {
	border-color: #bfdbfe;
	background: #eff6ff;
	color: #1d4ed8;
}

.helpy-sidebar-mode-switch-wrap {
	margin-top: 18px;
}

.helpy-sidebar-mode-switch {
	display: flex;
	width: 100%;
	min-height: 54px;
	border-radius: 16px;
	font-size: 16px;
	box-sizing: border-box;
	box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.5), 0 8px 22px rgba(59, 130, 246, 0.08);
}

/* Keep account nav clickable */
.rtcl-MyAccount-wrap {
	position: relative;
}

.rtcl-MyAccount-navigation,
.rtcl-my-account-nav,
.rtcl-account-nav {
	position: relative;
	z-index: 30;
}

.rtcl-MyAccount-navigation a,
.rtcl-my-account-nav a,
.rtcl-account-nav a,
.rtcl-MyAccount-navigation li,
.rtcl-my-account-nav li,
.rtcl-account-nav li {
	position: relative;
	z-index: 31;
	pointer-events: auto;
}

.rtcl-MyAccount-content {
	position: relative;
	z-index: 10;
}

.helpy-account-badge,
.helpy-mode-switch-bar,
.helpy-client-dashboard {
	position: relative;
	z-index: 11;
}

/* Desktop */
@media (min-width: 992px) {
	.helpy-client-dashboard__hero {
		padding: 30px 32px;
		border-radius: 20px;
	}

	.helpy-client-dashboard__hero h2 {
		font-size: 28px;
		line-height: 1.15;
		margin-bottom: 14px;
	}

	.helpy-client-dashboard__lead {
		max-width: 760px;
	}

	.helpy-sidebar-mode-switch-wrap {
		margin-top: 20px;
	}

	.helpy-sidebar-mode-switch {
		min-height: 56px;
		font-size: 17px;
	}
}

/* Mobile + tablet < 992 */
@media (max-width: 991.98px) {
	body.helpy-mode-client,
	body.helpy-mode-pro {
		box-shadow: none;
	}

	.helpy-client-dashboard {
		gap: 16px;
	}

	.helpy-client-dashboard__hero {
		padding: 18px 18px 20px;
		border-radius: 16px;
	}

	.helpy-client-dashboard__hero h2 {
		margin: 0 0 10px;
		font-size: 24px;
		line-height: 1.2;
	}

	.helpy-client-dashboard__lead {
		font-size: 15px;
		line-height: 1.6;
	}

	.helpy-client-dashboard__meta {
		margin-top: 12px !important;
		font-size: 13px;
		line-height: 1.55;
	}

	.rtcl-MyAccount-wrap,
	.rtcl-MyAccount-navigation,
	.rtcl-my-account-nav,
	.rtcl-account-nav,
	.rtcl-MyAccount-content {
		min-width: 0;
	}

	.rtcl-MyAccount-navigation,
	.rtcl-my-account-nav,
	.rtcl-account-nav {
		overflow: visible;
	}

	.helpy-sidebar-title {
		display: block;
	}

	.helpy-sidebar-mode-badge {
		display: none !important;
	}

	.helpy-sidebar-mode-switch-wrap {
		margin-top: 12px;
		padding: 0 14px 14px;
	}

	.helpy-sidebar-mode-switch {
		min-height: 46px;
		border-radius: 14px;
		font-size: 15px;
		box-shadow: none;
	}

	.helpy-mode-switch-btn {
		min-height: 46px;
		padding: 0 14px;
		font-size: 15px;
		border-radius: 14px;
	}


	.rtcl-MyAccount-navigation li.rtcl-MyAccount-navigation-link--add-listing,
	.rtcl-my-account-nav li.rtcl-MyAccount-navigation-link--add-listing,
	.rtcl-account-nav li.rtcl-MyAccount-navigation-link--add-listing,
	.rtcl-MyAccount-navigation a.helpy-debug-pro-link,
	.rtcl-my-account-nav a.helpy-debug-pro-link,
	.rtcl-account-nav a.helpy-debug-pro-link {
		display: none !important;
	}

	.helpy-register-debug,
	.helpy-become-pro-toggle {
		margin-bottom: 14px;
		border-radius: 12px;
	}

	.helpy-account-badge {
		margin-bottom: 16px;
		padding: 12px 14px;
		border-radius: 12px;
		font-size: 12px;
	}
}
/* =====================================
   Helpy Client Dashboard – mobile quick links
===================================== */

.helpy-client-dashboard__mobile-links {
	display: none;
}

@media (max-width: 991.98px) {
	.helpy-client-dashboard__mobile-links {
		display: grid;
		gap: 15px;
	}

	.helpy-client-dashboard__mobile-link {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 60px;
		padding: 0px 20px;
		border: 1px solid #e5e7eb;
		border-radius: 18px;
		background: #fff;
		text-decoration: none !important;
		color: #ef4444;
		box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
		transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
	}

	.helpy-client-dashboard__mobile-link:hover,
	.helpy-client-dashboard__mobile-link:focus {
		color: #dc2626;
		border-color: #fecaca;
		box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
		transform: translateY(-1px);
	}

	.helpy-client-dashboard__mobile-link-label {
		display: block;
		font-size: 20px;
		line-height: 1;
		font-weight: 500;
		text-align: center;
	}
}

@media (min-width: 992px) {
	.helpy-client-dashboard__mobile-links {
		display: none !important;
	}
}
/* === Compact Pro toggle in account header === */

.helpy-account-nav-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.helpy-account-nav-title__text {
	min-width: 0;
}

.helpy-sidebar-mode-toggle {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	text-decoration: none !important;
}

.helpy-sidebar-mode-toggle__track {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	width: 66px;
	height: 30px;
	padding: 0 9px 0 29px;
	border-radius: 999px;
	border: 1px solid #d5d9e3;
	background: #f3f4f6;
	color: #6b7280;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
	box-sizing: border-box;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
}

.helpy-sidebar-mode-toggle__knob {
	position: absolute;
	left: 3px;
	top: 50%;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(180deg, #d1d5db 0%, #bfc5cf 100%);
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.12);
	transform: translateY(-50%);
	transition: left 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.helpy-sidebar-mode-toggle.is-pro .helpy-sidebar-mode-toggle__track {
	justify-content: flex-start;
	padding: 0 29px 0 9px;
	border-color: #6d46cf;
	background: #6d46cf;
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(109, 70, 207, 0.18);
}

.helpy-sidebar-mode-toggle.is-pro .helpy-sidebar-mode-toggle__knob {
	left: calc(100% - 27px);
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(17, 24, 39, 0.16);
}

.helpy-sidebar-mode-toggle__label {
	position: relative;
	z-index: 1;
	white-space: nowrap;
}



.helpy-sidebar-mode-toggle:hover .helpy-sidebar-mode-toggle__track {
	border-color: #b8bec9;
}

.helpy-sidebar-mode-toggle:focus-visible {
	outline: none;
}

.helpy-sidebar-mode-toggle:focus-visible .helpy-sidebar-mode-toggle__track {
	box-shadow: 0 0 0 3px rgba(109, 70, 207, 0.16);
}

@media (max-width: 991.98px) {
	.helpy-account-nav-title {
		gap: 8px;
	}

	.helpy-sidebar-mode-toggle__track {
		width: 62px;
		height: 28px;
		padding: 0 8px 0 27px;
		font-size: 13px;
	}

	.helpy-sidebar-mode-toggle__knob {
		width: 22px;
		height: 22px;
	}

	.helpy-sidebar-mode-toggle.is-pro .helpy-sidebar-mode-toggle__track {
		padding: 0 27px 0 8px;
	}

	.helpy-sidebar-mode-toggle.is-pro .helpy-sidebar-mode-toggle__knob {
		left: calc(100% - 25px);
	}
}
/* === Fix mobile left artifacts in client dashboard === */
@media (max-width: 991.98px) {
	body.helpy-account-client .rtcl-MyAccount-content,
	body.helpy-account-client .rtcl-my-account-content,
	body.helpy-account-client .rtcl-account-content {
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
	}

	body.helpy-account-client .rtcl-MyAccount-content > .helpy-hidden-for-client,
	body.helpy-account-client .rtcl-my-account-content > .helpy-hidden-for-client,
	body.helpy-account-client .rtcl-account-content > .helpy-hidden-for-client {
		display: none !important;
	}

	body.helpy-account-client .helpy-client-dashboard {
		position: relative;
		z-index: 2;
		margin: 0;
	}

	body.helpy-account-client .helpy-client-dashboard__hero,
	body.helpy-account-client .helpy-client-dashboard__mobile-link {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}

/* Invites metrics */
body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metrics{
  display:flex !important;
  align-items:center !important;
  gap:28px !important;
  margin:4px 0 10px 0 !important;
  flex-wrap:wrap !important;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric{
  display:flex !important;
  align-items:baseline !important;
  gap:8px !important;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric-key{
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:rgba(17,24,39,.62) !important;
}

body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric-value{
  font-size:42px !important;
  line-height:1 !important;
  font-weight:800 !important;
  color:#111827 !important;
}

@media (min-width: 992px){
  body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric-value{
    font-size:52px !important;
  }
}

@media (max-width: 991px){
  body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metrics{
    gap:18px !important;
    margin:2px 0 8px 0 !important;
  }

  body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric-key{
    font-size:13px !important;
  }

  body.rtcl-account .rtcl-MyAccount-wrap .rtcl-MyAccount-content .lh-dashboard-invites-metric-value{
    font-size:30px !important;
  }
}