/* Layout shell styles moved out of Razor files to keep layout markup clean. */
.trynova-main-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.trynova-main-layout-main {
  flex-grow: 1;
  overflow-y: auto;
}

.trynova-main-layout-content {
  height: 100%;
}

.trynova-preview-layout {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
}

.trynova-preview-layout,
.trynova-preview-layout * {
  box-sizing: border-box;
}

.trynova-ui-theme-switcher {
  position: fixed;
  right: calc(0.75rem + env(safe-area-inset-right));
  bottom: calc(0.75rem + env(safe-area-inset-bottom));
  z-index: 1200;
}

.trynova-ui-theme-switcher-inline {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.trynova-split-container {
  display: flex;
  flex-direction: row;
  height: 100%;
  width: 100%;
}

.trynova-split-panel {
  min-width: 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .trynova-ui-theme-switcher {
    top: 1rem;
    right: 1rem;
    bottom: auto;
  }
}
