/* Área de miembro — barras de progreso y perfil */

.jpf-rcp-update-card-hint {
	margin: 1rem 0;
	padding: 0.85rem 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.jpf-rcp-update-card-hint a {
	color: #1f5fbf;
	font-weight: 500;
}

.jpf-member-area {
	max-width: 560px;
	margin: 1.5rem auto;
	padding: 1.5rem 1.75rem;
	background: #fff;
	border: 1px solid #e8e8ef;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.jpf-member-area--guest {
	text-align: center;
	max-width: 100%;
	box-shadow: none;
	border: none;
	background: transparent;
}

.jpf-member-area__header {
	display: flex;
	gap: 1.25rem;
	align-items: center;
	margin-bottom: 1.75rem;
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #eef0f4;
}

.jpf-member-area__avatar-img {
	border-radius: 50%;
}

.jpf-member-area__name {
	margin: 0 0 0.25rem;
	font-size: 1.35rem;
	font-weight: 700;
}

.jpf-member-area__email {
	margin: 0;
	color: #64748b;
	font-size: 0.95rem;
}

.jpf-member-area__account {
	margin: 0.5rem 0 0;
	font-size: 0.9rem;
}

.jpf-member-area__block {
	margin-bottom: 1.5rem;
}

.jpf-member-area__block:last-child {
	margin-bottom: 0;
}

.jpf-member-area__block--rcp {
	padding-top: 0.25rem;
	border-top: 1px dashed #e2e8f0;
}

.jpf-member-area__rcp-list {
	margin: 0.35rem 0 0;
	padding-left: 1.15rem;
	font-size: 0.9rem;
	color: #334155;
	line-height: 1.5;
}

.jpf-member-area__rcp-plan {
	font-weight: 600;
}

.jpf-member-area__rcp-status {
	color: #64748b;
	font-weight: 500;
	font-size: 0.85rem;
}

.jpf-member-area__rcp-exp {
	font-size: 0.85rem;
	color: #64748b;
}

.jpf-member-area__block h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 600;
}

.jpf-member-area__stat {
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	color: #475569;
}

.jpf-member-area__hint {
	margin: 0;
	font-size: 0.9rem;
	color: #64748b;
}

.jpf-member-area__bar {
	height: 12px;
	background: #f1f5f9;
	border-radius: 999px;
	overflow: hidden;
	margin-top: 0.35rem;
}

.jpf-member-area__bar--accent .jpf-member-area__bar-fill {
	background: linear-gradient(90deg, #0d9488, #14b8a6);
}

.jpf-member-area__bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #2563eb, #3b82f6);
	border-radius: 999px;
	transition: width 0.45s ease;
}

.jpf-member-area__pct {
	margin: 0.35rem 0 0;
	font-weight: 700;
	font-size: 1.25rem;
	color: #0f172a;
}

.jpf-telegram-wrap {
	margin: 1rem 0;
}

.jpf-telegram-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	background: #229ed9;
	color: #fff !important;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none !important;
}

.jpf-telegram-btn:hover {
	filter: brightness(1.05);
}

.jpf-telegram-missing {
	color: #b45309;
	font-size: 0.9rem;
}

/* Checkbox “curso completado” (shortcode sem_curso_finalizado_check) */

.jpf-curso-check {
	margin: 1rem 0;
	padding: 1rem 1.15rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	max-width: 100%;
}

.jpf-curso-check--busy {
	opacity: 0.65;
	pointer-events: none;
}

.jpf-curso-check__label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	cursor: pointer;
	font-weight: 500;
	color: #0f172a;
	margin: 0;
	line-height: 1.45;
}

.jpf-curso-check__input {
	margin-top: 0.2rem;
	width: 1.15rem;
	height: 1.15rem;
	flex-shrink: 0;
	accent-color: #2563eb;
}

.jpf-curso-check__msg {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #16a34a;
	min-height: 1.25em;
}

.jpf-curso-check__msg--error {
	color: #dc2626;
}

