@font-face{font-family:Diary;src:local("Inter"),local("Arial");font-display:swap}
:root{font-family:Diary,Arial,sans-serif;color:#243c53;background:#f5f8fb;font-synthesis:none;--blue:#0876be;--deep:#065f9d;--ink:#243c53;--muted:#8291a2;--line:#e2e9f0;--soft:#f0f7fc;--radius:12px}
*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue);text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.25;font-weight:700;letter-spacing:-.7px}h2{font-size:18px;line-height:1.4;letter-spacing:-.25px}h3{font-size:15px}strong,b{font-weight:600}small{font-size:12px}button:focus-visible,a:focus-visible{outline:3px solid #8ec8ed;outline-offset:3px}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.45px;color:#7b94a8;display:inline-block}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.small-text{font-size:12px}.nowrap{white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.blue-dot{color:var(--blue)}[hidden]{display:none!important}
.button{border:1px solid var(--line);border-radius:7px;padding:10px 16px;background:white;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:40px;font-size:13px;font-weight:600;transition:background .15s,transform .15s}.button:hover{background:#f0f7fc}.button.primary{background:var(--blue);border-color:var(--blue);color:white;box-shadow:0 3px 7px #0876be13}.button.primary:hover{background:var(--deep)}.button.secondary{color:var(--blue);background:white}.button.secondary:hover{background:#edf7fd}.button.subtle{border-color:transparent;background:transparent;color:var(--blue)}.button.compact{padding:7px 11px;min-height:34px;font-size:12px}.button .icon{width:17px;height:17px}.text-button{background:none;border:0;padding:0;color:var(--blue);display:inline-flex;gap:5px;align-items:center;font-size:12px;font-weight:500}.text-button:hover{text-decoration:underline}.text-button .icon{width:16px;height:16px}.icon-button{width:34px;height:34px;display:inline-flex;justify-content:center;align-items:center;background:transparent;border:0;border-radius:6px;color:#8699aa;padding:0}.icon-button:hover{background:var(--soft);color:var(--blue)}.icon-button.small{width:27px;height:27px}.icon-button.small .icon{width:15px;height:15px}.danger-text{color:#d4575e!important}.danger-text:hover{background:#fff0f0!important}.brand{display:flex;align-items:center;gap:10px;line-height:1.2;color:#28455e;flex-shrink:0}.brand>span{font-size:25px;font-weight:700;letter-spacing:-.8px}.brand-domain{color:var(--blue)}.brand small{display:block;font-size:9px;font-weight:400;letter-spacing:.1px;color:#889aaa;margin-top:4px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:37px;height:37px;border-radius:50%;background:#eaf4fc;color:#2678b0;font-size:12px;font-weight:700;flex-shrink:0;border:1px solid #d9eaf6}.avatar-large{width:58px;height:58px;font-size:19px}.director-avatar{background:#edf0ff;border-color:#e0e3fa;color:#6964a3}.role-tag{display:inline-flex;align-items:center;padding:4px 9px;border-radius:5px;font-size:11px;font-weight:500;white-space:nowrap}.role-director{background:#f1edfc;color:#8070ad}.role-teacher{background:#edf8f2;color:#45946e}.role-student{background:#eaf4fc;color:#4386b7}.tag,.class-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#edf5fc;color:#397cae;border-radius:5px;padding:4px 9px;font-size:12px;font-weight:500}.grade{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:27px;border-radius:4px;background:#e8eff5;color:#6388a4;font-weight:600;font-size:15px;padding:0 4px}.grade-5{background:#58a739;color:#fff}.grade-4{background:#81b645;color:#fff}.grade-3{background:#f5a12a;color:#fff}.grade-2{background:#da5157;color:#fff}.grade-Н,.grade-О{background:#94aec5;color:#fff}.grade-button{border:0;background:none;padding:0;display:inline-flex}.grade-button:hover{transform:translateY(-2px);filter:brightness(1.05)}
.topbar{background:white}.header-inner{max-width:1200px;margin:auto;min-height:95px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:24px}.header-school{display:flex;align-items:center;gap:12px;font-size:12px;color:#526c81}.header-school>.icon{color:#91adbf;width:30px;height:30px}.header-school small{display:block;font-size:10px;color:#99a7b4;margin-top:3px}.account{display:flex;gap:12px;align-items:center}.account-button{border:0;background:none;padding:0;display:flex;align-items:center;gap:9px;text-align:left;font-size:12px;font-weight:500}.account-button small{display:block;color:#8d9cab;font-size:10px;margin-top:2px}.logout-button{border-left:1px solid var(--line);border-radius:0;padding-left:10px;width:39px}.nav-wrap{background:white;box-shadow:0 2px 5px #17395704}.main-nav{max-width:1160px;margin:auto;display:flex;align-items:stretch;background:var(--blue);border-radius:7px 7px 0 0;min-height:51px;color:#fff}.main-nav>button{background:none;border:0;color:#fff;display:flex;align-items:center;gap:10px;padding:15px 24px;font-size:12px;text-transform:uppercase;font-weight:600;letter-spacing:.6px;position:relative}.main-nav>button.active{background:#0065a6}.main-nav>button:first-child{border-radius:7px 0 0 0}.main-nav>button.active:after{content:"";position:absolute;bottom:-1px;left:50%;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid white}.main-nav .icon{width:17px;height:17px;color:#bbdff5}.nav-year{margin-left:auto;align-self:center;margin-right:24px;color:#c0e2f6;font-size:11px;letter-spacing:1px}.nav-counter{border-radius:4px;background:#ffffff30;padding:1px 5px;line-height:1.4;font-size:10px}.sub-nav{max-width:1160px;margin:auto;display:flex;min-height:52px;gap:24px;border-bottom:1px solid var(--line);padding:0 20px}.sub-nav>button{border:0;background:none;padding:15px 0 13px;display:flex;align-items:center;gap:7px;font-size:12px;position:relative;white-space:nowrap;border-bottom:2px solid transparent}.sub-nav .icon{width:15px;height:15px;color:#9aaebf}.sub-nav>button.active{color:var(--blue);border-bottom-color:var(--blue)}.sub-nav>button.active .icon{color:var(--blue)}.unread-dot{width:5px;height:5px;border-radius:50%;background:#f8ac4c}
.workspace{max-width:1200px;padding:30px 20px 44px;margin:auto;min-height:70vh}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:25px}.page-heading .eyebrow{margin-bottom:7px}.page-heading .muted{font-size:12px;margin-top:8px}.heading-actions{display:flex;gap:8px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 4px #143b5802}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 20px;border-bottom:1px solid var(--line)}.card-heading h2{display:flex;align-items:center;gap:9px;font-size:15px}.card-heading h2>.icon{color:#69a2c7;width:18px;height:18px}.card-heading>.icon{color:#91adc1}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.metric{border:1px solid var(--line);background:white;border-radius:10px;padding:20px;display:flex;gap:16px;align-items:center}.metric>.icon{background:#edf6fc;padding:11px;width:45px;height:45px;border-radius:11px;color:#4195c9}.metric:nth-child(2)>.icon{background:#f4f3fd;color:#9a86c4}.metric:nth-child(3)>.icon{background:#f2f8ee;color:#88ab62}.metric:nth-child(4)>.icon{background:#fff6e8;color:#d6a451}.metric span{font-size:11px;color:#8a9baa;display:block}.metric strong{font-size:27px;letter-spacing:-.8px;line-height:1.5}.metric strong small{font-size:10px;font-weight:400;color:#95a3b0;letter-spacing:0;margin-left:8px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:23px}.dashboard-main,.dashboard-side{display:flex;flex-direction:column;gap:22px}.day-selector{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 15px;background:#fbfcfe;border-bottom:1px solid var(--line);font-size:12px;text-transform:capitalize}.day-selector small{margin-left:7px;text-transform:none;font-size:9px;background:#e7f4fc;color:#2586c2;padding:3px 6px;border-radius:4px}.daily-lessons .lesson{padding:16px 20px}.lesson{border-bottom:1px solid var(--line);padding:12px;overflow-wrap:anywhere}.lesson:last-child{border-bottom:0}.lesson-top{display:flex;justify-content:space-between;gap:5px;font-size:9px;color:#91a5b6;margin-bottom:6px}.lesson-top>span:last-child{color:#69a0c3}.lesson-subject{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:12px;color:#286285}.lesson-large .lesson-subject{font-size:15px;color:#2d4a61}.lesson-teacher{font-size:9px;color:#9caab5;display:block}.lesson-large .lesson-teacher{font-size:10px;margin:2px 0}.lesson-topic{font-size:10px;color:#9babb8;margin-top:7px}.lesson-large .lesson-topic{font-size:12px}.lesson-homework{font-size:11px;display:flex;gap:5px;background:#f0f7fc;padding:8px;border-radius:5px;margin-top:8px;white-space:pre-wrap;line-height:1.5}.lesson-homework>.icon{width:14px;height:14px;color:#83b0d0;margin-top:2px}.lesson-large .lesson-homework{font-size:12px;padding:10px 12px}.homework-checkbox{display:flex!important;gap:7px;align-items:flex-start!important;margin:0!important;color:#3e6580!important;font-size:inherit!important}.homework-checkbox input{width:13px;height:13px;margin:3px 0 0;min-height:0!important;accent-color:var(--blue);flex-shrink:0}.homework-checkbox:has(input:checked) span{text-decoration:line-through;color:#9aaeba}.no-homework{font-size:9px;color:#bac5ce;margin-top:8px}.lesson-edit-homework{font-size:10px;margin-top:8px}.welcome-card{border-radius:12px;background:#eaf5fc;overflow:hidden;padding:26px 28px 0;position:relative;border:1px solid #d7ebf7}.pill{font-size:9px;letter-spacing:.7px;color:#5592b9;background:#dceffb;padding:5px 8px;border-radius:4px;display:inline-block;font-weight:600}.welcome-card h2{font-size:25px;line-height:1.25;color:#27668f;margin-top:15px;letter-spacing:-.6px}.welcome-card p{font-size:11px;color:#7c9db3;margin-top:12px;line-height:1.8}.study-illustration{width:100%;max-height:210px;display:block}.welcome-card .study-illustration{margin:0 0 -7px;max-height:175px}.welcome-bottom{margin:0 -28px;padding:13px 25px;background:#e0f0fa;color:#4f90b7;font-size:10px;display:flex;align-items:center;gap:8px}.welcome-bottom .icon{width:15px;height:15px}.getting-started>.muted{font-size:11px;padding:15px 20px 3px}.setup-steps{padding:8px 20px 18px}.setup-steps>button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 0;border:0;background:none;text-align:left;font-size:12px}.setup-steps>button:hover{color:var(--blue)}.step-number{width:27px;height:27px;border-radius:50%;border:1px solid #dce6ef;background:#f8fafc;display:flex;align-items:center;justify-content:center;color:#95a6b6;font-size:10px;flex-shrink:0}.step-number.completed{background:#eef8ed;color:#73a45a;border-color:#deedd7}.step-number .icon{width:14px;height:14px}.setup-steps small{display:block;color:#a0afbc;font-size:10px;margin-top:2px}.setup-steps>button>.icon{margin-left:auto;width:14px;color:#a4b4c2}.recent-grades{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:20px;gap:12px}.recent-grade{background:none;border:0;padding:0;text-align:left;overflow:hidden}.large-grade{width:100%;height:64px;font-size:31px;border-radius:7px;justify-content:flex-start;padding:14px;position:relative;overflow:hidden}.large-grade:after{content:"✓";font-size:70px;position:absolute;color:#fff3;right:5px;bottom:-15px;font-weight:400}.recent-grade>strong{font-size:11px;display:block;margin-top:9px;color:#40617a}.recent-grade>small{font-size:9px;color:#97a9b8;display:block;margin-top:3px}.help-card{display:flex;gap:14px;padding:20px 8px;color:#6c8ba2}.help-card>.icon{width:29px;height:29px;color:#68a4c9}.help-card h3{font-size:13px}.help-card p{font-size:11px;color:#92a6b5;margin:4px 0 8px}.school-mini h3,.school-mini p,.school-mini>.text-button{margin:16px 20px}.school-mini h3{font-size:14px}.school-mini p{font-size:11px}.notice{display:flex;gap:16px;align-items:center;background:#eaf5fc;border:1px solid #d5eafb;border-radius:10px;padding:18px 22px;margin-bottom:24px;color:#3b789e}.notice>.icon{width:24px;height:24px}.notice strong{font-size:13px}.notice p{font-size:12px;margin-top:4px;color:#6b90a9}.notice>.button{margin-left:auto}.empty{padding:43px 25px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#9bb0bf}.empty>.icon{width:43px;height:43px;stroke-width:1.2;color:#90bedb;background:#f0f7fc;box-sizing:content-box;padding:16px;border-radius:50%;margin-bottom:15px}.empty h3{font-size:14px;font-weight:500;color:#6f8ca2}.empty p{font-size:12px;margin-top:7px;max-width:390px;line-height:1.7}.empty .button{margin-top:17px}.empty .text-button{margin-top:12px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 20px;flex-wrap:wrap}.toolbar-right,.filter-group{display:flex;align-items:center;gap:12px}.week-controls{display:flex;align-items:center;gap:5px;font-size:12px}.week-controls>span{min-width:200px;text-align:center;font-weight:500}.week-controls .button{font-size:11px;padding:7px 10px;min-height:34px;margin-left:5px}.date-picker{position:relative;width:28px;height:30px;display:flex;align-items:center;justify-content:center;color:#7ea5be;margin:0}.date-picker input{position:absolute;inset:0;opacity:0;min-height:0;width:100%;padding:0;cursor:pointer}.date-picker input::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;cursor:pointer;margin:0}.filter-label{display:flex;align-items:center;gap:7px;font-size:11px;color:#7892a6;margin:0!important}.filter-label select{font-size:12px;min-height:35px;width:155px;padding:7px 25px 7px 10px;margin:0;background:white;border-color:var(--line);color:#3a6582}.schedule-scroll{overflow-x:auto;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#bdd6e7 transparent}.schedule-grid{display:grid;grid-template-columns:repeat(7,minmax(148px,1fr));gap:10px;min-width:1090px;align-items:stretch}.schedule-day{background:white;border:1px solid #dbe7f0;border-radius:9px;overflow:hidden;min-height:410px}.schedule-day>header{background:#69a8d3;color:white;display:flex;align-items:center;gap:6px;padding:12px 11px;font-size:11px;min-height:45px;position:relative}.schedule-day>header strong{text-transform:uppercase}.schedule-day>header small{font-size:8px;background:#ffffff25;padding:2px 4px;border-radius:3px;margin-left:auto}.schedule-day.today{border:1px solid #2181c3;box-shadow:0 0 0 2px #2181c30c}.schedule-day.today>header{background:#1880c6}.schedule-day.weekend>header{background:#bbc7d1}.day-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px 5px;color:#b1bfca;font-size:10px}.day-empty>.icon{width:25px;height:25px;stroke-width:1.2;color:#b8ccd9}.day-empty .text-button{font-size:10px}.schedule-legend,.footnote{display:flex;align-items:flex-start;gap:7px;color:#9aacba;font-size:11px;margin-top:16px}.schedule-legend .icon,.footnote .icon{width:15px;height:15px}.grade-table-card{overflow:hidden}.table-scroll{overflow-x:auto;scrollbar-width:thin}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-weight:500;color:#849aab;background:#f9fbfd;font-size:10px;padding:13px 18px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 18px;border-bottom:1px solid #edf1f5;vertical-align:middle}tr:last-child td{border-bottom:0}td strong{font-size:12px;font-weight:500}td small{display:block;margin-top:3px;font-size:10px}td>code{color:#7892a7;font-size:11px}.grade-table th:first-child{width:27%}.grade-table th:last-child{width:135px;text-align:center}.grade-table td:last-child{text-align:center}.grade-list{display:flex;flex-wrap:wrap;align-items:center;gap:5px}.grade-list>.muted{font-size:11px}.add-grade{display:inline-flex;border:1px dashed #b4cedf;border-radius:4px;color:#80abc7;background:#f5faff;width:25px;height:27px;align-items:center;justify-content:center}.add-grade .icon{width:14px;height:14px}.average-number{color:#5485a6}.average-label{font-size:11px;color:#859ead;display:flex;align-items:center;gap:10px}.average-grade{background:#eaf4fb;color:#387eac;padding:0 9px;min-width:44px;font-size:12px}.grade-legend{display:flex;align-items:center;gap:8px;color:#91a7b7;font-size:10px;margin-top:20px;flex-wrap:wrap}.grade-legend .grade{width:18px;min-width:18px;height:19px;font-size:11px;margin-left:10px}.grade-legend .grade:first-child{margin-left:0}.homework-progress{display:flex;align-items:center;gap:6px;font-size:11px;color:#75a07c}.homework-progress .icon{width:15px;height:15px}.homework-list{display:flex;flex-direction:column;gap:14px}.homework-card{display:flex;align-items:center;gap:23px;padding:22px}.homework-date{display:flex;flex-direction:column;align-items:center;min-width:65px;background:#edf6fc;padding:10px 14px;border-radius:8px;color:#528eb6}.homework-date strong{font-size:27px;line-height:1.2;font-weight:500}.homework-date span{font-size:10px}.homework-date small{font-size:9px;color:#92b2c7;text-transform:uppercase;margin-top:4px}.homework-body{flex:1;min-width:0}.homework-body>.muted{font-size:11px;margin-top:6px}.homework-body>.preserve-lines{font-size:12px;line-height:1.8;margin-top:7px;color:#4b6b83}.homework-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.homework-head h2{font-size:15px}.homework-head>.muted{font-size:10px;margin-left:auto}.complete-task{display:flex;align-items:center;gap:7px;font-size:11px;color:#98aebb;margin:0;white-space:nowrap}.complete-task input{width:17px;height:17px;min-height:0;accent-color:#6da758;margin:0}.homework-card.done{background:#fcfefd;border-color:#dfeadd}.homework-card.done .preserve-lines{color:#a0b0a3;text-decoration:line-through}.homework-card.done .complete-task{color:#70a46a}
.school-hero{background:#eaf5fc;border:1px solid #dbeef8;border-radius:12px;display:flex;align-items:center;gap:27px;padding:30px}.school-crest{display:flex;align-items:center;justify-content:center;width:88px;height:100px;flex-shrink:0;background:#d4eafa;clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);color:#438fc1}.school-crest .icon{width:51px;height:51px;stroke-width:1.2}.school-hero h2{font-size:25px;color:#296b96;margin:7px 0 8px}.school-hero p{font-size:12px;color:#85a2b6}.school-hero .study-illustration{width:220px;height:170px;margin-left:auto}.school-acronym{display:flex;gap:16px;margin-top:20px;font-size:10px;color:#7b9cb2}.school-acronym b{color:#4a89b3;font-size:13px;margin-right:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 18px}.section-heading h2{font-size:18px}.section-heading>.muted{font-size:11px}.section-heading p{font-size:11px;margin-top:5px}.staff-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.staff-card{text-align:center;padding:25px 22px;display:flex;flex-direction:column;align-items:center}.staff-card .role-tag{margin:13px 0 9px}.staff-card h3{font-size:13px}.staff-card p{font-size:10px;margin:8px 0 20px;min-height:30px}.class-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.class-card{padding:22px}.class-icon{width:51px;height:51px;background:#eef6fc;border:1px solid #deedf8;color:#5793bd;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:500;margin-bottom:16px}.class-card h3{font-size:14px;margin-bottom:6px}.class-card p{font-size:11px}.card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf2f7;padding-top:13px;margin-top:17px}.management-tabs{display:flex;gap:4px;padding:5px;background:white;border:1px solid var(--line);border-radius:9px;margin-bottom:25px;overflow-x:auto}.management-tabs button{display:flex;align-items:center;gap:8px;border:0;background:none;border-radius:5px;padding:11px 17px;font-size:12px;white-space:nowrap}.management-tabs .icon{width:16px;height:16px;color:#a4b7c5}.management-tabs button.active{background:#eaf5fc;color:var(--blue)}.management-tabs button.active .icon{color:var(--blue)}.count-label{display:inline-block;margin-left:6px;font-size:11px;font-weight:500;color:#90a4b4;background:#edf3f8;padding:2px 7px;border-radius:4px;vertical-align:middle}.search-box{margin:0!important}.search-box input{width:260px;font-size:11px;min-height:36px;background:white;margin:0}.people-table{min-width:750px}.table-person{display:flex;align-items:center;gap:11px}.table-person .avatar{width:33px;height:33px;font-size:11px}.pending-class{font-size:11px;color:#cca567;background:#fff8ec;padding:4px 7px;border-radius:4px}.table-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.subject-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.subject-card{display:flex;align-items:center;gap:12px;padding:18px}.subject-card>.icon{width:36px;height:36px;background:#eff7fc;padding:8px;box-sizing:content-box;border-radius:9px;color:#82acc7}.subject-card h3{font-size:12px}.subject-card small{font-size:10px}.subject-actions{display:flex;flex-direction:column;margin-left:auto}.subject-actions .icon-button{width:25px;height:25px}.subject-actions .icon{width:14px;height:14px}
.messenger{display:grid;grid-template-columns:320px minmax(0,1fr);height:610px;overflow:hidden}.contacts{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0;background:#fcfdff}.contacts-heading{padding:22px 20px 13px;display:flex;align-items:center;justify-content:space-between}.contacts-heading h2{font-size:15px}.contacts-heading .icon{color:#98b3c6;width:18px}.contacts>.search-box{padding:0 16px 16px}.contacts>.search-box input{width:100%}.contact-list{overflow-y:auto;flex:1}.contact{display:flex;align-items:center;gap:10px;border:0;border-bottom:1px solid #f0f4f8;background:none;text-align:left;padding:16px;width:100%;color:#55728a}.contact:hover{background:#f0f7fc}.contact.active{background:#eaf5fc;border-left:3px solid var(--blue);padding-left:13px}.contact-info{flex:1;min-width:0}.contact-info strong{font-size:12px;display:block}.contact-info small{font-size:10px;display:block;color:#9bafbd;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;max-width:200px;margin-top:3px}.counter{background:var(--blue);color:white;font-size:10px;border-radius:50%;width:19px;height:19px;display:flex;align-items:center;justify-content:center}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0}.conversation>.empty{height:100%;background:#fbfdff}.conversation-header{padding:16px 23px;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;background:white}.conversation-header h2{font-size:13px}.conversation-header small{font-size:10px}.thread{flex:1;overflow-y:auto;background:#f8fbfd;padding:22px;display:flex;flex-direction:column;gap:9px;scrollbar-width:thin}.message-day{align-self:center;font-size:9px;color:#a2b5c4;margin:7px 0 11px}.message-bubble{max-width:78%;padding:10px 13px;background:white;border:1px solid #e5edf4;border-radius:10px 10px 10px 2px;align-self:flex-start;min-width:80px}.message-bubble p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;color:#56738a}.message-bubble small{display:flex;justify-content:flex-end;align-items:center;gap:3px;font-size:8px;color:#a4b9c8;margin-top:5px}.message-bubble small .icon{width:11px;height:11px}.message-bubble.outgoing{align-self:flex-end;background:#e1f0fb;border-color:#d8eaf7;border-radius:10px 10px 2px 10px}.message-form{padding:17px 20px;display:flex;gap:12px;align-items:center;background:white;border-top:1px solid var(--line);flex-wrap:wrap}.message-form textarea{flex:1;min-width:100px;resize:none;font-size:12px;margin:0}.message-form .form-error{width:100%}.message-form .button{padding:10px 13px}.contacts-empty{padding:20px;font-size:11px}.mobile-back{display:none}.load-older{align-self:center;font-size:11px}
label{display:block;font-size:12px;font-weight:500;color:#536e82;margin:17px 0 0}input,select,textarea{display:block;width:100%;border:1px solid #dae4ed;border-radius:6px;background:#fcfdff;color:#324e66;outline:none;padding:11px 12px;min-height:43px;margin-top:7px;transition:border .15s,box-shadow .15s}input::placeholder,textarea::placeholder{color:#b3bfca;font-size:12px}input:focus,select:focus,textarea:focus{border-color:#76b5de;box-shadow:0 0 0 3px #0876be0b}input:disabled,select:disabled{color:#9aafbf;background:#f3f7fa;cursor:not-allowed}textarea{resize:vertical;line-height:1.7}input[type=hidden]{display:none}select{font-size:12px}.name-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-error{background:#fff1f2;color:#bd5964;border:1px solid #f4d9dd;border-radius:6px;font-size:12px;line-height:1.7;padding:10px 12px;margin-top:13px}.form-error:empty{display:none}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}.profile-card{padding:0 25px 26px}.profile-card .card-heading{padding:20px 0}.profile-card>.muted{font-size:12px;margin-top:16px}.profile-card form>.button{margin-top:24px}.modal{border:1px solid var(--line);border-radius:13px;padding:0;width:460px;max-width:calc(100% - 30px);max-height:90vh;box-shadow:0 15px 65px #17385630;color:var(--ink);background:white;overflow-y:auto}.modal-wide{width:545px}.modal::backdrop{background:#183c5b60;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 25px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:18px}.modal>form{padding:0 25px 22px}.modal>p{padding:22px 25px}.modal form>p{margin-top:17px;font-size:12px;line-height:1.7}.modal-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:22px;margin-top:20px;border-top:1px solid var(--line)}.modal-context{display:flex;flex-direction:column;gap:5px;background:#f3f8fc;border-radius:6px;padding:12px;margin-top:20px}.modal-context strong{font-size:13px}.modal-context span{font-size:11px;color:#8ca5b8}.modal form>.text-button{margin-top:20px}.grade-detail-header{display:flex;gap:20px;align-items:center;padding:25px}.detail-grade{min-width:62px;height:62px;font-size:32px;border-radius:9px}.grade-detail-header h3{font-size:17px}.grade-detail-header p{font-size:11px;margin-top:6px}.detail-list{display:grid;grid-template-columns:105px 1fr;gap:15px;padding:0 25px 22px;margin:0;font-size:12px}.detail-list dt{color:#91a8b9}.detail-list dd{margin:0;color:#536f84}.modal>.modal-footer{margin:0 25px 22px}.app-footer{max-width:1160px;margin:0 auto;padding:22px 0 26px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:#9aafbf;font-size:10px}.initial-loading{height:85vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:#8ca8bc;font-size:13px}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,15px);padding:12px 23px;max-width:calc(100% - 30px);background:#244c68;color:white;box-shadow:0 4px 20px #153b5525;border-radius:9px;font-size:12px;z-index:1000;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.visible{opacity:1;transform:translate(-50%,0)}
.auth-header{display:flex;align-items:center;justify-content:space-between;max-width:1100px;margin:auto;padding:28px 25px}.auth-header .brand>span{font-size:28px}.header-note{display:flex;align-items:center;gap:9px;font-size:12px;color:#8d9fb0}.header-note .icon{color:#94b0c3}.auth-main{max-width:1100px;margin:23px auto 36px;display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:start;padding:0 25px}.auth-story{padding:36px 0 0 10px}.auth-story .eyebrow{color:#7e9eb4;font-size:10px;letter-spacing:1.8px}.auth-story h1{font-size:45px;line-height:1.2;color:#284a66;letter-spacing:-1.5px;margin-top:18px}.story-lead{margin-top:22px;font-size:14px;line-height:1.9;color:#89a0b2}.auth-art{height:247px;position:relative;margin:10px 0}.auth-art .study-illustration{height:245px;max-height:245px;width:300px;margin:auto}.floating-note{display:flex;gap:10px;align-items:center;position:absolute;padding:12px 15px;background:white;border:1px solid #e3edf4;border-radius:10px;box-shadow:0 5px 16px #27557706;font-size:11px;color:#5d7c92}.floating-note small{display:block;color:#a8b9c5;font-size:9px;margin-top:3px}.note-top{right:0;top:25px;transform:rotate(3deg)}.note-top>.icon{color:#5f9ac2;background:#eff7fc;padding:7px;box-sizing:content-box;border-radius:6px}.note-bottom{bottom:26px;left:-6px;transform:rotate(-3deg)}.auth-features{display:flex;gap:23px;font-size:11px;color:#7e9bb0;align-items:center;padding:17px 0 22px;border-bottom:1px solid #e0eaf1}.auth-features span{display:flex;gap:6px;align-items:center}.auth-features .icon{width:17px;height:17px;color:#699fbf}.school-sign{display:flex;gap:13px;align-items:center;margin-top:22px;color:#708fa5;font-size:11px}.school-sign>.icon{width:32px;height:32px;color:#8baac0}.school-sign small{display:block;font-size:9px;color:#a0b2bf;margin-top:3px}.auth-panel{background:white;border:1px solid #e1e9f0;border-radius:15px;padding:29px 35px 26px;box-shadow:0 5px 30px #173b5604;max-width:465px;width:100%;justify-self:end}.auth-tabs{display:flex;border-bottom:1px solid var(--line);gap:26px;margin-bottom:28px}.auth-tabs button{border:0;background:none;font-size:13px;color:#9aacb9;padding:0 0 13px;border-bottom:2px solid transparent}.auth-tabs button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:600}.auth-panel h2{font-size:23px;letter-spacing:-.6px}.auth-panel>.muted{font-size:12px;margin:9px 0 23px;line-height:1.7}.auth-panel label{font-size:11px}.auth-panel input,.auth-panel select{min-height:43px;font-size:12px}.password-field{position:relative}.password-field input{padding-right:72px}.password-field button{border:0;background:none;position:absolute;right:11px;top:0;height:100%;font-size:9px;color:#9db0bf;padding:0}.auth-submit{width:100%;margin-top:25px;padding:13px 19px;justify-content:space-between;font-size:12px}.auth-switch{font-size:11px;color:#9caebb;text-align:center;margin-top:23px}.auth-switch button{border:0;background:none;color:var(--blue);font-size:11px;padding:0 0 0 3px}.auth-help{text-align:center;font-size:9px;color:#afbec9;margin-top:27px;border-top:1px solid #eef3f7;padding-top:19px}.registration-note{display:flex;gap:8px;align-items:flex-start;background:#f3f8fc;border-radius:6px;padding:12px;margin-top:20px;color:#87a2b6}.registration-note>.icon{width:17px;height:17px;margin-top:2px}.registration-note p{font-size:10px;line-height:1.6}.registration-note strong{font-weight:500;color:#6b91ac}.auth-footer{max-width:1050px;margin:auto;border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;color:#a2b4c1;font-size:10px}.auth-footer a{color:#a2b4c1}
@media(min-width:1400px){.auth-main{margin-top:45px}.auth-story{padding-top:42px}.auth-art{height:275px}.auth-art .study-illustration{height:270px;max-height:270px}.auth-panel{padding-top:33px;padding-bottom:32px}.auth-footer{margin-top:50px}}
@media(max-width:1000px){.sub-nav{gap:17px}.sub-nav>button{font-size:11px}.metrics{gap:10px}.metric{padding:16px;gap:10px}.metric strong small{display:block;margin:0;line-height:1.4}.metric>.icon{width:38px;height:38px;padding:9px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:17px}.main-nav>button{padding:15px 20px}.staff-grid{grid-template-columns:repeat(2,1fr)}.subject-grid{grid-template-columns:repeat(2,1fr)}.auth-main{gap:30px}.auth-story h1{font-size:38px}.auth-panel{padding:25px}.auth-features{gap:15px}.school-hero .study-illustration{width:170px}.school-acronym{gap:10px}.management-tabs button{padding:11px 12px;font-size:11px}.management-tabs .icon{width:15px}.messenger{grid-template-columns:280px minmax(0,1fr)}}
@media(max-width:760px){.header-inner{min-height:80px;padding:15px 18px;gap:12px}.header-school{display:none}.brand>span{font-size:23px}.brand small{font-size:8px}.account-button{font-size:11px}.account-button small{font-size:9px}.account{gap:6px}.account-button .avatar{width:31px;height:31px;font-size:10px}.logout-button{width:27px;padding-left:5px}.logout-button>.icon{width:17px}.main-nav{border-radius:0}.main-nav>button{padding:15px 17px;font-size:10px;gap:6px;letter-spacing:.3px}.main-nav>button:first-child{border-radius:0}.main-nav .icon{width:16px;height:16px}.nav-year{display:none}.sub-nav{overflow-x:auto;padding:0 17px;gap:23px;scrollbar-width:none}.sub-nav::-webkit-scrollbar{display:none}.sub-nav>button{font-size:11px}.workspace{padding:23px 17px 35px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}.page-heading .eyebrow{font-size:8px;letter-spacing:.8px}.page-heading .muted{font-size:11px}.heading-actions .button{font-size:11px;padding:8px 11px;min-height:35px}.metrics{grid-template-columns:repeat(2,1fr);gap:11px}.metric{padding:15px;gap:12px}.metric strong small{display:inline-block;margin-left:8px;font-size:9px}.metric strong{font-size:24px}.dashboard-grid{grid-template-columns:1fr}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;align-items:start}.welcome-card{padding:22px 20px 0}.welcome-card h2{font-size:23px}.welcome-card p{font-size:10px}.welcome-card .study-illustration{max-height:160px}.welcome-bottom{margin:0 -20px;padding:11px 20px;font-size:9px}.help-card{grid-column:1/-1;padding:5px 8px}.setup-steps{padding:8px 15px 15px}.setup-steps>button{font-size:11px;gap:9px}.setup-steps small{font-size:9px}.getting-started .card-heading{padding:17px 15px}.getting-started .card-heading h2{font-size:14px}.getting-started>.muted{padding:13px 15px 3px;font-size:10px}.week-controls>span{min-width:170px;font-size:11px}.week-controls .button{font-size:10px;margin-left:0}.week-controls{gap:0}.toolbar{gap:12px}.toolbar-right{width:100%;justify-content:space-between}.toolbar .filter-group{gap:10px}.filter-label{font-size:10px}.filter-label select{width:135px;font-size:11px}.average-label{font-size:10px}.grade-table{min-width:540px}.grade-table th:first-child{width:33%}.grade-table th:last-child{width:100px}td{padding:14px 15px}.homework-card{padding:18px;gap:14px;flex-wrap:wrap}.homework-date{min-width:54px;padding:8px 10px}.homework-body{min-width:calc(100% - 85px)}.homework-head h2{font-size:14px}.homework-head>.muted{margin-left:0;font-size:9px}.homework-actions{width:100%;display:flex;justify-content:flex-end}.homework-actions .button{padding:7px 12px;min-height:33px}.school-hero{padding:25px 20px;gap:17px}.school-crest{width:62px;height:74px}.school-crest .icon{width:36px;height:36px}.school-hero h2{font-size:20px}.school-hero p{font-size:10px}.school-hero .study-illustration{display:none}.school-hero .eyebrow{font-size:8px}.school-acronym{gap:8px;flex-wrap:wrap;font-size:9px;margin-top:12px}.school-acronym b{font-size:11px}.staff-grid{gap:12px}.staff-card{padding:20px 15px}.staff-card h3{font-size:12px}.staff-card .button{font-size:11px;padding:8px 13px;min-height:35px}.class-grid{grid-template-columns:repeat(2,1fr);gap:12px}.class-card{padding:18px}.section-heading{align-items:flex-start}.section-heading h2{font-size:16px}.section-heading>.muted{display:none}.section-heading .button{font-size:11px;min-height:36px;padding:8px 11px}.management-tabs{margin-bottom:20px}.management-tabs button{font-size:11px;padding:9px 12px}.section-heading>.search-box input{width:200px;font-size:10px}.subject-card{padding:14px;gap:9px}.subject-card>.icon{width:23px;height:23px;padding:7px}.subject-card h3{font-size:11px}.subject-card small{font-size:9px}.subject-grid{gap:10px}.profile-grid{grid-template-columns:1fr;gap:18px}.profile-card{padding:0 20px 23px}.notice{padding:15px;gap:12px;flex-wrap:wrap}.notice p{font-size:11px}.notice>div{flex:1}.notice>.button{margin-left:35px}.app-footer{margin:0 17px;font-size:9px;padding:20px 0;flex-wrap:wrap;gap:8px}.app-footer>span:last-child{display:none}.auth-header{padding:22px}.auth-header .brand>span{font-size:26px}.header-note{display:none}.auth-main{display:flex;flex-direction:column;align-items:center;max-width:490px;margin:5px auto 20px;padding:0 22px;gap:25px}.auth-story{padding:12px 0 0;text-align:center;width:100%}.auth-story h1{font-size:35px;margin-top:12px;letter-spacing:-1px}.auth-story .eyebrow{font-size:8px}.story-lead{font-size:12px;margin-top:14px}.auth-art{display:none}.auth-features{justify-content:center;border-bottom:0;padding:17px 0 0;gap:20px;font-size:10px}.auth-features .icon{width:15px;height:15px}.school-sign{display:none}.auth-panel{max-width:100%;padding:25px;justify-self:stretch}.auth-panel h2{font-size:22px}.auth-panel>.muted{margin-bottom:19px}.auth-tabs{margin-bottom:24px}.auth-footer{margin:20px 22px 0;padding:17px 0;font-size:9px;flex-wrap:wrap;gap:10px}.auth-footer>span:nth-child(2){display:none}.auth-help{margin-top:23px}.messenger{display:block;height:calc(100dvh - 270px);min-height:410px}.contacts{width:100%;height:100%;border-right:0}.conversation{display:none;height:100%}.messenger:has(.has-recipient) .contacts{display:none}.conversation.has-recipient{display:flex}.mobile-back{display:inline-flex}.conversation-header{padding:13px 15px;gap:8px}.conversation-header h2{font-size:12px}.message-form{padding:12px;gap:8px}.message-form .button span{display:none}.message-form .button{padding:11px;min-width:42px}.thread{padding:15px}.message-bubble{max-width:85%}.modal-heading{padding:18px 20px}.modal>form{padding:0 20px 20px}.detail-list{padding:0 20px 20px;grid-template-columns:90px 1fr}.grade-detail-header{padding:20px}.modal{max-height:92dvh}}
@media(max-width:400px){.header-inner{padding:15px 12px}.brand>span{font-size:21px}.brand img{width:34px;height:34px}.brand small{font-size:7px}.account-button>span:not(.avatar){max-width:100px;overflow:hidden;text-overflow:ellipsis}.account-button .avatar{display:none}.main-nav>button{padding:14px 12px;font-size:9px;gap:5px}.main-nav .icon{width:14px;height:14px}.workspace{padding:22px 12px 30px}.metric{padding:13px 10px;gap:8px}.metric>.icon{width:32px;height:32px;padding:7px}.metric strong small{font-size:8px;margin-left:4px}.metric span{font-size:10px}.metric strong{font-size:22px}.dashboard-side{display:flex}.welcome-card{display:none}.week-controls>span{min-width:156px;font-size:10px}.week-controls .icon-button{width:26px}.week-controls .button{font-size:9px;padding:7px}.page-heading h1{font-size:23px}.subject-grid{grid-template-columns:1fr}.staff-grid{grid-template-columns:1fr}.section-heading{flex-wrap:wrap}.search-box input{width:100%}.toolbar .filter-group{width:100%;justify-content:space-between}.notice>.button{margin-left:0}.homework-card{padding:15px;gap:11px}.auth-header{padding:20px}.auth-main{padding:0 16px}.auth-story h1{font-size:31px}.auth-panel{padding:24px 20px}.name-fields{gap:10px}.auth-panel select{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
