#learner-home{max-width:1100px;margin:20px auto}#learner-home:focus,#explore-practice:focus{outline:none}.home-hero{padding:30px;border-radius:26px;background:linear-gradient(120deg,#fff5c9,#e5f3df);border:2px solid #d9dfb6}.home-hero>p:first-child{font-size:13px;letter-spacing:2px;font-weight:800}.home-hero h1{font-size:clamp(28px,5vw,44px);margin:12px 0;color:#205e58}.home-hero p{max-width:650px}.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px;margin:24px 0}.home-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:24px;border-radius:22px;min-height:195px;background:#fff;border:2px solid #bad4c8;box-shadow:0 5px 0 #d4e2d5;gap:9px;transition:transform .15s}.home-card-lessons{background:#fff9db}.home-card-photo{background:#eaf5ff}.home-card:hover{transform:translateY(-3px)}.home-card strong{font-size:23px}.home-card>span:last-child{font-size:16px;line-height:1.5}.home-icon{font-size:38px}.home-subjects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.home-subjects button{font-size:19px;min-height:76px;background:white}#home-subjects{padding:20px;background:#ffffffb0;border-radius:22px}.home-saved{padding:18px;border-bottom:1px solid #bed4cc}.home-choices{display:grid;gap:12px;margin:25px 0}.home-choices button{min-height:65px;text-align:left;font-size:20px}.home-choices button[aria-pressed=true]{background:#205e58;color:white;outline:3px solid #d8b54a}#explore-practice{max-width:900px;margin:20px auto}#explore-practice>p{line-height:1.8}#explore-practice h3{font-size:26px}button:focus-visible{outline:4px solid #8151b0;outline-offset:3px}@media(max-width:600px){.home-grid{gap:12px}.home-card{padding:16px;min-height:200px}.home-card strong{font-size:19px}.home-subjects{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero{padding:22px}}@media(prefers-reduced-motion:reduce){.home-card{transition:none;transform:none}}

.kid-login-options{display:flex;gap:12px}.kid-login-options button{flex:1;min-height:52px;font-weight:700;background:#fff7d1}
.lesson-timeline{list-style:none;padding:0 0 0 28px;border-left:4px solid #b4d7c3;margin:30px 12px}.lesson-timeline li{position:relative;margin:0 0 24px}.lesson-timeline li:before{content:'';position:absolute;left:-40px;top:25px;width:20px;height:20px;border-radius:50%;background:#f5d259;border:4px solid #fff}.lesson-timeline article{border:1px solid #bad4c8;border-radius:20px;background:#f5fbf7;padding:22px}.lesson-timeline time{font-weight:700;color:#466964}.lesson-timeline article>p{margin:8px 0}.lesson-timeline h3{margin:10px 0 20px}.lesson-timeline button,.study-review button{margin:4px 8px 4px 0}.study-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:0;padding:16px 0;margin:16px 0}.study-levels legend{font-size:22px;font-weight:700}.study-levels label,.study-select-lessons label{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px;border:2px solid #c8dad4;border-radius:16px;margin:0;cursor:pointer;background:#fff}.study-levels label:has(:checked),.study-select-lessons label:has(:checked){background:#fff8d3;border-color:#8e761a}.study-levels input,.study-select-lessons input{width:24px;height:24px;flex:none;margin:0}.study-levels strong{font-size:20px}.study-levels span{display:block;width:100%;font-size:15px}.study-select-lessons{display:grid;gap:10px}.study-select-lessons span{flex:1;min-width:0}.study-select-lessons label:has(:disabled){opacity:.65}#explore-practice>button{margin:6px 8px 6px 0}#explore-practice button{white-space:normal;overflow-wrap:anywhere}#explore-practice select{display:block;max-width:100%;margin:10px 0}.study-review{padding:20px;border:1px solid #bcd8cc;border-radius:18px;margin:16px 0;background:#f5faf7}.study-review p{white-space:pre-wrap}.study-lesson-score{font-weight:700}#explore-practice summary{padding:14px 0;font-size:18px;cursor:pointer}#explore-practice>h3,#explore-practice>p{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:500px){.lesson-timeline{padding-left:18px;margin-left:6px;margin-right:0}.lesson-timeline li:before{left:-30px}.lesson-timeline article{padding:16px}.study-levels{grid-template-columns:1fr}.study-levels label{padding:12px}.home-card strong{overflow-wrap:anywhere}}

.lesson-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px;background:#f1eaff;border-radius:18px;margin:20px 0}.lesson-actions button{font-weight:700;min-height:52px}.lesson-actions p{flex:1;min-width:190px;margin:0;line-height:1.5}@media(max-width:760px){.home-grid{grid-template-columns:1fr}.home-card{min-height:160px}}

.study-exam-total{padding:16px;border:2px solid #bed4cc;border-radius:16px;background:#f0f8f2;font-weight:700}

.home-card[hidden]{display:none}
.home-saved-preview{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;align-items:center}
.home-saved-preview img{width:120px;height:130px;object-fit:contain;border-radius:12px;background:#fff}
.home-saved-preview h3{margin:0}
.home-saved-preview p{line-height:1.5}
.home-saved-preview button{min-height:48px;max-width:100%}
@media(max-width:500px){.home-saved-preview{grid-template-columns:80px minmax(0,1fr);gap:12px}.home-saved-preview img{width:80px;height:110px}}
