/* V5: larger card icons, student workspace and clear answer feedback. */
.tool-card .tool-icon,.path-card .tool-icon{width:64px;height:64px;border-radius:18px;font-size:34px}
.tool-card .tool-icon i,.path-card .tool-icon i{font-size:34px;line-height:1;width:1em;height:1em}
.study-preview a>i{font-size:32px}.art-card i{font-size:22px}
.nav-logout{margin:0}.nav-logout button{display:flex;align-items:center;gap:8px;border:1px solid #dbe4ee;background:white;color:var(--study-blue);border-radius:9px;padding:10px 16px;font:inherit;cursor:pointer;min-height:44px}
.student-layout{display:grid;grid-template-columns:250px minmax(0,1fr);gap:30px;padding-top:32px;padding-bottom:60px;align-items:start}
.student-sidebar{background:#fff;border:1px solid #e0e7f0;border-radius:22px;padding:24px 16px;box-shadow:0 12px 35px #17324d08;position:sticky;top:20px}
.student-identity{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 12px 22px;border-bottom:1px solid #e8edf5;overflow-wrap:anywhere}.student-identity strong{font-size:19px;color:#183653;line-height:1.4}.student-identity>span:last-child{font-size:12px;color:#74849a}
.student-avatar{width:64px;height:64px;object-fit:cover;border-radius:20px;background:#eaf1fc;border:3px solid #fff;box-shadow:0 0 0 1px #dce6f5;margin-bottom:5px}.avatar-placeholder{display:grid;place-items:center;font-size:32px;color:var(--study-blue)}
.sidebar-caption{font-size:10px;letter-spacing:1.6px;color:#8390a2;margin:24px 12px 12px;font-weight:700}.student-sidebar nav{display:grid;gap:5px}.student-sidebar nav a,.student-sidebar nav button{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#53667e;font-size:14px;font-weight:550;line-height:1.4}.student-sidebar nav i{font-size:21px;flex:none}.student-sidebar nav a:hover{background:#f5f8fc}.student-sidebar nav a.active{background:#eaf1fc;color:var(--study-blue);font-weight:750;box-shadow:inset 3px 0 var(--study-blue)}.student-sidebar nav form{margin-top:12px;padding-top:12px;border-top:1px solid #e8edf5}.student-sidebar nav button{border:0;background:none;width:100%;cursor:pointer;font-family:inherit;color:#b42318;text-align:left}.sidebar-tip{margin:24px 8px 0;padding:18px;background:#fff5e8;border-radius:14px;font-size:12px;color:#7c6039}.sidebar-tip i{font-size:24px;display:block;margin-bottom:8px}.sidebar-tip b{display:block}.sidebar-tip p{margin:7px 0 0;line-height:1.7}
.student-content.portal{min-width:0;padding:0;margin:0}.student-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:6px 0 28px}.student-heading h1{font-size:34px;line-height:1.2;margin:9px 0 10px;letter-spacing:-1px}.student-heading p{font-size:14px;color:#6b7d92;margin:0}.student-heading>.button{white-space:nowrap;font-size:13px}
.student-welcome{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(120deg,#173963,var(--study-blue));color:#fff;border-radius:22px;padding:32px;margin-bottom:24px;overflow:hidden}.student-welcome .eyebrow{color:#ffc47b;font-size:10px;letter-spacing:1.7px}.student-welcome h2{color:white;font-size:29px;margin:12px 0}.student-welcome p{color:#e3edff;max-width:480px;font-size:14px;line-height:1.8}.student-welcome a{color:#ffcf92;font-weight:650;font-size:14px}.student-welcome>i{font-size:90px;color:#ffffff30;flex:none}
.student-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.student-stats article{display:flex;flex-direction:column;align-items:flex-start;gap:10px;background:#fff;border:1px solid #e0e7f0;border-radius:17px;padding:20px;box-shadow:0 7px 20px #17324d04}.stat-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;color:var(--study-blue);background:#edf3fc;font-size:28px}.student-stats article:nth-child(even) .stat-icon{background:#fff3e3;color:#a8620a}.student-stats strong{font-size:29px;line-height:1.2;color:#173963}.student-stats article>span:last-child{font-size:12px;color:#6b7d92}
.student-panel.study-panel{border:1px solid #e0e7f0;border-radius:20px;background:#fff;padding:26px;margin:0 0 24px;box-shadow:0 8px 25px #17324d04}.student-panel h2{font-size:20px;margin:0 0 16px}.student-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.student-panel-heading h2{margin:0}.student-panel-heading>a{font-size:12px;white-space:nowrap}.student-empty{text-align:center;padding:30px 15px;color:#708198;font-size:14px;line-height:1.8}.student-empty>i{font-size:40px;color:var(--study-blue)}.student-empty h3{font-size:18px}.student-empty .button{margin-top:10px}
.student-progress{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid #edf1f6}.student-progress:last-child{border:0;padding-bottom:0}.student-progress>div{flex:1;min-width:0}.student-progress h3{font-size:16px;margin:0 0 8px}.student-progress p{font-size:12px;color:#708198}.student-progress progress{width:100%;height:7px;accent-color:var(--study-blue);border:0}.student-progress .button{font-size:12px;white-space:nowrap}.student-saved-tool{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 0;border-bottom:1px solid #edf1f6}.student-saved-tool>a{display:flex;align-items:center;gap:12px;font-weight:600;font-size:14px}.student-saved-tool i{font-size:28px;color:var(--study-blue)}.student-saved-tool button,.student-question button{background:#fff;border:1px solid #e0e7f0;color:#7a5360;border-radius:8px;padding:8px 12px;cursor:pointer;font:inherit;font-size:12px}
.student-question{padding:20px 0;border-bottom:1px solid #e8edf5;overflow-wrap:anywhere}.student-question h3{font-size:17px;line-height:1.6}.student-question li{margin:8px 0}.student-question-actions{display:flex;justify-content:space-between;align-items:center;gap:14px}.student-profile{max-width:700px}.student-profile label{display:block;margin:20px 0}.student-profile input:not([type=checkbox]){width:100%;box-sizing:border-box}.student-profile .checkline input{width:18px}.student-content a:focus-visible,.student-content button:focus-visible,.student-sidebar a:focus-visible,.student-sidebar button:focus-visible{outline:3px solid var(--study-orange);outline-offset:3px}
.portal .answer-key,.student-content .answer-key{color:#2256a6}.portal .answer-correct,.student-content .answer-correct{color:#15803d}.portal .answer-incorrect,.student-content .answer-incorrect{color:#b91c1c}.answer-key b,.answer-correct b,.answer-incorrect b{color:inherit}
@media(max-width:1100px){.student-layout{grid-template-columns:215px minmax(0,1fr);gap:20px}.student-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.student-heading{align-items:flex-start;flex-direction:column}.student-welcome>i{display:none}}
@media(max-width:900px){.nav-logout button{width:100%;margin-top:8px}.student-sidebar{position:static}}
@media(max-width:650px){.student-layout{grid-template-columns:minmax(115px,30%) minmax(0,1fr);gap:12px;padding-top:20px}.student-sidebar{padding:16px 7px;border-radius:14px}.student-identity{padding:0 5px 16px}.student-identity strong{font-size:14px}.student-identity>span:last-child{font-size:10px}.student-avatar{width:50px;height:50px;border-radius:14px}.sidebar-caption{font-size:8px;letter-spacing:.5px;margin:18px 5px 10px}.student-sidebar nav a,.student-sidebar nav button{font-size:11px;gap:6px;padding:10px 6px;overflow-wrap:anywhere}.student-sidebar nav i{font-size:17px}.sidebar-tip{display:none}.student-heading h1{font-size:25px}.student-heading p{font-size:12px}.student-heading>.button{white-space:normal;padding:10px;font-size:12px}.student-welcome{padding:20px;border-radius:15px}.student-welcome h2{font-size:23px}.student-stats{gap:8px}.student-stats article{padding:12px}.student-stats strong{font-size:23px}.student-stats article>span:last-child{font-size:11px}.stat-icon{width:40px;height:40px;font-size:25px}.student-panel.study-panel{padding:16px;border-radius:14px}.student-panel-heading{align-items:flex-start;flex-direction:column}.student-panel h2{font-size:18px}.student-progress,.student-saved-tool{align-items:flex-start;flex-direction:column;gap:10px}.student-progress>div{width:100%}.student-empty{padding:16px 0}.student-question-actions{align-items:flex-start;flex-direction:column}.student-profile input{min-width:0}.student-content{overflow-wrap:anywhere}.student-profile input[type=file]{font-size:11px}.tool-card .tool-icon,.path-card .tool-icon{width:58px;height:58px}.tool-card .tool-icon i,.path-card .tool-icon i{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
