/* Экзаметр: главная ученика по недельному расписанию */
:root{--exam-blue:#0b57f4;--exam-blue-dark:#0647db;--exam-text:#111522;--exam-muted:#536b9d;--exam-border:#e0e5ef;--exam-bg:#fff}
body:not(.auth-locked){background:#fff;background-image:none}
body:not(.auth-locked) .sidebar{width:184px;padding:34px 18px 24px;border-right:1px solid var(--exam-border);background:#fff;color:var(--exam-text);box-shadow:none}
body:not(.auth-locked) .sidebar .brand{gap:12px;padding:0 7px;font-size:17px}
body:not(.auth-locked) .sidebar .brand>span{width:38px;height:38px;border-radius:50%;background:var(--exam-blue);color:#fff;font:800 17px Manrope}
body:not(.auth-locked) .brand>span:before{content:'Э';font:800 17px Manrope}
body:not(.auth-locked) .sidebar nav{gap:11px;margin-top:40px}
body:not(.auth-locked) .nav-link{min-height:48px;border-radius:9px;padding:10px 13px;color:#111a37;font-size:11px}
body:not(.auth-locked) .nav-link i{font-size:20px}
body:not(.auth-locked) .nav-link:hover,body:not(.auth-locked) .nav-link.active{background:linear-gradient(135deg,#1262f8,#074ce3);color:#fff;box-shadow:0 8px 18px rgba(12,83,238,.18)}
body:not(.auth-locked) .nav-link em{background:#ff3428}
body:not(.auth-locked) .role-switch{border-color:#edf0f5}
body:not(.auth-locked) .role-switch small{display:none}
body:not(.auth-locked) .role-switch button{color:#111a37}
body:not(.auth-locked) .role-switch button span{background:#eef2fa;color:#111a37}
body:not(.auth-locked) .role-switch button span::after{content:'';position:absolute;width:8px;height:8px;margin:19px 0 0 19px;border:2px solid #fff;border-radius:50%;background:#4dd59b}
body:not(.auth-locked) .role-switch button span{position:relative}
body:not(.auth-locked) main{margin-left:184px;padding:0 22px 30px;background:#fff}
body:not(.auth-locked) .utility-bar{display:none}

#homeView{max-width:none;margin:0}
.exam-dashboard{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:42px;max-width:1380px;margin:0 auto}
.exam-dashboard-main{min-width:0}
.exam-week-head{align-items:end;margin:0;padding:38px 12px 24px;border:0}
.exam-week-head .eyebrow{margin:0 0 5px;color:var(--exam-muted);text-transform:none;letter-spacing:0;font-size:11px;font-weight:500}
.exam-week-head h1{font:800 clamp(34px,3.4vw,46px)/1 Manrope;letter-spacing:-.045em;color:#05070b}
.exam-week-head>div>p:last-child{margin-top:10px;color:#4b659d;font-size:11px}
.week-controls{display:flex;align-items:center;gap:12px}
.week-controls select,.week-controls button{height:42px;border:1px solid var(--exam-border);border-radius:9px;background:#fff;color:#101522;font:600 11px Manrope;cursor:pointer}
.week-controls select{width:128px;padding:0 15px}.week-controls button{width:42px;font-size:26px;line-height:1}

.exam-week-calendar{display:grid;grid-template-columns:60px repeat(5,minmax(112px,1fr));grid-template-rows:48px repeat(9,40px);position:relative;min-height:408px;border-bottom:1px solid #edf0f4;overflow:hidden}
.week-corner,.week-day-head,.week-time,.week-cell{border-right:1px solid #edf0f4;border-bottom:1px solid #edf0f4}
.week-corner{grid-column:1;grid-row:1}
.week-day-head{display:flex;flex-direction:column;align-items:center;justify-content:center;color:#111522}
.week-day-head b{font-size:10px}.week-day-head span{margin-top:3px;color:#3f5689;font-size:9px}.week-day-head.today span{color:var(--exam-blue);font-weight:700}
.week-time{grid-column:1;padding:9px 8px 0;color:#101522;font-size:9px}
.week-cell{min-width:0}
.week-event{z-index:2;align-self:stretch;margin:5px 8px;padding:9px 10px;border:0;border-radius:9px;text-align:left;color:#111522;cursor:pointer;overflow:hidden;box-shadow:none}
.week-event.blue{background:linear-gradient(135deg,#e5f1ff,#d3e7ff)}.week-event.violet{background:linear-gradient(135deg,#f1eaff,#e7defa)}.week-event.orange{background:linear-gradient(135deg,#fff0de,#ffd8b2)}
.week-event small,.week-event b,.week-event span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.week-event small{font-size:8px}.week-event b{margin-top:4px;font-size:10px}.week-event span{margin-top:3px;font-size:8px}

.exam-dashboard-aside{display:flex;flex-direction:column;gap:20px;padding-top:42px}
#homeView .home-cards{display:flex;flex-direction:column;gap:20px;margin:0}
#homeView .home-card{padding:24px 20px;border:1px solid var(--exam-border);border-radius:17px;background:#fff;box-shadow:none}
.home-card-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.home-card-title h3{margin:0;font-size:16px}.home-card-title i{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--exam-border);border-radius:50%;font-style:normal;font-weight:800;color:#13214b}
#homeView .home-card p{margin:26px 0 15px;color:#4d67a1;font-size:11px}
.home-card-progress{margin-bottom:25px}.home-card-progress>span{display:none}.home-card-progress>i{display:block;height:6px;border-radius:99px;background:#eef1f7;overflow:hidden}.home-card-progress em{display:block;height:100%;border-radius:99px;background:var(--exam-blue)}
#homeView .home-card button{display:flex;align-items:center;justify-content:space-between;width:100%;height:52px;border:0;border-radius:10px;background:linear-gradient(135deg,#1262f8,#074ce3);padding:0 16px;color:#fff;font-size:11px}
#homeView .home-card.review button{height:auto;justify-content:flex-start;gap:8px;background:transparent;padding:0;color:var(--exam-blue);box-shadow:none}
#homeView .home-card.task{display:none}
#homeView .streak{display:flex;align-items:center;gap:16px;margin:0;padding:25px 20px;border:1px solid var(--exam-border);border-radius:17px}
#homeView .streak>span{font-size:29px;color:#ff4b23}#homeView .streak b{font-size:15px}#homeView .streak small{font-size:11px;color:#4d67a1}

#homeView .home-notify{margin:14px 0 0;padding:17px 20px;border:1px solid var(--exam-border);border-radius:13px}
#homeView .home-notify .section-title{margin:0 0 4px;padding:0;border:0}#homeView .home-notify .section-title h2{font:700 13px Manrope}
#homeView .home-notify-list{border:0;border-radius:0;box-shadow:none}
#homeView .home-notify-list article{display:grid;grid-template-columns:28px 1fr auto;align-items:center;padding:10px 0;border-color:#edf0f4}
#homeView .home-notify-list span{width:24px;height:24px;background:#eef1ff;color:var(--exam-blue)}#homeView .home-notify-list b{font-size:10px}#homeView .home-notify-list small{font-size:8px;color:#4f6596}#homeView .home-notify-list time{color:#4f6596;font-size:8px}

@media(max-width:1100px){.exam-dashboard{grid-template-columns:1fr}.exam-dashboard-aside{display:grid;grid-template-columns:2fr 1fr;padding-top:0}.exam-dashboard-aside .home-cards{grid-column:1}.exam-dashboard-aside .streak{grid-column:2;grid-row:1}.exam-week-calendar{overflow-x:auto}}
@media(max-width:760px){body:not(.auth-locked) main{margin-left:0;padding:0 14px 30px}.exam-week-head{display:block;padding-top:20px}.week-controls{margin-top:18px}.exam-week-calendar{grid-template-columns:48px repeat(5,minmax(108px,1fr));overflow:auto}.exam-dashboard-aside{display:flex}.home-notify-list time{display:none}}
