*{box-sizing:border-box}body{color:#172033;background:#f7f9fc;margin:0;font-family:Arial,Tahoma,sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,92%);margin:auto}.top{z-index:20;background:#fff;border-bottom:1px solid #e8edf5;position:sticky;top:0}.nav{justify-content:space-between;align-items:center;min-height:72px;display:flex}.brand{align-items:center;gap:10px;font-size:20px;font-weight:900;display:flex}.brandLogo{object-fit:contain;width:190px;height:60px;display:block}.btn{color:#fff;background:#5b3df5;border-radius:14px;padding:11px 18px;font-weight:800;display:inline-flex}.ghost{background:#fff;border:1px solid #dfe5ef;border-radius:14px;padding:10px 16px}.hero{background:linear-gradient(#fff,#f7f9fc);padding:68px 0 48px}.heroGrid{grid-template-columns:1.15fr .85fr;align-items:center;gap:32px;display:grid}.eyebrow{color:#5b3df5;background:#ece8ff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;display:inline-block}.hero h1{margin:18px 0;font-size:clamp(36px,5vw,64px)}.hero p{color:#5f6b7a;font-size:19px;line-height:1.9}.heroCard{color:#fff;background:#101729;border-radius:30px;padding:26px}.section{padding:58px 0}.head{justify-content:space-between;align-items:end;gap:30px;margin-bottom:24px;display:flex}.head h2{margin:8px 0;font-size:32px}.muted{color:#6f7a89}.grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.card{background:#fff;border:1px solid #e7ebf2;border-radius:24px;padding:22px}.pill{color:#087969;background:#e9fbf7;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;display:inline-block}.meta{color:#687486;flex-wrap:wrap;gap:10px;font-size:13px;display:flex}.teacher{gap:14px;display:flex}.avatar{color:#5b3df5;background:#f0edff;border-radius:18px;place-items:center;width:58px;height:58px;font-size:22px;font-weight:900;display:grid}.profileHero{color:#fff;background:linear-gradient(135deg,#11182b,#243a6b);padding:46px 0 28px}.split{grid-template-columns:1fr 330px;gap:24px;display:grid}.statGrid,.quick{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.stat{text-align:center;background:#fff;border:1px solid #e7ebf2;border-radius:20px;padding:18px}.stat b{color:#5b3df5;font-size:26px;display:block}.topStudent{background:#fffaf0;border:1px solid #f1dfac}.dash{grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{color:#fff;background:#101729;padding:24px}.sidebar a{color:#dce4f1;border-radius:12px;padding:12px 14px;display:block}.content{padding:30px}.footer{color:#cfd7e6;background:#101729;padding:30px 0}@media (max-width:900px){.heroGrid,.split,.dash{grid-template-columns:1fr}.grid,.quick,.statGrid{grid-template-columns:1fr 1fr}}@media (max-width:620px){.grid,.quick,.statGrid{grid-template-columns:1fr}.head{display:block}}input,select,textarea,button{font:inherit}button{cursor:pointer}.authPage{background:radial-gradient(circle at 80% 0,#e9e4ff,#0000 35%),#f7f9fc;place-items:center;min-height:100vh;padding:32px;display:grid}.authCard{background:#fff;border:1px solid #e7ebf2;border-radius:30px;width:min(520px,94vw);padding:30px;box-shadow:0 24px 70px #24334d18}.authCard.wide{width:min(820px,94vw)}.authCard h1{margin:14px 0 8px}.formStack{gap:14px;display:grid}.formStack label,.formGrid label{color:#354156;gap:7px;font-size:13px;font-weight:800;display:grid}.formStack input,.formStack select,.formStack textarea,.formGrid input,.formGrid select,.formGrid textarea,.inlineForm input,.inlineForm select,.decisionBox input,.chatComposer input,.attendanceRow input,.attendanceRow select{background:#fff;border:1px solid #dce3ed;border-radius:13px;outline:none;width:100%;padding:11px 12px}.formStack input:focus,.formGrid input:focus,.formGrid select:focus,.formGrid textarea:focus{border-color:#7b65f6;box-shadow:0 0 0 3px #7862f515}.formGrid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.formGrid .full{grid-column:1/-1}.formActions,.headActions,.profileActions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.notice{color:#275d82;background:#eef7ff;border-radius:15px;padding:13px 15px;font-size:14px}.notice.danger{color:#a43643;background:#fff0f1}.notice.success{color:#167253;background:#edfbf5}.sideInstitute{background:#ffffff0d;border-radius:16px;gap:5px;margin:26px 0 14px;padding:14px;display:grid}.sideInstitute small{color:#aebbd0}.sideLogout{color:#fff;background:0 0;border:1px solid #ffffff24;border-radius:12px;width:100%;margin-top:22px;padding:11px}.sidebar nav{gap:3px;display:grid}.sidebar nav a:hover{background:#ffffff10}.content{min-width:0}.compact{padding-top:26px;padding-bottom:26px}.dashboardGrid{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.textLink{color:#5b3df5;margin-top:12px;font-weight:900;display:inline-block}.twoCol{grid-template-columns:minmax(280px,.8fr) minmax(0,1.5fr);align-items:start;gap:20px;display:grid}.stack{gap:16px;display:grid}.tableCard{background:#fff;border:1px solid #e7ebf2;border-radius:22px;overflow:hidden}.tableHeader{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:17px 20px;display:flex}.dataList{display:grid}.simpleRow,.requestRow,.noticeRow,.attendanceRow{border-bottom:1px solid #eef1f5;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;display:flex}.simpleRow:last-child,.requestRow:last-child,.noticeRow:last-child,.attendanceRow:last-child{border-bottom:0}.simpleRow small,.requestRow small,.noticeRow span{color:#748092;margin-top:4px;display:block}.rowMeta{text-align:left;color:#657083;gap:4px;font-size:12px;display:grid}.rowTitle{justify-content:space-between;align-items:center;gap:12px;display:flex}.rowTitle h3{margin:0}.statusBadge{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;display:inline-flex}.statusBadge.pending{color:#95640b;background:#fff4d9}.statusBadge.accepted{color:#13714d;background:#e7f9f0}.statusBadge.rejected{color:#a83a42;background:#ffeded}.decisionBox{gap:8px;min-width:270px;display:grid}.decisionBox>div{gap:8px;display:flex}.smallBtn{padding:8px 12px;font-size:12px}.dangerText{color:#b13e49}.miniNote{color:#687486;background:#f7f8fb;border-radius:12px;margin-top:10px;padding:10px 12px;font-size:12px}.emptyState{text-align:center;color:#8791a0;padding:34px}.checkLine{align-items:center;grid-template-columns:auto 1fr!important;gap:9px!important;display:flex!important}.checkLine input,.permissionItem input{width:auto}.permissionGrid{grid-template-columns:repeat(2,1fr);gap:9px;margin:14px 0;display:grid}.permissionItem{border:1px solid #e6eaf1;border-radius:12px;align-items:center;padding:10px 12px;gap:9px!important;font-size:13px!important;display:flex!important}.inlineForm{grid-template-columns:130px 120px 120px 1fr auto;gap:8px;margin-top:13px;display:grid}.scheduleList{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.scheduleList span{color:#5841b5;background:#f4f1ff;border-radius:10px;padding:7px 10px;font-size:12px;font-weight:800}.courseManage h3,.coursePublic h3{margin:10px 0 7px}.profileGrid{grid-template-columns:1.2fr .8fr;align-items:center;gap:28px;display:grid}.profileHero h1{margin:15px 0 8px;font-size:44px}.lightMeta{color:#dbe4f3}.publicInfoCard{background:#ffffff0d;border:1px solid #fff2;border-radius:24px;padding:22px}.publicInfoCard p{color:#e1e7f0}.darkGhost{color:#fff;background:0 0;border-color:#ffffff35}.subjectStrip{flex-wrap:wrap;gap:12px;display:flex}.subjectChip{background:#fff;border:1px solid #e6eaf1;border-radius:17px;gap:4px;min-width:180px;padding:15px 18px;display:grid}.subjectChip small{color:#7a8594}.softSection{background:#f1f4fa}.openBadge,.closedBadge{border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900}.openBadge{color:#18734d;background:#e8faef}.closedBadge{color:#6d7480;background:#f1f2f5}.teacherLine{border-top:1px solid #eef1f5;border-bottom:1px solid #eef1f5;gap:3px;padding:11px 0;display:grid}.teacherLine small{color:#7c8795}.courseFooter{justify-content:space-between;align-items:end;gap:12px;margin-top:15px;display:flex}.courseFooter>div{gap:4px;display:grid}.courseFooter small{color:#778292}.ctaBand{color:#fff;background:#11182b;border-radius:28px;justify-content:space-between;align-items:center;gap:25px;padding:28px;display:flex}.ctaBand p{color:#cfd8e7;max-width:720px}.miniStat{min-width:160px}.attendanceRow{grid-template-columns:1.2fr 140px 1fr auto;display:grid}.attendanceRow small{color:#778292;margin-top:3px;display:block}.assistantLayout{grid-template-columns:minmax(0,1fr) 300px;gap:18px;display:grid}.assistantChat{background:#fff;border:1px solid #e6eaf1;border-radius:24px;grid-template-rows:1fr auto;min-height:650px;display:grid;overflow:hidden}.chatMessages{flex-direction:column;gap:12px;padding:20px;display:flex;overflow:auto}.bubble{border-radius:18px;max-width:80%;padding:12px 15px}.bubble p{white-space:pre-wrap;margin:5px 0 0;line-height:1.7}.bubble small{opacity:.7}.bubble.user{background:#f1f3f7;margin-right:auto}.bubble.assistant{color:#fff;background:#5b3df5;margin-left:auto}.chatComposer{border-top:1px solid #edf0f5;gap:9px;padding:14px;display:flex}.chatComposer input{flex:1}.metricList{gap:10px;display:grid}.metricList span{border-bottom:1px solid #eef1f5;justify-content:space-between;padding:10px 0;display:flex}@media (max-width:1050px){.dashboardGrid{grid-template-columns:1fr 1fr}.twoCol,.assistantLayout,.profileGrid{grid-template-columns:1fr}.inlineForm{grid-template-columns:1fr 1fr}.attendanceRow{grid-template-columns:1fr 130px}.attendanceRow input{grid-column:1/-1}.decisionBox{min-width:0}.requestRow{flex-direction:column;align-items:flex-start}}@media (max-width:720px){.formGrid,.permissionGrid,.dashboardGrid{grid-template-columns:1fr}.formGrid .full{grid-column:auto}.simpleRow,.noticeRow,.courseFooter,.ctaBand{flex-direction:column;align-items:flex-start}.bubble{max-width:92%}.authCard{padding:22px}.content{padding:20px}.inlineForm,.attendanceRow{grid-template-columns:1fr}}.reportGrid{grid-template-columns:repeat(4,1fr);gap:15px;display:grid}.reportCard{background:#fff;border:1px solid #e6eaf1;border-radius:20px;gap:9px;padding:21px;display:grid}.reportCard span{color:#768191;font-size:13px;font-weight:700}.reportCard b{color:#3d2bc0;font-size:28px}@media (max-width:950px){.reportGrid{grid-template-columns:repeat(2,1fr)}}@media (max-width:520px){.reportGrid{grid-template-columns:1fr}}.planUsageBar{background:#fff;border:1px solid #dfe5ef;border-radius:16px;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;padding:14px 16px;display:flex}.planUsageBar>div{gap:4px;display:grid}.planUsageBar span{color:#6d7887;font-size:12px}.planUsageBar.limitReached{background:#fff7f7;border-color:#f0c9cd}.planUsageBar.limitReached strong{color:#a53b46;font-size:12px}.usageTrack{background:#edf0f5;border-radius:999px;width:180px;height:7px;overflow:hidden}.usageTrack span{background:#5b3df5;border-radius:999px;height:100%;display:block}.searchBar,.filterBar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.searchBar input,.filterBar input,.filterBar select{background:#fff;border:1px solid #dce3ed;border-radius:12px;padding:10px 12px}.searchBar input{min-width:250px}.topGap{margin-top:14px}.timeline{gap:10px;margin-top:16px;display:grid}.timelineItem{background:#faf9ff;border-right:3px solid #8b78f6;border-radius:12px;padding:12px 14px}.timelineItem p{margin:6px 0;line-height:1.7}.timelineItem small{color:#778292}.unreadRow{background:#faf9ff}.miniForm{margin-top:14px}@media (max-width:720px){.planUsageBar{flex-direction:column;align-items:flex-start}.usageTrack,.searchBar,.filterBar,.searchBar input,.filterBar input,.filterBar select{width:100%}}.brandLogo{max-width:100%}@media (max-width:620px){.brandLogo{width:150px;height:52px}.nav{min-height:64px}}
