/* Panes — default styles. Override freely. */

.pane {
  position: fixed;
  display: none;
  box-sizing: border-box;
  min-width: 120px;
  min-height: 80px;
  background: #1e1e1e;
  color: #eee;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  user-select: none;
  overflow: hidden;
}

.pane--drag,
.pane--resize {
  user-select: none;
}

.pane .pane-title {
  cursor: move;
  padding: 0 40px 0 12px;
  height: 32px;
  line-height: 32px;
  font-size: 13px;
  font-weight: 600;
  background: #2a2a2a;
  border-bottom: 1px solid #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  touch-action: none;
}

.pane .pane-content {
  padding: 12px;
  height: calc(100% - 32px);
  overflow: auto;
  user-select: text;
  -webkit-user-select: text;
}

.pane .pane-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  line-height: 22px;
  text-align: center;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font-size: 14px;
  cursor: pointer;
}
.pane .pane-close:hover { background: rgba(255, 255, 255, 0.08); }
.pane .pane-close:focus { outline: 2px solid #4a90e2; outline-offset: -2px; }
