/* Properties window: a component's properties, such as a pump's flow curve, with the
   chosen option's graph and description (js/ui/propertiesWindow.js). */

#propertiesWindow {
  width: 330px
}

/* In the Properties window: the chart on the left, its description beside it. */
#propertiesWindow .choiceCard {
  display: grid;
  grid-template-columns: 140px 1fr;
  column-gap: 10px;
  align-items: center
}

#propertiesWindow .choiceCard b,
#propertiesWindow .choiceCard ul {
  grid-column: 1 / -1
}

/* The description's last line sits on the chart's horizontal axis: the space
   under the axis (its labels) is lifted off the bottom. */
#propertiesWindow .choiceCard > svg {
  align-self: end
}

#propertiesWindow .choiceCard > span {
  align-self: end;
  margin-bottom: 18px
}

#propertiesWindow .choiceCards {
  margin-top: 10px
}

#propertiesWindow .propertyRow {
  margin: 10px 0 0
}

#propertiesWindow .propertyTitle {
  font-size: 12px;
  color: var(--mutedText);
  margin-bottom: 4px
}

#propertiesWindow .propertySegments {
  display: flex
}

#propertiesWindow .propertySegments .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 30px;
  height: auto;
  padding: 5px 8px;
  white-space: normal;
  line-height: 1.25;
  font-size: 13px
}

#propertiesWindow .propertyNote {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mutedText)
}

#propertiesWindow .unitField {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  border-radius: 5px
}

#propertiesWindow .unitField input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--text);
  font: 13px Inter, sans-serif;
  outline: none
}
