:host {
  /**
   * @prop --background: Background of the list header
   * @prop --color: Color of the list header text
   *
   * @prop --border-color: Color of the list header border
   * @prop --border-width: Width of the list header border
   * @prop --border-style: Style of the list header border
   *
   * @prop --inner-border-width: Width of the inner list header border
   */
  --border-style: solid;
  --border-width: 0;
  --inner-border-width: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3.125vw;
  border-width: var(--border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  background: var(--background);
  color: var(--color);
  overflow: hidden;
}

:host(.ion-color) {
  background: var(--ion-color-base);
  color: var(--ion-color-contrast);
}

.list-header-inner {
  display: flex;
  position: relative;
  flex: 1;
  flex-direction: inherit;
  align-items: inherit;
  align-self: stretch;
  min-height: inherit;
  border-width: var(--inner-border-width);
  border-style: var(--border-style);
  border-color: var(--border-color);
  overflow: inherit;
  box-sizing: border-box;
}

::slotted(ion-label) {
  flex: 1 1 auto;
}

:host(.list-header-lines-inset),
:host(.list-header-lines-none) {
  --border-width: 0;
}

:host(.list-header-lines-full),
:host(.list-header-lines-none) {
  --inner-border-width: 0;
}

:host {
  --background: transparent;
  --color: var(--ion-color-step-850, #262626);
  --border-color: var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-250, #c8c7cc)));
  padding-left: calc(var(--ion-safe-area-left, 0px) + 1.5625vw);
  position: relative;
  align-items: flex-end;
  font-size: 1.71875vw;
  font-weight: 700;
  letter-spacing: 0;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  :host {
    padding-left: unset;
    -webkit-padding-start: calc(var(--ion-safe-area-left, 0px) + 1.5625vw);
    padding-inline-start: calc(var(--ion-safe-area-left, 0px) + 1.5625vw);
  }
}

::slotted(ion-button),
::slotted(ion-label) {
  margin-top: 2.265625vw;
  margin-bottom: 0.46875vw;
}
::slotted(ion-button) {
  margin-left: 0.234375vw;
  margin-right: 0.234375vw;
  height: 1.4em;
}
@supports (margin-inline-start: 0) or (-webkit-margin-start: 0) {
  ::slotted(ion-button) {
    margin-left: unset;
    margin-right: unset;
    -webkit-margin-start: 0.234375vw;
    margin-inline-start: 0.234375vw;
    -webkit-margin-end: 0.234375vw;
    margin-inline-end: 0.234375vw;
  }
}

:host(.list-header-lines-full) {
  --border-width: 0 0 0.55px 0;
}

:host(.list-header-lines-inset) {
  --inner-border-width: 0 0 0.55px 0;
}