[hidden] { display: none !important; }

#dryIceForm .form-grid, #dryIceResults, #pelletResults, #dryIceForm .calc-actions {
  margin-top: 12px;
}

#dryIceForm .calc-actions button {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

#dryIceForm .calc-actions button:disabled { opacity: .55; cursor: default; }
#dryIceFigure { margin: 0; }
#dryIceChart { display: block; width: 100%; height: clamp(270px, 47vw, 430px); }

.dry-ice-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.dry-ice-legend li { display: flex; align-items: center; gap: 7px; }
.dry-ice-legend i { width: 22px; border-top: 3px solid; }
.dry-ice-legend .phase-melting { color: #6954a4; border-top-style: dotted; }
.dry-ice-legend .phase-vaporization { color: #1666ab; }
.dry-ice-legend .phase-sublimation { color: #087e76; border-top-style: dashed; }
.dry-ice-legend .phase-throttling { color: #a34b15; border-top-style: dashed; }
