/* ===============================
   INPUT PANEL (LEFT + RIGHT)
=============================== */

.triangle-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

/* ===============================
   LEFT: INPUT SECTION
=============================== */

.input-left.calc-section {
  padding: 20px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
}

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

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

/* ===============================
   RIGHT: RESULT SECTION
=============================== */

.input-right-stack {
  padding: 20px;
  background: #f8fafc;
  display: flex;
  align-items: center;
}

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

.result-box {
  width: 100%;
  background: #ffffff;
  border-radius: 10px;
  padding: 18px;
  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: 12px;
}

/* ===============================
   RESULT GRID
=============================== */

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

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

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

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

  .input-left.calc-section {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .input-right-stack {
    background: #ffffff;
  }
}
