/* Icon component styles */
._iconStyle_ycys7_2 {
  color: var(--icon-color, var(--level-2-layer-text-low));
}

/* todo: rethink built-in hover — consumers currently need to set both --icon-color and --hover-icon-color */
._iconStyle_ycys7_2:hover {
  color: var(--hover-icon-color, var(--level-2-layer-text-low));
}

._iconStyle_ycys7_2[data-color="inherit"] {
  color: inherit;
}

._iconStyle_ycys7_2[data-hover-color="inherit"]:hover {
  color: inherit;
}

/* no `fill`: the latest set is stroke-only line art, and fill inherits in svg. colour reaches
   both sets via `currentColor` on the shapes, driven by `color` here. */
._svgStyle_ycys7_21 {
  display: block;
}
._overlay_1ne8i_1,
._inline_1ne8i_2 {
  --drawer-duration: 500ms;
  --drawer-easing: cubic-bezier(0.32, 0.72, 0, 1);
}

._overlay_1ne8i_1 {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-modal);
  block-size: var(--visual-viewport-height, 100dvh);
}

._scrim_1ne8i_15 {
  position: absolute;
  inset: 0;

  background-color: var(--level-0-layer-background);
  opacity: 0.5;

  transition: opacity var(--drawer-duration) var(--drawer-easing);

  ._overlay_1ne8i_1:is([data-entering], [data-exiting]) & {
    opacity: 0;
  }
}

._sheet_1ne8i_29,
._inline_1ne8i_2 {
  --drawer-size: 400px;
}

._sheet_1ne8i_29 {
  position: absolute;
  display: flex;
  overflow: clip;
  outline: none;
  flex-direction: column;

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);

  transition: transform var(--drawer-duration) var(--drawer-easing);

  &[data-edge='start'],
  &[data-edge='end'] {
    inset-block: 0;
    inline-size: min(var(--drawer-size), calc(100% - var(--spacing-large-space-spacious)));
    padding-block: env(safe-area-inset-top) env(safe-area-inset-bottom);
  }

  &[data-edge='start'] {
    inset-inline-start: 0;
    padding-inline-start: env(safe-area-inset-left);
  }

  &[data-edge='end'] {
    inset-inline-end: 0;
    padding-inline-end: env(safe-area-inset-right);
  }

  &[data-edge='bottom'] {
    inset-inline: 0;
    inset-block-end: 0;
    max-block-size: min(var(--drawer-size), calc(100% - var(--spacing-large-space-spacious)));
    padding-block-end: env(safe-area-inset-bottom);
    padding-inline: env(safe-area-inset-left) env(safe-area-inset-right);
    border-start-start-radius: var(--spacing-large-border-radius);
    border-start-end-radius: var(--spacing-large-border-radius);
  }

  &:is([data-entering], [data-exiting]) {
    &[data-edge='start'] {
      transform: translateX(-100%);
    }

    &[data-edge='end'] {
      transform: translateX(100%);
    }

    &[data-edge='bottom'] {
      transform: translateY(100%);
    }

    &:dir(rtl)[data-edge='start'] {
      transform: translateX(100%);
    }

    &:dir(rtl)[data-edge='end'] {
      transform: translateX(-100%);
    }
  }
}

._grabber_1ne8i_96 {
  flex-shrink: 0;
  align-self: center;
  inline-size: var(--spacing-medium-space-generous);
  block-size: var(--spacing-small-space-balanced);
  margin-block: var(--spacing-small-space-relaxed);
  border-radius: var(--spacing-large-border-radius-full);

  background-color: var(--layer-border-high);
}

._dialog_1ne8i_107 {
  display: flex;
  min-block-size: 0;
  outline: none;
  flex: 1;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
}

._inline_1ne8i_2 {
  position: relative;
  overflow: clip;
  flex-shrink: 0;
  block-size: 100%;
  inline-size: var(--drawer-size);

  &[data-mode='docked'] {
    transition: inline-size var(--drawer-duration) var(--drawer-easing);

    &[data-edge='start'] {
      --drawer-divider-end: var(--border-width-thin);
    }

    &[data-edge='end'] {
      --drawer-divider-start: var(--border-width-thin);
    }

    &[data-open='false'] {
      inline-size: 0;
    }
  }

  &[data-mode='overlay'] {
    position: absolute;
    inset-block: 0;
    z-index: var(--z-notification);

    pointer-events: none;

    transition: box-shadow var(--drawer-duration) var(--drawer-easing);

    &[data-edge='start'] {
      inset-inline-start: 0;
    }

    &[data-edge='end'] {
      inset-inline-end: 0;
    }

    &[data-open='true'] {
      box-shadow: var(--shadows-elevated-2-shadow);
    }
  }
}

._panel_1ne8i_163 {
  position: absolute;
  inset-block: 0;
  display: flex;
  inline-size: var(--drawer-size);
  outline: none;
  flex-direction: column;

  border-inline-start: var(--drawer-divider-start, 0) solid var(--layer-border-low);
  border-inline-end: var(--drawer-divider-end, 0) solid var(--layer-border-low);

  background-color: var(--layer-background);

  pointer-events: auto;

  transition:
    transform var(--drawer-duration) var(--drawer-easing),
    visibility 0s;

  ._inline_1ne8i_2[data-edge='start'] > & {
    inset-inline-end: 0;
  }

  ._inline_1ne8i_2[data-edge='end'] > & {
    inset-inline-start: 0;
  }

  ._inline_1ne8i_2[data-open='false'] > & {
    visibility: hidden;

    transition:
      transform var(--drawer-duration) var(--drawer-easing),
      visibility 0s var(--drawer-duration);
  }

  ._inline_1ne8i_2[data-open='false'][data-edge='start'] > & {
    transform: translateX(-100%);
  }

  ._inline_1ne8i_2[data-open='false'][data-edge='end'] > & {
    transform: translateX(100%);
  }

  ._inline_1ne8i_2[data-open='false'][data-edge='start']:dir(rtl) > & {
    transform: translateX(100%);
  }

  ._inline_1ne8i_2[data-open='false'][data-edge='end']:dir(rtl) > & {
    transform: translateX(-100%);
  }
}

@media (max-width: 639px) {
  ._sheet_1ne8i_29:is([data-edge='start'], [data-edge='end']) {
    inline-size: 100%;

    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  ._overlay_1ne8i_1,
  ._inline_1ne8i_2 {
    --drawer-duration: 0s;
  }
}
._footer_1k9q9_1 {
  display: flex;
}

._footerContainer_1k9q9_5 {
  display: flex;
  padding: var(--spacing-small-space-generous);
  flex: 1;
  gap: var(--spacing-small-space-spacious);
  align-items: center;
  justify-content: space-between;

  &[data-centered='true'] {
    justify-content: center;
  }
}

._footerStart_1k9q9_18 {
  display: flex;

  gap: var(--spacing-small-space-spacious);
  justify-content: flex-start;
}

._footerEnd_1k9q9_25 {
  display: flex;

  gap: var(--spacing-small-space-spacious);
  justify-content: flex-end;
}

@media (max-width: 639px) {
  /* full screen, so the footer has to clear the home indicator itself */
  ._footerContainer_1k9q9_5 {
    padding-bottom: calc(var(--spacing-small-space-generous) + env(safe-area-inset-bottom, 0px));
  }
}
/* button reset comes from ui-theme/reset.css; layered so consumer classes win */
@layer sparta-ds {
  ._root_1nn31_3 {
    position: relative;

    pointer-events: auto;
    user-select: none;

    &:disabled {
      cursor: default;
    }
  }
}
._root_8pcgb_1 {
  display: flex;

  width: max-content;
  height: max-content;

  align-items: center;
  justify-content: center;

  color: var(--layer-text-high);
}

._root_8pcgb_1[data-color='inherit'] {
  color: inherit;
}

._message_8pcgb_17 {
  font: var(--message-font);
  text-align: center;
  white-space: nowrap;
}

._root_8pcgb_1[data-size='large'] {
  --message-font: var(--interface-label-extra-large-regular);
  --spinner-size: 32px;
}

._root_8pcgb_1[data-size='medium'] {
  --message-font: var(--interface-label-large-regular);
  --spinner-size: 24px;
}

._root_8pcgb_1[data-size='small'] {
  --message-font: var(--interface-label-medium-regular);
  --spinner-size: 20px;
}

._content_8pcgb_38 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;
}

@keyframes _spin_8pcgb_67 {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes _arc-breathe_8pcgb_1 {
  from {
    rotate: 0deg;
    stroke-dasharray: 8 44;
  }

  to {
    rotate: -110deg;
    stroke-dasharray: 40 44;
  }
}

._spinner_8pcgb_67 {
  width: var(--spinner-size);
  height: var(--spinner-size);

  animation: _spin_8pcgb_67 0.75s linear infinite;
  will-change: transform;
}

._arc_8pcgb_75 {
  transform-origin: center center;

  animation: _arc-breathe_8pcgb_1 0.75s cubic-bezier(0.46, 0.03, 0.52, 0.96) infinite alternate;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2.5;
}

@media (prefers-reduced-motion: reduce) {
  ._spinner_8pcgb_67 {
    animation-duration: 1.5s;
  }

  ._arc_8pcgb_75 {
    animation: none;
    stroke-dasharray: 24 44;
  }
}
._container_1y9c5_1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  line-height: 0;
}

/* figma size spec reserves 10/12/16px boxes around the 8px dot; no tokens exist for these */
._container_1y9c5_1[data-size='small'] {
  min-width: 10px;
  min-height: 10px;
}

._container_1y9c5_1[data-size='medium'] {
  min-width: 12px;
  min-height: 12px;
}

._container_1y9c5_1[data-size='large'] {
  min-width: 16px;
  min-height: 16px;
}

._container_1y9c5_1[data-size='fill'] {
  position: absolute;
  inset: 0;

  pointer-events: none;
}

._dot_1y9c5_32 {
  box-sizing: border-box;
  width: 8px;
  height: 8px;

  border: var(--border-width-thin) solid transparent;
  border-radius: var(--spacing-medium-border-radius-full);

  background: var(--sentiment-high-layer-background);
  background-clip: padding-box;
}

._container_1y9c5_1[data-size='fill'] ._dot_1y9c5_32 {
  position: absolute;

  /* figma fill spec: the dot pokes out of the host's top-right corner */
  top: -3px;
  right: -4px;

  /* surface outline: ring matching the surface behind the host; override per surface */
  border-color: var(--notification-dot-surface, var(--layer-background));
}

._container_1y9c5_1[data-pulsing] ._dot_1y9c5_32 {
  animation: _notification-dot-pulse_1y9c5_1 1.2s ease-in-out infinite;
}

@keyframes _notification-dot-pulse_1y9c5_1 {
  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  ._container_1y9c5_1[data-pulsing] ._dot_1y9c5_32 {
    animation: none;
  }
}
._button_uxs0i_1 {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-width: fit-content;
  border-width: var(--border-width-thin);
  border-style: solid;
  border-color: transparent;
  border-radius: var(--spacing-small-border-radius);
  gap: var(--spacing-small-space-balanced);
  align-items: center;
  justify-content: center;

  overflow-wrap: normal;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  &[data-width='auto'] {
    width: auto;
  }

  &[data-shape='pill'] {
    border-radius: var(--spacing-small-border-radius-full);
  }

  &[data-disabled] {
    cursor: default;
  }

  &[data-focus-visible]:not([data-disabled]),
  &:focus-visible:not([data-disabled]) {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  &[data-size='extra-large'] {
    min-height: var(--spacing-small-min-height-relaxed);
    padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-spacious);

    font: var(--interface-label-large-semi-bold);
  }

  &[data-size='large'] {
    min-height: var(--spacing-small-min-height-relaxed);
    padding: var(--spacing-small-space-flush) var(--spacing-small-space-spacious);

    font: var(--interface-label-large-semi-bold);
  }

  &[data-size='medium'] {
    min-height: var(--spacing-small-min-height-balanced);
    padding: var(--spacing-small-space-flush) var(--spacing-small-space-relaxed);

    font: var(--interface-label-medium-semi-bold);
  }

  &[data-size='small'] {
    min-height: var(--spacing-small-min-height-compact);
    padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);

    font: var(--interface-label-small-semi-bold);
  }

  &[data-variant='primary'] {
    --button-background: var(--primary-mid-layer-background);
    --button-text: var(--primary-mid-layer-text-high);
    --button-state-direction: var(--primary-mid-layer-state-direction);

    &[data-sentiment] {
      --button-background: var(--sentiment-mid-layer-background);
      --button-text: var(--sentiment-mid-layer-text-high);
      --button-state-direction: var(--sentiment-mid-layer-state-direction);
    }

    border-color: var(--button-background);

    color: var(--button-text);
    background-color: var(--button-background);

    &[data-hovered]:not([data-disabled], [aria-disabled='true']),
    &:hover:not([data-disabled], [aria-disabled='true']) {
      border-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-hover-offset)) c h);

      color: oklch(from var(--button-text) calc(l + var(--button-state-direction) * var(--text-hover-offset)) c h);
      background-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-hover-offset)) c h);
    }

    &[data-pressed]:not([data-disabled], [aria-disabled='true']),
    &:active:not([data-disabled], [aria-disabled='true']) {
      border-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-active-offset)) c h);

      color: oklch(from var(--button-text) calc(l + var(--button-state-direction) * var(--text-active-offset)) c h);
      background-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-active-offset)) c h);
    }

    &[data-disabled] {
      border-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-disabled-offset)) c h);

      color: oklch(from var(--button-text) l c h / var(--text-disabled-opacity));
      background-color: oklch(from var(--button-background) calc(l + var(--button-state-direction) * var(--background-disabled-offset)) c h);
    }
  }

  &[data-variant='secondary'] {
    --button-border: var(--layer-border-high);
    --button-border-hover: var(--layer-border-high);
    --button-border-active: var(--layer-border-high);
    --button-text: var(--layer-text-high);
    --button-text-hover: var(--layer-text-high-hover);
    --button-text-active: var(--layer-text-high-active);
    --button-background-secondary: var(--layer-background);
    --button-background-secondary-hover: var(--layer-background-hover);
    --button-background-secondary-active: var(--layer-background-active);
    --button-background-secondary-disabled: var(--layer-background-disabled);

    &[data-sentiment] {
      --button-border: var(--sentiment-element-border-low);
      --button-border-hover: var(--sentiment-element-border-low-hover);
      --button-border-active: var(--sentiment-element-border-low-active);
      --button-text: var(--sentiment-element-text);
      --button-text-hover: var(--sentiment-element-text-hover);
      --button-text-active: var(--sentiment-element-text-active);
      --button-background-secondary: inherit;
      --button-background-secondary-hover: inherit;
      --button-background-secondary-active: inherit;
      --button-background-secondary-disabled: inherit;

      &[data-emphasis] {
        --button-border: var(--sentiment-emphasis-layer-border-low);
        --button-border-hover: var(--sentiment-emphasis-layer-border-low-hover);
        --button-border-active: var(--sentiment-emphasis-layer-border-low-active);
        --button-text: var(--sentiment-emphasis-layer-text-high);
        --button-text-hover: var(--sentiment-emphasis-layer-text-high-hover);
        --button-text-active: var(--sentiment-emphasis-layer-text-high-active);
        --button-background-secondary: var(--sentiment-emphasis-layer-background);
        --button-background-secondary-hover: var(--sentiment-emphasis-layer-background-hover);
        --button-background-secondary-active: var(--sentiment-emphasis-layer-background-active);
        --button-background-secondary-disabled: var(--sentiment-emphasis-layer-background-disabled);
      }
    }

    border-color: var(--button-border);

    color: var(--button-text);
    background-color: var(--button-background-secondary);

    &[data-hovered]:not([data-disabled], [aria-disabled='true']),
    &:hover:not([data-disabled], [aria-disabled='true']) {
      border-color: var(--button-border-hover);

      color: var(--button-text-hover);
      background-color: var(--button-background-secondary-hover);
    }

    &[data-pressed]:not([data-disabled], [aria-disabled='true']),
    &:active:not([data-disabled], [aria-disabled='true']) {
      border-color: var(--button-border-active);

      color: var(--button-text-active);
      background-color: var(--button-background-secondary-active);
    }

    &[data-disabled] {
      border-color: oklch(from var(--button-border) l c h / var(--border-disabled-opacity));

      color: oklch(from var(--button-text) l c h / var(--text-disabled-opacity));
      background-color: var(--button-background-secondary-disabled);
    }
  }

  &[data-variant='quiet'] {
    --button-text: var(--layer-text-low);

    &[data-sentiment] {
      --button-text: var(--sentiment-element-text);
    }

    padding-inline: var(--spacing-small-space-relaxed);

    color: var(--button-text);

    &[data-size='medium'],
    &[data-size='small'] {
      padding-inline: var(--spacing-small-space-balanced);
    }

    &[data-hovered]:not([data-disabled], [aria-disabled='true']),
    &:hover:not([data-disabled], [aria-disabled='true']) {
      color: oklch(from var(--button-text) calc(l - var(--layer-state-direction) * var(--text-hover-offset)) c h);
      background-color: var(--layer-background-hover);
    }

    &[data-pressed]:not([data-disabled], [aria-disabled='true']),
    &:active:not([data-disabled], [aria-disabled='true']) {
      color: oklch(from var(--button-text) calc(l - var(--layer-state-direction) * var(--text-active-offset)) c h);
      background-color: var(--layer-background-active);
    }

    &[data-disabled] {
      color: oklch(from var(--button-text) l c h / var(--text-disabled-opacity));
    }
  }

  &[data-icon-only] {
    width: auto;

    &[data-size='extra-large'] {
      min-width: var(--spacing-small-min-height-relaxed);
      padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed);
    }

    &[data-size='large'] {
      min-width: var(--spacing-small-min-height-relaxed);
      padding: var(--spacing-small-space-flush);
    }

    &[data-size='medium'] {
      min-width: var(--spacing-small-min-height-balanced);
      padding: var(--spacing-small-space-compact);
    }

    &[data-size='small'] {
      min-width: var(--spacing-small-min-height-compact);
      padding: var(--spacing-small-space-compact);
    }
  }
}

._button_uxs0i_1 .icon {
  pointer-events: none;
}

._startIcon_uxs0i_234,
._endIcon_uxs0i_235 {
  flex-shrink: 0;

  color: inherit;
}

._notificationAnchor_uxs0i_241 {
  position: relative;
  display: inline-flex;
  min-width: 0;
  gap: inherit;
  align-items: center;
}

._label_uxs0i_249 {
  overflow: hidden;

  text-overflow: ellipsis;
}
._container_z4l3b_1 {
  --icon-size-extra-large: 20px;
  --icon-size-large: 14px;
  --icon-size-medium: 16px;
  --icon-size-small: 13px;

  --text-height-extra-large: 16px;
  --text-height-large: 13px;
  --text-height-medium: 11px;
  --text-height-small: 11px;

  --text-min-width: 45px;

  display: inline-flex;

  border-radius: var(--spacing-small-border-radius);

  gap: var(--spacing-small-space-balanced);
  align-items: center;
  justify-content: center;

  text-align: center;

  background-color: var(--sublayer-background);

  ._icon_z4l3b_26 {
    display: inline-block;
    border-radius: var(--spacing-medium-border-radius-full);
    flex-shrink: 0;

    background-color: var(--skeleton-background);

    animation: var(--skeleton-animation);
  }

  ._text_z4l3b_36 {
    display: inline-block;
    border-radius: var(--spacing-small-border-radius-tight);

    background-color: var(--skeleton-background);

    animation: var(--skeleton-animation);
  }

  &[data-size='extra-large'] {
    min-height: var(--spacing-small-min-height-relaxed);
    padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-spacious);

    ._text_z4l3b_36 {
      min-width: var(--text-min-width);
      height: var(--text-height-extra-large);
    }

    ._icon_z4l3b_26 {
      width: var(--icon-size-extra-large);
      height: var(--icon-size-extra-large);
    }
  }

  &[data-size='large'] {
    min-height: var(--spacing-small-min-height-relaxed);
    padding: var(--spacing-small-space-flush) var(--spacing-small-space-spacious);

    ._text_z4l3b_36 {
      min-width: var(--text-min-width);
      height: var(--text-height-large);
    }

    ._icon_z4l3b_26 {
      width: var(--icon-size-large);
      height: var(--icon-size-large);
    }
  }

  &[data-size='medium'] {
    min-height: var(--spacing-small-min-height-balanced);
    padding: var(--spacing-small-space-flush) var(--spacing-small-space-relaxed);

    ._text_z4l3b_36 {
      min-width: var(--text-min-width);
      height: var(--text-height-medium);
    }

    ._icon_z4l3b_26 {
      width: var(--icon-size-medium);
      height: var(--icon-size-medium);
    }
  }

  &[data-size='small'] {
    min-height: var(--spacing-small-min-height-compact);
    padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);

    ._text_z4l3b_36 {
      min-width: var(--text-min-width);
      height: var(--text-height-small);
    }

    ._icon_z4l3b_26 {
      width: var(--icon-size-small);
      height: var(--icon-size-small);
    }
  }
}

