/* RootFlow feedback screens: measured against the 1717 × 916 LayerLab exports. */
:root{--rf-blue:#1768f2;--rf-ink:#172b4c;--rf-line:#dce6f3;--rf-muted:#7688a2;--rf-paper:#f8fbff}
.rf-home,.rf-map-page,.rf-story-page{max-width:1530px;margin:0 auto;color:var(--rf-ink)}
.rf-home button,.rf-map-page button,.rf-story-page button,.rf-learning-progress button,.rf-match-game button,.rf-recall button,.rf-game-practice button{cursor:pointer;font:inherit}
.rf-home button:focus-visible,.rf-map-page button:focus-visible,.rf-story-page button:focus-visible,.rf-learning-progress button:focus-visible,.rf-match-game button:focus-visible,.rf-recall button:focus-visible,.rf-game-practice button:focus-visible{outline:3px solid #7ab0ff;outline-offset:3px}
.rf-meter{height:8px;border-radius:99px;background:#e3eaf4;display:block;overflow:hidden}.rf-meter i{height:100%;display:block;border-radius:inherit;background:var(--rf-blue)}
.rf-link{border:0;background:none;color:var(--rf-blue);font-size:13px;font-weight:800;display:inline-flex;align-items:center;gap:6px}
.rf-cell-legend{display:flex;align-items:center;gap:7px;color:#74859d;font-size:11px;white-space:nowrap}.rf-cell-legend i{width:10px;height:10px;border-radius:3px;display:inline-block;margin-left:8px}.rf-cell-legend .done{background:#27ad73}.rf-cell-legend .current{background:var(--rf-blue)}.rf-cell-legend .future{background:#dce4ee}
.rf-home{display:grid;gap:20px}.rf-home-title small,.rf-story-title small,.rf-map-title small{display:block;color:var(--rf-blue);font-size:12px;font-weight:850;margin-bottom:7px}.rf-home-title h1{font-size:29px;letter-spacing:-.035em;margin:0}.rf-today{height:174px;display:grid;grid-template-columns:27% 45% 28%;align-items:center;padding:0 27px;background:linear-gradient(112deg,#f2f8ff,#faffff);border-color:#d5e5f9;border-radius:18px;overflow:hidden}.rf-today-copy small{font-size:13px;font-weight:800}.rf-today-copy h2{font-size:51px;color:var(--rf-blue);margin:11px 0 2px;line-height:.95;letter-spacing:-.05em}.rf-today-copy p{font-size:19px;color:#556b86;font-weight:700;margin:0}.rf-today-art{width:100%;height:164px;object-fit:contain;object-position:center bottom}.rf-today-action{border-left:1px solid #d8e2ef;padding:5px 0 5px 34px;display:grid;gap:13px}.rf-today-action>b{font-size:20px}.rf-today-action .btn{width:100%;height:45px;font-size:14px}
.rf-home-overview{padding:18px 22px 14px;border-radius:15px}.rf-home-overview-head{display:grid;grid-template-columns:minmax(220px,1fr) 275px auto;align-items:center;gap:24px}.rf-home-overview-head>div:first-child b,.rf-home-overview-head>div:first-child span{display:block}.rf-home-overview-head>div:first-child b{font-size:17px}.rf-home-overview-head>div:first-child span{font-size:11px;color:var(--rf-muted);margin-top:4px}.rf-overall b{font-size:13px}.rf-overall .rf-meter{margin-top:8px;height:7px}.rf-home-overview-head .btn{font-size:12px;white-space:nowrap}.rf-home-set-row{display:flex;align-items:center;gap:12px;margin:16px 0 10px}.rf-home-set-row label{font-size:10px;font-weight:850;color:#8291a7;letter-spacing:.08em}.rf-home-set-row select,.rf-story-section-head select{min-height:34px;border:1px solid var(--rf-line);border-radius:8px;padding:5px 10px;color:#2c4261;background:white;font-size:12px}.rf-home-set-row .rf-cell-legend{margin-left:auto}.rf-home-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.rf-mini-cell{height:44px;border-radius:9px;border:1px solid #d9e3f1;background:#f7f9fc;color:#8594aa;font-size:12px;font-weight:800}.rf-mini-cell.done{color:#128452;border-color:#bae8d0;background:#ebfaf1}.rf-mini-cell.current{color:var(--rf-blue);border:2px solid var(--rf-blue);background:#eff6ff;box-shadow:0 3px 11px #dceaff}.rf-mini-cell:hover{border-color:var(--rf-blue);color:var(--rf-blue)}.rf-home-categories{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}.rf-group-chip{padding:5px 10px;border-radius:8px;border:0;background:var(--tone-bg,#ecf2ff);color:var(--tone,#3767b7);font-size:11px;font-weight:750}
.rf-home-progress-heading{display:flex;align-items:end;justify-content:space-between}.rf-home-progress-heading h2{margin:0;font-size:22px}.rf-home-progress-heading p{font-size:12px;color:var(--rf-muted);margin:4px 0 0}.rf-cover-grid{gap:14px}.rf-cover-grid .root-cover-card{display:block;text-align:left;padding:0;height:315px}.rf-cover-grid .root-cover-art{height:155px}.rf-cover-grid .root-cover-copy{display:block}.rf-cover-grid .root-cover-copy strong{display:block;color:var(--rf-blue);font-size:26px;line-height:1.05;margin:5px 0 2px}.rf-cover-grid .root-cover-copy>span:not(.rf-meter){display:block;color:#61758f;font-size:12px}.rf-cover-grid .root-cover-copy .rf-meter{height:5px;margin:11px 0 0}.rf-cover-grid .root-cover-copy footer{margin-top:8px}.rf-cover-grid .root-cover-card.locked{filter:none;opacity:.72;cursor:pointer}.rf-cover-grid .root-cover-card:hover{transform:translateY(-2px);box-shadow:0 10px 23px #dde8f5}

/* Six actual Flow Room groups; counts come from /api/student/home. */
.rf-tone-0{--tone:#6248d7;--tone-bg:#f0ecff}.rf-tone-1{--tone:#138b60;--tone-bg:#eaf8f1}.rf-tone-2{--tone:#c24f7e;--tone-bg:#ffeff5}.rf-tone-3{--tone:#a87908;--tone-bg:#fff6dc}.rf-tone-4{--tone:#2069cf;--tone-bg:#eaf3ff}.rf-tone-5{--tone:#7454cf;--tone-bg:#f3efff}
.rf-map-title{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:22px}.rf-map-title h1,.rf-story-title h1{font-size:32px;margin:0 0 4px;letter-spacing:-.035em}.rf-map-title p,.rf-story-title p{color:#6a7e9a;margin:0;font-size:15px}.rf-map-total{width:36%;max-width:570px}.rf-map-total>span{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#8191a6}.rf-map-total b{color:#dc414d;font-size:17px}.rf-map-total .rf-meter{height:10px;margin:10px 0 5px}.rf-map-total .rf-meter i,.rf-learning-overall .rf-meter i{background:#ec5666}.rf-map-total>small{display:block;text-align:right;color:#8494a9;font-size:11px}
.rf-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.rf-category{display:grid;grid-template-columns:40px 1fr;grid-template-rows:auto auto auto;column-gap:9px;align-items:center;text-align:left;min-height:100px;border-radius:12px;border:1px solid var(--rf-line);background:linear-gradient(130deg,#fff,var(--tone-bg));padding:14px 16px;color:var(--tone)}.rf-category.selected{border:2px solid var(--tone);box-shadow:0 5px 16px rgba(40,70,120,.07)}.rf-category-icon{grid-row:1/3;width:38px;height:38px;border-radius:50%;background:var(--tone-bg);display:grid;place-items:center}.rf-category strong{color:#273a59;font-size:16px}.rf-category small{color:#667991;font-size:11px}.rf-category-meter{grid-column:1/3;height:7px;border-radius:20px;background:#dfe7f1;margin-top:11px;overflow:hidden}.rf-category-meter b{display:block;height:100%;background:var(--tone);border-radius:20px}.rf-map-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:18px 0 13px}.rf-map-modes{display:flex;border:1px solid var(--rf-line);background:#fff;border-radius:10px;overflow:hidden}.rf-map-modes button{border:0;border-right:1px solid var(--rf-line);padding:11px 18px;background:#fff;color:#637793;font-size:13px;font-weight:800}.rf-map-modes button:last-child{border-right:0}.rf-map-modes button.active{color:var(--rf-blue);background:#eaf2ff}
.rf-map-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px}.rf-map-main{min-height:550px;padding:16px 20px;overflow:auto}.rf-map-set{border-bottom:1px solid #e8edf4;padding:10px 0 13px}.rf-map-set:last-child{border-bottom:0}.rf-map-set-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}.rf-map-set-head b{font-size:14px}.rf-map-set-head span{color:#586d8a;font-size:12px}.rf-map-set-head small{margin-left:auto;color:#8294ab;font-size:10px}.rf-map-set-cells{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:8px}.rf-map-cell{min-width:0;height:45px;border:1px solid #dce5ef;border-radius:8px;color:#7d8ea6;background:#f3f6fa;font-size:11px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}.rf-map-cell.done{color:#159767;background:#e5f8ee;border-color:#b8e8cf}.rf-map-cell.current,.rf-map-cell.selected{color:var(--rf-blue);background:#eaf2ff;border-color:var(--rf-blue)}.rf-map-cell.selected{box-shadow:0 0 0 2px #bad3ff}.rf-map-cell:hover{border-color:var(--rf-blue);background:#f2f7ff}
.rf-map-detail{padding:22px 20px}.rf-map-detail>small{color:var(--rf-blue);font-size:11px;font-weight:850}.rf-map-detail h2{font-size:42px;color:var(--rf-blue);line-height:1;margin:12px 0 2px}.rf-map-detail>p{margin:0;color:#536a86;font-weight:700}.rf-map-detail>img{display:block;width:100%;height:190px;object-fit:contain;margin:15px auto}.rf-map-detail-progress{margin:14px 0}.rf-map-detail-progress>span{font-size:12px;color:#627791}.rf-map-detail-progress .rf-meter{margin-top:7px}.rf-map-detail>.btn{width:100%;height:48px}.rf-map-detail-set{display:grid;gap:4px;padding:14px;margin-top:15px;border:1px solid #e4ebf5;border-radius:10px;background:#f7faff;font-size:12px}.rf-map-detail-set span{color:#6e809a}
.rf-map-list{display:grid}.rf-map-list-set{border-bottom:1px solid #e8edf4}.rf-map-folder,.rf-map-list-root{display:grid;align-items:center;width:100%;border:0;background:#fff;text-align:left;color:#2d4260}.rf-map-folder{grid-template-columns:25px 80px 1fr auto 24px;min-height:48px;gap:8px;font-size:12px}.rf-map-folder small{color:#74849a}.rf-map-list-root{grid-template-columns:28px 90px 1fr 90px;padding:7px 20px 7px 52px;min-height:34px;border-top:1px solid #f1f4f8;font-size:12px}.rf-map-list-root.selected{background:#eaf2ff;color:var(--rf-blue)}.rf-map-list-root small{color:#8291a8}.rf-dot{width:10px;height:10px;border-radius:50%;background:#d4dfeb}.rf-dot.done{background:#2ab476}.rf-dot.current{background:var(--rf-blue)}
.rf-mind{min-height:535px;display:grid;grid-template-columns:170px 1fr;grid-template-rows:260px auto;align-items:center;gap:8px 20px;position:relative}.rf-mind-center{grid-row:1/3;display:grid;place-content:center;text-align:center;width:145px;height:145px;border:2px solid #dce5ff;border-radius:50%;box-shadow:0 8px 23px #e8eeff;color:#243b63}.rf-mind-center b{font-size:30px}.rf-mind-center small{font-weight:800}.rf-mind-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.rf-mind-node{height:82px;border:1px solid var(--tone);border-radius:24px;background:var(--tone-bg);color:var(--tone);display:grid;place-content:center;text-align:center}.rf-mind-node.selected{box-shadow:0 0 0 3px #b8adf5}.rf-mind-node b{font-size:16px}.rf-mind-node small{font-size:11px}.rf-mind-branch{align-self:start;border-top:2px solid #dbd5ff;padding-top:16px}.rf-mind-branch h3{font-size:17px;margin:0 0 10px}.rf-mind-set{border:1px solid var(--rf-line);border-radius:10px;background:#fff;color:#526783;padding:8px 10px;margin:0 6px 8px 0;font-size:12px;font-weight:750}.rf-mind-set.selected{background:#eeeaff;color:#5843be;border-color:#a998ec}.rf-mind-set small{display:block;font-size:10px;font-weight:500}.rf-mind-roots{display:flex;flex-wrap:wrap;gap:7px}.rf-mind-roots .rf-map-cell{min-width:70px;padding:0 10px}

.focus-home-link{margin-left:22px;border:1px solid #dbe6f4;background:#fff;border-radius:9px;padding:9px 14px;color:#426086;display:inline-flex;gap:7px;align-items:center;font-size:13px;font-weight:800}.focus-home-link:hover{border-color:var(--rf-blue);color:var(--rf-blue)}.page-student-learn .focus-content{max-width:1600px;margin:0 auto;padding:13px 20px 24px}.rf-learning-progress{display:grid;grid-template-columns:250px minmax(0,1fr) 185px;align-items:center;gap:20px;min-height:100px;margin:0 0 12px}.rf-learning-overall>b{font-size:14px;color:#425777}.rf-learning-overall strong{color:#df4e5a;font-size:20px}.rf-learning-overall .rf-meter{margin-top:10px}.rf-learning-categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.rf-learning-categories .rf-category{min-height:77px;padding:8px 10px;grid-template-columns:25px 1fr;column-gap:5px}.rf-learning-categories .rf-category-icon{width:23px;height:23px}.rf-learning-categories .rf-category-icon svg{width:17px;height:17px}.rf-learning-categories .rf-category strong{font-size:12px;white-space:nowrap}.rf-learning-categories .rf-category small{font-size:10px;white-space:nowrap}.rf-learning-categories .rf-category-meter{height:5px;margin-top:6px}.rf-map-open{height:48px;white-space:nowrap;font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px}.page-student-learn .study-focus-page{min-height:calc(100vh - 205px)}
.rf-game-tabs{display:flex;justify-content:center;gap:0;margin:0 auto 36px;width:min(620px,100%);border-bottom:1px solid #dce6f3}.rf-game-tabs button{flex:1;padding:14px 10px;border:0;border-bottom:3px solid transparent;background:#f6f9ff;color:#6c7f9c;font-size:13px;font-weight:800}.rf-game-tabs button.active{color:var(--rf-blue);background:#eaf2ff;border-bottom-color:var(--rf-blue)}.rf-match-game,.rf-game-practice,.rf-recall{padding:35px 40px 30px;min-height:540px;text-align:center}.rf-match-game h2,.rf-game-practice h2,.rf-recall h2{font-size:32px;letter-spacing:-.03em;margin:0 0 9px;color:#15294a}.rf-match-game>p,.rf-game-practice>p,.rf-recall>p{font-size:16px;color:#7488a4;margin:0 0 25px}.rf-match-progress{display:flex;align-items:center;justify-content:center;gap:18px;margin:0 auto 28px}.rf-match-progress b{font-size:15px;color:#209d67}.rf-match-progress .rf-meter{width:300px;height:10px}.rf-match-progress .rf-meter i{background:#29ad75}.rf-match-columns{display:grid;grid-template-columns:1fr 1fr;gap:22%;width:min(960px,100%);margin:0 auto}.rf-match-columns>div{display:grid;gap:15px}.rf-match-card{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-height:70px;border:1px solid #9fc3fb;border-radius:11px;padding:0 24px;background:#fff;color:#213957;font-size:22px;font-weight:800}.rf-match-card.meaning{font-size:20px}.rf-match-card i{font-style:normal;color:#7badf4}.rf-match-card.selected{border:2px solid var(--rf-blue);box-shadow:0 0 0 3px #e4efff}.rf-match-card.matched{border-color:#37ad75;background:#f3fff8;color:#168753;opacity:.85}.rf-match-card.matched i{color:#25a46c}.rf-game-status{min-height:24px;margin:22px 0;color:#667b98;font-size:13px}.rf-game-footer{display:flex;justify-content:center;gap:10px}.rf-game-footer .btn{font-size:12px}.rf-game-practice-art{height:175px;width:350px;max-width:100%;margin:10px auto}.rf-game-practice-art img{width:100%;height:100%;object-fit:contain}.rf-game-practice>strong{display:block;margin:15px 0;font-size:30px}.rf-cannon-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:min(650px,100%);margin:0 auto}.rf-cannon-choices button{min-height:52px;border:1px solid #a9c6f0;border-radius:10px;background:#fff;color:#253c5f;font-size:16px}.rf-cannon-choices button:hover{background:#edf5ff;border-color:var(--rf-blue)}.rf-fall-answer{display:flex;gap:10px;width:min(600px,100%);margin:0 auto}.rf-fall-answer input{flex:1;min-width:0;border:1px solid #adc7e9;border-radius:10px;padding:12px;font-size:18px}.rf-game-hint{color:#7589a5;font-size:12px;margin-top:17px!important}
.rf-recall-progress{font-size:14px;color:var(--rf-blue);font-weight:800;margin:0 auto 25px}.rf-write-list{max-height:430px;overflow:auto;display:grid;gap:8px;margin:0 auto 16px;width:min(1120px,100%);padding:2px 8px}.rf-write-row{display:grid;grid-template-columns:34px minmax(100px,1fr) minmax(180px,2fr) 72px 130px;align-items:center;gap:14px;border:1px solid #dce6f2;border-radius:10px;padding:9px 12px;text-align:left;background:#fff}.rf-write-row>span{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#eaf2ff;color:#7494cc;font-weight:800}.rf-write-row b{font-size:17px}.rf-write-row input{height:44px;border:1px solid #c4d5eb;border-radius:8px;padding:0 13px;font-size:16px;min-width:0}.rf-write-row input:focus{outline:2px solid #89b7fa}.rf-write-row button{height:39px;border:1px solid #c8d9ef;border-radius:8px;background:#fff;color:var(--rf-blue);font-weight:800}.rf-write-row small{font-size:12px}.rf-write-row small.bad{color:#d14b57}.rf-write-row small.good{color:#1d9f69}
.rf-speech-cue{width:min(350px,100%);margin:0 auto 18px;border:1px solid #d5e3f5;border-radius:13px;background:#f8fbff;padding:20px}.rf-speech-cue small{display:block;color:#6b7e99;font-size:12px}.rf-speech-cue strong{display:block;font-size:29px;margin-top:8px}.rf-mic{display:grid;place-items:center;width:104px;height:104px;margin:0 auto 14px;border-radius:50%;background:var(--rf-blue);color:#fff;border:12px solid #dceaff}.rf-recall-speak>.btn.primary{width:240px}.rf-speech-result{display:grid;grid-template-columns:140px 1fr;gap:10px;text-align:left;width:min(560px,100%);margin:20px auto;padding:17px;border:1px solid #d7e4f4;border-radius:10px;background:#f9fbff;font-size:13px}.rf-speech-result span{color:#68809f}.rf-speech-actions{display:flex;justify-content:center;gap:10px}

.rf-story-title{margin-bottom:20px}.rf-story-plans{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:12px;align-items:center;margin:0 0 16px}.rf-story-plans>div{border:1px solid #dfe7f4;border-radius:13px;background:#fff;padding:15px 19px}.rf-story-plans b,.rf-story-plans small{display:block}.rf-story-plans b{font-size:15px}.rf-story-plans small{font-size:11px;color:#96a3b5;margin-top:5px}.rf-story-plans>span{font-size:11px;color:#7790b6;border-radius:99px;padding:7px 12px;background:#eaf2ff;white-space:nowrap}.rf-story-feature{display:grid;grid-template-columns:35% 65%;min-height:300px;overflow:hidden}.rf-story-feature-art{display:grid;place-items:center;background:linear-gradient(130deg,#f5faff,#f3fbf7)}.rf-story-feature-art img{height:240px;width:90%;object-fit:contain}.rf-story-feature-copy{padding:30px 38px}.rf-story-feature-copy>small{font-size:12px;color:var(--rf-blue);font-weight:850}.rf-story-feature-copy h2{font-size:27px;margin:8px 0 10px}.rf-story-feature-copy>p{font-size:14px;color:#6e819b;max-width:650px}.rf-story-word-path{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin:20px 0}.rf-story-word-path span{color:var(--rf-blue);font-weight:800;background:#eaf2ff;border-radius:99px;padding:8px 12px;font-size:13px}.rf-story-word-path i{font-style:normal;color:#8da4c2}.rf-story-actions{display:flex;gap:9px;flex-wrap:wrap}.rf-story-actions .btn{font-size:12px}.rf-story-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:22px 0 12px}.rf-story-section-head h2{margin:0;font-size:21px}.rf-story-section-head p{font-size:12px;color:#7487a2;margin:5px 0 0}.rf-story-section-head label{font-size:11px;color:#6c7f9b}.rf-story-section-head select{margin-left:7px;max-width:230px}.rf-story-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.rf-story-scenes article{padding:15px 17px 18px}.rf-story-scenes article>small{color:var(--rf-blue);font-weight:800;font-size:11px}.rf-story-scene-art{height:175px;display:grid;place-items:center}.rf-story-scene-art img{width:100%;height:100%;object-fit:contain}.rf-story-scenes h3{font-size:23px;margin:10px 0 2px}.rf-story-scenes p{font-size:13px;color:#576d89;margin:0 0 9px}.rf-story-scenes blockquote{font-size:13px;line-height:1.5;color:#273d5c;border-left:3px solid #bed7fd;padding-left:9px;margin:0 0 5px}.rf-story-translation{font-size:12px;color:#6f819a}.rf-story-scenes .rf-link{margin-top:10px}
@media(max-width:1300px){.rf-learning-progress{grid-template-columns:190px minmax(0,1fr)}.rf-map-open{grid-column:1/-1;justify-self:end}.rf-learning-categories{grid-template-columns:repeat(3,1fr)}.rf-home-overview-head{grid-template-columns:1fr 250px}.rf-home-overview-head .btn{grid-column:1/-1;justify-self:end}.rf-categories{grid-template-columns:repeat(3,1fr)}.rf-map-layout{grid-template-columns:minmax(0,1fr) 260px}.rf-map-detail>img{height:150px}}
@media(max-width:950px){.rf-today{grid-template-columns:1fr 1fr;height:auto;padding:18px}.rf-today-art{height:145px}.rf-today-action{grid-column:1/-1;border-left:0;border-top:1px solid #dae6f3;padding:13px 0 0}.rf-home-grid,.rf-map-set-cells{grid-template-columns:repeat(5,1fr)}.rf-cover-grid{grid-template-columns:repeat(2,1fr)}.rf-map-layout{grid-template-columns:1fr}.rf-map-detail{display:grid;grid-template-columns:1fr 1fr;gap:5px 20px}.rf-map-detail>img{grid-row:1/6;grid-column:2}.rf-map-detail>.btn{grid-column:1/-1}.rf-story-feature{grid-template-columns:1fr}.rf-story-feature-art{height:220px}.rf-story-feature-art img{height:200px}.rf-story-scenes{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.rf-home-title h1,.rf-map-title h1,.rf-story-title h1{font-size:22px}.rf-map-title{display:block}.rf-map-total{width:100%;max-width:none;margin-top:14px}.rf-categories{grid-template-columns:repeat(2,1fr)}.rf-category{min-height:80px;padding:10px}.rf-map-toolbar{align-items:flex-start;flex-direction:column}.rf-map-modes{width:100%}.rf-map-modes button{flex:1;padding:9px 5px;font-size:11px}.rf-map-main{padding:11px}.rf-map-set-cells{gap:4px}.rf-map-cell{font-size:10px;height:40px}.rf-mind{display:block}.rf-mind-center{width:95px;height:95px;margin:5px auto}.rf-mind-categories{grid-template-columns:repeat(2,1fr);margin:18px 0}.rf-map-folder{grid-template-columns:22px 62px 1fr 30px}.rf-map-folder small{display:none}.rf-map-list-root{grid-template-columns:22px 55px 1fr;padding-left:15px}.rf-map-list-root small{display:none}.rf-home-overview-head{grid-template-columns:1fr}.rf-home-overview-head .btn{grid-column:auto;justify-self:stretch}.rf-home-set-row{flex-wrap:wrap}.rf-home-set-row .rf-cell-legend{margin:0}.rf-home-grid{grid-template-columns:repeat(5,1fr)}.rf-cover-grid{grid-template-columns:1fr}.rf-cover-grid .root-cover-card{height:300px}.rf-home-progress-heading{align-items:start}.rf-story-plans{grid-template-columns:1fr}.rf-story-plans>span{justify-self:start}.rf-story-section-head{display:grid}.rf-story-scenes{grid-template-columns:1fr}.rf-story-feature-copy{padding:22px}.rf-learning-progress{display:block;padding:0 7px}.rf-learning-overall{margin:0 0 9px}.rf-learning-categories{grid-template-columns:repeat(3,1fr)}.rf-learning-categories .rf-category{min-height:64px}.rf-map-open{width:100%;margin-top:8px}.rf-match-game,.rf-game-practice,.rf-recall{padding:18px 10px}.rf-match-game h2,.rf-game-practice h2,.rf-recall h2{font-size:23px}.rf-match-columns{gap:7px}.rf-match-card,.rf-match-card.meaning{font-size:14px;padding:9px;min-height:60px}.rf-game-tabs button{font-size:10px;padding:10px 3px}.rf-match-progress .rf-meter{width:100px}.rf-write-row{grid-template-columns:24px 1fr;gap:6px}.rf-write-row input{grid-column:1/-1}.rf-write-row button{grid-column:1/-1}.rf-write-row small{grid-column:1/-1}.rf-speech-result{grid-template-columns:1fr}}
.rf-mini-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 4px}
.rf-map-list-root{grid-template-columns:28px 190px minmax(0,1fr) 90px}
.rf-map-list-root b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.page-student-learn .focus-header{justify-content:flex-start}
.page-student-learn .focus-header>span:last-child{margin-left:auto}
.rf-match-game{width:min(1120px,100%)}.rf-match-columns{width:min(1040px,100%);gap:9%}
.rf-overview-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;align-items:start}.rf-overview-intro h2{font-size:21px;margin:4px 0 8px}.rf-overview-intro p{font-size:13px;line-height:1.5;color:var(--rf-muted);margin:0}.rf-home-overview{min-width:0;min-height:164px;padding:16px 20px}.rf-home-overview-head{grid-template-columns:minmax(150px,1fr) minmax(180px,270px) auto;gap:16px}.rf-home-overview-head .btn{grid-column:auto;justify-self:end}.rf-home-overview-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,37%);gap:18px;align-items:center;margin-top:13px}.rf-home-root-location{min-width:0}.rf-home-grid{display:flex;overflow-x:auto;gap:8px;padding:1px 1px 4px;scrollbar-width:thin}.rf-home-grid .rf-mini-cell{flex:0 0 80px}.rf-home-root-location .rf-cell-legend{margin-top:7px}.rf-home-categories-section{border-left:1px solid #e4eaf4;padding-left:17px;min-width:0}.rf-home-categories-section>b{font-size:11px;color:#526882}.rf-home-categories{margin-top:8px}.rf-group-chip{padding:6px 8px}.rf-home-progress-heading .rf-home-set-row{margin:0;font-size:10px;color:#8393aa;font-weight:800;letter-spacing:.06em}.rf-home-progress-heading .rf-home-set-row select{margin-left:7px;min-width:250px;letter-spacing:0}.rf-home-progress-heading{align-items:end}
.rf-stage-extras{display:flex;gap:6px;align-items:center;margin-left:8px}
.rf-stage-extras button{white-space:nowrap;border:1px solid #d6e4f7;border-radius:9px;background:#fff;color:#2c589e;padding:8px 10px;font-size:11px;font-weight:800}
.rf-stage-extras button.active{background:#eaf2ff;border-color:#92b9f4;color:#1768f2}
.page-student-learn .study-focus-top{gap:10px}
@media(max-width:1250px){.rf-stage-extras{grid-column:1/-1;justify-content:flex-end;margin:0 0 7px}.page-student-learn .study-focus-top:has(.rf-stage-extras){display:grid;grid-template-columns:auto 1fr auto}.page-student-learn .study-focus-top:has(.rf-stage-extras) .focus-stage-nav{grid-column:2}.page-student-learn .study-focus-top:has(.rf-stage-extras) .study-exit{grid-column:3;grid-row:1}}
@media(max-width:760px){.rf-map-list-root{grid-template-columns:22px 90px minmax(0,1fr);padding-left:15px}.rf-match-columns{gap:7px}.rf-stage-extras{grid-column:1/-1;justify-content:center}.page-student-learn .study-focus-top:has(.rf-stage-extras){display:flex;flex-wrap:wrap}.page-student-learn .study-focus-top:has(.rf-stage-extras) .focus-stage-nav{order:3;width:100%}}
@media(max-width:1250px){.rf-overview-layout{grid-template-columns:1fr}.rf-home-overview-head{grid-template-columns:minmax(0,1fr) minmax(150px,220px) auto}.rf-home-overview-head .btn{grid-column:auto}}
@media(max-width:760px){.rf-home-overview{padding:14px}.rf-home-overview-head{grid-template-columns:1fr}.rf-home-overview-head .btn{justify-self:stretch}.rf-home-overview-content{grid-template-columns:1fr}.rf-home-categories-section{border-left:0;border-top:1px solid #e4eaf4;padding:12px 0 0}.rf-home-progress-heading{display:grid;gap:10px}.rf-home-progress-heading .rf-home-set-row{display:flex;align-items:center}.rf-home-progress-heading .rf-home-set-row select{min-width:0;flex:1}}
.rf-story-title small span{display:inline-block;margin-left:10px;padding:5px 12px;border-radius:20px;background:#eaf1ff;color:#7595c7;font-size:10px}.rf-story-format-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:12px 0 17px}.rf-story-formats{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:10px;flex:1;max-width:850px}.rf-story-format{display:flex;align-items:center;gap:13px;min-height:68px;border:1px solid #dce5f2;border-radius:11px;background:white;color:#5277b3;padding:12px 17px;text-align:left}.rf-story-format.active{border-color:#5a8dff;background:#f6f9ff}.rf-story-format b,.rf-story-format small{display:block}.rf-story-format b{font-size:15px;color:#233856}.rf-story-format small{font-size:11px;color:#7c8fa9;margin-top:3px}.rf-story-format-note{color:#4d78bd;display:flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.rf-story-format-note small{display:block;color:#8294ad}.rf-story-feature{grid-template-columns:29% 29% 42%;min-height:315px}.rf-story-feature-art img{height:280px}.rf-story-feature-copy{padding:25px 25px}.rf-story-feature-copy h2{font-size:24px;line-height:1.24}.rf-story-feature-copy>p{line-height:1.6}.rf-story-word-path{gap:5px;margin:17px 0}.rf-story-word-path span{font-size:11px;padding:6px 8px}.rf-story-actions .btn{font-size:11px}.rf-story-feature-scenes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;align-content:center;padding:22px 17px 14px}.rf-story-mini-scene{position:relative;min-width:0;border:1px solid #dce6f4;border-radius:11px;padding:10px;display:flex;flex-direction:column;min-height:205px}.rf-story-mini-scene>span{position:absolute;top:6px;left:7px;background:#7ca8ee;color:white;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:11px;font-weight:800;z-index:3}.rf-story-mini-art{display:grid;place-items:center;height:137px;overflow:hidden}.rf-story-mini-art img{width:100%;height:100%;object-fit:contain}.rf-story-mini-scene b{font-size:13px;color:#243c63}.rf-story-mini-scene small{font-size:11px;color:#6d819c}.rf-story-feature-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;color:#6480a5;font-size:11px}.rf-story-feature-footer .btn{font-size:11px;white-space:nowrap}.rf-story-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rf-story-collection-card{display:grid;grid-template-columns:43px 1fr 22px;align-items:center;gap:12px;text-align:left;min-height:112px;border:1px solid #dce5f4;border-radius:14px;background:linear-gradient(115deg,#f7faff,#fff);padding:17px;color:#2368d9}.rf-story-collection-card:nth-child(2){background:linear-gradient(115deg,#f3fbf7,#fff);color:#1a9c64}.rf-story-collection-card:nth-child(3){background:linear-gradient(115deg,#f8f5ff,#fff);color:#714dd1}.rf-story-collection-card.active{border-color:currentColor}.rf-story-collection-card span b,.rf-story-collection-card span small,.rf-story-collection-card span em{display:block}.rf-story-collection-card span b{font-size:15px;color:#293c5a}.rf-story-collection-card span small{font-size:11px;color:#7890a8;margin:3px 0}.rf-story-collection-card span em{font-size:10px;font-style:normal}.rf-story-mini-art.word-visual-masked:after,.rf-story-scene-art.word-visual-masked:after{height:34%}
@media(max-width:1250px){.rf-story-format-bar{display:block}.rf-story-format-note{margin-top:8px}.rf-story-feature{grid-template-columns:34% 66%}.rf-story-feature-scenes{grid-column:1/-1}.rf-story-collection{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.rf-story-formats{grid-template-columns:1fr}.rf-story-format-note{flex-wrap:wrap}.rf-story-feature{grid-template-columns:1fr}.rf-story-feature-scenes{grid-column:auto;grid-template-columns:repeat(3,minmax(0,1fr));padding:14px}.rf-story-mini-scene{min-height:160px;padding:5px}.rf-story-mini-art{height:100px}.rf-story-feature-footer{display:grid}.rf-story-collection{grid-template-columns:1fr}}
.rf-story-mini-art img{transform:scale(1.35)}

/* 1717 × 916 reference geometry. Keep live content and controls in the layout. */
@media(min-width:1500px){
  .app-shell.role-student{grid-template-columns:195px minmax(0,1fr)}
  .role-student .sidebar{width:195px;padding:44px 14px 20px}
  .role-student .sidebar .brand{font-size:27px;padding:0 15px 35px}
  .role-student .sidebar .brand-mark{width:31px;height:31px}
  .role-student .nav-list{gap:6px}
  .role-student .nav-item{min-height:46px;font-size:14px;padding:10px 14px}
  .role-student .topbar{height:84px;padding-inline:28px}
  .role-student .topbar .shell-heading b{font-size:25px}
  .role-student .topbar .shell-heading span{font-size:13px}
  .page-student-home .content{max-width:none;padding:20px 110px 28px 115px}
  .rf-home{gap:20px}
  .rf-home-title{min-height:54px;display:flex;align-items:flex-start;justify-content:space-between}
  .rf-home-title small{margin-bottom:5px}
  .rf-home-title h1{font-size:27px;line-height:1.14}
  .rf-home-quote{color:#74849d;font-size:13px;margin-top:30px}
  .rf-today{height:158px;grid-template-columns:31% 34% 35%;padding:0 29px}
  .rf-today-copy small{font-size:13px}
  .rf-today-copy h2{font-size:52px;margin:13px 0 2px}
  .rf-today-copy p{font-size:18px}
  .rf-today-art{height:151px;transform:translateX(-40px) scale(1.15)}
  .rf-today-action{padding-left:48px;gap:10px}
  .rf-today-action>b{font-size:21px}
  .rf-today-action .rf-meter{height:10px}
  .rf-today-action .btn{height:45px}
  .rf-overview-layout{grid-template-columns:225px minmax(0,1fr);gap:20px;margin-top:3px}
  .rf-overview-intro h2{margin:0 0 7px;font-size:21px}
  .rf-home-overview{height:164px;min-height:164px;padding:14px 20px}
  .rf-home-grid .rf-mini-cell{flex-basis:79px;height:61px}
  .rf-home-overview-content{margin-top:10px;grid-template-columns:54% 46%;gap:0}
  .rf-home-categories{gap:7px}
  .rf-group-chip{min-height:34px;display:inline-flex;align-items:center;gap:5px;padding:6px 8px;font-size:11px}
  .rf-home-grid .rf-mini-cell{flex-basis:80px;display:grid;place-content:center;gap:2px}
  .rf-mini-cell small{font-size:12px;line-height:1}
  .rf-mini-cell.rf-mini-placeholder{height:30px;align-self:start;margin-top:10px;background:#edf1f7;border-color:#edf1f7;cursor:pointer}
  .rf-home-progress-heading{margin-top:-4px;min-height:37px}
  .rf-home-progress-heading h2{font-size:21px}
  .rf-home-progress-heading p{margin-top:3px}
  .rf-cover-grid{margin-top:-13px;gap:14px}
  .rf-cover-grid .root-cover-card{height:220px;border-radius:14px}
  .rf-cover-grid .root-cover-art{height:110px;padding:4px 13px 0}
  .rf-cover-grid .root-cover-copy{padding:7px 19px 9px}
  .rf-cover-grid .root-cover-copy strong{font-size:23px;margin:3px 0 0}
  .rf-cover-grid .root-cover-copy .rf-meter{margin-top:6px;height:4px}
  .rf-cover-grid .root-cover-copy footer{margin-top:6px}
  .home-v2-bottom{margin-top:-6px}
  .home-v2-bottom article{min-height:73px;padding:8px 18px}
  .home-v2-bottom-icon{width:42px;height:42px}
  .page-student-map .content,.page-student-story .content{padding:18px 45px 30px}
  .rf-map-layout{grid-template-columns:minmax(0,1fr) 336px;gap:22px}
  .rf-map-toolbar .rf-cell-legend{margin-right:360px}
  .rf-categories .rf-category{grid-template-columns:64px 1fr;grid-template-rows:24px 21px 17px;column-gap:9px;padding:12px 18px 10px 20px}
  .rf-categories .rf-category-icon{grid-column:1;grid-row:1/3;width:45px;height:45px;margin:4px 0 0 8px}
  .rf-categories .rf-category strong{grid-column:2;grid-row:1;align-self:end}
  .rf-categories .rf-cat-total{grid-column:2;grid-row:2;font-size:12px;align-self:start}
  .rf-categories .rf-cat-progress{grid-column:1;grid-row:3;color:var(--tone);font-weight:800;font-size:12px;white-space:nowrap}
  .rf-categories .rf-category:not(.selected) .rf-cat-progress{visibility:hidden}
  .rf-categories .rf-category-meter{grid-column:2;grid-row:3;margin:6px 0 0;height:8px}
  .rf-map-toolbar{margin-bottom:18px}
  .rf-map-main{padding:0;min-height:530px;overflow:hidden}
  .rf-map-detail{margin-top:-57px;min-height:575px;padding:21px 20px}
  .rf-map-detail>img{height:180px;margin:12px auto 9px}
  .rf-map-detail-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#376ce0;font-size:11px;font-weight:800}
  .rf-map-detail-heading span{color:#8190a5;font-size:10px}
  .rf-map-detail-set{margin-top:12px;padding:12px;background:#f5f8ff}
  .rf-map-detail-set .rf-meter{height:8px;margin-top:2px}
  .rf-map-detail-set .rf-meter i{background:#40b482}
  .rf-map-detail-tip{display:grid;grid-template-columns:35px 1fr;gap:8px;margin-top:10px;padding:11px;border:1px solid #dce7f5;border-radius:10px;font-size:11px}
  .rf-map-detail-tip>span{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#fff7e2;font-size:19px}
  .rf-map-detail-tip b{font-size:12px}
  .rf-map-detail-tip p{margin:5px 0 0;color:#687e9b;line-height:1.45}
  .rf-map-grid-view{min-height:530px}
  .rf-map-group-header{height:54px;display:flex;align-items:center;gap:11px;padding:0 19px;background:#f3f0ff;color:#394467}
  .rf-map-group-header .rf-category-icon{width:35px;height:35px;color:#6654d6;background:#e5dcff}
  .rf-map-group-header b{font-size:16px}
  .rf-map-group-header>span:not(.rf-category-icon){font-size:12px}
  .rf-map-group-header i{margin-left:auto;font-style:normal}
  .rf-map-set{padding:4px 20px 5px;margin:0 0;border-bottom:1px solid #e6ecf5}
  .rf-map-set:first-of-type{padding-top:15px;padding-bottom:15px}
  .rf-map-set-head{height:24px;gap:10px;margin:0 0 3px;color:#273d5c}
  .rf-map-set-head b{font-size:15px}
  .rf-map-set-head span{font-size:12px}
  .rf-map-set-head .rf-map-set-range{color:#8b9eb8}
  .rf-map-set-head .rf-map-set-chevron{font-size:19px;color:#456183}
  .rf-map-set-head small{font-size:11px;color:#4076d8}
  .rf-map-set-cells{gap:8px;margin-left:41px;margin-right:70px}
  .rf-map-cell.rf-map-position{height:49px;display:grid;place-content:center;gap:0;font-size:12px;background:linear-gradient(#f4f7fb,#e9eef5);border:0;color:#60728e}
  .rf-map-position b{font-size:13px;font-weight:750;line-height:1.1}
  .rf-map-position small{font-size:11px;color:#95a2b5;line-height:1}
  .rf-map-position.done{background:linear-gradient(#e7f8ef,#d8f1e3);color:#218d61}
  .rf-map-position.current,.rf-map-position.selected{background:linear-gradient(#77a6f6,#3678e8);color:white;box-shadow:0 3px 10px #c6dcff}
  .rf-map-position.current small,.rf-map-position.selected small{color:#fff}
  .rf-map-more{text-align:center;font-size:12px;color:#51698c;padding:10px}
  .rf-map-more span{float:right;padding-right:20px}
  .rf-map-main:has(.rf-mind){background:transparent;border:0;box-shadow:none;overflow:visible}
  .rf-mind{height:535px;min-height:535px;display:block;position:relative}
  .rf-mind-lines{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
  .rf-mind-lines path{fill:none;stroke-width:3;stroke-linecap:round}
  .rf-mind-lines .branch-purple{stroke:#8053e5}
  .rf-mind-lines .branch-green{stroke:#61bd8b}
  .rf-mind-lines .branch-pink{stroke:#ed8ab6}
  .rf-mind-lines .branch-yellow{stroke:#f5c35a}
  .rf-mind-lines .branch-blue{stroke:#82aff4}
  .rf-mind-lines .branch-violet{stroke:#ad8ef2}
  .rf-mind-center{position:absolute;left:548px;top:173px;width:145px;height:145px;margin:0;z-index:2;background:#fff;border:2px solid #c4b3f7;box-shadow:0 10px 30px #e8e2ff}
  .rf-mind-center b{font-size:29px}
  .rf-mind-categories{display:contents}
  .rf-mind-node{position:absolute;width:247px;height:79px;display:flex;align-items:center;text-align:left;justify-content:flex-start;gap:12px;padding:9px 17px;border:1px solid var(--tone);border-radius:45px;background:#fff;color:#1b3152;z-index:2}
  .rf-mind-node.selected{box-shadow:0 0 0 2px #d9c9ff}
  .rf-mind-icon{width:49px;height:49px;flex:0 0 49px;display:grid;place-items:center;border-radius:50%;background:var(--tone-bg);color:var(--tone)}
  .rf-mind-node>span:nth-child(2){display:grid;gap:2px}
  .rf-mind-node b{font-size:16px;color:#1d3555}
  .rf-mind-node small{font-size:12px;color:#6a7b95}
  .rf-mind-node em{position:absolute;top:74px;left:91px;font-size:11px;font-style:normal;color:var(--tone)}
  .rf-mind-node>i{width:29px;height:29px;margin-left:auto;border:1px solid #e3e9f4;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:21px;font-style:normal;color:#637a9d;line-height:1}
  .rf-mind-pos-0{left:260px;top:61px}
  .rf-mind-pos-1{left:745px;top:61px}
  .rf-mind-pos-2{left:802px;top:207px}
  .rf-mind-pos-3{left:736px;top:363px}
  .rf-mind-pos-4{left:260px;top:363px}
  .rf-mind-pos-5{left:202px;top:237px}
  .rf-mind-root-list{position:absolute;left:75px;top:22px;display:grid;gap:8px;z-index:3}
  .rf-mind-root{width:126px;height:38px;display:flex;align-items:center;gap:17px;padding:0 12px;border:1px solid #d9e4f3;border-radius:22px;background:#fff;color:#2a3f5f;font-size:15px;font-weight:750;cursor:pointer}
  .rf-mind-root i{font-size:15px;color:#3176ed;font-style:normal}
  .rf-mind-root.selected{border-color:#4281f0;box-shadow:0 0 0 1px #c5d9fc}
  .rf-mind-root.done i{color:#25a46d}
  .rf-mind-root.future{background:#f3f6fb}
  .rf-map-main:has(.rf-map-list){min-height:520px;overflow:hidden}
  .rf-map-list{display:block}
  .rf-map-list-group{height:38px;display:grid;grid-template-columns:25px 35px 50px 1fr auto 25px;align-items:center;gap:7px;padding:0 18px;background:#f4f0ff;color:#283d5c;text-align:left;border:0;width:100%}
  .rf-map-list-group .rf-category-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:var(--tone-bg);color:var(--tone)}
  .rf-map-list-group b{font-size:14px}
  .rf-map-list-group>span:not(.rf-category-icon){font-size:12px}
  .rf-map-list-group small{font-size:11px;color:#657d9e}
  .rf-map-list-group i{font-size:16px;font-style:normal;text-align:center}
  .rf-map-folder{grid-template-columns:23px 27px 62px minmax(0,1fr) 1fr auto 24px;height:30px;min-height:30px;padding:0 18px 0 51px;gap:7px;font-size:12px}
  .rf-map-folder b{font-size:14px}
  .rf-map-folder small{font-size:11px;color:#3976df}
  .rf-map-folder>span:nth-last-of-type(1){color:#8193ab}
  .rf-map-list-set{border:0}
  .rf-map-list-root{grid-template-columns:28px 110px minmax(0,1fr) 120px;gap:24px;min-height:24px;height:24px;padding:0 20px 0 140px;border-top:0;border-bottom:1px solid #e4ebf5;font-size:12px}
  .rf-map-list-root b{font-size:12px}
  .rf-map-list-root .rf-dot{width:13px;height:13px;display:grid;place-items:center;font-size:10px;color:white}
  .rf-map-list-root .rf-dot.future{background:#a6afbc}
  .rf-map-list-root small{font-size:11px}
  .rf-map-list-root small.current{color:#2075e5}
  .rf-map-list-root small.done{color:#269668}
  .rf-map-list-root.selected{background:#eaf2ff}
  .rf-list-other{height:29px;background:#fff;border-top:1px solid #e4ebf5;cursor:pointer}
  .page-student-story .content{padding:26px 76px 30px 81px}
  .rf-story-title{margin-bottom:20px}
  .rf-story-title small{font-size:14px;margin-bottom:13px}
  .rf-story-title h1{font-size:40px;line-height:1.18;margin-bottom:8px}
  .rf-story-title p{font-size:20px}
  .rf-story-format-bar{margin:0 0 16px}
  .rf-story-format{min-height:72px}
  .rf-story-formats{max-width:920px;gap:14px}
  .rf-story-feature{height:359px;min-height:359px;grid-template-columns:26% 27% 47%;border-radius:15px}
  .rf-story-feature-art{background:#fff}
  .rf-story-feature-art img{width:88%;height:auto;max-height:280px;object-fit:contain;transform:translateY(13px)}
  .rf-story-feature-copy{padding:19px 10px 18px 4px}
  .rf-story-feature-copy .rf-story-type{display:inline-block;border-radius:20px;background:#edf3ff;padding:4px 13px;font-size:12px}
  .rf-story-feature-copy h2{font-size:25px;margin:12px 0 10px}
  .rf-story-set{display:block;font-size:14px;color:#5b7191}
  .rf-story-feature-copy>p{font-size:13px;line-height:1.55;margin:17px 0 0;color:#5a7191}
  .rf-story-word-path{margin:13px 0;gap:5px}
  .rf-story-word-path span{font-size:12px;padding:8px 12px}
  .rf-story-category-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:21px}
  .rf-story-category-chips span{background:var(--tone-bg);color:var(--tone);padding:8px 10px;border-radius:9px;font-size:11px;font-weight:800}
  .rf-story-feature-scenes{grid-template-rows:170px auto;align-content:start;padding:28px 24px 15px;gap:14px}
  .rf-story-mini-scene{min-height:170px;padding:5px 8px 8px}
  .rf-story-mini-art{height:108px}
  .rf-story-mini-art img{width:100%;height:100%;object-fit:contain;transform:none}
  .rf-story-mini-art.word-visual-masked:after{height:19%}
  .rf-story-mini-scene b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rf-story-mini-scene small{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .rf-story-feature-footer{display:grid;grid-template-columns:1fr;gap:12px;padding:0}
  .rf-story-benefits{display:grid;grid-template-columns:repeat(3,1fr);border-radius:10px;background:#f2f7ff;padding:13px 8px;color:#3675d8;gap:4px}
  .rf-story-benefits>span{display:grid;grid-template-columns:25px 1fr;align-items:center;font-size:22px}
  .rf-story-benefits b{font-size:12px;color:#354861}
  .rf-story-benefits small{grid-column:2;font-size:10px;color:#8296af}
  .rf-story-feature-footer .btn{justify-self:end;min-width:215px;height:43px;font-size:13px}
  .rf-story-section-head{margin:26px 0 12px;align-items:center}
  .rf-story-section-head>div{display:flex;align-items:baseline;gap:9px}
  .rf-story-section-head p{margin:0}
  .rf-story-section-head select{min-height:25px;padding-block:2px}
  .rf-story-collection-card{min-height:139px}
  .page-student-learn .focus-header{height:65px;padding-inline:29px}
  .page-student-learn .focus-content{max-width:1450px;padding:24px 21px 24px}
  .page-student-learn .rf-learning-progress{grid-template-columns:253px 879px 185px;gap:30px;margin-bottom:12px}
  .page-student-learn .rf-learning-categories .rf-category{min-height:82px}
  .page-student-learn .rf-learning-categories .rf-cat-total{display:none}
  .page-student-learn .rf-learning-categories .rf-cat-progress{grid-column:2;grid-row:2}
  .page-student-learn .rf-map-open{margin-left:30px}
  .page-student-learn .study-focus-page{height:685px;min-height:685px}
  .page-student-learn .study-focus-top{min-height:92px}
  .page-student-learn .study-focus-actions{min-height:91px}
  .page-student-learn .root-exposure{gap:18px}
  .page-student-learn.game-mode-page .focus-header{height:69px}
  .rf-game-top-nav{display:flex;align-items:center;gap:25px;margin-left:310px;white-space:nowrap}
  .rf-game-top-nav button{display:flex;align-items:center;gap:6px;border:0;border-bottom:3px solid transparent;background:transparent;color:#536b8a;height:56px;font-size:13px;font-weight:800;cursor:pointer}
  .rf-game-top-nav button.active{border-bottom-color:#1768f2;color:#1768f2}
  .rf-game-total{width:245px;margin-left:auto;border-radius:20px;background:#f3f6fd;padding:5px 16px;color:#d54751}
  .rf-game-total b{display:block;font-size:12px}
  .rf-game-total .rf-meter{height:7px;margin-top:4px}
  .rf-game-total .rf-meter i{background:#e45763}
  .page-student-learn.game-mode-page .focus-header>span:last-child{font-size:11px;white-space:nowrap;margin-left:auto}
  .page-student-learn.game-mode-page .focus-content{max-width:1550px;padding:17px 23px 24px}
  .page-student-learn.game-mode-page .study-focus-page{height:803px;min-height:803px;border-radius:20px}
  .page-student-learn.game-mode-page .study-focus-top{min-height:96px}
  .page-student-learn.game-mode-page .study-focus-main{overflow:hidden}
  .rf-game-bottom{min-height:91px;display:flex;align-items:center;justify-content:space-between;padding:15px 26px;border-top:1px solid #e6ecf4;background:#fff}
  .rf-game-bottom .btn{min-width:130px;height:51px}
  .rf-game-bottom .btn:last-child{min-width:199px}
  .rf-game-dots{display:flex;gap:11px;align-items:center}
  .rf-game-dots i{width:10px;height:10px;border-radius:50%;background:#e0e8f5}
  .rf-game-dots i.active{background:#1768f2}
  .rf-match-game{width:min(1120px,100%);min-height:0;padding:0 0 8px;transform:translateY(24px)}
  .rf-game-tabs{width:610px;max-width:100%;margin-bottom:42px}
  .rf-match-game h2,.rf-recall h2{font-size:38px}
  .rf-match-game>p,.rf-recall>p{font-size:18px;margin-bottom:24px}
  .rf-match-progress{margin-bottom:46px}
  .rf-match-columns{width:min(960px,100%);gap:216px}
  .rf-match-columns>div{gap:20px}
  .rf-match-game .rf-match-card,.rf-match-game .rf-match-card.meaning{min-height:76px;font-size:25px;font-weight:800;padding-inline:47px}
  .rf-game-status{margin-top:12px}
  .rf-recall{min-height:0;padding:20px 20px 12px}
  .rf-recall-progress{margin-bottom:19px}
  .rf-recall-progress:has(.rf-meter){display:flex;align-items:center;justify-content:center;gap:19px}
  .rf-recall-progress .rf-meter{width:386px;height:11px}
  .rf-recall-write{width:100%;height:100%;padding:22px 68px 8px}
  .rf-recall-write .rf-game-tabs{margin:0 auto 47px}
  .rf-recall-write .rf-recall-progress{margin-bottom:36px}
  .rf-write-list{max-height:300px;width:1303px;max-width:100%;gap:14px;padding:0;margin:0 auto}
  .rf-write-row{grid-template-columns:56px 255px 500px minmax(0,1fr) 142px;min-height:90px;padding:9px 20px;gap:18px}
  .rf-write-row>span{width:45px;height:45px;font-size:16px}
  .rf-write-row b{font-size:24px}
  .rf-write-row input{height:64px;font-size:20px}
  .rf-write-row button{height:49px;font-size:14px;display:flex;align-items:center;justify-content:center;gap:6px}
  .rf-write-hint{color:#8293ab;text-align:center;white-space:nowrap}
  .rf-game-bottom-actions{display:flex;gap:12px}
  .rf-game-bottom-actions .btn{min-width:158px}
  .rf-recall-speak{transform:translateY(23px)}
  .rf-recall-speak .rf-recall-progress{margin-bottom:35px}
  .rf-speech-cue{width:328px;min-height:99px;padding:16px;margin-bottom:12px}
  .rf-speech-cue strong{font-size:33px}
  .rf-mic{width:160px;height:160px;border:30px solid #e4eeff;margin-bottom:0}
  .rf-recall-speak>.btn.primary{position:relative;margin-top:-35px;height:44px}
  .rf-speech-result{width:560px;min-height:77px;margin-top:19px;grid-template-columns:210px 1fr}
  .rf-speech-result b small,.rf-speech-result span small{display:block;margin-top:6px;color:#8194ac;font-weight:400}
  .rf-speech-privacy{font-size:12px;color:#8a9bb0;margin-top:7px}
}

@media(max-width:1499px){
  .rf-home-title{display:flex;justify-content:space-between;gap:15px}
  .rf-home-quote{font-size:12px;color:#7688a2;align-self:end}
  .rf-home-grid .rf-mini-cell{display:grid;place-content:center;gap:2px}
  .rf-mini-cell.rf-mini-placeholder{background:#eef2f7;border-color:#eef2f7}
  .rf-group-chip{display:inline-flex;align-items:center;gap:4px}
  .rf-categories .rf-cat-total{display:none}
  .rf-categories .rf-cat-progress{grid-column:2;grid-row:2}
  .rf-learning-categories .rf-cat-total{display:none}
  .rf-learning-categories .rf-cat-progress{grid-column:2;grid-row:2}
  .rf-map-group-header,.rf-map-list-group{min-height:46px;display:flex;align-items:center;gap:10px;padding:8px 14px;background:#f3f0ff;color:#273a5d}
  .rf-map-group-header i,.rf-map-list-group i,.rf-map-list-group small{margin-left:auto}
  .rf-map-position{display:grid;place-content:center;gap:1px}
  .rf-map-position small{font-size:9px}
  .rf-map-folder{grid-template-columns:20px 23px 65px minmax(0,1fr) 85px auto 18px;gap:5px}
  .rf-map-list-root{grid-template-columns:20px 110px minmax(0,1fr) 60px;gap:8px}
  .rf-list-other{width:100%;border:0;border-top:1px solid #e4eaf4;text-align:left;cursor:pointer}
  .rf-map-detail-heading{display:flex;justify-content:space-between;gap:5px;color:#2e6ce1;font-size:11px}
  .rf-map-detail-tip{display:flex;gap:9px;padding:10px;margin-top:10px;border:1px solid #e0e8f3;border-radius:9px;font-size:11px}
  .rf-map-detail-tip p{margin:4px 0 0;color:#70829c}
  .rf-map-main:has(.rf-mind){overflow:auto}
  .rf-mind{display:flex;flex-direction:column;gap:16px;padding:12px;min-height:520px}
  .rf-mind-lines{display:none}
  .rf-mind-center{order:0;margin:0 auto;width:105px;height:105px;flex:0 0 105px}
  .rf-mind-categories{order:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .rf-mind-node{min-width:0;height:72px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:7px;border:1px solid var(--tone);border-radius:14px;background:var(--tone-bg);color:var(--tone)}
  .rf-mind-node b,.rf-mind-node small{display:block;font-size:12px}
  .rf-mind-node em{display:none}
  .rf-mind-node>i{font-style:normal}
  .rf-mind-root-list{order:2;display:flex;flex-wrap:wrap;gap:7px}
  .rf-mind-root{min-height:36px;display:flex;align-items:center;gap:6px;border:1px solid #dce5f2;border-radius:18px;background:white;padding:6px 12px;color:#2b4564}
  .rf-mind-root.selected{border-color:#1768f2}
  .rf-story-category-chips{display:flex;gap:5px;flex-wrap:wrap}
  .rf-story-category-chips span{padding:5px 7px;border-radius:6px;background:var(--tone-bg);color:var(--tone);font-size:11px}
  .rf-story-benefits{display:flex;gap:8px;color:#3a74d4;font-size:11px}
  .rf-story-benefits span{flex:1}
  .rf-story-benefits b,.rf-story-benefits small{display:block}
  .game-mode-page .focus-header{gap:15px}
  .game-mode-page .study-focus-main{overflow:auto;place-items:start center}
  .game-mode-page .rf-recall-write{width:100%;align-self:start}
  .rf-game-top-nav{display:flex;align-items:center;gap:9px;overflow:auto;white-space:nowrap}
  .rf-game-top-nav button{border:0;background:none;color:#425b7c;font-size:11px;white-space:nowrap}
  .rf-game-total{min-width:130px;color:#d64b57;font-size:11px}
  .rf-game-total .rf-meter{height:5px;margin-top:3px}
  .rf-game-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:70px;padding:10px;border-top:1px solid #e4eaf4}
  .rf-game-dots{display:flex;gap:5px}
  .rf-game-dots i{width:7px;height:7px;border-radius:50%;background:#dee7f3}
  .rf-game-dots i.active{background:#1768f2}
  .rf-game-bottom-actions{display:flex;gap:5px}
  .rf-recall-progress:has(.rf-meter){display:flex;align-items:center;justify-content:center;gap:10px}
  .rf-recall-progress .rf-meter{width:min(300px,45vw)}
  .rf-write-hint{color:#8394a9}
  .rf-speech-privacy{font-size:11px;color:#8e9bb0;margin-top:7px}
}

@media(min-width:1500px) and (max-width:1600px){
  .rf-home-categories{gap:3px}
  .rf-home-categories-section{padding-left:10px}
  .rf-group-chip{min-height:29px;padding:4px 5px;gap:3px;font-size:10px}
  .rf-group-chip svg{width:13px;height:13px}
  .rf-game-top-nav{margin-left:100px;gap:12px}
  .rf-game-top-nav button{font-size:11px}
  .rf-game-total{width:175px}
}

/* Data-backed story reader */
.rf-story-word-path button{border:0;border-radius:999px;background:#eaf2ff;color:#2169d8;font-size:12px;font-weight:800;padding:8px 12px;cursor:pointer}.rf-story-word-path button.active{background:#2169d8;color:#fff}.rf-story-next-flow{font-size:12px!important;color:#7d8ca2!important;margin-top:6px!important}.rf-story-mini-scene{cursor:pointer;background:#fff;text-align:left}.rf-story-reader{padding:22px 26px;margin:0 0 18px;border-radius:15px}.rf-story-reader header,.rf-story-reader footer{display:flex;align-items:center;justify-content:space-between;gap:14px}.rf-story-reader header small{color:#6e83a0;font-weight:750;font-size:12px}.rf-story-reader header h2{margin:3px 0 0;font-size:23px}.rf-story-reader header>span{font-size:12px;color:#2169d8;font-weight:800}.rf-story-reader-main{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.85fr);gap:24px;align-items:center;padding:12px 0 18px}.rf-story-reader-art{height:350px;display:grid;place-items:center;overflow:hidden}.rf-story-reader-art img{width:100%;height:100%;object-fit:contain}.rf-story-reader-art.word-visual-masked:after{height:21%}.rf-story-reader-copy small{font-size:12px;color:#6a89b4}.rf-story-reader-copy h3{font-size:34px;margin:8px 0 2px}.rf-story-reader-copy>strong{font-size:18px;color:#415a77}.rf-story-reader-copy>p{font-size:13px;line-height:1.6;color:#667c99}.rf-story-reader-copy blockquote{border-left:3px solid #83adf1;padding-left:13px;margin:20px 0 5px;color:#243b5a;font-size:18px;line-height:1.5}.rf-story-reader-copy .rf-story-reader-ko{margin:0;color:#73849b}.rf-story-reader-audio{display:flex;gap:7px;flex-wrap:wrap;margin-top:19px}.rf-story-reader-audio button{font-size:11px}.rf-story-reader footer{border-top:1px solid #e7edf6;padding-top:15px}.rf-story-reader footer>.btn{min-width:126px}.rf-story-reader-dots{display:flex;gap:6px;justify-content:center;flex-wrap:wrap}.rf-story-reader-dots button{width:9px;height:9px;border:0;border-radius:50%;background:#d9e2ef;padding:0;cursor:pointer}.rf-story-reader-dots button.viewed{background:#8bcfae}.rf-story-reader-dots button.active{width:22px;border-radius:8px;background:#2169d8}.rf-story-scene-index{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.rf-story-scene-index>button{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:10px;border:1px solid #dce5f2;border-radius:12px;background:#fff;text-align:left;cursor:pointer}.rf-story-scene-index>button.active{border:2px solid #2169d8}.rf-story-scene-index>button>span{position:absolute;top:8px;left:9px;z-index:2;background:#2169d8;color:#fff;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:11px;font-weight:800}.rf-story-scene-index .rf-story-scene-art{width:100%;height:110px;overflow:hidden}.rf-story-scene-index b{font-size:14px;color:#203956}.rf-story-scene-index small{font-size:11px;color:#7a8aa1}.rf-story-scene-index em{font-size:10px;font-style:normal;color:#129664;margin-top:4px}.rf-story-scene-index .rf-story-scene-art.word-visual-masked:after{height:20%}
@media(max-width:950px){.rf-story-reader-main{grid-template-columns:1fr}.rf-story-reader-art{height:270px}.rf-story-scene-index{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.rf-story-reader{padding:14px}.rf-story-reader footer{flex-wrap:wrap}.rf-story-reader-dots{order:-1;width:100%}.rf-story-scene-index{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rf-story-reader-art.word-visual-masked:after{height:31%}
.rf-story-mini-art.word-visual-masked:after,.rf-story-scene-index .rf-story-scene-art.word-visual-masked:after{height:32%}
.rf-story-feature{height:auto;min-height:405px}
.rf-story-feature-copy{min-width:0}
.rf-story-feature-copy>p{overflow-wrap:anywhere}
.rf-story-reader-connection{padding:9px 12px;border-radius:8px;background:#f3f7ff;color:#5176a8!important;margin-top:12px!important}

/* Review artwork uses the same large, centered visual treatment as word study. */
.page-student-review .review-scene{height:auto;min-height:0;padding:20px 24px 18px;display:flex;flex-direction:column;align-items:center;overflow:hidden;background:#fff}
.page-student-review .review-scene-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px}
.page-student-review .review-scene-top strong,.page-student-review .review-scene-top span{display:block}
.page-student-review .review-scene-top strong{font-size:17px;color:#253d5c}
.page-student-review .review-scene-top span{font-size:12px;color:#7288a6;margin-top:4px}
.page-student-review .review-art-tabs{display:flex;gap:4px;padding:4px;border:1px solid #dfe7f3;border-radius:10px;background:#f7f9fc;white-space:nowrap}
.page-student-review .review-art-tabs button{border:0;border-radius:7px;padding:7px 13px;background:transparent;color:#7588a3;font-size:12px;font-weight:750;cursor:pointer}
.page-student-review .review-art-tabs button.active{background:#fff;color:#1768f2;box-shadow:0 1px 5px #dfe7f3}
.page-student-review .review-focus-visual{position:relative;display:grid;place-items:center;width:min(100%,900px);height:clamp(440px,60vh,540px);margin:4px auto 0;overflow:hidden;background:#fff}
.page-student-review .review-focus-visual img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.page-student-review .review-focus-visual:not(.review-root-visual) img{transform:translateY(-11%) scale(.81)}
.page-student-review .review-focus-visual.word-visual-masked:after{height:24%}
.page-student-review .review-answer{min-height:70px;width:100%;display:flex;align-items:center;justify-content:center;gap:14px;border-top:1px solid #edf1f7;padding-top:10px;color:#8a9ab1;font-size:13px;text-align:center}
.page-student-review .review-answer.is-revealed{flex-wrap:wrap;color:#233d5d}
.page-student-review .review-answer b{font-size:clamp(30px,3vw,42px)}
.page-student-review .review-answer strong{font-size:clamp(19px,1.9vw,25px);color:#546c88}
.page-student-review .review-answer small{flex-basis:100%;font-size:13px;color:#788ba4}
@media(max-width:760px){.page-student-review .review-scene{padding:14px}.page-student-review .review-scene-top{align-items:flex-start;flex-direction:column;gap:9px}.page-student-review .review-focus-visual{width:100%;height:clamp(300px,64vw,400px)}.page-student-review .review-focus-visual:not(.review-root-visual) img{transform:translateY(-5%) scale(.94)}.page-student-review .review-answer{min-height:78px}}

/* Student statistics: charts and counts are rendered from recorded answers. */
.page-student-stats .metric-copy em{display:block;margin-top:5px;color:#7a8ca4;font-style:normal;line-height:1.35}
.page-student-stats .stats-main-grid>.panel{height:340px;min-width:0;overflow:hidden}
.page-student-stats .stats-flow .panel-head>div:first-child{min-width:0}
.page-student-stats .stats-flow .legend{flex-shrink:0;gap:7px;font-size:10px;white-space:nowrap}
.page-student-stats .stats-bottom-grid>.panel,.page-student-stats .stats-goals{height:auto;min-height:280px}
.page-student-stats .stats-flow-list>div:not(.stats-no-data){grid-template-columns:34px 105px minmax(0,1fr) 40px}
.page-student-stats .stats-flow-list strong{text-align:right}
.page-student-stats .stats-interval-chart{height:238px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;align-items:end;padding:12px 15px 8px}
.page-student-stats .stats-interval{text-align:center;min-width:0;display:flex;flex-direction:column;align-items:center;gap:4px}
.page-student-stats .stats-interval>b{color:#2c68c9;font-size:13px;white-space:nowrap}
.page-student-stats .stats-interval-track{width:100%;max-width:28px;height:145px;border-radius:7px;background:#edf3fb;display:flex;align-items:flex-end;overflow:hidden}
.page-student-stats .stats-interval-track i{display:block;width:100%;background:linear-gradient(#70a7f4,#266de0);border-radius:7px 7px 0 0;min-height:0}
.page-student-stats .stats-interval span{font-size:10px;color:#5d7190;white-space:nowrap}
.page-student-stats .stats-interval small{font-size:9px;color:#9aabc0;white-space:nowrap}
.page-student-stats .stats-daily-chart{padding:14px 15px 9px;height:238px;display:flex;flex-direction:column;gap:8px}
.page-student-stats .stats-daily-series{display:grid;grid-template-columns:62px minmax(0,1fr);gap:8px;height:90px;align-items:stretch}
.page-student-stats .stats-daily-series>div:first-child{display:flex;flex-direction:column;justify-content:center}
.page-student-stats .stats-daily-series b{font-size:11px;color:#365171;white-space:nowrap}
.page-student-stats .stats-daily-series small{font-size:10px;color:#97a6b8}
.page-student-stats .stats-daily-columns{display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:2px;align-items:end;border-bottom:1px solid #d8e3ef;background:repeating-linear-gradient(to top,#fff 0,#fff 24%,#f0f4f9 25%);min-width:0}
.page-student-stats .stats-daily-columns>span{height:100%;display:flex;align-items:flex-end;min-width:0}
.page-student-stats .stats-daily-columns i{display:block;width:100%;min-height:0;border-radius:3px 3px 0 0}
.page-student-stats .stats-daily-columns i.blue{background:#4c8bf1}
.page-student-stats .stats-daily-columns i.green{background:#33b581}
.page-student-stats .stats-daily-axis{display:flex;justify-content:space-between;padding-left:70px;font-size:10px;color:#8a9db5}
.page-student-stats .stats-calendar-live{width:min(100%,315px);margin:12px auto 14px}
.page-student-stats .stats-calendar-weekdays,.page-student-stats .stats-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.page-student-stats .stats-calendar-weekdays{text-align:center;color:#8b9bb1;font-size:10px;margin-bottom:5px}
.page-student-stats .stats-calendar-grid>span{height:25px;border-radius:5px;display:grid;place-items:center;background:#edf2f6;color:#70839a;font-size:10px}
.page-student-stats .stats-calendar-grid>span.level-1{background:#d9f1e5;color:#25704d}
.page-student-stats .stats-calendar-grid>span.level-2{background:#afe1c4;color:#155c3d}
.page-student-stats .stats-calendar-grid>span.level-3{background:#6bc49b;color:#fff}
.page-student-stats .stats-calendar-grid>span.level-4{background:#269865;color:#fff}
.page-student-stats .stats-calendar-empty{height:25px}
.page-student-stats .stats-weak table{table-layout:fixed}
.page-student-stats .stats-weak th,.page-student-stats .stats-weak td{padding:8px 9px}
.page-student-stats .stats-weak td{overflow-wrap:anywhere}
.page-student-stats .stats-weak td:nth-child(3) small{display:block;color:#9aa9b9;font-size:10px}
.page-student-stats .stats-weak .btn{white-space:nowrap}
.page-student-stats .stats-no-data{padding:26px 16px;color:#8a9bb0;font-size:12px}
.page-student-stats .stats-goals{grid-template-rows:minmax(0,1fr) minmax(0,1fr)}
.page-student-stats .stats-goals .panel-head small{font-size:11px;color:#91a0b4}
.page-student-stats .stats-review-ring{position:relative;width:88px;height:88px;flex:0 0 88px;border-radius:50%;display:grid;place-items:center;margin-left:auto;background:conic-gradient(#42b785 calc(var(--review-pct)*1%),#e4eaf1 0)}
.page-student-stats .stats-review-ring:before{content:"";position:absolute;width:62px;height:62px;background:#fff;border-radius:50%}
.page-student-stats .stats-review-ring b{position:relative;color:#2a8460;font-size:17px}
.page-student-stats .stats-review-donut{gap:7px}
.page-student-stats .stats-review-donut>b{min-width:48px;text-align:right;color:#6c819a}
@media(max-width:1180px){.page-student-stats .stats-main-grid{grid-template-columns:1fr 1fr}.page-student-stats .stats-main-grid>.panel:last-child{grid-column:1/-1}.page-student-stats .stats-bottom-grid{grid-template-columns:1fr 1fr}.page-student-stats .stats-goals{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:none;min-height:150px}}
@media(max-width:760px){.page-student-stats .stats-main-grid,.page-student-stats .stats-bottom-grid{grid-template-columns:1fr}.page-student-stats .stats-main-grid>.panel:last-child,.page-student-stats .stats-goals{grid-column:auto}.page-student-stats .stats-goals{grid-template-columns:1fr;grid-template-rows:1fr 1fr}.page-student-stats .stats-interval-chart{gap:3px;padding-inline:8px}.page-student-stats .stats-interval span{font-size:9px}.page-student-stats .stats-weak{overflow:auto}}
.rf-course-journey{margin:24px 0 28px;padding:26px;border:1px solid #dce7f8;border-radius:22px;background:linear-gradient(120deg,#f7faff,#fff 70%);box-shadow:0 10px 28px rgba(32,77,145,.04)}
.rf-course-journey-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}
.rf-course-journey-head small{display:block;margin-bottom:7px;color:#1d62df;font-size:12px;font-weight:800;letter-spacing:.05em}
.rf-course-journey-head h2{margin:0 0 7px;color:#162a48;font-size:24px;line-height:1.35}
.rf-course-journey-head p{margin:0;color:#667b98;font-size:14px}
.rf-course-journey-head>span{flex:none;color:#46627f;font-size:13px;font-weight:700}
.rf-course-chapters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.rf-course-chapter{display:flex;flex-direction:column;gap:7px;min-height:104px;padding:14px 12px;text-align:left;border:1px solid #dce5f3;border-radius:14px;background:#fff;color:#233c5f;cursor:pointer;transition:transform .15s,border-color .15s,box-shadow .15s}
.rf-course-chapter:hover,.rf-course-section:hover{transform:translateY(-2px);border-color:#77a4fb}
.rf-course-chapter.active{border-color:#2465e8;box-shadow:0 0 0 2px rgba(36,101,232,.11);background:#eef5ff}
.rf-course-chapter small{font-size:11px;font-weight:800;color:#1f67dc}
.rf-course-chapter b{font-size:16px;line-height:1.25}
.rf-course-chapter span{font-size:11px;line-height:1.45;color:#6d7f98}
.rf-course-chapter-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:19px 0;padding:18px 20px;border-radius:15px;background:#edf5ff}
.rf-course-chapter-intro small{font-weight:800;font-size:12px;color:#1d63d5}
.rf-course-chapter-intro h3{max-width:680px;margin:6px 0 0;font-size:16px;line-height:1.5;color:#1c3453}
.rf-course-chapter-intro p{max-width:320px;margin:0;color:#56718f;font-size:13px;line-height:1.55}
.rf-course-sections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.rf-course-section{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:135px;padding:16px 14px;text-align:left;border:1px solid #dde5f1;border-radius:14px;background:#fff;cursor:pointer;transition:transform .15s,border-color .15s}
.rf-course-section:not(:last-child):after{content:'→';position:absolute;right:-9px;top:45%;z-index:2;color:#6892d3;font-size:15px;font-weight:700}
.rf-course-section.active{border-color:#2465e8;background:#f2f7ff}
.rf-course-section>span{color:#2570dc;font-size:11px;font-weight:800}
.rf-course-section b{color:#1c3556;font-size:14px;line-height:1.35}
.rf-course-section small{color:#687d96;font-size:11px;line-height:1.45}
.rf-course-section em{margin-top:auto;color:#167052;font-style:normal;font-size:11px;font-weight:700}
.rf-course-bridge{display:grid;grid-template-columns:150px 1fr;gap:8px 18px;margin-top:18px;padding:15px 18px;border:1px solid #dce8f8;border-radius:14px;background:#fff;color:#536c88;font-size:12px;line-height:1.55}
.rf-course-bridge b{grid-row:span 3;color:#1d3454;font-size:14px}
.rf-course-bridge p{margin:0;color:#1e5cb5;font-weight:700}
@media(max-width:1100px){.rf-course-chapters{grid-template-columns:repeat(3,minmax(0,1fr))}.rf-course-sections{grid-template-columns:repeat(5,minmax(160px,1fr));overflow-x:auto;padding-bottom:7px}}
@media(max-width:640px){.rf-course-journey{padding:18px}.rf-course-journey-head,.rf-course-chapter-intro{display:block}.rf-course-journey-head>span{display:block;margin-top:10px}.rf-course-chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.rf-course-chapter-intro p{margin-top:10px}.rf-course-bridge{display:block}.rf-course-bridge>*{display:block;margin:4px 0}}
