.wiki-pane {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: calc(100vh - 76px);
  padding: 16px;
}

.wiki-pane-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wiki-pane-title {
  font-size: 14px;
  font-weight: 600;
}

.wiki-open-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}

.wiki-google-docs-frame {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: max(520px, calc(100vh - 150px));
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 640px) {
  .wiki-pane {
    min-height: calc(100vh - 64px);
    padding: 10px;
  }

  .wiki-google-docs-frame {
    min-height: max(520px, calc(100vh - 142px));
  }
}
