/* Shared mobile workbench scale. Desktop controls retain their own layout. */
.workspace-icon{width:20px;height:20px;flex:none;vertical-align:middle}
.mobile-workspace-brand,.mobile-top-help,.mobile-page-back,.mobile-classroom-heading,.mobile-classroom-group,.mobile-classroom-label,#mobileWorkspaceNav,.classroom-layout-mobile-notice,.mobile-classroom-choices,.mobile-classroom-selected,.mobile-classroom-select-all,.mobile-classroom-batch-note,.copy-source-choices{display:none}
.mobile-broadcast-classroom[hidden]{display:none}
.classroom-desktop-only-dialog{width:min(340px,calc(100vw - 32px));border:1px solid #e0e8f4;border-radius:18px;background:#fff;padding:28px 24px 22px;color:#334f73;text-align:center;box-shadow:0 20px 70px #203b6126}
.classroom-desktop-only-dialog::backdrop{background:#20334d66}
.classroom-desktop-only-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 18px;border-radius:15px;background:#edf3ff;color:#4d79c7}
.classroom-desktop-only-icon svg{width:27px;height:27px}
.classroom-desktop-only-dialog h2{margin:0;font-size:20px;line-height:1.5;color:#2d4668}
.classroom-desktop-only-dialog p{margin:12px 0 23px;font-size:14px;line-height:1.8;color:#8192aa}
.classroom-desktop-only-dialog .button{width:100%;min-height:44px;padding:10px 18px;border:1px solid #3e70de;border-radius:10px;background:#3e70de;color:#fff;font:inherit;font-size:14px;cursor:pointer}
@media(max-width:680px){
 :root{--mobile-nav-height:calc(64px + env(safe-area-inset-bottom,0px));--mobile-top-height:56px;--m-bg:#f5f7fb;--m-surface:#fff;--m-field:#fafcff;--m-text:#293f5e;--m-muted:#8494aa;--m-line:#e0e7f1;--m-accent:#3e70de;--m-soft:#eef4ff;--m-radius:14px;--m-gap:16px;--m-action-height:68px}
 body.mobile-teacher-workspace,body.mobile-assigned-teacher{background:var(--m-bg);overflow-x:clip;color:var(--m-text);-webkit-text-size-adjust:100%}
 body.mobile-teacher-workspace button,body.mobile-assigned-teacher button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
 body.mobile-teacher-workspace button:focus-visible,body.mobile-teacher-workspace a:focus-visible{outline:2px solid var(--m-accent);outline-offset:2px}
 /* One header, with infrequent account actions collected under More. */
 body.mobile-teacher-workspace #liveTopbar{min-height:var(--mobile-top-height);height:var(--mobile-top-height);padding:8px 16px;position:sticky;top:0;z-index:24;background:var(--m-surface);border-bottom:1px solid var(--m-line)}
 body.mobile-teacher-workspace #liveTopbar>div:first-child>span,body.mobile-teacher-workspace #liveTopbar>div:first-child>i,body.mobile-teacher-workspace #liveBreadcrumb,body.mobile-teacher-workspace .live-top-actions>a,body.mobile-teacher-workspace #liveLogout,body.mobile-teacher-workspace #liveMenuToggle{display:none}
 .mobile-workspace-brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--m-text);font-size:18px}
 .mobile-workspace-brand img{width:28px;height:28px;object-fit:contain}
 body.mobile-teacher-workspace .live-top-actions .mobile-top-help{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;background:transparent;color:#7489a7}
 .mobile-top-help svg{width:22px;height:22px}
 body.mobile-teacher-workspace main.live-main{padding:22px 16px calc(var(--mobile-nav-height) + 24px)!important;min-height:calc(100dvh - var(--mobile-top-height))}
 body.mobile-teacher-workspace .live-page-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:20px;min-height:30px}
 body.mobile-teacher-workspace .live-page-heading h1{font-size:24px;line-height:1.3;font-weight:700;color:var(--m-text)}
 .mobile-page-back{display:block;flex-basis:100%;width:100%;border:0;background:none;color:#7186a5;padding:0;text-align:left;font:inherit;font-size:13px;min-height:28px}
 .mobile-page-back[hidden]{display:none}
 #mobileWorkspaceNav{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:stretch;justify-content:space-around;height:var(--mobile-nav-height);padding:6px 10px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--m-line);background:var(--m-surface)}
 #mobileWorkspaceNav[hidden],#mobileWorkspaceNav button[hidden]{display:none}
 #mobileWorkspaceNav button{border:0;background:none;color:#8b9bb1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:58px;min-height:48px;padding:3px 15px;font:inherit;font-size:11px;line-height:1.4;border-radius:11px;cursor:pointer}
 #mobileWorkspaceNav button svg{width:23px;height:23px}
 #mobileWorkspaceNav button[aria-current=page]{color:var(--m-accent);background:var(--m-soft);font-weight:600}
 /* The same class selection card is used across broadcast, homework and class affairs. */
 body.mobile-teacher-workspace .mobile-broadcast-classroom,body.mobile-teacher-workspace .classroom-commandbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-width:0;padding:16px;border:1px solid var(--m-line);border-radius:var(--m-radius);background:var(--m-surface)}
 body.mobile-teacher-workspace .mobile-broadcast-classroom[hidden]{display:none}
 body.mobile-teacher-workspace .mobile-broadcast-classroom .recipient-heading,body.mobile-teacher-workspace .classroom-context,body.mobile-teacher-workspace .classroom-command-actions{display:contents}
 body.mobile-teacher-workspace .classroom-context-icon,.classroom-desktop-label{display:none}
 .mobile-classroom-label{display:inline}
 body.mobile-teacher-workspace .classroom-context>label,body.mobile-teacher-workspace .mobile-broadcast-classroom h2{grid-column:1;grid-row:1;display:block;font-size:13px;font-weight:600;line-height:1.4;color:#657d9d;margin:0}
 body.mobile-teacher-workspace .classroom-context select{display:none}
 body.mobile-teacher-workspace .classroom-connection,body.mobile-teacher-workspace .mobile-broadcast-classroom #connection{grid-column:2;grid-row:1;justify-self:end;font-size:11px;line-height:1.4;gap:4px;margin:0;white-space:nowrap}
 .mobile-classroom-choices,body.mobile-teacher-workspace .mobile-broadcast-classroom .device-list{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;max-height:224px;overflow:auto;overscroll-behavior:contain}
 .mobile-room-option,body.mobile-teacher-workspace .mobile-broadcast-classroom .device{display:flex;align-items:center;gap:9px;min-width:0;min-height:50px;padding:11px 10px;border:1px solid var(--m-line);border-radius:10px;background:var(--m-field);color:#486181;cursor:pointer}
 .mobile-room-option:has(input:checked),body.mobile-teacher-workspace .mobile-broadcast-classroom .device:has(input:checked){background:var(--m-soft);border-color:#b8cdf3;color:#3f6db5}
 .mobile-room-option>input,body.mobile-teacher-workspace .mobile-broadcast-classroom .device input{width:18px;height:18px;accent-color:var(--m-accent);flex:none;margin:0}
 .mobile-room-option>span,body.mobile-teacher-workspace .mobile-broadcast-classroom .device-name{min-width:0;flex:1;overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:1.5}
 body.mobile-teacher-workspace .mobile-broadcast-classroom .device strong{font:inherit;overflow-wrap:anywhere}
 body.mobile-teacher-workspace .mobile-broadcast-classroom .device small{display:none}
 .mobile-classroom-selected,body.mobile-teacher-workspace .mobile-broadcast-classroom .selected-count{grid-column:1;grid-row:3;display:block;font-size:12px;color:var(--m-muted);line-height:1.5}
 .mobile-classroom-select-all,body.mobile-teacher-workspace .mobile-broadcast-classroom #selectAll{grid-column:2;grid-row:3;display:block;min-height:32px;padding:4px 0 4px 8px;border:0;background:none;color:#527bb9;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
 .mobile-classroom-batch-note{grid-column:1/-1;grid-row:4;display:block;font-size:12px;line-height:1.7;color:#7589a5;margin:0;padding-top:10px;border-top:1px solid #edf1f7}
 .mobile-classroom-batch-note[hidden]{display:none}
 /* Content is the main area. Save and send always occupy the bottom action bar. */
 body.mobile-teacher-workspace #broadcastPane:not([hidden]){display:flex;flex-direction:column;gap:var(--m-gap)}
 body.mobile-teacher-workspace #broadcastPane>.card{width:100%;padding:18px!important;border:1px solid var(--m-line);border-radius:var(--m-radius);margin:0}
 body.mobile-teacher-workspace .broadcast-text-field>span{font-size:13px;display:block;margin-bottom:10px;color:#657d9d;font-weight:600}
 body.mobile-teacher-workspace #text{font-size:16px;padding:13px;min-height:170px;line-height:1.75;resize:vertical;border-color:var(--m-line);background:var(--m-field);border-radius:10px}
 body.mobile-teacher-workspace .broadcast-bottom{display:flex!important;flex-direction:column;align-items:stretch;gap:16px;margin-top:16px}
 body.mobile-teacher-workspace .broadcast-options{font-size:13px;gap:24px;justify-content:flex-start}
 body.mobile-teacher-workspace .broadcast-options label{min-height:36px}
 body.mobile-teacher-workspace .broadcast-buttons{position:fixed;left:0;right:0;bottom:var(--mobile-nav-height);height:var(--m-action-height);z-index:32;padding:11px 16px;display:grid!important;grid-template-columns:1fr 1fr;gap:10px;border-top:1px solid var(--m-line);background:#fff}
 body.mobile-teacher-workspace .broadcast-buttons>button{width:100%!important;min-width:0;min-height:44px;padding:10px 8px;border-radius:10px;font-size:14px;white-space:nowrap}
 body.mobile-teacher-workspace:has(#broadcastPane:not([hidden])) main.live-main,body.mobile-teacher-workspace:has(.classroom-workspace:not([data-mobile-view=home])) main.live-main{padding-bottom:calc(var(--mobile-nav-height) + var(--m-action-height) + 24px)!important}
 body.mobile-teacher-workspace .broadcast-library-head{align-items:stretch;gap:12px;flex-direction:column}
 body.mobile-teacher-workspace .broadcast-library-head h2{font-size:16px}
 body.mobile-teacher-workspace .broadcast-library-head .actions{display:flex;gap:8px}
 body.mobile-teacher-workspace .broadcast-library-head .actions button{min-height:42px;font-size:12px;flex:1;padding:9px;border-radius:9px}
 body.mobile-teacher-workspace .broadcast-plan-row{gap:12px;padding:16px 0}
 body.mobile-teacher-workspace .broadcast-plan-copy{width:100%;min-width:0}
 body.mobile-teacher-workspace .broadcast-plan-copy strong{font-size:14px;line-height:1.5}
 body.mobile-teacher-workspace .broadcast-plan-copy p{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
 body.mobile-teacher-workspace .broadcast-plan-row>.actions{display:flex;flex-wrap:wrap;gap:7px;width:100%;min-width:0}
 body.mobile-teacher-workspace .broadcast-plan-row>.actions button{flex:1;min-width:58px;min-height:40px;font-size:12px;padding:8px}
 body.mobile-teacher-workspace .broadcast-settings{margin-top:14px;padding-top:14px}
 body.mobile-teacher-workspace .broadcast-settings summary,body.mobile-teacher-workspace .broadcast-audio-library summary{font-size:13px;min-height:32px;color:#657e9f}
 body.mobile-teacher-workspace .broadcast-settings p{font-size:12px;line-height:1.7}
 body.mobile-teacher-workspace .broadcast-feedback:empty,body.mobile-teacher-workspace #liveStatus:empty,body.mobile-teacher-workspace #receipts:empty,body.mobile-teacher-workspace .live-focus-status:empty{display:none}
 body.mobile-teacher-workspace .classroom-workspace{border:0;background:transparent;overflow:visible;border-radius:0}
 body.mobile-teacher-workspace .classroom-workspace-header{position:static;z-index:auto;border-radius:var(--m-radius);background:transparent;box-shadow:none}
 body.mobile-teacher-workspace .classroom-command-actions>[data-classroom-action=preview],body.mobile-teacher-workspace .classroom-modebar,body.mobile-teacher-workspace .classroom-section-picker,body.mobile-teacher-workspace .classroom-section-nav,body.mobile-teacher-workspace .classroom-form-area>header>h2{display:none}
 body.mobile-teacher-workspace .classroom-save-state{position:fixed;bottom:var(--mobile-nav-height);height:var(--m-action-height);left:0;right:0;display:flex;align-items:center;z-index:31;padding:12px 176px 12px 16px;background:#fff;border-top:1px solid var(--m-line);font-size:12px;line-height:1.5;color:var(--m-muted);margin:0;white-space:normal;text-align:left}
 body.mobile-teacher-workspace .classroom-save-state.unsaved{color:#a17d4b}
 body.mobile-teacher-workspace .classroom-command-actions>[data-classroom-action=save]{position:fixed;bottom:calc(var(--mobile-nav-height) + 11px);right:16px;min-width:145px;min-height:44px;padding:10px 14px;font-size:14px;z-index:32;border-radius:10px}
 body.mobile-teacher-workspace [data-mobile-view=home] .classroom-save-state,body.mobile-teacher-workspace [data-mobile-view=home] [data-classroom-action=save]{display:none}
 body.mobile-teacher-workspace .classroom-edit-shell,body.mobile-teacher-workspace .classroom-form-area{display:block;height:auto;background:transparent}
 body.mobile-teacher-workspace .classroom-form-area>header{padding:14px 0 10px!important;min-height:0;border:0;background:transparent}
 .mobile-classroom-heading{display:flex;align-items:center;gap:10px;padding:14px 0 10px}
 .classroom-form-area>header>.mobile-classroom-heading{padding:0}
 .mobile-classroom-heading button{min-height:36px;padding:6px 0;border:0;background:none;color:#7186a5;font:inherit;font-size:13px;cursor:pointer}
 .mobile-classroom-heading strong{display:none}
 .mobile-classroom-heading>button[data-classroom-action=preview]{margin-left:auto;color:#527bb9}
 body.mobile-teacher-workspace .classroom-form-area iframe{display:block;flex:none;height:600px;min-height:180px;width:100%;border:1px solid var(--m-line);border-radius:var(--m-radius);background:#fff;overflow:hidden}
 .mobile-classroom-group{display:block;margin-top:24px}
 .mobile-classroom-group>h2,.mobile-more-group>h2{font-size:13px;font-weight:500;color:#8796aa;line-height:1.5;margin:0 0 10px 2px}
 .mobile-classroom-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .mobile-classroom-grid>button{display:flex;align-items:center;gap:9px;min-height:68px;padding:14px 12px;border:1px solid var(--m-line);background:#fff;border-radius:12px;font:inherit;color:#4b6588;text-align:left;cursor:pointer;min-width:0}
 .mobile-classroom-grid>button strong{font-size:14px;font-weight:600;line-height:1.5}
 .mobile-classroom-grid>button>span:last-child{margin-left:auto;font-size:19px;color:#a6b5c9}
 .mobile-entry-icon{display:flex;align-items:center;color:#6489c2;flex:none}
 .mobile-entry-icon svg{width:20px;height:20px}
 .mobile-config-utilities{margin-top:10px;overflow:hidden;border:1px solid var(--m-line);border-radius:12px;background:#fff}
 .mobile-config-utilities>:is(button,a){display:flex;align-items:center;gap:10px;width:100%;min-height:58px;padding:14px;border:0;background:none;font:inherit;color:#4b6588;text-align:left;cursor:pointer;text-decoration:none}
 .mobile-config-utilities>:is(button,a)+:is(button,a){border-top:1px solid #edf1f7}
 .mobile-config-utilities strong{font-size:14px;font-weight:500}
 .mobile-config-utilities small{margin-left:auto;font-size:11px;color:#8b9db7}
 .mobile-config-utilities :is(button,a)>span:last-child{margin-left:auto;font-size:19px;color:#a6b5c9}
 .mobile-config-utilities small+span{margin-left:0!important}
 body.mobile-teacher-workspace .classroom-layout-frame{display:none!important}
 body.mobile-teacher-workspace .classroom-layout-mobile-notice{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;padding:30px 24px;border:1px solid var(--m-line);border-radius:var(--m-radius);background:#fff;text-align:center}
 .classroom-layout-mobile-notice h2{font-size:18px;color:#365375;margin:14px 0 8px}
 .classroom-layout-mobile-notice p{font-size:13px;line-height:1.8;color:#8294ae;margin:0}
 /* More is the sole hub for occasional management, downloads and account actions. */
 .mobile-more-group+.mobile-more-group{margin-top:24px}
 .mobile-more-grid{display:grid;border:1px solid var(--m-line);border-radius:var(--m-radius);background:#fff;overflow:hidden}
 .mobile-more-grid>a,.mobile-more-grid>button{min-height:58px;display:flex;align-items:center;gap:13px;padding:15px 16px;border:0;background:none;color:#486283;font:inherit;font-size:14px;text-decoration:none;text-align:left;cursor:pointer}
 .mobile-more-grid>*+*{border-top:1px solid #edf1f7}
 .mobile-more-grid svg{width:21px;height:21px;color:#6a8ac1;flex:none}
 .mobile-more-grid i{margin-left:auto;font-size:20px;color:#a2b0c4;font-style:normal}
 .mobile-account-logout{width:100%;margin-top:24px;min-height:46px;border:1px solid var(--m-line);background:#fff;border-radius:11px;color:#99727a;font:inherit;font-size:13px}
 body.mobile-teacher-workspace .live-panel,body.mobile-teacher-workspace .bound-computers,body.mobile-teacher-workspace #accountBilling{padding:18px;border:1px solid var(--m-line);border-radius:var(--m-radius);background:#fff}
 body.mobile-teacher-workspace .live-account-card{gap:16px;flex-wrap:wrap}
 body.mobile-teacher-workspace .live-panel h2{font-size:17px;line-height:1.5}
 body.mobile-teacher-workspace input:not([type=checkbox]):not([type=radio]),body.mobile-teacher-workspace textarea,body.mobile-teacher-workspace select{font-size:16px;min-width:0;max-width:100%}
 /* Modal controls follow the same scale, including scheduled broadcasts and copying configuration. */
 body.mobile-teacher-workspace dialog,body.mobile-assigned-teacher dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;border-radius:16px}
 body.mobile-teacher-workspace dialog button,body.mobile-assigned-teacher dialog button{min-height:42px;border-radius:9px}
 body.mobile-teacher-workspace dialog input:not([type=checkbox]):not([type=radio]),body.mobile-teacher-workspace dialog textarea,body.mobile-teacher-workspace dialog select,body.mobile-assigned-teacher dialog input:not([type=checkbox]):not([type=radio]),body.mobile-assigned-teacher dialog select{font-size:16px;min-height:44px}
 body.mobile-teacher-workspace .classroom-leave-dialog .modal-header{padding:22px 20px 5px}
 body.mobile-teacher-workspace .classroom-leave-dialog .modal-footer{padding:18px 20px;gap:12px}
 body.mobile-teacher-workspace .classroom-leave-dialog .modal-footer>div{width:100%;justify-content:flex-end}
 body.mobile-teacher-workspace .classroom-preview-dialog{max-width:none}
 #classroomCopyDialog .copy-source-label{display:none}
 #classroomCopyDialog .copy-source-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
 #classroomCopyDialog .copy-source-option{display:flex;align-items:center;gap:8px;min-width:0;padding:12px 10px;min-height:48px;border:1px solid var(--m-line);border-radius:9px;font-size:14px;line-height:1.5;overflow-wrap:anywhere;background:var(--m-field);cursor:pointer}
 #classroomCopyDialog .copy-source-option:has(input:checked){background:var(--m-soft);border-color:#b8cdf3;color:#3f6db5}
 #classroomCopyDialog .copy-source-option input{width:17px;height:17px;flex:none;accent-color:var(--m-accent)}
 #classroomCopyDialog .copy-body{padding:0 18px 18px}
 #classroomCopyDialog .copy-heading{padding:20px 18px 18px}
 #classroomCopyDialog .copy-heading h2{font-size:20px}
 #classroomCopyDialog .copy-symbol{display:none}
 #classroomCopyDialog .copy-heading p{font-size:12px;line-height:1.7}
 #classroomCopyDialog .copy-step{margin-top:20px}
 #classroomCopyDialog .copy-hint{font-size:12px;line-height:1.7}
 #classroomCopyDialog .copy-note{font-size:12px;line-height:1.7}
 #classroomCopyDialog .copy-note strong{font-size:12px}
 #classroomCopyDialog .copy-footer{padding:14px 18px}
 #classroomCopyDialog .copy-footer-note{display:none}
 #classroomCopyDialog .copy-footer-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:10px}
 #classroomCopyDialog .copy-target strong{font-size:14px}
 #classroomCopyDialog .copy-state,#classroomCopyDialog .copy-target small{font-size:11px}
 #classroomCopyDialog .copy-sections label{min-height:44px;font-size:13px}
 #broadcastPlanDialog{padding:20px 18px}
 #broadcastPlanDialog .bp-targets{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #broadcastPlanDialog .bp-targets label{min-height:44px;padding:9px;border:1px solid var(--m-line);border-radius:9px;background:var(--m-field);font-size:13px}
 #broadcastPlanDialog footer{position:sticky;bottom:-20px;background:#fff;padding:14px 0 2px;z-index:2}
 #broadcastPlanDialog footer button{flex:1}
 /* Invited teachers keep permission-filtered controls and their own API. */
 body.mobile-assigned-teacher{padding-bottom:var(--mobile-nav-height)}
 body.mobile-assigned-teacher .teaching-header{position:sticky;top:0;z-index:20;min-height:56px;padding:10px 16px;gap:8px;background:#fff;border-bottom:1px solid var(--m-line)}
 body.mobile-assigned-teacher .teaching-header>span{display:none}
 body.mobile-assigned-teacher #teacherIdentity{font-size:11px;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.mobile-assigned-teacher .teaching-main{padding:22px 16px 35px}
 body.mobile-assigned-teacher #workspace>.teaching-inline{display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:16px;background:#fff;border:1px solid var(--m-line);border-radius:var(--m-radius)}
 body.mobile-assigned-teacher #workspace>.teaching-inline label{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;gap:4px;font-size:12px;color:#657d9d}
 body.mobile-assigned-teacher #teacherRoom{font-size:16px;font-weight:600;border:0;min-height:28px;padding:2px 0;width:100%;min-width:0;color:#385679}
 body.mobile-assigned-teacher #teacherRefresh{font-size:12px;min-height:38px;padding:8px 10px;background:#f6f9ff;color:#5e7ca7;border-color:var(--m-line)}
 body.mobile-assigned-teacher #teacherRoomState{font-size:12px;margin:11px 3px 16px;color:#8294af}
 body.mobile-assigned-teacher .teaching-nav{position:fixed;bottom:0;left:0;right:0;z-index:40;margin:0;border-top:1px solid var(--m-line);background:#fff;display:flex;justify-content:space-around;gap:8px;padding:6px 14px calc(6px + env(safe-area-inset-bottom,0px));height:var(--mobile-nav-height)}
 body.mobile-assigned-teacher .teaching-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;max-width:125px;padding:4px 12px;min-height:48px;font-size:11px;border:0;background:none;color:#8b9bb1;border-radius:10px}
 body.mobile-assigned-teacher .teaching-nav button[hidden]{display:none}
 body.mobile-assigned-teacher .teaching-nav button[data-teacher-tab=broadcast]{order:-1}
 body.mobile-assigned-teacher .teaching-nav button svg{width:23px;height:23px}
 body.mobile-assigned-teacher .teaching-nav button[aria-pressed=true]{color:var(--m-accent);background:var(--m-soft)}
 body.mobile-assigned-teacher #teacherHomeworks,body.mobile-assigned-teacher #teacherSettings,body.mobile-assigned-teacher #broadcastPane .card{padding:18px;border-radius:var(--m-radius);border-color:var(--m-line)}
 body.mobile-assigned-teacher #teacherHomeworks h2{font-size:19px;margin-bottom:18px}
 body.mobile-assigned-teacher #teacherHomeworks>p{display:none}
 body.mobile-assigned-teacher .teaching-grid{grid-template-columns:1fr 1fr;gap:12px}
 body.mobile-assigned-teacher input,body.mobile-assigned-teacher select,body.mobile-assigned-teacher textarea{font-size:16px;min-width:0}
 body.mobile-assigned-teacher #teacherHomeworkContent{min-height:180px;line-height:1.75;margin-bottom:16px;background:var(--m-field);border-color:var(--m-line)}
 body.mobile-assigned-teacher #teacherHomeworkForm button[type=submit]{width:100%;min-height:44px;border-radius:10px}
 body.mobile-assigned-teacher #teacherHomeworkPreview{margin-top:24px}
 body.mobile-assigned-teacher .homework-preview{font-size:13px;line-height:1.8;overflow-wrap:anywhere}
 body.mobile-assigned-teacher .teaching-feedback:empty{display:none}
}
@media(max-width:350px){
 .mobile-classroom-grid>button{padding:12px 10px;gap:7px}
 .mobile-classroom-grid>button strong{font-size:13px}
 .mobile-entry-icon svg{width:18px;height:18px}
 body.mobile-teacher-workspace .mobile-broadcast-classroom,body.mobile-teacher-workspace .classroom-commandbar{padding:14px 12px}
 body.mobile-teacher-workspace .classroom-command-actions>[data-classroom-action=save]{min-width:136px;right:16px;font-size:13px}
}
