/* Phase 6: organise existing student tools without replacing their controls. */
.student-dashboard .teacher-hero{padding-block:24px;min-height:0}.student-dashboard .teacher-hero h1{font-size:clamp(1.8rem,3.5vw,2.5rem);line-height:1.2;margin-block:10px}.student-dashboard .teacher-hero p{max-width:65ch;font-size:.95rem;line-height:1.65}
.spark-home-shortcuts{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}.student-dashboard #student-view-home{gap:16px;align-items:start}.student-dashboard #student-view-home>.teacher-panel{padding:20px;min-width:0}.student-dashboard #student-view-home h2{font-size:1.15rem;margin:0 0 12px;line-height:1.4}.student-dashboard #student-view-home p{line-height:1.65;color:#bdcfdf;font-size:.9rem}.student-dashboard #student-view-home .teacher-button{min-height:44px}.student-dashboard #home-due{border-color:#486879}.student-dashboard #home-continue{border-color:#40796c}.student-dashboard .spark-home-row{padding:12px 0}.student-dashboard .spark-weekly-goal{font-size:.85rem;border-block:1px solid #2a3b4f;padding:12px 0}.student-dashboard .spark-goal-ring{flex-basis:44px;width:44px;height:44px}.spark-home-note-titles{list-style:none;padding:0;margin:10px 0 18px;display:grid;gap:10px}.spark-home-note-titles li{display:grid;gap:4px;overflow-wrap:anywhere}.spark-home-note-titles strong{font-size:.88rem;color:#edf3f8}.spark-home-note-titles small{font-size:.75rem;color:#a4b4c5}.spark-home-collection-count{font-variant-numeric:tabular-nums}
.spark-revision-hub{min-width:0}.spark-revision-hub>h2{font-size:1.35rem;margin:0 0 10px}.spark-revision-hub>p{line-height:1.6;color:#b7c9d8;max-width:65ch;margin:0 0 20px}.spark-revision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.spark-revision-card{display:flex;flex-direction:column;align-items:start;padding:20px;border:1px solid #365166;border-radius:14px;background:#112335;min-width:0}.spark-revision-card h3{font-size:1.05rem;margin:0 0 9px;color:#edf3f8;line-height:1.4}.spark-revision-card p{font-size:.85rem;line-height:1.65;color:#b7c9d8;margin:0 0 18px;flex:1}.spark-revision-card .teacher-button{min-height:44px;max-width:100%;white-space:normal;text-align:left;line-height:1.5}.spark-revision-secondary{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem;color:#9ce8d8;margin-top:5px}.spark-revision-personalised{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 8px}.spark-revision-disclosure{min-width:0;border:1px solid #365166;border-radius:12px;background:#112335}.spark-revision-disclosure>summary{min-height:48px;padding:14px 18px;cursor:pointer;font-weight:700;color:#edf3f8}.spark-revision-disclosure>.teacher-panel{margin:0!important;border:0;border-top:1px solid #365166;border-radius:0 0 12px 12px}.student-dashboard #student-view-practice>details>summary{scroll-margin-top:120px}.student-dashboard #student-view-practice :is(h2,h3){scroll-margin-top:120px}.spark-revision-hub :focus-visible,.spark-revision-disclosure>summary:focus-visible,.spark-home-shortcuts :focus-visible{outline:3px solid #80e0cc;outline-offset:3px}
@media(max-width:1000px){.spark-revision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.spark-revision-grid{grid-template-columns:minmax(0,1fr)}.spark-revision-card{padding:18px}.student-dashboard #student-view-home{grid-template-columns:minmax(0,1fr)}.student-dashboard #student-view-home>.teacher-panel{padding:18px}.spark-home-shortcuts .teacher-button{flex:1 1 120px;justify-content:center}.student-dashboard .spark-weekly-goal details{margin-left:0;width:100%}.student-dashboard .teacher-hero{padding-block:18px}.spark-revision-personalised .teacher-button{flex:1 1 140px;min-height:44px}.student-dashboard .spark-home-row>a{margin:4px 0;justify-self:start}}
@media(max-width:600px){.spark-home-shortcuts .teacher-button{flex:1 1 90px;padding:10px 6px;font-size:.78rem}}