/* an icon-only large button keeps the 16px glyph its label would otherwise shrink */
._container_z4l3b_1[data-size='large'][data-icon-only] ._icon_z4l3b_26 {
  width: var(--icon-size-medium);
  height: var(--icon-size-medium);
}
:where(._heading_96qbp_1) {
  margin: 0;
}

._heading_96qbp_1 {
  color: var(--layer-text-high);

  &[data-tone='primary'] {
    color: var(--primary-element-text);
  }

  &[data-size='large'] {
    font: var(--interface-heading-medium-semi-bold);
  }

  &[data-size='medium'] {
    font: var(--interface-heading-small-semi-bold);
  }

  &[data-size='small'] {
    font: var(--interface-label-large-semi-bold);
  }
}
:where(._text_twm2g_1) {
  margin: 0;
}

._text_twm2g_1 {
  color: var(--layer-text-high);

  &[data-uppercase] {
    text-transform: uppercase;
  }

  &[data-tone='low'] {
    color: var(--layer-text-low);
  }

  &[data-size='small'][data-weight='regular'] {
    font: var(--interface-body-small-regular);
  }

  &[data-size='small'][data-weight='semi-bold'] {
    font: var(--interface-body-small-semi-bold);
  }

  &[data-size='medium'][data-weight='regular'] {
    font: var(--interface-body-medium-regular);
  }

  &[data-size='medium'][data-weight='semi-bold'] {
    font: var(--interface-body-medium-semi-bold);
  }

  &[data-size='large'][data-weight='regular'] {
    font: var(--interface-body-large-regular);
  }

  &[data-size='large'][data-weight='semi-bold'] {
    font: var(--interface-body-large-semi-bold);
  }

  & strong {
    font-weight: var(--interface-font-weight-semi-bold);
  }
}
._header_17ibo_1 {
  display: flex;
  padding: var(--spacing-small-space-generous);
  gap: var(--spacing-small-space-spacious);
  align-items: center;
}

._headerTitle_17ibo_8 {
  display: flex;
  min-width: 0;
  flex: 1 1 0;
  flex-direction: column;
  gap: var(--spacing-small-space-compact);
}

._headerEndSlot_17ibo_16 {
  flex: 0 0 auto;
}

._frame_m0lv2_1 {
  display: flex;
  min-block-size: 0;
  flex: 1;
  flex-direction: column;
}

._header_m0lv2_8 {
  flex-shrink: 0;
  border-block-end: var(--border-width-thin) solid var(--layer-border-low);
}

._body_m0lv2_13 {
  display: flex;
  min-block-size: 0;
  flex: 1;
  flex-direction: column;
  gap: var(--spacing-medium-space-relaxed);
  padding: var(--spacing-small-space-generous);
  overflow-y: auto;
  overscroll-behavior: contain;
}

._footer_m0lv2_24 {
  flex-shrink: 0;
  border-block-start: var(--border-width-thin) solid var(--layer-border-low);
}
._trigger_1tmte_1 {
  position: relative;
  display: inline-block;

  flex-grow: 1;
}

._popover_1tmte_8 {
  --layer-offset: unset;

  z-index: var(--z-dropdown);
  overflow: clip;
  padding-right: var(--spacing-small-space-flush);
  padding-left: var(--spacing-small-space-flush);
  border-radius: var(--spacing-small-border-radius);

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-1-shadow);

  container-name: popover-floating;
  container-type: normal;
}

._popover_1tmte_8[style*='--layer-offset'] {
  z-index: calc(var(--z-dropdown) + var(--layer-offset));
}

._popover_1tmte_8[role='dialog']:focus-visible,
._popover_1tmte_8[role='listbox']:focus-visible {
  outline: none;
}
._fieldWrapper_xb5nr_1 {
  display: inline-flex;
  width: var(--width, 250px);
  flex-direction: column;
}

._externalLabel_xb5nr_7 {
  display: block;

  margin-bottom: var(--spacing-small-space-relaxed);

  font: var(--interface-label-medium-semi-bold);

  color: var(--layer-text-low);

  &[data-size='large'] {
    font: var(--interface-label-large-semi-bold);
  }
}

._root_xb5nr_21 {
  --input-border: var(--border-width-thin);

  position: relative;
  display: inline-flex;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  height: var(--input-height);

  min-height: var(--input-height);
  padding: 0 var(--input-padding-inline-end) 0 var(--input-padding-inline-start);
  border: var(--input-border) solid var(--layer-border-low);
  border-radius: var(--spacing-small-border-radius);
  outline: none;

  flex-direction: row;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;

  font: var(--input-font);

  color: var(--layer-text-high);
  background-color: var(--layer-background);
  cursor: text;

  transition: border-color linear 0.2s var(--engage-delay, 0s);

  /* the state rules below set their own border colour */
  &[data-variant='filled'] {
    border-color: transparent;
  }

  /* Select uses a <Button> as trigger with this class; without the reset UA button
     styling adds vertical padding and a different font line-height, breaking parity
     with Input which uses a <Group> (div). */
  &:is(button) {
    margin: 0;

    text-align: inherit;

    /* button trigger is clickable, not a text field — override the .root text cursor */
    cursor: pointer;

    appearance: none;

    &[data-disabled] {
      cursor: default;
    }
  }

  /* sizes */
  &[data-size='small'] {
    --input-height: var(--spacing-small-min-height-compact);
    --input-padding-inline-start: var(--spacing-small-space-relaxed);
    --input-padding-inline-end: var(--spacing-small-space-relaxed);
    --input-font: var(--interface-label-small-regular);
  }

  &[data-size='medium'] {
    --input-height: var(--spacing-small-min-height-balanced);
    --input-padding-inline-start: var(--spacing-small-space-relaxed);
    --input-padding-inline-end: var(--spacing-small-space-relaxed);
    --input-font: var(--interface-label-medium-regular);
  }

  &[data-size='large'] {
    --input-height: var(--spacing-small-min-height-relaxed);
    --input-padding-inline-start: var(--spacing-small-space-relaxed);
    --input-padding-inline-end: var(--spacing-small-space-relaxed);
    --input-font: var(--interface-label-large-regular);
  }

  /* states — single colour per state, listed lowest to highest priority. Every
     selector is a genuine runtime rule that storybook-addon-pseudo-states can also
     force (native `:hover`/`:active`/`:focus-within`, or a real `:focus-visible` inside
     `:has()`). No story-only `[data-*='true']` shims — see ADR-0027. */
  &:hover {
    border-color: var(--layer-border-low-hover);
  }

  &[data-linked='true'] {
    border-color: var(--layer-border-low-active);
  }

  &[data-edited='true'],
  &:active {
    border-color: var(--primary-element-border-high);

    &:hover {
      border-color: oklch(from var(--primary-element-border-high) calc(l + var(--layer-state-direction) * var(--border-hover-offset)) c h);
    }
  }

  &[data-invalid='true']:not([data-linked='true']) {
    border-color: var(--negative-element-border-high);
  }

  /* border highlight whenever the field is engaged — focused, or its popover open —
     keyed off RAC data attributes, not native `:focus-within` (which misfires across the
     portalled popover / focus-restore handoff). the Picker <button> carries data-focused
     when focused; input-based triggers set it on the inner RAC Input; the DatePicker
     <group> carries data-focus-within (covers a focused segment AND the calendar trigger
     button that holds focus after the popover closes); and the fieldWrapper carries
     data-open while the popover is open. */
  &[data-focused],
  &:has(._input_xb5nr_127[data-focused]),
  &[data-focus-within],
  ._fieldWrapper_xb5nr_1[data-open] & {
    border-color: var(--primary-element-border-high);
  }

  /* popover-trigger flicker guard. when a popover is dismissed by an outside click RAC
     restores focus to the trigger ~120ms after it clears data-open; during that gap no
     focus/open attr is set, so every engaged visual (border, floating label, segment
     placeholders) would start reverting and snap back. --engage-delay holds the revert
     past the gap so a transient blur keeps the engaged look (a genuine blur still reverts
     once the delay elapses); the engaged states reset it to 0 so they still apply
     instantly. the label and segment row inherit it so all three move as one. covers
     Picker (<button> trigger, data-picker) and DatePicker (<group> trigger with spinbutton
     segments); plain inputs never set it and stay instant + symmetric. */
  &[data-picker],
  &:has([role='spinbutton']) {
    --engage-delay: 0.1s;
  }

  &[data-picker]:hover,
  &[data-picker][data-focused],
  &:has([role='spinbutton']):hover,
  &[data-focus-within],
  ._fieldWrapper_xb5nr_1[data-open] &[data-picker],
  ._fieldWrapper_xb5nr_1[data-open] &:has([role='spinbutton']) {
    --engage-delay: 0s;
  }

  /* outline only on keyboard focus, keyed solely off RAC's modality-tracked
     data-focus-visible (keyboard only). we deliberately keep NO native
     `:focus-visible` companion: browsers grant `:focus-visible` to text inputs and
     to programmatically-focused elements on mouse click too, and RAC restores focus
     to the Picker (non-searchable Select) <button> when its popover closes — so a
     companion lit the ring after a pure mouse open/dismiss. matches every trigger
     shape via the RAC attr:
     - input-based (Input / NumberInput / ComboBox / PhoneInput): RAC Input sets
       data-focus-visible on the inner input
     - DatePicker: keyboard focus lands on a DateSegment (role="spinbutton")
     - Picker (non-searchable Select): the root IS a RAC <button> carrying
       data-focus-visible itself.
     storybook forces this state with a real-focus play function (userEvent.tab),
     not storybook-addon-pseudo-states — see ADR-0027. */
  &[data-focus-visible],
  &:has(._input_xb5nr_127[data-focus-visible]),
  &:has([role='spinbutton'][data-focus-visible]) {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }
}

._fieldWrapper_xb5nr_1[data-disabled] ._root_xb5nr_21 {
  /* dims static start/end slot icons to match the disabled text — renderSlot reads this
     var, falling back to --layer-text-low when not disabled. */
  --input-slot-icon-color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));

  border-color: transparent;

  color: var(--layer-text-low);
  background-color: var(--sublayer-background);
  cursor: default;
}

/* doubled class selector raises specificity to (0,2,0) so host-page rules like
   `.modalContainer label { background-color: ... }` (0,1,1) cannot override us. */
._floatingLabel_xb5nr_192._floatingLabel_xb5nr_192 {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;

  font: var(--interface-label-large-regular);
  text-align: left;

  color: var(--layer-text-high);
  background: transparent;
  pointer-events: none;
  user-select: none;

  transform: translateY(-50%);
  transform-origin: left center;

  transition:
    color 200ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 200ms cubic-bezier(0.32, 0.72, 0, 1),
    font 200ms cubic-bezier(0.32, 0.72, 0, 1);

  /* inherited from .root — holds the raise through the popover focus-restore gap so the
     label doesn't dip and rise. 0s (no delay) for every non-popover trigger. */
  transition-delay: var(--engage-delay, 0s);

  ._fieldWrapper_xb5nr_1:not([data-disabled]) ._root_xb5nr_21:hover & {
    color: var(--layer-text-high-hover);
  }

  ._fieldWrapper_xb5nr_1[data-disabled] & {
    color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
    cursor: default;
  }

  /* data-focused (any focus, pointer or keyboard) — not data-focus-visible — so
     the label stays raised across the keyboard-driven Escape→focus-restore window
     without a flicker. data-open lives on the outer AriaSelect (our .fieldWrapper)
     and covers the open state regardless of focus source. For div roots (Input,
     PhoneInput, etc.) the inner RAC Input surfaces data-focused too — :has()
     bubbles it up to the root selector. Picker triggers carry data-picker so
     focus/open do not raise the label — only a selected value does. */
  ._root_xb5nr_21[data-has-value='true'] &,
  ._root_xb5nr_21:has(input:autofill) &,
  ._root_xb5nr_21:has(input:-webkit-autofill) &,
  ._root_xb5nr_21:has(._input_xb5nr_127[data-focused='true']) &,
  
  ._root_xb5nr_21:has(._input_xb5nr_127:focus) &,
  ._root_xb5nr_21:has(._input_xb5nr_127:not(:placeholder-shown)) &,
  ._fieldWrapper_xb5nr_1[data-open='true'] ._root_xb5nr_21:not([data-picker]) &,
  ._fieldWrapper_xb5nr_1[data-focused='true'] ._root_xb5nr_21:not([data-picker]) & {
    transform: translateY(-100%) scale(0.714);
  }

  /* segmented inputs (DatePicker): the floating label shares the value row with the
     always-present dd/mm/yyyy segment placeholders, so it must raise whenever those
     placeholders are visible. the placeholders show whenever the field is engaged —
     data-focus-within on the group (a focused segment OR the trigger button that holds
     focus after the popover closes) or data-open on the wrapper (handled above) — or once
     every segment has a value; raise the label under the same conditions so it never sits
     on top of them. */
  ._root_xb5nr_21:has([role='spinbutton'])[data-focus-within] &,
  ._root_xb5nr_21:has([role='spinbutton']):not(:has([role='spinbutton'][data-placeholder])) & {
    transform: translateY(-100%) scale(0.714);
  }
}

._inputContainer_xb5nr_265 {
  position: relative;
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: row;
  align-items: center;

  /* raise the whole content row (icon + value + input share one baseline) to
     clear the floating label, instead of per-child padding-top hacks that
     disagreed across input / valueStartSlot / select value / date segments. */
  ._root_xb5nr_21[data-size='large'][data-has-floating-label='true'] & {
    padding-top: 12px;
  }
}

._startSlot_xb5nr_281,
._endSlot_xb5nr_282,
._valueStartSlot_xb5nr_283 {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

._startSlot_xb5nr_281,
._endSlot_xb5nr_282 {
  color: var(--layer-text-low);
}

._startSlot_xb5nr_281 {
  gap: var(--spacing-small-space-balanced);
}

._endSlot_xb5nr_282 {
  gap: var(--spacing-small-space-balanced);

  font: inherit;
  white-space: nowrap;
}

._valueStartSlot_xb5nr_283 {
  margin-right: var(--spacing-small-space-balanced);
}

._input_xb5nr_127 {
  all: unset;

  min-width: 0;
  height: 100%;
  flex: 1 1 auto;

  text-align: left;
  text-overflow: ellipsis;

  color: var(--layer-text-high);
  background: transparent;

  /* A placeholder is a hint, not content — so it reads at the low layer rather than
     matching the value colour set above. opacity stays pinned at 1 because Firefox
     dims placeholders by default, which would compound the token. */
  &::placeholder {
    color: var(--layer-text-low);
    opacity: 1;
  }

  &:disabled {
    color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));

    &::placeholder {
      color: var(--layer-text-low);
    }
  }

  /* neutralise chrome / safari autofill yellow: paint our background via inset
     shadow and defer the colour transition so the native fill never flashes. */
  &:-internal-autofill-selected,
  &:-internal-autofill-previewed,
  &:-webkit-autofill,
  &:-webkit-autofill:hover,
  &:-webkit-autofill:focus,
  &:-webkit-autofill:active {
    box-shadow: 0 0 0 1000px var(--layer-background) inset;
    appearance: none;

    transition: background-color 9999s ease-in-out 0s;
    caret-color: var(--layer-text-high);

    -webkit-text-fill-color: var(--layer-text-high);
  }

  &[inputmode='numeric'],
  &[inputmode='decimal'] {
    text-align: right;
  }

  /* suppress the browser-native search clear (the blue ✕). our grey end-slot
     clear is the intentional one, rendered by useInputBody when onClear is set. */
  &::-webkit-search-cancel-button,
  &::-webkit-search-decoration {
    display: none;
  }

  &[data-sentiment='positive']:not(:disabled) {
    color: var(--positive-element-text);
  }

  &[data-sentiment='negative']:not(:disabled) {
    color: var(--negative-element-text);
  }

  ._root_xb5nr_21:focus-within &,
  ._root_xb5nr_21[data-edited='true'] & {
    text-overflow: clip;
  }

  ._root_xb5nr_21[data-size='large'] & {
    height: var(--interface-label-large-line-height);
  }

  ._root_xb5nr_21[data-size='medium'] & {
    height: var(--interface-label-medium-line-height);
  }

  ._root_xb5nr_21[data-size='small'] & {
    height: var(--interface-label-small-line-height);
  }
}

._suffix_xb5nr_393 {
  display: inline-flex;
  margin-left: var(--spacing-small-space-balanced);

  flex: 0 0 auto;
  align-items: center;

  font: var(--interface-label-medium-regular);
  white-space: nowrap;

  color: var(--layer-text-low);
  user-select: none;
}

._fieldMessage_xb5nr_407 {
  min-height: 14px;
  padding-block-start: var(--spacing-small-space-compact);
}

._fieldMessageText_xb5nr_412 {
  display: block;

  font: var(--interface-body-small-regular);
  overflow-wrap: break-word;
  text-align: left;

  &[data-type='error'] {
    color: var(--negative-element-text);
  }

  &[data-type='neutral'] {
    color: var(--layer-text-low);
  }

  ._fieldWrapper_xb5nr_1:has(._input_xb5nr_127[inputmode='numeric']) &,
  ._fieldWrapper_xb5nr_1:has(._input_xb5nr_127[inputmode='decimal']) & {
    text-align: right;
  }
}

._fieldWrapper_xb5nr_1[data-disabled],
._fieldWrapper_xb5nr_1[data-disabled] * {
  cursor: default;
}

._fieldWrapper_xb5nr_1[data-disabled] ._input_xb5nr_127,
._fieldWrapper_xb5nr_1[data-disabled] ._input_xb5nr_127::placeholder {
  color: var(--layer-text-low);
}
._container_1hjkc_1 {
  display: inline-flex;
  width: var(--width, 250px);
  padding: 0 var(--spacing-medium-space-balanced);
  border-radius: var(--spacing-small-border-radius);

  align-items: center;

  background-color: var(--sublayer-background);
}

._container_1hjkc_1[data-size='small'] {
  height: 20px;
  padding: 0 var(--spacing-medium-space-compact);

  --width: 168px;
}

._container_1hjkc_1[data-size='medium'] {
  height: 24px;
  padding: 0 var(--spacing-medium-space-compact);

  --width: 200px;
}

._container_1hjkc_1[data-size='large'] {
  min-height: 32px;

  --width: 250px;
}

