/* Education surfaces only. The separate games publication never loads this file. */
:root{--learn-navy:#161d3d;--learn-mint:#b9e6cd;--learn-amber:#f2a24a;--learn-ink:#18223b;--learn-muted:#48576b;--learn-bg:#f7f3e9;--learn-card:#fff}
body[data-site-kind="education"],body.mbm-education-hub{background:var(--learn-bg);color:var(--learn-ink);font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:16px}
.mbm-education-hub [hidden]{display:none!important}
.mbm-education-hub .header{background:var(--learn-navy);color:#fff;border-bottom:1px solid #ffffff25}
.mbm-education-hub .brand strong{letter-spacing:.09em}.mbm-education-hub .brand small{color:#c8e9e1}
.mbm-education-hub .nav a{min-height:44px;display:inline-flex;align-items:center;font-size:.95rem}
.mbm-education-hub :is(.tx-hero,.rx-hero){background:linear-gradient(115deg,#161d3d,#194a52);border-bottom:5px solid var(--learn-amber);color:white;padding:1.5rem 0}
.mbm-education-hub :is(.tx-hero,.rx-hero) h1{color:white;font-size:clamp(2rem,5.5vw,3.25rem);line-height:1.12;letter-spacing:-.04em;margin:.5rem 0 .75rem;max-width:22ch}
.mbm-education-hub :is(.tx-hero,.rx-hero) .eyebrow{font-size:.875rem;color:#f4c38a}
.mbm-education-hub :is(.tx-hero,.rx-hero) .lead{color:#e1eaf1;font-size:1rem;max-width:62ch;line-height:1.65;margin:.5rem 0}
.education-breadcrumb{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.3rem;font-size:.875rem}.education-breadcrumb a{color:inherit;min-height:44px;display:inline-flex;align-items:center;text-underline-offset:.2em}
.education-jumps{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.education-jumps a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:.6rem .9rem;border:1px solid #8ca7b4;border-radius:7px;background:#213a4b;color:#e5fbf5;text-decoration:none;font-size:.95rem;font-weight:650}.education-jumps a:first-child{background:var(--learn-mint);color:#142939;border-color:var(--learn-mint)}
.mbm-education-hub .tx-pill{color:#dce9ed;background:transparent;border:0;font-size:.875rem;padding:0;margin:.5rem 0}
.mbm-education-hub .tx-trio{display:none}
.mbm-education-hub .tx-tools{background:var(--learn-bg);padding:1.5rem 0}.mbm-education-hub .tbar{gap:.8rem}.mbm-education-hub .tsearch{background:var(--learn-card);border:1px solid #8d9da9;border-radius:8px}.mbm-education-hub .tsearch input{font-size:1rem;min-height:48px;color:var(--learn-ink)}
.mbm-education-hub :is(.tchip,.rx-chip,.rx-copy,#rxSort){min-height:44px;font-size:.875rem;border-radius:7px;touch-action:manipulation}
.mbm-education-hub :is(.tcard,.rx-cardx){background:var(--learn-card);border:1px solid #c8d5dc;border-top:4px solid #26776c;box-shadow:none;border-radius:9px;padding:1.1rem}
.mbm-education-hub :is(.tcard,.rx-cardx) h3{font-size:1.1rem;line-height:1.4;color:var(--learn-ink)}.mbm-education-hub :is(.tcard,.rx-cardx) p{font-size:1rem;line-height:1.6;color:var(--learn-muted)}
.mbm-education-hub :is(.tcard .go,.rx-go,.rx-view,.fbtn){min-height:44px;font-size:.875rem;display:inline-flex;align-items:center;justify-content:center;white-space:normal;border-radius:7px;padding:.65rem .9rem;letter-spacing:0}
.mbm-education-hub .tcount{font-size:.95rem;color:var(--learn-muted)}.mbm-education-hub .tsec{font-size:1.15rem;letter-spacing:0}
.mbm-education-hub .rx-chipzone{position:relative;background:var(--learn-bg);box-shadow:none;padding-top:1rem}.mbm-education-hub .rx-chipzone .rx-search{background:var(--learn-card);border:1px solid #8d9da9;border-radius:8px;max-width:1150px}.mbm-education-hub .rx-search input{font-size:1rem;min-height:48px;color:var(--learn-ink)}.mbm-education-hub .rx-search input::placeholder{color:var(--learn-muted)}
.mbm-education-hub .rx-body,.mbm-education-hub .rx-chipzone{background:var(--learn-bg)}.mbm-education-hub .rx-cardx::before{display:none}.mbm-education-hub .rx-kind{font-size:.8rem;letter-spacing:.03em}.mbm-education-hub .rx-countrow{max-width:1180px;margin:auto;padding:.5rem 1rem}.mbm-education-hub .rx-count{padding-left:0}.mbm-education-hub .rx-cardx .rx-badge{font-size:.8rem}
.mbm-education-hub .tx-flag{padding:1rem 0}.mbm-education-hub .fcard{border-width:1px;border-radius:10px}.mbm-education-hub .fcard .art{max-height:180px}.mbm-education-hub .fcard p{font-size:1rem}
body[data-site-kind="education"] .hero{border-bottom:5px solid var(--learn-amber)}body[data-site-kind="education"] .route-card{border-radius:10px;box-shadow:none}body[data-site-kind="education"] .route-card:hover{box-shadow:0 7px 20px #18223b12;transform:translateY(-2px)}
.learning-shortcuts{padding:1rem 0;background:#e5eeec;border-bottom:1px solid #c7d6d2}.learning-shortcuts .wrap{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.learning-shortcuts strong{margin-right:auto;color:#174f48}.learning-shortcuts a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #a6bdb8;border-radius:7px;background:white;padding:.6rem .85rem;color:#163c39;text-decoration:none;font-weight:650}
.mbm-education-hub :is(a,button,input,select):focus-visible,.learning-shortcuts a:focus-visible{outline:3px solid #b8650e;outline-offset:3px}
@media(max-width:700px){.mbm-education-hub .tx-hero .toprow{display:block}.mbm-education-hub .tx-wrap{padding-left:1rem;padding-right:1rem}.mbm-education-hub .tgrid,.mbm-education-hub .tx-duo{grid-template-columns:1fr}.mbm-education-hub .tchips{flex-wrap:wrap}.mbm-education-hub .tx-watch{max-width:calc(100% - 2rem)}.learning-shortcuts strong{flex-basis:100%}body[data-site-kind="education"] .hero-art{display:block;max-width:100%;margin:0;transform:none}body[data-site-kind="education"] .hero-art img{aspect-ratio:2.2;max-height:190px;object-fit:cover}body[data-site-kind="education"] .hero-grid{grid-template-columns:1fr}body[data-site-kind="education"] .hero{padding-top:2rem;padding-bottom:2rem}}
[data-theme="dark"]{--learn-bg:#101a2b;--learn-card:#1b2b3e;--learn-ink:#e6eff4;--learn-muted:#b9cbda}
[data-theme="pink"]{--learn-bg:#f9e8ec;--learn-card:#fff9fa}[data-theme="blue"]{--learn-bg:#e7f0fa;--learn-card:#f8fbff}[data-theme="highlumen"]{--learn-bg:#fff;--learn-card:#fff;--learn-ink:#0b1020;--learn-muted:#18223b}
@media(prefers-reduced-motion:reduce){body[data-site-kind="education"] .route-card:hover{transform:none}}

/* Shared collection routes and practical tools, on education surfaces only. */
:root{--learn-line:#aebfc8;--learn-soft:#e5eeec;--learn-focus:#a65200}
[data-theme="dark"]{--learn-line:#607a8d;--learn-soft:#22394a;--learn-focus:#ffc27b}
[data-theme="pink"]{--learn-soft:#f3dce2}
[data-theme="blue"]{--learn-soft:#dce9f6}
[data-theme="highlumen"]{--learn-line:#48576b;--learn-soft:#fff;--learn-focus:#0b1020}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-nav,.discovery-collections,.collection-grid,.collection-card,.discovery-feature){box-sizing:border-box;min-width:0}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav{position:relative;background:var(--learn-card);border-bottom:1px solid var(--learn-line);color:var(--learn-ink)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav>div{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;max-width:1180px;margin:0 auto;padding:.65rem 1rem}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:0;max-width:100%;padding:.6rem .85rem;border:1px solid var(--learn-line);border-radius:7px;background:var(--learn-card);color:var(--learn-ink);font-size:.9375rem;font-weight:650;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav a[aria-current="page"]{background:var(--learn-navy);border-color:var(--learn-navy);color:var(--learn-mint)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav a:hover{text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:2px}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections{padding:1.5rem 0;color:var(--learn-ink)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections :is(h2,h3){color:var(--learn-ink);line-height:1.3;overflow-wrap:anywhere}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections h2{margin:0 0 .55rem;font-size:clamp(1.5rem,3.5vw,2rem);letter-spacing:-.025em}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections>p{max-width:70ch;margin:.5rem 0 1rem;color:var(--learn-muted);font-size:1rem;line-height:1.6}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections>.wrap>p{max-width:70ch;margin:.5rem 0 1rem;color:var(--learn-muted);font-size:1rem;line-height:1.6}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-collections>.wrap>.eyebrow{font-size:.875rem;font-weight:700;letter-spacing:.04em}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1rem;margin-top:1rem}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-card{display:flex;flex-direction:column;align-items:flex-start;gap:.6rem;padding:1.1rem;border:1px solid var(--learn-line);border-top:4px solid #26776c;border-radius:10px;background:var(--learn-card);color:var(--learn-ink)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-card:nth-child(2){border-top-color:var(--learn-amber)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-card:nth-child(3){border-top-color:#547fa7}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-card,.discovery-feature) :is(h2,h3){margin:0;color:var(--learn-ink);font-size:1.25rem;font-weight:750;line-height:1.35;overflow-wrap:anywhere}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-card,.discovery-feature) p{margin:0;color:var(--learn-muted);font-size:1rem;line-height:1.65;overflow-wrap:anywhere}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-card,.discovery-feature) a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:.6rem .85rem;border:1px solid var(--learn-navy);border-radius:7px;background:var(--learn-navy);color:#fff;font-size:.9375rem;font-weight:650;line-height:1.45;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
:is(body[data-site-kind="education"],body.mbm-education-hub) .collection-card>a:last-child{margin-top:auto}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-card,.discovery-feature) a:hover{text-decoration:underline;text-underline-offset:.2em}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin:1rem 0;padding:1.25rem;border:1px solid var(--learn-line);border-left:5px solid var(--learn-amber);border-radius:10px;background:var(--learn-card);color:var(--learn-ink)}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature>div{flex:1 1 24rem;min-width:0}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature :is(h2,h3)+p{margin-top:.5rem}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature>.wrap>a{margin-top:1rem}
:is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature :is(.eyebrow,.feature-label){margin-bottom:.45rem;color:var(--learn-muted);font-size:.875rem;font-weight:700;letter-spacing:.04em}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(#pdf-studio-feature,#asdan-learning){scroll-margin-top:8rem}
:is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-nav,.collection-card,.discovery-feature) :is(a,button):focus-visible{outline:3px solid var(--learn-focus);outline-offset:3px}
.mbm-education-hub #collections{color:var(--learn-ink);padding-bottom:1.5rem}
.mbm-education-hub #collections :is(h2,.eyebrow){color:var(--learn-ink);line-height:1.35}
.mbm-education-hub #collections .eyebrow{font-size:.875rem;letter-spacing:.04em}
.mbm-education-hub #collections .standards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.mbm-education-hub #collections .standard-card{box-sizing:border-box;min-width:0;min-height:44px;padding:1.1rem;border:1px solid var(--learn-line);border-top:4px solid #26776c;border-radius:9px;background:var(--learn-card);box-shadow:none;overflow-wrap:anywhere}
.mbm-education-hub #collections .standard-card:nth-child(even){border-top-color:var(--learn-amber)}
.mbm-education-hub #collections .standard-card b{display:block;color:var(--learn-ink);font-size:1.125rem;font-weight:750;line-height:1.4}
.mbm-education-hub #collections .standard-card p{margin:.6rem 0 0;color:var(--learn-muted);font-size:1rem;line-height:1.6}
.mbm-education-hub #collections .standard-card:hover b{text-decoration:underline;text-underline-offset:.2em}
.mbm-education-hub #collections .standard-card:focus-visible{outline:3px solid var(--learn-focus);outline-offset:3px}

/* The existing Apps catalogue keeps its controls, categories and native cards. */
body.mbm-hub.mbm-hub-apps.mbm-education-hub{--cream:var(--learn-bg);--card:var(--learn-card);--ink:var(--learn-ink);--mut:var(--learn-muted);--mbm-hub-accent:#26776c;--mbm-line:var(--learn-line);background:var(--learn-bg);color:var(--learn-ink)}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .wrap{box-sizing:border-box;width:100%;max-width:1180px;margin-inline:auto;padding-inline:1rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub main::before,body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero::after{display:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .brand{min-width:0;gap:.65rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .brand .mono{width:44px;height:44px;flex:0 0 44px}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .brand strong{font-size:1rem;letter-spacing:.05em}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .brand small{font-size:.8125rem;letter-spacing:.07em}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero{background:linear-gradient(115deg,#161d3d,#194a52);border-bottom:5px solid var(--learn-amber);text-align:left;color:#fff}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero-in{max-width:1180px;padding:1.5rem 1rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero .eyebrow{color:#f4c38a;font-size:.875rem;line-height:1.5;letter-spacing:.08em}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero h1{max-width:22ch;margin:.5rem 0 .75rem;color:#fff;font-size:clamp(2rem,5.5vw,3.25rem);line-height:1.12;letter-spacing:-.04em;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero h1 span{color:var(--learn-mint)}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero .lead{max-width:65ch;margin:0;color:#e1eaf1;font-size:1rem;line-height:1.65}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero .count{max-width:100%;min-height:44px;margin-top:1rem;padding:.55rem .85rem;border:1px solid var(--learn-mint);border-radius:7px;background:var(--learn-mint);color:#142939;box-shadow:none;font-size:.9375rem;letter-spacing:0;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .trio{gap:.75rem;padding:1rem 1rem .5rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .trio .t{padding:.85rem;border:1px solid var(--learn-line);border-radius:9px;background:var(--learn-card);box-shadow:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .trio .tn{color:var(--learn-ink);font-size:1rem;letter-spacing:.06em;line-height:1.4}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .trio .td{color:var(--learn-muted);font-size:.9375rem;line-height:1.55}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar{width:calc(100% - 2rem);max-width:1148px;margin:1rem auto .65rem;padding:1rem;gap:.75rem;border:1px solid var(--learn-line);border-radius:9px;background:var(--learn-card);box-shadow:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar label{flex:1 1 200px;min-width:0;max-width:100%;gap:.45rem;color:var(--learn-ink);font-size:.875rem;font-weight:650;line-height:1.5;letter-spacing:.02em;text-transform:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar :is(input,select){box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:48px;padding:.65rem .8rem;border:1px solid var(--learn-line);border-radius:7px;background:var(--learn-bg);color:var(--learn-ink);font-family:inherit;font-size:1rem;line-height:1.45;letter-spacing:0;text-transform:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar input::placeholder{color:var(--learn-muted);opacity:1}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.chiprow,.segrow){display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;max-width:1180px;margin:.5rem auto;padding:.3rem 1rem;overflow:visible}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .segrow .lbl{color:var(--learn-muted);font-size:.875rem;letter-spacing:.02em;line-height:1.5}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.chip,.seg,.mbm-clear){box-sizing:border-box;min-width:0;max-width:100%;min-height:44px;margin:0;padding:.55rem .8rem;border:1px solid var(--learn-line);border-radius:7px;background:var(--learn-card);color:var(--learn-ink);box-shadow:none;font-size:.9375rem;font-weight:650;letter-spacing:0;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.chip,.seg)[aria-pressed="true"]{background:var(--learn-navy);border-color:var(--learn-navy);color:var(--learn-mint)}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .status{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;color:var(--learn-muted);font-size:.9375rem;line-height:1.55}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:1rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .card{min-width:0;padding:1.1rem;border:1px solid var(--learn-line);border-top:4px solid var(--ac,#26776c);border-radius:9px;background:var(--learn-card);box-shadow:none;gap:.6rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.card h3,.cat h2,details.acc .aname,.feature h2,.bridge h3){color:var(--learn-ink);font-size:1.125rem;line-height:1.4;letter-spacing:0;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.card p,.feature p,.bridge p){color:var(--learn-muted);font-size:1rem;line-height:1.6;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.card .open,.feature .go,.bridge .acts a,.linkchip){display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:.6rem .85rem;border:1px solid var(--learn-navy);border-radius:7px;background:var(--learn-navy);color:#fff;font-size:.9375rem;font-weight:650;line-height:1.45;letter-spacing:0;text-align:center;white-space:normal;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.aud,.pill,.cat .tot,details.acc .apill,.spec,.bridge .stamp){font-size:.8125rem;line-height:1.5;letter-spacing:.01em;white-space:normal;overflow-wrap:anywhere}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.spec,.cat .spec){background:var(--learn-amber);color:#142939;border-radius:5px;padding:.2rem .45rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc{border:1px solid var(--learn-line);border-radius:10px;background:var(--learn-card);box-shadow:none;overflow:visible}
body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc>summary{min-height:52px;gap:.6rem;padding:.85rem 1rem;border-radius:9px;background:var(--learn-soft);color:var(--learn-ink);line-height:1.5}
body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc[open]>summary{border-bottom:1px solid var(--learn-line);border-radius:9px 9px 0 0;margin-bottom:1rem}
body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc .chev{color:var(--learn-ink)}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .specband{min-width:0;background:var(--learn-soft);border-radius:8px;box-shadow:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.feature>div,.bridge){min-width:0;padding:1.1rem;border:1px solid var(--learn-line);border-left:4px solid var(--learn-amber);border-radius:10px;background:var(--learn-card);box-shadow:none}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .feature p:not(.fk){display:block}
body.mbm-hub.mbm-hub-apps.mbm-education-hub .feature .fk{color:var(--learn-muted);font-size:.875rem;letter-spacing:.04em;line-height:1.5}
body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(a,button,input,select,summary):focus-visible{outline:3px solid var(--learn-focus);outline-offset:3px}
body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc>summary:focus-visible{outline-offset:-3px}
html[data-theme="highlumen"] body.mbm-hub.mbm-hub-apps.mbm-education-hub .bridge .acts a{background:#fff;border-color:#0b1020}

@media(max-width:850px){
  :is(body[data-site-kind="education"],body.mbm-education-hub) .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mbm-education-hub #collections .standards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  :is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav>div{gap:.45rem;padding:.6rem 1rem}
  :is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav a{flex:1 1 calc(50% - .45rem);padding:.6rem .5rem}
  :is(body[data-site-kind="education"],body.mbm-education-hub) .collection-grid{grid-template-columns:minmax(0,1fr)}
  .mbm-education-hub #collections .standards{grid-template-columns:minmax(0,1fr)}
  :is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature{align-items:flex-start;padding:1rem}
  :is(body[data-site-kind="education"],body.mbm-education-hub) .discovery-feature>div{flex-basis:100%}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub .hero-in{padding:1.35rem 1rem}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar{padding:.85rem}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub .toolbar label{flex-basis:100%}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub .grid{grid-template-columns:minmax(0,1fr);padding-inline:0}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc>.grid{margin-inline:.75rem}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.chiprow,.segrow){padding-inline:1rem}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub .segrow .lbl{flex-basis:100%}
  body.mbm-hub.mbm-hub-apps.mbm-education-hub details.acc>summary{padding:.8rem .75rem}
}
@media(prefers-reduced-motion:reduce){
  body.mbm-hub.mbm-hub-apps.mbm-education-hub :is(.card,.chip,.seg){transition:none;transform:none}
}
@media print{
  :is(body[data-site-kind="education"],body.mbm-education-hub) .collection-nav{display:none}
  :is(body[data-site-kind="education"],body.mbm-education-hub) :is(.collection-card,.discovery-feature){break-inside:avoid}
}

/* Warm Education palette and a clear single-column phone action hierarchy. */
body[data-site-kind="education"]{--paper:#fffdf7;--bg:#f7f3e9}
body[data-site-kind="education"] .hero{background:linear-gradient(115deg,#161d3d,#194a52)}
.education-home-search{margin:0 0 1.5rem;max-width:42rem}
.education-home-search label{display:block;margin-bottom:.5rem;color:#fffefa;font-size:1rem;font-weight:650}
.education-home-search>div{display:flex;gap:.5rem}
.education-home-search input{box-sizing:border-box;flex:1;min-width:0;min-height:48px;border:1px solid #b3c7ce;border-radius:7px;background:#fffdf7;color:#18223b;padding:.75rem;font:inherit}
.education-home-search input::placeholder{color:#48576b;opacity:1}
.education-home-search button{min-height:48px;border:1px solid #f2a24a;border-radius:7px;background:#f2a24a;color:#281d13;padding:.75rem 1rem;font:inherit;font-weight:700}
.education-home-search :focus-visible{outline:3px solid #fffefa;outline-offset:3px}
@media(max-width:450px){.education-home-search>div{flex-direction:column}.education-home-search button{width:100%}}
@media print{.education-home-search{display:none!important}}
@media(max-width:650px){body[data-site-kind="education"] .button-row .btn{flex:1 1 100%}body[data-site-kind="education"] .hero h1{font-size:clamp(2rem,9vw,2.6rem)}}

/* UX2 B2 — the education homepage (Appendix A §HOME) and /commission/. Scoped to the
   education overlay pages. The rail (.sec-head/.rail/.acard) is the Lessons hub's
   own styling, copied from Lessons/assets/catalogue/hub.css lines 71–79. */
body[data-page="home"] .hero .lead{margin-bottom:1.1rem}
body[data-page="home"] .hero-art{transform:none}
body[data-page="home"] .home-ctas{flex-direction:column;gap:.7rem;max-width:34rem}
body[data-page="home"] .home-ctas .btn{width:100%;min-height:52px;font-size:1.05rem;font-weight:750}
body[data-page="home"] .btn.navy{background:var(--navy);color:#fffefa;border-color:#8ee6cb}
body[data-page="home"] .btn.green{background:#247761;color:#fffefa;border-color:#247761}
body[data-page="home"] .education-home-search{margin:0 0 1.1rem;max-width:34rem}
body[data-page="home"] .education-home-search label{display:block;font-weight:700;margin-bottom:.4rem;color:#fffefa}
body[data-page="home"] .education-home-search div{display:flex;gap:.5rem}
body[data-page="home"] .education-home-search input{flex:1 1 auto;min-width:0;min-height:48px;padding:.5rem .75rem;border:1px solid #a8b9d0;border-radius:7px;font-size:1rem;color:var(--ink);background:#fffefa}
body[data-page="home"] .education-home-search button{min-height:48px;min-width:44px;padding:.5rem 1rem;border:1px solid var(--mint);border-radius:7px;background:var(--mint);color:#152c30;font-weight:750;cursor:pointer}
body[data-page="home"] .subject-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-page="home"] .subject-tiles .route-card{min-height:44px;min-width:0;padding:1.1rem;overflow-wrap:anywhere}
body[data-page="home"] .subject-tiles .route-card h3,body[data-page="home"] .subject-tiles .route-card p{overflow-wrap:anywhere;min-width:0}
body[data-page="home"] .subject-tiles .route-card p{margin-bottom:0}
body[data-page="home"] #places .route-card p{margin-bottom:0}
body[data-page="home"] .sec-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.6rem;flex-wrap:wrap}
body[data-page="home"] .sec-head h2{margin:0}
body[data-page="home"] .sec-head a{min-height:44px;display:inline-flex;align-items:center;font-weight:700;text-decoration:underline;padding:0 .25rem}
body[data-page="home"] .rail{display:flex;gap:.75rem;overflow-x:auto;padding:.25rem .1rem .9rem;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
body[data-page="home"] .acard{flex:0 0 min(78vw,260px);scroll-snap-align:start;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:.85rem .9rem;display:flex;flex-direction:column;gap:.4rem;text-decoration:none;color:var(--ink);min-height:44px}
body[data-page="home"] .acard:hover,body[data-page="home"] .acard:focus-visible{border-color:var(--navy)}
body[data-page="home"] .acard .when{font-size:.78rem;font-weight:800;color:#1d6b58;letter-spacing:.06em}
body[data-page="home"] .acard h3{font-size:1rem;line-height:1.3;margin:0}
body[data-page="home"] .acard .sub{font-size:.8rem;color:var(--muted);margin-top:auto}
body[data-page="home"] .acard .badge{display:inline-block;font-size:.75rem;font-weight:700;padding:.15rem .45rem;border:1px solid var(--line);border-radius:4px}
body[data-page="home"] .audience-rows{display:flex;flex-direction:column;border-top:1px solid var(--line)}
body[data-page="home"] .audience-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:52px;padding:.6rem 0;border-bottom:1px solid var(--line);font-weight:650;text-decoration:none}
body[data-page="home"] .audience-row:hover{text-decoration:underline;text-underline-offset:.2em}
body[data-page="home"] .maker-panel{background:var(--navy);color:#fffefa;border-top:5px solid var(--mint)}
body[data-page="home"] .maker-panel p{color:#d8e1ed}
body[data-page="home"] .maker-panel .btn.light{background:transparent;border-color:#a8b9d0;color:#fffefa}
body[data-site-kind="education"] .footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:0 .35rem}
body[data-site-kind="education"] .footer-links a{display:inline-flex;align-items:center;min-height:44px;margin:0;padding:0 .25rem;font-weight:650}
body[data-site-kind="education"] .footer-row>div p{margin:0}
body[data-site-kind="education"] .footer small{color:var(--muted)}
body[data-page="commission"] .compact-hero{padding:2rem 0}
body[data-page="commission"] .hero h1{margin-bottom:0}
@media(max-width:900px){body[data-page="home"] .subject-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body[data-page="home"] .subject-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}body[data-page="home"] .subject-tiles .route-card{padding:.9rem}body[data-page="home"] .hero-grid{grid-template-columns:1fr}body[data-page="home"] .hero-art{max-width:none;margin-top:.5rem}}

/* UX2 B3 — the teacher and pupil pages (Appendix A §TEACHERS / §PUPILS). */
body[data-page="teachers"] .route-card .text-link,body[data-page="pupils"] .route-card .text-link{display:inline-flex;align-items:center;min-height:44px}
body[data-page="teachers"] .route-card .quiet-note{margin:0}
body[data-page="teachers"] .route-card .eyebrow{text-transform:none;letter-spacing:0}
body[data-page="teachers"] .route-card .chips{margin:.25rem 0}
body[data-page="teachers"] .subject-pathways{grid-template-columns:repeat(4,minmax(0,1fr))}
body[data-page="teachers"] .subject-pathways .route-card{min-width:0;overflow-wrap:anywhere}
body[data-page="teachers"] .account-links a{background:#fffefa}
body[data-page="teachers"] #teacher-note p{max-width:60rem}
body[data-page="pupils"] .subject-tiles .route-card{min-height:44px;min-width:0;overflow-wrap:anywhere}
@media(max-width:900px){body[data-page="teachers"] .subject-pathways{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body[data-page="teachers"] .subject-pathways,body[data-page="pupils"] .subject-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}body[data-page="teachers"] .hero-grid{grid-template-columns:1fr}body[data-page="teachers"] .hero-art{max-width:none;margin-top:.5rem}}
