.energy-tool {
  border: 1px solid #cad8de;
  border-radius: 1rem;
  padding: clamp(1rem, 3vw, 1.75rem);
  margin-block: 1.5rem;
  background: #f2f7f8;
  color: #0b2b3f;
}

.energy-tool h2 { margin-top: 0; }

.energy-tool .energy-tool-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: end;
  margin-block: 1rem;
}

.energy-tool label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

.energy-tool input,
.energy-tool select {
  max-width: 100%;
  min-height: 2.6rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid #6f8a99;
  border-radius: 0.35rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

.energy-tool input[type='number'] { width: 11ch; }

.energy-tool fieldset {
  margin: 0;
  padding: 0.5rem 0.75rem 0.75rem;
  border: 1px solid #a5b8c1;
  border-radius: 0.5rem;
  min-width: 0;
}

.energy-tool fieldset .energy-tool-fields { margin-block: 0; }
.energy-tool output { display: block; margin-block: 0.8rem; font-weight: 600; }
.energy-tool [data-price-status] { min-height: 1.5em; }

.energy-tool-scroll {
  max-height: 21rem;
  overflow: auto;
  margin-block: 0.8rem;
}

.energy-tool-scroll table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.energy-tool-scroll th,
.energy-tool-scroll td {
  padding: 0.45rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid #cad8de;
}

.energy-tool-scroll thead th {
  position: sticky;
  top: 0;
  background: #e1eef1;
}

.energy-guide-links {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
}

.energy-guide-links li {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  padding: 0.8rem;
  border-left: 0.2rem solid #769e91;
  background: #f2f7f8;
}

.energy-guide-links a {
  font-weight: 700;
  text-decoration: underline;
}
