/* Put saved progress and readable score cards in the first viewport. */
body.home .homeActivity{display:grid;grid-template-columns:280px minmax(0,1fr);gap:14px;margin:12px 0 16px;align-items:stretch}
body.home .homeResume{padding:16px 18px;border:1px solid var(--skin-a6d1bc,#a6d1bc);border-radius:15px;background:linear-gradient(125deg,var(--skin-dff1e7,#dff1e7),var(--skin-f1faf5,#f1faf5));display:flex;flex-direction:column;box-shadow:0 5px 20px var(--skin-76ab8a0c,#76ab8a0c)}
body.home .homeResumeHead{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
body.home .homeResumeHead h2,body.home .homeRecentHead h2{font-size:19px;line-height:1.3;margin:0;color:var(--skin-285d46,#285d46)}
.homeResumeHead>span{font-size:12px;color:var(--skin-4e7d65,#4e7d65);background:#fff9;border-radius:6px;padding:3px 7px}
body.home .homeResumeSection{font-size:30px;letter-spacing:.02em;line-height:1.2;color:var(--skin-245c42,#245c42);overflow-wrap:anywhere}
body.home .homeResumeDescription{font-size:13px;line-height:1.6;color:var(--skin-517860,#517860);margin:5px 0 7px}
body.home .homeResumeProgress{font-size:14px;line-height:1.6;color:var(--skin-345f48,#345f48);display:flex;flex-wrap:wrap;gap:0 12px;margin-bottom:10px}
.homeResumeProgress small{font-size:12px;color:var(--skin-658673,#658673)}
body.home #resumeLastActivity{margin-top:auto;min-height:41px;width:100%;font-size:15px;font-weight:750;border-radius:9px;border:1px solid var(--skin-7dae95,#7dae95);background:var(--skin-83b99e,#83b99e);color:var(--skin-163f2e,#163f2e);transition:background .25s,transform .25s,box-shadow .25s}
body.home #resumeLastActivity:hover{background:var(--skin-76ad91,#76ad91);transform:translateY(-2px);box-shadow:0 5px 13px var(--skin-619c7b25,#619c7b25)}
.homeResumeEmpty{font-size:18px;margin:18px 0 8px;color:var(--skin-4a755e,#4a755e)}
body.home #homeRecent{margin:0;min-width:0;display:flex;flex-direction:column}
body.home .homeRecentHead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
body.home #homeRecentHistory{font-size:14px;min-height:34px;padding:5px 12px;border:1px solid var(--skin-cce1d5,#cce1d5);border-radius:8px;background:#fff;color:var(--skin-3d7356,#3d7356)}
body.home .homeRecentGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;flex:1}
body.home .homeRecentGrid .homeScoreTile{display:flex;flex-direction:column;gap:0;padding:12px 14px;border:1px solid var(--skin-d1e3d8,#d1e3d8);border-radius:12px;background:#fff;text-align:left;min-width:0;box-shadow:0 3px 12px var(--skin-7299810a,#7299810a)}
body.home .homeRecentGrid .latestScore{background:var(--skin-f0f9f3,#f0f9f3);border-color:var(--skin-a4cfb7,#a4cfb7);box-shadow:inset 0 3px 0 var(--skin-8dbda1,#8dbda1)}
body.home .homeScoreTop{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px 8px;margin-bottom:8px;font-size:12px;line-height:1.5;color:var(--skin-67836f,#67836f)}
body.home .latestScore .homeScoreTop>span{color:var(--skin-285e40,#285e40);font-weight:750}
body.home .homeScoreTop time{font-size:12px;color:var(--skin-718b7a,#718b7a);font-variant-numeric:tabular-nums}
body.home .homeRecentGrid .homeScoreSection{font-size:23px;font-weight:800;color:var(--skin-255c40,#255c40);line-height:1.15;margin:0 0 5px;overflow-wrap:anywhere}
body.home .homeRecentGrid .homeScoreChapter{font-size:12px;line-height:1.5;white-space:normal;overflow:visible;color:var(--skin-587863,#587863);margin:0 0 7px}
body.home .homeScoreResult{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
body.home .homeScoreResult>strong{font-size:29px;line-height:1.2;color:var(--skin-287a50,#287a50);margin:0;font-variant-numeric:tabular-nums}
body.home .homeScoreResult>strong>span{font-size:17px;float:none;color:inherit}
body.home .homeScoreResult>span{font-size:13px;color:var(--skin-41694e,#41694e);text-align:right;line-height:1.6}
body.home .homeScoreResult small{display:block;font-size:12px;color:#886052}
body.home .homeRecentGrid .homeScoreTile>em{font-size:12px;font-style:normal;color:var(--skin-47785b,#47785b);line-height:1.5;margin-top:8px;padding-top:6px;border-top:1px solid var(--skin-e4eee7,#e4eee7)}
body.home .homeScoreTile:hover{border-color:var(--skin-91bfa4,#91bfa4);transform:translateY(-2px);box-shadow:0 7px 20px var(--skin-75a28620,#75a28620)}
body.home .homeEmptyScore{grid-column:1/-1;background:#fff;border:1px dashed var(--skin-bed9c9,#bed9c9);border-radius:12px;display:flex;align-items:center;justify-content:center;min-height:125px;padding:18px;margin:0;font-size:14px;line-height:1.6;color:var(--skin-657e6c,#657e6c)}
body.home .homeSections button.lastStudied{border-color:var(--skin-84b89b,#84b89b);background:var(--skin-edf8f1,#edf8f1);box-shadow:inset 3px 0 var(--skin-82b49a,#82b49a)}
body.home .lastSectionMark{font-size:11px;font-weight:700;line-height:1.5;color:var(--skin-37684e,#37684e);background:var(--skin-d8ecdf,#d8ecdf);padding:1px 6px;border-radius:4px;width:max-content;position:absolute;right:6px;top:5px}
body.home .lastStudied .sectionArrow{display:none}
body.home .wholeSectionButton .lastSectionMark{position:static;grid-column:2;grid-row:1/3}
body.home .wholeSectionButton.lastStudied>b{display:none}
@media(max-width:1100px){body.home .homeActivity{grid-template-columns:240px minmax(0,1fr)}body.home .homeRecentGrid{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .homeRecentGrid .homeScoreTile:last-child:nth-child(3){display:none}}
@media(max-width:760px){body.home .homeActivity{grid-template-columns:1fr;gap:14px}body.home .homeResume{display:grid;grid-template-columns:1fr auto;gap:0 12px;padding:14px 16px}body.home .homeResumeHead{grid-column:1/-1;margin-bottom:6px}body.home .homeResumeSection{grid-column:1;font-size:27px}body.home .homeResumeDescription{grid-column:1/-1;margin:5px 0}body.home .homeResumeProgress{grid-column:1/-1;margin-bottom:0}body.home #resumeLastActivity{grid-row:2;grid-column:2;width:auto;min-width:112px;font-size:14px;padding:8px 11px;margin:0;align-self:center}body.home .homeResumeEmpty{grid-column:1/-1}body.home .homeRecentGrid{gap:8px}body.home .homeRecentGrid .homeScoreTile{padding:12px}body.home .homeScoreResult{align-items:start;flex-direction:column;gap:2px}body.home .homeScoreResult>span{text-align:left}body.home .homeRecentGrid .homeScoreChapter{font-size:12px}body.home .homeScoreTop{margin-bottom:6px}body.home .homeRecentGrid .homeScoreSection{font-size:23px}}
