.app,.app.has-tasks{display:grid;grid-template-columns:154px minmax(0,1fr);height:100svh;min-height:100svh;max-width:none;padding:0;margin:0;overflow:hidden}.sidebar{display:flex;flex-direction:column;gap:28px;min-width:0;height:100%;padding:22px 12px 15px;background:#edf0e5;border-right:1px solid var(--line)}.sidebar .identity{gap:9px;padding:0 8px;min-height:40px}.sidebar .brand-mark{width:30px;height:30px}.sidebar .brand{font-size:33px;letter-spacing:-1px}.sidebar .module-nav{display:flex;flex-direction:column;gap:9px;padding:0;border:0;white-space:normal}.sidebar .module-nav button{display:flex;align-items:center;gap:11px;padding:13px 12px;min-height:53px;border-radius:11px;font-size:17px;line-height:1.4;font-weight:600;text-align:left;color:#6f7c6b;transition:background .16s,color .16s}.sidebar .module-nav button.is-active{background:#d8e5d3;color:var(--green)}.nav-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-footer{margin-top:auto;padding:0 9px;min-height:22px}.sidebar .sync-state{text-align:left;font-size:11px;line-height:1.5}.main-content{display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;padding:16px 22px 12px;overflow:auto}.timetable-screen{min-height:570px}.timetable-screen .orientation{min-height:58px;padding-bottom:8px}.timetable-screen .footer{min-height:28px;padding-top:6px}.tasks-screen{flex:1;display:flex;flex-direction:column;min-height:0;max-width:1060px;margin:0 auto;padding:0;width:100%}.task-toolbar{min-height:44px;margin-bottom:17px;flex-shrink:0}.task-view-switch button{min-height:40px}.task-message{flex-shrink:0}.task-message:empty{display:none}.app.has-calendar .tasks-screen{max-width:none}.app.has-calendar .task-toolbar{display:none}.app.has-calendar .main-content{overflow:hidden}.app.has-calendar #tasks-content{display:flex;flex-direction:column;flex:1;min-height:0}.app.has-calendar .task-message{margin:6px 0 0;min-height:20px}.app.has-calendar .access-panel{flex-shrink:0}.app.has-calendar .offline-tasks{padding:15px}
@media(max-width:820px){.app,.app.has-tasks{grid-template-columns:132px minmax(0,1fr)}.sidebar{padding:18px 9px 12px;gap:23px}.sidebar .identity{gap:7px;padding:0 7px}.sidebar .brand-mark{width:27px;height:27px}.sidebar .brand{font-size:29px}.sidebar .module-nav button{padding:12px 9px;gap:8px;font-size:16px}.nav-icon{width:20px;height:20px}.main-content{padding:14px 16px 10px}}
@media(max-width:640px){.app,.app.has-tasks{grid-template-columns:65px minmax(0,1fr)}.sidebar{padding:14px 5px 10px;gap:23px}.sidebar .identity{justify-content:center;padding:0;gap:0}.sidebar .brand-mark{width:32px;height:32px}.sidebar .brand{display:none}.sidebar .module-nav{gap:10px}.sidebar .module-nav button{flex-direction:column;justify-content:center;gap:6px;padding:10px 2px;min-height:65px;font-size:11px;letter-spacing:0;line-height:1.4;text-align:center}.nav-icon{width:22px;height:22px}.sidebar-footer{padding:0 2px;text-align:center}.sidebar .sync-state{font-size:10px;text-align:center}.main-content{padding:12px 10px 10px}.tasks-screen{max-width:none}.task-count strong{font-size:29px}.task-day-header h1{font-size:23px}.task-view-switch button{font-size:13px;padding:8px 10px}.task-title{font-size:18px}.task-row{gap:11px}.task-check{width:27px;height:27px}.access-panel{max-width:100%;margin-top:24px}.access-panel h1{font-size:25px}.timetable-screen{min-height:600px}.timetable-screen .class-name{font-size:16px}.timetable-screen .orientation{gap:8px}.timetable-screen .view-switch button{min-width:44px}.timetable-screen .course-subject{font-size:16px}}
@media(max-height:500px){.sidebar{gap:15px;padding-top:12px}.sidebar .module-nav{gap:6px}.sidebar .module-nav button{min-height:46px;padding-top:9px;padding-bottom:9px}.main-content{padding-top:10px}.app.has-calendar .main-content{overflow:auto}.app.has-calendar .tasks-screen{min-height:540px}}