._text_1hjkc_32 {
  width: 75%;
  height: var(--text-height, 10px);
  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._container_1hjkc_1[data-size='small'] ._text_1hjkc_32 {
  --text-height: 8px;
}

._container_1hjkc_1[data-size='medium'] ._text_1hjkc_32 {
  --text-height: 10px;
}

._container_1hjkc_1[data-size='large'] ._text_1hjkc_32 {
  --text-height: 12px;
}
._button_14ig0_1 {
  display: inline-flex;
  padding: 0;
  border: none;
  border-radius: var(--spacing-small-border-radius);
  align-items: center;
  justify-content: center;

  color: var(--layer-text-low);
  background: transparent;
  cursor: pointer;

  &[data-hovered]:not([data-disabled]) {
    color: oklch(from var(--layer-text-high) calc(l - var(--layer-state-direction) * var(--text-hover-offset)) c h);
  }

  &[data-pressed]:not([data-disabled]) {
    color: oklch(from var(--layer-text-high) calc(l - var(--layer-state-direction) * var(--text-active-offset)) c h);
  }

  &[data-focus-visible] {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  &[data-disabled] {
    color: oklch(from var(--layer-text-low) l c h / var(--text-disabled-opacity));
    cursor: default;
  }
}
/* numeric values are right-aligned, so the floating label must right-align too and
   scale from the right edge — otherwise, when raised (focused / populated), the shared
   chrome's left transform-origin shrinks it toward the left and it drifts off the value.
   doubled `.numeric` raises specificity to beat Input.module.css `.floatingLabel.floatingLabel`
   (0,2,0); `label` is an element selector so it reaches the shared floating label across
   the CSS-module boundary without depending on its hashed class. an external label sits
   outside the root that carries `data-has-floating-label`, so it keeps the start alignment. */
._numeric_c623y_4._numeric_c623y_4 [data-has-floating-label] label {
  text-align: right;

  transform-origin: right center;
}
._tooltip_1th8s_1 {
  z-index: var(--z-tooltip);
}

._tooltip_1th8s_1[data-in-side-panel='true'] {
  z-index: var(
    --z-notification-max
  ); /* must exceed panelWrapper's --z-notification (800). see tokens.css z-index scale. */
}

._reference_1th8s_11 {
  width: 100%;
}

._tooltipContainer_1th8s_15 {
  display: flex;
  border: var(--border-width-thin) solid var(--layer-border-low);
  border-radius: var(--spacing-small-border-radius);

  flex-direction: column;
  align-items: flex-start;

  /* base text style — plain strings render correctly without any wrapper */
  font: var(--editorial-paragraph-small-regular);
  white-space: pre-line;

  color: var(--layer-text-high);

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-1-shadow);
}

._tooltipContainer_1th8s_15[data-padded='true'] {
  padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed);
}

/* used by TooltipTitle helper component */
._tooltipTitle_1th8s_38 {
  color: var(--primary-element-text);
}
._root_zeg4v_1 {
  /* Override the global focus aliases so the ring inherits the chip's
     sentiment-aware text colour (currentColor → --tag-text) and sits 1px
     outside, matching Figma's focus variants. `currentColor` inside a
     custom property resolves lazily at the element using it. */
  --tag-focus-outline: var(--border-width-thin) solid currentcolor;
  --tag-focus-outline-offset: var(--border-width-thin);

  display: inline-flex;
  max-width: 100%;
  border: var(--border-width-thin) solid transparent;
  border-radius: var(--spacing-medium-border-radius-full);
  gap: var(--spacing-small-space-compact);

  align-items: center;

  text-decoration: none;

  color: var(--tag-text);
  background-color: var(--tag-background);

  /* shared hover/active — every emphasis/sentiment combo cascades its palette
     into the local --tag-background / --tag-text custom properties below. The OKLCH
     `from` syntax then moves the lightness by a uniform offset towards the
     text of the chip's surface, for a consistent delta across the matrix.
     `:not(:has(.removeButton:hover))` keeps the chip-level state from firing when the user is interacting
     with the close pill — that has its own hover/active styling. */
  &:not([data-disabled], :has(._removeButton_zeg4v_26:hover)):hover {
    color: oklch(from var(--tag-text) calc(l + var(--tag-state-direction) * var(--text-hover-offset)) c h);
    background-color: oklch(from var(--tag-background) calc(l + var(--tag-state-direction) * var(--background-hover-offset)) c h);
  }

  &:not([data-disabled], :has(._removeButton_zeg4v_26:active)):active {
    color: oklch(from var(--tag-text) calc(l + var(--tag-state-direction) * var(--text-active-offset)) c h);
    background-color: oklch(from var(--tag-background) calc(l + var(--tag-state-direction) * var(--background-active-offset)) c h);
  }

  &[data-disabled] {
    color: oklch(from var(--tag-text) l c h / var(--text-disabled-opacity));

    background-color: oklch(from var(--tag-background) l c h / var(--text-disabled-opacity));
    cursor: default;
  }

  /* size */
  &[data-size='small'] {
    padding: var(--spacing-small-space-compact);

    font: var(--interface-label-small-regular);
  }

  &[data-size='medium'] {
    padding: var(--spacing-small-space-compact);

    font: var(--interface-label-medium-regular);
  }

  &[data-size='large'] {
    padding: var(--spacing-small-space-balanced);

    font: var(--interface-label-large-regular);
  }

  /* sentiment lookup table — hoists the current sentiment's low-layer / element
     token slots into local --tag-* aliases via the --sentiment-* indirection
     from globals.css. The emphasis × empty rules below consume the aliases
     without repeating the sentiment name. */
  --tag-low-layer-background: var(--sentiment-low-layer-background);
  --tag-low-layer-text-high: var(--sentiment-low-layer-text-high);
  --tag-low-layer-text-low: var(--sentiment-low-layer-text-low);
  --tag-element-text: var(--sentiment-element-text);

  /* emphasis × sentiment palette
     Strong: saturated low-layer fill with text-high (Figma default).
     Soft: dim level-2 sublayer fill with sentiment-toned element-text. */
  &[data-emphasis='high'] {
    --tag-background: var(--tag-low-layer-background);
    --tag-text: var(--tag-low-layer-text-high);
    --tag-state-direction: var(--sentiment-low-layer-state-direction);
  }

  &[data-emphasis='low'] {
    --tag-background: var(--sublayer-background);
    --tag-text: var(--tag-element-text);
    --tag-state-direction: var(--layer-state-direction);
  }

  /* empty — dashed border + muted text. Strong empty inherits the sentiment
     fill from the non-empty matrix; Soft empty swaps to the level-2 layer
     background. Both override --tag-text to the muted text-low. */
  &[data-is-empty='true'] {
    border-style: dashed;
    border-color: var(--layer-border-low);
  }

  &[data-emphasis='high'][data-is-empty='true'] {
    --tag-text: var(--tag-low-layer-text-low);
  }

  &[data-emphasis='low'][data-is-empty='true'] {
    --tag-background: var(--layer-background);
    border-color: var(--layer-border-low);

    --tag-text: var(--tag-low-layer-text-low);
  }

  /* Wrap-around focus ring fires when the chip body (Link/Button) is keyboard focused —
     the close pill has its own ring on `.removeButton` below so keyboard users see which
     action is focused at each tab stop. RAC's data-focus-visible can't be addon-forced,
     so the Focus story shows it via a local \3c style> on the `data-pseudo` markers. */
  &:has(._body_zeg4v_111:focus-visible) {
    outline: var(--tag-focus-outline);
    outline-offset: var(--tag-focus-outline-offset);
  }

  /* Selection indicator — RAC sets `[data-selected]` on AriaTag root when
     selectionMode is on and the tag is selected. Inset border using
     currentColor so it picks up the sentiment palette automatically. */
  &[data-selected] {
    box-shadow: inset 0 0 0 var(--border-width-thin) currentcolor;
  }

  /* RAC's <Tag> exposes its render state via `[data-focus-visible]` on
     the root element rather than `:has(.body:focus-visible)` (which only
     fires for the standalone <button> body branch). */
  &[data-focus-visible] {
    outline: var(--border-width-thin) solid var(--layer-text-high);
    outline-offset: var(--border-width-thin);
  }
}

._body_zeg4v_111 {
  display: inline-flex;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  gap: inherit;

  align-items: center;

  font: inherit;

  text-decoration: inherit;
  white-space: nowrap;

  color: inherit;
  background: transparent;

  &[data-disabled] {
    pointer-events: none;
  }

  &[data-pressed] {
    opacity: 0.85;
  }
}

._text_zeg4v_160 {
  overflow: hidden;
  min-width: 0;
  padding: 0 var(--spacing-small-space-balanced);

  text-overflow: ellipsis;
  white-space: nowrap;
}

._media_zeg4v_169 {
  display: block;

  border-radius: var(--spacing-medium-border-radius-full);
  flex-shrink: 0;

  object-fit: cover;
}

._mediaFallback_zeg4v_178 {
  display: inline-flex;
  border-radius: var(--spacing-medium-border-radius-full);

  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  color: var(--neutral-low-layer-text-low);
  background-color: var(--neutral-low-layer-background);
}

/* the letter fills the fallback circle; its box is sized to the slot's icon size inline */
._monogram_zeg4v_192 {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  font: var(--interface-label-small-semi-bold);
  line-height: 1;
}

._removeButton_zeg4v_26 {
  display: inline-flex;
  border: 0;
  border-radius: var(--spacing-medium-border-radius-full);
  outline: none;

  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  color: inherit;
  background: transparent;
  cursor: pointer;

  &[data-disabled] {
    cursor: default;
    pointer-events: none;
  }

  &:focus-visible {
    outline: var(--tag-focus-outline);
    outline-offset: var(--tag-focus-outline-offset);
  }

  &:hover {
    color: oklch(from var(--tag-text) calc(l + var(--tag-state-direction) * var(--text-hover-offset)) c h);
    background-color: oklch(from var(--tag-background) calc(l + var(--tag-state-direction) * var(--background-hover-offset)) c h);
  }

  &:active {
    color: oklch(from var(--tag-text) calc(l + var(--tag-state-direction) * var(--text-active-offset)) c h);
    background-color: oklch(from var(--tag-background) calc(l + var(--tag-state-direction) * var(--background-active-offset)) c h);
  }
}
._textContainer_vqh41_1 {
  display: flex;
  padding: 0 var(--spacing-small-space-compact);
  align-items: center;
}

._container_vqh41_7 {
  display: inline-flex;
  border: var(--border-width-thin) solid transparent;
  border-radius: var(--spacing-medium-border-radius-full);
  gap: var(--spacing-small-space-compact);

  align-items: center;

  background-color: var(--layer-background);

  &[data-is-empty='true'] {
    border-style: dashed;
    border-color: var(--layer-border-low);
  }

  &[data-size='small'] {
    --tag-skeleton-icon-size: 12px;
    --tag-skeleton-text-min-width: 26px;
    --tag-skeleton-text-height: 12px;

    padding: var(--spacing-small-space-compact);

    &._textContainer_vqh41_1 {
      padding: 0 var(--spacing-small-space-compact);
    }
  }

  &[data-size='medium'] {
    --tag-skeleton-icon-size: 14px;
    --tag-skeleton-text-min-width: 33px;
    --tag-skeleton-text-height: 16px;

    padding: var(--spacing-small-space-compact);

    &._textContainer_vqh41_1 {
      padding: 0 var(--spacing-small-space-compact);
    }
  }

  &[data-size='large'] {
    --tag-skeleton-icon-size: 14px;
    --tag-skeleton-text-min-width: 33px;
    --tag-skeleton-text-height: 16px;

    padding: var(--spacing-small-space-balanced);

    &._textContainer_vqh41_1 {
      padding: var(--spacing-small-space-balanced);
    }
  }
}

._icon_vqh41_59 {
  display: inline-block;
  width: var(--tag-skeleton-icon-size);
  height: var(--tag-skeleton-icon-size);
  border-radius: var(--spacing-medium-border-radius-full);
  flex-shrink: 0;

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._text_vqh41_1 {
  display: inline-block;
  min-width: var(--tag-skeleton-text-min-width);
  height: var(--tag-skeleton-text-height);
  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}
._container_p6bi9_1 {
  display: inline-flex;
  box-sizing: border-box;
  border-radius: var(--spacing-medium-border-radius-full);

  align-items: center;

  white-space: nowrap;

  cursor: default;
}

a._container_p6bi9_1 {
  text-decoration: none;

  cursor: pointer;

  &:focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }
}

/* size variants */
._container_p6bi9_1[data-size="large"] {
  gap: var(--spacing-small-space-balanced);

  font: var(--interface-label-large-semi-bold);

  &[data-hastext="true"] {
    min-height: var(--spacing-small-min-height-balanced);
    padding-inline: var(--spacing-small-space-spacious);
  }
}

._container_p6bi9_1[data-size="medium"] {
  gap: var(--spacing-small-space-balanced);

  font: var(--interface-label-medium-semi-bold);

  &[data-hastext="true"] {
    min-height: var(--spacing-small-min-height-compact);
    padding-inline: var(--spacing-small-space-relaxed);
  }
}

._container_p6bi9_1[data-size="small"] {
  gap: var(--spacing-small-space-balanced);

  font: var(--interface-label-small-semi-bold);

  &[data-hastext="true"] {
    min-height: var(--spacing-small-min-height-flush);
    padding-inline: var(--spacing-small-space-relaxed);
  }
}

/* colour variants — status: transparent fill, element-level border (figma Type=Status) */
._container_p6bi9_1[data-variant="status"] {
  border: var(--border-width-thin) solid var(--sentiment-element-border-high);

  color: var(--sentiment-element-text);
  background-color: transparent;
}

/* colour variants — counter: solid mid-layer fill, border blends with background (figma Type=Counter) */
._container_p6bi9_1[data-variant="counter"] {
  border: var(--border-width-thin) solid var(--sentiment-mid-layer-background);

  color: var(--sentiment-mid-layer-text-high);
  background-color: var(--sentiment-mid-layer-background);
}

._container_p6bi9_1[data-variant="tint"] {
  border: var(--border-width-thin) solid var(--sentiment-low-layer-background);

  color: var(--sentiment-element-text);
  text-transform: uppercase;
  background-color: var(--sentiment-low-layer-background);
}
._container_85ixv_1 {
  display: inline-flex;
  border-radius: var(--spacing-medium-border-radius-full);

  align-items: center;

  /* outer pill fill matches figma loading state background */
  background-color: var(--layer-background);
}

._container_85ixv_1[data-size="large"] {
  width: 62px;
  height: 24px;
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);

  gap: var(--spacing-small-space-compact);

  ._text_85ixv_18[data-hasicon="true"] {
    padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed) var(--spacing-small-space-compact) var(--spacing-small-space-balanced);
  }
}

._container_85ixv_1[data-size="medium"] {
  width: 52px;
  height: 20px;
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);
  
  gap: var(--spacing-small-space-compact);

  ._text_85ixv_18[data-hasicon="true"] {
    padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed) var(--spacing-small-space-compact) var(--spacing-small-space-balanced);
  }
}

._container_85ixv_1[data-size="small"] {
  width: 40px;
  height: 16px;
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-balanced);
  
  gap: var(--spacing-small-space-compact);

  ._text_85ixv_18[data-hasicon="true"] {
    padding: var(--spacing-small-space-flush) var(--spacing-small-space-balanced) var(--spacing-small-space-flush) var(--spacing-small-space-compact);
  }
}

