:root{--teacher-accent:#6a48d7;--teacher-accent-2:#876ed7;--teacher-deep:#200772;--teacher-royal:#3914af;--teacher-soft:#f2efff;--teacher-line:#d8d0f3;--teacher-ink:#211247}
.teacher-page .parent-app{background:radial-gradient(circle at 100% 0,#f2ecff 0,transparent 31%),#f7f6fb}.teacher-page .parent-workspace{width:100%;max-width:none}.teacher-page .parent-main-content{width:100%;max-width:none;margin-left:0;margin-right:0}
.teacher-page .parent-sidebar{background:radial-gradient(circle at 18% 0,#6a48d7 0,transparent 40%),linear-gradient(165deg,var(--teacher-deep),var(--teacher-royal) 62%,#190557)}
.teacher-page .parent-sidebar nav button.is-active{background:linear-gradient(100deg,var(--teacher-accent),var(--teacher-accent-2));box-shadow:0 12px 26px #30126055}
.teacher-nav-message-count{min-width:21px;height:21px;display:grid;place-items:center;margin-left:auto;padding:0 6px;border-radius:999px;background:#f05a75;color:#fff;font-size:9px;font-style:normal;font-weight:900}.teacher-page .parent-sidebar nav button.is-active .teacher-nav-message-count{background:#fff;color:#7546cf}
.teacher-page .parent-card-link,.teacher-page .parent-section-heading>span,.teacher-page .parent-intro-card>span{color:var(--teacher-accent)}
.teacher-page .primary-button{background:linear-gradient(110deg,var(--teacher-royal),var(--teacher-accent));color:#fff}.teacher-welcome-card{background:radial-gradient(circle at 86% 12%,#876ed7 0,transparent 34%),linear-gradient(140deg,var(--teacher-deep),var(--teacher-royal) 58%,var(--teacher-accent));color:#fff}
.teacher-welcome-card .eyebrow{color:#ffff73}.teacher-welcome-card h1{color:#fff;text-shadow:0 2px 16px #2007724d}.teacher-welcome-card p{color:#f5f1ff}.teacher-welcome-card li{color:#fff;background:#ffffff18;border-color:#ffffff2b}.teacher-welcome-card li:before{color:#ffff40}
.teacher-page .lock-mark{color:var(--teacher-accent);background:var(--teacher-soft)}
.teacher-topbar{flex-wrap:nowrap}.teacher-greeting{min-width:0;margin-right:auto}.teacher-greeting h1{margin:0!important}.teacher-greeting time{display:block;margin-top:5px;color:#777288;font-size:12px;font-weight:650}.teacher-role-pill{display:flex;align-items:center;gap:10px;min-width:190px;padding:8px 12px;border:1px solid var(--teacher-line);border-radius:12px;background:#fff;color:var(--teacher-ink);font:inherit;text-align:left;cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.teacher-role-pill:hover{border-color:#bda9f2;box-shadow:0 8px 20px #4c26851a;transform:translateY(-1px)}.teacher-role-pill>i{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:50%;background:linear-gradient(135deg,var(--teacher-accent),var(--teacher-accent-2));color:#fff;font-style:normal;font-weight:900}.teacher-role-pill b,.teacher-role-pill small{display:block}.teacher-role-pill b{font-size:13px}.teacher-role-pill small{margin-top:2px;color:#75718a;font-size:11px}.teacher-page .parent-notification-button.has-notifications{background:#fff0f3;color:#c93454}.teacher-page .parent-notification-button.has-notifications i{background:#e43e5f}
.teacher-operations-intro{min-height:112px}.teacher-dashboard-lead{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.85fr);gap:16px;margin-top:16px}.teacher-today-card,.teacher-alerts-card{min-height:335px}.teacher-today-list,.teacher-alert-list{display:grid;gap:9px;margin-bottom:16px}.teacher-today-list>div{display:grid;grid-template-columns:108px minmax(0,1fr) auto;align-items:center;gap:13px;padding:13px 14px;border-radius:12px;background:linear-gradient(135deg,#faf8ff,#f2edff)}.teacher-today-list time{color:#542ba9;font-weight:900}.teacher-today-list span b,.teacher-today-list span small{display:block}.teacher-today-list span small{margin-top:4px;color:#777288}.teacher-today-list em{padding:6px 9px;border-radius:999px;background:#fff;color:#625d70;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}.teacher-alert-item{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 22px;align-items:center;gap:10px;padding:11px;border:1px solid #ebe7f4;border-radius:12px;background:#fff;color:var(--teacher-ink);font:inherit;text-align:left;cursor:pointer}.teacher-alert-item:hover{border-color:#cdbdf2;background:#fbf9ff}.teacher-alert-item>span:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--teacher-soft);color:var(--teacher-accent)}.teacher-alert-item>span:first-child .parent-icon{width:19px;height:19px}.teacher-alert-item>span:nth-child(2) b,.teacher-alert-item>span:nth-child(2) small{display:block}.teacher-alert-item>span:nth-child(2) small{margin-top:3px;color:#777288}.teacher-alert-item>.parent-icon{width:18px;height:18px;color:var(--teacher-accent)}.teacher-alert-item.is-warning>span:first-child{background:#fff1df;color:#c76a16}.teacher-calm-state{display:grid!important;grid-template-columns:1fr!important;gap:4px!important;padding:18px!important;border:1px dashed #dcd4ed;border-radius:12px;background:#fbfaff!important;color:#696476}.teacher-calm-state b,.teacher-calm-state span{display:block}.teacher-calm-state span{font-size:12px}.teacher-operational-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:16px}.teacher-operation-card{min-height:310px}.teacher-operation-card .teacher-card-value{display:block;margin:8px 0 5px;color:var(--teacher-ink);font-size:34px;line-height:1}.teacher-operation-card .teacher-card-value.is-warning{color:#c65c24}.teacher-operation-card>p{margin:8px 0 18px;color:#706b7f;font-size:13px;line-height:1.45}.teacher-plan-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0 7px}.teacher-plan-metrics>span{padding:9px 10px;border-radius:11px;background:#faf8ff}.teacher-plan-metrics b,.teacher-plan-metrics small{display:block}.teacher-plan-metrics b{font-size:22px}.teacher-plan-metrics b.is-warning{color:#c65c24}.teacher-plan-metrics small{margin-top:2px;color:#7c768a}.teacher-plan-gaps{display:grid;gap:5px}.teacher-plan-gaps span{display:block}.teacher-latest-result{display:grid;gap:5px;margin-bottom:17px}.teacher-latest-result .teacher-chip{justify-self:start}.teacher-latest-result p{margin:0;color:#706b7f}.teacher-latest-result small{color:#8b8598}.teacher-quick-actions{margin-top:16px}.teacher-quick-actions>header{display:flex;align-items:center;gap:12px}.teacher-quick-actions>header>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--teacher-soft);color:var(--teacher-accent)}.teacher-quick-actions h3,.teacher-quick-actions p{margin:0}.teacher-quick-actions header p{margin-top:3px;color:#777288}.teacher-quick-actions>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.teacher-room{display:block;margin-top:6px;color:#8a8496;font-size:11px;font-weight:750}
.teacher-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.teacher-home-card{display:flex;flex-direction:column;min-height:285px}.teacher-home-card .teacher-card-value{margin:20px 0 6px;font-size:32px;color:var(--teacher-ink)}.teacher-home-card .teacher-card-list{display:grid;gap:10px;margin:14px 0}.teacher-card-list>div{padding:12px;border-radius:11px;background:linear-gradient(135deg,#faf8ff,#f1ebff)}.teacher-card-list b,.teacher-card-list span{display:block}.teacher-card-list span{margin-top:4px;color:#777289;font-size:12px}
.teacher-profile-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center}.teacher-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:20px;background:linear-gradient(135deg,var(--teacher-accent),var(--teacher-accent-2));color:#fff;font-size:23px;font-weight:900}.teacher-profile-summary h3{margin:0 0 6px}.teacher-profile-summary p{margin:0;color:#747087}.teacher-chip-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.teacher-chip{display:inline-flex;padding:6px 9px;border-radius:999px;background:var(--teacher-soft);color:#6239b0;font-size:12px;font-weight:700}
.teacher-section-actions{display:flex;flex-wrap:wrap;gap:9px}.teacher-button{border:0;border-radius:10px;padding:11px 15px;background:linear-gradient(110deg,var(--teacher-accent),var(--teacher-accent-2));color:#fff;font-weight:800;cursor:pointer}.teacher-button.is-soft{border:1px solid var(--teacher-line);background:#fff;color:#6942bf}.teacher-button:disabled{opacity:.55;cursor:wait}
.teacher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.teacher-panel{padding:18px;border:1px solid #e8e6ef;border-radius:15px;background:#fff;box-shadow:0 8px 24px #261c5010}.teacher-panel header{display:flex;justify-content:space-between;gap:14px}.teacher-panel h3{margin:0;font-size:17px}.teacher-panel p{margin:7px 0;color:#747087}.teacher-panel small{color:#858198}.teacher-panel.is-wide{grid-column:1/-1}.teacher-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:15px;padding-top:13px;border-top:1px solid #ece9f2}
.teacher-student-list{display:grid;gap:8px;margin-top:13px}.teacher-student-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:10px;background:#faf9fc}.teacher-student-list span{color:#747087;font-size:12px}
.teacher-group-details .teacher-student-list b{min-width:0;overflow-wrap:anywhere}.teacher-group-details .teacher-student-list span{max-width:55%;color:#514467;text-align:right;overflow-wrap:anywhere;line-height:1.5}
@media(max-width:600px){.teacher-group-details .teacher-student-list>div{align-items:flex-start;flex-direction:column;gap:3px}.teacher-group-details .teacher-student-list span{max-width:100%;text-align:left}}
.teacher-groups-grid{align-items:start}.teacher-group-card{overflow:hidden;padding:0}.teacher-group-summary{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px;border:0;background:#fff;color:var(--teacher-ink);font:inherit;text-align:left;cursor:pointer;transition:background .18s ease}.teacher-group-summary:hover{background:#fbf9ff}.teacher-group-summary:focus-visible{outline:3px solid #b99bea;outline-offset:-3px}.teacher-group-summary-main{display:grid;min-width:0;gap:5px}.teacher-group-summary-main strong{font-size:17px}.teacher-group-summary-main small{overflow:hidden;color:#747087;text-overflow:ellipsis;white-space:nowrap}.teacher-group-summary-main em{overflow:hidden;color:#6840b7;font-size:12px;font-style:normal;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.teacher-group-summary-meta{display:flex;align-items:center;gap:9px;color:#6942bf;font-size:12px;font-weight:850;white-space:nowrap}.teacher-group-summary-meta .parent-icon{width:18px;height:18px;transition:transform .18s ease}.teacher-group-card.is-expanded .teacher-group-summary-meta .parent-icon{transform:rotate(90deg)}.teacher-group-details{padding:0 18px 18px;border-top:1px solid #ece9f2}.teacher-group-details[hidden]{display:none}.teacher-group-details>.teacher-student-list{margin-top:15px}
.teacher-schedule-list{display:grid;gap:10px}.teacher-schedule-row{display:grid;grid-template-columns:90px minmax(0,1fr) auto;align-items:center;gap:14px;padding:15px;border:1px solid #e8e4f1;border-radius:13px;background:#fff}.teacher-schedule-row>time{color:#6840b7;font-weight:900}.teacher-schedule-row h3{margin:0;font-size:16px}.teacher-schedule-row p{margin:4px 0 0;color:#777288}.teacher-schedule-row>span{padding:6px 9px;border-radius:999px;background:var(--teacher-soft);color:#683eba;font-size:11px;font-weight:800}
.teacher-week-desktop{min-width:0}.teacher-week-scroll{width:100%;overflow:auto;border:1px solid #e4dff0;border-radius:16px;background:#fff;box-shadow:0 10px 28px #24184f0d}.teacher-week-head,.teacher-week-body{width:100%;min-width:1120px;display:grid;grid-template-columns:68px repeat(7,minmax(150px,1fr))}.teacher-week-head{position:sticky;top:0;z-index:8;border-bottom:1px solid #ded9e8;background:#fff}.teacher-week-head>span,.teacher-week-head>b{display:grid;place-items:center;min-height:58px;padding:9px;border-right:1px solid #ece8f1;color:#2a2540;font-size:14px}.teacher-week-head>span{color:#817b91;font-size:12px}.teacher-week-axis{position:relative;border-right:1px solid #ded9e8;background:#fbfafd}.teacher-week-axis>span{position:absolute;right:8px;transform:translateY(-50%);color:#928c9e;font-size:11px;font-weight:700}.teacher-week-day{position:relative;border-right:1px solid #e6e2ec;background:#fff}.teacher-week-day:last-child{border-right:0}.teacher-week-lines{position:absolute;inset:0;pointer-events:none}.teacher-week-lines>i{position:absolute;left:0;right:0;border-top:1px solid #ece9f1}.teacher-week-card{position:absolute;left:5px;right:5px;z-index:2;display:block;overflow:hidden;padding:9px 9px;border:0;border-left:4px solid #7b58d6;border-radius:10px;background:linear-gradient(145deg,#f5f0ff,#eee8fb);color:#1d1830;font:inherit;text-align:left;cursor:pointer;box-shadow:0 4px 12px #3f246a17}.teacher-week-card:hover{z-index:4;box-shadow:0 10px 24px #3f246a2b;transform:translateY(-1px)}.teacher-week-card.is-warning,.teacher-week-card.is-full,.teacher-week-card.is-open{border-left-color:#7b58d6;background:linear-gradient(145deg,#f5f0ff,#eee8fb)}.teacher-week-card .teacher-week-time,.teacher-week-card b,.teacher-week-card strong,.teacher-week-card small,.teacher-week-card p{display:block}.teacher-week-card .teacher-week-time{font-size:12px;font-weight:900}.teacher-week-card b{margin-top:3px;font-size:14px}.teacher-week-card strong{margin-top:4px;color:#6540bb;font-size:12px}.teacher-week-card small{margin-top:4px;color:#6e687b;font-size:11px;line-height:1.35}.teacher-week-card em{position:absolute;right:7px;top:7px;padding:4px 6px;border-radius:999px;background:#ffffffc9;color:#4f347e;font-size:10px;font-style:normal;font-weight:900}.teacher-week-card p{margin:5px 0 0;color:#5f596d;font-size:10px;line-height:1.35}.teacher-week-mobile{display:none}.teacher-week-mobile-day{display:grid;gap:9px}.teacher-week-mobile-day h3{margin:0;padding:2px 2px 0;font-size:16px}.teacher-week-mobile-day>div{display:grid;gap:8px}.teacher-week-mobile-card{width:100%;display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px;border:1px solid #ded5ef;border-left:4px solid #7b58d6;border-radius:12px;background:linear-gradient(145deg,#f5f0ff,#eee8fb);color:var(--teacher-ink);font:inherit;text-align:left;cursor:pointer}.teacher-week-mobile-card.is-warning,.teacher-week-mobile-card.is-full,.teacher-week-mobile-card.is-open{border-left-color:#7b58d6;background:linear-gradient(145deg,#f5f0ff,#eee8fb)}.teacher-week-mobile-card time{font-weight:900}.teacher-week-mobile-card span b,.teacher-week-mobile-card span strong,.teacher-week-mobile-card span small{display:block}.teacher-week-mobile-card span strong{margin-top:4px;color:#6540bb;font-size:12px}.teacher-week-mobile-card span small{margin-top:3px;color:#6e687b;line-height:1.35}.teacher-week-mobile-card em{padding:5px 7px;border-radius:999px;background:#ffffffc9;color:#4f347e;font-size:10px;font-style:normal;font-weight:900}
.teacher-form{display:grid;gap:13px}.teacher-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.teacher-form label{display:grid;gap:6px;color:#49455c;font-size:13px;font-weight:700}.teacher-form input,.teacher-form select,.teacher-form textarea{width:100%;border:1px solid #dad6e6;border-radius:10px;padding:11px 12px;background:#fff;color:#1d1930;font:inherit}.teacher-form textarea{resize:vertical}.teacher-form-actions{display:flex;justify-content:flex-end;gap:9px}
.teacher-journal-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:15px}.teacher-journal-controls label{display:grid;gap:6px;font-size:12px;font-weight:800}.teacher-journal-controls input,.teacher-journal-controls select{border:1px solid #dad6e6;border-radius:10px;padding:10px;background:#fff}.teacher-journal-wrap{overflow:auto}.teacher-journal{width:100%;border-collapse:collapse;min-width:820px}.teacher-journal th,.teacher-journal td{padding:12px 10px;border-bottom:1px solid #ece9f2;text-align:left;vertical-align:middle}.teacher-journal th{color:#777187;font-size:11px;text-transform:uppercase}.teacher-status-buttons{display:flex;gap:6px}.teacher-status-buttons label{cursor:pointer}.teacher-status-buttons input{position:absolute;opacity:0}.teacher-status-buttons span{display:block;padding:8px 10px;border:1px solid #ded9ea;border-radius:9px;background:#fff;color:#615c70;font-size:12px;font-weight:800}.teacher-status-buttons input:checked+span{border-color:transparent;background:linear-gradient(110deg,var(--teacher-accent),var(--teacher-accent-2));color:#fff}.teacher-journal select,.teacher-journal input[type=text]{border:1px solid #ddd9e6;border-radius:8px;padding:8px;background:#fff}.teacher-holiday-note{padding:14px;border:1px solid #f1d996;border-radius:12px;background:#fff8dc;color:#705710}
.teacher-result-card{padding:16px;border:1px solid #e5e1ed;border-radius:13px;background:#fff}.teacher-result-card header{display:flex;justify-content:space-between;gap:12px}.teacher-result-card h3{margin:0}.teacher-result-card p{margin:8px 0;color:#716c80}.teacher-progress{height:8px;border-radius:999px;background:#e8e5ef;overflow:hidden}.teacher-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--teacher-accent),var(--teacher-accent-2))}
.teacher-plan-card{cursor:pointer}.teacher-plan-card:hover{border-color:#cfc2ef}.teacher-plan-type{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--teacher-soft);color:#6b42bd;font-size:11px;font-weight:900;text-transform:uppercase}
.teacher-message-list{display:grid;gap:10px;max-height:430px;overflow:auto;margin-bottom:16px}.teacher-message{width:min(78%,680px);padding:13px 15px;border-radius:14px;background:#f4f1fa}.teacher-message.is-own{margin-left:auto;background:linear-gradient(135deg,#ede7ff,#f7f2ff)}.teacher-message b,.teacher-message small{display:block}.teacher-message p{margin:7px 0}.teacher-message small{color:#817c90}
.teacher-announcement{border-left:4px solid var(--teacher-accent)}.teacher-announcement.is-holiday{border-left-color:#e3a62f}.teacher-announcement.is-regulation{border-left-color:#4f8ed7}
.teacher-local-assistant{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:15px}.teacher-ai-chat{min-height:390px;display:flex;flex-direction:column}.teacher-ai-messages{display:grid;gap:10px;max-height:300px;overflow:auto;flex:1}.teacher-ai-message{padding:12px 14px;border-radius:13px;background:#f4f1fa}.teacher-ai-message.is-user{margin-left:15%;background:#ece5ff}.teacher-ai-prompts{display:grid;gap:8px}.teacher-ai-prompts button{padding:11px;border:1px solid var(--teacher-line);border-radius:10px;background:#fff;color:#633ab6;text-align:left;cursor:pointer}
.teacher-modal-backdrop{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:18px;background:#17132999}.teacher-modal{width:min(720px,100%);max-height:calc(100vh - 36px);overflow:auto;border-radius:20px;background:#fff;box-shadow:0 30px 80px #17102f55}.teacher-modal>header{display:flex;justify-content:space-between;gap:14px;padding:20px 22px;border-bottom:1px solid #ece9f2}.teacher-modal>header h2{margin:0}.teacher-modal>header button{border:0;border-radius:9px;width:36px;height:36px;background:#f2eff8;font-size:22px;cursor:pointer}.teacher-modal-body{padding:20px 22px}
.teacher-drawer-backdrop{position:fixed;inset:0;z-index:95;display:flex;justify-content:flex-end;background:#17132999}.teacher-group-drawer{width:min(900px,100vw);height:100%;overflow:auto;background:#f7f6fb;box-shadow:-24px 0 60px #17102f38}.teacher-group-drawer>header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:22px 25px;border-bottom:1px solid #e2deea;background:#fff}.teacher-group-drawer>header h2{margin:5px 0;font-size:25px}.teacher-group-drawer>header p{margin:0;color:#777288}.teacher-group-drawer>header>button{width:42px;height:42px;border:1px solid #e0dce8;border-radius:12px;background:#fff;color:#2b263d;font-size:26px;cursor:pointer}.teacher-drawer-count{padding:9px 12px;border-radius:999px;background:#d9f3eb;color:#237761;font-weight:900}.teacher-drawer-tabs{position:sticky;top:102px;z-index:7;display:grid;grid-template-columns:1fr 1fr;padding:15px 24px 0;background:#f7f6fb}.teacher-drawer-tabs button{padding:14px;border:1px solid #ddd6ef;background:#fff;color:#6f687c;font:inherit;font-weight:900;cursor:pointer}.teacher-drawer-tabs button:first-child{border-radius:13px 0 0 13px}.teacher-drawer-tabs button:last-child{border-radius:0 13px 13px 0}.teacher-drawer-tabs button.is-active{border-color:#b99bea;background:linear-gradient(135deg,#f1e8ff,#eadbff);color:#7142bf}.teacher-drawer-body{display:grid;gap:16px;padding:18px 24px 32px}.teacher-drawer-students,.teacher-group-settings,.teacher-drawer-attendance{padding:20px;border:1px solid #dfd3f5;border-radius:17px;background:#fff}.teacher-drawer-students>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.teacher-drawer-students h3,.teacher-drawer-students p{margin:0}.teacher-drawer-students header p{margin-top:4px;color:#797287;font-size:12px}.teacher-drawer-students>div{display:grid;gap:8px}.teacher-drawer-students article{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #ebe7f2;border-radius:12px;background:#fbfaff}.teacher-drawer-students article b,.teacher-drawer-students article small{display:block}.teacher-drawer-students article small{margin-top:3px;color:#777288}.teacher-drawer-students article button{border:1px solid #efc3cb;border-radius:9px;padding:8px 10px;background:#fff;color:#af354b;font-weight:800;cursor:pointer}.teacher-drawer-safety{margin:13px 0 0!important;padding:11px 13px;border-radius:10px;background:#f5f2fa;color:#746e80;font-size:12px}.teacher-readonly-card{display:grid;align-content:center;gap:5px;padding:12px;border:1px solid #ebe7f2;border-radius:11px;background:#faf9fc}.teacher-readonly-card small,.teacher-readonly-card span{color:#7a7487}.teacher-readonly-card span{font-size:11px;line-height:1.4}.teacher-session-editor{display:grid;gap:8px;margin:0;padding:15px;border:1px solid #e3ddef;border-radius:13px}.teacher-session-editor legend{padding:0 7px;font-weight:900}.teacher-session-row{display:grid!important;grid-template-columns:22px minmax(130px,1fr) minmax(160px,.8fr) minmax(160px,.8fr);align-items:center;gap:9px;padding:9px 10px;border-radius:10px;background:#faf9fc}.teacher-session-row>input{width:17px;height:17px}.teacher-session-row span{display:flex;align-items:center;gap:7px;color:#777288;font-weight:600}.teacher-session-row input[type=time]{padding:8px}.teacher-drawer-attendance .teacher-form-actions{margin-top:15px}
.teacher-profile-modal-header{display:flex;align-items:center;gap:16px;padding-bottom:18px;border-bottom:1px solid #ece9f2}.teacher-profile-photo{width:76px;height:76px;display:grid;place-items:center;flex:none;overflow:hidden;border-radius:22px;background:linear-gradient(135deg,var(--teacher-accent),var(--teacher-accent-2));color:#fff;font-size:25px;font-weight:900}.teacher-profile-photo img{width:100%;height:100%;object-fit:cover}.teacher-profile-modal-header h3{margin:3px 0 4px;font-size:20px}.teacher-profile-modal-header p{margin:0;color:#777288}.teacher-profile-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:17px}.teacher-profile-field{min-height:70px;display:grid;align-content:center;gap:5px;padding:12px 14px;border:1px solid #ebe7f4;border-radius:12px;background:#fbfaff}.teacher-profile-field small{color:#858094}.teacher-profile-field b,.teacher-profile-field a{color:var(--teacher-ink);font-size:14px;text-decoration:none;overflow-wrap:anywhere}.teacher-profile-field a:hover{color:var(--teacher-accent)}.teacher-profile-section{margin-top:17px}.teacher-profile-section h3{margin:0 0 8px;font-size:14px}.teacher-profile-section p{margin:0;padding:13px;border-radius:11px;background:#faf9fc;color:#686276;line-height:1.55;white-space:pre-wrap}.teacher-notification-list{display:grid;gap:9px}.teacher-notification-list>button{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:12px;border:1px solid #e9e5f1;border-radius:12px;background:#fff;color:var(--teacher-ink);font:inherit;text-align:left;cursor:pointer}.teacher-notification-list>button:hover{border-color:#cbbaf2;background:#fbf9ff}.teacher-notification-list>button>span:first-child{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:var(--teacher-soft);color:var(--teacher-accent)}.teacher-notification-list>button>span:first-child .parent-icon{width:20px;height:20px}.teacher-notification-list b,.teacher-notification-list small{display:block}.teacher-notification-list small{margin-top:4px;color:#777288;line-height:1.4}.teacher-notification-list>button>.parent-icon{width:18px;color:var(--teacher-accent)}
.teacher-profile-actions{display:flex;align-items:center;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #ece9f2}.teacher-profile-actions small{color:#777288;line-height:1.45}.teacher-profile-change-note{display:grid;gap:5px;padding:13px 14px;border:1px solid #dcd2f5;border-radius:12px;background:#f8f4ff;color:#5e477e}.teacher-profile-change-note span{font-size:12px;line-height:1.45}
.teacher-toast{position:fixed;right:22px;bottom:22px;z-index:300;max-width:min(420px,calc(100vw - 44px));padding:14px 18px;border-radius:12px;background:#241854;color:#fff;box-shadow:0 16px 40px #24185444}
.teacher-empty{padding:28px;text-align:center;border:1px dashed #d9d4e6;border-radius:14px;background:#fbfaff;color:#777288}
.teacher-conflict{display:grid;gap:15px}.teacher-conflict>p{margin:0;color:#625d70;line-height:1.55}.teacher-conflict ul{display:grid;gap:8px;margin:0;padding:0;list-style:none}.teacher-conflict li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border:1px solid #ddd4f4;border-radius:11px;background:#faf8ff}.teacher-conflict li span{color:#7044cf;font-weight:800}.teacher-conflict-note{display:grid;gap:4px;padding:13px 14px;border:1px solid #efd18b;border-radius:12px;background:#fff7df;color:#715315}.teacher-conflict-note.is-danger{border-color:#f0bcc4;background:#fff1f3;color:#8f2d3c}.teacher-conflict-note span{font-size:12px;line-height:1.45}
@media(max-width:1180px){.teacher-operational-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-week-desktop{display:none}.teacher-week-mobile{display:grid;gap:18px}}
@media(max-width:1050px){.teacher-home-grid{grid-template-columns:1fr 1fr}.teacher-home-grid>.teacher-home-card:last-child{grid-column:1/-1}.teacher-dashboard-lead,.teacher-local-assistant{grid-template-columns:1fr}.teacher-today-card,.teacher-alerts-card{min-height:auto}}
@media(max-width:760px){.teacher-home-grid,.teacher-grid,.teacher-operational-grid{grid-template-columns:1fr}.teacher-home-grid>.teacher-home-card:last-child,.teacher-panel.is-wide{grid-column:auto}.teacher-topbar{flex-wrap:wrap}.teacher-greeting{order:2;width:calc(100% - 104px)}.teacher-greeting h1{font-size:18px!important;white-space:normal}.teacher-role-pill{order:3;min-width:auto;margin-left:auto;padding:7px}.teacher-role-pill>span{display:none}.teacher-role-pill>i{width:35px;height:35px}.teacher-form-row,.teacher-profile-details{grid-template-columns:1fr}.teacher-schedule-row{grid-template-columns:75px minmax(0,1fr)}.teacher-schedule-row>span{grid-column:2}.teacher-today-list>div{grid-template-columns:1fr}.teacher-today-list em{justify-self:start}.teacher-quick-actions>div{grid-template-columns:1fr}.teacher-group-summary{grid-template-columns:minmax(0,1fr);gap:12px;padding:15px}.teacher-group-summary-meta{justify-content:space-between}.teacher-group-details{padding:0 15px 15px}.teacher-group-details .teacher-panel-footer{align-items:flex-start;flex-direction:column}.teacher-group-details .teacher-button{width:100%}.teacher-modal-backdrop{padding:7px}.teacher-modal{max-height:calc(100vh - 14px);border-radius:14px}.teacher-conflict li{align-items:flex-start;flex-direction:column}.teacher-conflict .teacher-form-actions{display:grid}.teacher-conflict .teacher-button{width:100%}.teacher-group-drawer>header{grid-template-columns:minmax(0,1fr) auto;padding:16px}.teacher-group-drawer>header p{font-size:11px}.teacher-drawer-count{display:none}.teacher-drawer-tabs{top:91px;padding:10px 12px 0}.teacher-drawer-body{padding:12px}.teacher-drawer-students>header{align-items:flex-start;flex-direction:column}.teacher-drawer-students article{align-items:flex-start;flex-direction:column}.teacher-session-row{grid-template-columns:22px 1fr}.teacher-session-row span{grid-column:2}.teacher-week-mobile-card{grid-template-columns:1fr auto;gap:8px}.teacher-week-mobile-card time{grid-column:1/-1}.teacher-week-mobile-card em{align-self:start}}

/* Keep the room easy to read in the teacher's own schedule. */
.teacher-schedule-row>time{font-size:14px}
.teacher-schedule-row p{font-size:13px;line-height:1.4}
.teacher-room{color:#6840b7;font-size:13px;font-weight:850}
.teacher-group-drawer.is-attendance-dashboard{width:min(1260px,100vw)}
.teacher-drawer-attendance-stack{display:grid;gap:18px}.teacher-drawer-attendance-stack>.teacher-attendance-dashboard{margin:0}.teacher-drawer-journal-heading{margin-bottom:14px}.teacher-drawer-journal-heading h3{margin:0;font-size:20px}.teacher-drawer-journal-heading p{margin:5px 0 0;color:#777288;font-size:14px;line-height:1.45}
.teacher-attendance-dashboard{display:grid;gap:15px}
.teacher-attendance-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.teacher-attendance-filters label{display:grid;gap:6px;color:#5f596d;font-size:12px;font-weight:800}.teacher-attendance-filters select,.teacher-attendance-filters input{width:100%;height:43px;padding:0 12px;border:1px solid var(--teacher-line);border-radius:11px;background:#fff;color:var(--teacher-ink);font:inherit}
.teacher-attendance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.teacher-attendance-stats>span{display:grid;gap:4px;padding:14px;border:1px solid #e7e0f4;border-radius:13px;background:#faf8ff}.teacher-attendance-stats small{color:#777288}.teacher-attendance-stats b{font-size:25px}.teacher-attendance-stats .is-missed b{color:#d43b54}.teacher-attendance-stats .is-makeup b{color:#2f7fd0}
.teacher-attendance-warning{display:flex;gap:12px;padding:12px 14px;border:1px solid #f0c6ce;border-radius:12px;color:#9f3348;background:#fff4f6}.teacher-attendance-warning b{white-space:nowrap}.teacher-attendance-warning span{line-height:1.45}
.teacher-attendance-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.75fr);gap:12px}.teacher-attendance-layout>section,.teacher-attendance-layout>aside{min-width:0;padding:15px;border:1px solid #e7e1ef;border-radius:14px;background:#fff}.teacher-attendance-layout h3{margin:0 0 12px}
.teacher-attendance-table{overflow-x:auto}.teacher-attendance-table table{width:100%;min-width:650px;border-collapse:collapse}.teacher-attendance-table th,.teacher-attendance-table td{padding:11px 9px;border-bottom:1px solid #eeeaf3;text-align:left}.teacher-attendance-table th{color:#756f83;background:#faf8fc;font-size:11px}.teacher-attendance-table td{font-size:12px}.teacher-attendance-table tr[data-teacher-attendance-row]{cursor:pointer}.teacher-attendance-table tr[data-teacher-attendance-row]:hover,.teacher-attendance-table tr.is-selected{background:#faf7ff}.teacher-attendance-table td:first-child b,.teacher-attendance-table td:first-child small{display:block}.teacher-attendance-table td:first-child small{margin-top:3px;color:#817b8f}.teacher-attendance-table td:last-child{display:grid;grid-template-columns:minmax(70px,1fr) auto;align-items:center;gap:7px}.teacher-attendance-table td:last-child>i{height:6px;overflow:hidden;border-radius:99px;background:#eae5f0}.teacher-attendance-table td:last-child em{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--teacher-accent),var(--teacher-accent-2))}
.teacher-attendance-layout aside h2{margin:0 0 10px;font-size:18px}.teacher-attendance-layout aside>strong{display:block;margin-bottom:10px;color:var(--teacher-accent);font-size:27px}.teacher-attendance-layout aside>strong small{color:#777288;font-size:11px}.teacher-attendance-layout aside>div:not(.teacher-attendance-calendar){display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.teacher-attendance-layout aside>div>span{display:grid;gap:3px;padding:9px;border-radius:10px;background:#f7f4fb}.teacher-attendance-layout aside>div>span small{color:#7b7589}.teacher-attendance-calendar{display:flex;gap:8px;overflow-x:auto;margin-top:12px;padding-bottom:8px}.teacher-attendance-calendar>span{display:grid;flex:0 0 48px;justify-items:center;gap:4px}.teacher-attendance-calendar small{color:#59536a;font-size:11px;font-weight:750;white-space:nowrap}.teacher-attendance-calendar b{display:grid;width:31px;height:31px;border-radius:8px;color:#8d8896;background:#efedf2;place-items:center}.teacher-attendance-calendar .is-present b{color:#fff;background:#52b578}.teacher-attendance-calendar .is-missed b{color:#fff;background:#e55563}.teacher-attendance-calendar .is-makeup b{color:#fff;background:#438ed2}.teacher-attendance-calendar .is-center_cancelled b{background:#dfe1e5}.teacher-attendance-calendar .is-free b{color:#fff;background:#9859c3}.teacher-attendance-empty{color:#7e788b}.teacher-journal-title{margin:0 0 14px}
@media(max-width:1050px){.teacher-attendance-layout{grid-template-columns:1fr}}
@media(max-width:760px){.teacher-attendance-filters,.teacher-attendance-stats{grid-template-columns:1fr}.teacher-attendance-warning{flex-direction:column}.teacher-attendance-layout>section,.teacher-attendance-layout>aside{padding:12px}}

/* Ролевая палитра кабинета учителя: холодные сине-фиолетовые цвета. */
.teacher-page{color:var(--teacher-ink);background:radial-gradient(circle at 90% 0,#876ed72b 0,transparent 36%),radial-gradient(circle at 5% 82%,#3914af18 0,transparent 34%),#f7f6fc}
.teacher-page .parent-brand{background:linear-gradient(125deg,var(--teacher-deep),var(--teacher-royal));box-shadow:0 16px 45px #2007722e}
.teacher-page .lock-mark{background:#ece8fb;color:var(--teacher-royal)}
.teacher-page .login-card input:focus{outline-color:#876ed766;border-color:var(--teacher-accent)}
.teacher-page.is-parent-dashboard{background:#f5f3fb}
.teacher-page .parent-app{color:var(--teacher-ink);background:radial-gradient(circle at 100% 0,#876ed72b 0,transparent 32%),linear-gradient(145deg,#f7f6fc,#f1effa)}
.teacher-page .parent-workspace{background:linear-gradient(145deg,#f7f6fc,#f1effa)}
.teacher-page .parent-topbar,
.teacher-page .parent-intro-card,
.teacher-page .parent-home-card,
.teacher-page .parent-content-card,
.teacher-page .parent-section-heading,
.teacher-page .teacher-panel,
.teacher-page .teacher-result-card,
.teacher-page .teacher-schedule-row{border-color:var(--teacher-line);background:#fefeff;box-shadow:0 12px 28px #2007720d}
.teacher-page .parent-menu-button,
.teacher-page .teacher-role-pill{border-color:var(--teacher-line);color:var(--teacher-ink)}
.teacher-page .parent-menu-button:hover,
.teacher-page .teacher-role-pill:hover{border-color:var(--teacher-accent);background:#f7f4ff}
.teacher-page .parent-intro-card>span,
.teacher-page .parent-section-heading>span,
.teacher-page .parent-home-card>header>span,
.teacher-page .teacher-quick-actions>header>span{background:#ece8fb;color:var(--teacher-royal)}
.teacher-page .parent-card-link,
.teacher-page .teacher-button.is-soft{border-color:var(--teacher-line);background:#fefeff;color:var(--teacher-royal)}
.teacher-page .parent-card-link:hover,
.teacher-page .teacher-button.is-soft:hover{border-color:var(--teacher-accent);background:#f2efff}
.teacher-page .teacher-today-list>div,
.teacher-page .teacher-card-list>div,
.teacher-page .teacher-plan-metrics>span{background:linear-gradient(135deg,#f7f5ff,#ece8fb)}
.teacher-page .teacher-today-list time,
.teacher-page .teacher-schedule-row>time,
.teacher-page .teacher-room,
.teacher-page .teacher-group-summary-main em,
.teacher-page .teacher-group-summary-meta{color:var(--teacher-royal)}
.teacher-page .teacher-group-summary:focus-visible{outline-color:var(--teacher-accent)}
.teacher-page .teacher-progress i{background:linear-gradient(90deg,var(--teacher-royal),var(--teacher-accent-2))}
/* Контрастный учебный год на светлых карточках и в заголовке группы. */
.teacher-group-summary-main>.eyebrow,.teacher-group-drawer>header .eyebrow{color:#4f2ca6}
/* Назначенная администратором команда показывается только для справки. */
.teacher-group-team-caption{display:block;color:#6940a3!important;font-weight:700}
.teacher-profile-result-card,.v6-teacher-result-card.is-assigned{cursor:pointer}.teacher-profile-result-card footer{display:flex;justify-content:space-between;gap:12px}.teacher-profile-result-card footer b,.teacher-profile-result-summary>b,.v6-teacher-history em{font-style:normal}.teacher-profile-result-card .is-up,.teacher-profile-result-summary .is-up,.v6-teacher-history .is-up{color:#14805c}.teacher-profile-result-card .is-down,.teacher-profile-result-summary .is-down,.v6-teacher-history .is-down{color:#c24356}.teacher-profile-result-card .is-stable,.teacher-profile-result-summary .is-stable,.v6-teacher-history .is-stable{color:#736d7c}.teacher-profile-result-summary{padding:16px;border-radius:16px;background:#f7f2fa}.teacher-profile-result-summary h3{margin:8px 0 4px}.teacher-profile-result-summary p{margin:0 0 10px;color:#6f6978}.teacher-profile-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.teacher-profile-score-grid article{padding:12px;border-radius:13px;background:#f5f6f8}.teacher-profile-score-grid small,.teacher-profile-score-grid b{display:block}.teacher-profile-score-grid b{margin:5px 0;font-size:20px}.teacher-profile-score-grid i{display:block;height:5px;border-radius:5px;background:#dddfe5;overflow:hidden}.teacher-profile-score-grid em{display:block;height:100%;background:#b341ca}.teacher-profile-history,.v6-teacher-history{margin:16px 0}.teacher-profile-history>div,.v6-teacher-history article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #ece8ef}.teacher-profile-history span b,.teacher-profile-history span small,.v6-teacher-history span b,.v6-teacher-history span small{display:block}.teacher-check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important}.teacher-check input{width:auto!important;margin-top:3px}.teacher-access-state{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:16px 0;padding:14px;border-radius:14px;background:#f5eff9}.v6-teacher-access>p{color:#686273}@media(max-width:760px){.teacher-profile-score-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-profile-history>div,.v6-teacher-history article{grid-template-columns:1fr auto}.teacher-profile-history>div strong,.v6-teacher-history article em{grid-column:1/-1}.teacher-access-state{align-items:flex-start;flex-direction:column}}
.teacher-modal.is-learning-result,.teacher-modal:has([data-teacher-gap-map]){width:min(1500px,calc(100vw - 36px))}.teacher-modal.is-learning-result>header{position:sticky;top:0;z-index:12;background:#fff}.teacher-result-gap-map{margin:24px 0}.teacher-result-gap-map>.teacher-form-actions{margin-top:12px;padding-top:12px;border-top:1px solid #ece9f2}
@media(max-width:760px){.teacher-modal.is-learning-result,.teacher-modal:has([data-teacher-gap-map]){width:100%}.teacher-result-gap-map{margin:18px 0}.teacher-result-gap-map>.teacher-form-actions{display:grid}.teacher-result-gap-map>.teacher-form-actions .teacher-button{width:100%}}

/* Единая диагностическая карточка ученика — утверждённый макет. */
.teacher-student-results-list{display:grid;gap:14px}.teacher-student-result-card{width:100%;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 20px;border:1px solid #d8d0f3;border-radius:16px;background:#fefeff;color:#211247;font:inherit;text-align:left;cursor:pointer;box-shadow:0 12px 28px #2007720d;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.teacher-student-result-card:hover{border-color:#876ed7;box-shadow:0 16px 34px #2007721a;transform:translateY(-1px)}.teacher-student-result-card:focus-visible{outline:3px solid #876ed766;outline-offset:2px}.teacher-student-result-avatar{width:50px;height:50px;display:grid;place-items:center;border-radius:50%;background:#ece8fb;color:#3914af;font-size:16px;font-weight:900}.teacher-student-result-main{display:grid;min-width:0;gap:4px}.teacher-student-result-main>strong{overflow:hidden;color:#211247;font-size:18px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.teacher-student-result-main>small{color:#5f5870;font-size:12px;font-weight:700}.teacher-student-result-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.teacher-student-result-chips i{padding:6px 10px;border:1px solid #d8d0f3;border-radius:999px;background:#f2efff;color:#3914af;font-size:11px;font-style:normal;font-weight:850}.teacher-student-result-chips i.is-profile{border-color:#bee5d4;background:#eaf8f1;color:#197250}.teacher-student-result-open{display:flex;align-items:center;gap:8px;padding:11px 16px;border-radius:10px;background:linear-gradient(110deg,#3914af,#6a48d7);color:#fff;font-size:12px;font-weight:900;white-space:nowrap}.teacher-student-result-open .parent-icon{width:17px;height:17px}
.teacher-modal.is-diagnostic-hub{width:min(1500px,calc(100vw - 36px));max-height:calc(100vh - 36px)}.teacher-modal.is-diagnostic-hub>.teacher-modal-body{padding:0 26px 26px}.teacher-student-diagnostics{min-width:0}.teacher-student-diagnostic-tabs{position:sticky;top:76px;z-index:11;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #e7e2f0;background:#fff}.teacher-student-diagnostic-tabs button{position:relative;min-height:62px;padding:16px 12px;border:0;background:#fff;color:#625b70;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.teacher-student-diagnostic-tabs button:after{content:"";position:absolute;left:12px;right:12px;bottom:-1px;height:3px;border-radius:3px 3px 0 0;background:transparent}.teacher-student-diagnostic-tabs button:hover{color:#3914af;background:#faf8ff}.teacher-student-diagnostic-tabs button.is-active{color:#3914af;background:linear-gradient(180deg,#f7f4ff,#fff)}.teacher-student-diagnostic-tabs button.is-active:after{background:#6a48d7}.teacher-student-diagnostic-panel{padding-top:24px}.teacher-diagnostic-kicker{color:#4f2ca6;font-size:12px;font-weight:900}
.teacher-profile-feature-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:18px;align-items:stretch}.teacher-profile-feature-main{min-width:0;padding:20px;border:1px solid #e5e0ee;border-radius:16px;background:#fff}.teacher-profile-result-summary{padding:0;background:#fff}.teacher-profile-result-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.teacher-profile-result-summary h3{margin:18px 0 8px;color:#211247;font-size:24px}.teacher-profile-result-summary p{max-width:850px;margin:0 0 12px;color:#5f5870;line-height:1.55}.teacher-profile-result-summary>b{display:inline-block;padding:6px 9px;border-radius:999px;background:#f2efff;font-size:11px}.teacher-profile-score-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:22px 0 0}.teacher-profile-score-grid article{display:grid;grid-template-rows:auto minmax(34px,auto) auto auto;align-items:center;justify-items:center;gap:8px;min-height:172px;padding:16px 10px;border:1px solid #e7e2ef;border-radius:14px;background:#fff;text-align:center}.teacher-profile-score-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f0ecff;color:#5f39c2;font-size:22px;font-weight:900}.teacher-profile-score-grid small{color:#302747;font-size:11px;font-weight:850;line-height:1.25}.teacher-profile-score-grid i{width:100%;height:7px;background:#e8e3f2}.teacher-profile-score-grid em{border-radius:999px;background:#6a48d7}.teacher-profile-score-grid b{margin:0;color:#5f5870;font-size:10px;line-height:1.35}.teacher-profile-recommendations{padding:20px;border:1px solid #e5e0ee;border-radius:16px;background:#fff}.teacher-profile-recommendations h3{margin:0 0 10px;color:#211247;font-size:16px}.teacher-profile-recommendations>div{display:grid;grid-template-columns:34px minmax(0,1fr) 12px;align-items:center;gap:10px;padding:13px 0;border-bottom:1px solid #eeeaf3}.teacher-profile-recommendations>div:last-child{border-bottom:0}.teacher-profile-recommendations span{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:#f0ecff;color:#5f39c2;font-size:11px;font-weight:900}.teacher-profile-recommendations p{margin:0;color:#554d65;font-size:11px;line-height:1.45}.teacher-profile-recommendations i{color:#766e83;font-size:20px;font-style:normal}.teacher-profile-history{margin:18px 0 0;padding:15px 18px;border:1px solid #e5e0ee;border-radius:14px;background:#fff}.teacher-profile-history summary{color:#3914af;font-weight:850;cursor:pointer}.teacher-profile-notes-form{margin-top:18px;padding:20px;border:1px solid #e5e0ee;border-radius:16px;background:#faf9fd}
.teacher-diagnostic-choice-bar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:18px}.teacher-diagnostic-choice-bar button{display:grid;gap:3px;padding:10px 13px;border:1px solid #ddd6ed;border-radius:11px;background:#fff;color:#5d556c;font:inherit;text-align:left;cursor:pointer}.teacher-diagnostic-choice-bar button b{font-size:12px}.teacher-diagnostic-choice-bar button small{font-size:10px}.teacher-diagnostic-choice-bar button.is-active{border-color:#6a48d7;background:#f2efff;color:#3914af}.teacher-diagnostic-result-detail,.teacher-diagnostic-map-detail{min-width:0}.teacher-generic-diagnostic-result{padding:24px;border:1px solid #e5e0ee;border-radius:16px;background:#fff}.teacher-generic-diagnostic-result h3{margin:9px 0;color:#211247;font-size:24px}.teacher-generic-diagnostic-result p{color:#5f5870;line-height:1.55}.teacher-generic-diagnostic-result small{display:block;margin-top:10px;color:#6f687c}.teacher-diagnostic-empty{display:grid;justify-items:center;gap:9px;min-height:330px;align-content:center;padding:35px;border:1px dashed #d8d0e7;border-radius:16px;background:#fbfaff;text-align:center}.teacher-diagnostic-empty>span{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;background:#f0ecff;color:#5f39c2;font-size:25px}.teacher-diagnostic-empty h3,.teacher-diagnostic-empty p{margin:0}.teacher-diagnostic-empty h3{color:#211247}.teacher-diagnostic-empty p{max-width:560px;color:#6f687c;line-height:1.55}.teacher-diagnostic-checklist-placeholder{display:grid;grid-template-columns:58px minmax(0,1fr) minmax(180px,260px);align-items:center;gap:20px;min-height:300px;padding:32px;border:1px solid #e5e0ee;border-radius:16px;background:#fff}.teacher-diagnostic-checklist-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:#f0ecff;color:#5f39c2;font-size:26px;font-weight:900}.teacher-diagnostic-checklist-placeholder h3{margin:8px 0;color:#211247;font-size:24px}.teacher-diagnostic-checklist-placeholder p{max-width:680px;margin:0;color:#615a70;line-height:1.6}.teacher-diagnostic-checklist-preview{display:grid;gap:12px}.teacher-diagnostic-checklist-preview i{height:44px;border-radius:11px;background:linear-gradient(90deg,#f0ecff,#faf9fd)}
@media(max-width:980px){.teacher-profile-feature-grid{grid-template-columns:1fr}.teacher-profile-score-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.teacher-diagnostic-checklist-placeholder{grid-template-columns:58px 1fr}.teacher-diagnostic-checklist-preview{grid-column:1/-1}}
@media(max-width:760px){.teacher-student-result-card{grid-template-columns:46px minmax(0,1fr);padding:15px}.teacher-student-result-avatar{width:44px;height:44px}.teacher-student-result-main>strong{font-size:16px}.teacher-student-result-open{grid-column:1/-1;justify-content:center}.teacher-modal.is-diagnostic-hub{width:100%;max-height:calc(100vh - 14px)}.teacher-modal.is-diagnostic-hub>.teacher-modal-body{padding:0 14px 18px}.teacher-student-diagnostic-tabs{top:70px;grid-template-columns:1fr 1fr}.teacher-student-diagnostic-tabs button{min-height:48px;padding:10px 7px;font-size:11px}.teacher-profile-feature-main,.teacher-profile-recommendations,.teacher-profile-notes-form{padding:15px}.teacher-profile-score-grid{grid-template-columns:1fr 1fr}.teacher-profile-score-grid article{min-height:150px}.teacher-profile-result-summary h3{font-size:20px}.teacher-diagnostic-checklist-placeholder{grid-template-columns:1fr;justify-items:start;padding:22px}.teacher-diagnostic-checklist-preview{width:100%;grid-column:1}.teacher-diagnostic-choice-bar{display:grid}.teacher-diagnostic-choice-bar button{width:100%}}

/* Мотивационный дашборд учителя — утверждённый вариант 1. */
.teacher-performance-dashboard{display:grid;gap:16px;color:#211247}.teacher-performance-dashboard h2{margin:0;color:#211247;font-size:20px}.teacher-performance-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);gap:16px}.teacher-performance-score-card,.teacher-performance-focus,.teacher-performance-metric,.teacher-performance-panel,.teacher-performance-formula{border:1px solid #d8d0f3;border-radius:18px;background:#fefeff;box-shadow:0 12px 28px #2007720d}.teacher-performance-score-card,.teacher-performance-focus,.teacher-performance-panel{padding:22px}.teacher-performance-score-body{display:grid;grid-template-columns:146px minmax(0,1fr);align-items:center;gap:24px;margin-top:18px}.teacher-performance-ring{width:142px;height:142px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#5f3bd0 calc(var(--teacher-progress-value)*1%),#ece8f7 0);position:relative}.teacher-performance-ring:after{content:"";position:absolute;inset:13px;border-radius:50%;background:#fff}.teacher-performance-ring>span{position:relative;z-index:1;text-align:center}.teacher-performance-ring strong,.teacher-performance-ring small{display:block}.teacher-performance-ring strong{font-size:32px;line-height:1}.teacher-performance-ring small{margin-top:7px;color:#777086;font-size:11px;font-weight:750}.teacher-performance-score-body>div:last-child>em{display:inline-flex;padding:6px 10px;border-radius:999px;background:#f2efff;color:#5f39bd;font-size:11px;font-style:normal;font-weight:900}.teacher-performance-score-body>div:last-child>em.is-up{background:#eaf8f1;color:#15734e}.teacher-performance-score-body>div:last-child>em.is-down{background:#fff1f3;color:#b93c53}.teacher-performance-score-body p{max-width:430px;margin:13px 0 0;color:#6a6378;font-size:14px;line-height:1.55}.teacher-performance-score-body p b{color:#302248}.teacher-performance-focus>div{display:grid;gap:8px;margin-top:15px}.teacher-performance-focus button{width:100%;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:11px;padding:11px;border:1px solid #e8e3f1;border-radius:12px;background:#fff;color:#211247;font:inherit;text-align:left;cursor:pointer}.teacher-performance-focus button:hover{border-color:#bda9ed;background:#faf8ff}.teacher-performance-focus button>span:first-child{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#fff0df;color:#bd681c}.teacher-performance-focus button.is-done>span:first-child{background:#eaf8f1;color:#16805a}.teacher-performance-focus button>span:nth-child(2) b,.teacher-performance-focus button>span:nth-child(2) small{display:block}.teacher-performance-focus button>span:nth-child(2) small{margin-top:3px;color:#777086;font-size:11px}.teacher-performance-focus button>.parent-icon{width:17px;height:17px;color:#6a48d7}.teacher-performance-focus button>span:first-child .parent-icon{width:18px;height:18px}.teacher-performance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.teacher-performance-metric{min-width:0;padding:18px}.teacher-performance-metric header{display:flex;align-items:center;gap:9px}.teacher-performance-metric header>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#f0ecff;color:#5f39c2}.teacher-performance-metric header .parent-icon{width:18px;height:18px}.teacher-performance-metric header b{font-size:13px}.teacher-performance-metric>strong{display:block;margin:17px 0 9px;font-size:30px;line-height:1}.teacher-performance-metric>i,.teacher-performance-groups button i{display:block;height:7px;overflow:hidden;border-radius:999px;background:#ebe7f3}.teacher-performance-metric>i em,.teacher-performance-groups button i em{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#3914af,#876ed7)}.teacher-performance-metric>small{display:block;min-height:30px;margin-top:9px;color:#756e82;font-size:11px;line-height:1.35}.teacher-performance-detail-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,.75fr);gap:16px}.teacher-performance-panel>h2{margin-bottom:16px}.teacher-performance-chart svg{display:block;width:100%;height:auto;overflow:visible}.teacher-performance-chart svg line{stroke:#ece8f3;stroke-width:1}.teacher-performance-chart svg>text{fill:#8b8496;font-size:10px}.teacher-performance-chart svg polyline{fill:none;stroke:#6640ce;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.teacher-performance-chart svg circle{fill:#fff;stroke:#6640ce;stroke-width:3}.teacher-performance-chart svg .teacher-performance-chart-value{fill:#4d2aa8;font-size:10px;font-weight:900;text-anchor:middle}.teacher-performance-chart>div{display:grid;grid-template-columns:repeat(6,1fr);padding:3px 10px 0 38px;color:#7d7689;font-size:10px;text-align:center}.teacher-performance-groups>div{display:grid;gap:9px}.teacher-performance-groups button{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border:1px solid transparent;border-radius:12px;background:#faf8ff;color:#211247;font:inherit;text-align:left;cursor:pointer}.teacher-performance-groups button:hover{border-color:#d8d0f3;background:#f5f1ff}.teacher-performance-groups button>span:first-child{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#ece8fb;color:#4f29b5}.teacher-performance-groups button>span:nth-child(2) b,.teacher-performance-groups button>span:nth-child(2) small{display:block}.teacher-performance-groups button>span:nth-child(2) small{margin:3px 0 7px;color:#777086;font-size:10px}.teacher-performance-groups button>strong{color:#4f29b5;font-size:13px}.teacher-performance-empty{margin:0;color:#777086}.teacher-performance-formula{display:flex;align-items:center;gap:11px;padding:13px 16px}.teacher-performance-formula>span{width:32px;height:32px;display:grid;flex:none;place-items:center;border-radius:10px;background:#f0ecff;color:#5f39c2}.teacher-performance-formula>span .parent-icon{width:18px;height:18px}.teacher-performance-formula p{margin:0;color:#6d667a;font-size:12px;line-height:1.45}.teacher-performance-formula button{display:flex;align-items:center;gap:6px;margin-left:auto;padding:9px 11px;border:1px solid #d8d0f3;border-radius:10px;background:#fff;color:#4f29b5;font:inherit;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer}.teacher-performance-formula button:hover{border-color:#876ed7;background:#f7f4ff}.teacher-performance-formula button .parent-icon{width:15px;height:15px}.teacher-performance-formula-modal>p{margin:0 0 16px;color:#655e72;line-height:1.55}.teacher-performance-formula-modal>div{display:grid;gap:9px}.teacher-performance-formula-modal article{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:13px;padding:12px;border:1px solid #e6e0f0;border-radius:13px;background:#faf9fd}.teacher-performance-formula-modal article>strong{color:#5932bf;font-size:22px}.teacher-performance-formula-modal article b,.teacher-performance-formula-modal article small{display:block}.teacher-performance-formula-modal article small{margin-top:3px;color:#766f81;line-height:1.4}.teacher-performance-formula-modal aside{display:flex;gap:11px;margin:15px 0;padding:13px;border-radius:13px;background:#f0ecff;color:#4f3190}.teacher-performance-formula-modal aside>.parent-icon{flex:none}.teacher-performance-formula-modal aside b,.teacher-performance-formula-modal aside small{display:block}.teacher-performance-formula-modal aside small{margin-top:3px;line-height:1.4}.teacher-performance-rating-note{margin-bottom:0!important;padding-top:14px;border-top:1px solid #e7e2ef;font-size:12px}
@media(max-width:1120px){.teacher-performance-hero-grid,.teacher-performance-detail-grid{grid-template-columns:1fr}.teacher-performance-metrics{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.teacher-performance-dashboard{gap:12px}.teacher-performance-score-card,.teacher-performance-focus,.teacher-performance-panel{padding:16px}.teacher-performance-score-body{grid-template-columns:1fr;justify-items:center;text-align:center}.teacher-performance-score-body p{max-width:360px}.teacher-performance-metrics{grid-template-columns:1fr}.teacher-performance-detail-grid{grid-template-columns:1fr}.teacher-performance-chart{overflow-x:auto}.teacher-performance-chart svg{min-width:560px}.teacher-performance-chart>div{min-width:560px}.teacher-performance-formula{align-items:flex-start;flex-wrap:wrap}.teacher-performance-formula button{width:100%;justify-content:center;margin-left:0}.teacher-performance-formula-modal article{grid-template-columns:54px minmax(0,1fr)}}
.teacher-performance-dashboard{width:100%;min-width:0}.teacher-performance-dashboard>*,.teacher-performance-hero-grid,.teacher-performance-detail-grid,.teacher-performance-panel{min-width:0}
@media(max-width:760px){.teacher-performance-hero-grid,.teacher-performance-detail-grid{width:100%;min-width:0}.teacher-performance-chart{width:100%;min-width:0}}

/* Понятные пояснения ко всем показателям дашборда. */
.teacher-performance-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.teacher-performance-score-card>.teacher-performance-heading,.teacher-performance-focus>.teacher-performance-heading{margin-bottom:0}.teacher-performance-focus>.teacher-performance-heading,.teacher-performance-groups>.teacher-performance-heading{display:flex;margin-top:0}.teacher-dashboard-help-button,.teacher-performance-focus .teacher-dashboard-help-button,.teacher-performance-groups .teacher-dashboard-help-button{width:auto;min-height:30px;display:inline-flex;grid-template-columns:none;align-items:center;justify-content:center;gap:6px;flex:none;margin:0;padding:6px 9px;border:1px solid #dcd4ed;border-radius:9px;background:#fff;color:#5b36b9;font:inherit;font-size:10px;font-weight:850;line-height:1;text-align:center;white-space:nowrap;cursor:pointer;box-shadow:none;transform:none}.teacher-dashboard-help-button:hover,.teacher-performance-focus .teacher-dashboard-help-button:hover,.teacher-performance-groups .teacher-dashboard-help-button:hover{border-color:#9d82dc;background:#f7f4ff;box-shadow:none;transform:none}.teacher-dashboard-help-button:focus-visible{outline:3px solid #876ed755;outline-offset:2px}.teacher-dashboard-help-button .parent-icon,.teacher-performance-focus .teacher-dashboard-help-button>.parent-icon,.teacher-performance-groups .teacher-dashboard-help-button>.parent-icon{width:14px;height:14px;color:currentColor}.teacher-performance-metric>.teacher-dashboard-help-button{margin-top:11px}.teacher-performance-metric>.teacher-dashboard-help-button.is-compact{width:100%}.teacher-dashboard-help-modal{display:grid;gap:11px}.teacher-dashboard-help-modal>section{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px;padding:14px;border:1px solid #e6e0f0;border-radius:14px;background:#fbfafe}.teacher-dashboard-help-modal>section>span{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#efeaff;color:#5f39c2}.teacher-dashboard-help-modal>section>span .parent-icon{width:19px;height:19px}.teacher-dashboard-help-modal b{display:block;color:#2d2147;font-size:13px}.teacher-dashboard-help-modal p{margin:5px 0 0;color:#655e72;font-size:13px;line-height:1.55}
@media(max-width:760px){.teacher-performance-heading{align-items:flex-start}.teacher-dashboard-help-button span{display:none}.teacher-dashboard-help-button,.teacher-performance-focus .teacher-dashboard-help-button,.teacher-performance-groups .teacher-dashboard-help-button{width:32px;min-height:32px;padding:6px}.teacher-performance-metric>.teacher-dashboard-help-button.is-compact{width:100%}.teacher-performance-metric>.teacher-dashboard-help-button.is-compact span{display:inline}.teacher-dashboard-help-modal>section{grid-template-columns:34px minmax(0,1fr);padding:12px}.teacher-dashboard-help-modal>section>span{width:34px;height:34px}}

/* Утверждённый вариант 2: компактный список учеников на отработку. */
.teacher-makeup-panel{padding:0;overflow:hidden;border-color:#e3dcf2;box-shadow:0 10px 24px #2510570a}.teacher-makeup-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px 14px}.teacher-makeup-heading>div{min-width:0}.teacher-makeup-heading>div>span{display:flex;align-items:center;gap:9px}.teacher-makeup-heading h3{margin:0;color:#211247;font-size:18px;line-height:1.25}.teacher-makeup-heading>div>span>b{min-width:27px;height:27px;display:grid;place-items:center;padding:0 8px;border-radius:999px;background:#fff0e9;color:#c55532;font-size:12px}.teacher-makeup-heading p{margin:5px 0 0;color:#777086;font-size:12px}.teacher-makeup-heading label{display:grid;flex:0 0 176px;gap:5px;color:#6f687d;font-size:10px;font-weight:850}.teacher-makeup-heading select{width:100%;height:38px;padding:0 32px 0 11px;border:1px solid #dcd4ed;border-radius:10px;background:#fff;color:#342650;font:inherit;font-size:12px;font-weight:750}.teacher-makeup-table{overflow-x:auto;border-top:1px solid #eee9f5}.teacher-makeup-table table{width:100%;min-width:760px;border-collapse:collapse}.teacher-makeup-table th,.teacher-makeup-table td{padding:11px 20px;border-bottom:1px solid #eeeaf4;text-align:left}.teacher-makeup-table th{background:#faf9fd;color:#756e82;font-size:10px;font-weight:850;text-transform:none}.teacher-makeup-table td{color:#514960;font-size:12px}.teacher-makeup-table tbody tr:last-child td{border-bottom:0}.teacher-makeup-table tbody tr:hover{background:#fcfaff}.teacher-makeup-table td:first-child b{color:#211247;font-size:13px}.teacher-makeup-table time{color:#625a71}.teacher-makeup-table td>strong{color:#ba532f;font-size:12px}.teacher-makeup-chat{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid #cfc0ee;border-radius:9px;background:#f6f2ff;color:#542caf;font:inherit;font-size:11px;font-weight:900;white-space:nowrap;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease}.teacher-makeup-chat:hover{border-color:#876ed7;background:#eee8ff;transform:translateY(-1px)}.teacher-makeup-chat:focus-visible{outline:3px solid #876ed755;outline-offset:2px}.teacher-makeup-chat .parent-icon{width:15px;height:15px}.teacher-makeup-empty{display:flex;align-items:center;gap:11px;margin:0 20px 18px;padding:13px 15px;border:1px solid #cce9dc;border-radius:11px;background:#f2fbf7;color:#246d51}.teacher-makeup-empty>span{width:30px;height:30px;display:grid;flex:none;place-items:center;border-radius:9px;background:#dff5e9;font-weight:950}.teacher-makeup-empty b,.teacher-makeup-empty small{display:block}.teacher-makeup-empty small{margin-top:3px;color:#5e7d70;font-size:11px}
@media(max-width:760px){.teacher-makeup-heading{align-items:flex-start;flex-direction:column;padding:15px}.teacher-makeup-heading h3{font-size:16px}.teacher-makeup-heading label{width:100%;flex-basis:auto}.teacher-makeup-table{padding:0 15px 15px;border-top:0;overflow:visible}.teacher-makeup-table table,.teacher-makeup-table tbody,.teacher-makeup-table tr,.teacher-makeup-table td{display:block;width:100%;min-width:0}.teacher-makeup-table thead{display:none}.teacher-makeup-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;margin-bottom:10px;padding:13px;border:1px solid #e5def1;border-radius:12px;background:#fff}.teacher-makeup-table tr:last-child{margin-bottom:0}.teacher-makeup-table td{display:grid;gap:4px;padding:0;border:0}.teacher-makeup-table td:before{content:attr(data-label);color:#8a8394;font-size:9px;font-weight:850;text-transform:uppercase}.teacher-makeup-table td:first-child,.teacher-makeup-table td:last-child{grid-column:1/-1}.teacher-makeup-chat{width:100%}.teacher-makeup-empty{margin:0 15px 15px}}
.teacher-day-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.teacher-day-card{display:grid;grid-template-columns:1fr 1fr;gap:18px;border:1px solid #d9cff1;background:#fff;border-radius:13px;padding:20px;color:#21183e}.teacher-day-main{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center}.teacher-day-icon{display:grid;place-items:center;border-radius:12px;background:#ece5ff;color:#5025cd;height:48px}.teacher-day-icon svg{width:24px;height:24px}.teacher-day-main b{display:block;font-size:16px}.teacher-day-main time{display:block;font-size:13px;margin-top:6px;color:#534969}.teacher-day-group{grid-column:1/-1;display:flex;align-items:center;gap:10px;text-align:left;background:none;border:0;padding:5px 0;color:#382263;font:inherit;cursor:pointer}.teacher-day-group svg{width:20px;height:20px;flex-shrink:0}.teacher-day-place{border-left:1px solid #dfd6ef;padding-left:18px;display:flex;flex-direction:column;gap:10px;font-size:14px}.teacher-day-place strong{font-weight:600}.teacher-day-connect{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto}.teacher-day-connect small{color:#5a506e;font-size:12px}.teacher-day-connect a{font-size:12px;text-decoration:none;padding:9px 12px}.teacher-schedule-calendar{margin-top:18px}.teacher-schedule-calendar>summary{padding:15px;background:#fff;border:1px solid #ddd3ef;border-radius:12px;color:#4726a4;font-weight:700;cursor:pointer}.teacher-schedule-calendar[open]>summary{margin-bottom:12px}.teacher-group-details .teacher-day-cards{grid-template-columns:1fr}.teacher-group-details .teacher-day-card{padding:14px}.teacher-group-details .teacher-day-connect .teacher-button{width:auto}@media(max-width:1050px){.teacher-day-cards{grid-template-columns:1fr}}@media(max-width:580px){.teacher-day-card{grid-template-columns:1fr}.teacher-day-place{border-left:0;border-top:1px solid #dfd6ef;padding:12px 0 0}}
.teacher-journal-feedback{margin-top:14px;padding:12px 14px;border:1px solid #cfc5df;border-radius:10px;background:#f8f5fc;color:#292038;line-height:1.5}.teacher-journal-feedback p{margin:0}.teacher-journal-feedback button{margin-top:10px}.teacher-journal[aria-busy=true]{opacity:.8}.teacher-attendance-login{z-index:10000}.teacher-attendance-login [role=alert]{color:#a71935}.teacher-attendance-login input{min-height:44px}
.teacher-group-drawer.is-attendance-dashboard{min-width:0;max-width:100vw}.teacher-group-drawer .teacher-drawer-body,.teacher-drawer-attendance-stack,.teacher-drawer-attendance{min-width:0}.teacher-journal-feedback p{overflow-wrap:anywhere}
.teacher-week-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:16px;border:1px solid #ded5ef;border-radius:12px;background:#fff;color:#241641}.teacher-week-toolbar h3{margin:0 auto 0 0;font-size:18px}.teacher-week-modes{display:flex;gap:4px;padding:4px;border:1px solid #d9cfee;border-radius:10px;background:#f6f2fc}.teacher-week-modes button{border:0;border-radius:7px;padding:10px 14px;background:transparent;color:#49336b;font:inherit;font-size:13px;cursor:pointer}.teacher-week-modes button[aria-pressed=true]{background:#6a48d7;color:#fff}.teacher-week-navigation{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.teacher-week-navigation label{display:flex;align-items:center;gap:7px;color:#49336b;font-size:12px}.teacher-week-navigation input{min-height:38px;border:1px solid #d9cfee;border-radius:8px;padding:6px;color:#241641;background:#fff;font:inherit}.teacher-week-caption{margin:12px 0;color:#57496c;font-size:13px;line-height:1.5}.teacher-week-head b small,.teacher-week-mobile-day h3 small{display:block;margin-top:5px;font-size:11px;font-weight:500;color:#57496c}.teacher-week-empty-day{position:relative;margin:16px 10px;color:#70647e;font-size:12px;line-height:1.5}.teacher-week-slot{position:absolute;left:5px;right:5px}.teacher-week-slot>.teacher-week-card{position:relative;inset:auto;width:100%;height:100%}.teacher-week-slot.has-online>.teacher-week-card{padding-bottom:34px}.teacher-week-connect{display:inline-block;color:#4925a7;background:#f2ecff;border:1px solid #cbbcE5;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:700;text-decoration:none}.teacher-week-slot>.teacher-week-connect{position:absolute;bottom:6px;left:9px;max-width:calc(100% - 18px)}.teacher-week-mobile-slot{min-width:0}.teacher-week-mobile-slot>.teacher-week-connect{margin:6px 0 4px 8px}.teacher-week-connect:focus-visible,.teacher-week-modes button:focus-visible{outline:3px solid #9171dc;outline-offset:2px}
@media(max-width:760px){.teacher-week-toolbar{padding:12px;gap:12px}.teacher-week-toolbar h3{width:100%}.teacher-week-modes{width:100%}.teacher-week-modes button{flex:1;padding:10px}.teacher-week-navigation{width:100%;gap:6px}.teacher-week-navigation label{flex:1}.teacher-week-navigation input{width:100%;min-width:0}.teacher-week-navigation .teacher-button{padding:9px 10px;font-size:12px}.teacher-week-mobile-slot>.teacher-week-mobile-card{width:100%}}
.teacher-week-slot>.teacher-week-connect{z-index:5}

/* Группа учителя: журнал сегодняшнего дня и отдельный постоянный состав. */
.is-today-group .teacher-drawer-journal-heading p,.is-today-group .teacher-daily-tools p,.is-today-group .teacher-daily-history-note,.is-today-group .teacher-empty,.is-today-group .teacher-journal small,.is-today-group .teacher-roster-table small{color:#554963}
.is-today-group>header p{color:#554963}
.teacher-daily-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.teacher-daily-tools p{margin:0;font-size:14px}
.teacher-daily-history-note{margin:16px 0 0;font-size:13px;line-height:1.5}
.teacher-group-roster{min-width:0;padding:20px;border:1px solid #d8cdee;border-radius:16px;background:#fff;color:#211247}
.teacher-roster-wrap{min-width:0;overflow-x:auto}.teacher-roster-table{width:100%;border-collapse:collapse;text-align:left}
.teacher-roster-table th,.teacher-roster-table td{padding:12px 10px;border-bottom:1px solid #e7dfef;overflow-wrap:anywhere}.teacher-roster-table th{background:#f7f4fc;color:#554963;font-size:12px}.teacher-roster-table td{font-size:14px}.teacher-roster-table td:first-child{width:36%}.teacher-roster-table small{display:block;margin-top:4px;font-size:12px}
.teacher-group-roster .participation-history-banner{margin:18px 0 0;color:#49345f}
.is-today-group .teacher-journal th{color:#554963;background:#f7f4fc}.is-today-group .teacher-journal input::placeholder{color:#645771;opacity:1}
.is-today-group .teacher-journal input,.is-today-group .teacher-journal select{color:#211247;background:#fff}
.is-today-group .teacher-button:not(.is-soft){background:#6237c4;color:#fff}
.teacher-daily-readonly p{color:#554963}
@media(max-width:760px){
  .teacher-group-roster{padding:15px}.teacher-daily-tools{align-items:stretch;flex-direction:column}
  .teacher-roster-table,.teacher-roster-table tbody,.teacher-roster-table tr,.teacher-roster-table td{display:block;width:100%;min-width:0}
  .teacher-roster-table thead{display:none}.teacher-roster-table tr{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #e7dfef}
  .teacher-roster-table td{padding:0;border:0}.teacher-roster-table td:first-child{width:100%;grid-column:1/-1}
  .teacher-roster-table td:before{content:attr(data-label);display:block;margin-bottom:4px;color:#554963;font-size:12px;font-weight:700}
}

@media(max-width:760px){
  .is-today-group .teacher-journal,.is-today-group .teacher-journal tbody,.is-today-group .teacher-journal tr,.is-today-group .teacher-journal td{display:block;width:100%;min-width:0}
  .is-today-group .teacher-journal thead{display:none}.is-today-group .teacher-journal tr{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:12px;padding:14px 0;border-bottom:1px solid #e7dfef}
  .is-today-group .teacher-journal td{padding:0;border:0;overflow-wrap:anywhere}.is-today-group .teacher-journal td:first-child,.is-today-group .teacher-journal td:last-child{grid-column:1/-1}
  .is-today-group .teacher-journal input,.is-today-group .teacher-journal select{width:100%;min-width:0;min-height:42px}
  .is-today-group .teacher-journal td:before{display:block;margin-bottom:5px;color:#554963;font-size:12px;font-weight:700}
  .is-today-group .teacher-journal td:nth-child(2):before{content:'Отметка'}.is-today-group .teacher-journal td:nth-child(3):before{content:'Минуты'}.is-today-group .teacher-journal td:nth-child(4):before{content:'Комментарий'}
}

/* Group date and compact statistics use the already loaded dashboard. */
.is-today-group .teacher-group-date-controls{display:flex;align-items:flex-end;gap:12px;margin:16px 0}
.is-today-group .teacher-group-date-controls label{display:grid;gap:6px;font-size:13px;font-weight:600;color:#34284e}
.is-today-group .teacher-group-date-controls input{min-height:42px;max-width:100%;padding:9px 12px;border:1px solid #a99aca;border-radius:10px;background:#fff;color:#291a47;font:inherit;color-scheme:light}
.is-today-group .teacher-group-date-controls input:focus-visible{outline:2px solid #653ed1;outline-offset:2px}
.is-today-group .teacher-group-summary{padding:20px;border:1px solid #d8c7ff;border-radius:18px;background:#fff}
.is-today-group .teacher-group-summary .teacher-attendance-stats{margin:16px 0 0;gap:12px}
.is-today-group .teacher-group-summary .teacher-attendance-stats small{color:#554963}
.is-today-group .teacher-group-summary .teacher-attendance-stats b{color:#291a47}
.is-today-group .teacher-group-summary .teacher-attendance-stats .is-missed b{color:#ae2343}
.is-today-group .teacher-group-summary .teacher-attendance-stats .is-makeup b{color:#185a99}
.is-today-group .teacher-group-homework-summary{margin:16px 0 0;color:#554963;font-size:13px;line-height:1.6}
@media(max-width:600px){.is-today-group .teacher-group-summary{padding:15px}.is-today-group .teacher-group-summary .teacher-attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.is-today-group .teacher-group-date-controls{flex-wrap:wrap}}

/* Local candidate: separate schedule and attendance actions. */
.teacher-week-slot.has-online>.teacher-week-card{padding:8px 10px 34px;overflow:hidden}.teacher-week-slot.has-online>.teacher-week-card>strong,.teacher-week-slot.has-online>.teacher-week-card>small,.teacher-week-slot.has-online>.teacher-week-card>p{display:none}.teacher-week-slot.has-online>.teacher-week-card>b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.teacher-week-online-actions{display:flex;gap:4px;align-items:center;min-width:0}.teacher-week-slot>.teacher-week-online-actions{position:absolute;bottom:5px;left:8px;right:8px;z-index:5}.teacher-week-online-actions>.teacher-week-connect{position:static;min-width:0;white-space:nowrap;font-size:10px;padding:5px}.teacher-week-online-actions>.external{margin-left:auto}.teacher-week-mobile-slot>.teacher-week-online-actions{margin:6px 8px 12px}.teacher-week-mobile-slot .teacher-week-online-actions>.teacher-week-connect{font-size:13px;min-height:38px;display:flex;align-items:center;padding:8px 12px}
