.school-workspace{display:flex;flex-direction:column;min-height:100dvh;background:#f5f7fb}
.school-workspace>.school-header{position:static;width:100%;height:auto;overflow:visible;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px;padding:18px max(20px,calc((100vw - 1240px)/2));border:0;border-bottom:1px solid #e8ebf3;background:#fff}
.school-header .brand{order:0;padding:0;min-width:0;flex-shrink:1}
.school-header .brand .logo{width:36px;height:36px;border-radius:10px}
.school-header .brand .name{max-width:none;white-space:normal;overflow-wrap:anywhere}
.school-header .platform-nav{display:none!important}
.school-account-actions{order:1;display:flex;align-items:center;justify-content:flex-end;gap:14px;flex-shrink:0}
.school-header .user-box{gap:8px;min-width:0}
.school-header .user-avatar{width:30px;height:30px;font-size:13px;flex-shrink:0}
.school-header .foot{margin:0;padding:0;border:0}
.school-header .foot .nav{display:flex;flex-direction:row;align-items:center;gap:4px}
.school-header .foot .nav a{margin:0;padding:9px;font-size:13px;min-height:40px;white-space:nowrap}
.school-admin-return{color:var(--brand);font-size:13px;text-decoration:none;padding:9px 0;min-height:40px;display:inline-flex;align-items:center}
.school-workspace>.main{width:100%;max-width:1280px;margin:0 auto;padding:28px 20px 60px}
.school-workspace>.main:has(.school-home:not(.hidden)){max-width:1160px;padding-top:34px}
.school-workspace>.main:has(.school-home:not(.hidden))>.topbar{display:none}
.school-workspace .topbar{gap:16px;align-items:center}
.school-workbench-return{flex-shrink:0;min-height:42px;font-size:13px}
.school-home-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}
.school-home-eyebrow{font-size:12px;color:#858aa0;letter-spacing:1px;margin-bottom:6px}
.school-home-heading h1{font-size:30px;letter-spacing:1px;margin:0 0 8px}
.school-home-welcome{color:#757b8f;line-height:1.7;overflow-wrap:anywhere}
.school-home-date{color:#646c83;font-size:13px;white-space:nowrap}
.school-home-panel{background:#fff;border:1px solid #e8ebf3;border-radius:18px;box-shadow:0 3px 12px #23335903;overflow:hidden}
.school-home-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px}
.school-home-section-head h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650}
.school-home-section-head h2>span{width:4px;height:17px;border-radius:3px;background:#5285ef}
.school-home .module-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:4px 24px 28px}
.school-home .module-card{align-items:center;text-align:center;padding:18px 8px;border:1px solid transparent;border-radius:14px;background:transparent;box-shadow:none;min-width:0}
.school-home .module-card:hover{transform:none;background:#f8faff;border-color:#e7ecfa;box-shadow:none}
.school-home .module-icon{width:56px;height:56px;border-radius:16px;margin:0 0 14px;background:#5b8dee;color:#fff;box-shadow:0 6px 12px #5b8dee20}
.school-home .module-icon svg{width:28px;height:28px}
.school-home [data-module=subjects] .module-icon{background:#9c82e6}
.school-home [data-module=students] .module-icon{background:#5facc6}
.school-home [data-module=observations] .module-icon{background:#54b49e}
.school-home [data-module=moral] .module-icon{background:#e49cb7}
.school-home [data-module=archives] .module-icon{background:#8a79e9}
.school-home [data-module=checks] .module-icon{background:#66aabd;color:#fff}
.school-home [data-module=teachers] .module-icon{background:#e5b160;color:#fff}
.school-home .module-card h3{font-size:14px;font-weight:550;margin:0 0 7px;overflow-wrap:anywhere}
.school-home .module-card p{font-size:11px;color:#7f879a;line-height:1.5;overflow-wrap:anywhere}
.school-admin-return:focus-visible{outline:3px solid #b6caff;outline-offset:3px}
@media(max-width:768px){
  .school-workspace>.school-header{padding:12px 14px;flex-wrap:wrap;gap:10px}
  .school-header .brand .name{font-size:14px;max-width:none}
  .school-account-actions{margin-left:auto;max-width:100%;flex-wrap:wrap;gap:6px}
  .school-header .user-name{max-width:130px;overflow-wrap:anywhere;font-size:12px}
  .school-header .foot .nav a{padding:8px;gap:5px;font-size:12px}
  .school-workspace>.main{padding:22px 14px 40px}
  .school-workspace>.main:has(.school-home:not(.hidden)){padding-top:22px}
  .school-workspace .topbar{align-items:flex-start;flex-wrap:wrap;gap:12px}
  .school-workspace .topbar h2{font-size:20px}
  .school-workbench-return{margin-left:auto;padding:9px 11px}
  .school-home-heading{align-items:flex-start;gap:14px;flex-direction:column;margin-bottom:22px}
  .school-home-heading h1{font-size:26px}
  .school-home-welcome,.school-home-date{font-size:12px}
  .school-home-panel{border-radius:14px}
  .school-home-section-head{padding:16px;gap:8px}
  .school-home-section-head h2{font-size:16px}
  .school-home .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 12px 18px}
  .school-home .module-card{padding:14px 4px}
  .school-home .module-icon{width:50px;height:50px;border-radius:14px;margin-bottom:12px}
}