/* icon placeholder — 12x12 circle */
._icon_85ixv_48 {
  width: 8px;
  height: 8px;
  padding: var(--spacing-small-space-compact);
  border-radius: var(--spacing-medium-border-radius-full);
  flex-shrink: 0;

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

/* text placeholder bar — figma: 12px tall, 2px radius */
._text_85ixv_18 {
  height: 12px;

  margin: var(--spacing-small-space-compact) var(--spacing-small-space-flush);
  border-radius: var(--spacing-small-border-radius-tight);
  flex: 1;

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}
/* Figma "List Box → Group Header". colour/typography use the surface's --layer-*
   tokens so it reads correctly on whichever surface it's dropped onto. padding +
   type scale per size to line up with the ListItem rows it sits over. */
._groupHeader_1wbti_4 {
  color: var(--layer-text-low);
}

._groupHeader_1wbti_4[data-divider] {
  border-top: var(--border-width-thin) solid var(--layer-border-low);
}

._groupHeader_1wbti_4[data-size='large'] {
  margin-inline: var(--spacing-small-space-relaxed);
  padding-block: var(--spacing-small-space-relaxed);

  font: var(--interface-label-large-regular);
}

._groupHeader_1wbti_4[data-size='medium'] {
  margin-inline: var(--spacing-small-space-relaxed);
  padding-block: var(--spacing-small-space-balanced);

  font: var(--interface-label-medium-regular);
}

._groupHeader_1wbti_4[data-size='small'] {
  margin-inline: var(--spacing-small-space-balanced);
  padding-block: var(--spacing-small-space-balanced);

  font: var(--interface-label-small-regular);
}

._groupHeader_1wbti_4[data-active] {
  color: var(--primary-element-text);
}
._label_1wn6v_1 {
  color: var(--label-color, var(--layer-text-high));
}

._label_1wn6v_1[data-tone='low'] {
  color: var(--label-color, var(--layer-text-low));
}

._label_1wn6v_1[data-uppercase] {
  text-transform: uppercase;
}

._label_1wn6v_1[data-size='large'] {
  font: var(--interface-label-large-regular);
}

._label_1wn6v_1[data-size='large'][data-weight='semi-bold'] {
  font: var(--interface-label-large-semi-bold);
}

._label_1wn6v_1[data-size='medium'] {
  font: var(--interface-label-medium-regular);
}

._label_1wn6v_1[data-size='medium'][data-weight='semi-bold'] {
  font: var(--interface-label-medium-semi-bold);
}

._label_1wn6v_1[data-size='small'] {
  font: var(--interface-label-small-regular);
}

._label_1wn6v_1[data-size='small'][data-weight='semi-bold'] {
  font: var(--interface-label-small-semi-bold);
}

._label_1wn6v_1[data-align='center'] {
  display: block;

  text-align: center;
}

._label_1wn6v_1[data-truncated='true'] {
  display: block;
  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

._textGroup_1wn6v_51 {
  display: inline;
  min-width: 0;
}

._text_1wn6v_51 {
  display: inline;
}

._suffix_1wn6v_60 {
  color: var(--layer-text-low);
}

/* when an ancestor (e.g. a disabled Checkbox/CheckItem) is disabled, dim the
   supporting suffix with the disabled opacity too, so it stays lower-contrast
   than the (already dimmed) main label rather than out-contrasting it. */
[data-disabled] ._suffix_1wn6v_60 {
  color: oklch(from var(--layer-text-low) l c h / var(--text-disabled-opacity));
}

._iconWrap_1wn6v_71 {
  display: inline-flex;

  align-items: center;

  vertical-align: bottom;
}

._iconWrap_1wn6v_71:first-child {
  margin-inline-end: var(--spacing-small-space-balanced);
}

._iconWrap_1wn6v_71:last-child:not(:first-child) {
  margin-inline-start: var(--spacing-small-space-balanced);
}
._container_1l2es_1 {
  display: inline-flex;
  gap: var(--spacing-small-space-balanced);

  align-items: center;
}

._icon_1l2es_8 {
  display: inline-block;
  border-radius: var(--spacing-small-border-radius-tight);
  flex-shrink: 0;

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._text_1l2es_18 {
  display: inline-block;
  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._container_1l2es_1[data-size='large'] ._icon_1l2es_8 {
  width: 13px;
  height: 13px;
}

._container_1l2es_1[data-size='medium'] ._icon_1l2es_8 {
  width: 13px;
  height: 13px;
}

._container_1l2es_1[data-size='small'] ._icon_1l2es_8 {
  width: 11px;
  height: 11px;
}

._container_1l2es_1[data-size='large'] ._text_1l2es_18 {
  min-width: 64px;
  height: 13px;
}

._container_1l2es_1[data-size='medium'] ._text_1l2es_18 {
  min-width: 48px;
  height: 11px;
}

._container_1l2es_1[data-size='small'] ._text_1l2es_18 {
  min-width: 40px;
  height: 10px;
}
._text_49utz_1 {
  display: inline-flex;
  min-width: 0;
  align-items: center;
}

._checkbox_49utz_7 {
  display: inline-flex;
  max-width: 100%;
  align-items: center;

  cursor: pointer;

  &[data-size='large'] {
    --checkbox-control-size: 20px;
    --checkbox-control-radius: var(--spacing-small-border-radius-tight);
    gap: var(--spacing-small-space-balanced);
  }

  &[data-size='medium'] {
    --checkbox-control-size: 16px;
    --checkbox-control-radius: var(--spacing-small-border-radius-tight);
    gap: var(--spacing-small-space-compact);
  }

  &[data-size='small'] {
    --checkbox-control-size: 12px;
    --checkbox-control-radius: var(--spacing-small-border-radius-tight);
    gap: var(--spacing-small-space-flush);
  }

  & ._text_49utz_1 {
    padding-left: var(--spacing-small-space-balanced);
  }

  & ._control_49utz_36 {
    width: var(--checkbox-control-size);
    height: var(--checkbox-control-size);
  }

  &[data-disabled] {
    cursor: default;

    --disabled-text-high: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
    --disabled-border-high: oklch(from var(--layer-border-high) l c h / var(--text-disabled-opacity));
    --disabled-primary-text: oklch(from var(--primary-high-layer-text-high) l c h / var(--text-disabled-opacity));
    --disabled-primary-background: oklch(from var(--primary-high-layer-background) l c h / var(--text-disabled-opacity));
    --label-color: var(--disabled-text-high);

    &:not([data-selected], [data-indeterminate]) ._control_49utz_36 {
      border-color: var(--disabled-border-high);
    }

    &[data-selected] ._control_49utz_36,
    &[data-indeterminate] ._control_49utz_36 {
      color: var(--disabled-primary-text);
      background-color: var(--disabled-primary-background);
    }

    &[data-indeterminate] ._indeterminateLine_49utz_60 {
      background-color: var(--disabled-primary-text);
    }
  }

  &[data-selected] ._control_49utz_36,
  &[data-indeterminate] ._control_49utz_36 {
    border-color: transparent;

    color: var(--primary-high-layer-text-high);
    background-color: var(--primary-high-layer-background);
  }

  &[data-indeterminate] {
    & ._check_49utz_7 {
      display: none;
    }

    & ._indeterminateLine_49utz_60 {
      display: block;
    }
  }

  /* ring keyed off RAC's keyboard-only data-focus-visible; the `:focus-visible`
     companion lets storybook-addon-pseudo-states force it (ADR-0027) and never
     matches in a real browser — the label root isn't focusable. matching the
     hidden input via `:has(:focus-visible)` is NOT safe: react-aria focuses it
     programmatically on click, which browsers treat as focus-visible. */
  &[data-focus-visible] ._control_49utz_36,
  &:focus-visible ._control_49utz_36 {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  &:not([data-disabled])[data-hovered] {
    &[data-selected] ._control_49utz_36,
    &[data-indeterminate] ._control_49utz_36 {
      background-color: var(--primary-high-sublayer-background);
    }
  }
}

._control_49utz_36 {
  position: relative;
  display: inline-flex;
  border: var(--border-width-thin) solid var(--layer-border-high);
  border-radius: var(--checkbox-control-radius, var(--spacing-small-border-radius));
  flex-shrink: 0;
  align-items: center;
  justify-content: center;

  color: transparent;
}

._check_49utz_7 {
  display: block;
  width: 100%;
  height: 100%;
}

._indeterminateLine_49utz_60 {
  display: none;
  width: 60%;
  height: var(--border-width-medium);
  border-radius: 1px;

  background-color: var(--primary-high-layer-text-high);
}
._container_plxs3_1 {
  display: inline-flex;

  gap: var(--spacing-small-space-balanced);

  align-items: center;
}

._container_plxs3_1[data-size='large'] {
  --checkbox-control-size: 20px;
  --checkbox-control-radius: var(--spacing-small-border-radius-tight);
  --checkbox-label-width: 73px;
  --checkbox-label-height: 13px;
}

._container_plxs3_1[data-size='medium'] {
  --checkbox-control-size: 16px;
  --checkbox-control-radius: var(--spacing-small-border-radius-tight);
  --checkbox-label-width: 60px;
  --checkbox-label-height: 11px;
}

._container_plxs3_1[data-size='small'] {
  --checkbox-control-size: 12px;
  --checkbox-control-radius: var(--spacing-small-border-radius-tight);
  --checkbox-label-width: 52px;
  --checkbox-label-height: 10px;
}

._control_plxs3_30 {
  display: inline-block;
  width: var(--checkbox-control-size);
  height: var(--checkbox-control-size);
  border-radius: var(--checkbox-control-radius);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);

  aspect-ratio: 1 / 1;
}

._label_plxs3_43 {
  display: inline-block;
  width: var(--checkbox-label-width);
  height: var(--checkbox-label-height);

  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}
._root_1m9wy_1 {
  display: inline-flex;
  padding: var(--spacing-small-space-compact);
  border: 0;
  border-radius: var(--spacing-medium-border-radius-full);

  flex-shrink: 0;

  align-items: center;
  justify-content: center;

  color: inherit;
  background: transparent;
  cursor: pointer;

  appearance: none;

  aspect-ratio: 1 / 1;
}

._root_1m9wy_1:focus-visible {
  outline: var(--border-width-thin) solid currentcolor;
  outline-offset: var(--border-width-thin);
}

._root_1m9wy_1:hover:not(:disabled) {
  --list-item-icon-color: var(--layer-text-low-hover);

  background-color: var(--layer-background-hover);
}

._root_1m9wy_1:active:not(:disabled),
._root_1m9wy_1:focus-visible:not(:disabled) {
  --list-item-icon-color: var(--layer-text-low-active);

  background-color: var(--layer-background-active);
}

._root_1m9wy_1:disabled {
  opacity: var(--text-disabled-opacity);
  cursor: default;
}
._container_zvu0c_1 {
  /* Default values. */
  --list-item-icon-base: var(--layer-text-low);
  --label-color-base: var(--layer-text-high);
  --list-item-background: var(--layer-background);
  --list-item-background-hover: var(--layer-background-hover);
  --list-item-background-active: var(--layer-background-active);
  --list-item-background-disabled: var(--layer-background-disabled);
  --list-item-icon-hover: var(--layer-text-low-hover);
  --list-item-icon-active: var(--layer-text-low-active);
  --list-item-label-hover: var(--layer-text-high-hover);
  --list-item-label-active: var(--layer-text-high-active);

  /* Derived values. */
  --list-item-icon-color: var(--list-item-icon-base);
  --label-color: var(--label-color-base);

  --list-item-padding-block: calc((var(--list-item-min-height) - var(--row-line-height)) / 2);

  display: flex;
  width: 100%;
  padding-inline: var(--list-item-padding-inline);
  border-radius: var(--spacing-small-border-radius);

  gap: var(--spacing-small-space-relaxed);

  align-items: stretch;

  background-color: var(--list-item-background);
}

/* per-size variables — read by side cells inside rowButton and by the
   sibling slot buttons. --row-line-height matches the label's first-line
   height so we can build a one-line band and align every adornment with
   the first line of the label. */
._container_zvu0c_1[data-size='large'] {
  --list-item-padding-inline: var(--spacing-small-space-relaxed);
  --list-item-min-height: var(--spacing-small-min-height-relaxed);
  --row-line-height: calc(var(--interface-label-large-font-size) * var(--interface-label-large-line-height));
  --icon-size: 16px;
}

._container_zvu0c_1[data-size='medium'] {
  --list-item-padding-inline: var(--spacing-small-space-relaxed);
  --list-item-min-height: var(--spacing-small-min-height-balanced);
  --row-line-height: calc(var(--interface-label-medium-font-size) * var(--interface-label-medium-line-height));
  --icon-size: 14px;
}

._container_zvu0c_1[data-size='small'] {
  --list-item-padding-inline: var(--spacing-small-space-balanced);
  --list-item-min-height: var(--spacing-small-min-height-compact);
  --row-line-height: calc(var(--interface-label-small-font-size) * var(--interface-label-small-line-height));
  --icon-size: 12px;
}

/* sentiment palette — set per-row icon and label base colours and their
   --list-item-{icon,label}-{hover,active} state colours. Icons and labels read
   --list-item-icon-color / --label-color, which the state rules point at the
   state colours; a separate variable avoids the self-reference cycle (which per
   CSS Custom Properties spec computes to the guaranteed-invalid initial value). */
._container_zvu0c_1[data-sentiment='neutral'] {
  --list-item-icon-base: var(--layer-text-low);
  --label-color-base: var(--layer-text-high);
}

._container_zvu0c_1[data-sentiment]:not(:where([data-sentiment='neutral'])) {
  --list-item-icon-base: var(--sentiment-element-text);
  --label-color-base: var(--sentiment-element-text);
  --list-item-icon-hover: var(--sentiment-element-text-hover);
  --list-item-icon-active: var(--sentiment-element-text-active);
  --list-item-label-hover: var(--sentiment-element-text-hover);
  --list-item-label-active: var(--sentiment-element-text-active);
}

/* default state — --list-item-icon-color / --label-color are declared on
   .container above (alongside --list-item-background) so all three component-local
   custom properties live in one place. Icons read --list-item-icon-color
   via inline `color="var(--list-item-icon-color)"` on <Icon>; Label.module.css
   reads --label-color from --layer-text-high. */

._container_zvu0c_1[data-loading] {
  cursor: progress;
  pointer-events: none;
}

/* rowButton — the primary press surface for the row. Holds the row's
   internal grid (start / startIcon / label / additional / end). Slot
   buttons live as siblings of the rowButton inside .container. */
._rowButton_zvu0c_90 {
  display: grid;
  width: 100%;
  min-width: 0;
  padding: var(--list-item-padding-block) 0;
  border: 0;
  outline: 0;
  flex: 1;
  gap: 0;
  grid-template:
    'start label end' var(--row-line-height)
    '.     label .' auto
    / auto 1fr auto;

  align-items: start;

  font: inherit;

  text-align: left;
  text-decoration: none;

  color: inherit;
  background: transparent;
  cursor: pointer;

  appearance: none;
}

._rowButtonLoading_zvu0c_118 {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: var(--row-line-height);
  padding: var(--list-item-padding-block) 0;
  outline: 0;
  gap: var(--spacing-small-space-relaxed);

  align-items: center;

  font: inherit;

  text-align: left;

  color: inherit;
  background: transparent;

  appearance: none;

  & ._label_zvu0c_138 {
    display: flex;
    align-items: center;
  }
}

._rowButton_zvu0c_90[data-has-start-icon] {
  grid-template-areas:
    'start startIcon label end'
    '.     .         label .';
  grid-template-columns: auto auto 1fr auto;
}

._rowButton_zvu0c_90[data-additional-orientation='vertical'] {
  grid-template-areas:
    'start label      end'
    '.     label      .'
    '.     additional .';
  grid-template-rows: var(--row-line-height) auto auto;
  row-gap: var(--spacing-small-space-compact);
}

._rowButton_zvu0c_90[data-has-start-icon][data-additional-orientation='vertical'] {
  grid-template-areas:
    'start startIcon label      end'
    '.     .         label      .'
    '.     .         additional .';
  grid-template-rows: var(--row-line-height) auto auto;
  row-gap: var(--spacing-small-space-compact);
}

._rowButton_zvu0c_90[data-additional-orientation='horizontal'] {
  grid-template-areas:
    'start label additional end'
    '.     label .          .';
  grid-template-columns: auto 1fr auto auto;
}

._rowButton_zvu0c_90[data-has-start-icon][data-additional-orientation='horizontal'] {
  grid-template-areas:
    'start startIcon label additional end'
    '.     .         label .          .';
  grid-template-columns: auto auto 1fr auto auto;
}

._rowButton_zvu0c_90[data-alignment='center'] ._label_zvu0c_138,
._rowButton_zvu0c_90[data-alignment='center'] ._additional_zvu0c_184 {
  justify-self: center;
}

._rowButton_zvu0c_90[data-additional-orientation='horizontal'] ._additional_zvu0c_184 {
  margin-inline-start: var(--spacing-small-space-relaxed);
  align-self: center;
  justify-self: unset;
}

/* interaction states — applied to the container based on the rowButton's
   state so the visible row background lifts on the whole row when the
   rowButton is hovered/active/focused, but stays at base when only the
   slot button is hovered (mirrors Tag's `.root:not(:has(.removeButton:hover)):hover`
   exemption). */
._container_zvu0c_1:hover:has(._rowButton_zvu0c_90:not(:disabled, [aria-disabled='true'])),
._container_zvu0c_1:has(._rowButton_zvu0c_90:hover:not(:disabled, [aria-disabled='true'])) {
  --label-color: var(--list-item-label-hover);
  --list-item-icon-color: var(--list-item-icon-hover);

  background-color: var(--list-item-background-hover);
}

/* the anchor variant can't be :disabled, so mirror the exemption via aria-disabled */
._container_zvu0c_1:has(._rowButton_zvu0c_90:active:not(:disabled, [aria-disabled='true'])),
._container_zvu0c_1:has(._rowButton_zvu0c_90:focus-visible:not(:disabled, [aria-disabled='true'])) {
  --label-color: var(--list-item-label-active);
  --list-item-icon-color: var(--list-item-icon-active);

  background-color: var(--list-item-background-active);
}

._container_zvu0c_1:has(._rowButton_zvu0c_90:disabled),
._container_zvu0c_1:has(._rowButton_zvu0c_90[aria-disabled='true']) {
  --label-color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
  --list-item-icon-color: oklch(from var(--neutral-element-text) l c h / var(--text-disabled-opacity));

  background-color: var(--list-item-background-disabled);
  cursor: default;
}

._container_zvu0c_1:has(._rowButton_zvu0c_90:disabled) ._additional_zvu0c_184,
._container_zvu0c_1:has(._rowButton_zvu0c_90[aria-disabled='true']) ._additional_zvu0c_184 {
  color: oklch(from var(--layer-text-low) l c h / var(--text-disabled-opacity));
}

/* side cells occupy row 1 only (label spans the remaining rows). Row 1 is
   fixed at `var(--row-line-height)`, so a flex cell with `align-self: center`
   lands its content on the label's first-line line-box centre. */
._start_zvu0c_233 {
  display: flex;

  grid-area: start;
  align-items: center;
  align-self: center;

  &:not(:empty) {
    margin-inline-end: var(--spacing-small-space-relaxed);
  }
}

._startIcon_zvu0c_245 {
  display: flex;
  gap: var(--spacing-small-space-relaxed);

  grid-area: startIcon;
  align-items: center;
  align-self: center;

  &:not(:empty) {
    margin-inline-end: var(--spacing-small-space-relaxed);
  }
}

/* arbitrary leading icon node (the `icon` prop) — coloured like IconType icons
   and sized to fill the row's icon box. */
._iconNode_zvu0c_260 {
  color: var(--list-item-icon-color);
}

._iconNode_zvu0c_260 svg {
  width: 100%;
  height: 100%;
}

._label_zvu0c_138 {
  display: inline-flex;
  min-inline-size: 0;
  grid-area: label;

  line-height: var(--row-line-height);
}

._additional_zvu0c_184 {
  /* lets rich additional content ellipsise inside the row instead of widening it */
  min-inline-size: 0;
  max-inline-size: 100%;
  grid-area: additional;
  justify-self: start;

  font: var(--interface-label-small-regular);

  color: var(--list-item-icon-color);
}

._end_zvu0c_289 {
  display: flex;
  gap: var(--spacing-small-space-relaxed);

  grid-area: end;
  align-items: center;
  align-self: center;

  &:not(:empty) {
    margin-inline-start: var(--spacing-small-space-relaxed);
  }

  & > span {
    display: contents;
  }
}

/* sibling <button>s of rowButton — positional offsets only.
   Intrinsic slot button styling lives in components/SlotButton/SlotButton.module.css.
   margin-block-start lands the slot button's vertical centre on the label's
   first-line centre: rowButton padding-top + half line-height − half button height. */
._startSlotButton_zvu0c_310,
._endSlotButton_zvu0c_311 {
  margin-block-start: calc(
    var(--list-item-padding-block) + var(--row-line-height) / 2 -
      (var(--icon-size) + 2 * var(--spacing-small-space-compact)) / 2
  );
  align-self: start;
}

._startSlotButton_zvu0c_310 {
  margin-inline-start: var(--spacing-small-space-spacious);
  order: -2;
}

._endSlotButton_zvu0c_311 {
  margin-inline-end: var(--spacing-small-space-spacious);
}

/* standalone checkbox sibling of rowButton — DOM order is rowButton → checkbox
   so tab focuses the row first, then the checkbox. CSS order keeps it visually
   between startSlotButton and rowButton. --checkbox-control matches the visual
   control size in Checkbox.module.css (20/16/12 for large/medium/small).
   Vertical offset aligns the control centre with the label's first-line centre,
   using the same calc as the slot buttons. */
._checkbox_zvu0c_334 {
  --checkbox-control: 16px;
  display: inline-flex;
  margin-block-start: calc(
    var(--list-item-padding-block) + var(--row-line-height) / 2 - var(--checkbox-control) / 2
  );
  align-self: start;
  order: -1;
}

._checkbox_zvu0c_334[data-decorative] {
  pointer-events: none;
}

._container_zvu0c_1[data-size='large'] ._checkbox_zvu0c_334 {
  --checkbox-control: 20px;
}

._container_zvu0c_1[data-size='small'] ._checkbox_zvu0c_334 {
  --checkbox-control: 12px;
}
/* TagGroup is layout-only — visuals live on the inner TagItem (which reuses
   Tag.module.css). Spacing uses the same Token Foundry semantic tokens
   already proven on Tag (`--spacing-small-space-balanced` = 4px).
   The inherited TagList used a 6px gap between tags; no Token Foundry semantic
   sits at 6px, so the list rounds up to `space/relaxed` (8px).
   TODO(ORI-1277-followup): revisit if a `space/cosy` (~6px) semantic ships. */

._root_rhvk3_8 {
  display: flex;
  flex-direction: column;

  gap: var(--spacing-small-space-balanced);
}

._label_rhvk3_15 {
  font: var(--interface-label-large-regular);

  color: var(--neutral-element-text);
}

/* Outer row: contains startSlot, the AriaTagList, and endSlot. The 4px gap
   creates the slot-to-list spacing per Figma. */
._row_rhvk3_23 {
  display: flex;
  flex-wrap: nowrap;

  gap: var(--spacing-small-space-balanced);
  align-items: center;
}

/* Inner list: the real `<AriaTagList>` element, kept as a flex container
   so RAC's render-state attrs (`[data-empty]`, `[data-selection-mode]`,
   `[data-disabled]`) remain queryable by descendant CSS. Wraps within
   the row when content overflows. */
._list_rhvk3_35 {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: wrap;

  gap: var(--spacing-small-space-relaxed);
  align-items: center;
}

/* single-line width must not depend on its tags, or measuring resizes it and triggers another measure */
._root_rhvk3_8[data-single-line],
._row_rhvk3_23[data-single-line] {
  min-width: 0;
  overflow: hidden;
}

._row_rhvk3_23[data-single-line] ._list_rhvk3_35 {
  flex-grow: 0;
}

._more_rhvk3_56 {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;

  &[data-measuring] {
    visibility: hidden;
  }
}

._moreList_rhvk3_66 {
  display: flex;
  flex-direction: column;

  gap: var(--spacing-small-space-balanced);
}

._placeholder_rhvk3_73 {
  font: var(--interface-label-large-regular);

  color: var(--neutral-low-layer-text-low);
}

._startSlot_rhvk3_79,
._endSlot_rhvk3_80 {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

._description_rhvk3_86,
._errorMessage_rhvk3_87 {
  font: var(--interface-label-small-regular);
}

._description_rhvk3_86 {
  color: var(--neutral-element-text);
}

._errorMessage_rhvk3_87 {
  color: var(--negative-element-text);
}
._select_guok9_1 {
  /* trigger button shape is inherited from Input.module.css `.root` via the inputStyles
     module. nothing extra needed at the wrapper surfaceLevel today. */
}

._value_guok9_6 {
  display: inline-flex;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;
  gap: var(--spacing-small-space-balanced);
  align-items: center;

  font: inherit;
  text-align: left;

  color: var(--layer-text-high);
}

/* multi-select joins selected labels into one text node; truncate it on a single
   line (single-select uses Label's own isTruncated). keeps the floating label's
   space instead of growing and wrapping. */
._valueText_guok9_23 {
  overflow: hidden;
  min-width: 0;

  text-overflow: ellipsis;
  white-space: nowrap;
}

._placeholder_guok9_31 {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;

  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;

  color: var(--layer-text-low);
}

/* dim the trigger value when disabled — matches Input's disabled value colour so
   every forms input reads the same. (placeholder is already text-low.) */
[data-disabled] ._value_guok9_6 {
  /* --label-color reaches the nested <Label> (single-select); color covers the
     comma-joined multi text. */
  --label-color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));

  color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
}

/* chip styles for multi-select live in ComboBox.module.css (the only consumer);
   PickerMulti renders a comma-joined `.valueText` instead. */
._popover_1wgmx_1 {
  display: flex;
  overflow: hidden;

  /* width grows to fit the widest row so long labels never wrap. the trigger width
     (measured in DropdownList.tsx, exposed as --trigger-width) is the default floor, so
     the popover is never narrower than its trigger; per-size rules raise that floor.
     capped at 500px so very long content scrolls rather than sprawling. */
  width: max-content;
  min-width: var(--trigger-width, auto);
  max-width: 500px;

  /* base cap; --select-dropdown-max-height is set inline from SELECT_DROPDOWN_MAX_HEIGHT
     (DropdownList.constants.ts) so this stays in lockstep with the maxHeight prop. */
  max-height: var(--select-dropdown-max-height, 320px);
  border: 1px solid var(--layer-border-low);
  border-radius: var(--spacing-small-border-radius);

  flex-direction: column;

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);

  /* per-size minimum widths from Figma — the larger of the trigger width and the size
     floor, so a wider trigger still wins but the popover never collapses below the floor.
     grid variants reserve more room for their two-column layout. */
  &[data-size='large'] {
    min-width: max(var(--trigger-width, 0px), 200px);
  }

  &[data-size='medium'] {
    min-width: max(var(--trigger-width, 0px), 160px);
  }

  &[data-size='small'] {
    min-width: max(var(--trigger-width, 0px), 100px);
  }

  &[data-size='large'][data-layout='grid'] {
    min-width: max(var(--trigger-width, 0px), 220px);
  }

  &[data-size='medium'][data-layout='grid'] {
    min-width: max(var(--trigger-width, 0px), 180px);
  }

  &[data-size='small'][data-layout='grid'] {
    min-width: max(var(--trigger-width, 0px), 120px);
  }

  &[data-entering] {
    animation: _dropdown-fade-in_1wgmx_1 0.15s ease-out;
  }

  &[data-exiting] {
    animation: _dropdown-fade-out_1wgmx_1 0.1s ease-in;
  }
}

._menuStart_1wgmx_60 {
  margin-bottom: var(--spacing-small-space-compact);
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);
}

._menuEnd_1wgmx_65 {
  margin-top: var(--spacing-small-space-compact);
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);
}

