@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{color:#172033;font-synthesis:none;background:#f6f8fc;font-family:Inter,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.6}h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}.primary{color:#fff;background:#526be3;border:0;border-radius:12px;padding:13px 20px;font-weight:700;box-shadow:0 8px 18px #526be32b}.primary:hover{background:#435bd2}.icon-button{background:#f1f4fa;border:0;border-radius:12px;place-items:center;width:44px;height:44px;font-size:21px;display:grid}.icon-button.small{width:36px;height:36px}.language-button{color:#526be3;z-index:50;background:#fff;border:1px solid #dbe2ef;border-radius:12px;padding:11px 14px;font-weight:700;position:fixed;bottom:22px;right:22px}.eyebrow{letter-spacing:.16em;color:#70809c;text-transform:uppercase;margin-bottom:10px;font-size:12px;font-weight:700}.error{color:#c43d50;background:#fff0f2;border-radius:9px;padding:10px}.loading{place-items:center;min-height:100vh;display:grid}.auth-page{background:radial-gradient(circle at top,#eef2ff,#f7f9fc 45%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #e2e7f0;border-radius:24px;width:min(440px,100%);padding:42px;box-shadow:0 24px 60px #22305b18}.brand-mark,.logo span{color:#fff;background:#526be3;border-radius:12px;place-items:center;font-weight:700;display:grid}.brand-mark{width:50px;height:50px;margin-bottom:26px;font-size:22px}.auth-card h1{margin-bottom:10px;font-size:32px}.auth-card>p:not(.eyebrow){color:#7d8ba5;margin-bottom:28px}.auth-card form,.modal form{gap:18px;display:grid}label{color:#52617a;gap:8px;font-size:14px;font-weight:600;display:grid}input,textarea{color:#172033;background:#fff;border:1px solid #dbe2ee;border-radius:12px;outline:none;width:100%;padding:13px 15px}input:focus,textarea:focus{border-color:#526be3;box-shadow:0 0 0 3px #526be319}textarea{resize:vertical}.password-field{position:relative}.password-field input{padding-right:125px}.password-field button{background:#f1f4fa;border:0;border-radius:8px;padding:7px 10px;font-size:12px;position:absolute;top:7px;right:8px}.app-shell{grid-template-columns:290px 1fr;min-height:100vh;display:grid}.app-shell>aside{background:#fff;border-right:1px solid #e3e8f1;height:100vh;padding:34px 18px;position:sticky;top:0;overflow:auto}.logo{align-items:center;gap:12px;margin:0 14px 66px;font-size:22px;font-weight:700;display:flex}.sidebar-label{letter-spacing:.13em;color:#9aa6ba;margin:0 16px 14px;font-size:12px;font-weight:700}.app-shell>aside>button{text-align:left;color:#74829b;background:0 0;border:0;border-radius:13px;align-items:center;gap:12px;width:100%;margin-bottom:5px;padding:17px 18px;font-weight:600;display:flex}.app-shell>aside>button.active,.app-shell>aside>button:hover{color:#526be3;background:#edf0ff}.app-main{min-width:0}.topbar{background:#fff;border-bottom:1px solid #e3e8f1;justify-content:space-between;align-items:center;height:144px;padding:34px clamp(28px,5vw,82px);display:flex}.topbar h2{margin:0}.top-actions,.account-actions{align-items:center;gap:18px;display:flex}.content{max-width:1600px;margin:auto;padding:52px clamp(28px,5vw,82px)}.avatar{color:#526be3;background:#e9edff;border:0;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;padding:0;font-weight:700;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.avatar-large{width:64px;height:64px;font-size:18px}.avatar-editable{outline:3px solid #0000}.avatar-editable:hover{outline-color:#ccd5ff}.dropdown{position:relative}.dropdown-panel{z-index:60;background:#fff;border:1px solid #e0e6f0;border-radius:14px;width:350px;padding:8px;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 18px 45px #1f2b4b26}.dropdown-panel.compact{width:170px}.dropdown-panel button{text-align:left;background:0 0;border:0;border-radius:9px;width:100%;padding:11px}.dropdown-panel button:hover{background:#f3f5fa}.notification-button{position:relative}.notification-button>b,.badge{color:#fff;text-align:center;background:#e95968;border-radius:20px;min-width:21px;height:21px;padding:3px;font-size:12px;position:absolute;top:-6px;right:-5px}.dropdown-title{justify-content:space-between;align-items:center;padding:10px;display:flex}.dropdown-title button{color:#526be3;width:auto;font-size:12px}.notification{gap:4px;display:grid!important}.notification.unread{background:#eef1ff}.notification span,.notification small{color:#7e8ba3}.empty-small{color:#8d99ad;padding:18px}.page-title{justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px;display:flex}.page-title h1{margin-bottom:8px;font-size:29px}.page-title p{color:#8592a9;margin:0}.card-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:22px;display:grid}.add-card,.person-card,.class-card{background:#fff;border:1px solid #dde4ef;border-radius:20px;min-height:250px;padding:26px}.add-card{color:#526be3;text-align:center;background:0 0;border-style:dashed;place-content:center;gap:12px;display:grid}.add-card b{font-size:36px}.person-card,.class-card{position:relative;box-shadow:0 8px 24px #2534560a}.person-card>.dropdown,.class-card>div{position:absolute;top:20px;right:20px}.person-card p{color:#8491a8}.status{color:#21825b;background:#eaf8f1;border-radius:20px;padding:7px 10px;font-size:12px;font-weight:700;display:inline-block}.status.pending{color:#a66c00;background:#fff3d9}.class-card{cursor:pointer;flex-direction:column;display:flex}.class-card>small{color:#8390a6;margin-top:auto}.assigned-list{gap:8px;margin:18px 0;display:grid}.assigned-list span,.teacher-chip{align-items:center;gap:9px;font-size:13px;display:flex}.assigned-list .avatar,.teacher-chip .avatar{width:32px;height:32px}.modal-backdrop{z-index:100;background:#24304f75;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:22px;width:min(560px,100%);max-height:92vh;padding:34px;overflow:auto;box-shadow:0 28px 80px #15203d4d}.modal-wide{width:min(800px,100%)}.modal>header{justify-content:space-between;align-items:center;margin-bottom:26px;display:flex}.modal>header h2{margin:0}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid!important}.full,.photo-picker{grid-column:1/-1}.photo-picker{color:#748198;justify-items:center;gap:8px;display:grid}.form-actions{justify-content:flex-end;gap:12px;margin-top:14px;display:flex}.form-actions>button:not(.primary),.file-button,.back-button{background:#f1f4f8;border:0;border-radius:11px;padding:13px 17px;font-weight:600}.picker-list{border:1px solid #e2e7f0;border-radius:12px;max-height:270px;margin-bottom:16px;padding:8px;overflow:auto}.picker-list label{border-radius:8px;grid-template-columns:auto auto 1fr auto;align-items:center;padding:8px;display:grid}.picker-list label:hover{background:#f5f7fb}.picker-list input{width:auto}.panel{background:#fff;border:1px solid #e1e6ef;border-radius:20px;padding:30px}.tabs{border-bottom:1px solid #e1e6ef;gap:28px;margin-bottom:30px;display:flex}.tabs button{color:#8b96aa;background:0 0;border:0;border-bottom:2px solid #0000;padding:15px 0;font-weight:700}.tabs button.active{color:#526be3;border-color:#526be3}.student-row{border-top:1px solid #edf0f5;align-items:center;gap:14px;min-height:82px;padding:13px 4px;display:flex}.student-name{gap:5px;min-width:0;display:grid}.student-name small{color:#8a96aa}.contact-actions{gap:8px;margin-left:auto;display:flex}.contact-actions a{color:#64758f;border:1px solid #dce3ef;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.guardian-box{background:#f7f9fc;border-radius:14px;margin-bottom:14px;padding:18px}.danger-text{color:#c43d50!important}.empty{color:#929eb1;text-align:center;place-items:center;min-height:160px;padding:28px;display:grid}.feed-panel{max-width:900px}.feed-scroll{max-height:680px;padding-right:8px;overflow-y:auto}.post{border-top:1px solid #e7ebf2;padding:24px 0}.post header{align-items:center;gap:12px;display:flex}.post header>div:nth-child(2){gap:4px;display:grid}.post header small{color:#8b97aa}.post header>.dropdown{margin-left:auto}.post-body{white-space:pre-wrap;overflow-wrap:anywhere;margin:18px 0;line-height:1.6}.post-media{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;display:grid}.media-preview{background:0 0;border:0;border-radius:12px;max-height:360px;padding:0;overflow:hidden}.media-preview img{object-fit:cover;width:100%;height:100%;display:block}.media-video{background:#111;border-radius:12px;width:100%;max-height:420px}.file-chip{overflow-wrap:anywhere;background:#f5f7fb;border:1px solid #dce3ee;border-radius:10px;padding:12px}.preview-body{place-items:center;max-height:65vh;margin-bottom:20px;display:grid}.preview-body img,.preview-body video{max-width:100%;max-height:65vh}.download{display:inline-block}.file-button{width:max-content;display:inline-block}.pending-files{flex-wrap:wrap;gap:8px;display:flex}.pending-files span{color:#4259c8;overflow-wrap:anywhere;background:#edf1ff;border-radius:9px;align-items:center;gap:8px;max-width:100%;padding:8px 10px;display:flex}.pending-files button{color:inherit;background:0 0;border:0;font-size:18px}.messenger{background:#fff;border:1px solid #e0e6ef;border-radius:20px;grid-template-columns:320px 1fr;height:680px;display:grid;overflow:hidden}.conversation-list{border-right:1px solid #e3e8f0;padding:22px;overflow:auto}.conversation-list h2{margin-bottom:18px}.conversation-list>input{margin-bottom:12px}.conversation-list>button{text-align:left;background:0 0;border:0;border-radius:12px;align-items:center;gap:10px;width:100%;padding:12px;display:flex;position:relative}.conversation-list>button.active,.conversation-list>button:hover{background:#eef1ff}.conversation-list>button span{gap:4px;min-width:0;display:grid}.conversation-list small{color:#8995a9}.conversation-list .badge{margin-left:auto;position:static}.chat{grid-template-rows:74px minmax(0,1fr) auto;min-width:0;display:grid}.chat>header{border-bottom:1px solid #e5e9f1;align-items:center;gap:12px;padding:15px 22px;display:flex}.chat>header div{gap:4px;display:grid}.chat>header small{color:#8a96aa}.message-scroll{flex-direction:column;gap:10px;padding:26px;display:flex;overflow-y:auto}.bubble{overflow-wrap:anywhere;word-break:break-word;background:#eef3fa;border-radius:16px 16px 16px 5px;align-self:flex-start;max-width:72%;padding:12px 15px}.bubble.mine{background:#e8f5ff;border-radius:16px 16px 5px;align-self:flex-end}.bubble>small{color:#65738b;margin-bottom:5px;font-weight:600;display:block}.bubble p{white-space:pre-wrap;margin:0}.bubble time{color:#8a96a9;text-align:right;margin-top:8px;font-size:10px;display:block}.bubble .media-preview,.bubble .media-video{max-width:360px;margin-top:8px}.composer{background:#fff;border-top:1px solid #e3e8ef;padding:12px 18px}.composer>div:last-child{grid-template-columns:44px 1fr 48px;align-items:end;gap:10px;display:grid}.composer textarea{resize:none;min-height:78px}.composer .send{width:48px;height:48px;padding:0}.parent-layout{grid-template-columns:minmax(0,1fr) 300px;gap:24px;display:grid}.parent-layout .feed-panel{max-width:none}.child-card{text-align:center;background:#fff;border:1px solid #e1e6ef;border-radius:20px;height:max-content;padding:30px}.child-card h2{margin:16px 0 8px}.child-card h3{text-align:left;margin-top:28px}.teacher-chip{text-align:left;margin-top:12px}.teacher-chip span{display:grid}.teacher-chip small{color:#8793a8}.toast{z-index:200;color:#fff;cursor:pointer;background:#c54152;border-radius:11px;padding:12px 18px;position:fixed;top:18px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #0003}.back-button{margin-bottom:24px}@media (width<=900px){.app-shell{grid-template-columns:1fr}.app-shell>aside{border-bottom:1px solid #e3e8f1;border-right:0;height:auto;padding:12px;display:flex;position:static;overflow-x:auto}.logo,.sidebar-label{display:none}.app-shell>aside>button{white-space:nowrap;width:auto;margin:0}.topbar{height:auto;padding:18px 22px}.content{padding:26px 16px 80px}.messenger{grid-template-columns:1fr;height:720px}.conversation-list{border-bottom:1px solid #e3e8f0;border-right:0;max-height:190px}.conversation-list>button{width:auto;min-width:180px;display:inline-flex}.parent-layout{grid-template-columns:1fr}.child-card{order:-1}.page-title{align-items:flex-start}.form-grid{grid-template-columns:1fr}.full,.photo-picker{grid-column:auto}.modal{padding:24px}.card-grid{grid-template-columns:1fr}.dropdown-panel{width:auto;position:fixed;top:90px;left:12px;right:12px}.bubble{max-width:88%}}.link-button{color:#526be3;text-align:left;background:0 0;border:0;padding:10px 0 0;font-size:12px;font-weight:700;display:block}:root{font-size:14px}.app-shell{grid-template-columns:250px 1fr}.app-shell>aside{padding:26px 14px}.logo{margin:0 12px 48px;font-size:19px}.logo span{width:36px;height:36px}.app-shell>aside>button{padding:14px 15px}.topbar{height:118px;padding:25px clamp(24px,4vw,60px)}.content{max-width:1500px;padding:36px clamp(24px,4vw,60px)}.page-title{margin-bottom:24px}.page-title h1{font-size:25px}.card-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.add-card,.person-card,.class-card{min-height:215px;padding:22px}.person-card>.dropdown,.class-card>div{top:16px;right:16px}.person-card h3,.class-card h3{margin:18px 0 7px}.panel{padding:24px}.modal{padding:28px}.tabs{margin-bottom:24px}.student-row{min-height:68px;padding:10px 3px}.feed-scroll{max-height:590px}.post{padding:20px 0}.avatar-large{width:56px;height:56px}.assigned-list>span{align-items:center}.assigned-copy{min-width:0;gap:2px!important;display:grid!important}.assigned-copy strong{overflow-wrap:anywhere;font-size:13px}.assigned-copy small{color:#8995a9;font-size:11px}.assigned-list .avatar{flex:0 0 32px}.pending-files{flex-wrap:wrap;gap:10px;max-height:190px;padding:3px;display:flex;overflow:auto}.pending-file{background:#f6f8fc;border:1px solid #dce3ef;border-radius:12px;width:118px;position:relative;overflow:hidden}.pending-file img,.pending-file video,.pending-document{object-fit:cover;background:#e9edf5;width:100%;height:82px;display:block}.pending-document{place-items:center;font-size:28px;display:grid}.pending-file>span{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden;color:#52617a!important;background:0 0!important;border-radius:0!important;padding:7px 8px!important;display:block!important}.pending-file>button{border:0;border-radius:50%;place-items:center;width:24px;height:24px;padding:0;font-size:16px;display:grid;position:absolute;top:5px;right:5px;color:#fff!important;background:#172033d9!important}.composer>.pending-files{max-height:125px;margin-bottom:9px}.composer .pending-file{width:92px}.composer .pending-file img,.composer .pending-file video,.composer .pending-document{height:60px}.messenger{grid-template-columns:280px minmax(0,1fr);height:min(620px,100vh - 260px);min-height:500px;max-height:620px}.conversation-list,.chat,.message-scroll{min-height:0}.chat{grid-template-rows:64px minmax(0,1fr) auto;height:100%;overflow:hidden}.message-scroll{overscroll-behavior:contain}.bubble{color:#183d28;background:#e5f6e9}.bubble.mine{color:#fff;background:#526be3}.bubble.mine>small,.bubble.mine time{color:#dfe5ff}.bubble:not(.mine)>small,.bubble:not(.mine) time{color:#50715a}.composer{max-height:220px;overflow-y:auto}.composer textarea{min-height:68px;max-height:92px}@media (width<=900px){:root{font-size:13px}.app-shell{grid-template-columns:1fr}.app-shell>aside{padding:8px 9px}.app-shell>aside>button{padding:10px 12px}.topbar{min-height:76px;padding:12px 14px}.topbar .eyebrow{margin-bottom:5px}.top-actions,.account-actions{gap:8px}.avatar-large{width:46px;height:46px}.icon-button{width:38px;height:38px}.content{padding:18px 10px 40px}.page-title{gap:10px;margin-bottom:18px}.page-title h1{font-size:21px}.page-title .primary{padding:10px 12px}.panel{border-radius:15px;padding:15px}.tabs{gap:20px;margin-bottom:18px;overflow-x:auto}.tabs button{white-space:nowrap;padding:11px 0}.student-row{gap:9px}.contact-actions{gap:4px}.contact-actions a{width:32px;height:32px}.messenger{border-radius:14px;grid-template-rows:170px minmax(0,1fr);grid-template-columns:1fr;height:620px;min-height:620px;max-height:620px}.conversation-list{border-bottom:1px solid #e3e8f0;border-right:0;height:170px;max-height:170px;padding:12px;overflow:auto}.conversation-list h2{margin-bottom:8px}.conversation-list>input{margin-bottom:6px;padding:9px 11px}.conversation-list>button{width:auto;min-width:145px;padding:8px;display:inline-flex}.chat{grid-template-rows:56px minmax(0,1fr) auto;min-height:0}.chat>header{padding:8px 12px}.message-scroll{padding:12px}.bubble{max-width:90%;padding:10px 12px}.composer{padding:9px}.composer>div:last-child{grid-template-columns:38px minmax(0,1fr) 40px;gap:6px}.composer textarea{min-height:58px;padding:10px}.composer .send{width:40px;height:40px}.parent-layout{gap:14px}.child-card{padding:18px}.modal{padding:20px}.modal-backdrop{padding:10px}.pending-file{width:94px}.pending-file img,.pending-file video,.pending-document{height:64px}.card-grid{gap:12px}.add-card,.person-card,.class-card{min-height:185px;padding:18px}}@media (width<=480px){.topbar h2{font-size:16px}.notification-button{display:none}.page-title{flex-direction:column;align-items:flex-start}.page-title .primary{align-self:stretch}.student-row{flex-wrap:wrap}.student-name{flex:1}.contact-actions{order:4;justify-content:flex-end;width:100%}.messenger{height:590px;min-height:590px;max-height:590px}.conversation-list{height:155px;max-height:155px}.messenger{grid-template-rows:155px minmax(0,1fr)}.bubble{max-width:94%}}.class-card>.assigned-list{width:100%;margin:12px 0 16px;position:static!important;inset:auto!important}.class-card>.card-menu{position:absolute;top:16px;right:16px}.class-card>h3{margin-bottom:0;padding-right:42px}.assigned-copy small{display:none}.post-media{grid-template-columns:repeat(auto-fill,minmax(220px,280px));justify-content:start;align-items:start}.post-media .media-preview{background:#f3f5f9;border:1px solid #e3e8f0;place-items:center;width:100%;height:300px;max-height:300px;display:grid}.post-media .media-preview img{object-fit:contain;width:100%;height:100%}.post-media>.media-video{object-fit:contain;background:#111;width:280px;height:300px}.post-media>.file-chip{width:280px}@media (width<=600px){.post-media{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.post-media .media-preview,.post-media>.media-video{width:100%;height:220px;max-height:220px}.post-media>.file-chip{width:100%}}.topbar-identity{align-items:center;gap:14px;min-width:0;display:flex}.topbar-identity>div{min-width:0}.topbar-identity h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.topbar-identity .eyebrow{margin-bottom:6px}@media (width<=480px){.topbar-identity{gap:9px}.topbar-identity .avatar-large{width:42px;height:42px}.topbar-identity .eyebrow{letter-spacing:.1em;font-size:9px}.top-actions{flex:none}}.pwa-help{color:#59677f;margin:0 0 24px;line-height:1.65}.mobile-child-nav{display:none}.account-menu{padding:8px;width:230px!important}.account-menu .menu-switch-row{justify-content:space-between;align-items:center;gap:14px;display:flex}.switch-control{background:#d8deea;border-radius:999px;flex:0 0 42px;justify-content:flex-end;align-items:center;width:42px;height:24px;padding:2px;transition:background .18s;display:inline-flex;position:relative}.switch-control i{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s;position:absolute;left:3px;box-shadow:0 2px 5px #25314a33}.switch-control.on{background:#526be3}.switch-control.on i{transform:translate(18px)}.switch-control.language-switch{flex-basis:52px;width:52px}.switch-control.language-switch.on i{transform:translate(28px)}.switch-control b{z-index:1;color:#62708a;margin-right:5px;font-size:9px;line-height:1;position:relative}.switch-control.on b{color:#fff;margin-right:25px}@media (width<=900px){.dropdown-panel{width:min(350px,100vw - 24px);position:absolute;top:calc(100% + 8px);left:auto;right:0}.dropdown-panel.compact{width:230px}.parent-shell>aside{display:none}.mobile-child-nav{scrollbar-width:thin;background:#fff;border-bottom:1px solid #e3e8f1;gap:6px;padding:8px 12px;display:flex;overflow-x:auto}.mobile-child-nav button{color:#74829b;white-space:nowrap;background:#f3f5fa;border:0;border-radius:10px;flex:none;padding:9px 12px;font-weight:600}.mobile-child-nav button.active{color:#526be3;background:#edf0ff}}
