.mobile-workspace-navigation,.markdown-toolbar button.mobile-markdown-menu,.markdown-toolbar button.mobile-markdown-expand{display:none}@media (max-width:820px),(max-width:1100px) and (pointer:coarse){.app-shell>.workspace-hub{padding:18px 12px 30px}.app-shell .workspace-hub-heading{flex-direction:column;align-items:stretch;gap:16px}.app-shell .workspace-hub-heading h1{font-size:24px}.app-shell .workspace-hub-heading-actions{flex-wrap:wrap;gap:12px}.app-shell .workspace-hub-stats{flex-wrap:wrap;gap:18px}.app-shell .workspace-hub .workspace-table{overflow-x:hidden}.app-shell .workspace-hub .workspace-table-head{display:none}.app-shell .workspace-hub .workspace-table-row{grid-template-columns:34px minmax(0,1fr) auto 34px;gap:8px;min-width:0;padding:12px 6px}.app-shell .workspace-hub .workspace-favorite-form{grid-area:1/1/3}.app-shell .workspace-hub .workspace-name-cell{grid-area:1/2/auto/4}.app-shell .workspace-hub .workspace-owner-cell{grid-area:2/2/auto/4;font-size:12px}.app-shell .workspace-hub .workspace-table-row>span:nth-child(4){grid-area:3/2}.app-shell .workspace-hub .workspace-size-cell{grid-area:3/3;font-size:12px}.app-shell .workspace-hub .workspace-updated-cell{grid-area:4/2/auto/4;font-size:11px}.app-shell .workspace-hub .workspace-open{grid-area:1/4/3;width:34px;height:44px}.app-shell:has(.workspace[data-mobile-panel]){height:var(--teacher-viewport-height,100dvh);grid-template-rows:56px minmax(0,1fr);bottom:auto}.app-shell:has(.workspace[data-mobile-panel]) .topbar{gap:8px;padding:0 10px}.app-shell:has(.workspace[data-mobile-panel]) .brand{gap:6px;min-width:0}.app-shell:has(.workspace[data-mobile-panel]) .brand-mark{width:36px;height:36px}.app-shell:has(.workspace[data-mobile-panel]) .brand>div{min-width:0;font-size:13px}.app-shell:has(.workspace[data-mobile-panel]) .brand>div>div{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.app-shell:has(.workspace[data-mobile-panel]) .brand .muted{display:none}.app-shell:has(.workspace[data-mobile-panel]) .topbar-actions{gap:6px}.app-shell:has(.workspace[data-mobile-panel]) .topbar-workspace-usage{gap:3px;min-width:0}.app-shell:has(.workspace[data-mobile-panel]) .topbar-workspace-usage>svg{display:none}.app-shell:has(.workspace[data-mobile-panel]) .topbar-workspace-usage-copy{font-size:10px}.app-shell:has(.workspace[data-mobile-panel]) .topbar-workspace-usage-meter{width:70px}.app-shell:has(.workspace[data-mobile-panel]) .topbar-workspaces{gap:0;width:40px;min-width:40px;padding:0;font-size:0}.app-shell .workspace[data-mobile-panel]{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);min-width:0}.app-shell .workspace[data-mobile-panel]>:is(.sidebar,.workspace-main,.inspector){border:0;grid-area:1/1;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;margin:0}.app-shell .workspace[data-mobile-panel=workbench]>:is(.sidebar,.inspector),.app-shell .workspace[data-mobile-panel=navigation]>:is(.workspace-main,.inspector),.app-shell .workspace[data-mobile-panel=configurator]>:is(.workspace-main,.sidebar),.app-shell .workspace[data-mobile-panel] .workspace-panel-resizer{display:none}.app-shell .workspace[data-mobile-panel]>.sidebar{padding:12px}.app-shell .workspace[data-mobile-panel]>.inspector{padding:14px 12px 0}.app-shell .workspace[data-mobile-panel] .inspector-scroll{padding-bottom:24px}.app-shell .workspace[data-mobile-panel]>.workspace-main{padding:0 10px}.app-shell .workspace[data-mobile-panel] .address-bar{gap:4px;min-width:0;margin:0 -10px 10px;padding:8px 10px}.app-shell .workspace[data-mobile-panel] .path{min-width:0;font-size:12px}.app-shell .workspace[data-mobile-panel] :is(.address-search-button,.favorite-current){gap:0;font-size:0;width:40px!important;padding:0!important}.app-shell .workspace[data-mobile-panel] .mobile-workspace-navigation{z-index:20;padding:5px 8px max(5px, env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;grid-area:2/1;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.mobile-workspace-navigation button{color:#64748b;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;align-content:center;justify-items:center;gap:3px;padding:5px 4px;font-size:11px;display:grid}.mobile-workspace-navigation button[aria-pressed=true]{color:#126caf;background:#eaf3fb}.mobile-workspace-navigation button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.app-shell .workspace[data-mobile-panel] :is(.input,.textarea,select,.tag-editor-entry,.token-editor-input){font-size:16px}.app-shell .workspace[data-mobile-panel] :is(.icon-button,.sidebar-mode-tabs button,.context-item,.button){min-height:40px}.app-shell .workspace[data-mobile-panel] .sidebar-object-link{min-height:48px}.app-shell .workspace[data-mobile-panel] .config-field-help>button{min-width:30px;min-height:30px}.app-shell .workspace[data-mobile-panel] .tile-grid{touch-action:pan-y;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:8px;min-height:0;padding-bottom:16px}.app-shell .workspace[data-mobile-panel] .tile-wrap{content-visibility:visible;-webkit-touch-callout:none}.app-shell .workspace[data-mobile-panel] .tile{aspect-ratio:auto;grid-template-rows:52px 36px;min-height:126px;padding-top:20px}.mobile-file-menu{color:#52677c;background:0 0;border:0;border-radius:5px;place-items:center;width:40px;height:36px;padding:0;display:grid;position:absolute;top:0;right:0}.mobile-directory-toolbar{min-height:48px;color:var(--muted);align-items:center;gap:8px;margin-bottom:6px;font-size:13px;display:flex}.mobile-directory-toolbar>span{flex:1}.app-shell .workspace[data-mobile-panel] .lecture-workbench{min-height:0;padding:0}.app-shell .workspace[data-mobile-panel] .md-editor-shell{scrollbar-gutter:auto;width:100%;min-height:0}.app-shell .workspace[data-mobile-panel] .md-editor-host{min-height:100%}.app-shell .workspace[data-mobile-panel] .cm-content{padding-inline:10px!important}.app-shell .workspace[data-mobile-panel] .markdown-toolbar{gap:2px;padding:4px 2px}.app-shell .workspace[data-mobile-panel] .markdown-toolbar:not(.is-mobile-expanded)>span:not(.markdown-mobile-basic):not(.markdown-toolbar-spacer),.app-shell .workspace[data-mobile-panel] .markdown-toolbar:not(.is-mobile-expanded) .markdown-toolbar-help{display:none}.app-shell .workspace[data-mobile-panel] .markdown-toolbar button.markdown-toolbar-button{width:36px;height:36px}.app-shell .workspace[data-mobile-panel] .markdown-toolbar button.mobile-markdown-menu,.app-shell .workspace[data-mobile-panel] .markdown-toolbar button.mobile-markdown-expand{display:grid}.app-shell .workspace[data-mobile-panel] .markdown-toolbar.is-mobile-expanded .mobile-markdown-expand svg{transform:rotate(180deg)}.app-shell .workspace[data-mobile-panel] .markdown-toolbar-tooltip{display:none}.app-shell .workspace[data-mobile-panel] .markdown-toolbar-color-picker{max-width:calc(100vw - 24px);position:fixed;top:auto;bottom:76px;left:12px}.app-shell .workspace[data-mobile-panel] .md-editor-host .cm-panels-top{width:calc(100vw - 16px);max-height:calc(100dvh - 130px);top:56px!important;right:8px!important}.app-shell .workspace[data-mobile-panel] :is(.md-live-image-gallery,.md-live-sheet,.md-live-table-view){max-width:100%}.app-shell .workspace[data-mobile-panel] .sheet-mobile-secondary{display:none}.app-shell .workspace[data-mobile-panel] .sheet-toolbar{flex-shrink:0;gap:3px;padding:4px}.app-shell .workspace[data-mobile-panel] .sheet-tool-button{min-width:40px;height:40px}.app-shell .workspace[data-mobile-panel] .sheet-formula-bar{flex-shrink:0;grid-template-columns:40px 20px minmax(0,1fr) 40px;min-height:44px}.app-shell .workspace[data-mobile-panel] .sheet-formula-bar input{min-width:0;font-size:16px}.app-shell .workspace[data-mobile-panel] .sheet-formula-apply{width:40px;height:40px}.app-shell .workspace[data-mobile-panel] .sheet-grid,.app-shell .workspace[data-mobile-panel] .sheet-grid .rdg-cell{touch-action:pan-x pan-y}.app-shell .workspace[data-mobile-panel] .sheet-grid-wrap{min-width:0}.app-shell .workspace[data-mobile-panel] .sheet-search-panel{flex-wrap:wrap;min-width:0}.app-shell .workspace[data-mobile-panel] .table-workbench{width:100%;min-width:0}.app-shell .workspace[data-mobile-panel] .table-result{width:100%;min-width:0;overflow:auto}.app-shell .workspace[data-mobile-panel] .table-sort-button{min-height:40px}.app-shell .workspace[data-mobile-panel] :is(.file-workbench,.file-templates-workbench,.student-tabs-editor,.workspace-settings-workbench,.tag-catalog,.sort-catalog){width:100%;min-width:0;max-width:100%}.app-shell .workspace[data-mobile-panel] :is(.workspace-settings-workbench,.teacher-preferences-workbench,.module-manager-workbench){padding:14px 4px 28px}.app-shell .workspace[data-mobile-panel] .settings-group{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 0}.app-shell .workspace[data-mobile-panel] .settings-page-head{grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:10px;min-height:0;padding:0 0 14px;display:grid}.app-shell .workspace[data-mobile-panel] .settings-page-head h1{font-size:18px}.app-shell .workspace[data-mobile-panel] .settings-page-head .settings-save-status{grid-column:2/-1}.app-shell .workspace[data-mobile-panel] :is(.module-select-setting,.teacher-preference-choice){grid-template-columns:minmax(0,1fr);gap:8px}.app-shell .workspace[data-mobile-panel] .module-select-setting select{width:100%;max-width:100%}.app-shell .workspace[data-mobile-panel] .settings-toggle-row{gap:14px}.app-shell .workspace[data-mobile-panel] :is(.module-manager-tabs,.settings-category-tabs){max-width:100%;overflow-x:auto}.app-shell .workspace[data-mobile-panel] :is(.module-bank-row,.module-installed-row){flex-wrap:wrap;gap:10px}.app-shell .workspace[data-mobile-panel] .file-templates-workbench>header{flex-wrap:wrap;gap:8px}.app-shell .workspace[data-mobile-panel] .file-template-row{grid-template-columns:28px minmax(0,1fr) auto;gap:5px}.app-shell .workspace[data-mobile-panel] .file-template-drag{display:none}.app-shell .workspace[data-mobile-panel] .file-template-edit{gap:0;width:36px;font-size:0}.app-shell .workspace[data-mobile-panel] .file-template-actions{gap:2px}.app-shell .workspace[data-mobile-panel] :is(.student-tab-fields,.student-tab-config,.student-tab-grid,.form-row,.grid-two),.app-shell .workspace[data-mobile-panel] .student-tab-config-grid{grid-template-columns:minmax(0,1fr)}.app-shell .workspace[data-mobile-panel] .student-tabs-editor-head{flex-wrap:wrap}.app-shell .workspace[data-mobile-panel] .student-tab-config-actions{flex-wrap:wrap;gap:6px;display:flex}.app-shell .workspace[data-mobile-panel] .student-tab-config-actions>:first-child{margin-right:auto}.app-shell .workspace[data-mobile-panel] .student-tabs-default-folder{grid-template-columns:minmax(0,1fr)}.app-shell .workspace[data-mobile-panel] :is(.schedule-event-create,.schedule-calendar-create){flex-wrap:wrap;display:flex}.app-shell .workspace[data-mobile-panel] .schedule-event-create>*{width:100%;min-width:0}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"]>div:first-child{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px;display:grid}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"]>div:first-child input,.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"]>div:first-child select{height:40px;font-size:16px}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] table{width:100%;min-width:0;display:block}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] tbody{display:block}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] tbody tr{border-bottom:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding:12px 10px;display:grid}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] tbody td{white-space:normal;border:0;min-width:0;max-width:100%;padding:0;display:block}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] tbody td:first-child{grid-column:1/-1}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] tbody td:before{color:#6b7789;margin-bottom:3px;font-size:10px;display:block}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] td:nth-child(2):before{content:"Материал"}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] td:nth-child(3):before{content:"Ученик"}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] td:nth-child(4):before{content:"Статус"}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] td:nth-child(5):before{content:"Активность"}.app-shell .workspace[data-mobile-panel] section[aria-label="Таблица домашних заданий"] td:nth-child(6):before{content:"Создано"}.app-shell .workspace[data-mobile-panel] .homework-workbench{gap:10px;padding:6px 0 20px}.app-shell .workspace[data-mobile-panel] :is(.homework-material-section,.homework-history-section){border-radius:4px;padding:12px 10px}.app-shell .workspace[data-mobile-panel] .homework-material-heading a{white-space:normal;overflow-wrap:anywhere;font-size:15px}.app-shell .workspace[data-mobile-panel] :is(.homework-review-panel,.homework-review-actions){width:100%;min-width:0}.app-shell .workspace[data-mobile-panel] .homework-review-panel{padding-left:8px}.app-shell .workspace[data-mobile-panel] .homework-review-status{max-width:100%}.app-shell .workspace[data-mobile-panel] .shortcut-workbench{flex-direction:column;justify-content:flex-start;align-items:flex-start;padding:20px 10px}.app-shell .workspace[data-mobile-panel] :is(.file-preview,.file-preview-image,.file-media-preview){min-width:0;max-width:100%}body:has(.workspace[data-mobile-panel]) .modal-backdrop{align-items:center;padding:8px}:is(body:has(.workspace[data-mobile-panel]) .modal-backdrop>[role=dialog],body:has(.workspace[data-mobile-panel]) .modal-backdrop>[role=alertdialog]){width:100%;min-width:0;max-width:100%;max-height:calc(var(--teacher-viewport-height,100dvh) - 16px);border-radius:6px;overflow-y:auto}body:has(.workspace[data-mobile-panel]) .modal-backdrop :is(input:not([type=checkbox]):not([type=radio]),textarea,select){font-size:16px}body:has(.workspace[data-mobile-panel]) .modal-backdrop :is(.form-row,.grid-two,.search-primary-fields,.student-tab-fields){grid-template-columns:minmax(0,1fr)}body:has(.workspace[data-mobile-panel]) :is(.modal-actions,.dialog-actions,.app-dialog-actions){flex-wrap:wrap}body:has(.workspace[data-mobile-panel]) .context-item{min-height:44px}body:has(.workspace[data-mobile-panel]) .markdown-context-menu{width:calc(100vw - 16px);max-height:calc(var(--teacher-viewport-height,100dvh) - 100px);overflow-y:auto;left:8px!important}body:has(.workspace[data-mobile-panel]) .markdown-context-submenu-panel{width:100%;max-width:100%;box-shadow:none;border:0;border-left:2px solid var(--line);margin:4px 0;position:static!important}body:has(.workspace[data-mobile-panel]) .markdown-context-menu button{min-height:42px}body:has(.workspace[data-mobile-panel]) .sheet-toolbar-menu{max-width:calc(100vw - 16px)}body:has(.workspace[data-mobile-panel]) .sheet-color-control{min-width:40px;height:40px}body:has(.workspace[data-mobile-panel]) .sheet-color-swatches{grid-template-columns:repeat(5,36px)}body:has(.workspace[data-mobile-panel]) :is(.sheet-color-swatch,.sheet-color-reset){width:36px;height:36px}body:has(.workspace[data-mobile-panel]) .homework-dialog{height:calc(100dvh - 16px)}body:has(.workspace[data-mobile-panel]) .homework-dialog-body{padding:10px}}
