/* 413: one home surface. Existing lesson, worksheet and game styles keep their owners. */
body[data-academy-home413]{--a413-ink:#172b3b;--a413-muted:#536576;--a413-gold:#ffd88c;--a413-line:#d2e0e5;--a413-surface:#fff;--a413-navy:#10253c;--a413-petrol:#125969;--a413-violet:#6545a8;background:radial-gradient(ellipse at 92% 5%,#50336755,transparent 38rem),radial-gradient(ellipse at 8% 40%,#14717c33,transparent 50rem),#0c2033!important;color:#edf5fc;background-attachment:scroll}
body[data-academy-home413] :is(.ap321-header,.ap321-toolbar,main,.ap321-footer){max-width:1240px;padding-inline:28px}
body[data-academy-home413] .ap321-header{padding-block:18px;gap:20px}
body[data-academy-home413] :is(.ap321-brand,.ap321-brand b){color:#fff}
body[data-academy-home413] .ap321-brand small{color:#bacfdc;font-size:9px;letter-spacing:.08em}
body[data-academy-home413] .ap321-brand img{width:46px;height:46px;border-radius:13px;box-shadow:0 0 0 1px #ffffff40}
body[data-academy-home413] .a413-header-tools{display:flex;gap:12px;align-items:center}
body[data-academy-home413] :is(.a413-header-tools button,.ap321-help){color:#e0edf7;background:transparent;border:1px solid #8faaba66;border-radius:12px;font:inherit;font-size:12px;font-weight:700;text-decoration:none;padding:10px 12px;min-height:44px;max-width:none}
body[data-academy-home413] .a413-header-tools button:hover,body[data-academy-home413] .ap321-help:hover{background:#ffffff12;border-color:#d5e8f7}
body[data-academy-home413] .ap321-toolbar{margin-bottom:16px;gap:14px;align-items:center}
body[data-academy-home413] .ap321-tabs{padding:4px;background:#04152480;border:1px solid #7a99b155;border-radius:14px;gap:4px}
body[data-academy-home413] .ap321-tabs button{color:#bed1df;padding:9px 16px;min-height:42px;border-radius:10px;font-size:14px}
body[data-academy-home413] .ap321-tabs button[aria-selected=true]{color:#152c41;background:#e8f3fa;border:1px solid #fff;box-shadow:0 2px 6px #0003}
body[data-academy-home413] .ap321-shortcuts{gap:7px}
body[data-academy-home413] .ap321-shortcuts a{color:#d9e8f5;font-size:12px;text-decoration:none;min-height:40px;padding:9px 13px;border:1px solid #738da855;border-radius:10px;display:inline-flex;align-items:center}
body[data-academy-home413] .ap321-shortcuts a:hover{border-color:#ffda98;color:#ffda98;background:#ffffff08}
body[data-academy-home413] .aj322{max-width:none;color:#eaf4fc}
body[data-academy-home413] .a413-hero{display:flex;position:relative;min-height:318px;padding:32px 36px;border:1px solid #adcbe544;border-radius:28px;background:#152640;box-shadow:0 18px 50px #0003;overflow:hidden;isolation:isolate}
body[data-academy-home413] .a413-hero-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 58%;opacity:1}
body[data-academy-home413] .a413-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#0b2038e8 0%,#102444b0 32%,#1a2a4c15 68%,transparent);z-index:0}
body[data-academy-home413] .a413-hero-copy{position:relative;z-index:1;max-width:58%;padding:0;text-shadow:none;color:white}
body[data-academy-home413] .a413-hero-copy .aj319-kicker{margin:0;color:#fbdc9c;font-size:10px;letter-spacing:.15em;line-height:1.6}
body[data-academy-home413] .a413-hero-copy h1{font-size:clamp(37px,4.4vw,57px);line-height:1.04;letter-spacing:-.045em;font-weight:800;color:#fff;margin:12px 0 13px}
body[data-academy-home413] .a413-hero-copy p:not(.aj319-kicker){color:#e5edf8;font-size:16px;line-height:1.55;margin:0}
body[data-academy-home413] .a413-hero-actions{display:flex;flex-wrap:wrap;gap:9px 16px;align-items:center;margin-top:22px}
body[data-academy-home413] .a413-primary{display:inline-flex;gap:18px;align-items:center;justify-content:space-between;min-height:48px;padding:13px 18px;border-radius:13px;border:1px solid #fff2c7;background:linear-gradient(135deg,#ffe8ad,#ffc775);color:#252942;font:inherit;font-size:14px;font-weight:800;box-shadow:0 3px 0 #9a632c,0 8px 23px #ffca7c22;cursor:pointer}
body[data-academy-home413] .a413-primary:hover{background:#ffebba;box-shadow:0 3px 0 #9a632c,0 8px 24px #ffca7c45}
body[data-academy-home413] .a413-hero-actions>span{font-size:11px;color:#d2e3f0}
body[data-academy-home413] .a413-class-step{margin:22px 0 20px;padding:20px 22px;background:#142e43;border:1px solid #8daab33d;border-radius:22px;color:#f3f8ff}
body[data-academy-home413] .aj319-title{gap:20px;margin-bottom:16px;align-items:center}
body[data-academy-home413] .aj319-title h2{font-size:clamp(23px,2.8vw,30px);line-height:1.23;color:inherit;margin-top:4px}
body[data-academy-home413] .aj319-title p{font-size:10px;letter-spacing:.11em;color:#bad5df;line-height:1.5}
body[data-academy-home413] .aj319-title>span{font-size:12px;line-height:1.5;color:#b8ccdb;max-width:280px}
body[data-academy-home413] .aj319-grades{grid-template-columns:repeat(8,minmax(0,1fr));gap:8px}
body[data-academy-home413] .aj319-grades button{min-width:0;min-height:65px;padding:8px 4px;border:1px solid #70919d88;border-radius:12px;background:#0d2336!important;color:#d9eaf7!important;box-shadow:0 2px 0 #061724;transition:background .15s,border-color .15s}
body[data-academy-home413] .aj319-grades strong{font-size:23px;line-height:1.12}
body[data-academy-home413] .aj319-grades small{font-size:13px}
body[data-academy-home413] .aj319-grades button>span{font-size:10px;line-height:1.3;margin-top:3px;color:inherit}
body[data-academy-home413] .aj319-grades button:hover{background:#203e53!important;color:#d9eaf7!important;border-color:#d5e8f2;transform:none}
body[data-academy-home413] .aj319-grades button[aria-pressed=true]{background:#fce7b4!important;color:#203047!important;border:2px solid #fff2d7;box-shadow:0 2px 0 #9b7337;position:relative}
body[data-academy-home413] .a413-portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0 24px}
body[data-academy-home413] .a413-portal{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);min-width:0;overflow:hidden;text-decoration:none;color:#fff;border:1px solid #accce361;border-radius:24px;background:radial-gradient(ellipse at 50% 12%,#267d8a88,transparent 76%),#13394a;box-shadow:0 5px 0 #031a2a,0 16px 30px #0002;transition:border-color .16s,transform .16s}
body[data-academy-home413] .a413-portal-practice{background:radial-gradient(ellipse at 50% 12%,#9b6a343d,transparent 76%),#38324c;border-color:#d6bddd55}
body[data-academy-home413] .a413-portal-play{background:radial-gradient(ellipse at 50% 12%,#7941b87d,transparent 76%),#302347;border-color:#ba9fda77}
body[data-academy-home413] .a413-portal>img{position:relative;display:block;width:100%;height:206px;object-fit:contain;filter:drop-shadow(0 8px 9px #020b2860);padding:12px 18px 0}
body[data-academy-home413] .a413-portal-copy{display:grid;gap:4px;padding:12px 23px 22px;min-width:0}
body[data-academy-home413] .a413-portal-copy>strong{font-size:28px;line-height:1.15;letter-spacing:-.035em}
body[data-academy-home413] .a413-portal-copy>span{color:#d1e1ed;font-size:13px;line-height:1.45}
body[data-academy-home413] .a413-portal-copy>b{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#ffe4a8;font-size:12px;line-height:1.4;padding-top:12px;margin-top:7px;border-top:1px solid #e5edff29}
body[data-academy-home413] .a413-portal:hover{transform:translateY(-3px);border-color:#ffe4a8}
body[data-academy-home413] .a413-search-slot{margin:24px 0}
body[data-academy-home413] .a413-search-slot .ap321-search{max-width:none;padding:0;margin:0}
body[data-academy-home413] .a413-search-slot .discovery322{max-width:none;margin:0;padding:20px 22px;border-radius:20px;background:#f6fafc;border:1px solid #adc5d2;color:#153349;box-shadow:0 4px 0 #081a29}
body[data-academy-home413] .discovery322-heading{margin-bottom:12px}
body[data-academy-home413] .discovery322-query{background:#fff;border-color:#90aebb}
body[data-academy-home413] .discovery322-query button{background:#145969;color:#fff}
body[data-academy-home413] .discovery322-query input{font-size:16px}
body[data-academy-home413] .discovery322-filters{gap:12px}
body[data-academy-home413] .a413-subject-step{margin-top:32px;margin-bottom:26px}
body[data-academy-home413] .aj319-subjects{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body[data-academy-home413] .aj319-subject{border:1px solid #d3e0e8;border-radius:22px;background:#f7fbff;box-shadow:0 4px 0 #0003,0 12px 24px #0002;color:#172b3b;transition:border-color .15s,transform .15s;display:flex;flex-direction:column}
body[data-academy-home413] .aj319-subject:hover{border-color:#ffe0a0;box-shadow:0 4px 0 #0003,0 12px 24px #0003;transform:translateY(-3px)}
body[data-academy-home413] .aj319-subject[aria-pressed=true]{border:3px solid #e7b550;background:#fffaf0;box-shadow:0 4px 0 #614e2e}
body[data-academy-home413] .aj319-picture,body[data-academy-home413] .aj319-picture:has(.a353-subject-art),body[data-academy-home413] .aj319-picture:has(.raster-art326){display:grid;place-items:center;aspect-ratio:1.32!important;width:100%;height:auto;padding:0!important;overflow:hidden;background:#f7f0e3!important;border-radius:0}
/*419: dedicated native subject art covers this174CSSpx viewport, including3x displays. */
body[data-academy-home413] .aj319-picture>.raster-art326{height:auto;width:100%;aspect-ratio:1;max-width:75.757575%;overflow:hidden}
/*419: each subject now uses its own native image; no atlas override. */
body[data-academy-home413] .a353-subject-art{width:100%;height:100%;border-radius:0}
body[data-academy-home413] .a353-subject-art img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
body[data-academy-home413] .aj319-subject-copy{display:flex;flex-direction:column;gap:0;padding:16px 18px;flex:1;width:100%}
body[data-academy-home413] .aj319-subject-copy>strong{font-size:20px;line-height:1.25;letter-spacing:-.02em}
body[data-academy-home413] .aj319-subject-copy>small{font-size:12px;line-height:1.55;color:#536576;margin-top:7px;min-height:38px;flex:1}
body[data-academy-home413] .aj319-enter{font-size:11px;color:#245d6a;line-height:1.4;border-color:#cddde2;margin-top:14px;padding-top:10px}
body[data-academy-home413] .aj319-next{padding:26px;border-radius:24px;background:#f2f7fc;color:#172b3b;border:1px solid #bdd3df;box-shadow:0 5px 0 #0003;margin-top:32px}
body[data-academy-home413] .aj319-next h2{font-size:28px;color:#173647}
body[data-academy-home413] .aj319-trail{margin:0 0 20px;gap:12px}
body[data-academy-home413] .aj319-trail li{font-size:12px;line-height:1.5;color:#526577;border-color:#c5d8e2;padding-bottom:9px;align-items:center}
body[data-academy-home413] .aj319-trail li.done{color:#215b66;border-color:#3c7b88}
body[data-academy-home413] .aj319-trail li.done>span{background:#236878;border-color:#236878;color:#fff}
body[data-academy-home413] .a322-intro{font-size:14px;color:#536576;margin-top:12px;line-height:1.7}
body[data-academy-home413] .a413-help{margin:28px 0;padding:0;border:1px solid #7894aa66;border-radius:18px;background:#102c40;color:#dceaf5;overflow:hidden}
body[data-academy-home413] .a413-help>summary{display:flex;justify-content:space-between;gap:20px;align-items:center;list-style:none;cursor:pointer;padding:19px 22px;min-height:64px}
body[data-academy-home413] .a413-help>summary::-webkit-details-marker{display:none}
body[data-academy-home413] .a413-help>summary strong{display:block;font-size:16px;color:#f4f9ff}
body[data-academy-home413] .a413-help>summary small{display:block;font-size:12px;color:#bed1e0;margin-top:4px;line-height:1.5}
body[data-academy-home413] .a413-help>summary>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#ffffff12;font-size:23px;font-weight:400;flex:none}
body[data-academy-home413] .a413-help[open]>summary>b{transform:rotate(45deg)}
body[data-academy-home413] .a413-help-body{padding:0 20px 4px}
body[data-academy-home413] .ap321-footer{color:#adc5d5;padding-top:20px}
body[data-academy-home413] .ap321-footer>p{font-size:12px}
body[data-academy-home413] :is(a,button,input,select,summary):focus-visible{outline:3px solid #ffdb8b;outline-offset:4px}
body[data-academy-home413] .ap321-search :is(a,button,input,select):focus-visible,body[data-academy-home413] .aj319-next :is(a,button,input,select):focus-visible,body[data-academy-home413] .a413-help-body :is(a,button,input,select):focus-visible{outline-color:#155c75}
body[data-academy-home413] .ap321-teachers{color:#182e41}
body[data-academy-home413] .ap321-teacher-hero{background:#edf7fc;border-color:#bed4df}
body[data-academy-home413] .ap321-materials a{color:#d5e8f6}
body[data-academy-home413] :is(#a322-grade,#a322-subject,#a322-next){scroll-margin-top:24px}
@media(max-width:980px){body[data-academy-home413] .aj319-subjects{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-academy-home413] .a413-portal>img{height:176px}body[data-academy-home413] .a413-portal-copy{padding-inline:18px}body[data-academy-home413] .a413-hero-copy{max-width:64%}}
@media(max-width:700px){body[data-academy-home413] :is(.ap321-header,.ap321-toolbar,main,.ap321-footer){padding-inline:18px}body[data-academy-home413] .ap321-header{padding-block:16px;gap:14px;align-items:flex-start}body[data-academy-home413] .ap321-brand{font-size:23px;gap:9px}body[data-academy-home413] .ap321-brand small{max-width:155px;font-size:7px;line-height:1.5;margin-top:5px}body[data-academy-home413] .ap321-brand img{width:40px;height:40px}body[data-academy-home413] .a413-header-tools{gap:4px;align-items:flex-end;flex-direction:column}body[data-academy-home413] :is(.a413-header-tools button,.ap321-help){font-size:11px;padding:5px 8px;border:0;min-height:30px}body[data-academy-home413] .ap321-toolbar{flex-direction:row;align-items:center;gap:10px;margin-bottom:14px}body[data-academy-home413] .ap321-tabs{flex:1;min-width:0}body[data-academy-home413] .ap321-tabs button{padding:8px 10px;font-size:12px;min-height:40px;flex:1}body[data-academy-home413] .ap321-shortcuts{display:none}body[data-academy-home413] .a413-hero{min-height:302px;padding:27px 25px;border-radius:23px;align-items:center}body[data-academy-home413] .a413-hero-copy{max-width:80%;padding-bottom:0}body[data-academy-home413] .a413-hero-copy h1{font-size:44px;margin-block:11px 12px}body[data-academy-home413] .a413-hero-copy p:not(.aj319-kicker){font-size:14px}body[data-academy-home413] .a413-hero-copy .aj319-kicker{font-size:8px}body[data-academy-home413] .a413-hero-image{object-position:61% center}body[data-academy-home413] .a413-hero:after{background:linear-gradient(90deg,#0c1e39e8,#1c254e87 52%,#19234711)}body[data-academy-home413] .a413-hero-actions{margin-top:18px;gap:10px}body[data-academy-home413] .a413-primary{font-size:13px;padding:12px 15px}body[data-academy-home413] .a413-hero-actions>span{font-size:10px}body[data-academy-home413] .a413-class-step{padding:17px;margin-top:18px}body[data-academy-home413] .aj319-title{display:flex;gap:12px;margin-bottom:13px}body[data-academy-home413] .aj319-title h2{font-size:23px}body[data-academy-home413] .aj319-title>span{font-size:11px;max-width:160px;margin-top:0}body[data-academy-home413] .aj319-grades{gap:6px}body[data-academy-home413] .aj319-grades button{min-height:58px;padding-block:7px;border-radius:9px}body[data-academy-home413] .aj319-grades strong{font-size:21px}body[data-academy-home413] .aj319-grades button>span{font-size:9px}body[data-academy-home413] .a413-portals{gap:11px;margin-block:18px 22px}body[data-academy-home413] .a413-portal{border-radius:19px}body[data-academy-home413] .a413-portal>img{height:142px;padding:10px 7px 0}body[data-academy-home413] .a413-portal-copy{padding:8px 13px 15px}body[data-academy-home413] .a413-portal-copy>strong{font-size:25px}body[data-academy-home413] .a413-portal-copy>span{font-size:11px;min-height:32px}body[data-academy-home413] .a413-portal-copy>b{font-size:10px;padding-top:9px;margin-top:4px}body[data-academy-home413] .a413-search-slot .discovery322{padding:17px}body[data-academy-home413] .aj319-subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}body[data-academy-home413] .aj319-subject-copy{padding:14px}body[data-academy-home413] .aj319-subject-copy>strong{font-size:18px}body[data-academy-home413] .aj319-subject-copy>small{font-size:11px;min-height:36px}body[data-academy-home413] .aj319-enter{font-size:10px}body[data-academy-home413] .aj319-next{padding:21px 18px}body[data-academy-home413] .aj319-next h2{font-size:25px}body[data-academy-home413] .a413-help>summary{padding:17px}body[data-academy-home413] .a413-help-body{padding-inline:12px}}
@media(max-width:440px){body[data-academy-home413] .a413-hero{padding:24px 20px;min-height:310px}body[data-academy-home413] .a413-hero-copy{max-width:100%}body[data-academy-home413] .a413-hero-copy h1{font-size:39px}body[data-academy-home413] .a413-hero:after{background:linear-gradient(90deg,#0b1b37f0,#1a244ca1 75%,#19234744)}body[data-academy-home413] .a413-hero-actions{max-width:240px}body[data-academy-home413] .a413-hero-actions>span{display:block}body[data-academy-home413] .a413-class-step .aj319-title{display:block}body[data-academy-home413] .a413-class-step .aj319-title>span{display:block;max-width:none;margin-top:5px}body[data-academy-home413] .aj319-grades{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}body[data-academy-home413] .aj319-grades button{min-height:54px}body[data-academy-home413] .a413-portals{gap:8px}body[data-academy-home413] .a413-portal{border-radius:16px}body[data-academy-home413] .a413-portal>img{height:110px;padding:8px 2px 0}body[data-academy-home413] .a413-portal-copy{padding:7px 9px 13px}body[data-academy-home413] .a413-portal-copy>strong{font-size:21px}body[data-academy-home413] .a413-portal-copy>span{font-size:10px;min-height:42px}body[data-academy-home413] .a413-portal-copy>b{font-size:10px;gap:4px;align-items:flex-start}body[data-academy-home413] .a413-subject-step>.aj319-title{display:block}body[data-academy-home413] .a413-subject-step>.aj319-title>span{display:block;max-width:none;margin-top:6px}body[data-academy-home413] .aj319-trail{gap:7px}body[data-academy-home413] .aj319-trail li{font-size:10px;gap:5px;align-items:flex-start}body[data-academy-home413] .aj319-trail li>span{width:23px;height:23px;flex:none}}
/* The square mobile viewport contains the complete bounded subject sculpture. */
@media(max-width:700px){body[data-academy-home413] .aj319-picture:has(.raster-art326){aspect-ratio:1!important}body[data-academy-home413] .aj319-picture>.raster-art326{max-width:100%}}
/* A deliberate concentration mode, never just a faded illustration. */
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413]{background:#fff!important;color:#172b3b}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(.a413-hero,.a413-class-step,.a413-portal,.a413-help,.aj319-next,.aj319-subject){background:#fff!important;color:#172b3b;border:1px solid #7d909d;box-shadow:none;transform:none}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(.a413-hero-image,.a413-hero:after,.a413-portal>img,.aj319-picture){display:none!important}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(.a413-hero-copy,.a413-hero-copy h1,.a413-hero-copy p,.a413-hero-actions>span,.a413-hero-copy .aj319-kicker,.ap321-brand,.ap321-brand b,.ap321-brand small,.ap321-help,.a413-header-tools button,.aj319-title p,.aj319-title>span,.a413-portal-copy>span,.a413-portal-copy>b,.a413-help summary strong,.a413-help summary small,.ap321-footer,.ap321-materials a){color:#172b3b;text-shadow:none}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] .a413-hero-copy{max-width:100%}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] .a413-hero{min-height:0}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(.aj319-grades button,.ap321-tabs,.ap321-tabs button,.ap321-shortcuts a){background:#fff;color:#172b3b;border-color:#7d909d;box-shadow:none}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(.aj319-grades button[aria-pressed=true],.ap321-tabs button[aria-selected=true]){border:2px solid #164e68;background:#edf5fa}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] .aj319-grades button{background:#fff!important;color:#172b3b!important}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] .aj319-grades button[aria-pressed=true]{background:#edf5fa!important;color:#172b3b!important}
html:is([data-study-background=white],[data-study-theme=calm],[data-support-calm=true]) body[data-academy-home413] :is(a,button,input,select,summary):focus-visible{outline-color:#155c75}
@media(prefers-reduced-motion:reduce){body[data-academy-home413] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}body[data-academy-home413] :is(.a413-portal,.aj319-subject):hover{transform:none}}
html:is([data-study-motion=reduced],[data-support-motion=reduced]) body[data-academy-home413] *{animation:none!important;transition:none!important;scroll-behavior:auto!important;transform:none!important}
@media(forced-colors:active){body[data-academy-home413]{background:Canvas!important;color:CanvasText}body[data-academy-home413] :is(.a413-hero-image,.a413-hero:after,.a413-portal>img,.aj319-picture){display:none!important}body[data-academy-home413] :is(.a413-hero,.a413-class-step,.a413-portal,.a413-help,.aj319-next,.aj319-subject,.ap321-tabs,.ap321-tabs button,.aj319-grades button,.a413-primary){background:Canvas!important;color:CanvasText!important;border:1px solid CanvasText;box-shadow:none}body[data-academy-home413] :is(.ap321-brand,.ap321-brand b,.ap321-brand small,.ap321-help,.a413-header-tools button,.a413-hero-copy,.a413-hero-copy h1,.a413-hero-copy p,.a413-hero-copy .aj319-kicker,.a413-hero-actions>span,.aj319-title p,.aj319-title>span,.a413-portal-copy>span,.a413-portal-copy>b,.a413-help summary strong,.a413-help summary small,.ap321-footer){color:CanvasText!important}body[data-academy-home413] :is(.aj319-grades button[aria-pressed=true],.ap321-tabs button[aria-selected=true]){outline:2px solid Highlight}body[data-academy-home413] :is(a,button,input,select,summary):focus-visible{outline:3px solid Highlight}body[data-academy-home413] .a413-hero{min-height:0}body[data-academy-home413] .a413-hero-copy{max-width:100%}}
@media(forced-colors:active){html body[data-academy-home413] .aj319-grades button[aria-pressed]{background:Canvas!important;color:CanvasText!important}}
@media print{body[data-academy-home413]{background:#fff!important;color:#000}body[data-academy-home413] :is(.ap321-header,.ap321-toolbar,.a413-portals,.a413-search-slot,.a413-help){display:none}body[data-academy-home413] .a413-hero-image{display:none}}

/* 487: one visible selection step, real topic inventory and three clear actions. */
body[data-academy-home322] [data-flow-step487]:not([data-flow-step487="grade"])>.a322-hero{display:none}
body[data-academy-home322] .a487-context{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
body[data-academy-home322] .a487-context button{border:1px solid #7889a9;border-radius:12px;background:#fff;color:#243a60;padding:10px 14px;font:inherit;font-weight:750;min-height:48px}
body[data-academy-home322] .a487-context button span{display:block;font-size:12px;font-weight:500}
body[data-academy-home322] .a487-inventory{color:#405371;font-size:14px;line-height:1.5}
body[data-academy-home322] .a487-topics{display:grid;gap:16px;margin:18px 0}
body[data-academy-home322] .a487-topics section{padding:15px;border:1px solid #c8d4e5;border-radius:14px;background:#ffffffc9}
body[data-academy-home322] .a487-topics h3{margin:0 0 12px;font-size:18px}
body[data-academy-home322] .a487-topics section>div{display:flex;flex-wrap:wrap;gap:8px}
body[data-academy-home322] .a487-topics button{padding:11px 14px;min-height:48px;border:1px solid #a6b4cc;border-radius:10px;background:#fff;color:#223e62;font:inherit;font-size:15px;text-align:left}
body[data-academy-home322] .a487-topics button[aria-pressed="true"]{background:#e9e3ff;border:2px solid #6345b5;color:#382674}
body[data-academy-home322] .a487-activity{padding-top:16px;border-top:1px solid #c8d4e5}
body[data-academy-home322] .a487-activity>h3{font-size:24px;margin:0 0 12px}
body[data-academy-home322] .a487-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 26px}
body[data-academy-home322] .a487-actions article{padding:18px;border:1px solid #b9c8de;border-radius:15px;background:#fff;display:flex;flex-direction:column;gap:12px;min-width:0}
body[data-academy-home322] .a487-actions h4{font-size:21px;margin:0;color:#253f69}
body[data-academy-home322] .a487-actions p{margin:0;line-height:1.55;color:#405371}
body[data-academy-home322] .a487-actions a{line-height:1.5;overflow-wrap:anywhere}
body[data-academy-home322] .a487-actions .a322-action{min-height:46px;text-align:center;display:grid;place-items:center}
body[data-academy-home322] .a487-actions button.a322-action{padding:12px;border:1px solid #6353a7;border-radius:10px;background:#ece7ff;color:#372566;font:inherit;font-weight:750;cursor:pointer}
body[data-academy-home322] .a487-actions article>span{font-size:13px;color:#52617a}
body[data-academy-home322] .a487-test-links{display:grid;gap:13px}.a487-test-links>div{display:grid;gap:5px;border-top:1px solid #e0e5ef;padding-top:10px}
body[data-academy-home322] :is(.a487-catalogues,.a487-search){padding:14px;border:1px solid #bdcbe0;border-radius:12px;margin-block:20px}
body[data-academy-home322] :is(.a487-catalogues,.a487-search) summary{cursor:pointer;font-weight:750;min-height:28px}
@media(max-width:760px){body[data-academy-home322] .a487-actions{grid-template-columns:1fr}body[data-academy-home322] .a487-topics section>div{display:grid;grid-template-columns:1fr}body[data-academy-home322] .a487-actions article{padding:16px}}
@media(forced-colors:active){body[data-academy-home322] .a487-topics button[aria-pressed="true"]{outline:3px solid Highlight}}
