
.LineDetails .WindowContent {
  height: fit-content;
}
.LineDetails .MatrixTable {
  border: var(--BorderWidth) solid var(--BorderColor);
  border-radius: var(--BorderRadius);
}
.LineDetails .MatrixTable tr:not(:last-of-type) td {
  border-bottom: var(--BorderWidth) solid var(--BorderColor);
}
.LineDetails .MatrixTable td.Header {
  padding: 0 4px;
  min-height: var(--HeaderHeight);
  height: var(--HeaderHeight);
  max-height: var(--HeaderHeight);
  background-color: var(--HeaderBackgroundColor);
  color: var(--HeaderColor);
  font-weight: bold;
  border-bottom: 1px solid var(--BorderColor);
}
.LineDetails .MatrixTable td.Header div {
  display: flex;
  justify-content: space-between;
  gap: var(--ContextWindowPadding);
}
.LineDetails .MatrixTable td.Header div .Mandatory {
  color: var(--AttentionColor);
}
.LineDetails .MatrixTable td.Header div .Mandatory::after {
  font-style: normal;
  content: "•";
}
.LineDetails .MatrixTable td.Value {
  min-width: 350px;
  max-width: 500px;
}
.LineDetails .MatrixTable td.Value div[contenteditable="false"] {
  border-style: none;
  padding: 0;
}
.LineDetails .MatrixTable td.Value .LongTextPreview,
.LineDetails .MatrixTable td.Value .TemplateSelect {
  width: 100% !important;
}
.LineDetails .MatrixTable td.Value .TemplateSelect .Selected span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.LineDetails .MatrixTable td.Value .TemplateSelect.ReadOnly .PickListSelected {
  margin-left: 0;
}
.LineDetails .MatrixTable td.ColDiTStyleElement > div {
  align-items: start;
}
.LineDetails .MatrixTable.ReadOnly .Mandatory,
.LineDetails .MatrixTable td:first-of-type.ColAMReadOnly .Mandatory {
  display: none;
}