.jpf-curso-check--guest {
	background: transparent;
	border: none;
	padding: 0;
}

/* —— Panel de cursos [jpf_panel_cursos] —— */

.jpf-course-hub {
	max-width: 1180px;
	margin: 1.5rem auto 3rem;
	padding: 0 1rem;
	font-family: inherit;
	color: #0f172a;
}

.jpf-course-hub--guest .jpf-course-hub__guest-card {
	max-width: 420px;
	margin: 0 auto;
	padding: 2rem 1.75rem;
	text-align: center;
	background: #fff;
	border-radius: 20px;
	border: 1px solid #e8e8ef;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

.jpf-course-hub__guest-title {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.jpf-course-hub__guest-lead {
	margin: 0 0 1.25rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #64748b;
}

.jpf-course-hub__guest-form {
	text-align: left;
}

.jpf-course-hub__guest-form .jpf-course-hub__rcp-login,
.jpf-course-hub__guest-form form {
	margin: 0;
}

.jpf-course-hub__guest-form #rcp_user_login,
.jpf-course-hub__guest-form #rcp_user_pass,
.jpf-course-hub__guest-form .input,
.jpf-course-hub__guest-form input[type="text"],
.jpf-course-hub__guest-form input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	margin-top: 0.35rem;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	font-size: 1rem;
}

.jpf-course-hub__guest-form label {
	display: block;
	margin-top: 0.85rem;
	font-weight: 600;
	font-size: 0.88rem;
	color: #334155;
}

.jpf-course-hub__guest-form .rcp_login_data:first-child label {
	margin-top: 0;
}

.jpf-course-hub__guest-form #rcp_login_submit,
.jpf-course-hub__guest-form input[type="submit"] {
	width: 100%;
	margin-top: 1.1rem;
	padding: 0.7rem 1rem;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #a21caf 0%, #7c3aed 100%);
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
}

.jpf-course-hub__guest-form #rcp_login_submit:hover,
.jpf-course-hub__guest-form input[type="submit"]:hover {
	filter: brightness(1.05);
}

.jpf-course-hub__guest-alt {
	margin: 1.25rem 0 0;
	font-size: 0.88rem;
}

.jpf-course-hub__guest-link {
	color: #7c3aed;
	font-weight: 600;
	text-decoration: none;
}

.jpf-course-hub__guest-link:hover {
	text-decoration: underline;
}

.jpf-course-hub__rcp-wrap {
	margin-bottom: 1.25rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid #ede9fe;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.jpf-course-hub__rcp-wrap .jpf-member-area__block {
	margin-bottom: 0;
}

.jpf-course-hub__hero {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem 2rem;
	margin-bottom: 1.5rem;
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 40%, #fff 100%);
	border: 1px solid #f5d0fe;
	border-radius: 20px;
	box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.jpf-course-hub__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 2.5vw, 1.85rem);
	font-weight: 800;
	letter-spacing: -0.03em;
}

.jpf-course-hub__subtitle {
	margin: 0;
	font-size: 0.95rem;
	color: #64748b;
	max-width: 36rem;
	line-height: 1.5;
}

.jpf-course-hub__hero-user {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.35rem 0;
}

.jpf-course-hub__avatar {
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.jpf-course-hub__hero-progress {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	color: #64748b;
}

.jpf-course-hub__hero-progress strong {
	color: #86198f;
	font-size: 1rem;
	margin-right: 0.25rem;
}

.jpf-course-hub__user-name {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
}

.jpf-course-hub__user-account {
	font-size: 0.85rem;
	color: #a21caf;
	font-weight: 600;
	text-decoration: none;
}

.jpf-course-hub__user-account:hover {
	text-decoration: underline;
}

.jpf-course-hub__summary {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
}

.jpf-course-hub__summary-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.4rem;
}

.jpf-course-hub__summary-label {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #64748b;
}

.jpf-course-hub__summary-pct {
	font-weight: 800;
	font-size: 1.1rem;
	color: #86198f;
}

