.ttm26-glossary-hub,
.ttm26-glossary-related {
  --ttm26-glossary-border: color-mix(in srgb, currentColor 22%, transparent);
  --ttm26-glossary-soft: color-mix(in srgb, currentColor 7%, transparent);
  --ttm26-glossary-radius: 6px;
}

.ttm26-glossary-az {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.ttm26-glossary-az__link {
  display: inline-flex;
  min-width: 2.35rem;
  min-height: 2.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--ttm26-glossary-border);
  border-radius: var(--ttm26-glossary-radius);
  color: inherit;
  font: inherit;
  line-height: 1;
  text-decoration: none;
}

.ttm26-glossary-az__link:hover,
.ttm26-glossary-az__link[aria-current="page"] {
  background: var(--ttm26-glossary-soft);
}

.ttm26-glossary-az__link[aria-current="page"] {
  border-width: 2px;
  font-weight: 700;
}

.ttm26-glossary-search {
  margin: 0 0 1rem;
}

.ttm26-glossary-search__label {
  display: block;
  margin: 0 0 0.45rem;
  font-weight: 700;
}

.ttm26-glossary-search__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ttm26-glossary-search input[type="search"] {
  min-width: min(100%, 18rem);
  flex: 1 1 18rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--ttm26-glossary-border);
  border-radius: var(--ttm26-glossary-radius);
  background: transparent;
  color: inherit;
  font: inherit;
}

.ttm26-glossary-search button {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--ttm26-glossary-border);
  border-radius: var(--ttm26-glossary-radius);
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.ttm26-glossary-status {
  margin: 0 0 1rem;
}

.ttm26-glossary-list {
  border-top: 1px solid var(--ttm26-glossary-border);
}

.ttm26-glossary-term {
  border-bottom: 1px solid var(--ttm26-glossary-border);
}

.ttm26-glossary-term > summary {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.ttm26-glossary-term > summary::-webkit-details-marker {
  display: none;
}

.ttm26-glossary-term__marker {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
}

.ttm26-glossary-term__marker::before,
.ttm26-glossary-term__marker::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.85rem;
  height: 2px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.ttm26-glossary-term__marker::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.ttm26-glossary-term[open] .ttm26-glossary-term__marker::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.ttm26-glossary-term__definition {
  max-width: 74ch;
  padding: 0 0 1.25rem;
}

.ttm26-glossary-term__definition > :first-child {
  margin-top: 0;
}

.ttm26-glossary-term__definition > :last-child {
  margin-bottom: 0;
}

.ttm26-glossary-term__read-more {
  font-weight: 700;
}

.ttm26-glossary-empty {
  padding: 1rem 0;
}

.ttm26-glossary-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ttm26-glossary-related a,
.ttm26-glossary-meta-link,
.ttm26-glossary-back-link {
  color: inherit;
  text-underline-offset: 0.16em;
}

.ttm26-glossary-related a {
  display: inline-flex;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--ttm26-glossary-border);
  border-radius: var(--ttm26-glossary-radius);
  text-decoration: none;
}

.ttm26-glossary-hub a:focus-visible,
.ttm26-glossary-hub button:focus-visible,
.ttm26-glossary-hub input:focus-visible,
.ttm26-glossary-hub summary:focus-visible,
.ttm26-glossary-related a:focus-visible,
.ttm26-glossary-meta-link:focus-visible,
.ttm26-glossary-back-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

[data-glossary-term][hidden],
[data-glossary-client-empty][hidden] {
  display: none;
}

@media (max-width: 480px) {
  .ttm26-glossary-az {
    gap: 0.35rem;
  }

  .ttm26-glossary-az__link {
    min-width: 2.15rem;
    min-height: 2.15rem;
    padding: 0.35rem 0.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttm26-glossary-hub *,
  .ttm26-glossary-related * {
    scroll-behavior: auto;
  }
}
