html.mdd-estudar-mobile,
body.mdd-estudar-mobile {
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

body.mdd-estudar-mobile *,
body.mdd-estudar-mobile *::before,
body.mdd-estudar-mobile *::after {
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  body.mdd-estudar-mobile {
    padding-bottom: calc(135px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-x: hidden !important;
  }

  body.mdd-estudar-mobile main,
  body.mdd-estudar-mobile .app,
  body.mdd-estudar-mobile .page,
  body.mdd-estudar-mobile .container,
  body.mdd-estudar-mobile .content,
  body.mdd-estudar-mobile .panel,
  body.mdd-estudar-mobile .card,
  body.mdd-estudar-mobile [class*="wrap"],
  body.mdd-estudar-mobile [class*="layout"],
  body.mdd-estudar-mobile [class*="shell"] {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  body.mdd-estudar-mobile header,
  body.mdd-estudar-mobile nav,
  body.mdd-estudar-mobile .topbar,
  body.mdd-estudar-mobile .toolbar,
  body.mdd-estudar-mobile [class*="toolbar"],
  body.mdd-estudar-mobile [class*="topbar"],
  body.mdd-estudar-mobile [class*="actions"],
  body.mdd-estudar-mobile [class*="tabs"] {
    max-width: 100vw !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mdd-estudar-mobile [data-mdd-study-hide-lacos="1"],
  body.mdd-estudar-mobile .mdd-study-lacos-safe {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.mdd-estudar-mobile [data-mdd-study-bottom-toolbar="1"] {
    width: 100% !important;
    max-width: 100vw !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 8px 10px calc(14px + env(safe-area-inset-bottom, 0px)) 10px !important;
    margin-bottom: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
  }

  body.mdd-estudar-mobile [data-mdd-study-bottom-toolbar="1"] > * {
    flex: 0 0 auto !important;
    min-width: 72px !important;
    max-width: 150px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  body.mdd-estudar-mobile [data-mdd-study-bottom-toolbar="1"] button,
  body.mdd-estudar-mobile [data-mdd-study-bottom-toolbar="1"] a,
  body.mdd-estudar-mobile [data-mdd-study-bottom-toolbar="1"] [role="button"] {
    min-height: 58px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.15 !important;
  }

  body.mdd-estudar-mobile [data-mdd-study-lower-panels="1"] {
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    padding-bottom: calc(95px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-overflow-scrolling: touch !important;
  }

  body.mdd-estudar-mobile canvas,
  body.mdd-estudar-mobile iframe,
  body.mdd-estudar-mobile video,
  body.mdd-estudar-mobile img,
  body.mdd-estudar-mobile [class*="canvas"],
  body.mdd-estudar-mobile [class*="board"],
  body.mdd-estudar-mobile [class*="quadro"],
  body.mdd-estudar-mobile [class*="caderno"] {
    max-width: 100% !important;
  }

  body.mdd-estudar-mobile canvas {
    width: 100% !important;
  }

  body.mdd-estudar-mobile input,
  body.mdd-estudar-mobile textarea,
  body.mdd-estudar-mobile select {
    max-width: 100% !important;
  }
}
