/* R5B3 student school: scoped to the existing real student workspace */
#view-student-home .r5b3-panel,#view-student-home .r5b3-published{direction:rtl;text-align:right;color:#17294b;font-family:inherit}
#view-student-home .r5b3-heading{padding:22px;border:1px solid #dbe8f8;border-radius:18px;background:linear-gradient(110deg,#f1f7ff,#fff);margin-bottom:16px}
#view-student-home .r5b3-heading h3{font-size:25px;margin:7px 0}#view-student-home .r5b3-heading p{color:#60738a;line-height:1.9;margin:0}
#view-student-home .r5b3-kicker{color:#177397;font-size:12px;font-weight:800}
#view-student-home .r5b3-books-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(265px,1fr));gap:16px}
#view-student-home .r5b3-book{background:#fff;border:1px solid #dbe5f4;border-radius:18px;padding:22px;box-shadow:0 4px 18px #193d6410;min-width:0}
#view-student-home .r5b3-book-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;background:#e7f3ff;font-size:30px;color:#1d5e99;margin-bottom:16px}
#view-student-home .r5b3-book h4{font-size:21px;margin:10px 0}#view-student-home .r5b3-book p,#view-student-home .r5b3-book small{color:#60738a;line-height:1.7}
#view-student-home .r5b3-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
#view-student-home .r5b3-primary,#view-student-home .r5b3-secondary,#view-student-home .r5b3-shortcut{display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:11px 18px;font-weight:800;text-decoration:none;cursor:pointer;font:inherit;min-height:42px}
#view-student-home .r5b3-primary{background:#165996;color:white;border:1px solid #165996}#view-student-home .r5b3-secondary,#view-student-home .r5b3-shortcut{background:white;border:1px solid #c6d9f0;color:#165996}
#view-student-home .r5b3-shortcut{margin:7px}#view-student-home .r5b3-state{padding:15px;border:1px dashed #b9d4ed;border-radius:12px;background:#f6faff;line-height:1.9}#view-student-home .r5b3-bad{background:#fff0ec;color:#923b2a}
#view-student-home #r5b3-reader{background:#fff;border:1px solid #c9ddef;border-radius:18px;padding:16px;margin-top:20px;scroll-margin-top:25px}
#view-student-home .r5b3-reader-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-bottom:13px}
#view-student-home .r5b3-reader-head h3{margin:4px 0;font-size:20px}#view-student-home .r5b3-loading,#view-student-home .r5b3-reader-note{color:#526e89;line-height:1.8;font-size:13px}
#view-student-home .r5b3-pdf{display:block;width:100%;height:min(82vh,970px);min-height:530px;border:1px solid #d9e4f0;border-radius:12px;background:#eef2f7}
#view-student-home .r5b3-home-ribbon{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin:12px 0;padding:18px 22px;background:#e9f5ff;border:1px solid #b7dff5;border-radius:15px}
#view-student-home .r5b3-lesson{margin:12px 0;background:#fff;padding:24px;border:1px solid #d9e7f5;border-radius:17px}
#view-student-home .r5b3-lesson h2{font-size:28px;margin:10px 0}#view-student-home .r5b3-lesson>p{line-height:1.9;color:#526780}
#view-student-home .r5b3-lesson-nav{display:flex;flex-wrap:wrap;gap:8px;padding:15px 0;border-bottom:1px solid #dce8f6}
#view-student-home .r5b3-lesson-nav button{padding:10px 15px;background:#f3f8fd;border:1px solid #d3e5f4;border-radius:9px;color:#28527b;font:inherit;font-weight:800}
#view-student-home .r5b3-lesson-nav button.on{background:#155a97;color:#fff}
#view-student-home .r5b3-chapter{padding:18px 2px;line-height:2}#view-student-home .r5b3-chapter h3{font-size:20px}
#view-student-home .r5b3-chapter li{margin:6px 0}#view-student-home .r5b3-conclusion{background:#e8f5eb;padding:12px;border-radius:10px}
#view-student-home .r5b3-question{border:1px solid #dce8f6;border-radius:13px;padding:14px;margin:12px 0}#view-student-home .r5b3-question legend{font-weight:800}
#view-student-home .r5b3-choice{display:flex;align-items:center;gap:10px;border:1px solid #dce8f6;border-radius:9px;padding:10px;margin:6px 0;cursor:pointer}
#view-student-home .r5b3-feedback{color:#177447;line-height:1.8}#view-student-home .r5b3-feedback.wrong{color:#9b4a2f}
#view-student-home .math{unicode-bidi:isolate;direction:ltr;display:inline-block;font-variant-numeric:lining-nums}
@media(max-width:700px){#view-student-home .r5b3-pdf{min-height:440px;height:66vh}#view-student-home .r5b3-lesson{padding:14px}}
