.stock-tool-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.stock-tool-header {
  background: linear-gradient(90deg, #5661ff, #8b5cff);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.stock-tool-header h2 {
  font-size: 20px;
  margin: 0;
}

.stock-tabs {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #dee2e6;
}

.stock-tab-item {
  padding: 8px 14px;
  margin-right: 6px;
  margin-bottom: 0;
  cursor: pointer;
  font-size: 14px;
  border-radius: 0.6rem 0.6rem 0 0;
  border: none;
  border-bottom: 3px solid transparent;
  background-color: #f3f4f6;
  color: #6c757d;
  font-weight: 600;
}

.stock-tab-item.active {
  background-color: #ffffff;
  border-bottom-color: #0d6efd;
  color: #0d6efd;
}

.stock-tab-item:hover {
  color: #0d6efd;
  border-bottom-color: rgba(13, 110, 253, 0.3);
}

.stock-tab-content {
  margin-top: 4px;
}

.stock-tab-pane {
  display: none;
}

.stock-tab-pane.active {
  display: block;
}

.stock-card {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.stock-card .card-header {
  background-color: #f9fafb;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stock-card .icon {
  font-size: 16px;
}

.stock-card .card-body {
  background-color: #ffffff;
}

.stock-card .btn {
  min-width: 180px;
}

.result-box {
  margin-top: 12px;
  padding: 10px 12px;
  background-color: #f3f4ff;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.6;
  min-height: 40px;
}

.result-box strong {
  color: #1d4ed8;
}

/* 做T测算：PC 端每行两个输入框 */
.t-grid-row {
  display: flex;
  flex-wrap: wrap;
}.t-grid-col {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}.t-grid-col .form-label {
  font-size: 14px;
}