docxworkshop-editor {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  height: var(--docxworkshop-height, 72vh);
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid #d6dce4;
  border-radius: .55rem;
  background: #fff;
}

.docxworkshop-host-bar {
  min-height: 2.6rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
  padding: .45rem .75rem;
  border-bottom: 1px solid #d6dce4;
  background: #f7f8fb;
  color: #172236;
  font: 500 .8125rem/1.5 system-ui, sans-serif;
}

.docxworkshop-host-frame { width: 100%; height: 100%; min-height: 0; border: 0; }
.docxworkshop-host-status { color: #42536b; margin-inline-end: auto; }
.docxworkshop-host-status[data-error] { color: #9a232b; }

.docxworkshop-host-bar button {
  padding: .34rem .69rem;
  border: 1px solid #c8d0df;
  border-radius: .3rem;
  background: #fff;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.docxworkshop-host-bar button[data-primary] { background: #264d86; border-color: #264d86; color: #fff; }
.docxworkshop-host-bar button:disabled { opacity: .65; cursor: default; }
.docxworkshop-host-bar button:focus-visible { outline: 2px solid #2c61a9; outline-offset: 2px; }