@keyframes _dropdown-fade-in_1wgmx_1 {
  from {
    opacity: 0;

    transform: translateY(calc(-1 * var(--spacing-small-space-balanced)));
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@keyframes _dropdown-fade-out_1wgmx_1 {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
._listBox_7bqak_1 {
  display: flex;
  overflow-y: auto;

  /* min-height: 0 lets this flex child shrink below its content height so overflow-y
     scrolls within the popover's max-height instead of overflowing it (default
     min-height: auto would force the popover taller / clip the list). */
  min-height: 0;
  outline: none;
  flex: 1 1 auto;
  flex-direction: column;
  gap: var(--spacing-small-space-compact);
}

._listBoxGrid_7bqak_15 {
  display: grid;
  gap: var(--spacing-small-space-balanced);
  grid-template-columns: repeat(var(--grid-columns, 2), 1fr);
}

._row_7bqak_21 {
  outline: none;

  /* ListItem owns hover/active/disabled/focus visuals via its own :has() rules */
  cursor: pointer;

  &[data-disabled] {
    cursor: default;
  }

  &[data-focused] {
    border-radius: var(--spacing-small-border-radius);
  }
}

/* keyboard-focused option: reuse ListItem's hover look. ListItem's container paints
   its own opaque background, so a background on .row sits behind it and is invisible —
   drive the lift on the container (the row's only child) instead. key off data-focused,
   not data-focus-visible: the Picker DOM-focuses the option while the ComboBox keeps
   DOM focus on its input and drives the option via virtual focus (aria-activedescendant),
   so only data-focused is set in both cases. mirrors the hover rule in ListItem.module.css. */
._row_7bqak_21[data-focused] > * {
  border-radius: var(--spacing-small-border-radius);

  /* matches ListItem's hover background (its --list-item-background resolves to
     --layer-background); kept in global tokens so it stays ADR-compliant. */
  background-color: var(--layer-background-hover);
}

._section_7bqak_50 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small-space-compact);
}

/* the header itself is the shared ui-core GroupHeader; only its grid-span
   (applied via className in grid layout) lives here. */

/* sections never grid up at the top level — grid lives inside the section, with the
   header spanning the full row above the gridded items. */
._section_7bqak_50[data-layout='grid'] {
  display: grid;
  gap: var(--spacing-small-space-balanced) var(--spacing-small-space-balanced);
  grid-template-columns: repeat(var(--grid-columns, 2), 1fr);
}

._section_7bqak_50[data-layout='grid'] [data-section-header] {
  grid-column: 1 / -1;
}

._empty_7bqak_71 {
  padding: var(--spacing-small-space-relaxed);

  font: var(--interface-body-small-regular);
  text-align: center;

  color: var(--layer-text-low);
}
._comboBox_ybob8_1 {
  /* trigger chrome inherited from Input.module.css; the chip row above the input is local */
}

._trigger_ybob8_5 {
  display: inline-flex;
  padding: 0;
  border: 0;
  align-items: center;

  color: inherit;
  background: transparent;
  cursor: pointer;

  appearance: none;

  &[data-disabled] {
    cursor: default;
  }
}

/* remove input from flex flow when the summary is showing. position:absolute
   keeps it in the DOM (required for RAC's focus wiring) without occupying space. */
._input_ybob8_24 {
  ._comboBox_ybob8_1:not([data-open], [data-focused]):has(._summary_ybob8_25) & {
    position: absolute;

    opacity: 0;
  }
}

/* takes the same flex slot as the input when visible. hidden while open or
   focused so the user sees/types into the real input instead. */
._summary_ybob8_25 {
  overflow: hidden;
  min-width: 0;
  flex: 1 1 auto;

  text-overflow: ellipsis;
  white-space: nowrap;

  ._comboBox_ybob8_1[data-open] &,
  ._comboBox_ybob8_1[data-focused] & {
    display: none;
  }
}
._textArea_9sffs_1 {
  --textarea-border: var(--border-width-thin);
  --textarea-line: calc(var(--textarea-font-size) * var(--textarea-line-height));
  /* one line sits in the same height as an Input of the same size */
  --textarea-padding-block: calc((var(--textarea-min-height) - var(--textarea-line)) / 2 - var(--textarea-border));

  box-sizing: border-box;
  width: 100%;
  min-height: max(
    var(--textarea-min-height),
    calc(var(--textarea-line) * var(--textarea-min-rows) + 2 * var(--textarea-padding-block) + 2 * var(--textarea-border))
  );
  /* the cap is a line count, so it still shows maxRows lines when touch raises the font size */
  max-height: calc(var(--textarea-line) * var(--textarea-max-rows) + 2 * var(--textarea-padding-block) + 2 * var(--textarea-border));
  padding: var(--textarea-padding-block) var(--textarea-padding-inline);
  border: var(--textarea-border) solid var(--layer-border-low);
  border-radius: var(--spacing-small-border-radius);
  outline: none;
  overflow-y: auto;

  font-family: var(--interface-font-family);
  font-size: var(--textarea-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--textarea-line-height);

  color: var(--layer-text-high);
  background-color: var(--layer-background);

  resize: none;
  field-sizing: content;

  transition: border-color linear 0.2s;

  &[data-size='medium'] {
    --textarea-font-size: var(--interface-label-medium-font-size);
    --textarea-line-height: var(--interface-label-medium-line-height);
    --textarea-min-height: var(--spacing-small-min-height-balanced);
    --textarea-padding-inline: calc(var(--spacing-small-space-relaxed) - var(--textarea-border));
  }

  &[data-size='large'] {
    --textarea-font-size: var(--interface-label-large-font-size);
    --textarea-line-height: var(--interface-label-large-line-height);
    --textarea-min-height: var(--spacing-small-min-height-relaxed);
    --textarea-padding-inline: calc(var(--spacing-small-space-relaxed) - var(--textarea-border));
  }

  &[data-resizable] {
    max-height: none;

    resize: vertical;
  }

  &::placeholder {
    color: var(--layer-text-low);
  }

  &:hover:not([data-disabled]) {
    border-color: var(--layer-border-low-hover);
  }

  &[data-focused] {
    border-color: var(--primary-element-border-high);
  }

  &[data-invalid] {
    border-color: var(--negative-element-border-high);
  }

  /* the ring keys only off data-focus-visible: text fields also match the :focus-visible pseudo-class on click (ADR-0027) */
  &[data-focus-visible] {
    outline: var(--focus-outline);
    outline-offset: var(--focus-outline-offset);
  }

  &[data-disabled] {
    border-color: transparent;

    color: var(--layer-text-low);
    background-color: var(--sublayer-background);
    cursor: not-allowed;
  }

  /* the host draws the frame and its states; the border stays, transparent, so the padding maths holds */
  &[data-variant='quiet'] {
    &,
    &:hover:not([data-disabled]),
    &[data-focused] {
      border-color: transparent;
    }

    &:not([data-disabled]) {
      background-color: transparent;
    }

    &[data-focus-visible] {
      outline: none;
    }
  }
}

/* WebKit zooms the page when a focused field computes below 16px; gated on the pointer, not the width */
@media (pointer: coarse) {
  ._textArea_9sffs_1[data-size] {
    --textarea-font-size: var(--interface-body-large-font-size);
    --textarea-line-height: var(--interface-body-large-line-height);
  }
}
._host_xu584_1 {
  display: flex;
  height: 100%;
  min-height: 0;

  flex-direction: column;

  /* placeholder for content not yet measured; measured content holds its own height inline */
  &[data-on-screen="false"] {
    min-height: 300px;
  }
}
/* Lookup table: sentiment aliases collapsed — data-sentiment on the root drives
   --sentiment-* via globals.css, so a single .root block suffices.
   3 emphasis blocks promote the right tier into --alert-background / --alert-text /
   --alert-action-*. Component rules reference only --alert-* aliases. */

._root_1dj3e_2[data-emphasis='low'] {
  --alert-background: var(--sublayer-background);
  --alert-text: var(--alert-low-text);
  --alert-action-background: var(--alert-low-action-background);
  --alert-action-border: var(--alert-low-action-border);
}

._root_1dj3e_2[data-emphasis='mid'] {
  --alert-background: transparent;
  --alert-text: var(--alert-mid-text);
  --alert-action-background: transparent;
  --alert-action-border: var(--alert-mid-border);
  border: var(--border-width-thin) solid var(--alert-mid-border);
}

._root_1dj3e_2[data-emphasis='high'] {
  --alert-background: var(--alert-high-background);
  --alert-text: var(--alert-high-text);
  --alert-action-background: transparent;
  --alert-action-border: var(--alert-high-action-border);
}

/* makes Disclosure a layout-transparent wrapper inside the flex root */
._disclosureWrap_1dj3e_29 {
  display: contents;

  transition: width 2s, height 4s;
}

._root_1dj3e_2 {
  --alert-low-text: var(--sentiment-element-text);
  --alert-low-action-background: var(--sentiment-low-sublayer-background);
  --alert-low-action-border: var(--sentiment-low-layer-border-low);
  --alert-mid-border: var(--sentiment-element-border-high);
  --alert-mid-text: var(--sentiment-element-text);
  --alert-high-background: var(--sentiment-mid-layer-background);
  --alert-high-text: var(--sentiment-mid-layer-text-high);
  --alert-high-action-border: var(--sentiment-mid-layer-border-low);

  display: flex;
  overflow: visible;
  box-sizing: border-box;
  width: fit-content;
  padding: var(--spacing-small-space-balanced);
  border-radius: var(--spacing-small-border-radius);
  gap: var(--spacing-small-space-relaxed);
  align-items: flex-start;

  color: var(--alert-text);
  background: var(--alert-background);
}

._iconWrap_1dj3e_58 {
  display: flex;
  width: var(--spacing-small-min-height-compact);
  height: var(--spacing-small-min-height-compact);
  padding: var(--spacing-small-space-compact);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

._content_1dj3e_68 {
  display: flex;

  min-height: var(--spacing-small-min-height-compact);
  padding-block: var(--spacing-small-space-compact);
  flex: 1;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;

  transition: width 2s, height 4s;
}

._message_1dj3e_80 {
  flex: 1;

  font: var(--interface-label-medium-regular);
}

._action_1dj3e_86 {
  display: inline-flex;
  min-height: var(--spacing-small-min-height-compact);
  margin-block: calc(-1 * var(--spacing-small-space-compact));
  padding: var(--spacing-small-space-compact) var(--spacing-small-space-balanced);
  border: var(--border-width-thin) solid var(--alert-action-border);
  border-radius: var(--spacing-small-border-radius);
  flex-shrink: 0;
  align-items: center;

  font: var(--interface-label-small-regular);

  color: currentcolor;
  background: var(--alert-action-background);
  cursor: pointer;
}

._collapse_1dj3e_103 {
  display: flex;
  width: var(--spacing-small-min-height-compact);
  height: var(--spacing-small-min-height-compact);
  padding: var(--spacing-small-space-compact);
  border: none;
  border-radius: var(--spacing-small-border-radius);
  flex-shrink: 0;
  align-items: center;
  justify-content: center;

  color: currentcolor;
  background: none;
  cursor: pointer;
}

._collapse_1dj3e_103:focus-visible,
._collapse_1dj3e_103[data-focus-visible] {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

._root_1dj3e_2[data-size='large'] {
  padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-spacious);

  ._iconWrap_1dj3e_58 {
    width: auto;
    height: auto;
    padding: 0;
  }

  ._content_1dj3e_68 {
    min-height: 0;
    padding-block: 0;
  }

  ._action_1dj3e_86 {
    margin-block: 0;
  }

  ._message_1dj3e_80 {
    font: var(--interface-label-large-regular);
  }
}
/* ── base ─────────────────────────────────────────────────────────────────── */

._root_f2imu_3 {
  --illustrated-message-icon-color: var(--sentiment-element-text);
  --illustrated-message-icon-background: var(--sentiment-low-layer-background);
  --illustrated-message-title-color: var(--sentiment-element-text);

  display: flex;

  gap: var(--spacing-small-space-relaxed);
  align-items: flex-start;
}

._icon_f2imu_14 {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;

  color: var(--illustrated-message-icon-color);
}

._content_f2imu_23 {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--spacing-small-space-balanced);
}

._title_f2imu_30 {
  /* reset default heading margins when rendered via titleAs (e.g. h2) */
  margin: 0;

  /* neutral sets no title alias — falls back to the default high-emphasis text colour */
  color: var(--illustrated-message-title-color, var(--layer-text-high));
}

._description_f2imu_38 {
  color: var(--layer-text-low);
}

/* ── orientation ──────────────────────────────────────────────────────────── */

._root_f2imu_3[data-orientation='vertical'] {
  flex-direction: column;
  gap: var(--spacing-small-space-generous);
  align-items: center;

  text-align: center;
}

._root_f2imu_3[data-orientation='vertical'] ._content_f2imu_23 {
  align-items: center;
}

/* ── sentiment overrides (neutral diverges from the base pattern) ────────────── */

._root_f2imu_3[data-sentiment='neutral'] {
  /* neutral's element text is muted grey, too faint for the title */
  --illustrated-message-icon-color: var(--layer-text-low);
  --illustrated-message-title-color: var(--layer-text-high);
}

/* ── size ──────────────────────────────────────────────────────────────────────
   both orientations share the same type scale per size, so no orientation
   qualifier is needed on font rules. */

._root_f2imu_3[data-size='large'] ._title_f2imu_30 {
  font: var(--interface-heading-medium-semi-bold);
}

._root_f2imu_3[data-size='medium'] ._title_f2imu_30 {
  font: var(--interface-body-large-semi-bold);
}

._root_f2imu_3[data-size='small'] ._title_f2imu_30 {
  font: var(--interface-label-large-semi-bold);
}

._root_f2imu_3[data-size='large'] ._description_f2imu_38 {
  font: var(--interface-body-large-regular);
}

._root_f2imu_3[data-size='medium'] ._description_f2imu_38 {
  font: var(--interface-body-medium-regular);
}

._root_f2imu_3[data-size='small'] ._description_f2imu_38 {
  font: var(--interface-body-small-regular);
}

/* root gap overrides — default (medium) is set on .root above */

._root_f2imu_3[data-orientation='horizontal'][data-size='large'] {
  gap: var(--spacing-small-space-spacious);
}

._root_f2imu_3[data-orientation='horizontal'][data-size='small'] {
  gap: var(--spacing-small-space-balanced);
}

._root_f2imu_3[data-orientation='vertical'][data-size='medium'] {
  gap: var(--spacing-small-space-spacious);
}

._root_f2imu_3[data-orientation='vertical'][data-size='small'] {
  gap: var(--spacing-small-space-relaxed);
}

/* content gap overrides — default (balanced) is set on .content above */

._root_f2imu_3[data-orientation='vertical'][data-size='large'] ._content_f2imu_23 {
  gap: var(--spacing-small-space-relaxed);
}

/* ── filled icon ──────────────────────────────────────────────────────────── */

._icon_f2imu_14[data-filled='true'] {
  border-radius: var(--spacing-small-border-radius-full);

  background-color: var(--illustrated-message-icon-background, transparent);
}

._root_f2imu_3[data-size='large'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-generous);
}

._root_f2imu_3[data-size='medium'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-spacious);
}

._root_f2imu_3[data-size='small'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-relaxed);
}

._root_f2imu_3[data-orientation='vertical'][data-size='large'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-expansive);
}

._root_f2imu_3[data-orientation='vertical'][data-size='medium'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-generous);
}

._root_f2imu_3[data-orientation='vertical'][data-size='small'] ._icon_f2imu_14[data-filled='true'] {
  padding: var(--spacing-small-space-spacious);
}

/* horizontal content offset — aligns title text with the icon when filled,
   matching the icon's fill padding per size. */

._root_f2imu_3[data-orientation='horizontal'][data-size='large']:has(._icon_f2imu_14[data-filled='true']) ._content_f2imu_23 {
  padding-top: var(--spacing-small-space-relaxed);
  padding-left: var(--spacing-small-space-relaxed);
}

