[abxtype="focusBox"] {
  position: relative;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow-wrap: anywhere;
  transition: border-color .15s, box-shadow .15s;
}

[abxtype="focusBox"]:hover,
.focus-shadow-permanent [abxtype="focusBox"] {
  border-color: #ddd;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}

/* Preserve the child's space so revealing controls does not move the box. */
[abxtype="focusBox"]:not(:hover) > .showOnHover {
  visibility: hidden;
  pointer-events: none;
}

.webappgencontainer {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* or any fixed height */
}

.abx-searchbox input[type="search"] {
  padding-right: 2.5rem;
  box-sizing: border-box;
}

.abx-searchbox-trigger {
  position: absolute;
  right: .25rem;
  top: .5rem;
  width: 2rem;
  height: 2rem;
  padding: .25rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.abx-searchbox-trigger svg { width: 100%; height: 100%; }
.abx-searchbox input:disabled ~ .abx-searchbox-trigger { opacity: .4; cursor: default; }


.webappgencontent {
  flex: 1 1 auto;
}

.webappgenshrink {
  flex: 1 0 auto;
  min-height: 0;
  /* Fill the remaining height, but allow shrinking so scrollable children can scroll instead of expanding the page */
}


.abx-tree { overflow: auto; padding: 8px; }
.abx-tree-children { margin-left: 20px; }
.abx-tree-row { display: flex; align-items: center; padding: 5px 8px; cursor: pointer; -webkit-user-select: none; user-select: none; }
.abx-tree-toggle { display: inline-block; flex: 0 0 20px; }
.abx-tree [aria-selected="true"] > .abx-tree-row { background: #e0e0e0; }
.abx-tree [role="treeitem"]:focus { outline: none; }
.abx-tree-actions { position: fixed; background: white; color: #222; border: 1px solid #ccc; box-shadow: 0 2px 8px #0003; z-index: 1000; }
.abx-tree-actions button { display: block; width: 100%; border: 0; padding: 8px 12px; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.abx-tree-actions button:hover, .abx-tree-actions button:focus { background: #eee; }

.fileExplorerTable {
  border-collapse: collapse;
  white-space: nowrap;
}

.fileExplorerTable tr {
  border-bottom: 0px;
}

.fileExplorerTable thead td {
  background-color: lightgray;
  font-weight: bold;
}

.fileExplorerTable td {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
  height: 28px;
}

.fileExplorerName {
  padding-left: calc(var(--indent, 0) * 20px);
}

.fileExplorerName img {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.fileExplorerSelected {
  background-color: #e0e0e0;
}

.fileExplorerActions {
  position: fixed;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 8px #0003;
  z-index: 1000;
  min-width: 120px;
}

.fileExplorerActions div {
  padding: 8px 12px;
  cursor: pointer;
}

.fileExplorerActions div:hover {
  background: #eee;
}

table.baselineTable {
  border-collapse: collapse;
  width: 100%;
}

table.baselineTable :is(th, td) {
  border: 1px solid #ccc;
  min-height: 50px;
  text-align: center;
  vertical-align: top;
}

.hour {
  width: 80px;
  background: #f0f0f0;
  font-weight: bold;
}

.droppable {
  min-height: 50px;
  background: #fff;
  position: relative;
}

.selected {
  background-color: #c8e6c9 !important;
}

.event {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: lightblue;
  z-index: 1;
  align-items: center;
  display: flex;
  justify-content: center;
}

.glass {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none;
    background: transparent;
    z-index: 9999;
}

.button-stripe {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
}

.button-stripe::-webkit-scrollbar {
    display: none;
}

.button-stripe.dragging {
    cursor: grabbing;
}

.button-stripe .btn {
    flex: 0 0 auto;
}

.button-stripe img {
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}
