.te2-wrap {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  max-width: 1200px;
}

.te2-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.te2-title {
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.te2-subtitle {
  font-size: 13px;
  color: #333;
}

.te2-controls {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.te2-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #111;
  min-width: 220px;
}

.te2-label input,
.te2-label select {
  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.2);
}

.te2-btn {
  background: #111;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  height: 42px;
}

.te2-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 14px;
  align-items: start;
}

.te2-panel {
  background: #f5f5f5;
  border-radius: 12px;
  padding: 14px;
}

.te2-panel-title {
  font-weight: 900;
  color: #111;
  margin-bottom: 10px;
}

.te2-output {
  margin-top: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,0.12);
}

.te2-outrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.te2-outrow:last-child {
  border-bottom: 0;
}

.te2-outrow b {
  color: #555;
  font-size: 12px;
}

.te2-outrow span {
  font-weight: 900;
  color: #111;
}

.te2-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #333;
  line-height: 1.35;
}

.te2-chartWrap {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  overflow: hidden;
  min-height: 560px;
}

#te2-chart {
  height: 560px;
  width: 100%;
}

@media (max-width: 980px) {
  .te2-grid {
    grid-template-columns: 1fr;
  }
  .te2-label {
    min-width: 0;
    width: 100%;
  }
  #te2-chart {
    height: 520px;
  }
}
