/* Excalidraw host on /desenhar-online/ */

body.is-fullscreen .fs-workspace.excal-fs {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: none !important;
  min-height: min(78vh, 920px) !important;
  height: min(82vh, 960px) !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background: #eef2f8 !important;
  overflow: hidden;
}

html[data-theme="dark"] body.is-fullscreen .fs-workspace.excal-fs {
  background: #0b0e14 !important;
}

.excal-app {
  flex: 1;
  min-height: 0;
  height: 100%;
  width: 100%;
  position: relative;
  background: #fff;
}

html[data-theme="dark"] .excal-app {
  background: #121212;
}

.excal-app .excalidraw,
.excal-app .excalidraw-container {
  height: 100% !important;
  width: 100% !important;
}

.excal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
  pointer-events: none;
}

@media (max-width: 720px) {
  body.is-fullscreen .fs-workspace.excal-fs {
    min-height: min(72vh, 780px) !important;
    height: min(74vh, 820px) !important;
  }
}

/* Official Excalidraw.com catalog — we ship our own items */
.excal-app .library-menu-browse-button,
.excal-app .publish-library,
.excal-app .library-menu-items__no-items,
.excal-app .library-menu-items-container__header--excal,
.excal-app .library-menu-items-container__header--excal ~ * {
  display: none !important;
}
