.workbook-drop > #chooseWorkbook {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.workbook-drop .file-name:not(:empty) {
  margin: 12px 0 0;
  color: #246e5d;
  font-weight: 700;
}

.layout-preview .preview-thumbnail-picker {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #d5e0dc;
  background: #fff;
  box-shadow: 0 2px 5px #1b3a3020;
  font-size: 11px;
}

/* Mirrors the 800×800 source placement used for Frame + thumbnail output. */
.layout-preview.with-thumbnail .preview-base {
  inset: auto;
  left: -2%;
  top: 10%;
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Keep status and result cards as tall as their content, not the sidebar. */
.workspace {
  align-content: start;
}

.workspace > .card {
  align-self: start;
}

.workspace .table-wrap {
  height: auto;
}
