/**
 * Do not edit directly, this file was auto-generated.
 */
@layer jokul.components {
  .jkl-expandable {
    background-color: var(--jkl-color-background-container-low);
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
  }
  .jkl-expandable__content[data-expanded=true] {
    height: auto;
  }
  .jkl-expandable__content[data-expanded=false] {
    height: 0;
  }
  .jkl-expandable[data-visible-content=true] .jkl-expander {
    border-bottom: 1px solid transparent;
  }
  .jkl-expandable__content-wrapper {
    padding: var(--jkl-unit-20);
  }
  .jkl-expandable--stroke {
    border-color: var(--jkl-color-border-separator);
    background-color: transparent;
    border-radius: 0;
    border-radius: var(--border-top-left-radius) var(--border-top-right-radius) var(--border-bottom-right-radius) var(--border-bottom-left-radius);
  }
  .jkl-expandable__wrapper {
    --border-radius: 0.25rem;
    --outline-offset: 3px;
    --stroke-outline-offset: 3px;
    --border-top-left-radius: var(--border-radius);
    --border-top-right-radius: var(--border-radius);
    --border-bottom-left-radius: var(--border-radius);
    --border-bottom-right-radius: var(--border-radius);
    position: relative;
  }
  .jkl-expandable__wrapper + .jkl-expandable__wrapper {
    --border-top-left-radius: 0;
    --border-top-right-radius: 0;
    --stroke-outline-offset: -1px;
  }
  .jkl-expandable__wrapper + .jkl-expandable__wrapper .jkl-expandable--stroke {
    border-top: none;
  }
  .jkl-expandable__wrapper:has(+ .jkl-expandable__wrapper) {
    --border-bottom-left-radius: 0;
    --border-bottom-right-radius: 0;
    --stroke-outline-offset: -1px;
  }
  .jkl-expandable__wrapper:has(.jkl-expander:focus-visible):has(.jkl-expandable--stroke) {
    --outline-offset: var(--stroke-outline-offset);
  }
  .jkl-expandable__wrapper:has(.jkl-expander:focus-visible) .jkl-expandable__focus-container {
    outline: 3px solid var(--jkl-color-border-action);
    outline-offset: 3px;
    outline-offset: var(--outline-offset);
  }
  .jkl-expandable__focus-container {
    border-radius: var(--border-radius);
    position: absolute;
    inset: 0;
  }
  .jkl-expander {
    box-sizing: border-box;
    background: none;
    appearance: none;
    border: none;
    text-align: left;
    width: 100%;
    padding: var(--jkl-unit-20);
    cursor: pointer;
    color: var(--jkl-color);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    /* Removes the default disclosure triangle without breaking semantics */
    list-style: none;
  }
  .jkl-expander::-webkit-details-marker {
    display: none;
  }
  .jkl-expander__label {
    flex-grow: 1;
  }
  .jkl-expander__chevron {
    user-select: none;
    transition-property: transform;
    transform: rotate(0turn);
    text-align: right;
  }
  .jkl-expander--open .jkl-expander__label {
    --jkl-icon-weight: 400;
    font-weight: 700;
    letter-spacing: -0.014em;
  }
  .jkl-expander--open .jkl-expander__chevron {
    transform: rotate(-0.5turn);
    transition-timing-function: ease;
    transition-duration: 100ms;
  }
  @media (hover: hover) {
    .jkl-expander:hover {
      background-color: var(--jkl-color-background-interactive-selected);
    }
  }
  .jkl-expander {
    outline: 0;
    border-style: none;
    outline-style: none;
  }
  .jkl-expander:active, .jkl-expander:hover, .jkl-expander:focus {
    outline: 0;
    outline-style: none;
  }
  @media screen and (forced-colors: active) {
    .jkl-expander {
      outline: revert;
      border-style: revert;
      outline-style: revert;
    }
    .jkl-expander:active, .jkl-expander:hover, .jkl-expander:focus {
      outline: revert;
      outline-style: revert;
    }
  }
}