.growth-shell {
  width: min(1140px, 94vw);
  margin: 18px auto 40px;
  display: grid;
  gap: 18px;
}

.growth-hero {
  border: 1px solid #d8e3f0;
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(120deg, #f7fbff 0%, #eef7ff 60%, #f6fff8 100%);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.growth-hero-tight {
  padding: 14px 18px;
}

.growth-kicker {
  margin: 0 0 6px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #4f6988;
  font-weight: 700;
}

.growth-hero h1,
.growth-detail h1 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

.growth-hero p {
  margin: 0;
  color: #334155;
  max-width: 700px;
}

.growth-hero-actions {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

.growth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid #b8c7da;
  padding: 7px 14px;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

.growth-btn-primary {
  background: linear-gradient(120deg, #1f9f63 0%, #187746 100%);
  border-color: #187746;
  color: #fff;
}

.growth-btn-soft {
  background: #fff;
  color: #1f2937;
}

.growth-section {
  display: grid;
  gap: 10px;
}

.growth-section h2 {
  margin: 0;
  font-size: 1.15rem;
  color: #0f172a;
}

.growth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.growth-grid-reco {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.growth-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.growth-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.03rem;
}

.growth-card p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.growth-link {
  color: #1365d3;
  text-decoration: none;
  font-weight: 600;
}

.growth-link:hover {
  text-decoration: underline;
}

.growth-label {
  margin: 0;
  color: #4f6988;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.growth-meta,
.growth-note {
  color: #64748b;
  font-size: 0.86rem;
}

.growth-empty {
  margin: 0;
  color: #64748b;
}

.growth-detail {
  width: min(980px, 94vw);
}

.growth-back {
  display: inline-block;
  margin-bottom: 8px;
  color: #1365d3;
  text-decoration: none;
}

.growth-progress-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.growth-progress {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.growth-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f9f63 0%, #22c55e 100%);
}

.growth-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.growth-step {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fff;
}

.growth-step.is-done {
  border-color: #9fdfba;
  background: #f6fff8;
}

.growth-step-type {
  font-size: 0.78rem;
  color: #4f6988;
  text-transform: uppercase;
}

.growth-step h3 {
  margin: 2px 0;
  font-size: 1rem;
  color: #0f172a;
}

.growth-challenge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 14px;
}

.growth-statement h1 {
  margin: 0;
  color: #0f172a;
}

.growth-test-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.growth-test-list li {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
}

.growth-runner-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.growth-runner-head h2 {
  margin: 0;
  font-size: 1.08rem;
}

.growth-usage {
  font-size: 0.78rem;
  color: #4f6988;
  border: 1px solid #d5e0ed;
  border-radius: 999px;
  padding: 3px 9px;
}

.growth-code {
  min-height: 360px;
  width: 100%;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid #d8e3f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.5;
  color: #0f172a;
  padding: 12px;
  background: #fbfdff;
}

.growth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.growth-result {
  margin: 0;
  min-height: 180px;
  border-radius: 12px;
  border: 1px solid #d8e3f0;
  background: #0f172a;
  color: #dbeafe;
  padding: 12px;
  white-space: pre-wrap;
  overflow: auto;
}

.growth-publication {
  width: min(980px, 94vw);
  margin: 18px auto 40px;
  display: grid;
  gap: 16px;
}

.growth-publication-head {
  border: 1px solid #d8e3f0;
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(120deg, #f7fbff 0%, #f3f9ff 100%);
}

.growth-publication-head h1 {
  margin: 0;
  color: #0f172a;
}

.growth-publication-summary p {
  margin: 8px 0 0;
  color: #334155;
}

.growth-publication-body {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
}

.pub-block {
  margin-bottom: 16px;
}

.pub-block pre {
  margin: 0;
  background: #0f172a;
  color: #dbeafe;
  border-radius: 10px;
  padding: 12px;
  overflow: auto;
}

.pub-output {
  margin-top: 8px;
  border-radius: 8px;
  padding: 10px;
  overflow: auto;
}

.pub-stdout {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.pub-stderr {
  background: #fff1f2;
  color: #b91c1c;
  border: 1px solid #fecdd3;
}

.pub-figure img {
  max-width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

@media (max-width: 960px) {
  .growth-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .growth-challenge-layout {
    grid-template-columns: 1fr;
  }
}
