html#maths-interface .student-main.student-hub{max-width:1220px!important;padding:30px 28px 80px!important}
html#maths-interface .student-hub>h1{font-size:clamp(28px,4vw,38px);letter-spacing:-1px;margin:0 0 9px}
html#maths-interface .hub-intro{font-size:17px;color:#5f7669;margin:0 0 32px}
html#maths-interface .student-hub-domain{margin:0 0 38px}
html#maths-interface .student-hub-domain>h2{font-size:27px;letter-spacing:-.6px;margin:0 0 18px}
html#maths-interface .student-chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
html#maths-interface .student-chapter-card{display:flex;flex-direction:column;min-width:0;min-height:245px;background:#fff;border:1px solid #cfded3;border-top:4px solid #4e9473;border-radius:19px;padding:22px;text-decoration:none;color:#203d35;box-shadow:0 5px 20px #29443106;transition:transform .18s,box-shadow .18s,border-color .18s}
html#maths-interface .student-chapter-card.geometry{border-top-color:#9780b5}
html#maths-interface .student-chapter-card:hover{transform:translateY(-3px);box-shadow:0 12px 25px #29443113;border-color:#6e9c80}
html#maths-interface .student-chapter-card:focus-visible{outline:3px solid #d5a436;outline-offset:4px}
html#maths-interface .hub-card-head{display:flex;align-items:center;gap:13px;margin-bottom:16px}
html#maths-interface .hub-illustration{width:66px;height:62px;flex:0 0 66px;display:flex;align-items:center;justify-content:center}
html#maths-interface .hub-illustration svg{width:76px;height:66px;overflow:visible}
html#maths-interface .hub-card-head h3{font-size:20px;line-height:1.25;letter-spacing:-.4px;margin:0!important}
html#maths-interface .student-chapter-card>p{font-size:15px;line-height:1.55;color:#62786d;margin:0 0 20px}
html#maths-interface .hub-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;font-size:13px;font-weight:600;color:#367456}
html#maths-interface .hub-explore{padding:6px 10px;background:#edf5ef;border-radius:8px;white-space:nowrap}
html#maths-interface .student-chapter-card.geometry .hub-explore{background:#f1edf7;color:#72578c}
html#maths-interface .student-chapter-view[hidden],html#maths-interface #student-hub-home[hidden]{display:none!important}
html#maths-interface .hub-return{display:inline-flex;background:#fff;border:1px solid #cbdcd0;border-radius:10px;padding:10px 14px;color:#23674f;text-decoration:none;margin-bottom:20px;font-size:15px}
html#maths-interface .hub-chapter-heading{display:flex;align-items:center;gap:18px;margin-bottom:25px}
html#maths-interface .hub-chapter-heading h2{font-size:30px;margin:0 0 4px;letter-spacing:-.7px}
html#maths-interface .hub-chapter-heading p{font-size:16px;color:#5f7669;margin:0}
html#maths-interface .hub-activities{background:#fff;border:1px solid #cfddd2;border-radius:20px;overflow:hidden}
html#maths-interface .hub-activities .student-activity{border-bottom:1px solid #e0e8e1;padding:25px!important}
html#maths-interface .hub-activities .student-activity:last-child{border-bottom:0}
html#maths-interface .hub-footer{background:transparent!important;margin-top:28px;font-size:13px}
@media(max-width:1050px){html#maths-interface .student-chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){html#maths-interface .student-main.student-hub{padding:22px 16px 75px!important}html#maths-interface .student-chapter-grid{grid-template-columns:1fr;gap:14px}html#maths-interface .student-chapter-card{min-height:215px;padding:19px}html#maths-interface .student-hub-domain>h2{font-size:25px}html#maths-interface .hub-card-head{margin-bottom:12px}html#maths-interface .hub-card-head h3{font-size:21px}html#maths-interface .hub-activities .student-activity{padding:20px!important}html#maths-interface .hub-chapter-heading h2{font-size:26px}}
@media(prefers-reduced-motion:reduce){html#maths-interface .student-chapter-card{transition:none}html#maths-interface .student-chapter-card:hover{transform:none}}
