/* Liminal Panels */
.liminal-panel {
  position: fixed;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  overflow: visible;
  z-index: 500;
  display: flex;
  flex-direction: column;
}

.liminal-panel.hidden-panel {
  display: none !important;
}

.panel-header, .floating-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  border-radius: 12px 12px 0 0;
  min-height: 36px;
  flex-shrink: 0;
  cursor: move;
  user-select: none;
}

.panel-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-actions {
  display: flex;
  gap: 2px;
  align-items: center;
}

.panel-body {
  flex: 1;
  overflow: auto;
  position: relative;
}

.panel-footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Icon buttons in panels */
.icon-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.icon-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
}

/* Header buttons */
.header-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-btn:hover {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.08);
}
