.app-shell{display:flex;height:100vh;overflow:hidden}.app-sidebar{width:240px;padding:16px;border-right:1px solid #eee;background:#fafafa}.app-main,.app-sidebar{overflow-y:auto;box-sizing:border-box}.app-main{flex:1 1;padding:24px;min-width:0}.app-main-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:8px}.app-nav-mobile{display:none}.app-nav-mobile>summary{list-style:none;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:700;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc;padding:10px 12px}.app-nav-mobile>summary::-webkit-details-marker{display:none}.app-nav-mobile>summary:after{content:"▾";float:right;color:#475569}.app-nav-mobile[open]>summary:after{content:"▴"}.ts-filter-bar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ts-drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.2);z-index:60}.ts-drawer{position:fixed;top:10px;right:10px;bottom:10px;width:min(560px,calc(100vw - 20px));background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:auto;z-index:70;box-shadow:0 10px 32px rgba(2,6,23,.2);padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.app-main table{max-width:100%}.teacher-workspace-hero__header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:center}.teacher-workspace-hero__content{min-width:0}.teacher-workspace-hero__actions{display:flex;gap:8px;flex-wrap:wrap}.table-scroll{overflow-x:auto;width:100%;-webkit-overflow-scrolling:touch}@media (max-width:1200px){.app-sidebar{width:220px;padding:14px}.app-main{padding:18px}}@media (max-width:900px){body,html{max-width:100%;overflow-x:hidden}.app-shell{display:block;height:auto;overflow:visible}.app-sidebar{width:auto;border-right:0;border-bottom:1px solid #eee;overflow:visible;padding:12px;position:-webkit-sticky;position:sticky;top:0;z-index:40;background:#fff;box-shadow:0 1px 0 rgba(15,23,42,.06)}.app-main{width:100%;overflow:visible;padding:12px 12px calc(12px + env(safe-area-inset-bottom))}.app-main,.app-main *{box-sizing:border-box}.app-main :where(div,section,article,aside,form,fieldset,details,summary,header,footer,nav,label,p,h1,h2,h3,h4){min-width:0;max-width:100%;overflow-wrap:anywhere}.app-main :where(input,select,textarea,button,a){max-width:100%}.app-main :where(input,select,textarea){width:100%;font-size:16px}.app-main :where(button,a){min-height:44px;align-items:center}.app-main-head{flex-direction:column;align-items:flex-start}.app-nav-desktop{display:none}.app-nav-mobile{display:block}.ts-filter-bar{flex-direction:column;align-items:stretch}.ts-filter-bar a,.ts-filter-bar button,.ts-filter-bar input,.ts-filter-bar select{width:100%;justify-content:center}.app-main table{display:block;width:100%;overflow-x:auto;white-space:nowrap}.table-scroll{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px;scroll-padding-left:12px;scroll-padding-right:12px}.app-main table,.table-scroll table{-webkit-overflow-scrolling:touch}.app-main :where(th,td){padding:10px 8px;vertical-align:top}.app-main [style*=grid-template-columns],.app-main [style*=gridTemplateColumns]{grid-template-columns:1fr!important}.app-main [style*=grid-column],.app-main [style*=gridColumn]{grid-column:auto!important}.teacher-workspace-hero__header{align-items:stretch}.teacher-workspace-hero__content h1{font-size:24px!important}.teacher-workspace-hero__actions{display:grid;width:100%}.teacher-workspace-hero__actions a,.teacher-workspace-hero__actions button{width:100%;justify-content:center}.ts-drawer-overlay{background:rgba(15,23,42,.28)}.ts-drawer{top:auto;right:0;left:0;bottom:0;width:100%;height:min(80vh,700px);border-radius:14px 14px 0 0;padding-bottom:calc(18px + env(safe-area-inset-bottom))}}@media (max-width:640px){.app-sidebar{padding:10px}.app-main{padding:10px 10px calc(16px + env(safe-area-inset-bottom))}.app-nav-mobile>summary{min-height:44px;display:flex;align-items:center}.app-main :where(h1){font-size:26px!important;line-height:1.15}.app-main :where(h2){font-size:22px!important;line-height:1.2}.app-main :where(h3){font-size:18px!important;line-height:1.25}.app-main :where(form){gap:10px!important}.app-main :where(form)>:where(label,input,select,textarea,button,a){width:100%}.app-main :where(form) a,.app-main :where(form) button,.app-main :where(form)>:where(button,a){justify-content:center}.app-main :where(button,a){width:auto;white-space:normal;text-align:center}.app-main :where(td) :where(button,a){min-height:40px}.app-main table{font-size:12px}.ts-drawer{height:min(86vh,760px);border-radius:16px 16px 0 0}}@media (min-width:901px){.app-nav-mobile{display:none}.app-nav-desktop{display:block}}