/* Typography Usage mixins */
:host {
  box-sizing: border-box;
  position: relative;
}
:host * {
  box-sizing: border-box;
}
:host ::slotted(*) {
  all: unset;
  min-width: 142px;
  display: block;
  width: calc(100% - 32px);
  font-family: var(--type-system-title-01-font-family);
  font-size: calc(var(--type-system-title-01-font-size) * 1px);
  line-height: calc(var(--type-system-title-01-line-height) * 1px);
  font-weight: var(--type-system-title-01-font-weight);
  letter-spacing: calc(var(--type-system-title-01-letter-spacing) * 1px);
  cursor: pointer;
  padding: 16px;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  outline: none;
  border: none;
}
:host ::slotted(*:focus-within)::before {
  outline: 2px solid var(--component--focus-ring-color-strong);
  box-shadow: 0 0 0 1px var(--component--focus-ring-color-discrete);
  outline-offset: 1px;
  z-index: 1;
  content: "";
  position: absolute;
  inset: 3px;
}
:host div:not(.selected) {
  background-color: var(--tds-folder-tab-background);
  position: relative;
  border-left: 1px solid var(--tds-folder-tab-divider-color);
}
:host div:not(.selected) ::slotted(*) {
  border-top: 2px solid transparent;
  color: var(--tds-folder-tab-item-color);
}
:host div:not(.selected):hover:not(.disabled) {
  background-color: var(--tds-folder-tab-background-hover);
  cursor: pointer;
}
:host div:not(.selected):hover:not(.disabled) ::slotted(*) {
  color: var(--tds-folder-tab-item-color);
}
:host div:not(.selected).disabled {
  background-color: var(--tds-folder-tab-item-background-disabled);
  opacity: var(--tds-folder-tab-item-opacity-disabled);
  border-left: 1px solid var(--tds-folder-tab-divider-color);
}
:host div:not(.selected).disabled ::slotted(*:focus-visible)::before {
  outline: none;
}
:host div:not(.selected).disabled ::slotted(*:hover) {
  cursor: not-allowed;
}
:host div:not(.selected).disabled ::slotted(*::after) {
  content: none;
}
:host .selected {
  background-color: var(--tds-folder-tab-background-selected);
  border-top: 2px solid var(--tds-folder-tab-border-selected);
}
:host .selected ::slotted(*) {
  color: var(--tds-folder-tab-item-color-selected);
}

:host(.first) ::slotted(*) {
  border-left-color: transparent;
}
:host(.first) .selected {
  border-left: none;
}