/* Final age-map layer: comfortable measure, explicit hierarchy and contextual help. */
html body.jr-calendar-page [hidden],html body.jr-calendar-page .age-entry.has-result{display:none!important}
html body.jr-calendar-page .cal-result{max-width:1120px!important;scroll-margin-top:24px!important;padding:28px!important}
html body.jr-calendar-page .age-entry{max-width:1120px!important;padding:36px!important;gap:36px!important}
html body.jr-calendar-page .cal-profile{padding:26px!important}
html body.jr-calendar-page .cal-result-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
html body.jr-calendar-page .cal-domain-panel{grid-template-columns:1fr 1.35fr!important;grid-template-rows:auto!important;grid-auto-rows:auto!important;min-height:0!important;overflow:visible!important;box-shadow:none!important}
html body.jr-calendar-page .cal-summary article{min-height:0!important}
html body.jr-calendar-page .cal-skill-help .cal-skill-help-answer{padding:0!important;box-shadow:none!important;border:0!important;background:transparent!important}
html body.jr-calendar-page .cal-domain-intro{grid-row:auto!important;padding:24px!important}
html body.jr-calendar-page .cal-domain-signals{padding:24px!important}
html body.jr-calendar-page .cal-domain-intro h4{font-size:clamp(22px,2.2vw,28px)!important;line-height:1.25!important}
html body.jr-calendar-page .cal-domain-signals li{font-size:16px!important;line-height:1.55!important;margin:0 0 12px!important}
html body.jr-calendar-page .cal-domain-try{grid-column:1/-1!important;padding:20px 24px!important;border-top:1px solid #d5dce7!important;background:#f6f7fa!important}
html body.jr-calendar-page .cal-profile-source{grid-column:1/-1;padding:15px 24px;font-size:13px;line-height:1.6;min-height:44px;box-sizing:border-box}
html body.jr-calendar-page .cal-practice-source{display:block;width:fit-content;max-width:100%;padding:10px 0 0;font-size:14px;line-height:1.6;min-height:44px;box-sizing:border-box;color:#3e4d82;text-underline-offset:4px;overflow-wrap:anywhere}
html body.jr-calendar-page .cal-back-current{display:block;margin:12px 0 0 auto;padding:10px 14px;min-height:44px;border:1px solid #aab6ca;border-radius:20px;background:#fff;color:#293247;font:600 13px Onest,Arial,sans-serif;cursor:pointer}
.cal-skill-help{grid-column:1/-1;border-top:1px solid #d5dce7;background:#faece5;border-radius:0 0 14px 14px;color:#293247}
.cal-skill-help>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:20px 24px;min-height:56px;box-sizing:border-box;cursor:pointer;list-style:none;font:650 16px/1.4 Onest,Arial,sans-serif}
.cal-skill-help>summary::-webkit-details-marker{display:none}.cal-skill-help>summary::after{content:'+';font-size:26px;line-height:1;font-weight:400}.cal-skill-help[open]>summary::after{content:'−'}
.cal-skill-help-content{padding:0 24px 24px;max-width:760px}
.cal-skill-help label{display:block;font-size:13px;font-weight:600;line-height:1.5;margin-bottom:8px}
.cal-skill-help select{display:block;width:100%;max-width:460px;min-height:48px;padding:10px 32px 10px 12px;border:1px solid #b4a69f;border-radius:10px;background:#fff;color:#293247;font:500 16px/1.4 Onest,Arial,sans-serif;box-sizing:border-box}
html body.jr-calendar-page .cal-skill-help h5{font:650 21px/1.3 Onest,Arial,sans-serif;letter-spacing:-.025em;margin:22px 0 12px;color:#293247}
html body.jr-calendar-page .cal-skill-help p{font-size:15px!important;line-height:1.65!important;margin:0 0 14px!important;max-width:68ch}
.cal-doctor-note{border-top:1px solid #d9c9c0;margin-top:18px}.cal-doctor-note summary{padding:14px 0;cursor:pointer;font-size:14px;line-height:1.5;font-weight:600;min-height:44px;box-sizing:border-box}
.cal-skill-help-content>a{display:block;width:fit-content;max-width:100%;font-size:14px;line-height:1.6;color:#3e4d82;padding:8px 0;text-underline-offset:4px;min-height:44px;box-sizing:border-box;overflow-wrap:anywhere}
.cal-older-materials{display:block;padding:10px 0;min-height:44px;color:#3e4d82;text-underline-offset:4px;box-sizing:border-box}
.cal-skill-help :is(summary,select,a):focus-visible,.cal-back-current:focus-visible{outline:3px solid #bf4b28;outline-offset:4px}
html body.jr-calendar-page .cal-method-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:760px){
 html body.jr-calendar-page .age-entry{padding:24px 18px!important;gap:24px!important}
 html body.jr-calendar-page .cal-result{padding:20px 14px!important}
 html body.jr-calendar-page .cal-profile{padding:20px 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
 html body.jr-calendar-page .cal-profile-head{grid-template-columns:1fr!important;gap:16px!important}
 html body.jr-calendar-page .cal-age-nav{min-width:0!important;max-width:260px!important;width:100%;justify-self:start}
 html body.jr-calendar-page .cal-back-current{margin-left:0}
 html body.jr-calendar-page .cal-domain-panel{grid-template-columns:1fr!important}
 html body.jr-calendar-page :is(.cal-domain-intro,.cal-domain-signals,.cal-domain-try){padding:20px 18px!important}
 html body.jr-calendar-page .cal-profile-source{padding:14px 18px}
 html body.jr-calendar-page .cal-domain-signals li{font-size:16px!important}
 .cal-skill-help>summary{padding:18px;font-size:15px}.cal-skill-help-content{padding:0 18px 20px}
 html body.jr-calendar-page .cal-skill-help h5{font-size:20px}
 html body.jr-calendar-page .cal-result-head{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:center!important}
 html body.jr-calendar-page .cal-result-actions{justify-content:flex-start}
 html body.jr-calendar-page .cal-result-actions button{max-width:none!important;min-height:44px!important}
 html body.jr-calendar-page .cal-result-head h2{font-size:25px!important;line-height:1.15!important}
 html body.jr-calendar-page .cal-result-head button{padding:10px!important;font-size:12px!important}
 html body.jr-calendar-page .cal-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html body.jr-calendar-page .cal-summary article{padding:18px!important;display:grid;grid-template-columns:1fr;gap:5px}
 html body.jr-calendar-page .cal-summary strong{font-size:23px!important}
 html body.jr-calendar-page .cal-summary .cal-summary-age{padding:16px 18px!important}
 html body.jr-calendar-page .cal-summary .cal-summary-age strong{font-size:26px!important}
 html body.jr-calendar-page .cal-summary small{font-size:12px!important;line-height:1.5!important}
 html body.jr-calendar-page .cal-domain-intro h4{font-size:23px!important}
 html body.jr-calendar-page .cal-method-grid{grid-template-columns:1fr!important}
 html body.jr-calendar-page :is(.cal-domain-intro p,.cal-domain-try p,.cal-everyday p,.learning-lens-panel p,.cal-skill-help p){font-size:16px!important;line-height:1.6!important}
}
@media(max-width:359px){html body.jr-calendar-page .cal-profile{padding:16px 0!important}html body.jr-calendar-page .cal-profile-head h3{font-size:26px!important}.cal-skill-help select{font-size:16px;padding-left:8px}}
@media print{
 @page{size:A4;margin:14mm}
 html body.jr-calendar-page{background:#fff!important;color:#111!important}
 body.jr-calendar-page>header,body.jr-calendar-page>footer,body.jr-calendar-page>aside,body.jr-calendar-page>.jr-skip,
 body.jr-calendar-page main>*:not(.cal-result),body.jr-calendar-page .cal-result-actions,
 body.jr-calendar-page .cal-age-nav,body.jr-calendar-page .cal-back-current,
 body.jr-calendar-page .learning-lenses,body.jr-calendar-page .cal-nearby-head,
 body.jr-calendar-page .cal-legend,body.jr-calendar-page .cal-timeline,body.jr-calendar-page .cal-next-steps,
 body.jr-calendar-page .cal-skill-help select,body.jr-calendar-page .cal-skill-help label{display:none!important}
 html body.jr-calendar-page .cal-result{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;border:0!important;box-shadow:none!important}
 html body.jr-calendar-page .cal-profile{padding:16px 0!important;border:0!important;background:#fff!important}
 html body.jr-calendar-page .cal-domain-tabs{display:none!important}
 html body.jr-calendar-page .cal-domain-panel{display:block!important}
 html body.jr-calendar-page :is(.cal-domain-intro,.cal-domain-signals,.cal-domain-try,.cal-reading-key,.cal-everyday){background:#fff!important;border:0!important;padding:12px 0!important;break-inside:avoid}
 html body.jr-calendar-page :is(.cal-result h2,.cal-profile h3){font-size:23px!important}
 html body.jr-calendar-page :is(.cal-domain-panel p,.cal-domain-panel li,.cal-everyday p,.cal-reading-key p){font-size:12pt!important;color:#111!important;line-height:1.5!important}
 html body.jr-calendar-page .cal-summary{display:flex!important;gap:16px!important}
 html body.jr-calendar-page .cal-summary article{flex:1;background:#fff!important;border:0!important;padding:10px 0!important}
 html body.jr-calendar-page .cal-summary strong{font-size:20px!important;color:#111!important}
}
