.modal[data-v-bd58123b]:not(.panel-mode){top:var(--note-viewport-top,0px);bottom:auto;height:var(--note-viewport-height,100dvh);box-sizing:border-box}.modal[data-v-bd58123b]:not(.panel-mode)>.modal-content{height:min(900px,calc(var(--note-viewport-height,100dvh) - 2rem));max-height:calc(var(--note-viewport-height,100dvh) - 2rem)}@media(max-width:768px){.modal[data-v-bd58123b]:not(.panel-mode)>.modal-content{height:min(86dvh,calc(var(--note-viewport-height,100dvh) - max(64px,env(safe-area-inset-top)) - max(8px,env(safe-area-inset-bottom))))}}.modal.keyboard-open[data-v-bd58123b]{padding:8px;align-items:stretch}.modal.keyboard-open[data-v-bd58123b]>.modal-content{height:100%;max-height:100%;border-radius:12px}.modal.keyboard-open[data-v-bd58123b] .modal-header{padding:6px 12px}.modal.keyboard-open[data-v-bd58123b] :is(.note-tabs,.note-footer,.editor-meta,.editor-head-actions .head-action){display:none}.modal.keyboard-open[data-v-bd58123b] .modal-body{padding:8px}.modal.keyboard-open[data-v-bd58123b] .my-note-section{gap:6px}.modal.keyboard-open[data-v-bd58123b] .editor-head{flex-direction:row;align-items:center}.modal.keyboard-open[data-v-bd58123b] :is(.editor-tabs,.editor-head-actions){width:auto}.modal.keyboard-open[data-v-bd58123b] .markdown-toolbar{padding:2px 4px;margin-bottom:-6px}.modal.keyboard-open[data-v-bd58123b] .editor-workspace.layout-split{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.modal.keyboard-open[data-v-bd58123b] .layout-split .preview-pane{display:none}.modal.keyboard-open[data-v-bd58123b] .editor-pane .cm-content{padding:12px}.mock-exam-page .sheet-item{touch-action:pan-y!important}@media(min-width:901px){.history-report-page .answer-sheet{max-height:calc(100dvh - 172px)!important}}