html,
body {
  margin: 0;
  height: 100%;
  font-family: Inter, Arial, sans-serif;
  background: #eef1f8;
}

#gjs {
  height: 100vh;
}

.gjs-editor {
  border-top: 3px solid #3742fa;
}

.gjs-pn-panel.gjs-pn-options::before {
  content: 'BS Builder';
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #dfe4ff;
  margin-right: 12px;
  padding-left: 8px;
}

.bs-utility-panel {
  position: fixed;
  right: 12px;
  bottom: 12px;
  width: 260px;
  max-height: 46vh;
  overflow: auto;
  background: rgba(20, 24, 36, 0.92);
  border: 1px solid rgba(92, 111, 255, 0.45);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(12, 16, 26, 0.36);
  color: #e9ecff;
  font-size: 11px;
  padding: 8px;
  z-index: 1200;
}

.bs-utility-group + .bs-utility-group {
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 8px;
}

.bs-utility-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bs-project-select {
  width: 100%;
  background: #11162a;
  color: #e9ecff;
  border: 1px solid rgba(121, 138, 255, 0.5);
  border-radius: 4px;
  padding: 4px;
  font-size: 11px;
}

.bs-utility-actions {
  margin-top: 6px;
  display: flex;
  gap: 6px;
}

.bs-mini-btn {
  background: #3742fa;
  border: none;
  color: #fff;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
}

.bs-mini-btn:hover {
  background: #5761ff;
}

.bs-utility-status {
  margin-top: 6px;
  opacity: 0.85;
  line-height: 1.3;
}

.bs-history-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.bs-history-list li {
  padding: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  line-height: 1.3;
}

.bs-history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.bs-history-header .bs-utility-title {
  margin-bottom: 0;
}

.bs-history-minimize-btn {
  background: rgba(121, 138, 255, 0.18);
  border: 1px solid rgba(121, 138, 255, 0.5);
  color: #e9ecff;
  border-radius: 4px;
  width: 22px;
  height: 20px;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
}

.bs-history-minimize-btn:hover,
.bs-history-toggle:hover {
  background: rgba(121, 138, 255, 0.35);
}

.bs-utility-panel.history-minimized {
  display: none;
}

.bs-history-toggle {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 1200;
  background: rgba(20, 24, 36, 0.92);
  color: #e9ecff;
  border: 1px solid rgba(92, 111, 255, 0.45);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(12, 16, 26, 0.36);
  transition: opacity 0.2s ease;
}
