/* Genos Orchestrator — control deck inside the Lilu card */

.go-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 300px;
}

.go-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.go-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.go-title h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(120deg, var(--lilu), var(--aur));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.go-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--aur);
  box-shadow: 0 0 12px var(--aur);
  animation: pulseDot 2.2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.1); }
}

.go-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.go-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.go-card:hover {
  border-color: rgba(185, 157, 255, 0.4);
  background: rgba(185, 157, 255, 0.05);
}

.go-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.go-card-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--lilu);
}

.go-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.go-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.go-row:last-of-type {
  border-bottom: 0;
}

.go-label {
  color: var(--muted);
}

.go-value {
  font-weight: 600;
  color: var(--fg);
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.go-actions .btn {
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
  justify-content: center;
}

.go-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  gap: 12px;
  color: var(--err);
  text-align: center;
  font-size: 14px;
}

.go-error-icon {
  font-size: 48px;
  opacity: 0.4;
}

.go-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  max-width: 90vw;
}

.go-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.go-toast.ok {
  border-color: var(--ok);
  color: var(--ok);
}

.go-toast.err {
  border-color: var(--err);
  color: var(--err);
}

@media (max-width: 640px) {
  .go-grid {
    grid-template-columns: 1fr;
  }

  .go-actions .btn {
    width: 100%;
  }

  .go-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go-dot {
    animation: none;
  }

  .go-card, .go-toast {
    transition: none;
  }
}
