.sleeve-standalone > .topbar {
  display: none;
}

.standalone-toolbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  min-height: 54px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 7px 12px;
  border-bottom: 1px solid #e1b362;
  background: #fff7dc;
  background-image: linear-gradient(#f28c281f 1px, transparent 1px), linear-gradient(90deg, #f28c281f 1px, transparent 1px);
  background-size: 20px 20px;
}

.standalone-title {
  white-space: nowrap;
  color: #70410f;
  font-size: 16px;
}

.standalone-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.standalone-actions button,
.standalone-actions a,
.sleeve-import-button {
  min-height: 34px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 11px;
  border: 1px solid #c47a21;
  border-radius: 5px;
  background: #fff;
  color: #4d2a08;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.standalone-actions button:hover,
.standalone-actions a:hover,
.sleeve-import-button:hover {
  background: #fff0c4;
}

.sleeve-standalone .workspace {
  top: 54px;
}

.sleeve-standalone #mainToolPanel,
.sleeve-standalone #dockSlideTab,
.sleeve-standalone #dockEditSlideTab,
.sleeve-standalone .right-click-help,
.sleeve-standalone #automationRecorderPanel {
  display: none !important;
}

.sleeve-standalone #toolDock {
  width: min(370px, 40vw);
  min-width: 300px;
}

.sleeve-standalone #genericToolPanel > .dock-head [data-close-special] {
  display: none;
}

.sleeve-start-box {
  margin: 0 0 10px;
  padding: 10px;
  border: 1px solid #e1b362;
  border-radius: 6px;
  background: #fffdf5;
}

.sleeve-start-box p {
  margin: 7px 0 0;
  line-height: 1.55;
}

.sleeve-import-button {
  width: 100%;
}

@media (max-width: 820px) {
  .standalone-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .standalone-title {
    padding-left: 2px;
  }

  .standalone-actions {
    width: 100%;
  }

  .standalone-actions button,
  .standalone-actions a {
    flex: 1 1 auto;
  }

  .sleeve-standalone .workspace {
    top: 104px;
  }

  .sleeve-standalone #toolDock {
    width: min(340px, 72vw);
    min-width: 260px;
  }
}
