/* Student surfaces: restrained blue, horizontal metrics, accessible RTL. */
.student-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;border-radius:24px;background:linear-gradient(120deg,#e7f5ff,#dce9ff);padding:28px;margin-bottom:22px;color:#153762}.student-hero h2{font-size:26px;margin:8px 0}.student-hero img{width:96px;height:96px;border-radius:50%;object-fit:cover}.student-hero p{color:#435975}.student-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.student-card{min-width:0;margin:0;padding:22px;border:1px solid #e3eaf4;border-radius:22px;box-shadow:0 5px 18px #1d426009}.student-card .section-head{align-items:flex-start}.student-card h3{font-size:18px}.student-card p,.student-card small{line-height:1.9}.student-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:18px 0}.student-kpi{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #e1e9f3;border-radius:20px;padding:20px;min-width:0}.student-kpi-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex-shrink:0;border-radius:15px;background:#eaf2ff;color:#1962bd}.student-kpi-icon svg{width:26px;height:26px}.student-kpi span:not(.student-kpi-icon){font-size:14px;color:#465a73}.student-kpi strong{display:block;font-size:25px;color:#16385f;margin-top:4px}.student-kpi small{display:block;font-size:12px;color:#56687d;line-height:1.8}.student-agenda{display:flex;align-items:center;gap:18px;padding:14px 0;border-bottom:1px solid #eaf0f7}.student-agenda>span{font-size:18px;font-variant-numeric:tabular-nums;color:#246dbe}.student-agenda>div{flex:1}.student-agenda small{display:block}.student-agenda svg{width:24px;height:24px;color:#467bb6}.student-moods{display:flex;gap:8px;flex-wrap:wrap}.student-moods button{display:flex;flex:1;min-width:64px;align-items:center;flex-direction:column;gap:8px;background:#f3f7fc;border:1px solid #dce6f3;border-radius:14px;padding:12px 6px;color:#415b78}.student-moods svg{width:28px;height:28px}.student-moods .selected,.student-tabs .selected{background:#1666ce;color:white;border-color:#1666ce}.student-score{font-size:30px;font-weight:800;color:#2469b7;margin-bottom:14px}.student-score small{display:block;font-size:13px;color:#62738b;font-weight:400}.student-habit{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #eaf0f7}.student-habit input{width:22px;height:22px;accent-color:#1675d5}.student-habit span{flex:1}.student-habit b{font-size:13px;color:#477294}.student-quick{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.student-battery{height:28px;background:#eaf1f8;border:2px solid #9ab4cc;border-radius:8px;padding:3px;direction:ltr;margin:24px 0 14px;position:relative}.student-battery:after{content:'';position:absolute;right:-7px;top:6px;width:5px;height:12px;background:#9ab4cc;border-radius:0 3px 3px 0}.student-battery i{display:block;height:100%;background:linear-gradient(90deg,#3d89df,#47bca7);border-radius:4px}.student-bars{display:grid;gap:16px;padding:12px 0}.student-bar{display:grid;grid-template-columns:minmax(75px,1fr) 2fr 60px;gap:12px;align-items:center;font-size:13px}.student-bar>div{height:9px;background:#edf2f8;border-radius:10px;overflow:hidden}.student-bar i{display:block;height:100%;background:#3888de;border-radius:10px}.student-bar b{font-size:12px;color:#486581;text-align:left}.student-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 22px}.student-tabs button{background:white;border:1px solid #d4e1f1;border-radius:12px;min-height:44px;padding:10px 20px;color:#3c5876}.student-goal{padding:22px 0;border-bottom:1px solid #e5edf6}.student-goal-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}.student-goal-top>div{flex:1;min-width:0}.student-goal h4{margin:0 0 6px;font-size:17px}.student-goal progress{display:block;width:100%;height:10px;accent-color:#2075d4}.student-goal .actions{margin-top:14px}.student-status{background:#eef4fc;border-radius:20px;font-size:12px;padding:6px 12px;white-space:nowrap}.student-weekdays{display:flex;flex-wrap:wrap;gap:12px}.student-weekdays label{min-width:100px}.student-profile-head{display:flex;align-items:center;gap:20px;margin-bottom:20px}.student-profile-head img{width:90px;height:90px;object-fit:cover;border-radius:50%}.student-unread{background:#f2f7ff;border-inline-start:3px solid #2878d7;padding:16px;border-radius:12px}.message-body{white-space:pre-wrap;overflow-wrap:anywhere}.avatar-link{border:0;background:transparent;padding:0;border-radius:50%;cursor:pointer}.avatar-link img{width:38px;height:38px;border-radius:50%;object-fit:cover}body[data-role=student] .mobile-nav{grid-template-columns:repeat(4,1fr)}.student-details>summary,body[data-role=student] details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700}.student-card .oper-row{flex-wrap:wrap;gap:10px}.student-card .record-copy{min-width:0;overflow-wrap:anywhere}.student-card .actions{flex-wrap:wrap}body[data-role=student] button:focus-visible,body[data-role=student] summary:focus-visible{outline:3px solid #215fb2;outline-offset:3px}fieldset{border:1px solid #dce6f3;border-radius:12px;padding:12px}.student-card .btn,.student-goal .btn{min-height:44px}.student-card>details{margin-top:18px}
@media(max-width:850px){.student-grid{grid-template-columns:1fr}.student-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.student-kpi{padding:16px;gap:10px}.student-kpi strong{font-size:22px}.student-kpi-icon{width:40px;height:40px}}
@media(max-width:480px){.student-hero{padding:20px;border-radius:20px}.student-hero h2{font-size:22px}.student-hero img{width:70px;height:70px}.student-kpis{grid-template-columns:1fr}.student-card{padding:18px}.student-goal-top{flex-wrap:wrap}.student-status{margin-inline-start:62px}.student-tabs{gap:7px}.student-tabs button{padding:9px 14px}.student-bar{grid-template-columns:80px 1fr 55px;gap:8px}.student-moods button{min-width:52px;padding:10px 3px}.student-moods span{font-size:12px}.student-card .section-head{flex-wrap:wrap}.student-card .section-head h3{font-size:17px}.student-grid{gap:16px}.student-agenda{gap:12px}}
@media(max-width:820px){body[data-role=student] .top-avatar{display:grid;width:36px;height:36px}body[data-role=student] .top-action:first-child{display:grid}body[data-role=student] .topbar{gap:8px}body[data-role=student] .page-heading h1{font-size:17px}body[data-role=student] .topbar-right{gap:7px}body[data-role=student] .topbar-actions{gap:5px}body[data-role=student] .mobile-nav button{height:56px;min-width:0;gap:4px}body[data-role=student] .mobile-nav button span{font-size:12px;white-space:nowrap}body[data-role=student] .mobile-nav svg{flex-shrink:0;width:22px;height:22px}body[data-role=student] .mobile-nav{height:calc(70px + env(safe-area-inset-bottom))}}
#editForm .check-field input{width:20px;height:20px;flex:none}body[data-role=student] .oper-row p{font-size:13px;color:#576d83}.student-card .section-head p{font-size:13px;color:#60758b}