.jpf-course-hub__summary-bar {
	height: 10px;
	background: #f1f5f9;
	border-radius: 999px;
	overflow: hidden;
}

.jpf-course-hub__summary-bar-fill {
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #7c3aed, #c026d3);
	transition: width 0.4s ease;
}

.jpf-course-hub__summary-meta {
	margin: 0.5rem 0 0;
	font-size: 0.85rem;
	color: #64748b;
}

.jpf-course-hub__shell {
	display: grid;
	grid-template-columns: min(260px, 32%) 1fr;
	gap: 1.5rem 2rem;
	align-items: start;
}

.jpf-course-hub__sidebar {
	position: sticky;
	top: 1rem;
	padding: 1.1rem 1rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.jpf-course-hub__sidebar-title {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.jpf-course-hub__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.jpf-course-hub__nav-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.65rem;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #334155;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.jpf-course-hub__nav-left {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}

.jpf-course-hub__nav-label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.jpf-course-hub__term-thumb {
	width: 28px;
	height: 28px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
	flex: 0 0 auto;
}

.jpf-course-hub__term-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jpf-course-hub__nav-link:hover {
	background: #f8fafc;
	color: #86198f;
}

.jpf-course-hub__nav-count {
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748b;
	background: #f1f5f9;
	padding: 0.15rem 0.45rem;
	border-radius: 999px;
}

.jpf-course-hub__nav-taxonomy {
	list-style: none;
	margin: 0.65rem 0 0.2rem;
	padding: 0;
}

.jpf-course-hub__nav-taxonomy-label {
	display: block;
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #64748b;
	padding: 0.15rem 0.65rem;
}

.jpf-course-hub__nav-term-group {
	list-style: none;
	margin: 0.15rem 0 0;
	padding: 0;
}

.jpf-course-hub__nav-term-parent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.35rem 0.65rem 0.2rem;
	font-size: 0.78rem;
	font-weight: 800;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.jpf-course-hub__nav-term-group--depth-1 .jpf-course-hub__nav-term-parent,
.jpf-course-hub__nav-term-group--depth-2 .jpf-course-hub__nav-term-parent,
.jpf-course-hub__nav-term-group--depth-3 .jpf-course-hub__nav-term-parent {
	padding-left: 0.85rem;
}

.jpf-course-hub__nav-list--nested {
	list-style: none;
	margin: 0;
	padding: 0 0 0.2rem 0.5rem;
	border-left: 2px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	gap: 0.08rem;
}

.jpf-course-hub__nav-item--depth-1 .jpf-course-hub__nav-link--child,
.jpf-course-hub__nav-item--depth-2 .jpf-course-hub__nav-link--child,
.jpf-course-hub__nav-item--depth-3 .jpf-course-hub__nav-link--child,
.jpf-course-hub__nav-item--depth-4 .jpf-course-hub__nav-link--child {
	padding-left: 0.85rem;
	font-size: 0.88rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: #334155;
}

.jpf-course-hub__nav-link--child {
	font-size: 0.88rem;
	font-weight: 600;
}

.jpf-course-hub__main {
	display: flex;
	flex-direction: column;
	gap: 2.25rem;
	min-width: 0;
}

.jpf-course-hub__section {
	scroll-margin-top: 6rem;
}

.jpf-course-hub__section-head {
	margin-bottom: 1rem;
}

.jpf-course-hub__section-thumb {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
	margin-bottom: 0.7rem;
}

.jpf-course-hub__section-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jpf-course-hub__section-title {
	margin: 0 0 0.35rem;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.jpf-course-hub__section-desc {
	margin: 0;
	font-size: 0.9rem;
	color: #64748b;
	line-height: 1.5;
}

.jpf-course-hub__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.15rem;
}

.jpf-course-hub__card {
	position: relative;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jpf-course-hub__card:hover {
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.jpf-course-hub__card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.jpf-course-hub__card-img {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.jpf-course-hub__card-img--placeholder {
	min-height: 140px;
}

.jpf-course-hub__card-img-el {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.jpf-course-hub__card-body {
	padding: 1rem 1.1rem 1.15rem;
}

.jpf-course-hub__card-title {
	margin: 0 0 0.4rem;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.jpf-course-hub__card-excerpt {
	margin: 0 0 0.65rem;
	font-size: 0.82rem;
	color: #64748b;
	line-height: 1.45;
}

.jpf-course-hub__card-registro {
	margin: 0 0 0.65rem;
	padding: 0.55rem 0.65rem;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
}

.jpf-course-hub__card-registro-line {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: #475569;
}

.jpf-course-hub__card-registro-line--done {
	font-weight: 800;
	color: #047857;
	margin-bottom: 0.25rem;
}

.jpf-course-hub__card-registro-line--data {
	font-weight: 600;
	color: #334155;
}

.jpf-course-hub__card--has-registro .jpf-course-hub__card-cta {
	margin-top: 0.15rem;
}

.jpf-course-hub__card-cta {
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 700;
	color: #a21caf;
}

.jpf-course-hub__card--has-progress .jpf-course-hub__card-cta {
	margin-top: 0.35rem;
}

.jpf-course-hub__card-progress {
	margin: 0.5rem 0 0.65rem;
	padding-top: 0.5rem;
	border-top: 1px solid #f1f5f9;
}

.jpf-course-hub__card-progress-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.35rem;
}

.jpf-course-hub__card-progress-label {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #94a3b8;
}

.jpf-course-hub__card-progress-pct {
	font-size: 0.85rem;
	font-weight: 800;
	color: #86198f;
}

.jpf-course-hub__card-progress-bar {
	display: block;
	height: 6px;
	background: #f1f5f9;
	border-radius: 999px;
	overflow: hidden;
}

.jpf-course-hub__card-progress-fill {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #7c3aed, #c026d3);
	transition: width 0.35s ease;
}

.jpf-course-hub__card-progress-meta {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	color: #64748b;
	line-height: 1.35;
}

.jpf-course-hub__card-link:hover .jpf-course-hub__card-cta {
	text-decoration: underline;
}

.jpf-course-hub__badge {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: #059669;
	border: 1px solid #a7f3d0;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* Panel [jpf_panel_cursos]: estado compacto con iconos */
.jpf-hub-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jpf-hub-has-tip[title] {
	cursor: help;
}

.jpf-course-hub__card-favorite .jpf-favorite__btn.jpf-hub-has-tip[title] {
	cursor: pointer;
}

.jpf-course-hub__card-tracking {
	margin: 0 0 0.65rem;
	padding: 0.45rem 0.55rem;
	background: #f8fafc;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	font-size: 0.76rem;
	line-height: 1.35;
	color: #334155;
	text-decoration: none;
}

.jpf-course-hub__card-tracking--compact .jpf-hub-ico,
.jpf-course-hub__card-tracking--compact .jpf-hub-stat__ico,
.jpf-course-hub__card-tracking--compact .jpf-hub-tracking-history-ico {
	display: none;
}

.jpf-course-hub__card-tracking--compact .jpf-hub-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
}

.jpf-course-hub__card-tracking--compact .jpf-hub-chip__text {
	font-size: 0.72rem;
	font-weight: 600;
}

.jpf-course-hub__card-tracking--compact .jpf-hub-stat {
	gap: 0;
	max-width: 100%;
}

.jpf-hub-tracking-status {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}

.jpf-hub-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.85rem;
	min-height: 1.65rem;
	padding: 0.15rem 0.35rem;
	border-radius: 8px;
	line-height: 1;
	border: 1px solid transparent;
}

.jpf-hub-chip--ok {
	background: #ecfdf5;
	border-color: #a7f3d0;
	color: #047857;
}

.jpf-hub-chip--muted {
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #64748b;
}

.jpf-hub-chip--warn {
	background: #fffbeb;
	border-color: #fde68a;
	color: #b45309;
}

.jpf-hub-tracking-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.65rem;
	margin-bottom: 0.35rem;
}

.jpf-hub-stat {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	min-width: 0;
	max-width: 100%;
	text-decoration: none;
	color: #334155;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	font-size: 0.74rem;
}

.jpf-hub-stat__ico {
	display: flex;
	color: #94a3b8;
	flex-shrink: 0;
}

.jpf-hub-stat__txt {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 11rem;
}

.jpf-hub-tracking-history-block {
	margin-top: 0.35rem;
	padding-top: 0.35rem;
	border-top: 1px dashed #e2e8f0;
}

.jpf-hub-tracking-history-head {
	margin: 0 0 0.25rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	color: #94a3b8;
	line-height: 1;
}

.jpf-hub-tracking-history-ico {
	display: flex;
	line-height: 0;
}

.jpf-course-hub__card-tracking-history {
	margin: 0;
	padding-left: 1rem;
	font-size: 0.72rem;
	color: #475569;
	line-height: 1.35;
}

.jpf-course-hub__card-tracking-history li {
	margin: 0 0 0.12rem;
	text-decoration: none;
}

.jpf-course-hub__card-favorite {
	padding: 0.5rem 0.65rem 0.65rem;
	border-top: 1px solid #f1f5f9;
	background: #fafbfc;
}

.jpf-course-hub__card-favorite .jpf-favorite {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.jpf-course-hub__card-favorite .jpf-favorite__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.35rem 0.65rem;
	font-size: 0.76rem;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
	color: #86198f;
	font-weight: 700;
	cursor: pointer;
	font: inherit;
}

.jpf-course-hub__nav-link.is-active {
	background: #faf5ff;
	border-color: #e9d5ff;
	color: var(--jpf-brand, #86198f);
}

.jpf-course-hub__card-favorite .jpf-favorite__btn-icon {
	display: flex;
	line-height: 0;
	color: #86198f;
}

.jpf-course-hub__card-favorite .jpf-favorite[data-favorited='1'] .jpf-favorite__btn-icon {
	color: #db2777;
}

.jpf-course-hub__card-favorite .jpf-favorite__btn:hover {
	background: #fdf4ff;
}

.jpf-course-hub__card-favorite .jpf-favorite__msg {
	margin-left: 0.35rem;
	font-size: 0.72rem;
}

.jpf-course-hub__empty {
	margin: 0;
	padding: 1.25rem;
	font-size: 0.9rem;
	color: #64748b;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px dashed #e2e8f0;
}

.jpf-course-hub__admin-note {
	padding: 1rem;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 8px;
	color: #9a3412;
	font-size: 0.9rem;
}

@media screen and (max-width: 782px) {
	.jpf-course-hub__shell {
		grid-template-columns: 1fr;
	}

	.jpf-course-hub__sidebar {
		position: static;
		padding: 0.75rem 0.5rem;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border-radius: 14px;
	}

	.jpf-course-hub__nav-list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.35rem;
	}

	.jpf-course-hub__nav-list li {
		flex: 0 0 auto;
	}

	.jpf-course-hub__nav-link {
		white-space: nowrap;
	}
}

.jpf-acf-video-restrict-teaser {
	margin: 1rem 0;
	padding: 1rem 1.1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	text-align: center;
}

.jpf-acf-video-restrict-teaser__text {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #334155;
}

.jpf-acf-video-restrict-teaser__cta {
	margin: 0;
}

.jpf-acf-video-restrict-teaser__link.button {
	display: inline-block;
	padding: 0.55rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 8px;
	background: #86198f;
	border: 1px solid #86198f;
	color: #fff;
}

.jpf-acf-video-restrict-teaser__link.button:hover,
.jpf-acf-video-restrict-teaser__link.button:focus {
	background: #6b1570;
	border-color: #6b1570;
	color: #fff;
}

/* Navegación área miembro */
.jpf-member-nav {
	max-width: 1200px;
	margin: 0 auto 1.25rem;
	padding: 0 0.5rem;
}

.jpf-member-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jpf-member-nav__link {
	display: inline-block;
	padding: 0.45rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: #475569;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
}

.jpf-member-nav__link.is-active,
.jpf-member-nav__link:hover,
.jpf-member-nav__link:focus {
	color: #fff;
	background: #86198f;
	border-color: #86198f;
}

.jpf-member-area--profile {
	max-width: 720px;
}

.jpf-member-level-badge {
	display: inline-block;
	margin: 0.35rem 0 0;
	padding: 0.25rem 0.65rem;
	font-size: 0.8rem;
	font-weight: 700;
	border-radius: 999px;
	background: #ede9fe;
	color: #5b21b6;
}

.jpf-member-streak {
	margin: 0 0 1rem;
	padding: 0.65rem 0.9rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #0f766e;
	background: #ecfdf5;
	border-radius: 8px;
}

.jpf-member-payments__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

.jpf-member-payments__table th,
.jpf-member-payments__table td {
	padding: 0.5rem 0.65rem;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
}

.jpf-member-payments__invoice-link {
	font-weight: 600;
}

.jpf-member-area__block-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 0.75rem;
}

.jpf-member-area__block-head h3 {
	margin: 0;
}

.jpf-member-area__sub-link {
	margin: 0;
	font-size: 0.875rem;
}

.jpf-member-progress-card {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #e2e8f0;
}

.jpf-member-progress-card:last-child {
	border-bottom: 0;
	margin-bottom: 0;
	padding-bottom: 0;
}

.jpf-member-progress-card__title {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #334155;
}

.jpf-member-area__bar--mini {
	height: 6px;
	margin-top: 0.35rem;
}

.jpf-member-routines-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jpf-member-routines-list__item {
	padding: 0.75rem 0;
	border-bottom: 1px solid #e2e8f0;
}

.jpf-member-routines-list__item:last-child {
	border-bottom: 0;
}

.jpf-member-routines-list__link {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	text-decoration: none;
	color: inherit;
	font-weight: 600;
}

.jpf-member-routines-list__link:hover .jpf-member-routines-list__title {
	color: #7c3aed;
}

.jpf-member-routines-list__meta {
	font-size: 0.85rem;
	font-weight: 500;
	color: #64748b;
}

.jpf-member-routines-list__sessions {
	margin: 0.25rem 0 0;
	font-size: 0.8rem;
	color: #64748b;
}

.jpf-program-locked {
	margin: 1rem 0;
	padding: 1.25rem;
	text-align: center;
	background: #fff7ed;
	border: 1px solid #fed7aa;
	border-radius: 12px;
}

.jpf-program-locked__title {
	margin: 0 0 0.5rem;
	font-weight: 700;
	color: #9a3412;
}

.jpf-course-hub__card--locked {
	opacity: 0.92;
}

.jpf-course-hub__card-link--locked {
	cursor: not-allowed;
	pointer-events: none;
}

.jpf-course-hub__card-cta--locked {
	color: #9a3412;
}

.jpf-course-hub__card-unlock {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: #64748b;
}

.jpf-course-hub__badge--locked {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	padding: 0.2rem 0.5rem;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	background: #fef3c7;
	color: #92400e;
	border-radius: 4px;
}

.jpf-course-hub__nav-toggle {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	width: 100%;
	margin: 0;
	padding: 0.35rem 0;
	font: inherit;
	font-weight: 600;
	text-align: left;
	color: inherit;
	background: none;
	border: none;
	cursor: pointer;
}

.jpf-course-hub__nav-toggle-icon::before {
	content: "▾";
	display: inline-block;
	transition: transform 0.15s ease;
}

.jpf-course-hub__nav-term-group.is-collapsed .jpf-course-hub__nav-toggle-icon::before {
	transform: rotate(-90deg);
}

.jpf-student-dash__completed {
	margin: 1.25rem 0;
}

.jpf-student-dash__completed-list {
	margin: 0;
	padding-left: 1.2rem;
}

.jpf-program-forum-link {
	margin: 1rem 0;
}

/* bbPress armonía con área miembro */
#bbpress-forums {
	font-size: 0.95rem;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
	font-weight: 600;
}
