/* Shared Profª Jé interface. Learning content keeps its own instructional styles. */
@font-face{font-family:JeInterface;src:url('/catalogo/assets/je-book.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:JeInterface;src:url('/catalogo/assets/je-demi.woff') format('woff');font-weight:600 800;font-display:swap}
:root{--je-ink:#513e50;--je-muted:#796c77;--je-rose:#a63f68;--je-pink:#f8e9f0;--je-mint:#eaf4ef;--je-blue:#eaf3f8;--je-lilac:#f0ecf8;--je-line:#e9dfe6;--je-paper:#fffcf9;--je-radius:20px;--je-width:1080px}
body.je-site{margin:0;max-width:none;width:100%;padding:0;background:var(--je-paper);color:var(--je-ink);font-family:JeInterface,system-ui,sans-serif;font-size:15px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.je-site::before{content:none!important}
.je-site *{box-sizing:border-box}
.je-site [hidden]{display:none!important}
.je-site :is(button,input,select,textarea){font-family:inherit}
.je-site :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #ae709c;outline-offset:3px}
.je-site main{width:min(var(--je-width),calc(100% - 40px));max-width:var(--je-width);margin:32px auto 48px;padding:0}
.je-site h1{font-family:inherit;color:var(--je-ink)}
.je-site h2{font-family:inherit;line-height:1.3;letter-spacing:-.5px;color:var(--je-ink)}
.je-site :is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){max-width:100%;border-radius:12px;border:1px solid var(--je-line);font-family:inherit;color:var(--je-ink);background-color:#fff}
.je-site :is(.button,.btn,.home-button,.actions button,.actions a){border-radius:12px;font-family:inherit}
.je-site :is(.panel,.card,.plan-card,.game-card,.gate,.notice,.guide){border-radius:var(--je-radius);border-color:var(--je-line)}
.je-site footer{font-family:inherit;color:var(--je-muted);border-color:var(--je-line);font-size:13px}
.je-header{max-width:none;display:block;position:relative;isolation:isolate;width:100%;margin:0!important;background:#fffcf9!important;border:0!important;padding:0!important;color:var(--je-ink)}
.je-header::after{content:'';display:block;height:4px;background:linear-gradient(90deg,#edc6d7,#f5e6c7,#dceade,#d9e9f0,#e4dcef)}
.je-header-inner{width:100%;max-width:var(--je-width);min-height:94px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:12px 0}
.je-brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:var(--je-muted);flex-shrink:0}
.je-brand img{width:128px;height:auto;max-height:72px;object-fit:contain;display:block}
.je-brand span{font:400 11px/1.5 JeInterface,system-ui,sans-serif}
.je-nav{display:flex;align-items:center;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.je-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;text-decoration:none;border:1px solid transparent;border-radius:12px;font:600 13px/1.4 JeInterface,system-ui,sans-serif;color:var(--je-ink);background:transparent;white-space:nowrap;transition:background .15s}
.je-nav a:hover{background:var(--je-pink)}
.je-nav a.is-current{color:#893b60;background:var(--je-pink);border-color:#eccfdd}
.je-nav a[data-section=account]{background:var(--je-rose);color:white}
.je-nav a[data-section=account]:hover{background:#8f3458}
.je-nav #admin-link{font-size:11px;color:var(--je-muted)}
.je-dock{display:none}
.je-site .je-auth-card{max-width:460px!important;margin:48px auto!important;padding:32px!important;background:white;border:1px solid var(--je-line);border-radius:24px;box-shadow:0 14px 42px #67405408;text-align:center}
.je-auth-card>img{width:132px;height:auto;margin:0 auto 8px}
.je-auth-card h1{font-size:28px!important;letter-spacing:-.6px}
.je-auth-card p{color:var(--je-muted)}
.je-auth-card a{color:var(--je-rose)}
.je-auth-card .je-auth-primary{display:block;padding:14px;border-radius:12px;background:var(--je-rose);color:white;text-decoration:none}
.je-auth-card .je-auth-secondary{display:block;padding:14px;border:1px solid var(--je-line);border-radius:12px;background:white;text-decoration:none;color:var(--je-ink);margin:16px 0 12px}
@media(max-width:1120px){.je-header-inner{padding:12px 20px}.je-brand span{display:none}}
@media(max-width:700px){
 body.je-site{font-size:14px;padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))}
 .je-site main{width:calc(100% - 32px);margin:22px auto 32px;padding-left:0;padding-right:0}
 .je-header-inner{min-height:80px;gap:12px;padding:10px 16px}
 .je-brand img{width:100px;max-height:54px}
 .je-nav{gap:4px;flex-wrap:nowrap}
 .je-nav a{display:none}
 .je-nav a:is([data-section=plans],[data-section=account]){display:inline-flex;font-size:11px;min-height:42px;padding:10px}
 .je-nav a[data-section=plans]{background:var(--je-pink);color:#893b60}
 .je-nav #admin-link:not([hidden]){display:inline-flex;padding:8px 5px;font-size:9px}
 .je-site main>h1{font-size:30px;letter-spacing:-.8px}
 .je-site main>h2{font-size:22px}
 .je-dock{position:fixed;z-index:900;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--je-line);border-radius:20px 20px 0 0;background:#fffcf9f5;backdrop-filter:blur(12px);box-shadow:0 -5px 24px #67405407}
 .je-dock a{min-height:56px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:5px 2px;border-radius:13px;color:#796473;text-decoration:none;font:600 10px/1.4 JeInterface,system-ui,sans-serif}
 .je-dock svg{width:23px;height:23px}
 .je-dock a.is-current{color:#933b61;background:var(--je-pink)}
 .je-site .je-auth-card{width:calc(100% - 32px);margin:26px auto!important;padding:24px 20px!important}
 .je-auth-card h1{font-size:25px!important}
}
@media(prefers-reduced-motion:reduce){.je-nav a{transition:none}}
@media print{.je-header,.je-dock{display:none!important}body.je-site{padding:0;background:white}}
.je-nav{margin:0;border:0;padding:0;box-shadow:none;border-radius:0;background:transparent;text-align:left}
.je-site main#app{max-width:var(--je-width);padding-left:0;padding-right:0}
.je-site .planner-intro h1,.je-site .hero h1,.je-site .account-discovery h1,.je-site .app-intro h1{font-size:clamp(30px,3.5vw,44px);line-height:1.16;letter-spacing:-1.2px}
.je-account-tools{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:0 0 18px;border-bottom:1px solid var(--je-line);margin-bottom:24px;color:var(--je-muted);font-size:12px}
.je-account-tools form{margin:0}.je-account-tools button{padding:9px 13px;min-height:42px}
.je-site .legal-page{max-width:820px;padding:32px 40px;border-color:var(--je-line)}
.je-site .legal-page p{text-align:left;hyphens:none}
.je-site .legal-page h1{font-size:34px}
.je-site footer{background:var(--je-paper)}
.je-site footer :is(p,a,h2){font-family:inherit}
@media(max-width:700px){.je-site .planner-intro h1,.je-site .hero h1,.je-site .account-discovery h1,.je-site .app-intro h1{font-size:30px;letter-spacing:-.8px}.je-site .legal-page{padding:24px 20px}.je-site .legal-page h1{font-size:28px}.je-account-tools{justify-content:space-between}.je-account-tools #identity{max-width:65%;overflow-wrap:anywhere}}

/* Area navigation */
.je-nav{gap:7px;flex-wrap:wrap}.je-nav a{font-size:13px;padding:8px 12px;border-radius:12px;min-height:40px;display:inline-flex;align-items:center}
.je-nav [data-section="family"]{background:#e6f2e9;color:#315f49}.je-nav [data-section="teacher"]{background:#f8e4ee;color:#853956}.je-nav [data-section="games"]{background:#fff1c5;color:#72551e}.je-nav [data-section="materials"]{background:#edf0f9;color:#4c587a}
.je-nav a.is-current{box-shadow:inset 0 -3px currentColor}
.feature-launchers .feature-link{padding:20px;border-radius:18px;min-height:190px}.feature-link.feature-family{background:#e6f2e9;color:#315f49}.feature-link.feature-teacher{background:#f8e4ee;color:#853956}.feature-link.feature-games{background:#fff1c5;color:#72551e}.feature-link.feature-materials{background:#edf0f9;color:#4c587a}.feature-link .feature-icon{font-size:28px;width:42px;height:42px}.feature-link .feature-tail{font-size:12px}.feature-link strong{font-size:19px}
body[data-area="family"] #catalogue{--je-rose:#37684f;border-top:4px solid #acd0b7}body[data-area="games"]{--je-rose:#7a5b23}body[data-area="teacher"]{background:#fff9fb}
.area-hub{padding-top:20px!important}.area-eyebrow{font-size:12px;letter-spacing:1.5px;color:#913f64;font-weight:700}.area-hub h1{font-size:clamp(30px,4vw,44px);margin:12px 0}.area-hub>p{color:var(--je-muted);margin-bottom:32px}.area-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.area-resource{background:white;border:1px solid #eddbe4;border-radius:20px;padding:24px;display:flex;flex-direction:column;align-items:flex-start}.area-resource h2{font-size:20px;margin:0}.area-resource p{font-size:14px;color:var(--je-muted);flex:1}.area-resource a{font-size:13px;font-weight:700;padding:9px 13px;background:#f8e4ee;color:#853956;border-radius:10px;text-decoration:none}.je-site .home-button{font-size:14px;padding:11px 18px;min-height:44px}
@media(max-width:760px){.area-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.je-nav a{padding:7px 9px;font-size:12px}.feature-launchers .feature-link{padding:17px;min-height:176px}}
@media(max-width:480px){.area-resource-grid{grid-template-columns:1fr}.feature-launchers{grid-template-columns:repeat(2,minmax(0,1fr))!important}.feature-link small{font-size:12px}.je-dock{grid-template-columns:repeat(5,minmax(0,1fr))!important}.je-dock a{font-size:10px!important;padding:8px 3px!important}}

.games-print-entry{max-width:1080px;margin:22px auto;padding:22px 24px;border:1px solid #ead9a4;border-radius:18px;background:#fff6d9;display:flex;align-items:center;justify-content:space-between;gap:20px}.games-print-entry p{margin:5px 0;font-size:14px}.games-print-entry a{white-space:nowrap;color:#72551e;font-weight:700;font-size:13px}@media(max-width:700px){.games-print-entry{margin:18px 20px;display:block}.games-print-entry a{display:inline-block;margin-top:10px}}
.je-dock{grid-template-columns:repeat(5,minmax(0,1fr))!important}

/* Compact aligned cards: one visual rhythm across the catalogue and area entrances. */
.je-site .folder-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important;align-items:stretch}
.je-site .library-folder{display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:flex-start!important;min-width:0!important;min-height:0!important;height:auto!important;padding:16px!important;gap:0!important;border:1px solid var(--folder-edge)!important;border-radius:14px!important;background:var(--folder-light)!important;box-shadow:none!important;text-align:left!important;transform:none!important;overflow:hidden}
.je-site .library-folder:before,.je-site .library-folder:after{content:none!important}.je-site .folder-art{display:none!important}.je-site .folder-info{min-width:0;width:100%;display:flex;flex-direction:column;align-items:flex-start;gap:7px!important}.je-site .folder-info strong{font-size:16px!important;line-height:1.3!important;letter-spacing:0!important;overflow-wrap:anywhere}.je-site .folder-info small{font-size:12px!important;line-height:1.45!important}.je-site .folder-total{font-size:11px!important;font-weight:400!important;margin:3px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.profje-home .feature-launchers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}.profje-home .discover-home .feature-link{min-width:0;min-height:0!important;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:20px!important;border-radius:16px!important;box-shadow:none!important}.profje-home .discover-home .feature-link:after{content:none!important}.profje-home .discover-home .feature-icon{display:flex;align-items:center;justify-content:flex-start;width:28px!important;height:28px!important;margin:0 0 5px!important;background:transparent!important;border:0!important;border-radius:0!important}.feature-icon svg{width:26px;height:26px;display:block}.profje-home .discover-home .feature-link strong{font-size:18px;line-height:1.3}.profje-home .discover-home .feature-link small{font-size:12px;line-height:1.5;max-width:none}.profje-home .discover-home .feature-tail{display:none!important}
.je-dock [data-section=family].is-current{background:#e6f2e9;color:#315f49}.je-dock [data-section=games].is-current{background:#fff1c5;color:#72551e}.je-dock [data-section=materials].is-current{background:#edf0f9;color:#4c587a}
@media(max-width:700px){
 .je-site main,.je-site main#app,.profje-home.je-site main{width:calc(100% - 32px)!important;max-width:1080px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;min-width:0}
 .je-header-inner{width:100%;min-width:0;gap:10px}.je-nav{min-width:0;margin-left:auto}.je-nav a{display:none!important}.je-nav a[data-section=account],.je-nav #admin-link:not([hidden]){display:inline-flex!important}.je-brand{min-width:0}.je-brand img{width:96px}
 .je-site .folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.je-site .library-folder{padding:13px 12px!important;border-radius:12px!important}.je-site .folder-info strong{font-size:14px!important;line-height:1.35!important}.je-site .folder-info small{display:none!important}.je-site .folder-total{font-size:10px!important;line-height:1.4!important}.je-site .folder-info{gap:7px!important}.folder-heading{margin-bottom:14px!important}.folder-heading h3{font-size:21px!important}
 .profje-home .discover-home .feature-launchers{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.profje-home .discover-home .feature-link{padding:15px!important;gap:6px!important}.profje-home .discover-home .feature-link strong{font-size:16px!important;line-height:1.25!important}.profje-home .discover-home .feature-link small{font-size:11px!important;line-height:1.4!important}.profje-home .discover-home .feature-icon{width:24px!important;height:24px!important;margin-bottom:3px!important}.profje-home .feature-icon svg{width:24px;height:24px}
 .je-site .filters:not(.expanded){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.je-site .filters>label{min-width:0!important}.je-site .filters>label:first-child{grid-column:1/-1!important}.je-site .filters input,.je-site .filters select{width:100%;min-width:0;font-size:14px!important}.je-site #reset{min-height:40px;padding:9px 13px;font-size:12px}
 .je-dock{gap:2px;padding-left:8px;padding-right:8px}.je-dock a{min-width:0;gap:3px;min-height:50px!important}.je-dock svg{width:22px;height:22px}.je-dock a>span{font-size:10px;line-height:1.2}
}

/* Restore the original Profª Jé rainbows and header waves. */
body.je-site{isolation:isolate}
body.je-site::before{content:''!important;display:block!important;position:fixed;inset:0;z-index:-1;pointer-events:none;background:url('/catalogo/assets/arco-iris-pastel.svg') center top / max(100vw,1000px) auto no-repeat;opacity:.22}
.je-site .je-header{isolation:isolate;background:#fffdfb!important;overflow:hidden}
.je-site .je-header::before{content:'';display:block;position:absolute;inset:0;width:100%;height:100%;background:url('/catalogo/assets/header-rainbow.svg') center / 100% 100% no-repeat;opacity:.42;pointer-events:none;z-index:-1}
.je-site .je-header-inner{position:relative;z-index:1}
@media(max-width:700px){body.je-site::before{background-size:850px auto;background-position:center -45px;opacity:.20}.je-site .je-header::before{background-size:auto 100%;opacity:.42}}
@media print{body.je-site::before{display:none!important}}

.je-nav a[data-section=family],.je-nav a[data-section=family].is-current{color:#315f49;background:#e6f2e9}.je-nav a[data-section=teacher],.je-nav a[data-section=teacher].is-current{color:#853956;background:#f8e4ee}.je-nav a[data-section=games],.je-nav a[data-section=games].is-current{color:#72551e;background:#fff1c5}.je-nav a[data-section=materials],.je-nav a[data-section=materials].is-current{color:#4c587a;background:#edf0f9}.je-nav a[data-section=account]{background:#a63f68;color:white}.je-site .area-resource{box-shadow:0 4px 20px #69405405}.je-site .area-resource a:hover{background:#efd2e0}.je-site .je-dock{box-shadow:0 -4px 20px #67405408}

/* Brighter logo accents, with calm paper backgrounds and readable interface text. */
body.je-site{--je-ink:#37414b;--je-muted:#53606a;--je-blue-accent:#128bb8;--je-green-accent:#25885b;--je-yellow-accent:#f4bf28;--je-red-accent:#dc6156;--je-rose:#a63f68;color:var(--je-ink)}
.je-site p{font-weight:600;color:#505b64}.je-site :is(.muted,.help,.small,.note,.hero-reassurance,.save-info){color:#53606a!important}.je-site .eyebrow{color:#435c68!important}.je-site .je-header::after{background:linear-gradient(90deg,#e67b78,#f4c648,#7fc69e,#72bcdf,#bd9dd9)}
body.je-site::before{filter:saturate(1.35);opacity:.28}.je-site .je-header::before{filter:saturate(1.35);opacity:.52}
.je-site .hero h1 em{color:#197d91!important}.je-site .preferred-plan{background:#f4c744;color:#4d431d}.je-site .new-label{background:#f4c744;color:#4d431d}.je-site .home-button.light{color:#306978!important}.je-site .sample-action,.je-site .diagnostic-shortcut a{color:#176d85}
@media(max-width:700px){body.je-site::before{opacity:.26}.je-site p{line-height:1.75}.je-site .je-header::before{opacity:.5}}
