/* NÚCLEO 0.2 — mobile-first */
.nucleo-app{--nucleo-ink:#162033;--nucleo-muted:#718096;--nucleo-bg:#f6f7f4;--nucleo-card:#fff;--nucleo-accent:#c8a65a;--nucleo-blue:#203a63;max-width:980px;margin:0 auto;padding:20px 16px 100px;color:var(--nucleo-ink);font-family:inherit}
.nucleo-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.nucleo-topbar h1{margin:4px 0 2px;font-size:clamp(24px,5vw,34px);line-height:1.1}
.nucleo-topbar p{margin:0;color:var(--nucleo-muted)}
.nucleo-eyebrow,.nucleo-card-label{display:block;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--nucleo-muted)}
.nucleo-streak,.nucleo-points{white-space:nowrap;background:#fff;border:1px solid rgba(22,32,51,.08);border-radius:999px;padding:10px 13px;font-weight:700}
.nucleo-hero-card,.nucleo-card{background:var(--nucleo-card);border:1px solid rgba(22,32,51,.07);border-radius:22px;box-shadow:0 14px 40px rgba(22,32,51,.06);padding:22px;margin-bottom:16px}
.nucleo-hero-card{color:#fff;background:linear-gradient(135deg,#203a63,#2d527f)}
.nucleo-hero-card .nucleo-card-label,.nucleo-hero-card .nucleo-reference,.nucleo-hero-card .nucleo-translation{color:rgba(255,255,255,.72)}
.nucleo-hero-card blockquote{margin:16px 0 10px;font-size:clamp(25px,6vw,42px);line-height:1.18;font-weight:600}
.nucleo-reference{margin-bottom:4px}.nucleo-translation{font-size:13px;margin-bottom:18px}
.nucleo-grid{display:grid;grid-template-columns:1fr;gap:16px}
.nucleo-icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;background:var(--nucleo-bg);border-radius:14px;margin-bottom:14px;font-size:21px}
.nucleo-card h2{margin:6px 0 8px;font-size:23px}.nucleo-card p{color:var(--nucleo-muted);line-height:1.6}
.nucleo-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;background:#3f5bea;color:#fff!important;padding:12px 17px;font-weight:800;text-decoration:none!important;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.nucleo-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(63,91,234,.28)}
.nucleo-button-light{background:var(--nucleo-bg)}
.nucleo-challenge{display:flex;align-items:center;justify-content:space-between;gap:18px}
.nucleo-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.nucleo-members{display:grid;grid-template-columns:1fr;gap:14px;margin:0 0 20px;min-width:0;width:100%}
.nucleo-member{min-width:0;width:100%;box-sizing:border-box}
.nucleo-family-member{display:grid;grid-template-columns:56px minmax(0,1fr);grid-template-areas:"avatar info" "avatar actions";column-gap:14px;row-gap:14px;align-items:start;padding:16px;background:#fbfcff;border:1px solid var(--n2-border,rgba(22,32,51,.09));border-radius:20px;box-shadow:0 6px 18px rgba(30,40,80,.035);overflow:hidden}
.nucleo-family-member>.nucleo-avatar{grid-area:avatar;width:56px;height:56px;flex-basis:56px}
.nucleo-avatar{width:42px;height:42px;flex:0 0 42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#e7ddc4;color:#665126;font-weight:800}.nucleo-avatar img,.nucleo-progress-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.nucleo-member strong,.nucleo-member small{display:block}.nucleo-member small{color:var(--nucleo-muted);margin-top:4px;line-height:1.45}
.nucleo-inline-form{display:grid;grid-template-columns:1fr;gap:9px}
.nucleo-inline-form input,.nucleo-inline-form select{width:100%;box-sizing:border-box;border:1px solid #dfe4ea;border-radius:12px;padding:12px 13px;background:#fff}
.nucleo-message{margin-top:10px;font-size:14px}.nucleo-muted{color:var(--nucleo-muted)}
.nucleo-login-card{max-width:520px;margin:30px auto;padding:32px;text-align:center;background:#fff;border-radius:22px;box-shadow:0 14px 40px rgba(22,32,51,.06)}
@media(min-width:720px){.nucleo-app{padding:34px 24px 100px}.nucleo-grid{grid-template-columns:1fr 1fr}.nucleo-inline-form{grid-template-columns:1.5fr 1.2fr .7fr 1fr auto;align-items:center}}

.nucleo-hero-card blockquote.is-medium{font-size:clamp(23px,4.8vw,34px)}
.nucleo-hero-card blockquote.is-long{font-size:clamp(20px,4vw,29px);line-height:1.25}
.nucleo-detail-panel{background:#fff;border:1px solid rgba(22,32,51,.08);border-radius:22px;padding:24px;margin:16px 0;box-shadow:0 12px 34px rgba(22,32,51,.06)}
.nucleo-detail-panel[hidden]{display:none}
.nucleo-detail-head{display:flex;justify-content:space-between;align-items:center}.nucleo-close{border:0;background:#f2f3f1;border-radius:50%;width:36px;height:36px;font-size:22px;cursor:pointer}.nucleo-detail-ref{color:var(--nucleo-muted);margin:8px 0 18px}.nucleo-richtext{font-size:17px;line-height:1.75}.nucleo-prompt{margin-top:18px;padding:16px;background:var(--nucleo-bg);border-radius:16px}.nucleo-prompt p{margin-bottom:0}.nucleo-activity-question{font-size:19px;color:var(--nucleo-ink)!important}.nucleo-options{display:grid;gap:10px;margin:18px 0}.nucleo-options label{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e0e4e8;border-radius:13px;cursor:pointer}.nucleo-options label:has(input:checked){border-color:#c8a65a;background:#faf7ef}.nucleo-options input{accent-color:#c8a65a}
@media(max-width:719px){.nucleo-hero-card blockquote.is-short{font-size:28px}.nucleo-hero-card blockquote.is-medium{font-size:24px}.nucleo-hero-card blockquote.is-long{font-size:21px}.nucleo-challenge{display:block}.nucleo-challenge .nucleo-button{margin-top:10px}}

.nucleo-detail-panel{background:#fff;border:1px solid rgba(22,32,51,.08);border-radius:22px;box-shadow:0 14px 40px rgba(22,32,51,.07);padding:24px;margin:16px 0;scroll-margin-top:30px}
.nucleo-detail-panel[hidden]{display:none}
.nucleo-detail-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.nucleo-close{width:38px;height:38px;border:0;border-radius:50%;background:#f3f4f1;font-size:25px;cursor:pointer}
.nucleo-detail-panel h2{margin:10px 0 8px}
.nucleo-detail-ref{color:#718096;font-weight:700;margin-bottom:14px}
.nucleo-richtext{color:#293548;line-height:1.75;font-size:16px}
.nucleo-prompt{margin-top:16px;padding:16px;background:#f7f7f3;border-radius:16px}
.nucleo-prompt p{margin-bottom:0}
.nucleo-activity-question{font-size:18px;font-weight:600;color:#293548}
.nucleo-options{display:grid;gap:10px;margin:18px 0}
.nucleo-options label{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid #dfe4ea;border-radius:14px;cursor:pointer}
.nucleo-options label:hover{background:#fafaf7}

.nucleo-completed-badge{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:7px 11px;border-radius:999px;background:#eef7ef;color:#2f855a;font-size:13px;font-weight:800}
.nucleo-button-completed{opacity:.72;cursor:default}
.nucleo-challenge .nucleo-button{white-space:nowrap}

.nucleo-member-main{grid-area:info;display:flex;flex-direction:column;gap:5px;min-width:0}
.nucleo-family-member-name{min-width:0}
.nucleo-family-member-name strong{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
.nucleo-member-status{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 9px;border-radius:999px;background:#f5f0e4;font-size:11px;color:#8b7a52;font-weight:800;white-space:normal;line-height:1.35}
.nucleo-member-status.is-active{background:#eaf6ed;color:#2f855a}
.nucleo-member-actions{grid-area:actions;display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;min-width:0;width:100%;margin:0}
.nucleo-family-member-actions .nucleo-button{flex:0 1 auto;min-width:0}
.nucleo-button-small{padding:10px 14px;font-size:13px}
.nucleo-invite-card{max-width:720px;margin:0 auto}

.nucleo-progress-dashboard{margin-top:4px}
.nucleo-my-progress{display:flex;gap:16px;align-items:center;padding:18px;border-radius:18px;background:#f7f7f5;margin-bottom:18px}
.nucleo-progress-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#ead9b4;font-weight:800;color:#243f68}
.nucleo-progress-main{flex:1;min-width:0}
.nucleo-progress-main>strong{font-size:18px}
.nucleo-progress-metrics{display:flex;flex-wrap:wrap;gap:12px;margin-top:7px;color:#627594;font-size:14px}
.nucleo-achievements{display:flex;gap:7px;margin-top:9px}
.nucleo-achievements span{font-size:20px}
.nucleo-family-progress-list{display:flex;flex-direction:column;gap:15px}
.nucleo-progress-row{display:flex;gap:12px;align-items:center}
.nucleo-progress-row-main{flex:1;min-width:0}
.nucleo-progress-row-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}
.nucleo-progress-row-head span{font-weight:700}
.nucleo-progress-bar{height:8px;background:#ecebe7;border-radius:99px;overflow:hidden}
.nucleo-progress-bar span{display:block;height:100%;background:#c9a657;border-radius:99px}
.nucleo-progress-row small{display:block;color:#71809a;margin-top:6px}
@media(max-width:600px){
 .nucleo-my-progress{align-items:flex-start}
 .nucleo-progress-metrics{gap:7px;flex-direction:column}
}

.nucleo-family-goal{padding:18px 20px;border-radius:18px;background:#f7f7f5;margin-bottom:18px}
.nucleo-goal-head{display:flex;justify-content:space-between;gap:20px;align-items:center}
.nucleo-goal-head div{display:flex;flex-direction:column;gap:4px}
.nucleo-goal-head small{color:#71809a}
.nucleo-goal-head>b{font-size:22px;color:#243f68}
.nucleo-goal-bar{margin-top:12px}
.nucleo-family-goal p{margin:9px 0 0;color:#627594}
.nucleo-goal-empty{color:#243f68}
.nucleo-level-line{display:flex;justify-content:space-between;gap:12px;align-items:center}
.nucleo-level-line>span{font-weight:700;color:#243f68}
.nucleo-rewards{margin-top:25px;padding-top:22px;border-top:1px solid #ecebe7}
.nucleo-rewards h3{margin:6px 0 15px}
.nucleo-rewards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.nucleo-reward{padding:16px;border:1px solid #e5e4df;border-radius:16px;background:#fff}
.nucleo-reward>div{display:flex;justify-content:space-between;gap:10px}
.nucleo-reward>div span{font-weight:700}
.nucleo-reward p{color:#71809a;margin:7px 0 12px}
.nucleo-reward-status{display:inline-block;color:#627594;font-size:14px}
.nucleo-reward.is-redeemed{opacity:.7;background:#f7f7f5}
.nucleo-redeem-reward{margin-top:8px}
@media(max-width:700px){.nucleo-rewards-grid{grid-template-columns:1fr}.nucleo-goal-head{align-items:flex-start}}

.nucleo-personalized{margin-top:22px}
.nucleo-personalized-intro{color:#687b9a;max-width:760px;margin-top:-6px}
.nucleo-age-badge{display:inline-flex;align-items:center;padding:9px 14px;border:1px solid #e4e5e2;border-radius:999px;font-weight:700;color:#243f68;background:#fafaf8}
.nucleo-personalized-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}
.nucleo-personalized-card{padding:20px;border:1px solid #e7e6e2;border-radius:18px;background:#fbfbf9}
.nucleo-personalized-card h3{margin:10px 0 8px;font-size:22px}
.nucleo-personalized-card p{color:#687b9a;min-height:48px}
@media(max-width:700px){.nucleo-personalized-grid{grid-template-columns:1fr}.nucleo-age-badge{font-size:13px}}

.nucleo-daily-card{margin-top:22px}
.nucleo-daily-intro{color:#687b9a}
.nucleo-daily-count{font-weight:800;color:#243f68}
.nucleo-daily-progress{height:8px;background:#ecece8;border-radius:99px;overflow:hidden;margin:15px 0 18px}
.nucleo-daily-progress>span{display:block;height:100%;width:0;background:#243f68;border-radius:99px;transition:width .3s ease}
.nucleo-daily-steps{display:grid;gap:10px}
.nucleo-daily-step{display:grid;grid-template-columns:44px 1fr auto;gap:13px;align-items:center;padding:14px;border:1px solid #e5e5e0;border-radius:16px;background:#fff}
.nucleo-daily-step-icon{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#f5f5f1;font-size:20px}
.nucleo-daily-step-body h3{margin:3px 0 0;font-size:17px}
.nucleo-daily-step.is-done{background:#f7faf7}
.nucleo-daily-step.is-done .nucleo-daily-step-icon{background:#e8f2ea}
.nucleo-daily-complete{margin-top:18px;padding:17px;border-radius:16px;background:#f5f7f3;color:#243f68}
.nucleo-daily-complete span{display:block;color:#687b9a;margin-top:4px}
@media(max-width:650px){.nucleo-daily-step{grid-template-columns:38px 1fr}.nucleo-daily-step-icon{width:38px;height:38px}.nucleo-daily-step .nucleo-button{grid-column:2;justify-self:start}}


/* NÚCLEO 0.8.2 — unified daily experience */
.nucleo-daily-experience{display:grid;gap:18px;margin-top:18px}
.nucleo-daily-verse{background:#294b78;color:#fff;border:0;overflow:hidden}
.nucleo-daily-verse .nucleo-card-label{color:rgba(255,255,255,.82)}
.nucleo-daily-verse blockquote{margin:18px 0 10px;padding-left:18px;border-left:5px solid #43b5ee;font-size:clamp(25px,3.4vw,46px);line-height:1.15;font-weight:700}
.nucleo-daily-verse .nucleo-reference,.nucleo-daily-verse .nucleo-translation{color:rgba(255,255,255,.78)}


/* NÚCLEO 0.10.0 — actividad interactiva */
.nucleo-activity-modal{max-width:760px;margin:22px auto;padding:30px;border-radius:24px;border:1px solid rgba(22,32,51,.10);box-shadow:0 20px 55px rgba(22,32,51,.10);scroll-margin-top:24px}
.nucleo-activity-kicker{display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:#294b78;font-weight:800;font-size:14px;letter-spacing:.04em}
.nucleo-activity-modal h2{font-size:clamp(28px,4vw,40px);margin:8px 0 12px}
.nucleo-activity-modal .nucleo-richtext{background:#fafaf8;border-radius:18px;padding:18px;margin:16px 0}
.nucleo-activity-modal .nucleo-options label{font-size:17px;transition:.18s ease}
.nucleo-activity-modal .nucleo-options label:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(22,32,51,.06)}
.nucleo-button-completed{background:#f1e2b8!important;color:#243f68!important;cursor:default!important}
.nucleo-activity-modal .nucleo-message{padding:12px 14px;border-radius:14px}


/* NÚCLEO 0.11.0 — nuevos tipos de actividad */
.nucleo-fill-label{display:block;margin:18px 0;color:#243f68;font-weight:700}
.nucleo-fill-label span{display:block;margin-bottom:8px}
.nucleo-fill-input{width:100%;box-sizing:border-box;padding:14px 15px;border:1px solid #dfe4ea;border-radius:14px;font-size:17px;background:#fff;color:#243f68;outline:none}
.nucleo-fill-input:focus{border-color:#c8a65a;box-shadow:0 0 0 3px rgba(200,166,90,.12)}
.nucleo-options input[type=checkbox]{accent-color:#c8a65a}
.nucleo-options label:has(input:checked){border-color:#c8a65a;background:#faf7ef}

/* Mi aprendizaje */
.nucleo-learning-hero{background:linear-gradient(135deg,#f7f2ff,#fff);border:1px solid rgba(165,153,251,.25);border-radius:28px;padding:32px;margin-bottom:20px}
.nucleo-learning-hero h1{margin:8px 0 10px;font-size:clamp(28px,4vw,44px);line-height:1.1}
.nucleo-learning-hero p{max-width:700px;color:#62606b}
.nucleo-learning-progress{margin-top:22px;max-width:620px}.nucleo-learning-progress>div:first-child{display:flex;justify-content:space-between;margin-bottom:8px}.nucleo-progress-track{height:10px;border-radius:999px;background:#eee9f8;overflow:hidden}.nucleo-progress-track span{display:block;height:100%;background:#a599fb;border-radius:999px;transition:width .3s ease}
.nucleo-learning-list{display:grid;gap:12px}.nucleo-learning-lesson{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid #eceaf2;border-radius:20px;background:#fff}.nucleo-learning-lesson.is-complete{background:#faf9ff}.nucleo-learning-number{width:42px;height:42px;border-radius:14px;background:#f0edff;display:grid;place-items:center;font-weight:700;flex:0 0 auto}.nucleo-learning-lesson-body{flex:1}.nucleo-learning-lesson-body h3{margin:3px 0 5px}.nucleo-learning-lesson-body p{margin:0;color:#6b6874}.nucleo-learning-panel{max-width:820px;margin:20px auto;padding:28px}.nucleo-learning-section{padding:20px 0;border-bottom:1px solid #eee}.nucleo-learning-section>span{display:block;font-weight:700;font-size:18px;margin-bottom:10px}.nucleo-learning-options{display:grid;gap:10px;margin:16px 0}.nucleo-learning-options label{padding:13px 15px;border:1px solid #e7e4ed;border-radius:14px;cursor:pointer}.nucleo-learning-options label:hover{background:#faf9ff}.nucleo-message.is-error{color:#b42318}.nucleo-message.is-success{color:#177245}
@media(max-width:680px){.nucleo-learning-lesson{align-items:flex-start;flex-wrap:wrap}.nucleo-learning-lesson .nucleo-button,.nucleo-learning-lesson .nucleo-completed-badge{margin-left:58px}.nucleo-learning-panel{padding:20px}}

.nucleo-learning-options label.is-selected{border-color:#c9a85a;background:#fbf6e9}.nucleo-learning-panel.is-complete .nucleo-learning-options label{opacity:.8}

.nucleo-learning-dashboard-link{position:relative;z-index:2;pointer-events:auto}

/* NÚCLEO v0.14.6 — plataforma sin título genérico del tema */
body.nucleo-platform-page .entry-title,
body.nucleo-platform-page .page-title,
body.nucleo-platform-page h1.entry-title,
body.nucleo-platform-page .wp-block-post-title {
    display:none !important;
}

/* Botones principales: azul NÚCLEO, con dorado reservado para acentos. */
.nucleo-button,
.nucleo-button:visited {
    background:#3f5bea !important;
    color:#fff !important;
}
.nucleo-button:hover,
.nucleo-button:focus {
    background:#334bd0 !important;
    color:#fff !important;
}

/* NÚCLEO v0.14.7 — elimina el título genérico del tema */
body.nucleo-platform-page .entry-header,
body.nucleo-platform-page .page-header,
body.nucleo-platform-page .page-title-wrap,
body.nucleo-platform-page .page-title-container,
body.nucleo-platform-page .et_pb_title_container,
body.nucleo-platform-page .et_pb_post_title,
body.nucleo-platform-page .wp-block-post-title,
body.nucleo-platform-page h1.entry-title {
    display:none !important;
}


/* NÚCLEO v0.14.8 — Perfil y navegación principal */
.nucleo-topbar-main{min-width:0;flex:1}
.nucleo-topbar-actions{display:flex;align-items:flex-start;justify-content:flex-end;gap:12px;flex-wrap:wrap}
.nucleo-nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.nucleo-nav a{display:inline-flex;align-items:center;padding:9px 11px;border-radius:10px;color:#294b78;text-decoration:none!important;font-size:13px;font-weight:700;transition:.18s ease}
.nucleo-nav a:hover,.nucleo-nav a:focus,.nucleo-nav a.is-active{background:#f0edff;color:#3f5bea}
.nucleo-profile-topbar{margin-bottom:18px}
.nucleo-profile-hero{display:flex;align-items:center;gap:22px;padding:28px}
.nucleo-profile-avatar-wrap{flex:0 0 auto}
.nucleo-profile-avatar{display:block;width:112px;height:112px;border-radius:50%;object-fit:cover;border:5px solid #f1e8d1;box-shadow:0 8px 24px rgba(22,32,51,.08)}
.nucleo-profile-intro h2{margin:5px 0 5px;font-size:30px}
.nucleo-profile-intro p{margin:0 0 10px;color:#718096}
.nucleo-profile-family{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f7f7f5;color:#294b78;font-weight:700}
.nucleo-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}
.nucleo-profile-grid label{display:flex;flex-direction:column;gap:7px}
.nucleo-profile-grid label>span{font-size:13px;font-weight:800;color:#294b78}
.nucleo-profile-grid input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #dfe4ea;border-radius:12px;background:#fff;color:#243f68;font-size:15px}
.nucleo-profile-grid input[readonly]{background:#f7f7f5;color:#718096}
.nucleo-profile-grid input:focus{outline:none;border-color:#a599fb;box-shadow:0 0 0 3px rgba(165,153,251,.13)}
.nucleo-profile-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.nucleo-profile-stat-grid>div{padding:18px;border:1px solid #eceaf2;border-radius:16px;background:#faf9ff}
.nucleo-profile-stat-grid strong{display:block;font-size:22px;color:#243f68}
.nucleo-profile-stat-grid span{display:block;margin-top:5px;color:#718096;font-size:13px}
.nucleo-profile-actions{display:flex;gap:10px;flex-wrap:wrap}
.nucleo-button-secondary{background:#fff!important;color:#294b78!important;border:1px solid #dfe4ea}
.nucleo-button-secondary:hover,.nucleo-button-secondary:focus{background:#f7f7f5!important;color:#3f5bea!important}
.nucleo-platform-page .nucleo-topbar a:focus-visible,.nucleo-platform-page .nucleo-button:focus-visible{outline:3px solid rgba(63,91,234,.22);outline-offset:2px}
@media(max-width:800px){.nucleo-topbar-actions{width:100%;justify-content:flex-start}.nucleo-nav{justify-content:flex-start}.nucleo-profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.nucleo-profile-hero{align-items:flex-start;flex-direction:column}.nucleo-profile-avatar{width:92px;height:92px}.nucleo-profile-grid{grid-template-columns:1fr}.nucleo-profile-stat-grid{grid-template-columns:1fr 1fr}.nucleo-nav a{padding:8px 9px;font-size:12px}}

/* Perfil: avatar editable */
.nucleo-avatar-form{display:flex;flex-direction:column;align-items:center;gap:5px;margin-top:10px}
.nucleo-avatar-upload{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:8px 12px;border:1px solid #dfe4ea;border-radius:999px;background:#fff;color:#294b78;font-weight:800;font-size:12px;transition:.2s}
.nucleo-avatar-upload:hover{background:#f7f7f5;border-color:#a599fb}
.nucleo-avatar-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.nucleo-avatar-upload.is-uploading{opacity:.6;pointer-events:none}
.nucleo-avatar-form small{color:#718096;font-size:11px;text-align:center}
@media(max-width:700px){.nucleo-profile-hero{align-items:flex-start;flex-direction:column}.nucleo-profile-avatar-wrap{width:100%}.nucleo-profile-avatar-form{align-items:flex-start}.nucleo-profile-grid{grid-template-columns:1fr}.nucleo-profile-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* NÚCLEO v0.15.0 — responsive mobile full-width layout */
*, .nucleo-app, .nucleo-app * { box-sizing: border-box; }
@media (max-width:719px){
    html, body { max-width:100%; overflow-x:hidden; }
    body.nucleo-platform-page { overflow-x:hidden; }
    body.nucleo-platform-page .nucleo-app{
        width:100vw;
        max-width:none;
        margin-left:calc(50% - 50vw);
        margin-right:calc(50% - 50vw);
        padding:16px 12px 80px;
    }
    .nucleo-topbar,
    .nucleo-profile-topbar{
        width:100%;
        flex-direction:column;
        align-items:stretch;
        gap:12px;
        margin-bottom:18px;
    }
    .nucleo-topbar-main{width:100%;min-width:0;}
    .nucleo-topbar h1{
        font-size:clamp(25px,7.2vw,32px);
        line-height:1.12;
        overflow-wrap:anywhere;
    }
    .nucleo-topbar-actions{
        width:100%;
        display:flex;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
        gap:9px;
    }
    .nucleo-streak{
        align-self:flex-start;
        width:auto;
    }
    .nucleo-nav{
        width:100%;
        display:flex;
        flex-wrap:nowrap;
        justify-content:flex-start;
        align-items:center;
        gap:5px;
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding:2px 0 5px;
    }
    .nucleo-nav::-webkit-scrollbar{display:none}
    .nucleo-nav a{
        flex:0 0 auto;
        white-space:nowrap;
        padding:9px 10px;
        font-size:12px;
    }
    .nucleo-hero-card,
    .nucleo-card{
        width:100%;
        margin-left:0;
        margin-right:0;
        border-radius:18px;
        padding:18px;
    }
    .nucleo-hero-card blockquote,
    .nucleo-hero-card blockquote.is-short,
    .nucleo-hero-card blockquote.is-medium,
    .nucleo-hero-card blockquote.is-long{
        font-size:clamp(22px,6.1vw,29px);
        line-height:1.22;
        overflow-wrap:anywhere;
    }
    .nucleo-profile-hero{width:100%;}
    .nucleo-profile-avatar-wrap{width:100%;}
    .nucleo-profile-intro{width:100%;}
    .nucleo-profile-grid{grid-template-columns:1fr;}
    .nucleo-grid,.nucleo-personalized-grid{grid-template-columns:1fr;}
}


/* NÚCLEO v0.15.1 — mobile polish and standalone public experience */
body.nucleo-platform-page #wpadminbar{display:none !important;}
body.nucleo-platform-page{margin-top:0 !important;}

@media(max-width:719px){
    body.nucleo-platform-page .nucleo-app{
        width:100%;
        max-width:100%;
        margin:0;
        padding:14px 14px 72px;
    }

    body.nucleo-platform-page .nucleo-topbar,
    body.nucleo-platform-page .nucleo-profile-topbar{
        display:block;
        margin:0 0 18px;
    }

    body.nucleo-platform-page .nucleo-topbar-main{
        width:100%;
        margin-bottom:12px;
    }

    body.nucleo-platform-page .nucleo-topbar h1{
        margin:0 0 5px;
        font-size:32px;
        line-height:1.12;
    }

    body.nucleo-platform-page .nucleo-topbar-actions{
        display:block;
        width:100%;
    }

    body.nucleo-platform-page .nucleo-streak{
        display:inline-flex;
        margin-bottom:12px;
        padding:9px 13px;
    }

    body.nucleo-platform-page .nucleo-nav{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        width:100%;
        overflow:visible;
        padding:0;
    }

    body.nucleo-platform-page .nucleo-nav a{
        min-width:0;
        width:100%;
        justify-content:center;
        text-align:center;
        white-space:normal;
        padding:10px 7px;
        border:1px solid #eceaf2;
        background:#fff;
        border-radius:12px;
        font-size:12px;
        line-height:1.2;
    }

    body.nucleo-platform-page .nucleo-nav a.is-active{
        border-color:transparent;
        background:#f0edff;
    }

    body.nucleo-platform-page .nucleo-nav a:last-child{
        grid-column:1 / -1;
    }

    body.nucleo-platform-page .nucleo-card,
    body.nucleo-platform-page .nucleo-hero-card{
        width:100%;
        max-width:100%;
        margin-left:0;
        margin-right:0;
    }

    body.nucleo-platform-page .nucleo-profile-hero{
        padding:20px;
        gap:18px;
    }
}

@media(min-width:720px){
    body.nucleo-platform-page #wpadminbar{display:none !important;}
}


/* NÚCLEO v0.15.2 — mobile full-bleed + perfil refinado */
@media (max-width:719px){
    body.nucleo-platform-page .nucleo-app{
        width:100vw;
        max-width:none;
        margin-left:calc(50% - 50vw);
        margin-right:calc(50% - 50vw);
        padding:16px 14px 80px;
    }

    body.nucleo-platform-page .nucleo-profile-topbar{
        padding-left:2px;
        padding-right:2px;
    }

    body.nucleo-platform-page .nucleo-profile-hero{
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:16px;
        padding:26px 20px 24px;
        overflow:hidden;
        background:linear-gradient(180deg,#fbf9ff 0%,#fff 62%);
        border-color:rgba(165,153,251,.18);
    }

    body.nucleo-platform-page .nucleo-profile-hero::before{
        content:"";
        position:absolute;
        top:-90px;
        left:50%;
        width:230px;
        height:230px;
        transform:translateX(-50%);
        border-radius:50%;
        background:rgba(165,153,251,.10);
        pointer-events:none;
    }

    body.nucleo-platform-page .nucleo-profile-avatar-wrap{
        position:relative;
        z-index:1;
        width:auto;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    body.nucleo-platform-page .nucleo-profile-avatar{
        width:116px;
        height:116px;
        border:5px solid #fff;
        box-shadow:0 8px 24px rgba(22,32,51,.14),0 0 0 3px #efe6c9;
    }

    body.nucleo-platform-page .nucleo-avatar-form{
        margin-top:13px;
        gap:6px;
    }

    body.nucleo-platform-page .nucleo-avatar-upload{
        min-height:42px;
        padding:9px 16px;
        border-color:#e2def0;
        background:#fff;
        box-shadow:0 5px 14px rgba(22,32,51,.05);
        font-size:13px;
    }

    body.nucleo-platform-page .nucleo-avatar-form small{
        font-size:11px;
    }

    body.nucleo-platform-page .nucleo-profile-intro{
        position:relative;
        z-index:1;
        width:100%;
    }

    body.nucleo-platform-page .nucleo-profile-intro .nucleo-card-label{
        margin-bottom:7px;
    }

    body.nucleo-platform-page .nucleo-profile-intro h2{
        margin:0 0 6px;
        font-size:28px;
        line-height:1.15;
    }

    body.nucleo-platform-page .nucleo-profile-intro p{
        margin:0 0 12px;
        font-size:14px;
        overflow-wrap:anywhere;
    }

    body.nucleo-platform-page .nucleo-profile-family{
        justify-content:center;
        padding:8px 13px;
        font-size:13px;
    }

    body.nucleo-platform-page .nucleo-nav{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    body.nucleo-platform-page .nucleo-nav a{
        min-height:44px;
        padding:10px 8px;
        border-radius:13px;
        font-size:12.5px;
    }

    body.nucleo-platform-page .nucleo-nav a:last-child{
        grid-column:1 / -1;
    }

    body.nucleo-platform-page .nucleo-profile-grid{
        gap:12px;
    }

    body.nucleo-platform-page .nucleo-profile-grid input{
        min-height:46px;
        font-size:16px;
    }

    body.nucleo-platform-page .nucleo-profile-form > .nucleo-button{
        width:100%;
        min-height:46px;
    }
}

@media (min-width:720px){
    body.nucleo-platform-page .nucleo-profile-hero{
        min-height:190px;
    }
}

/* NÚCLEO v0.16.0 — ruta de aprendizaje y módulos */
.nucleo-module-list{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.nucleo-module-card{display:grid;grid-template-columns:58px minmax(0,1fr);gap:15px;align-items:center;padding:17px;border:1px solid #e7e7ef;border-radius:17px;background:#fff;transition:.18s ease;position:relative;overflow:hidden}
.nucleo-module-card::after{content:"";position:absolute;left:29px;bottom:-16px;width:2px;height:16px;background:#e7e3f1}
.nucleo-module-card:last-child::after{display:none}
.nucleo-module-card.is-active{border-color:rgba(165,153,251,.48);background:linear-gradient(135deg,#fbf9ff 0%,#fff 72%);box-shadow:0 8px 24px rgba(63,91,234,.06)}
.nucleo-module-card.is-locked{opacity:.72;background:#fafafa}
.nucleo-module-icon{width:58px;height:58px;border-radius:17px;display:flex;align-items:center;justify-content:center;background:#f0edff;font-size:26px;box-shadow:inset 0 0 0 1px rgba(165,153,251,.12)}
.nucleo-module-card.is-locked .nucleo-module-icon{background:#f1f2f4;filter:grayscale(.3)}
.nucleo-module-body{min-width:0}
.nucleo-module-topline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.nucleo-module-topline span{font-size:10px;letter-spacing:.08em;font-weight:800;color:#7b8494}
.nucleo-module-topline strong{font-size:11px;color:#53658a;background:#f7f7f5;padding:5px 8px;border-radius:999px;white-space:nowrap}
.nucleo-module-card.is-active .nucleo-module-topline strong{background:#eeeaff;color:#4e56c9}
.nucleo-module-body h3{margin:0 0 4px;color:#243f68;font-size:18px;line-height:1.2}
.nucleo-module-body p{margin:0 0 10px;color:#718096;font-size:13px;line-height:1.45}
.nucleo-module-meta{display:flex;justify-content:space-between;gap:8px;color:#7b8494;font-size:11px;margin-bottom:6px}
.nucleo-learning-current{margin-top:18px}
.nucleo-learning-current .nucleo-personalized-intro{margin-bottom:15px}
.nucleo-empty-state{text-align:center;padding:28px 18px;border:1px dashed #deddea;border-radius:16px;background:#fbfbfd}
.nucleo-empty-state>div{font-size:30px;margin-bottom:7px}
.nucleo-empty-state h3{margin:0 0 5px;color:#294b78}
.nucleo-empty-state p{margin:0;color:#718096;font-size:13px}
@media(max-width:719px){
 .nucleo-module-card{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px;border-radius:15px}
 .nucleo-module-icon{width:48px;height:48px;border-radius:14px;font-size:22px}
 .nucleo-module-card::after{left:24px}
 .nucleo-module-body h3{font-size:16px}
 .nucleo-module-body p{font-size:12.5px}
 .nucleo-module-topline{align-items:flex-start}
 .nucleo-module-topline strong{font-size:10px;padding:4px 7px}
 .nucleo-learning-current{margin-top:14px}
}


/* NÚCLEO v0.16.1 — estructura visual de la ruta y responsive final */
.nucleo-learning-page{max-width:920px}
.nucleo-learning-hero{padding:30px 28px;border:1px solid rgba(165,153,251,.22);border-radius:24px;background:linear-gradient(135deg,#fbf9ff 0%,#fff 72%);box-shadow:0 14px 38px rgba(35,43,78,.06);margin-bottom:16px}
.nucleo-learning-hero h1{margin:7px 0 8px;font-size:clamp(30px,4vw,42px);line-height:1.12;color:#24303f;letter-spacing:-.02em}
.nucleo-learning-hero p{margin:0;color:#718096;line-height:1.6}
.nucleo-learning-progress{margin-top:24px}
.nucleo-learning-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px;color:#243f68;font-size:13px}
.nucleo-learning-progress>div:first-child span{font-weight:800}
.nucleo-progress-track{height:8px;background:#ecebf1;border-radius:999px;overflow:hidden}
.nucleo-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#a599fb,#8c7ff0);border-radius:999px;transition:width .35s ease}
.nucleo-learning-roadmap,.nucleo-learning-current{padding:26px}
.nucleo-learning-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0 4px}
.nucleo-learning-summary>div{padding:13px 15px;border:1px solid #eceaf2;border-radius:15px;background:#faf9fd}
.nucleo-learning-summary strong{display:block;color:#243f68;font-size:20px;line-height:1.1}
.nucleo-learning-summary span{display:block;margin-top:4px;color:#7b8494;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.nucleo-module-card.is-completed{border-color:#d8eadc;background:#fbfefb}
.nucleo-module-card.is-completed .nucleo-module-topline strong{background:#eef8f0;color:#2f855a}
.nucleo-learning-flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:2px 0 18px;padding:12px 14px;border:1px solid #eceaf2;border-radius:14px;background:#faf9fd;color:#53658a;font-size:11px;font-weight:800}
.nucleo-learning-flow span{white-space:nowrap}
.nucleo-learning-flow i{font-style:normal;color:#a599fb}
.nucleo-learning-list{gap:10px}
.nucleo-learning-lesson{min-height:92px}
.nucleo-learning-lesson-body h3{font-size:17px;color:#243f68}
.nucleo-learning-lesson-body p{font-size:13px;line-height:1.45}
@media(max-width:719px){
  body.nucleo-platform-page .nucleo-app.nucleo-learning-page{padding-left:12px;padding-right:12px}
  .nucleo-learning-hero{padding:22px 18px;border-radius:20px}
  .nucleo-learning-hero h1{font-size:29px}
  .nucleo-learning-roadmap,.nucleo-learning-current{padding:18px}
  .nucleo-learning-summary{gap:7px}
  .nucleo-learning-summary>div{padding:11px 10px}
  .nucleo-learning-summary strong{font-size:18px}
  .nucleo-learning-summary span{font-size:9px}
  .nucleo-learning-flow{gap:6px;padding:11px 12px;line-height:1.5}
  .nucleo-learning-flow i{display:none}
  .nucleo-learning-flow span{padding:5px 7px;border-radius:999px;background:#f0edff}
  .nucleo-module-card{grid-template-columns:46px minmax(0,1fr);gap:10px;padding:14px}
  .nucleo-module-icon{width:46px;height:46px}
  .nucleo-module-meta{font-size:10px}
  .nucleo-learning-lesson{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:10px;padding:14px}
  .nucleo-learning-number{width:40px;height:40px}
  .nucleo-learning-lesson .nucleo-button,.nucleo-learning-lesson .nucleo-completed-badge{grid-column:2;margin:0;justify-self:start}
}

/* NÚCLEO 0.17 — cuenta y onboarding */
.nucleo-auth-shell{max-width:620px;margin:0 auto;padding:30px 0}
.nucleo-auth-card{background:#fff;border:1px solid rgba(22,32,51,.08);border-radius:28px;box-shadow:0 18px 55px rgba(22,32,51,.08);padding:30px;max-width:560px;margin:0 auto;text-align:left}
.nucleo-auth-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#203a63,#3f5bea);color:#fff;font-size:26px;font-weight:900;margin-bottom:18px}
.nucleo-auth-card h1,.nucleo-auth-card h2{margin:8px 0 10px;color:var(--nucleo-ink)}
.nucleo-auth-card p{color:var(--nucleo-muted);line-height:1.65}
.nucleo-auth-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.nucleo-auth-form{display:grid;gap:14px;margin-top:22px}
.nucleo-auth-form label,.nucleo-onboarding-grid label{display:grid;gap:7px;color:var(--nucleo-ink);font-weight:700}
.nucleo-auth-form input,.nucleo-auth-form select,.nucleo-onboarding-grid input,.nucleo-onboarding-grid select{width:100%;box-sizing:border-box;border:1px solid rgba(22,32,51,.14);border-radius:12px;padding:12px 13px;background:#fff;font:inherit}
.nucleo-auth-form small{color:var(--nucleo-muted);font-weight:400}
.nucleo-check{display:flex!important;grid-template-columns:auto 1fr;align-items:flex-start;gap:9px!important;font-weight:500!important}
.nucleo-check input{width:auto!important;margin-top:3px}
.nucleo-auth-foot{text-align:center;margin-top:18px!important;font-size:14px}
.nucleo-auth-foot a{font-weight:800;color:#3f5bea}
.nucleo-onboarding-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:12px;margin:16px 0}
.nucleo-create-family{padding:26px}
.nucleo-create-family .nucleo-button{width:100%;margin-top:4px}
@media(max-width:640px){
 .nucleo-auth-card{padding:22px;border-radius:22px}
 .nucleo-auth-actions{grid-template-columns:1fr}
 .nucleo-onboarding-grid{grid-template-columns:1fr}
}

/* v0.17.6 — prevent cached personalized HTML from flashing before auth check */
html.nucleo-session-pending body:has(.nucleo-app:not(.nucleo-auth-page)) .nucleo-app { visibility:hidden !important; }

.nucleo-button-whatsapp{background:#2f855a}.nucleo-button-whatsapp:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}.nucleo-invite-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.nucleo-invite-actions .nucleo-button{min-width:170px}
@media(max-width:719px){.nucleo-invite-actions{display:grid}.nucleo-invite-actions .nucleo-button{width:100%}.nucleo-family-member-actions{display:grid;grid-template-columns:1fr 1fr}.nucleo-family-member-actions .nucleo-button{width:100%;min-width:0}.nucleo-family-member-actions .nucleo-button-danger{grid-column:1/-1}}

/* NÚCLEO 0.19.0 — bienvenida y configuración inicial del miembro */
.nucleo-onboarding-page{max-width:760px;margin:0 auto;padding:28px 0 44px}
.nucleo-onboarding-hero{padding:30px 30px 22px;text-align:left}
.nucleo-onboarding-hero .nucleo-auth-mark{margin-bottom:18px}
.nucleo-onboarding-hero h1{font-size:38px;line-height:1.12;margin:8px 0 12px;color:var(--nucleo-ink)}
.nucleo-onboarding-hero p{max-width:680px;margin:0;color:var(--nucleo-muted);font-size:16px;line-height:1.7}
.nucleo-onboarding-card{padding:28px;border-radius:24px}
.nucleo-onboarding-avatar-wrap{display:flex;align-items:center;gap:18px;padding:4px 0 22px;border-bottom:1px solid rgba(22,32,51,.08)}
.nucleo-onboarding-avatar{width:92px;height:92px;flex:0 0 92px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#efe7d3;color:#243f68;font-size:28px;font-weight:900;box-shadow:inset 0 0 0 4px #fff,0 0 0 2px #e7d6a9}
.nucleo-onboarding-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.nucleo-onboarding-avatar-wrap strong{display:block;color:var(--nucleo-ink);font-size:16px}
.nucleo-onboarding-avatar-wrap p{margin:5px 0 10px;color:var(--nucleo-muted);font-size:13px}
.nucleo-upload-button{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;border:1px solid rgba(22,32,51,.13);border-radius:999px;background:#fff;color:#243f68;font-weight:800;cursor:pointer}
.nucleo-upload-button input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.nucleo-onboarding-grid-3{grid-template-columns:1.5fr .7fr 1fr;margin-top:22px}
.nucleo-onboarding-note{margin:16px 0 20px;padding:13px 15px;border-radius:14px;background:#f7f5ff;color:#667085;font-size:13px;line-height:1.5}
.nucleo-onboarding-card .nucleo-button{width:100%;margin-top:2px}
@media(max-width:719px){
 .nucleo-onboarding-page{padding:14px 12px 32px}
 .nucleo-onboarding-hero{padding:18px 4px 18px}
 .nucleo-onboarding-hero h1{font-size:31px}
 .nucleo-onboarding-hero p{font-size:14px}
 .nucleo-onboarding-card{padding:20px;border-radius:20px}
 .nucleo-onboarding-avatar-wrap{align-items:flex-start}
 .nucleo-onboarding-avatar{width:78px;height:78px;flex-basis:78px;font-size:24px}
 .nucleo-onboarding-grid-3{grid-template-columns:1fr}
}


/* NÚCLEO 0.21 — monetization / plan gate */
.nucleo-plan-gate .nucleo-plan-card {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:18px;
    margin:18px 0;
    border:1px solid rgba(80,70,120,.12);
    border-radius:16px;
    background:rgba(255,255,255,.72);
}
.nucleo-plan-gate .nucleo-plan-card p { margin:6px 0 0; }
.nucleo-plan-status {
    white-space:nowrap;
    font-size:12px;
    font-weight:700;
    padding:8px 10px;
    border-radius:999px;
    background:#f1ecff;
}
@media (max-width: 640px) {
    .nucleo-plan-gate .nucleo-plan-card {
        align-items:flex-start;
        flex-direction:column;
    }
}


/* NÚCLEO 0.23.0 — family plan offer */
.nucleo-plan-gate{padding:30px}
.nucleo-plan-hero{display:grid;grid-template-columns:58px minmax(0,1fr);gap:16px;align-items:start;margin-bottom:24px}
.nucleo-plan-icon{width:58px;height:58px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#f1efff;font-size:28px}
.nucleo-plan-hero h2{margin:6px 0 8px;font-size:30px;line-height:1.15;color:#162033}
.nucleo-plan-hero p{margin:0;max-width:760px}
.nucleo-plan-offer{border:1px solid rgba(63,91,234,.16);border-radius:22px;padding:24px;background:linear-gradient(180deg,#fff 0%,#faf9ff 100%);box-shadow:0 10px 28px rgba(22,32,51,.05)}
.nucleo-plan-offer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.nucleo-plan-offer-head h3{margin:5px 0 4px;font-size:24px;color:#162033}
.nucleo-plan-offer-head p{margin:0}
.nucleo-plan-status{display:inline-flex;align-items:center;white-space:nowrap;padding:8px 12px;border-radius:999px;background:#eeeaff;color:#3654d9;font-weight:800;font-size:12px}
.nucleo-plan-price{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid rgba(22,32,51,.07);border-bottom:1px solid rgba(22,32,51,.07);margin:20px 0}
.nucleo-plan-price strong{font-size:14px;color:#52627a;text-transform:uppercase;letter-spacing:.08em}
.nucleo-plan-price span{font-size:20px;font-weight:800;color:#203a63}
.nucleo-plan-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px;margin:0 0 22px;color:#42546f;font-size:14px}
.nucleo-plan-features div{padding:8px 0}
.nucleo-plan-cta{width:100%;margin-top:2px;font-size:16px;padding:13px 18px}
.nucleo-plan-note{text-align:center!important;font-size:12px!important;margin:10px 0 0!important;color:#8792a4!important}
.nucleo-plan-pending{display:flex;flex-direction:column;gap:4px;padding:15px 16px;border-radius:16px;background:#f4f2ff;color:#3654d9}
.nucleo-plan-pending span{color:#65748b;font-size:14px;line-height:1.5}
.nucleo-plan-note-box{display:flex;flex-direction:column;gap:4px;margin-top:18px;padding:16px 18px;border-radius:16px;background:#f7f7f5;color:#314764}
.nucleo-plan-note-box strong{font-size:14px}
.nucleo-plan-note-box span{font-size:13px;color:#718096;line-height:1.5}
@media (max-width:680px){
 .nucleo-plan-gate{padding:20px}
 .nucleo-plan-hero{grid-template-columns:48px minmax(0,1fr);gap:12px}
 .nucleo-plan-icon{width:48px;height:48px;border-radius:15px;font-size:23px}
 .nucleo-plan-hero h2{font-size:25px}
 .nucleo-plan-offer{padding:18px;border-radius:18px}
 .nucleo-plan-offer-head{flex-direction:column;gap:10px}
 .nucleo-plan-features{grid-template-columns:1fr;gap:2px}
 .nucleo-plan-price{align-items:flex-start;flex-direction:column;gap:5px}
}


/* NÚCLEO 0.24 — quarterly checkout */
.nucleo-checkout-box {
    margin-top:22px;
    padding:22px;
    border:1px solid rgba(80,70,120,.12);
    border-radius:18px;
    background:#fff;
}
.nucleo-checkout-head strong { display:block; font-size:18px; margin-top:5px; }
.nucleo-checkout-head p { margin:7px 0 0; }
.nucleo-payment-options {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin:18px 0;
}
.nucleo-payment-option {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:7px;
    padding:16px;
    border:1px solid rgba(80,70,120,.15);
    border-radius:15px;
    background:#faf9ff;
    cursor:pointer;
    text-align:left;
    transition:.18s ease;
}
.nucleo-payment-option:hover,
.nucleo-payment-option.is-selected {
    border-color:#a599fb;
    box-shadow:0 0 0 2px rgba(165,153,251,.15);
}
.nucleo-payment-logo { font-size:18px; font-weight:800; }
.nucleo-payment-option span:last-child { font-size:13px; opacity:.72; }
.nucleo-checkout-message {
    margin-top:12px;
    font-size:13px;
    line-height:1.5;
}
.nucleo-plan-security {
    margin-top:14px;
    display:flex;
    gap:8px;
    align-items:flex-start;
    font-size:12px;
    opacity:.72;
}
.nucleo-plan-price span { font-weight:800; }
@media (max-width:640px) {
    .nucleo-payment-options { grid-template-columns:1fr; }
    .nucleo-checkout-box { padding:17px; }
}

.nucleo-payment-option.is-disabled{opacity:.55;cursor:not-allowed}.nucleo-payment-option.is-disabled:hover{border-color:#dfe4ea;background:#fff}

.nucleo-payment-recovery{margin-top:18px;padding:16px 18px;border:1px solid #e3e7f5;border-radius:14px;background:#fafbff;display:flex;flex-direction:column;gap:7px}.nucleo-payment-recovery strong{color:#173f75}.nucleo-payment-recovery span{color:#64748b;font-size:14px}.nucleo-payment-recovery-row{display:flex;gap:10px;align-items:stretch;margin-top:6px;width:100%}.nucleo-payment-recovery-row input#nucleo-epayco-ref{display:block!important;flex:1 1 0!important;width:0!important;max-width:none!important;min-width:0!important;box-sizing:border-box!important;border:1px solid #cbd5e1;border-radius:10px;padding:11px 13px;font-size:15px;line-height:1.4;background:#fff;color:#173f75}.nucleo-payment-recovery-row #nucleo-verify-payment{flex:0 0 190px!important;width:190px!important;max-width:190px!important}.nucleo-payment-recovery .nucleo-message{font-size:14px;margin-top:2px}@media(max-width:640px){.nucleo-payment-recovery-row{flex-direction:column;align-items:stretch}.nucleo-payment-recovery-row input#nucleo-epayco-ref{width:100%!important;flex:0 0 auto!important}.nucleo-payment-recovery-row #nucleo-verify-payment{width:100%!important;max-width:none!important;flex:0 0 auto!important}}


/* NÚCLEO PWA install affordance */
.nucleo-pwa-install{position:fixed;right:18px;bottom:18px;z-index:99999;border:0;border-radius:999px;padding:11px 16px;background:#3554d9;color:#fff;font:700 14px/1.2 inherit;box-shadow:0 8px 24px rgba(31,55,120,.22);cursor:pointer}
.nucleo-pwa-install:hover{filter:brightness(.96)}
@media(max-width:640px){.nucleo-pwa-install{right:14px;bottom:14px;padding:10px 14px;font-size:13px}}


/* Notifications */
.nucleo-notification-wrap{position:relative;display:inline-flex;align-items:center}
.nucleo-notification-button{border:1px solid #e2e7f0;background:#fff;border-radius:999px;min-width:42px;height:42px;padding:0 10px;font-weight:700;color:#173b73;cursor:pointer;box-shadow:0 3px 12px rgba(30,55,100,.05)}
.nucleo-notification-count{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:999px;background:#3554d9;color:#fff;font-size:11px;margin-left:4px}
.nucleo-notifications-panel{position:absolute;right:0;top:48px;width:360px;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e3e8f0;border-radius:16px;box-shadow:0 18px 45px rgba(24,47,90,.16);z-index:50;overflow:hidden}
.nucleo-notifications-head{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid #edf0f5}
.nucleo-notifications-head-actions{display:flex;align-items:center;gap:8px}.nucleo-notifications-clear{border:0;background:transparent;color:#3f5bea;font-size:12px;font-weight:700;cursor:pointer;padding:6px}.nucleo-notifications-clear:hover{text-decoration:underline}
.nucleo-notifications-head button{border:0;background:transparent;font-size:24px;cursor:pointer;color:#718096}
.nucleo-notification-item{position:relative;display:flex;width:100%;text-align:left;border-bottom:1px solid #f0f2f6;background:#fff;padding:0;transition:background .15s}.nucleo-notification-item:hover,.nucleo-notification-item.is-unread{background:#f7f8ff}.nucleo-notification-open{display:block;flex:1;min-width:0;text-align:left;border:0;background:transparent;padding:14px 8px 14px 16px;cursor:pointer}.nucleo-notification-open strong,.nucleo-notification-open span,.nucleo-notification-open small{display:block}.nucleo-notification-open strong{color:#173b73;margin-bottom:4px}.nucleo-notification-open span{color:#5d6d86;font-size:13px;line-height:1.45}.nucleo-notification-open small{color:#94a0b2;margin-top:6px;font-size:11px}.nucleo-notification-delete{flex:0 0 42px;align-self:center;margin-right:8px;border:0;background:transparent;border-radius:10px;padding:8px;cursor:pointer;opacity:.65}.nucleo-notification-delete:hover{opacity:1;background:#fff0f0}.nucleo-notification-delete:disabled{opacity:.35;cursor:wait}
.nucleo-notifications-empty{padding:20px;color:#718096;text-align:center;margin:0}
@media(max-width:700px){.nucleo-notifications-panel{position:fixed;right:16px;left:16px;top:70px;width:auto}.nucleo-notification-button{height:38px}}

.nucleo-push-box{padding:13px 15px;background:#f7f8ff;border-bottom:1px solid #edf0f5}.nucleo-push-copy strong,.nucleo-push-copy span{display:block}.nucleo-push-copy strong{color:#173b73;font-size:13px}.nucleo-push-copy span{color:#64748b;font-size:12px;line-height:1.4;margin-top:3px}.nucleo-push-enable{margin-top:10px;border:0;border-radius:9px;background:#3554d9;color:#fff;font-weight:700;padding:9px 12px;cursor:pointer}.nucleo-push-enable:disabled{opacity:.65;cursor:default}.nucleo-push-status{display:block;margin-top:7px;color:#2f855a;line-height:1.35}

/* NÚCLEO 2.0 — Family App Experience polish */
.nucleo-app{--n2-primary:#4b5fe8;--n2-primary-dark:#3448c7;--n2-ink:#172033;--n2-muted:#667085;--n2-soft:#f5f7ff;--n2-border:#e7eaf1;--n2-gold:#c8a65a;background:linear-gradient(180deg,#f8f9fc 0,#f5f7fb 100%);border-radius:30px;padding-top:18px}
.nucleo-topbar{position:relative;padding:4px 2px 0;align-items:center}
.nucleo-topbar-main h1{font-weight:800;letter-spacing:-.03em;color:var(--n2-ink)}
.nucleo-topbar-main p{font-size:14px;font-weight:600}
.nucleo-topbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.nucleo-streak,.nucleo-points{background:#fff;border:1px solid var(--n2-border);box-shadow:0 7px 22px rgba(30,40,80,.06)}
.nucleo-notification-button{border:1px solid var(--n2-border);background:#fff;color:var(--n2-ink);border-radius:14px;min-width:46px;height:42px;cursor:pointer;box-shadow:0 7px 22px rgba(30,40,80,.06);font-size:17px}
.nucleo-notification-count{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:99px;background:#4b5fe8;color:#fff;font-size:10px;font-weight:800;vertical-align:top}
.nucleo-nav{display:flex;gap:5px;padding:6px;background:rgba(255,255,255,.82);border:1px solid var(--n2-border);border-radius:16px;box-shadow:0 8px 24px rgba(30,40,80,.05);width:100%;margin-top:14px}
.nucleo-nav a{flex:1;text-align:center;padding:10px 9px;border-radius:11px;color:#667085;text-decoration:none!important;font-size:13px;font-weight:750;transition:.18s ease}
.nucleo-nav a:hover,.nucleo-nav a.is-active{background:#eef1ff;color:#4058e8}
.nucleo-hero-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#263f6c 0%,#4969a3 100%);border:0;box-shadow:0 20px 48px rgba(32,58,99,.18);padding:28px}
.nucleo-hero-card:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-80px;top:-95px;background:rgba(255,255,255,.08)}
.nucleo-hero-card .nucleo-button{position:relative;z-index:1;background:#fff;color:#2e4675!important;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.nucleo-card{border-color:var(--n2-border);box-shadow:0 10px 30px rgba(30,40,80,.055);transition:transform .18s ease,box-shadow .18s ease}
.nucleo-card:hover{box-shadow:0 14px 36px rgba(30,40,80,.075)}
.nucleo-section-heading h2{letter-spacing:-.025em}
.nucleo-personalized-card{background:linear-gradient(180deg,#fff,#fbfcff);border:1px solid var(--n2-border);border-radius:18px;padding:19px;box-shadow:0 6px 18px rgba(30,40,80,.04)}
.nucleo-personalized-card .nucleo-icon{background:#eef1ff;color:#4058e8}
.nucleo-button{background:var(--n2-primary);border-radius:13px;box-shadow:0 7px 16px rgba(75,95,232,.18)}
.nucleo-button:hover{box-shadow:0 10px 24px rgba(75,95,232,.24)}
.nucleo-button-light{background:#f1f3ff;color:#4058e8!important;box-shadow:none}
.nucleo-age-badge{background:#f0f2ff;color:#4657bf;border:1px solid #dde2ff;padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800}
.nucleo-daily-experience .nucleo-daily-verse{background:linear-gradient(135deg,#fff,#f9faff)}
.nucleo-daily-step{border:1px solid var(--n2-border)!important;border-radius:18px!important;background:#fff!important;padding:16px!important;box-shadow:0 5px 16px rgba(30,40,80,.035)}
.nucleo-daily-step-icon{border-radius:13px!important;background:#eef1ff!important;color:#4058e8!important}
.nucleo-daily-progress{height:8px!important;background:#edf0f6!important;border-radius:99px!important;overflow:hidden}
.nucleo-daily-progress span{background:linear-gradient(90deg,#4b5fe8,#7385f4)!important;border-radius:99px}
.nucleo-inline-form input,.nucleo-inline-form select{border-color:#dfe3ec;min-height:44px;box-shadow:none;transition:.18s ease}
.nucleo-inline-form input:focus,.nucleo-inline-form select:focus{border-color:#7b88ed;box-shadow:0 0 0 3px rgba(75,95,232,.10);outline:none}
.nucleo-progress-row{padding:12px 0}
.nucleo-progress-bar{height:9px!important;background:#edf0f6!important;border-radius:99px!important}
.nucleo-progress-bar span{background:linear-gradient(90deg,#4b5fe8,#7b8cf2)!important;border-radius:99px}
.nucleo-reward{border:1px solid var(--n2-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 6px 18px rgba(30,40,80,.04)}
.nucleo-push-box{border:1px solid #dfe4ff!important;background:linear-gradient(135deg,#f5f6ff,#fff)!important;border-radius:16px!important}
.nucleo-notifications-panel{border:1px solid var(--n2-border)!important;border-radius:18px!important;box-shadow:0 18px 45px rgba(22,32,51,.13)!important}
@media(max-width:719px){
  .nucleo-app{padding:14px 12px 94px;border-radius:22px}
  .nucleo-topbar{display:block;padding-top:2px}
  .nucleo-topbar-actions{justify-content:space-between;margin-top:12px}
  .nucleo-topbar-actions>.nucleo-nav{order:5;position:fixed;z-index:9998;left:10px;right:10px;bottom:10px;width:auto;margin:0;padding:6px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 12px 35px rgba(22,32,51,.16)}
  .nucleo-nav a{font-size:11px;padding:9px 5px}
  .nucleo-nav a:nth-child(1)::before{content:'⌂ ';}.nucleo-nav a:nth-child(2)::before{content:'📖 ';}.nucleo-nav a:nth-child(3)::before{content:'👨‍👩‍👧 ';}.nucleo-nav a:nth-child(4)::before{content:'⭐ ';}.nucleo-nav a:nth-child(5)::before{content:'👤 ';}
  .nucleo-hero-card{padding:23px 20px;border-radius:22px}
  .nucleo-hero-card blockquote{font-size:27px!important}
  .nucleo-card{padding:18px;border-radius:19px}
  .nucleo-section-heading{align-items:flex-start}
  .nucleo-challenge{border-radius:19px}
}
@media(min-width:900px){.nucleo-app{padding-left:28px;padding-right:28px}.nucleo-nav{max-width:760px;margin-left:auto;margin-right:auto}}

/* NÚCLEO 2.1 — Dashboard experience */
.nucleo-dashboard-overview{margin:0 0 18px;padding:20px;border:1px solid var(--n2-border,rgba(22,32,51,.08));border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#f8faff 100%);box-shadow:0 12px 34px rgba(30,40,80,.055)}
.nucleo-dashboard-welcome{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.nucleo-dashboard-welcome h2{margin:5px 0 4px;font-size:clamp(22px,4vw,28px);letter-spacing:-.025em;color:var(--n2-ink,#162033)}
.nucleo-dashboard-welcome p{margin:0;color:#718096;line-height:1.55}
.nucleo-dashboard-family-badge{flex:0 0 auto;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid #e5eaf2;color:#36527c;font-size:13px;font-weight:800}
.nucleo-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.nucleo-dashboard-stat{display:flex;align-items:center;gap:11px;padding:13px 12px;border:1px solid #e8ecf2;border-radius:17px;background:#fff;min-width:0}
.nucleo-dashboard-stat-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#f0f3ff;font-size:19px;flex:0 0 38px}
.nucleo-dashboard-stat strong{display:block;color:#1d2e4c;font-size:20px;line-height:1.05}
.nucleo-dashboard-stat small{display:block;color:#7a8799;font-size:11px;margin-top:4px;white-space:nowrap}
.nucleo-dashboard-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.nucleo-dashboard-quick-actions a{display:flex;flex-direction:column;gap:3px;padding:14px;border-radius:16px;text-decoration:none!important;background:#203a63;color:#fff!important;transition:transform .18s ease,box-shadow .18s ease}
.nucleo-dashboard-quick-actions a:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(32,58,99,.16)}
.nucleo-dashboard-quick-actions a>span{font-size:20px;margin-bottom:3px}
.nucleo-dashboard-quick-actions strong{font-size:14px}
.nucleo-dashboard-quick-actions small{font-size:11px;color:rgba(255,255,255,.72)}
@media(max-width:820px){.nucleo-dashboard-stats,.nucleo-dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.nucleo-dashboard-overview{padding:16px;border-radius:20px}.nucleo-dashboard-welcome{display:block}.nucleo-dashboard-family-badge{display:inline-flex;margin-top:12px}.nucleo-dashboard-stats{gap:8px}.nucleo-dashboard-stat{padding:11px 9px}.nucleo-dashboard-stat-icon{width:34px;height:34px;flex-basis:34px}.nucleo-dashboard-stat strong{font-size:18px}.nucleo-dashboard-stat small{font-size:10px}.nucleo-dashboard-quick-actions a{padding:12px}}

/* NÚCLEO 2.2.0 — family management polish */
.nucleo-family-capacity{margin:18px 0 20px;padding:14px 16px;border:1px solid #e8ecf2;border-radius:18px;background:#fafbfe}
.nucleo-family-capacity>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.nucleo-family-capacity strong{font-size:13px;color:#243f68}.nucleo-family-capacity span{font-size:12px;color:#7a8799}
.nucleo-capacity-track{height:7px;border-radius:999px;background:#e9edf3;overflow:hidden}.nucleo-capacity-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a599fb,#203a63)}
.nucleo-family-add-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:22px 0 10px;padding-top:4px}
.nucleo-family-add-heading strong{display:block;margin-top:3px;color:#243f68;font-size:15px}.nucleo-family-add-heading>span{font-size:12px;color:#7a8799;font-weight:700}
.nucleo-family-limit-reached{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px 16px;border-radius:16px;background:#f7f5ff;border:1px solid #e9e3ff}.nucleo-family-limit-reached>span{font-size:24px}.nucleo-family-limit-reached strong{color:#243f68}.nucleo-family-limit-reached p{margin:3px 0 0;color:#718096;font-size:13px}
.nucleo-button-danger{background:#fff!important;color:#a33a3a!important;border:1px solid #efcccc!important;box-shadow:none!important}.nucleo-button-danger:hover{background:#fff5f5!important;border-color:#dfaaaa!important}
@media(max-width:719px){.nucleo-family-capacity>div:first-child,.nucleo-family-add-heading{align-items:flex-start;flex-direction:column;gap:5px}.nucleo-family-add-heading{margin-top:18px}}

/* NÚCLEO 2.3 — Mi progreso */
.nucleo-progress-heading{margin-bottom:18px}
.nucleo-progress-profile{display:flex;gap:18px;align-items:center;padding:20px;border-radius:20px;background:linear-gradient(135deg,#f8f7f2,#f3f5f7);border:1px solid rgba(22,32,51,.06)}
.nucleo-progress-avatar-large{width:72px;height:72px;flex:0 0 72px;font-size:22px}
.nucleo-progress-profile-main{flex:1;min-width:0}
.nucleo-progress-profile-top{display:flex;align-items:center;justify-content:space-between;gap:15px}
.nucleo-progress-profile-top h3{margin:3px 0 8px;font-size:23px}
.nucleo-level-bar{height:10px;margin:4px 0 7px}
.nucleo-progress-profile-main small{color:#71809a}
.nucleo-progress-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0 4px}
.nucleo-progress-stat-grid>div{padding:16px;border:1px solid #e8e7e2;border-radius:17px;background:#fff;display:flex;flex-direction:column;gap:3px}
.nucleo-progress-stat-grid span{font-size:20px}.nucleo-progress-stat-grid strong{font-size:22px;color:#203a63}.nucleo-progress-stat-grid small{color:#71809a}
.nucleo-progress-section{margin-top:25px;padding-top:23px;border-top:1px solid #ecebe7}
.nucleo-progress-section h3{margin:4px 0 0;font-size:20px}
.nucleo-week-chart{height:170px;display:grid;grid-template-columns:repeat(7,1fr);gap:10px;align-items:end;padding:12px 6px 0;background:#fafaf8;border-radius:18px}
.nucleo-week-day{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
.nucleo-week-count{font-size:11px;font-weight:800;color:#203a63;min-height:13px}
.nucleo-week-track{width:100%;max-width:42px;height:105px;display:flex;align-items:flex-end;background:#efeee9;border-radius:12px 12px 6px 6px;overflow:hidden}
.nucleo-week-track span{width:100%;background:#c8a65a;border-radius:12px 12px 5px 5px;min-height:5px}
.nucleo-week-day small{font-size:11px;color:#71809a;font-weight:700}
.nucleo-achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.nucleo-achievement-card{display:flex;flex-direction:column;align-items:center;text-align:center;padding:17px 10px;border:1px solid #e8e7e2;border-radius:17px;background:#fafaf8}
.nucleo-achievement-card span{font-size:28px;margin-bottom:7px}.nucleo-achievement-card strong{font-size:14px;color:#203a63}.nucleo-achievement-card small{font-size:11px;color:#71809a;margin-top:3px}
.nucleo-history-list{display:flex;flex-direction:column;gap:9px}
.nucleo-history-item{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #e8e7e2;border-radius:15px;background:#fff}
.nucleo-history-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#f5f4ef;font-size:19px;flex:0 0 40px}
.nucleo-history-item>div{flex:1;min-width:0}.nucleo-history-item strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nucleo-history-item small{display:block;color:#71809a;margin-top:3px}.nucleo-history-item>b{font-size:12px;color:#2f855a;white-space:nowrap}
.nucleo-progress-empty{display:flex;align-items:center;gap:10px;padding:17px;border-radius:16px;background:#f7f7f4;color:#627594}.nucleo-progress-empty strong{color:#203a63}.nucleo-progress-empty span{font-size:13px}
.nucleo-family-progress-note{margin-top:22px;padding:18px;border-radius:18px;background:#f7f7f4}.nucleo-family-progress-note>div:first-child{display:flex;gap:10px;align-items:center}.nucleo-family-progress-note>div:first-child>span{font-size:23px}.nucleo-family-progress-note strong,.nucleo-family-progress-note small{display:block}.nucleo-family-progress-note small{margin-top:3px}.nucleo-mini-progress{height:7px;background:#e7e5de;border-radius:99px;overflow:hidden;margin:13px 0 8px}.nucleo-mini-progress span{display:block;height:100%;background:#203a63;border-radius:99px}
@media(max-width:720px){
 .nucleo-progress-profile{align-items:flex-start}.nucleo-progress-profile-top{align-items:flex-start;flex-direction:column;gap:8px}.nucleo-progress-stat-grid{grid-template-columns:repeat(2,1fr)}
 .nucleo-achievement-grid{grid-template-columns:repeat(2,1fr)}
 .nucleo-history-item>b{font-size:11px}.nucleo-week-chart{height:155px;gap:6px}
}
@media(max-width:480px){.nucleo-progress-profile{flex-direction:column}.nucleo-progress-avatar-large{width:64px;height:64px;flex-basis:64px}.nucleo-progress-stat-grid>div{padding:13px}.nucleo-progress-stat-grid strong{font-size:20px}.nucleo-achievement-grid{grid-template-columns:1fr 1fr}.nucleo-progress-empty{align-items:flex-start;flex-wrap:wrap}.nucleo-progress-empty span{width:100%;margin-left:34px}.nucleo-history-item{align-items:flex-start}.nucleo-history-item>b{margin-left:auto}}

/* NÚCLEO 2.4 — Mobile app home inspired by the approved visual direction */
.nucleo-app-header{display:grid;grid-template-columns:1fr auto;grid-template-areas:"brand actions" "greeting greeting" "nav nav";gap:10px 14px;margin-bottom:18px;padding:4px 2px 0}
.nucleo-brand{grid-area:brand;display:flex;align-items:center;gap:9px;min-width:0}
.nucleo-brand-mark{width:36px;height:36px;border-radius:11px;object-fit:cover;box-shadow:0 6px 16px rgba(63,91,232,.18)}
.nucleo-brand-name{font-size:18px;font-weight:900;letter-spacing:.02em;color:#18243b}
.nucleo-app-header-actions{grid-area:actions;display:flex;align-items:center;gap:9px}
.nucleo-app-header-actions .nucleo-notification-button{width:42px;min-width:42px;height:42px;border-radius:13px}
.nucleo-header-avatar{display:block;width:42px;height:42px;border-radius:50%;overflow:hidden;border:2px solid #fff;box-shadow:0 5px 15px rgba(30,40,80,.12)}
.nucleo-header-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.nucleo-app-greeting{grid-area:greeting;padding:8px 2px 2px}
.nucleo-app-greeting .nucleo-card-label{color:#4058e8;margin-bottom:5px}
.nucleo-app-greeting h1{margin:0;color:#172033;font-size:clamp(25px,5vw,34px);line-height:1.08;letter-spacing:-.035em}
.nucleo-app-greeting p{margin:8px 0 0;color:#5f6b7e;font-size:14px;line-height:1.45}
.nucleo-app-greeting small{display:block;margin-top:4px;color:#4058e8;font-weight:800;font-size:12px}
.nucleo-app-nav{grid-area:nav;margin-top:4px!important}
.nucleo-app-nav a{display:flex!important;align-items:center;justify-content:center;gap:5px}
.nucleo-app-nav a span{font-size:17px;line-height:1}
.nucleo-app-nav a em{font-style:normal}

.nucleo-app-home{margin-bottom:18px}
.nucleo-home-devotional{display:grid;grid-template-columns:minmax(0,1.35fr) 145px;min-height:205px;overflow:hidden;border-radius:26px;background:linear-gradient(135deg,#f5f7ff 0%,#eef1ff 100%);border:1px solid #e4e8f6;box-shadow:0 16px 38px rgba(55,73,135,.09);margin-bottom:20px}
.nucleo-home-devotional-copy{padding:23px 20px 20px 22px;position:relative;z-index:2}
.nucleo-home-devotional-copy .nucleo-card-label{color:#4a5de1}
.nucleo-home-devotional-copy h2{margin:6px 0 7px;font-size:23px;line-height:1.1;letter-spacing:-.025em;color:#1a2741}
.nucleo-home-devotional-copy p{margin:0 0 16px;color:#647089;font-size:13px;line-height:1.5;max-width:390px}
.nucleo-home-primary{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:13px;padding:11px 14px;background:#4b5fe8;color:#fff!important;font-weight:800;font-size:12px;cursor:pointer;box-shadow:0 8px 18px rgba(75,95,232,.18)}
.nucleo-home-primary span{font-size:16px;line-height:1}
.nucleo-home-devotional-art{position:relative;min-height:205px;background:linear-gradient(145deg,#dfe5ff,#bbc9f4);overflow:hidden}
.nucleo-home-devotional-art:before{content:"";position:absolute;width:190px;height:110px;right:-28px;bottom:0;border-radius:60% 60% 0 0;background:linear-gradient(145deg,#8799d7,#536aa8);transform:rotate(-7deg)}
.nucleo-home-devotional-art:after{content:"";position:absolute;width:120px;height:75px;left:5px;bottom:0;border-radius:70% 60% 0 0;background:#697db9;opacity:.72;transform:rotate(8deg)}
.nucleo-home-devotional-art>span{position:absolute;z-index:2;left:50%;top:43%;transform:translate(-50%,-50%);font-size:54px;filter:drop-shadow(0 10px 10px rgba(31,48,101,.12))}
.nucleo-home-devotional-art.has-image{background-size:cover;background-position:center}
.nucleo-home-devotional-art.has-image:before{content:"";inset:0;width:auto;height:auto;right:auto;border-radius:0;background:linear-gradient(90deg,rgba(31,45,85,.18),rgba(31,45,85,.02));transform:none}
.nucleo-home-devotional-art.has-image:after{display:none}
.nucleo-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:2px 2px 11px}
.nucleo-home-section-head h2{margin:4px 0 0;font-size:20px;letter-spacing:-.025em;color:#1b2942}
.nucleo-home-family-pill{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #e6eaf2;color:#52617a;font-size:11px;font-weight:800;white-space:nowrap}
.nucleo-home-modules{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}
.nucleo-home-module{min-height:112px;padding:14px 13px;border-radius:19px;text-decoration:none!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;border:1px solid rgba(30,40,80,.05);transition:transform .18s ease,box-shadow .18s ease}
.nucleo-home-module:hover{transform:translateY(-2px);box-shadow:0 12px 25px rgba(30,40,80,.09)}
.nucleo-home-module .module-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;margin-bottom:12px;font-size:18px;font-weight:900}
.nucleo-home-module strong{font-size:13px;color:#24324b;line-height:1.2}
.nucleo-home-module small{margin-top:4px;color:#738096;font-size:10px}
.module-mint{background:#dff8ed}.module-mint .module-icon{background:#a9e8ce;color:#087452}
.module-lilac{background:#eee8ff}.module-lilac .module-icon{background:#d8ccff;color:#6945cc}
.module-peach{background:#ffead2}.module-peach .module-icon{background:#ffd09f;color:#b45c13}
.module-blue{background:#dcecff}.module-blue .module-icon{background:#b9d5ff;color:#3166b3}
.nucleo-home-stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.nucleo-home-stats-row>div{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;padding:11px 12px;background:#fff;border:1px solid #e8ebf1;border-radius:16px}
.nucleo-home-stats-row span{grid-row:1 / span 2;font-size:18px}.nucleo-home-stats-row strong{font-size:16px;color:#20314e;line-height:1}.nucleo-home-stats-row small{font-size:9px;color:#7c8799;margin-top:3px}

/* Keep the existing verse and learning content as secondary home content. */
.nucleo-app-home + .nucleo-hero-card{border-radius:24px;margin-top:6px}
.nucleo-app-home + .nucleo-hero-card blockquote{font-size:24px!important;max-width:720px}

@media(max-width:760px){
  .nucleo-app-header{grid-template-columns:1fr auto;gap:8px 12px}
  .nucleo-app-nav{position:fixed!important;left:10px;right:10px;bottom:10px;z-index:9998;width:auto!important;margin:0!important;padding:6px!important;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(16px);box-shadow:0 12px 35px rgba(22,32,51,.16)!important;border-radius:18px!important}
  .nucleo-app-nav a{padding:8px 5px!important;font-size:10px!important;gap:2px}
  .nucleo-app-nav a span{font-size:17px}.nucleo-app-nav a em{display:block}
  .nucleo-home-devotional{grid-template-columns:minmax(0,1fr) 112px;min-height:185px;border-radius:23px}
  .nucleo-home-devotional-copy{padding:20px 13px 17px 18px}
  .nucleo-home-devotional-copy h2{font-size:20px}.nucleo-home-devotional-copy p{font-size:12px;margin-bottom:13px}
  .nucleo-home-devotional-art{min-height:185px}
  .nucleo-home-devotional-art>span{font-size:43px}
  .nucleo-home-modules{grid-template-columns:repeat(2,1fr);gap:9px}
  .nucleo-home-module{min-height:105px;padding:13px;border-radius:17px}
  .nucleo-home-stats-row{grid-template-columns:1fr 1fr 1fr;gap:7px}.nucleo-home-stats-row>div{padding:9px 7px;display:block;text-align:center}.nucleo-home-stats-row span{display:block;margin-bottom:3px}.nucleo-home-stats-row strong{font-size:15px}.nucleo-home-stats-row small{font-size:8px}
  .nucleo-home-section-head{align-items:flex-start;display:block}.nucleo-home-family-pill{display:inline-flex;margin-top:8px}
}
@media(max-width:420px){
  .nucleo-brand-name{font-size:16px}.nucleo-brand-mark{width:34px;height:34px}.nucleo-header-avatar{width:40px;height:40px}.nucleo-app-greeting h1{font-size:27px}
  .nucleo-home-devotional{grid-template-columns:1fr}.nucleo-home-devotional-art{display:none}
  .nucleo-home-devotional-copy{padding:19px}.nucleo-home-module{min-height:100px}
}


/* NÚCLEO 2.4.1 — Mobile app polish for the family creation state */
.nucleo-create-family-app{position:relative;padding:26px 24px 28px;border-radius:28px;background:rgba(255,255,255,.98);border:1px solid #e9ebf1;box-shadow:0 14px 38px rgba(31,42,74,.08);overflow:visible}
.nucleo-create-family-icon{width:56px;height:56px;display:grid;place-items:center;margin-bottom:20px;border-radius:18px;background:#f7f7f3;font-size:28px;box-shadow:inset 0 0 0 1px rgba(31,42,74,.03)}
.nucleo-create-family-app .nucleo-card-label{display:block;margin-bottom:6px;color:#66758d;letter-spacing:.16em}
.nucleo-create-family-app h2{margin:0;color:#172033;font-size:31px;line-height:1.08;letter-spacing:-.035em}
.nucleo-create-family-copy{margin:12px 0 24px!important;color:#68758a!important;font-size:15px!important;line-height:1.65!important;max-width:600px}
.nucleo-create-family-app .nucleo-onboarding-grid{grid-template-columns:1fr;gap:17px;margin:0}
.nucleo-create-family-app .nucleo-onboarding-grid label{gap:8px}
.nucleo-create-family-app .nucleo-onboarding-grid label>span{font-size:14px;font-weight:800;color:#202a3c}
.nucleo-create-family-app .nucleo-onboarding-grid input,.nucleo-create-family-app .nucleo-onboarding-grid select{min-height:50px;border:1px solid #d8dbe2;border-radius:16px;background:#fff;padding:12px 15px;color:#263247;box-shadow:0 2px 0 rgba(31,42,74,.02);outline:none}
.nucleo-create-family-app .nucleo-onboarding-grid input:focus,.nucleo-create-family-app .nucleo-onboarding-grid select:focus{border-color:#7180ea;box-shadow:0 0 0 4px rgba(75,95,232,.10)}
.nucleo-create-family-cta{display:flex!important;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;margin-top:22px!important;border-radius:16px!important;background:#4b5fe8!important;color:#fff!important;box-shadow:0 10px 22px rgba(75,95,232,.20)!important}
.nucleo-create-family-cta strong{font-size:21px;line-height:1}
.nucleo-create-family-app .nucleo-message{margin-top:12px}

@media(max-width:760px){
  .nucleo-app{padding-bottom:112px}
  .nucleo-create-family-app{padding:22px 18px 24px;margin-bottom:8px;border-radius:24px}
  .nucleo-create-family-icon{width:52px;height:52px;margin-bottom:18px;border-radius:16px;font-size:25px}
  .nucleo-create-family-app h2{font-size:29px}
  .nucleo-create-family-copy{font-size:14px!important;line-height:1.6!important;margin-bottom:22px!important}
  .nucleo-create-family-app .nucleo-onboarding-grid{gap:15px}
  .nucleo-create-family-cta{min-height:54px;margin-top:20px!important}
  .nucleo-app-nav{bottom:max(10px, env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){
  .nucleo-create-family-app{padding:20px 16px 22px}
  .nucleo-create-family-app h2{font-size:27px}
  .nucleo-create-family-app .nucleo-onboarding-grid input,.nucleo-create-family-app .nucleo-onboarding-grid select{min-height:48px;border-radius:15px}
}

/* NÚCLEO 2.4.2 — navegación móvil definitiva y espacio seguro para CTAs */
@media (max-width:760px){
  body.nucleo-platform-page .nucleo-app{
    padding-bottom:190px !important;
  }

  .nucleo-app-nav{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    align-items:stretch;
    gap:2px !important;
    padding:7px !important;
    bottom:max(10px, env(safe-area-inset-bottom)) !important;
    border:1px solid rgba(31,42,74,.07) !important;
  }

  .nucleo-app-nav a{
    min-width:0 !important;
    width:100% !important;
    min-height:54px;
    padding:7px 2px 6px !important;
    border:0 !important;
    border-radius:13px !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:3px !important;
    color:#69758a !important;
    background:transparent !important;
    font-size:9px !important;
    line-height:1.05 !important;
  }

  .nucleo-app-nav a.is-active{
    background:#f0edff !important;
    color:#3f5bea !important;
  }

  .nucleo-app-nav a::before{content:none !important;display:none !important}
  .nucleo-app-nav a em{font-style:normal !important;display:block !important;font-weight:800 !important;white-space:nowrap}
  .nucleo-app-nav .nucleo-nav-icon{
    width:22px !important;
    height:22px !important;
    display:grid !important;
    place-items:center !important;
    font-size:0 !important;
    color:currentColor !important;
    margin:0 !important;
  }
  .nucleo-app-nav .nucleo-nav-icon svg{
    width:19px !important;
    height:19px !important;
    fill:none !important;
    stroke:currentColor !important;
    stroke-width:1.8 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }
  .nucleo-app-nav .nucleo-nav-avatar{
    width:22px !important;
    height:22px !important;
    border-radius:50% !important;
    overflow:hidden !important;
    background:#eef1ff !important;
    border:1.5px solid #fff !important;
    box-shadow:0 2px 6px rgba(31,42,74,.12) !important;
  }
  .nucleo-app-nav .nucleo-nav-avatar img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  /* The fixed navigation must never cover the final action on long forms. */
  .nucleo-create-family-app{
    padding-bottom:118px !important;
    margin-bottom:0 !important;
  }
  .nucleo-create-family-cta{position:relative;z-index:3}
}

@media (min-width:761px){
  .nucleo-app-nav .nucleo-nav-icon{display:inline-grid;place-items:center;width:19px;height:19px}
  .nucleo-app-nav .nucleo-nav-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .nucleo-app-nav .nucleo-nav-avatar img{width:18px;height:18px;border-radius:50%;object-fit:cover;display:block}
}

/* NÚCLEO 2.4.3 — navegación móvil en una sola fila + CTA completamente visible */
@media (max-width:760px){
  .nucleo-app-nav{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    justify-content:stretch !important;
    grid-template-columns:none !important;
    width:auto !important;
    overflow:hidden !important;
  }
  .nucleo-app-nav > a{
    flex:1 1 0 !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
  }
  .nucleo-app-nav .nucleo-nav-avatar,
  .nucleo-app-nav .nucleo-nav-icon{
    flex:0 0 auto !important;
  }
  .nucleo-create-family-app{
    padding-bottom:150px !important;
  }
  .nucleo-create-family-cta{
    margin-bottom:0 !important;
  }
}

/* NÚCLEO 2.5.0 — Premium visual system */
.nucleo-app{
  --n2-blue:#3f5bea;
  --n2-blue-dark:#263a8e;
  --n2-lilac:#f0edff;
  --n2-surface:#ffffff;
  --n2-bg:#f7f8fc;
  --n2-ink:#172033;
  --n2-muted:#69758a;
  --n2-line:rgba(31,42,74,.075);
  --n2-shadow:0 18px 48px rgba(31,42,74,.065);
  background:linear-gradient(180deg,#f9faff 0%,#f7f8fc 58%,#f6f7fb 100%);
}
body.nucleo-platform-page{background:#f7f8fc}
body.nucleo-platform-page .nucleo-app{border-radius:32px}
.nucleo-app-header{padding:8px 4px 0;margin-bottom:22px}
.nucleo-brand-mark{width:40px;height:40px;border-radius:12px;box-shadow:0 8px 20px rgba(63,91,232,.18)}
.nucleo-brand-name{font-size:19px;letter-spacing:.015em}
.nucleo-app-header-actions{gap:10px}
.nucleo-app-header-actions .nucleo-notification-button{position:relative;display:grid;place-items:center;padding:0;background:#fff;border:1px solid var(--n2-line);box-shadow:0 8px 22px rgba(31,42,74,.07);color:#34405b}
.nucleo-notification-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nucleo-notification-count{position:absolute!important;right:-3px;top:-4px;display:grid!important;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#3f5bea;color:#fff;font-size:10px;font-weight:900;box-shadow:0 3px 8px rgba(63,91,232,.24)}
.nucleo-header-avatar{width:44px;height:44px;border:3px solid #fff;box-shadow:0 7px 18px rgba(31,42,74,.12)}
.nucleo-app-greeting{padding:10px 2px 3px}
.nucleo-app-greeting .nucleo-card-label{font-size:10px;letter-spacing:.18em;font-weight:900}
.nucleo-app-greeting h1{font-size:clamp(28px,5.2vw,38px);font-weight:500;letter-spacing:-.045em}
.nucleo-app-greeting p{font-size:15px;color:#6c7789;margin-top:10px}
.nucleo-app-greeting small{font-size:13px;margin-top:7px}
.nucleo-card,.nucleo-hero-card{border-color:var(--n2-line);box-shadow:var(--n2-shadow);border-radius:26px}
.nucleo-home-devotional{background:linear-gradient(135deg,#f4f6ff 0%,#ecefff 100%);border-color:rgba(63,91,232,.09);box-shadow:0 20px 44px rgba(63,91,232,.08)}
.nucleo-home-devotional-copy{padding:26px 22px 22px 24px}
.nucleo-home-devotional-copy .nucleo-card-label{font-size:10px;letter-spacing:.18em}
.nucleo-home-devotional-copy h2{font-size:25px;font-weight:600;letter-spacing:-.035em}
.nucleo-home-primary{border-radius:14px;padding:12px 15px;background:var(--n2-blue);box-shadow:0 10px 24px rgba(63,91,232,.22)}
.nucleo-home-modules{gap:12px}
.nucleo-home-module{min-height:124px;padding:15px;border-radius:21px;box-shadow:0 8px 22px rgba(31,42,74,.045)}
.nucleo-home-module .module-icon{width:40px;height:40px;border-radius:13px;margin-bottom:14px}
.nucleo-home-module .module-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.module-mint{background:linear-gradient(145deg,#e5faf2,#d9f6ea)}
.module-lilac{background:linear-gradient(145deg,#f1edff,#ebe5ff)}
.module-peach{background:linear-gradient(145deg,#fff0df,#ffead4)}
.module-blue{background:linear-gradient(145deg,#e6f1ff,#dcecff)}
.nucleo-home-module strong{font-size:14px;font-weight:850}
.nucleo-home-module small{font-size:10px}
.nucleo-home-stats-row>div{padding:13px 12px;border-radius:18px;box-shadow:0 6px 18px rgba(31,42,74,.035)}
.nucleo-home-stats-row span{font-size:17px}
.nucleo-hero-card{background:linear-gradient(135deg,#2d4380 0%,#4d67ad 100%);box-shadow:0 20px 44px rgba(45,67,128,.17)}
.nucleo-hero-card blockquote{font-weight:500;letter-spacing:-.025em}
.nucleo-app-nav{border:1px solid rgba(31,42,74,.06)!important;box-shadow:0 18px 45px rgba(31,42,74,.14)!important;background:rgba(255,255,255,.90)!important}
.nucleo-app-nav a{transition:background .18s ease,color .18s ease,transform .18s ease!important}
.nucleo-app-nav a.is-active{box-shadow:inset 0 0 0 1px rgba(63,91,232,.05),0 5px 14px rgba(63,91,232,.06)}
.nucleo-app-nav .nucleo-nav-avatar{border-color:#fff!important}
.nucleo-progress-dashboard{background:linear-gradient(180deg,#fff 0%,#fbfcff 100%)}
.nucleo-progress-profile{background:linear-gradient(135deg,#f6f7ff 0%,#fdfdff 100%);border-color:rgba(63,91,232,.08);box-shadow:0 10px 28px rgba(31,42,74,.045)}
.nucleo-progress-stat-grid>div{border-color:rgba(31,42,74,.07);box-shadow:0 6px 18px rgba(31,42,74,.035)}
.nucleo-progress-stat-grid strong{color:#334bbd}
.nucleo-achievement-card{background:linear-gradient(180deg,#fbfbff,#fff);border-color:rgba(63,91,232,.09);box-shadow:0 7px 20px rgba(31,42,74,.035)}
.nucleo-history-item{border-color:rgba(31,42,74,.07)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 5px 15px rgba(31,42,74,.03)}
body.nucleo-platform-page .nucleo-profile-hero{background:linear-gradient(145deg,#f8f8ff,#fff);border-color:rgba(63,91,232,.09);box-shadow:var(--n2-shadow)}
body.nucleo-platform-page .nucleo-profile-avatar{border-color:#fff;box-shadow:0 12px 30px rgba(31,42,74,.14),0 0 0 3px #eeeaff}
body.nucleo-platform-page .nucleo-profile-grid input{border-color:rgba(31,42,74,.10);border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(31,42,74,.025)}
.nucleo-button{border-radius:14px;box-shadow:0 9px 20px rgba(63,91,232,.15)}
.nucleo-button-secondary{background:#fff!important;color:#33415d!important;border:1px solid rgba(31,42,74,.09)!important;box-shadow:0 7px 18px rgba(31,42,74,.045)!important}
.nucleo-create-family-app{background:linear-gradient(180deg,#fff 0%,#fdfdff 100%);box-shadow:0 20px 50px rgba(31,42,74,.08);border-color:rgba(63,91,232,.08)}
.nucleo-create-family-icon{background:linear-gradient(145deg,#f8f7f1,#f4f4f0);box-shadow:inset 0 0 0 1px rgba(31,42,74,.035),0 8px 20px rgba(31,42,74,.04)}
.nucleo-create-family-app h2{font-weight:500}
.nucleo-create-family-cta{background:linear-gradient(135deg,#3f5bea,#526be8)!important;box-shadow:0 12px 26px rgba(63,91,232,.22)!important}
@media(max-width:760px){
  .nucleo-app{padding-top:14px}
  .nucleo-app-header{margin-bottom:20px}
  .nucleo-home-devotional{box-shadow:0 16px 36px rgba(63,91,232,.07)}
  .nucleo-home-module{min-height:112px}
  .nucleo-app-nav{left:12px!important;right:12px!important;bottom:max(10px,env(safe-area-inset-bottom))!important;border-radius:22px!important;padding:7px!important}
  .nucleo-app-nav a{min-height:54px!important;border-radius:15px!important}
}

/* NÚCLEO 2.5.1 — navegación unificada y CTA legibles */
.nucleo-personalized-card .nucleo-button,
.nucleo-personalized-card .nucleo-button-light{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:11px 15px !important;
  background:#eef1ff !important;
  color:#3f5bea !important;
  border:1px solid rgba(63,91,234,.10) !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.15 !important;
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}
.nucleo-personalized-card .nucleo-button:hover,
.nucleo-personalized-card .nucleo-button-light:hover{
  background:#e5e9ff !important;
  color:#3349c7 !important;
}
.nucleo-subpage-header{margin-bottom:20px}
.nucleo-subpage-header .nucleo-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#3f5bea;color:#fff;font-weight:900;font-size:22px;box-shadow:0 8px 18px rgba(63,91,234,.16)}
@media(max-width:760px){
  .nucleo-subpage-header{padding-bottom:94px}
  .nucleo-subpage-header .nucleo-topbar-actions>.nucleo-app-nav{position:fixed;z-index:9998;left:10px;right:10px;bottom:10px;width:auto;margin:0;padding:6px;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);box-shadow:0 12px 35px rgba(22,32,51,.16)}
  .nucleo-subpage-header .nucleo-app-nav a{font-size:11px;padding:9px 5px}
  .nucleo-learning-page{padding-bottom:170px !important}
}


/* NÚCLEO 2.6.0 — labels de tarjetas de aprendizaje siempre visibles */
.nucleo-personalized-card .nucleo-button,
.nucleo-personalized-card .nucleo-button-light{
  background:linear-gradient(135deg,#3f5bea,#526be8)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:none!important;
  min-width:138px!important;
  min-height:46px!important;
  line-height:1.2!important;
}
.nucleo-personalized-card .nucleo-button-label{
  display:inline-block!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.2!important;
  opacity:1!important;
  visibility:visible!important;
}
.nucleo-personalized-card .nucleo-button:disabled .nucleo-button-label{
  color:#24324b!important;
  -webkit-text-fill-color:#24324b!important;
}

/* NÚCLEO 2.6.1 — Dedicated Agenda screen */
.nucleo-daily-screen{min-height:100vh;padding:24px 20px 150px;box-sizing:border-box}
.nucleo-daily-screen-head{max-width:760px;margin:0 auto 22px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.nucleo-daily-screen-head h1{margin:5px 0 7px;font-size:clamp(30px,7vw,44px);line-height:1.05;color:#172033;font-weight:750}
.nucleo-daily-screen-head p{margin:0;color:#697386;font-size:16px;line-height:1.55}
.nucleo-daily-screen .nucleo-daily-experience{max-width:760px;margin:0 auto}
.nucleo-daily-screen .nucleo-app-nav{position:fixed;left:50%;bottom:max(14px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:9999;width:min(560px,calc(100% - 28px))}
@media (max-width:640px){.nucleo-daily-screen{padding:18px 14px 150px}.nucleo-daily-screen-head{align-items:flex-start;flex-direction:column}.nucleo-daily-screen-head .nucleo-button{align-self:flex-start}.nucleo-daily-screen .nucleo-daily-experience{width:100%}}


/* NÚCLEO 2.6.2 — Agenda: contraste premium y navegación móvil estable */
.nucleo-daily-screen .nucleo-daily-verse{
  background:linear-gradient(145deg,#2d4380 0%,#4d67ad 100%) !important;
  color:#fff !important;
  border:0 !important;
  box-shadow:0 20px 44px rgba(45,67,128,.16) !important;
}
.nucleo-daily-screen .nucleo-daily-verse .nucleo-card-label{
  color:rgba(255,255,255,.82) !important;
}
.nucleo-daily-screen .nucleo-daily-verse blockquote{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  text-shadow:none !important;
}
.nucleo-daily-screen .nucleo-daily-verse .nucleo-reference,
.nucleo-daily-screen .nucleo-daily-verse .nucleo-translation{
  color:rgba(255,255,255,.82) !important;
}

@media(max-width:760px){
  .nucleo-daily-screen .nucleo-app-nav{
    position:fixed !important;
    left:12px !important;
    right:12px !important;
    bottom:max(10px,env(safe-area-inset-bottom)) !important;
    transform:none !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    padding:7px !important;
    gap:2px !important;
    border-radius:22px !important;
    z-index:99999 !important;
  }
  .nucleo-daily-screen .nucleo-app-nav > a{
    flex:1 1 0 !important;
    min-width:0 !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
  }
  .nucleo-daily-screen .nucleo-daily-verse blockquote{
    font-size:clamp(25px,7vw,34px) !important;
    line-height:1.18 !important;
  }
  .nucleo-daily-screen{
    padding-bottom:170px !important;
  }
}


/* NÚCLEO 2.6.11 — Family cards responsive rebuild */
.nucleo-family-page .nucleo-members{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.nucleo-family-page .nucleo-family-member{height:100%}
.nucleo-family-page .nucleo-family-member-actions{align-self:end}
.nucleo-family-page .nucleo-family-member-actions .nucleo-button{border-radius:12px;padding:10px 12px;font-size:12px}
@media(max-width:719px){
  .nucleo-family-page .nucleo-members{grid-template-columns:1fr;gap:12px}
  .nucleo-family-page .nucleo-family-member{grid-template-columns:50px minmax(0,1fr);padding:15px;border-radius:18px;column-gap:12px;row-gap:13px}
  .nucleo-family-page .nucleo-family-member>.nucleo-avatar{width:50px;height:50px}
  .nucleo-family-page .nucleo-family-member-actions{grid-template-columns:1fr 1fr}
}
@media(min-width:720px){
  .nucleo-family-page .nucleo-family-member-actions{grid-template-columns:auto auto}
}

.nucleo-paypal-wrap{margin-top:14px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fbfbfd}.nucleo-paypal-heading{font-size:14px;font-weight:800;color:#24324a;margin-bottom:12px}.nucleo-paypal-wrap[hidden]{display:none!important}.nucleo-paypal-wrap #nucleo-paypal-button-container{max-width:520px;margin:0 auto}.nucleo-paypal-wrap iframe{max-width:100%!important}


/* NÚCLEO PWA installation guide */
.nucleo-install-guide{max-width:1120px;margin:32px auto;padding:0 18px;color:#0b2348}
.nucleo-install-hero{display:flex;gap:24px;align-items:center;padding:32px;border:1px solid #e1e6f4;border-radius:28px;background:linear-gradient(135deg,#f7f8ff,#fff);box-shadow:0 14px 40px rgba(43,61,110,.08)}
.nucleo-install-icon{width:72px;height:72px;display:grid;place-items:center;flex:0 0 72px;border-radius:22px;background:#eef1ff;font-size:34px}
.nucleo-install-hero h1{margin:7px 0 10px;font-size:32px;line-height:1.12;color:#09234d}
.nucleo-install-hero p{margin:0;max-width:760px;color:#647594;font-size:16px;line-height:1.6}
.nucleo-install-native{margin-top:20px;border:0;border-radius:12px;padding:13px 18px;background:#3554d9;color:#fff;font-weight:800;cursor:pointer;box-shadow:0 10px 22px rgba(53,84,217,.22)}
.nucleo-install-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}
.nucleo-install-card{padding:25px;border:1px solid #e1e6f4;border-radius:24px;background:#fff;box-shadow:0 10px 30px rgba(43,61,110,.06)}
.nucleo-install-card-icon{font-size:30px;margin-bottom:10px}
.nucleo-install-card h2{margin:0 0 7px;font-size:21px;color:#0b2348}
.nucleo-install-note{margin:0 0 18px;color:#687894}
.nucleo-install-card ol{margin:0;padding-left:21px;color:#435574;line-height:1.7}
.nucleo-install-card li{padding-left:3px;margin-bottom:7px}
.nucleo-install-tip{margin-top:18px;padding:12px 13px;border-radius:13px;background:#f6f7fb;color:#65748e;font-size:13px;line-height:1.5}
.nucleo-install-help{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding:17px 19px;border-radius:18px;background:#f0f3ff;color:#536783;line-height:1.55}
.nucleo-install-help strong{color:#0b2348;white-space:nowrap}
.nucleo-install-guide.is-ios .nucleo-install-card-ios,.nucleo-install-guide.is-android .nucleo-install-card-android{border-color:#b8c4ff;box-shadow:0 12px 34px rgba(53,84,217,.12)}
@media(max-width:850px){.nucleo-install-grid{grid-template-columns:1fr}.nucleo-install-hero{align-items:flex-start}.nucleo-install-hero h1{font-size:27px}}
@media(max-width:600px){.nucleo-install-guide{margin:20px auto;padding:0 12px}.nucleo-install-hero{padding:23px;gap:16px;border-radius:22px}.nucleo-install-icon{width:58px;height:58px;flex-basis:58px;border-radius:17px;font-size:27px}.nucleo-install-hero h1{font-size:24px}.nucleo-install-hero p{font-size:14px}.nucleo-install-card{padding:20px}.nucleo-install-help{display:block}.nucleo-install-help strong{display:block;margin-bottom:5px}}