._root_f2imu_3[data-orientation='horizontal'][data-size='medium']:has(._icon_f2imu_14[data-filled='true']) ._content_f2imu_23,
._root_f2imu_3[data-orientation='horizontal'][data-size='small']:has(._icon_f2imu_14[data-filled='true']) ._content_f2imu_23 {
  padding-top: var(--spacing-small-space-balanced);
  padding-left: var(--spacing-small-space-balanced);
}
@keyframes _fadeIn_umqu8_1 {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.5;
  }
}

@keyframes _fadeOut_umqu8_1 {
  from {
    opacity: 0.5;
  }

  to {
    opacity: 0;
  }
}

._overlay_umqu8_21 {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  border: none;

  align-items: center;
  justify-content: center;

  background-color: var(--level-0-layer-background);
}

._overlay_umqu8_21[data-is-open='true'] {
  opacity: 0.5;

  animation: _fadeIn_umqu8_1 500ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

._overlay_umqu8_21[data-is-open='false'] {
  opacity: 0;
  pointer-events: none;

  animation: _fadeOut_umqu8_1 500ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}
._root_1wew1_1 {
  display: inline-flex;
  border-radius: var(--spacing-small-border-radius);

  align-items: center;

  background-color: transparent;

  --label-color: var(--level-2-layer-text-low);
  --icon-color: var(--level-2-layer-text-low);
  --hover-icon-color: var(--primary-high-layer-text-low);
}

._root_1wew1_1:focus-visible {
  outline: var(--border-width-medium) solid var(--primary-high-layer-border-low);
}

._root_1wew1_1:hover {
  --label-color: var(--level-2-layer-text-high);
  --icon-color: var(--primary-high-layer-text-low);
}

/* State variants */
._root_1wew1_1[data-state="default"] {
  --icon-color: var(--level-2-layer-text-low);
  --hover-icon-color: var(--primary-high-layer-text-low);
  --label-color: var(--level-2-layer-text-low);
}

._root_1wew1_1[data-state="active"] {
  background-color: var(--level-0-layer-background);

  --icon-color: var(--level-2-layer-text-low);
  --hover-icon-color: var(--primary-high-layer-text-low);
  --label-color: var(--level-2-layer-text-low);
}

._root_1wew1_1[data-state="disabled"] {
  --icon-color: var(--neutral-element-border-low);
  --hover-icon-color: var(--neutral-element-border-low);
  --label-color: var(--neutral-element-border-low);
}

._root_1wew1_1[data-state="disabled"]:hover {
  --label-color: var(--neutral-element-border-low);
  --icon-color: var(--neutral-element-border-low);
}

._label_1wew1_49 {
  padding: var(--spacing-small-space-compact);

  font-size: var(--interface-body-medium-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-body-medium-line-height);
  text-align: center;

  color: var(--label-color);
}
/* menu surface — RAC-driven internals.
   state styling is keyed off the RAC data-* attributes on each .item:
   [data-hovered], [data-focused], [data-focus-visible], [data-disabled],
   [data-selected], [data-open]. visual chrome is delegated to <ListItem
   interactive={false} />; this stylesheet only paints the surface and
   propagates RAC state into the contained ListItem. */

/* the outer wrapper div that carries inline custom properties
   (--menu-width, --max-height, --layer-offset) and z-index. */
._container_xfpfs_10 {
  z-index: var(--z-dropdown);
  overflow: hidden;

  width: var(--menu-width, auto);
  min-width: 170px;

  border-radius: var(--spacing-small-border-radius);
  outline: none;

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-1-shadow);

  &:not([data-has-width]) {
    max-width: 200px;
  }

  &[data-has-width] {
    max-width: var(--menu-width, none);
  }

  /* each nested submenu increments z-index so it layers above its parent */
  &[data-has-layer-offset] {
    z-index: calc(var(--z-dropdown) + var(--layer-offset, 0));
  }
}

._menu_xfpfs_37 {
  display: flex;
  margin: 0;
  padding: var(--spacing-small-space-balanced);

  outline: none;

  flex-direction: column;
  gap: 0;

  list-style: none;

  background-color: var(--layer-background);

  /* overflow scrolling is gated by the JS-driven data-has-overflow attribute;
     --max-height is set inline per instance via maxItemsWithoutScroll.
     scrollbar-gutter:stable reserves the gutter even before the scrollbar
     appears so the row's right edge — and any submenu anchored off of
     it — sits at a predictable x regardless of overflow state. */
  &[data-has-overflow] {
    overflow: hidden auto;
    max-height: var(--max-height, none);
    scrollbar-gutter: stable;
  }
}

/* the RAC <MenuItem> — renders as <li role="menuitem"> with data-* state.
   each item wraps a non-interactive <ListItem> whose pointer events are
   suppressed so that the CSS :hover selector cannot latch independently of
   the RAC pointer-tracking state. */
._item_xfpfs_2 {
  display: block;
  width: 100%;

  outline: none;

  list-style: none;

  cursor: pointer;

  /* disable pointer events on the inner passive ListItem so that its
     :has(.rowButton:hover) selector cannot produce a stuck hover state
     when a submenu popover opens. RAC owns hover via [data-hovered]. */
  /* the row's surface comes from ListItem's own surfaceLevel, which Menu passes
     down (see ItemContent). it cannot be set from here: this selector lands on the
     ListItem root, and that element stamps its own data-surface-level, so a
     `var(--layer-background)` written here would resolve to the row's level rather
     than the menu's — silently painting the row a different colour to its menu. */
  & [data-interactive='false'] {
    pointer-events: none;
  }

  /* visual lift on hover / keyboard focus / open submenu.
     [data-hovered]       — clears when the pointer leaves (safe).
     [data-focus-visible] — keyboard-only focus ring path (safe).
     [data-open]          — set on a SubmenuTrigger's parent while its
                            submenu popover is open; keeps the parent at
                            the hover tier as the pointer moves into the
                            child menu, preventing a hover drop.
     [data-focused] is intentionally NOT used; RAC retains it on the last
     item after the pointer leaves the menu, which would produce a stuck
     highlight. */
  &[data-hovered] [data-interactive='false'],
  &[data-focus-visible] [data-interactive='false'],
  &[data-open] [data-interactive='false'] {
    --label-color: var(--layer-text-high-hover);
    --list-item-icon-color: var(--layer-text-low-hover);

    background-color: var(--layer-background-hover);
  }

  /* stronger lift while the pointer is down on the item; mirrors the
     :active tier on ListItem and gives the user a distinct press signal
     on top of the hover state. RAC sets [data-pressed] for the active
     pointer/keyboard press window. */
  &[data-pressed] [data-interactive='false'] {
    --label-color: var(--layer-text-high-active);
    --list-item-icon-color: var(--layer-text-low-active);

    background-color: var(--layer-background-active);
  }

  &[data-disabled] {
    cursor: default;

    & [data-interactive='false'] {
      --label-color: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
      --list-item-icon-color: oklch(from var(--layer-text-low) l c h / var(--text-disabled-opacity));

      background-color: var(--layer-background-disabled);
    }
  }
}

/* RAC <Separator> — renders as <li role="separator"> so keyboard navigation
   skips it.  height is kept at the thin border token (1px); colour and
   radius match the Figma spec (level-3 border-low, pill radius). */
._separator_xfpfs_134 {
  height: var(--border-width-thin);
  margin: var(--spacing-small-space-flush) 0;
  border: none;
  border-radius: var(--spacing-small-border-radius-full);

  background-color: var(--layer-border-low);
}

/* feedback fade animation: content fades out, the row swaps to the feedback
   label/icon at the trough, fades back in, holds, then fades out before
   reverting.  timing: fade 200ms / hold ~4000ms.
   --show-feedback-duration is set inline per item (hold + fade-in) and
   defaults to 4200ms (4000ms hold + 200ms fade-in). */
@keyframes _menuFeedbackFade_xfpfs_1 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

._feedbackAnimation_xfpfs_158 {
  display: block;

  animation:
    _menuFeedbackFade_xfpfs_1 200ms ease-out 1 reverse forwards,
    _menuFeedbackFade_xfpfs_1 200ms ease-in 200ms 1 normal forwards,
    _menuFeedbackFade_xfpfs_1 200ms ease-out var(--show-feedback-duration, 4200ms) 1 reverse forwards;
}

/* RAC submenu Popover wrapper — needs its own z-index so the submenu
   floats above the parent menu surface.

   - --popover-y counteracts the inner .menu's top padding so the submenu's
     first item lines up with the parent row's top edge.
   - --popover-x compensates for the parent menu's scrollbar gutter when
     the popover anchors to the RIGHT side of an overflowing parent (gutter
     eats space from the row's right edge). On a LEFT flip (RAC's auto-flip
     when there's no room on the right), no x compensation is needed — the
     parent's left edge has no gutter. */
._popover_xfpfs_177 {
  --popover-x: 0;
  --popover-y: calc(-1 * var(--spacing-small-space-balanced));

  z-index: var(--z-dropdown);

  translate: var(--popover-x) var(--popover-y);
}

._popover_xfpfs_177[data-parent-has-overflow][data-placement='right'] {
  --popover-x: 16px;
}

/* optional header strip rendered above the menu list (startSlot prop).
   background uses the sublayer token so it reads as visually inset relative
   to the menu surface.  padding matches the Figma spec (12px all sides).
   border-radius is flush (0) — the strip lives inside the already-rounded
   container so clipping is handled by overflow:hidden on .container. */
._topContent_xfpfs_195 {
  padding: var(--spacing-small-space-spacious);
  border-radius: var(--spacing-small-space-flush);

  background-color: var(--sublayer-background);
}
/* RAC Popover wrapper around the DS Menu. The Menu paints its own surface
   chrome; this only owns stacking. */
._popover_34sb4_3 {
  z-index: var(--z-dropdown);

  &[data-has-layer-offset] {
    z-index: calc(var(--z-dropdown) + var(--layer-offset, 0));
  }
}
/* the title shows only when it fits on one line, so a narrow header gives its
   space to the controls instead of truncating or scrolling. the zero-width space
   is a break opportunity before the unbreakable text: text too wide for the line
   drops onto a second line that the one-line height clips. */
._title_1nqtb_5 {
  overflow: hidden;
  min-width: 0;
  height: 1lh;

  flex-shrink: 1;

  font-size: var(--interface-body-small-font-size);
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-body-small-line-height);

  color: var(--primary-element-text);
}

._title_1nqtb_5::before {
  content: "\200b" / "";
}

._text_1nqtb_23 {
  white-space: nowrap;
}
/* track */
._root_1lq0j_2 {
  --sc-track-padding: var(--spacing-small-space-compact);

  /* the selected option's fill — it lives on the indicator, not on the option,
     so the hover shift has to be reachable from here. */
  --sc-indicator-bg: var(--primary-mid-layer-background);
  position: relative;

  display: inline-flex;
  box-sizing: border-box;
  min-height: var(--spacing-small-min-height-relaxed);
  padding: var(--sc-track-padding);
  border-radius: var(--spacing-small-border-radius);

  gap: var(--spacing-small-space-compact);
  align-items: stretch;
  justify-content: center;

  background-color: var(--sublayer-background);
}

._root_1lq0j_2[data-size='medium'] {
  min-height: var(--spacing-small-min-height-balanced);
}

._root_1lq0j_2[data-size='small'] {
  min-height: var(--spacing-small-min-height-compact);
}

._root_1lq0j_2[data-width='full'] {
  display: flex;
  width: 100%;
}

/* fit-content floor: equal shares while there is room, growth instead of clipping when
   an equal share would truncate the longest label */
._root_1lq0j_2[data-width='full'] ._option_1lq0j_38 {
  flex: 1 1 0;
  min-width: fit-content;
}

/* sliding selection indicator — positioned behind the option buttons.
 * JS sets --indicator-left and --indicator-width on the root via useLayoutEffect;
 * the CSS transition animates the indicator sliding between options. */
._indicator_1lq0j_46 {
  position: absolute;
  top: var(--sc-track-padding);
  bottom: var(--sc-track-padding);
  left: 0;
  box-sizing: border-box;
  width: var(--indicator-width, 0);
  border-radius: calc(var(--spacing-small-border-radius) - var(--sc-track-padding));

  background-color: var(--sc-indicator-bg);
  pointer-events: none;

  transform: translateX(var(--indicator-left, 0));

  /* not gated on data-indicator-ready: the colour has no initial-position problem
     the way transform and width do, so it can ease from the first hover. */
  transition: background-color 0.2s ease;
}

/* transitions are enabled only once JS has landed the initial position, so the
 * indicator appears in place on mount and animates on subsequent selections. */
._root_1lq0j_2[data-indicator-ready] ._indicator_1lq0j_46 {
  transition:
    transform 0.2s cubic-bezier(.25,.1,.25,1),
    width 0.2s cubic-bezier(.25,.1,.25,1);
}

