/* Robotics-reference card family. Course, subject and practice cards retain their own actions. */
body [class*="-portal-wrapper"] .mrt-portal-card .mrt-card-thumb{height:190px;background:#f8fafc;display:flex;align-items:center;justify-content:center;position:relative}
body [class*="-portal-wrapper"] .mrt-portal-card .mrt-card-thumb img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;padding:12px;display:block;transform:none}
body [class*="-portal-wrapper"] .mrt-portal-card:hover .mrt-card-thumb img{transform:none}
body [class*="-portal-wrapper"] .mrt-portal-card{border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 2px 5px #1b294008;transform:none;background:#fff;overflow:hidden}
body [class*="-portal-wrapper"] .mrt-card-body{padding:18px;display:flex;flex-direction:column;flex:1;gap:8px}
body [class*="-portal-wrapper"] .mrt-card-title{font-size:16px;line-height:1.45;font-weight:650;letter-spacing:-.02em;margin:0;white-space:normal;overflow-wrap:anywhere}
body [class*="-portal-wrapper"] .mrt-card-meta-extra{font-size:12px;line-height:1.7;color:#65758b}
body [class*="-portal-wrapper"] .mrt-card-actions{margin-top:auto;padding-top:12px}body [class*="-portal-wrapper"] .mrt-card-cta{width:100%;min-height:44px;justify-content:flex-start;padding:12px 16px;border-radius:9px;font-size:14px;text-decoration:none}
.mrt-student-app-home .mrt-premium-subject-card{border:1px solid #e1e7ef;border-radius:14px;background:#fff;box-shadow:0 2px 5px #1b294008;overflow:hidden}
.mrt-student-app-home .mrt-premium-subject-card .mrt-psc-cover{height:190px;background:#f8fafc!important;border-bottom:0;padding:0;display:block;position:relative;overflow:hidden}
.mrt-subject-real-image{display:block;width:100%;height:100%;object-fit:contain;padding:12px}
.mrt-student-app-home .mrt-psc-badges{position:absolute;left:14px;bottom:12px;top:auto;right:auto;z-index:1}
.mrt-student-app-home .mrt-psc-badge{background:#fff;color:#51627d;border:1px solid #e1e7ef;box-shadow:0 2px 4px #1b294005;font-size:11px;padding:4px 9px}
.mrt-student-app-home .mrt-psc-content{padding:18px;gap:10px;display:flex;flex-direction:column;flex:1}.mrt-student-app-home .mrt-psc-title{font-size:17px;font-weight:650;line-height:1.4;letter-spacing:-.02em;margin:0}.mrt-student-app-home .mrt-psc-desc{font-size:13px;line-height:1.7;color:#65758b;margin:0}.mrt-student-app-home .mrt-psc-content>.mrt-btn:not(.mrt-btn-disabled){min-height:44px;justify-content:flex-start!important;border-radius:9px;font-size:14px;font-weight:650;text-decoration:none;margin-top:auto;background:#2563eb;color:#fff;border-color:#2563eb}
.mrt-premium-subject-card--robotics .mrt-psc-content>.mrt-btn:not(.mrt-btn-disabled){background:#f15b05;border-color:#f15b05}.mrt-premium-subject-card--coding .mrt-psc-content>.mrt-btn:not(.mrt-btn-disabled){background:#7c50c8;border-color:#7c50c8}.mrt-premium-subject-card--typing .mrt-psc-content>.mrt-btn:not(.mrt-btn-disabled){background:#087d91;border-color:#087d91}
.mrt-catalog-renewed .mrc-cover{height:190px;background:#f8fafc}.mrt-catalog-renewed .mrc-cover img{object-fit:contain;padding:12px 12px 24px}.mrt-catalog-renewed .mrc-course{border-radius:14px;box-shadow:0 2px 5px #1b294008}.mrt-catalog-renewed .mrc-course-body{padding:18px}.mrt-catalog-renewed .mrc-card-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}.mrt-catalog-renewed .mrc-card-actions>a,.mrt-catalog-renewed .mrc-card-actions>.mrc-details:not(.mrc-secondary){min-height:44px;padding:12px 16px;background:#2563eb;color:#fff;font-size:13px;font-weight:650;border-radius:9px;text-decoration:none;justify-content:space-between}.mrt-catalog-renewed [data-subject="robotics"] .mrc-card-actions>a{background:#f15b05}.mrt-catalog-renewed [data-subject="coding"] .mrc-card-actions>a{background:#7c50c8}.mrt-catalog-renewed [data-subject="typing"] .mrc-card-actions>.mrc-details:not(.mrc-secondary){background:#087d91}.mrt-catalog-renewed .mrc-card-actions .mrc-secondary{justify-content:center;min-height:36px}
.mrt-typing-lab-root .mrt-typing-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.mrt-typing-lab-root .mrt-unified-typing-card{background:#fff;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 2px 5px #1b294008;display:flex;flex-direction:column;overflow:hidden;padding:0;min-width:0}.mrt-unified-typing-cover{height:190px;width:100%;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:#62748b}.mrt-unified-typing-cover img{width:100%;height:100%;object-fit:contain;padding:12px}.mrt-unified-typing-cover strong{font-size:42px;letter-spacing:-.04em;color:#52798d}.mrt-typing-lab-root .mrt-unified-typing-card>h3{font-size:17px;line-height:1.4;padding:0 18px;margin:18px 0 10px}.mrt-typing-lab-root .mrt-unified-typing-card>p{padding:0 18px;margin:0 0 14px;font-size:13px;line-height:1.7;color:#65758b}.mrt-typing-lab-root .mrt-unified-typing-card>.mrt-unified-learning-count{font-size:12px;font-weight:700;color:#52627d}.mrt-typing-lab-root .mrt-unified-typing-card>.mrt-typing-btn{min-height:44px;border-radius:9px;margin:8px 18px 18px;padding:12px 16px;justify-content:flex-start;margin-top:auto;background:#087d91;color:#fff;font-size:14px;text-decoration:none}
@media(min-width:1200px){.mrt-catalog-renewed .mrc-course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mrt-catalog-renewed .mrc-course h3{font-size:15px}.mrt-catalog-renewed .mrc-description{font-size:12px}.mrt-catalog-renewed .mrc-course-body{padding:16px}.mrt-typing-lab-root .mrt-typing-map{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.mrt-typing-lab-root .mrt-typing-map{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.mrt-typing-lab-root .mrt-typing-map{grid-template-columns:1fr}.mrt-student-app-home .mrt-premium-subject-grid{grid-template-columns:1fr}.mrt-student-app-home .mrt-premium-subject-card .mrt-psc-cover{height:180px}body [class*="-portal-wrapper"] .mrt-portal-card .mrt-card-thumb{height:190px}}
.mrt-student-app-home .mrt-premium-continue-card:not(.mrt-premium-continue-card--empty){padding:0;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 2px 5px #1b294008;overflow:hidden;background:#fff}.mrt-pcc-cover{height:190px;background:#f8fafc;position:relative}.mrt-pcc-cover img{width:100%;height:100%;object-fit:contain;padding:12px 12px 30px}.mrt-pcc-cover>span{position:absolute;bottom:8px;left:18px;font-size:10px;color:#65758b}.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-header{padding:18px 18px 0}.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-course,.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-lesson,.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-progress-wrap{margin-left:18px;margin-right:18px}.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-action{padding:0 18px 18px}.mrt-student-app-home .mrt-premium-continue-card .mrt-pcc-action .mrt-btn{border-radius:9px;min-height:44px;font-size:14px;text-decoration:none}
/* Maths: real practice background instead of illustrated course artwork. */
.mrt-catalog-renewed .mrc-cover--math{padding:0}.mrt-math-course-cover{position:relative;width:100%;height:100%;min-height:180px;overflow:hidden;background:#eef3f9;display:flex;align-items:center;padding:24px}
body .mrt-math-course-cover img.mrt-math-background{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center 40%!important;padding:0!important;opacity:.8!important;filter:none;transform:none!important}
.mrt-math-course-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,#eef3f9ed 0%,#eef3f9b3 45%,#eef3f914 100%);pointer-events:none}.mrt-math-cover-copy{position:relative;z-index:1;border-left:3px solid #5072b6;padding-left:14px;max-width:100%}.mrt-math-cover-copy>span{font-size:8px;letter-spacing:.1em;font-weight:750;color:#687b9b;display:block;margin-bottom:10px}.mrt-math-cover-copy>strong{display:block;font-size:30px;font-weight:750;line-height:1.15;letter-spacing:-.035em;color:#213b63}.mrt-math-cover-copy>p{font-size:12px;line-height:1.6;color:#50647f;margin:10px 0 0;max-width:230px}.mrt-math-cover-source{position:absolute;left:24px;bottom:9px;z-index:1;font-size:7px;font-weight:650;letter-spacing:.07em;color:#6c7c93}
.mrt-student-app-home .mrt-premium-subject-card--math .mrt-psc-cover{overflow:hidden}.mrt-student-app-home .mrt-premium-subject-card--math .mrt-psc-badges{bottom:8px;left:auto;right:10px}.mrt-student-app-home .mrt-premium-subject-card--math .mrt-math-cover-source{display:none}
@media(max-width:600px){.mrt-math-cover-copy>strong{font-size:30px}.mrt-math-cover-copy>p{font-size:13px}}

/* Subject course carousels: four complete cards, with touch and keyboard scrolling. */
.mrt-catalog-renewed .mrc-course-grid{position:relative;display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:calc((100% - 66px)/4);gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:14px;align-items:stretch}.mrc-course-grid>.mrc-course{scroll-snap-align:start}.mrc-course-grid>.mrc-course[hidden]{display:none!important}.mrc-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 14px}.mrc-carousel-controls button{width:42px;height:42px;border-radius:50%;border:1px solid #d6deea;background:white;color:#25466d;font-size:20px;cursor:pointer}.mrc-carousel-controls button:disabled{opacity:.3;cursor:default}.mrc-carousel-position{font-size:12px;color:#64748b;min-width:65px;text-align:center}.mrc-age-guide{font-size:11px;line-height:1.65;color:#69758b;margin:0 0 18px}.mrc-age-guide strong,.mrc-age-guide span{display:block}.mrc-age-guide strong{color:#344158;margin-bottom:5px}@media(max-width:1000px){.mrt-catalog-renewed .mrc-course-grid{grid-auto-columns:calc((100% - 22px)/2)}}@media(max-width:600px){.mrt-catalog-renewed .mrc-course-grid{grid-auto-columns:100%}}

/* Isolate carousel controls from theme button padding and line height. */
.mrt-catalog-renewed .mrc-carousel-controls button{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 42px!important;width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:0!important;margin:0!important;border-radius:50%!important;line-height:1!important;letter-spacing:0!important;font-size:0!important;vertical-align:middle;overflow:hidden}.mrt-catalog-renewed .mrc-carousel-controls button::before{content:"";display:block;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:translateX(-2px) rotate(45deg)}.mrt-catalog-renewed .mrc-carousel-controls button[data-slide="-1"]::before{transform:translateX(2px) rotate(-135deg)}.mrt-catalog-renewed .mrc-carousel-controls button:focus-visible{outline:3px solid #5072b6;outline-offset:3px}

/* Keep the actual question unobscured beside the year label. */
body .mrt-math-course-cover img.mrt-math-background{left:52%!important;right:0!important;width:48%!important;opacity:1!important;object-position:left 60%!important;filter:none!important}.mrt-math-course-cover{padding:18px;background:#edf3fc}.mrt-math-course-cover::after{background:linear-gradient(90deg,#edf3fc 0%,#edf3fc 46%,#edf3fc00 56%)}.mrt-math-cover-copy{width:51%;padding-left:10px}.mrt-math-cover-copy>strong{font-size:26px;overflow-wrap:normal}.mrt-math-cover-copy>span{font-size:7px;line-height:1.5}.mrt-math-cover-copy>p{font-size:11px;line-height:1.5}.mrt-math-cover-source{left:18px;font-size:6px;letter-spacing:.03em}

.mrt-math-course-cover .mrt-math-cover-copy>strong{font-size:19px;line-height:1.25}

/* Grade-matched active question-bank examples, using the native maths renderer. */
.mrt-math-course-cover--question{min-height:220px;height:220px;padding:16px;align-items:center}.mrt-math-course-cover--question::after{display:none}.mrt-math-course-cover--question .mrt-math-cover-copy{width:44%;padding-left:8px}.mrt-math-example{position:absolute;right:0;top:0;bottom:0;width:53%;padding:14px 10px;box-sizing:border-box;background:#fff;border-left:1px solid #dce5f2;display:flex;flex-direction:column;justify-content:center;overflow:hidden;color:#213b63}.mrt-math-example-label{font-size:7px;line-height:1.4;color:#64748b;display:block;margin-bottom:8px}.mrt-math-example>p{font-size:11px;line-height:1.4;font-weight:650;margin:0 0 8px;white-space:pre-line}.mrt-math-example-visual{min-height:0}.mrt-math-example-visual svg{display:block;width:100%;height:auto;max-height:94px;margin:auto}.mrt-math-example-emoji{font-size:21px;line-height:1.6;overflow-wrap:anywhere}.mrt-catalog-renewed .mrc-cover--math{height:220px}.mrc-math-report{margin:0 0 22px;padding:20px 24px;border:1px solid #dbe4f3;border-radius:12px;background:#fff}.mrc-math-report h3{font-size:18px;margin:0 0 8px;color:#213b63}.mrc-math-report p{font-size:13px;line-height:1.75;margin:0;color:#53647d}

.mrt-math-course-cover--question .mrt-math-example>p{font-size:10px}.mrt-math-example-visual svg{max-height:76px}.mrt-math-course-cover:has(.mrt-math-example[data-question-id="1"]) .mrt-math-cover-copy>strong{font-size:16px}body .mrt-math-course-cover .mrt-math-example-emoji img.emoji{position:static!important;display:inline-block!important;inset:auto!important;width:20px!important;height:20px!important;max-width:20px!important;padding:0!important;margin:2px!important;background:transparent!important;vertical-align:middle!important}.mrt-math-example-emoji{display:flex;flex-wrap:wrap;gap:2px}

/* Featured 451 official challenge kit: navy and gold ribbon treatment. */
.mrt-catalog-renewed .mrc-course--challenge{border:2px solid #c9ab59;box-shadow:0 5px 20px #263b6812}.mrc-course--challenge .mrc-cover{background:#f7f9fe}.mrc-course--challenge .mrc-cover>img{padding-top:38px!important}.mrc-challenge-ribbon{position:absolute;top:0;left:0;right:0;z-index:3;display:flex;align-items:center;gap:7px;height:30px;padding:0 14px;background:linear-gradient(110deg,#1d2b50,#3e4973);color:#fff3c4;font-size:9px;line-height:1.3;font-weight:800;letter-spacing:.055em}.mrc-challenge-ribbon>span{color:#f0cf77;font-size:14px}.mrc-challenge-corner{position:absolute;top:30px;right:0;z-index:2;padding:5px 9px 7px 13px;background:#eed99c;color:#263653;font-weight:800;font-size:10px;border-bottom-left-radius:14px}.mrc-challenge-label{padding:10px 11px;margin:0 0 13px;border-left:3px solid #bd9843;background:#fbf7eb;border-radius:0 6px 6px 0}.mrc-challenge-label span,.mrc-challenge-label strong{display:block;line-height:1.5;font-size:10px;color:#4c493c}.mrc-challenge-label strong{margin-top:2px;font-size:11px;color:#273556}

/* Course discovery hero: a layered collection of authentic learning artefacts. */
.mrt-catalog-renewed .mrc-hero-showcase{display:grid;grid-template-columns:1.05fr 1fr;gap:24px;align-items:center;text-align:left;padding:48px 42px 42px;min-height:490px;border:1px solid #4c4f752e;border-radius:24px;background:radial-gradient(ellipse at 85% 20%,#43528a70,transparent 55%),linear-gradient(130deg,#111c31,#252442 65%,#192e48);box-shadow:0 22px 48px #18233824}.mrc-hero-showcase::before{animation:none;background:radial-gradient(circle at 40% 100%,#6770d529,transparent 50%)}.mrc-hero-copy{position:relative;z-index:2;min-width:0}.mrc-hero-showcase .mrc-eyebrow{font-size:9px!important;letter-spacing:.16em!important;display:flex!important;align-items:center;gap:8px}.mrc-hero-spark{color:#edce89;font-size:18px}.mrt-catalog-renewed .mrc-hero-showcase .mrt-catalog-hero__title{font-size:clamp(36px,4.4vw,56px);line-height:1.08;letter-spacing:-.05em;font-weight:750;margin:20px 0;background:none;-webkit-text-fill-color:initial;color:#fff}.mrc-hero-showcase h1 em{font-style:normal;color:#c4c4ff}.mrt-catalog-renewed .mrc-hero-showcase .mrt-catalog-hero__subtitle{font-size:14px;line-height:1.85;color:#c7cfe0;margin:0 0 26px;max-width:400px}.mrc-hero-cta{display:inline-flex;align-items:center;gap:26px;background:#fff;color:#1e2948!important;padding:13px 19px;border-radius:9px;font-size:12px;font-weight:750;text-decoration:none!important;box-shadow:0 4px 12px #0001;min-height:46px}.mrc-hero-cta:hover{background:#e9e9ff}.mrc-hero-stats{display:flex;gap:24px;margin-top:26px;color:#aebbd0;font-size:10px;line-height:1.6}.mrc-hero-stats>span+span{padding-left:24px;border-left:1px solid #ffffff24}.mrc-hero-stats strong{display:block;color:#f2f2ff;font-size:18px;letter-spacing:-.02em}.mrc-hero-collage{position:relative;min-width:0;height:380px;isolation:isolate}.mrc-hero-tile{position:absolute;margin:0!important;width:51%;padding:8px;background:#fff;border:1px solid #fff9;border-radius:12px;box-shadow:0 18px 35px #060e2447;overflow:hidden}.mrc-hero-tile-top{display:flex;gap:6px;align-items:center;color:#2c3851;font-size:9px;line-height:1.5;font-weight:750;margin:1px 2px 7px}.mrc-hero-tile-top>span:last-child{margin-left:auto;color:#8793aa}.mrc-hero-tile-dot{width:6px;height:6px;background:#8b7bd2;border-radius:50%;flex-shrink:0}.mrc-hero-tile img{display:block;width:100%;height:115px;object-fit:cover;object-position:top;border-radius:5px;background:#f7f9fc}.mrc-hero-tile figcaption{font-size:8px;font-weight:600;line-height:1.5;color:#67748b;padding:7px 2px 1px}.mrc-hero-tile--coding{top:24px;left:0;transform:rotate(-7deg);z-index:1}.mrc-hero-tile--robotics{top:0;right:0;transform:rotate(6deg);z-index:2}.mrc-hero-tile--robotics img{height:145px;object-fit:contain}.mrc-hero-tile--robotics .mrc-hero-tile-dot{background:#e6aa48}.mrc-hero-tile--maths{top:187px;left:5px;transform:rotate(-4deg);z-index:3}.mrc-hero-tile--maths .mrc-hero-tile-dot{background:#6b8ccc}.mrc-hero-tile--typing{top:174px;right:0;transform:rotate(7deg);z-index:4}.mrc-hero-tile--typing .mrc-hero-tile-dot{background:#3c9e99}.mrc-hero-real{position:absolute;bottom:-20px;left:0;width:100%;text-align:center;font-size:8px;letter-spacing:.15em;color:#b9c4d8}
@media(max-width:800px){.mrt-catalog-renewed .mrc-hero-showcase{padding:34px 28px 42px;grid-template-columns:1fr;gap:38px}.mrc-hero-copy{max-width:520px}.mrc-hero-collage{width:min(440px,100%);margin:0 auto;height:380px}.mrt-catalog-renewed .mrc-hero-showcase .mrt-catalog-hero__title{font-size:44px}.mrt-catalog-renewed .mrc-hero-showcase .mrt-catalog-hero__subtitle{max-width:500px}}@media(max-width:450px){.mrt-catalog-renewed .mrc-hero-showcase{padding:26px 22px 38px;border-radius:18px;gap:28px}.mrt-catalog-renewed .mrc-hero-showcase .mrt-catalog-hero__title{font-size:38px}.mrc-hero-collage{height:310px}.mrc-hero-tile img{height:90px}.mrc-hero-tile--robotics img{height:110px}.mrc-hero-tile--maths{top:153px}.mrc-hero-tile--typing{top:143px}.mrc-hero-tile-top{font-size:8px}.mrc-hero-tile figcaption{font-size:7px}.mrc-hero-stats{gap:18px}.mrc-hero-stats>span+span{padding-left:18px}.mrc-hero-real{bottom:-14px;font-size:7px}}
