/* A dashboard that uses the same available width for students and teachers. */
body.v22:not(.nr-teacher):not(.nr-year-choice):has(#home:not(.hidden)) main.nr-main{width:auto!important;max-width:1600px!important;margin:0 auto!important;padding:24px 28px!important;box-sizing:border-box}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid,body.v22:not(.nr-teacher) #home .nr-home-feed{width:100%;max-width:none!important;box-sizing:border-box}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.v22:not(.nr-teacher) #home .nr-home-feed{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.v22:not(.nr-teacher) #home .nr-home-feed .nr-home-reward{min-height:290px;justify-content:center}
body.v22:not(.nr-teacher) #home .nr-home-feed img.nr-home-card-art{width:auto!important;height:210px!important;max-width:90%!important;object-fit:contain;filter:drop-shadow(0 0 16px #55b7ff66);margin:8px auto}
.nr-sidebar-card{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 8px;color:#c9e8ff;text-decoration:none;border-radius:14px;background:linear-gradient(150deg,#182d5344,#402a5555);border:1px solid #9773ef55}
.nr-sidebar-card span{font-size:12px;font-weight:800;color:#83dcff}.nr-sidebar-card strong{font-size:12px;text-align:center}.nr-sidebar-card img{width:auto;height:clamp(70px,calc(100dvh - 620px),130px);max-width:100%;object-fit:contain;filter:drop-shadow(0 0 8px #a28eff88)}
.nr-sidebar-card:focus-visible{outline:3px solid #ffe56e;outline-offset:3px}
@media(max-width:900px){body.v22:not(.nr-teacher) #home .nr-home-feed{gap:14px}.nr-sidebar-card img{height:100px}.nr-sidebar-card{grid-column:1/-1;display:grid;grid-template-columns:1fr 80px 1fr}.nr-sidebar-card img{grid-column:2;grid-row:1/3}.nr-sidebar-card strong{grid-column:3;grid-row:1/3}.nr-sidebar-card span{grid-column:1;grid-row:1/3}}
@media(max-width:650px){body.v22:not(.nr-teacher):has(#home:not(.hidden)) main.nr-main{padding:18px 14px!important}body.v22:not(.nr-teacher) #home .nr-home-feature-grid{grid-template-columns:1fr}body.v22:not(.nr-teacher) #home .nr-home-feed{grid-template-columns:1fr 1fr}body.v22:not(.nr-teacher) #home .nr-home-feed img.nr-home-card-art{height:170px!important}}
@media(max-width:430px){body.v22:not(.nr-teacher) #home .nr-home-feed{grid-template-columns:1fr}}
.nr-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.nr-source-card{padding:22px;border:1px solid #48bde166;border-radius:20px;background:linear-gradient(135deg,#103150,#102036);color:#c9e8ff}.nr-source-card:nth-child(3n+2){border-color:#af80ef77;background:linear-gradient(135deg,#342150,#13273e)}.nr-source-card:nth-child(3n){border-color:#45d9bd66;background:linear-gradient(135deg,#123c43,#10243a)}.nr-source-card h2{color:#c9e8ff!important;font-size:20px!important}.nr-source-card p{line-height:1.55}.nr-source-links{display:flex;flex-wrap:wrap;gap:10px}.nr-source-links a{color:#7ee8ff;padding:8px 12px;border:1px solid #6fdbea77;border-radius:10px;text-decoration:none;font-weight:700}.nr-source-number{color:#b8a2ff;font-size:13px;font-weight:800}.nr-source-note{color:#a6c9de;font-size:13px}
html:not(.nr-neon) .nr-source-card{background:#eef7ff;color:#143c5d}html:not(.nr-neon) .nr-source-card h2{color:#143c5d!important}html:not(.nr-neon) .nr-source-links a{color:#175a90}html:not(.nr-neon) .nr-sidebar-card{color:#143c5d}
@media(max-width:750px){.nr-source-grid{grid-template-columns:1fr}}

/* V47: equal full-width top panels; the avatar occupies the former results slot. */
body.v22:not(.nr-teacher) #home .nr-home-feature-grid{align-items:stretch}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid > *{width:100%!important;min-width:0;max-width:none!important;box-sizing:border-box;grid-column:auto!important;aspect-ratio:auto!important;max-height:none!important;min-height:310px!important;align-self:stretch}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid .nr-home-results{justify-content:center;padding:24px;gap:14px}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid .nr-home-result-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.v22:not(.nr-teacher) #home .nr-home-feature-grid .nr-home-result-chip{min-width:0;text-align:center;padding:14px 8px}
@media(max-width:650px){body.v22:not(.nr-teacher) #home .nr-home-feature-grid > *{min-height:220px!important}body.v22:not(.nr-teacher) #home .nr-home-feature-grid .nr-home-results{padding:18px}}
