/* Páginas de cuenta RCP: mismo lenguaje visual que JP Online. */
body.jpf-rcp-surface {
	--jpf-brand: #172637;
	--jpf-brand-dark: #263d50;
	--jpf-brand-light: #eef5d6;
	--jpf-accent: #172637;
	--jpf-accent-soft: #f4f9e4;
	--jpf-text: #172637;
	--jpf-text-muted: #5c6c78;
	--jpf-border: #dbe4e8;
	--jpf-border-soft: #e9eff2;
}

body.jpf-rcp-surface .site-content { background: #f6f9fa; }
body.jpf-rcp-surface .site-content > .ast-container { max-width: 1280px; padding: 0 24px; }
body.jpf-rcp-surface #primary { width: 100%; margin: 0; }
body.jpf-rcp-surface .ast-article-single { padding: 0; background: transparent; }
body.jpf-rcp-surface .entry-header, body.jpf-rcp-surface .post-navigation { display: none; }
body.jpf-rcp-surface .entry-content { margin: 0; }
body.jpf-rcp-surface .jpf-online-page--login .jpf-online-login-intro,
body.jpf-rcp-surface .jpf-online-page--login .jpf-online-login-panel { min-width: 0; }
body.jpf-rcp-surface .jpf-online-page--login .rcp_form input[type="submit"] { max-width: 100%; }

.jpf-rcp-page { max-width: 1232px; margin: 0 auto; }
.jpf-rcp-page__hero { position: relative; overflow: hidden; padding: 32px clamp(26px, 5vw, 70px) 54px; border-radius: 24px; color: #fff; background: #172637; }
.jpf-rcp-page__hero::after { content: ""; position: absolute; width: 270px; height: 580px; right: 13%; top: -175px; transform: rotate(34deg); background: #d7f36f; opacity: .12; pointer-events: none; }
.jpf-rcp-page__top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 65px; font-size: .85rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.jpf-rcp-page__top a { color: #fff; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.jpf-rcp-page__hero h1 { position: relative; z-index: 1; max-width: 700px; margin: 0 0 16px; color: #fff; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.jpf-rcp-page__hero p { position: relative; z-index: 1; max-width: 630px; margin: 0; color: #d8e1e7; font-size: 1.08rem; }
.jpf-rcp-page__content { max-width: 1080px; margin: 0 auto; padding: 38px 0 0; }
.jpf-rcp-page__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.jpf-rcp-page__nav a { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #cdd9df; border-radius: 8px; background: #fff; color: #172637; text-decoration: none; font-size: .9rem; font-weight: 750; }
.jpf-rcp-page__nav a:hover { border-color: #91af3d; }
.jpf-rcp-page__nav a[aria-current="page"] { border-color: #172637; background: #172637; color: #fff; }
body.jpf-rcp-surface .jpf-rcp-page__nav a { text-decoration: none; }
.jpf-rcp-page__panel { padding: clamp(26px, 4vw, 48px); border: 1px solid #dbe4e8; border-radius: 18px; background: #fff; }
.jpf-rcp-page--account .jpf-rcp-page__panel, .jpf-rcp-page--progress .jpf-rcp-page__panel, .jpf-rcp-page--hub .jpf-rcp-page__panel { padding: 0; border: 0; background: transparent; }
.jpf-rcp-page--profile .jpf-rcp-page__panel, .jpf-rcp-page--card .jpf-rcp-page__panel { max-width: 760px; }

/* Formularios RCP de acceso, perfil y actualización de tarjeta. */
.jpf-rcp-page__panel .rcp_form { max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.jpf-rcp-page__panel .rcp_form fieldset { margin: 0 0 24px; padding: 18px 0 0; border: 0; border-top: 1px solid #dbe4e8; }
.jpf-rcp-page__panel .rcp_form fieldset:first-child { padding-top: 0; border-top: 0; }
.jpf-rcp-page__panel .rcp_form legend { margin-bottom: 14px; padding: 0 12px 0 0; color: #172637; font-size: 1.15rem; font-weight: 800; }
.jpf-rcp-page__panel .rcp_form p { margin: 0 0 18px; }
.jpf-rcp-page__panel .rcp_form label { display: block; margin-bottom: 7px; color: #172637; font-size: .92rem; font-weight: 700; }
.jpf-rcp-page__panel .rcp_form input[type="text"], .jpf-rcp-page__panel .rcp_form input[type="email"], .jpf-rcp-page__panel .rcp_form input[type="password"], .jpf-rcp-page__panel .rcp_form select, .jpf-rcp-page__panel .rcp_form textarea { width: 100%; max-width: 100%; min-height: 48px; margin: 0; padding: 10px 13px; border: 1px solid #b8c6cf; border-radius: 8px; background: #fff; color: #172637; font: inherit; box-shadow: none; }
.jpf-rcp-page__panel .rcp_form input:focus, .jpf-rcp-page__panel .rcp_form select:focus, .jpf-rcp-page__panel .rcp_form textarea:focus { outline: 3px solid #d7f36f; outline-offset: 1px; border-color: #708f25; }
.jpf-rcp-page__panel .rcp_form input[type="checkbox"], .jpf-rcp-page__panel .rcp_form input[type="radio"] { accent-color: #789a2a; }
.jpf-rcp-page__panel .rcp_form .rcp-button, .jpf-rcp-page__panel .rcp_form .rcp_button, .jpf-rcp-page__panel .rcp_form input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 0; border-radius: 8px; background: #d7f36f; color: #172637; font: inherit; font-weight: 800; cursor: pointer; }
.jpf-rcp-page__panel .rcp_form .rcp-button:hover, .jpf-rcp-page__panel .rcp_form .rcp_button:hover, .jpf-rcp-page__panel .rcp_form input[type="submit"]:hover { background: #c5e759; color: #172637; }
.jpf-rcp-page__panel .rcp_form a, .jpf-rcp-page__panel .jpf-rcp-update-card-hint a { color: #172637; text-decoration: underline; text-decoration-color: #a7c947; text-underline-offset: 4px; }
.jpf-rcp-page__panel .rcp_lost_password { margin-top: 12px; }
.jpf-rcp-page__panel .rcp_login_data label[for="rcp_user_remember"] { display: inline; margin: 0 0 0 5px; font-weight: 500; }
.jpf-rcp-page__panel .rcp_success, .jpf-rcp-page__panel .rcp_error, .jpf-rcp-page__panel .jpf-rcp-update-card-hint { margin: 0 0 20px; padding: 16px 18px; border: 1px solid #dbe4e8; border-radius: 10px; background: #f6f9fa; color: #425462; }
.jpf-rcp-page__panel .rcp_success { border-color: #c8df91; background: #f4f9e4; }
.jpf-rcp-page__panel .rcp_error { border-color: #e8b9b5; background: #fff5f3; color: #83352f; }

/* Cuenta, suscripciones y recibos. Conserva las acciones de RCP. */
.jpf-rcp-surface .jpf-member-shell { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #172637; font-family: inherit; }
.jpf-rcp-surface .jpf-member-shell .jpf-member-nav { margin-bottom: 22px; padding: 8px; border: 1px solid #dbe4e8; border-radius: 14px; background: #fff; box-shadow: none; }
.jpf-rcp-surface .jpf-member-shell .jpf-member-nav__link { color: #425462; text-decoration: none; border: 0; background: transparent; }
.jpf-rcp-surface .jpf-member-shell .jpf-member-nav__link:hover { color: #172637; background: #f1f8da; }
.jpf-rcp-surface .jpf-member-shell .jpf-member-nav__link.is-active { color: #fff; background: #172637; box-shadow: none; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__hero, .jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi, .jpf-rcp-surface .jpf-member-shell .jpf-user-profile__panel, .jpf-rcp-surface .jpf-member-shell .jpf-member-rcp-subscription { border-color: #dbe4e8; border-radius: 14px; background: #fff; box-shadow: none; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__hero { padding: clamp(24px, 3vw, 38px); }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__hero a, .jpf-rcp-surface .jpf-member-shell .jpf-user-profile__edit-link { color: #172637; text-decoration: underline; text-decoration-color: #a7c947; text-underline-offset: 4px; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 20px; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi { min-height: 102px; padding: 16px 18px; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi-label { display: block; margin-bottom: 5px; color: #5c6c78; font-size: .82rem; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi-value { display: block; color: #172637; font-size: 1.3rem; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi-bar { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #e6eced; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__tabs { border-color: #dbe4e8; background: #eef3f5; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__tab { margin: 0; padding: 10px 16px; border: 0; border-radius: 9px; background: transparent; color: #425462; font-size: .9rem; font-weight: 700; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__tab:hover { background: #fff; color: #172637; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__tab.is-active { background: #172637; color: #fff; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__level, .jpf-rcp-surface .jpf-member-shell .jpf-member-level-badge { background: #eef5d6; color: #344b10; }
.jpf-rcp-surface .jpf-member-shell .jpf-user-profile__kpi-bar-fill, .jpf-rcp-surface .jpf-member-shell .jpf-user-profile__bar-fill { background: #a7c947; }
.jpf-rcp-surface .jpf-member-shell .jpf-member-rcp-subscription { padding: clamp(24px, 3vw, 38px); }
.jpf-rcp-surface .jpf-member-rcp-subscription h3 { margin: 0 0 16px; color: #172637; font-size: clamp(1.3rem, 2vw, 1.7rem); }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table-wrapper { overflow-x: auto; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table th { padding: 13px 14px; border-bottom: 1px solid #dbe4e8; background: #f3f7f8; color: #172637; text-align: left; font-size: .8rem; font-weight: 800; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table td { padding: 14px; border-bottom: 1px solid #e7edf0; color: #425462; vertical-align: top; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table a { color: #172637; text-decoration: underline; text-decoration-color: #a7c947; text-underline-offset: 3px; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table button { display: inline-flex; align-items: center; min-height: 36px; margin: 2px 0; padding: 7px 11px; border: 1px solid #cdd9df; border-radius: 7px; background: #fff; color: #172637; font-size: .8rem; font-weight: 750; cursor: pointer; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp-table button:hover { border-color: #91af3d; background: #f4f9e4; }
.jpf-rcp-surface .jpf-member-rcp-subscription .rcp_sub_details_cancel button { color: #7b3530; border-color: #e8b9b5; }

@media (max-width: 760px) {
	body.jpf-rcp-surface .site-content > .ast-container { padding: 0 16px; }
	.jpf-rcp-page__hero { padding: 25px 24px 38px; border-radius: 16px; }
	.jpf-rcp-page__top { margin-bottom: 48px; }
	.jpf-rcp-page__hero h1 { font-size: clamp(2.3rem, 9vw, 3.6rem); }
	.jpf-rcp-page__content { padding-top: 22px; }
	.jpf-rcp-page__nav { flex-wrap: wrap; gap: 6px; }
	.jpf-rcp-page__nav a { min-height: 40px; padding: 7px 10px; font-size: .82rem; }
	.jpf-rcp-page__panel { padding: 24px; border-radius: 14px; }
	.jpf-rcp-surface .jpf-member-shell .jpf-member-nav__list { flex-wrap: wrap; overflow: visible; }
	.jpf-rcp-surface .jpf-member-shell .jpf-member-nav__link { padding: 9px 11px; font-size: .82rem; }
	.jpf-rcp-surface .jpf-member-shell .jpf-member-rcp-subscription { padding: 22px; }
}

/* One shared navigation across classroom, progress and account settings. */
.jpf-rcp-page__navigation { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 26px; }
.jpf-rcp-page__navigation .jpf-member-nav { flex: 1; margin: 0; padding: 6px; border: 1px solid #dbe4e8; border-radius: 12px; box-shadow: none; }
.jpf-rcp-page__navigation .jpf-member-nav__list { flex-wrap: wrap; margin: 0; padding: 0; gap: 4px; list-style: none; }
.jpf-rcp-page__navigation .jpf-member-nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; border: 0; border-radius: 8px; background: transparent; color: #425462; text-decoration: none; font-size: .86rem; }
.jpf-rcp-page__navigation .jpf-member-nav__link:hover { background: #eef5d6; color: #172637; }
.jpf-rcp-page__navigation .jpf-member-nav__link.is-active { background: #172637; color: #fff; box-shadow: none; }
.jpf-rcp-page__logout { display: inline-flex; align-items: center; min-height: 44px; color: #425462; font-size: .86rem; text-underline-offset: 4px; }
body.jpf-rcp-surface :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #708f25; outline-offset: 3px; }
body.jpf-rcp-surface ::selection { background: #d7f36f; color: #172637; }
body.jpf-rcp-surface :is(input, textarea) { caret-color: #172637; }
body.jpf-rcp-surface :is(h1, h2, h3) { text-wrap: balance; }
body.jpf-rcp-surface .jpf-user-profile__identity { min-width: 0; }
body.jpf-rcp-surface .jpf-user-profile__email { overflow-wrap: anywhere; }
body.jpf-rcp-surface .jpf-user-profile__avatar:empty { display: none; }
body.jpf-rcp-surface .jpf-user-profile__level { display: inline-flex; align-items: center; margin-top: 12px; padding: 6px 12px; border-radius: 8px; font-size: .82rem; font-weight: 700; }
body.jpf-rcp-surface .jpf-user-profile__kpi-value { font-variant-numeric: tabular-nums; }
body.jpf-rcp-surface .jpf-user-profile__panel[hidden] { display: none; }
body.jpf-rcp-surface .jpf-user-profile__panel { min-width: 0; overflow-x: auto; }
body.jpf-rcp-surface .jpf-user-profile__section { margin-top: 28px; }
body.jpf-rcp-surface .jpf-user-profile__section:first-child { margin-top: 0; }
body.jpf-rcp-surface .jpf-member-area__block { padding: 20px 0; border: 0; border-radius: 0; border-bottom: 1px solid #dbe4e8; box-shadow: none; }
body.jpf-rcp-surface .jpf-member-area__block h3 { color: #172637; font-size: 1.08rem; font-weight: 750; text-transform: none; letter-spacing: 0; }
body.jpf-rcp-surface .jpf-user-profile__hint, body.jpf-rcp-surface .jpf-member-area__hint { color: #5c6c78; }
body.jpf-rcp-surface .jpf-user-profile__program-card { border-color: #dbe4e8; box-shadow: none; }
body.jpf-rcp-surface .jpf-user-profile__program-card a { color: #172637; text-underline-offset: 4px; }

/* Login and password recovery retain the same controls and error states. */
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form { margin: 24px 0 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form fieldset { border: 0; padding: 0; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form label { margin-bottom: 7px; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form label[for="rcp_user_remember"] { display: inline; margin-left: 6px; font-weight: 500; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form input[type="submit"] { width: 100%; min-height: 48px; background: #d7f36f; color: #172637; font-size: 1rem; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form input[type="submit"]:hover { background: #c5e759; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_form input[type="text"], body.jpf-rcp-surface .jpf-online-login-panel .rcp_form input[type="password"] { min-height: 48px; color: #172637; font: inherit; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_lost_password a { color: #172637; text-decoration: underline; text-decoration-color: #708f25; text-underline-offset: 4px; }
body.jpf-rcp-surface .jpf-online-login-panel :is(.rcp_error, .rcp_success, .rcp_message) { padding: 16px; margin: 18px 0; border: 1px solid #dbe4e8; border-radius: 10px; background: #f4f9e4; color: #425462; }
body.jpf-rcp-surface .jpf-online-login-panel .rcp_error { background: #fff5f3; border-color: #e8b9b5; color: #83352f; }
body.jpf-rcp-surface .rcp_form input:disabled { opacity: .65; cursor: wait; }

/* Classroom components use the existing JP Online palette. */
body.jpf-rcp-surface .jpf-course-hub__hero { padding: 0 0 24px; border: 0; border-bottom: 1px solid #dbe4e8; border-radius: 0; background: transparent; box-shadow: none; }
body.jpf-rcp-surface .jpf-course-hub__hero::after { display: none; }
body.jpf-rcp-surface .jpf-course-hub__hero-user { border: 0; background: transparent; box-shadow: none; }
body.jpf-rcp-surface .jpf-course-hub__hero .jpf-course-hub__title { font-size: 1.6rem; }
body.jpf-rcp-surface .jpf-course-hub__summary { background: #fff; border-color: #dbe4e8; box-shadow: none; }
body.jpf-rcp-surface .jpf-course-hub__summary-pct { color: #172637; }
body.jpf-rcp-surface .jpf-course-hub__summary-bar-fill, body.jpf-rcp-surface .jpf-course-hub__card-progress-fill { background: #a7c947; }
body.jpf-rcp-surface .jpf-course-hub__nav-label, body.jpf-rcp-surface .jpf-course-hub__nav-taxonomy-label { color: #5c6c78; }
body.jpf-rcp-surface .jpf-course-hub__nav-link.is-active { color: #172637; background: #eef5d6; border-color: #c8df91; box-shadow: none; }
body.jpf-rcp-surface .jpf-course-hub__nav-link:hover { color: #172637; background: #f4f9e4; }
body.jpf-rcp-surface .jpf-course-hub__card { background: #fff; border-color: #dbe4e8; box-shadow: none; }
body.jpf-rcp-surface .jpf-course-hub__card-img--placeholder { background: #eef3f5; }
body.jpf-rcp-surface .jpf-course-hub__card-title a, body.jpf-rcp-surface .jpf-course-hub__card-link { color: #172637; }
body.jpf-rcp-surface .jpf-course-hub__card-favorite .jpf-favorite__btn { color: #172637; background: #f4f9e4; border-color: #c8df91; }
body.jpf-rcp-surface .jpf-member-level-badge { color: #344b10; background: #eef5d6; border-color: #c8df91; }
body.jpf-rcp-surface .jpf-saas-dashboard__hero { background: #fff; border-color: #dbe4e8; }

@media (max-width: 760px) {
	.jpf-rcp-page__navigation { gap: 4px; margin-bottom: 20px; }
	.jpf-rcp-page__navigation .jpf-member-nav { flex-basis: 100%; }
	.jpf-rcp-page__navigation .jpf-member-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jpf-rcp-page__navigation .jpf-member-nav__link { width: 100%; padding: 10px; font-size: .82rem; }
	.jpf-rcp-page__logout { margin-left: auto; }
	body.jpf-rcp-surface .jpf-user-profile__hero-main { flex-wrap: wrap; }
	body.jpf-rcp-surface .jpf-user-profile__tabs { display: flex; flex-wrap: wrap; gap: 4px; }
	body.jpf-rcp-surface .jpf-user-profile__tab { min-height: 44px; }
	body.jpf-rcp-surface .jpf-user-profile__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	body.jpf-rcp-surface .jpf-user-profile__kpi { min-width: 0; padding: 14px; }
	body.jpf-rcp-surface .jpf-course-hub__hero { flex-wrap: wrap; gap: 14px; }
}

body.jpf-rcp-surface .jpf-rcp-page__navigation a.jpf-member-nav__link { text-decoration: none; }
body.jpf-rcp-surface .site-main .jpf-rcp-page__panel .rcp_form input[type="submit"].rcp-button,
body.jpf-rcp-surface .site-main .jpf-rcp-page__panel .rcp_form input[type="submit"].rcp-button:hover { background: #d7f36f; color: #172637; border-color: transparent; }
body.jpf-rcp-surface .site-main .jpf-rcp-page__panel .rcp_form input[type="submit"].rcp-button:hover { background: #c5e759; }
body.jpf-rcp-surface .jpf-online-login-panel #rcp_login_submit,
body.jpf-rcp-surface .jpf-online-login-panel #rcp_lostpassword_submit,
body.jpf-rcp-surface .jpf-online-login-panel #rcp_password_submit { background: #d7f36f; color: #172637; }
body.jpf-rcp-surface .jpf-online-login-panel :is(#rcp_login_submit, #rcp_lostpassword_submit, #rcp_password_submit):hover { background: #c5e759; }
