.mobile-toolbar-menu,.mobile-save-status,.mobile-properties-heading,.mobile-save-label{display:none}@media (max-width:820px){.product-island-only-route{width:100%;min-width:0;height:var(--mobile-editor-height,100dvh);grid-template-columns:minmax(0,1fr);min-height:0}.product-real-app-island,.editor-shell,.editor-grid,.workspace-column,.source-panel,.config-panel{min-width:0;max-width:100%}.product-island-only-route .editor-shell,.product-island-only-route .student-shell,.editor-shell{height:var(--mobile-editor-height,100dvh);min-height:0}.product-island-only-route .product-island-loading{min-height:100dvh}.top-toolbar{z-index:60;gap:8px;padding:10px 12px;position:relative}.top-toolbar>div:first-child{gap:10px;width:100%;min-width:0;padding-bottom:14px}.top-toolbar>div:first-child>input{flex:1;width:0}.mobile-save-status{white-space:nowrap;text-overflow:ellipsis;color:#15803d;font-size:10px;display:block;position:absolute;top:42px;left:66px;right:12px;overflow:hidden}.top-toolbar>div:last-child{gap:8px;min-width:0;padding-bottom:4px;overflow:visible}.top-toolbar .desktop-toolbar-secondary,.desktop-save-label{display:none}.mobile-save-label{display:inline}.top-toolbar .toolbar-button{flex:1 1 0;min-width:0;height:44px;padding-inline:10px;font-size:12px}.top-toolbar .icon-button{width:44px;height:44px}.mobile-toolbar-menu{flex:0 0 44px;display:block}.mobile-toolbar-menu>summary{cursor:pointer;background:#f4f4f5;border-radius:12px;place-items:center;width:44px;height:44px;list-style:none;display:grid}.mobile-toolbar-menu>summary::-webkit-details-marker{display:none}.mobile-toolbar-menu-content{background:#fff;border:1px solid #d4d4d8;border-radius:16px;width:min(280px,100vw - 24px);max-height:calc(100dvh - 180px);padding:8px;display:grid;position:absolute;top:calc(100% - 4px);right:12px;overflow-y:auto;box-shadow:0 12px 36px #0f172a26}.mobile-toolbar-menu-content :is(a,button,label){color:#27272a;text-align:left;cursor:pointer;border-radius:10px;align-items:center;gap:12px;min-height:48px;padding:10px 12px;font-size:14px;font-weight:650;display:flex}.mobile-toolbar-menu-content :is(a,button,label):hover{background:#f4f4f5}.mobile-menu-account{overflow-wrap:anywhere;color:#71717a;padding:12px;font-size:12px}.mobile-toolbar-menu-content :focus-visible,.mobile-panel-tabs button:focus-visible,.mobile-toolbar-menu summary:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.editor-grid{order:10;grid-template-columns:minmax(0,1fr);overflow:hidden}.mobile-panel-tabs{padding-bottom:max(8px, env(safe-area-inset-bottom));border-top:1px solid #e4e4e7;border-bottom:0;order:20}.mobile-panel-tabs button{height:48px}.editor-grid.mobile-panel-properties{grid-template-rows:auto minmax(0,1fr)}.mobile-panel-properties .mobile-properties-heading{background:#fff;border-bottom:1px solid #e4e4e7;justify-content:space-between;align-items:center;gap:10px;padding:8px 14px;display:flex}.mobile-properties-heading strong{min-width:0;font-size:12px}.mobile-properties-heading button{color:#1d4ed8;flex-shrink:0;align-items:center;gap:6px;min-height:44px;font-size:12px;display:flex}.source-panel,.config-panel{overscroll-behavior:contain;padding:16px;padding-bottom:28px}.category-rail{flex-shrink:0;padding:8px 12px}.category-rail .space-y-2>*{margin-block:0}.category-button{flex-shrink:0;width:68px;min-height:56px}.source-card{touch-action:pan-y}.source-name{font-size:13px}.editor-shell :is(input:not([type=range]):not([type=checkbox]):not([type=color]),textarea,select){font-size:16px}.config-panel :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select){min-height:44px}.config-panel [role=tab]{min-height:44px;padding-inline:3px;font-size:11px}.config-panel .desktop-column-action{display:none}.config-panel label:has(.desktop-column-list){display:none}.cloud-recovery-banner{flex-wrap:wrap;gap:8px;max-height:25dvh;overflow-y:auto}.advanced-style-toolbar{flex-shrink:0;max-width:100%}.canvas-scroll-region{padding-bottom:140px}.canvas-shell:has(.canvas-block.is-selected){padding-bottom:66px}body:has(.equation-canvas-toolbar,.table-floating-toolbar) .canvas-shell{padding-bottom:128px}.canvas-shell:has(.canvas-block.is-selected) .canvas-zoom-control{display:none}.canvas-paper,.canvas-drop-surface{min-height:100%}.canvas-zoom-control{grid-template-columns:44px 44px 64px 38px 44px;height:44px;bottom:8px;right:8px}.canvas-zoom-control input{width:60px}.canvas-board-column.is-pinned{max-height:none;overflow:visible}.page-tabs{flex-shrink:0;min-height:50px}.page-tab{flex-shrink:0;min-width:154px}.page-tab-title{min-height:44px}.page-action{width:44px;height:44px}.page-add{min-height:44px;padding-inline:10px}.floating-toolbar--portal{bottom:calc(66px + env(safe-area-inset-bottom) + var(--mobile-viewport-bottom,0px));width:max-content;max-width:calc(100vw - 16px);overflow-x:auto;top:auto!important;left:50%!important}.floating-toolbar--portal button{flex-shrink:0;width:44px;height:44px}.floating-toolbar--portal [title=Drag\ block]{touch-action:none}body:has(.editor-grid:not(.mobile-panel-canvas)) .floating-toolbar--portal{display:none}.equation-canvas-toolbar,.table-floating-toolbar{bottom:calc(128px + env(safe-area-inset-bottom) + var(--mobile-viewport-bottom,0px));max-width:calc(100vw - 16px);position:fixed;transform:translate(-50%);top:auto!important;left:50%!important}.equation-tool-button{flex-basis:44px;min-width:44px;height:44px}.equation-symbol-palette{max-height:max(120px, calc(var(--mobile-editor-height,100dvh) - 300px));bottom:calc(100% + 8px);top:auto!important}.equation-symbol-palette__close{width:44px;height:44px}body:has(.editor-grid:not(.mobile-panel-canvas)) .equation-canvas-toolbar{display:none}.graph-editor-overlay{align-items:start;padding:0}.graph-editor-dialog{width:100%;height:var(--mobile-editor-height,100dvh);border-radius:0;max-width:100%}.graph-editor-body{grid-template-columns:minmax(0,1fr);overflow-y:auto}.graph-editor-preview{border-bottom:1px solid #e4e4e7;border-right:0;flex-shrink:0;height:42dvh;min-height:300px}.graph-editor-preview-stage{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.graph-editor-preview-stage>.simple-graph-shell{min-width:0;min-height:0}.graph-editor-controls{min-width:0;padding:14px;overflow:visible}.graph-editor-preview-label{flex-wrap:wrap;gap:4px}.graph-editor-toolstrip{padding-inline:12px}.graph-editor-toolstrip button{min-height:44px}.graph-editor-footer{padding:10px 8px max(10px, env(safe-area-inset-bottom));gap:8px}.graph-editor-footer button{min-height:44px;padding-inline:10px}.graph-editor-dialog :is(input[type=text],input[type=number],textarea){font-size:16px}.math-answer-dialog-content{overscroll-behavior:contain;max-height:calc(100dvh - 24px)}.math-answer-dialog-content :is(input,textarea,select){font-size:16px}.math-answer-dialog-title-row button{width:44px;height:44px}:where(.product-shell-body [role=dialog]){max-height:calc(100dvh - 24px);overflow-y:auto}.product-shell-body .graph-editor-dialog{max-height:100dvh;overflow:hidden}.student-topbar{flex-shrink:0}}@media (max-width:380px){.top-toolbar:has(.toolbar-button--save) .toolbar-button{padding-inline:6px}.top-toolbar:has(.toolbar-button--save) .toolbar-button>svg{display:none}}@media (max-width:680px){.workspace-body,.workspace-content,.workspace-columns,.workspace-heading-actions,.dashboard-section-heading{min-width:0}.workspace-page-heading{align-items:flex-start}.dashboard-section-heading{flex-wrap:wrap;gap:12px}.workspace-heading-actions{flex-wrap:wrap}.workspace-shell .product-dashboard-grid{grid-template-columns:minmax(0,1fr)}.workspace-shell :is(.product-button,.workspace-nav-item,.workspace-text-link){min-height:44px}.workspace-shell :is(input,select,textarea),.auth-form :is(input,select,textarea){min-width:0;font-size:16px}.product-shell-header{grid-template-columns:minmax(0,1fr)}.product-shell-header-actions{min-width:0}.product-topbar{flex-wrap:wrap}.workspace-shell .account-email{overflow-wrap:anywhere;max-width:100%}}
