.DetailedDropdownItem {
  .Dropdown-menu > li > & {
    align-items: start;
  }

  .Button-icon {
    margin-top: 2px;
  }
}

.DetailedDropdownItem-checkIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  flex-shrink: 0;
}

.DetailedDropdownItem-content {
  display: grid;
  grid-template-columns: 25px 1fr;
  white-space: normal;
}

.DetailedDropdownItem-description {
  display: block;
  color: var(--muted-color);
  font-size: 12px;
  margin-top: 3px;
}

@media @phone {
  // The phone dropdown styles assume one icon per menu item and pull it into
  // the row's left gutter with a negative margin. This component renders two
  // icons (check + option icon), so that treatment stacks them on top of each
  // other. Undo it and let the component's own columns lay the icons out.
  .Dropdown .Dropdown-menu > li > .DetailedDropdownItem {
    &.hasIcon {
      padding-left: 20px;
    }

    .Button-icon {
      margin-left: 0;
    }
  }
}
