.constants-inline-label {
  color: #111;
  font-size: 0.95rem;
}

.constants-tab-content {
  padding: 0;
}

.constants-toggle-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 10px;
  min-height: 38px;
}

.constants-toggle-action-wrap {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.noniso-btn{
  border-radius:12px;
  padding:8px 16px;
  min-height: 34px;
  font-size: 0.88rem;
  line-height: 1.1;
  font-weight: 500;
  border: 1px solid #d0d7de;
  background:#e9ecef;
  color:#333;
  cursor: pointer;
  transition:all 0.2s ease;
}

.noniso-btn.inactive{
  background:#e9ecef;
  color:#333;
  border-color:#d0d7de;
}

.noniso-btn.active{
  background:#2c7be5;
  color:white;
  border-color:#2c7be5;
}

.noniso-btn:hover{
  filter: brightness(0.98);
}

.noniso-btn.active:hover{
  filter: brightness(0.95);
}

.noniso-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.thermal-controls {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thermal-formula-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thermal-formula-label {
  color: #111;
  margin: 0;
  padding: 0;
  line-height: 1;
  min-width: 56px;
}

.thermal-formula-label p {
  margin: 0;
}

.thermal-formula-input {
  font-family: var(--bs-font-sans-serif);
  color: #111;
  flex: 1 1 auto;
}

.thermal-params-grid,
.constants-table-grid {
  height: auto;
  min-height: 0;
}

/* AG Grid autoHeight keeps an internal min-height; remove it for compact params block */
.thermal-params-grid .ag-root-wrapper,
.thermal-params-grid .ag-root-wrapper-body,
.thermal-params-grid .ag-root.ag-layout-auto-height,
.thermal-params-grid .ag-center-cols-clipper {
  min-height: 0 !important;
  height: auto !important;
}

#temp-params-section {
  margin: 0;
  padding: 0;
}

.constants-section-title {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #4f5863;
  text-transform: uppercase;
  margin: 0;
  padding: 2px 0;
}