/* item */
._option_1lq0j_38 {
  /*
   * Palette aliases — state blocks below only rewrite these. The rules that
   * consume them (background-color, color, font) stay generic so hover/focus
   * math works without compound rules for every variant combination.
   */
  --sc-bg: transparent;

  /* --sc-text-base is the resting colour a state block sets; --sc-text is what the
     rule below paints. Hover reads the base rather than a fixed token, so a selected
     option hovers off its own foreground instead of the neutral one. */
  --sc-text-base: var(--layer-text-low);
  --sc-state-direction: var(--layer-state-direction);
  --sc-text: var(--sc-text-base);
  --sc-font: var(--interface-label-large-regular);

  position: relative;
  z-index: var(--z-base);
  display: flex;

  padding: var(--spacing-small-space-flush) var(--spacing-small-space-relaxed);
  border: none;
  border-radius: calc(var(--spacing-small-border-radius) - var(--sc-track-padding));
  outline: none;

  gap: var(--spacing-small-space-relaxed);
  align-items: center;
  justify-content: center;

  font: var(--sc-font);
  white-space: nowrap;

  color: var(--sc-text);

  background-color: var(--sc-bg);

  cursor: pointer;
  user-select: none;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

._root_1lq0j_2[data-size='medium'] ._option_1lq0j_38 {
  --sc-font: var(--interface-label-medium-regular);
}

._root_1lq0j_2[data-size='small'] ._option_1lq0j_38 {
  --sc-font: var(--interface-label-small-regular);
}

/* selected — indicator handles the background; only text/font change here */
._option_1lq0j_38[data-selected] {
  --sc-text-base: var(--primary-mid-layer-text-high);
  --sc-state-direction: var(--primary-mid-layer-state-direction);
  --sc-font: var(--interface-label-large-semi-bold);
}

._root_1lq0j_2[data-size='medium'] ._option_1lq0j_38[data-selected] {
  --sc-font: var(--interface-label-medium-semi-bold);
}

._root_1lq0j_2[data-size='small'] ._option_1lq0j_38[data-selected] {
  --sc-font: var(--interface-label-small-semi-bold);
}

/* hover — kept last so they override equals-specificity rules above.
 * Both [data-hovered] (React Aria) and :hover (Storybook pseudo addon) are
 * listed so the visual can be forced in Storybook without JS interaction. */
._option_1lq0j_38[data-hovered]:not([data-disabled]),
._option_1lq0j_38:hover:not([data-disabled]) {
  --sc-text: oklch(from var(--sc-text-base) calc(l + var(--sc-state-direction) * var(--text-hover-offset)) c h);
}

/* the selected option is a filled element, so it shifts its fill on hover the way
   a primary Button does. The fill is the indicator, a preceding sibling, so the shift
   is applied from the root. */
._root_1lq0j_2:has(._option_1lq0j_38[data-selected][data-hovered]:not([data-disabled])),
._root_1lq0j_2:has(._option_1lq0j_38[data-selected]:hover:not([data-disabled])) {
  --sc-indicator-bg: oklch(from var(--primary-mid-layer-background) calc(l + var(--primary-mid-layer-state-direction) * var(--background-hover-offset)) c h);
}

/* focus visible */
._option_1lq0j_38[data-focus-visible],
._option_1lq0j_38:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* disabled — always neutral chrome regardless of selection state */
._option_1lq0j_38[data-disabled] {
  --sc-text: oklch(from var(--layer-text-high) l c h / var(--text-disabled-opacity));
  cursor: default;
}

/* when the whole group is disabled, dim the indicator to match */
._root_1lq0j_2[data-disabled] ._indicator_1lq0j_46 {
  background-color: var(--layer-background-disabled);
}
/* track */
._root_1pptn_2 {
  display: inline-flex;
  box-sizing: border-box;
  min-height: var(--spacing-small-min-height-relaxed);
  padding: var(--spacing-small-space-compact);
  border-radius: var(--spacing-small-border-radius);

  gap: var(--spacing-small-space-compact);
  align-items: stretch;
  justify-content: center;

  background-color: var(--layer-background);

  cursor: default;
}

._root_1pptn_2[data-size='medium'] {
  min-height: var(--spacing-small-min-height-balanced);
}

._root_1pptn_2[data-size='small'] {
  min-height: var(--spacing-small-min-height-compact);
}

._root_1pptn_2[data-width='full'] {
  display: flex;
  width: 100%;
}

._root_1pptn_2[data-width='full'] ._slot_1pptn_31 {
  flex: 1 1 0;
  min-width: fit-content;
}

/* slot container */
._slot_1pptn_31 {
  display: flex;

  padding: var(--spacing-small-space-flush) var(--spacing-small-space-relaxed);
  border-radius: var(--spacing-small-border-radius);
  align-items: center;
  justify-content: center;
}

._slot_1pptn_31[data-selected] {
  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._slot_1pptn_31[data-selected] ._textBar_1pptn_52 {
  background-color: transparent;

  animation: none;
}

/* unselected slot: text-bar shimmer */
._textBar_1pptn_52 {
  width: 36px;
  height: 10px;
  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._root_1pptn_2[data-size='medium'] ._textBar_1pptn_52,
._root_1pptn_2[data-size='small'] ._textBar_1pptn_52 {
  width: 30px;
  height: var(--spacing-small-space-relaxed);
}
._root_1ghd6_1 {
  display: flex;
  min-width: 0;

  flex-wrap: wrap;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;
}

/* slots keep their own width so selects never overlap; zero specificity lets the
   title (TitleSlot) opt back into shrinking */
:where(._root_1ghd6_1) > * {
  flex-shrink: 0;
}

/* multiline: the side may grow to several rows with a uniform 4px gap on both axes */
._multiline_1ghd6_17 {
  gap: var(--spacing-small-space-balanced);
}

/* title (first slot) claims a full-width row; remaining slots wrap on the rows below */
._titleStacked_1ghd6_22 {
  gap: var(--spacing-small-space-balanced);
}

._titleStacked_1ghd6_22 > *:first-child {
  flex-basis: 100%;
}
._root_1p2fz_1 {
  display: flex;
  height: auto;
  min-height: 36px;
  padding: 0 var(--spacing-small-space-relaxed);

  flex-shrink: 0;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;
  justify-content: space-between;
}

/* the left side keeps its natural width but may shrink as the header narrows: its
   title gives way first, then its controls wrap onto extra rows (min-width:0 lets
   the inner flex wrap instead of overflowing or scrolling). the right side
   (maximise, sort, and other always-needed actions) never shrinks. */
._root_1p2fz_1 > *:first-child {
  min-width: 0;
  flex: 0 1 auto;
}

._root_1p2fz_1 > *:last-child {
  flex: 0 0 auto;
}

._multiline_1p2fz_26 {
  padding-block: var(--spacing-small-space-relaxed);
  align-items: flex-start;
}

._topBorder_1p2fz_31 {
  border-top: var(--border-width-thin) solid var(--layer-border-low);
}

._bottomBorder_1p2fz_35 {
  border-bottom: var(--border-width-thin) solid var(--layer-border-low);
}
._root_krmbe_1 {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: var(--spacing-small-border-radius);

  flex-direction: column;

  background-color: var(--layer-background);
}
._wrapper_lj5vr_1 {
  display: flex;
  height: 100%;
  min-height: 0;

  flex-direction: column;

  /* a maximised widget has to stay where it is in the DOM: moving a subtree
     re-navigates any iframe inside it, and a TradingView chart holds its whole
     state in one. `contain: layout` on the layout root (WidgetLayout.module.css)
     makes that root the containing block these insets resolve against, and
     `visibility` lifts the widget out of the hidden grid behind it. */
  &[data-is-maximized="true"] {
    position: fixed;
    inset: 0;
    z-index: var(--z-base-max);

    visibility: visible;
  }

  /* the side strip keeps its final width and hugs the edge the pane folds into,
     so the panel visibly closes onto it instead of the strip floating mid-panel.
     clipping it stops a pane a pixel narrower than the strip from scrolling. */
  &[data-is-collapsed="true"][data-collapse-axis="horizontal"] {
    overflow: hidden;
    flex-direction: row;
    border-radius: var(--spacing-small-border-radius);

    background-color: var(--level-2-layer-background);

    &[data-collapse-edge="end"] {
      justify-content: flex-end;
    }
  }
}

/* transparent layout wrappers: children behave as direct flex items of .wrapper */
._baseWidgetHost_lj5vr_38,
._body_lj5vr_39 {
  display: contents;
}

/* collapsed body / strip-hidden widget stay mounted so widget state survives */
._baseWidgetHost_lj5vr_38[data-hidden="true"],
._body_lj5vr_39[data-hidden="true"] {
  display: none;
}

/* the footer (rendered by BaseWidget as a sibling of .body) stays mounted like
   the body while vertically collapsed, so a stateful footer slot survives the
   toggle instead of resetting; :has() reaches past BaseWidget's own markup */
._baseWidgetHost_lj5vr_38:has(._body_lj5vr_39[data-hidden="true"]) footer {
  display: none;
}

._strip_lj5vr_56 {
  display: flex;
  overflow: hidden;
  width: var(--collapsed-pane-size);
  height: 100%;
  padding-top: var(--spacing-small-space-relaxed);
  padding-bottom: var(--spacing-small-space-relaxed);
  border-radius: var(--spacing-small-border-radius);

  flex: none;
  flex-direction: column;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;

  background-color: var(--level-2-layer-background);
}

._stripControls_lj5vr_73 {
  display: flex;

  flex-direction: column;
  gap: var(--spacing-small-space-relaxed);
  align-items: center;
}

/* the rotated title shows only when it fits the strip, so a short strip (a
   header-bar-tall pane inside a folded column) shows just its controls. the
   zero-width space is a break opportunity before the unbreakable text: text too
   long for the strip drops onto a second line that the one-line width clips. */
._stripTitle_lj5vr_85 {
  overflow: hidden;
  width: 1lh;
  min-height: 0;

  font: var(--interface-body-small-semi-bold);
  writing-mode: vertical-lr;

  color: var(--primary-element-text);
}

._stripTitle_lj5vr_85::before {
  content: "\200b" / "";
}

._stripTitleText_lj5vr_100 {
  white-space: nowrap;
}
._root_1u4ai_1 {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: var(--spacing-small-border-radius);

  align-items: center;
  justify-content: center;

  background-color: var(--level-2-layer-background);
}
._inlineError_1lxf9_1 {
  padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed);

  color: var(--negative-element-text);
}
._root_1u4ai_1 {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: var(--spacing-small-border-radius);

  align-items: center;
  justify-content: center;

  background-color: var(--level-2-layer-background);
}
._root_moc4q_1 {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: var(--spacing-small-space-spacious) var(--spacing-small-space-relaxed);

  flex-direction: column;
  gap: var(--spacing-small-space-spacious);
}

._headline_moc4q_12 {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-small-space-compact);
}

._body_moc4q_18 {
  min-height: var(--spacing-large-space-generous);
  border-radius: var(--spacing-small-border-radius);
  flex: 1;

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._stats_moc4q_28 {
  display: flex;
  gap: var(--spacing-small-space-spacious);
}

._label_moc4q_33,
._figure_moc4q_34 {
  display: flex;
  align-items: center;
}

._label_moc4q_33::before,
._figure_moc4q_34::before {
  width: 100%;
  border-radius: var(--spacing-small-border-radius-tight);
  content: "";

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

._label_moc4q_33 {
  height: 14px;

  &::before {
    height: 8px;
  }
}

._figure_moc4q_34 {
  height: 24px;

  &::before {
    height: 14px;
  }
}
:root {
  --row-header-min-width: auto;
  --row-header-max-width: none;
}

._wrapper_cchxb_6 {
  display: flex;
  gap: var(--spacing-small-space-relaxed);
  align-items: flex-start;
  align-self: stretch;
}

._leftIcon_cchxb_13 {
  width: var(--spacing-small-min-height-compact);
  margin-top: var(--spacing-small-space-balanced);
  flex-shrink: 0;
}

._content_cchxb_19 {
  display: flex;
  padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-relaxed) var(--spacing-small-space-relaxed) 0;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;

  text-align: left;
}

._preTitle_cchxb_29 {
  min-width: var(--row-header-min-width, auto);
  max-width: var(--row-header-max-width, none);

  font-size: var(--interface-body-small-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-body-small-line-height);

  color: var(--level-2-layer-text-low);
}

._title_cchxb_41 {
  display: flex;
  min-width: var(--row-header-min-width, auto);
  max-width: var(--row-header-max-width, none);
  gap: var(--spacing-small-space-compact);
  align-items: flex-start;
  align-self: stretch;

  font-size: var(--interface-body-medium-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-body-medium-line-height);

  color: var(--row-header-title-color, var(--level-2-layer-text-high));
}

._titleIcon_cchxb_57 {
  color: var(--level-2-layer-text-low);
}

._subtitle_cchxb_61 {
  min-width: var(--row-header-min-width, auto);
  max-width: var(--row-header-max-width, none);

  font-size: var(--interface-body-small-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-body-small-line-height);

  color: var(--level-2-layer-text-high);
}
._container_qb01d_1 {
  display: flex;
  width: var(--skeleton-width, 100%);

  /* fallback to body/medium for any unmatched type/size combination */
  height: var(--skeleton-line-height, 16px);

  align-items: center;

  --skeleton-bar-height: 10px;
}

._bar_qb01d_13 {
  width: 100%;
  height: var(--skeleton-bar-height);
  border-radius: var(--spacing-small-border-radius-tight);

  background-color: var(--skeleton-background);

  animation: var(--skeleton-animation);
}

/* type x size matrix mirrors Figma Skeleton/Text: line height = container, bar = shape height */
._container_qb01d_1[data-type="heading"][data-size="medium"] {
  --skeleton-line-height: 32px;
  --skeleton-bar-height: 18px;
}

._container_qb01d_1[data-type="heading"][data-size="small"] {
  --skeleton-line-height: 24px;
  --skeleton-bar-height: 14px;
}

._container_qb01d_1[data-type="body"][data-size="large"] {
  --skeleton-line-height: 22px;
  --skeleton-bar-height: 14px;
}

._container_qb01d_1[data-type="body"][data-size="medium"] {
  --skeleton-line-height: 16px;
  --skeleton-bar-height: 10px;
}

._container_qb01d_1[data-type="body"][data-size="small"] {
  --skeleton-line-height: 14px;
  --skeleton-bar-height: 8px;
}

._container_qb01d_1[data-type="label"][data-size="large"] {
  --skeleton-line-height: 20px;
  --skeleton-bar-height: 12px;
}

._container_qb01d_1[data-type="label"][data-size="medium"] {
  --skeleton-line-height: 16px;
  --skeleton-bar-height: 10px;
}

._container_qb01d_1[data-type="label"][data-size="small"] {
  --skeleton-line-height: 14px;
  --skeleton-bar-height: 8px;
}

._container_qb01d_1[data-type="label"][data-size="extra-small"] {
  --skeleton-line-height: 12px;
  --skeleton-bar-height: 8px;
}
._tableSkeleton_qlq2x_1 {
  width: 100%;
}

._tableSkeletonHeaderRow_qlq2x_5 {
  border-bottom: var(--border-width-thin) solid var(--level-2-layer-border-high);
}

._tableSkeletonBodyRow_qlq2x_9 {
  border-bottom: var(--border-width-thin) solid var(--level-3-layer-border-low);
}

._tableSkeletonCell_qlq2x_13 {
  width: var(--table-skeleton-cell-width, auto);

  &[data-variant='large'] {
    padding: var(--spacing-small-space-relaxed);
  }

  &[data-variant='medium'] {
    padding: var(--spacing-small-space-balanced);
  }

  &[data-variant='small'] {
    padding: var(--spacing-small-space-balanced) var(--spacing-small-space-compact);
  }
}
._tableBody_kbth3_1 {
  flex: 1;
}

._tableBodyContainer_kbth3_5 {
  display: flex;
  width: 100%;
  gap: var(--spacing-small-space-generous);
}

._row_kbth3_11 {
  background-color: var(--row-background-color, transparent);
}
:root {
  --body-cell-text-align: center;
  --body-cell-background-color: inherit;

  /* calculateCellPadding('center', TableSize.STANDARD, correctionFactor=1) → 8px all sides, minus DefaultCell.tsx offsets (-1.5 vertical, -1 horizontal) */
  --body-cell-padding: 6.5px 7px 6.5px 7px;
  --body-cell-font-size: var(--interface-body-medium-font-size);
  --body-cell-font-weight: var(--interface-font-weight-regular);
  --body-cell-line-height: var(--interface-body-medium-line-height);
}

._nestedCell_1052c_12 {
  cursor: pointer;
}

._bodyCellWrapper_1052c_16 {
  display: flex;
  height: 100%;
  padding: var(--body-cell-padding);

  flex-direction: column;
  justify-content: center;

  text-align: var(--body-cell-text-align, center);

  background-color: var(--body-cell-background-color, inherit);
}

._bodyCellContent_1052c_29 {
  display: flex;
  width: 100%;
  flex-direction: column;
}

._bodyCellContainerWithActions_1052c_35 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

._hoveredCell_1052c_42 {
  cursor: pointer;

  &:hover {
    outline: var(--border-width-thin) solid var(--level-2-layer-text-low);
    outline-offset: -2px;
  }
}

._cursorPointer_1052c_51 {
  cursor: pointer;
}

._selectedCell_1052c_55 {
  outline: var(--border-width-thin) solid var(--primary-high-layer-background);
  outline-offset: -2px;
}

._bodyCellValue_1052c_60 {
  position: relative;

  font-size: var(--body-cell-font-size, var(--interface-body-medium-font-size));
  font-weight: var(--body-cell-font-weight, var(--interface-font-weight-regular));
  line-height: var(--body-cell-line-height, var(--interface-body-medium-line-height));

  color: var(--body-cell-color, var(--level-2-layer-text-high));

  &[data-size-variant='large'] {
    --body-cell-font-size: var(--interface-body-medium-font-size);
    --body-cell-line-height: var(--interface-body-medium-line-height);
  }

  &[data-size-variant='medium'] {
    --body-cell-font-size: var(--interface-body-small-font-size);
    --body-cell-line-height: var(--interface-body-small-line-height);
  }

  &[data-size-variant='small'] {
    --body-cell-font-size: var(--interface-body-small-font-size);
    --body-cell-line-height: var(--interface-label-small-line-height);
  }
}

._singleLine_1052c_85 {
  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;
}

._bodyCellSecondaryContent_1052c_92 {
  position: relative;

  font-size: var(--interface-body-small-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-label-small-line-height);

  color: var(--body-cell-secondary-color, var(--level-2-layer-text-high));
}

._iconContainer_1052c_102 {
  position: absolute;

  &[data-position='primary'] {
    bottom: 1px;
  }

  &[data-position='secondary'] {
    bottom: var(--spacing-small-space-flush);
  }

  &[data-position='primaryTop'] {
    bottom: var(--spacing-small-space-relaxed);
  }

  &[data-alignment='right'] {
    /* eslint-disable-next-line custom/enforce-theme-usage -- @TODO standardise this with theme */
    right: -13px;
  }

  &[data-alignment='left'],
  &[data-alignment='center'] {
    right: var(--spacing-small-space-flush);
  }
}
:root {
  --body-cell-min-width: auto;
  --body-cell-max-width: none;
  --body-cell-word-break: normal;
}

._stickyLeftCell_13zj0_7 {
  background-color: var(--body-cell-sticky-background, var(--table-background-color, var(--level-2-layer-background)));
}

._selectedRow_13zj0_11 {
  background-color: var(--level-1-sublayer-background);
}

/* Must be declared after .stickyLeftCell to override background styles */

/* Must be declared after .selectedRow to override background styles */
/* hover shifts the cell's own surface towards its text by the shared hover offset rather
   than jumping to another level's token. --table-background-color already tracks the colour
   variant (level 2 standard / level 1 light) and any per-table override, so one formula covers
   every variant and the shift stays correct if the table's surface changes. */
._hover_13zj0_22 {
  background-color: oklch(
    from var(--table-background-color, var(--level-2-layer-background))
    calc(l + var(--table-state-direction, var(--level-2-layer-state-direction)) * var(--background-hover-offset))
    c h
  );
}

._bodyCell_13zj0_30 {
  position: relative;
  box-sizing: border-box;
  min-width: var(--body-cell-min-width, auto);
  max-width: var(--body-cell-max-width, unset);
  border-bottom: var(--body-cell-border-bottom, var(--border-width-thin) solid var(--level-2-layer-border-low));

  word-break: var(--body-cell-word-break, normal);

  /* baseline alignment offsets text cells against cells whose content is a block,
     which breaks the selected-row border drawn on the cell container */
  vertical-align: middle;
  white-space: normal;

  &::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--border-width-thin);
    height: 100%;

    background-color: var(--body-cell-vertical-border-color, var(--level-2-layer-border-low));
    pointer-events: none;
    content: '';
  }

  [data-selected-row-border] &:not(:first-child, :is(th + td))::before {
    position: absolute;
    top: 0;

    /* eslint-disable-next-line custom/enforce-theme-usage -- @TODO standardise this with theme */
    left: -1px;
    width: var(--border-width-medium);
    height: 100%;
    border: 0 solid var(--primary-high-layer-background);
    border-top-width: var(--border-width-thin);
    border-bottom-width: var(--border-width-thin);

    pointer-events: none;
    content: '';
  }

  [data-selected-row-border] &::after {
    background-color: transparent;
  }

  [data-selected-row-border] &:last-child::after {
    background-color: transparent;
  }
}

._bodyCellContainer_13zj0_82 {
  height: 100%;
  border: var(--border-width-thin) solid transparent;

  color: inherit;

  [data-selected-row-border] td & {
    border-top-color: var(--primary-high-layer-background);
    border-bottom-color: var(--primary-high-layer-background);
  }

  [data-selected-row-border] th + td &,
  [data-selected-row-border] td:first-child & {
    border-left-color: var(--primary-high-layer-background);
    border-top-left-radius: var(--spacing-small-border-radius);
    border-bottom-left-radius: var(--spacing-small-border-radius);
  }

  [data-selected-row-border] td:last-child & {
    border-right-color: var(--primary-high-layer-background);
    border-top-right-radius: var(--spacing-small-border-radius);
    border-bottom-right-radius: var(--spacing-small-border-radius);
  }

  &[data-cell-spacing='4'] {
    padding: var(--spacing-small-space-balanced);
  }
}

._highlightedCell_13zj0_111 {
  position: relative;

  &::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: var(--spacing-small-space-compact);
    height: var(--spacing-small-space-spacious);

    border-radius: 0 var(--spacing-medium-border-radius) var(--spacing-medium-border-radius) 0;

    background-color: var(--primary-high-layer-background);
    content: '';

    transform: translateY(-50%);
  }

  &._stickyLeftCell_13zj0_7 {
    position: sticky;
  }
}
:root {
  --row-group-title-min-width: auto;
  --row-group-title-max-width: none;
}

._rowGroup_19gm1_6 {
  position: relative;
  width: max-content;
  min-width: 5px;
  border-bottom: var(--row-group-border-bottom, var(--border-width-thin) solid var(--level-2-layer-border-low));

  background-color: var(--row-background-color, var(--table-background-color, var(--level-2-layer-background)));
  pointer-events: none;
}

._rowGroupDrag_19gm1_16 {
  position: absolute;
  top: var(--spacing-small-space-balanced);
  left: var(--spacing-small-space-balanced);

  opacity: 0;

  ._rowGroup_19gm1_6:hover & {
    opacity: 1;
  }
}

._rowGroupContent_19gm1_28 {
  display: flex;

  /* eslint-disable-next-line custom/enforce-theme-usage -- @TODO standardise this with theme */
  padding: 7px 8px 8px 20px;
  flex-direction: column;
  gap: var(--spacing-small-space-balanced);
}

._rowGroupTitle_19gm1_37 {
  min-width: var(--row-group-title-min-width, auto);
  max-width: var(--row-group-title-max-width, unset);

  font-size: var(--interface-body-medium-font-size);
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-body-medium-line-height);
  text-align: left;

  color: var(--row-group-title-color, var(--level-2-layer-text-high));
}

._rowGroupSubtitle_19gm1_49 {
  width: max-content;
  min-width: var(--row-group-title-min-width, auto);
  max-width: var(--row-group-title-max-width, unset);

  font-size: var(--interface-body-small-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-body-small-line-height);
  text-align: left;

  color: var(--level-2-layer-text-low);
}
._tableContainer_1kptb_1 {
  visibility: visible;

  font: var(--interface-label-medium-regular);
}

._groupTitle_1kptb_7 {
  padding: var(--spacing-small-space-generous) var(--spacing-small-space-spacious) var(--spacing-small-space-balanced) var(--spacing-small-space-spacious);
  border-bottom: var(--border-width-thin) solid var(--layer-border-high);

  /* TODO: 9px has no premium token; keep legacy until Token Foundry adds sub-10px scale */
  font-size: var(--interface-label-small-font-size);
  line-height: var(--interface-label-small-line-height);

  color: var(--layer-text-low);
}

._simpleItem_1kptb_18 {
  padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-spacious);

  color: var(--layer-text-high);
}

._simpleItem_1kptb_18:not(:last-child) {
  border-bottom: var(--border-width-thin) solid var(--layer-border-low);
}

._breakdownTitle_1kptb_28 {
  color: var(--layer-text-high);
}

._breakdownItem_1kptb_32 {
  display: flex;
  padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-spacious);

  flex-direction: column;
  gap: var(--spacing-small-space-balanced);

  font: var(--interface-body-small-regular);

  color: var(--layer-text-low);
  background-color: var(--sublayer-background);
}

._breakdownItem_1kptb_32:not(:last-child) {
  border-bottom: var(--border-width-thin) solid var(--layer-border-low);
}

._rowStyle_1kptb_49 {
  display: grid;

  gap: var(--spacing-small-space-generous);
}

._keyStyle_1kptb_55 {
  text-align: left;
}

._valueStyle_1kptb_59 {
  width: max-content;
  min-width: 44px;
  max-width: 95px;

  text-align: right;
}
._toolbar_1qdmu_1 {
  display: flex;
  height: var(--spacing-small-min-height-flush);
  min-height: var(--spacing-small-min-height-flush);

  /* eslint-disable-next-line custom/enforce-theme-usage -- @TODO standardise this with theme */
  margin: 0 1px;
  gap: var(--spacing-small-space-compact);
  justify-content: space-between;
}

._toolbarActionsContainer_1qdmu_12 {
  display: flex;
  gap: var(--spacing-small-space-compact);
  align-items: center;
}

._tooltipIconItems_1qdmu_18 {
  display: none;
  align-items: center;
  justify-content: center;
  height: var(--spacing-small-min-height-flush);

  ._toolbarIconButton_1qdmu_24[data-variant='quiet'][data-size='small'] {
    padding: var(--spacing-small-space-flush);

    color: var(--level-2-layer-text-low);

    &:hover:not(:disabled) {
      color: var(--level-2-layer-text-low);
    }
  }
}

