/*
 * An editor that slides in from the right of a list table, like the flow editor's step settings. There's no overlay,
 * so the menu and the table stay usable while it's open. See assets/js/admin/sidebar-editor.js
 */
.gh-sidebar-editor {
  position: fixed;
  top: var(--wp-admin--admin-bar--height, 32px);
  right: 0;
  bottom: 0;
  z-index: 10000;
  box-sizing: border-box;
  width: clamp(480px, 45vw, 760px);
  max-width: 100vw;
  overflow-y: auto;
  background-color: var(--gh-background-color);
  border-left: 1px solid var(--gh-dark-15);
  box-shadow: -5px 0 30px 0 rgba(4, 45, 70, 0.1);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.3s ease-out, visibility 0s linear 0.3s;
}
.gh-sidebar-editor.open {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease-out;
}
.gh-sidebar-editor .gh-sidebar-editor-inner {
  padding: 0 20px 20px;
}
.gh-sidebar-editor .gh-sidebar-editor-header {
  position: sticky;
  top: 0;
  z-index: 10;
  margin: 0 -20px;
  border-radius: 0;
  border-width: 0 0 1px;
}
.gh-sidebar-editor .gh-sidebar-editor-title {
  flex: 1;
  min-width: 0;
}
.gh-sidebar-editor .gh-sidebar-editor-title > * {
  min-width: 0;
}
.gh-sidebar-editor .gh-sidebar-editor-title img {
  flex-shrink: 0;
  border-radius: var(--gh-border-radius);
}
.gh-sidebar-editor .gh-sidebar-editor-title h2 {
  margin: 0;
  font-size: 16px;
}
.gh-sidebar-editor .gh-sidebar-editor-title :is(h2, .description) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gh-sidebar-editor .gh-sidebar-editor-buttons {
  flex-shrink: 0;
}
.gh-sidebar-editor .gh-sidebar-editor-toggle label.gh-switch {
  width: 76px;
}
.gh-sidebar-editor .gh-sidebar-editor-toggle label.gh-switch input:checked + .slider:before {
  transform: translateX(56px);
}
.gh-sidebar-editor .gh-sidebar-editor-server-fields:empty {
  display: none;
}
.gh-sidebar-editor .gh-sidebar-editor-server-fields .form-table {
  margin: 0;
}
.gh-sidebar-editor .gh-sidebar-editor-server-fields .form-table th, .gh-sidebar-editor .gh-sidebar-editor-server-fields .form-table td {
  display: block;
  width: auto;
  padding: 0 0 5px;
}
.gh-sidebar-editor .gh-sidebar-editor-server-fields .form-table tr + tr th {
  padding-top: 10px;
}
.gh-sidebar-editor .gh-sidebar-editor-server-fields .form-table :is(input[type=text], select, textarea) {
  width: 100%;
  max-width: none;
}
@media (max-width: 782px) {
  .gh-sidebar-editor {
    width: 100vw;
  }
}

#the-list tr.gh-sidebar-editing,
#the-list tr.gh-sidebar-editing > :is(th, td) {
  background: var(--gh-primary-7);
}

#the-list tr.gh-sidebar-editing .row-title {
  font-weight: 700;
}

/*# sourceMappingURL=sidebar-editor.css.map */
