/* ===============================
   INPUT + RESULT PANEL
=============================== */

.triangle-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

/* ===============================
   INPUT SECTION (LEFT)
=============================== */

.input-left.calc-section {
  background: #ffffff;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
}

.input-left .row {
  margin-bottom: 12px;
}

textarea {
  width: 100%;
  resize: vertical;
  min-height: 110px;
}

.input-help {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

/* ===============================
   RESULT SECTION (RIGHT – SAME PANEL)
=============================== */

.input-right-stack {
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
}

/* ===============================
   RESULT BOX
=============================== */

.result-box {
  background: #ffffff;
  width: 100%;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.result-box h3 {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 10px;
}

/* ===============================
   STAT GRID
=============================== */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  font-size: 15px;
}

.stat-grid strong {
  font-weight: 600;
  color: #1e293b;
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
  .triangle-panel {
    grid-template-columns: 1fr;
  }

  .input-right-stack {
    margin-top: 12px;
  }
}
