/* Tool summary row (figma 122:9479): 24px single line —
   [16 leading] gap6 [title 14/24] gap8 [2x2 dot] gap8 [summary FILL truncate]. */

.root {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
  height: 24px;
  min-width: 0;
}

.row[data-clickable] {
  cursor: pointer;
  border-radius: 6px;
}

.row[data-clickable]:hover {
  background: var(--dsw-alias-interactive-bg-hover);
}

.leading {
  flex: none;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  padding: 0;
  border: none;
  background: none;
  color: var(--dsw-alias-label-tertiary);
}

/* The others-variant sparkle glyph is one gray step darker than the icon
   family in the source design. */
.root[data-variant='others'] .leading {
  color: var(--dsw-alias-label-secondary);
}

button.leading {
  cursor: pointer;
}

.chevron {
  color: var(--dsw-alias-label-secondary);
}

.title {
  flex: none;
  font-size: 14px;
  line-height: 24px;
  color: var(--dsw-alias-label-primary-dimmed);
}

.sep {
  flex: none;
  width: 2px;
  height: 2px;
  border-radius: 1px;
  margin: 0 8px;
  background: var(--dsw-alias-label-caption);
}

.summary {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 24px;
  color: var(--dsw-alias-label-tertiary);
}

/* Expanded body: pad-left 22 indented gray text, no border, no fill. */
.body {
  padding: 4px 0 4px 22px;
  font-size: 14px;
  line-height: 24px;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--dsw-alias-label-tertiary);
}