th:hover ._tooltipIconItems_1qdmu_18 {
  display: flex;
}

._tooltipIconItems_1qdmu_18[data-visibility-mode='always'] {
  display: flex;
}

._tooltipIconItems_1qdmu_18[data-icon-type='simple'] {
  cursor: default;
}

._toolbarActionButton_1qdmu_47 {
  all: unset;

  cursor: pointer;
}

._toolbarActionText_1qdmu_53 {
  display: none;

  font-size: var(--interface-body-medium-font-size);
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-body-medium-line-height);

  color: var(--level-2-layer-text-low);
}

th:hover ._toolbarActionText_1qdmu_53 {
  display: block;
}

._toolbarActionText_1qdmu_53[data-visibility-mode='always'] {
  display: block;
}

._toolbarActionText_1qdmu_53[data-actionable='true'] {
  cursor: pointer;
}

._toolbarActionText_1qdmu_53[data-actionable='true']:hover:not(:disabled) {
  color: var(--primary-high-layer-text-low);
}

._toolbarActionText_1qdmu_53[data-actionable='false'] {
  cursor: default;
}

._toolbarActionText_1qdmu_53[data-actionable='false']:hover:not(:disabled) {
  color: var(--level-2-layer-text-low);
}
:root {
  --header-cell-min-height: auto;
  --header-cell-min-width: auto;
  --header-cell-max-width: none;
  --header-cell-background-color: transparent;
  --header-cell-border-bottom-color: transparent;
  --header-cell-indicator-background-color: transparent;

  /* calculateCellPadding('center', TableSize.STANDARD, correctionFactor=1, isHeader=true) → vertical: getHeaderVerticalPadding(STANDARD)=6px, horizontal: getBasePadding(STANDARD)=8px */
  --header-cell-padding: 6px 8px 6px 8px;
}

._headerCell_2v95g_13 {
  position: relative;
  box-sizing: border-box;
  width: var(--header-cell-width, auto);
  min-width: var(--header-cell-min-width, auto);
  max-width: var(--header-cell-max-width, none);
  height: var(--header-cell-min-height);

  text-align: var(--header-cell-text-align, center);
  vertical-align: top;
  white-space: normal;

  background-color: var(--header-cell-background-color);

  &::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: calc(var(--z-base) + 6);
    height: var(--border-width-thin);

    background-color: var(--header-cell-border-bottom-color);
    content: '';
  }

  &:not([data-no-border-right])::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--border-width-thin);

    background-color: var(--level-2-layer-border-high);
    content: '';
  }

  /* matches BodyCell.hover: shift the cell's own surface, don't jump a level. keyed on
     the attribute's presence, since --table-background-color already carries the variant. */
  &[data-hover-variant] {
    background-color: oklch(
      from var(--table-background-color, var(--level-2-layer-background))
      calc(l + var(--table-state-direction, var(--level-2-layer-state-direction)) * var(--background-hover-offset))
      c h
    );
  }
}

._headerCellSublabel_2v95g_61 {
  font-size: var(--interface-body-small-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-label-small-line-height);

  color: var(--level-2-layer-text-low);
}

._headerCellIndicator_2v95g_69 {
  height: 10px;
  min-height: 10px;
  margin-bottom: var(--spacing-small-space-compact);

  background-color: var(--header-cell-indicator-background-color);
}

._headerCellWrapper_2v95g_77 {
  display: flex;
  height: 100%;
  flex-direction: column;

  th:not([data-no-border-right]) & {
    margin-right: 1px;
  }
}

._headerCellContent_2v95g_87 {
  display: flex;
  padding: var(--header-cell-padding);
  flex-grow: 1;
  flex-direction: column;
  gap: var(--spacing-small-space-compact);
  justify-content: center;

  &:has(._headerCellSublabel_2v95g_61) {
    height: 100%;
    justify-content: space-between;
  }
}

._headerCellLabel_2v95g_101 {
  font-size: var(--header-cell-font-size, var(--interface-body-small-font-size));
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--header-cell-line-height, var(--interface-body-small-line-height));
  white-space: pre-line;

  color: var(--level-2-layer-text-low);

  &[data-size-variant='large'],
  &[data-size-variant='medium'] {
    --header-cell-font-size: var(--interface-body-small-font-size);
    --header-cell-line-height: var(--interface-body-small-line-height);
  }

  &[data-size-variant='small'] {
    --header-cell-font-size: var(--interface-body-small-font-size);
    --header-cell-line-height: var(--interface-label-small-line-height);
  }
}
:root {
  --empty-cell-border-bottom-color: transparent;
}

._emptyHeaderAtLeft_o2jn8_5 {
  position: relative;

  &::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: calc(var(--z-base) + 6);
    height: var(--border-width-thin);

    background-color: var(--empty-cell-border-bottom-color);
    content: '';
  }
}

._stickyTopLeftExtraCell_o2jn8_21 {
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-base);

  background-color: var(--table-background-color, var(--level-2-layer-background));
}
._header_116r1_1 {
  position: relative;

  &::before {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: calc(var(--z-base) + 6);
    height: var(--border-width-thin);

    background-color: var(--level-2-layer-border-high);
    content: '';
  }
}

._stickyHeader_116r1_17 {
  position: sticky;
  top: 0;
  z-index: calc(var(--z-base) + 9);

  background-color: var(--table-background-color, var(--level-2-layer-background));
}
._container_fpg43_1 {
  display: flex;
  overflow: auto;
  width: var(--table-width, 100%);
  max-width: 100%;
  height: 100%;
  flex-grow: 1;

  &:focus-visible {
    outline: none;
  }
}

._inner_fpg43_14 {
  width: fit-content;
  height: fit-content;

  &[data-full-width] {
    width: 100%;
  }
}

/* side-by-side layout for numBodies > 1: each body is its own <table> */
._multiBody_fpg43_24 {
  display: flex;
  width: 100%;
  gap: var(--spacing-small-space-generous);
}

._virtualizedInner_fpg43_30 {
  width: 100%;
  height: 100%;
}

._virtualizedInner_fpg43_30 thead {
  --header-cell-border-bottom-color: var(--level-2-layer-border-high);
}

._table_fpg43_39 {
  /* hack to prevent layout shift when selectionType is row - forces cells to grow to available height */
  height: 1px;
  border-collapse: collapse;
  flex-grow: 1;

  background-color: var(--table-background-color, var(--level-2-layer-background));
  table-layout: fixed;

  &[data-color-variant='standard'] {
    --table-background-color: var(--level-2-layer-background);
    --table-state-direction: var(--level-2-layer-state-direction);
  }

  &[data-color-variant='light'] {
    --table-background-color: var(--level-1-layer-background);
    --table-state-direction: var(--level-1-layer-state-direction);
  }
}

._virtualizedInner_fpg43_30 ._table_fpg43_39 {
  width: var(--table-width, 100%);
  min-width: var(--table-min-width, auto);
  max-width: 100%;
}

._virtualizedInner_fpg43_30:not([data-full-width]) ._table_fpg43_39 {
  width: auto;
  max-width: none;
}

._inner_fpg43_14[data-full-width] ._table_fpg43_39 {
  width: 100%;
}

._scrollToTopButtonContainer_fpg43_74 {
  position: absolute;
  bottom: 30px;
  left: 50%;

  transform: translateX(-50%);
}
/* Animations */
@keyframes _scaleIn_1yemo_1 {
  from {
    opacity: 0;

    transform: scale(0.96);
  }

  to {
    opacity: 1;

    transform: scale(1);
  }
}

@keyframes _scaleOut_1yemo_1 {
  from {
    opacity: 1;

    transform: scale(1);
  }

  to {
    opacity: 0;

    transform: scale(0.96);
  }
}

/* Modal container (full-viewport click-through wrapper that centres the dialog) */
._modalContainer_1yemo_31 {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-modal) + var(--z-base));
  display: flex;
  outline: none;
  align-items: center;
  justify-content: center;

  pointer-events: none;

  transform-origin: center;

  backface-visibility: hidden;

  &[data-is-open='true'] {
    animation: _scaleIn_1yemo_1 500ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  }

  &[data-is-open='false'] {
    animation: _scaleOut_1yemo_1 500ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  }
}

._modalContainer_1yemo_31:focus-visible {
  outline: none;
}

._dialog_1yemo_59 {
  position: relative;
  display: flex;
  min-width: min-content;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  border: var(--border-width-thin) solid var(--layer-border-low);
  border-radius: var(--spacing-large-border-radius);
  outline: none;

  flex-direction: column;

  text-align: unset;

  background-color: var(--layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);

  pointer-events: auto;
}

._body_1yemo_80 {
  overflow: auto;
  min-height: 0;
  padding-inline: var(--spacing-small-space-generous);
  flex: 1;
}

@media (max-width: 639px) {
  ._dialog_1yemo_59 {
    width: 100%;
    /* the base min-content floor lets a long unbreakable string exceed the screen */
    min-width: 0;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;

    box-shadow: none;
  }
}
/* the editor row's height: its vertical padding plus one line at its line height */
._skeleton_1voty_2 {
  min-height: calc(
    var(--spacing-small-space-generous) + var(--spacing-small-space-relaxed) + var(--interface-body-medium-font-size) *
    2.4
  );
}
._container_byu6q_1 {
  display: flex;
  padding: var(--spacing-small-space-relaxed);
  flex-wrap: wrap;
  gap: var(--spacing-small-space-balanced);
}

._breadcrumbItem_byu6q_8 {
  display: flex;
  padding: 0 0 var(--spacing-small-space-balanced);
  gap: var(--spacing-small-space-balanced);
  align-items: center;
}

._arrow_byu6q_15 {
  color: var(--level-2-layer-text-low);
}

._filterButton_byu6q_19 {
  padding: 0 0 var(--spacing-small-space-balanced);
  border: none;

  background: none;
  cursor: pointer;
}

._breadcrumbItemFirst_byu6q_27 {
  padding: 0 0 var(--spacing-small-space-balanced);
}

._filterButtonFirst_byu6q_31 {
  padding: 0 0 var(--spacing-small-space-balanced);
}
._noResults_jrsar_1 {
  padding: var(--spacing-small-space-relaxed) var(--spacing-small-space-generous);

  font-family: var(--interface-font-stack);
  font-size: var(--interface-body-medium-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-body-medium-line-height);

  color: var(--level-0-layer-text-low);
}

._listWrapper_jrsar_12 {
  display: flex;
  overflow: hidden;
  max-height: 240px;

  flex: 1 1 auto;
  flex-direction: column;
}

._triggerLabel_jrsar_21 {
  padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed);

  font-size: var(--interface-body-small-font-size);

  color: var(--level-0-layer-text-low);
}

._menu_jrsar_29 {
  display: flex;
  overflow: hidden;
  max-height: 320px;
  border-radius: 0 0 var(--spacing-small-border-radius) var(--spacing-small-border-radius);

  flex-direction: column;

  text-align: left;

  color: var(--level-0-layer-text-high);
  background-color: var(--level-0-layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);

  /* hover/active lift on rows derives from the menu's own surface */
  --list-item-bg: var(--level-0-layer-background);
}
._formulaBuilderContainer_3hnc1_1 {
  position: relative;
  outline: none;

  background-color: var(--level-0-layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);
}

._formulaBuilderContainer_3hnc1_1[data-show-options='true'] {
  border-radius: var(--spacing-small-border-radius) var(--spacing-small-border-radius) 0 0;
}

._formulaBuilderContainer_3hnc1_1[data-show-options='false'] {
  border-radius: var(--spacing-small-border-radius);
}

._formulaBuilder_3hnc1_1 {
  position: relative;
  min-width: 320px;
}

._equalsSign_3hnc1_22 {
  z-index: var(--z-base);
  padding: 0 var(--spacing-small-space-relaxed);

  font-size: var(--interface-body-medium-font-size);

  color: var(--level-0-layer-text-high);
}

._selectOptionsCommandContainer_3hnc1_31 {
  z-index: calc(var(--z-modal) + var(--z-modal));
  border-bottom-right-radius: var(--spacing-small-border-radius);
  border-bottom-left-radius: var(--spacing-small-border-radius);

  background-color: var(--level-0-layer-background);
  box-shadow: var(--shadows-elevated-3-shadow);
}

._helperText_3hnc1_40 {
  font-size: var(--interface-body-small-font-size);
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-body-small-line-height);

  color: var(--level-0-layer-text-high);
}

._errorText_3hnc1_48 {
  white-space: pre-line;

  color: var(--negative-element-text);
}

._helperTextContainer_3hnc1_54 {
  padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed);
}

._formulaInputContainer_3hnc1_58 {
  position: relative;
  border-radius: var(--spacing-small-border-radius);

  background-color: var(--level-0-layer-background);
}

._label_3hnc1_65 {
  position: absolute;
  z-index: calc(var(--z-base) + var(--z-base));
  padding: var(--spacing-small-space-balanced) var(--spacing-small-space-relaxed) 0 var(--spacing-small-space-relaxed);

  font-size: var(--interface-body-small-font-size);

  color: var(--level-0-layer-text-low);
}

._actionsContainerContent_3hnc1_75 {
  display: flex;

  align-items: center;
  justify-content: center;
}

._formulaInput_3hnc1_58 {
  --border-error: var(--border-width-thin) solid var(--negative-element-border-high);
  --bottom-border-transition: border-bottom linear 0.2s;

  width: 100%;
  min-width: 200px;
  border: var(--border-width-thin) solid var(--level-0-layer-border-low);
  outline: none;

  font-size: var(--interface-body-medium-font-size);

  color: var(--level-0-layer-text-high);
}

._formulaInput_3hnc1_58[data-disabled='true']:not(:focus):hover {
  border: var(--border-width-thin) solid var(--level-0-layer-border-low);
}

._formulaInput_3hnc1_58[data-focused='true'] {
  border: var(--border-width-thin) solid var(--primary-high-layer-border-low);
  border-radius: var(--spacing-small-border-radius) var(--spacing-small-border-radius) 0 0;
}

._formulaInput_3hnc1_58[data-focused='false'] {
  border-radius: var(--spacing-small-border-radius);

  &:hover {
    border: var(--border-width-thin) solid
      oklch(from var(--level-0-layer-border-low) calc(l + var(--level-0-layer-state-direction) * var(--border-hover-offset)) c h);
  }
}

._formulaInput_3hnc1_58[data-has-error='true'] {
  border: var(--border-error);

  transition: var(--bottom-border-transition);

  &:hover,
  &:focus,
  &:hover:focus {
    border: var(--border-error);
  }
}

._formulaInput_3hnc1_58[data-multiline='true'] {
  overflow-wrap: break-word;
  white-space: pre-wrap;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

._formulaInput_3hnc1_58[data-multiline='false'] {
  overflow: auto hidden;
  height: auto;
  max-height: none;

  overflow-wrap: normal;
  white-space: nowrap;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

._formulaInputRow_3hnc1_150 {
  display: flex;
  gap: var(--spacing-small-space-compact);

  align-items: center;
  padding: var(--spacing-small-space-generous) var(--spacing-small-space-relaxed) var(--spacing-small-space-relaxed) var(--spacing-small-space-relaxed);

  font-size: var(--interface-body-medium-font-size);
  line-height: 2.4;
}

._formulaInput_3hnc1_58[data-multiline='true'] ._formulaInputRow_3hnc1_150 {
  align-items: flex-start;
}

._focusScope_3hnc1_165 {
  display: contents;
}
._commandsGroupContainer_2t9pi_1 {
  display: flex;

  flex-direction: column;

  color: var(--level-0-layer-text-low);
  background: var(--level-0-layer-background);
}

._commandsLabel_2t9pi_10 {
  display: flex;
  padding: var(--spacing-small-space-relaxed) var(--spacing-medium-space-spacious) var(--spacing-small-space-compact) var(--spacing-small-space-relaxed);

  align-items: center;
  align-self: stretch;

  font-size: var(--interface-label-small-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-semi-bold);
  line-height: var(--interface-label-small-line-height);
}

._commandsGrid_2t9pi_23 {
  display: flex;

  flex-wrap: wrap;
}

._commandButton_2t9pi_29 {
  display: flex;
  width: calc(100% / 3);
  padding: var(--spacing-small-space-relaxed);
  border: none;

  gap: var(--spacing-small-space-relaxed);
  align-items: center;
  justify-content: center;

  font-size: var(--interface-label-large-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-label-large-line-height);

  background: var(--level-0-layer-background);

  &:hover {
    background: var(--level-0-sublayer-background);
    cursor: pointer;
  }
}

._commandButton_2t9pi_29[data-focused='true'] {
  background: var(--level-0-sublayer-background);
}

._commandSymbol_2t9pi_56 {
  font-size: var(--interface-label-large-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-label-large-line-height);

  color: var(--level-0-layer-text-high);
}

._commandLabel_2t9pi_65 {
  font-size: var(--interface-label-large-font-size);
  font-style: normal;
  font-weight: var(--interface-font-weight-regular);
  line-height: var(--interface-label-large-line-height);

  color: var(--level-0-layer-text-low);
}
._tag_1pmf5_1 {
  --tag-background: var(--sentiment-low-layer-background);
  --tag-text: var(--sentiment-low-layer-text-high);

  display: inline-flex;
  padding: var(--spacing-small-space-compact);
  border: var(--border-width-thin) solid transparent;
  border-radius: var(--spacing-medium-border-radius-full);
  gap: var(--spacing-small-space-compact);

  align-items: center;

  font: var(--interface-label-medium-regular);
  vertical-align: middle;
  white-space: nowrap;

  color: var(--tag-text);
  background-color: var(--tag-background);

  &[data-is-empty='true'] {
    border-style: dashed;
    border-color: var(--layer-border-low);

    --tag-text: var(--sentiment-low-layer-text-low);
  }

  &[data-disabled='true'] {
    color: oklch(from var(--tag-text) l c h / var(--text-disabled-opacity));
    background-color: oklch(from var(--tag-background) l c h / var(--text-disabled-opacity));
  }

  &:has(._body_1pmf5_32[data-focus-visible]) {
    outline: var(--border-width-thin) solid currentcolor;
    outline-offset: var(--border-width-thin);
  }

  &:not([data-disabled='true']):hover {
    background-color: oklch(from var(--tag-background) calc(l + var(--sentiment-low-layer-state-direction) * var(--background-hover-offset)) c h);
  }
}

._body_1pmf5_32 {
  display: inline-flex;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: none;
  gap: inherit;

  align-items: center;

  font: inherit;

  color: inherit;
  background: transparent;
  cursor: pointer;

  &[data-disabled] {
    cursor: default;
  }
}

._text_1pmf5_63 {
  padding: 0 var(--spacing-small-space-balanced);
}

._remove_1pmf5_67 {
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: var(--spacing-medium-border-radius-full);

  align-items: center;
  justify-content: center;

  color: inherit;
  background: transparent;
  cursor: pointer;

  &:hover {
    background-color: oklch(from var(--tag-background) calc(l + var(--sentiment-low-layer-state-direction) * var(--background-hover-offset)) c h);
  }
}
._group_1nyi9_1 {
  display: flex;
  min-width: 0;

  flex: 1 1 auto;
  flex-wrap: wrap;
  row-gap: var(--spacing-small-space-compact);
  align-items: center;

  cursor: text;

  &:not([data-multiline='true']) {
    overflow: auto hidden;

    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  &[data-disabled='true'] {
    cursor: default;
  }
}

._text_1nyi9_24 {
  min-width: 1ch;
  padding: 0;
  border: 0;
  outline: none;

  font: inherit;
  line-height: inherit;

  color: inherit;
  background: transparent;

  field-sizing: content;

  &[data-last='true'] {
    flex: 1 0 auto;
  }

  &:disabled {
    cursor: default;
  }
}

._completion_1nyi9_47 {
  white-space: pre;

  color: var(--level-0-layer-text-low);
  pointer-events: none;
}
