
.Window.Filter:not(.Ppds) {
  border: var(--BorderWidth) solid var(--BorderColor);
  border-radius: 2px;
  background-color: var(--LightBackgroundColor);
}
.Window.Filter.Scrollable {
  height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
}
.Window.Filter.Scrollable .FilterHeader {
  position: sticky;
  top: 0;
}
.Window.Filter .Sections {
  display: grid;
  grid-template-columns: auto minmax(50%, 1fr);
  overflow-y: auto;
  scrollbar-color: color-mix(in srgb, var(--DisabledColor) 80%, transparent) color-mix(in srgb, var(--QuinaryColor) 80%, transparent);
  scrollbar-width: thin;
}
.Window.Filter .Sections::-webkit-scrollbar {
  display: block;
}
.Window.Filter .Sections::-webkit-scrollbar-track {
  background-color: color-mix(in srgb, var(--QuinaryColor) 80%, transparent);
}
.Window.Filter .Sections::-webkit-scrollbar-thumb {
  background-color: color-mix(in srgb, var(--DisabledColor) 80%, transparent);
  background-clip: content-box;
  border-left: solid transparent 1px;
  border-right: solid transparent 1px;
  border-radius: 2px;
}
.Window.Filter .Sections::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
.Window.Filter .Sections .Title,
.Window.Filter .Sections .SingleLineFilter {
  grid-column: 1 / -1;
}
.Window.Filter .Sections .FilterHeader {
  background-color: var(--LightBackgroundColor);
}
.Window.Filter .Sections .FilterHeader:not(:first-of-type) {
  border-top: solid var(--BorderColor) 1px;
  margin-top: calc(var(--ContextPadding) / 2);
}
.Window.Filter .Sections .FilterHeader.Collapsable {
  display: grid;
  padding-right: var(--ContentPadding);
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "indicator label count";
  gap: var(--ContentPadding);
  align-items: center;
  z-index: 1;
}
.Window.Filter .Sections .FilterHeader.Collapsable::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.Window.Filter .Sections .FilterHeader.Collapsable::after {
  content: "\ea67";
}
.Window.Filter .Sections .FilterHeader.Collapsable .Label {
  font-weight: bold;
  grid-area: label;
}
.Window.Filter .Sections .FilterHeader.Collapsable .FilterCount {
  grid-area: count;
  font-size: var(--SmallFontSize);
}
.Window.Filter .Sections .FilterHeader.Collapsable::after {
  grid-area: indicator;
  transform: rotate(0deg);
  transition: transform 0.15s ease-in-out;
  height: 12px;
}
.Window.Filter .Sections .FilterHeader.Collapsable.Collapsed::after {
  transform: rotate(-90deg);
}
.Window.Filter .Sections .FilterLabel,
.Window.Filter .Sections .FilterValue,
.Window.Filter .Sections .SingleLineFilter {
  padding: calc(var(--ContextPadding) / 2) var(--ContextPadding);
}
.Window.Filter .Sections .FilterLabel:last-of-type,
.Window.Filter .Sections .FilterValue:last-of-type,
.Window.Filter .Sections .SingleLineFilter:last-of-type {
  padding-bottom: var(--ContextPadding);
}
.Window.Filter .Sections .FilterLabel.Collapsed,
.Window.Filter .Sections .FilterValue.Collapsed,
.Window.Filter .Sections .SingleLineFilter.Collapsed {
  display: none;
}
.Window.Filter .Sections .FilterLabel {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
}
.Window.Filter .Sections .FilterValue {
  width: 100%;
  min-width: 150px;
  max-width: 300px;
  display: flex;
  gap: var(--ContextPadding);
  justify-self: end;
}
.Window.Filter .Sections .FilterValue .ComparePulldown {
  width: 75px !important;
}
.Window.Filter .Sections .FilterValue .LongTextPreview {
  width: 100% !important;
}
.Window.Filter .Sections .FilterValue .HasErrors {
  background-color: var(--AttentionColor) !important;
}
.Window.Filter .Sections:has(.FilterHeader) label:not(.CustomFileUploadLabel) {
  margin-left: var(--ContextPadding);
}
.Window.Filter .Sections button {
  color: var(--PrimaryColor);
  border-radius: var(--BorderRadius);
  background-color: var(--InputBackground);
  cursor: pointer;
  border: var(--BorderWidth) solid var(--BorderColor);
  line-height: 13px;
  padding: 6px;
  min-width: var(--DefaultInputHeight);
  height: var(--DefaultInputHeight);
}
.Window.Filter .Sections select,
.Window.Filter .Sections input[type=text] {
  height: var(--DefaultInputHeight);
}
.Window.Filter .Sections select,
.Window.Filter .Sections input[type=text],
.Window.Filter .Sections .AttributePickListField,
.Window.Filter .Sections .PickListField,
.Window.Filter .Sections .EntityField {
  width: 100%;
}
.Window.Filter .Sections fieldset {
  width: 100%;
  padding: var(--ContextPadding);
  border: var(--BorderWidth) solid var(--BorderColor);
  border-radius: var(--BorderRadius);
}
.Window.Filter .Buttons {
  border-top: solid var(--BorderColor) var(--BorderWidth);
}
.Window.Filter:not(.Ppds).Scrollable .FilterHeader {
  padding: 0 4px;
  min-height: var(--HeaderHeight);
  height: var(--HeaderHeight);
  max-height: var(--HeaderHeight);
  background-color: var(--HeaderBackgroundLegacyColor);
  color: var(--HeaderLegacyColor);
}
.Window.Filter:not(.Ppds) .Sections {
  row-gap: var(--ContextPadding);
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader {
  padding: 0 4px;
  min-height: var(--HeaderHeight);
  height: var(--HeaderHeight);
  max-height: var(--HeaderHeight);
  background-color: var(--HeaderBackgroundLegacyColor);
  color: var(--HeaderLegacyColor);
  display: flex;
  align-items: center;
  font-weight: normal;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader:not(:first-of-type) {
  border-top-style: none;
  margin-top: 0;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable {
  flex-direction: row;
  justify-content: space-between;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable::after {
  content: "\eab2";
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable::after {
  height: max-content;
  height: initial;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable.Collapsed::after {
  font-family: 'IcoFont' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  /* Better Font Rendering =========== */
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable.Collapsed::after {
  content: "\eab9";
}
.Window.Filter:not(.Ppds) .Sections .FilterHeader.Collapsable.Collapsed::after {
  transform: rotate(0deg);
}
.Window.Filter:not(.Ppds) .Sections .FilterLabel,
.Window.Filter:not(.Ppds) .Sections .FilterValue,
.Window.Filter:not(.Ppds) .Sections .SingleLineFilter {
  padding: 0 var(--ContextPadding);
}
.Window.Filter:not(.Ppds) .Sections .FilterLabel:last-of-type,
.Window.Filter:not(.Ppds) .Sections .FilterValue:last-of-type,
.Window.Filter:not(.Ppds) .Sections .SingleLineFilter:last-of-type {
  padding-bottom: var(--ContextPadding);
}
