/* Mi progreso: comparte el lenguaje visual de Mi aula y JP Online. */
body.jpf-rcp-surface .jpf-rcp-page--progress { --jpf-brand: #172637; --jpf-brand-dark: #263d50; --jpf-brand-light: #eef5d6; --jpf-accent: #a7c947; --jpf-accent-soft: #eef5d6; --jpf-text: #172637; --jpf-text-muted: #526572; --jpf-border: #dbe4e8; --jpf-border-soft: #e9eff2; --jpf-surface-muted: #f3f7f8; }
body.jpf-rcp-surface .jpf-rcp-page--progress ::selection { background: #d7f36f; color: #172637; }
body.jpf-rcp-surface .jpf-rcp-page--progress :focus-visible { outline: 3px solid #789a2a; outline-offset: 4px; }
body.jpf-rcp-surface .jpf-rcp-page--progress [hidden] { display: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__hero { padding-bottom: 38px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__top { margin-bottom: 40px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__content { max-width: none; padding-top: 26px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__navigation { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-nav { flex: 1; min-width: 0; margin: 0; padding: 6px; border: 1px solid #dbe4e8; border-radius: 12px; background: #fff; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-nav__list { flex-wrap: wrap; }
body.jpf-rcp-surface .jpf-rcp-page--progress a.jpf-member-nav__link { display: flex; align-items: center; min-height: 42px; padding: 8px 15px; color: #526572; background: transparent; border: 0; border-radius: 8px; text-decoration: none; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress a.jpf-member-nav__link:hover { background: #eef5d6; color: #172637; }
body.jpf-rcp-surface .jpf-rcp-page--progress a.jpf-member-nav__link.is-active { background: #172637; color: #fff; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__logout { color: #526572; font-size: .875rem; white-space: nowrap; text-underline-offset: 4px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__panel,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-shell,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-area--profile { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-family: inherit; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile { color: #172637; font-family: inherit; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__hero { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin: 0 0 26px; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__hero-main { display: flex; align-items: center; gap: 18px; min-width: 0; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__avatar { flex-shrink: 0; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__avatar img { width: 56px; height: 56px; border-radius: 50%; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__identity { min-width: 0; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__name { margin: 0 0 4px; color: #172637; font-size: 1.75rem; overflow-wrap: anywhere; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__email { margin: 0; color: #526572; font-size: .9rem; overflow-wrap: anywhere; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__meta { margin: 6px 0 0; color: #526572; font-size: .8rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__actions { margin-top: 12px; }
body.jpf-rcp-surface .jpf-rcp-page--progress a.jpf-user-profile__edit-link { color: #172637; font-size: .85rem; font-weight: 650; text-decoration: underline; text-decoration-color: #a7c947; text-underline-offset: 4px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__level { margin: 0; padding: 6px 12px; color: #344b10; background: #eef5d6; border: 1px solid #d3e4aa; border-radius: 8px; font-size: .8rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0 0 30px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi { min-width: 0; min-height: 108px; padding: 20px; border: 1px solid #dbe4e8; border-radius: 12px; background: #fff; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi-label { margin-bottom: 8px; color: #526572; font-size: .85rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi-value { color: #172637; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__bar,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi-bar { height: 6px; margin-top: 12px; border-radius: 6px; background: #e7edf0; overflow: hidden; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__bar-fill,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi-bar-fill { background: #a7c947; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0 0 12px; background: transparent; border: 0; border-bottom: 1px solid #dbe4e8; border-radius: 0; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tab { min-height: 44px; padding: 10px 18px; color: #526572; border: 0; border-radius: 8px; background: transparent; box-shadow: none; font-family: inherit; font-size: .9rem; font-weight: 650; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tab:hover { color: #172637; background: #eef5d6; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tab.is-active { color: #172637; background: #d7f36f; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel { margin: 0; padding: 24px; color: #172637; border: 1px solid #dbe4e8; border-radius: 12px; background: #fff; box-shadow: none; min-width: 0; overflow-x: auto; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"],
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="programas"] { padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"][hidden] { display: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] > section { margin: 0; padding: 24px; border: 1px solid #dbe4e8; border-radius: 12px; background: #fff; box-shadow: none; min-width: 0; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] > section:last-child { grid-column: 1 / -1; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__section h3,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-area__block h3 { margin: 0 0 12px; color: #172637; font-size: 1.25rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__stat { margin: 0; color: #526572; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__hint,
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-area__hint { max-width: 70ch; margin: 12px 0 0; color: #526572; font-size: .9rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__empty { margin: 0; color: #526572; font-size: .95rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-card { margin: 0; padding: 22px; border: 1px solid #dbe4e8; border-radius: 12px; background: #fff; box-shadow: none; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-head { display: flex; flex-direction: column; align-items: start; gap: 12px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-title { margin: 0; color: #172637; font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-title a { color: #172637; text-decoration: underline; text-decoration-color: #a7c947; text-underline-offset: 4px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-title a:hover { text-decoration-color: #172637; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-cats { margin: 12px 0 0; color: #526572; font-size: .8rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__status { display: inline-flex; padding: 5px 9px; border-radius: 7px; font-size: .75rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__status--pending { color: #705013; background: #faf1d7; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__status--completed { color: #344b10; background: #eef5d6; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__status--in-progress { color: #263d50; background: #e8f0f5; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__favorite-tag { color: #344b10; background: #eef5d6; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__accordion-item { border-color: #dbe4e8; border-radius: 10px; overflow: hidden; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__accordion-summary { background: #f3f7f8; color: #172637; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__accordion-body { overflow-x: auto; }
body.jpf-rcp-surface .jpf-rcp-page--progress :is(.jpf-user-profile__history-table, .jpf-user-profile__sessions-table, .jpf-user-profile__payments-table) { width: 100%; margin: 0; border-collapse: collapse; color: #526572; font-size: .9rem; font-variant-numeric: tabular-nums; }
body.jpf-rcp-surface .jpf-rcp-page--progress :is(.jpf-user-profile__history-table, .jpf-user-profile__sessions-table, .jpf-user-profile__payments-table) th { padding: 12px 14px; background: #f3f7f8; color: #172637; border-color: #dbe4e8; text-align: left; }
body.jpf-rcp-surface .jpf-rcp-page--progress :is(.jpf-user-profile__history-table, .jpf-user-profile__sessions-table, .jpf-user-profile__payments-table) td { padding: 12px 14px; border-color: #e9eff2; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__section + .jpf-user-profile__section { margin-top: 28px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] .jpf-user-profile__section { margin-top: 0; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-teacher { margin: 40px 0 0; padding: 30px; background: #fff; border-color: #dbe4e8; border-radius: 12px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-teacher h2 { color: #172637; font-size: 1.75rem; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-teacher-form button { background: #d7f36f; color: #172637; border-radius: 8px; }
body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-teacher-form button:hover { background: #c5e759; }
@media (max-width: 1000px) {
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-rcp-page__navigation { align-items: start; flex-direction: column; gap: 10px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-member-nav { width: 100%; }
}
@media (max-width: 760px) {
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__hero { flex-direction: column; gap: 14px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__hero-main { flex-wrap: wrap; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__name { font-size: 1.5rem; }
 body.jpf-rcp-surface .jpf-rcp-page--progress a.jpf-member-nav__link { padding: 9px 10px; font-size: .8rem; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__kpi { padding: 16px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tabs { flex-wrap: wrap; gap: 4px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__tab { padding: 10px 12px; font-size: .85rem; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__programs,
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] { grid-template-columns: minmax(0, 1fr); }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel,
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"] > section,
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__program-card,
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-teacher { padding: 20px; }
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="resumen"],
 body.jpf-rcp-surface .jpf-rcp-page--progress .jpf-user-profile__panel[data-jpf-profile-panel="programas"] { padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
 body.jpf-rcp-surface .jpf-rcp-page--progress *, body.jpf-rcp-surface .jpf-rcp-page--progress *::before, body.jpf-rcp-surface .jpf-rcp-page--progress *::after { transition: none; scroll-behavior: auto; }
}
