.gp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.gp-inputs, .gp-outputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.gp-field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  font-size: 16px;
  background: #f6f8fc;
  color: #0f172a;
}

.gp-field input[type="range"] {
  width: 100%;
  accent-color: #1d4ed8;
}

.gp-hint {
  font-size: 12px;
  font-weight: 400;
  color: #475569;
}

.gp-mix-bar {
  display: flex;
  height: 12px;
  border-radius: 6px;
  overflow: hidden;
  background: #dbe3ee;
  border: 1px solid #dbe3ee;
}

.gp-seg-steady { background: #1d4ed8; }
.gp-seg-solar { background: #f59e0b; }
.gp-seg-wind { background: #64748b; }

.gp-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #475569;
}

.gp-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 4px;
}

.gp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gp-stat {
  background: #f6f8fc;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 16px;
}

.gp-stat-primary {
  background: #eff6ff;
  border-color: #1d4ed8;
}

.gp-stat-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  margin-bottom: 4px;
}

.gp-stat-val {
  display: block;
  font-family: 'Outfit', -apple-system, sans-serif;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  line-height: 1.2;
  color: #0f172a;
}

.gp-diagnosis {
  background: #0f172a;
  color: #f6f8fc;
  border-radius: 12px;
  padding: 16px;
}

.gp-diagnosis-tag {
  display: inline-block;
  background: #f59e0b;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.gp-diagnosis h2 {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 8px;
}

.gp-diagnosis p {
  color: #dbe3ee;
  font-size: 14px;
  margin: 0;
}

.gp-actions-box {
  background: #f6f8fc;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  padding: 16px;
}

.gp-actions-box h2 {
  font-size: 16px;
  margin: 0 0 8px;
}

.gp-actions-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #0f172a;
}

.gp-actions-list li {
  margin-bottom: 8px;
}

.gp-footer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gp-msg {
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
}

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

  .gp-footer-row button {
    width: 100%;
  }
}