.smt-growth-page .smt-tool-hero-grid > div:first-child,
.smt-growth-page .smt-hub-head,
.smt-growth-page .smt-tool-app-header,
.smt-growth-page .smt-growth-section-head,
.smt-growth-guide .smt-hub-article-hero {
  text-align: center;
}

.smt-growth-page .smt-tool-hero .smt-hub-kicker,
.smt-growth-page .smt-tool-app-header .smt-tool-private-label,
.smt-growth-page .smt-growth-section-head .smt-hub-kicker {
  margin-left: auto;
  margin-right: auto;
}

.smt-growth-page .smt-tool-app-header {
  align-items: center;
  flex-direction: column;
  gap: 14px;
}

.smt-growth-page .smt-tool-app-header p {
  margin: 0 auto;
  max-width: 730px;
}

.smt-growth-page .smt-hub-split h2,
.smt-growth-page .smt-hub-panel h3,
.smt-growth-page .smt-tool-formula-card h3,
.smt-growth-guide .smt-hub-article-body > h3 {
  text-align: center;
}

.smt-growth-preview {
  background: linear-gradient(135deg, #f5f0ff 0%, #eef7ff 58%, #eaf9f4 100%);
  border: 1px solid #dfd1ff;
  border-radius: 18px;
  padding: 24px;
}

.smt-growth-preview strong,
.smt-growth-preview span {
  display: block;
  text-align: center;
}

.smt-growth-preview strong {
  color: var(--tool-purple-dark);
  font-size: 50px;
  line-height: 1.1;
}

.smt-growth-preview > span {
  color: var(--tool-muted);
  font-size: 14px;
  font-weight: 800;
  margin-top: 8px;
}

.smt-growth-preview-track {
  align-items: end;
  display: flex;
  gap: 8px;
  height: 112px;
  margin-top: 20px;
}

.smt-growth-preview-track i {
  background: var(--tool-purple);
  border-radius: 6px 6px 0 0;
  flex: 1;
  height: var(--bar-height);
}

.smt-growth-preview-track i:nth-child(2n) { background: var(--tool-blue); }
.smt-growth-preview-track i:nth-child(3n) { background: var(--tool-green); }

.smt-growth-preview-labels {
  color: var(--tool-muted);
  display: flex;
  font-size: 12px;
  font-weight: 800;
  justify-content: space-between;
  margin-top: 8px;
}

.smt-growth-form {
  padding: 32px 34px 38px;
}

.smt-growth-form-grid {
  display: grid;
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 12px;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.smt-growth-form-grid > br,
.smt-growth-form-grid > p:empty,
.smt-growth-scenarios > br,
.smt-growth-metrics > br {
  display: none !important;
}

.smt-growth-form-grid .smt-tool-field {
  min-width: 0;
  padding: 18px;
}

.smt-growth-form-grid .smt-tool-field:nth-child(-n + 3) {
  border-bottom: 1px solid var(--tool-line);
}

.smt-growth-form-grid .smt-tool-field:not(:nth-child(3n)) {
  border-right: 1px solid var(--tool-line);
}

.smt-growth-form-grid input {
  text-align: center;
}

.smt-growth-form-grid .smt-tool-help {
  min-height: 18px;
  text-align: center;
}

.smt-growth-form .smt-tool-actions {
  justify-content: center;
}

.smt-growth-form .smt-tool-error {
  text-align: center;
}

.smt-growth-output[hidden] {
  display: none !important;
}

.smt-growth-output {
  border-top: 1px solid var(--tool-line);
  padding: 38px 34px;
}

.smt-growth-output > h3,
.smt-growth-output > p,
.smt-growth-chart-wrap > h3 {
  text-align: center;
}

.smt-growth-metrics,
.smt-growth-scenarios {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.smt-growth-metric,
.smt-growth-scenario {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-top: 4px solid var(--tool-purple);
  border-radius: 10px;
  min-width: 0;
  padding: 20px 14px;
  text-align: center;
}

.smt-growth-metric:nth-child(2),
.smt-growth-scenario:nth-child(2) { border-top-color: var(--tool-blue); }
.smt-growth-metric:nth-child(3),
.smt-growth-scenario:nth-child(3) { border-top-color: var(--tool-green); }
.smt-growth-metric:nth-child(4) { border-top-color: #d18416; }

.smt-growth-metric span,
.smt-growth-scenario span {
  color: var(--tool-muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.smt-growth-metric strong,
.smt-growth-scenario strong {
  color: var(--tool-ink);
  display: block;
  font-size: 24px;
  line-height: 1.2;
  margin: 8px 0;
  overflow-wrap: anywhere;
}

.smt-growth-scenario small {
  color: var(--tool-muted);
  display: block;
  font-size: 12px;
  line-height: 1.4;
}

.smt-growth-summary {
  background: var(--tool-blue-soft);
  border-left: 4px solid var(--tool-blue);
  margin: 20px auto;
  max-width: 850px;
  padding: 16px 20px;
  text-align: left !important;
}

.smt-growth-chart-wrap {
  background: #fff;
  border: 1px solid var(--tool-line);
  border-radius: 14px;
  margin: 28px auto 0;
  max-width: 900px;
  padding: 22px;
}

.smt-growth-chart-wrap canvas {
  display: block;
  height: auto;
  max-width: 100%;
  width: 100%;
}

.smt-growth-chart-wrap figcaption {
  color: var(--tool-muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 10px;
  text-align: center;
}

.smt-growth-chart-wrap + h3 {
  margin-top: 48px;
}

.smt-growth-page .smt-hub-split .smt-hub-kicker {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.smt-growth-output .smt-tool-result-actions {
  margin: 26px auto 0;
  max-width: 420px;
}

.smt-growth-page .smt-tool-guide-grid {
  margin-top: 28px;
}

.smt-growth-page .smt-tool-guide-card > p:empty,
.smt-growth-page .smt-tool-guide-grid > p:empty {
  display: none !important;
}

.smt-growth-page .smt-tool-guide-card > p:has(> a) {
  margin-top: auto !important;
  text-align: center;
}

.smt-growth-page .smt-hub-section:has(.smt-tool-guide-grid) {
  padding-bottom: 24px;
}

.smt-growth-page .smt-hub-section:has(.smt-tool-cta) {
  padding-top: 24px;
}

.smt-growth-guide .smt-tool-guide-links {
  margin-top: 28px;
}

.smt-growth-guide .smt-tool-guide-nav + p {
  margin-top: 32px;
}

.smt-growth-guide .smt-hub-article-body > h2 {
  text-align: center;
}

.smt-growth-guide .smt-tool-cta {
  margin-top: 48px;
}

.smt-growth-source {
  border-top: 1px solid var(--tool-line);
  color: var(--tool-muted);
  font-size: 13px;
  margin-top: 48px;
  padding-top: 18px;
  text-align: center;
}

@media (max-width: 980px) {
  .smt-growth-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smt-growth-form-grid .smt-tool-field:nth-child(-n + 4) { border-bottom: 1px solid var(--tool-line); }
  .smt-growth-form-grid .smt-tool-field:nth-child(3) { border-right: 1px solid var(--tool-line); }
  .smt-growth-form-grid .smt-tool-field:nth-child(even) { border-right: 0; }
  .smt-growth-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smt-growth-scenarios { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .smt-growth-form,
  .smt-growth-output { padding: 24px 18px; }
  .smt-growth-form-grid,
  .smt-growth-scenarios { grid-template-columns: 1fr; }
  .smt-growth-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smt-growth-form-grid .smt-tool-field { border-right: 0 !important; }
  .smt-growth-form-grid .smt-tool-field:not(:nth-child(6)) { border-bottom: 1px solid var(--tool-line); }
  .smt-growth-metric strong { font-size: 21px; }
  .smt-growth-preview strong { font-size: 40px; }
}
